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