From 4d11a92f3e90d517e2a58cc01ba77d161a0da9e6 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 5 Aug 1998 15:11:33 +0000 Subject: Redid Makefiles to properly do a preinstall. There was remnants of the old way of setting th cpu family and model string names. --- c/src/exec/score/cpu/i960/Makefile.in | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'c/src/exec/score/cpu/i960/Makefile.in') diff --git a/c/src/exec/score/cpu/i960/Makefile.in b/c/src/exec/score/cpu/i960/Makefile.in index 6d7a120914..641de5b218 100644 --- a/c/src/exec/score/cpu/i960/Makefile.in +++ b/c/src/exec/score/cpu/i960/Makefile.in @@ -15,10 +15,9 @@ C_PIECES=cpu C_FILES=$(C_PIECES:%=%.c) C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) -H_FILES=$(srcdir)/cpu.h $(srcdir)/i960types.h +H_FILES=$(srcdir)/cpu.h $(srcdir)/i960.h $(srcdir)/i960types.h # H_FILES that get installed externally -# i960.h is handled separately EXTERNAL_H_FILES = $(srcdir)/asm.h # Assembly source names, if any, go here -- minus the .s @@ -63,19 +62,13 @@ all: ${ARCH} $(SRCS) preinstall $(OBJS) $(RELS) # for include files, just use $(INSTALL) install: all -preinstall: $(PROJECT_INCLUDE)/rtems/score/i960.h \ +preinstall: $(ARCH) \ $(PROJECT_INCLUDE)/rtems/score/targopts.h \ ${PROJECT_RELEASE}/lib/bsp_specs $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score # we will share the basic cpu file $(INSTALL) -m 444 ${EXTERNAL_H_FILES} $(PROJECT_INCLUDE) -$(PROJECT_INCLUDE)/rtems/score/i960.h: i960.h - $(SED) -e 's?REPLACE_THIS_WITH_THE_CPU_MODEL?$(RTEMS_CPU_MODEL)?' \ - -e 's?REPLACE_THIS_WITH_THE_BSP?$(RTEMS_BSP)?' \ - < $< >$(ARCH)/i960.h.tmp - $(INSTALL) -m 444 $(ARCH)/i960.h.tmp $@ - $(PROJECT_INCLUDE)/rtems/score/targopts.h: $(ARCH)/targopts.h-tmp $(INSTALL) -m 444 $(ARCH)/targopts.h-tmp $@ -- cgit v1.2.3