2007-05-27 12:01:53 -04:00
|
|
|
# src/
|
2009-01-02 14:34:38 -05:00
|
|
|
|
|
|
|
SUBDIRS = ide
|
|
|
|
|
|
|
|
bindir=$(prefix)/games
|
2007-05-27 12:01:53 -04:00
|
|
|
bin_PROGRAMS = supertuxkart
|
|
|
|
|
2009-01-02 14:34:38 -05:00
|
|
|
AM_CPPFLAGS = -DSUPERTUXKART_DATADIR="\"$(datadir)/games/$(PACKAGE)/\"" \
|
|
|
|
-I$(srcdir)/bullet/src/ -I$(srcdir)/enet/include/
|
|
|
|
|
|
|
|
supertuxkart_SOURCES = \
|
|
|
|
main.cpp \
|
|
|
|
material.cpp \
|
|
|
|
material.hpp \
|
|
|
|
network/network_manager.cpp \
|
|
|
|
network/network_manager.hpp \
|
|
|
|
network/network_kart.cpp \
|
|
|
|
network/network_kart.hpp \
|
|
|
|
network/message.cpp \
|
|
|
|
network/message.hpp \
|
|
|
|
network/race_info_message.hpp \
|
|
|
|
network/race_info_message.cpp \
|
|
|
|
network/race_result_ack_message.hpp \
|
|
|
|
network/remote_kart_info.hpp \
|
|
|
|
network/character_selected_message.hpp \
|
|
|
|
network/race_start_message.hpp \
|
|
|
|
network/character_confirm_message.hpp \
|
|
|
|
network/connect_message.hpp \
|
|
|
|
network/connect_message.cpp \
|
|
|
|
network/num_players_message.hpp \
|
|
|
|
network/world_loaded_message.hpp \
|
|
|
|
network/connect_message.hpp \
|
|
|
|
network/character_info_message.hpp \
|
|
|
|
network/kart_update_message.hpp \
|
|
|
|
network/kart_update_message.cpp \
|
|
|
|
network/kart_control_message.hpp \
|
|
|
|
network/kart_control_message.cpp \
|
|
|
|
network/flyable_info.hpp \
|
|
|
|
network/item_info.hpp \
|
|
|
|
network/race_state.hpp \
|
|
|
|
network/race_state.cpp \
|
|
|
|
network/race_result_message.hpp \
|
|
|
|
network/race_result_message.cpp \
|
|
|
|
audio/music.hpp \
|
|
|
|
audio/music_information.cpp \
|
|
|
|
audio/music_information.hpp \
|
|
|
|
audio/music_ogg.cpp \
|
|
|
|
audio/music_ogg.hpp \
|
|
|
|
audio/sfx_base.hpp \
|
|
|
|
audio/sfx_manager.cpp \
|
|
|
|
audio/sfx_manager.hpp \
|
|
|
|
audio/sfx_openal.cpp \
|
|
|
|
audio/sfx_openal.hpp \
|
|
|
|
audio/sound_manager.cpp \
|
|
|
|
audio/sound_manager.hpp \
|
2009-01-22 17:27:13 -05:00
|
|
|
utils/constants.hpp \
|
2009-01-02 14:34:38 -05:00
|
|
|
utils/coord.hpp \
|
|
|
|
utils/random_generator.hpp \
|
|
|
|
utils/random_generator.cpp \
|
|
|
|
utils/ssg_help.cpp \
|
|
|
|
utils/ssg_help.hpp \
|
2009-01-22 17:27:13 -05:00
|
|
|
utils/string_utils.cpp \
|
|
|
|
utils/string_utils.hpp \
|
2009-01-23 00:23:22 -05:00
|
|
|
utils/translation.cpp \
|
|
|
|
utils/translation.hpp \
|
2009-01-02 14:34:38 -05:00
|
|
|
utils/vec3.cpp \
|
|
|
|
utils/vec3.hpp \
|
|
|
|
material_manager.cpp \
|
|
|
|
material_manager.hpp \
|
|
|
|
grand_prix_manager.cpp \
|
|
|
|
grand_prix_manager.hpp \
|
2009-01-23 00:23:22 -05:00
|
|
|
graphics/camera.cpp \
|
|
|
|
graphics/camera.hpp \
|
2009-02-03 19:41:39 -05:00
|
|
|
graphics/irr_driver.cpp \
|
2009-02-26 20:32:09 -05:00
|
|
|
graphics/irr_driver.hpp \
|
2009-02-10 06:23:17 -05:00
|
|
|
graphics/mesh_tools.hpp \
|
|
|
|
graphics/mesh_tools.cpp \
|
2009-01-02 14:34:38 -05:00
|
|
|
graphics/nitro.cpp \
|
|
|
|
graphics/nitro.hpp \
|
2009-01-22 19:07:51 -05:00
|
|
|
graphics/moving_texture.hpp \
|
|
|
|
graphics/moving_texture.cpp \
|
2009-01-02 14:34:38 -05:00
|
|
|
graphics/particle_system.cpp \
|
|
|
|
graphics/particle_system.hpp \
|
2009-01-22 17:27:13 -05:00
|
|
|
graphics/scene.hpp \
|
|
|
|
graphics/scene.cpp \
|
|
|
|
graphics/shadow.cpp \
|
|
|
|
graphics/shadow.hpp \
|
2009-01-02 14:34:38 -05:00
|
|
|
graphics/skid_marks.cpp \
|
|
|
|
graphics/skid_marks.hpp \
|
|
|
|
graphics/smoke.cpp \
|
|
|
|
graphics/smoke.hpp \
|
2009-03-11 23:49:31 -04:00
|
|
|
io/file_manager.cpp \
|
|
|
|
io/file_manager.hpp \
|
2009-02-16 21:57:28 -05:00
|
|
|
io/xml_node.cpp \
|
|
|
|
io/xml_node.hpp \
|
2009-01-02 14:34:38 -05:00
|
|
|
items/attachment.cpp \
|
|
|
|
items/attachment.hpp \
|
|
|
|
items/attachment_manager.cpp \
|
|
|
|
items/attachment_manager.hpp \
|
2009-01-22 17:27:13 -05:00
|
|
|
items/flyable.cpp \
|
|
|
|
items/flyable.hpp \
|
2009-01-02 14:34:38 -05:00
|
|
|
items/powerup.cpp \
|
|
|
|
items/powerup.hpp \
|
|
|
|
items/powerup_manager.cpp \
|
|
|
|
items/powerup_manager.hpp \
|
|
|
|
items/item.cpp \
|
|
|
|
items/item.hpp \
|
|
|
|
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/rubber_band.cpp \
|
|
|
|
items/rubber_band.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 \
|
|
|
|
karts/kart_properties.cpp \
|
|
|
|
karts/kart_properties.hpp \
|
|
|
|
karts/kart_properties_manager.cpp \
|
|
|
|
karts/kart_properties_manager.hpp \
|
|
|
|
karts/moveable.cpp \
|
|
|
|
karts/moveable.hpp \
|
|
|
|
karts/player_kart.cpp \
|
|
|
|
karts/player_kart.hpp \
|
|
|
|
input.hpp \
|
2009-03-23 16:35:53 -04:00
|
|
|
input/device_manager.cpp \
|
|
|
|
input/device_manager.hpp \
|
|
|
|
input/input.hpp \
|
|
|
|
input/input_device.cpp \
|
|
|
|
input/input_device.hpp \
|
|
|
|
input/input_manager.cpp \
|
|
|
|
input/input_manager.hpp \
|
|
|
|
sdl_manager.cpp \
|
|
|
|
sdl_manager.hpp \
|
2009-01-02 14:34:38 -05:00
|
|
|
isect.cpp \
|
|
|
|
isect.hpp \
|
|
|
|
explosion.cpp \
|
|
|
|
explosion.hpp \
|
|
|
|
user_config.cpp \
|
|
|
|
user_config.hpp \
|
|
|
|
grand_prix_data.cpp \
|
|
|
|
grand_prix_data.hpp \
|
|
|
|
stk_config.cpp \
|
|
|
|
stk_config.hpp \
|
|
|
|
highscores.cpp \
|
|
|
|
highscores.hpp \
|
|
|
|
highscore_manager.cpp \
|
|
|
|
highscore_manager.hpp \
|
|
|
|
race_manager.cpp \
|
|
|
|
race_manager.hpp \
|
|
|
|
main_loop.cpp \
|
|
|
|
main_loop.hpp \
|
|
|
|
user_pointer.hpp \
|
|
|
|
history.cpp \
|
|
|
|
history.hpp \
|
|
|
|
no_copy.hpp \
|
|
|
|
player.hpp \
|
|
|
|
challenges/challenge.hpp \
|
|
|
|
challenges/challenge.cpp \
|
|
|
|
challenges/challenge_data.hpp \
|
|
|
|
challenges/challenge_data.cpp \
|
2009-01-22 19:07:51 -05:00
|
|
|
challenges/unlock_manager.cpp \
|
2009-02-15 20:26:28 -05:00
|
|
|
challenges/unlock_manager.hpp \
|
2009-01-02 14:34:38 -05:00
|
|
|
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.cpp \
|
|
|
|
gui/widget.hpp \
|
|
|
|
gui/race_gui.cpp \
|
|
|
|
gui/race_gui.hpp \
|
|
|
|
gui/font.hpp \
|
|
|
|
gui/font.cpp \
|
2009-03-17 22:40:11 -04:00
|
|
|
gui/engine.cpp \
|
|
|
|
gui/engine.hpp \
|
|
|
|
gui/my_button.cpp \
|
|
|
|
gui/my_button.hpp \
|
|
|
|
gui/screen.cpp \
|
|
|
|
gui/screen.hpp \
|
|
|
|
gui/screen_loader.cpp \
|
|
|
|
gui/skin.cpp \
|
|
|
|
gui/skin.hpp \
|
|
|
|
gui/state_manager.cpp \
|
|
|
|
gui/state_manager.hpp \
|
2009-01-02 14:34:38 -05:00
|
|
|
modes/follow_the_leader.cpp \
|
|
|
|
modes/follow_the_leader.hpp \
|
|
|
|
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 \
|
|
|
|
modes/three_strikes_battle.cpp \
|
|
|
|
modes/three_strikes_battle.hpp \
|
2009-01-22 07:02:40 -05:00
|
|
|
physics/btKart.cpp \
|
|
|
|
physics/btKart.hpp \
|
|
|
|
physics/btUprightConstraint.cpp \
|
|
|
|
physics/btUprightConstraint.hpp \
|
2009-03-31 21:30:10 -04:00
|
|
|
physics/physical_object.hpp \
|
|
|
|
physics/physical_object.cpp \
|
2009-01-22 07:02:40 -05:00
|
|
|
physics/physics.cpp \
|
|
|
|
physics/physics.hpp \
|
|
|
|
physics/kart_motion_state.hpp \
|
2009-01-23 00:33:21 -05:00
|
|
|
physics/triangle_mesh.cpp \
|
|
|
|
physics/triangle_mesh.hpp \
|
2009-01-22 07:02:40 -05:00
|
|
|
robots/default_robot.cpp \
|
|
|
|
robots/default_robot.hpp \
|
|
|
|
robots/track_info.cpp \
|
|
|
|
robots/track_info.hpp \
|
2009-01-23 00:23:22 -05:00
|
|
|
tracks/terrain_info.cpp \
|
|
|
|
tracks/terrain_info.hpp \
|
2009-01-22 17:27:13 -05:00
|
|
|
tracks/track.cpp \
|
|
|
|
tracks/track.hpp \
|
2009-01-22 07:02:40 -05:00
|
|
|
tracks/track_manager.cpp \
|
|
|
|
tracks/track_manager.hpp \
|
|
|
|
replay/replay_buffer_tpl.hpp \
|
|
|
|
replay/replay_buffers.hpp \
|
|
|
|
replay/replay_buffers.cpp \
|
|
|
|
replay/replay_base.hpp \
|
|
|
|
replay/replay_base.cpp \
|
|
|
|
replay/replay_player.hpp \
|
|
|
|
replay/replay_player.cpp \
|
|
|
|
replay/replay_recorder.hpp \
|
|
|
|
replay/replay_recorder.cpp
|
2009-01-02 14:34:38 -05:00
|
|
|
|
2007-05-27 12:01:53 -04:00
|
|
|
# Link in the specific gcc 4.1 bug work around
|
2009-03-31 19:45:20 -04:00
|
|
|
supertuxkart_LDADD = \
|
2009-01-14 23:08:41 -05:00
|
|
|
-lplibjs -lplibsl -lplibssg -lplibpu -lplibfnt -lplibsg \
|
2009-03-04 23:32:45 -05:00
|
|
|
-lplibul -lplibssgaux $(irrlicht_LIBS) $(bullet_LIBS) $(enet_LIBS) $(glut_LIBS) \
|
2009-01-14 23:08:41 -05:00
|
|
|
$(opengl_LIBS) $(sdl_LIBS) $(openal_LIBS) $(oggvorbis_LIBS) \
|
|
|
|
$(INTLLIBS)
|
2007-05-27 12:01:53 -04:00
|
|
|
|
2009-01-02 14:34:38 -05:00
|
|
|
EXTRA_DIST = robots/empty_robot.cpp robots/empty_robot.hpp
|
2008-02-24 21:22:04 -05:00
|
|
|
|