2 # qmake configuration for aix-xlc
5 MAKEFILE_GENERATOR = UNIX
7 CONFIG += qt warn_on release link_prl
11 QMAKE_CC_THREAD = xlc_r
16 QMAKE_CFLAGS = -qstrict -q64
17 QMAKE_CFLAGS_WARN_ON =
18 QMAKE_CFLAGS_WARN_OFF =
19 QMAKE_CFLAGS_RELEASE = -O3
20 QMAKE_CFLAGS_DEBUG = -g
22 QMAKE_CFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_SHLIB
24 QMAKE_CFLAGS_THREAD = -qthreaded
27 QMAKE_CXX_THREAD = xlC_r
28 QMAKE_CXXFLAGS = -+ $$QMAKE_CFLAGS
29 QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
30 QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
31 QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
32 QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
33 QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
34 QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
35 QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
36 QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
37 QMAKE_COMPILER_DEFINES += __xlC__
43 QMAKE_INCDIR_QT = $$[QT_INSTALL_HEADERS]
44 QMAKE_LIBDIR_QT = $$[QT_INSTALL_LIBS]
49 QMAKE_LINK_THREAD = xlC_r
52 QMAKE_LFLAGS_RELEASE =
54 QMAKE_LFLAGS_SHLIB = -qmkshrobj
55 QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
57 QMAKE_LFLAGS_THREAD = -L/usr/lib/threads
61 QMAKE_LIBS_DYNLOAD = -ldl
62 QMAKE_LIBS_X11 = -lXext -lX11 -lm
63 QMAKE_LIBS_X11SM = -lSM -lICE
64 QMAKE_LIBS_OPENGL = -lGLU -lGL
65 QMAKE_LIBS_OPENGL_QT = -lGL
66 QMAKE_LIBS_THREAD = -lpthreads
68 QMAKE_MOC = $$[QT_INSTALL_BINS]/moc
69 QMAKE_UIC = $$[QT_INSTALL_BINS]/uic
72 QMAKE_OBJCOPY = objcopy
73 QMAKE_RANLIB = ranlib -X64
80 QMAKE_DEL_FILE = rm -f
82 QMAKE_CHK_DIR_EXISTS = test -d
83 QMAKE_MKDIR = mkdir -p
84 include(../common/unix.conf)