source: rtems/cpukit/libfs/src/dosfs/Makefile.am @ 2d709236

4.104.114.84.9
Last change on this file since 2d709236 was 2d709236, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 12, 2002 at 6:13:49 AM

2002-12-12 Ralf Corsepius <corsepiu@…>

  • src/imfs/Makefile.am: Eliminate C_O_FILES.
  • src/dosfs/Makefile.am: Ditto.
  • Property mode set to 100644
File size: 1.0 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
10AM_CPPFLAGS += -I../.. $(LIBC_DEFINES)
11
12FATFS_C_FILES = fat.c fat_fat_operations.c fat_file.c
13
14DOSFS_C_FILES = msdos_create.c msdos_dir.c msdos_eval.c msdos_file.c \
15                msdos_free.c msdos_fsunmount.c msdos_handlers_dir.c  \
16                msdos_handlers_file.c msdos_init.c msdos_initsupp.c  \
17                msdos_misc.c msdos_mknod.c msdos_node_type.c
18
19if !UNIX
20LIB = ${ARCH}/libdosfs.a
21
22C_FILES = $(FATFS_C_FILES) $(DOSFS_C_FILES)
23OBJS = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
24
25include_HEADERS = dosfs.h
26
27H_FILES = $(PROJECT_INCLUDE) \
28    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
29
30$(PROJECT_INCLUDE):
31        @$(mkinstalldirs) $@
32
33$(PROJECT_INCLUDE)/%.h: %.h
34        $(INSTALL_DATA) $< $@
35#
36# Add local stuff here using +=
37#
38all-local: ${ARCH} $(LIB)
39
40$(LIB): ${OBJS}
41        $(make-library)
42endif
43
44TMPINSTALL_FILES += $(H_FILES)
45
46EXTRA_DIST = $(DOSFS_C_FILES) $(FATFS_C_FILES)
47
48include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.