summaryrefslogtreecommitdiffstats
path: root/kmahjongg/Makefile.am
blob: ad39447c0e459964925cd2e7844758ea5a263d4b (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
SUBDIRS = pics

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

bin_PROGRAMS = kmahjongg
kmahjongg_SOURCES = main.cpp kmahjongg.cpp boardwidget.cpp \
		Tileset.cpp BoardLayout.cpp GameTimer.cpp \
		Background.cpp Preview.cpp prefs.kcfgc \
		Editor.cpp HighScore.cpp settings.ui
kmahjongg_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kmahjongg_LDADD = $(LIB_KDEGAMES) $(LIB_KFILE)
kmahjongg_DEPENDENCIES = $(LIB_KDEGAMES_DEP)

METASOURCES = AUTO

xdg_apps_DATA = kmahjongg.desktop
kde_kcfg_DATA = kmahjongg.kcfg

rcdir = $(kde_datadir)/kmahjongg
rc_DATA = kmahjonggui.rc

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