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
2
INCLUDES = $(all_includes)
3
 
4
# these are the headers for your project
94 andreas 5
noinst_HEADERS = disassemble.h garmin.h managefile.h progresswidget.h \
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)
94 andreas 29
sportwatcher_LDADD = $(top_builddir)/libgarmin/libgarmin.a $(LIB_KDEUI) -lkio \
30
	-lusb
88 andreas 31
 
32
# this is where the desktop file will go 
33
shelldesktopdir   = $(kde_appsdir)/Utilities
34
shelldesktop_DATA = sportwatcher.desktop
35
 
36
# this is where the shell's XML-GUI resource file goes
37
shellrcdir   = $(kde_datadir)/sportwatcher
38
shellrc_DATA = sportwatcherui.rc
39