|
|
|
## Makefile.am for kgoldrunner
|
|
|
|
|
|
|
|
# this is the program that gets installed. it's name is used for all
|
|
|
|
# of the other Makefile.am variables
|
|
|
|
bin_PROGRAMS = kgoldrunner
|
|
|
|
|
|
|
|
# set the include path for X, qt and KDE
|
|
|
|
INCLUDES = -I$(top_srcdir)/libtdegames $(all_includes)
|
|
|
|
|
|
|
|
# the library search path.
|
|
|
|
kgoldrunner_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
|
|
|
|
|
|
|
|
# the libraries to link against.
|
|
|
|
kgoldrunner_LDADD = $(LIB_TDEGAMES) $(LIB_TDEFILE) $(LIB_TDEPRINT)
|
|
|
|
kgoldrunner_DEPENDENCIES = $(LIB_TDEGAMES_DEP)
|
|
|
|
|
|
|
|
# which sources should be compiled for kgoldrunner
|
|
|
|
kgoldrunner_SOURCES = kgoldrunner.cpp kgrcanvas.cpp kgrfigure.cpp kgrgame.cpp kgrobject.cpp main.cpp kgrdialog.cpp
|
|
|
|
|
|
|
|
# these are the headers for your project
|
|
|
|
noinst_HEADERS = enemy1.xpm enemy2.xpm hero.xpm kgoldrunner.h kgrcanvas.h kgrconsts.h kgrdialog.h kgrfigure.h kgrgame.h kgrobject.h kgraphics.h
|
|
|
|
|
|
|
|
# client stuff
|
|
|
|
|
|
|
|
|
|
|
|
# let automoc handle all of the meta source files (moc)
|
|
|
|
METASOURCES = AUTO
|
|
|
|
|
|
|
|
messages: rc.cpp
|
|
|
|
$(XGETTEXT) *.cpp -o $(podir)/kgoldrunner.pot
|
|
|
|
|
|
|
|
KDE_ICON = kgoldrunner
|
|
|
|
|
|
|
|
# this is where the kdelnk file will go
|
|
|
|
xdg_apps_DATA = KGoldrunner.desktop
|
|
|
|
|
|
|
|
# this is where the XML-GUI resource file goes
|
|
|
|
rcdir = $(kde_datadir)/kgoldrunner
|
|
|
|
rc_DATA = kgoldrunnerui.rc
|
|
|
|
|
|
|
|
AM_CXXFLAGS = -DQT3
|
|
|
|
|