OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [libfs/] [src/] [imfs/] [Makefile.am] - Blame information for rev 1026

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
##
2
##  Makefile.am,v 1.15 2002/07/22 13:44:42 ralf Exp
3
##
4
 
5
LIB = ${ARCH}/libimfs.a
6
 
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 \
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 imfs_load_tar.c
15
 
16
UNIX_C_FILES = imfs_unixstub.c
17
 
18
EMBEDDED_C_FILES = $(IMFS_C_FILES)
19
 
20
COMMON_C_FILES =
21
 
22
if UNIX
23
C_FILES = $(COMMON_C_FILES) $(UNIX_C_FILES)
24
else
25
C_FILES = $(COMMON_C_FILES) $(EMBEDDED_C_FILES)
26
endif
27
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
28
 
29
include_HEADERS = imfs.h
30
 
31
include $(top_srcdir)/../automake/multilib.am
32
include $(top_srcdir)/../automake/compile.am
33
include $(top_srcdir)/../automake/lib.am
34
 
35
AM_CPPFLAGS += -I../.. $(LIBC_DEFINES)
36
 
37
PREINSTALL_FILES = $(PROJECT_INCLUDE) \
38
    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
39
 
40
$(PROJECT_INCLUDE):
41
        @$(mkinstalldirs) $@
42
 
43
$(PROJECT_INCLUDE)/%.h: %.h
44
        $(INSTALL_DATA) $< $@
45
 
46
OBJS = $(C_O_FILES)
47
 
48
#
49
# Add local stuff here using +=
50
#
51
 
52
all-local: ${ARCH} $(LIB)
53
 
54
$(LIB): ${OBJS}
55
        $(make-library)
56
 
57
DOC_FILES = TODO CASES
58
 
59
EXTRA_DIST = $(DOC_FILES) $(COMMON_C_FILES) $(EMBEDDED_C_FILES) \
60
    $(UNIX_C_FILES)
61
 
62
include $(top_srcdir)/../automake/local.am

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.