## Makefile.am for kpuzzle # this has all of the subdirectories that make will recurse into. if # there are none, comment this out # SUBDIRS = pics doc levels # this is the program that gets installed. it's name is used for all # of the other Makefile.am variables bin_PROGRAMS = kpuzzle # set the include path for X, qt and KDE INCLUDES = $(all_includes) # the library search path. kpuzzle_LDFLAGS = $(KDE_RPATH) $(all_libraries) # the libraries to link against. kpuzzle_LDADD = $(LIB_KFILE) # which sources should be compiled for kpuzzle kpuzzle_SOURCES = gamedialog.cpp piece.cpp piecewidget.cpp \ gamewidget.cpp kpuzzle_meta_unload.cpp kpuzzleview.cpp prefs.cpp \ highscore.cpp kpuzzlegame.cpp main.cpp \ kpuzzle.cpp picview.cpp savedialog.cpp # these are the headers for your project noinst_HEADERS = gamedialog.h kpuzzle.h picview.h \ gamewidget.h kpuzzlegame.h kpuzzleview.h piecewidget.h \ highscore.h main.h prefs.h \ piece.h savedialog.h # let automoc handle all of the meta source files (moc) METASOURCES = AUTO # if you "make distclean", this files get removed. If you want to remove # them while "make clean", use CLEANFILES DISTCLEANFILES = $(METASOURCES) # make messages.po. Move this one to ../po/ and "make merge" in po # the -x is for skipping messages already translated in kdelibs messages: $(XGETTEXT) -C -ki18n -x $(includedir)/kde.pot $(kpuzzle_SOURCES) && mv messages.po ../po/kpuzzle.pot KDE_ICON = kpuzzle # this is where the kdelnk file will go kdelnkdir = $(kde_appsdir)/Games kdelnk_DATA = kpuzzle.desktop