summaryrefslogtreecommitdiffstats
path: root/kmahjongg/Makefile.am
blob: 110e79c1fa1e32e302585d53ece8edbc148bca6f (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_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
kmahjongg_LDADD = $(LIB_TDEGAMES) $(LIB_TDEFILE)
kmahjongg_DEPENDENCIES = $(LIB_TDEGAMES_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