forked from Imagelibrary/rtems
* mpc505/ictrl/Makefile.am: Remove all-local: $(ARCH). * mpc505/timer/Makefile.am: Remove all-local: $(ARCH). * mpc505/vectors/Makefile.am: Remove all-local: $(ARCH). * mpc6xx/clock/Makefile.am: Remove all-local: $(ARCH). * mpc6xx/exceptions/Makefile.am: Remove all-local: $(ARCH). * mpc6xx/mmu/Makefile.am: Remove all-local: $(ARCH). * mpc6xx/timer/Makefile.am: Remove all-local: $(ARCH). * mpc6xx/wrapup/Makefile.am: Remove all-local: $(ARCH). * mpc8260/clock/Makefile.am: Remove all-local: $(ARCH). * mpc8260/console-generic/Makefile.am: Remove all-local: $(ARCH). * mpc8260/cpm/Makefile.am: Remove all-local: $(ARCH). * mpc8260/exceptions/Makefile.am: Remove all-local: $(ARCH). * mpc8260/mmu/Makefile.am: Remove all-local: $(ARCH). * mpc8260/timer/Makefile.am: Remove all-local: $(ARCH). * mpc8xx/clock/Makefile.am: Remove all-local: $(ARCH). * mpc8xx/console-generic/Makefile.am: Remove all-local: $(ARCH). * mpc8xx/cpm/Makefile.am: Remove all-local: $(ARCH). * mpc8xx/exceptions/Makefile.am: Remove all-local: $(ARCH). * mpc8xx/mmu/Makefile.am: Remove all-local: $(ARCH). * mpc8xx/timer/Makefile.am: Remove all-local: $(ARCH). * ppc403/clock/Makefile.am: Remove all-local: $(ARCH). * ppc403/console/Makefile.am: Remove all-local: $(ARCH). * ppc403/ictrl/Makefile.am: Remove all-local: $(ARCH). * ppc403/timer/Makefile.am: Remove all-local: $(ARCH). * ppc403/tty_drv/Makefile.am: Remove all-local: $(ARCH). * ppc403/vectors/Makefile.am: Remove all-local: $(ARCH). * shared/include/Makefile.am: Remove all-local: $(ARCH). * shared/src/Makefile.am: Remove all-local: $(ARCH). * wrapup/Makefile.am: Remove all-local: $(ARCH).
69 lines
2.1 KiB
Makefile
69 lines
2.1 KiB
Makefile
##
|
|
## $Id$
|
|
##
|
|
|
|
C_FILES = cpuIdent.c
|
|
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
|
|
|
|
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 $(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)
|
|
|
|
all-local: $(PREINSTALL_FILES) $(OBJS) $(LIB)
|
|
|
|
.PRECIOUS: $(LIB)
|
|
|
|
EXTRA_DIST = cpuIdent.c
|
|
|
|
PREINSTALL_FILES =
|
|
|
|
$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
|
|
@$(mkinstalldirs) $(PROJECT_INCLUDE)/libcpu
|
|
@: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
|
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
|
|
|
|
$(PROJECT_INCLUDE)/libcpu/spr.h: spr.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
|
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/spr.h
|
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/spr.h
|
|
|
|
$(PROJECT_INCLUDE)/libcpu/io.h: io.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
|
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/io.h
|
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/io.h
|
|
|
|
$(PROJECT_INCLUDE)/libcpu/mmu.h: mmu.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
|
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/mmu.h
|
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/mmu.h
|
|
|
|
$(PROJECT_INCLUDE)/libcpu/page.h: page.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
|
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/page.h
|
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/page.h
|
|
|
|
$(PROJECT_INCLUDE)/libcpu/byteorder.h: byteorder.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
|
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/byteorder.h
|
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/byteorder.h
|
|
|
|
$(PROJECT_INCLUDE)/libcpu/pgtable.h: pgtable.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
|
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/pgtable.h
|
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/pgtable.h
|
|
|
|
$(PROJECT_INCLUDE)/libcpu/cpuIdent.h: cpuIdent.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
|
|
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/cpuIdent.h
|
|
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/cpuIdent.h
|
|
|
|
include $(top_srcdir)/../../../automake/local.am
|