head	2.2;
access;
symbols
	Rel2_1:2.1
	Rel2_0:2.0
	Xo52:1.5
	Xo51:1.5;
locks; strict;
comment	@# @;


2.2
date	92.12.23.15.20.36;	author ware;	state Exp;
branches;
next	2.1;

2.1
date	92.07.23.19.02.40;	author pete;	state Exp;
branches;
next	2.0;

2.0
date	92.04.23.02.47.20;	author ware;	state Exp;
branches;
next	1.5;

1.5
date	92.02.04.21.21.23;	author pete;	state Exp;
branches;
next	1.4;

1.4
date	91.11.30.16.54.34;	author pete;	state Exp;
branches;
next	1.3;

1.3
date	91.09.03.15.56.01;	author pete;	state Exp;
branches;
next	1.2;

1.2
date	91.08.26.11.16.26;	author pete;	state Exp;
branches;
next	1.1;

1.1
date	91.05.22.17.51.48;	author pete;	state Exp;
branches;
next	;


desc
@@


2.2
log
@Use new macros from Xo.tmpl
@
text
@INCLUDES	= -I../libtable -I..
LOCAL_LIBRARIES = ../libtable/libtable.a
LEX		= flex
YACC		= bison -y

SRCS	= class.c \
		grammar.y \
		input.c \
		lex.l \
		lookup.c \
		main.c \
		output.c \
		output_tex.c \
		output_util.c \
		str_util.c \
		var.c
OBJS	= class.o \
		grammar.o \
		input.o \
		main.o \
		lookup.o \
		output.o \
		output_tex.o \
		output_util.o \
		str_util.o \
		var.o \
		lex.o

#include "../Xo.tmpl"

ComplexProgramTarget(build)
LexTarget(lex, "")
YaccTarget(grammar, "")

lex.o: grammar.h
@


2.1
log
@Removing several error messages.
@
text
@d32 2
a33 2
lex.o:	lex.c grammar.h
	$(CC) -c $(CFLAGS) $*.c
d35 1
a35 15
lex.c: lex.l
	flex lex.l
	@@mv lex.yy.c lex.c

grammar.o:	grammar.h grammar.y grammar.c input.h
	$(CC) -c $(CFLAGS) $*.c

grammar.h:	grammar.y
	$(YACC) -d grammar.y
	@@if cmp -s y.tab.h grammar.h ; then \
	   	rm -f y.tab.h ; \
	else\
		rm -f grammar.h; \
		mv y.tab.h grammar.h; \
	fi
@


2.0
log
@First public release.
@
text
@d4 1
a4 1
YACC		= yacc
@


1.5
log
@Release 44
@
text
@@


1.4
log
@Removed unneeded Xt libs.  Gets rid of error about _XtInherit undefined
when dynamically linking on Sun's.
@
text
@d1 1
a1 1
INCLUDES	= -I../libtable
@


1.3
log
@Moved Xo.tmpl to point where rules can be defined.
@
text
@d2 1
a2 1
LOCAL_LIBRARIES = ../libtable/libtable.a $(XTOOLLIB) $(XLIB)
@


1.2
log
@Use Xo.tmpl for defining all the appropriate flags.
@
text
@a0 1
#include "../Xo.tmpl"
d28 2
@


1.1
log
@Initial revision
@
text
@d1 1
@
