New colors, Graphs button removed
[scorecard] / scorecard.pro
1 TARGET = scorecard
2 DESTDIR = bin
3 MOC_DIR = moc
4 OBJECTS_DIR = obj
5 UI_DIR = obj
6
7 QMAKE_CXXFLAGS += -Wno-return-type
8
9 CONFIG  += qt debug
10 TEMPLATE = app
11 QT      += xml
12
13 RESOURCES = scorecard.qrc
14
15 HEADERS  = \
16 src/main-window.h \
17 src/score-dialog.h \
18 src/course-dialog.h \
19 src/table-model.h \
20 src/stat-model.h \
21 src/xml-dom-parser.h \
22 src/data.h
23
24 SOURCES  = \
25 src/main.cpp \
26 src/main-window.cpp \
27 src/score-dialog.cpp \
28 src/course-dialog.cpp \
29 src/table-model.cpp \
30 src/stat-model.cpp \
31 src/xml-dom-parser.cpp \
32 src/data.cpp
33
34 unix {
35     #VARIABLES
36     PREFIX = /opt/scorecard
37     BINDIR = $$PREFIX/bin
38     DATADIR = $$PREFIX/data
39     IMGDIR = /usr/share/icons/hicolor
40     MAEMODIR = /usr/share/applications/hildon
41
42     DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
43
44     #MAKE INSTALL    
45     INSTALLS += target data desktop iconxpm icon26 icon40 icon64
46
47     target.path =$$BINDIR
48
49     data.path = $$DATADIR
50     data.files += data/club.xml
51
52     desktop.path = $$MAEMODIR
53     desktop.files += maemo/scorecard.desktop
54
55     iconxpm.path = /usr/share/pixmap
56     iconxpm.files += images/scorecard.xpm 
57
58     icon26.path = $$IMGDIR/26x26/apps
59     icon26.files += images/scorecard_icon_26x26.png 
60
61     icon40.path = $$IMGADIR/40x40/apps
62     icon40.files += images/scorecard_icon_40x40.png 
63
64     icon64.path = $$IMGDIR/64x64/apps
65     icon64.files += images/scorecard_icon_64x64.png 
66     
67 }