head	1.4;
access;
symbols;
locks; strict;
comment	@# @;


1.4
date	94.05.29.16.57.40;	author md;	state Exp;
branches;
next	1.3;

1.3
date	94.05.18.20.50.49;	author md;	state Exp;
branches;
next	1.2;

1.2
date	94.05.18.16.43.02;	author md;	state Exp;
branches;
next	1.1;

1.1
date	93.12.15.17.56.36;	author md;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Indicate we're using collect2 for the RT.
@
text
@#	BSDI $Id: Makefile,v 1.3 1994/05/18 20:50:49 md Exp md $

# GCC2 C++ compiler.
.include "../Makefile.symlinks"

PROG=	cc1plus
BINDIR=	${LIBEXECDIR}
YACC=	bison
YFLAGS=	-d -y
.include "../Makefile.common"
SRCS+=	cp-call.c cp-class.c cp-cvt.c cp-decl.c cp-decl2.c cp-edsel.c \
	cp-errfn.c cp-error.c cp-except.c cp-expr.c cp-gc.c cp-init.c \
	cp-lex.c cp-method.c cp-parse.c cp-pt.c cp-ptree.c cp-search.c \
	cp-spew.c cp-tree.c cp-type2.c cp-typeck.c cp-xref.c
CFLAGS+=-Dbsd4_4
NOMAN=	noman
CLEANFILES+=cp-parse.c cp-parse.h

.if ${MACHINE} == "rt"
CFLAGS+=-DUSE_COLLECT2
.endif

# Some screwy stuff gcc is expecting to have done!
cp-parse.c cp-parse.h: cp-parse.y
	@@echo expect 27 shift/reduce conflicts and 14 reduce/reduce conflicts
	$(YACC) -d -o cp-parse.c ${.IMPSRC}
	grep '^#define[   ]*YYEMPTY' cp-parse.c >>cp-parse.h

.depend cp-parse.h: cp-parse.c

.include <bsd.prog.mk>
@


1.3
log
@Still need YFLAGS.
@
text
@d1 1
a1 1
#	BSDI $Id: Makefile,v 1.2 1994/05/18 16:43:02 md Exp md $
d18 4
@


1.2
log
@Need to build the yacc grammars using bison, yacc just doesn't cut it.
@
text
@d1 1
a1 1
#	BSDI $Id: Makefile,v 1.1 1993/12/15 17:56:36 md Exp md $
d9 1
d22 1
a22 1
	$(YACC) $(YFLAGS) -d -o cp-parse.c ${.IMPSRC}
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#	BSDI $Id: Makefile,v 1.1 1993/12/16 00:56:53 torek Exp $
d8 1
a8 1
YFLAGS=	-d
d14 1
d17 6
@
