author | unc0rr |
Mon, 02 May 2011 18:39:11 +0400 | |
changeset 5198 | 6533e5450a21 |
parent 5094 | 9c3553254100 |
child 5268 | eedc0f8ed38b |
permissions | -rw-r--r-- |
2522 | 1 |
TEMPLATE = app |
2 |
TARGET = hedgewars |
|
3 |
DEPENDPATH += ../QTfrontend/ |
|
4 |
INCLUDEPATH += ../QTfrontend/ |
|
4878 | 5 |
INCLUDEPATH += /usr/local/include/SDL |
6 |
||
2522 | 7 |
DESTDIR = . |
8 |
||
9 |
win32 { |
|
10 |
RC_FILE = ../QTfrontend/res/hedgewars.rc |
|
11 |
} |
|
12 |
||
2525 | 13 |
QT += network |
2522 | 14 |
|
2546 | 15 |
HEADERS += ../QTfrontend/KB.h ../QTfrontend/SDLs.h \ |
16 |
../QTfrontend/SquareLabel.h ../QTfrontend/about.h \ |
|
17 |
../QTfrontend/ammoSchemeModel.h ../QTfrontend/bgwidget.h \ |
|
18 |
../QTfrontend/binds.h ../QTfrontend/chatwidget.h \ |
|
19 |
../QTfrontend/fpsedit.h ../QTfrontend/frameTeam.h \ |
|
20 |
../QTfrontend/game.h ../QTfrontend/gamecfgwidget.h \ |
|
21 |
../QTfrontend/gameuiconfig.h ../QTfrontend/hats.h \ |
|
22 |
../QTfrontend/hedgehogerWidget.h ../QTfrontend/hwconsts.h \ |
|
23 |
../QTfrontend/hwform.h ../QTfrontend/hwmap.h \ |
|
24 |
../QTfrontend/igbox.h ../QTfrontend/input_ip.h \ |
|
25 |
../QTfrontend/itemNum.h ../QTfrontend/mapContainer.h \ |
|
26 |
../QTfrontend/misc.h ../QTfrontend/namegen.h \ |
|
4878 | 27 |
../QTfrontend/netregister.h ../QTfrontend/netserver.h \ |
2546 | 28 |
../QTfrontend/netserverslist.h ../QTfrontend/netudpserver.h \ |
29 |
../QTfrontend/netudpwidget.h ../QTfrontend/newnetclient.h \ |
|
30 |
../QTfrontend/pages.h ../QTfrontend/playrecordpage.h \ |
|
4878 | 31 |
../QTfrontend/proto.h \ |
2546 | 32 |
../QTfrontend/sdlkeys.h ../QTfrontend/selectWeapon.h \ |
33 |
../QTfrontend/statsPage.h ../QTfrontend/tcpBase.h \ |
|
34 |
../QTfrontend/team.h ../QTfrontend/teamselect.h \ |
|
35 |
../QTfrontend/teamselhelper.h ../QTfrontend/togglebutton.h \ |
|
36 |
../QTfrontend/ui_hwform.h ../QTfrontend/vertScrollArea.h \ |
|
3344 | 37 |
../QTfrontend/weaponItem.h ../QTfrontend/xfire.h \ |
4878 | 38 |
../QTfrontend/achievements.h \ |
39 |
../QTfrontend/drawmapwidget.h \ |
|
40 |
../QTfrontend/drawmapscene.h \ |
|
41 |
../QTfrontend/qaspectratiolayout.h |
|
2543 | 42 |
|
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
43 |
SOURCES += ../QTfrontend/SDLs.cpp ../QTfrontend/SquareLabel.cpp \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
44 |
../QTfrontend/about.cpp ../QTfrontend/ammoSchemeModel.cpp \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
45 |
../QTfrontend/bgwidget.cpp ../QTfrontend/binds.cpp \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
46 |
../QTfrontend/chatwidget.cpp ../QTfrontend/fpsedit.cpp \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
47 |
../QTfrontend/frameTeam.cpp ../QTfrontend/game.cpp \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
48 |
../QTfrontend/gamecfgwidget.cpp ../QTfrontend/gameuiconfig.cpp \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
49 |
../QTfrontend/hats.cpp ../QTfrontend/hedgehogerWidget.cpp \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
50 |
../QTfrontend/hwform.cpp ../QTfrontend/hwmap.cpp \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
51 |
../QTfrontend/igbox.cpp ../QTfrontend/input_ip.cpp \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
52 |
../QTfrontend/itemNum.cpp ../QTfrontend/main.cpp \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
53 |
../QTfrontend/mapContainer.cpp ../QTfrontend/misc.cpp \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
54 |
../QTfrontend/namegen.cpp ../QTfrontend/netregister.cpp \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
55 |
../QTfrontend/netserver.cpp ../QTfrontend/netserverslist.cpp \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
56 |
../QTfrontend/netudpserver.cpp ../QTfrontend/netudpwidget.cpp \ |
5094 | 57 |
../QTfrontend/newnetclient.cpp \ |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
58 |
../QTfrontend/playrecordpage.cpp ../QTfrontend/proto.cpp \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
59 |
../QTfrontend/selectWeapon.cpp ../QTfrontend/statsPage.cpp \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
60 |
../QTfrontend/tcpBase.cpp ../QTfrontend/team.cpp \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
61 |
../QTfrontend/teamselect.cpp ../QTfrontend/teamselhelper.cpp \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
62 |
../QTfrontend/togglebutton.cpp ../QTfrontend/ui_hwform.cpp \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
63 |
../QTfrontend/vertScrollArea.cpp ../QTfrontend/weaponItem.cpp \ |
4878 | 64 |
../QTfrontend/achievements.cpp \ |
65 |
../QTfrontend/hwconsts.cpp \ |
|
66 |
../QTfrontend/drawmapwidget.cpp \ |
|
67 |
../QTfrontend/drawmapscene.cpp \ |
|
5094 | 68 |
../QTfrontend/qaspectratiolayout.cpp \ |
69 |
../QTfrontend/pagetraining.cpp \ |
|
70 |
../QTfrontend/pagesingleplayer.cpp \ |
|
71 |
../QTfrontend/pageselectweapon.cpp \ |
|
72 |
../QTfrontend/pagescheme.cpp \ |
|
73 |
../QTfrontend/pageroomslist.cpp \ |
|
74 |
../QTfrontend/pageoptions.cpp \ |
|
75 |
../QTfrontend/pagenettype.cpp \ |
|
76 |
../QTfrontend/pagenetserver.cpp \ |
|
77 |
../QTfrontend/pagenetgame.cpp \ |
|
78 |
../QTfrontend/pagenet.cpp \ |
|
79 |
../QTfrontend/pagemultiplayer.cpp \ |
|
80 |
../QTfrontend/pagemain.cpp \ |
|
81 |
../QTfrontend/pageingame.cpp \ |
|
82 |
../QTfrontend/pageinfo.cpp \ |
|
83 |
../QTfrontend/pageeditteam.cpp \ |
|
84 |
../QTfrontend/pagedrawmap.cpp \ |
|
85 |
../QTfrontend/pageconnecting.cpp \ |
|
86 |
../QTfrontend/pagecampaign.cpp \ |
|
87 |
../QTfrontend/pageadmin.cpp |
|
2822 | 88 |
|
89 |
win32 { |
|
3353
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
90 |
SOURCES += ../QTfrontend/xfire.cpp |
2822 | 91 |
} |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
92 |
|
4013
c9b20ed3566f
An initial arabic translation. The game engine strings, unfortunately, are not mirrored. A bug should probably be filed on that. It maybe necessary to actually flip the text texture generated by SDL.
circoficus
parents:
3918
diff
changeset
|
93 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ar.ts |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
94 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_bg.ts |
4013
c9b20ed3566f
An initial arabic translation. The game engine strings, unfortunately, are not mirrored. A bug should probably be filed on that. It maybe necessary to actually flip the text texture generated by SDL.
circoficus
parents:
3918
diff
changeset
|
95 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_cs.ts |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
96 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
97 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_en.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
98 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_es.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
99 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fi.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
100 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_fr.ts |
3918
916ed485daed
Update translations, add a hungarian stub for edge_hog who is volunteering
nemo
parents:
3353
diff
changeset
|
101 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_hu.ts |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
102 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_it.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
103 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ja.ts |
4707
1d3b19eabfe7
Add stubs for korean locale, now that we have a volunteer, update locale files
nemo
parents:
4418
diff
changeset
|
104 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ko.ts |
4418 | 105 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_nl.ts |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
106 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pl.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
107 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_BR.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
108 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_pt_PT.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
109 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_ru.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
110 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sk.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
111 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_sv.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
112 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_tr_TR.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
113 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_uk.ts |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
114 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_CN.ts |
2543 | 115 |
TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_zh_TW.ts |
116 |
||
2522 | 117 |
RESOURCES += ../QTfrontend/hedgewars.qrc |
118 |
||
119 |
!macx { |
|
4878 | 120 |
LIBS += -lSDL -lSDL_mixer |
2522 | 121 |
} else { |
3353
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
122 |
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.6 |
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
123 |
QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.6.sdk |
2522 | 124 |
|
3353
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
125 |
OBJECTIVE_SOURCES += ../QTfrontend/*.m ../QTfrontend/*.mm |
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
126 |
SOURCES += ../QTfrontend/AutoUpdater.cpp ../QTfrontend/InstallController.cpp \ |
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
127 |
../../build/QTfrontend/hwconsts.cpp |
2545
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
128 |
HEADERS += ../QTfrontend/M3InstallController.h ../QTfrontend/M3Panel.h \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
129 |
../QTfrontend/NSWorkspace_RBAdditions.h ../QTfrontend/AutoUpdater.h \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
130 |
../QTfrontend/CocoaInitializer.h ../QTfrontend/InstallController.h \ |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
131 |
../QTfrontend/SparkleAutoUpdater.h |
853fa5312886
update .pro file, lupdate and smaller italian translation
koda
parents:
2543
diff
changeset
|
132 |
|
3353
a767dd3786b5
OpenAL makes a comeback! (might require some cleanup)
koda
parents:
3344
diff
changeset
|
133 |
LIBS += -lobjc -framework AppKit -framework IOKit -framework Foundation -framework SDL -framework SDL_Mixer -framework Sparkle -DSPARKLE_ENABLED |
2522 | 134 |
INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers /Library/Frameworks/SDL_Mixer.framework/Headers |
135 |
CONFIG += warn_on x86 |
|
136 |
||
137 |
#CONFIG += x86 ppc x86_64 ppc64 |
|
138 |
} |