88 |
andreas |
1 |
# set the include path for X, qt and KDE
|
151 |
andreas |
2 |
INCLUDES = $(all_includes)
|
88 |
andreas |
3 |
|
|
|
4 |
# these are the headers for your project
|
158 |
andreas |
5 |
noinst_HEADERS = coordinateswidget.h copy.h disassemble.h garmin.h managefile.h \
|
|
|
6 |
progresswidget.h settingswidget.h sportwatcher.h sportwatcherwidget.h transform.h \
|
|
|
7 |
wmsbase.h
|
88 |
andreas |
8 |
|
|
|
9 |
# let automoc handle all of the meta source files (moc)
|
|
|
10 |
METASOURCES = AUTO
|
|
|
11 |
|
|
|
12 |
messages: rc.cpp
|
|
|
13 |
$(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
|
|
|
14 |
$(XGETTEXT) *.cpp -o $(podir)/sportwatcher.pot
|
|
|
15 |
|
|
|
16 |
KDE_ICON = AUTO
|
|
|
17 |
|
|
|
18 |
#########################################################################
|
|
|
19 |
# APPLICATION SECTION
|
|
|
20 |
#########################################################################
|
|
|
21 |
# this is the program that gets installed. it's name is used for all
|
|
|
22 |
# of the other Makefile.am variables
|
|
|
23 |
bin_PROGRAMS = sportwatcher
|
|
|
24 |
|
|
|
25 |
# the application source, library search path, and link libraries
|
158 |
andreas |
26 |
sportwatcher_SOURCES = coordinateswidget.cpp coordinateswidgetbase.ui \
|
217 |
andreas |
27 |
disassemble.cpp import.cpp main.cpp managefile.cpp progresswidget.cpp \
|
|
|
28 |
progresswidgetbase.ui settingswidget.cpp settingswidgetbase.ui sportwatcher.cpp \
|
|
|
29 |
sportwatcherwidget.cpp sportwatcherwidgetbase.ui transform.cpp wmsbase.cpp wmswidgetbase.ui
|
88 |
andreas |
30 |
sportwatcher_LDFLAGS = $(KDE_RPATH) $(all_libraries)
|
230 |
andreas |
31 |
sportwatcher_LDADD = $(top_builddir)/libgarmin/libgarmin.a \
|
|
|
32 |
$(top_builddir)/libgant/libgant.a $(GDAL_LIB) $(LIB_KDEUI) -lkio -lusb
|
88 |
andreas |
33 |
|
|
|
34 |
# this is where the desktop file will go
|
146 |
andreas |
35 |
shelldesktopdir = $(kde_appsdir)/Utilities
|
88 |
andreas |
36 |
shelldesktop_DATA = sportwatcher.desktop
|
|
|
37 |
|
|
|
38 |
# this is where the shell's XML-GUI resource file goes
|
146 |
andreas |
39 |
shellrcdir = $(kde_datadir)/sportwatcher
|
88 |
andreas |
40 |
shellrc_DATA = sportwatcherui.rc
|
|
|
41 |
|