diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-04-05 16:59:53 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-04-05 16:59:53 +0000 |
commit | 64b977b30929f1eeaa15a96056092e2b42cb1595 (patch) | |
tree | be7f040c46593cb285d894e94ff92d9abc7c044b | |
parent | 3a21374928f2d894285fec1946bb57e8fd59aaa3 (diff) |
(crossdir, startup, libc, crossheaders): New vars.
(MIGCOM): Use $(crossdir) instead of literal string.
-rw-r--r-- | =Maketools | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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 |