source: rtems/cpukit/libfs/Makefile.am @ a29d2e7

4.104.114.84.95
Last change on this file since a29d2e7 was 05b37c50, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 28, 2005 at 2:32:38 AM

2005-01-28 Ralf Corsepius <ralf.corsepius@…>

  • itron/Makefile.am, libblock/Makefile.am, libcsupport/Makefile.am, libfs/Makefile.am, libmisc/Makefile.am, posix/Makefile.am, rtems/Makefile.am, sapi/Makefile.am: Remove AM_CPPFLAGS += -I$(top_builddir).
  • Property mode set to 100644
File size: 2.9 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/automake/multilib.am
6include $(top_srcdir)/automake/compile.am
7
8EXTRA_DIST = README
9
10include_rtemsdir = $(includedir)/rtems
11include_rtems_HEADERS =
12
13noinst_LIBRARIES = libimfs.a
14libimfs_a_CPPFLAGS = $(AM_CPPFLAGS)
15
16UNUSED_FILES = src/imfs/imfs_load_tar.c
17
18libimfs_a_SOURCES =
19
20if UNIX
21libimfs_a_SOURCES += src/imfs/imfs_unixstub.c
22else
23libimfs_a_SOURCES += src/imfs/imfs_chown.c src/imfs/imfs_config.c \
24    src/imfs/imfs_creat.c src/imfs/imfs_directory.c src/imfs/imfs_eval.c \
25    src/imfs/imfs_free.c src/imfs/imfs_fsunmount.c src/imfs/imfs_gtkn.c \
26    src/imfs/imfs_init.c src/imfs/imfs_initsupp.c src/imfs/imfs_link.c \
27    src/imfs/imfs_mknod.c src/imfs/imfs_mount.c src/imfs/imfs_fchmod.c \
28    src/imfs/imfs_unlink.c src/imfs/imfs_unmount.c src/imfs/imfs_utime.c \
29    src/imfs/imfs_ntype.c src/imfs/imfs_stat.c src/imfs/imfs_getchild.c \
30    src/imfs/memfile.c src/imfs/linearfile.c src/imfs/deviceio.c \
31    src/imfs/imfs_handlers_device.c src/imfs/imfs_handlers_directory.c \
32    src/imfs/imfs_handlers_link.c src/imfs/imfs_handlers_memfile.c \
33    src/imfs/imfs_debug.c src/imfs/imfs_rmnod.c src/imfs/imfs_symlink.c \
34    src/imfs/imfs_readlink.c src/imfs/imfs_fdatasync.c src/imfs/imfs_fcntl.c \
35    src/imfs/ioman.c src/imfs/miniimfs_init.c
36endif
37
38include_rtems_HEADERS += src/imfs/imfs.h
39
40# dosfs
41
42if !UNIX
43noinst_LIBRARIES += libdosfs.a
44libdosfs_a_CPPFLAGS = $(AM_CPPFLAGS)
45
46# libdosfs_FATFS_C_FILES
47libdosfs_a_SOURCES = src/dosfs/fat.c src/dosfs/fat.h \
48    src/dosfs/fat_fat_operations.c src/dosfs/fat_fat_operations.h \
49    src/dosfs/fat_file.c src/dosfs/fat_file.h
50
51# libdosfs_DOSFS_C_FILES
52libdosfs_a_SOURCES += src/dosfs/msdos_create.c src/dosfs/msdos_dir.c \
53    src/dosfs/msdos_eval.c src/dosfs/msdos_file.c src/dosfs/msdos_free.c \
54    src/dosfs/msdos_fsunmount.c src/dosfs/msdos_handlers_dir.c \
55    src/dosfs/msdos_handlers_file.c src/dosfs/msdos_init.c \
56    src/dosfs/msdos_initsupp.c src/dosfs/msdos_misc.c \
57    src/dosfs/msdos_mknod.c src/dosfs/msdos_node_type.c \
58    src/dosfs/msdos_conv.c src/dosfs/msdos.h src/dosfs/msdos_format.c
59
60include_rtems_HEADERS += src/dosfs/dosfs.h
61endif
62
63EXTRA_DIST += $(UNUSED_FILES)
64
65all-local: $(PREINSTALL_FILES)
66
67# ---
68
69PREINSTALL_DIRS =
70PREINSTALL_FILES =
71
72$(PROJECT_INCLUDE)/rtems/$(dirstamp):
73        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
74        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
75PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
76
77$(PROJECT_INCLUDE)/rtems/imfs.h: src/imfs/imfs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
78        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/imfs.h
79PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/imfs.h
80
81if !UNIX
82$(PROJECT_INCLUDE)/rtems/dosfs.h: src/dosfs/dosfs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
83        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/dosfs.h
84PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/dosfs.h
85endif
86
87CLEANFILES = $(PREINSTALL_FILES)
88DISTCLEANFILES = $(PREINSTALL_DIRS)
89
90include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.