~ubuntu-branches/ubuntu/oneiric/xca/oneiric

« back to all changes in this revision

Viewing changes to misc/Local.mak.w32

  • Committer: Bazaar Package Importer
  • Author(s): Tino Keitel
  • Date: 2009-09-14 20:55:44 UTC
  • Revision ID: james.westby@ubuntu.com-20090914205544-l4qsm2tjimhd62vo
Tags: upstream-0.7.0
ImportĀ upstreamĀ versionĀ 0.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#### Change the following settings
 
2
# BDIR=/D
 
3
# QTDIR=$(BDIR)/qt/4.2.1
 
4
# OPENSSLDIR=$(BDIR)/openssl-0.9.8d
 
5
 
 
6
 
 
7
HOST=w32
 
8
MAKENSIS=makensis
 
9
CROSS=i586-mingw32msvc-
 
10
 
 
11
CONSOLE=-mwindows
 
12
#CONSOLE=-mconsole
 
13
 
 
14
CPPFLAGS=-I. -I.. -I$(QTDIR)/include -I$(OPENSSLDIR)/outinc \
 
15
        -I$(QTDIR)/include/Qt -I$(TOPDIR)/ui
 
16
CFLAGS=-Wall -g -O2 -mthreads -mno-cygwin $(CONSOLE)
 
17
 
 
18
LDFLAGS= -L$(OPENSSLDIR)/out -L$(QTDIR)/lib \
 
19
        -enable-stdcall-fixup -enable-auto-import \
 
20
        -enable-runtime-pseudo-reloc
 
21
 
 
22
# list of dynamic libraries
 
23
LIBS=-lQtGui4 -lQtCore4 -lqtmain -lstdc++ -lws2_32 -lcrypto -lwsock32 -lgdi32
 
24
 
 
25
# As long as the linux uic and moc are version compatible to the W32 ones
 
26
# we use the native tools, because they are much faster than the wine's
 
27
USE_HOSTTOOLS=yes
 
28
ifneq ($(USE_HOSTTOOLS), yes)
 
29
MOC=wine $(QTDIR)/bin/moc
 
30
UIC=wine $(QTDIR)/bin/uic
 
31
RCC=wine $(QTDIR)/bin/rcc
 
32
LRELEASE=wine $(QTDIR)/bin/lrelease
 
33
else
 
34
MOC=moc-qt4
 
35
UIC=uic-qt4
 
36
RCC=rcc
 
37
LRELEASE=lrelease
 
38
endif
 
39
 
 
40
CC=$(CROSS)gcc
 
41
LD=$(CROSS)ld
 
42
STRIP=$(CROSS)strip
 
43
WINDRES=$(CROSS)windres
 
44
SUFFIX=.exe
 
45
LINUXDOC=linuxdoc
 
46
 
 
47
prefix=
 
48
basedir=