Subversion Repositories public

Rev

Rev 217 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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