
bin_PROGRAMS = ksame
INCLUDES = -I$(top_srcdir)/libtdegames $(all_includes)

ksame_SOURCES= main.cpp StoneField.cpp StoneWidget.cpp KSameWidget.cpp
ksame_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
ksame_LDADD = $(LIB_TDEGAMES) $(LIB_TDEIO)
ksame_DEPENDENCIES = $(LIB_TDEGAMES_DEP)

METASOURCES = AUTO

noinst_HEADERS = StoneField.h StoneWidget.h KSameWidget.h version.h

xdg_apps_DATA = ksame.desktop

appdir = $(kde_datadir)/ksame
app_DATA = stones.png ksameui.rc eventsrc

KDE_ICON = ksame

EXTRA_DIST = $(app_DATA)

messages: rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/ksame.pot
