summaryrefslogblamecommitdiff
path: root/src/Makefile.am
blob: 293d2bc5a952d6797b10a8b3d2635ad7ea897a90 (plain) (tree)
1
2
3
4
5
6
7
8






                                                             


                                      









                                        





                                                             
                                                         





















                                                          
                                                             



















                                                               



                                             
                                       





                                        


                                      



                                          
                                           














                                               
     
 
                                                   





















                                                      
                                            
                                        
                                                 





















                                                      
                                        
                                          










                                                 
                                          


                                          
                                         
                                        
                                              






                                                 
                                          


                                          
                                          
                                        










                                             
                                           




                                               


                                     






                                            
                                  




                                        
                                        
                                        






                                       
                                  
                                       
                                        






                                   
                                   
                               
                                        






















                                         
                                  














                                      
                                   
                                        
                                     
                                       
                                   
                                    
                                     
                               


















                                      
                                   
                                        
                                     









                                         
                                    





























                                          


                                       
                                    
















                                         
                                   


















                                             




                                                        
                                
                                    


                                    
                               

                                 
                               
                                     
                                 


                                       
                                    

                             


                                     
                                 









                                      
                                  




                                
                              











                                  
                       
                            
                                   



                                 




                             
                                    

                            
                                














                                 


                                


                                  
                              
                         


                            
                            
                             
                               
                          
                        
                       
                     
                            












































                                      


















                                       
                                
















































                                                 
     
                     


                                       




                                         
                                            
                                      
                                   
                                      
                                       
                                           
                                      
                                       
                                     
                                       
                                        
                                         
                                       
                              
                                       









































                                              





                                         

                                
                                                  
                                           
 
                             



                              
                          
                        
                      

                                         
AUTOMAKE_OPTIONS = subdir-objects

bin_PROGRAMS = manaplus

manaplus_CXXFLAGS = -DPKG_DATADIR=\""$(pkgdatadir)/"\"      \
		-DLOCALEDIR=\""$(localedir)"\"           \
		-Wall

if ENABLE_PORTABLE
manaplus_CXXFLAGS += -DENABLE_PORTABLE
endif

if ENABLE_MEM_DEBUG
manaplus_CXXFLAGS += -DENABLE_MEM_DEBUG

manaplus_SOURCES = debug/debug_new.cpp \
	      debug/debug_new.h \
	      debug/fast_mutex.h \
	      debug/static_assert.h
else
manaplus_SOURCES =
endif

if USE_INTERNALGUICHAN
manaplus_CXXFLAGS += -DUSE_INTERNALGUICHAN
manaplus_SOURCES += guichan/include/guichan/actionevent.hpp \
	      guichan/include/guichan/actionlistener.hpp \
	      guichan/include/guichan/basiccontainer.hpp \
	      guichan/include/guichan/cliprectangle.hpp \
	      guichan/include/guichan/color.hpp \
	      guichan/include/guichan/deathlistener.hpp \
	      guichan/include/guichan/defaultfont.hpp \
	      guichan/include/guichan/event.hpp \
	      guichan/include/guichan/exception.hpp \
	      guichan/include/guichan/focushandler.hpp \
	      guichan/include/guichan/focuslistener.hpp \
	      guichan/include/guichan/font.hpp \
	      guichan/include/guichan/graphics.hpp \
	      guichan/include/guichan/gui.hpp \
	      guichan/include/guichan/image.hpp \
	      guichan/include/guichan/imageloader.hpp \
	      guichan/include/guichan/input.hpp \
	      guichan/include/guichan/inputevent.hpp \
	      guichan/include/guichan/key.hpp \
	      guichan/include/guichan/keyevent.hpp \
	      guichan/include/guichan/keyinput.hpp \
	      guichan/include/guichan/keylistener.hpp \
	      guichan/include/guichan/listmodel.hpp \
	      guichan/include/guichan/mouseevent.hpp \
	      guichan/include/guichan/mouseinput.hpp \
	      guichan/include/guichan/mouselistener.hpp \
	      guichan/include/guichan/platform.hpp \
	      guichan/include/guichan/rectangle.hpp \
	      guichan/include/guichan/selectionevent.hpp \
	      guichan/include/guichan/selectionlistener.hpp \
	      guichan/include/guichan/sdl/sdlgraphics.hpp \
	      guichan/include/guichan/sdl/sdlimage.hpp \
	      guichan/include/guichan/sdl/sdlpixel.hpp \
	      guichan/include/guichan/widget.hpp \
	      guichan/include/guichan/widgetlistener.hpp \
	      guichan/include/guichan/widgets/button.hpp \
	      guichan/include/guichan/widgets/checkbox.hpp \
	      guichan/include/guichan/widgets/container.hpp \
	      guichan/include/guichan/widgets/dropdown.hpp \
	      guichan/include/guichan/widgets/icon.hpp \
	      guichan/include/guichan/widgets/imagebutton.hpp \
	      guichan/include/guichan/widgets/label.hpp \
	      guichan/include/guichan/widgets/listbox.hpp \
	      guichan/include/guichan/widgets/radiobutton.hpp \
	      guichan/include/guichan/widgets/scrollarea.hpp \
	      guichan/include/guichan/widgets/slider.hpp \
	      guichan/include/guichan/widgets/tabbedarea.hpp \
	      guichan/include/guichan/widgets/tab.hpp \
	      guichan/include/guichan/widgets/textbox.hpp \
	      guichan/include/guichan/widgets/textfield.hpp \
	      guichan/include/guichan/widgets/window.hpp

