clock/clockui/clockwidget/clockwidgetplugin/clockwidgetplugin.pro
changeset 45 b6db4fd4947b
equal deleted inserted replaced
23:fd30d51f876b 45:b6db4fd4947b
       
     1 #
       
     2 # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 # All rights reserved.
       
     4 # This component and the accompanying materials are made available
       
     5 # under the terms of "Eclipse Public License v1.0"
       
     6 # which accompanies this distribution, and is available
       
     7 # at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 # 
       
     9 # Initial Contributors:
       
    10 # Nokia Corporation - initial contribution.
       
    11 # 
       
    12 # Contributors: 
       
    13 # 
       
    14 # Description: This is the project specification file for the
       
    15 # clockwidgetplugin.
       
    16 #
       
    17 
       
    18 TEMPLATE = lib
       
    19 TARGET = clockwidgetplugin
       
    20 
       
    21 win32{
       
    22 CONFIG(release, debug|release){
       
    23 	TARGET = clockwidgetplugin
       
    24 	} else {
       
    25 	TARGET = clockwidgetplugind
       
    26 	}
       
    27 }
       
    28 
       
    29 CONFIG += hb plugin
       
    30 
       
    31 win32{
       
    32 CONFIG(release, debug|release){
       
    33 		DESTDIR = ../release # for easy plugin loading
       
    34 		LIBS += -L../release -lclockwidget
       
    35 	} else {
       
    36 		DESTDIR = ../debug # for easy plugin loading
       
    37 		LIBS += -L../debug -lclockwidgetd
       
    38 	}
       
    39 }
       
    40 
       
    41 SOURCES += \
       
    42         main.cpp
       
    43 
       
    44 INCLUDEPATH += \
       
    45             ../clockwidgetimpl \ 
       
    46             ../clockwidgetimpl/inc
       
    47 
       
    48 symbian: { 
       
    49     TARGET.UID3 = 0x2002E716
       
    50 	TARGET.EPOCALLOWDLLDATA=1
       
    51 	TARGET.CAPABILITY = CAP_GENERAL_DLL
       
    52 	  
       
    53 	LIBS += \
       
    54 	    -lclockwidget.dll
       
    55 
       
    56 	pluginstub.sources = clockwidgetplugin.dll
       
    57 	pluginstub.path = /resource/plugins
       
    58 	DEPLOYMENT += pluginstub
       
    59 	DESTDIR = $$HB_PLUGINS_DIR
       
    60 }
       
    61 
       
    62 !local {
       
    63     target.path = $$HB_PLUGINS_DIR
       
    64     INSTALLS += target
       
    65 }
       
    66 
       
    67 # End of file	--Don't remove this.