NetBSD/gnu/usr.bin/gcc2/cc/Makefile

25 lines
773 B
Makefile
Raw Normal View History

1993-08-01 09:37:30 +04:00
# from: @(#)Makefile 6.2 (Berkeley) 3/25/91
# $Id: Makefile,v 1.8 1993/10/07 07:24:24 cgd Exp $
1993-08-01 09:37:30 +04:00
PROG= cc
1993-07-09 17:11:49 +04:00
SRCS= gcc.c version.c obstack.c
MAN1= gcc.0 g++.0
1993-07-09 17:11:49 +04:00
BINDIR= /usr/bin
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
DPADD+= /usr/lib/libgnumalloc.a
1993-08-23 13:20:31 +04:00
LINKS+= ${BINDIR}/cc ${BINDIR}/gcc
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)$(BINDIR)/g++
@/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>