source: rtems/c/src/exec/libfs/src/imfs/Makefile.am @ 657af74

4.104.114.84.95
Last change on this file since 657af74 was c31deeb, checked in by Joel Sherrill <joel.sherrill@…>, on 03/20/02 at 14:21:42

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

Addressing PR 140.

  • src/dosfs/config.h.in: Removed.
  • src/dosfs/stamp-h2.in: Removed.
  • .cvsignore: Add config.h*, stamp-h*.
  • configure.ac: Remove AC_SRC_DIR(.../dosfs.h). Remove AM_CONFIG_HEADER(src/dosfs/config.h). Remove AM_CONFIG_HEADER(src/imfs/config.h). Add AM_CONFIG_HEADER(config.h).
  • src/dosfs/Makefile.am: INCLUDES = -I../.. .
  • src/imfs/Makefile.am: INCLUDES = -I../.. .
  • Property mode set to 100644
File size: 1.6 KB
Line 
1##
2##  $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7INCLUDES = -I../..
8
9LIBNAME = libimfs
10LIB = ${ARCH}/${LIBNAME}.a
11
12IMFS_C_FILES = imfs_chown.c imfs_config.c imfs_creat.c imfs_directory.c \
13    imfs_eval.c imfs_free.c imfs_fsunmount.c imfs_gtkn.c imfs_init.c \
14    imfs_initsupp.c imfs_link.c imfs_mknod.c imfs_mount.c imfs_fchmod.c \
15    imfs_unlink.c imfs_unmount.c imfs_utime.c imfs_ntype.c imfs_stat.c \
16    imfs_getchild.c memfile.c linearfile.c deviceio.c imfs_handlers_device.c \
17    imfs_handlers_directory.c imfs_handlers_link.c imfs_handlers_memfile.c \
18    imfs_debug.c imfs_rmnod.c imfs_symlink.c imfs_readlink.c imfs_fdatasync.c \
19    imfs_fcntl.c ioman.c miniimfs_init.c imfs_load_tar.c
20
21UNIX_C_FILES = imfs_unixstub.c
22
23EMBEDDED_C_FILES = $(IMFS_C_FILES)
24
25COMMON_C_FILES =
26
27if UNIX
28C_FILES = $(COMMON_C_FILES) $(UNIX_C_FILES)
29else
30C_FILES = $(COMMON_C_FILES) $(EMBEDDED_C_FILES)
31endif
32C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
33
34include_HEADERS = imfs.h
35
36include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
37include $(top_srcdir)/../../../automake/compile.am
38include $(top_srcdir)/../../../automake/lib.am
39
40PREINSTALL_FILES = $(PROJECT_INCLUDE) \
41    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
42
43$(PROJECT_INCLUDE):
44        @$(mkinstalldirs) $@
45
46$(PROJECT_INCLUDE)/%.h: %.h
47        $(INSTALL_DATA) $< $@
48
49OBJS = $(C_O_FILES)
50
51#
52# Add local stuff here using +=
53#
54
55AM_CFLAGS += $(LIBC_DEFINES)
56
57all-local: ${ARCH} $(LIB)
58
59$(LIB): ${OBJS}
60        $(make-library)
61
62DOC_FILES = TODO CASES
63
64EXTRA_DIST = $(DOC_FILES) $(COMMON_C_FILES) $(EMBEDDED_C_FILES) \
65    $(UNIX_C_FILES)
66
67include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.