From 1b1ee530c24642e898d347187d8c2bb28b831c13 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 24 Mar 2008 01:25:32 +0000 Subject: [PATCH] Lay some groundwork for utility productions. --- src/SConstruct | 158 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 154 insertions(+), 4 deletions(-) diff --git a/src/SConstruct b/src/SConstruct index 5c46825ddee..736afcaa08e 100644 --- a/src/SConstruct +++ b/src/SConstruct @@ -267,14 +267,164 @@ env.Program("test", test_sources, # 'echo "#define REVISION \"%s\"" >revision_stamp.h' % svnrev) #env.AlwaysBuild(r) +# +# File inventory, for archive makes abd analysis tools +# +headers = [ + "tools/exploder_composer.hpp", + "tools/exploder_utils.hpp", + "tools/exploder_cutter.hpp", + "serialization/tokenizer.hpp", + "serialization/parser.hpp", + "serialization/binary_or_text.hpp", + "serialization/binary_wml.hpp", + "serialization/preprocessor.hpp", + "serialization/string_utils.hpp", + "widgets/progressbar.hpp", + "widgets/textbox.hpp", + "widgets/combo.hpp", + "widgets/file_menu.hpp", + "widgets/scrollpane.hpp", + "widgets/menu.hpp", + "widgets/button.hpp", + "widgets/label.hpp", + "widgets/slider.hpp", + "widgets/scrollbar.hpp", + "widgets/widget.hpp", + "widgets/scrollarea.hpp", + "server/player.hpp", + "server/game.hpp", + "server/input_stream.hpp", + "server/proxy.hpp", + "server/metrics.hpp", + "editor/editor_undo.hpp", + "editor/map_manip.hpp", + "editor/editor_layout.hpp", + "editor/editor.hpp", + "editor/editor_palettes.hpp", + "editor/editor_dialogs.hpp", + "about.hpp", + "actions.hpp", + "ai.hpp", + "ai2.hpp", + "ai_dfool.hpp", + "ai_interface.hpp", + "ai_python.hpp", + "animated.hpp", + "animated.i", + "array.hpp", + "astarnode.hpp", + "attack_prediction.hpp", + "builder.hpp", + "cavegen.hpp", + "clipboard.hpp", + "color_range.hpp", + "config.hpp", + "config_adapter.hpp", + "construct_dialog.hpp", + "cursor.hpp", + "dialogs.hpp", + "display.hpp", + "events.hpp", + "file_chooser.hpp", + "filesystem.hpp", + "floating_textbox.hpp", + "font.hpp", + "game_config.hpp", + "game_display.hpp", + "game_errors.hpp", + "game_events.hpp", + "game_preferences.hpp", + "gamestatus.hpp", + "generic_event.hpp", + "gettext.hpp", + "global.hpp", + "halo.hpp", + "help.hpp", + "hotkeys.hpp", + "image.hpp", + "intro.hpp", + "key.hpp", + "language.hpp", + "leader_list.hpp", + "loadscreen.hpp", + "log.hpp", + "map.hpp", + "map_create.hpp", + "map_label.hpp", + "mapgen.hpp", + "mapgen_dialog.hpp", + "marked-up_text.hpp", + "menu_events.hpp", + "minimap.hpp", + "mouse_events.hpp", + "multiplayer.hpp", + "multiplayer_connect.hpp", + "multiplayer_create.hpp", + "multiplayer_lobby.hpp", + "multiplayer_ui.hpp", + "multiplayer_wait.hpp", + "network.hpp", + "network_worker.hpp", + "pathfind.hpp", + "pathutils.hpp", + "play_controller.hpp", + "playcampaign.hpp", + "playmp_controller.hpp", + "playsingle_controller.hpp", + "playturn.hpp", + "preferences.hpp", + "preferences_display.hpp", + "publish_campaign.hpp", + "race.hpp", + "random.hpp", + "replay.hpp", + "replay_controller.hpp", + "reports.hpp", + "scoped_resource.hpp", + "sha1.hpp", + "settings.hpp", + "sdl_utils.hpp", + "show_dialog.hpp", + "sound.hpp", + "soundsource.hpp", + "statistics.hpp", + "team.hpp", + "terrain.hpp", + "terrain_filter.hpp", + "terrain_translation.hpp", + "theme.hpp", + "thread.hpp", + "titlescreen.hpp", + "tooltips.hpp", + "tstring.hpp", + "unit.hpp", + "unit_abilities.hpp", + "unit_animation.hpp", + "unit_display.hpp", + "unit_frame.hpp", + "unit_map.hpp", + "unit_types.hpp", + "upload_log.hpp", + "util.hpp", + "variable.hpp", + "video.hpp", + "wml_separators.hpp", + "wesconfig.h", + "wml_exception.hpp", +] + +sources = libwesnoth_sources + libwesnoth_core_sources + \ + libwesnothd_sources + libcampaignd_sources + \ + libwesnoth_sdl_sources + libcutter_sources + \ + wesnoth_editor_sources + campaignd_sources + wesnothd_sources + \ + cutter_sources + exploder_sources + test_sources + # # Utility productions # -tags = env.Command("TAGS", - libwesnoth_sources + libwesnoth_core_sources + \ - wesnoth_editor_sources + campaignd_sources + wesnothd_sources, - 'etags -l c++ $SOURCES') +env.Command("TAGS", sources, 'etags -l c++ $SOURCES') env.Clean(all, 'TAGS') # Local variables: