2007-05-27 12:01:53 -04:00
|
|
|
# src/
|
2008-05-12 10:18:01 -04:00
|
|
|
bindir=@prefix@/games
|
2007-05-27 12:01:53 -04:00
|
|
|
bin_PROGRAMS = supertuxkart
|
|
|
|
|
|
|
|
# This is a VERY ugly work-around for a compiler bug: if static_ssg s compiled with -O2
|
|
|
|
# (more particularly: with -fregmove, which is part of -O2), it will causes the kart
|
|
|
|
# to fall through the tracks very easily. Therefore, static_ssg needs special compiler
|
|
|
|
# flags to work correctly.
|
|
|
|
# It might (didn't check the details) be that this is the problem reported in
|
|
|
|
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28146
|
|
|
|
# (which states that the problem does not happen with i686 and x86_64, which
|
|
|
|
# is what I have seen as well, it only happened on i586, not on x86_64).
|
|
|
|
#
|
|
|
|
# Since it is not possible to set compiler flags for a single .o file (see
|
|
|
|
# http://sources.redhat.com/ml/automake/2004-12/msg00063.html), I used the
|
|
|
|
# workaround provided there.
|
|
|
|
# Adding -fno-regmove works, even though it is put before the actual compiler flags,
|
|
|
|
# i.e.: -fno-regmove -g -O2, still works by disabling -fregmove.
|
|
|
|
# The configure script checks if the compiler accepts this flag, and if so, it
|
|
|
|
# will be used here.
|
|
|
|
|
|
|
|
noinst_LIBRARIES = libstatic_ssg.a
|
|
|
|
libstatic_ssg_a_SOURCES = static_ssg.cpp static_ssg.hpp
|
|
|
|
libstatic_ssg_a_CXXFLAGS = @NOREGMOVE@
|
|
|
|
|
2008-11-19 20:35:07 -05:00
|
|
|
AM_CPPFLAGS=-DSUPERTUXKART_DATADIR="\"$(datadir)/games/@PACKAGE@/\"" -I$(srcdir)/bullet/src/ -I$(srcdir)/enet/include/
|
2007-05-27 12:01:53 -04:00
|
|
|
|
2008-09-21 12:07:56 -04:00
|
|
|
supertuxkart_SOURCES = main.cpp \
|
|
|
|
vec3.cpp vec3.hpp \
|
2008-06-09 22:35:10 -04:00
|
|
|
coord.hpp \
|
2007-12-08 08:04:56 -05:00
|
|
|
actionmap.cpp actionmap.hpp \
|
2007-05-27 12:01:53 -04:00
|
|
|
material.cpp material.hpp \
|
2008-09-21 12:07:56 -04:00
|
|
|
network/network_manager.cpp network/network_manager.hpp \
|
|
|
|
network/network_kart.cpp network/network_kart.hpp \
|
2008-09-28 22:29:33 -04:00
|
|
|
network/message.cpp network/message.hpp \
|
2008-09-21 12:07:56 -04:00
|
|
|
network/race_info_message.hpp network/race_info_message.cpp \
|
|
|
|
network/remote_kart_info.hpp network/character_selected_message.hpp \
|
|
|
|
network/race_start_message.hpp network/character_confirm_message.hpp \
|
2008-09-28 22:29:33 -04:00
|
|
|
network/connect_message.hpp network/connect_message.cpp \
|
2008-09-21 12:07:56 -04:00
|
|
|
network/num_players_message.hpp network/world_loaded_message.hpp \
|
2008-09-28 22:29:33 -04:00
|
|
|
network/connect_message.hpp network/character_info_message.hpp \
|
|
|
|
network/kart_update_message.hpp network/kart_update_message.cpp \
|
2008-09-07 10:34:04 -04:00
|
|
|
network/kart_control_message.hpp network/kart_control_message.cpp \
|
2008-11-06 23:34:01 -05:00
|
|
|
network/flyable_info.hpp network/item_info.hpp \
|
|
|
|
network/race_state.hpp network/race_state.cpp \
|
2008-09-28 22:29:33 -04:00
|
|
|
network/race_result_message.hpp network/race_result_message.cpp \
|
|
|
|
network/race_result_ack_message \
|
2008-09-17 23:24:19 -04:00
|
|
|
audio/music.hpp \
|
2008-09-21 12:07:56 -04:00
|
|
|
audio/music_information.cpp audio/music_information.hpp \
|
2008-11-06 23:34:01 -05:00
|
|
|
audio/music_ogg.cpp audio/music_ogg.hpp \
|
2008-09-18 08:02:03 -04:00
|
|
|
audio/sfx_base.hpp \
|
2008-11-06 23:34:01 -05:00
|
|
|
audio/sfx_manager.cpp audio/sfx_manager.hpp \
|
|
|
|
audio/sfx_openal.cpp audio/sfx_openal.hpp \
|
|
|
|
audio/sound_manager.cpp audio/sound_manager.hpp \
|
|
|
|
utils/random_generator.hpp utils/random_generator.cpp \
|
|
|
|
utils/ssg_help.cpp utils/ssg_help.hpp \
|
|
|
|
material_manager.cpp material_manager.hpp \
|
|
|
|
grand_prix_manager.cpp grand_prix_manager.hpp \
|
2008-11-14 21:59:54 -05:00
|
|
|
items/attachment.cpp items/attachment.hpp \
|
|
|
|
items/attachment_manager.cpp items/attachment_manager.hpp \
|
2008-11-06 23:34:01 -05:00
|
|
|
items/powerup.cpp items/powerup.hpp \
|
2008-11-14 21:59:54 -05:00
|
|
|
items/powerup_manager.cpp items/powerup_manager.hpp \
|
2008-11-06 23:34:01 -05:00
|
|
|
items/item.cpp items/item.hpp \
|
2008-11-14 21:59:54 -05:00
|
|
|
items/item_manager.cpp items/item_manager.hpp \
|
|
|
|
items/projectile_manager.cpp items/projectile_manager.hpp \
|
|
|
|
items/bubblegumitem.cpp items/bubblegumitem.hpp \
|
|
|
|
items/plunger.cpp items/plunger.hpp \
|
|
|
|
items/cake.cpp items/cake.hpp \
|
|
|
|
items/bowling.cpp items/bowling.hpp \
|
|
|
|
karts/auto_kart.hpp karts/kart_control.hpp \
|
|
|
|
karts/kart.cpp karts/kart.hpp \
|
|
|
|
karts/kart_model.cpp karts/kart_model.hpp \
|
2008-11-06 23:34:01 -05:00
|
|
|
karts/kart_properties.cpp karts/kart_properties.hpp \
|
|
|
|
karts/kart_properties_manager.cpp karts/kart_properties_manager.hpp \
|
2008-11-14 21:59:54 -05:00
|
|
|
karts/moveable.cpp karts/moveable.hpp \
|
|
|
|
karts/player_kart.cpp karts/player_kart.hpp \
|
2008-10-28 20:42:09 -04:00
|
|
|
smoke.cpp smoke.hpp \
|
2008-11-06 23:34:01 -05:00
|
|
|
input.hpp \
|
2008-09-21 12:07:56 -04:00
|
|
|
isect.cpp isect.hpp \
|
|
|
|
track.cpp track.hpp \
|
2007-05-27 12:01:53 -04:00
|
|
|
explosion.cpp explosion.hpp \
|
|
|
|
user_config.cpp user_config.hpp \
|
2008-09-21 12:07:56 -04:00
|
|
|
grand_prix_data.cpp grand_prix_data.hpp \
|
2008-10-28 20:42:09 -04:00
|
|
|
stk_config.cpp stk_config.hpp \
|
|
|
|
highscores.cpp highscores.hpp \
|
|
|
|
highscore_manager.cpp highscore_manager.hpp \
|
|
|
|
unlock_manager.cpp unlock_manager.hpp \
|
2008-09-21 12:07:56 -04:00
|
|
|
file_manager.cpp file_manager.hpp \
|
2008-10-28 20:42:09 -04:00
|
|
|
loader.cpp loader.hpp \
|
2007-05-27 12:01:53 -04:00
|
|
|
race_manager.cpp race_manager.hpp \
|
|
|
|
string_utils.cpp string_utils.hpp \
|
|
|
|
track_manager.cpp track_manager.hpp \
|
2008-10-28 20:42:09 -04:00
|
|
|
callback.hpp \
|
|
|
|
moving_physics.hpp moving_physics.cpp \
|
|
|
|
moving_texture.hpp moving_texture.cpp \
|
2008-09-21 12:07:56 -04:00
|
|
|
callback_manager.cpp callback_manager.hpp \
|
2008-10-28 20:42:09 -04:00
|
|
|
skid_mark.cpp skid_mark.hpp \
|
|
|
|
shadow.cpp shadow.hpp \
|
2007-05-27 12:01:53 -04:00
|
|
|
particle_system.cpp particle_system.hpp \
|
2008-10-28 20:42:09 -04:00
|
|
|
main_loop.cpp main_loop.hpp \
|
|
|
|
camera.cpp camera.hpp \
|
|
|
|
sdldrv.cpp sdldrv.hpp \
|
2008-11-06 23:34:01 -05:00
|
|
|
user_pointer.hpp \
|
2008-10-28 20:42:09 -04:00
|
|
|
terrain_info.cpp terrain_info.hpp \
|
2008-11-14 21:59:54 -05:00
|
|
|
triangle_mesh.cpp triangle_mesh.hpp \
|
2008-10-28 20:42:09 -04:00
|
|
|
flyable.cpp flyable.hpp \
|
|
|
|
history.cpp history.hpp \
|
|
|
|
scene.hpp scene.cpp \
|
|
|
|
no_copy.hpp constants.hpp \
|
|
|
|
translation.cpp translation.hpp \
|
2007-12-08 08:04:56 -05:00
|
|
|
player.hpp \
|
2008-09-21 12:07:56 -04:00
|
|
|
challenges/challenge.hpp challenges/challenge.cpp \
|
|
|
|
challenges/challenge_data.hpp challenges/challenge_data.cpp \
|
|
|
|
lisp/lisp.cpp lisp/lisp.hpp \
|
|
|
|
lisp/lexer.cpp lisp/lexer.hpp \
|
|
|
|
lisp/parser.cpp lisp/parser.hpp \
|
|
|
|
lisp/writer.cpp lisp/writer.hpp \
|
|
|
|
gui/widget_manager.cpp gui/widget_manager.hpp \
|
|
|
|
gui/widget.cpp gui/widget.hpp \
|
2007-05-27 12:01:53 -04:00
|
|
|
gui/menu_manager.cpp gui/menu_manager.hpp \
|
2008-09-21 12:07:56 -04:00
|
|
|
gui/base_gui.cpp gui/base_gui.hpp \
|
|
|
|
gui/race_gui.cpp gui/race_gui.hpp \
|
2007-05-27 12:01:53 -04:00
|
|
|
gui/race_results_gui.cpp gui/race_results_gui.hpp \
|
|
|
|
gui/grand_prix_ending.cpp gui/grand_prix_ending.hpp \
|
2008-09-21 12:07:56 -04:00
|
|
|
gui/race_menu.cpp gui/race_menu.hpp \
|
|
|
|
gui/num_players.cpp gui/num_players.hpp \
|
|
|
|
gui/track_sel.cpp gui/track_sel.hpp \
|
2007-05-27 12:01:53 -04:00
|
|
|
gui/player_controls.cpp gui/player_controls.hpp \
|
|
|
|
gui/config_display.cpp gui/config_display.hpp \
|
2008-09-07 10:05:48 -04:00
|
|
|
gui/display_res_confirm.cpp gui/display_res_confirm.hpp \
|
2007-05-27 12:01:53 -04:00
|
|
|
gui/config_sound.cpp gui/config_sound.hpp \
|
|
|
|
gui/config_controls.cpp gui/config_controls.hpp \
|
2008-09-21 12:07:56 -04:00
|
|
|
gui/options.cpp gui/options.hpp \
|
|
|
|
gui/game_mode.cpp gui/game_mode.hpp \
|
2008-09-07 10:05:48 -04:00
|
|
|
gui/race_options.cpp gui/race_options.hpp \
|
2008-09-21 12:07:56 -04:00
|
|
|
gui/char_sel.cpp gui/char_sel.hpp \
|
2008-09-07 10:05:48 -04:00
|
|
|
gui/start_race_feedback.cpp gui/start_race_feedback.hpp \
|
2008-09-21 12:07:56 -04:00
|
|
|
gui/network_gui.cpp gui/network_gui.hpp \
|
|
|
|
gui/main_menu.cpp gui/main_menu.hpp \
|
2008-09-07 10:05:48 -04:00
|
|
|
gui/help_page_one.cpp gui/help_page_one.hpp \
|
|
|
|
gui/help_page_two.cpp gui/help_page_two.hpp \
|
|
|
|
gui/help_page_three.cpp gui/help_page_three.hpp \
|
2007-05-27 12:01:53 -04:00
|
|
|
gui/credits_menu.cpp gui/credits_menu.hpp \
|
|
|
|
gui/grand_prix_select.cpp gui/grand_prix_select.hpp \
|
2008-03-26 22:38:10 -04:00
|
|
|
gui/challenges_menu.cpp gui/challenges_menu.hpp \
|
|
|
|
gui/feature_unlocked.cpp gui/feature_unlocked.hpp \
|
2008-11-06 20:05:52 -05:00
|
|
|
gui/font.hpp gui/font.cpp \
|
|
|
|
physics/physics.cpp physics/physics.hpp \
|
|
|
|
physics/kart_motion_state.hpp \
|
2007-12-08 08:04:56 -05:00
|
|
|
robots/default_robot.cpp robots/default_robot.hpp \
|
2008-09-20 19:45:22 -04:00
|
|
|
modes/follow_the_leader.cpp modes/follow_the_leader.hpp \
|
2008-11-06 20:05:52 -05:00
|
|
|
modes/standard_race.cpp modes/standard_race.hpp \
|
|
|
|
modes/clock.cpp modes/clock.hpp \
|
|
|
|
modes/world.cpp modes/world.hpp \
|
|
|
|
modes/linear_world.cpp modes/linear_world.hpp \
|
2008-10-14 16:20:54 -04:00
|
|
|
modes/three_strikes_battle.cpp modes/three_strikes_battle.hpp \
|
2007-12-08 08:04:56 -05:00
|
|
|
replay_buffer_tpl.hpp \
|
2008-11-06 20:05:52 -05:00
|
|
|
replay_buffers.hpp replay_buffers.cpp \
|
|
|
|
replay_base.hpp replay_base.cpp \
|
2007-12-08 08:04:56 -05:00
|
|
|
replay_player.hpp replay_player.cpp \
|
2008-11-06 20:05:52 -05:00
|
|
|
replay_recorder.hpp replay_recorder.cpp \
|
2008-02-23 06:33:26 -05:00
|
|
|
ide/vc8/supertuxkart.sln ide/vc8/supertuxkart.vcproj \
|
2008-09-21 12:07:56 -04:00
|
|
|
ide/vc8/bullet_lib.vcproj ide/vc8/README \
|
2008-09-09 20:26:04 -04:00
|
|
|
ide/vc9/supertuxkart.sln ide/vc9/supertuxkart.vcproj \
|
|
|
|
ide/vc9/bullet_lib.vcproj ide/vc9/enet.vcproj \
|
|
|
|
ide/vc9/README \
|
|
|
|
Xcode/STK_XCode.xcodeproj/project/pbxproj
|
2008-11-19 20:35:07 -05:00
|
|
|
#Is this the right place for those non-source files ?
|
2007-05-27 12:01:53 -04:00
|
|
|
|
|
|
|
# Link in the specific gcc 4.1 bug work around
|
|
|
|
supertuxkart_LDADD = -L. -lstatic_ssg \
|
|
|
|
-lplibjs -lplibsl -lplibssg -lplibpu -lplibfnt -lplibsg \
|
2008-09-07 11:04:43 -04:00
|
|
|
-lplibul -lplibssgaux $(bullet_LIBS) $(enet_LIBS) $(opengl_LIBS) $(sdl_LIBS) $(openal_LIBS)
|
2007-05-27 12:01:53 -04:00
|
|
|
|
2008-02-24 21:22:04 -05:00
|
|
|
SUBDIRS = robots
|
|
|
|
|