manaplus_SOURCES += guichan/actionevent.cpp \
	      guichan/basiccontainer.cpp \
	      guichan/cliprectangle.cpp \
	      guichan/color.cpp \
	      guichan/defaultfont.cpp \
	      guichan/event.cpp \
	      guichan/exception.cpp \
	      guichan/focushandler.cpp \
	      guichan/font.cpp \
	      guichan/graphics.cpp \
	      guichan/gui.cpp \
	      guichan/image.cpp \
	      guichan/inputevent.cpp \
	      guichan/key.cpp \
	      guichan/keyevent.cpp \
	      guichan/keyinput.cpp \
	      guichan/mouseevent.cpp \
	      guichan/mouseinput.cpp \
	      guichan/rectangle.cpp \
	      guichan/selectionevent.cpp \
	      guichan/widget.cpp \
	      guichan/sdl/sdlgraphics.cpp \
	      guichan/sdl/sdlimage.cpp \
	      guichan/widgets/button.cpp \
	      guichan/widgets/checkbox.cpp \
	      guichan/widgets/container.cpp \
	      guichan/widgets/dropdown.cpp \
	      guichan/widgets/icon.cpp \
	      guichan/widgets/imagebutton.cpp \
	      guichan/widgets/label.cpp \
	      guichan/widgets/listbox.cpp \
	      guichan/widgets/radiobutton.cpp \
	      guichan/widgets/scrollarea.cpp \
	      guichan/widgets/slider.cpp \
	      guichan/widgets/tabbedarea.cpp \
	      guichan/widgets/tab.cpp \
	      guichan/widgets/textbox.cpp \
	      guichan/widgets/textfield.cpp \
	      guichan/widgets/window.cpp
endif

manaplus_SOURCES += gui/widgets/avatarlistbox.cpp \
	      gui/widgets/avatarlistbox.h \
	      gui/widgets/battletab.cpp \
	      gui/widgets/battletab.h \
	      gui/widgets/browserbox.cpp \
	      gui/widgets/browserbox.h \
	      gui/widgets/button.cpp \
	      gui/widgets/button.h \
	      gui/widgets/channeltab.cpp \
	      gui/widgets/channeltab.h \
	      gui/widgets/chattab.cpp \
	      gui/widgets/chattab.h \
	      gui/widgets/checkbox.cpp \
	      gui/widgets/checkbox.h \
	      gui/widgets/container.cpp \
	      gui/widgets/container.h \
	      gui/widgets/desktop.cpp \
	      gui/widgets/desktop.h \
	      gui/widgets/dropdown.cpp \
	      gui/widgets/dropdown.h \
	      gui/widgets/emoteshortcutcontainer.cpp \
	      gui/widgets/emoteshortcutcontainer.h \
	      gui/widgets/flowcontainer.cpp \
	      gui/widgets/flowcontainer.h \
	      gui/widgets/guildchattab.cpp \
	      gui/widgets/guildchattab.h \
	      gui/widgets/guitable.cpp \
	      gui/widgets/guitable.h \
	      gui/widgets/horizontcontainer.cpp \
	      gui/widgets/horizontcontainer.h \
	      gui/widgets/icon.cpp \
	      gui/widgets/icon.h \
	      gui/widgets/inttextfield.cpp \
	      gui/widgets/inttextfield.h \
	      gui/widgets/itemcontainer.cpp \
	      gui/widgets/itemcontainer.h \
	      gui/widgets/itemlinkhandler.cpp \
	      gui/widgets/itemlinkhandler.h \
	      gui/widgets/dropshortcutcontainer.cpp \
	      gui/widgets/dropshortcutcontainer.h \
	      gui/widgets/itemshortcutcontainer.cpp \
	      gui/widgets/itemshortcutcontainer.h \
	      gui/widgets/spellshortcutcontainer.cpp \
	      gui/widgets/spellshortcutcontainer.h \
	      gui/widgets/label.cpp \
	      gui/widgets/label.h \
	      gui/widgets/layout.cpp \
	      gui/widgets/layout.h \
	      gui/widgets/layouthelper.cpp \
	      gui/widgets/layouthelper.h \
	      gui/widgets/linkhandler.h \
	      gui/widgets/listbox.cpp \
	      gui/widgets/listbox.h \
	      gui/widgets/mouseevent.h \
	      gui/widgets/namesmodel.cpp \
	      gui/widgets/namesmodel.h \
	      gui/widgets/passwordfield.cpp \
	      gui/widgets/passwordfield.h \
	      gui/widgets/playerbox.cpp \
	      gui/widgets/playerbox.h \
	      gui/widgets/popup.cpp \
	      gui/widgets/popup.h \
	      gui/widgets/progressbar.cpp \
	      gui/widgets/progressbar.h \
	      gui/widgets/progressindicator.cpp \
	      gui/widgets/progressindicator.h \
	      gui/widgets/radiobutton.cpp \
	      gui/widgets/radiobutton.h \
	      gui/widgets/radiogroup.cpp \
	      gui/widgets/radiogroup.h \
	      gui/widgets/resizegrip.cpp \
	      gui/widgets/resizegrip.h \
	      gui/widgets/scrollarea.cpp \
	      gui/widgets/scrollarea.h \
	      gui/widgets/setupitem.cpp \
	      gui/widgets/setupitem.h \
	      gui/widgets/setuptab.cpp \
	      gui/widgets/setuptab.h \
	      gui/widgets/setuptabscroll.cpp \
	      gui/widgets/setuptabscroll.h \
	      gui/widgets/shopitems.cpp \
	      gui/widgets/shopitems.h \
	      gui/widgets/shoplistbox.cpp \
	      gui/widgets/shoplistbox.h \
	      gui/widgets/shortcutcontainer.cpp \
	      gui/widgets/shortcutcontainer.h \
	      gui/widgets/slider.cpp \
	      gui/widgets/slider.h \
	      gui/widgets/sliderlist.cpp \
	      gui/widgets/sliderlist.h \
	      gui/widgets/tab.cpp \
	      gui/widgets/tab.h \
	      gui/widgets/tabbedarea.cpp \
	      gui/widgets/tabbedarea.h \
	      gui/widgets/tablemodel.cpp \
	      gui/widgets/tablemodel.h \
	      gui/widgets/tabstrip.cpp \
	      gui/widgets/tabstrip.h \
	      gui/widgets/textbox.cpp \
	      gui/widgets/textbox.h \
	      gui/widgets/textfield.cpp \
	      gui/widgets/textfield.h \
	      gui/widgets/textpreview.cpp \
	      gui/widgets/textpreview.h \
	      gui/widgets/tradetab.cpp \
	      gui/widgets/tradetab.h \
	      gui/widgets/vertcontainer.cpp \
	      gui/widgets/vertcontainer.h \
	      gui/widgets/whispertab.cpp \
	      gui/widgets/whispertab.h \
	      gui/widgets/widgetgroup.cpp \
	      gui/widgets/widgetgroup.h \
	      gui/widgets/window.cpp \
	      gui/widgets/window.h \
	      gui/widgets/windowcontainer.cpp \
	      gui/widgets/windowcontainer.h \
	      gui/beingpopup.cpp \
	      gui/beingpopup.h \
	      gui/buydialog.cpp \
	      gui/buydialog.h \
	      gui/buyselldialog.cpp \
	      gui/buyselldialog.h \
	      gui/changeemaildialog.cpp \
	      gui/changeemaildialog.h \
	      gui/changepassworddialog.cpp \
	      gui/changepassworddialog.h \
	      gui/charselectdialog.cpp \
	      gui/charselectdialog.h \
	      gui/charcreatedialog.cpp \
	      gui/charcreatedialog.h \
	      gui/chatwindow.cpp \
	      gui/chatwindow.h \
	      gui/confirmdialog.cpp \
	      gui/confirmdialog.h \
	      gui/connectiondialog.cpp \
	      gui/connectiondialog.h \
	      gui/debugwindow.cpp \
	      gui/debugwindow.h \
	      gui/didyouknowwindow.cpp \
	      gui/didyouknowwindow.h \
	      gui/editserverdialog.cpp \
	      gui/editserverdialog.h \
	      gui/emotepopup.cpp \
	      gui/emotepopup.h \
	      gui/equipmentwindow.cpp \
	      gui/equipmentwindow.h \
	      gui/focushandler.cpp \
	      gui/focushandler.h \
	      gui/gui.cpp \
	      gui/gui.h \
	      gui/helpwindow.cpp \
	      gui/helpwindow.h \
	      gui/inventorywindow.cpp \
	      gui/inventorywindow.h \
	      gui/itemamountwindow.cpp \
	      gui/itemamountwindow.h \
	      gui/itempopup.cpp \
	      gui/itempopup.h \
	      gui/spellpopup.cpp \
	      gui/spellpopup.h \
	      gui/statuspopup.cpp \
	      gui/statuspopup.h \
	      gui/killstats.cpp \
	      gui/killstats.h \
	      gui/logindialog.cpp \
	      gui/logindialog.h \
	      gui/minimap.cpp \
	      gui/minimap.h \
	      gui/ministatuswindow.cpp \
	      gui/ministatuswindow.h \
	      gui/npcdialog.cpp \
	      gui/npcdialog.h \
	      gui/npcpostdialog.cpp \
	      gui/npcpostdialog.h \
	      gui/okdialog.cpp \
	      gui/okdialog.h \
	      gui/editdialog.cpp \
	      gui/editdialog.h \
	      gui/outfitwindow.cpp \
	      gui/outfitwindow.h \
	      gui/botcheckerwindow.cpp \
	      gui/botcheckerwindow.h \
	      gui/textcommandeditor.cpp \
	      gui/textcommandeditor.h \
	      gui/palette.cpp \
	      gui/palette.h \
	      gui/popupmenu.cpp \
	      gui/popupmenu.h \
	      gui/quitdialog.cpp \
	      gui/quitdialog.h \
	      gui/register.cpp \
	      gui/register.h \
	      gui/sdlinput.cpp \
	      gui/sdlinput.h \
	      gui/selldialog.cpp \
	      gui/selldialog.h \
	      gui/serverdialog.cpp \
	      gui/serverdialog.h \
	      gui/setup.cpp \
	      gui/setup.h \
	      gui/setup_audio.cpp \
	      gui/setup_audio.h \
	      gui/setup_colors.cpp \
	      gui/setup_colors.h \
	      gui/setup_joystick.cpp \
	      gui/setup_joystick.h \
	      gui/setup_other.cpp \
	      gui/setup_other.h \
	      gui/setup_theme.cpp \
	      gui/setup_theme.h \
	      gui/setup_chat.cpp \
	      gui/setup_chat.h \
	      gui/setup_input.cpp \
	      gui/setup_input.h \
	      gui/setup_perfomance.cpp \
	      gui/setup_perfomance.h \
	      gui/setup_players.cpp \
	      gui/setup_players.h \
	      gui/setup_relations.cpp \
	      gui/setup_relations.h \
	      gui/setup_video.cpp \
	      gui/setup_video.h \
	      gui/setup_visual.cpp \
	      gui/setup_visual.h \
	      gui/setupactiondata.h \
	      gui/sdlfont.cpp \
	      gui/sdlfont.h \
	      gui/shopwindow.cpp \
	      gui/shopwindow.h \
	      gui/shortcutwindow.cpp \
	      gui/shortcutwindow.h \
	      gui/skilldialog.cpp \
	      gui/skilldialog.h \
	      gui/socialwindow.cpp \
	      gui/socialwindow.h \
	      gui/speechbubble.cpp \
	      gui/speechbubble.h \
	      gui/specialswindow.cpp \
	      gui/specialswindow.h \
	      gui/statuswindow.cpp \
	      gui/statuswindow.h \
	      gui/textdialog.cpp \
	      gui/textdialog.h \
	      gui/textpopup.cpp \
	      gui/textpopup.h \
	      gui/theme.cpp \
	      gui/theme.h \
	      gui/tradewindow.cpp \
	      gui/tradewindow.h \
	      gui/unregisterdialog.cpp \
	      gui/unregisterdialog.h \
	      gui/updaterwindow.cpp \
	      gui/updaterwindow.h \
	      gui/userpalette.cpp \
	      gui/userpalette.h \
	      gui/viewport.cpp \
	      gui/viewport.h \
	      gui/whoisonline.cpp \
	      gui/whoisonline.h \
	      gui/windowmenu.cpp \
	      gui/windowmenu.h \
	      gui/worldselectdialog.cpp \
	      gui/worldselectdialog.h \
	      net/adminhandler.h \
	      net/beinghandler.h \
	      net/buysellhandler.h \
	      net/charhandler.cpp \
	      net/charhandler.h \
	      net/chathandler.h \
	      net/download.cpp \
	      net/download.h \
	      net/gamehandler.h \
	      net/generalhandler.h \
	      net/guildhandler.h \
	      net/inventoryhandler.h \
	      net/logindata.h \
	      net/loginhandler.h \
	      net/messagehandler.h \
	      net/messagein.cpp \
	      net/messagein.h \
	      net/messageout.cpp \
	      net/messageout.h \
	      net/net.cpp \
	      net/net.h \
	      net/npchandler.h \
	      net/partyhandler.h \
	      net/playerhandler.h \
	      net/serverinfo.h \
	      net/specialhandler.h \
	      net/tradehandler.h \
	      net/worldinfo.h \
	      net/packetcounters.cpp \
	      net/packetcounters.h \
	      resources/action.cpp \
	      resources/action.h \
	      resources/ambientlayer.cpp \
	      resources/ambientlayer.h \
	      resources/animation.cpp \
	      resources/animation.h \
	      resources/beinginfo.cpp \
	      resources/beinginfo.h \
	      resources/chardb.cpp \
	      resources/chardb.h \
	      resources/colordb.cpp \
	      resources/colordb.h \
	      resources/dye.cpp \
	      resources/dye.h \
	      resources/emotedb.cpp \
	      resources/emotedb.h \
	      resources/image.cpp \
	      resources/image.h \
	      resources/imageloader.cpp \
	      resources/imageloader.h \
	      resources/imageset.h \
	      resources/imageset.cpp \
	      resources/imagewriter.cpp \
	      resources/imagewriter.h \
	      resources/itemdb.cpp \
	      resources/itemdb.h \
	      resources/iteminfo.h \
	      resources/iteminfo.cpp \
	      resources/mapdb.cpp \
	      resources/mapdb.h \
	      resources/mapreader.cpp \
	      resources/mapreader.h \
	      resources/monsterdb.cpp \
	      resources/monsterdb.h \
	      resources/music.cpp \
	      resources/music.h \
	      resources/npcdb.cpp \
	      resources/npcdb.h \
	      resources/resource.cpp \
	      resources/resource.h \
	      resources/resourcemanager.cpp \
	      resources/resourcemanager.h \
	      resources/soundeffect.h \
	      resources/soundeffect.cpp \
	      resources/specialdb.cpp \
	      resources/specialdb.h \
	      resources/spritedef.h \
	      resources/spritedef.cpp \
	      resources/wallpaper.cpp \
	      resources/wallpaper.h \
	      utils/translation/podict.cpp \
	      utils/translation/podict.h \
	      utils/translation/poparser.cpp \
	      utils/translation/poparser.h \
	      utils/translation/translationmanager.cpp \
	      utils/translation/translationmanager.h \
	      utils/base64.cpp \
	      utils/base64.h \
	      utils/checkutils.cpp \
	      utils/checkutils.h \
	      utils/copynpaste.cpp \
	      utils/copynpaste.h \
	      utils/dtor.h \
	      utils/gettext.h \
	      utils/langs.cpp \
	      utils/langs.h \
	      utils/mathutils.h \
	      utils/mkdir.cpp \
	      utils/mkdir.h \
	      utils/paths.cpp \
	      utils/paths.h \
	      utils/physfsrwops.cpp \
	      utils/physfsrwops.h \
	      utils/process.cpp \
	      utils/process.h \
	      utils/specialfolder.cpp \
	      utils/specialfolder.h \
	      utils/stringutils.cpp \
	      utils/stringutils.h \
	      utils/stringvector.h \
	      utils/mutex.h \
	      utils/xml.cpp \
	      utils/xml.h \
	      test/testlauncher.cpp \
	      test/testlauncher.h \
	      test/testmain.cpp \
	      test/testmain.h \
	      actionmanager.cpp \
	      actionmanager.h \
	      actor.cpp \
	      actor.h \
	      actorsprite.cpp \
	      actorsprite.h \
	      actorspritelistener.h \
	      actorspritemanager.cpp \
	      actorspritemanager.h \
	      animatedsprite.cpp \
	      animatedsprite.h \
	      animationparticle.cpp \
	      animationparticle.h \
	      auctionmanager.cpp \
	      auctionmanager.h \
	      avatar.cpp \
	      avatar.h \
	      being.cpp \
	      being.h \
	      spellmanager.cpp \
	      spellmanager.h \
	      chatlogger.cpp \
	      chatlogger.h \
	      client.cpp \
	      client.h \
	      channel.cpp \
	      channel.h \
	      channelmanager.cpp \
	      channelmanager.h \
	      commandhandler.cpp \
	      commandhandler.h \
	      compoundsprite.cpp \
	      compoundsprite.h \
	      configlistener.h \
	      configuration.cpp \
	      configuration.h \
	      debug.h \
	      defaults.cpp \
	      defaults.h \
	      depricatedevent.cpp \
	      depricatedevent.h \
	      effectmanager.cpp \
	      effectmanager.h \
	      emoteshortcut.cpp \
	      emoteshortcut.h \
	      equipment.h \
	      flooritem.cpp \
	      flooritem.h \
	      game.cpp \
	      game.h \
	      graphics.cpp \
	      graphics.h \
	      graphicsvertexes.cpp \
	      graphicsvertexes.h \
	      guichanfwd.h \
	      guild.cpp \
	      guild.h \
	      guildmanager.cpp \
	      guildmanager.h \
	      imageparticle.cpp \
	      imageparticle.h \
	      imagesprite.cpp \
	      imagesprite.h \
	      inventory.cpp \
	      inventory.h \
	      item.cpp \
	      item.h \
	      itemshortcut.cpp \
	      itemshortcut.h \
	      dropshortcut.cpp \
	      dropshortcut.h \
	      spellshortcut.cpp \
	      spellshortcut.h \
	      textcommand.cpp \
	      textcommand.h \
	      inputevent.cpp \
	      inputevent.h \
	      inputmanager.cpp \
	      inputmanager.h \
	      joystick.cpp \
	      joystick.h \
	      keyboardconfig.cpp \
	      keyboardconfig.h \
	      keyboarddata.h \
	      keydata.h \
	      keyevent.cpp \
	      keyevent.h \
	      keyinput.cpp \
	      keyinput.h \
	      listener.cpp \
	      listener.h \
	      localconsts.h \
	      localplayer.cpp \
	      localplayer.h \
	      logger.cpp \
	      logger.h \
	      main.cpp \
	      main.h \
	      map.cpp \
	      map.h \
	      maplayer.cpp \
	      maplayer.h \
	      opengl1graphics.cpp\
	      opengl1graphics.h \
	      openglgraphics.cpp\
	      openglgraphics.h \
	      particle.cpp \
	      particle.h \
	      particlecontainer.cpp \
	      particlecontainer.h \
	      particleemitter.cpp \
	      particleemitter.h \
	      particleemitterprop.h \
	      party.cpp \
	      party.h \
	      playerinfo.cpp \
	      playerinfo.h \
	      playerrelations.cpp \
	      playerrelations.h \
	      position.cpp \
	      position.h \
	      properties.h \
	      rotationalparticle.cpp \
	      rotationalparticle.h \
	      shopitem.cpp \
	      shopitem.h \
	      simpleanimation.cpp \
	      simpleanimation.h \
	      sound.cpp \
	      sound.h \
	      sprite.h \
	      statuseffect.cpp \
	      statuseffect.h \
	      text.cpp \
	      text.h \
	      textmanager.cpp \
	      textmanager.h \
	      textparticle.cpp \
	      textparticle.h \
	      textrenderer.h \
	      tileset.h \
	      units.cpp \
	      units.h \
	      variabledata.h \
	      vector.cpp \
	      vector.h \
	      winver.h

if ENABLE_MANASERV
manaplus_CXXFLAGS += -DMANASERV_SUPPORT
manaplus_SOURCES += enet/callbacks.c \
	      enet/compress.c \
	      enet/host.c \
	      enet/list.c \
	      enet/packet.c \
	      enet/peer.c \
	      enet/protocol.c \
	      enet/unix.c \
	      enet/win32.c \
	      enet/callbacks.h \
	      enet/enet.h \
	      enet/list.h \
	      enet/protocol.h \
	      enet/time.h \
	      enet/types.h \
	      enet/unix.h \
	      enet/utility.h \
	      enet/win32.h \
	      utils/sha256.cpp \
	      utils/sha256.h \
	      net/manaserv/attributes.cpp \
	      net/manaserv/attributes.h \
	      net/manaserv/adminhandler.cpp \
	      net/manaserv/adminhandler.h \
	      net/manaserv/beinghandler.cpp \
	      net/manaserv/beinghandler.h \
	      net/manaserv/buysellhandler.cpp \
	      net/manaserv/buysellhandler.h \
	      net/manaserv/charhandler.cpp \
	      net/manaserv/charhandler.h \
	      net/manaserv/chathandler.cpp \
	      net/manaserv/chathandler.h \
	      net/manaserv/connection.cpp \
	      net/manaserv/connection.h \
	      net/manaserv/defines.h \
	      net/manaserv/effecthandler.cpp \
	      net/manaserv/effecthandler.h \
	      net/manaserv/gamehandler.cpp \
	      net/manaserv/gamehandler.h \
	      net/manaserv/generalhandler.cpp \
	      net/manaserv/generalhandler.h \
	      net/manaserv/guildhandler.cpp \
	      net/manaserv/guildhandler.h \
	      net/manaserv/internal.cpp \
	      net/manaserv/internal.h \
	      net/manaserv/inventoryhandler.cpp \
	      net/manaserv/inventoryhandler.h \
	      net/manaserv/itemhandler.h \
	      net/manaserv/itemhandler.cpp \
	      net/manaserv/loginhandler.cpp \
	      net/manaserv/loginhandler.h \
	      net/manaserv/messagehandler.cpp \
	      net/manaserv/messagehandler.h \
	      net/manaserv/messagein.cpp \
	      net/manaserv/messagein.h \
	      net/manaserv/messageout.cpp \
	      net/manaserv/messageout.h \
	      net/manaserv/network.cpp \
	      net/manaserv/network.h \
	      net/manaserv/npchandler.cpp \
	      net/manaserv/npchandler.h \
	      net/manaserv/partyhandler.cpp \
	      net/manaserv/partyhandler.h \
	      net/manaserv/playerhandler.cpp \
	      net/manaserv/playerhandler.h \
	      net/manaserv/protocol.h \
	      net/manaserv/specialhandler.cpp \
	      net/manaserv/specialhandler.h \
	      net/manaserv/tradehandler.cpp \
	      net/manaserv/tradehandler.h
