ee90eca26e
appropriate subdirs (only main.cpp and main_loop.?pp are now directly in the src directory). 2) Cleaned up all #include directives, so that all files now use the right subdirectories. 3) Some minor code cleanup. git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3606 178a84e3-b1eb-0310-8ba1-8eac791a3b58
256 lines
6.4 KiB
Makefile
256 lines
6.4 KiB
Makefile
# src/
|
|
|
|
SUBDIRS = ide
|
|
|
|
bindir=$(prefix)/games
|
|
bin_PROGRAMS = supertuxkart
|
|
|
|
AM_CPPFLAGS = -DSUPERTUXKART_DATADIR="\"$(datadir)/games/$(PACKAGE)/\"" \
|
|
-I$(srcdir)/bullet/src/ -I$(srcdir)/enet/include/
|
|
|
|
supertuxkart_SOURCES = \
|
|
main.cpp \
|
|
main_loop.cpp \
|
|
main_loop.hpp \
|
|
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 \
|
|
challenges/challenge.cpp \
|
|
challenges/challenge.hpp \
|
|
challenges/challenge_data.cpp \
|
|
challenges/challenge_data.hpp \
|
|
challenges/unlock_manager.cpp \
|
|
challenges/unlock_manager.hpp \
|
|
config/player.hpp \
|
|
config/stk_config.cpp \
|
|
config/stk_config.hpp \
|
|
config/user_config.cpp \
|
|
config/user_config.hpp \
|
|
graphics/camera.cpp \
|
|
graphics/camera.hpp \
|
|
graphics/explosion.cpp \
|
|
graphics/explosion.hpp \
|
|
graphics/irr_driver.cpp \
|
|
graphics/irr_driver.hpp \
|
|
graphics/material.cpp \
|
|
graphics/material.hpp \
|
|
graphics/material_manager.cpp \
|
|
graphics/material_manager.hpp \
|
|
graphics/mesh_tools.cpp \
|
|
graphics/mesh_tools.hpp \
|
|
graphics/moving_texture.cpp \
|
|
graphics/moving_texture.hpp \
|
|
graphics/nitro.cpp \
|
|
graphics/nitro.hpp \
|
|
graphics/scene.cpp \
|
|
graphics/scene.hpp \
|
|
graphics/shadow.cpp \
|
|
graphics/shadow.hpp \
|
|
graphics/skid_marks.cpp \
|
|
graphics/skid_marks.hpp \
|
|
graphics/smoke.cpp \
|
|
graphics/smoke.hpp \
|
|
graphics/water_splash.hpp \
|
|
graphics/water_splash.cpp \
|
|
gui/credits.cpp \
|
|
gui/credits.hpp \
|
|
gui/engine.cpp \
|
|
gui/engine.hpp \
|
|
gui/font.cpp \
|
|
gui/font.hpp \
|
|
gui/my_button.cpp \
|
|
gui/my_button.hpp \
|
|
gui/options_screen.cpp \
|
|
gui/options_screen.hpp \
|
|
gui/race_gui.cpp \
|
|
gui/race_gui.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 \
|
|
gui/widget.cpp \
|
|
gui/widget.hpp \
|
|
input/device_manager.cpp \
|
|
input/device_manager.hpp \
|
|
input/input.cpp \
|
|
input/input.hpp \
|
|
input/input_device.cpp \
|
|
input/input_device.hpp \
|
|
input/input_manager.cpp \
|
|
input/input_manager.hpp \
|
|
io/file_manager.cpp \
|
|
io/file_manager.hpp \
|
|
io/xml_node.cpp \
|
|
io/xml_node.hpp \
|
|
items/attachment.cpp \
|
|
items/attachment.hpp \
|
|
items/attachment_manager.cpp \
|
|
items/attachment_manager.hpp \
|
|
items/bowling.cpp \
|
|
items/bowling.hpp \
|
|
items/bubblegumitem.cpp \
|
|
items/bubblegumitem.hpp \
|
|
items/cake.cpp \
|
|
items/cake.hpp \
|
|
items/flyable.cpp \
|
|
items/flyable.hpp \
|
|
items/item.cpp \
|
|
items/item.hpp \
|
|
items/item_manager.cpp \
|
|
items/item_manager.hpp \
|
|
items/plunger.cpp \
|
|
items/plunger.hpp \
|
|
items/powerup.cpp \
|
|
items/powerup.hpp \
|
|
items/powerup_manager.cpp \
|
|
items/powerup_manager.hpp \
|
|
items/projectile_manager.cpp \
|
|
items/projectile_manager.hpp \
|
|
items/rubber_band.cpp \
|
|
items/rubber_band.hpp \
|
|
karts/auto_kart.hpp \
|
|
karts/kart.cpp \
|
|
karts/kart.hpp \
|
|
karts/kart_control.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 \
|
|
lisp/lexer.cpp \
|
|
lisp/lexer.hpp \
|
|
lisp/lisp.cpp \
|
|
lisp/lisp.hpp \
|
|
lisp/parser.cpp \
|
|
lisp/parser.hpp \
|
|
lisp/writer.cpp \
|
|
lisp/writer.hpp \
|
|
modes/clock.cpp \
|
|
modes/clock.hpp \
|
|
modes/follow_the_leader.cpp \
|
|
modes/follow_the_leader.hpp \
|
|
modes/linear_world.cpp \
|
|
modes/linear_world.hpp \
|
|
modes/standard_race.cpp \
|
|
modes/standard_race.hpp \
|
|
modes/three_strikes_battle.cpp \
|
|
modes/three_strikes_battle.hpp \
|
|
modes/world.cpp \
|
|
modes/world.hpp \
|
|
network/character_confirm_message.hpp \
|
|
network/character_info_message.hpp \
|
|
network/character_selected_message.hpp \
|
|
network/connect_message.cpp \
|
|
network/connect_message.hpp \
|
|
network/connect_message.hpp \
|
|
network/flyable_info.hpp \
|
|
network/item_info.hpp \
|
|
network/kart_control_message.cpp \
|
|
network/kart_control_message.hpp \
|
|
network/kart_update_message.cpp \
|
|
network/kart_update_message.hpp \
|
|
network/message.cpp \
|
|
network/message.hpp \
|
|
network/network_kart.cpp \
|
|
network/network_kart.hpp \
|
|
network/network_manager.cpp \
|
|
network/network_manager.hpp \
|
|
network/num_players_message.hpp \
|
|
network/race_info_message.cpp \
|
|
network/race_info_message.hpp \
|
|
network/race_result_ack_message.hpp \
|
|
network/race_result_message.cpp \
|
|
network/race_result_message.hpp \
|
|
network/race_start_message.hpp \
|
|
network/race_state.cpp \
|
|
network/race_state.hpp \
|
|
network/remote_kart_info.hpp \
|
|
network/world_loaded_message.hpp \
|
|
physics/btKart.cpp \
|
|
physics/btKart.hpp \
|
|
physics/btUprightConstraint.cpp \
|
|
physics/btUprightConstraint.hpp \
|
|
physics/kart_motion_state.hpp \
|
|
physics/physical_object.cpp \
|
|
physics/physical_object.hpp \
|
|
physics/physics.cpp \
|
|
physics/physics.hpp \
|
|
physics/triangle_mesh.cpp \
|
|
physics/triangle_mesh.hpp \
|
|
physics/user_pointer.hpp \
|
|
race/grand_prix_data.cpp \
|
|
race/grand_prix_data.hpp \
|
|
race/grand_prix_manager.cpp \
|
|
race/grand_prix_manager.hpp \
|
|
race/highscore_manager.cpp \
|
|
race/highscore_manager.hpp \
|
|
race/highscores.cpp \
|
|
race/highscores.hpp \
|
|
race/history.cpp \
|
|
race/history.hpp \
|
|
race/race_manager.cpp \
|
|
race/race_manager.hpp \
|
|
replay/replay_base.cpp \
|
|
replay/replay_base.hpp \
|
|
replay/replay_buffer_tpl.hpp \
|
|
replay/replay_buffers.cpp \
|
|
replay/replay_buffers.hpp \
|
|
replay/replay_player.cpp \
|
|
replay/replay_player.hpp \
|
|
replay/replay_recorder.cpp \
|
|
replay/replay_recorder.hpp \
|
|
robots/default_robot.cpp \
|
|
robots/default_robot.hpp \
|
|
tracks/graph_node.cpp\
|
|
tracks/graph_node.hpp\
|
|
tracks/quad.cpp \
|
|
tracks/quad.hpp \
|
|
tracks/quad_graph.cpp \
|
|
tracks/quad_graph.hpp \
|
|
tracks/quad_set.cpp \
|
|
tracks/quad_set.hpp \
|
|
tracks/terrain_info.cpp \
|
|
tracks/terrain_info.hpp \
|
|
tracks/track.cpp \
|
|
tracks/track.hpp \
|
|
tracks/track_manager.cpp \
|
|
tracks/track_manager.hpp \
|
|
utils/constants.hpp \
|
|
utils/coord.hpp \
|
|
utils/no_copy.hpp \
|
|
utils/ptr_vector.hpp \
|
|
utils/random_generator.cpp \
|
|
utils/random_generator.hpp \
|
|
utils/string_utils.cpp \
|
|
utils/string_utils.hpp \
|
|
utils/translation.cpp \
|
|
utils/translation.hpp \
|
|
utils/vec3.cpp \
|
|
utils/vec3.hpp
|
|
|
|
# Link in the specific gcc 4.1 bug work around
|
|
supertuxkart_LDADD = \
|
|
$(irrlicht_LIBS) $(bullet_LIBS) $(enet_LIBS) $(glut_LIBS) \
|
|
$(opengl_LIBS) $(openal_LIBS) $(oggvorbis_LIBS) \
|
|
$(INTLLIBS)
|
|
|
|
EXTRA_DIST = robots/empty_robot.cpp robots/empty_robot.hpp
|
|
|