From ab0df696d09f6b53b33345d207f8aead63a6fcab Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 5 Aug 1998 15:15:46 +0000 Subject: Automatic CPU type detection code from Eric Valette . Enabled on the pc386. --- c/src/exec/score/cpu/i386/asm.h | 1 + c/src/exec/score/tools/hppa1.1/Makefile.in | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'c/src/exec/score') diff --git a/c/src/exec/score/cpu/i386/asm.h b/c/src/exec/score/cpu/i386/asm.h index 53a4ea7e5a..9fe867c04c 100644 --- a/c/src/exec/score/cpu/i386/asm.h +++ b/c/src/exec/score/cpu/i386/asm.h @@ -92,6 +92,7 @@ #define edi REG (edi) #define esp REG (esp) #define ebp REG (ebp) +#define cr0 REG (cr0) #define ax REG (ax) #define bx REG (bx) diff --git a/c/src/exec/score/tools/hppa1.1/Makefile.in b/c/src/exec/score/tools/hppa1.1/Makefile.in index 4a8be52b11..0ef6de8843 100644 --- a/c/src/exec/score/tools/hppa1.1/Makefile.in +++ b/c/src/exec/score/tools/hppa1.1/Makefile.in @@ -50,12 +50,14 @@ CLEAN_ADDITIONS += CLOBBER_ADDITIONS += all: ${ARCH} $(SRCS) preinstall $(PGMS) - $(INSTALL) $(INSTBINFLAGS) ${PGMS} ${PROJECT_RELEASE}/bin # Hack # we are #including files that haven't been installed yet. # Make sure they are available. -preinstall: FORCEIT +preinstall: ${ARCH} headers $(SRCS) $(PGMS) + $(INSTALL) $(INSTBINFLAGS) ${PGMS} ${PROJECT_RELEASE}/bin + +headers: FORCE cd $(CPU_DIR); $(MAKE) install-headers # Install the program(s), appending _g or _p as appropriate. -- cgit v1.2.3