summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1997-04-17 20:05:46 +0000
committerThomas Bushnell <thomas@gnu.org>1997-04-17 20:05:46 +0000
commitcaf359e521041e7aa6290aa04225e974f73befd2 (patch)
treec30bc43587041097889ac8f115062ed843d30800 /Makefile.in
parent2baa2229f607c3787e0cb3ab9fa68cd284fe75da (diff)
Wed Apr 16 12:52:25 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>
* Makefile.in (cross-lexxer.o lexxer.o): Add pump-priming dependency on cpu.h. Reported by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu). * configure.in: Fail if configure target is not for GNU os. * Makefile.in (./cross-mig): New rule. (mkinstalldirs): Add $(libexecdir). * configure.in: Recognize i686. Reported by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu).
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in15
1 files changed, 13 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 8326d2d..9be046c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -275,7 +275,7 @@ CPPFLAGS += -nostdinc $(DEFINES) $(INCLUDES)
MIGFLAGS += $(CPPFLAGS)
-all: kernel cross-migcom
+all: kernel cross-migcom cross-mig
#
@@ -307,7 +307,7 @@ $(installed-sysdep-headers-names): $(includedir)/%: $(sysdep)/include/%
mkinstalldirs:
mkdir -p $(bootdir) $(includedir) $(includedir)/device \
- $(includedir)/mach $(includedir)/mach/$(systype)
+ $(includedir)/mach $(includedir)/mach/$(systype) $(libexecdir)
#
@@ -532,4 +532,15 @@ else
$< >$@.tmp && chmod +x $@.tmp && mv -f $@.tmp $@
endif
+# Version of MiG to install
+cross-mig: $(srcdir)/mig/mig.sh Makefile
+ sed -e 's,@MIGDIR@,$(libexecdir),g' \
+ -e 's,@CPP@,${CC} -x c-header -E,g' \
+ $< >$@.tmp && chmod +x $@.tmp && mv -f $@.tmp $@
+
+
+# The first time through, Make will try and build MiG to get
+# dependencies, before it knows about the automatically generated
+# files that MiG needs. So tell it about that file here.
+cross-lexxer.o lexxer.o: cpu.h