| 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 |
root |
1.14 |
dist_pkgdata_DATA = artifacts def_help formulae messages races \ |
| 198 |
root |
1.1 |
animations archetypes bmaps bmaps.paths crossfire.0 \ |
| 199 |
root |
1.13 |
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 |
root |
1.13 |
dist_help_DATA = \ |
| 208 |
|
|
help/apply help/applymode help/bind \ |
| 209 |
|
|
help/bowmode help/brace help/cast \ |
| 210 |
|
|
help/chat help/drop help/dropall \ |
| 211 |
|
|
help/follow help/golem help/ignore \ |
| 212 |
|
|
help/invite help/invoke help/keys \ |
| 213 |
|
|
help/killpets help/listen help/mark \ |
| 214 |
|
|
help/melee help/mode help/mouse \ |
| 215 |
|
|
help/move help/output help/output-count \ |
| 216 |
|
|
help/output-sync help/party help/peaceful \ |
| 217 |
root |
1.1 |
help/petmode help/pickup help/quests \ |
| 218 |
root |
1.13 |
help/quit help/range \ |
| 219 |
|
|
help/rename help/reply help/save \ |
| 220 |
|
|
help/shout help/showpets help/sort_inventory \ |
| 221 |
|
|
help/spells help/statistics help/take \ |
| 222 |
|
|
help/tell help/traps help/unbind \ |
| 223 |
|
|
help/unignore help/usekeys help/whereabouts |
| 224 |
root |
1.1 |
|
| 225 |
root |
1.12 |
|
| 226 |
root |
1.1 |
wizhelpdir = $(pkgdatadir)/wizhelp |
| 227 |
|
|
dist_wizhelp_DATA = wizhelp/abil wizhelp/addexp \ |
| 228 |
|
|
wizhelp/banish \ |
| 229 |
|
|
wizhelp/create wizhelp/debug \ |
| 230 |
|
|
wizhelp/dump wizhelp/dumpallarchtypes \ |
| 231 |
|
|
wizhelp/dumpallmaps wizhelp/dumpallobjects \ |
| 232 |
|
|
wizhelp/dumpbelow wizhelp/dumpfriendlyobjects \ |
| 233 |
|
|
wizhelp/forget_spell wizhelp/free \ |
| 234 |
elmex |
1.5 |
wizhelp/goto wizhelp/hide wizhelp/insert_into \ |
| 235 |
|
|
wizhelp/invisible \ |
| 236 |
root |
1.1 |
wizhelp/kick wizhelp/learn_special_prayer \ |
| 237 |
|
|
wizhelp/learn_spell wizhelp/mon_aggr \ |
| 238 |
|
|
wizhelp/nodm \ |
| 239 |
|
|
wizhelp/nowiz wizhelp/overlay_save \ |
| 240 |
|
|
wizhelp/patch wizhelp/plugin \ |
| 241 |
|
|
wizhelp/pluglist wizhelp/plugout \ |
| 242 |
|
|
wizhelp/possess \ |
| 243 |
|
|
wizhelp/printlos wizhelp/remove \ |
| 244 |
|
|
wizhelp/reset wizhelp/set_god \ |
| 245 |
|
|
wizhelp/shutdown wizhelp/server_speed \ |
| 246 |
elmex |
1.5 |
wizhelp/spellreset wizhelp/ssdumptable wizhelp/stats \ |
| 247 |
root |
1.1 |
wizhelp/style_info wizhelp/summon \ |
| 248 |
|
|
wizhelp/teleport wizhelp/time \ |
| 249 |
|
|
wizhelp/toggle_shout \ |
| 250 |
|
|
wizhelp/who wizhelp/wizcast wizhelp/wizhelp \ |
| 251 |
|
|
wizhelp/wizpass |
| 252 |
|
|
|
| 253 |
root |
1.12 |
|
| 254 |
root |
1.1 |
admdir = $(pkgdatadir)/adm |
| 255 |
|
|
dist_adm_SCRIPTS = \ |
| 256 |
|
|
adm/map_info adm/map_expand.pl adm/mapslitter.pl adm/archsearch.pl \ |
| 257 |
|
|
adm/collect_images.pl |
| 258 |
|
|
|
| 259 |
root |
1.12 |
|
| 260 |
root |
1.14 |
MAINTAINERCLEANFILES = animations archetypes bmaps bmaps.paths crossfire.0 faces treasures.bld smooth .collect-stamp |
| 261 |
root |
1.12 |
subdir = lib |
| 262 |
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
| 263 |
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/utils/mkinstalldirs |
| 264 |
|
|
CONFIG_HEADER = $(top_builddir)/include/autoconf.h |
| 265 |
|
|
CONFIG_CLEAN_FILES = checkarch.pl collect.pl |
| 266 |
|
|
SCRIPTS = $(dist_adm_SCRIPTS) $(dist_noinst_SCRIPTS) |
| 267 |
|
|
|
| 268 |
|
|
DIST_SOURCES = |
| 269 |
|
|
DATA = $(dist_help_DATA) $(dist_pkgdata_DATA) $(dist_wizhelp_DATA) |
| 270 |
|
|
|
| 271 |
|
|
DIST_COMMON = README $(dist_adm_SCRIPTS) $(dist_help_DATA) \ |
| 272 |
|
|
$(dist_noinst_SCRIPTS) $(dist_pkgdata_DATA) \ |
| 273 |
|
|
$(dist_wizhelp_DATA) $(srcdir)/Makefile.in Makefile.am \ |
| 274 |
|
|
checkarch.pl.in collect.pl.in |
| 275 |
root |
1.1 |
all: all-am |
| 276 |
|
|
|
| 277 |
|
|
.SUFFIXES: |
| 278 |
root |
1.12 |
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4) |
| 279 |
root |
1.1 |
cd $(top_srcdir) && \ |
| 280 |
|
|
$(AUTOMAKE) --gnu lib/Makefile |
| 281 |
root |
1.12 |
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status |
| 282 |
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe) |
| 283 |
|
|
checkarch.pl: $(top_builddir)/config.status checkarch.pl.in |
| 284 |
root |
1.1 |
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ |
| 285 |
root |
1.12 |
collect.pl: $(top_builddir)/config.status collect.pl.in |
| 286 |
root |
1.1 |
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ |
| 287 |
root |
1.12 |
dist_admSCRIPT_INSTALL = $(INSTALL_SCRIPT) |
| 288 |
root |
1.1 |
install-dist_admSCRIPTS: $(dist_adm_SCRIPTS) |
| 289 |
|
|
@$(NORMAL_INSTALL) |
| 290 |
root |
1.12 |
$(mkinstalldirs) $(DESTDIR)$(admdir) |
| 291 |
root |
1.1 |
@list='$(dist_adm_SCRIPTS)'; for p in $$list; do \ |
| 292 |
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
| 293 |
|
|
if test -f $$d$$p; then \ |
| 294 |
|
|
f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ |
| 295 |
root |
1.12 |
echo " $(dist_admSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(admdir)/$$f"; \ |
| 296 |
|
|
$(dist_admSCRIPT_INSTALL) $$d$$p $(DESTDIR)$(admdir)/$$f; \ |
| 297 |
root |
1.1 |
else :; fi; \ |
| 298 |
|
|
done |
| 299 |
|
|
|
| 300 |
|
|
uninstall-dist_admSCRIPTS: |
| 301 |
|
|
@$(NORMAL_UNINSTALL) |
| 302 |
|
|
@list='$(dist_adm_SCRIPTS)'; for p in $$list; do \ |
| 303 |
|
|
f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ |
| 304 |
root |
1.12 |
echo " rm -f $(DESTDIR)$(admdir)/$$f"; \ |
| 305 |
|
|
rm -f $(DESTDIR)$(admdir)/$$f; \ |
| 306 |
root |
1.1 |
done |
| 307 |
|
|
|
| 308 |
|
|
mostlyclean-libtool: |
| 309 |
|
|
-rm -f *.lo |
| 310 |
|
|
|
| 311 |
|
|
clean-libtool: |
| 312 |
|
|
-rm -rf .libs _libs |
| 313 |
|
|
|
| 314 |
|
|
distclean-libtool: |
| 315 |
|
|
-rm -f libtool |
| 316 |
|
|
uninstall-info-am: |
| 317 |
root |
1.12 |
dist_helpDATA_INSTALL = $(INSTALL_DATA) |
| 318 |
root |
1.1 |
install-dist_helpDATA: $(dist_help_DATA) |
| 319 |
|
|
@$(NORMAL_INSTALL) |
| 320 |
root |
1.12 |
$(mkinstalldirs) $(DESTDIR)$(helpdir) |
| 321 |
root |
1.1 |
@list='$(dist_help_DATA)'; for p in $$list; do \ |
| 322 |
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
| 323 |
root |
1.12 |
f="`echo $$p | sed -e 's|^.*/||'`"; \ |
| 324 |
|
|
echo " $(dist_helpDATA_INSTALL) $$d$$p $(DESTDIR)$(helpdir)/$$f"; \ |
| 325 |
|
|
$(dist_helpDATA_INSTALL) $$d$$p $(DESTDIR)$(helpdir)/$$f; \ |
| 326 |
root |
1.1 |
done |
| 327 |
|
|
|
| 328 |
|
|
uninstall-dist_helpDATA: |
| 329 |
|
|
@$(NORMAL_UNINSTALL) |
| 330 |
|
|
@list='$(dist_help_DATA)'; for p in $$list; do \ |
| 331 |
root |
1.12 |
f="`echo $$p | sed -e 's|^.*/||'`"; \ |
| 332 |
|
|
echo " rm -f $(DESTDIR)$(helpdir)/$$f"; \ |
| 333 |
|
|
rm -f $(DESTDIR)$(helpdir)/$$f; \ |
| 334 |
root |
1.1 |
done |
| 335 |
root |
1.12 |
dist_pkgdataDATA_INSTALL = $(INSTALL_DATA) |
| 336 |
root |
1.1 |
install-dist_pkgdataDATA: $(dist_pkgdata_DATA) |
| 337 |
|
|
@$(NORMAL_INSTALL) |
| 338 |
root |
1.12 |
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir) |
| 339 |
root |
1.1 |
@list='$(dist_pkgdata_DATA)'; for p in $$list; do \ |
| 340 |
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
| 341 |
root |
1.12 |
f="`echo $$p | sed -e 's|^.*/||'`"; \ |
| 342 |
|
|
echo " $(dist_pkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f"; \ |
| 343 |
|
|
$(dist_pkgdataDATA_INSTALL) $$d$$p $(DESTDIR)$(pkgdatadir)/$$f; \ |
| 344 |
root |
1.1 |
done |
| 345 |
|
|
|
| 346 |
|
|
uninstall-dist_pkgdataDATA: |
| 347 |
|
|
@$(NORMAL_UNINSTALL) |
| 348 |
|
|
@list='$(dist_pkgdata_DATA)'; for p in $$list; do \ |
| 349 |
root |
1.12 |
f="`echo $$p | sed -e 's|^.*/||'`"; \ |
| 350 |
|
|
echo " rm -f $(DESTDIR)$(pkgdatadir)/$$f"; \ |
| 351 |
|
|
rm -f $(DESTDIR)$(pkgdatadir)/$$f; \ |
| 352 |
root |
1.1 |
done |
| 353 |
root |
1.12 |
dist_wizhelpDATA_INSTALL = $(INSTALL_DATA) |
| 354 |
root |
1.1 |
install-dist_wizhelpDATA: $(dist_wizhelp_DATA) |
| 355 |
|
|
@$(NORMAL_INSTALL) |
| 356 |
root |
1.12 |
$(mkinstalldirs) $(DESTDIR)$(wizhelpdir) |
| 357 |
root |
1.1 |
@list='$(dist_wizhelp_DATA)'; for p in $$list; do \ |
| 358 |
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
| 359 |
root |
1.12 |
f="`echo $$p | sed -e 's|^.*/||'`"; \ |
| 360 |
|
|
echo " $(dist_wizhelpDATA_INSTALL) $$d$$p $(DESTDIR)$(wizhelpdir)/$$f"; \ |
| 361 |
|
|
$(dist_wizhelpDATA_INSTALL) $$d$$p $(DESTDIR)$(wizhelpdir)/$$f; \ |
| 362 |
root |
1.1 |
done |
| 363 |
|
|
|
| 364 |
|
|
uninstall-dist_wizhelpDATA: |
| 365 |
|
|
@$(NORMAL_UNINSTALL) |
| 366 |
|
|
@list='$(dist_wizhelp_DATA)'; for p in $$list; do \ |
| 367 |
root |
1.12 |
f="`echo $$p | sed -e 's|^.*/||'`"; \ |
| 368 |
|
|
echo " rm -f $(DESTDIR)$(wizhelpdir)/$$f"; \ |
| 369 |
|
|
rm -f $(DESTDIR)$(wizhelpdir)/$$f; \ |
| 370 |
root |
1.1 |
done |
| 371 |
|
|
tags: TAGS |
| 372 |
|
|
TAGS: |
| 373 |
|
|
|
| 374 |
|
|
ctags: CTAGS |
| 375 |
|
|
CTAGS: |
| 376 |
|
|
|
| 377 |
root |
1.12 |
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
| 378 |
|
|
|
| 379 |
|
|
top_distdir = .. |
| 380 |
|
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION) |
| 381 |
root |
1.1 |
|
| 382 |
|
|
distdir: $(DISTFILES) |
| 383 |
root |
1.12 |
$(mkinstalldirs) $(distdir)/adm $(distdir)/help $(distdir)/wizhelp |
| 384 |
root |
1.1 |
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ |
| 385 |
|
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ |
| 386 |
|
|
list='$(DISTFILES)'; for file in $$list; do \ |
| 387 |
|
|
case $$file in \ |
| 388 |
|
|
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \ |
| 389 |
|
|
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \ |
| 390 |
|
|
esac; \ |
| 391 |
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ |
| 392 |
|
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \ |
| 393 |
|
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \ |
| 394 |
|
|
dir="/$$dir"; \ |
| 395 |
root |
1.12 |
$(mkinstalldirs) "$(distdir)$$dir"; \ |
| 396 |
root |
1.1 |
else \ |
| 397 |
|
|
dir=''; \ |
| 398 |
|
|
fi; \ |
| 399 |
|
|
if test -d $$d/$$file; then \ |
| 400 |
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ |
| 401 |
|
|
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \ |
| 402 |
|
|
fi; \ |
| 403 |
|
|
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \ |
| 404 |
|
|
else \ |
| 405 |
|
|
test -f $(distdir)/$$file \ |
| 406 |
|
|
|| cp -p $$d/$$file $(distdir)/$$file \ |
| 407 |
|
|
|| exit 1; \ |
| 408 |
|
|
fi; \ |
| 409 |
|
|
done |
| 410 |
|
|
check-am: all-am |
| 411 |
|
|
check: check-am |
| 412 |
|
|
all-am: Makefile $(SCRIPTS) $(DATA) |
| 413 |
root |
1.12 |
|
| 414 |
root |
1.1 |
installdirs: |
| 415 |
root |
1.12 |
$(mkinstalldirs) $(DESTDIR)$(admdir) $(DESTDIR)$(helpdir) $(DESTDIR)$(pkgdatadir) $(DESTDIR)$(wizhelpdir) |
| 416 |
root |
1.1 |
install: install-am |
| 417 |
|
|
install-exec: install-exec-am |
| 418 |
|
|
install-data: install-data-am |
| 419 |
|
|
uninstall: uninstall-am |
| 420 |
|
|
|
| 421 |
|
|
install-am: all-am |
| 422 |
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
| 423 |
|
|
|
| 424 |
|
|
installcheck: installcheck-am |
| 425 |
|
|
install-strip: |
| 426 |
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ |
| 427 |
|
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ |
| 428 |
|
|
`test -z '$(STRIP)' || \ |
| 429 |
|
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install |
| 430 |
|
|
mostlyclean-generic: |
| 431 |
|
|
|
| 432 |
|
|
clean-generic: |
| 433 |
|
|
|
| 434 |
|
|
distclean-generic: |
| 435 |
root |
1.12 |
-rm -f $(CONFIG_CLEAN_FILES) |
| 436 |
root |
1.1 |
|
| 437 |
|
|
maintainer-clean-generic: |
| 438 |
|
|
@echo "This command is intended for maintainers to use" |
| 439 |
|
|
@echo "it deletes files that may require special tools to rebuild." |
| 440 |
|
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) |
| 441 |
|
|
clean: clean-am |
| 442 |
|
|
|
| 443 |
|
|
clean-am: clean-generic clean-libtool mostlyclean-am |
| 444 |
|
|
|
| 445 |
|
|
distclean: distclean-am |
| 446 |
|
|
-rm -f Makefile |
| 447 |
|
|
distclean-am: clean-am distclean-generic distclean-libtool |
| 448 |
|
|
|
| 449 |
|
|
dvi: dvi-am |
| 450 |
|
|
|
| 451 |
|
|
dvi-am: |
| 452 |
|
|
|
| 453 |
|
|
info: info-am |
| 454 |
|
|
|
| 455 |
|
|
info-am: |
| 456 |
|
|
|
| 457 |
|
|
install-data-am: install-data-local install-dist_admSCRIPTS \ |
| 458 |
|
|
install-dist_helpDATA install-dist_pkgdataDATA \ |
| 459 |
|
|
install-dist_wizhelpDATA |
| 460 |
|
|
|
| 461 |
|
|
install-exec-am: |
| 462 |
|
|
|
| 463 |
|
|
install-info: install-info-am |
| 464 |
|
|
|
| 465 |
|
|
install-man: |
| 466 |
|
|
|
| 467 |
|
|
installcheck-am: |
| 468 |
|
|
|
| 469 |
|
|
maintainer-clean: maintainer-clean-am |
| 470 |
|
|
-rm -f Makefile |
| 471 |
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic |
| 472 |
|
|
|
| 473 |
|
|
mostlyclean: mostlyclean-am |
| 474 |
|
|
|
| 475 |
|
|
mostlyclean-am: mostlyclean-generic mostlyclean-libtool |
| 476 |
|
|
|
| 477 |
|
|
pdf: pdf-am |
| 478 |
|
|
|
| 479 |
|
|
pdf-am: |
| 480 |
|
|
|
| 481 |
|
|
ps: ps-am |
| 482 |
|
|
|
| 483 |
|
|
ps-am: |
| 484 |
|
|
|
| 485 |
|
|
uninstall-am: uninstall-dist_admSCRIPTS uninstall-dist_helpDATA \ |
| 486 |
|
|
uninstall-dist_pkgdataDATA uninstall-dist_wizhelpDATA \ |
| 487 |
|
|
uninstall-info-am uninstall-local |
| 488 |
|
|
|
| 489 |
|
|
.PHONY: all all-am check check-am clean clean-generic clean-libtool \ |
| 490 |
|
|
distclean distclean-generic distclean-libtool distdir dvi \ |
| 491 |
root |
1.12 |
dvi-am info info-am install install-am install-data \ |
| 492 |
|
|
install-data-am install-data-local install-dist_admSCRIPTS \ |
| 493 |
|
|
install-dist_helpDATA install-dist_pkgdataDATA \ |
| 494 |
|
|
install-dist_wizhelpDATA install-exec install-exec-am \ |
| 495 |
|
|
install-info install-info-am install-man install-strip \ |
| 496 |
|
|
installcheck installcheck-am installdirs maintainer-clean \ |
| 497 |
|
|
maintainer-clean-generic mostlyclean mostlyclean-generic \ |
| 498 |
|
|
mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \ |
| 499 |
|
|
uninstall-dist_admSCRIPTS uninstall-dist_helpDATA \ |
| 500 |
|
|
uninstall-dist_pkgdataDATA uninstall-dist_wizhelpDATA \ |
| 501 |
|
|
uninstall-info-am uninstall-local |
| 502 |
root |
1.1 |
|
| 503 |
|
|
|
| 504 |
|
|
crossfire.0: bmaps.paths |
| 505 |
|
|
$(PERL) $(srcdir)/adm/collect_images.pl -png |
| 506 |
|
|
|
| 507 |
|
|
.collect-stamp: |
| 508 |
|
|
touch .collect-stamp |
| 509 |
|
|
|
| 510 |
|
|
collect: |
| 511 |
|
|
$(PERL) -I$(srcdir) collect.pl $(srcdir)/arch |
| 512 |
|
|
$(PERL) $(srcdir)/adm/collect_images.pl -png |
| 513 |
|
|
|
| 514 |
|
|
archonly: |
| 515 |
|
|
$(PERL) -I$(srcdir) collect.pl $(srcdir)/arch ARCHONLY |
| 516 |
|
|
|
| 517 |
|
|
archetypes: .collect-stamp |
| 518 |
|
|
make collect |
| 519 |
|
|
|
| 520 |
|
|
faces: .collect-stamp |
| 521 |
|
|
make collect |
| 522 |
|
|
|
| 523 |
|
|
animations: .collect-stamp |
| 524 |
|
|
make collect |
| 525 |
|
|
|
| 526 |
|
|
bmaps.paths bmaps: .collect-stamp |
| 527 |
|
|
make collect |
| 528 |
|
|
|
| 529 |
pippijn |
1.11 |
smooth: .collect-stamp |
| 530 |
|
|
make collect |
| 531 |
|
|
|
| 532 |
root |
1.1 |
install-data-local: archetypes crossfire.0 faces animations collect.pl util.pl |
| 533 |
|
|
@$(NORMAL_INSTALL) |
| 534 |
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgconfdir) |
| 535 |
|
|
for i in $(CONF_FILES); do \ |
| 536 |
|
|
if [ ! -f $(DESTDIR)$(pkgconfdir)/$$i ]; then \ |
| 537 |
|
|
echo "Installing $$i"; \ |
| 538 |
|
|
$(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(pkgconfdir); \ |
| 539 |
|
|
fi \ |
| 540 |
|
|
done |
| 541 |
|
|
|
| 542 |
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgstatedir) |
| 543 |
|
|
for i in $(VAR_FILES) ; do \ |
| 544 |
|
|
touch $(DESTDIR)$(pkgstatedir)/$$i ; \ |
| 545 |
|
|
done |
| 546 |
|
|
|
| 547 |
|
|
@for i in datafiles players unique-items template-maps maps; do \ |
| 548 |
|
|
if [ ! -d $(DESTDIR)$(pkgstatedir)/$$i ]; then \ |
| 549 |
|
|
echo "Creating directory $(pkgstatedir)/$$i"; \ |
| 550 |
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgstatedir)/$$i; \ |
| 551 |
|
|
fi; \ |
| 552 |
|
|
done |
| 553 |
|
|
# Special case above because the name we install to is different |
| 554 |
|
|
# than the name of the file |
| 555 |
|
|
if [ ! -d $(DESTDIR)$(pkgdatadir)/$$i ]; then \ |
| 556 |
|
|
echo "Creating directory $(pkgdatadir)/$$i"; \ |
| 557 |
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$$i; \ |
| 558 |
|
|
fi; \ |
| 559 |
|
|
$(INSTALL_DATA) $(srcdir)/treasures.bld $(DESTDIR)$(pkgdatadir)/treasures |
| 560 |
|
|
|
| 561 |
|
|
# Uninstall unchanged config/var files so make distcheck is happy |
| 562 |
|
|
# but leave changed file, so no configuration/game state is lost |
| 563 |
|
|
uninstall-local: |
| 564 |
|
|
-for i in $(CONF_FILES); do \ |
| 565 |
|
|
if test ! -f $(DESTDIR)$(pkgconfdir)/$$i ; then \ |
| 566 |
|
|
continue ; \ |
| 567 |
|
|
fi ; \ |
| 568 |
|
|
if diff -q $(srcdir)/$$i $(DESTDIR)$(pkgconfdir)/$$i ; then \ |
| 569 |
|
|
rm -f $(DESTDIR)$(pkgconfdir)/$$i ; \ |
| 570 |
|
|
fi ; \ |
| 571 |
|
|
done |
| 572 |
|
|
-for i in $(VAR_FILES) ; do \ |
| 573 |
|
|
if test ! -f $(DESTDIR)$(pkgstatedir)/$$i ; then \ |
| 574 |
|
|
continue ;\ |
| 575 |
|
|
fi ; \ |
| 576 |
|
|
if test `wc -c $(DESTDIR)$(pkgstatedir)/$$i|$(AWK) '{ print $$1 }'` -eq "0" ; then \ |
| 577 |
|
|
rm -f $(DESTDIR)$(pkgstatedir)/$$i ; \ |
| 578 |
|
|
fi ; \ |
| 579 |
|
|
done |
| 580 |
|
|
|
| 581 |
|
|
# This block makes the archive of the arch directory. |
| 582 |
|
|
archive:: |
| 583 |
|
|
$(AMTAR) -cvh --exclude=dev --exclude=CVS -f $(PACKAGE)-$(VERSION)-arch.tar arch |
| 584 |
|
|
$(GZIP) -cv9 $(PACKAGE)-$(VERSION)-arch.tar > ../$(PACKAGE)-$(VERSION)-arch.tar.gz |
| 585 |
|
|
$(BZIP) -cv --repetitive-best $(PACKAGE)-$(VERSION)-arch.tar > ../$(PACKAGE)-$(VERSION)-arch.tar.bz2 |
| 586 |
|
|
$(RM) $(PACKAGE)-$(VERSION)-arch.tar |
| 587 |
|
|
|
| 588 |
|
|
libArch: |
| 589 |
|
|
tar cvf A`perl puredate.pl`.tar arch treasures |
| 590 |
|
|
gzip A`perl puredate.pl`.tar |
| 591 |
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables. |
| 592 |
|
|
# Otherwise a system limit (for SysV at least) may be exceeded. |
| 593 |
|
|
.NOEXPORT: |