1995-12-01 20:58:53 +03:00
|
|
|
# from: @(#)Makefile 6.4 (Berkeley) 2/21/91
|
1997-06-23 17:25:41 +04:00
|
|
|
# $NetBSD: Makefile,v 1.6 1997/06/23 13:25:46 mrg Exp $
|
1995-12-01 20:58:53 +03:00
|
|
|
|
1997-06-23 17:25:41 +04:00
|
|
|
.if (${MACHINE_ARCH} == "i386") || \
|
|
|
|
(${MACHINE_ARCH} == "m68k") || \
|
|
|
|
(${MACHINE_ARCH} == "ns32k") || \
|
|
|
|
(${MACHINE_ARCH} == "sparc") || \
|
|
|
|
(${MACHINE_ARCH} == "vax") || \
|
|
|
|
(${MACHINE_ARCH} == "arm32") || \
|
|
|
|
(${MACHINE_ARCH} == "mips")
|
1997-05-14 01:01:55 +04:00
|
|
|
PROG= cpp
|
|
|
|
BINDIR= /usr/libexec
|
|
|
|
SRCS= cccp.c cexp.c obstack.c version.c
|
|
|
|
CFLAGS+=-I. -I$(.CURDIR) -I$(.CURDIR)/../common -I$(.CURDIR)/../arch \
|
|
|
|
-I$(.CURDIR)/../arch/$(MACHINE_ARCH) \
|
|
|
|
-DGCC_INCLUDE_DIR=\"\" \
|
|
|
|
-DTOOL_INCLUDE_DIR=\"\" \
|
|
|
|
-DGPLUSPLUS_INCLUDE_DIR=\"/usr/include/g++\"
|
|
|
|
LDADD+= -lgnumalloc
|
|
|
|
DPADD+= ${LIBGNUMALLOC}
|
1995-12-01 20:58:53 +03:00
|
|
|
YFLAGS=
|
|
|
|
|
1996-05-11 15:37:59 +04:00
|
|
|
CLEANFILES+= cexp.c
|
|
|
|
|
1995-12-01 20:58:53 +03:00
|
|
|
.PATH: $(.CURDIR)/../common
|
1997-06-23 17:25:41 +04:00
|
|
|
.endif
|
1995-12-01 20:58:53 +03:00
|
|
|
|
1997-03-25 01:02:40 +03:00
|
|
|
LINKS= /usr/bin/cpp /usr/bin/gcpp
|
|
|
|
FILES=usr.bin.cpp.sh
|
|
|
|
FILESNAME=cpp
|
|
|
|
FILESDIR=/usr/bin
|
|
|
|
FILESMODE=${BINMODE}
|
1995-12-01 20:58:53 +03:00
|
|
|
|
1997-06-23 17:25:41 +04:00
|
|
|
MAN= cpp.1
|
|
|
|
MLINKS= cpp.1 cccp.1 cpp.1 gcpp.1
|
|
|
|
|
1995-12-01 20:58:53 +03:00
|
|
|
.include <bsd.prog.mk>
|