Makefile.in 20.8 KB
Newer Older
1
# Makefile.in generated by automake 1.10.1 from Makefile.am.
eg's avatar
eg committed
2 3
# @configure_input@

4
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
# 2003, 2004, 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
eg's avatar
eg committed
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.

@SET_MAKE@

# Makefile.am for STklos
#
#           Author: Erick Gallesio [eg@unice.fr]
#    Creation date: 11-Apr-2000 10:30 (eg)
21
# Last file update:  3-May-2008 19:58 (eg)
eg's avatar
eg committed
22 23 24 25 26 27 28 29 30
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
31
transform = $(program_transform_name)
eg's avatar
eg committed
32 33 34 35 36 37
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
38 39 40 41 42 43 44 45 46 47 48
subdir = .
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
	$(srcdir)/Makefile.in $(top_srcdir)/configure \
	$(top_srcdir)/doc/skb/stklos-version.stk.in AUTHORS COPYING \
	ChangeLog INSTALL NEWS TODO config.guess config.sub depcomp \
	install-sh ltmain.sh missing mkinstalldirs
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/configure.in
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
	$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
Erick Gallesio's avatar
Erick Gallesio committed
49
 configure.lineno config.status.lineno
50 51 52 53 54 55 56
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/src/stklosconf.h
CONFIG_CLEAN_FILES = doc/skb/stklos-version.stk
SOURCES =
DIST_SOURCES =
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
	html-recursive info-recursive install-data-recursive \
