2008-02-20 04:06:26 -08:00
|
|
|
%.tab.h %.tab.c:: %.y
|
2007-01-09 14:07:58 -08:00
|
|
|
$(YACC) $(YFLAGS) $(AM_YFLAGS) -o$@ $<
|
|
|
|
|
2008-02-20 04:06:26 -08:00
|
|
|
%.lex.c:: %.l
|
2007-01-09 14:07:58 -08:00
|
|
|
$(LEX) $(LFLAGS) $(AM_LFLAGS) -o$@ $<
|
|
|
|
|
2008-03-10 03:50:58 -07:00
|
|
|
AM_CPPFLAGS = -DYY_NO_INPUT $(SDL_CFLAGS) $(WZ_CPPFLAGS)
|
|
|
|
AM_CFLAGS = $(WZ_CFLAGS)
|
2007-06-28 10:47:08 -07:00
|
|
|
AM_LFLAGS = $(FLEX_FLAGS)
|
|
|
|
AM_YFLAGS = -d
|
2009-06-07 03:44:21 -07:00
|
|
|
|
2008-10-13 06:04:37 -07:00
|
|
|
BUILT_SOURCES = \
|
|
|
|
chat_lexer.lex.c \
|
|
|
|
chat_parser.tab.c \
|
|
|
|
chat_parser.tab.h \
|
|
|
|
script_lexer.lex.c \
|
|
|
|
script_parser.tab.c \
|
|
|
|
script_parser.tab.h
|
|
|
|
|
|
|
|
CLEANFILES = \
|
|
|
|
chat_lexer.lex.c \
|
|
|
|
chat_parser.tab.c \
|
|
|
|
chat_parser.tab.h \
|
|
|
|
script_lexer.lex.c \
|
|
|
|
script_parser.tab.c \
|
|
|
|
script_parser.tab.h
|
2007-06-28 10:47:08 -07:00
|
|
|
|
2009-06-07 03:44:21 -07:00
|
|
|
EXTRA_DIST = \
|
|
|
|
chat_lexer.l chat_parser.y \
|
|
|
|
script_lexer.l script_parser.y
|
|
|
|
|
2007-02-16 06:36:03 -08:00
|
|
|
noinst_LIBRARIES = libscript.a
|
2008-10-13 06:04:37 -07:00
|
|
|
noinst_HEADERS = \
|
2009-03-07 10:09:58 -08:00
|
|
|
chat_parser.tab.h \
|
|
|
|
script_parser.tab.h \
|
2008-10-13 06:04:37 -07:00
|
|
|
chat_processing.h \
|
|
|
|
codeprint.h \
|
|
|
|
event.h \
|
2009-02-10 09:23:23 -08:00
|
|
|
eventsave.h \
|
|
|
|
interpreter.h \
|
2008-10-13 06:04:37 -07:00
|
|
|
parse.h \
|
|
|
|
script.h \
|
|
|
|
stack.h
|
2007-02-16 06:36:03 -08:00
|
|
|
|
2008-10-13 06:04:37 -07:00
|
|
|
libscript_a_SOURCES = \
|
|
|
|
chat_lexer.lex.c \
|
|
|
|
chat_parser.tab.c \
|
|
|
|
codeprint.c \
|
|
|
|
event.c \
|
2009-02-10 09:23:23 -08:00
|
|
|
eventsave.c \
|
|
|
|
interpreter.c \
|
2008-10-13 06:04:37 -07:00
|
|
|
script.c \
|
|
|
|
script_lexer.lex.c \
|
|
|
|
script_parser.tab.c \
|
|
|
|
stack.c
|
2007-02-16 06:36:03 -08:00
|
|
|
|
|
|
|
libscript_a_LIBADD = $(top_builddir)/lib/framework/libframework.a
|