1993-08-01 09:37:30 +04:00
|
|
|
# from: @(#)Makefile 6.2 (Berkeley) 3/25/91
|
1993-10-07 10:23:44 +03:00
|
|
|
# $Id: Makefile,v 1.8 1993/10/07 07:24:24 cgd Exp $
|
1993-08-01 09:37:30 +04:00
|
|
|
|
1993-07-11 08:21:12 +04:00
|
|
|
PROG= cc
|
1993-07-09 17:11:49 +04:00
|
|
|
SRCS= gcc.c version.c obstack.c
|
1993-07-11 08:21:12 +04:00
|
|
|
MAN1= gcc.0 g++.0
|
1993-07-09 17:11:49 +04:00
|
|
|
BINDIR= /usr/bin
|
1993-07-16 04:25:43 +04:00
|
|
|
CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../common \
|
1993-08-23 13:20:31 +04:00
|
|
|
-I$(.CURDIR)/../arch -I$(.CURDIR)/../arch/$(MACHINE)
|
1993-09-24 03:13:04 +04:00
|
|
|
LDADD+= -lgnumalloc
|
1993-10-07 10:23:44 +03:00
|
|
|
DPADD+= /usr/lib/libgnumalloc.a
|
1993-07-11 08:21:12 +04:00
|
|
|
|
1993-08-23 13:20:31 +04:00
|
|
|
LINKS+= ${BINDIR}/cc ${BINDIR}/gcc
|
1993-07-11 08:21:12 +04:00
|
|
|
MLINKS= gcc.1 cc.1 g++.1 c++.1
|
|
|
|
|
1993-07-09 17:11:49 +04:00
|
|
|
.PATH: $(.CURDIR)/../common
|
|
|
|
|
|
|
|
afterinstall:
|
|
|
|
install -c -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) \
|
1993-07-16 04:25:43 +04:00
|
|
|
$(.CURDIR)/g++.script $(DESTDIR)$(BINDIR)/g++
|
1993-07-28 04:40:12 +04:00
|
|
|
@/bin/rm -rf ${DESTDIR}${BINDIR}/c++
|
|
|
|
@ln ${DESTDIR}${BINDIR}/g++ ${DESTDIR}${BINDIR}/c++
|
|
|
|
@echo ${DESTDIR}${BINDIR}/g++ -\> ${DESTDIR}${BINDIR}/c++
|
1993-07-09 17:11:49 +04:00
|
|
|
.include <bsd.prog.mk>
|