summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc2/cpp/Makefile
diff options
context:
space:
mode:
authorcgd <cgd@NetBSD.org>1993-07-11 04:21:12 +0000
committercgd <cgd@NetBSD.org>1993-07-11 04:21:12 +0000
commitd27033e23c31a258b29bb5bf0b2e798016595a68 (patch)
tree65b74861a05d912ece3d33e0beeeb69521b01e16 /gnu/usr.bin/gcc2/cpp/Makefile
parent69325b3c37d2a4e8208e01c56dc73cc19ad24b75 (diff)
install as "cc", "cpp", etc. and make sure man & program links are right
Diffstat (limited to 'gnu/usr.bin/gcc2/cpp/Makefile')
-rw-r--r--gnu/usr.bin/gcc2/cpp/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/gnu/usr.bin/gcc2/cpp/Makefile b/gnu/usr.bin/gcc2/cpp/Makefile
index e124be87178..6cf2f92b581 100644
--- a/gnu/usr.bin/gcc2/cpp/Makefile
+++ b/gnu/usr.bin/gcc2/cpp/Makefile
@@ -1,13 +1,19 @@
# @(#)Makefile 6.4 (Berkeley) 2/21/91
-
-PROG= gcpp
+PROG= cpp
BINDIR= /usr/libexec
SRCS= cccp.c cexp.y version.c
-MAN1= gcpp.1
+MAN1= gcpp.0
CFLAGS+= -I. -I$(.CURDIR) -I$(.CURDIR)/../common \
-DGCC_INCLUDE_DIR=\"\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/include/g++\"
YFLAGS=
+
+MLINKS= gcpp.1 cpp.1
+
.PATH: $(.CURDIR)/../common
+afterinstall:
+ install -c -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) \
+ $(.CURDIR)/usr.bin.cpp.sh $(DESTDIR)/usr/bin/cpp
+
.include <bsd.prog.mk>