summaryrefslogtreecommitdiff
path: root/=Maketools
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-04-05 16:59:53 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-04-05 16:59:53 +0000
commit64b977b30929f1eeaa15a96056092e2b42cb1595 (patch)
treebe7f040c46593cb285d894e94ff92d9abc7c044b /=Maketools
parent3a21374928f2d894285fec1946bb57e8fd59aaa3 (diff)
(crossdir, startup, libc, crossheaders): New vars.
(MIGCOM): Use $(crossdir) instead of literal string.
Diffstat (limited to '=Maketools')
-rw-r--r--=Maketools7
1 files changed, 6 insertions, 1 deletions
diff --git a/=Maketools b/=Maketools
index 7ba35ae2..6a81ad0e 100644
--- a/=Maketools
+++ b/=Maketools
@@ -22,13 +22,14 @@ CCVERSION-ernst.gnu.ai.mit.edu = 2.5.7
CCVERSION-duality.gnu.ai.mit.edu = 2.6.4
ccdir = /usr/local/lib/gcc-lib/$(CCTARGET)/$(CCVERSION)
+crossdir := /usr/local/$(CCTARGET)
ifndef BUILD_CC
export BUILD_CC := $(CC)
endif
CC=$(CCTARGET)-gcc $(CCTYPE) -O2 -pipe
ifeq (,$(wildcard /usr/local/lib/migcom))
-MIGCOM=/usr/local/i386-gnu/lib/migcom
+MIGCOM=$(crossdir)/lib/migcom
MIG=$(tooldir)/mig
else
MIGCOM=/usr/local/lib/migcom
@@ -40,6 +41,10 @@ AR=$(tooldir)/ar
RANLIB=$(tooldir)/ranlib
LD=$(tooldir)/ld -L$(ccdir)
+startup := $(crossdir)/lib/crt0.o
+libc := $(crossdir)/lib/libc.a
+crossheaders := $(crossdir)/include
+
INSTALL = install -c
INSTALL_DATA = $(INSTALL) -m 644
INSTALL_BIN = $(INSTALL) -m 755