ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/Makefile.in
Revision: 1.12
Committed: Sun May 7 13:56:23 2006 UTC (18 years ago) by root
Branch: MAIN
Changes since 1.11: +84 -123 lines
Log Message:
distconf

File Contents

# User Rev Content
1 root 1.12 # Makefile.in generated by automake 1.7.9 from Makefile.am.
2 root 1.1 # @configure_input@
3    
4 root 1.12 # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5     # Free Software Foundation, Inc.
6 root 1.1 # 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 root 1.12
50 root 1.1 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 root 1.10 CROSSEDIT = @CROSSEDIT@
83 root 1.1 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 root 1.12 LD = @LD@
104 root 1.1 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 root 1.12 NM = @NM@
118 root 1.1 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 root 1.12
127 root 1.1 PERL = @PERL@
128 root 1.2 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 root 1.1 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 root 1.12 SED = @SED@
142 root 1.1 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 root 1.12
186 root 1.1 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 root 1.12
196 root 1.1 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 pippijn 1.11 crossfire.1 faces attackmess image_info smooth materials regions cf.pm
200 root 1.10
201 root 1.12
202 root 1.1 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 root 1.12
206 root 1.1 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 root 1.9 help/follow help/golem help/invite \
211     help/invoke help/keys help/killpets \
212 root 1.1 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 root 1.12
227 root 1.1 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 elmex 1.5 wizhelp/goto wizhelp/hide wizhelp/insert_into \
236     wizhelp/invisible \
237 root 1.1 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 elmex 1.5 wizhelp/spellreset wizhelp/ssdumptable wizhelp/stats \
248 root 1.1 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 root 1.12
255 root 1.1 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 root 1.12
261 pippijn 1.11 MAINTAINERCLEANFILES = archetypes bmaps faces smooth .collect-stamp
262 root 1.12 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 root 1.1 all: all-am
277    
278     .SUFFIXES:
279 root 1.12 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
280 root 1.1 cd $(top_srcdir) && \
281     $(AUTOMAKE) --gnu lib/Makefile
282 root 1.12 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 root 1.1 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
286 root 1.12 collect.pl: $(top_builddir)/config.status collect.pl.in
287 root 1.1 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
288 root 1.12 dist_admSCRIPT_INSTALL = $(INSTALL_SCRIPT)
289 root 1.1 install-dist_admSCRIPTS: $(dist_adm_SCRIPTS)
290     @$(NORMAL_INSTALL)
291 root 1.12 $(mkinstalldirs) $(DESTDIR)$(admdir)
292 root 1.1 @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 root 1.12 echo " $(dist_admSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(admdir)/$$f"; \
297     $(dist_admSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(admdir)/$$f; \
298 root 1.1 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 root 1.12 echo " rm -f $(DESTDIR)$(admdir)/$$f"; \
306     rm -f $(DESTDIR)$(admdir)/$$f; \
307 root 1.1 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 root 1.12 dist_helpDATA_INSTALL = $(INSTALL_DATA)
319 root 1.1 install-dist_helpDATA: $(dist_help_DATA)
320     @$(NORMAL_INSTALL)
321 root 1.12 $(mkinstalldirs) $(DESTDIR)$(helpdir)
322 root 1.1 @list='$(dist_help_DATA)'; for p in $$list; do \
323     if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
324 root 1.12 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 root 1.1 done
328    
329     uninstall-dist_helpDATA:
330     @$(NORMAL_UNINSTALL)
331     @list='$(dist_help_DATA)'; for p in $$list; do \
332 root 1.12 f="`echo $$p | sed -e 's|^.*/||'`"; \
333     echo " rm -f $(DESTDIR)$(helpdir)/$$f"; \
334     rm -f $(DESTDIR)$(helpdir)/$$f; \
335 root 1.1 done
336 root 1.12 dist_pkgdataDATA_INSTALL = $(INSTALL_DATA)
337 root 1.1 install-dist_pkgdataDATA: $(dist_pkgdata_DATA)
338     @$(NORMAL_INSTALL)
339 root 1.12 $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
340 root 1.1 @list='$(dist_pkgdata_DATA)'; for p in $$list; do \
341     if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
342 root 1.12 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 root 1.1 done
346    
347     uninstall-dist_pkgdataDATA:
348     @$(NORMAL_UNINSTALL)
349     @list='$(dist_pkgdata_DATA)'; for p in $$list; do \
350 root 1.12 f="`echo $$p | sed -e 's|^.*/||'`"; \
351     echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \
352     rm -f $(DESTDIR)$(pkgdatadir)/$$f; \
353 root 1.1 done
354 root 1.12 dist_wizhelpDATA_INSTALL = $(INSTALL_DATA)
355 root 1.1 install-dist_wizhelpDATA: $(dist_wizhelp_DATA)
356     @$(NORMAL_INSTALL)
357 root 1.12 $(mkinstalldirs) $(DESTDIR)$(wizhelpdir)
358 root 1.1 @list='$(dist_wizhelp_DATA)'; for p in $$list; do \
359     if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
360 root 1.12 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 root 1.1 done
364    
365     uninstall-dist_wizhelpDATA:
366     @$(NORMAL_UNINSTALL)
367     @list='$(dist_wizhelp_DATA)'; for p in $$list; do \
368 root 1.12 f="`echo $$p | sed -e 's|^.*/||'`"; \
369     echo " rm -f $(DESTDIR)$(wizhelpdir)/$$f"; \
370     rm -f $(DESTDIR)$(wizhelpdir)/$$f; \
371 root 1.1 done
372     tags: TAGS
373     TAGS:
374    
375     ctags: CTAGS
376     CTAGS:
377    
378 root 1.12 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
379    
380     top_distdir = ..
381     distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
382 root 1.1
383     distdir: $(DISTFILES)
384 root 1.12 $(mkinstalldirs) $(distdir)/adm $(distdir)/help $(distdir)/wizhelp
385 root 1.1 @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 root 1.12 $(mkinstalldirs) "$(distdir)$$dir"; \
397 root 1.1 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 root 1.12
415 root 1.1 installdirs:
416 root 1.12 $(mkinstalldirs) $(DESTDIR)$(admdir) $(DESTDIR)$(helpdir) $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(wizhelpdir)
417 root 1.1 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 root 1.12 -rm -f $(CONFIG_CLEAN_FILES)
437 root 1.1
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 root 1.12 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 root 1.1
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 pippijn 1.11 smooth: .collect-stamp
531     make collect
532    
533 root 1.1 install-data-local: archetypes crossfire.0 faces animations collect.pl util.pl
534     @$(NORMAL_INSTALL)
535     $(mkinstalldirs) $(DESTDIR)$(pkgconfdir)
536     for i in $(CONF_FILES); do \
537     if [ ! -f $(DESTDIR)$(pkgconfdir)/$$i ]; then \
538     echo "Installing $$i"; \
539     $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(pkgconfdir); \
540     fi \
541     done
542    
543     $(mkinstalldirs) $(DESTDIR)$(pkgstatedir)
544     for i in $(VAR_FILES) ; do \
545     touch $(DESTDIR)$(pkgstatedir)/$$i ; \
546     done
547    
548     @for i in datafiles players unique-items template-maps maps; do \
549     if [ ! -d $(DESTDIR)$(pkgstatedir)/$$i ]; then \
550     echo "Creating directory $(pkgstatedir)/$$i"; \
551     $(mkinstalldirs) $(DESTDIR)$(pkgstatedir)/$$i; \
552     fi; \
553     done
554     # Special case above because the name we install to is different
555     # than the name of the file
556     if [ ! -d $(DESTDIR)$(pkgdatadir)/$$i ]; then \
557     echo "Creating directory $(pkgdatadir)/$$i"; \
558     $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$$i; \
559     fi; \
560     $(INSTALL_DATA) $(srcdir)/treasures.bld $(DESTDIR)$(pkgdatadir)/treasures
561    
562     # Uninstall unchanged config/var files so make distcheck is happy
563     # but leave changed file, so no configuration/game state is lost
564     uninstall-local:
565     -for i in $(CONF_FILES); do \
566     if test ! -f $(DESTDIR)$(pkgconfdir)/$$i ; then \
567     continue ; \
568     fi ; \
569     if diff -q $(srcdir)/$$i $(DESTDIR)$(pkgconfdir)/$$i ; then \
570     rm -f $(DESTDIR)$(pkgconfdir)/$$i ; \
571     fi ; \
572     done
573     -for i in $(VAR_FILES) ; do \
574     if test ! -f $(DESTDIR)$(pkgstatedir)/$$i ; then \
575     continue ;\
576     fi ; \
577     if test `wc -c $(DESTDIR)$(pkgstatedir)/$$i|$(AWK) '{ print $$1 }'` -eq "0" ; then \
578     rm -f $(DESTDIR)$(pkgstatedir)/$$i ; \
579     fi ; \
580     done
581    
582     # This block makes the archive of the arch directory.
583     archive::
584     $(AMTAR) -cvh --exclude=dev --exclude=CVS -f $(PACKAGE)-$(VERSION)-arch.tar arch
585     $(GZIP) -cv9 $(PACKAGE)-$(VERSION)-arch.tar > ../$(PACKAGE)-$(VERSION)-arch.tar.gz
586     $(BZIP) -cv --repetitive-best $(PACKAGE)-$(VERSION)-arch.tar > ../$(PACKAGE)-$(VERSION)-arch.tar.bz2
587     $(RM) $(PACKAGE)-$(VERSION)-arch.tar
588    
589     libArch:
590     tar cvf A`perl puredate.pl`.tar arch treasures
591     gzip A`perl puredate.pl`.tar
592     # Tell versions [3.59,3.63) of GNU make to not export all variables.
593     # Otherwise a system limit (for SysV at least) may be exceeded.
594     .NOEXPORT: