~ubuntu-branches/ubuntu/trusty/manaplus/trusty

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-11-18 15:19:44 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20131118151944-iyd93ut2rmxzp8gg
Tags: 1.3.11.10-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
AUTOMAKE_OPTIONS = subdir-objects
2
2
 
3
 
bin_PROGRAMS = manaplus
 
3
bin_PROGRAMS = manaplus dyecmd
4
4
 
5
5
manaplus_CXXFLAGS = -DPKG_DATADIR=\""$(pkgdatadir)/"\"      \
6
6
                -DLOCALEDIR=\""$(localedir)"\"           \
25
25
manaplus_SOURCES =
26
26
endif
27
27
 
 
28
if USE_INTERNALGUICHAN
 
29
dyecmd_CXXFLAGS = -I$(srcdir)/guichan/include -DUSE_INTERNALGUICHAN
 
30
dyecmd_SOURCES = guichan/actionevent.cpp \
 
31
              guichan/cliprectangle.cpp \
 
32
              guichan/color.cpp \
 
33
              guichan/event.cpp \
 
34
              guichan/exception.cpp \
 
35
              guichan/font.cpp \
 
36
              guichan/graphics.cpp \
 
37
              guichan/rectangle.cpp \
 
38
              guichan/widget.cpp \
 
39
              guichan/include/guichan/actionevent.hpp \
 
40
              guichan/include/guichan/cliprectangle.hpp \
 
41
              guichan/include/guichan/color.hpp \
 
42
              guichan/include/guichan/event.hpp \
 
43
              guichan/include/guichan/exception.hpp \
 
44
              guichan/include/guichan/font.hpp \
 
45
              guichan/include/guichan/graphics.hpp \
 
46
              guichan/include/guichan/rectangle.hpp \
 
47
              guichan/include/guichan/widget.hpp
 
48
else
 
49
dyecmd_CXXFLAGS =
 
50
dyecmd_SOURCES =
 
51
endif
 
52
 
 
53
dyecmd_SOURCES += dyetool/dyemain.cpp \
 
54
              animatedsprite.cpp \
 
55
              animatedsprite.h \
 
56
              animationdelayload.cpp \
 
57
              animationdelayload.h \
 
58
              configuration.cpp \
 
59
              configuration.h \
 
60
              graphicsmanager.cpp \
 
61
              graphicsmanager.h \
 
62
              graphicsvertexes.cpp \
 
63
              graphicsvertexes.h \
 
64
              logger.cpp \
 
65
              logger.h \
 
66
              navigationmanager.cpp \
 
67
              navigationmanager.h \
 
68
              walklayer.cpp \
 
69
              walklayer.h \
 
70
              render/graphics.cpp \
 
71
              render/graphics.h \
 
72
              render/renderers.cpp \
 
73
              render/renderers.h \
 
74
              render/sdl2softwaregraphics.cpp \
 
75
              render/sdl2softwaregraphics.h \
 
76
              render/sdl2graphics.cpp \
 
77
              render/sdl2graphics.h \
 
78
              render/sdlgraphics.cpp \
 
79
              render/sdlgraphics.h \
 
80
              resources/action.cpp \
 
81
              resources/action.h \
 
82
              resources/animation.cpp \
 
83
              resources/animation.h \
 
84
              resources/db/palettedb.cpp \
 
85
              resources/db/palettedb.h \
 
86
              resources/dye.cpp \
 
87
              resources/dye.h \
 
88
              resources/image.cpp \
 
89
              resources/image.h \
 
90
              resources/imagehelper.cpp \
 
91
              resources/imagehelper.h \
 
92
              resources/imageset.cpp \
 
93
              resources/imageset.h \
 
94
              resources/imagewriter.cpp \
 
95
              resources/imagewriter.h \
 
96
              resources/resource.cpp \
 
97
              resources/resource.h \
 
98
              resources/resourcemanager.cpp \
 
99
              resources/resourcemanager.h \
 
100
              resources/sdl2softwareimagehelper.cpp \
 
101
              resources/sdl2softwareimagehelper.h \
 
102
              resources/sdl2imagehelper.cpp \
 
103
              resources/sdl2imagehelper.h \
 
104
              resources/sdlimagehelper.cpp \
 
