Fixes for datatype size on amd64.
[crack-attack.git] / src / Makefile.am
blob6e2be832a1c91702900d90df2fa6df4b88bbd3c9
1 bin_PROGRAMS = crack-attack
3 if AUDIO_ENABLED
4 audio_sources = Music.cxx Sound.cxx
5 else
6 audio_sources = 
7 endif
8 crack_attack_SOURCES = ActionRecorder.cxx Attack.cxx Block.cxx BlockManager.cxx CelebrationManager.cxx Clock.cxx ComboManager.cxx ComboTabulator.cxx Communicator.cxx ComputerPlayer.cxx ComputerPlayerAI.cxx Controller.cxx CountDownManager.cxx Creep.cxx Displayer.cxx Game.cxx Garbage.cxx GarbageFlavorImage.cxx GarbageGenerator.cxx GarbageManager.cxx GarbageQueue.cxx Grid.cxx LevelLights.cxx LightManager.cxx LoseBar.cxx MessageManager.cxx MetaState.cxx OBJModel.cxx Primitives.cxx Random.cxx Sine.cxx Score.cxx ScoreRecordManager.cxx Swapper.cxx SparkleManager.cxx Spring.cxx SignManager.cxx String.cxx TextureLoader.cxx WinRecord.cxx X.cxx DrawBlocks.cxx DrawGarbage.cxx DrawCandy.cxx DrawScoreRecord.cxx DrawSwapper.cxx DrawExternalCandy.cxx DrawLevelLights.cxx DrawCountDown.cxx DrawMessages.cxx DrawWinRecord.cxx obj_block.cxx obj_garbage.cxx obj_garbage_thin_middle.cxx obj_garbage_thin_cap.cxx obj_garbage_thick_corner.cxx obj_garbage_thick_edge.cxx obj_garbage_thick_middle.cxx obj_garbage_small.cxx obj_sparkle.cxx obj_sign.cxx obj_swapper.cxx obj_external_candy.cxx obj_level_lights.cxx obj_messages.cxx obj_clock.cxx obj_name.cxx obj_score_record.cxx ActionRecorder.h Attack.h Block.h BlockManager.h CelebrationManager.h Clock.h ComboManager.h ComboTabulator.h Communicator.h ComputerPlayer.h ComputerPlayerAI.h Controller.h CountDownManager.h Creep.h Displayer.h Game.h Garbage.h GarbageFlavorImage.h GarbageGenerator.h GarbageManager.h GarbageQueue.h Grid.h LevelLights.h LightManager.h LoseBar.h MessageManager.h MetaState.h OBJModel.h Primitives.h Random.h Sine.h Score.h ScoreRecordManager.h Swapper.h SparkleManager.h Spring.h SignManager.h String.h TextureLoader.h WinRecord.h X.h Mode.h prefix.h prefix.c $(audio_sources)
10 # prefix sources compiled whether we use them or not
12 if WANT_GTK
13   GUI_DIR = gtk-gui
14   GUI_LIBS = gtk-gui/libgtkgui.a
15 endif
17   NET_INCLUDES = -I../enet/include
18   NET_LIBS = ../enet/libenet.a
20 SUBDIRS = $(GUI_DIR)
22 AM_CXXFLAGS = -DBR_PTHREAD=0 @DEBUG_CFLAGS@ @AUDIO_CFLAGS@ $(NET_INCLUDES) $(CFLAGS)
24 if WANT_BINRELOC
25   PATH_INCLUDES = 
26 else
27   PATH_INCLUDES = -DDATA_DIRECTORY='"${pkgdatadir}/"' \
28       -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
29     -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
30                 -DBINARY_DIRECTORY='"${bindir}"'
31 endif
33 INCLUDES = @PACKAGE_CFLAGS@ @DEBUG_INCLUDES@ ${PATH_INCLUDES} 
35 crack_attack_DEPENDENCIES = $(GUI_LIBS) $(NET_LIBS)
36 AM_LDFLAGS = ${all_libraries} $(NET_INCLUDES)
37 crack_attack_LDADD = ${X_PRE_LIBS} ${X_LIBS} ${X_EXTRA_LIBS} -lXi -lX11 $(GUI_LIBS) @PACKAGE_LIBS@ @AUDIO_LIBS@ $(NET_LIBS)