8157
|
1 |
TEMPLATE = app
|
|
2 |
TARGET = hedgewars
|
|
3 |
DEPENDPATH += ../QTfrontend/
|
|
4 |
INCLUDEPATH += ../QTfrontend
|
|
5 |
INCLUDEPATH += ../QTfrontend/model
|
|
6 |
INCLUDEPATH += ../QTfrontend/ui
|
|
7 |
INCLUDEPATH += ../QTfrontend/ui/widget
|
|
8 |
INCLUDEPATH += ../QTfrontend/ui/page
|
|
9 |
INCLUDEPATH += ../QTfrontend/ui/dialog
|
|
10 |
INCLUDEPATH += ../QTfrontend/net
|
|
11 |
INCLUDEPATH += ../QTfrontend/util
|
|
12 |
INCLUDEPATH += ../misc/physfs/src
|
|
13 |
INCLUDEPATH += ../misc/physfs/extras
|
|
14 |
INCLUDEPATH += ../project_files/frontlib
|
|
15 |
|
|
16 |
DESTDIR = ../bin
|
|
17 |
|
|
18 |
QT += network
|
|
19 |
QT += webkit
|
|
20 |
|
|
21 |
HEADERS += ../QTfrontend/model/ThemeModel.h \
|
|
22 |
../QTfrontend/model/MapModel.h \
|
|
23 |
../QTfrontend/model/ammoSchemeModel.h \
|
|
24 |
../QTfrontend/model/netserverslist.h \
|
|
25 |
../QTfrontend/ui/page/pagedrawmap.h \
|
|
26 |
../QTfrontend/ui/page/pagedata.h \
|
|
27 |
../QTfrontend/ui/page/pagetraining.h \
|
|
28 |
../QTfrontend/ui/page/pageselectweapon.h \
|
|
29 |
../QTfrontend/ui/page/pagesingleplayer.h \
|
|
30 |
../QTfrontend/ui/page/pageingame.h \
|
|
31 |
../QTfrontend/ui/page/pageadmin.h \
|
|
32 |
../QTfrontend/ui/page/pagescheme.h \
|
|
33 |
../QTfrontend/ui/page/pagemultiplayer.h \
|
|
34 |
../QTfrontend/ui/page/pageplayrecord.h \
|
|
35 |
../QTfrontend/ui/page/pagemain.h \
|
|
36 |
../QTfrontend/ui/page/pageoptions.h \
|
|
37 |
../QTfrontend/ui/page/pagenetgame.h \
|
|
38 |
../QTfrontend/ui/page/pageeditteam.h \
|
|
39 |
../QTfrontend/ui/page/pageconnecting.h \
|
|
40 |
../QTfrontend/ui/page/pageroomslist.h \
|
|
41 |
../QTfrontend/ui/page/pagenet.h \
|
|
42 |
../QTfrontend/ui/page/pagecampaign.h \
|
|
43 |
../QTfrontend/ui/page/pageinfo.h \
|
|
44 |
../QTfrontend/ui/page/pagenetserver.h \
|
|
45 |
../QTfrontend/ui/page/pagegamestats.h \
|
|
46 |
../QTfrontend/ui/dialog/input_ip.h \
|
|
47 |
../QTfrontend/ui/qaspectratiolayout.h \
|
|
48 |
../QTfrontend/ui/widget/bgwidget.h \
|
|
49 |
../QTfrontend/ui/widget/fpsedit.h \
|
|
50 |
../QTfrontend/ui/widget/FreqSpinBox.h \
|
|
51 |
../QTfrontend/ui/widget/igbox.h \
|
|
52 |
../QTfrontend/ui/widget/chatwidget.h \
|
|
53 |
../QTfrontend/ui/widget/togglebutton.h \
|
|
54 |
../QTfrontend/ui/widget/SquareLabel.h \
|
|
55 |
../QTfrontend/ui/widget/itemNum.h \
|
|
56 |
../QTfrontend/ui/widget/frameTeam.h \
|
|
57 |
../QTfrontend/ui/widget/teamselect.h \
|
|
58 |
../QTfrontend/ui/widget/vertScrollArea.h \
|
|
59 |
../QTfrontend/ui/widget/about.h \
|
|
60 |
../QTfrontend/ui/widget/teamselhelper.h \
|
|
61 |
../QTfrontend/ui/widget/drawmapwidget.h \
|
|
62 |
../QTfrontend/ui/widget/databrowser.h \
|
|
63 |
../QTfrontend/ui/widget/hedgehogerWidget.h \
|
|
64 |
../QTfrontend/ui/widget/selectWeapon.h \
|
|
65 |
../QTfrontend/ui/widget/weaponItem.h \
|
|
66 |
../QTfrontend/ui/widget/gamecfgwidget.h \
|
|
67 |
../QTfrontend/ui/widget/mapContainer.h \
|
|
68 |
../QTfrontend/ui/widget/HistoryLineEdit.h \
|
|
69 |
../QTfrontend/ui/widget/SmartLineEdit.h \
|
|
70 |
../QTfrontend/util/DataManager.h \
|
|
71 |
../QTfrontend/net/netregister.h \
|
|
72 |
../QTfrontend/net/netserver.h \
|
|
73 |
../QTfrontend/net/netudpwidget.h \
|
|
74 |
../QTfrontend/net/tcpBase.h \
|
|
75 |
../QTfrontend/net/proto.h \
|
|
76 |
../QTfrontend/net/newnetclient.h \
|
|
77 |
../QTfrontend/net/netudpserver.h \
|
|
78 |
../QTfrontend/net/hwmap.h \
|
|
79 |
../QTfrontend/util/namegen.h \
|
|
80 |
../QTfrontend/ui/page/AbstractPage.h \
|
|
81 |
../QTfrontend/drawmapscene.h \
|
|
82 |
../QTfrontend/game.h \
|
|
83 |
../QTfrontend/gameuiconfig.h \
|
|
84 |
../QTfrontend/HWApplication.h \
|
|
85 |
../QTfrontend/hwform.h \
|
|
86 |
../QTfrontend/util/SDLInteraction.h \
|
|
87 |
../QTfrontend/team.h \
|
|
88 |
../QTfrontend/achievements.h \
|
|
89 |
../QTfrontend/binds.h \
|
|
90 |
../QTfrontend/ui_hwform.h \
|
|
91 |
../QTfrontend/KB.h \
|
|
92 |
../QTfrontend/hwconsts.h \
|
|
93 |
../QTfrontend/sdlkeys.h \
|
|
94 |
../QTfrontend/ui/mouseoverfilter.h \
|
|
95 |
../QTfrontend/ui/qpushbuttonwithsound.h \
|
|
96 |
../QTfrontend/ui/widget/qpushbuttonwithsound.h \
|
|
97 |
../QTfrontend/ui/page/pagefeedback.h \
|
|
98 |
../QTfrontend/model/roomslistmodel.h \
|
|
99 |
../QTfrontend/ui/dialog/input_password.h \
|
|
100 |
../QTfrontend/ui/widget/colorwidget.h \
|
|
101 |
../QTfrontend/model/HatModel.h \
|
|
102 |
../QTfrontend/model/GameStyleModel.h \
|
|
103 |
../QTfrontend/ui/page/pagevideos.h \
|
|
104 |
../QTfrontend/net/recorder.h \
|
|
105 |
../QTfrontend/ui/dialog/ask_quit.h \
|
|
106 |
../QTfrontend/ui/dialog/upload_video.h \
|
|
107 |
../QTfrontend/campaign.h \
|
|
108 |
../QTfrontend/model/playerslistmodel.h \
|
|
109 |
../QTfrontend/util/LibavInteraction.h \
|
|
110 |
../QTfrontend/util/FileEngine.h \
|
8208
|
111 |
../QTfrontend/util/frontlibpoller.h \
|
8362
|
112 |
../QTfrontend/ui/dialog/bandialog.h \
|
|
113 |
../QTfrontend/ui/widget/keybinder.h
|
8157
|
114 |
|
|
115 |
|
|
116 |
SOURCES += ../QTfrontend/model/ammoSchemeModel.cpp \
|
|
117 |
../QTfrontend/model/MapModel.cpp \
|
|
118 |
../QTfrontend/model/ThemeModel.cpp \
|
|
119 |
../QTfrontend/model/netserverslist.cpp \
|
|
120 |
../QTfrontend/ui/qaspectratiolayout.cpp \
|
|
121 |
../QTfrontend/ui/page/pagemain.cpp \
|
|
122 |
../QTfrontend/ui/page/pagetraining.cpp \
|
|
123 |
../QTfrontend/ui/page/pageroomslist.cpp \
|
|
124 |
../QTfrontend/ui/page/pagemultiplayer.cpp \
|
|
125 |
../QTfrontend/ui/page/pagegamestats.cpp \
|
|
126 |
../QTfrontend/ui/page/pageeditteam.cpp \
|
|
127 |
../QTfrontend/ui/page/pagenetgame.cpp \
|
|
128 |
../QTfrontend/ui/page/pagedata.cpp \
|
|
129 |
../QTfrontend/ui/page/pagedrawmap.cpp \
|
|
130 |
../QTfrontend/ui/page/pageplayrecord.cpp \
|
|
131 |
../QTfrontend/ui/page/pageselectweapon.cpp \
|
|
132 |
../QTfrontend/ui/page/pageingame.cpp \
|
|
133 |
../QTfrontend/ui/page/pagenetserver.cpp \
|
|
134 |
../QTfrontend/ui/page/pagecampaign.cpp \
|
|
135 |
../QTfrontend/ui/page/pageadmin.cpp \
|
|
136 |
../QTfrontend/ui/page/pageinfo.cpp \
|
|
137 |
../QTfrontend/ui/page/pageconnecting.cpp \
|
|
138 |
../QTfrontend/ui/page/pagesingleplayer.cpp \
|
|
139 |
../QTfrontend/ui/page/pagenet.cpp \
|
|
140 |
../QTfrontend/ui/page/pagescheme.cpp \
|
|
141 |
../QTfrontend/ui/page/pageoptions.cpp \
|
|
142 |
../QTfrontend/ui/dialog/input_ip.cpp \
|
|
143 |
../QTfrontend/ui/widget/igbox.cpp \
|
|
144 |
../QTfrontend/ui/widget/selectWeapon.cpp \
|
|
145 |
../QTfrontend/ui/widget/FreqSpinBox.cpp \
|
|
146 |
../QTfrontend/ui/widget/SquareLabel.cpp \
|
|
147 |
../QTfrontend/ui/widget/frameTeam.cpp \
|
|
148 |
../QTfrontend/ui/widget/fpsedit.cpp \
|
|
149 |
../QTfrontend/ui/widget/databrowser.cpp \
|
|
150 |
../QTfrontend/ui/widget/teamselect.cpp \
|
|
151 |
../QTfrontend/ui/widget/gamecfgwidget.cpp \
|
|
152 |
../QTfrontend/ui/widget/chatwidget.cpp \
|
|
153 |
../QTfrontend/ui/widget/itemNum.cpp \
|
|
154 |
../QTfrontend/ui/widget/bgwidget.cpp \
|
|
155 |
../QTfrontend/ui/widget/about.cpp \
|
|
156 |
../QTfrontend/ui/widget/togglebutton.cpp \
|
|
157 |
../QTfrontend/ui/widget/vertScrollArea.cpp \
|
|
158 |
../QTfrontend/ui/widget/hedgehogerWidget.cpp \
|
|
159 |
../QTfrontend/ui/widget/teamselhelper.cpp \
|
|
160 |
../QTfrontend/ui/widget/drawmapwidget.cpp \
|
|
161 |
../QTfrontend/ui/widget/weaponItem.cpp \
|
|
162 |
../QTfrontend/ui/widget/mapContainer.cpp \
|
|
163 |
../QTfrontend/ui/widget/HistoryLineEdit.cpp \
|
|
164 |
../QTfrontend/ui/widget/SmartLineEdit.cpp \
|
|
165 |
../QTfrontend/util/DataManager.cpp \
|
|
166 |
../QTfrontend/net/tcpBase.cpp \
|
|
167 |
../QTfrontend/net/netregister.cpp \
|
|
168 |
../QTfrontend/net/proto.cpp \
|
|
169 |
../QTfrontend/net/hwmap.cpp \
|
|
170 |
../QTfrontend/net/netudpserver.cpp \
|
|
171 |
../QTfrontend/net/newnetclient.cpp \
|
|
172 |
../QTfrontend/net/netudpwidget.cpp \
|
|
173 |
../QTfrontend/net/netserver.cpp \
|
|
174 |
../QTfrontend/util/namegen.cpp \
|
|
175 |
../QTfrontend/ui/page/AbstractPage.cpp \
|
|
176 |
../QTfrontend/achievements.cpp \
|
|
177 |
../QTfrontend/binds.cpp \
|
|
178 |
../QTfrontend/drawmapscene.cpp \
|
|
179 |
../QTfrontend/game.cpp \
|
|
180 |
../QTfrontend/gameuiconfig.cpp \
|
|
181 |
../QTfrontend/HWApplication.cpp \
|
|
182 |
../QTfrontend/hwform.cpp \
|
|
183 |
../QTfrontend/main.cpp \
|
|
184 |
../QTfrontend/util/SDLInteraction.cpp \
|
|
185 |
../QTfrontend/team.cpp \
|
|
186 |
../QTfrontend/ui_hwform.cpp \
|
|
187 |
../QTfrontend/hwconsts.cpp \
|
|
188 |
../QTfrontend/ui/mouseoverfilter.cpp \
|
|
189 |
../QTfrontend/ui/widget/qpushbuttonwithsound.cpp \
|
|
190 |
../QTfrontend/ui/page/pagefeedback.cpp \
|
|
191 |
../QTfrontend/model/roomslistmodel.cpp \
|
|
192 |
../QTfrontend/ui/dialog/input_password.cpp \
|
|
193 |
../QTfrontend/ui/widget/colorwidget.cpp \
|
|
194 |
../QTfrontend/model/HatModel.cpp \
|
|
195 |
../QTfrontend/model/GameStyleModel.cpp \
|
|
196 |
../QTfrontend/ui/page/pagevideos.cpp \
|
|
197 |
../QTfrontend/net/recorder.cpp \
|
|
198 |
../QTfrontend/ui/dialog/ask_quit.cpp \
|
|
199 |
../QTfrontend/ui/dialog/upload_video.cpp \
|
|
200 |
../QTfrontend/campaign.cpp \
|
|
201 |
../QTfrontend/model/playerslistmodel.cpp \
|
|
202 |
../QTfrontend/util/LibavInteraction.cpp \
|
|
203 |
../QTfrontend/util/FileEngine.cpp \
|
8208
|
204 |
../QTfrontend/util/frontlibpoller.cpp \
|
8362
|
205 |
../QTfrontend/ui/dialog/bandialog.cpp \
|
|
206 |
../QTfrontend/ui/widget/keybinder.cpp
|
8157
|
207 |
|
|
208 |
|
|
209 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ar.ts \
|
|
210 |
../share/hedgewars/Data/Locale/hedgewars_bg.ts \
|
|
211 |
../share/hedgewars/Data/Locale/hedgewars_cs.ts \
|
|
212 |
../share/hedgewars/Data/Locale/hedgewars_da.ts \
|
|
213 |
../share/hedgewars/Data/Locale/hedgewars_de.ts \
|
|
214 |
../share/hedgewars/Data/Locale/hedgewars_el.ts \
|
|
215 |
../share/hedgewars/Data/Locale/hedgewars_en.ts \
|
|
216 |
../share/hedgewars/Data/Locale/hedgewars_es.ts \
|
|
217 |
../share/hedgewars/Data/Locale/hedgewars_fi.ts \
|
|
218 |
../share/hedgewars/Data/Locale/hedgewars_fr.ts \
|
|
219 |
../share/hedgewars/Data/Locale/hedgewars_gl.ts \
|
|
220 |
../share/hedgewars/Data/Locale/hedgewars_hu.ts \
|
|
221 |
../share/hedgewars/Data/Locale/hedgewars_it.ts \
|
|
222 |
../share/hedgewars/Data/Locale/hedgewars_ja.ts \
|
|
223 |
../share/hedgewars/Data/Locale/hedgewars_ko.ts \
|
|
224 |
../share/hedgewars/Data/Locale/hedgewars_lt.ts \
|
|
225 |
../share/hedgewars/Data/Locale/hedgewars_ms.ts \
|
|
226 |
../share/hedgewars/Data/Locale/hedgewars_nl.ts \
|
|
227 |
../share/hedgewars/Data/Locale/hedgewars_pl.ts \
|
|
228 |
../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts \
|
|
229 |
../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts \
|
|
230 |
../share/hedgewars/Data/Locale/hedgewars_ro.ts \
|
|
231 |
../share/hedgewars/Data/Locale/hedgewars_ru.ts \
|
|
232 |
../share/hedgewars/Data/Locale/hedgewars_sk.ts \
|
|
233 |
../share/hedgewars/Data/Locale/hedgewars_sv.ts \
|
|
234 |
../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts \
|
|
235 |
../share/hedgewars/Data/Locale/hedgewars_uk.ts \
|
|
236 |
../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts \
|
|
237 |
../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts
|
|
238 |
|
|
239 |
RESOURCES += ../QTfrontend/hedgewars.qrc
|
|
240 |
|
8100
|
241 |
LIBS += -L../bin -lfrontlib -lphysfs
|
8157
|
242 |
|
|
243 |
macx {
|
|
244 |
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6
|
|
245 |
QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.6.sdk
|
|
246 |
|
|
247 |
OBJECTIVE_SOURCES += ../QTfrontend/*.m ../QTfrontend/*.mm
|
|
248 |
SOURCES += ../QTfrontend/AutoUpdater.cpp ../QTfrontend/InstallController.cpp \
|
|
249 |
../../build/QTfrontend/hwconsts.cpp
|
|
250 |
HEADERS += ../QTfrontend/M3InstallController.h ../QTfrontend/M3Panel.h \
|
|
251 |
../QTfrontend/NSWorkspace_RBAdditions.h ../QTfrontend/AutoUpdater.h \
|
|
252 |
../QTfrontend/CocoaInitializer.h ../QTfrontend/InstallController.h \
|
|
253 |
../QTfrontend/SparkleAutoUpdater.h
|
|
254 |
|
|
255 |
LIBS += -lobjc -framework AppKit -framework IOKit -framework Foundation -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED
|
|
256 |
INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers
|
|
257 |
CONFIG += warn_on x86
|
|
258 |
#CONFIG += x86 ppc x86_64 ppc64
|
|
259 |
}
|
|
260 |
|
|
261 |
win32 {
|
|
262 |
RC_FILE = ../QTfrontend/hedgewars.rc
|
|
263 |
SOURCES += ../QTfrontend/xfire.cpp
|
|
264 |
INCLUDEPATH += ../misc/winutils/include
|
|
265 |
LIBS += -L../misc/winutils/lib
|
|
266 |
}
|
|
267 |
|
|
268 |
!macx {
|
|
269 |
LIBS += -lSDL -lSDL_mixer -lSDL_net
|
|
270 |
!win32 {
|
|
271 |
INCLUDEPATH += /usr/local/include/SDL /usr/include/SDL
|
|
272 |
}
|
|
273 |
}
|
|
274 |
|
|
275 |
FORMS +=
|