initial commit
[profile/ivi/hfdialer.git] / common.pri
1 VERSION = 0.2.5
2 TARGET = dialer
3 CONFIG += link_pkgconfig network opengl debug
4
5 # DEFINES += WANT_DEBUG
6
7 # Build configuration
8
9 !win32-msvc*:QMAKE_CXXFLAGS += -g
10
11 # Features
12 DEFINES += DBUS_SERVICE_PATH=\\\"/com/tizen/${QMAKE_TARGET}\\\"
13 DEFINES += DBUS_SERVICE=\\\"com.tizen.${QMAKE_TARGET}\\\"
14
15 # Sound theme base dir
16 DEFINES += SOUNDS_DIR=\\\"\"$$M_INSTALL_DATA/sounds\"\\\"
17
18 M_DBUS_SERVICES_DIR = $$M_INSTALL_DATA/dbus-1/services
19
20 # Defines for directories, for use in source code.
21 # They work cross-platform like this.
22 {
23     # APPLET_LIBS determines the location where all applet binaries are
24     DEFINES += APPLET_LIBS=\\\"\"$$M_APPLET_DIR\"\\\"
25
26     # APPLET_DATA determines where the .desktop files are located
27     DEFINES += APPLET_DATA=\\\"\"$$M_APPLET_DATA_DIR\"\\\"
28
29     # APPLET_SETTINGS_DIR determines where the applet global and instance settings files are located
30     DEFINES += APPLET_SETTINGS_DIR=\\\"\"$$M_APPLET_SETTINGS_DIR\"\\\"
31
32     # TRANSLATION_DIR determines the default translation path
33     DEFINES += TRANSLATION_DIR=\\\"\"$$M_TRANSLATION_DIR\"\\\"
34
35     # M_THEME_PRELOAD_DIR and M_THEME_POST_PRELOAD_DIR defines from where
36     # to get lists of images to be preloaded
37     DEFINES += M_THEME_PRELOAD_DIR=\\\"\"$$M_THEME_PRELOAD_DIR\"\\\"
38     DEFINES += M_THEME_POST_PRELOAD_DIR=\\\"\"$$M_THEME_POST_PRELOAD_DIR\"\\\"
39     DEFINES += M_DBUS_SERVICES_DIR=\\\"\"$$M_DBUS_SERVICES_DIR\"\\\"
40     DEFINES += M_XDG_DIR=\\\"\"$$M_XDG_DIR\"\\\"
41 }
42
43 # defines for dependencies
44 !win32:!macx{
45     DEFINES += HAVE_CONTEXTSUBSCRIBER
46     DEFINES += HAVE_ICU
47     DEFINES += HAVE_GCONF
48     DEFINES += HAVE_GSTREAMER
49 }