1993-07-09 17:11:49 +04:00
|
|
|
# @(#)Makefile 6.4 (Berkeley) 2/21/91
|
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-11 08:21:12 +04:00
|
|
|
MAN1= gcpp.0
|
1993-07-09 17:11:49 +04:00
|
|
|
CFLAGS+= -I. -I$(.CURDIR) -I$(.CURDIR)/../common \
|
|
|
|
-DGCC_INCLUDE_DIR=\"\" \
|
|
|
|
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/include/g++\"
|
|
|
|
YFLAGS=
|
1993-07-11 08:21:12 +04:00
|
|
|
|
|
|
|
MLINKS= gcpp.1 cpp.1
|
|
|
|
|
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-09 17:11:49 +04:00
|
|
|
.include <bsd.prog.mk>
|