Subversion Repositories public

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
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 \
152 andreas 6
	settingswidget.h sportwatcher.h sportwatcherwidget.h wmsbase.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 \
152 andreas 27
	sportwatcher.cpp sportwatcherwidget.cpp sportwatcherwidgetbase.ui wmsbase.cpp \
28
	wmswidgetbase.ui
88 andreas 29
sportwatcher_LDFLAGS = $(KDE_RPATH) $(all_libraries)
151 andreas 30
sportwatcher_LDADD = $(top_builddir)/libgarmin/libgarmin.a $(LIB_KDEUI) -lkio \
155 andreas 31
	$(GDAL_LIB) -lusb
88 andreas 32
 
33
# this is where the desktop file will go 
146 andreas 34
shelldesktopdir = $(kde_appsdir)/Utilities
88 andreas 35
shelldesktop_DATA = sportwatcher.desktop
36
 
37
# this is where the shell's XML-GUI resource file goes
146 andreas 38
shellrcdir = $(kde_datadir)/sportwatcher
88 andreas 39
shellrc_DATA = sportwatcherui.rc
40