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$@ $<
|
2010-06-17 09:32:54 -07:00
|
|
|
# sed -i 's/\(fwrite(.*)\)/abs(\1)/' $@
|
2007-01-09 14:07:58 -08:00
|
|
|
|
2009-10-30 16:19:38 -07:00
|
|
|
AM_CPPFLAGS = -DYY_NO_INPUT $(SDL_CFLAGS) $(WZ_CPPFLAGS)
|
2008-03-29 11:46:37 -07:00
|
|
|
AM_CFLAGS = $(WZ_CFLAGS)
|
2010-06-17 09:32:54 -07:00
|
|
|
AM_CXXFLAGS = $(WZ_CXXFLAGS)
|
2007-06-28 10:47:08 -07:00
|
|
|
AM_LFLAGS = $(FLEX_FLAGS)
|
|
|
|
AM_YFLAGS = -d
|
2008-10-13 06:04:37 -07:00
|
|
|
BUILT_SOURCES = \
|
|
|
|
resource_lexer.lex.c \
|
|
|
|
resource_parser.tab.c \
|
|
|
|
resource_parser.tab.h \
|
|
|
|
strres_lexer.lex.c \
|
|
|
|
strres_parser.tab.c \
|
|
|
|
strres_parser.tab.h
|
|
|
|
|
|
|
|
CLEANFILES = \
|
2009-05-12 09:01:57 -07:00
|
|
|
resource_lexer.lex.c \
|
|
|
|
resource_parser.tab.c \
|
|
|
|
resource_parser.tab.h \
|
|
|
|
strres_lexer.lex.c \
|
|
|
|
strres_parser.tab.c \
|
|
|
|
strres_parser.tab.h
|
2007-02-16 06:36:03 -08:00
|
|
|
|
2009-06-07 03:44:21 -07:00
|
|
|
EXTRA_DIST = \
|
|
|
|
resource_lexer.l resource_parser.y \
|
|
|
|
strres_lexer.l strres_parser.y
|
|
|
|
|
2007-06-28 10:47:08 -07:00
|
|
|
noinst_LIBRARIES = libframework.a
|
2008-10-13 06:04:37 -07:00
|
|
|
noinst_HEADERS = \
|
2009-03-07 10:09:58 -08:00
|
|
|
strres_parser.tab.h \
|
|
|
|
resource_parser.tab.h \
|
2008-10-13 06:04:37 -07:00
|
|
|
configfile.h \
|
2010-06-17 09:32:54 -07:00
|
|
|
crc.h \
|
2008-10-13 06:04:37 -07:00
|
|
|
cursors.h \
|
|
|
|
debug.h \
|
|
|
|
file.h \
|
2009-02-10 09:23:18 -08:00
|
|
|
fixedpoint.h \
|
2008-10-13 06:04:37 -07:00
|
|
|
frame.h \
|
|
|
|
frameint.h \
|
|
|
|
frameresource.h \
|
|
|
|
i18n.h \
|
|
|
|
input.h \
|
|
|
|
lexer_input.h \
|
|
|
|
listmacs.h \
|
2009-02-10 09:23:09 -08:00
|
|
|
math_ext.h \
|
2010-09-19 05:12:45 -07:00
|
|
|
opengl.h \
|
2008-10-13 06:04:37 -07:00
|
|
|
physfs_ext.h \
|
|
|
|
resly.h \
|
2009-02-10 09:23:09 -08:00
|
|
|
stdio_ext.h \
|
|
|
|
string_ext.h \
|
2008-10-13 06:04:37 -07:00
|
|
|
strres.h \
|
|
|
|
strresly.h \
|
|
|
|
tagfile.h \
|
|
|
|
treap.h \
|
|
|
|
trig.h \
|
|
|
|
types.h \
|
2009-02-10 09:23:18 -08:00
|
|
|
utf.h \
|
2009-03-07 10:09:58 -08:00
|
|
|
vector.h \
|
|
|
|
config-macosx.h \
|
|
|
|
endian_hack.h \
|
|
|
|
gettext.h \
|
|
|
|
macros.h \
|
|
|
|
SDL_framerate.h \
|
2010-07-12 08:57:35 -07:00
|
|
|
wzapp_c.h \
|
2009-03-07 10:09:58 -08:00
|
|
|
wzglobal.h
|
2007-06-28 10:47:08 -07:00
|
|
|
|
2008-10-13 06:04:37 -07:00
|
|
|
libframework_a_SOURCES = \
|
2009-03-07 10:19:59 -08:00
|
|
|
resource_lexer.lex.c \
|
|
|
|
resource_parser.tab.c \
|
|
|
|
strres_lexer.lex.c \
|
|
|
|
strres_parser.tab.c \
|
2008-10-13 06:04:37 -07:00
|
|
|
configfile.c \
|
2010-06-17 09:32:54 -07:00
|
|
|
crc.cpp \
|
2008-10-13 06:04:37 -07:00
|
|
|
cursors16.c \
|
|
|
|
cursors32.c \
|
|
|
|
cursors.c \
|
|
|
|
debug.c \
|
|
|
|
frame.c \
|
|
|
|
frameresource.c \
|
|
|
|
i18n.c \
|
|
|
|
input.c \
|
|
|
|
lexer_input.c \
|
|
|
|
SDL_framerate.c \
|
2009-02-10 09:23:09 -08:00
|
|
|
stdio_ext.c \
|
2008-10-13 06:04:37 -07:00
|
|
|
strres.c \
|
|
|
|
tagfile.c \
|
|
|
|
treap.c \
|
|
|
|
trig.c \
|
|
|
|
utf.c
|