Erick Gallesio's avatar
Erick Gallesio committed
57 58 59 60 61 62 63
	install-dvi-recursive install-exec-recursive \
	install-html-recursive install-info-recursive \
	install-pdf-recursive install-ps-recursive install-recursive \
	installcheck-recursive installdirs-recursive pdf-recursive \
	ps-recursive uninstall-recursive
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
  distclean-recursive maintainer-clean-recursive
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
ETAGS = etags
CTAGS = ctags
DIST_SUBDIRS = $(SUBDIRS)
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
  { test ! -d $(distdir) \
    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
         && rm -fr $(distdir); }; }
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = --best
distuninstallcheck_listfiles = find . -type f -print
distcleancheck_listfiles = find . -type f -print
ACLOCAL = @ACLOCAL@
eg's avatar
eg committed
79
AMTAR = @AMTAR@
80 81 82
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
eg's avatar
eg committed
83 84 85
AWK = @AWK@
BUILD_ARCH = @BUILD_ARCH@
BUILD_OS = @BUILD_OS@
separdau's avatar
separdau committed
86
CALLCC_STK = @CALLCC_STK@
eg's avatar
eg committed
87
CC = @CC@
88 89
CCDEPMODE = @CCDEPMODE@
CFLAGS = @CFLAGS@
eg's avatar
eg committed
90 91
COMPOBJ = @COMPOBJ@
COMPSRC = @COMPSRC@
92 93 94 95
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
DEFS = @DEFS@
eg's avatar
eg committed
96 97
DEF_PCRE = @DEF_PCRE@
DEPDIR = @DEPDIR@
98 99 100 101
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
EGREP = @EGREP@
eg's avatar
eg committed
102 103
EXAMPLES = @EXAMPLES@
EXECDIR = @EXECDIR@
104
EXEEXT = @EXEEXT@
eg's avatar
eg committed
105
GC = @GC@
106
GCINC = @GCINC@
eg's avatar
eg committed
107 108 109 110 111
GCLIB = @GCLIB@
GMP = @GMP@
GMPINC = @GMPINC@
GMPLIB = @GMPLIB@
GNOME_CONFIG = @GNOME_CONFIG@
112
GREP = @GREP@
eg's avatar
eg committed
113 114 115 116 117
GTKLOS = @GTKLOS@
GTK_CONFIG = @GTK_CONFIG@
GTK_CONFIG_CFLAGS = @GTK_CONFIG_CFLAGS@
GTK_CONFIG_LIBS = @GTK_CONFIG_LIBS@
HAVE_DLOPEN = @HAVE_DLOPEN@
118
HAVE_FFI = @HAVE_FFI@
eg's avatar
eg committed
119 120
HAVE_GNOME = @HAVE_GNOME@
HAVE_LDAP = @HAVE_LDAP@
Erick Gallesio's avatar
Erick Gallesio committed
121
INSTALL = @INSTALL@
122 123 124
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
eg's avatar
eg committed
125 126
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
LDAP_LIB = @LDAP_LIB@
127
LDFLAGS = @LDFLAGS@
128
LIBFFI = @LIBFFI@
129 130 131
LIBOBJS = @LIBOBJS@
LIBS = @LIBS@
LTLIBOBJS = @LTLIBOBJS@
132
LURCDIR = @LURCDIR@
133
MAKEINFO = @MAKEINFO@
Erick Gallesio's avatar
Erick Gallesio committed
134
MKDIR_P = @MKDIR_P@
135
OBJEXT = @OBJEXT@
eg's avatar
eg committed
136 137 138
OS_FLAVOUR = @OS_FLAVOUR@
OS_NAME = @OS_NAME@
PACKAGE = @PACKAGE@
139 140 141 142 143 144
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_VERSION = @PACKAGE_VERSION@
PATH_SEPARATOR = @PATH_SEPARATOR@
eg's avatar
eg committed
145 146 147 148 149 150 151
PCRE = @PCRE@
PCREINC = @PCREINC@
PCRELIB = @PCRELIB@
PCRETARGET = @PCRETARGET@
PREFIX = @PREFIX@
RANLIB = @RANLIB@
SCMDIR = @SCMDIR@
152 153
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
eg's avatar
eg committed
154 155 156 157 158 159
SH_COMP_FLAGS = @SH_COMP_FLAGS@
SH_LOADER = @SH_LOADER@
SH_LOAD_FLAGS = @SH_LOAD_FLAGS@
SH_MAIN_LOAD_FLAGS = @SH_MAIN_LOAD_FLAGS@
SH_SUFFIX = @SH_SUFFIX@
STACK_DIRECTION = @STACK_DIRECTION@
160
STKCFLAGS = @STKCFLAGS@
eg's avatar
eg committed
161 162
STRIP = @STRIP@
SVN_URL = @SVN_URL@/STklos
163
THREADS = @THREADS@
eg's avatar
eg committed
164
VERSION = @VERSION@
Erick Gallesio's avatar
Erick Gallesio committed
165 166 167 168
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
169
ac_ct_CC = @ac_ct_CC@
eg's avatar
eg committed
170
am__include = @am__include@
171
am__leading_dot = @am__leading_dot@
eg's avatar
eg committed
172
am__quote = @am__quote@
173 174 175 176
am__tar = @am__tar@
am__untar = @am__untar@
bindir = @bindir@
build_alias = @build_alias@
Erick Gallesio's avatar
Erick Gallesio committed
177
builddir = @builddir@
178 179 180 181 182 183 184 185 186
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
exec_prefix = @exec_prefix@
host_alias = @host_alias@
htmldir = @htmldir@
includedir = @includedir@
infodir = @infodir@
eg's avatar
eg committed
187
install_sh = @install_sh@
188 189 190 191 192 193 194 195 196 197 198 199 200
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
Erick Gallesio's avatar
Erick Gallesio committed
201
srcdir = @srcdir@
202 203
sysconfdir = @sysconfdir@
target_alias = @target_alias@
Erick Gallesio's avatar
Erick Gallesio committed
204 205
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
eg's avatar
eg committed
206
EXTRA_DIST = 
207
SUBDIRS = @PCRE@ @GC@ @GMP@ @LIBFFI@ src utils lib @GTKLOS@ \
208
	        @EXAMPLES@ pkgman extensions tests doc
eg's avatar
eg committed
209 210 211 212 213 214

VERSION_TAG = @PACKAGE@-@VERSION@
VERSION_BETA = $(VERSION_TAG)-beta
all: all-recursive

.SUFFIXES:
215 216 217 218 219 220 221 222 223 224 225 226 227
am--refresh:
	@:
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
	@for dep in $?; do \
	  case '$(am__configure_deps)' in \
	    *$$dep*) \
	      echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
	      cd $(srcdir) && $(AUTOMAKE) --gnu  \
		&& exit 0; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \
