utilities/standaloneallocator/standaloneallocator.pro
changeset 16 3c88a81ff781
equal deleted inserted replaced
14:6aeb7a756187 16:3c88a81ff781
       
     1 # Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     2 #
       
     3 # This file is part of Qt Web Runtime.
       
     4 #
       
     5 # This library is free software; you can redistribute it and/or
       
     6 # modify it under the terms of the GNU Lesser General Public License
       
     7 # version 2.1 as published by the Free Software Foundation.
       
     8 #
       
     9 # This library is distributed in the hope that it will be useful,
       
    10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
       
    12 # Lesser General Public License for more details.
       
    13 #
       
    14 # You should have received a copy of the GNU Lesser General Public
       
    15 # License along with this library; if not, write to the Free Software
       
    16 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
       
    17 #
       
    18 #
       
    19 
       
    20 # Custom memory allocator lib for Symbian only
       
    21 TEMPLATE = lib
       
    22 TARGET   = standaloneallocator
       
    23 # We might want to change this later to project-specific output area
       
    24 DESTDIR  = $$QMAKE_LIBDIR_QT
       
    25 # No need for any Qt libs here, pure Symbian C++
       
    26 QT       =
       
    27 
       
    28 CONFIG  += staticlib warn_on
       
    29 CONFIG  -= qt shared
       
    30 
       
    31 symbian {
       
    32     # Note: UID only needed for ensuring that no filename generation conflicts occur
       
    33     TARGET.UID3 = 0x200267B8
       
    34     INCLUDEPATH += . $${EPOCROOT}epoc32/include
       
    35     INCLUDEPATH += . $${EPOCROOT}epoc32/include/platform
       
    36     SOURCEPATH = .
       
    37     SOURCES  =  newallocator_hook.cpp newallocator.cpp
       
    38     MMP_RULES += EXPORTUNFROZEN
       
    39     
       
    40     # This seems not to work, some hard coded libs are still added as dependency
       
    41     LIBS =
       
    42 } else {
       
    43     error("$$_FILE_ is intended only for Symbian!")
       
    44 }