head	1.5;
access;
symbols
	release_4_2:1.5
	aix_ok:1.5;
locks; strict;


1.5
date	93.02.08.18.11.20;	author aoki;	state Exp;
branches;
next	1.4;

1.4
date	93.02.08.18.00.53;	author aoki;	state Exp;
branches;
next	1.3;

1.3
date	93.02.05.03.58.33;	author aoki;	state Exp;
branches;
next	1.2;

1.2
date	93.01.05.02.31.00;	author aoki;	state Exp;
branches;
next	1.1;

1.1
date	92.12.16.16.20.27;	author marc;	state Exp;
branches;
next	;


desc
@@


1.5
log
@added revision number ..
@
text
@#
# $Header$
#
PARSED= ${.CURDIR}/parser

.PATH: ${PARSED}

PARSEYACCS= gram.c parse.h

${PARSEYACCS}: gram.y
	yacc -d ${.ALLSRC}; \
	mv y.tab.c gram.c; \
	mv y.tab.h parse.h;

SRCS+= catalog_utils.c dbcommands.c error.c io.c parse_query.c scanner.c \
	 ylib.c gram.c scan.c

CLEANFILES+= scan.c ${PARSEYACCS}

${PROG}: ${PARSEYACCS}

.depend: scan.c ${PARSEYACCS}

.if ${PORTNAME} == "bsd44"
YFLAGS+= -l
.endif

HEADERS+= atoms.h catalog_utils.h exceptions.h io.h parse_query.h \
	 parsetree.h
@


1.4
log
@added dependency for .depend
@
text
@d1 3
@


1.3
log
@removed bogus symlink business
@
text
@d19 2
@


1.2
log
@added rules so that parse.h can be autogenerated..
@
text
@d8 1
a8 1
	yacc -d ${PARSED}/gram.y; \
a11 4
${PARSED}/parse.h: ${PARSEYACCS}
	rm -f ${.TARGET}; \
	ln -s ${.CURDIR}/obj/parse.h ${.TARGET}

d17 1
a17 1
${PROG}: ${PARSED}/parse.h
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
.PATH: ${.CURDIR}/parser
d3 13
d19 3
a21 1
CLEANFILES+= gram.c scan.c y.tab.h
d27 1
a27 1
HEADERS+= atoms.h catalog_utils.h exceptions.h io.h parse.h parse_query.h \
@