endif

manaplus_SOURCES += \
	      net/ea/gui/guildtab.cpp \
	      net/ea/gui/guildtab.h \
	      net/ea/gui/partytab.cpp \
	      net/ea/gui/partytab.h \
	      net/ea/adminhandler.cpp \
	      net/ea/adminhandler.h \
	      net/ea/beinghandler.cpp \
	      net/ea/beinghandler.h \
	      net/ea/buysellhandler.cpp \
	      net/ea/buysellhandler.h \
	      net/ea/charserverhandler.cpp \
	      net/ea/charserverhandler.h \
	      net/ea/chathandler.cpp \
	      net/ea/chathandler.h \
	      net/ea/eaprotocol.h \
	      net/ea/gamehandler.cpp \
	      net/ea/gamehandler.h \
	      net/ea/guildhandler.cpp \
	      net/ea/guildhandler.h \
	      net/ea/inventoryhandler.cpp \
	      net/ea/inventoryhandler.h \
	      net/ea/itemhandler.cpp \
	      net/ea/itemhandler.h \
	      net/ea/loginhandler.cpp \
	      net/ea/loginhandler.h \
	      net/ea/npchandler.cpp \
	      net/ea/npchandler.h \
	      net/ea/partyhandler.cpp \
	      net/ea/partyhandler.h \
	      net/ea/playerhandler.cpp \
	      net/ea/playerhandler.h \
	      net/ea/specialhandler.cpp \
	      net/ea/specialhandler.h \
	      net/ea/token.h \
	      net/ea/tradehandler.cpp \
	      net/ea/tradehandler.h \
	      net/tmwa/gui/guildtab.cpp \
	      net/tmwa/gui/guildtab.h \
	      net/tmwa/gui/partytab.cpp \
	      net/tmwa/gui/partytab.h \
	      net/tmwa/adminhandler.cpp \
	      net/tmwa/adminhandler.h \
	      net/tmwa/beinghandler.cpp \
	      net/tmwa/beinghandler.h \
	      net/tmwa/buysellhandler.cpp \
	      net/tmwa/buysellhandler.h \
	      net/tmwa/charserverhandler.cpp \
	      net/tmwa/charserverhandler.h \
	      net/tmwa/chathandler.cpp \
	      net/tmwa/chathandler.h \
	      net/tmwa/gamehandler.cpp \
	      net/tmwa/gamehandler.h \
	      net/tmwa/generalhandler.cpp \
	      net/tmwa/generalhandler.h \
	      net/tmwa/guildhandler.cpp \
	      net/tmwa/guildhandler.h \
	      net/tmwa/inventoryhandler.cpp \
	      net/tmwa/inventoryhandler.h \
	      net/tmwa/itemhandler.cpp \
	      net/tmwa/itemhandler.h \
	      net/tmwa/loginhandler.cpp \
	      net/tmwa/loginhandler.h \
	      net/tmwa/messagehandler.cpp \
	      net/tmwa/messagehandler.h \
	      net/tmwa/messagein.cpp \
	      net/tmwa/messagein.h \
	      net/tmwa/messageout.cpp \
	      net/tmwa/messageout.h \
	      net/tmwa/network.cpp \
	      net/tmwa/network.h \
	      net/tmwa/npchandler.cpp \
	      net/tmwa/npchandler.h \
	      net/tmwa/partyhandler.cpp \
	      net/tmwa/partyhandler.h \
	      net/tmwa/playerhandler.cpp \
	      net/tmwa/playerhandler.h \
	      net/tmwa/protocol.h \
	      net/tmwa/specialhandler.cpp \
	      net/tmwa/specialhandler.h \
	      net/tmwa/tradehandler.cpp \
	      net/tmwa/tradehandler.h

manaplus_SOURCES += \
	      mumblemanager.cpp \
	      mumblemanager.h

if ENABLE_UNITTESTS
manaplus_CXXFLAGS += -DUNITTESTS
manaplus_SOURCES += \
	      gui/widgets/browserbox_unittest.cc \
	      utils/stringutils_unittest.cc
endif

EXTRA_DIST = CMakeLists.txt \
	     winver.h.in \
	     enet/ChangeLog \
	     enet/design.txt \
	     enet/LICENSE \
	     enet/README \
	     manaplus.rc \
	     SDLMain.h \
	     SDLMain.m

# set the include path found by configure
INCLUDES = $(all_includes)