src/flint.pri
changeset 6 c3690ec91ef8
parent 5 627c4a0fd0e7
child 7 923ff622b8b9
equal deleted inserted replaced
5:627c4a0fd0e7 6:c3690ec91ef8
     1 #
       
     2 #############################################################################
       
     3 ##
       
     4 ## Copyright (C) 2008-2010 Nokia Corporation and/or its subsidiary(-ies).
       
     5 ## All rights reserved.
       
     6 ## Contact: Nokia Corporation (developer.feedback@nokia.com)
       
     7 ##
       
     8 ## This file is part of the UI Extensions for Mobile.
       
     9 ##
       
    10 ## GNU Lesser General Public License Usage
       
    11 ## This file may be used under the terms of the GNU Lesser General Public
       
    12 ## License version 2.1 as published by the Free Software Foundation and
       
    13 ## appearing in the file LICENSE.LGPL included in the packaging of this file.
       
    14 ## Please review the following information to ensure the GNU Lesser General
       
    15 ## Public License version 2.1 requirements will be met:
       
    16 ## http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
       
    17 ##
       
    18 ## In addition, as a special exception, Nokia gives you certain additional
       
    19 ## rights.  These rights are described in the Nokia Qt LGPL Exception
       
    20 ## version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
       
    21 ##
       
    22 ## If you have questions regarding the use of this file, please contact
       
    23 ## Nokia at developer.feedback@nokia.com.
       
    24 ##
       
    25 #############################################################################
       
    26 #
       
    27 
       
    28 root {
       
    29 
       
    30     flint.CONFIG = recursive
       
    31     flint.recurse = src
       
    32 
       
    33 } else:contains(TEMPLATE, .*subdirs$) {
       
    34 
       
    35     flint.CONFIG += recursive
       
    36 
       
    37 } else {
       
    38 
       
    39     unix:flint.commands += $(FLINT_BIN) `echo $(DEFINES) | sed s/-D/-d/g` `echo $(INCPATH) | sed s/-I/-i/g` \
       
    40                            $(FLINT_INDIRECTS) $$SOURCES 2>&1 > $${HB_BUILD_DIR}/\$(QMAKE_TARGET).txt
       
    41 
       
    42 }
       
    43 
       
    44 QMAKE_EXTRA_TARGETS += flint