1 |
# Makefile.in generated by automake 1.7.9 from Makefile.am. |
2 |
# @configure_input@ |
3 |
|
4 |
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 |
5 |
# Free Software Foundation, Inc. |
6 |
# This Makefile.in is free software; the Free Software Foundation |
7 |
# gives unlimited permission to copy and/or distribute it, |
8 |
# with or without modifications, as long as this notice is preserved. |
9 |
|
10 |
# This program is distributed in the hope that it will be useful, |
11 |
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
12 |
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
13 |
# PARTICULAR PURPOSE. |
14 |
|
15 |
@SET_MAKE@ |
16 |
|
17 |
# |
18 |
# Makefile for crossfire 0.95.0 and beyond |
19 |
# |
20 |
# This file will eventually be replaced by a configure script. But for |
21 |
# now, this simple makefile should do the job. |
22 |
# |
23 |
# Copyright (C) 1992 Frank Tore Johansen |
24 |
# Copyright (C) 2001 Mark Wedel |
25 |
# |
26 |
# This program is free software; you can redistribute it and/or modify |
27 |
# it under the terms of the GNU General Public License as published by |
28 |
# the Free Software Foundation; either version 2 of the License, or |
29 |
# (at your option) any later version. |
30 |
# |
31 |
# This program is distributed in the hope that it will be useful, |
32 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
33 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
34 |
# GNU General Public License for more details. |
35 |
# |
36 |
# You should have received a copy of the GNU General Public License |
37 |
# along with this program; if not, write to the Free Software |
38 |
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
39 |
# |
40 |
# The author can be reached via e-mail to mwedel@scruz.net |
41 |
|
42 |
srcdir = @srcdir@ |
43 |
top_srcdir = @top_srcdir@ |
44 |
VPATH = @srcdir@ |
45 |
pkgdatadir = $(datadir)/@PACKAGE@ |
46 |
pkglibdir = $(libdir)/@PACKAGE@ |
47 |
pkgincludedir = $(includedir)/@PACKAGE@ |
48 |
top_builddir = .. |
49 |
|
50 |
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
51 |
INSTALL = @INSTALL@ |
52 |
install_sh_DATA = $(install_sh) -c -m 644 |
53 |
install_sh_PROGRAM = $(install_sh) -c |
54 |
install_sh_SCRIPT = $(install_sh) -c |
55 |
INSTALL_HEADER = $(INSTALL_DATA) |
56 |
transform = $(program_transform_name) |
57 |
NORMAL_INSTALL = : |
58 |
PRE_INSTALL = : |
59 |
POST_INSTALL = : |
60 |
NORMAL_UNINSTALL = : |
61 |
PRE_UNINSTALL = : |
62 |
POST_UNINSTALL = : |
63 |
host_triplet = @host@ |
64 |
ACLOCAL = @ACLOCAL@ |
65 |
AMDEP_FALSE = @AMDEP_FALSE@ |
66 |
AMDEP_TRUE = @AMDEP_TRUE@ |
67 |
AMTAR = @AMTAR@ |
68 |
AR = @AR@ |
69 |
AUTOCONF = @AUTOCONF@ |
70 |
AUTOHEADER = @AUTOHEADER@ |
71 |
AUTOMAKE = @AUTOMAKE@ |
72 |
AWK = @AWK@ |
73 |
BASENAME = @BASENAME@ |
74 |
BUNZIP = @BUNZIP@ |
75 |
BZIP = @BZIP@ |
76 |
CC = @CC@ |
77 |
CCDEPMODE = @CCDEPMODE@ |
78 |
CFLAGS = @CFLAGS@ |
79 |
COMPRESS = @COMPRESS@ |
80 |
CPP = @CPP@ |
81 |
CPPFLAGS = @CPPFLAGS@ |
82 |
CROSSEDIT = @CROSSEDIT@ |
83 |
CYGPATH_W = @CYGPATH_W@ |
84 |
DEFS = @DEFS@ |
85 |
DEPDIR = @DEPDIR@ |
86 |
ECHO = @ECHO@ |
87 |
ECHO_C = @ECHO_C@ |
88 |
ECHO_N = @ECHO_N@ |
89 |
ECHO_T = @ECHO_T@ |
90 |
EGREP = @EGREP@ |
91 |
EXEEXT = @EXEEXT@ |
92 |
GUNZIP = @GUNZIP@ |
93 |
GZIP = @GZIP@ |
94 |
HAVE_LIBDL_FALSE = @HAVE_LIBDL_FALSE@ |
95 |
HAVE_LIBDL_TRUE = @HAVE_LIBDL_TRUE@ |
96 |
HAVE_X_FALSE = @HAVE_X_FALSE@ |
97 |
HAVE_X_TRUE = @HAVE_X_TRUE@ |
98 |
INSTALL_DATA = @INSTALL_DATA@ |
99 |
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
100 |
INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
101 |
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
102 |
LATEX = @LATEX@ |
103 |
LD = @LD@ |
104 |
LDFLAGS = @LDFLAGS@ |
105 |
LEX = @LEX@ |
106 |
LEXLIB = @LEXLIB@ |
107 |
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ |
108 |
LIBOBJS = @LIBOBJS@ |
109 |
LIBS = @LIBS@ |
110 |
LIBTOOL = @LIBTOOL@ |
111 |
LN_S = @LN_S@ |
112 |
LTLIBOBJS = @LTLIBOBJS@ |
113 |
MAINT = @MAINT@ |
114 |
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@ |
115 |
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@ |
116 |
MAKEINFO = @MAKEINFO@ |
117 |
NM = @NM@ |
118 |
OBJEXT = @OBJEXT@ |
119 |
PACKAGE = @PACKAGE@ |
120 |
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ |
121 |
PACKAGE_NAME = @PACKAGE_NAME@ |
122 |
PACKAGE_STRING = @PACKAGE_STRING@ |
123 |
PACKAGE_TARNAME = @PACKAGE_TARNAME@ |
124 |
PACKAGE_VERSION = @PACKAGE_VERSION@ |
125 |
PATH_SEPARATOR = @PATH_SEPARATOR@ |
126 |
PERL = @PERL@ |
127 |
PERLFLAGS = @PERLFLAGS@ |
128 |
PERLLIB = @PERLLIB@ |
129 |
PERLPRIVLIBEXP = @PERLPRIVLIBEXP@ |
130 |
PERL_PLUGIN = @PERL_PLUGIN@ |
131 |
PERL_PLUGIN_FALSE = @PERL_PLUGIN_FALSE@ |
132 |
PERL_PLUGIN_TRUE = @PERL_PLUGIN_TRUE@ |
133 |
PLUGIN_PYTHON = @PLUGIN_PYTHON@ |
134 |
PYTHON_LIB = @PYTHON_LIB@ |
135 |
PYTHON_PLUGIN_FALSE = @PYTHON_PLUGIN_FALSE@ |
136 |
PYTHON_PLUGIN_TRUE = @PYTHON_PLUGIN_TRUE@ |
137 |
PY_INCLUDES = @PY_INCLUDES@ |
138 |
PY_LIBS = @PY_LIBS@ |
139 |
RANLIB = @RANLIB@ |
140 |
SED = @SED@ |
141 |
SET_MAKE = @SET_MAKE@ |
142 |
SHELL = @SHELL@ |
143 |
STRIP = @STRIP@ |
144 |
TAR = @TAR@ |
145 |
UNCOMPRESS = @UNCOMPRESS@ |
146 |
VERSION = @VERSION@ |
147 |
X11LIBS = @X11LIBS@ |
148 |
X_CFLAGS = @X_CFLAGS@ |
149 |
X_EXTRA_LIBS = @X_EXTRA_LIBS@ |
150 |
X_LIBS = @X_LIBS@ |
151 |
X_PRE_LIBS = @X_PRE_LIBS@ |
152 |
ac_ct_AR = @ac_ct_AR@ |
153 |
ac_ct_CC = @ac_ct_CC@ |
154 |
ac_ct_RANLIB = @ac_ct_RANLIB@ |
155 |
ac_ct_STRIP = @ac_ct_STRIP@ |
156 |
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@ |
157 |
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@ |
158 |
am__include = @am__include@ |
159 |
am__leading_dot = @am__leading_dot@ |
160 |
am__quote = @am__quote@ |
161 |
bindir = @bindir@ |
162 |
build = @build@ |
163 |
build_alias = @build_alias@ |
164 |
build_cpu = @build_cpu@ |
165 |
build_os = @build_os@ |
166 |
build_vendor = @build_vendor@ |
167 |
datadir = @datadir@ |
168 |
exec_prefix = @exec_prefix@ |
169 |
host = @host@ |
170 |
host_alias = @host_alias@ |
171 |
host_cpu = @host_cpu@ |
172 |
host_os = @host_os@ |
173 |
host_vendor = @host_vendor@ |
174 |
includedir = @includedir@ |
175 |
infodir = @infodir@ |
176 |
install_sh = @install_sh@ |
177 |
libdir = @libdir@ |
178 |
libexecdir = @libexecdir@ |
179 |
localstatedir = @localstatedir@ |
180 |
mandir = @mandir@ |
181 |
no_x = @no_x@ |
182 |
oldincludedir = @oldincludedir@ |
183 |
pkgconfdir = @pkgconfdir@ |
184 |
pkgstatedir = @pkgstatedir@ |
185 |
prefix = @prefix@ |
186 |
program_transform_name = @program_transform_name@ |
187 |
sbindir = @sbindir@ |
188 |
sharedstatedir = @sharedstatedir@ |
189 |
sysconfdir = @sysconfdir@ |
190 |
target_alias = @target_alias@ |
191 |
x_includes = @x_includes@ |
192 |
x_libraries = @x_libraries@ |
193 |
|
194 |
SUBDIRS = scripts Developers playbook spoiler spell-docs spoiler-html playbook-html |
195 |
|
196 |
dist_noinst_DATA = handbook.ps spoiler.ps |
197 |
dist_noinst_SCRIPTS = include_html.pl |
198 |
dist_man6_MANS = crossedit.man crossfire.man crossfire-config.man \ |
199 |
crossloop.web.man crossloop.man |
200 |
|
201 |
|
202 |
EXTRA_DIST = Crossedit.doc PlayerStats \ |
203 |
README RunTimeCommands SurvivalGuide alchemy.doc \ |
204 |
experience metaserver multigod plugins skills.doc \ |
205 |
spellcasters_guide_to_runes |
206 |
|
207 |
|
208 |
DTOP = $(top_srcdir)/$(PACKAGE)-doc |
209 |
subdir = doc |
210 |
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
211 |
mkinstalldirs = $(SHELL) $(top_srcdir)/utils/mkinstalldirs |
212 |
CONFIG_HEADER = $(top_builddir)/include/autoconf.h |
213 |
CONFIG_CLEAN_FILES = |
214 |
SCRIPTS = $(dist_noinst_SCRIPTS) |
215 |
|
216 |
DIST_SOURCES = |
217 |
|
218 |
NROFF = nroff |
219 |
MANS = $(dist_man6_MANS) |
220 |
DATA = $(dist_noinst_DATA) |
221 |
|
222 |
|
223 |
RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \ |
224 |
ps-recursive install-info-recursive uninstall-info-recursive \ |
225 |
all-recursive install-data-recursive install-exec-recursive \ |
226 |
installdirs-recursive install-recursive uninstall-recursive \ |
227 |
check-recursive installcheck-recursive |
228 |
DIST_COMMON = README $(dist_man6_MANS) $(dist_noinst_DATA) \ |
229 |
$(dist_noinst_SCRIPTS) $(srcdir)/Makefile.in Makefile.am |
230 |
DIST_SUBDIRS = $(SUBDIRS) |
231 |
all: all-recursive |
232 |
|
233 |
.SUFFIXES: |
234 |
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) |
235 |
cd $(top_srcdir) && \ |
236 |
$(AUTOMAKE) --gnu doc/Makefile |
237 |
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status |
238 |
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) |
239 |
|
240 |
mostlyclean-libtool: |
241 |
-rm -f *.lo |
242 |
|
243 |
clean-libtool: |
244 |
-rm -rf .libs _libs |
245 |
|
246 |
distclean-libtool: |
247 |
-rm -f libtool |
248 |
uninstall-info-am: |
249 |
|
250 |
man6dir = $(mandir)/man6 |
251 |
install-man6: $(man6_MANS) $(man_MANS) |
252 |
@$(NORMAL_INSTALL) |
253 |
$(mkinstalldirs) $(DESTDIR)$(man6dir) |
254 |
@list='$(man6_MANS) $(dist_man6_MANS) $(nodist_man6_MANS)'; \ |
255 |
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ |
256 |
for i in $$l2; do \ |
257 |
case "$$i" in \ |
258 |
*.6*) list="$$list $$i" ;; \ |
259 |
esac; \ |
260 |
done; \ |
261 |
for i in $$list; do \ |
262 |
if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ |
263 |
else file=$$i; fi; \ |
264 |
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ |
265 |
case "$$ext" in \ |
266 |
6*) ;; \ |
267 |
*) ext='6' ;; \ |
268 |
esac; \ |
269 |
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ |
270 |
inst=`echo $$inst | sed -e 's/^.*\///'`; \ |
271 |
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ |
272 |
echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man6dir)/$$inst"; \ |
273 |
$(INSTALL_DATA) $$file $(DESTDIR)$(man6dir)/$$inst; \ |
274 |
done |
275 |
uninstall-man6: |
276 |
@$(NORMAL_UNINSTALL) |
277 |
@list='$(man6_MANS) $(dist_man6_MANS) $(nodist_man6_MANS)'; \ |
278 |
l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \ |
279 |
for i in $$l2; do \ |
280 |
case "$$i" in \ |
281 |
*.6*) list="$$list $$i" ;; \ |
282 |
esac; \ |
283 |
done; \ |
284 |
for i in $$list; do \ |
285 |
ext=`echo $$i | sed -e 's/^.*\\.//'`; \ |
286 |
case "$$ext" in \ |
287 |
6*) ;; \ |
288 |
*) ext='6' ;; \ |
289 |
esac; \ |
290 |
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ |
291 |
inst=`echo $$inst | sed -e 's/^.*\///'`; \ |
292 |
inst=`echo $$inst | sed '$(transform)'`.$$ext; \ |
293 |
echo " rm -f $(DESTDIR)$(man6dir)/$$inst"; \ |
294 |
rm -f $(DESTDIR)$(man6dir)/$$inst; \ |
295 |
done |
296 |
|
297 |
# This directory's subdirectories are mostly independent; you can cd |
298 |
# into them and run `make' without going through this Makefile. |
299 |
# To change the values of `make' variables: instead of editing Makefiles, |
300 |
# (1) if the variable is set in `config.status', edit `config.status' |
301 |
# (which will cause the Makefiles to be regenerated when you run `make'); |
302 |
# (2) otherwise, pass the desired values on the `make' command line. |
303 |
$(RECURSIVE_TARGETS): |
304 |
@set fnord $$MAKEFLAGS; amf=$$2; \ |
305 |
dot_seen=no; \ |
306 |
target=`echo $@ | sed s/-recursive//`; \ |
307 |
list='$(SUBDIRS)'; for subdir in $$list; do \ |
308 |
echo "Making $$target in $$subdir"; \ |
309 |
if test "$$subdir" = "."; then \ |
310 |
dot_seen=yes; \ |
311 |
local_target="$$target-am"; \ |
312 |
else \ |
313 |
local_target="$$target"; \ |
314 |
fi; \ |
315 |
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
316 |
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ |
317 |
done; \ |
318 |
if test "$$dot_seen" = "no"; then \ |
319 |
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ |
320 |
fi; test -z "$$fail" |
321 |
|
322 |
mostlyclean-recursive clean-recursive distclean-recursive \ |
323 |
maintainer-clean-recursive: |
324 |
@set fnord $$MAKEFLAGS; amf=$$2; \ |
325 |
dot_seen=no; \ |
326 |
case "$@" in \ |
327 |
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ |
328 |
*) list='$(SUBDIRS)' ;; \ |
329 |
esac; \ |
330 |
rev=''; for subdir in $$list; do \ |
331 |
if test "$$subdir" = "."; then :; else \ |
332 |
rev="$$subdir $$rev"; \ |
333 |
fi; \ |
334 |
done; \ |
335 |
rev="$$rev ."; \ |
336 |
target=`echo $@ | sed s/-recursive//`; \ |
337 |
for subdir in $$rev; do \ |
338 |
echo "Making $$target in $$subdir"; \ |
339 |
if test "$$subdir" = "."; then \ |
340 |
local_target="$$target-am"; \ |
341 |
else \ |
342 |
local_target="$$target"; \ |
343 |
fi; \ |
344 |
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ |
345 |
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ |
346 |
done && test -z "$$fail" |
347 |
tags-recursive: |
348 |
list='$(SUBDIRS)'; for subdir in $$list; do \ |
349 |
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \ |
350 |
done |
351 |
ctags-recursive: |
352 |
list='$(SUBDIRS)'; for subdir in $$list; do \ |
353 |
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \ |
354 |
done |
355 |
|
356 |
ETAGS = etags |
357 |
ETAGSFLAGS = |
358 |
|
359 |
CTAGS = ctags |
360 |
CTAGSFLAGS = |
361 |
|
362 |
tags: TAGS |
363 |
|
364 |
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) |
365 |
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
366 |
unique=`for i in $$list; do \ |
367 |
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
368 |
done | \ |
369 |
$(AWK) ' { files[$$0] = 1; } \ |
370 |
END { for (i in files) print i; }'`; \ |
371 |
mkid -fID $$unique |
372 |
|
373 |
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
374 |
$(TAGS_FILES) $(LISP) |
375 |
tags=; \ |
376 |
here=`pwd`; \ |
377 |
if (etags --etags-include --version) >/dev/null 2>&1; then \ |
378 |
include_option=--etags-include; \ |
379 |
else \ |
380 |
include_option=--include; \ |
381 |
fi; \ |
382 |
list='$(SUBDIRS)'; for subdir in $$list; do \ |
383 |
if test "$$subdir" = .; then :; else \ |
384 |
test -f $$subdir/TAGS && \ |
385 |
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ |
386 |
fi; \ |
387 |
done; \ |
388 |
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
389 |
unique=`for i in $$list; do \ |
390 |
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
391 |
done | \ |
392 |
$(AWK) ' { files[$$0] = 1; } \ |
393 |
END { for (i in files) print i; }'`; \ |
394 |
test -z "$(ETAGS_ARGS)$$tags$$unique" \ |
395 |
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ |
396 |
$$tags $$unique |
397 |
|
398 |
ctags: CTAGS |
399 |
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \ |
400 |
$(TAGS_FILES) $(LISP) |
401 |
tags=; \ |
402 |
here=`pwd`; \ |
403 |
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ |
404 |
unique=`for i in $$list; do \ |
405 |
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ |
406 |
done | \ |
407 |
$(AWK) ' { files[$$0] = 1; } \ |
408 |
END { for (i in files) print i; }'`; \ |
409 |
test -z "$(CTAGS_ARGS)$$tags$$unique" \ |
410 |
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ |
411 |
$$tags $$unique |
412 |
|
413 |
GTAGS: |
414 |
here=`$(am__cd) $(top_builddir) && pwd` \ |
415 |
&& cd $(top_srcdir) \ |
416 |
&& gtags -i $(GTAGS_ARGS) $$here |
417 |
|
418 |
distclean-tags: |
419 |
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags |
420 |
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
421 |
|
422 |
top_distdir = .. |
423 |
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) |
424 |
|
425 |
distdir: $(DISTFILES) |
426 |
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ |
427 |
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ |
428 |
list='$(DISTFILES)'; for file in $$list; do \ |
429 |
case $$file in \ |
430 |
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ |
431 |
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ |
432 |
esac; \ |
433 |
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
434 |
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ |
435 |
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ |
436 |
dir="/$$dir"; \ |
437 |
$(mkinstalldirs) "$(distdir)$$dir"; \ |
438 |
else \ |
439 |
dir=''; \ |
440 |
fi; \ |
441 |
if test -d $$d/$$file; then \ |
442 |
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
443 |
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ |
444 |
fi; \ |
445 |
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ |
446 |
else \ |
447 |
test -f $(distdir)/$$file \ |
448 |
|| cp -p $$d/$$file $(distdir)/$$file \ |
449 |
|| exit 1; \ |
450 |
fi; \ |
451 |
done |
452 |
list='$(SUBDIRS)'; for subdir in $$list; do \ |
453 |
if test "$$subdir" = .; then :; else \ |
454 |
test -d $(distdir)/$$subdir \ |
455 |
|| mkdir $(distdir)/$$subdir \ |
456 |
|| exit 1; \ |
457 |
(cd $$subdir && \ |
458 |
$(MAKE) $(AM_MAKEFLAGS) \ |
459 |
top_distdir="$(top_distdir)" \ |
460 |
distdir=../$(distdir)/$$subdir \ |
461 |
distdir) \ |
462 |
|| exit 1; \ |
463 |
fi; \ |
464 |
done |
465 |
check-am: all-am |
466 |
check: check-recursive |
467 |
all-am: Makefile $(SCRIPTS) $(MANS) $(DATA) |
468 |
installdirs: installdirs-recursive |
469 |
installdirs-am: |
470 |
$(mkinstalldirs) $(DESTDIR)$(man6dir) |
471 |
|
472 |
install: install-recursive |
473 |
install-exec: install-exec-recursive |
474 |
install-data: install-data-recursive |
475 |
uninstall: uninstall-recursive |
476 |
|
477 |
install-am: all-am |
478 |
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
479 |
|
480 |
installcheck: installcheck-recursive |
481 |
install-strip: |
482 |
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
483 |
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
484 |
`test -z '$(STRIP)' || \ |
485 |
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
486 |
mostlyclean-generic: |
487 |
|
488 |
clean-generic: |
489 |
|
490 |
distclean-generic: |
491 |
-rm -f $(CONFIG_CLEAN_FILES) |
492 |
|
493 |
maintainer-clean-generic: |
494 |
@echo "This command is intended for maintainers to use" |
495 |
@echo "it deletes files that may require special tools to rebuild." |
496 |
clean: clean-recursive |
497 |
|
498 |
clean-am: clean-generic clean-libtool mostlyclean-am |
499 |
|
500 |
distclean: distclean-recursive |
501 |
-rm -f Makefile |
502 |
distclean-am: clean-am distclean-generic distclean-libtool \ |
503 |
distclean-tags |
504 |
|
505 |
dvi: dvi-recursive |
506 |
|
507 |
dvi-am: |
508 |
|
509 |
info: info-recursive |
510 |
|
511 |
info-am: |
512 |
|
513 |
install-data-am: install-man |
514 |
|
515 |
install-exec-am: |
516 |
|
517 |
install-info: install-info-recursive |
518 |
|
519 |
install-man: install-man6 |
520 |
|
521 |
installcheck-am: |
522 |
|
523 |
maintainer-clean: maintainer-clean-recursive |
524 |
-rm -f Makefile |
525 |
maintainer-clean-am: distclean-am maintainer-clean-generic |
526 |
|
527 |
mostlyclean: mostlyclean-recursive |
528 |
|
529 |
mostlyclean-am: mostlyclean-generic mostlyclean-libtool |
530 |
|
531 |
pdf: pdf-recursive |
532 |
|
533 |
pdf-am: |
534 |
|
535 |
ps: ps-recursive |
536 |
|
537 |
ps-am: |
538 |
|
539 |
uninstall-am: uninstall-info-am uninstall-local uninstall-man |
540 |
|
541 |
uninstall-info: uninstall-info-recursive |
542 |
|
543 |
uninstall-man: uninstall-man6 |
544 |
|
545 |
.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \ |
546 |
clean-generic clean-libtool clean-recursive ctags \ |
547 |
ctags-recursive distclean distclean-generic distclean-libtool \ |
548 |
distclean-recursive distclean-tags distdir dvi dvi-am \ |
549 |
dvi-recursive info info-am info-recursive install install-am \ |
550 |
install-data install-data-am install-data-recursive \ |
551 |
install-exec install-exec-am install-exec-recursive \ |
552 |
install-info install-info-am install-info-recursive install-man \ |
553 |
install-man6 install-recursive install-strip installcheck \ |
554 |
installcheck-am installdirs installdirs-am \ |
555 |
installdirs-recursive maintainer-clean maintainer-clean-generic \ |
556 |
maintainer-clean-recursive mostlyclean mostlyclean-generic \ |
557 |
mostlyclean-libtool mostlyclean-recursive pdf pdf-am \ |
558 |
pdf-recursive ps ps-am ps-recursive tags tags-recursive \ |
559 |
uninstall uninstall-am uninstall-info-am \ |
560 |
uninstall-info-recursive uninstall-local uninstall-man \ |
561 |
uninstall-man6 uninstall-recursive |
562 |
|
563 |
|
564 |
spoiler.ps: |
565 |
(cd spoiler; $(MAKE) spoiler) |
566 |
|
567 |
handbook.ps: |
568 |
(cd playbook; $(MAKE) handbook) |
569 |
|
570 |
crosslib.doc: |
571 |
(cd ../common; make doc) |
572 |
|
573 |
# workaround for bug in automake 1.6.2 & 1.6.3 (& probably others) |
574 |
uninstall-local: |
575 |
rm -f $(DESTDIR)$(man6dir)/crossedit.6* |
576 |
rm -f $(DESTDIR)$(man6dir)/crossfire.6* |
577 |
rm -f $(DESTDIR)$(man6dir)/crossfire-config.6* |
578 |
|
579 |
archive: spoiler playbook |
580 |
$(mkinstalldirs) $(DTOP) |
581 |
cp $(EXTRA_DIST) $(DTOP) |
582 |
cp spoiler.ps handbook.ps $(DTOP) |
583 |
cp spell-docs/*.txt spell-docs/*.ps $(DTOP) |
584 |
(cd spoiler-html ; make archive ) |
585 |
(cd playbook-html ; make archive ) |
586 |
(cd $(DTOP)/..; gtar --exclude=CVS -cvhzf $(PACKAGE)-$(VERSION).doc.tar.gz `$(BASENAME) $(DTOP)`) |
587 |
$(RM) -rf $(DTOP) |
588 |
# Tell versions [3.59,3.63) of GNU make to not export all variables. |
589 |
# Otherwise a system limit (for SysV at least) may be exceeded. |
590 |
.NOEXPORT: |