Configured gcc2 for multiple architectures.

This commit is contained in:
paul 1993-07-16 00:25:43 +00:00
parent 9c0456d7d7
commit 2b47e3e1ae
4 changed files with 13 additions and 9 deletions

View File

@ -3,7 +3,8 @@ PROG= cc
SRCS= gcc.c version.c obstack.c
MAN1= gcc.0 g++.0
BINDIR= /usr/bin
CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../common
CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../common \
-I$(.CURDIR)/.. -I$(.CURDIR)/../$(MACHINE)
LINKS+= ${DESTDIR}${BINDIR}/cc ${DESTDIR}${BINDIR}/gcc
LINKS+= ${DESTDIR}${BINDIR}/g++ ${DESTDIR}${BINDIR}/c++
@ -13,6 +14,5 @@ MLINKS= gcc.1 cc.1 g++.1 c++.1
afterinstall:
install -c -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) \
$(.CURDIR)/g++.script $(DESTDIR)/usr/bin/g++
$(.CURDIR)/g++.script $(DESTDIR)$(BINDIR)/g++
.include <bsd.prog.mk>

View File

@ -5,8 +5,9 @@ SRCS= c-parse.c c-lang.c c-lex.c c-pragma.c c-decl.c \
c-typeck.c c-convert.c c-aux-info.c c-iterate.c \
$(COMMON_SRC)
CFLAGS+= -I. -I$(.CURDIR) -I$(.CURDIR)/../common
CFLAGS+= -I. -I$(.CURDIR) -I$(.CURDIR)/../common \
-I$(.CURDIR)/.. -I$(.CURDIR)/../$(MACHINE)
YFLAGS=
NOMAN= noman
.PATH: $(.CURDIR)/../common
.PATH: $(.CURDIR)/../common $(.CURDIR)/../$(MACHINE)
.include <bsd.prog.mk>

View File

@ -4,9 +4,11 @@ SRCS= objc-parse.c objc-act.c \
c-lex.c c-pragma.c c-decl.c c-typeck.c c-convert.c\
c-aux-info.c c-iterate.c \
$(COMMON_SRC)
CFLAGS+= -I. -I$(.CURDIR) -I$(.CURDIR)/../common
CFLAGS+= -I. -I$(.CURDIR) -I$(.CURDIR)/../common \
-I$(.CURDIR)/.. -I$(.CURDIR)/../$(MACHINE)
YFLAGS=
NOMAN= noman
.PATH: $(.CURDIR)/../common $(.CURDIR)/../cc1
.PATH: $(.CURDIR)/../common $(.CURDIR)/../cc1 \
$(.CURDIR)/../$(MACHINE)
.include <bsd.prog.mk>

View File

@ -6,9 +6,10 @@ SRCS= cp-parse.c cp-decl.c cp-decl2.c cp-typeck.c cp-type2.c \
cp-except.c cp-expr.c cp-pt.c cp-edsel.c cp-xref.c \
cp-spew.c $(COMMON_SRC)
CFLAGS+= -I. -I$(.CURDIR) -I$(.CURDIR)/../common
CFLAGS+= -I. -I$(.CURDIR) -I$(.CURDIR)/../common \
-I$(.CURDIR)/.. -I$(.CURDIR)/../$(MACHINE)
NOMAN= noman
YFLAGS=
.PATH: $(.CURDIR)/../common
.PATH: $(.CURDIR)/../common $(.CURDIR)/../$(MACHINE)
.include <bsd.prog.mk>