1# Makefile.in generated by automake 1.16.1 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994-2018 Free Software Foundation, Inc.
5
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.am
19#
20# Process this file with automake to produce Makefile.in
21#
22# ---------------------------------------------------------------------------
23# Persistence of Vision Ray Tracer ('POV-Ray') version 3.8.
24# Copyright 1991-2017 Persistence of Vision Raytracer Pty. Ltd.
25#
26# POV-Ray is free software: you can redistribute it and/or modify
27# it under the terms of the GNU Affero General Public License as
28# published by the Free Software Foundation, either version 3 of the
29# License, or (at your option) any later version.
30#
31# POV-Ray 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 Affero General Public License for more details.
35#
36# You should have received a copy of the GNU Affero General Public License
37# along with this program.  If not, see <http://www.gnu.org/licenses/>.
38# ---------------------------------------------------------------------------
39# POV-Ray is based on the popular DKB raytracer version 2.12.
40# DKBTrace was originally written by David K. Buck.
41# DKBTrace Ver 2.0-2.12 were written by David K. Buck & Aaron A. Collins.
42##############################################################################
43
44# Makefile.am for the source distribution of POV-Ray 3.8 for UNIX
45# Please report bugs to POV-Ray issue tracker at https://github.com/POV-Ray/povray/issues
46
47
48VPATH = @srcdir@
49am__is_gnu_make = { \
50  if test -z '$(MAKELEVEL)'; then \
51    false; \
52  elif test -n '$(MAKE_HOST)'; then \
53    true; \
54  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
55    true; \
56  else \
57    false; \
58  fi; \
59}
60am__make_running_with_option = \
61  case $${target_option-} in \
62      ?) ;; \
63      *) echo "am__make_running_with_option: internal error: invalid" \
64              "target option '$${target_option-}' specified" >&2; \
65         exit 1;; \
66  esac; \
67  has_opt=no; \
68  sane_makeflags=$$MAKEFLAGS; \
69  if $(am__is_gnu_make); then \
70    sane_makeflags=$$MFLAGS; \
71  else \
72    case $$MAKEFLAGS in \
73      *\\[\ \	]*) \
74        bs=\\; \
75        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
76          | sed "s/$$bs$$bs[$$bs $$bs	]*//g"`;; \
77    esac; \
78  fi; \
79  skip_next=no; \
80  strip_trailopt () \
81  { \
82    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
83  }; \
84  for flg in $$sane_makeflags; do \
85    test $$skip_next = yes && { skip_next=no; continue; }; \
86    case $$flg in \
87      *=*|--*) continue;; \
88        -*I) strip_trailopt 'I'; skip_next=yes;; \
89      -*I?*) strip_trailopt 'I';; \
90        -*O) strip_trailopt 'O'; skip_next=yes;; \
91      -*O?*) strip_trailopt 'O';; \
92        -*l) strip_trailopt 'l'; skip_next=yes;; \
93      -*l?*) strip_trailopt 'l';; \
94      -[dEDm]) skip_next=yes;; \
95      -[JT]) skip_next=yes;; \
96    esac; \
97    case $$flg in \
98      *$$target_option*) has_opt=yes; break;; \
99    esac; \
100  done; \
101  test $$has_opt = yes
102am__make_dryrun = (target_option=n; $(am__make_running_with_option))
103am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
104pkgdatadir = $(datadir)/@PACKAGE@
105pkgincludedir = $(includedir)/@PACKAGE@
106pkglibdir = $(libdir)/@PACKAGE@
107pkglibexecdir = $(libexecdir)/@PACKAGE@
108am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
109install_sh_DATA = $(install_sh) -c -m 644
110install_sh_PROGRAM = $(install_sh) -c
111install_sh_SCRIPT = $(install_sh) -c
112INSTALL_HEADER = $(INSTALL_DATA)
113transform = $(program_transform_name)
114NORMAL_INSTALL = :
115PRE_INSTALL = :
116POST_INSTALL = :
117NORMAL_UNINSTALL = :
118PRE_UNINSTALL = :
119POST_UNINSTALL = :
120build_triplet = @build@
121host_triplet = @host@
122subdir = .
123ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
124am__aclocal_m4_deps = $(top_srcdir)/VERSION \
125	$(top_srcdir)/unix/config/ax_require_defined.m4 \
126	$(top_srcdir)/unix/config/ax_pthread.m4 \
127	$(top_srcdir)/unix/config/ax_arg_enable.m4 \
128	$(top_srcdir)/unix/config/ax_arg_with.m4 \
129	$(top_srcdir)/unix/config/ax_boost_base.m4 \
130	$(top_srcdir)/unix/config/ax_boost_thread.m4 \
131	$(top_srcdir)/unix/config/ax_test_compiler_flags.m4 \
132	$(top_srcdir)/unix/config/ax_check_compile_flag.m4 \
133	$(top_srcdir)/unix/config/ax_check_lib.m4 \
134	$(top_srcdir)/unix/config/ax_check_libjpeg.m4 \
135	$(top_srcdir)/unix/config/ax_check_libsdl.m4 \
136	$(top_srcdir)/unix/config/ax_check_libtiff.m4 \
137	$(top_srcdir)/unix/config/ax_check_openexr.m4 \
138	$(top_srcdir)/unix/config/ax_compare_version.m4 \
139	$(top_srcdir)/unix/config/ax_compiler_vendor.m4 \
140	$(top_srcdir)/unix/config/ax_compiler_version.m4 \
141	$(top_srcdir)/unix/config/ax_cxx_compile_stdcxx.m4 \
142	$(top_srcdir)/unix/config/ax_fix_incorrect_path.m4 \
143	$(top_srcdir)/unix/config/ax_prog_ld_static.m4 \
144	$(top_srcdir)/unix/config/ax_x86_arch.m4 \
145	$(top_srcdir)/configure.ac
146am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
147	$(ACLOCAL_M4)
148DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \
149	$(am__configure_deps) $(dist_povconf_DATA) $(am__DIST_COMMON)
150am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
151 configure.lineno config.status.lineno
152mkinstalldirs = $(install_sh) -d
153CONFIG_HEADER = $(top_builddir)/unix/config.h
154CONFIG_CLEAN_VPATH_FILES =
155am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
156am__vpath_adj = case $$p in \
157    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
158    *) f=$$p;; \
159  esac;
160am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
161am__install_max = 40
162am__nobase_strip_setup = \
163  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
164am__nobase_strip = \
165  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
166am__nobase_list = $(am__nobase_strip_setup); \
167  for p in $$list; do echo "$$p $$p"; done | \
168  sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
169  $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
170    if (++n[$$2] == $(am__install_max)) \
171      { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
172    END { for (dir in files) print dir, files[dir] }'
173am__base_list = \
174  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
175  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
176am__uninstall_files_from_dir = { \
177  test -z "$$files" \
178    || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
179    || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
180         $(am__cd) "$$dir" && rm -f $$files; }; \
181  }
182am__installdirs = "$(DESTDIR)$(povlibdir)" "$(DESTDIR)$(man1dir)" \
183	"$(DESTDIR)$(povconfdir)" "$(DESTDIR)$(povconfdir)" \
184	"$(DESTDIR)$(povdocdir)"
185SCRIPTS = $(nobase_povlib_SCRIPTS)
186AM_V_P = $(am__v_P_@AM_V@)
187am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
188am__v_P_0 = false
189am__v_P_1 = :
190AM_V_GEN = $(am__v_GEN_@AM_V@)
191am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
192am__v_GEN_0 = @echo "  GEN     " $@;
193am__v_GEN_1 =
194AM_V_at = $(am__v_at_@AM_V@)
195am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
196am__v_at_0 = @
197am__v_at_1 =
198SOURCES =
199DIST_SOURCES =
200RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
201	ctags-recursive dvi-recursive html-recursive info-recursive \
202	install-data-recursive install-dvi-recursive \
203	install-exec-recursive install-html-recursive \
204	install-info-recursive install-pdf-recursive \
205	install-ps-recursive install-recursive installcheck-recursive \
206	installdirs-recursive pdf-recursive ps-recursive \
207	tags-recursive uninstall-recursive
208am__can_run_installinfo = \
209  case $$AM_UPDATE_INFO_DIR in \
210    n|no|NO) false;; \
211    *) (install-info --version) >/dev/null 2>&1;; \
212  esac
213man1dir = $(mandir)/man1
214NROFF = nroff
215MANS = $(dist_man_MANS)
216DATA = $(dist_povconf_DATA) $(povconf_DATA) $(povdoc_DATA)
217RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive	\
218  distclean-recursive maintainer-clean-recursive
219am__recursive_targets = \
220  $(RECURSIVE_TARGETS) \
221  $(RECURSIVE_CLEAN_TARGETS) \
222  $(am__extra_recursive_targets)
223AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \
224	cscope distdir distdir-am dist dist-all distcheck
225am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
226# Read a list of newline-separated strings from the standard input,
227# and print each of them once, without duplicates.  Input order is
228# *not* preserved.
229am__uniquify_input = $(AWK) '\
230  BEGIN { nonempty = 0; } \
231  { items[$$0] = 1; nonempty = 1; } \
232  END { if (nonempty) { for (i in items) print i; }; } \
233'
234# Make sure the list of sources is unique.  This is necessary because,
235# e.g., the same source file might be shared among _SOURCES variables
236# for different programs/libraries.
237am__define_uniq_tagged_files = \
238  list='$(am__tagged_files)'; \
239  unique=`for i in $$list; do \
240    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
241  done | $(am__uniquify_input)`
242ETAGS = etags
243CTAGS = ctags
244CSCOPE = cscope
245DIST_SUBDIRS = $(SUBDIRS)
246am__DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.in \
247	$(top_srcdir)/unix/config/ar-lib \
248	$(top_srcdir)/unix/config/compile \
249	$(top_srcdir)/unix/config/config.guess \
250	$(top_srcdir)/unix/config/config.sub \
251	$(top_srcdir)/unix/config/install-sh \
252	$(top_srcdir)/unix/config/missing AUTHORS COPYING ChangeLog \
253	INSTALL NEWS README unix/config/ar-lib unix/config/compile \
254	unix/config/config.guess unix/config/config.sub \
255	unix/config/install-sh unix/config/missing
256DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
257distdir = $(PACKAGE)-$(VERSION)
258top_distdir = $(distdir)
259am__remove_distdir = \
260  if test -d "$(distdir)"; then \
261    find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
262      && rm -rf "$(distdir)" \
263      || { sleep 5 && rm -rf "$(distdir)"; }; \
264  else :; fi
265am__post_remove_distdir = $(am__remove_distdir)
266am__relativize = \
267  dir0=`pwd`; \
268  sed_first='s,^\([^/]*\)/.*$$,\1,'; \
269  sed_rest='s,^[^/]*/*,,'; \
270  sed_last='s,^.*/\([^/]*\)$$,\1,'; \
271  sed_butlast='s,/*[^/]*$$,,'; \
272  while test -n "$$dir1"; do \
273    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
274    if test "$$first" != "."; then \
275      if test "$$first" = ".."; then \
276        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
277        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
278      else \
279        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
280        if test "$$first2" = "$$first"; then \
281          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
282        else \
283          dir2="../$$dir2"; \
284        fi; \
285        dir0="$$dir0"/"$$first"; \
286      fi; \
287    fi; \
288    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
289  done; \
290  reldir="$$dir2"
291DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2
292GZIP_ENV = --best
293DIST_TARGETS = dist-bzip2 dist-gzip
294distuninstallcheck_listfiles = find . -type f -print
295am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
296  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
297distcleancheck_listfiles = find . -type f -print
298ACLOCAL = @ACLOCAL@
299AMTAR = @AMTAR@
300AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
301AR = @AR@
302AUTOCONF = @AUTOCONF@
303AUTOHEADER = @AUTOHEADER@
304AUTOMAKE = @AUTOMAKE@
305AWK = @AWK@
306BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
307BOOST_LDFLAGS = @BOOST_LDFLAGS@
308BOOST_THREAD_LIB = @BOOST_THREAD_LIB@
309C99_COMPATIBLE_RADIOSITY = @C99_COMPATIBLE_RADIOSITY@
310CC = @CC@
311CCDEPMODE = @CCDEPMODE@
312CFLAGS = @CFLAGS@
313COMPILED_BY = @COMPILED_BY@
314CPLUS_INCLUDE_PATH = @CPLUS_INCLUDE_PATH@
315CPP = @CPP@
316CPPFLAGS = @CPPFLAGS@
317CXX = @CXX@
318CXXCPP = @CXXCPP@
319CXXDEPMODE = @CXXDEPMODE@
320CXXFLAGS = @CXXFLAGS@
321CYGPATH_W = @CYGPATH_W@
322C_INCLUDE_PATH = @C_INCLUDE_PATH@
323DEFS = @DEFS@
324DEPDIR = @DEPDIR@
325ECHO_C = @ECHO_C@
326ECHO_N = @ECHO_N@
327ECHO_T = @ECHO_T@
328EGREP = @EGREP@
329EXEEXT = @EXEEXT@
330GREP = @GREP@
331HAVE_CXX11 = @HAVE_CXX11@
332INSTALL = @INSTALL@
333INSTALL_DATA = @INSTALL_DATA@
334INSTALL_PROGRAM = @INSTALL_PROGRAM@
335INSTALL_SCRIPT = @INSTALL_SCRIPT@
336INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
337LDFLAGS = @LDFLAGS@
338LIBOBJS = @LIBOBJS@
339LIBS = @LIBS@
340LTLIBOBJS = @LTLIBOBJS@
341MAINT = @MAINT@
342MAKEINFO = @MAKEINFO@
343MKDIR_P = @MKDIR_P@
344NON_REDISTRIBUTABLE_BUILD = @NON_REDISTRIBUTABLE_BUILD@
345OBJEXT = @OBJEXT@
346PACKAGE = @PACKAGE@
347PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
348PACKAGE_NAME = @PACKAGE_NAME@
349PACKAGE_STRING = @PACKAGE_STRING@
350PACKAGE_TARNAME = @PACKAGE_TARNAME@
351PACKAGE_URL = @PACKAGE_URL@
352PACKAGE_VERSION = @PACKAGE_VERSION@
353PATH_SEPARATOR = @PATH_SEPARATOR@
354PKGCONFIG = @PKGCONFIG@
355PTHREAD_CC = @PTHREAD_CC@
356PTHREAD_CFLAGS = @PTHREAD_CFLAGS@
357PTHREAD_LIBS = @PTHREAD_LIBS@
358RANLIB = @RANLIB@
359SDLCONFIG = @SDLCONFIG@
360SED = @SED@
361SET_MAKE = @SET_MAKE@
362SHELL = @SHELL@
363STRIP = @STRIP@
364VERSION = @VERSION@
365VERSION_BASE = @VERSION_BASE@
366XMKMF = @XMKMF@
367X_CFLAGS = @X_CFLAGS@
368X_EXTRA_LIBS = @X_EXTRA_LIBS@
369X_LIBS = @X_LIBS@
370X_PRE_LIBS = @X_PRE_LIBS@
371abs_builddir = @abs_builddir@
372abs_srcdir = @abs_srcdir@
373abs_top_builddir = @abs_top_builddir@
374abs_top_srcdir = @abs_top_srcdir@
375ac_ct_AR = @ac_ct_AR@
376ac_ct_CC = @ac_ct_CC@
377ac_ct_CXX = @ac_ct_CXX@
378am__include = @am__include@
379am__leading_dot = @am__leading_dot@
380am__quote = @am__quote@
381am__tar = @am__tar@
382am__untar = @am__untar@
383ax_pthread_config = @ax_pthread_config@
384bindir = @bindir@
385build = @build@
386build_alias = @build_alias@
387build_cpu = @build_cpu@
388build_os = @build_os@
389build_vendor = @build_vendor@
390builddir = @builddir@
391datadir = @datadir@
392datarootdir = @datarootdir@
393docdir = @docdir@
394dvidir = @dvidir@
395exec_prefix = @exec_prefix@
396host = @host@
397host_alias = @host_alias@
398host_cpu = @host_cpu@
399host_os = @host_os@
400host_vendor = @host_vendor@
401htmldir = @htmldir@
402includedir = @includedir@
403infodir = @infodir@
404install_sh = @install_sh@
405libdir = @libdir@
406libexecdir = @libexecdir@
407localedir = @localedir@
408localstatedir = @localstatedir@
409mandir = @mandir@
410mkdir_p = @mkdir_p@
411oldincludedir = @oldincludedir@
412pdfdir = @pdfdir@
413povgroup = @povgroup@
414povowner = @povowner@
415prefix = @prefix@
416program_transform_name = @program_transform_name@
417psdir = @psdir@
418runstatedir = @runstatedir@
419sbindir = @sbindir@
420sharedstatedir = @sharedstatedir@
421srcdir = @srcdir@
422sysconfdir = @sysconfdir@
423target_alias = @target_alias@
424top_build_prefix = @top_build_prefix@
425top_builddir = @top_builddir@
426top_srcdir = @top_srcdir@
427
428# Directories.
429povlibdir = @datadir@/@PACKAGE@-@VERSION_BASE@
430povdocdir = @datadir@/doc/@PACKAGE@-@VERSION_BASE@
431povconfdir = @sysconfdir@/@PACKAGE@/@VERSION_BASE@
432povuser = $(HOME)/.@PACKAGE@
433povconfuser = $(povuser)/@VERSION_BASE@
434povinstall = $(top_builddir)/install.log
435
436# Directories to build.
437SUBDIRS = source vfe platform unix
438
439# Additional files to distribute.
440EXTRA_DIST = \
441  bootstrap kde_install.sh \
442  doc icons include ini scenes scripts \
443  povray.ini.in changes.txt revision.txt
444
445
446# Additional files to clean with 'make distclean'.
447DISTCLEANFILES = $(top_builddir)/povray.ini
448CONFIG_CLEAN_FILES =
449
450# Install scripts in povlibdir.
451nobase_povlib_SCRIPTS = scripts/render_anim.sh scripts/rerunpov.sh scripts/allanim.sh scripts/portfolio.sh scripts/render_scene.sh scripts/allscene.sh scripts/runpov.sh
452
453# Install documentation in povdocdir.
454povdoc_DATA = AUTHORS ChangeLog NEWS
455
456# Install configuration and INI files in povconfdir.
457dist_povconf_DATA = povray.conf
458povconf_DATA = povray.ini
459
460# Install man page.
461dist_man_MANS = povray.1
462all: all-recursive
463
464.SUFFIXES:
465am--refresh: Makefile
466	@:
467$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
468	@for dep in $?; do \
469	  case '$(am__configure_deps)' in \
470	    *$$dep*) \
471	      echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
472	      $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
473		&& exit 0; \
474	      exit 1;; \
475	  esac; \
476	done; \
477	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
478	$(am__cd) $(top_srcdir) && \
479	  $(AUTOMAKE) --gnu Makefile
480Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
481	@case '$?' in \
482	  *config.status*) \
483	    echo ' $(SHELL) ./config.status'; \
484	    $(SHELL) ./config.status;; \
485	  *) \
486	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles)'; \
487	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__maybe_remake_depfiles);; \
488	esac;
489
490$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
491	$(SHELL) ./config.status --recheck
492
493$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
494	$(am__cd) $(srcdir) && $(AUTOCONF)
495$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
496	$(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
497$(am__aclocal_m4_deps):
498install-nobase_povlibSCRIPTS: $(nobase_povlib_SCRIPTS)
499	@$(NORMAL_INSTALL)
500	@list='$(nobase_povlib_SCRIPTS)'; test -n "$(povlibdir)" || list=; \
501	if test -n "$$list"; then \
502	  echo " $(MKDIR_P) '$(DESTDIR)$(povlibdir)'"; \
503	  $(MKDIR_P) "$(DESTDIR)$(povlibdir)" || exit 1; \
504	fi; \
505	$(am__nobase_strip_setup); \
506	for p in $$list; do \
507	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
508	  if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
509	done | \
510	sed -e 'p;s,.*/,,;n' \
511	    -e "s|$$srcdirstrip/||" -e 'h;s|[^/]*$$||; s|^$$|.|' \
512	    -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
513	$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
514	  { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
515	    if ($$2 == $$4) { files[d] = files[d] " " $$1; \
516	      if (++n[d] == $(am__install_max)) { \
517		print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
518	    else { print "f", d "/" $$4, $$1 } } \
519	  END { for (d in files) print "f", d, files[d] }' | \
520	while read type dir files; do \
521	  case $$type in \
522	  d) echo " $(MKDIR_P) '$(DESTDIR)$(povlibdir)/$$dir'"; \
523	     $(MKDIR_P) "$(DESTDIR)$(povlibdir)/$$dir" || exit $$?;; \
524	  f) \
525	     if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
526	     test -z "$$files" || { \
527	       echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(povlibdir)$$dir'"; \
528	       $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(povlibdir)$$dir" || exit $$?; \
529	     } \
530	  ;; esac \
531	; done
532
533uninstall-nobase_povlibSCRIPTS:
534	@$(NORMAL_UNINSTALL)
535	@list='$(nobase_povlib_SCRIPTS)'; test -n "$(povlibdir)" || exit 0; \
536	$(am__nobase_strip_setup); \
537	files=`$(am__nobase_strip) \
538	       -e 'h;s,.*/,,;$(transform);x;s|[^/]*$$||;G;s,\n,,'`; \
539	dir='$(DESTDIR)$(povlibdir)'; $(am__uninstall_files_from_dir)
540install-man1: $(dist_man_MANS)
541	@$(NORMAL_INSTALL)
542	@list1=''; \
543	list2='$(dist_man_MANS)'; \
544	test -n "$(man1dir)" \
545	  && test -n "`echo $$list1$$list2`" \
546	  || exit 0; \
547	echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \
548	$(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \
549	{ for i in $$list1; do echo "$$i"; done;  \
550	if test -n "$$list2"; then \
551	  for i in $$list2; do echo "$$i"; done \
552	    | sed -n '/\.1[a-z]*$$/p'; \
553	fi; \
554	} | while read p; do \
555	  if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
556	  echo "$$d$$p"; echo "$$p"; \
557	done | \
558	sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
559	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
560	sed 'N;N;s,\n, ,g' | { \
561	list=; while read file base inst; do \
562	  if test "$$base" = "$$inst"; then list="$$list $$file"; else \
563	    echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
564	    $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
565	  fi; \
566	done; \
567	for i in $$list; do echo "$$i"; done | $(am__base_list) | \
568	while read files; do \
569	  test -z "$$files" || { \
570	    echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
571	    $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
572	done; }
573
574uninstall-man1:
575	@$(NORMAL_UNINSTALL)
576	@list=''; test -n "$(man1dir)" || exit 0; \
577	files=`{ for i in $$list; do echo "$$i"; done; \
578	l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
579	  sed -n '/\.1[a-z]*$$/p'; \
580	} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
581	      -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
582	dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir)
583install-dist_povconfDATA: $(dist_povconf_DATA)
584	@$(NORMAL_INSTALL)
585	@list='$(dist_povconf_DATA)'; test -n "$(povconfdir)" || list=; \
586	if test -n "$$list"; then \
587	  echo " $(MKDIR_P) '$(DESTDIR)$(povconfdir)'"; \
588	  $(MKDIR_P) "$(DESTDIR)$(povconfdir)" || exit 1; \
589	fi; \
590	for p in $$list; do \
591	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
592	  echo "$$d$$p"; \
593	done | $(am__base_list) | \
594	while read files; do \
595	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(povconfdir)'"; \
596	  $(INSTALL_DATA) $$files "$(DESTDIR)$(povconfdir)" || exit $$?; \
597	done
598
599uninstall-dist_povconfDATA:
600	@$(NORMAL_UNINSTALL)
601	@list='$(dist_povconf_DATA)'; test -n "$(povconfdir)" || list=; \
602	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
603	dir='$(DESTDIR)$(povconfdir)'; $(am__uninstall_files_from_dir)
604install-povconfDATA: $(povconf_DATA)
605	@$(NORMAL_INSTALL)
606	@list='$(povconf_DATA)'; test -n "$(povconfdir)" || list=; \
607	if test -n "$$list"; then \
608	  echo " $(MKDIR_P) '$(DESTDIR)$(povconfdir)'"; \
609	  $(MKDIR_P) "$(DESTDIR)$(povconfdir)" || exit 1; \
610	fi; \
611	for p in $$list; do \
612	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
613	  echo "$$d$$p"; \
614	done | $(am__base_list) | \
615	while read files; do \
616	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(povconfdir)'"; \
617	  $(INSTALL_DATA) $$files "$(DESTDIR)$(povconfdir)" || exit $$?; \
618	done
619
620uninstall-povconfDATA:
621	@$(NORMAL_UNINSTALL)
622	@list='$(povconf_DATA)'; test -n "$(povconfdir)" || list=; \
623	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
624	dir='$(DESTDIR)$(povconfdir)'; $(am__uninstall_files_from_dir)
625install-povdocDATA: $(povdoc_DATA)
626	@$(NORMAL_INSTALL)
627	@list='$(povdoc_DATA)'; test -n "$(povdocdir)" || list=; \
628	if test -n "$$list"; then \
629	  echo " $(MKDIR_P) '$(DESTDIR)$(povdocdir)'"; \
630	  $(MKDIR_P) "$(DESTDIR)$(povdocdir)" || exit 1; \
631	fi; \
632	for p in $$list; do \
633	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
634	  echo "$$d$$p"; \
635	done | $(am__base_list) | \
636	while read files; do \
637	  echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(povdocdir)'"; \
638	  $(INSTALL_DATA) $$files "$(DESTDIR)$(povdocdir)" || exit $$?; \
639	done
640
641uninstall-povdocDATA:
642	@$(NORMAL_UNINSTALL)
643	@list='$(povdoc_DATA)'; test -n "$(povdocdir)" || list=; \
644	files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
645	dir='$(DESTDIR)$(povdocdir)'; $(am__uninstall_files_from_dir)
646
647# This directory's subdirectories are mostly independent; you can cd
648# into them and run 'make' without going through this Makefile.
649# To change the values of 'make' variables: instead of editing Makefiles,
650# (1) if the variable is set in 'config.status', edit 'config.status'
651#     (which will cause the Makefiles to be regenerated when you run 'make');
652# (2) otherwise, pass the desired values on the 'make' command line.
653$(am__recursive_targets):
654	@fail=; \
655	if $(am__make_keepgoing); then \
656	  failcom='fail=yes'; \
657	else \
658	  failcom='exit 1'; \
659	fi; \
660	dot_seen=no; \
661	target=`echo $@ | sed s/-recursive//`; \
662	case "$@" in \
663	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
664	  *) list='$(SUBDIRS)' ;; \
665	esac; \
666	for subdir in $$list; do \
667	  echo "Making $$target in $$subdir"; \
668	  if test "$$subdir" = "."; then \
669	    dot_seen=yes; \
670	    local_target="$$target-am"; \
671	  else \
672	    local_target="$$target"; \
673	  fi; \
674	  ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
675	  || eval $$failcom; \
676	done; \
677	if test "$$dot_seen" = "no"; then \
678	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
679	fi; test -z "$$fail"
680
681ID: $(am__tagged_files)
682	$(am__define_uniq_tagged_files); mkid -fID $$unique
683tags: tags-recursive
684TAGS: tags
685
686tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
687	set x; \
688	here=`pwd`; \
689	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
690	  include_option=--etags-include; \
691	  empty_fix=.; \
692	else \
693	  include_option=--include; \
694	  empty_fix=; \
695	fi; \
696	list='$(SUBDIRS)'; for subdir in $$list; do \
697	  if test "$$subdir" = .; then :; else \
698	    test ! -f $$subdir/TAGS || \
699	      set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
700	  fi; \
701	done; \
702	$(am__define_uniq_tagged_files); \
703	shift; \
704	if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
705	  test -n "$$unique" || unique=$$empty_fix; \
706	  if test $$# -gt 0; then \
707	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
708	      "$$@" $$unique; \
709	  else \
710	    $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
711	      $$unique; \
712	  fi; \
713	fi
714ctags: ctags-recursive
715
716CTAGS: ctags
717ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
718	$(am__define_uniq_tagged_files); \
719	test -z "$(CTAGS_ARGS)$$unique" \
720	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
721	     $$unique
722
723GTAGS:
724	here=`$(am__cd) $(top_builddir) && pwd` \
725	  && $(am__cd) $(top_srcdir) \
726	  && gtags -i $(GTAGS_ARGS) "$$here"
727cscope: cscope.files
728	test ! -s cscope.files \
729	  || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS)
730clean-cscope:
731	-rm -f cscope.files
732cscope.files: clean-cscope cscopelist
733cscopelist: cscopelist-recursive
734
735cscopelist-am: $(am__tagged_files)
736	list='$(am__tagged_files)'; \
737	case "$(srcdir)" in \
738	  [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
739	  *) sdir=$(subdir)/$(srcdir) ;; \
740	esac; \
741	for i in $$list; do \
742	  if test -f "$$i"; then \
743	    echo "$(subdir)/$$i"; \
744	  else \
745	    echo "$$sdir/$$i"; \
746	  fi; \
747	done >> $(top_builddir)/cscope.files
748
749distclean-tags:
750	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
751	-rm -f cscope.out cscope.in.out cscope.po.out cscope.files
752
753distdir: $(BUILT_SOURCES)
754	$(MAKE) $(AM_MAKEFLAGS) distdir-am
755
756distdir-am: $(DISTFILES)
757	$(am__remove_distdir)
758	test -d "$(distdir)" || mkdir "$(distdir)"
759	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
760	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
761	list='$(DISTFILES)'; \
762	  dist_files=`for file in $$list; do echo $$file; done | \
763	  sed -e "s|^$$srcdirstrip/||;t" \
764	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
765	case $$dist_files in \
766	  */*) $(MKDIR_P) `echo "$$dist_files" | \
767			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
768			   sort -u` ;; \
769	esac; \
770	for file in $$dist_files; do \
771	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
772	  if test -d $$d/$$file; then \
773	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
774	    if test -d "$(distdir)/$$file"; then \
775	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
776	    fi; \
777	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
778	      cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
779	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
780	    fi; \
781	    cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
782	  else \
783	    test -f "$(distdir)/$$file" \
784	    || cp -p $$d/$$file "$(distdir)/$$file" \
785	    || exit 1; \
786	  fi; \
787	done
788	@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
789	  if test "$$subdir" = .; then :; else \
790	    $(am__make_dryrun) \
791	      || test -d "$(distdir)/$$subdir" \
792	      || $(MKDIR_P) "$(distdir)/$$subdir" \
793	      || exit 1; \
794	    dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
795	    $(am__relativize); \
796	    new_distdir=$$reldir; \
797	    dir1=$$subdir; dir2="$(top_distdir)"; \
798	    $(am__relativize); \
799	    new_top_distdir=$$reldir; \
800	    echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
801	    echo "     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
802	    ($(am__cd) $$subdir && \
803	      $(MAKE) $(AM_MAKEFLAGS) \
804	        top_distdir="$$new_top_distdir" \
805	        distdir="$$new_distdir" \
806		am__remove_distdir=: \
807		am__skip_length_check=: \
808		am__skip_mode_fix=: \
809	        distdir) \
810	      || exit 1; \
811	  fi; \
812	done
813	$(MAKE) $(AM_MAKEFLAGS) \
814	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
815	  dist-hook
816	-test -n "$(am__skip_mode_fix)" \
817	|| find "$(distdir)" -type d ! -perm -755 \
818		-exec chmod u+rwx,go+rx {} \; -o \
819	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
820	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
821	  ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
822	|| chmod -R a+r "$(distdir)"
823dist-gzip: distdir
824	tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
825	$(am__post_remove_distdir)
826dist-bzip2: distdir
827	tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
828	$(am__post_remove_distdir)
829
830dist-lzip: distdir
831	tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
832	$(am__post_remove_distdir)
833
834dist-xz: distdir
835	tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
836	$(am__post_remove_distdir)
837
838dist-tarZ: distdir
839	@echo WARNING: "Support for distribution archives compressed with" \
840		       "legacy program 'compress' is deprecated." >&2
841	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
842	tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
843	$(am__post_remove_distdir)
844
845dist-shar: distdir
846	@echo WARNING: "Support for shar distribution archives is" \
847	               "deprecated." >&2
848	@echo WARNING: "It will be removed altogether in Automake 2.0" >&2
849	shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
850	$(am__post_remove_distdir)
851
852dist-zip: distdir
853	-rm -f $(distdir).zip
854	zip -rq $(distdir).zip $(distdir)
855	$(am__post_remove_distdir)
856
857dist dist-all:
858	$(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
859	$(am__post_remove_distdir)
860
861# This target untars the dist file and tries a VPATH configuration.  Then
862# it guarantees that the distribution is self-contained by making another
863# tarfile.
864distcheck: dist
865	case '$(DIST_ARCHIVES)' in \
866	*.tar.gz*) \
867	  eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
868	*.tar.bz2*) \
869	  bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
870	*.tar.lz*) \
871	  lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
872	*.tar.xz*) \
873	  xz -dc $(distdir).tar.xz | $(am__untar) ;;\
874	*.tar.Z*) \
875	  uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
876	*.shar.gz*) \
877	  eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
878	*.zip*) \
879	  unzip $(distdir).zip ;;\
880	esac
881	chmod -R a-w $(distdir)
882	chmod u+w $(distdir)
883	mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst
884	chmod a-w $(distdir)
885	test -d $(distdir)/_build || exit 0; \
886	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
887	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
888	  && am__cwd=`pwd` \
889	  && $(am__cd) $(distdir)/_build/sub \
890	  && ../../configure \
891	    $(AM_DISTCHECK_CONFIGURE_FLAGS) \
892	    $(DISTCHECK_CONFIGURE_FLAGS) \
893	    --srcdir=../.. --prefix="$$dc_install_base" \
894	  && $(MAKE) $(AM_MAKEFLAGS) \
895	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
896	  && $(MAKE) $(AM_MAKEFLAGS) check \
897	  && $(MAKE) $(AM_MAKEFLAGS) install \
898	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
899	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
900	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
901	        distuninstallcheck \
902	  && chmod -R a-w "$$dc_install_base" \
903	  && ({ \
904	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
905	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
906	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
907	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
908	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
909	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
910	  && rm -rf "$$dc_destdir" \
911	  && $(MAKE) $(AM_MAKEFLAGS) dist \
912	  && rm -rf $(DIST_ARCHIVES) \
913	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
914	  && cd "$$am__cwd" \
915	  || exit 1
916	$(am__post_remove_distdir)
917	@(echo "$(distdir) archives ready for distribution: "; \
918	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
919	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
920distuninstallcheck:
921	@test -n '$(distuninstallcheck_dir)' || { \
922	  echo 'ERROR: trying to run $@ with an empty' \
923	       '$$(distuninstallcheck_dir)' >&2; \
924	  exit 1; \
925	}; \
926	$(am__cd) '$(distuninstallcheck_dir)' || { \
927	  echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
928	  exit 1; \
929	}; \
930	test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
931	   || { echo "ERROR: files left after uninstall:" ; \
932	        if test -n "$(DESTDIR)"; then \
933	          echo "  (check DESTDIR support)"; \
934	        fi ; \
935	        $(distuninstallcheck_listfiles) ; \
936	        exit 1; } >&2
937distcleancheck: distclean
938	@if test '$(srcdir)' = . ; then \
939	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
940	  exit 1 ; \
941	fi
942	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
943	  || { echo "ERROR: files left in build directory after distclean:" ; \
944	       $(distcleancheck_listfiles) ; \
945	       exit 1; } >&2
946check-am: all-am
947check: check-recursive
948all-am: Makefile $(SCRIPTS) $(MANS) $(DATA)
949installdirs: installdirs-recursive
950installdirs-am:
951	for dir in "$(DESTDIR)$(povlibdir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(povconfdir)" "$(DESTDIR)$(povconfdir)" "$(DESTDIR)$(povdocdir)"; do \
952	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
953	done
954install: install-recursive
955install-exec: install-exec-recursive
956install-data: install-data-recursive
957uninstall: uninstall-recursive
958
959install-am: all-am
960	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
961
962installcheck: installcheck-recursive
963install-strip:
964	if test -z '$(STRIP)'; then \
965	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
966	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
967	      install; \
968	else \
969	  $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
970	    install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
971	    "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
972	fi
973mostlyclean-generic:
974
975clean-generic:
976
977distclean-generic:
978	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
979	-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
980	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
981
982maintainer-clean-generic:
983	@echo "This command is intended for maintainers to use"
984	@echo "it deletes files that may require special tools to rebuild."
985clean: clean-recursive
986
987clean-am: clean-generic mostlyclean-am
988
989distclean: distclean-recursive
990	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
991	-rm -f Makefile
992distclean-am: clean-am distclean-generic distclean-tags
993
994dvi: dvi-recursive
995
996dvi-am:
997
998html: html-recursive
999
1000html-am:
1001
1002info: info-recursive
1003
1004info-am:
1005
1006install-data-am: install-data-local install-dist_povconfDATA \
1007	install-man install-nobase_povlibSCRIPTS install-povconfDATA \
1008	install-povdocDATA
1009
1010install-dvi: install-dvi-recursive
1011
1012install-dvi-am:
1013
1014install-exec-am:
1015
1016install-html: install-html-recursive
1017
1018install-html-am:
1019
1020install-info: install-info-recursive
1021
1022install-info-am:
1023
1024install-man: install-man1
1025
1026install-pdf: install-pdf-recursive
1027
1028install-pdf-am:
1029
1030install-ps: install-ps-recursive
1031
1032install-ps-am:
1033
1034installcheck-am:
1035
1036maintainer-clean: maintainer-clean-recursive
1037	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
1038	-rm -rf $(top_srcdir)/autom4te.cache
1039	-rm -f Makefile
1040maintainer-clean-am: distclean-am maintainer-clean-generic
1041
1042mostlyclean: mostlyclean-recursive
1043
1044mostlyclean-am: mostlyclean-generic
1045
1046pdf: pdf-recursive
1047
1048pdf-am:
1049
1050ps: ps-recursive
1051
1052ps-am:
1053
1054uninstall-am: uninstall-dist_povconfDATA uninstall-man \
1055	uninstall-nobase_povlibSCRIPTS uninstall-povconfDATA \
1056	uninstall-povdocDATA
1057	@$(NORMAL_INSTALL)
1058	$(MAKE) $(AM_MAKEFLAGS) uninstall-hook
1059uninstall-man: uninstall-man1
1060
1061.MAKE: $(am__recursive_targets) install-am install-strip uninstall-am
1062
1063.PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \
1064	am--refresh check check-am clean clean-cscope clean-generic \
1065	cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \
1066	dist-gzip dist-hook dist-lzip dist-shar dist-tarZ dist-xz \
1067	dist-zip distcheck distclean distclean-generic distclean-tags \
1068	distcleancheck distdir distuninstallcheck dvi dvi-am html \
1069	html-am info info-am install install-am install-data \
1070	install-data-am install-data-local install-dist_povconfDATA \
1071	install-dvi install-dvi-am install-exec install-exec-am \
1072	install-html install-html-am install-info install-info-am \
1073	install-man install-man1 install-nobase_povlibSCRIPTS \
1074	install-pdf install-pdf-am install-povconfDATA \
1075	install-povdocDATA install-ps install-ps-am install-strip \
1076	installcheck installcheck-am installdirs installdirs-am \
1077	maintainer-clean maintainer-clean-generic mostlyclean \
1078	mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
1079	uninstall-am uninstall-dist_povconfDATA uninstall-hook \
1080	uninstall-man uninstall-man1 uninstall-nobase_povlibSCRIPTS \
1081	uninstall-povconfDATA uninstall-povdocDATA
1082
1083.PRECIOUS: Makefile
1084
1085
1086# Render a test scene for 'make check'.
1087# This is meant to run before 'make install'.
1088check: all
1089	$(top_builddir)/unix/povray +i$(top_srcdir)/scenes/advanced/biscuit.pov -f +d +p +v +w320 +h240 +a0.3 +L$(top_srcdir)/include
1090povray.conf:
1091povray.ini:
1092	cat $(top_srcdir)/povray.ini.in | sed "s,__POVLIBDIR__,$(povlibdir),g" > $(top_builddir)/povray.ini
1093
1094# Remove all unwanted files for 'make dist(check)'.
1095# Make all files user read-writeable.
1096dist-hook:
1097	chmod -R u+rw $(distdir)
1098	chmod 755 $(distdir)/scripts/*
1099	rm -f    `find $(distdir) -name "*.h.in~"`
1100	rm -f -r `find $(distdir) -name autom4te.cache`
1101	rm -f -r `find $(distdir) -name .libs`
1102
1103# Manage various data files for 'make install'.
1104# Creates an install.log file to record created folders and files.
1105# Folder paths are prepended (using POSIX printf) to ease later removal in 'make uninstall'.
1106# Don't be too verbose so as to easily spot possible problems.
1107install-data-local:
1108	cat /dev/null > $(povinstall);
1109	@echo "Creating data directories..."; \
1110	list='$(top_srcdir)/icons $(top_srcdir)/include $(top_srcdir)/ini $(top_srcdir)/scenes'; \
1111	dirlist=`find $$list -type d | sed s,$(top_srcdir)/,,`; \
1112	for p in "" $$dirlist ; do \
1113	  $(mkdir_p) $(DESTDIR)$(povlibdir)/$$p && printf "%s\n" "$(DESTDIR)$(povlibdir)/$$p" "`cat $(povinstall)`" > $(povinstall); \
1114	done; \
1115	echo "Copying data files..."; \
1116	filelist=`find $$list -type f | sed s,$(top_srcdir)/,,`; \
1117	for f in $$filelist ; do \
1118	  $(INSTALL_DATA) $(top_srcdir)/$$f $(DESTDIR)$(povlibdir)/$$f && echo "$(DESTDIR)$(povlibdir)/$$f" >> $(povinstall); \
1119	done
1120	@echo "Creating documentation directories..."; \
1121	dirlist=`find $(top_srcdir)/doc/ -type d | sed s,$(top_srcdir)/doc/,,`; \
1122	for p in "" $$dirlist ; do \
1123	  $(mkdir_p) $(DESTDIR)$(povdocdir)/$$p && printf "%s\n" "$(DESTDIR)$(povdocdir)/$$p" "`cat $(povinstall)`" > $(povinstall); \
1124	done
1125	@echo "Copying documentation files..."; \
1126	filelist=`find $(top_srcdir)/doc/ -type f | sed s,$(top_srcdir)/doc/,,`; \
1127	for f in $$filelist ; do \
1128	  $(INSTALL_DATA) $(top_srcdir)/doc/$$f $(DESTDIR)$(povdocdir)/$$f && echo "$(DESTDIR)$(povdocdir)/$$f" >> $(povinstall); \
1129	done
1130	@echo "Creating user directories..."; \
1131	for p in $(povuser) $(povconfuser) ; do \
1132	  $(mkdir_p) $$p && chown $(povowner) $$p && chgrp $(povgroup) $$p && printf "%s\n" "$$p" "`cat $(povinstall)`" > $(povinstall); \
1133	done
1134	@echo "Copying user configuration and INI files..."; \
1135	for f in povray.conf povray.ini ; do \
1136	  if test -f $(povconfuser)/$$f; then \
1137	    echo "Creating backup of $(povconfuser)/$$f"; \
1138	    mv -f $(povconfuser)/$$f $(povconfuser)/$$f.bak; \
1139	  fi; \
1140	done; \
1141	$(INSTALL_DATA) $(top_srcdir)/povray.conf $(povconfuser)/povray.conf && chown $(povowner) $(povconfuser)/povray.conf && chgrp $(povgroup) $(povconfuser)/povray.conf  && echo "$(povconfuser)/povray.conf" >> $(povinstall); \
1142	$(INSTALL_DATA) $(top_builddir)/povray.ini $(povconfuser)/povray.ini && chown $(povowner) $(povconfuser)/povray.ini && chgrp $(povgroup) $(povconfuser)/povray.ini  && echo "$(povconfuser)/povray.ini" >> $(povinstall)
1143
1144# Remove data, config, and empty folders for 'make uninstall'.
1145# Use 'hook' instead of 'local' so as to properly remove *empty* folders (e.g. scripts).
1146# The last echo prevents getting error from failed rmdir command.
1147uninstall-hook:
1148	@if test -f $(top_builddir)/install.log ; then \
1149	  rmdir $(DESTDIR)$(povlibdir)/scripts; \
1150	  echo "Using install info from $(top_builddir)/install.log"; \
1151	  echo "Removing data, documentation, and configuration files..."; \
1152	  for f in `cat $(top_builddir)/install.log` ; do \
1153	    test -f $$f && rm -f $$f ; \
1154	  done; \
1155	  echo "Removing empty directories..."; \
1156	  for f in `cat $(top_builddir)/install.log` ; do \
1157	    test -d $$f && rmdir $$f ; \
1158	  done; \
1159	  echo "Removing $(top_builddir)/install.log" && rm -f $(top_builddir)/install.log ; \
1160	else \
1161	  "Removing all data unconditionally"; \
1162	  rm -f -r $(DESTDIR)$(povlibdir); \
1163	  rm -f -r $(DESTDIR)$(povdocdir); \
1164	  rm -f    $(DESTDIR)$(povconfdir)/povray.ini; \
1165	  rmdir    $(DESTDIR)$(povconfdir); \
1166	  rmdir    $(DESTDIR)$(sysconfdir)/@PACKAGE@; \
1167	  rm -f    $(povconfuser)/povray.conf; \
1168	  rm -f    $(povconfuser)/povray.ini; \
1169	  rmdir    $(povconfuser); \
1170	  rmdir    $(povuser); \
1171	fi; \
1172	echo "Uninstall finished"
1173
1174# Tell versions [3.59,3.63) of GNU make to not export all variables.
1175# Otherwise a system limit (for SysV at least) may be exceeded.
1176.NOEXPORT:
1177