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

27 lines
743 B
Makefile
Raw Normal View History

1993-08-01 09:37:30 +04:00
# from: @(#)Makefile 6.4 (Berkeley) 2/21/91
1993-09-24 03:13:14 +04:00
# $Id: Makefile,v 1.7 1993/09/23 23:13:14 cgd Exp $
1993-08-01 09:37:30 +04:00
PROG= cpp
1993-07-09 17:11:49 +04:00
BINDIR= /usr/libexec
SRCS= cccp.c cexp.y version.c
1993-07-16 06:46:55 +04:00
MAN1= cpp.0
1993-07-09 17:11:49 +04:00
CFLAGS+= -I. -I$(.CURDIR) -I$(.CURDIR)/../common \
1993-08-23 13:23:16 +04:00
-I$(.CURDIR)/../arch/$(MACHINE) -I$(.CURDIR)/../arch \
1993-07-09 17:11:49 +04:00
-DGCC_INCLUDE_DIR=\"\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/include/g++\"
1993-09-24 03:13:14 +04:00
LDADD+= -lgnumalloc
1993-07-09 17:11:49 +04:00
YFLAGS=
MLINKS= cpp.1 gcpp.1
1993-07-09 17:11:49 +04:00
.PATH: $(.CURDIR)/../common
afterinstall:
install -c -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) \
$(.CURDIR)/usr.bin.cpp.sh $(DESTDIR)/usr/bin/cpp
@/bin/rm -rf $(DESTDIR)/usr/bin/gcpp
@ln $(DESTDIR)/usr/bin/cpp $(DESTDIR)/usr/bin/gcpp
@echo $(DESTDIR)/usr/bin/gcpp -\> $(DESTDIR)/usr/bin/cpp
1993-07-09 17:11:49 +04:00
.include <bsd.prog.mk>