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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [libblock/] [Makefile.am] - Rev 1779

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

##
## Makefile.am,v 1.7 2002/07/31 05:48:15 ralf Exp
##

ACLOCAL_AMFLAGS = -I ../aclocal

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

include_rtemsdir = $(includedir)/rtems

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

$(PROJECT_INCLUDE)/rtems:
        @$(mkinstalldirs) $@

include_rtems_HEADERS = \
    include/rtems/bdbuf.h include/rtems/blkdev.h \
    include/rtems/diskdevs.h include/rtems/ramdisk.h

PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
    $(include_rtems_HEADERS:include/%=$(PROJECT_INCLUDE)/%)

LIB = ${ARCH}/libblock.a

C_FILES = src/bdbuf.c src/blkdev.c src/diskdevs.c src/ramdisk.c

C_O_FILES = $(C_FILES:src/%.c=${ARCH}/%.$(OBJEXT))

SRCS = $(C_FILES)
OBJS = $(C_O_FILES)

AM_CFLAGS += $(LIBC_DEFINES)

${ARCH}/%.$(OBJEXT): src/%.c
        ${COMPILE} -o $@ -c $<

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

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

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

Go to most recent revision | 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.