eg's avatar
eg committed
228 229
	cd $(top_srcdir) && \
	  $(AUTOMAKE) --gnu  Makefile
230 231 232 233 234 235 236 237 238 239 240 241
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	@case '$?' in \
	  *config.status*) \
	    echo ' $(SHELL) ./config.status'; \
	    $(SHELL) ./config.status;; \
	  *) \
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
	esac;

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
eg's avatar
eg committed
242 243
	$(SHELL) ./config.status --recheck

244 245 246
$(top_srcdir)/configure:  $(am__configure_deps)
	cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
eg's avatar
eg committed
247 248 249 250 251 252 253 254 255 256 257
	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
doc/skb/stklos-version.stk: $(top_builddir)/config.status $(top_srcdir)/doc/skb/stklos-version.stk.in
	cd $(top_builddir) && $(SHELL) ./config.status $@

# This directory's subdirectories are mostly independent; you can cd
# into them and run `make' without going through this Makefile.
# To change the values of `make' variables: instead of editing Makefiles,
# (1) if the variable is set in `config.status', edit `config.status'
#     (which will cause the Makefiles to be regenerated when you run `make');
# (2) otherwise, pass the desired values on the `make' command line.
$(RECURSIVE_TARGETS):
258 259 260 261 262 263 264
	@failcom='exit 1'; \
	for f in x $$MAKEFLAGS; do \
	  case $$f in \
	    *=* | --[!k]*);; \
	    *k*) failcom='fail=yes';; \
	  esac; \
	done; \
eg's avatar
eg committed
265 266 267 268 269 270 271 272 273 274 275
	dot_seen=no; \
	target=`echo $@ | sed s/-recursive//`; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  echo "Making $$target in $$subdir"; \
	  if test "$$subdir" = "."; then \
	    dot_seen=yes; \
	    local_target="$$target-am"; \
	  else \
	    local_target="$$target"; \
	  fi; \
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
276
	  || eval $$failcom; \
eg's avatar
eg committed
277 278 279 280 281
	done; \
	if test "$$dot_seen" = "no"; then \
	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
	fi; test -z "$$fail"

Erick Gallesio's avatar
Erick Gallesio committed
282
$(RECURSIVE_CLEAN_TARGETS):
283 284 285 286 287 288 289
	@failcom='exit 1'; \
	for f in x $$MAKEFLAGS; do \
	  case $$f in \
	    *=* | --[!k]*);; \
	    *k*) failcom='fail=yes';; \
	  esac; \
	done; \
eg's avatar
eg committed
290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309
	dot_seen=no; \
	case "$@" in \
	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
	  *) list='$(SUBDIRS)' ;; \
	esac; \
	rev=''; for subdir in $$list; do \
	  if test "$$subdir" = "."; then :; else \
	    rev="$$subdir $$rev"; \
	  fi; \
	done; \
	rev="$$rev ."; \
	target=`echo $@ | sed s/-recursive//`; \
	for subdir in $$rev; do \
	  echo "Making $$target in $$subdir"; \
	  if test "$$subdir" = "."; then \
	    local_target="$$target-am"; \
	  else \
	    local_target="$$target"; \
	  fi; \
	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
310
	  || eval $$failcom; \
eg's avatar
eg committed
311 312 313 314 315
	done && test -z "$$fail"
tags-recursive:
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
	done
316 317 318 319
ctags-recursive:
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
	done
eg's avatar
eg committed
320 321 322 323 324 325

ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
	list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
326 327
	  $(AWK) '{ files[$$0] = 1; nonemtpy = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
eg's avatar
eg committed
328
	mkid -fID $$unique
329
tags: TAGS
eg's avatar
eg committed
330 331 332 333 334

TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	here=`pwd`; \
335 336 337 338 339 340 341
	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
	  include_option=--etags-include; \
	  empty_fix=.; \
	else \
	  include_option=--include; \
	  empty_fix=; \
	fi; \
eg's avatar
eg committed
342 343
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  if test "$$subdir" = .; then :; else \
344 345
	    test ! -f $$subdir/TAGS || \
	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
