summaryrefslogtreecommitdiffstats
path: root/ksnake/Makefile.am
blob: 8d10d3cb9a09f4878e14a02bbea4addffe15e15d (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
31
32
33
34

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

noinst_HEADERS = game.h rattler.h board.h bitmaps.h \
		level.h ball.h snake.h basket.h startroom.h \
		pixServer.h progress.h levels.h view.h version.h

ksnake_SOURCES = game.cpp rattler.cpp board.cpp level.cpp ball.cpp \
		snake.cpp basket.cpp startroom.cpp \
		pixServer.cpp progress.cpp levels.cpp\
		view.cpp main.cpp settings.kcfgc appearance.ui  general.ui

ksnake_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
ksnake_LDADD = $(LIB_KDEUI) $(LIB_KDEGAMES) -lm
ksnake_DEPENDENCIES = $(LIB_KDEGAMES_DEP)

METASOURCES = AUTO

bin_PROGRAMS = 	ksnake

######### build rules ################

xdg_apps_DATA = ksnake.desktop
kde_kcfg_DATA = ksnake.kcfg

KDE_ICON = ksnake

SUBDIRS = data

rcdir = $(kde_datadir)/ksnake
rc_DATA = ksnakeui.rc

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