Skip to content

Commit

Permalink
adjust specs to the new target mode handling
Browse files Browse the repository at this point in the history
not strictly necessary, but nicer.

QMAKE_PLATFORM (and thus CONFIG) now also contains the name of the OS, and
its family (if applicable, e.g., bsd). this also adds more feature search
paths.

Change-Id: I3ab971e6e3b2b32cae53b95e4bc67a86688bc5cb
Reviewed-by: Qt Doc Bot <[email protected]>
Reviewed-by: Joerg Bornemann <[email protected]>
  • Loading branch information
ossilator authored and Qt by Nokia committed Sep 8, 2012
1 parent 1503d99 commit 2041764
Show file tree
Hide file tree
Showing 92 changed files with 67 additions and 85 deletions.
2 changes: 1 addition & 1 deletion mkspecs/aix-g++-64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = aix
TEMPLATE = app
CONFIG += qt warn_on release link_prl
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/aix-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = aix
TEMPLATE = app
CONFIG += qt warn_on release link_prl
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/aix-xlc-64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = aix
TEMPLATE = app
CONFIG += qt warn_on release link_prl
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/aix-xlc/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = aix
TEMPLATE = app
CONFIG += qt warn_on release link_prl
QT += core gui
Expand Down
1 change: 0 additions & 1 deletion mkspecs/common/linux-android.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
TEMPLATE = app
QMAKE_INCREMENTAL_STYLE = sublib

Expand Down
2 changes: 2 additions & 0 deletions mkspecs/common/linux.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# qmake configuration for common linux
#

QMAKE_PLATFORM += linux

QMAKE_CFLAGS_THREAD += -D_REENTRANT
QMAKE_CXXFLAGS_THREAD += $$QMAKE_CFLAGS_THREAD

Expand Down
2 changes: 2 additions & 0 deletions mkspecs/common/mac.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# qmake configuration for common Mac OS X
#

QMAKE_PLATFORM += macx mac

QMAKE_RESOURCE = /Developer/Tools/Rez

QMAKE_EXTENSION_SHLIB = dylib
Expand Down
1 change: 1 addition & 0 deletions mkspecs/common/nacl/nacl-base.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
QMAKE_PLATFORM = nacl $$QMAKE_PLATFORM

# Work around linker crash when using PIC. We are building
# statically so this is safe.
Expand Down
1 change: 0 additions & 1 deletion mkspecs/common/qcc-base-qnx-armv7le.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
TEMPLATE = app
CONFIG += qt warn_on release link_prl
QT += core gui
Expand Down
1 change: 0 additions & 1 deletion mkspecs/common/qcc-base-qnx-x86.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
TEMPLATE = app
CONFIG += qt warn_on release link_prl
QT += core gui
Expand Down
2 changes: 2 additions & 0 deletions mkspecs/common/unix.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
# qmake configuration for common unix
#

QMAKE_PLATFORM += unix posix

QMAKE_LEX = flex
QMAKE_LEXFLAGS +=
QMAKE_YACC = yacc
Expand Down
1 change: 1 addition & 0 deletions mkspecs/common/wince/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#

