QTfrontend/hedgewars.pro
changeset 2394 0f8de781fc34
parent 2093 485e084cedc4
child 2395 d01d3bf3e1de
--- a/QTfrontend/hedgewars.pro	Sat Sep 26 03:44:32 2009 +0000
+++ b/QTfrontend/hedgewars.pro	Sat Sep 26 15:44:34 2009 +0000
@@ -9,98 +9,48 @@
 }
 
 macx{
-	CONFIG += x86 ppc
+	CONFIG += x86
+ 	#CONFIG += x86 ppc x86_64 ppc64
 }
 
 QT += network svg xml
 
-HEADERS += 	binds.h \
-		game.h \
-		hwform.h \
-		sdlkeys.h \
-		team.h \
-		teamselect.h \
-		teamselhelper.h \
-		frameTeam.h \
-		vertScrollArea.h \
-		gameuiconfig.h \
-		ui_hwform.h \
-		gamecfgwidget.h \
-		predefteams.h \
-		pages.h \
-		SquareLabel.h \
-		hedgehogerWidget.h \
-		hwmap.h \
-		mapContainer.h \
-		tcpBase.h \
-		about.h \
-		KB.h \
-		proto.h \
-		fpsedit.h \
-		netserver.h \
-		newnetclient.h \
-		netudpserver.h \
-		netudpwidget.h \
-		netserverslist.h \
+HEADERS += 	KB.h SDLs.h SquareLabel.h \
+		about.h ammoSchemeModel.h \
+		bgwidget.h binds.h \
 		chatwidget.h \
-		SDLs.h \
-		playrecordpage.h \
-		hwconsts.h \
-		selectWeapon.h \
-		itemNum.h \
-		input_ip.h \
-		igbox.h \
-		weaponItem.h \
-		statsPage.h \
-		misc.h \
-		ammoSchemeModel.h \
-		togglebutton.h \
-		namegen.h \
-		netregister.h \
-		hats.h
+		fpsedit.h frameTeam.h \
+		game.h gamecfgwidget.h gameuiconfig.h \
+		hats.h hedgehogerWidget.h hwconsts.h hwform.h hwmap.h \
+		igbox.h input_ip.h itemNum.h \
+		mapContainer.h misc.h \
+		namegen.h netregister.h netserver.h netserverslist.h \
+		netudpserver.h netudpwidget.h newnetclient.h \
+		pages.h playrecordpage.h predefteams.h proto.h \
+		sdlkeys.h selectWeapon.h statsPage.h \
+		tcpBase.h team.h teamselect.h teamselhelper.h togglebutton.h \
+		ui_hwform.h \
+		vertScrollArea.h \
+		weaponItem.h
+
 
-SOURCES +=	binds.cpp \
-		game.cpp \
-		main.cpp \
-		hwform.cpp \
-		team.cpp \
-		teamselect.cpp \
-		teamselhelper.cpp \
-		frameTeam.cpp \
-		vertScrollArea.cpp \
-		gameuiconfig.cpp \
+SOURCES +=	SDLs.cpp SquareLabel.cpp \
+		about.cpp ammoSchemeModel.cpp \
+		bgwidget.cpp binds.cpp \
+		chatwidget.cpp \
+		fpsedit.cpp frameTeam.cpp \
+		game.cpp gamecfgwidget.cpp gameuiconfig.cpp \
+		hats.cpp hedgehogerWidget.cpp hwconsts.cpp hwform.cpp hwmap.cpp \
+		igbox.cpp input_ip.cpp itemNum.cpp \
+		main.cpp mapContainer.cpp misc.cpp \
+		namegen.cpp netregister.cpp netserver.cpp netserverslist.cpp \
+		netudpserver.cpp netudpwidget.cpp newnetclient.cpp \
+		pages.cpp playrecordpage.cpp proto.cpp \
+		selectWeapon.cpp statsPage.cpp \
+		tcpBase.cpp team.cpp teamselect.cpp teamselhelper.cpp togglebutton.cpp \
 		ui_hwform.cpp \
-		gamecfgwidget.cpp \
-		pages.cpp \
-		SquareLabel.cpp \
-		hedgehogerWidget.cpp \
-		hwmap.cpp \
-		mapContainer.cpp \
-		tcpBase.cpp \
-		about.cpp \
-		proto.cpp \
-		fpsedit.cpp \
-		netserver.cpp \
-		newnetclient.cpp \
-		netudpserver.cpp \
-		netudpwidget.cpp \
-		netserverslist.cpp \
-		chatwidget.cpp \
-		SDLs.cpp \
-		playrecordpage.cpp \
-		hwconsts.cpp \
-		selectWeapon.cpp \
-		itemNum.cpp \
-		input_ip.cpp \
-		igbox.cpp \
-		weaponItem.cpp \
-		statsPage.cpp \
-		misc.cpp \
-		ammoSchemeModel.cpp \
-		togglebutton.cpp \
-		namegen.cpp \
-		netregister.cpp \
-		hats.cpp
+		vertScrollArea.cpp \
+		weaponItem.cpp
 
 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_bg.ts
 TRANSLATIONS += ../share/hedgewars/Data/Locale/hedgewars_de.ts
@@ -125,7 +75,11 @@
 RESOURCES += hedgewars.qrc
 
 !macx{
-	LIBS += libSDL
+	LIBS += -lSDL -lopenalbridge
 }else{
-	LIBS += -framework SDL -framework SDL_mixer -framework Ogg -framework Vorbis
+	LIBS += -framework SDL -framework OpenAL -framework Ogg -framework Vorbis -lopenalbridge -framework Sparkle
+	INCLUDEPATH += /Library/Frameworks/SDL.framework/Headers
+	SOURCES += AutoUpdater.cpp CocoaInitializer.mm SparkleAutoUpdater.mm
+	HEADERS += AutoUpdater.h CocoaInitializer.h SparkleAutoUpdater.h
+	
 }