mkspecs/linux-lsb-g++/qmake.conf
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 #
       
     2 # qmake configuration for linux-g++
       
     3 #
       
     4 
       
     5 MAKEFILE_GENERATOR	= UNIX
       
     6 TEMPLATE		= app
       
     7 CONFIG			+= qt warn_on release incremental link_prl
       
     8 QT			+= core gui
       
     9 QMAKE_INCREMENTAL_STYLE = sublib
       
    10 
       
    11 QMAKE_CC		= lsbcc
       
    12 QMAKE_LEX		= flex
       
    13 QMAKE_LEXFLAGS		=
       
    14 QMAKE_YACC		= yacc
       
    15 QMAKE_YACCFLAGS		= -d
       
    16 QMAKE_YACCFLAGS_MANGLE  = -p $base -b $base
       
    17 QMAKE_YACC_HEADER       = $base.tab.h
       
    18 QMAKE_YACC_SOURCE       = $base.tab.c
       
    19 QMAKE_CFLAGS		= -pipe
       
    20 QMAKE_CFLAGS_DEPS	= -M
       
    21 QMAKE_CFLAGS_WARN_ON	= -Wall -W
       
    22 QMAKE_CFLAGS_WARN_OFF	= -w
       
    23 QMAKE_CFLAGS_RELEASE	= -O2
       
    24 QMAKE_CFLAGS_DEBUG	= -g
       
    25 QMAKE_CFLAGS_SHLIB	= -fPIC
       
    26 QMAKE_CFLAGS_STATIC_LIB	= $$QMAKE_CFLAGS_SHLIB
       
    27 QMAKE_CFLAGS_YACC	= -Wno-unused -Wno-parentheses
       
    28 QMAKE_CFLAGS_THREAD	= -D_REENTRANT
       
    29 QMAKE_CFLAGS_HIDESYMS   = -fvisibility=hidden
       
    30 
       
    31 QMAKE_LSB               = 1
       
    32 
       
    33 QMAKE_CXX		= lsbc++
       
    34 QMAKE_CXXFLAGS		= $$QMAKE_CFLAGS
       
    35 QMAKE_CXXFLAGS_DEPS	= $$QMAKE_CFLAGS_DEPS
       
    36 QMAKE_CXXFLAGS_WARN_ON	= $$QMAKE_CFLAGS_WARN_ON
       
    37 QMAKE_CXXFLAGS_WARN_OFF	= $$QMAKE_CFLAGS_WARN_OFF
       
    38 QMAKE_CXXFLAGS_RELEASE	= $$QMAKE_CFLAGS_RELEASE
       
    39 QMAKE_CXXFLAGS_DEBUG	= $$QMAKE_CFLAGS_DEBUG
       
    40 QMAKE_CXXFLAGS_SHLIB	= $$QMAKE_CFLAGS_SHLIB
       
    41 QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
       
    42 QMAKE_CXXFLAGS_YACC	= $$QMAKE_CFLAGS_YACC
       
    43 QMAKE_CXXFLAGS_THREAD	= $$QMAKE_CFLAGS_THREAD
       
    44 QMAKE_CXXFLAGS_HIDESYMS = $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
       
    45 
       
    46 QMAKE_INCDIR		=
       
    47 QMAKE_LIBDIR		=
       
    48 QMAKE_INCDIR_X11	= /opt/lsb/include
       
    49 QMAKE_LIBDIR_X11	= /opt/lsb/lib
       
    50 QMAKE_INCDIR_QT		= $$[QT_INSTALL_HEADERS]
       
    51 QMAKE_LIBDIR_QT		= $$[QT_INSTALL_LIBS]
       
    52 QMAKE_INCDIR_OPENGL	= /opt/lsb/include
       
    53 QMAKE_LIBDIR_OPENGL	= /opt/lsb/lib
       
    54 
       
    55 QMAKE_LINK		= lsbc++
       
    56 QMAKE_LINK_SHLIB	= lsbc++
       
    57 QMAKE_LFLAGS		=
       
    58 QMAKE_LFLAGS_RELEASE	=
       
    59 QMAKE_LFLAGS_DEBUG	=
       
    60 QMAKE_LFLAGS_SHLIB	= -shared
       
    61 QMAKE_LFLAGS_PLUGIN	= $$QMAKE_LFLAGS_SHLIB
       
    62 QMAKE_LFLAGS_SONAME	= -Wl,-soname,
       
    63 QMAKE_LFLAGS_THREAD	=
       
    64 QMAKE_RPATH		= -Wl,-rpath,
       
    65 
       
    66 QMAKE_LIBS		=
       
    67 QMAKE_LIBS_DYNLOAD	= -ldl
       
    68 QMAKE_LIBS_X11		= -lXext -lX11 -lm
       
    69 QMAKE_LIBS_X11SM	= -lSM -lICE
       
    70 QMAKE_LIBS_NIS		= -lnsl
       
    71 QMAKE_LIBS_OPENGL	= -lGL
       
    72 QMAKE_LIBS_OPENGL_QT	= -lGL
       
    73 QMAKE_LIBS_THREAD	= -lpthread
       
    74 
       
    75 QMAKE_MOC		= $$[QT_INSTALL_BINS]/moc
       
    76 QMAKE_UIC		= $$[QT_INSTALL_BINS]/uic
       
    77 
       
    78 QMAKE_AR		= ar cqs
       
    79 QMAKE_OBJCOPY           = objcopy
       
    80 QMAKE_RANLIB		=
       
    81 
       
    82 QMAKE_TAR		= tar -cf
       
    83 QMAKE_GZIP		= gzip -9f
       
    84 
       
    85 QMAKE_COPY		= cp -f
       
    86 QMAKE_COPY_FILE         = $(COPY)
       
    87 QMAKE_COPY_DIR          = $(COPY) -r
       
    88 QMAKE_MOVE		= mv -f
       
    89 QMAKE_DEL_FILE		= rm -f
       
    90 QMAKE_DEL_DIR		= rmdir
       
    91 QMAKE_STRIP             = strip
       
    92 QMAKE_STRIPFLAGS_LIB 	+= --strip-unneeded
       
    93 QMAKE_CHK_DIR_EXISTS	= test -d
       
    94 QMAKE_MKDIR		= mkdir -p
       
    95 include(../common/unix.conf)
       
    96 load(qt_config)