diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-01-31 15:27:02 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-01-31 15:27:02 +0000 |
commit | 4e36a2f133c68aaf637e166385eff1a05b59f38e (patch) | |
tree | 47520e4fbb8b685c25ae2909cf2a12287be4268b /c/src/lib/libcpu/powerpc/shared/Makefile.am | |
parent | Patch rtems-rc-20000118-2.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de> (diff) | |
download | rtems-4e36a2f133c68aaf637e166385eff1a05b59f38e.tar.bz2 |
Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff from
Ralf Corsepius <corsepiu@faw.uni-ulm.de> that contain:
* Modifications, (minor) corrections, cleanups to most existing
Makefile.ams
* Adds automake support to all remaining BSPs which have not yet been
converted to automake.
* Makefile.am for all remaining wrapup/Makefile.ams
Diffstat (limited to 'c/src/lib/libcpu/powerpc/shared/Makefile.am')
-rw-r--r-- | c/src/lib/libcpu/powerpc/shared/Makefile.am | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/c/src/lib/libcpu/powerpc/shared/Makefile.am b/c/src/lib/libcpu/powerpc/shared/Makefile.am index 1bc5f644ac..bc2d1d1ace 100644 --- a/c/src/lib/libcpu/powerpc/shared/Makefile.am +++ b/c/src/lib/libcpu/powerpc/shared/Makefile.am @@ -4,43 +4,38 @@ AUTOMAKE_OPTIONS = foreign 1.4 -## C source names C_FILES = cpuIdent.c -C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o) +C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) H_FILES = cpu.h spr.h io.h mmu.h page.h byteorder.h pgtable.h -noinst_HEADERS = $(H_FILES) -## Assembly source names -S_FILES = -S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o) - -OBJS = $(C_O_FILES) $(S_O_FILES) +OBJS = $(C_O_FILES) include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../../../../../automake/lib.am -LIB = ${ARCH}/libcpuspec.a +LIB = $(ARCH)/libcpuspec.a # # (OPTIONAL) Add local stuff here using += # -$(LIB): ${OBJS} +$(LIB): $(OBJS) $(make-library) -PREINSTALL_FILES += \ -$(PROJECT_INCLUDE)/libcpu \ -$(H_FILES:%=$(PROJECT_INCLUDE)/libcpu/%) - $(PROJECT_INCLUDE)/libcpu: $(mkinstalldirs) $@ $(PROJECT_INCLUDE)/libcpu/%.h: %.h $(INSTALL_DATA) $< $@ -all-local: ${ARCH} $(PREINSTALL_FILES) $(LIB) +PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \ + $(H_FILES:%=$(PROJECT_INCLUDE)/libcpu/%) + +all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB) + +.PRECIOUS: $(LIB) -EXTRA_DIST = $(C_FILES) $(S_FILES) +EXTRA_DIST = byteorder.h cpu.h cpuIdent.c io.h mmu.h page.h pgtable.h spr.h include $(top_srcdir)/../../../../../automake/local.am |