source: rtems/c/src/libfs/src/imfs/Makefile.am @ 227ae749

4.104.114.84.95
Last change on this file since 227ae749 was 0ef748fb, checked in by Joel Sherrill <joel.sherrill@…>, on 12/13/00 at 17:53:55

2000-12-12 Jake Janovetz <janovetz@…>

  • src/imfs/linearfile.c, src/imfs/imfs_load_tar.c: New files.
  • src/imfs/Makefile.am, src/imfs/imfs.h, src/imfs/imfs_creat.c, src/imfs/imfs_debug.c, src/imfs/imfs_eval.c, src/imfs/imfs_handlers_memfile.c, src/imfs/imfs_init.c, src/imfs/imfs_initsupp.c, src/imfs/imfs_stat.c, src/imfs/miniimfs_init.c: Added "tarfs". This is not really a tar filesystem. It is a way to load a tar image into the IMFS but actually leave bulky file contents in the original tar image. It essentially adds the linear file type and associated support and a loader routine.
  • Property mode set to 100644
File size: 2.0 KB
Line 
1##
2##  $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7LIBNAME = libimfs
8LIB = ${ARCH}/${LIBNAME}.a
9
10IMFS_C_FILES = imfs_chown.c imfs_config.c imfs_creat.c imfs_directory.c \
11    imfs_eval.c imfs_free.c imfs_fsunmount.c imfs_gtkn.c imfs_init.c \
12    imfs_initsupp.c imfs_link.c imfs_mknod.c imfs_mount.c imfs_fchmod.c \
13    imfs_unlink.c imfs_unmount.c imfs_utime.c imfs_ntype.c imfs_stat.c \
14    imfs_getchild.c memfile.c linearfile.c deviceio.c imfs_handlers_device.c \
15    imfs_handlers_directory.c imfs_handlers_link.c imfs_handlers_memfile.c \
16    imfs_debug.c imfs_rmnod.c imfs_symlink.c imfs_readlink.c imfs_fdatasync.c \
17    imfs_fcntl.c ioman.c miniimfs_init.c imfs_load_tar.c
18
19UNIX_C_FILES = imfs_unixstub.c
20
21EMBEDDED_C_FILES = $(IMFS_C_FILES)
22
23COMMON_C_FILES =
24
25if UNIX
26C_FILES = $(COMMON_C_FILES) $(UNIX_C_FILES)
27else
28C_FILES = $(COMMON_C_FILES) $(EMBEDDED_C_FILES)
29endif
30C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
31
32H_FILES = imfs.h
33SYS_H_FILES =
34RTEMS_H_FILES =
35noinst_HEADERS =
36
37include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
38include $(top_srcdir)/../../../automake/compile.am
39include $(top_srcdir)/../../../automake/lib.am
40
41PREINSTALL_FILES += $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/rtems \
42    $(PROJECT_INCLUDE)/sys $(H_FILES:%=$(PROJECT_INCLUDE)/%) \
43    $(RTEMS_H_FILES:%=$(PROJECT_INCLUDE)/rtems/%) \
44    $(SYS_H_FILES:%=$(PROJECT_INCLUDE)/sys/%)
45
46$(PROJECT_INCLUDE):
47        @$(mkinstalldirs) $@
48$(PROJECT_INCLUDE)/rtems:
49        @$(mkinstalldirs) $@
50$(PROJECT_INCLUDE)/sys:
51        @$(mkinstalldirs) $@
52
53$(PROJECT_INCLUDE)/%.h: %.h
54        $(INSTALL_DATA) $< $@
55$(PROJECT_INCLUDE)/rtems/%.h: %.h
56        $(INSTALL_DATA) $< $@
57$(PROJECT_INCLUDE)/sys/%.h: %.h
58        $(INSTALL_DATA) $< $@
59
60OBJS = $(C_O_FILES)
61
62#
63# Add local stuff here using +=
64#
65
66AM_CFLAGS += $(LIBC_DEFINES)
67
68all-local: ${ARCH} $(LIB)
69
70$(LIB): ${OBJS}
71        $(make-library)
72
73DOC_FILES = TODO CASES
74
75EXTRA_DIST = $(DOC_FILES) $(COMMON_C_FILES) $(EMBEDDED_C_FILES) \
76    $(UNIX_C_FILES) $(H_FILES) $(RTEMS_H_FILES) $(SYS_H_FILES)
77
78include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.