summaryrefslogtreecommitdiffstats
path: root/kspaceduel/Makefile.am
blob: 79c8b971ac21f5ede5e921b4d732bd5e14cb7504 (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
35
36
INCLUDES= -I$(top_srcdir)/libtdegames $(all_includes)

SUBDIRS = sprites pics

# you can add here more. This one gets installed 
bin_PROGRAMS = 	kspaceduel

# Which sources should be compiled for kspaceduel.
kspaceduel_SOURCES = general.ui mathroutines.cpp topwidget.cpp \
	playerinfo.cpp sprites.cpp mainview.cpp dialogs.cpp ai.cpp \
	main.cpp options.kcfgc

kspaceduel_METASOURCES = AUTO
EXTRA_DIST = kspaceduel.desktop kspaceduel.xpm mini-kspaceduel.xpm

kspaceduel_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -ltdefx $(LIB_KIO) -lktexteditor
kspaceduel_LDADD   = $(LIB_KDEGAMES)
kspaceduel_DEPENDENCIES = $(LIB_KDEGAMES_DEP)

# this option you can leave out. Just, if you use "make dist", you need it
noinst_HEADERS = mathroutines.h topwidget.h playerinfo.h \
		 sprites.h dialogs.h mainview.h defines.h ai.h structs.h \
		 version.h

DISTCLEANFILES = $(kspaceduel_METASOURCES)

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

KDE_ICON = kspaceduel

xdg_apps_DATA = kspaceduel.desktop
kde_kcfg_DATA = kspaceduel.kcfg

rcdir=$(kde_datadir)/kspaceduel
rc_DATA = kspaceduelui.rc