head	1.8;
access;
symbols
	RELENG_5_2_1_RELEASE:1.6
	RELENG_5_2_0_RELEASE:1.6
	RELENG_5_2:1.6.0.6
	RELENG_5_2_BP:1.6
	RELENG_5_1_0_RELEASE:1.6
	RELENG_5_1:1.6.0.4
	RELENG_5_1_BP:1.6
	RELENG_5_0_0_RELEASE:1.6
	RELENG_5_0:1.6.0.2
	RELENG_5_0_BP:1.6
	WIP_GCC31:1.1.0.2;
locks; strict;
comment	@# @;


1.8
date	2004.05.29.04.05.37;	author kan;	state dead;
branches;
next	1.7;

1.7
date	2004.02.05.22.44.22;	author ru;	state Exp;
branches;
next	1.6;

1.6
date	2002.05.13.03.27.03;	author obrien;	state Exp;
branches;
next	1.5;

1.5
date	2002.05.12.12.06.19;	author obrien;	state Exp;
branches;
next	1.4;

1.4
date	2002.05.11.00.15.45;	author obrien;	state Exp;
branches;
next	1.3;

1.3
date	2002.05.10.23.20.54;	author obrien;	state Exp;
branches;
next	1.2;

1.2
date	2002.05.10.08.54.50;	author obrien;	state Exp;
branches;
next	1.1;

1.1
date	2002.05.09.00.52.09;	author obrien;	state Exp;
branches
	1.1.2.1;
next	;

1.1.2.1
date	2002.05.10.02.36.12;	author obrien;	state Exp;
branches;
next	;


desc
@@


1.8
log
@Remove componenst which are not part of GCC 3.3 and which are not likely
to get used again in the future.
@
text
@# $FreeBSD: src/gnu/usr.bin/cc/tradcpp0/Makefile,v 1.7 2004/02/05 22:44:22 ru Exp $

.include "../Makefile.inc"

.PATH: ${GCCDIR}

PROG=	tradcpp0
SRCS=	tradcpp.c tradcif+%DIKED.c
BINDIR=	/usr/libexec
NOMAN=	1

DPADD=	${LIBCC_INT}
LDADD=	${LIBCC_INT}

tradcif+%DIKED.c: tradcif.c
	sed -e "s/malloc/xmalloc/g" \
	    -e "s/realloc/xrealloc/g" \
	    ${.ALLSRC} >${.TARGET}

CLEANFILES=	tradcif+%DIKED.c tradcif.c
CLEANFILES+=	y.tab.h # we don't use it, but the system YACC rules are naive

.include <bsd.prog.mk>
@


1.7
log
@Fixed style of DPADD and LDADD assignments as per style.Makefile(5).
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.6
log
@Restore some of the implementation from the Bmake gcc 2.95 bits.
In the end, I can do things more like the previous Bmake bits than was
apparent in the middle of the gcc31 WIP.
@
text
@d12 2
a13 2
DPADD+=	${LIBCC_INT}
LDADD+=	${LIBCC_INT}
@


1.5
log
@Tidy up the cleanfiles.
@
text
@d8 1
a8 1
SRCS=	tradcpp.c tradcif.c
d15 1
a15 3
#	${YACC} ${GCCDIR}/tradcif.y
tradcif.c: tradcif.y
	${YACC} ${.ALLSRC}
d18 1
a18 1
	    y.tab.c >${.TARGET}
d20 2
a21 1
CLEANFILES=	y.tab.c tradcif.c
@


1.4
log
@Revert rev 1.3 -- I tested using the wrong build compiler.
@
text
@d22 2
@


1.3
log
@Actually we don't need any special YACC'ing here.  The ones known to
Bmake are fine.
@
text
@d8 1
a8 1
SRCS=	tradcpp.c tradcif.y
d14 7
@


1.2
log
@Bmake bits for Gcc 3.1.

Partially made possible by:	Wilko.Bulte@@compaq.com
@
text
@d8 1
a8 1
SRCS=	tradcpp.c tradcif.c
a13 7

#	${YACC} ${GCCDIR}/tradcif.y
tradcif.c: tradcif.y
	${YACC} ${.ALLSRC}
	sed -e "s/malloc/xmalloc/g" \
	    -e "s/realloc/xrealloc/g" \
	    y.tab.c >${.TARGET}
@


1.1
log
@Gcc 3.1 now offers both a C99 and a K&R traditional C preprocessor.
This is the traditional one.
@
text
@d2 21
@


1.1.2.1
log
@Bmake bits for GCC 3.1.
@
text
@a1 21

.include "../Makefile.inc"

.PATH: ${GCCDIR}

PROG=	tradcpp0
SRCS=	tradcpp.c tradcif.c
BINDIR=	/usr/libexec
NOMAN=	1

DPADD+=	${LIBCC_INT}
LDADD+=	${LIBCC_INT}

#	${YACC} ${GCCDIR}/tradcif.y
tradcif.c: tradcif.y
	${YACC} ${.ALLSRC}
	sed -e "s/malloc/xmalloc/g" \
	    -e "s/realloc/xrealloc/g" \
	    y.tab.c >${.TARGET}

.include <bsd.prog.mk>
@

