7 INCLUDEPATH += ../QTfrontend/ui/widget |
7 INCLUDEPATH += ../QTfrontend/ui/widget |
8 INCLUDEPATH += ../QTfrontend/ui/page |
8 INCLUDEPATH += ../QTfrontend/ui/page |
9 INCLUDEPATH += ../QTfrontend/ui/dialog |
9 INCLUDEPATH += ../QTfrontend/ui/dialog |
10 INCLUDEPATH += ../QTfrontend/net |
10 INCLUDEPATH += ../QTfrontend/net |
11 INCLUDEPATH += ../QTfrontend/util |
11 INCLUDEPATH += ../QTfrontend/util |
12 INCLUDEPATH += /usr/local/include/SDL |
|
13 INCLUDEPATH += /usr/include/SDL |
|
14 INCLUDEPATH += ../misc/quazip/ |
12 INCLUDEPATH += ../misc/quazip/ |
15 |
13 |
16 DESTDIR = . |
14 DESTDIR = ../bin |
17 |
|
18 win32 { |
|
19 RC_FILE = ../QTfrontend/res/hedgewars.rc |
|
20 } |
|
21 |
15 |
22 QT += network |
16 QT += network |
23 QT += webkit |
17 QT += webkit |
24 |
18 |
25 HEADERS += ../QTfrontend/model/themesmodel.h \ |
19 HEADERS += ../QTfrontend/model/ThemeModel.h \ |
|
20 ../QTfrontend/model/MapModel.h \ |
26 ../QTfrontend/model/ammoSchemeModel.h \ |
21 ../QTfrontend/model/ammoSchemeModel.h \ |
27 ../QTfrontend/model/netserverslist.h \ |
22 ../QTfrontend/model/netserverslist.h \ |
28 ../QTfrontend/model/hats.h \ |
|
29 ../QTfrontend/ui/page/pagedrawmap.h \ |
23 ../QTfrontend/ui/page/pagedrawmap.h \ |
30 ../QTfrontend/ui/page/pagedata.h \ |
24 ../QTfrontend/ui/page/pagedata.h \ |
31 ../QTfrontend/ui/page/pagetraining.h \ |
25 ../QTfrontend/ui/page/pagetraining.h \ |
32 ../QTfrontend/ui/page/pageselectweapon.h \ |
26 ../QTfrontend/ui/page/pageselectweapon.h \ |
33 ../QTfrontend/ui/page/pagesingleplayer.h \ |
27 ../QTfrontend/ui/page/pagesingleplayer.h \ |
91 ../QTfrontend/util/SDLInteraction.h \ |
85 ../QTfrontend/util/SDLInteraction.h \ |
92 ../QTfrontend/team.h \ |
86 ../QTfrontend/team.h \ |
93 ../QTfrontend/achievements.h \ |
87 ../QTfrontend/achievements.h \ |
94 ../QTfrontend/binds.h \ |
88 ../QTfrontend/binds.h \ |
95 ../QTfrontend/ui_hwform.h \ |
89 ../QTfrontend/ui_hwform.h \ |
96 ../QTfrontend/KB.h \ |
90 ../QTfrontend/KB.h \ |
97 ../QTfrontend/hwconsts.h \ |
91 ../QTfrontend/hwconsts.h \ |
98 ../QTfrontend/sdlkeys.h |
92 ../QTfrontend/sdlkeys.h \ |
|
93 ../QTfrontend/ui/mouseoverfilter.h \ |
|
94 ../QTfrontend/ui/qpushbuttonwithsound.h \ |
|
95 ../QTfrontend/ui/widget/qpushbuttonwithsound.h \ |
|
96 ../QTfrontend/ui/page/pagefeedback.h \ |
|
97 ../QTfrontend/model/roomslistmodel.h \ |
|
98 ../QTfrontend/ui/dialog/input_password.h \ |
|
99 ../QTfrontend/ui/widget/colorwidget.h \ |
|
100 ../QTfrontend/model/HatModel.h \ |
|
101 ../QTfrontend/model/GameStyleModel.h \ |
|
102 ../QTfrontend/util/libav_iteraction.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 |
99 |
109 |
100 SOURCES += ../QTfrontend/model/ammoSchemeModel.cpp \ |
110 SOURCES += ../QTfrontend/model/ammoSchemeModel.cpp \ |
101 ../QTfrontend/model/themesmodel.cpp \ |
111 ../QTfrontend/model/MapModel.cpp \ |
102 ../QTfrontend/model/hats.cpp \ |
112 ../QTfrontend/model/ThemeModel.cpp \ |
103 ../QTfrontend/model/netserverslist.cpp \ |
113 ../QTfrontend/model/netserverslist.cpp \ |
104 ../QTfrontend/ui/qaspectratiolayout.cpp \ |
114 ../QTfrontend/ui/qaspectratiolayout.cpp \ |
105 ../QTfrontend/ui/page/pagemain.cpp \ |
115 ../QTfrontend/ui/page/pagemain.cpp \ |
106 ../QTfrontend/ui/page/pagetraining.cpp \ |
116 ../QTfrontend/ui/page/pagetraining.cpp \ |
107 ../QTfrontend/ui/page/pageroomslist.cpp \ |
117 ../QTfrontend/ui/page/pageroomslist.cpp \ |
167 ../QTfrontend/hwform.cpp \ |
177 ../QTfrontend/hwform.cpp \ |
168 ../QTfrontend/main.cpp \ |
178 ../QTfrontend/main.cpp \ |
169 ../QTfrontend/util/SDLInteraction.cpp \ |
179 ../QTfrontend/util/SDLInteraction.cpp \ |
170 ../QTfrontend/team.cpp \ |
180 ../QTfrontend/team.cpp \ |
171 ../QTfrontend/ui_hwform.cpp \ |
181 ../QTfrontend/ui_hwform.cpp \ |
172 ../QTfrontend/hwconsts.cpp |
182 ../QTfrontend/hwconsts.cpp \ |
|
183 ../QTfrontend/ui/mouseoverfilter.cpp \ |
|
184 ../QTfrontend/ui/widget/qpushbuttonwithsound.cpp \ |
|
185 ../QTfrontend/ui/page/pagefeedback.cpp \ |
|
186 ../QTfrontend/model/roomslistmodel.cpp \ |
|
187 ../QTfrontend/ui/dialog/input_password.cpp \ |
|
188 ../QTfrontend/ui/widget/colorwidget.cpp \ |
|
189 ../QTfrontend/model/HatModel.cpp \ |
|
190 ../QTfrontend/model/GameStyleModel.cpp \ |
|
191 ../QTfrontend/util/libav_iteraction.cpp \ |
|
192 ../QTfrontend/ui/page/pagevideos.cpp \ |
|
193 ../QTfrontend/net/recorder.cpp \ |
|
194 ../QTfrontend/ui/dialog/ask_quit.cpp \ |
|
195 ../QTfrontend/ui/dialog/upload_video.cpp \ |
|
196 ../QTfrontend/campaign.cpp \ |
|
197 ../QTfrontend/model/playerslistmodel.cpp |
|
198 |
|
199 |
|
200 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ar.ts \ |
|
201 ../share/hedgewars/Data/Locale/hedgewars_bg.ts \ |
|
202 ../share/hedgewars/Data/Locale/hedgewars_cs.ts \ |
|
203 ../share/hedgewars/Data/Locale/hedgewars_de.ts \ |
|
204 ../share/hedgewars/Data/Locale/hedgewars_en.ts \ |
|
205 ../share/hedgewars/Data/Locale/hedgewars_es.ts \ |
|
206 ../share/hedgewars/Data/Locale/hedgewars_fi.ts \ |
|
207 ../share/hedgewars/Data/Locale/hedgewars_fr.ts \ |
|
208 ../share/hedgewars/Data/Locale/hedgewars_hu.ts \ |
|
209 ../share/hedgewars/Data/Locale/hedgewars_it.ts \ |
|
210 ../share/hedgewars/Data/Locale/hedgewars_ja.ts \ |
|
211 ../share/hedgewars/Data/Locale/hedgewars_ko.ts \ |
|
212 ../share/hedgewars/Data/Locale/hedgewars_lt.ts \ |
|
213 ../share/hedgewars/Data/Locale/hedgewars_nl.ts \ |
|
214 ../share/hedgewars/Data/Locale/hedgewars_pl.ts \ |
|
215 ../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts \ |
|
216 ../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts \ |
|
217 ../share/hedgewars/Data/Locale/hedgewars_ru.ts \ |
|
218 ../share/hedgewars/Data/Locale/hedgewars_sk.ts \ |
|
219 ../share/hedgewars/Data/Locale/hedgewars_sv.ts \ |
|
220 ../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts \ |
|
221 ../share/hedgewars/Data/Locale/hedgewars_uk.ts \ |
|
222 ../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts \ |
|
223 ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts |
|
224 |
|
225 RESOURCES += ../QTfrontend/hedgewars.qrc |
|
226 |
|
227 LIBS += -L../bin -lquazip |
|
228 |
|
229 macx { |
|
230 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6 |
|
231 QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.6.sdk |
|
232 |
|
233 OBJECTIVE_SOURCES += ../QTfrontend/*.m ../QTfrontend/*.mm |
|
234 SOURCES += ../QTfrontend/AutoUpdater.cpp ../QTfrontend/InstallController.cpp \ |
|
235 ../../build/QTfrontend/hwconsts.cpp |
|
236 HEADERS += ../QTfrontend/M3InstallController.h ../QTfrontend/M3Panel.h \ |
|
237 ../QTfrontend/NSWorkspace_RBAdditions.h ../QTfrontend/AutoUpdater.h \ |
|
238 ../QTfrontend/CocoaInitializer.h ../QTfrontend/InstallController.h \ |
|
239 ../QTfrontend/SparkleAutoUpdater.h |
|
240 |
|
241 LIBS += -lobjc -framework AppKit -framework IOKit -framework Foundation -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED |
|
242 INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers |
|
243 CONFIG += warn_on x86 |
|
244 #CONFIG += x86 ppc x86_64 ppc64 |
|
245 } |
173 |
246 |
174 win32 { |
247 win32 { |
175 SOURCES += ../QTfrontend/xfire.cpp |
248 RC_FILE = ../QTfrontend/hedgewars.rc |
|
249 SOURCES += ../QTfrontend/xfire.cpp |
|
250 INCLUDEPATH += ../misc/winutils/include |
|
251 LIBS += -L../misc/winutils/lib |
176 } |
252 } |
177 |
253 |
178 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ar.ts |
|
179 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_bg.ts |
|
180 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_cs.ts |
|
181 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts |
|
182 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_en.ts |
|
183 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_es.ts |
|
184 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fi.ts |
|
185 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fr.ts |
|
186 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_hu.ts |
|
187 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_it.ts |
|
188 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ja.ts |
|
189 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ko.ts |
|
190 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_lt.ts |
|
191 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_nl.ts |
|
192 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pl.ts |
|
193 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts |
|
194 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts |
|
195 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ru.ts |
|
196 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sk.ts |
|
197 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sv.ts |
|
198 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts |
|
199 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_uk.ts |
|
200 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts |
|
201 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts |
|
202 |
|
203 RESOURCES += ../QTfrontend/hedgewars.qrc |
|
204 |
|
205 LIBS += -L../misc/quazip -lquazip |
|
206 |
|
207 !macx { |
254 !macx { |
208 LIBS += -lSDL -lSDL_mixer |
255 LIBS += -lSDL -lSDL_mixer |
209 } else { |
256 !win32 { |
210 QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6 |
257 INCLUDEPATH += /usr/local/include/SDL /usr/include/SDL |
211 QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.6.sdk |
258 } |
212 |
|
213 OBJECTIVE_SOURCES += ../QTfrontend/*.m ../QTfrontend/*.mm |
|
214 SOURCES += ../QTfrontend/AutoUpdater.cpp ../QTfrontend/InstallController.cpp \ |
|
215 ../../build/QTfrontend/hwconsts.cpp |
|
216 HEADERS += ../QTfrontend/M3InstallController.h ../QTfrontend/M3Panel.h \ |
|
217 ../QTfrontend/NSWorkspace_RBAdditions.h ../QTfrontend/AutoUpdater.h \ |
|
218 ../QTfrontend/CocoaInitializer.h ../QTfrontend/InstallController.h \ |
|
219 ../QTfrontend/SparkleAutoUpdater.h |
|
220 |
|
221 LIBS += -lobjc -framework AppKit -framework IOKit -framework Foundation -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED |
|
222 INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers |
|
223 CONFIG += warn_on x86 |
|
224 |
|
225 #CONFIG += x86 ppc x86_64 ppc64 |
|
226 } |
259 } |
|
260 |
|
261 FORMS += |