summaryrefslogtreecommitdiffstats
path: root/kspaceduel/Makefile.am
blob: 2bedbb7561577faf08b049650df1d0d04028dda5 (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_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
kspaceduel_LDADD   = $(LIB_TDEGAMES)
kspaceduel_DEPENDENCIES = $(LIB_TDEGAMES_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