Merged with master
[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     map/mapengine.cpp \
11     map/mapview.cpp \
12     map/mapscene.cpp \
13     map/maptile.cpp
14
15 HEADERS += ui/mainwindow.h \
16     ui/mapviewscreen.h \
17     ui/listviewscreen.h \
18     map/mapengine.h \
19     map/mapview.h \
20     map/mapscene.h \
21     map/maptile.h
22
23
24 # -----------------------------------------------------------------
25 # Debian packetizing additions
26 # -----------------------------------------------------------------
27 unix { 
28     # VARIABLES
29     isEmpty(PREFIX):PREFIX = /usr/local
30     BINDIR = $$PREFIX/bin
31     DATADIR = $$PREFIX/share
32     DEFINES += DATADIR=\"$$DATADIR\" \
33         PKGDATADIR=\"$$PKGDATADIR\"
34     
35     # MAKE INSTALL
36     INSTALLS += target \
37         desktop \
38         iconxpm \
39         icon26 \
40         icon40 \
41         icon64
42     target.path = $$BINDIR
43     desktop.path = $$DATADIR/applications/hildon
44     desktop.files += $${TARGET}.desktop
45     iconxpm.path = $$DATADIR/pixmap
46     iconxpm.files += ../data/maemo/$${TARGET}.xpm
47     icon26.path = $$DATADIR/icons/hicolor/26x26/apps
48     icon26.files += ../data/26x26/$${TARGET}.png
49     icon40.path = $$DATADIR/icons/hicolor/40x40/apps
50     icon40.files += ../data/40x40/$${TARGET}.png
51     icon64.path = $$DATADIR/icons/hicolor/64x64/apps
52     icon64.files += ../data/64x64/$${TARGET}.png
53 }