summaryrefslogtreecommitdiffstats
path: root/kbackgammon/Makefile.am
blob: 49b553f989bb2b1ebcd28c5fb21209f2452cb6fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SUBDIRS = pics sounds icons engines

INCLUDES = -I$(top_srcdir)/libtdegames -I$(top_srcdir)/libtdegames/kgame/ -I$(srcdir)/engines $(all_includes)
METASOURCES = AUTO

bin_PROGRAMS = kbackgammon
kbackgammon_SOURCES = main.cpp kbg.cpp kbgboard.cpp kbgtextview.cpp \
			kbgstatus.cpp
kbackgammon_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
kbackgammon_LDADD = $(LIB_TDEGAMES) $(LIB_TDEPRINT) ./engines/libkbgengines.la
kbackgammon_DEPENDENCIES = $(LIB_TDEGAMES_DEP)

xdg_apps_DATA = kbackgammon.desktop

rcdir = $(kde_datadir)/kbackgammon
rc_DATA = kbackgammonui.rc eventsrc

messages: rc.cpp	
	LIST=`find . -name \*.h -o -name \*.cpp -o -name \*.c`; \
	$(XGETTEXT) $$LIST -o $(podir)/kbackgammon.pot