summaryrefslogtreecommitdiffstats
path: root/kbattleship/kbattleship/Makefile.am
blob: b699ef21f2eac4defc6cde369c3487329b1d1230 (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
37
38
39
SUBDIRS	= dialogs . pictures sounds

INCLUDES = -I$(top_srcdir)/libtdegames $(all_includes)
METASOURCES = AUTO

bin_PROGRAMS = kbattleship
kbattleship_SOURCES = kbaiplayer.cpp kbstrategy.cpp kbverticalstepstrategy.cpp\
				kbdestroyshipstrategy.cpp kbhorizontalstepstrategy.cpp \
				kbrandomshotstrategy.cpp kbdiagonalwrapstrategy.cpp \
				kmessage.cpp kbattleshipserver.cpp kbattleshipclient.cpp \
				kbattleshipview.cpp kgridwidget.cpp kbattlefield.cpp \
	            kchatwidget.cpp kserverdialog.cpp kclientdialog.cpp \
				kstatdialog.cpp	kbdiagonalshotstrategy.cpp \
	            konnectionhandling.cpp kship.cpp kshiplist.cpp \
	            kbchooserstrategy.cpp kbattleship.cpp main.cpp
kbattleship_LDADD = $(LIB_TDEGAMES) ./dialogs/libkbattleshipdialogs.la $(LIB_TDEFILE) $(LIB_TDEDNSSD)
kbattleship_COMPILE_FIRST = dialogs/infoDlg.h dialogs/chatDlg.h dialogs/connectDlg.h dialogs/serverDlg.h dialogs/statDlg.h 
kbattleship_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
kbattleship_DEPENDENCIES = $(LIB_TDEGAMES_DEP)

services_DATA = _kbattleship._tcp
servicesdir = $(kde_datadir)/zeroconf

xdg_apps_DATA = kbattleship.desktop

rcdir = $(kde_datadir)/kbattleship
rc_DATA = kbattleshipui.rc eventsrc

messages: rc.cpp
	$(EXTRACTRC) */*.ui >> rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/kbattleship.pot

kbattleship.o: dialogs/infoDlg.h dialogs/chatDlg.h dialogs/connectDlg.h dialogs/serverDlg.h dialogs/statDlg.h
kbattleshipview.o: dialogs/infoDlg.h dialogs/chatDlg.h dialogs/connectDlg.h dialogs/serverDlg.h dialogs/statDlg.h
kchatwidget.o: dialogs/chatDlg.h
kclientdialog.o: dialogs/connectDlg.h
kserverdialog.o: dialogs/serverDlg.h
kstatdialog.o: dialogs/statDlg.h