diff --git a/lib/framework/Makefile.am b/lib/framework/Makefile.am index b32f26782..e04908ee7 100644 --- a/lib/framework/Makefile.am +++ b/lib/framework/Makefile.am @@ -24,6 +24,10 @@ CLEANFILES = \ strres_parser.tab.c \ strres_parser.tab.h +EXTRA_DIST = \ + resource_lexer.l resource_parser.y \ + strres_lexer.l strres_parser.y + noinst_LIBRARIES = libframework.a noinst_HEADERS = \ strres_parser.tab.h \ diff --git a/lib/gamelib/Makefile.am b/lib/gamelib/Makefile.am index ce88db74f..5640a6929 100644 --- a/lib/gamelib/Makefile.am +++ b/lib/gamelib/Makefile.am @@ -8,15 +8,20 @@ AM_CPPFLAGS = -DYY_NO_INPUT $(SDL_CFLAGS) $(WZ_CPPFLAGS) AM_CFLAGS = $(WZ_CFLAGS) AM_LFLAGS = $(FLEX_FLAGS) AM_YFLAGS = -d + BUILT_SOURCES = \ audp_lexer.lex.c \ audp_parser.tab.c \ audp_parser.tab.h + CLEANFILES = \ audp_lexer.lex.c \ audp_parser.tab.c \ audp_parser.tab.h +EXTRA_DIST = \ + audp_lexer.l audp_parser.y + noinst_LIBRARIES = libgamelib.a noinst_HEADERS = \ audp_parser.tab.h \ diff --git a/lib/script/Makefile.am b/lib/script/Makefile.am index e64c75949..bb5a352e5 100644 --- a/lib/script/Makefile.am +++ b/lib/script/Makefile.am @@ -8,6 +8,7 @@ AM_CPPFLAGS = -DYY_NO_INPUT $(SDL_CFLAGS) $(WZ_CPPFLAGS) AM_CFLAGS = $(WZ_CFLAGS) AM_LFLAGS = $(FLEX_FLAGS) AM_YFLAGS = -d + BUILT_SOURCES = \ chat_lexer.lex.c \ chat_parser.tab.c \ @@ -24,6 +25,10 @@ CLEANFILES = \ script_parser.tab.c \ script_parser.tab.h +EXTRA_DIST = \ + chat_lexer.l chat_parser.y \ + script_lexer.l script_parser.y + noinst_LIBRARIES = libscript.a noinst_HEADERS = \ chat_parser.tab.h \ diff --git a/src/Makefile.am b/src/Makefile.am index 9e5117238..62771c8a8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -47,6 +47,11 @@ CLEANFILES = \ scriptvals_parser.tab.c \ scriptvals_parser.tab.h +EXTRA_DIST = \ + message_lexer.l message_parser.y \ + scriptvals_lexer.l scriptvals_parser.y \ + level_lexer.l + bin_PROGRAMS = warzone2100 noinst_HEADERS = \ action.h \