summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/cpp
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1997-03-24 22:02:40 +0000
committerchristos <christos@NetBSD.org>1997-03-24 22:02:40 +0000
commit0aad9d43785b79301bfeae771d4597e16be5b0d6 (patch)
tree2c14635baf80f1100790c12303a144efb007806d /gnu/usr.bin/gcc/cpp
parent3917c3179dd8de5f34cf0085680aa79bd1869d6c (diff)
Makefile cleanups
Diffstat (limited to 'gnu/usr.bin/gcc/cpp')
-rw-r--r--gnu/usr.bin/gcc/cpp/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/gnu/usr.bin/gcc/cpp/Makefile b/gnu/usr.bin/gcc/cpp/Makefile
index 18de0bbe5e9..30fcfd465b2 100644
--- a/gnu/usr.bin/gcc/cpp/Makefile
+++ b/gnu/usr.bin/gcc/cpp/Makefile
@@ -1,5 +1,5 @@
# from: @(#)Makefile 6.4 (Berkeley) 2/21/91
-# $NetBSD: Makefile,v 1.3 1996/10/18 03:00:21 thorpej Exp $
+# $NetBSD: Makefile,v 1.4 1997/03/24 22:06:19 christos Exp $
PROG= cpp
BINDIR= /usr/libexec
@@ -10,7 +10,7 @@ CFLAGS+= -I. -I$(.CURDIR) -I$(.CURDIR)/../common -I$(.CURDIR)/../arch \
-DTOOL_INCLUDE_DIR=\"\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/include/g++\"
LDADD+= -lgnumalloc
-DPADD+= /usr/lib/libgnumalloc.a
+DPADD+= ${LIBGNUMALLOC}
YFLAGS=
MLINKS= cpp.1 cccp.1 cpp.1 gcpp.1
@@ -19,11 +19,10 @@ CLEANFILES+= cexp.c
.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
+LINKS= /usr/bin/cpp /usr/bin/gcpp
+FILES=usr.bin.cpp.sh
+FILESNAME=cpp
+FILESDIR=/usr/bin
+FILESMODE=${BINMODE}
.include <bsd.prog.mk>