source: rtems/cpukit/libfs/src/imfs/Makefile.am @ c41c8b7

4.104.114.84.95
Last change on this file since c41c8b7 was c41c8b7, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jul 8, 2003 at 9:47:21 AM

2003-07-08 Ralf Corsepius <corsepiu@…>

  • configure.ac: Remove (Merged-in into ../configure.ac)
  • Makefile.am, src/Makefile.am, src/dosfs/Makefile.am, src/imfs/Makefile.am: Reflect having merged configure.ac into ../configure.ac.
  • src/dosfs/config.h: New.
  • src/dosfs/Makefile.am: Add config.h.
  • src/imfsfs/config.h: New.
  • src/imfs/Makefile.am: Add config.h. Remove COMMON_C_FILES, DOC_FILES (Unused).
  • Property mode set to 100644
File size: 1.4 KB
Line 
1##
2##  $Id$
3##
4
5LIB = ${ARCH}/libimfs.a
6
7IMFS_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 \
11    imfs_getchild.c memfile.c linearfile.c deviceio.c imfs_handlers_device.c \
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 \
14    imfs_fcntl.c ioman.c miniimfs_init.c
15
16# imfs_load_tar.c
17
18UNIX_C_FILES = imfs_unixstub.c
19
20EMBEDDED_C_FILES = $(IMFS_C_FILES)
21
22if UNIX
23C_FILES = $(UNIX_C_FILES)
24else
25C_FILES = $(EMBEDDED_C_FILES)
26endif
27OBJS = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
28
29noinst_HEADERS = config.h
30
31include_HEADERS = imfs.h
32
33include $(top_srcdir)/automake/multilib.am
34include $(top_srcdir)/automake/compile.am
35include $(top_srcdir)/automake/lib.am
36
37AM_CPPFLAGS += $(LIBC_DEFINES)
38
39PREINSTALL_FILES = $(PROJECT_INCLUDE) \
40    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
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
52all-local: ${ARCH} $(LIB)
53
54$(LIB): ${OBJS}
55        $(make-library)
56
57EXTRA_DIST = $(EMBEDDED_C_FILES) $(UNIX_C_FILES)
58
59include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.