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

26 lines
716 B
Makefile
Raw Normal View History

1993-08-01 09:37:30 +04:00
# from: @(#)Makefile 6.4 (Berkeley) 2/21/91
# $Id: Makefile,v 1.5 1993/08/01 05:42:46 mycroft Exp $
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-07-16 06:46:55 +04:00
-I$(.CURDIR)/../$(MACHINE) -I$(.CURDIR)/.. \
1993-07-09 17:11:49 +04:00
-DGCC_INCLUDE_DIR=\"\" \
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/include/g++\"
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>