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
|
137 |
andreas |
5 |
noinst_HEADERS = copy.h disassemble.h garmin.h managefile.h progresswidget.h \
|
94 |
andreas |
6 |
settingswidget.h sportwatcher.h sportwatcherwidget.h
|
88 |
andreas |
7 |
|
|
|
8 |
# let automoc handle all of the meta source files (moc)
|
|
|
9 |
METASOURCES = AUTO
|
|
|
10 |
|
|
|
11 |
messages: rc.cpp
|
|
|
12 |
$(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
|
|
|
13 |
$(XGETTEXT) *.cpp -o $(podir)/sportwatcher.pot
|
|
|
14 |
|
|
|
15 |
KDE_ICON = AUTO
|
|
|
16 |
|
|
|
17 |
#########################################################################
|
|
|
18 |
# APPLICATION SECTION
|
|
|
19 |
#########################################################################
|
|
|
20 |
# this is the program that gets installed. it's name is used for all
|
|
|
21 |
# of the other Makefile.am variables
|
|
|
22 |
bin_PROGRAMS = sportwatcher
|
|
|
23 |
|
|
|
24 |
# the application source, library search path, and link libraries
|
|
|
25 |
sportwatcher_SOURCES = disassemble.cpp main.cpp managefile.cpp \
|
94 |
andreas |
26 |
progresswidget.cpp progresswidgetbase.ui settingswidget.cpp settingswidgetbase.ui \
|
|
|
27 |
sportwatcher.cpp sportwatcherwidget.cpp sportwatcherwidgetbase.ui
|
88 |
andreas |
28 |
sportwatcher_LDFLAGS = $(KDE_RPATH) $(all_libraries)
|
151 |
andreas |
29 |
sportwatcher_LDADD = $(top_builddir)/libgarmin/libgarmin.a $(LIB_KDEUI) -lkio \
|
|
|
30 |
-lusb -lgdal1.5.0
|
88 |
andreas |
31 |
|
|
|
32 |
# this is where the desktop file will go
|
146 |
andreas |
33 |
shelldesktopdir = $(kde_appsdir)/Utilities
|
88 |
andreas |
34 |
shelldesktop_DATA = sportwatcher.desktop
|
|
|
35 |
|
|
|
36 |
# this is where the shell's XML-GUI resource file goes
|
146 |
andreas |
37 |
shellrcdir = $(kde_datadir)/sportwatcher
|
88 |
andreas |
38 |
shellrc_DATA = sportwatcherui.rc
|
|
|
39 |
|
151 |
andreas |
40 |
AM_CXXFLAGS = -DGDAL
|