mkspecs/qws/macx-generic-g++/qmake.conf
changeset 0 1918ee327afb
child 30 5dc02b23752f
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 #
       
     2 # qmake configuration for macx-g++ with Qtopia Core
       
     3 #
       
     4 
       
     5 MAKEFILE_GENERATOR	= UNIX
       
     6 TEMPLATE		= app
       
     7 CONFIG			+= qt warn_on release link_prl
       
     8 QT                      += core gui network
       
     9 QMAKE_INCREMENTAL_STYLE = sublib
       
    10 QMAKE_EXTENSION_SHLIB	= dylib
       
    11 
       
    12 QMAKE_CC		= $(TB)cc
       
    13 QMAKE_LEX		= flex
       
    14 QMAKE_LEXFLAGS		=
       
    15 QMAKE_YACC		= yacc
       
    16 QMAKE_YACCFLAGS		= -d
       
    17 QMAKE_CFLAGS		= -pipe
       
    18 QMAKE_CFLAGS_WARN_ON	= -Wall -W
       
    19 QMAKE_CFLAGS_WARN_OFF	=
       
    20 QMAKE_CFLAGS_RELEASE	= -O2 -fno-default-inline
       
    21 QMAKE_CFLAGS_DEBUG	= -g
       
    22 QMAKE_CFLAGS_SHLIB	= -fPIC
       
    23 QMAKE_CFLAGS_YACC	= -Wno-unused -Wno-parentheses
       
    24 QMAKE_CFLAGS_THREAD	= -D_REENTRANT
       
    25 QMAKE_CFLAGS_HIDESYMS   = -fvisibility=hidden
       
    26 
       
    27 QMAKE_CXX		= $(TB)c++
       
    28 QMAKE_CXXFLAGS		= $$QMAKE_CFLAGS -DQT_NO_QWS_TRANSFORMED
       
    29 QMAKE_CXXFLAGS_WARN_ON	= $$QMAKE_CFLAGS_WARN_ON
       
    30 QMAKE_CXXFLAGS_WARN_OFF	= $$QMAKE_CFLAGS_WARN_OFF
       
    31 QMAKE_CXXFLAGS_RELEASE	= $$QMAKE_CFLAGS_RELEASE
       
    32 QMAKE_CXXFLAGS_DEBUG	= $$QMAKE_CFLAGS_DEBUG
       
    33 QMAKE_CXXFLAGS_SHLIB	= $$QMAKE_CFLAGS_SHLIB
       
    34 QMAKE_CXXFLAGS_YACC	= $$QMAKE_CFLAGS_YACC
       
    35 QMAKE_CXXFLAGS_THREAD	= $$QMAKE_CFLAGS_THREAD
       
    36 QMAKE_CXXFLAGS_HIDESYMS = $$QMAKE_CFLAGS_HIDESYMS -fvisibility-inlines-hidden
       
    37 
       
    38 QMAKE_INCDIR		=
       
    39 QMAKE_LIBDIR		=
       
    40 QMAKE_INCDIR_X11	=
       
    41 QMAKE_LIBDIR_X11	=
       
    42 QMAKE_INCDIR_QT		= $$[QT_INSTALL_HEADERS]
       
    43 QMAKE_LIBDIR_QT		= $$[QT_INSTALL_LIBS]
       
    44 QMAKE_INCDIR_OPENGL	= 
       
    45 QMAKE_LIBDIR_OPENGL	= 
       
    46 QMAKE_INCDIR_QTOPIA	= $(QPEDIR)/include
       
    47 QMAKE_LIBDIR_QTOPIA	= $(QPEDIR)/lib
       
    48 
       
    49 QMAKE_LINK		= $$QMAKE_CXX
       
    50 QMAKE_LINK_SHLIB	= $$QMAKE_CXX
       
    51 QMAKE_LFLAGS		=
       
    52 QMAKE_LFLAGS_RELEASE	=
       
    53 QMAKE_LFLAGS_DEBUG	=
       
    54 QMAKE_LFLAGS_SHLIB	= -dynamiclib 
       
    55 QMAKE_LFLAGS_INCREMENTAL = -undefined suppress -flat_namespace
       
    56 QMAKE_LFLAGS_PLUGIN	= -bundle
       
    57 QMAKE_LFLAGS_SONAME	= 
       
    58 QMAKE_LFLAGS_THREAD	=
       
    59 QMAKE_RPATH		= 
       
    60 
       
    61 QMAKE_LIBS		=
       
    62 QMAKE_LIBS_X11		=
       
    63 QMAKE_LIBS_X11SM	=
       
    64 QMAKE_LIBS_QT		= -lqte
       
    65 QMAKE_LIBS_QT_THREAD	= -lqte-mt
       
    66 QMAKE_LIBS_QT_OPENGL	= -lqgl
       
    67 QMAKE_LIBS_QTOPIA	= -lqpe -lqtopia
       
    68 QMAKE_LIBS_THREAD	= 
       
    69 QMAKE_LIBS_OPENGL	=
       
    70 
       
    71 QMAKE_MOC		= $$[QT_INSTALL_BINS]/moc
       
    72 QMAKE_UIC		= $$[QT_INSTALL_BINS]/uic
       
    73 
       
    74 QMAKE_AR		= ar cqs
       
    75 QMAKE_OBJCOPY           = objcopy
       
    76 QMAKE_RANLIB		=
       
    77 
       
    78 QMAKE_TAR		= tar -cf
       
    79 QMAKE_GZIP		= gzip -9f
       
    80 
       
    81 QMAKE_COPY		= cp -f
       
    82 QMAKE_MOVE		= mv -f
       
    83 QMAKE_DEL_FILE		= rm -f
       
    84 QMAKE_DEL_DIR		= rmdir
       
    85 QMAKE_CHK_DIR_EXISTS	= test -d
       
    86 QMAKE_MKDIR		= mkdir -p
       
    87 load(qt_config)