eg's avatar
eg committed
346 347 348 349 350 351
	  fi; \
	done; \
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
352 353
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
354 355 356 357 358 359 360 361 362 363 364 365 366
	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
	  test -n "$$unique" || unique=$$empty_fix; \
	  $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
	    $$tags $$unique; \
	fi
ctags: CTAGS
CTAGS: ctags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
	unique=`for i in $$list; do \
	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
	  done | \
367 368
	  $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
	      END { if (nonempty) { for (i in files) print i; }; }'`; \
369 370
	test -z "$(CTAGS_ARGS)$$tags$$unique" \
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
eg's avatar
eg committed
371 372 373 374 375 376 377 378
	     $$tags $$unique

GTAGS:
	here=`$(am__cd) $(top_builddir) && pwd` \
	  && cd $(top_srcdir) \
	  && gtags -i $(GTAGS_ARGS) $$here

distclean-tags:
379
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
eg's avatar
eg committed
380 381 382

distdir: $(DISTFILES)
	$(am__remove_distdir)
Erick Gallesio's avatar
Erick Gallesio committed
383 384 385 386 387 388 389 390 391 392 393 394 395
	test -d $(distdir) || mkdir $(distdir)
	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
	list='$(DISTFILES)'; \
	  dist_files=`for file in $$list; do echo $$file; done | \
	  sed -e "s|^$$srcdirstrip/||;t" \
	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
	case $$dist_files in \
	  */*) $(MKDIR_P) `echo "$$dist_files" | \
			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
			   sort -u` ;; \
	esac; \
	for file in $$dist_files; do \
eg's avatar
eg committed
396 397
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  if test -d $$d/$$file; then \
Erick Gallesio's avatar
Erick Gallesio committed
398
	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
eg's avatar
eg committed
399 400 401 402 403 404 405 406 407 408
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
	    fi; \
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
	  else \
	    test -f $(distdir)/$$file \
	    || cp -p $$d/$$file $(distdir)/$$file \
	    || exit 1; \
	  fi; \
	done
409
	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
eg's avatar
eg committed
410
	  if test "$$subdir" = .; then :; else \
411
	    test -d "$(distdir)/$$subdir" \
Erick Gallesio's avatar
Erick Gallesio committed
412
	    || $(MKDIR_P) "$(distdir)/$$subdir" \
eg's avatar
eg committed
413
	    || exit 1; \
414 415
	    distdir=`$(am__cd) $(distdir) && pwd`; \
	    top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
eg's avatar
eg committed
416 417
	    (cd $$subdir && \
	      $(MAKE) $(AM_MAKEFLAGS) \
418 419
	        top_distdir="$$top_distdir" \
	        distdir="$$distdir/$$subdir" \
Erick Gallesio's avatar
Erick Gallesio committed
420 421
		am__remove_distdir=: \
		am__skip_length_check=: \
eg's avatar
eg committed
422 423 424 425 426 427 428
	        distdir) \
	      || exit 1; \
	  fi; \
	done
	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
Erick Gallesio's avatar
Erick Gallesio committed
429
	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
eg's avatar
eg committed
430 431
	|| chmod -R a+r $(distdir)
dist-gzip: distdir
432 433 434 435 436 437 438
	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
	$(am__remove_distdir)

dist-bzip2: distdir
	tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
	$(am__remove_distdir)

439 440 441 442
dist-lzma: distdir
	tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
	$(am__remove_distdir)

443 444 445 446 447 448 449 450 451 452 453
dist-tarZ: distdir
	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
	$(am__remove_distdir)

dist-shar: distdir
	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
	$(am__remove_distdir)

dist-zip: distdir
	-rm -f $(distdir).zip
	zip -rq $(distdir).zip $(distdir)
eg's avatar
eg committed
454 455 456
	$(am__remove_distdir)

dist dist-all: distdir
457
	tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
eg's avatar
eg committed
458 459 460 461 462 463
	$(am__remove_distdir)

# This target untars the dist file and tries a VPATH configuration.  Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
464 465 466 467 468
	case '$(DIST_ARCHIVES)' in \
	*.tar.gz*) \
	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
	*.tar.bz2*) \
	  bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
469 470
	*.tar.lzma*) \
	  unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
471 472 473 474 475 476 477
	*.tar.Z*) \
	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
	*.shar.gz*) \
	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
	*.zip*) \
	  unzip $(distdir).zip ;;\
	esac
eg's avatar
eg committed
478
	chmod -R a-w $(distdir); chmod a+w $(distdir)
479 480
	mkdir $(distdir)/_build
	mkdir $(distdir)/_inst
eg's avatar
eg committed
481
	chmod a-w $(distdir)
482 483 484 485
	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
	  && cd $(distdir)/_build \
	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
eg's avatar
eg committed
486 487 488 489 490 491 492
	    $(DISTCHECK_CONFIGURE_FLAGS) \
	  && $(MAKE) $(AM_MAKEFLAGS) \
	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
	  && $(MAKE) $(AM_MAKEFLAGS) check \
	  && $(MAKE) $(AM_MAKEFLAGS) install \
	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
493 494 495 496 497 498 499 500 501 502 503 504 505
	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
	        distuninstallcheck \
	  && chmod -R a-w "$$dc_install_base" \
	  && ({ \
	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
	  && rm -rf "$$dc_destdir" \
	  && $(MAKE) $(AM_MAKEFLAGS) dist \
	  && rm -rf $(DIST_ARCHIVES) \
eg's avatar
eg committed
506 507
	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
	$(am__remove_distdir)
508 509
	@(echo "$(distdir) archives ready for distribution: "; \
	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
Erick Gallesio's avatar
Erick Gallesio committed
510
	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
511 512 513 514 515 516 517 518 519
distuninstallcheck:
	@cd $(distuninstallcheck_dir) \
	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
	   || { echo "ERROR: files left after uninstall:" ; \
	        if test -n "$(DESTDIR)"; then \
	          echo "  (check DESTDIR support)"; \
	        fi ; \
	        $(distuninstallcheck_listfiles) ; \
	        exit 1; } >&2
eg's avatar
eg committed
520
distcleancheck: distclean
521
	@if test '$(srcdir)' = . ; then \
eg's avatar
eg committed
522 523 524
	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
	  exit 1 ; \
	fi
525 526
	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
	  || { echo "ERROR: files left in build directory after distclean:" ; \
eg's avatar
eg committed
527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544
	       $(distcleancheck_listfiles) ; \
	       exit 1; } >&2
check-am: all-am
check: check-recursive
all-am: Makefile
installdirs: installdirs-recursive
installdirs-am:
install: install-recursive
install-exec: install-exec-recursive
install-data: install-data-recursive
uninstall: uninstall-recursive

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-recursive
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
545
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
eg's avatar
eg committed
546 547 548 549 550 551 552
	  `test -z '$(STRIP)' || \
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:

