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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [libfs/] [src/] [imfs/] [Makefile.am] - Rev 1765

Compare with Previous | Blame | View Log

##
##  Makefile.am,v 1.15 2002/07/22 13:44:42 ralf Exp
##

LIB = ${ARCH}/libimfs.a

IMFS_C_FILES = imfs_chown.c imfs_config.c imfs_creat.c imfs_directory.c \
    imfs_eval.c imfs_free.c imfs_fsunmount.c imfs_gtkn.c imfs_init.c \
    imfs_initsupp.c imfs_link.c imfs_mknod.c imfs_mount.c imfs_fchmod.c \
    imfs_unlink.c imfs_unmount.c imfs_utime.c imfs_ntype.c imfs_stat.c \
    imfs_getchild.c memfile.c linearfile.c deviceio.c imfs_handlers_device.c \
    imfs_handlers_directory.c imfs_handlers_link.c imfs_handlers_memfile.c \
    imfs_debug.c imfs_rmnod.c imfs_symlink.c imfs_readlink.c imfs_fdatasync.c \
    imfs_fcntl.c ioman.c miniimfs_init.c imfs_load_tar.c

UNIX_C_FILES = imfs_unixstub.c

EMBEDDED_C_FILES = $(IMFS_C_FILES)

COMMON_C_FILES =

if UNIX
C_FILES = $(COMMON_C_FILES) $(UNIX_C_FILES)
else
C_FILES = $(COMMON_C_FILES) $(EMBEDDED_C_FILES)
endif
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))

include_HEADERS = imfs.h

include $(top_srcdir)/../automake/multilib.am
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/lib.am

AM_CPPFLAGS += -I../.. $(LIBC_DEFINES)

PREINSTALL_FILES = $(PROJECT_INCLUDE) \
    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)

$(PROJECT_INCLUDE):
        @$(mkinstalldirs) $@

$(PROJECT_INCLUDE)/%.h: %.h
        $(INSTALL_DATA) $< $@

OBJS = $(C_O_FILES)

#
# Add local stuff here using +=
#

all-local: ${ARCH} $(LIB)

$(LIB): ${OBJS}
        $(make-library)

DOC_FILES = TODO CASES

EXTRA_DIST = $(DOC_FILES) $(COMMON_C_FILES) $(EMBEDDED_C_FILES) \
    $(UNIX_C_FILES)

include $(top_srcdir)/../automake/local.am

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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