1993-07-09 17:11:49 +04:00
|
|
|
# @(#)Makefile 6.2 (Berkeley) 3/25/91
|
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
|
|
|
|
CFLAGS+= -I$(.CURDIR) -I$(.CURDIR)/../common
|
1993-07-11 08:21:12 +04:00
|
|
|
|
|
|
|
LINKS+= ${DESTDIR}${BINDIR}/cc ${DESTDIR}${BINDIR}/gcc
|
|
|
|
LINKS+= ${DESTDIR}${BINDIR}/g++ ${DESTDIR}${BINDIR}/c++
|
|
|
|
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) \
|
|
|
|
$(.CURDIR)/g++.script $(DESTDIR)/usr/bin/g++
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|