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 01/28/05 at 02:32:38

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
RevLine 
[d71c6c1]1##
2## $Id$
3##
4
[7cdf8b7e]5include $(top_srcdir)/automake/multilib.am
[970983e]6include $(top_srcdir)/automake/compile.am
[7cdf8b7e]7
[d71c6c1]8EXTRA_DIST = README
9
[30f66299]10include_rtemsdir = $(includedir)/rtems
11include_rtems_HEADERS =
[7cdf8b7e]12
[846a4af]13noinst_LIBRARIES = libimfs.a
[a369ade]14libimfs_a_CPPFLAGS = $(AM_CPPFLAGS)
[970983e]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 \
[7cdf8b7e]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 \
[a63b383]35    src/imfs/ioman.c src/imfs/miniimfs_init.c
[7cdf8b7e]36endif
37
[30f66299]38include_rtems_HEADERS += src/imfs/imfs.h
[7cdf8b7e]39
40# dosfs
41
[970983e]42if !UNIX
[846a4af]43noinst_LIBRARIES += libdosfs.a
[a369ade]44libdosfs_a_CPPFLAGS = $(AM_CPPFLAGS)
[7cdf8b7e]45
[970983e]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 \
[7cdf8b7e]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 \
[b34665f8]58    src/dosfs/msdos_conv.c src/dosfs/msdos.h src/dosfs/msdos_format.c
[7cdf8b7e]59
[30f66299]60include_rtems_HEADERS += src/dosfs/dosfs.h
[07347cb]61endif
[7cdf8b7e]62
[970983e]63EXTRA_DIST += $(UNUSED_FILES)
64
[846a4af]65all-local: $(PREINSTALL_FILES)
[7cdf8b7e]66
67# ---
68
[3d1de20]69PREINSTALL_DIRS =
[7cdf8b7e]70PREINSTALL_FILES =
71
[30f66299]72$(PROJECT_INCLUDE)/rtems/$(dirstamp):
73        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
74        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
75PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
[9e7e53bf]76
[30f66299]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
[7cdf8b7e]80
81if !UNIX
[30f66299]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
[7cdf8b7e]85endif
86
[846a4af]87CLEANFILES = $(PREINSTALL_FILES)
[3d1de20]88DISTCLEANFILES = $(PREINSTALL_DIRS)
[8a2c1796]89
[c41c8b7]90include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.