head	1.20;
access;
symbols
	perseant-exfatfs-base-20250801:1.20
	perseant-exfatfs-base-20240630:1.20
	cjep_sun2x:1.20.0.44
	cjep_sun2x-base:1.20
	cjep_staticlib_x-base1:1.20
	cjep_staticlib_x:1.20.0.42
	cjep_staticlib_x-base:1.20
	phil-wifi-20200421:1.20
	phil-wifi-20200411:1.20
	phil-wifi-20200406:1.20
	pgoyette-compat-merge-20190127:1.20
	pgoyette-compat-20190127:1.20
	pgoyette-compat-20190118:1.20
	pgoyette-compat-1226:1.20
	pgoyette-compat-1126:1.20
	pgoyette-compat-1020:1.20
	pgoyette-compat-0930:1.20
	pgoyette-compat-0906:1.20
	pgoyette-compat-0728:1.20
	pgoyette-compat-0625:1.20
	pgoyette-compat-0521:1.20
	pgoyette-compat-0502:1.20
	pgoyette-compat-0422:1.20
	pgoyette-compat-0415:1.20
	pgoyette-compat-0407:1.20
	pgoyette-compat-0330:1.20
	pgoyette-compat-0322:1.20
	pgoyette-compat-0315:1.20
	pgoyette-compat:1.20.0.40
	pgoyette-compat-base:1.20
	perseant-stdc-iso10646:1.20.0.38
	perseant-stdc-iso10646-base:1.20
	prg-localcount2-base3:1.20
	prg-localcount2-base2:1.20
	prg-localcount2-base1:1.20
	prg-localcount2:1.20.0.36
	prg-localcount2-base:1.20
	pgoyette-localcount-20170426:1.20
	bouyer-socketcan-base1:1.20
	pgoyette-localcount-20170320:1.20
	bouyer-socketcan:1.20.0.34
	bouyer-socketcan-base:1.20
	pgoyette-localcount-20170107:1.20
	pgoyette-localcount-20161104:1.20
	localcount-20160914:1.20
	pgoyette-localcount-20160806:1.20
	pgoyette-localcount-20160726:1.20
	pgoyette-localcount:1.20.0.32
	pgoyette-localcount-base:1.20
	netbsd-5-2-3-RELEASE:1.20
	netbsd-5-1-5-RELEASE:1.20
	yamt-pagecache-base9:1.20
	yamt-pagecache-tag8:1.20
	tls-earlyentropy:1.20.0.28
	tls-earlyentropy-base:1.20
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.20
	riastradh-drm2-base3:1.20
	netbsd-5-2-2-RELEASE:1.20
	netbsd-5-1-4-RELEASE:1.20
	netbsd-5-2-1-RELEASE:1.20
	netbsd-5-1-3-RELEASE:1.20
	agc-symver:1.20.0.30
	agc-symver-base:1.20
	tls-maxphys-base:1.20
	yamt-pagecache-base8:1.20
	netbsd-5-2:1.20.0.26
	yamt-pagecache-base7:1.20
	netbsd-5-2-RELEASE:1.20
	netbsd-5-2-RC1:1.20
	yamt-pagecache-base6:1.20
	yamt-pagecache-base5:1.20
	yamt-pagecache-base4:1.20
	netbsd-5-1-2-RELEASE:1.20
	netbsd-5-1-1-RELEASE:1.20
	yamt-pagecache-base3:1.20
	yamt-pagecache-base2:1.20
	yamt-pagecache:1.20.0.24
	yamt-pagecache-base:1.20
	bouyer-quota2-nbase:1.20
	bouyer-quota2:1.20.0.22
	bouyer-quota2-base:1.20
	matt-nb5-pq3:1.20.0.20
	matt-nb5-pq3-base:1.20
	netbsd-5-1:1.20.0.18
	netbsd-5-1-RELEASE:1.20
	netbsd-5-1-RC4:1.20
	netbsd-5-1-RC3:1.20
	netbsd-5-1-RC2:1.20
	netbsd-5-1-RC1:1.20
	netbsd-5-0-2-RELEASE:1.20
	netbsd-5-0-1-RELEASE:1.20
	jym-xensuspend-nbase:1.20
	netbsd-5-0:1.20.0.16
	netbsd-5-0-RELEASE:1.20
	netbsd-5-0-RC4:1.20
	netbsd-5-0-RC3:1.20
	netbsd-5-0-RC2:1.20
	jym-xensuspend:1.20.0.14
	jym-xensuspend-base:1.20
	netbsd-5-0-RC1:1.20
	netbsd-5:1.20.0.12
	netbsd-5-base:1.20
	mjf-devfs2:1.20.0.10
	mjf-devfs2-base:1.20
	yamt-pf42-base4:1.20
	yamt-pf42-base3:1.20
	hpcarm-cleanup-nbase:1.20
	yamt-pf42-base2:1.20
	yamt-pf42:1.20.0.8
	yamt-pf42-base:1.20
	keiichi-mipv6:1.20.0.6
	keiichi-mipv6-base:1.20
	cube-autoconf:1.20.0.4
	cube-autoconf-base:1.20
	hpcarm-cleanup:1.20.0.2
	hpcarm-cleanup-base:1.20
	netbsd-3-1-1-RELEASE:1.19
	netbsd-3-0-3-RELEASE:1.19
	netbsd-3-1:1.19.0.12
	netbsd-3-1-RELEASE:1.19
	netbsd-3-0-2-RELEASE:1.19
	netbsd-3-1-RC4:1.19
	netbsd-3-1-RC3:1.19
	netbsd-3-1-RC2:1.19
	netbsd-3-1-RC1:1.19
	netbsd-3-0-1-RELEASE:1.19
	netbsd-3-0:1.19.0.10
	netbsd-3-0-RELEASE:1.19
	netbsd-3-0-RC6:1.19
	netbsd-3-0-RC5:1.19
	netbsd-3-0-RC4:1.19
	netbsd-3-0-RC3:1.19
	netbsd-3-0-RC2:1.19
	netbsd-3-0-RC1:1.19
	netbsd-2-0-3-RELEASE:1.19
	netbsd-2-1:1.19.0.8
	netbsd-2-1-RELEASE:1.19
	netbsd-2-1-RC6:1.19
	netbsd-2-1-RC5:1.19
	netbsd-2-1-RC4:1.19
	netbsd-2-1-RC3:1.19
	netbsd-2-1-RC2:1.19
	netbsd-2-1-RC1:1.19
	netbsd-2-0-2-RELEASE:1.19
	netbsd-3:1.19.0.6
	netbsd-3-base:1.19
	netbsd-2-0-1-RELEASE:1.19
	netbsd-2:1.19.0.4
	netbsd-2-base:1.19
	netbsd-2-0-RELEASE:1.19
	netbsd-2-0-RC5:1.19
	netbsd-2-0-RC4:1.19
	netbsd-2-0-RC3:1.19
	netbsd-2-0-RC2:1.19
	netbsd-2-0-RC1:1.19
	netbsd-2-0:1.19.0.2
	netbsd-2-0-base:1.19
	netbsd-1-6-PATCH002-RELEASE:1.15
	netbsd-1-6-PATCH002:1.15
	netbsd-1-6-PATCH002-RC4:1.15
	netbsd-1-6-PATCH002-RC3:1.15
	netbsd-1-6-PATCH002-RC2:1.15
	netbsd-1-6-PATCH002-RC1:1.15
	netbsd-1-6-PATCH001:1.15
	netbsd-1-6-PATCH001-RELEASE:1.15
	netbsd-1-6-PATCH001-RC3:1.15
	netbsd-1-6-PATCH001-RC2:1.15
	netbsd-1-6-PATCH001-RC1:1.15
	fvdl_fs64_base:1.15
	netbsd-1-6-RELEASE:1.15
	netbsd-1-6-RC3:1.15
	netbsd-1-6-RC2:1.15
	netbsd-1-6-RC1:1.15
	netbsd-1-6:1.15.0.2
	netbsd-1-6-base:1.15
	netbsd-1-3-PATCH003:1.6.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.6.2.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.6.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.6.2.1
	netbsd-1-3-PATCH002:1.6.2.1
	netbsd-1-3-PATCH001:1.6.2.1
	netbsd-1-3-RELEASE:1.6.2.1
	netbsd-1-3-BETA:1.6.2.1
	netbsd-1-3:1.6.0.2
	netbsd-1-3-base:1.6
	GCC_2_7_2_1:1.1.1.2
	FSF:1.1.1
	netbsd-1-2-PATCH001:1.2
	netbsd-1-2-RELEASE:1.2
	netbsd-1-2-BETA:1.2
	netbsd-1-2-base:1.2
	netbsd-1-2:1.2.0.4
	FSF-2-7-2:1.1.1.1;