distclean-generic:
553
	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
eg's avatar
eg committed
554 555 556 557 558 559 560 561 562 563

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
clean: clean-recursive

clean-am: clean-generic mostlyclean-am

distclean: distclean-recursive
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
564
	-rm -f Makefile
eg's avatar
eg committed
565 566 567 568 569 570
distclean-am: clean-am distclean-generic distclean-tags

dvi: dvi-recursive

dvi-am:

571 572
html: html-recursive

eg's avatar
eg committed
573 574 575 576 577 578
info: info-recursive

info-am:

install-data-am:

Erick Gallesio's avatar
Erick Gallesio committed
579 580
install-dvi: install-dvi-recursive

eg's avatar
eg committed
581 582
install-exec-am:

Erick Gallesio's avatar
Erick Gallesio committed
583 584
install-html: install-html-recursive

eg's avatar
eg committed
585 586 587 588
install-info: install-info-recursive

install-man:

Erick Gallesio's avatar
Erick Gallesio committed
589 590 591 592
install-pdf: install-pdf-recursive

install-ps: install-ps-recursive

eg's avatar
eg committed
593 594 595 596
installcheck-am:

maintainer-clean: maintainer-clean-recursive
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
597 598
	-rm -rf $(top_srcdir)/autom4te.cache
	-rm -f Makefile
