|
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: |
|
15 # |
|
16 |
|
17 include(../buildflags.pri) |
|
18 |
|
19 TEMPLATE = lib |
|
20 TARGET = radiopresetstorage |
|
21 CONFIG += dll |
|
22 DEFINES += BUILD_PRESET_STORAGE_DLL |
|
23 win32:DESTDIR = ../bin |
|
24 |
|
25 # Wrapper does not depend on QtGui or Orbit |
|
26 QT = core |
|
27 CONFIG -= hb |
|
28 |
|
29 symbian: { |
|
30 DEFINES += SYMBIAN |
|
31 TARGET.EPOCALLOWDLLDATA = 1 |
|
32 TARGET.CAPABILITY = CAP_GENERAL_DLL |
|
33 } |
|
34 |
|
35 INCLUDEPATH += inc |
|
36 |
|
37 COMPILE_WITH_NEW_PRESET_UTILITY { |
|
38 INCLUDEPATH += /epoc32/include/newfmpresetutility |
|
39 symbian:LIBS += -lpresetutility |
|
40 } else { |
|
41 symbian:LIBS += -lfmpresetutility |
|
42 } |
|
43 |
|
44 DEPENDPATH += $$INCLUDEPATH src |
|
45 |
|
46 # $$_PRO_FILE_PWD_ points to the directory of the pro file |
|
47 MOC_DIR = $$_PRO_FILE_PWD_/tmp |
|
48 |
|
49 # Input |
|
50 HEADERS += radiopresetstorage.h |
|
51 HEADERS += radiostationif.h |
|
52 HEADERS += radiopresetstorageexport.h |
|
53 |
|
54 symbian:INTERNAL_HEADERS += radiopresetstorage_p.h |
|
55 symbian:SOURCES += radiopresetstorage.cpp |
|
56 |
|
57 win32:HEADERS += radiopresetstorage_win32_p.h |
|
58 win32:SOURCES += radiopresetstorage_win32.cpp |