source: rtems/c/src/exec/libfs/src/dosfs/Makefile.am @ 47ef863a

4.104.114.84.95
Last change on this file since 47ef863a was 47ef863a, checked in by Joel Sherrill <joel.sherrill@…>, on May 28, 2002 at 5:21:17 PM

2002-05-18 Ralf Corsepius <corsepiu@…>

Move from c/src/libfs to c/src/exec/libfs

  • configure.ac: Reflect move.
  • Makefile.am: Ditto.
  • src/Makefile.am: Ditto.
  • src/dosfs/Makefile.am: Ditto.
  • src/imfs/Makefile.am: Ditto.
  • wrapup/Makefile.am: Ditto.
  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2##  $Id$
3##
4
5
6include $(top_srcdir)/../../../../automake/multilib.am
7include $(top_srcdir)/../../../../automake/compile.am
8include $(top_srcdir)/../../../../automake/lib.am
9
10INCLUDES = -I../..
11
12AM_CFLAGS += $(LIBC_DEFINES)
13
14FATFS_C_FILES = fat.c fat_fat_operations.c fat_file.c
15
16DOSFS_C_FILES = msdos_create.c msdos_dir.c msdos_eval.c msdos_file.c \
17                msdos_free.c msdos_fsunmount.c msdos_handlers_dir.c  \
18                msdos_handlers_file.c msdos_init.c msdos_initsupp.c  \
19                msdos_misc.c msdos_mknod.c msdos_node_type.c
20
21if !UNIX
22LIBNAME = libdosfs
23LIB = ${ARCH}/${LIBNAME}.a
24
25C_FILES = $(FATFS_C_FILES) $(DOSFS_C_FILES)
26
27C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
28
29include_HEADERS = dosfs.h
30
31H_FILES = $(PROJECT_INCLUDE) \
32    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
33
34$(PROJECT_INCLUDE):
35        @$(mkinstalldirs) $@
36
37$(PROJECT_INCLUDE)/%.h: %.h
38        $(INSTALL_DATA) $< $@
39
40OBJS = $(C_O_FILES)
41
42#
43# Add local stuff here using +=
44#
45all-local: ${ARCH} $(LIB)
46
47$(LIB): ${OBJS}
48        $(make-library)
49endif
50
51TMPINSTALL_FILES += $(H_FILES)
52
53EXTRA_DIST = $(DOSFS_C_FILES) $(FATFS_C_FILES)
54
55include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.