locks; strict;
comment	@# @;


1.20
date	2006.06.02.22.16.22;	author mrg;	state dead;
branches;
next	1.19;

1.19
date	2003.09.04.04.17.01;	author mrg;	state Exp;
branches;
next	1.18;

1.18
date	2003.09.03.14.21.51;	author drochner;	state Exp;
branches;
next	1.17;

1.17
date	2003.09.02.20.01.59;	author drochner;	state Exp;
branches;
next	1.16;

1.16
date	2003.09.02.05.23.06;	author mrg;	state Exp;
branches;
next	1.15;

1.15
date	2001.10.17.05.39.04;	author jmc;	state Exp;
branches;
next	1.14;

1.14
date	2001.08.19.14.23.55;	author mrg;	state Exp;
branches;
next	1.13;

1.13
date	2001.07.18.14.01.14;	author tv;	state Exp;
branches;
next	1.12;

1.12
date	98.12.12.23.46.22;	author tv;	state dead;
branches;
next	1.11;

1.11
date	98.12.09.14.44.03;	author christos;	state Exp;
branches;
next	1.10;

1.10
date	98.07.28.18.53.41;	author thorpej;	state Exp;
branches;
next	1.9;

1.9
date	98.07.27.02.29.25;	author tv;	state Exp;
branches;
next	1.8;

