source:
rtems/cpukit/libfs/src/imfs/Makefile.am
@
c41c8b7
Last change on this file since c41c8b7 was c41c8b7, checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/08/03 at 09:47:21 | |
---|---|
|
|
File size: 1.4 KB |
Rev | Line | |
---|---|---|
[d71c6c1] | 1 | ## |
2 | ## $Id$ | |
3 | ## | |
4 | ||
[3e83325] | 5 | LIB = ${ARCH}/libimfs.a |
[d71c6c1] | 6 | |
[a0756c9a] | 7 | IMFS_C_FILES = imfs_chown.c imfs_config.c imfs_creat.c imfs_directory.c \ |
8 | imfs_eval.c imfs_free.c imfs_fsunmount.c imfs_gtkn.c imfs_init.c \ | |
9 | imfs_initsupp.c imfs_link.c imfs_mknod.c imfs_mount.c imfs_fchmod.c \ | |
10 | imfs_unlink.c imfs_unmount.c imfs_utime.c imfs_ntype.c imfs_stat.c \ | |
[0ef748fb] | 11 | imfs_getchild.c memfile.c linearfile.c deviceio.c imfs_handlers_device.c \ |
[a0756c9a] | 12 | imfs_handlers_directory.c imfs_handlers_link.c imfs_handlers_memfile.c \ |
13 | imfs_debug.c imfs_rmnod.c imfs_symlink.c imfs_readlink.c imfs_fdatasync.c \ | |
[5441193] | 14 | imfs_fcntl.c ioman.c miniimfs_init.c |
15 | ||
16 | # imfs_load_tar.c | |
[d71c6c1] | 17 | |
18 | UNIX_C_FILES = imfs_unixstub.c | |
19 | ||
20 | EMBEDDED_C_FILES = $(IMFS_C_FILES) | |
21 | ||
22 | if UNIX | |
[c41c8b7] | 23 | C_FILES = $(UNIX_C_FILES) |
[d71c6c1] | 24 | else |
[c41c8b7] | 25 | C_FILES = $(EMBEDDED_C_FILES) |
[d71c6c1] | 26 | endif |
[2d709236] | 27 | OBJS = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT)) |
[d71c6c1] | 28 | |
[c41c8b7] | 29 | noinst_HEADERS = config.h |
30 | ||
[8b5d0db3] | 31 | include_HEADERS = imfs.h |
[d71c6c1] | 32 | |
[c41c8b7] | 33 | include $(top_srcdir)/automake/multilib.am |
34 | include $(top_srcdir)/automake/compile.am | |
35 | include $(top_srcdir)/automake/lib.am | |
[d71c6c1] | 36 | |
[c41c8b7] | 37 | AM_CPPFLAGS += $(LIBC_DEFINES) |
[3e83325] | 38 | |
[f667aaec] | 39 | PREINSTALL_FILES = $(PROJECT_INCLUDE) \ |
40 | $(include_HEADERS:%=$(PROJECT_INCLUDE)/%) | |
[d71c6c1] | 41 | |
42 | $(PROJECT_INCLUDE): | |
43 | @$(mkinstalldirs) $@ | |
44 | ||
45 | $(PROJECT_INCLUDE)/%.h: %.h | |
46 | $(INSTALL_DATA) $< $@ | |
47 | ||
48 | # | |
49 | # Add local stuff here using += | |
50 | # | |
51 | ||
52 | all-local: ${ARCH} $(LIB) | |
53 | ||
54 | $(LIB): ${OBJS} | |
55 | $(make-library) | |
56 | ||
[c41c8b7] | 57 | EXTRA_DIST = $(EMBEDDED_C_FILES) $(UNIX_C_FILES) |
[d71c6c1] | 58 | |
[c41c8b7] | 59 | include $(top_srcdir)/automake/local.am |
Note: See TracBrowser
for help on using the repository browser.