1993-08-01 09:37:30 +04:00
|
|
|
# from: @(#)Makefile 6.4 (Berkeley) 2/21/91
|
1993-08-23 13:23:16 +04:00
|
|
|
# $Id: Makefile,v 1.6 1993/08/23 09:23:16 cgd Exp $
|
1993-08-01 09:37:30 +04:00
|
|
|
|
1993-07-11 08:21:12 +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++\"
|
|
|
|
YFLAGS=
|
1993-07-11 08:21:12 +04:00
|
|
|
|
1993-07-28 04:40:12 +04:00
|
|
|
MLINKS= cpp.1 gcpp.1
|
1993-07-11 08:21:12 +04:00
|
|
|
|
1993-07-09 17:11:49 +04:00
|
|
|
.PATH: $(.CURDIR)/../common
|
|
|
|
|
1993-07-11 08:21:12 +04:00
|
|
|
afterinstall:
|
|
|
|
install -c -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) \
|
|
|
|
$(.CURDIR)/usr.bin.cpp.sh $(DESTDIR)/usr/bin/cpp
|
1993-07-28 04:40:12 +04:00
|
|
|
@/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-11 08:21:12 +04:00
|
|
|
|
1993-07-09 17:11:49 +04:00
|
|
|
.include <bsd.prog.mk>
|