1
#### Change the following settings
3
# QTDIR=$(BDIR)/qt/4.2.1
4
# OPENSSLDIR=$(BDIR)/openssl-0.9.8d
9
CROSS=i586-mingw32msvc-
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)
18
LDFLAGS= -L$(OPENSSLDIR)/out -L$(QTDIR)/lib \
19
-enable-stdcall-fixup -enable-auto-import \
20
-enable-runtime-pseudo-reloc
22
# list of dynamic libraries
23
LIBS=-lQtGui4 -lQtCore4 -lqtmain -lstdc++ -lws2_32 -lcrypto -lwsock32 -lgdi32
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
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
43
WINDRES=$(CROSS)windres