Modified situare.pro and src/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     src/map/mapfetcher.h
15
16 # -----------------------------------------------------------------
17 # Debian packetizing additions
18 # -----------------------------------------------------------------
19 unix { 
20     # VARIABLES
21     isEmpty(PREFIX):PREFIX = /usr/local
22     BINDIR = $$PREFIX/bin
23     DATADIR = $$PREFIX/share
24     DEFINES += DATADIR=\"$$DATADIR\" \
25         PKGDATADIR=\"$$PKGDATADIR\"
26     
27     # MAKE INSTALL
28     INSTALLS += target \
29         desktop \
30         iconxpm \
31         icon26 \
32         icon40 \
33         icon64
34     target.path = $$BINDIR
35     desktop.path = $$DATADIR/applications/hildon
36     desktop.files += $${TARGET}.desktop
37     iconxpm.path = $$DATADIR/pixmap
38     iconxpm.files += ../data/maemo/$${TARGET}.xpm
39     icon26.path = $$DATADIR/icons/hicolor/26x26/apps
40     icon26.files += ../data/26x26/$${TARGET}.png
41     icon40.path = $$DATADIR/icons/hicolor/40x40/apps
42     icon40.files += ../data/40x40/$${TARGET}.png
43     icon64.path = $$DATADIR/icons/hicolor/64x64/apps
44     icon64.files += ../data/64x64/$${TARGET}.png
45 }