~ubuntu-branches/ubuntu/raring/quassel/raring-proposed

« back to all changes in this revision

Viewing changes to build/targets/target.pri

  • Committer: Bazaar Package Importer
  • Author(s): Harald Sitter
  • Date: 2008-06-27 19:21:30 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20080627192130-kjsrutd8w40x5okn
Tags: upstream-0.2.0~rc1
ImportĀ upstreamĀ versionĀ 0.2.0~rc1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
TEMPLATE = app
2
 
 
3
 
include(../buildconf.pri)
4
 
 
5
 
RESOURCES   *= ../../i18n/i18n.qrc
6
 
TRANSLATIONS = quassel_da.ts \
7
 
               quassel_de.ts
8
 
 
9
 
SRCPATH = ../../src
10
 
OBJECTS_DIR = .$$TARGET
11
 
RCC_DIR     = .$$TARGET
12
 
 
13
 
linux-g++:static {
14
 
  # We put libs in contrib/libs that should be linked statically, especially libstdc++.a
15
 
  LIBS *= -L../contrib/libs
16
 
  QMAKE_LFLAGS *= -static-libgcc
17
 
}
18
 
 
19
 
for(mod, MODULES) {
20
 
  INCLUDEPATH *= $$SRCPATH/$$mod
21
 
  LIBS *= -L../modules/$$dirname(mod) -l$$basename(mod)
22
 
  PRE_TARGETDEPS *= ../modules/$$mod
23
 
}
24
 
PRE_TARGETDEPS *= ../../version.inc
25
 
 
26
 
#CONTRIB += libqxt  # not needed
27
 
#include(../contrib/contrib.pri)
28
 
 
29
 
SOURCES = $$SRCPATH/common/main.cpp
30
 
 
31
 
# This is really annoying, but for some reason win32 libs are not included by default.
32
 
# Ugly workaround following...
33
 
 
34
 
win32:static {
35
 
  RC_FILE = win32.rc
36
 
  CONFIG += embed_manifest_exe
37
 
  LIBS *= -luser32 -lgdi32 -lkernel32 -lshell32 -lwsock32 -lwinspool -lcomdlg32 -lole32
38
 
  LIBS *= -ladvapi32 -limm32 -luuid -lwinmm -ldelayimp -lopengl32 -lglu32 -loleaut32 -lws2_32
39
 
  LIBS *= -llibeay32MD -lssleay32MD
40
 
  QMAKE_LFLAGS_WINDOWS += /nodefaultlib:"libcmt.lib"
41
 
 
42
 
}
43
 
 
44
 
macx {
45
 
  ICON = ../../src/icons/quassel.icns
46
 
}