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

4.104.114.84.95
Last change on this file since 05b8b60 was 05b8b60, checked in by Joel Sherrill <joel.sherrill@…>, on 03/28/02 at 00:49:35

2002-03-27 Ralf Corsepius <corsepiu@…>

  • configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]).
  • src/dosfs/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • src/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • src/imfs/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Makefile.am: Remove AUTOMAKE_OPTIONS.
  • wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[d71c6c1]1##
2##  $Id$
3##
4
5
[c31deeb]6INCLUDES = -I../..
[d6b1d73]7
[d71c6c1]8LIBNAME = libimfs
9LIB = ${ARCH}/${LIBNAME}.a
10
[a0756c9a]11IMFS_C_FILES = imfs_chown.c imfs_config.c imfs_creat.c imfs_directory.c \
12    imfs_eval.c imfs_free.c imfs_fsunmount.c imfs_gtkn.c imfs_init.c \
13    imfs_initsupp.c imfs_link.c imfs_mknod.c imfs_mount.c imfs_fchmod.c \
14    imfs_unlink.c imfs_unmount.c imfs_utime.c imfs_ntype.c imfs_stat.c \
[0ef748fb]15    imfs_getchild.c memfile.c linearfile.c deviceio.c imfs_handlers_device.c \
[a0756c9a]16    imfs_handlers_directory.c imfs_handlers_link.c imfs_handlers_memfile.c \
17    imfs_debug.c imfs_rmnod.c imfs_symlink.c imfs_readlink.c imfs_fdatasync.c \
[0ef748fb]18    imfs_fcntl.c ioman.c miniimfs_init.c imfs_load_tar.c
[d71c6c1]19
20UNIX_C_FILES = imfs_unixstub.c
21
22EMBEDDED_C_FILES = $(IMFS_C_FILES)
23
24COMMON_C_FILES =
25
26if UNIX
27C_FILES = $(COMMON_C_FILES) $(UNIX_C_FILES)
28else
29C_FILES = $(COMMON_C_FILES) $(EMBEDDED_C_FILES)
30endif
31C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
32
[8b5d0db3]33include_HEADERS = imfs.h
[d71c6c1]34
35include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
36include $(top_srcdir)/../../../automake/compile.am
37include $(top_srcdir)/../../../automake/lib.am
38
[f667aaec]39PREINSTALL_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
48OBJS = $(C_O_FILES)
49
50#
51# Add local stuff here using +=
52#
53
[c058578]54AM_CFLAGS += $(LIBC_DEFINES)
[d71c6c1]55
56all-local: ${ARCH} $(LIB)
57
58$(LIB): ${OBJS}
59        $(make-library)
60
61DOC_FILES = TODO CASES
62
63EXTRA_DIST = $(DOC_FILES) $(COMMON_C_FILES) $(EMBEDDED_C_FILES) \
[f667aaec]64    $(UNIX_C_FILES)
[d71c6c1]65
66include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.