summaryrefslogtreecommitdiff
path: root/recipes/qt4/qt4-x11-free-gles/linux.conf
blob: b5741574b8cb5144c91f9fd49c4ffd99b1b554bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#
# qmake configuration for common linux
#

QMAKE_CFLAGS_THREAD	+= -D_REENTRANT
QMAKE_CXXFLAGS_THREAD	+= $$QMAKE_CFLAGS_THREAD

QMAKE_INCDIR          =
QMAKE_LIBDIR          =
QMAKE_INCDIR_X11      =
QMAKE_LIBDIR_X11      =
QMAKE_INCDIR_QT       = $(OE_QMAKE_INCDIR_QT)
QMAKE_LIBDIR_QT       = $(OE_QMAKE_LIBDIR_QT)
QMAKE_INCDIR_EGL      = ${STAGING_INCDIR}/GLES2
QMAKE_INCDIR_OPENGL   = ${STAGING_INCDIR}/GLES2
QMAKE_INCDIR_OPENGL_ES2 = ${STAGING_INCDIR}/GLES2
QMAKE_LIBDIR_EGL      = ${STAGING_LIBDIR}
QMAKE_LIBDIR_OPENGL   = ${STAGING_LIBDIR}
QMAKE_LIBDIR_OPENGL_ES2 = ${STAGING_LIBDIR}

QMAKE_LIBS            = -Wl,-rpath-link,SEDME/lib -lglib-2.0
QMAKE_LIBS_DYNLOAD    = -ldl
QMAKE_LIBS_X11        = $(OE_QMAKE_LIBS_X11)
QMAKE_LIBS_X11SM      = $(OE_QMAKE_LIBS_X11SM)
QMAKE_LIBS_NIS        = -lnsl
QMAKE_LIBS_EGL        = -lEGL -lIMGegl -lsrv_um
QMAKE_LIBS_OPENGL_QT  = -lEGL -lGLESv2 -lGLES_CM -lIMGegl -lsrv_um
QMAKE_LIBS_OPENVG     = -lEGL -lGLESv2 -lGLES_CM -lIMGegl -lsrv_um -lOpenVG -lOpenVGU
QMAKE_LIBS_OPENGL_ES2 = -lEGL -lGLESv2 -lGLES_CM -lIMGegl -lsrv_um 

QMAKE_LIBS_THREAD     = -lpthread

QMAKE_MOC             = $(OE_QMAKE_MOC)
QMAKE_UIC             = $(OE_QMAKE_UIC)
QMAKE_UIC3            = $(OE_QMAKE_UIC3)
QMAKE_RCC             = $(OE_QMAKE_RCC)
QMAKE_QDBUSCPP2XML    = $(OE_QMAKE_QDBUSCPP2XML)
QMAKE_QDBUSXML2CPP    = $(OE_QMAKE_QDBUSXML2CPP)

QMAKE_AR              = $(OE_QMAKE_AR) cqs
QMAKE_OBJCOPY         = ${OBJCOPY}
QMAKE_RANLIB          =

QMAKE_TAR             = tar -cf
QMAKE_GZIP            = gzip -9f

QMAKE_COPY            = cp -f
QMAKE_COPY_FILE       = $(COPY)
QMAKE_COPY_DIR        = $(COPY) -r
QMAKE_MOVE            = mv -f
QMAKE_DEL_FILE        = rm -f
QMAKE_DEL_DIR         = rmdir
QMAKE_STRIP           = $(OE_QMAKE_STRIP)
QMAKE_STRIPFLAGS_LIB += --strip-unneeded
QMAKE_CHK_DIR_EXISTS  = test -d
QMAKE_MKDIR           = mkdir -p
QMAKE_INSTALL_FILE    = install -m 644 -p
QMAKE_INSTALL_PROGRAM = install -m 755 -p

include(unix.conf)