Subversion Repositories public

Rev

Rev 217 | Go to most recent revision | Blame | Last modification | View Log | RSS feed

# set the include path for X, qt and KDE
INCLUDES = $(all_includes)

# these are the headers for your project
noinst_HEADERS = coordinateswidget.h copy.h disassemble.h garmin.h managefile.h \
        progresswidget.h settingswidget.h sportwatcher.h sportwatcherwidget.h transform.h \
        wmsbase.h

# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO

messages: rc.cpp
        $(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
        $(XGETTEXT) *.cpp -o $(podir)/sportwatcher.pot

KDE_ICON = AUTO

#########################################################################
# APPLICATION SECTION
#########################################################################
# this is the program that gets installed.  it's name is used for all
# of the other Makefile.am variables
bin_PROGRAMS = sportwatcher

# the application source, library search path, and link libraries
sportwatcher_SOURCES = coordinateswidget.cpp coordinateswidgetbase.ui \
        disassemble.cpp import.cpp main.cpp managefile.cpp progresswidget.cpp \
        progresswidgetbase.ui settingswidget.cpp settingswidgetbase.ui sportwatcher.cpp \
        sportwatcherwidget.cpp sportwatcherwidgetbase.ui transform.cpp wmsbase.cpp wmswidgetbase.ui
sportwatcher_LDFLAGS = $(KDE_RPATH) $(all_libraries)
sportwatcher_LDADD = $(top_builddir)/libgarmin/libgarmin.a \
        $(top_builddir)/libgant/libgant.a $(GDAL_LIB) $(LIB_KDEUI) -lkio -lusb

# this is where the desktop file will go 
shelldesktopdir = $(kde_appsdir)/Utilities
shelldesktop_DATA = sportwatcher.desktop

# this is where the shell's XML-GUI resource file goes
shellrcdir = $(kde_datadir)/sportwatcher
shellrc_DATA = sportwatcherui.rc