source: trunk/qmake/Makefile.os2-g++@ 406

Last change on this file since 406 was 406, checked in by Dmitry A. Kuminov, 15 years ago

qmake: Build qmake second time after building all DLLs using its .pro and link it to Qt DLLs on OS/2 (this became possible after the fix in #405). This greatly reduces its size and finally fixes the national characters in the date printed in the generarted Makefile headers.

File size: 6.7 KB
Line 
1ifeq "$(SOURCE_PATH)" ""
2SOURCE_PATH = ..
3endif
4
5# CMD.EXE version
6
7ifeq "$(BUILD_PATH)" ""
8BUILD_PATH = ..
9endif
10
11#
12# specific stuff for GNU make
13#
14CXX = g++
15CFLAGS = -O -s -Zomf \
16 -I. -Igenerators -Igenerators/unix \
17 -Igenerators/win32 -Igenerators/os2 -Igenerators/mac \
18 -I$(BUILD_PATH)/include -I$(BUILD_PATH)/include/QtCore \
19 -I$(SOURCE_PATH)/include -I$(SOURCE_PATH)/include/QtCore \
20 -I$(BUILD_PATH)/src/corelib/global \
21 -I$(BUILD_PATH)/include/QtScript \
22 -I$(SOURCE_PATH)/mkspecs/os2-g++ \
23 -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NO_PCRE \
24 -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DHAVE_QCONFIG_CPP \
25 -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM
26CXXFLAGS = $(CFLAGS)
27ifeq "$(EMXOMFLD_TYPE)" "WLINK"
28LFLAGS = -s -Zomf -Zstack 0x2000 -Zlinker DISABLE\ 1121
29else
30LFLAGS = -s -Zomf -Zstack 0x2000 -Zlinker /PM:VIO -Zlinker /EXEPACK:2
31endif
32LIBS = -lregistry.dll
33LINK = g++ $(LFLAGS)
34ADDCLEAN =
35
36ifdef QMAKE_OPENSOURCE_EDITION
37CFLAGS += -DQMAKE_OPENSOURCE_EDITION
38endif
39
40OBJECTS_DIR = release-bootstrap
41
42# qmake code
43
44SOURCES = \
45 project.cpp \
46 property.cpp \
47 main.cpp \
48 generators\makefile.cpp \
49 generators\unix\unixmake2.cpp \
50 generators\unix\unixmake.cpp \
51 meta.cpp \
52 option.cpp \
53 generators\win32\winmakefile.cpp \