03bd6fd331213c64fd0556209b9a65367da9a6dd
[irwi] / src / src.pro
1 TEMPLATE = app
2 TARGET = irwi
3
4 SOURCES += rating.cpp
5 SOURCES += settingsdlg.cpp
6 SOURCES += main.cpp
7 SOURCES += mainwidget.cpp
8 SOURCES += irctrl.cpp
9 SOURCES += remote.cpp
10 SOURCES += remotedbmgr.cpp
11 SOURCES += selectremotedlg.cpp
12 SOURCES += advsettingsdlg.cpp
13 SOURCES += settingstable.cpp
14 SOURCES += aboutdlg.cpp
15 SOURCES += remotelistwidgetitem.cpp
16
17 HEADERS += rating.h
18 HEADERS += settingsdlg.h
19 HEADERS += mainwidget.h
20 HEADERS += irctrl.h
21 HEADERS += remote.h
22 HEADERS += remotedbmgr.h
23 HEADERS += selectremotedlg.h
24 HEADERS += advsettingsdlg.h
25 HEADERS += settingstable.h
26 HEADERS += aboutdlg.h
27 HEADERS += remotelistwidgetitem.h
28
29 include(qmaemo5homescreenadaptor/qmaemo5homescreenadaptor.pri)
30
31 OBJECTS_DIR = obj
32 MOC_DIR = moc
33
34 QT += network
35 QT += xml
36
37 unix {
38 #VARIABLES
39 isEmpty(PREFIX) {
40     PREFIX = /usr
41 }
42
43 BINDIR = $$PREFIX/bin
44 DATADIR =$$PREFIX/share
45
46 DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
47
48 #MAKE INSTALL
49
50 INSTALLS += target desktop iconxpm icon26 icon48 icon64
51
52   target.path = $$PREFIX/lib/hildon-desktop
53
54   desktop.path = $$PREFIX/share/applications/hildon-home
55   desktop.files += $${TARGET}.desktop
56
57   iconxpm.path = $$DATADIR/pixmap
58   iconxpm.files += ../data/maemo/$${TARGET}.xpm
59
60   icon26.path = $$DATADIR/icons/hicolor/26x26/apps
61   icon26.files += ../data/26x26/$${TARGET}.png
62
63   icon48.path = $$DATADIR/icons/hicolor/48x48/apps
64   icon48.files += ../data/48x48/$${TARGET}.png
65
66   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
67   icon64.files += ../data/64x64/$${TARGET}.png
68 }
69