summaryrefslogtreecommitdiffstats
path: root/kpat/Makefile.am
blob: 0b193859a736cb1ba683e0492fce8763d9dc61e7 (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)/libkdegames $(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_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kpat_LDADD = $(LIB_KFILE) $(LIB_KDEGAMES) ./freecell-solver/libfcs.la
kpat_DEPENDENCIES = $(LIB_KDEGAMES_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