1.8
date	98.04.09.00.32.35;	author tv;	state Exp;
branches;
next	1.7;

1.7
date	97.10.25.10.11.04;	author lukem;	state Exp;
branches;
next	1.6;

1.6
date	97.06.23.13.25.46;	author mrg;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	97.05.13.21.02.00;	author phil;	state Exp;
branches;
next	1.4;

1.4
date	97.03.24.22.06.19;	author christos;	state Exp;
branches;
next	1.3;

1.3
date	96.10.18.03.00.21;	author thorpej;	state Exp;
branches;
next	1.2;

1.2
date	96.05.11.11.38.06;	author mycroft;	state Exp;
branches;
next	1.1;

1.1
date	95.12.01.17.59.57;	author phil;	state Exp;
branches
	1.1.1.1;
next	;

1.6.2.1
date	97.11.08.06.53.15;	author lukem;	state Exp;
branches;
next	;

1.1.1.1
date	95.12.01.17.59.57;	author phil;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	97.05.14.05.08.11;	author phil;	state Exp;
branches;
next	;


desc
@@


1.20
log
@remove support for building (with) GCC 2.95.  also:
- always install <stdbool.h>
- don't generate a fake one for vax / gettext.
@
text
@#	$NetBSD: Makefile,v 1.19 2003/09/04 04:17:01 mrg Exp $

.include <bsd.own.mk>

PROG=           cpp
SRCS=		cppspec.c

LINKS=		${BINDIR}/cpp ${BINDIR}/gcpp

TEXINFO=	cpp.texi

MAN=		cccp.1
MLINKS=		cccp.1 gcpp.1 cccp.1 cpp.1


.include "../Makefile.frontend"

.PATH: ${DIST}/gcc

.include <bsd.info.mk>
@


