2007-01-09 14:07:58 -08:00
|
|
|
%.tab.h %.tab.c: %.y
|
|
|
|
$(YACC) $(YFLAGS) $(AM_YFLAGS) -o$@ $<
|
|
|
|
|
|
|
|
%.lex.c: %.l
|
|
|
|
$(LEX) $(LFLAGS) $(AM_LFLAGS) -o$@ $<
|
|
|
|
|
2007-06-28 10:47:08 -07:00
|
|
|
AM_LFLAGS = $(FLEX_FLAGS)
|
|
|
|
AM_YFLAGS = -d
|
2007-08-21 06:16:09 -07:00
|
|
|
BUILT_SOURCES = script_lexer.lex.c chat_lexer.lex.c script_parser.tab.c chat_parser.tab.c script_parser.tab.h chat_parser.tab.h
|
|
|
|
CLEANFILES = script_lexer.lex.c chat_lexer.lex.c script_parser.tab.c chat_parser.tab.c script_parser.tab.h chat_parser.tab.h
|
2007-06-28 10:47:08 -07:00
|
|
|
|
2007-02-16 06:36:03 -08:00
|
|
|
noinst_LIBRARIES = libscript.a
|
|
|
|
noinst_HEADERS = chat_processing.h codeprint.h event.h evntsave.h interp.h \
|
|
|
|
parse.h script.h stack.h
|
|
|
|
|
|
|
|
libscript_a_SOURCES = script_lexer.lex.c script_parser.tab.c chat_lexer.lex.c \
|
|
|
|
chat_parser.tab.c codeprint.c event.c evntsave.c interp.c script.c stack.c
|
|
|
|
|
|
|
|
libscript_a_LIBADD = $(top_builddir)/lib/framework/libframework.a
|