12 # Contributors: |
12 # Contributors: |
13 # |
13 # |
14 # Description: |
14 # Description: |
15 # |
15 # |
16 |
16 |
|
17 TMP_DIR_NAME = enginewrapper_stub |
17 include(../../buildflags.pri) |
18 include(../../buildflags.pri) |
18 |
19 |
19 TEMPLATE = lib |
20 TEMPLATE = lib |
20 TARGET = radioenginewrapper_stub |
21 TARGET = fmradioenginewrapper_stub |
21 CONFIG += dll |
22 CONFIG += dll |
22 DEFINES += BUILD_WRAPPER_DLL |
23 DEFINES += BUILD_WRAPPER_DLL |
23 win32:DESTDIR = ../bin |
24 |
24 |
|
25 # Wrapper does not depend on QtGui or Orbit |
|
26 QT = core |
|
27 CONFIG -= gui hb |
|
28 USE_DUMMY_RADIO_DATA:QT += xml |
25 USE_DUMMY_RADIO_DATA:QT += xml |
29 |
26 |
|
27 INCLUDEPATH += ../inc |
|
28 INCLUDEPATH += ../../../common |
|
29 |
|
30 # Common headers |
|
31 HEADERS += radiowrapperexport.h |
|
32 HEADERS += radio_global.h |
|
33 HEADERS += radiologger.h |
|
34 HEADERS += radioenginewrapper.h |
|
35 HEADERS += radiosettingsif.h |
|
36 HEADERS += radiosettings.h |
|
37 HEADERS += radiostationhandlerif.h |
|
38 HEADERS += radioenginewrapperobserver.h |
|
39 |
|
40 INTERNAL_HEADERS += radiosettings_p.h |
|
41 |
|
42 #USE_DUMMY_RADIO_DATA:HEADERS += t_radiodataparser.h |
|
43 |
|
44 # Common sources |
|
45 SOURCES += radiosettings.cpp |
|
46 SOURCES += radiologger.cpp |
|
47 SOURCES += radioenginewrapperobserver.cpp |
|
48 |
|
49 # Symbian specific stuff |
30 symbian: { |
50 symbian: { |
31 DEFINES += SYMBIAN |
|
32 TARGET.EPOCALLOWDLLDATA = 1 |
|
33 TARGET.CAPABILITY = CAP_GENERAL_DLL |
|
34 |
|
35 INCLUDEPATH += ../../../radioengine/utils/api |
51 INCLUDEPATH += ../../../radioengine/utils/api |
36 INCLUDEPATH += ../../../radioengine/settings/api |
52 INCLUDEPATH += ../../../radioengine/settings/api |
37 INCLUDEPATH += ../../../radioengine/engine/api |
53 INCLUDEPATH += ../../../radioengine/engine/api |
38 MMP_RULES += SMPSAFE |
|
39 } |
|
40 |
54 |
41 win32: { |
55 LIBS *= -lfmradioengineutils_stub |
42 INCLUDEPATH += inc/win32 |
56 LIBS *= -lfmradioenginesettings_stub |
43 } |
57 LIBS *= -lfmradioengine_stub |
44 INCLUDEPATH += ../inc |
|
45 INCLUDEPATH += ../commoninc |
|
46 |
58 |
47 |
59 HEADERS += radioenginehandler.h |
48 symbian:LIBS *= -lradioengineutils_stub |
|
49 symbian:LIBS *= -lradioenginesettings_stub |
|
50 symbian:LIBS *= -lradioengine_stub |
|
51 symbian:LIBS *= -lflogger |
|
52 |
|
53 DEPENDPATH += $$INCLUDEPATH ../src |
|
54 |
|
55 # $$_PRO_FILE_PWD_ points to the directory of the pro file |
|
56 MOC_DIR = $$_PRO_FILE_PWD_/tmp |
|
57 |
|
58 # Input |
|
59 HEADERS += radiowrapperexport.h |
|
60 HEADERS += radio_global.h |
|
61 HEADERS += radiologger.h |
|
62 HEADERS += radioenginewrapper.h |
|
63 HEADERS += radiosettings.h |
|
64 HEADERS += radiostationhandlerif.h |
|
65 |
|
66 INTERNAL_HEADERS += radiosettings_p.h |
|
67 |
|
68 symbian: { |
|
69 HEADERS += cradioenginehandler.h |
|
70 HEADERS += mradioenginehandlerobserver.h |
60 HEADERS += mradioenginehandlerobserver.h |
71 HEADERS += radiofrequencyscanninghandler.h |
|
72 HEADERS += radiocontroleventlistener.h |
61 HEADERS += radiocontroleventlistener.h |
73 HEADERS += radiordslistener.h |
62 HEADERS += radiordslistener.h |
74 |
63 |
75 INTERNAL_HEADERS += radioenginewrapper_p.h |
64 INTERNAL_HEADERS += radioenginewrapper_p.h |
76 } |
|
77 |
65 |
78 #USE_DUMMY_RADIO_DATA:HEADERS += t_radiodataparser.h |
|
79 |
|
80 win32:HEADERS += radioenginewrapper_win32_p.h |
|
81 win32:HEADERS += $$INTERNAL_HEADERS |
|
82 |
|
83 SOURCES += radiosettings.cpp |
|
84 SOURCES += radiologger.cpp |
|
85 |
|
86 symbian: { |
|
87 SOURCES += radiosettings_p.cpp |
66 SOURCES += radiosettings_p.cpp |
88 SOURCES += radioenginewrapper.cpp |
67 SOURCES += radioenginewrapper.cpp |
89 SOURCES += radioenginewrapper_p.cpp |
68 SOURCES += radioenginewrapper_p.cpp |
90 SOURCES += cradioenginehandler.cpp |
69 SOURCES += radioenginehandler.cpp |
91 SOURCES += radiofrequencyscanninghandler.cpp |
|
92 SOURCES += radiocontroleventlistener.cpp |
70 SOURCES += radiocontroleventlistener.cpp |
93 SOURCES += radiordslistener.cpp |
71 SOURCES += radiordslistener.cpp |
94 } |
72 } |
95 |
73 |
96 #USE_DUMMY_RADIO_DATA:SOURCES += t_radiodataparser.cpp |
74 #USE_DUMMY_RADIO_DATA:SOURCES += t_radiodataparser.cpp |
97 |
75 |
98 win32:SOURCES += radiosettings_win32_p.cpp |
76 # Win32 specific stuff |
99 win32:SOURCES += radioenginewrapper_win32.cpp |
77 win32: { |
100 win32:SOURCES += radioenginewrapper_win32_p.cpp |
78 INCLUDEPATH += inc/win32 |
|
79 |
|
80 HEADERS += radioenginewrapper_win32_p.h |
|
81 HEADERS += $$INTERNAL_HEADERS |
|
82 |
|
83 SOURCES += radiosettings_win32_p.cpp |
|
84 SOURCES += radioenginewrapper_win32.cpp |
|
85 SOURCES += radioenginewrapper_win32_p.cpp |
|
86 } |
|
87 |
|
88 DEPENDPATH += $$INCLUDEPATH ../src |