8092
|
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/pagenettype.h \
|
|
31 |
../QTfrontend/ui/page/pageingame.h \
|
|
32 |
../QTfrontend/ui/page/pageadmin.h \
|
|
33 |
../QTfrontend/ui/page/pagescheme.h \
|
|
34 |
../QTfrontend/ui/page/pagemultiplayer.h \
|
|
35 |
../QTfrontend/ui/page/pageplayrecord.h \
|
|
36 |
../QTfrontend/ui/page/pagemain.h \
|
|
37 |
../QTfrontend/ui/page/pageoptions.h \
|
|
38 |
../QTfrontend/ui/page/pagenetgame.h \
|
|
39 |
../QTfrontend/ui/page/pageeditteam.h \
|
|
40 |
../QTfrontend/ui/page/pageconnecting.h \
|
|
41 |
../QTfrontend/ui/page/pageroomslist.h \
|
|
42 |
../QTfrontend/ui/page/pagenet.h \
|
|
43 |
../QTfrontend/ui/page/pagecampaign.h \
|
|
44 |
../QTfrontend/ui/page/pageinfo.h \
|
|
45 |
../QTfrontend/ui/page/pagenetserver.h \
|
|
46 |
../QTfrontend/ui/page/pagegamestats.h \
|
|
47 |
../QTfrontend/ui/dialog/input_ip.h \
|
|
48 |
../QTfrontend/ui/qaspectratiolayout.h \
|
|
49 |
../QTfrontend/ui/widget/bgwidget.h \
|
|
50 |
../QTfrontend/ui/widget/fpsedit.h \
|
|
51 |
../QTfrontend/ui/widget/FreqSpinBox.h \
|
|
52 |
../QTfrontend/ui/widget/igbox.h \
|
|
53 |
../QTfrontend/ui/widget/chatwidget.h \
|
|
54 |
../QTfrontend/ui/widget/togglebutton.h \
|
|
55 |
../QTfrontend/ui/widget/SquareLabel.h \
|
|
56 |
../QTfrontend/ui/widget/itemNum.h \
|
|
57 |
../QTfrontend/ui/widget/frameTeam.h \
|
|
58 |
../QTfrontend/ui/widget/teamselect.h \
|
|
59 |
../QTfrontend/ui/widget/vertScrollArea.h \
|
|
60 |
../QTfrontend/ui/widget/about.h \
|
|
61 |
../QTfrontend/ui/widget/teamselhelper.h \
|
|
62 |
../QTfrontend/ui/widget/drawmapwidget.h \
|
|
63 |
../QTfrontend/ui/widget/databrowser.h \
|
|
64 |
../QTfrontend/ui/widget/hedgehogerWidget.h \
|
|
65 |
../QTfrontend/ui/widget/selectWeapon.h \
|
|
66 |
../QTfrontend/ui/widget/weaponItem.h \
|
|
67 |
../QTfrontend/ui/widget/gamecfgwidget.h \
|
|
68 |
../QTfrontend/ui/widget/mapContainer.h \
|
|
69 |
../QTfrontend/ui/widget/HistoryLineEdit.h \
|
|
70 |
../QTfrontend/ui/widget/SmartLineEdit.h \
|
|
71 |
../QTfrontend/util/DataManager.h \
|
|
72 |
../QTfrontend/net/netregister.h \
|
|
73 |
../QTfrontend/net/netserver.h \
|
|
74 |
../QTfrontend/net/netudpwidget.h \
|
|
75 |
../QTfrontend/net/tcpBase.h \
|
|
76 |
../QTfrontend/net/proto.h \
|
|
77 |
../QTfrontend/net/newnetclient.h \
|
|
78 |
../QTfrontend/net/netudpserver.h \
|
|
79 |
../QTfrontend/net/hwmap.h \
|
|
80 |
../QTfrontend/util/namegen.h \
|
|
81 |
../QTfrontend/ui/page/AbstractPage.h \
|
|
82 |
../QTfrontend/drawmapscene.h \
|
|
83 |
../QTfrontend/game.h \
|
|
84 |
../QTfrontend/gameuiconfig.h \
|
|
85 |
../QTfrontend/HWApplication.h \
|
|
86 |
../QTfrontend/hwform.h \
|
|
87 |
../QTfrontend/util/SDLInteraction.h \
|
|
88 |
../QTfrontend/team.h \
|
|
89 |
../QTfrontend/achievements.h \
|
|
90 |
../QTfrontend/binds.h \
|
|
91 |
../QTfrontend/ui_hwform.h \
|
|
92 |
../QTfrontend/KB.h \
|
|
93 |
../QTfrontend/hwconsts.h \
|
|
94 |
../QTfrontend/sdlkeys.h \
|
|
95 |
../QTfrontend/ui/mouseoverfilter.h \
|
|
96 |
../QTfrontend/ui/qpushbuttonwithsound.h \
|
|
97 |
../QTfrontend/ui/widget/qpushbuttonwithsound.h \
|
|
98 |
../QTfrontend/ui/page/pagefeedback.h \
|
|
99 |
../QTfrontend/model/roomslistmodel.h \
|
|
100 |
../QTfrontend/ui/dialog/input_password.h \
|
|
101 |
../QTfrontend/ui/widget/colorwidget.h \
|
|
102 |
../QTfrontend/model/HatModel.h \
|
|
103 |
../QTfrontend/model/GameStyleModel.h \
|
|
104 |
../QTfrontend/ui/page/pagevideos.h \
|
|
105 |
../QTfrontend/net/recorder.h \
|
|
106 |
../QTfrontend/ui/dialog/ask_quit.h \
|
|
107 |
../QTfrontend/ui/dialog/upload_video.h \
|
|
108 |
../QTfrontend/campaign.h \
|
|
109 |
../QTfrontend/model/playerslistmodel.h \
|
|
110 |
../QTfrontend/util/LibavInteraction.h \
|
|
111 |
../QTfrontend/util/FileEngine.h \
|
|
112 |
../QTfrontend/util/frontlibpoller.h
|
|
113 |
|
|
114 |
|
|
115 |
SOURCES += ../QTfrontend/model/ammoSchemeModel.cpp \
|
|
116 |
../QTfrontend/model/MapModel.cpp \
|
|
117 |
../QTfrontend/model/ThemeModel.cpp \
|
|
118 |
../QTfrontend/model/netserverslist.cpp \
|
|
119 |
../QTfrontend/ui/qaspectratiolayout.cpp \
|
|
120 |
../QTfrontend/ui/page/pagemain.cpp \
|
|
121 |
../QTfrontend/ui/page/pagetraining.cpp \
|
|
122 |
../QTfrontend/ui/page/pageroomslist.cpp \
|
|
123 |
../QTfrontend/ui/page/pagemultiplayer.cpp \
|
|
124 |
../QTfrontend/ui/page/pagegamestats.cpp \
|
|
125 |
../QTfrontend/ui/page/pagenettype.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 \
|
|
204 |
../QTfrontend/util/frontlibpoller.cpp
|
|
205 |
|
|
206 |
|
|
207 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ar.ts \
|
|
208 |
../share/hedgewars/Data/Locale/hedgewars_bg.ts \
|
|
209 |
../share/hedgewars/Data/Locale/hedgewars_cs.ts \
|
|
210 |
../share/hedgewars/Data/Locale/hedgewars_da.ts \
|
|
211 |
../share/hedgewars/Data/Locale/hedgewars_de.ts \
|
|
212 |
../share/hedgewars/Data/Locale/hedgewars_el.ts \
|
|
213 |
../share/hedgewars/Data/Locale/hedgewars_en.ts \
|
|
214 |
../share/hedgewars/Data/Locale/hedgewars_es.ts \
|
|
215 |
../share/hedgewars/Data/Locale/hedgewars_fi.ts \
|
|
216 |
../share/hedgewars/Data/Locale/hedgewars_fr.ts \
|
|
217 |
../share/hedgewars/Data/Locale/hedgewars_gl.ts \
|
|
218 |
../share/hedgewars/Data/Locale/hedgewars_hu.ts \
|
|
219 |
../share/hedgewars/Data/Locale/hedgewars_it.ts \
|
|
220 |
../share/hedgewars/Data/Locale/hedgewars_ja.ts \
|
|
221 |
../share/hedgewars/Data/Locale/hedgewars_ko.ts \
|
|
222 |
../share/hedgewars/Data/Locale/hedgewars_lt.ts \
|
|
223 |
../share/hedgewars/Data/Locale/hedgewars_ms.ts \
|
|
224 |
../share/hedgewars/Data/Locale/hedgewars_nl.ts \
|
|
225 |
../share/hedgewars/Data/Locale/hedgewars_pl.ts \
|
|
226 |
../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts \
|
|
227 |
../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts \
|
|
228 |
../share/hedgewars/Data/Locale/hedgewars_ro.ts \
|
|
229 |
../share/hedgewars/Data/Locale/hedgewars_ru.ts \
|
|
230 |
../share/hedgewars/Data/Locale/hedgewars_sk.ts \
|
|
231 |
../share/hedgewars/Data/Locale/hedgewars_sv.ts \
|
|
232 |
../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts \
|
|
233 |
../share/hedgewars/Data/Locale/hedgewars_uk.ts \
|
|
234 |
../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts \
|
|
235 |
../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts
|
|
236 |
|
|
237 |
RESOURCES += ../QTfrontend/hedgewars.qrc
|
|
238 |
|
8100
|
239 |
LIBS += -L../bin -lfrontlib -lphysfs
|
8092
|
240 |
|
|
241 |
macx {
|
|
242 |
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6
|
|
243 |
QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.6.sdk
|
|
244 |
|
|
245 |
OBJECTIVE_SOURCES += ../QTfrontend/*.m ../QTfrontend/*.mm
|
|
246 |
SOURCES += ../QTfrontend/AutoUpdater.cpp ../QTfrontend/InstallController.cpp \
|
|
247 |
../../build/QTfrontend/hwconsts.cpp
|
|
248 |
HEADERS += ../QTfrontend/M3InstallController.h ../QTfrontend/M3Panel.h \
|
|
249 |
../QTfrontend/NSWorkspace_RBAdditions.h ../QTfrontend/AutoUpdater.h \
|
|
250 |
../QTfrontend/CocoaInitializer.h ../QTfrontend/InstallController.h \
|
|
251 |
../QTfrontend/SparkleAutoUpdater.h
|
|
252 |
|
|
253 |
LIBS += -lobjc -framework AppKit -framework IOKit -framework Foundation -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED
|
|
254 |
INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers
|
|
255 |
CONFIG += warn_on x86
|
|
256 |
#CONFIG += x86 ppc x86_64 ppc64
|
|
257 |
}
|
|
258 |
|
|
259 |
win32 {
|
|
260 |
RC_FILE = ../QTfrontend/hedgewars.rc
|
|
261 |
SOURCES += ../QTfrontend/xfire.cpp
|
|
262 |
INCLUDEPATH += ../misc/winutils/include
|
|
263 |
LIBS += -L../misc/winutils/lib
|
|
264 |
}
|
|
265 |
|
|
266 |
!macx {
|
|
267 |
LIBS += -lSDL -lSDL_mixer -lSDL_net
|
|
268 |
!win32 {
|
|
269 |
INCLUDEPATH += /usr/local/include/SDL /usr/include/SDL
|
|
270 |
}
|
|
271 |
}
|
|
272 |
|
|
273 |
FORMS +=
|