summaryrefslogtreecommitdiffstats
path: root/kpat/Makefile.am
blob: 19afc1c3b581c8f8119ac47706c75dbb8600d1a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

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

bin_PROGRAMS = kpat

kpat_SOURCES = main.cpp cardmaps.cpp card.cpp dealer.cpp \
	pwidget.cpp pile.cpp deck.cpp pile_algorithms.cpp kings.cpp freecell.cpp klondike.cpp simon.cpp grandf.cpp \
	mod3.cpp idiot.cpp napoleon.cpp computation.cpp  gypsy.cpp fortyeight.cpp \
	yukon.cpp clock.cpp golf.cpp spider.cpp \
	gamestatsimpl.cpp \
	gamestats.ui
kpat_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
kpat_LDADD = $(LIB_TDEFILE) $(LIB_TDEGAMES) ./freecell-solver/libfcs.la
kpat_DEPENDENCIES = $(LIB_TDEGAMES_DEP)

METASOURCES = AUTO

SUBDIRS = icons freecell-solver

xdg_apps_DATA = kpat.desktop

rcdir = $(kde_datadir)/kpat
rc_DATA = kpatui.rc

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

bgdir = $(kde_datadir)/kpat/backgrounds
bg_DATA = green.png