src/tools/bootstrap/bootstrap.pro
changeset 0 1918ee327afb
child 3 41300fa6a67c
equal deleted inserted replaced
-1:000000000000 0:1918ee327afb
       
     1 TEMPLATE = lib
       
     2 TARGET = bootstrap
       
     3 CONFIG += staticlib
       
     4 
       
     5 CONFIG += console qtinc 
       
     6 CONFIG -= qt
       
     7 build_all:!build_pass {
       
     8     CONFIG -= build_all
       
     9     CONFIG += release
       
    10 }
       
    11 mac:CONFIG -= app_bundle incremental
       
    12 
       
    13 DEFINES += \
       
    14         QT_BOOTSTRAPPED \
       
    15         QT_LITE_UNICODE \
       
    16         QT_NO_CAST_FROM_ASCII \
       
    17         QT_NO_CAST_TO_ASCII \
       
    18         QT_NO_CODECS \
       
    19         QT_NO_DATASTREAM \
       
    20         QT_NO_GEOM_VARIANT \
       
    21         QT_NO_LIBRARY \
       
    22         QT_NO_QOBJECT \
       
    23         QT_NO_STL \
       
    24         QT_NO_SYSTEMLOCALE \
       
    25         QT_NO_TEXTSTREAM \
       
    26         QT_NO_THREAD \
       
    27         QT_NO_UNICODETABLES \
       
    28         QT_NO_USING_NAMESPACE
       
    29 win32:DEFINES += QT_NODLL
       
    30 
       
    31 INCLUDEPATH += $$QT_BUILD_TREE/include \
       
    32             $$QT_BUILD_TREE/include/QtCore \
       
    33             $$QT_BUILD_TREE/include/QtXml \
       
    34 
       
    35 DEPENDPATH += $$INCLUDEPATH \
       
    36               ../../corelib/global \
       
    37               ../../corelib/kernel \
       
    38               ../../corelib/tools \
       
    39               ../../corelib/io \
       
    40               ../../corelib/codecs \
       
    41               ../../xml
       
    42 
       
    43 SOURCES += \
       
    44            ../../corelib/codecs/qisciicodec.cpp \
       
    45            ../../corelib/codecs/qlatincodec.cpp \
       
    46            ../../corelib/codecs/qsimplecodec.cpp \
       
    47            ../../corelib/codecs/qtextcodec.cpp \
       
    48            ../../corelib/codecs/qtsciicodec.cpp \
       
    49            ../../corelib/codecs/qutfcodec.cpp \
       
    50            ../../corelib/global/qglobal.cpp \
       
    51            ../../corelib/global/qmalloc.cpp \
       
    52            ../../corelib/global/qnumeric.cpp \
       
    53            ../../corelib/io/qabstractfileengine.cpp \
       
    54            ../../corelib/io/qbuffer.cpp \
       
    55            ../../corelib/io/qdir.cpp \
       
    56            ../../corelib/io/qdiriterator.cpp \
       
    57            ../../corelib/io/qfile.cpp \
       
    58            ../../corelib/io/qfileinfo.cpp \
       
    59            ../../corelib/io/qfsfileengine.cpp \
       
    60            ../../corelib/io/qfsfileengine_iterator.cpp \
       
    61            ../../corelib/io/qiodevice.cpp \
       
    62            ../../corelib/io/qtemporaryfile.cpp \
       
    63            ../../corelib/io/qtextstream.cpp \
       
    64            ../../corelib/io/qurl.cpp \
       
    65            ../../corelib/kernel/qmetatype.cpp \
       
    66            ../../corelib/kernel/qvariant.cpp \
       
    67            ../../corelib/tools/qbitarray.cpp \
       
    68            ../../corelib/tools/qbytearray.cpp \
       
    69            ../../corelib/tools/qbytearraymatcher.cpp \
       
    70            ../../corelib/tools/qdatetime.cpp \
       
    71            ../../corelib/tools/qhash.cpp \
       
    72            ../../corelib/tools/qlist.cpp \
       
    73            ../../corelib/tools/qlocale.cpp \
       
    74            ../../corelib/tools/qmap.cpp \
       
    75            ../../corelib/tools/qregexp.cpp \
       
    76            ../../corelib/tools/qstring.cpp \
       
    77            ../../corelib/tools/qstringlist.cpp \
       
    78            ../../corelib/tools/qvector.cpp \
       
    79            ../../corelib/tools/qvsnprintf.cpp \
       
    80            ../../corelib/xml/qxmlutils.cpp \
       
    81 	   ../../corelib/xml/qxmlstream.cpp \
       
    82            ../../xml/dom/qdom.cpp \
       
    83            ../../xml/sax/qxml.cpp
       
    84 
       
    85 unix:SOURCES += ../../corelib/io/qfsfileengine_unix.cpp \
       
    86                 ../../corelib/io/qfsfileengine_iterator_unix.cpp
       
    87 
       
    88 win32:SOURCES += ../../corelib/io/qfsfileengine_win.cpp \
       
    89                  ../../corelib/io/qfsfileengine_iterator_win.cpp
       
    90 
       
    91 macx: {
       
    92    QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.4 #enables weak linking for 10.4 (exported)
       
    93    SOURCES += ../../corelib/kernel/qcore_mac.cpp
       
    94    LIBS += -framework CoreServices
       
    95 }
       
    96 
       
    97 contains(QT_CONFIG, zlib) {
       
    98    INCLUDEPATH += ../../3rdparty/zlib
       
    99    SOURCES+= \
       
   100         ../3rdparty/zlib/adler32.c \
       
   101         ../3rdparty/zlib/compress.c \
       
   102         ../3rdparty/zlib/crc32.c \
       
   103         ../3rdparty/zlib/deflate.c \
       
   104         ../3rdparty/zlib/gzio.c \
       
   105         ../3rdparty/zlib/inffast.c \
       
   106         ../3rdparty/zlib/inflate.c \
       
   107         ../3rdparty/zlib/inftrees.c \
       
   108         ../3rdparty/zlib/trees.c \
       
   109         ../3rdparty/zlib/uncompr.c \
       
   110         ../3rdparty/zlib/zutil.c
       
   111 }
       
   112 
       
   113 lib.CONFIG = dummy_install
       
   114 INSTALLS += lib