2 # qmake configuration for linux-oe-g++ / OpenEmbedded Build System / http://openembedded.org
5 MAKEFILE_GENERATOR = UNIX
7 CONFIG += qt warn_on release
9 QMAKE_CC = $(OE_QMAKE_CC)
14 QMAKE_CFLAGS = -pipe $(OE_QMAKE_CFLAGS) $(CFLAGS_EXTRA)
15 QMAKE_CFLAGS_WARN_ON = -Wall -W
16 QMAKE_CFLAGS_WARN_OFF =
17 QMAKE_CFLAGS_RELEASE = $(if $(CFLAGS_RELEASE),$(CFLAGS_RELEASE), -O2)
18 QMAKE_CFLAGS_DEBUG = -g
19 QMAKE_CFLAGS_SHLIB = -fPIC
20 QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
21 QMAKE_CFLAGS_THREAD = -D_REENTRANT
23 QMAKE_CXX = $(OE_QMAKE_CXX)
24 QMAKE_CXXFLAGS = $$QMAKE_CFLAGS $(OE_QMAKE_CXXFLAGS) $(CXXFLAGS_EXTRA)
25 QMAKE_CXXFLAGS_WARN_ON = $$QMAKE_CFLAGS_WARN_ON
26 QMAKE_CXXFLAGS_WARN_OFF = $$QMAKE_CFLAGS_WARN_OFF
27 QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE
28 QMAKE_CXXFLAGS_DEBUG = $$QMAKE_CFLAGS_DEBUG
29 QMAKE_CXXFLAGS_SHLIB = $$QMAKE_CFLAGS_SHLIB
30 QMAKE_CXXFLAGS_YACC = $$QMAKE_CFLAGS_YACC
31 QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
37 QMAKE_INCDIR_QT = $(OE_QMAKE_INCDIR_QT)
38 QMAKE_LIBDIR_QT = $(OE_QMAKE_LIBDIR_QT)
42 QMAKE_LINK = $(OE_QMAKE_LINK)
43 QMAKE_LINK_SHLIB = $(OE_QMAKE_LINK)
44 QMAKE_LFLAGS = $(OE_QMAKE_LDFLAGS) $(LFLAGS_EXTRA)
45 QMAKE_LFLAGS_RELEASE =
47 QMAKE_LFLAGS_SHLIB = -shared
48 QMAKE_LFLAGS_PLUGIN = $$QMAKE_LFLAGS_SHLIB
49 QMAKE_LFLAGS_SONAME = -Wl,-soname,
51 QMAKE_RPATH = -Wl,-rpath-link,
53 QMAKE_LIBS = $(LIBS_EXTRA)
54 QMAKE_LIBS_DYNLOAD = -ldl
55 QMAKE_LIBS_X11 = $(OE_QMAKE_LIBS_X11)
57 QMAKE_LIBS_QT = -l$(OE_QMAKE_LIBS_QT)
58 QMAKE_LIBS_QT_THREAD = -l$(OE_QMAKE_LIBS_QT)-mt
59 QMAKE_LIBS_OPENGL = $(OE_QMAKE_LIBS_OPENGL)
60 QMAKE_LIBS_OPENGL_QT = $(OE_QMAKE_LIBS_OPENGL_QT)
61 QMAKE_LIBS_THREAD = -lpthread
63 QMAKE_MOC = $(OE_QMAKE_MOC)
64 QMAKE_UIC = $(OE_QMAKE_UIC)
66 QMAKE_AR = $(OE_QMAKE_AR) cqs
73 QMAKE_COPY_FILE = $(COPY)
74 QMAKE_COPY_DIR = $(COPY) -r
76 QMAKE_DEL_FILE = rm -f
78 QMAKE_STRIP = $(OE_QMAKE_STRIP)
79 QMAKE_STRIPFLAGS_LIB += --strip-unneeded
80 QMAKE_CHK_DIR_EXISTS = test -d
81 QMAKE_MKDIR = mkdir -p