ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/Makefile.in
Revision: 1.10
Committed: Sun May 7 12:49:21 2006 UTC (18 years ago) by root
Branch: MAIN
Changes since 1.9: +82 -115 lines
Log Message:
distconf

File Contents

# Content
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) 2001 Mark Wedel & Crossfire Development Team
24 # Copyright (C) 1992 Frank Tore Johansen
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 authors can be reached via e-mail to crossfire-devel@real-time.com
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
127 PERL = @PERL@
128 PERLFLAGS = @PERLFLAGS@
129 PERLLIB = @PERLLIB@
130 PERLPRIVLIBEXP = @PERLPRIVLIBEXP@
131 PERL_PLUGIN = @PERL_PLUGIN@
132 PERL_PLUGIN_FALSE = @PERL_PLUGIN_FALSE@
133 PERL_PLUGIN_TRUE = @PERL_PLUGIN_TRUE@
134 PLUGIN_PYTHON = @PLUGIN_PYTHON@
135 PYTHON_LIB = @PYTHON_LIB@
136 PYTHON_PLUGIN_FALSE = @PYTHON_PLUGIN_FALSE@
137 PYTHON_PLUGIN_TRUE = @PYTHON_PLUGIN_TRUE@
138 PY_INCLUDES = @PY_INCLUDES@
139 PY_LIBS = @PY_LIBS@
140 RANLIB = @RANLIB@
141 SED = @SED@
142 SET_MAKE = @SET_MAKE@
143 SHELL = @SHELL@
144 STRIP = @STRIP@
145 TAR = @TAR@
146 UNCOMPRESS = @UNCOMPRESS@
147 VERSION = @VERSION@
148 X11LIBS = @X11LIBS@
149 X_CFLAGS = @X_CFLAGS@
150 X_EXTRA_LIBS = @X_EXTRA_LIBS@
151 X_LIBS = @X_LIBS@
152 X_PRE_LIBS = @X_PRE_LIBS@
153 ac_ct_AR = @ac_ct_AR@
154 ac_ct_CC = @ac_ct_CC@
155 ac_ct_RANLIB = @ac_ct_RANLIB@
156 ac_ct_STRIP = @ac_ct_STRIP@
157 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
158 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
159 am__include = @am__include@
160 am__leading_dot = @am__leading_dot@
161 am__quote = @am__quote@
162 bindir = @bindir@
163 build = @build@
164 build_alias = @build_alias@
165 build_cpu = @build_cpu@
166 build_os = @build_os@
167 build_vendor = @build_vendor@
168 datadir = @datadir@
169 exec_prefix = @exec_prefix@
170 host = @host@
171 host_alias = @host_alias@
172 host_cpu = @host_cpu@
173 host_os = @host_os@
174 host_vendor = @host_vendor@
175 includedir = @includedir@
176 infodir = @infodir@
177 install_sh = @install_sh@
178 libdir = @libdir@
179 libexecdir = @libexecdir@
180 localstatedir = @localstatedir@
181 mandir = @mandir@
182 no_x = @no_x@
183 oldincludedir = @oldincludedir@
184 pkgconfdir = @pkgconfdir@
185
186 pkgstatedir = @pkgstatedir@
187 prefix = @prefix@
188 program_transform_name = @program_transform_name@
189 sbindir = @sbindir@
190 sharedstatedir = @sharedstatedir@
191 sysconfdir = @sysconfdir@
192 target_alias = @target_alias@
193 x_includes = @x_includes@
194 x_libraries = @x_libraries@
195
196 dist_noinst_SCRIPTS = collect.pl util.pl checkarch.pl
197 dist_pkgdata_DATA = artifacts def_help formulae messages races smooth\
198 animations archetypes bmaps bmaps.paths crossfire.0 \
199 crossfire.1 faces attackmess image_info materials regions cf.pm
200
201
202 CONF_FILES = settings motd dm_file forbid ban_file exp_table news rules
203 VAR_FILES = highscore banish_file bookarch temp.maps clockdata
204 EXTRA_DIST = README .collect-stamp $(CONF_FILES) treasures treasures.bld
205
206 helpdir = $(pkgdatadir)/help
207 dist_help_DATA = help/apply help/applymode \
208 help/bind help/bowmode help/brace \
209 help/cast help/drop help/dropall \
210 help/follow help/golem help/invite \
211 help/invoke help/keys help/killpets \
212 help/listen \
213 help/mark help/melee help/mode \
214 help/mouse help/move \
215 help/output \
216 help/output-count help/output-sync \
217 help/party help/peaceful \
218 help/petmode help/pickup help/quests \
219 help/quit help/range help/rename \
220 help/save help/shout help/showpets \
221 help/sort_inventory help/spells \
222 help/statistics help/take help/traps \
223 help/unbind help/usekeys \
224 help/whereabouts
225
226
227 wizhelpdir = $(pkgdatadir)/wizhelp
228 dist_wizhelp_DATA = wizhelp/abil wizhelp/addexp \
229 wizhelp/banish \
230 wizhelp/create wizhelp/debug \
231 wizhelp/dump wizhelp/dumpallarchtypes \
232 wizhelp/dumpallmaps wizhelp/dumpallobjects \
233 wizhelp/dumpbelow wizhelp/dumpfriendlyobjects \
234 wizhelp/forget_spell wizhelp/free \
235 wizhelp/goto wizhelp/hide wizhelp/insert_into \
236 wizhelp/invisible \
237 wizhelp/kick wizhelp/learn_special_prayer \
238 wizhelp/learn_spell wizhelp/mon_aggr \
239 wizhelp/nodm \
240 wizhelp/nowiz wizhelp/overlay_save \
241 wizhelp/patch wizhelp/plugin \
242 wizhelp/pluglist wizhelp/plugout \
243 wizhelp/possess \
244 wizhelp/printlos wizhelp/remove \
245 wizhelp/reset wizhelp/set_god \
246 wizhelp/shutdown wizhelp/server_speed \
247 wizhelp/spellreset wizhelp/ssdumptable wizhelp/stats \
248 wizhelp/style_info wizhelp/summon \
249 wizhelp/teleport wizhelp/time \
250 wizhelp/toggle_shout \
251 wizhelp/who wizhelp/wizcast wizhelp/wizhelp \
252 wizhelp/wizpass
253
254
255 admdir = $(pkgdatadir)/adm
256 dist_adm_SCRIPTS = \
257 adm/map_info adm/map_expand.pl adm/mapslitter.pl adm/archsearch.pl \
258 adm/collect_images.pl
259
260
261 MAINTAINERCLEANFILES = archetypes bmaps faces .collect-stamp
262 subdir = lib
263 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
264 mkinstalldirs = $(SHELL) $(top_srcdir)/utils/mkinstalldirs
265 CONFIG_HEADER = $(top_builddir)/include/autoconf.h
266 CONFIG_CLEAN_FILES = checkarch.pl collect.pl
267 SCRIPTS = $(dist_adm_SCRIPTS) $(dist_noinst_SCRIPTS)
268
269 DIST_SOURCES =
270 DATA = $(dist_help_DATA) $(dist_pkgdata_DATA) $(dist_wizhelp_DATA)
271
272 DIST_COMMON = README $(dist_adm_SCRIPTS) $(dist_help_DATA) \
273 $(dist_noinst_SCRIPTS) $(dist_pkgdata_DATA) \
274 $(dist_wizhelp_DATA) $(srcdir)/Makefile.in Makefile.am \
275 checkarch.pl.in collect.pl.in
276 all: all-am
277
278 .SUFFIXES:
279 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
280 cd $(top_srcdir) && \
281 $(AUTOMAKE) --gnu lib/Makefile
282 Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
283 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
284 checkarch.pl: $(top_builddir)/config.status checkarch.pl.in
285 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
286 collect.pl: $(top_builddir)/config.status collect.pl.in
287 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
288 dist_admSCRIPT_INSTALL = $(INSTALL_SCRIPT)
289 install-dist_admSCRIPTS: $(dist_adm_SCRIPTS)
290 @$(NORMAL_INSTALL)
291 $(mkinstalldirs) $(DESTDIR)$(admdir)
292 @list='$(dist_adm_SCRIPTS)'; for p in $$list; do \
293 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
294 if test -f $$d$$p; then \
295 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
296 echo " $(dist_admSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(admdir)/$$f"; \
297 $(dist_admSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(admdir)/$$f; \
298 else :; fi; \
299 done
300
301 uninstall-dist_admSCRIPTS:
302 @$(NORMAL_UNINSTALL)
303 @list='$(dist_adm_SCRIPTS)'; for p in $$list; do \
304 f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \
305 echo " rm -f $(DESTDIR)$(admdir)/$$f"; \
306 rm -f $(DESTDIR)$(admdir)/$$f; \
307 done
308
309 mostlyclean-libtool:
310 -rm -f *.lo
311
312 clean-libtool:
313 -rm -rf .libs _libs
314
315 distclean-libtool:
316 -rm -f libtool
317 uninstall-info-am:
318 dist_helpDATA_INSTALL = $(INSTALL_DATA)
319 install-dist_helpDATA: $(dist_help_DATA)
320 @$(NORMAL_INSTALL)
321 $(mkinstalldirs) $(DESTDIR)$(helpdir)
322 @list='$(dist_help_DATA)'; for p in $$list; do \
323 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
324 f="`echo $$p | sed -e 's|^.*/||'`"; \
325 echo " $(dist_helpDATA_INSTALL) $$d$$p $(DESTDIR)$(helpdir)/$$f"; \
326 $(dist_helpDATA_INSTALL) $$d$$p $(DESTDIR)$(helpdir)/$$f; \
327 done
328
329 uninstall-dist_helpDATA:
330 @$(NORMAL_UNINSTALL)
331 @list='$(dist_help_DATA)'; for p in $$list; do \
332 f="`echo $$p | sed -e 's|^.*/||'`"; \
333 echo " rm -f $(DESTDIR)$(helpdir)/$$f"; \
334 rm -f $(DESTDIR)$(helpdir)/$$f; \
335 done
336 dist_pkgdataDATA_INSTALL = $(INSTALL_DATA)
337 install-dist_pkgdataDATA: $(dist_pkgdata_DATA)
338 @$(NORMAL_INSTALL)
339 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
340 @list='$(dist_pkgdata_DATA)'; for p in $$list; do \
341 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
342 f="`echo $$p | sed -e 's|^.*/||'`"; \
343 echo " $(dist_pkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \
344 $(dist_pkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \
345 done
346
347 uninstall-dist_pkgdataDATA:
348 @$(NORMAL_UNINSTALL)
349 @list='$(dist_pkgdata_DATA)'; for p in $$list; do \
350 f="`echo $$p | sed -e 's|^.*/||'`"; \
351 echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
352 rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
353 done
354 dist_wizhelpDATA_INSTALL = $(INSTALL_DATA)
355 install-dist_wizhelpDATA: $(dist_wizhelp_DATA)
356 @$(NORMAL_INSTALL)
357 $(mkinstalldirs) $(DESTDIR)$(wizhelpdir)
358 @list='$(dist_wizhelp_DATA)'; for p in $$list; do \
359 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
360 f="`echo $$p | sed -e 's|^.*/||'`"; \
361 echo " $(dist_wizhelpDATA_INSTALL) $$d$$p $(DESTDIR)$(wizhelpdir)/$$f"; \
362 $(dist_wizhelpDATA_INSTALL) $$d$$p $(DESTDIR)$(wizhelpdir)/$$f; \
363 done
364
365 uninstall-dist_wizhelpDATA:
366 @$(NORMAL_UNINSTALL)
367 @list='$(dist_wizhelp_DATA)'; for p in $$list; do \
368 f="`echo $$p | sed -e 's|^.*/||'`"; \
369 echo " rm -f $(DESTDIR)$(wizhelpdir)/$$f"; \
370 rm -f $(DESTDIR)$(wizhelpdir)/$$f; \
371 done
372 tags: TAGS
373 TAGS:
374
375 ctags: CTAGS
376 CTAGS:
377
378 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
379
380 top_distdir = ..
381 distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
382
383 distdir: $(DISTFILES)
384 $(mkinstalldirs) $(distdir)/adm $(distdir)/help $(distdir)/wizhelp
385 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
386 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
387 list='$(DISTFILES)'; for file in $$list; do \
388 case $$file in \
389 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
390 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
391 esac; \
392 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
393 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
394 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
395 dir="/$$dir"; \
396 $(mkinstalldirs) "$(distdir)$$dir"; \
397 else \
398 dir=''; \
399 fi; \
400 if test -d $$d/$$file; then \
401 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
402 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
403 fi; \
404 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
405 else \
406 test -f $(distdir)/$$file \
407 || cp -p $$d/$$file $(distdir)/$$file \
408 || exit 1; \
409 fi; \
410 done
411 check-am: all-am
412 check: check-am
413 all-am: Makefile $(SCRIPTS) $(DATA)
414
415 installdirs:
416 $(mkinstalldirs) $(DESTDIR)$(admdir) $(DESTDIR)$(helpdir) $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(wizhelpdir)
417 install: install-am
418 install-exec: install-exec-am
419 install-data: install-data-am
420 uninstall: uninstall-am
421
422 install-am: all-am
423 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
424
425 installcheck: installcheck-am
426 install-strip:
427 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
428 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
429 `test -z '$(STRIP)' || \
430 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
431 mostlyclean-generic:
432
433 clean-generic:
434
435 distclean-generic:
436 -rm -f $(CONFIG_CLEAN_FILES)
437
438 maintainer-clean-generic:
439 @echo "This command is intended for maintainers to use"
440 @echo "it deletes files that may require special tools to rebuild."
441 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
442 clean: clean-am
443
444 clean-am: clean-generic clean-libtool mostlyclean-am
445
446 distclean: distclean-am
447 -rm -f Makefile
448 distclean-am: clean-am distclean-generic distclean-libtool
449
450 dvi: dvi-am
451
452 dvi-am:
453
454 info: info-am
455
456 info-am:
457
458 install-data-am: install-data-local install-dist_admSCRIPTS \
459 install-dist_helpDATA install-dist_pkgdataDATA \
460 install-dist_wizhelpDATA
461
462 install-exec-am:
463
464 install-info: install-info-am
465
466 install-man:
467
468 installcheck-am:
469
470 maintainer-clean: maintainer-clean-am
471 -rm -f Makefile
472 maintainer-clean-am: distclean-am maintainer-clean-generic
473
474 mostlyclean: mostlyclean-am
475
476 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
477
478 pdf: pdf-am
479
480 pdf-am:
481
482 ps: ps-am
483
484 ps-am:
485
486 uninstall-am: uninstall-dist_admSCRIPTS uninstall-dist_helpDATA \
487 uninstall-dist_pkgdataDATA uninstall-dist_wizhelpDATA \
488 uninstall-info-am uninstall-local
489
490 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
491 distclean distclean-generic distclean-libtool distdir dvi \
492 dvi-am info info-am install install-am install-data \
493 install-data-am install-data-local install-dist_admSCRIPTS \
494 install-dist_helpDATA install-dist_pkgdataDATA \
495 install-dist_wizhelpDATA install-exec install-exec-am \
496 install-info install-info-am install-man install-strip \
497 installcheck installcheck-am installdirs maintainer-clean \
498 maintainer-clean-generic mostlyclean mostlyclean-generic \
499 mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
500 uninstall-dist_admSCRIPTS uninstall-dist_helpDATA \
501 uninstall-dist_pkgdataDATA uninstall-dist_wizhelpDATA \
502 uninstall-info-am uninstall-local
503
504
505 crossfire.0: bmaps.paths
506 $(PERL) $(srcdir)/adm/collect_images.pl -png
507
508 .collect-stamp:
509 touch .collect-stamp
510
511 collect:
512 $(PERL) -I$(srcdir) collect.pl $(srcdir)/arch
513 $(PERL) $(srcdir)/adm/collect_images.pl -png
514
515 archonly:
516 $(PERL) -I$(srcdir) collect.pl $(srcdir)/arch ARCHONLY
517
518 archetypes: .collect-stamp
519 make collect
520
521 faces: .collect-stamp
522 make collect
523
524 animations: .collect-stamp
525 make collect
526
527 bmaps.paths bmaps: .collect-stamp
528 make collect
529
530 install-data-local: archetypes crossfire.0 faces animations collect.pl util.pl
531 @$(NORMAL_INSTALL)
532 $(mkinstalldirs) $(DESTDIR)$(pkgconfdir)
533 for i in $(CONF_FILES); do \
534 if [ ! -f $(DESTDIR)$(pkgconfdir)/$$i ]; then \
535 echo "Installing $$i"; \
536 $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(pkgconfdir); \
537 fi \
538 done
539
540 $(mkinstalldirs) $(DESTDIR)$(pkgstatedir)
541 for i in $(VAR_FILES) ; do \
542 touch $(DESTDIR)$(pkgstatedir)/$$i ; \
543 done
544
545 @for i in datafiles players unique-items template-maps maps; do \
546 if [ ! -d $(DESTDIR)$(pkgstatedir)/$$i ]; then \
547 echo "Creating directory $(pkgstatedir)/$$i"; \
548 $(mkinstalldirs) $(DESTDIR)$(pkgstatedir)/$$i; \
549 fi; \
550 done
551 # Special case above because the name we install to is different
552 # than the name of the file
553 if [ ! -d $(DESTDIR)$(pkgdatadir)/$$i ]; then \
554 echo "Creating directory $(pkgdatadir)/$$i"; \
555 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$$i; \
556 fi; \
557 $(INSTALL_DATA) $(srcdir)/treasures.bld $(DESTDIR)$(pkgdatadir)/treasures
558
559 # Uninstall unchanged config/var files so make distcheck is happy
560 # but leave changed file, so no configuration/game state is lost
561 uninstall-local:
562 -for i in $(CONF_FILES); do \
563 if test ! -f $(DESTDIR)$(pkgconfdir)/$$i ; then \
564 continue ; \
565 fi ; \
566 if diff -q $(srcdir)/$$i $(DESTDIR)$(pkgconfdir)/$$i ; then \
567 rm -f $(DESTDIR)$(pkgconfdir)/$$i ; \
568 fi ; \
569 done
570 -for i in $(VAR_FILES) ; do \
571 if test ! -f $(DESTDIR)$(pkgstatedir)/$$i ; then \
572 continue ;\
573 fi ; \
574 if test `wc -c $(DESTDIR)$(pkgstatedir)/$$i|$(AWK) '{ print $$1 }'` -eq "0" ; then \
575 rm -f $(DESTDIR)$(pkgstatedir)/$$i ; \
576 fi ; \
577 done
578
579 # This block makes the archive of the arch directory.
580 archive::
581 $(AMTAR) -cvh --exclude=dev --exclude=CVS -f $(PACKAGE)-$(VERSION)-arch.tar arch
582 $(GZIP) -cv9 $(PACKAGE)-$(VERSION)-arch.tar > ../$(PACKAGE)-$(VERSION)-arch.tar.gz
583 $(BZIP) -cv --repetitive-best $(PACKAGE)-$(VERSION)-arch.tar > ../$(PACKAGE)-$(VERSION)-arch.tar.bz2
584 $(RM) $(PACKAGE)-$(VERSION)-arch.tar
585
586 libArch:
587 tar cvf A`perl puredate.pl`.tar arch treasures
588 gzip A`perl puredate.pl`.tar
589 # Tell versions [3.59,3.63) of GNU make to not export all variables.
590 # Otherwise a system limit (for SysV at least) may be exceeded.
591 .NOEXPORT: