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

4.104.114.84.95
Last change on this file since c41c8b7 was c41c8b7, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jul 8, 2003 at 9:47:21 AM

2003-07-08 Ralf Corsepius <corsepiu@…>

  • configure.ac: Remove (Merged-in into ../configure.ac)
  • Makefile.am, src/Makefile.am, src/dosfs/Makefile.am, src/imfs/Makefile.am: Reflect having merged configure.ac into ../configure.ac.
  • src/dosfs/config.h: New.
  • src/dosfs/Makefile.am: Add config.h.
  • src/imfsfs/config.h: New.
  • src/imfs/Makefile.am: Add config.h. Remove COMMON_C_FILES, DOC_FILES (Unused).
  • 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
11
12AM_CPPFLAGS += $(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                msdos_conv.c
21
22if !UNIX
23LIB = ${ARCH}/libdosfs.a
24
25C_FILES = $(FATFS_C_FILES) $(DOSFS_C_FILES)
26OBJS = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
27
28include_HEADERS = dosfs.h
29
30H_FILES = $(PROJECT_INCLUDE) \
31    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
32
33PREINSTALL_FILES = $(PROJECT_INCLUDE) \
34    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
35
36
37$(PROJECT_INCLUDE):
38        @$(mkinstalldirs) $@
39
40$(PROJECT_INCLUDE)/%.h: %.h
41        $(INSTALL_DATA) $< $@
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.