mkspecs/linux-kcc/qmake.conf
changeset 0 1918ee327afb
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 #
       
     2 # qmake configuration for linux-kcc
       
     3 #
       
     4 # Written for KAI C++ 4.0f for GNU/Linux
       
     5 #
       
     6 # This product has been discontinued, use Intel C++ instead.
       
     7 #
       
     8 # From the KAI C++ man page for Linux:
       
     9 # --[no_]thread_safe
       
    10 # 	[Waive or] Request thread-safe handling of system-allocated objects.
       
    11 # 	To guarantee thread safety, this option must be used when both
       
    12 # 	compiling and linking. Thread-safe C++ is not link-compatible with
       
    13 # 	(the default) non-thread-safe C++.
       
    14 #
       
    15 
       
    16 MAKEFILE_GENERATOR	= UNIX
       
    17 TEMPLATE		= app
       
    18 CONFIG			+= qt warn_on release link_prl
       
    19 QT			+= core gui
       
    20 
       
    21 QMAKE_CC		= KCC
       
    22 QMAKE_LEX		= flex
       
    23 QMAKE_LEXFLAGS		=
       
    24 QMAKE_YACC		= yacc
       
    25 QMAKE_YACCFLAGS		= -d
       
    26 QMAKE_CFLAGS		= --c --display_error_number --backend -pipe
       
    27 QMAKE_CFLAGS_DEPS	= -M
       
    28 QMAKE_CFLAGS_WARN_ON	=
       
    29 QMAKE_CFLAGS_WARN_OFF	= -w
       
    30 QMAKE_CFLAGS_RELEASE	= +K2
       
    31 QMAKE_CFLAGS_DEBUG	= +K0
       
    32 QMAKE_CFLAGS_SHLIB	= -fPIC
       
    33 QMAKE_CFLAGS_STATIC_LIB	= $$QMAKE_CFLAGS_SHLIB
       
    34 QMAKE_CFLAGS_YACC	= --diag_suppress 111,177
       
    35 QMAKE_CFLAGS_THREAD	= --thread_safe
       
    36 
       
    37 QMAKE_CXX		= KCC
       
    38 QMAKE_CXXFLAGS		= --display_error_number --diag_suppress 611,1142 --backend -pipe
       
    39 QMAKE_CXXFLAGS_DEPS	= $$QMAKE_CFLAGS_DEPS
       
    40 QMAKE_CXXFLAGS_WARN_ON	= $$QMAKE_CFLAGS_WARN_ON
       
    41 QMAKE_CXXFLAGS_WARN_OFF	= $$QMAKE_CFLAGS_WARN_OFF
       
    42 QMAKE_CXXFLAGS_RELEASE	= $$QMAKE_CFLAGS_RELEASE
       
    43 QMAKE_CXXFLAGS_DEBUG	= $$QMAKE_CFLAGS_DEBUG
       
    44 QMAKE_CXXFLAGS_SHLIB	= $$QMAKE_CFLAGS_SHLIB
       
    45 QMAKE_CXXFLAGS_STATIC_LIB = $$QMAKE_CFLAGS_STATIC_LIB
       
    46 QMAKE_CXXFLAGS_YACC	= $$QMAKE_CFLAGS_YACC
       
    47 QMAKE_CXXFLAGS_THREAD	= $$QMAKE_CFLAGS_THREAD
       
    48 
       
    49 QMAKE_INCDIR		=
       
    50 QMAKE_LIBDIR		=
       
    51 QMAKE_INCDIR_X11	= /usr/X11R6/include
       
    52 QMAKE_LIBDIR_X11	= /usr/X11R6/lib
       
    53 QMAKE_INCDIR_QT		= $$[QT_INSTALL_HEADERS]
       
    54 QMAKE_LIBDIR_QT		= $$[QT_INSTALL_LIBS]
       
    55 QMAKE_INCDIR_OPENGL	= /usr/X11R6/include
       
    56 QMAKE_LIBDIR_OPENGL	= /usr/X11R6/lib
       
    57 
       
    58 QMAKE_LINK		= KCC
       
    59 QMAKE_LINK_SHLIB	= KCC
       
    60 QMAKE_LFLAGS		=
       
    61 QMAKE_LFLAGS_RELEASE	=
       
    62 QMAKE_LFLAGS_DEBUG	=
       
    63 QMAKE_LFLAGS_SHLIB	=
       
    64 QMAKE_LFLAGS_PLUGIN	= $$QMAKE_LFLAGS_SHLIB
       
    65 QMAKE_LFLAGS_SONAME	= --soname$$LITERAL_WHITESPACE
       
    66 QMAKE_LFLAGS_THREAD	= --thread_safe
       
    67 QMAKE_RPATH		= -rpath$$LITERAL_WHITESPACE
       
    68 
       
    69 QMAKE_LIBS		=
       
    70 QMAKE_LIBS_DYNLOAD	= -ldl
       
    71 QMAKE_LIBS_X11		= -lXext -lX11 -lm
       
    72 QMAKE_LIBS_X11SM	= -lSM -lICE
       
    73 QMAKE_LIBS_NIS		= -lnsl
       
    74 QMAKE_LIBS_OPENGL	= -lGLU -lGL
       
    75 QMAKE_LIBS_OPENGL_QT	= -lGL
       
    76 QMAKE_LIBS_THREAD	=
       
    77 
       
    78 QMAKE_MOC		= $$[QT_INSTALL_BINS]/moc
       
    79 QMAKE_UIC		= $$[QT_INSTALL_BINS]/uic
       
    80 
       
    81 QMAKE_AR		= ar cqs
       
    82 QMAKE_OBJCOPY           = objcopy
       
    83 QMAKE_RANLIB		=
       
    84 
       
    85 QMAKE_CLEAN		= -r $(OBJECTS_DIR)ti_files
       
    86 
       
    87 QMAKE_TAR		= tar -cf
       
    88 QMAKE_GZIP		= gzip -9f
       
    89 
       
    90 QMAKE_COPY		= cp -f
       
    91 QMAKE_MOVE		= mv -f
       
    92 QMAKE_DEL_FILE		= rm -f
       
    93 QMAKE_DEL_DIR		= rmdir
       
    94 QMAKE_CHK_DIR_EXISTS	= test -d
       
    95 QMAKE_MKDIR		= mkdir -p
       
    96 include(../common/unix.conf)
       
    97 load(qt_config)