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/unix/Makefile.in | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'c/src/exec/score/cpu/unix') diff --git a/c/src/exec/score/cpu/unix/Makefile.in b/c/src/exec/score/cpu/unix/Makefile.in index c327731122..0589977f7f 100644 --- a/c/src/exec/score/cpu/unix/Makefile.in +++ b/c/src/exec/score/cpu/unix/Makefile.in @@ -15,7 +15,7 @@ C_PIECES=cpu C_FILES=$(C_PIECES:%=%.c) C_O_FILES=$(C_PIECES:%=${ARCH}/%.o) -H_FILES=$(srcdir)/cpu.h $(srcdir)/unixtypes.h +H_FILES=$(srcdir)/cpu.h $(srcdir)/unix.h $(srcdir)/unixtypes.h # Assembly source names, if any, go here -- minus the .S S_PIECES= @@ -66,20 +66,12 @@ install: all # Real ports using the gnu tools will need to have bsp_specs!!! # ${PROJECT_RELEASE}/lib/bsp_specs -preinstall: $(PROJECT_INCLUDE)/rtems/score/unix.h $(ARCH)/unixsize.h \ +preinstall: $(ARCH) $(ARCH)/unixsize.h \ $(PROJECT_INCLUDE)/rtems/score/targopts.h \ $(PROJECT_RELEASE)/lib/bsp_specs $(INSTALL) -m 444 ${H_FILES} $(PROJECT_INCLUDE)/rtems/score $(INSTALL) -m 444 ${ARCH}/unixsize.h $(PROJECT_INCLUDE)/rtems/score -$(PROJECT_INCLUDE)/rtems/score/unix.h: unix.h - $(SED) -e 's?REPLACE_THIS_WITH_THE_CPU_MODEL?$(RTEMS_CPU_MODEL)?' \ - -e 's?REPLACE_THIS_WITH_THE_BSP?$(RTEMS_BSP)?' \ - -e 's?REPLACE_THIS_WITH_THE_CPU_FAMILY?$(RTEMS_CPU_FAMILY)?' \ - -e 's?REPLACE_THIS_WITH_THE_UNIX_FLAVOR?$(RTEMS_UNIX_FLAVOR)?' \ - <$(srcdir)/unix.h >$(ARCH)/unix.h.tmp - $(INSTALL) -m 444 $(ARCH)/unix.h.tmp $@ - $(PROJECT_INCLUDE)/rtems/score/targopts.h: $(ARCH)/targopts.h-tmp $(INSTALL) -m 444 $(ARCH)/targopts.h-tmp $@ -- cgit v1.2.3