qt4: Update to 4.7.0 release
[openwrt/svn-archive/archive.git] / Xorg / lib / qt4 / files / x11-qmake.conf
1 MAKEFILE_GENERATOR = UNIX
2 TARGET_PLATFORM = unix
3 CONFIG += qt warn_on release incremental link_prl
4 QT += core gui
5 QMAKE_INCREMENTAL_STYLE = sublib
6
7 include(../common/g++.conf)
8 include(../common/linux.conf)
9
10 # QMAKE_{INC,LIB}DIR_QT needs to be overridden,
11 # as they're set to $$[QT_INSTALL_{HEADERS,LIBS}] by default
12 # which are compiled into the qmake binary statically
13 QMAKE_INCDIR_QT = $$(TARGET_INCDIRS)
14 QMAKE_LIBDIR_QT = $$(TARGET_LIBDIRS)
15 QMAKE_INCDIR = $$(TARGET_INCDIRS)
16 QMAKE_LIBDIR = $$(TARGET_LIBDIRS)
17 QMAKE_MOC = $$(STAGING_DIR_HOST)/bin/moc
18 QMAKE_UIC = $$(STAGING_DIR_HOST)/bin/uic
19 QMAKE_RCC = $$(STAGING_DIR_HOST)/bin/rcc
20 QMAKE_CC = $$(TARGET_CC)
21 QMAKE_CXX = $$(TARGET_CXX)
22 QMAKE_AR = $$(TARGET_CROSS)ar cqs
23 QMAKE_OBJCOPY = $$(TARGET_CROSS)objcopy
24 QMAKE_RANLIB = $$(TARGET_CROSS)ranlib
25 QMAKE_CFLAGS = $$(TARGET_CFLAGS)
26 QMAKE_CXXFLAGS = $$(TARGET_CFLAGS)
27 QMAKE_LINK = $$(TARGET_CXX)
28 QMAKE_LINK_C = $$(TARGET_CC)
29 QMAKE_LFLAGS = $$(TARGET_LDFLAGS) # this will end up in redundant "-L"-strings, as they're already in $QMAKE_LIBDIR_QT, however TARGET_LDFLAGS may contain not only directories but special linker options
30
31 #unset vars which would intefere with vars/flags passed over by OpenWrt
32 QMAKE_STRIP = # do not strip
33 QMAKE_STRIPFLAGS_LIB = # do not strip
34 QMAKE_CFLAGS_WARN_ON =
35 QMAKE_CFLAGS_WARN_OFF =
36 QMAKE_CFLAGS_RELEASE =
37 QMAKE_CFLAGS_DEBUG =
38 QMAKE_CFLAGS_PRECOMPILE =
39 QMAKE_CFLAGS_USE_PRECOMPILE =
40 QMAKE_CXXFLAGS_WARN_ON =
41 QMAKE_CXXFLAGS_WARN_OFF =
42 QMAKE_CXXFLAGS_RELEASE =
43 QMAKE_CXXFLAGS_DEBUG =
44 QMAKE_CXXFLAGS_PRECOMPILE =
45 QMAKE_CXXFLAGS_USE_PRECOMPILE =
46 QMAKE_LFLAGS_RELEASE =
47 QMAKE_LFLAGS_NOUNDEF =
48
49 load(qt_config)