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

4.104.114.84.95
Last change on this file since 2ea1779 was 2ea1779, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/20/03 at 07:06:08

2003-11-20 Ralf Corsepius <corsepiu@…>

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