1.19
log
@backout rev 1.16 (wrong tree), and 1.17 and 1.18 trying to fix 1.16...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2001/10/17 05:39:04 jmc Exp $
@


1.18
log
@make the cpp.1 thing really work
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 2003/09/02 20:01:59 drochner Exp $
d12 3
a14 2
MAN=		cpp.1
MLINKS=		cpp.1 gcpp.1
a16 8

# delete "cccp" man page before netbsd 2.0 if you remember...
CLEANFILES+=	cpp.1
${.OBJDIR}/cpp.1: ${DIST}/gcc/cccp.1
	rm -f cpp.1
	cp ${DIST}/gcc/cccp.1 cpp.1

cpp.cat1: ${.OBJDIR}/cpp.1
@


1.17
log
@make the cpp.1 thing work
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2003/09/02 05:23:06 mrg Exp $
d13 1
a13 1
MLINKS=		cpp.1 gcpp.1 cpp.1 cpp.1
d19 1
a19 1
cpp.1: ${DIST}/gcc/cccp.1
d22 2
@


1.16
log
@install a "cccp" man page for now.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 2001/10/17 05:39:04 jmc Exp $
d15 2
a21 2

.include "../Makefile.frontend"
@


1.15
log
@Add cpp.1 as an MLINK
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2001/08/19 14:23:55 mrg Exp $
d12 2
a13 2
MAN=		cccp.1
MLINKS=		cccp.1 gcpp.1 cccp.1 cpp.1
d15 5
@


1.14
log
@build & install info & man page documentation.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2001/07/18 14:01:14 tv Exp $
d13 1
a13 1
MLINKS=		cccp.1 gcpp.1
@


1.13
log
@Add frontend /usr/bin/cpp (now a real binary) and /usr/libexec/cpp0
(formerly /usr/libexec/cpp).
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2001/06/18 16:18:37 tv Exp $
d8 8
d19 2
@


1.12
log
@GC old gcc 2.7.2.2.
@
text
@d1 1
a1 2
#	from: @@(#)Makefile	6.4 (Berkeley) 2/21/91
#	$NetBSD: Makefile,v 1.11 1998/12/09 14:44:03 christos Exp $
d3 1
a3 13
.if	(${MACHINE_ARCH} != "alpha") && \
	(${MACHINE_ARCH} != "powerpc")
PROG=	cpp
BINDIR=	/usr/libexec
SRCS=	cccp.c cexp.y obstack.c version.c 
CPPFLAGS+=-I. -I$(.CURDIR) -I$(.CURDIR)/../common -I$(.CURDIR)/../arch \
	-I$(.CURDIR)/../arch/$(MACHINE_ARCH:C/^mips.*/mips/) \
	-DGCC_INCLUDE_DIR=\"\" \
	-DTOOL_INCLUDE_DIR=\"\" \
	-DGPLUSPLUS_INCLUDE_DIR=\"/usr/include/g++\"
LDADD+=	-lgnumalloc
DPADD+=	${LIBGNUMALLOC}
CPPFLAGS+=-DLINTCOMMENT
d5 2
a6 2
.PATH:		$(.CURDIR)/../common
.endif
d8 1
a8 5
LINKS=	/usr/bin/cpp /usr/bin/gcpp
FILES=usr.bin.cpp.sh
FILESNAME=cpp
FILESDIR=/usr/bin
FILESMODE=${BINMODE}
d10 1
a10 4
MAN=	cpp.1
MLINKS=	cpp.1 cccp.1 cpp.1 gcpp.1

.include <bsd.prog.mk>
@


1.11
log
@Add -DLINTCOMMENT
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.10 1998/07/28 18:53:41 thorpej Exp $
@


1.10
log
@Reverse the sense of the MACHINE_ARCH test to test the arch's that should
NOT build these things (a much shorter list :-)
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.9 1998/07/27 02:29:25 tv Exp $
d16 1
@


