Modified src.pro.
[situare] / src / src.pro
1 # -------------------------------------------------
2 # Project created by QtCreator 2010-03-26T07:57:35
3 # -------------------------------------------------
4 TARGET = ../situare
5 TEMPLATE = app
6 SOURCES += main.cpp \
7     ui/mainwindow.cpp \
8     ui/mapviewscreen.cpp \
9     ui/listviewscreen.cpp \
10     src/map/mapfetcher.cpp
11 HEADERS += ui/mainwindow.h \
12     ui/mapviewscreen.h \
13     ui/listviewscreen.h
14
15 # -----------------------------------------------------------------
16 # Debian packetizing additions
17 # -----------------------------------------------------------------
18 unix { 
19     # VARIABLES
20     isEmpty(PREFIX):PREFIX = /usr/local
21     BINDIR = $$PREFIX/bin
22     DATADIR = $$PREFIX/share
23     DEFINES += DATADIR=\"$$DATADIR\" \
24         PKGDATADIR=\"$$PKGDATADIR\"
25     
26     # MAKE INSTALL
27     INSTALLS += target \
28         desktop \
29         iconxpm \
30         icon26 \
31         icon40 \
32         icon64
33     target.path = $$BINDIR
34     desktop.path = $$DATADIR/applications/hildon
35     desktop.files += $${TARGET}.desktop
36     iconxpm.path = $$DATADIR/pixmap
37     iconxpm.files += ../data/maemo/$${TARGET}.xpm
38     icon26.path = $$DATADIR/icons/hicolor/26x26/apps
39     icon26.files += ../data/26x26/$${TARGET}.png
40     icon40.path = $$DATADIR/icons/hicolor/40x40/apps
41     icon40.files += ../data/40x40/$${TARGET}.png
42     icon64.path = $$DATADIR/icons/hicolor/64x64/apps
43     icon64.files += ../data/64x64/$${TARGET}.png
44 }