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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [lib/] [libcpu/] [powerpc/] [shared/] [include/] [Makefile.am] - Rev 1765

Compare with Previous | Blame | View Log

##
## Makefile.am,v 1.7 2002/04/18 20:55:37 joel Exp
##


C_FILES = cpuIdent.c
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)

include_libcpudir = $(includedir)/libcpu

include_libcpu_HEADERS = spr.h io.h mmu.h page.h byteorder.h pgtable.h \
    cpuIdent.h

OBJS = $(C_O_FILES)

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../../../../../automake/compile.am
include $(top_srcdir)/../../../../../automake/lib.am

LIB = $(ARCH)/libcpuspec.a

#
# (OPTIONAL) Add local stuff here using +=
#

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

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

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

PREINSTALL_FILES = $(PROJECT_INCLUDE)/libcpu \
    $(include_libcpu_HEADERS:%=$(PROJECT_INCLUDE)/libcpu/%)

all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)

.PRECIOUS: $(LIB)

EXTRA_DIST = cpuIdent.c

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

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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