1.9
log
@Cope with "mipsel".  This is not yet useable for "mipseb," but that
_should_ be dealt with as part of the egcs import before 1.4.
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.8 1998/04/09 00:32:35 tv Exp $
d4 2
a5 7
.if	(${MACHINE_ARCH} == "i386") || \
	(${MACHINE_ARCH} == "m68k") || \
	(${MACHINE_ARCH} == "ns32k") || \
	(${MACHINE_ARCH} == "sparc") || \
	(${MACHINE_ARCH} == "vax") || \
	(${MACHINE_ARCH} == "arm32") || \
	(${MACHINE_ARCH:Mmips*} != "") 
@


1.8
log
@.y.c <sys.mk> rule fixes.  Don't create a y.tab.h file unless asked for,
and use smarter creation of the header file.
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.7 1997/10/25 10:11:04 lukem Exp $
d10 1
a10 1
	(${MACHINE_ARCH} == "mips") 
d15 1
a15 1
	-I$(.CURDIR)/../arch/$(MACHINE_ARCH) \
@


1.7
log
@use CPPFLAGS instead of CFLAGS
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.6 1997/06/23 13:25:46 mrg Exp $
d13 1
a13 1
SRCS=	cccp.c cexp.c obstack.c version.c 
a20 3
YFLAGS=

CLEANFILES+= cexp.c
@


1.6
log
@install all man pages.
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.5 1997/05/13 21:02:00 phil Exp $
d14 1
a14 1
CFLAGS+=-I. -I$(.CURDIR) -I$(.CURDIR)/../common -I$(.CURDIR)/../arch \
@


1.6.2.1
log
@sync with trunk (approved by thorpej)
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.7 1997/10/25 10:11:04 lukem Exp $
d14 1
a14 1
CPPFLAGS+=-I. -I$(.CURDIR) -I$(.CURDIR)/../common -I$(.CURDIR)/../arch \
@


1.5
log
@Update gcc2netbsd to generate the current gcc tree when given gcc-2.7.2.
Added a new patch mechanism to gcc2netbsd so changes from the FSF source
are seen in gcc2netbsd.  Sync some Makefiles to output of current gcc2netbsd.
(Cosmetic changes only to the Makefiles.)
@
text
@d2 1
a2 1
#	$NetBSD: $
d4 7
a22 2
MLINKS=	cpp.1 cccp.1 cpp.1 gcpp.1

d26 1
d33 3
@


1.4
log
@Makefile cleanups
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.3 1996/10/18 03:00:21 thorpej Exp $
d4 10
a13 10
PROG=		cpp
BINDIR=		/usr/libexec
SRCS=	cccp.c obstack.c cexp.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}
@


1.3
log
@Use ${INSTALL}.
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.2 1996/05/11 11:38:06 mycroft Exp $
d13 1
a13 1
DPADD+=		/usr/lib/libgnumalloc.a
d22 5
a26 6
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
@


1.2
log
@Update for removal of cexp.c.
@
text
@d2 1
a2 1
#	$NetBSD: Makefile,v 1.1.1.1 1995/12/01 17:59:57 phil Exp $
d23 1
a23 1
	install -c -o $(BINOWN) -g $(BINGRP) -m $(BINMODE) \
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
#	$NetBSD: $
d6 1
a6 1
SRCS=	cccp.c cexp.c obstack.c version.c 
d17 2
@


1.1.1.1
log
@Import gcc-2.7.2.  Since it is in the gcc directory instead of the gcc2
directory, this is being done now.  We will live with two trees until
the "formal" switch over by changing src/gnu/usr.bin/Makefile.
@
text
@@


1.1.1.2
log
@Import of gcc-2.7.2.1.
@
text
@d4 2
a5 2
PROG=	cpp
BINDIR=	/usr/libexec
d7 7
a13 7
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}
a17 2
CLEANFILES+= cexp.c

d20 6
a25 5
LINKS=	/usr/bin/cpp /usr/bin/gcpp
FILES=usr.bin.cpp.sh
FILESNAME=cpp
FILESDIR=/usr/bin
FILESMODE=${BINMODE}
@