105
              resources/sdlimagehelper.h \
 
106
              resources/sdlmusic.cpp \
 
107
              resources/sdlmusic.h \
 
108
              resources/soundeffect.cpp \
 
109
              resources/soundeffect.h \
 
110
              resources/subimage.cpp \
 
111
              resources/subimage.h \
 
112
              resources/surfaceimagehelper.cpp \
 
113
              resources/surfaceimagehelper.h \
 
114
              resources/spritedef.cpp \
 
115
              resources/spritedef.h \
 
116
              utils/mkdir.cpp \
 
117
              utils/mkdir.h \
 
118
              utils/paths.cpp \
 
119
              utils/paths.h \
 
120
              utils/physfsrwops.cpp \
 
121
              utils/physfsrwops.h \
 
122
              utils/physfstools.cpp \
 
123
              utils/physfstools.h \
 
124
              utils/sdl2helper.cpp \
 
125
              utils/sdl2helper.h \
 
126
              utils/sdlhelper.cpp \
 
127
              utils/sdlhelper.h \
 
128
              utils/stringutils.cpp \
 
129
              utils/stringutils.h \
 
130
              utils/timer.cpp \
 
131
              utils/timer.h \
 
132
              utils/xml.cpp \
 
133
              utils/xml.h \
 
134
              utils/translation/podict.cpp \
 
135
              utils/translation/podict.h
 
136
 
28
137
if USE_MUMBLE
29
138
manaplus_CXXFLAGS += -DUSE_MUMBLE
30
139
endif
31
140
 
 
141
if ENABLE_CHECKS
 
142
manaplus_CXXFLAGS += -DENABLE_CHECKS
 
143
endif
 
144
 
32
145
if USE_SDL2
 
146
if USE_INTERNALSDLGFX
 
147
dyecmd_CXXFLAGS += -I$(srcdir)/sdl2gfx -DUSE_SDL2
 
148
dyecmd_SOURCES += sdl2gfx/SDL2_framerate.c \
 
149
              sdl2gfx/SDL2_framerate.h \
 
150
              sdl2gfx/SDL2_rotozoom.c \
 
151
              sdl2gfx/SDL2_rotozoom.h
 
152
 
33
153
manaplus_CXXFLAGS += -I$(srcdir)/sdl2gfx -DUSE_SDL2
34
 
manaplus_SOURCES += sdl2gfx/SDL_framerate.c \
35
 
              sdl2gfx/SDL_framerate.h \
36
 
              sdl2gfx/SDL_rotozoom.c \
37
 
              sdl2gfx/SDL_rotozoom.h
 
154
manaplus_SOURCES += sdl2gfx/SDL2_framerate.c \
 
155
              sdl2gfx/SDL2_framerate.h \
 
156
              sdl2gfx/SDL2_rotozoom.c \
 
157
              sdl2gfx/SDL2_rotozoom.h
 
158
endif
38
159
endif
39
160
 
40
161
if USE_INTERNALGUICHAN
430
551
              net/messageout.h \
431
552
              net/net.cpp \
432
553
              net/net.h \
 
554
              net/netconsts.h \
433
555
              net/npchandler.h \
434
556
              net/partyhandler.h \
435
557
              net/playerhandler.h \
473
595
              resources/image.h \
474
596
              resources/imagehelper.cpp \
475
597
              resources/imagehelper.h \
 
598
              resources/imageset.cpp \
476
599
              resources/imageset.h \
477
 
              resources/imageset.cpp \
478
600
              resources/imagewriter.cpp \
479
601
              resources/imagewriter.h \
480
602
              resources/db/itemdb.cpp \
568
690
              utils/stringutils.cpp \
569
691
              utils/stringutils.h \
570
692
              utils/stringvector.h \
 
693
              utils/timer.cpp \
 
694
              utils/timer.h \
571
695
              utils/mutex.h \
572
696
              utils/xml.cpp \
573
697
              utils/xml.h \
914
1038
              animatedsprite_unittest.cc \
915
1039
              gui/sdlfont_unittest.cc \
916
1040
              gui/widgets/browserbox_unittest.cc \
 
1041
              utils/files_unittest.cc \
917
1042
              utils/stringutils_unittest.cc \
918
1043
              resources/dye_unittest.cc
919
1044
endif