MAKEFILE_GENERATOR = MSVC.NET
QMAKE_PLATFORM += wince win32
TEMPLATE = app
QT += core gui
CONFIG += qt warn_on release incremental flat link_prl precompile_header autogen_precompile_source debug_and_release debug_and_release_target
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/cygwin-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = cygwin unix posix
TEMPLATE = app
CONFIG += qt warn_on release incremental link_prl
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/darwin-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = macx
QMAKE_PLATFORM = mac macx
TEMPLATE = app
CONFIG += qt warn_on release link_prl native_precompiled_headers
QT += core gui
Expand Down
1 change: 0 additions & 1 deletion mkspecs/devices/common/linux_device_pre.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
QT_QPA_DEFAULT_PLATFORM = eglfs

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
TEMPLATE = app
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
QT += core gui
Expand Down
1 change: 0 additions & 1 deletion mkspecs/devices/linux-archos-gen8-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
# http://github.com/KDAB/OpenEmbedded-Archos

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
TEMPLATE = app
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
QT += core gui
Expand Down
1 change: 0 additions & 1 deletion mkspecs/devices/linux-arm-amlogic-8726M-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
TEMPLATE = app
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
QT += core gui
Expand Down
1 change: 0 additions & 1 deletion mkspecs/devices/linux-arm-trident-pnx8473-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
TEMPLATE = app
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
QT += core gui
Expand Down
1 change: 0 additions & 1 deletion mkspecs/devices/linux-beagleboard-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# http://beagleboard.org/

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
TEMPLATE = app
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
QT += core gui
Expand Down
1 change: 0 additions & 1 deletion mkspecs/devices/linux-mipsel-broadcom-97425-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
TEMPLATE = app
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
QT += core gui
Expand Down
1 change: 0 additions & 1 deletion mkspecs/devices/linux-n9-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# http://wiki.qt-project.org/Devices/N9

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
TEMPLATE = app
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
QT += core gui
Expand Down
1 change: 0 additions & 1 deletion mkspecs/devices/linux-sh4-stmicro-ST7108-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
TEMPLATE = app
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
QT += core gui
Expand Down
1 change: 0 additions & 1 deletion mkspecs/devices/linux-sh4-stmicro-ST7540-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
TEMPLATE = app
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
QT += core gui
Expand Down
1 change: 0 additions & 1 deletion mkspecs/devices/linux-snowball-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
# http://qt-project.org/wiki/Snowball

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
TEMPLATE = app
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/freebsd-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = freebsd bsd
TEMPLATE = app
CONFIG += qt warn_on release link_prl gdb_dwarf_index
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/freebsd-g++46/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = freebsd bsd
TEMPLATE = app
CONFIG += qt warn_on release link_prl gdb_dwarf_index
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/freebsd-icc/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = freebsd bsd
TEMPLATE = app
CONFIG += qt warn_on release link_prl
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/hpux-acc-64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = hpux
TEMPLATE = app
CONFIG += qt warn_on release link_prl
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/hpux-acc-o64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = hpux
TEMPLATE = app
CONFIG += qt warn_on release link_prl
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/hpux-acc/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = hpux
TEMPLATE = app
CONFIG += qt warn_on release link_prl
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/hpux-g++-64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = hpux
TEMPLATE = app
CONFIG += qt warn_on release link_prl
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/hpux-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = hpux
TEMPLATE = app
CONFIG += qt warn_on release link_prl plugin_no_soname
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/hpuxi-acc-32/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = hpux
TEMPLATE = app
CONFIG += qt warn_on release plugin_no_soname
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/hpuxi-acc-64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = hpux
TEMPLATE = app
CONFIG += qt warn_on release plugin_no_soname
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/hpuxi-g++-64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = hpux
TEMPLATE = app
CONFIG += qt warn_on release link_prl
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/hurd-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = hurd
TEMPLATE = app
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/irix-cc-64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = irix
TEMPLATE = app
CONFIG += qt warn_on release link_prl
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/irix-cc/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = irix
TEMPLATE = app
CONFIG += qt warn_on release link_prl
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/irix-g++-64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = irix
TEMPLATE = app
CONFIG += qt warn_on release link_prl
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/irix-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = irix
TEMPLATE = app
CONFIG += qt warn_on release link_prl
QT += core gui
Expand Down
1 change: 0 additions & 1 deletion mkspecs/linux-arm-gnueabi-g++/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
TEMPLATE = app
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
QT += core gui
Expand Down
1 change: 0 additions & 1 deletion mkspecs/linux-clang/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
TEMPLATE = app
CONFIG += qt warn_on release incremental link_prl
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/linux-cxx/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = linux
TEMPLATE = app
CONFIG += qt warn_on release link_prl
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/linux-ecc-64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = linux
TEMPLATE = app
CONFIG += qt warn_on release link_prl
QT += core gui
Expand Down
1 change: 0 additions & 1 deletion mkspecs/linux-g++-32/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
TEMPLATE = app
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
QT += core gui
Expand Down
1 change: 0 additions & 1 deletion mkspecs/linux-g++-64/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
TEMPLATE = app
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
QT += core gui
Expand Down
2 changes: 1 addition & 1 deletion mkspecs/linux-g++-maemo/qmake.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

MAKEFILE_GENERATOR = UNIX
TARGET_PLATFORM = unix
QMAKE_PLATFORM = maemo
TEMPLATE = app
CONFIG += qt warn_on release incremental link_prl gdb_dwarf_index
CONFIG += nostrip
Expand Down
Loading

0 comments on commit 2041764

Please sign in to comment.