bea3ae7669
We'll use nm to get the listing of symbols in the next commit. The -P option is "portable", which sounds like a good idea. I don't have access to any of the commercial Unix systems, but I do remember them printing a different format than GNU binutils's nm. Change-Id: If6f80624bedaf2b1dabf608e16aa097d9910d739 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
60 lines
1.6 KiB
Plaintext
60 lines
1.6 KiB
Plaintext
#
|
|
# qmake configuration for common linux
|
|
#
|
|
|
|
QMAKE_PLATFORM += linux
|
|
|
|
QMAKE_CFLAGS_THREAD += -D_REENTRANT
|
|
QMAKE_CXXFLAGS_THREAD += $$QMAKE_CFLAGS_THREAD
|
|
|
|
QMAKE_INCDIR =
|
|
QMAKE_LIBDIR =
|
|
QMAKE_INCDIR_X11 =
|
|
QMAKE_LIBDIR_X11 =
|
|
QMAKE_INCDIR_OPENGL =
|
|
QMAKE_LIBDIR_OPENGL =
|
|
QMAKE_INCDIR_OPENGL_ES1 = $$QMAKE_INCDIR_OPENGL
|
|
QMAKE_LIBDIR_OPENGL_ES1 = $$QMAKE_LIBDIR_OPENGL
|
|
QMAKE_INCDIR_OPENGL_ES2 = $$QMAKE_INCDIR_OPENGL
|
|
QMAKE_LIBDIR_OPENGL_ES2 = $$QMAKE_LIBDIR_OPENGL
|
|
QMAKE_INCDIR_EGL =
|
|
QMAKE_LIBDIR_EGL =
|
|
QMAKE_INCDIR_OPENVG =
|
|
QMAKE_LIBDIR_OPENVG =
|
|
|
|
QMAKE_LIBS =
|
|
QMAKE_LIBS_DYNLOAD = -ldl
|
|
QMAKE_LIBS_X11 = -lXext -lX11 -lm
|
|
QMAKE_LIBS_NIS = -lnsl
|
|
QMAKE_LIBS_EGL = -lEGL
|
|
QMAKE_LIBS_OPENGL = -lGL
|
|
QMAKE_LIBS_OPENGL_ES1 = -lGLESv1_CM
|
|
QMAKE_LIBS_OPENGL_ES2 = -lGLESv2
|
|
QMAKE_LIBS_OPENVG = -lOpenVG
|
|
QMAKE_LIBS_THREAD = -lpthread
|
|
QMAKE_LIBS_LIBUDEV = -ludev
|
|
|
|
QMAKE_CFLAGS_WAYLAND =
|
|
QMAKE_INCDIR_WAYLAND =
|
|
QMAKE_LIBS_WAYLAND_CLIENT = -lwayland-client
|
|
QMAKE_LIBS_WAYLAND_SERVER = -lwayland-server
|
|
QMAKE_LIBDIR_WAYLAND =
|
|
QMAKE_DEFINES_WAYLAND =
|
|
QMAKE_WAYLAND_SCANNER = wayland-scanner
|
|
|
|
QMAKE_CFLAGS_XCB =
|
|
QMAKE_LIBS_XCB =
|
|
QMAKE_DEFINES_XCB =
|
|
|
|
QMAKE_AR = ar cqs
|
|
QMAKE_OBJCOPY = objcopy
|
|
QMAKE_NM = nm -P
|
|
QMAKE_RANLIB =
|
|
|
|
QMAKE_STRIP = strip
|
|
QMAKE_STRIPFLAGS_LIB += --strip-unneeded
|
|
QMAKE_INSTALL_FILE = install -m 644 -p
|
|
QMAKE_INSTALL_PROGRAM = install -m 755 -p
|
|
|
|
include(unix.conf)
|