eg's avatar
eg committed
599 600 601 602 603 604
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-recursive

mostlyclean-am: mostlyclean-generic

605 606 607 608 609 610 611 612
pdf: pdf-recursive

pdf-am:

ps: ps-recursive

ps-am:

Erick Gallesio's avatar
Erick Gallesio committed
613
uninstall-am:
eg's avatar
eg committed
614

Erick Gallesio's avatar
Erick Gallesio committed
615 616
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
	install-strip
eg's avatar
eg committed
617

Erick Gallesio's avatar
Erick Gallesio committed
618 619 620
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
	all all-am am--refresh check check-am clean clean-generic \
	ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
621
	dist-lzma dist-shar dist-tarZ dist-zip distcheck distclean \
Erick Gallesio's avatar
Erick Gallesio committed
622
	distclean-generic distclean-tags distcleancheck distdir \
623
	distuninstallcheck dvi dvi-am html html-am info info-am \
Erick Gallesio's avatar
Erick Gallesio committed
624 625 626 627
	install install-am install-data install-data-am install-dvi \
	install-dvi-am install-exec install-exec-am install-html \
	install-html-am install-info install-info-am install-man \
	install-pdf install-pdf-am install-ps install-ps-am \
eg's avatar
eg committed
628
	install-strip installcheck installcheck-am installdirs \
629
	installdirs-am maintainer-clean maintainer-clean-generic \
Erick Gallesio's avatar
Erick Gallesio committed
630 631
	mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
	tags-recursive uninstall uninstall-am
eg's avatar
eg committed
632 633 634 635 636


test:
	(cd tests; $(MAKE) test)

637 638 639 640 641 642 643 644
commit-beta:
	eval "expr `cat .beta-number` + 1" > .beta-number
	hg commit -m "Preparing version $(VERSION_BETA)`cat .beta-number`"

commit-version:
	echo 0 > .beta-number	
	hg commit -m "Commit version $(VERSION_TAG)"

eg's avatar
eg committed
645
prep-version:
646
	rm -rf /usr/tmp/$(VERSION_TAG) /usr/tmp/$(VERSION_BETA)* /usr/tmp/beta
eg's avatar
eg committed
647 648 649
	hg clone . /usr/tmp/$(VERSION_TAG)
	rm -rf /usr/tmp/$(VERSION_TAG)/.hg
	hgclonedates `pwd` /usr/tmp/$(VERSION_TAG)
eg's avatar
eg committed
650

651
beta: commit-beta prep-version
652
	(mv /usr/tmp/$(VERSION_TAG) /usr/tmp/$(VERSION_BETA)`cat .beta-number`;  \
653
	 echo "$(VERSION_BETA)`cat .beta-number`" > /usr/tmp/beta ; \
654
	 cd /usr/tmp; tar cvfz `cat beta`.tar.gz `cat beta` )
655
	ls -ls /usr/tmp/$(VERSION_BETA)*.tar.gz
eg's avatar
eg committed
656

657
version: commit-version prep-version
eg's avatar
eg committed
658
	hg tag $(VERSION_TAG)
eg's avatar
.  
eg committed
659 660 661
	( cd /usr/tmp; tar cvfz $(VERSION_TAG).tar.gz $(VERSION_TAG) )
	ls -ls /usr/tmp/$(VERSION_TAG).tar.gz

eg's avatar
eg committed
662 663 664 665 666 667 668 669 670 671 672 673 674
# oldversion: 
# 	svn commit 
# 	svn update
# 	-svn rm  $(SVN_URL)/tags/$(VERSION_TAG) -m ''
# 	svn copy . $(SVN_URL)/tags/$(VERSION_TAG) -m ''
# 	rm -rf /usr/tmp/$(VERSION_TAG)
# 	svn export $(SVN_URL)/tags/$(VERSION_TAG) /usr/tmp/$(VERSION_TAG)
# 	clonedates `pwd` /usr/tmp/$(VERSION_TAG)
# 	( cd /usr/tmp; tar cvfz $(VERSION_TAG).tar.gz $(VERSION_TAG) )
# 	ls -ls /usr/tmp/$(VERSION_TAG).tar.gz
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: