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

4.104.114.84.95
Last change on this file since a4e44c29 was a4e44c29, checked in by Ralf Corsepius <ralf.corsepius@…>, on Oct 21, 2003 at 5:50:02 AM

2003-10-21 Ralf Corsepius <corsepiu@…>

  • src/dosfs/Makefile.am: noinst_HEADERS += fat.h
  • 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 = config.h
11noinst_HEADERS += fat.h
12
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.