source: rtems/cpukit/libfs/Makefile.am @ 35afb17

4.104.114.84.95
Last change on this file since 35afb17 was 35afb17, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/09/04 at 02:22:39

2004-04-09 Ralf Corsepius <ralf_corsepius@…>

  • libblock/Makefile.am: Remove LIBC_DEFINES (Unsupported).
  • libfs/Makefile.am: Remove LIBC_DEFINES (Unsupported).
  • Property mode set to 100644
File size: 3.4 KB
RevLine 
[d71c6c1]1##
2## $Id$
3##
4
[7cdf8b7e]5include $(top_srcdir)/automake/multilib.am
[970983e]6include $(top_srcdir)/automake/compile.am
[7cdf8b7e]7
8AM_CPPFLAGS += -I$(top_builddir)
[d71c6c1]9
10EXTRA_DIST = README
11
[30f66299]12include_rtemsdir = $(includedir)/rtems
13include_rtems_HEADERS =
[7cdf8b7e]14
[970983e]15EXTRA_LIBRARIES = libimfs.a
16CLEANFILES = libimfs.a
[35afb17]17libimfs_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
[970983e]18
19EXTRA_LIBRARIES += libimfs_g.a
20CLEANFILES += libimfs_g.a
[35afb17]21libimfs_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
[970983e]22
23UNUSED_FILES = src/imfs/imfs_load_tar.c
24
25libimfs_a_SOURCES =
26
27if UNIX
28libimfs_a_SOURCES += src/imfs/imfs_unixstub.c
29else
30libimfs_a_SOURCES += src/imfs/imfs_chown.c src/imfs/imfs_config.c \
[7cdf8b7e]31    src/imfs/imfs_creat.c src/imfs/imfs_directory.c src/imfs/imfs_eval.c \
32    src/imfs/imfs_free.c src/imfs/imfs_fsunmount.c src/imfs/imfs_gtkn.c \
33    src/imfs/imfs_init.c src/imfs/imfs_initsupp.c src/imfs/imfs_link.c \
34    src/imfs/imfs_mknod.c src/imfs/imfs_mount.c src/imfs/imfs_fchmod.c \
35    src/imfs/imfs_unlink.c src/imfs/imfs_unmount.c src/imfs/imfs_utime.c \
36    src/imfs/imfs_ntype.c src/imfs/imfs_stat.c src/imfs/imfs_getchild.c \
37    src/imfs/memfile.c src/imfs/linearfile.c src/imfs/deviceio.c \
38    src/imfs/imfs_handlers_device.c src/imfs/imfs_handlers_directory.c \
39    src/imfs/imfs_handlers_link.c src/imfs/imfs_handlers_memfile.c \
40    src/imfs/imfs_debug.c src/imfs/imfs_rmnod.c src/imfs/imfs_symlink.c \
41    src/imfs/imfs_readlink.c src/imfs/imfs_fdatasync.c src/imfs/imfs_fcntl.c \
[a63b383]42    src/imfs/ioman.c src/imfs/miniimfs_init.c
[7cdf8b7e]43endif
44
[b71e8d0]45libimfs_g_a_SOURCES = $(libimfs_a_SOURCES)
[7cdf8b7e]46
[30f66299]47include_rtems_HEADERS += src/imfs/imfs.h
[7cdf8b7e]48
[f670eb76]49IMFSLIB = libimfs$(LIB_VARIANT).a
[7cdf8b7e]50
51# dosfs
52
[970983e]53if !UNIX
54EXTRA_LIBRARIES += libdosfs.a
55CLEANFILES += libdosfs.a
[35afb17]56libdosfs_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
[7cdf8b7e]57
[970983e]58EXTRA_LIBRARIES += libdosfs_g.a
59CLEANFILES += libdosfs_g.a
[35afb17]60libdosfs_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
[970983e]61
62# libdosfs_FATFS_C_FILES
63libdosfs_a_SOURCES = src/dosfs/fat.c src/dosfs/fat.h \
64    src/dosfs/fat_fat_operations.c src/dosfs/fat_fat_operations.h \
65    src/dosfs/fat_file.c src/dosfs/fat_file.h
66
67# libdosfs_DOSFS_C_FILES
68libdosfs_a_SOURCES += src/dosfs/msdos_create.c src/dosfs/msdos_dir.c \
[7cdf8b7e]69    src/dosfs/msdos_eval.c src/dosfs/msdos_file.c src/dosfs/msdos_free.c \
70    src/dosfs/msdos_fsunmount.c src/dosfs/msdos_handlers_dir.c \
71    src/dosfs/msdos_handlers_file.c src/dosfs/msdos_init.c \
72    src/dosfs/msdos_initsupp.c src/dosfs/msdos_misc.c \
73    src/dosfs/msdos_mknod.c src/dosfs/msdos_node_type.c \
[970983e]74    src/dosfs/msdos_conv.c src/dosfs/msdos.h
[7cdf8b7e]75
[970983e]76libdosfs_g_a_SOURCES = $(libdosfs_a_SOURCES)
[7cdf8b7e]77
[30f66299]78include_rtems_HEADERS += src/dosfs/dosfs.h
[7cdf8b7e]79
[f670eb76]80DOSFSLIB = libdosfs$(LIB_VARIANT).a
[07347cb]81endif
[7cdf8b7e]82
[970983e]83EXTRA_DIST += $(UNUSED_FILES)
84
[07347cb]85all-local: $(PREINSTALL_FILES) $(IMFSLIB) $(DOSFSLIB)
[7cdf8b7e]86
87# ---
88
[3d1de20]89PREINSTALL_DIRS =
[7cdf8b7e]90PREINSTALL_FILES =
91
[30f66299]92$(PROJECT_INCLUDE)/rtems/$(dirstamp):
93        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
94        @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
95PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
[9e7e53bf]96
[30f66299]97$(PROJECT_INCLUDE)/rtems/imfs.h: src/imfs/imfs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
98        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/imfs.h
99PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/imfs.h
[7cdf8b7e]100
101if !UNIX
[30f66299]102$(PROJECT_INCLUDE)/rtems/dosfs.h: src/dosfs/dosfs.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
103        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/dosfs.h
104PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/dosfs.h
[7cdf8b7e]105endif
106
[8a2c1796]107CLEANFILES += $(PREINSTALL_FILES)
[3d1de20]108DISTCLEANFILES = $(PREINSTALL_DIRS)
[8a2c1796]109
[c41c8b7]110include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.