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
|
|
|
|
noinst_LIBRARIES = libscript.a
|
2006-06-02 12:34:58 -07:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)
|
2007-01-09 14:07:58 -08:00
|
|
|
BUILT_SOURCES = script_parser.tab.h chat_parser.tab.h
|
2007-06-28 10:47:08 -07:00
|
|
|
libscript_a_SOURCES = \
|
2007-01-09 14:07:58 -08:00
|
|
|
script_lexer.lex.c \
|
|
|
|
script_parser.tab.c \
|
|
|
|
chat_lexer.lex.c \
|
|
|
|
chat_parser.tab.c \
|
2007-06-28 10:47:08 -07:00
|
|
|
codeprint.c \
|
|
|
|
event.c \
|
|
|
|
evntsave.c \
|
|
|
|
interp.c \
|
|
|
|
script.c \
|
|
|
|
stack.c \
|
|
|
|
codeprint.h \
|
|
|
|
event.h \
|
|
|
|
evntsave.h \
|
|
|
|
interp.h \
|
|
|
|
parse.h \
|
|
|
|
script.h \
|
2006-12-17 04:57:14 -08:00
|
|
|
chat_processing.h \
|
2007-06-28 10:47:08 -07:00
|
|
|
stack.h
|
|
|
|
|
|
|
|
libscript_a_libs = ../framework/libframework.a
|
|
|
|
libscript_a_DEPENDENCIES = $(libscript_a_libs)
|
|
|
|
libscript_a_LIBADD = $(libscript_a_libs)
|