Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | # |
| 2 | # qmake configuration for common linux |
| 3 | # |
| 4 | |
| 5 | QMAKE_CFLAGS_THREAD += -D_REENTRANT |
| 6 | QMAKE_CXXFLAGS_THREAD += $$QMAKE_CFLAGS_THREAD |
| 7 | |
| 8 | QMAKE_INCDIR = |
| 9 | QMAKE_LIBDIR = |
| 10 | QMAKE_INCDIR_X11 = |
| 11 | QMAKE_LIBDIR_X11 = |
| 12 | QMAKE_INCDIR_QT = $(OE_QMAKE_INCDIR_QT) |
| 13 | QMAKE_LIBDIR_QT = $(OE_QMAKE_LIBDIR_QT) |
| 14 | QMAKE_INCDIR_OPENGL = |
| 15 | QMAKE_LIBDIR_OPENGL = |
| 16 | QMAKE_INCDIR_OPENGL_ES1 = $$QMAKE_INCDIR_OPENGL |
| 17 | QMAKE_LIBDIR_OPENGL_ES1 = $$QMAKE_LIBDIR_OPENGL |
| 18 | QMAKE_INCDIR_OPENGL_ES2 = $$QMAKE_INCDIR_OPENGL |
| 19 | QMAKE_LIBDIR_OPENGL_ES2 = $$QMAKE_LIBDIR_OPENGL |
| 20 | QMAKE_INCDIR_EGL = |
| 21 | QMAKE_LIBDIR_EGL = |
| 22 | QMAKE_INCDIR_OPENVG = |
| 23 | QMAKE_LIBDIR_OPENVG = |
| 24 | |
| 25 | |
| 26 | QMAKE_LIBS = |
| 27 | QMAKE_LIBS_DYNLOAD = -ldl |
| 28 | QMAKE_LIBS_X11 = $(OE_QMAKE_LIBS_X11) |
| 29 | QMAKE_LIBS_X11SM = $(OE_QMAKE_LIBS_X11SM) |
| 30 | QMAKE_LIBS_NIS = -lnsl |
| 31 | QMAKE_LIBS_EGL = -lEGL |
| 32 | QMAKE_LIBS_OPENGL = -lGL |
| 33 | QMAKE_LIBS_OPENGL_QT = -lGL |
| 34 | QMAKE_LIBS_OPENGL_ES1 = -lGLES_CM |
| 35 | QMAKE_LIBS_OPENGL_ES2 = -lGLESv2 |
| 36 | QMAKE_LIBS_OPENVG = -lOpenVG |
| 37 | QMAKE_LIBS_THREAD = -lpthread |
| 38 | |
| 39 | QMAKE_MOC = $(OE_QMAKE_MOC) |
| 40 | QMAKE_UIC = $(OE_QMAKE_UIC) |
| 41 | QMAKE_UIC3 = $(OE_QMAKE_UIC3) |
| 42 | QMAKE_RCC = $(OE_QMAKE_RCC) |
| 43 | QMAKE_QDBUSCPP2XML = $(OE_QMAKE_QDBUSCPP2XML) |
| 44 | QMAKE_QDBUSXML2CPP = $(OE_QMAKE_QDBUSXML2CPP) |
| 45 | |
| 46 | QMAKE_AR = $(OE_QMAKE_AR) cqs |
| 47 | QMAKE_OBJCOPY = objcopy |
| 48 | QMAKE_RANLIB = |
| 49 | |
| 50 | QMAKE_TAR = tar -cf |
| 51 | QMAKE_GZIP = gzip -9f |
| 52 | |
| 53 | QMAKE_COPY = cp -f |
| 54 | QMAKE_COPY_FILE = $(COPY) |
| 55 | QMAKE_COPY_DIR = $(COPY) -r |
| 56 | QMAKE_MOVE = mv -f |
| 57 | QMAKE_DEL_FILE = rm -f |
| 58 | QMAKE_DEL_DIR = rmdir |
| 59 | QMAKE_STRIP = $(OE_QMAKE_STRIP) |
| 60 | QMAKE_STRIPFLAGS_LIB += --strip-unneeded |
| 61 | QMAKE_CHK_DIR_EXISTS = test -d |
| 62 | QMAKE_MKDIR = mkdir -p |
| 63 | QMAKE_INSTALL_FILE = install -m 644 -p |
| 64 | QMAKE_INSTALL_PROGRAM = install -m 755 -p |
| 65 | |
| 66 | include(unix.conf) |