source: rtems/cpukit/libfs/Makefile.am @ 6ac6a5c8

Last change on this file since 6ac6a5c8 was 6ac6a5c8, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 27, 2018 at 11:01:56 AM

jffs2: Do not use command line defines

Update #3375.

  • Property mode set to 100644
File size: 5.7 KB
Line 
1include $(top_srcdir)/automake/multilib.am
2include $(top_srcdir)/automake/compile.am
3
4_SUBDIRS = src/nfsclient
5
6
7noinst_LIBRARIES = libdefaultfs.a
8libdefaultfs_a_SOURCES = \
9    src/defaults/default_clone.c \
10    src/defaults/default_are_nodes_equal.c \
11    src/defaults/default_lock_and_unlock.c \
12    src/defaults/default_eval_path.c \
13    src/defaults/default_fchmod.c src/defaults/default_freenode.c \
14    src/defaults/default_fsync.c \
15    src/defaults/default_fsync_success.c \
16    src/defaults/default_link.c \
17    src/defaults/default_read.c src/defaults/default_rmnod.c \
18    src/defaults/default_chown.c \
19    src/defaults/default_fcntl.c \
20    src/defaults/default_ftruncate.c src/defaults/default_lseek.c \
21    src/defaults/default_lseek_file.c \
22    src/defaults/default_lseek_directory.c \
23    src/defaults/default_readlink.c src/defaults/default_statvfs.c \
24    src/defaults/default_utime.c \
25    src/defaults/default_fstat.c \
26    src/defaults/default_ioctl.c src/defaults/default_mount.c \
27    src/defaults/default_rename.c src/defaults/default_symlink.c \
28    src/defaults/default_write.c \
29    src/defaults/default_unmount.c \
30    src/defaults/default_open.c src/defaults/default_close.c \
31    src/defaults/default_fsunmount.c src/defaults/default_mknod.c \
32    src/defaults/default_ftruncate_directory.c \
33    src/defaults/default_handlers.c src/defaults/default_ops.c
34libdefaultfs_a_SOURCES += src/defaults/default_kqfilter.c
35libdefaultfs_a_SOURCES += src/defaults/default_mmap.c
36libdefaultfs_a_SOURCES += src/defaults/default_poll.c
37libdefaultfs_a_SOURCES += src/defaults/default_readv.c
38libdefaultfs_a_SOURCES += src/defaults/default_writev.c
39
40noinst_LIBRARIES += libimfs.a
41libimfs_a_SOURCES =
42
43libimfs_a_SOURCES += src/imfs/deviceio.c \
44    src/imfs/imfs_chown.c src/imfs/imfs_config.c \
45    src/imfs/imfs_creat.c \
46    src/imfs/imfs_eval.c src/imfs/imfs_fchmod.c \
47    src/imfs/imfs_dir.c \
48    src/imfs/imfs_dir_default.c \
49    src/imfs/imfs_dir_minimal.c \
50    src/imfs/imfs_fifo.c \
51    src/imfs/imfs_make_generic_node.c \
52    src/imfs/imfs_fsunmount.c \
53    src/imfs/imfs_handlers_device.c \
54    src/imfs/imfs_init.c \
55    src/imfs/imfs_initsupp.c src/imfs/imfs_link.c src/imfs/imfs_load_tar.c \
56    src/imfs/imfs_linfile.c \
57    src/imfs/imfs_mknod.c src/imfs/imfs_mount.c \
58    src/imfs/imfs_rename.c src/imfs/imfs_rmnod.c \
59    src/imfs/imfs_stat.c src/imfs/imfs_stat_file.c src/imfs/imfs_symlink.c \
60    src/imfs/imfs_unmount.c src/imfs/imfs_utime.c src/imfs/ioman.c \
61    src/imfs/imfs_memfile.c src/imfs/imfs.h
62libimfs_a_SOURCES += src/imfs/imfs_node.c
63
64# POSIX FIFO/pipe
65libimfs_a_SOURCES += src/pipe/fifo.c src/pipe/pipe.c src/pipe/pipe.h
66
67noinst_LIBRARIES += libdevfs.a
68libdevfs_a_SOURCES = src/devfs/devfs_init.c src/devfs/devfs_eval.c \
69    src/devfs/devfs_mknod.c src/devfs/devfs_show.c \
70    src/devfs/devopen.c src/devfs/devread.c \
71    src/devfs/devwrite.c src/devfs/devclose.c src/devfs/devioctl.c \
72    src/devfs/devstat.c src/devfs/devfs.h
73
74# dosfs
75if LIBDOSFS
76noinst_LIBRARIES += libdosfs.a
77
78# libdosfs_FATFS_C_FILES
79libdosfs_a_SOURCES = src/dosfs/fat.c src/dosfs/fat.h \
80    src/dosfs/fat_fat_operations.c src/dosfs/fat_fat_operations.h \
81    src/dosfs/fat_file.c src/dosfs/fat_file.h
82
83# libdosfs_DOSFS_C_FILES
84libdosfs_a_SOURCES += src/dosfs/msdos_create.c src/dosfs/msdos_dir.c \
85    src/dosfs/msdos_eval.c src/dosfs/msdos_file.c src/dosfs/msdos_free.c \
86    src/dosfs/msdos_fsunmount.c src/dosfs/msdos_handlers_dir.c \
87    src/dosfs/msdos_handlers_file.c src/dosfs/msdos_init.c \
88    src/dosfs/msdos_initsupp.c src/dosfs/msdos_misc.c \
89    src/dosfs/msdos_mknod.c \
90    src/dosfs/msdos_rmnod.c src/dosfs/msdos_statvfs.c \
91    src/dosfs/msdos_conv_default.c \
92    src/dosfs/msdos_conv_utf8.c \
93    src/dosfs/msdos_conv.c src/dosfs/msdos.h src/dosfs/msdos_format.c \
94    src/dosfs/dosfs.h src/dosfs/msdos_rename.c
95endif
96
97# RFS
98noinst_LIBRARIES += librfs.a
99librfs_a_SOURCES = \
100    src/rfs/rtems-rfs-bitmaps.c src/rfs/rtems-rfs-block.c \
101    src/rfs/rtems-rfs-buffer-bdbuf.c src/rfs/rtems-rfs-buffer.c \
102    src/rfs/rtems-rfs-dir-hash.c src/rfs/rtems-rfs-file.c \
103    src/rfs/rtems-rfs-group.c src/rfs/rtems-rfs-inode.c \
104    src/rfs/rtems-rfs-rtems-dev.c src/rfs/rtems-rfs-rtems-utils.c \
105    src/rfs/rtems-rfs-rtems.c src/rfs/rtems-rfs-shell.c \
106    src/rfs/rtems-rfs-dir.c \
107    src/rfs/rtems-rfs-file-system.c src/rfs/rtems-rfs-format.c \
108    src/rfs/rtems-rfs-link.c src/rfs/rtems-rfs-mutex.c \
109    src/rfs/rtems-rfs-rtems-dir.c src/rfs/rtems-rfs-rtems-file.c \
110    src/rfs/rtems-rfs-trace.c
111
112# JFFS2
113project_lib_LIBRARIES = libjffs2.a
114
115$(PROJECT_LIB)/libjffs2.a: libjffs2.a
116        $(INSTALL_DATA) $< $(PROJECT_LIB)/libjffs2.a
117TMPINSTALL_FILES = $(PROJECT_LIB)/libjffs2.a
118
119libjffs2_a_SOURCES =
120libjffs2_a_SOURCES += src/jffs2/src/build.c
121libjffs2_a_SOURCES += src/jffs2/src/compat-crc32.c
122libjffs2_a_SOURCES += src/jffs2/src/compr.c
123libjffs2_a_SOURCES += src/jffs2/src/compr_rtime.c
124libjffs2_a_SOURCES += src/jffs2/src/compr_zlib.c
125libjffs2_a_SOURCES += src/jffs2/src/debug.c
126libjffs2_a_SOURCES += src/jffs2/src/dir-rtems.c
127libjffs2_a_SOURCES += src/jffs2/src/erase.c
128libjffs2_a_SOURCES += src/jffs2/src/flashio.c
129libjffs2_a_SOURCES += src/jffs2/src/fs-rtems.c
130libjffs2_a_SOURCES += src/jffs2/src/gc.c
131libjffs2_a_SOURCES += src/jffs2/src/malloc-rtems.c
132libjffs2_a_SOURCES += src/jffs2/src/nodelist.c
133libjffs2_a_SOURCES += src/jffs2/src/nodemgmt.c
134libjffs2_a_SOURCES += src/jffs2/src/read.c
135libjffs2_a_SOURCES += src/jffs2/src/readinode.c
136libjffs2_a_SOURCES += src/jffs2/src/scan.c
137libjffs2_a_SOURCES += src/jffs2/src/write.c
138libjffs2_a_CFLAGS =
139libjffs2_a_CFLAGS += -Wno-pointer-sign
140libjffs2_a_CPPFLAGS =
141libjffs2_a_CPPFLAGS += $(AM_CPPFLAGS) -I$(srcdir)/src/jffs2/include
142
143# ---
144include $(top_srcdir)/automake/subdirs.am
145include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.