File: Makefile.am

package info (click to toggle)
freeciv 2.1.5-2
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 95,924 kB
  • ctags: 20,829
  • sloc: ansic: 231,256; sh: 4,872; makefile: 2,867; python: 1,259; yacc: 318
file content (92 lines) | stat: -rw-r--r-- 1,697 bytes parent folder | download
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
## Process this file with automake to produce Makefile.in

if CLIENT
COMMON_CLIENT_FILES =			\
	hex2t.tilespec			\
	amplio.tilespec			\
	isophex.tilespec		\
	isotrident.tilespec		\
	trident.tilespec		\
	stdsounds.soundspec		\
	helpdata.txt
if CLIENT_GUI_XAW
CLIENT_EXTRA_FILES = Freeciv
endif
if CLIENT_GUI_GTK_2_0
CLIENT_EXTRA_FILES = freeciv.rc-2.0
endif
CLIENT_FILES = $(COMMON_CLIENT_FILES) $(CLIENT_EXTRA_FILES)
else
CLIENT_FILES =
endif

if SERVER
SERVER_FILES = \
	civ1.serv \
	civ2.serv \
	default.serv
else
SERVER_FILES =
endif

pkgdata_DATA = $(SERVER_FILES) $(CLIENT_FILES)

# Freeciv.rc was originally for gui-gtk but is also used by gui-sdl
EXTRA_DIST = \
	Freeciv	\
	freeciv-client.png \
	freeciv.rc	\
	freeciv.rc-2.0	\
	civserver.dsc.in	\
	civclient.dsc.in	\
	civserver.room.in	\
	hex2t.tilespec	\
	amplio.tilespec	\
	isophex.tilespec	\
	isotrident.tilespec \
	trident.tilespec	\
	stdsounds.soundspec	\
	helpdata.txt	\
	civ1.serv	\
	civ2.serv	\
	default.serv

if CLIENT
CLIENTDATADIRS = amplio misc flags buildings isotrident trident isophex \
 hex2t stdsounds themes wonders
else
CLIENTDATADIRS = 
endif

if SERVER
SERVERDATADIRS = default civ1 civ2 scenario nation
else
SERVERDATADIRS = 
endif

if CLIENT
ICONS = freeciv-client.png
else
ICONS = 
endif

icondir = $(prefix)/share/pixmaps
icon_DATA=$(ICONS)

SUBDIRS = icons $(CLIENTDATADIRS) $(SERVERDATADIRS)

if GGZ_CLIENT
install-data-local:
	$(GGZ_CONFIG) -D --install --modfile=civclient.dsc --force

uninstall-local:
	$(GGZ_CONFIG) -D --remove --modfile=civclient.dsc
endif

if GGZ_SERVER
ggzroom_DATA = civserver.room
ggzroomdir = $(ggzdconfdir)/rooms/

ggzgame_DATA = civserver.dsc
ggzgamedir = $(ggzdconfdir)/games/
endif