# Makefile.in generated by automake 1.8.4 from Makefile.am.
# Makefile.  Generated from Makefile.in by configure.

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004  Free Software Foundation, Inc.
# 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.



#  Makefile to build the ImageMagick distribution.
#
#  Copyright 1999-2004 ImageMagick Studio LLC, a non-profit organization    
#  dedicated to making software imaging solutions freely available.
#
#  You may not use this file except in compliance with the License.  You may
#  obtain a copy of the License at
#
#    http://www.imagemagick.org/www/Copyright.html
#
#  Unless required by applicable law or agreed to in writing, software
#  distributed under the License is distributed on an "AS IS" BASIS,
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
#

srcdir = .
top_srcdir = .

pkglibdir = $(libdir)/ImageMagick
pkgincludedir = $(includedir)/ImageMagick
top_builddir = .
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /usr/bin/install -c
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = i686-pc-linux-gnu
host_triplet = i686-pc-linux-gnu
target_triplet = i686-pc-linux-gnu
DIST_COMMON = $(am__configure_deps) $(srcdir)/Makefile.am \
	$(srcdir)/Makefile.in $(srcdir)/magick.sh.in \
	$(top_srcdir)/PerlMagick/Magick.pm.in \
	$(top_srcdir)/PerlMagick/Makefile.PL.in \
	$(top_srcdir)/configure \
	$(top_srcdir)/scripts/ImageMagick.spec.in AUTHORS ChangeLog \
	NEWS config.guess config.sub depcomp install-sh ltmain.sh \
	missing mkinstalldirs
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
	$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
	$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
 configure.lineno configure.status.lineno
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = $(top_builddir)/magick/magick_config.h
CONFIG_CLEAN_FILES = magick.sh PerlMagick/Magick.pm \
	PerlMagick/Makefile.PL scripts/ImageMagick.spec
SOURCES =
DIST_SOURCES =
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
	html-recursive info-recursive install-data-recursive \
	install-exec-recursive install-info-recursive \
	install-recursive installcheck-recursive installdirs-recursive \
	pdf-recursive ps-recursive uninstall-info-recursive \
	uninstall-recursive
am__installdirs = "$(DESTDIR)$(pkgdatadir)"
pkgdataDATA_INSTALL = $(INSTALL_DATA)
DATA = $(pkgdata_DATA)
ETAGS = etags
CTAGS = ctags
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 $(distdir).tar.bz2 $(distdir).zip
GZIP_ENV = --best
distuninstallcheck_listfiles = find . -type f -print
distcleancheck_listfiles = find . -type f -print

# Architecture independent data files installed in the package's data directory
pkgdatadir = /usr/local/share/ImageMagick-6.0.1
ACLOCAL = ${SHELL} /home/cristy/Attic/Build/ImageMagick-6.0.1/missing --run aclocal-1.8
AMDEP_FALSE = #
AMDEP_TRUE = 
AMTAR = ${SHELL} /home/cristy/Attic/Build/ImageMagick-6.0.1/missing --run tar
AR = ar
AS = as
AUTOCONF = ${SHELL} /home/cristy/Attic/Build/ImageMagick-6.0.1/missing --run autoconf
AUTOHEADER = ${SHELL} /home/cristy/Attic/Build/ImageMagick-6.0.1/missing --run autoheader
AUTOMAKE = ${SHELL} /home/cristy/Attic/Build/ImageMagick-6.0.1/missing --run automake-1.8
AWK = gawk
AutotraceDecodeDelegate = autotrace
BIN_DIR = /usr/local/bin
BZIPDelegate = bzip2
BrowseDelegate = netscape
CC = gcc
CCDEPMODE = depmode=gcc3
CCMALLOCDelegate = 
CFLAGS = -g -O2 -Wall -pthread
CGMDecodeDelegate = ralcgm
CONFIGURE_ARGS = ./configure 
CONVENIENCE_LTDL_FALSE = #
CONVENIENCE_LTDL_TRUE = 
CPP = gcc -E
CPPFLAGS = -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include/X11 -I/usr/include/libxml2
CRWDecodeDelegate = /usr/local/bin/dcraw
CXX = g++
CXXCPP = g++ -E
CXXDEPMODE = depmode=gcc3
CXXFLAGS = -pthread
CYGPATH_W = echo
CYGWIN_BUILD_FALSE = 
CYGWIN_BUILD_TRUE = #
CatDelegate = cat
ConvertDelegate = convert
DATA_DIR = /usr/local/share
DEFS = -DHAVE_CONFIG_H
DELEGATES =  bzlib jng jpeg lcms mpeg png ps tiff ttf x xfig zlib
DEPDIR = .deps
DLLDFLAGS = -export-dynamic
DLLTOOL = dlltool
DOTDecodeDelegate = dot
DVIDecodeDelegate = dvips
DisplayDelegate = /usr/local/bin/display
ECHO = echo
ECHO_C = 
ECHO_N = -n
ECHO_T = 
EGREP = grep -E
EXEC_PREFIX_DIR = /usr/local
EXEEXT = 
EchoDelegate = echo
EditorDelegate = xterm
F77 = g77
FFLAGS = -g -O2
FIGDecodeDelegate = fig2dev
GSCMYKDevice = pnmraw
GSColorDevice = pnmraw
GSEPSDevice = epswrite
GSMonoDevice = pbmraw
GSPDFDevice = pdfwrite
GSPSDevice = pswrite
GSVersion = 8.14
GnuplotDecodeDelegate = gnuplot
HAS_RPM_FALSE = #
HAS_RPM_TRUE = 
HPGLDecodeDelegate = hp2xx
HTMLDecodeDelegate = 
HasBZLIB_FALSE = #
HasBZLIB_TRUE = 
HasDOT_FALSE = 
HasDOT_TRUE = #
HasDPS_FALSE = #
HasDPS_TRUE = 
HasFPX_FALSE = 
HasFPX_TRUE = #
HasGS_FALSE = 
HasGS_TRUE = #
HasJBIG_FALSE = 
HasJBIG_TRUE = #
HasJP2_FALSE = 
HasJP2_TRUE = #
HasJPEG_FALSE = #
HasJPEG_TRUE = 
HasLCMS_FALSE = #
HasLCMS_TRUE = 
HasLZW_FALSE = #
HasLZW_TRUE = 
HasPNG_FALSE = #
HasPNG_TRUE = 
HasTIFF_FALSE = #
HasTIFF_TRUE = 
HasTTF_FALSE = #
HasTTF_TRUE = 
HasTXT2HTML_FALSE = #
HasTXT2HTML_TRUE = 
HasWINGDI32_FALSE = 
HasWINGDI32_TRUE = #
HasWMF_FALSE = 
HasWMF_TRUE = #
HasX11_FALSE = #
HasX11_TRUE = 
HasXML_FALSE = #
HasXML_TRUE = 
HasZLIB_FALSE = #
HasZLIB_TRUE = 
ILBMDecodeDelegate = ilbmtoppm
ILBMEncodeDelegate = ppmtoilbm
INCLTDL = -I${top_srcdir}/ltdl
INCLUDE_DIR = /usr/local/include
INFO_DIR = /usr/local/info
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_LTDL_FALSE = 
INSTALL_LTDL_TRUE = #
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
LD = /usr/bin/ld
LDFLAGS = -L/usr/X11R6/lib -lfreetype -lz -L/usr/lib
LFS_CPPFLAGS =  -D_FILE_OFFSET_BITS=64
LIBADD_DL = -ldl
LIBEXEC_DIR = /usr/local/libexec
LIBLTDL = ${top_builddir}/ltdl/libltdlc.la
LIBOBJS = 
LIBRARY_AGE = 0
LIBRARY_CURRENT = 6
LIBRARY_EXTRA_CPPFLAGS = 
LIBRARY_REVISION = 1
LIBS = 
LIBSTDCLDFLAGS = 
LIBTOOL = $(SHELL) $(top_builddir)/libtool --silent

# Automatically reconfigure libtool
LIBTOOL_DEPS = ./ltmain.sh
LIB_BZLIB = -lbz2
LIB_DIR = /usr/local/lib
LIB_DL = 
LIB_DOT = 
LIB_DPS = -ldpstk -ldps 
LIB_FPX = 
LIB_GDI32 = 
LIB_GS = 
LIB_JBIG = 
LIB_JP2 = 
LIB_JPEG = -ljpeg
LIB_LCMS = -llcms
LIB_MATH = -lm
LIB_PNG = -lpng
LIB_THREAD = -lpthread
LIB_TIFF = -ltiff
LIB_TTF = -lfreetype
LIB_WMF = 
LIB_WMF_DEPS = 
LIB_X11 =  -lSM -lICE -lX11 
LIB_XEXT = -lXext
LIB_XML = -lxml2
LIB_ZLIB = -lz
LN_S = ln -s
LOCALSTATE_DIR = /usr/local/var
LPDelegate = lp
LPRDelegate = /usr/bin/lpr
LTLIBOBJS = 
LZWDecodeDelegate = uncompress
LZWEncodeDelegate = compress
LaunchDelegate = gimp
MAGICKLIB = -L/usr/local/lib -lMagick
MAGICKLIBDIR = /usr/local/lib
MAGICK_CFLAGS = -g -O2 -Wall -pthread
MAGICK_CPPFLAGS = -I/usr/local/include
MAGICK_DEP_LIBS = -llcms -ltiff -lfreetype -ljpeg -lpng -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm -lpthread
MAGICK_LDFLAGS = -L/usr/local/lib -L/usr/X11R6/lib -lfreetype -lz -L/usr/lib
MAGICK_LIBS = -lMagick -llcms -ltiff -lfreetype -ljpeg -lpng -ldpstk -ldps -lXext -lXt -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm -lpthread
MAINT = #
MAINTAINER_MODE_FALSE = 
MAINTAINER_MODE_TRUE = #
MAKEINFO = ${SHELL} /home/cristy/Attic/Build/ImageMagick-6.0.1/missing --run makeinfo
MANDelegate = groff
MAN_DIR = /usr/local/man
MODULE_EXTRA_CPPFLAGS = 
MPEGDecodeDelegate = mpeg2decode
MPEGEncodeDelegate = mpeg2encode
MVDelegate = mv
MagickBinPath = /usr/local/bin
MagickCoderModulesPath = /usr/local/lib/ImageMagick-6.0.1/modules-Q16/coders
MagickFilterModulesPath = /usr/local/lib/ImageMagick-6.0.1/modules-Q16/filters
MagickLibConfigPath = /usr/local/lib/ImageMagick-6.0.1/config
MagickLibPath = /usr/local/lib/ImageMagick-6.0.1
MagickShareConfigPath = /usr/local/share/ImageMagick-6.0.1/config
MagickSharePath = /usr/local/share/ImageMagick-6.0.1
MogrifyDelegate = modify
OBJDUMP = objdump
OBJEXT = o
OLDINCLUDE_DIR = /usr/include
PACKAGE = ImageMagick
PACKAGE_BUGREPORT = 
PACKAGE_LIB_VERSION = 0x601
PACKAGE_LIB_VERSION_NUMBER = 6,0,1,3
PACKAGE_NAME = ImageMagick
PACKAGE_RELEASE_DATE = 05/12/04
PACKAGE_STRING = 
PACKAGE_TARNAME = 
PACKAGE_VERSION = 6.0.1
PACKAGE_VERSION_ADDENDUM = 
PATH_SEPARATOR = :
PERL = /usr/bin/perl
PERLMAINCC = 
PERL_MAKE_OPTIONS = 
PGPDecodeDelegate = pgpv
POVDelegate = povray
PREFIX_DIR = /usr/local
PSDelegate = gs
PTHREAD_CC = gcc
PTHREAD_CFLAGS = -pthread
PTHREAD_CXX = 
PTHREAD_LIBS = -lpthread
PrintDelegate = /usr/bin/lpr
QuantumDepth = 16
RADDecodeDelegate = ra_ppm
RANLIB = ranlib
RLEEncodeDelegate = rawtorle
RMDelegate = rm
RPM = rpmbuild
SBIN_DIR = /usr/local/sbin
SCANDecodeDelegate = scanimage
SET_MAKE = 
SHAREDSTATE_DIR = /usr/local/com
SHELL = /bin/sh
STRIP = strip
SYSCONF_DIR = /usr/local/etc
ShowImageDelegate = 
TXT2HTML = /home/cristy/bin/txt2html
TXTDelegate = enscript
VERSION = 6.0.1
WIN32_NATIVE_BUILD_FALSE = 
WIN32_NATIVE_BUILD_TRUE = #
WITH_LTDL_FALSE = #
WITH_LTDL_TRUE = 
WITH_MAGICK_PLUS_PLUS_FALSE = #
WITH_MAGICK_PLUS_PLUS_TRUE = 
WITH_MODULES_FALSE = 
WITH_MODULES_TRUE = #
WITH_PERL_DYNAMIC_FALSE = #
WITH_PERL_DYNAMIC_TRUE = 
WITH_PERL_FALSE = #
WITH_PERL_STATIC_FALSE = 
WITH_PERL_STATIC_TRUE = #
WITH_PERL_TRUE = 
WMFDecodeDelegate = wmf2eps
WWWDecodeDelegate = wget
WinPathScript = /home/cristy/Attic/Build/ImageMagick-6.0.1/winpath.sh
X_CFLAGS = -I/usr/X11R6/include
X_EXTRA_LIBS = 
X_LIBS = -L/usr/X11R6/lib
X_PRE_LIBS = -lSM -lICE
ZipDelegate = gzip
ac_ct_AR = ar
ac_ct_AS = 
ac_ct_CC = gcc
ac_ct_CXX = g++
ac_ct_DLLTOOL = 
ac_ct_F77 = g77
ac_ct_OBJDUMP = 
ac_ct_RANLIB = ranlib
ac_ct_STRIP = strip
am__fastdepCC_FALSE = #
am__fastdepCC_TRUE = 
am__fastdepCXX_FALSE = #
am__fastdepCXX_TRUE = 
am__include = include
am__leading_dot = .
am__quote = 
bindir = ${exec_prefix}/bin
build = i686-pc-linux-gnu
build_alias = 
build_cpu = i686
build_os = linux-gnu
build_vendor = pc
datadir = ${prefix}/share
dotneato_config = 
exec_prefix = ${prefix}
freetype_config = freetype-config
ghostscript_font_dir = /usr/share/fonts/default/Type1/
host = i686-pc-linux-gnu
host_alias = 
host_cpu = i686
host_os = linux-gnu
host_vendor = pc
includedir = ${prefix}/include
infodir = ${prefix}/info
install_sh = /home/cristy/Attic/Build/ImageMagick-6.0.1/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localstatedir = ${prefix}/var
mandir = ${prefix}/man
mkdir_p = mkdir -p -- .
oldincludedir = /usr/include
prefix = /usr/local
program_transform_name = s,x,x,
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
sysconfdir = ${prefix}/etc
target = i686-pc-linux-gnu
target_alias = 
target_cpu = i686
target_os = linux-gnu
target_vendor = pc
type_include_files =  <include file="type-ghostscript.mgk" />
windows_font_dir = 
xml2_config = xml2-config

# Don't require all the GNU mandated files
AUTOMAKE_OPTIONS = 1.8.2 dist-zip dist-bzip2 foreign

# Subdirectories to build
MAGICK_PLUS_PLUS = Magick++

# Directories to include in distribution
DIST_SUBDIRS = ltdl config coders filters magick utilities tests wand Magick++
#LTDL = 
LTDL = ltdl
SUBDIRS = $(LTDL) config coders filters magick wand $(MAGICK_PLUS_PLUS) utilities tests
#SUBDIRS = $(LTDL) config magick wand coders filters $(MAGICK_PLUS_PLUS) utilities tests
pkgdata_DATA = Magick.pdf LICENSE NOTICE QuickStart.txt

# Additional files to distribute
EXTRA_DIST = ChangeLog LICENSE NOTICE Install-mac.txt Install-unix.txt \
	Install-vms.txt Install-windows.txt index.html Magick.pdf \
	Magickshr.opt Make.com Platforms.txt QuickStart.txt \
	AUTHORS README.txt lndir.sh version.sh winpath.sh


# Non-Automake subdirectories to distribute
DISTDIRS = guide images scenes scripts www PerlMagick

#
# Additional install rules
#

# Install HTML files
pkgdocdir = /usr/local/share/ImageMagick-6.0.1
DOCDIRS = images images/patterns www www/api www/Magick++
PERLMAGICK = PerlMagick
PERLMAKEMAKER = $(PERLMAGICK)/Makefile.PL
PERLMAKEFILE = $(PERLMAGICK)/Makefile
##PERLSTATICNAME = PerlMagick

# txt2html requires perl.
TXT2HTMLTARGETS = \
	$(top_srcdir)/www/Authors.html \
	$(top_srcdir)/www/Changelog.html \
	$(top_srcdir)/www/Install-mac.html \
	$(top_srcdir)/www/Install-unix.html \
	$(top_srcdir)/www/Install-vms.html \
	$(top_srcdir)/www/Install-windows.html \
	$(top_srcdir)/www/News.html \
	$(top_srcdir)/www/QuickStart.html \
	$(top_srcdir)/www/install.html


#
# Build a Windows source Zip-ball
#
DIST_WINDOWS_SRC_ZIP = $(PACKAGE_NAME)-$(PACKAGE_VERSION)-windows.zip

#
# RPM build support
#
DIST_ARCHIVE_SRPM = $(distdir)-1.src.rpm
RPMDIR = redhat
RPMARCH = i386
#DIST_ARCHIVE_RPM = 
DIST_ARCHIVE_RPM = \
	$(RPMDIR)/$(RPMARCH)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)$(PACKAGE_VERSION_ADDENDUM)-1.$(RPMARCH).rpm \
	$(RPMDIR)/$(RPMARCH)/$(PACKAGE_NAME)-c++-$(PACKAGE_VERSION)$(PACKAGE_VERSION_ADDENDUM)-1.$(RPMARCH).rpm \
	$(RPMDIR)/$(RPMARCH)/$(PACKAGE_NAME)-c++-devel-$(PACKAGE_VERSION)$(PACKAGE_VERSION_ADDENDUM)-1.$(RPMARCH).rpm \
	$(RPMDIR)/$(RPMARCH)/$(PACKAGE_NAME)-devel-$(PACKAGE_VERSION)$(PACKAGE_VERSION_ADDENDUM)-1.$(RPMARCH).rpm \
	$(RPMDIR)/$(RPMARCH)/$(PACKAGE_NAME)-perl-$(PACKAGE_VERSION)$(PACKAGE_VERSION_ADDENDUM)-1.$(RPMARCH).rpm

all: all-recursive

.SUFFIXES:
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) --foreign '; \
	      cd $(srcdir) && $(AUTOMAKE) --foreign  \
		&& exit 0; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  Makefile'; \
	cd $(top_srcdir) && \
	  $(AUTOMAKE) --foreign  Makefile
.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)
	$(SHELL) ./config.status --recheck

$(top_srcdir)/configure: # $(am__configure_deps)
	cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4): # $(am__aclocal_m4_deps)
	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
magick.sh: $(top_builddir)/config.status $(srcdir)/magick.sh.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
PerlMagick/Magick.pm: $(top_builddir)/config.status $(top_srcdir)/PerlMagick/Magick.pm.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
PerlMagick/Makefile.PL: $(top_builddir)/config.status $(top_srcdir)/PerlMagick/Makefile.PL.in
	cd $(top_builddir) && $(SHELL) ./config.status $@
scripts/ImageMagick.spec: $(top_builddir)/config.status $(top_srcdir)/scripts/ImageMagick.spec.in
	cd $(top_builddir) && $(SHELL) ./config.status $@

mostlyclean-libtool:
	-rm -f *.lo

clean-libtool:
	-rm -rf .libs _libs

distclean-libtool:
	-rm -f libtool
uninstall-info-am:
install-pkgdataDATA: $(pkgdata_DATA)
	@$(NORMAL_INSTALL)
	test -z "$(pkgdatadir)" || $(mkdir_p) "$(DESTDIR)$(pkgdatadir)"
	@list='$(pkgdata_DATA)'; for p in $$list; do \
	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  echo " $(pkgdataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \
	  $(pkgdataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \
	done

uninstall-pkgdataDATA:
	@$(NORMAL_UNINSTALL)
	@list='$(pkgdata_DATA)'; for p in $$list; do \
	  f="`echo $$p | sed -e 's|^.*/||'`"; \
	  echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \
	  rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \
	done

# 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):
	@set fnord $$MAKEFLAGS; amf=$$2; \
	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) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done; \
	if test "$$dot_seen" = "no"; then \
	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
	fi; test -z "$$fail"

mostlyclean-recursive clean-recursive distclean-recursive \
maintainer-clean-recursive:
	@set fnord $$MAKEFLAGS; amf=$$2; \
	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) \
	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
	done && test -z "$$fail"
tags-recursive:
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
	done
ctags-recursive:
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
	done

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 | \
	  $(AWK) '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	mkid -fID $$unique
tags: TAGS

TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
		$(TAGS_FILES) $(LISP)
	tags=; \
	here=`pwd`; \
	if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
	  include_option=--etags-include; \
	  empty_fix=.; \
	else \
	  include_option=--include; \
	  empty_fix=; \
	fi; \
	list='$(SUBDIRS)'; for subdir in $$list; do \
	  if test "$$subdir" = .; then :; else \
	    test -f $$subdir/TAGS && \
	      tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
	  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 | \
	  $(AWK) '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
	  test -z "$$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=; \
	here=`pwd`; \
	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 | \
	  $(AWK) '    { files[$$0] = 1; } \
	       END { for (i in files) print i; }'`; \
	test -z "$(CTAGS_ARGS)$$tags$$unique" \
	  || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
	     $$tags $$unique

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

distclean-tags:
	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags

distdir: $(DISTFILES)
	$(am__remove_distdir)
	mkdir $(distdir)
	$(mkdir_p) $(distdir)/. $(distdir)/Magick++/bin $(distdir)/Magick++/lib $(distdir)/PerlMagick $(distdir)/config $(distdir)/magick $(distdir)/scripts $(distdir)/wand
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
	list='$(DISTFILES)'; for file in $$list; do \
	  case $$file in \
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
	  esac; \
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
	    dir="/$$dir"; \
	    $(mkdir_p) "$(distdir)$$dir"; \
	  else \
	    dir=''; \
	  fi; \
	  if test -d $$d/$$file; then \
	    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
	list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
	  if test "$$subdir" = .; then :; else \
	    test -d "$(distdir)/$$subdir" \
	    || mkdir "$(distdir)/$$subdir" \
	    || exit 1; \
	    (cd $$subdir && \
	      $(MAKE) $(AM_MAKEFLAGS) \
	        top_distdir="../$(top_distdir)" \
	        distdir="../$(distdir)/$$subdir" \
	        distdir) \
	      || exit 1; \
	  fi; \
	done
	$(MAKE) $(AM_MAKEFLAGS) \
	  top_distdir="$(top_distdir)" distdir="$(distdir)" \
	  dist-hook
	-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 \
	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
	|| chmod -R a+r $(distdir)
dist-gzip: distdir
	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
	$(am__remove_distdir)
dist-bzip2: distdir
	$(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
	$(am__remove_distdir)

dist-tarZ: distdir
	$(AMTAR) chof - $(distdir) | 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)
	$(am__remove_distdir)

dist dist-all: distdir
	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
	$(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
	-rm -f $(distdir).zip
	zip -rq $(distdir).zip $(distdir)
	$(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
	case '$(DIST_ARCHIVES)' in \
	*.tar.gz*) \
	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\
	*.tar.bz2*) \
	  bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\
	*.tar.Z*) \
	  uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\
	*.shar.gz*) \
	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
	*.zip*) \
	  unzip $(distdir).zip ;;\
	esac
	chmod -R a-w $(distdir); chmod a+w $(distdir)
	mkdir $(distdir)/_build
	mkdir $(distdir)/_inst
	chmod a-w $(distdir)
	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" \
	    $(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 \
	  && $(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) \
	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
	$(am__remove_distdir)
	@(echo "$(distdir) archives ready for distribution: "; \
	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
	  sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
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
distcleancheck: distclean
	@if test '$(srcdir)' = . ; then \
	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
	  exit 1 ; \
	fi
	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
	  || { echo "ERROR: files left in build directory after distclean:" ; \
	       $(distcleancheck_listfiles) ; \
	       exit 1; } >&2
check-am: all-am
	$(MAKE) $(AM_MAKEFLAGS) check-local
check: check-recursive
all-am: Makefile $(DATA) all-local
installdirs: installdirs-recursive
installdirs-am:
	for dir in "$(DESTDIR)$(pkgdatadir)"; do \
	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
	done
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)" \
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	  `test -z '$(STRIP)' || \
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:

distclean-generic:
	-rm -f $(CONFIG_CLEAN_FILES)

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 clean-libtool clean-local mostlyclean-am

distclean: distclean-recursive
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
	-rm -f Makefile
distclean-am: clean-am distclean-generic distclean-libtool \
	distclean-local distclean-tags

dvi: dvi-recursive

dvi-am:

html: html-recursive

info: info-recursive

info-am:

install-data-am: install-data-local install-pkgdataDATA

install-exec-am: install-exec-local

install-info: install-info-recursive

install-man:

installcheck-am:

maintainer-clean: maintainer-clean-recursive
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
	-rm -rf $(top_srcdir)/autom4te.cache
	-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic \
	maintainer-clean-local

mostlyclean: mostlyclean-recursive

mostlyclean-am: mostlyclean-generic mostlyclean-libtool

pdf: pdf-recursive

pdf-am:

ps: ps-recursive

ps-am:

uninstall-am: uninstall-info-am uninstall-local uninstall-pkgdataDATA

uninstall-info: uninstall-info-recursive

.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am all-local \
	am--refresh check check-am check-local clean clean-generic \
	clean-libtool clean-local clean-recursive ctags \
	ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \
	dist-tarZ dist-zip distcheck distclean distclean-generic \
	distclean-libtool distclean-local distclean-recursive \
	distclean-tags distcleancheck distdir distuninstallcheck dvi \
	dvi-am html html-am info info-am install install-am \
	install-data install-data-am install-data-local install-exec \
	install-exec-am install-exec-local install-info \
	install-info-am install-man install-pkgdataDATA install-strip \
	installcheck installcheck-am installdirs installdirs-am \
	maintainer-clean maintainer-clean-generic \
	maintainer-clean-local maintainer-clean-recursive mostlyclean \
	mostlyclean-generic mostlyclean-libtool mostlyclean-recursive \
	pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
	uninstall-info-am uninstall-local uninstall-pkgdataDATA

dist-hook:
	( \
	  builddir=`pwd` ; \
	  cd $(srcdir) && \
	  ( \
	    for dir in $(DISTDIRS) ; do \
	      find $$dir -depth -print | egrep -v '(~$$)|(/CVS)|(/\.#)|(/\.deps)' \
	        | cpio -pdum $$builddir/$(distdir) 2> /dev/null ; \
	    done \
	  ) \
	)
install-data-html:
	$(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
	$(INSTALL_DATA) $(srcdir)/index.html $(DESTDIR)$(pkgdocdir)
	@for dir in $(DOCDIRS) ; do \
	  $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/$$dir && \
	  for file in $(srcdir)/$$dir/*.* ; do \
	    echo "$(INSTALL_DATA) $$file $(DESTDIR)$(pkgdocdir)/$$dir" ; \
	    $(INSTALL_DATA) "$$file" $(DESTDIR)$(pkgdocdir)/$$dir ; \
	  done ; \
	done

# Uninstall HTML files
uninstall-data-html:
	rm -f $(DESTDIR)$(pkgdocdir)/index.html
	for dir in $(DOCDIRS) ; do \
	  rm -f -r $(DESTDIR)$(pkgdocdir)/$$dir ; \
	done

# Ensure that version.h at $(srcdir)/magick/version.h is kept up to date.
magick-version: magick/version.h
	@if test -f "$(srcdir)/VisualMagick/installer/inc/version.isx.in" ; then \
	  ./config.status --file="$(srcdir)/VisualMagick/installer/inc/version.isx" 2> /dev/null ; \
	fi
	@if test -n "$(VPATH)" ; then \
	  cmp magick/version.h $(srcdir)/magick/version.h > /dev/null ; \
          if test $$? -eq 1 ; then \
	    echo "Updating $(srcdir)/magick/version.h ..."; \
	    cp magick/version.h $(srcdir)/magick/version.h ; \
	  fi ; \
	fi ; \
	touch magick-version

# If source files missing, see if they can be obtained via VPATH
perl-sources:
	@if test -n "$(VPATH)" ; then \
	  echo "Linking PerlMagick Sources ..." ; \
	  imagemagick=`(cd $(VPATH) ; pwd)` && \
	  ( cd $(PERLMAGICK) && \
	    sh $$imagemagick/lndir.sh $$imagemagick/$(PERLMAGICK) ) \
	fi ; \
	touch perl-sources

$(PERLMAKEFILE): perl-sources $(PERLMAKEMAKER)
	cd $(PERLMAGICK) && /usr/bin/perl Makefile.PL $(PERL_MAKE_OPTIONS)

install-exec-perl: $(PERLMAKEFILE)
	( cd $(PERLMAGICK) && $(MAKE) CC='gcc' && \
	$(MAKE) CC='gcc' install && \
	$(MAKE) clean && rm -f  Makefile.old )

all-perl:

uninstall-exec-perl: $(PERLMAKEFILE)
	echo "Uninstall not supported for PerlMagick"

check-perl: $(PERLMAKEFILE)
	cd $(PERLMAGICK) && $(MAKE) CC='gcc' test

##$(PERLMAKEFILE): perl-sources $(PERLMAKEMAKER)
##	cd $(PERLMAGICK) && /usr/bin/perl Makefile.PL MAP_TARGET=$(PERLSTATICNAME) $(PERL_MAKE_OPTIONS)

##$(PERLMAGICK)/$(PERLSTATICNAME): $(PERLMAKEFILE) magick/libMagick.la
##	( rm -f $(PERLMAGICK)/$(PERLSTATICNAME) ; cd $(PERLMAGICK) && $(MAKE) CC='gcc' $(PERLSTATICNAME) )

##all-perl: $(PERLMAGICK)/$(PERLSTATICNAME)

##install-exec-perl: $(PERLMAGICK)/$(PERLSTATICNAME)
##	rm -f "$(DESTDIR)$(BIN_DIR)/$(PERLSTATICNAME)"
##	if test "x$(DESTDIR)" = "x" ; then \
##	  ( cd $(PERLMAGICK) && \
##	    $(MAKE) -f Makefile.aperl CC='gcc' inst_perl MAP_TARGET=$(PERLSTATICNAME) \
##	    INSTALLBIN="$(DESTDIR)$(BIN_DIR)" \
##	  ) ; \
##	else \
##	  ( cd $(PERLMAGICK) && \
##	    $(MAKE) -f Makefile.aperl CC='gcc' inst_perl MAP_TARGET=$(PERLSTATICNAME) \
##	    INSTALLBIN="$(DESTDIR)$(BIN_DIR)" PREFIX="$(DESTDIR)$(prefix)" \
##	  ) ; \
##	fi

##uninstall-exec-perl:
##	rm -f '$(DESTDIR)$(BIN_DIR)/$(PERLSTATICNAME)'

##check-perl: $(PERLMAGICK)/$(PERLSTATICNAME)
##	cd $(PERLMAGICK) && $(MAKE) -f Makefile.aperl CC='gcc' test

clean-perl: $(PERLMAKEFILE)
	(cd $(PERLMAGICK) && \
	$(MAKE) CC='gcc' clean && \
	rm -f Makefile.old PerlMagick && \
	rm -f t/output* t/jng/*_tmp.jng t/*/output* )
	rm -f perl-sources

distclean-perl: clean-perl

# Satisfy makefile requirements if not building PERL
#all-perl:
#install-exec-perl:
#uninstall-exec-perl:
#check-perl:
#clean-perl:
#distclean-perl:

all-local: all-perl # magick-version $(TXT2HTMLTARGETS)

# Install PerlMagick
install-exec-local: install-exec-perl

# Install arch-independent package data
install-data-local: install-data-html

# Uninstall arch-independent package data
uninstall-local: uninstall-data-html uninstall-exec-perl

# Do a make clean in PerlMagick directory 
clean-local: clean-perl

# Do a make distclean in PerlMagick directory 
distclean-local: distclean-perl

# Maintainer clean is just like 'distclean' for PerlMagick
maintainer-clean-local: distclean-local

# Run tests on PerlMagick
check-local: check-perl
libtool: $(LIBTOOL_DEPS)
	$(SHELL) ./config.status --recheck

# Build HTML version of ChangeLog
$(top_srcdir)/www/Changelog.html: $(top_srcdir)/ChangeLog
	/usr/bin/perl $(top_srcdir)/scripts/txt2html -p 4 -pb 1 -t $(PACKAGE_NAME)' '$(PACKAGE_VERSION)': ChangeLog' < $(top_srcdir)/ChangeLog | tidy -asxhtml > $(top_srcdir)/www/Changelog.html

# Build HTML version of Copyright
$(top_srcdir)/www/Copyright.html: $(top_srcdir)/LICENSE
	/usr/bin/perl $(top_srcdir)/scripts/txt2html -p 4 -pb 1 -t $(PACKAGE_NAME)' '$(PACKAGE_VERSION)': License' < $(top_srcdir)/LICENSE | tidy -asxhtml > $(top_srcdir)/www/Copyright.html

# Build HTML version of AUTHORS
$(top_srcdir)/www/Authors.html: $(top_srcdir)/AUTHORS
	/usr/bin/perl $(top_srcdir)/scripts/txt2html -p 4 -pb 1 -t $(PACKAGE_NAME)' '$(PACKAGE_VERSION)': Authors' < $(top_srcdir)/AUTHORS | tidy -asxhtml > $(top_srcdir)/www/Authors.html

# Build HTML version of News
$(top_srcdir)/www/News.html: $(top_srcdir)/NEWS
	/usr/bin/perl $(top_srcdir)/scripts/txt2html -p 4 -pb 1 -t $(PACKAGE_NAME)' '$(PACKAGE_VERSION)': News' < $(top_srcdir)/NEWS | tidy -asxhtml > $(top_srcdir)/www/News.html

# Build HTML version of QuickStart
$(top_srcdir)/www/QuickStart.html: $(top_srcdir)/QuickStart.txt
	/usr/bin/perl $(top_srcdir)/scripts/txt2html -p 4 -pb 1 -t $(PACKAGE_NAME)' '$(PACKAGE_VERSION)': Installing ImageMagick Binaries' < $(top_srcdir)/QuickStart.txt | tidy -asxhtml > $(top_srcdir)/www/QuickStart.html

# Build HTML version of README
$(top_srcdir)/www/install.html: $(top_srcdir)/README.txt
	/usr/bin/perl $(top_srcdir)/scripts/txt2html -p 4 -pb 1 -t $(PACKAGE_NAME)' Install' < $(top_srcdir)/README.txt | tidy -asxhtml > $(top_srcdir)/www/install.html

# Build HTML version of Install-mac.txt
$(top_srcdir)/www/Install-mac.html: $(top_srcdir)/Install-unix.txt
	/usr/bin/perl $(top_srcdir)/scripts/txt2html -s 55 -p 4 -pb 1 -t $(PACKAGE_NAME)' MacOS 9 Installation' < $(top_srcdir)/Install-mac.txt | tidy -asxhtml > $(top_srcdir)/www/Install-mac.html

# Build HTML version of Install-unix.txt
$(top_srcdir)/www/Install-unix.html: $(top_srcdir)/Install-unix.txt
	/usr/bin/perl $(top_srcdir)/scripts/txt2html -s 55 -p 4 -pb 1 -t $(PACKAGE_NAME)' Unix Installation' < $(top_srcdir)/Install-unix.txt | tidy -asxhtml > $(top_srcdir)/www/Install-unix.html

# Build HTML version of Install-vms.txt
$(top_srcdir)/www/Install-vms.html: $(top_srcdir)/Install-vms.txt
	/usr/bin/perl $(top_srcdir)/scripts/txt2html -s 55 -p 4 -pb 1 -t $(PACKAGE_NAME)' VMS Installation' < $(top_srcdir)/Install-vms.txt | tidy -asxhtml > $(top_srcdir)/www/Install-vms.html

# Build HTML version of Install-windows.txt
$(top_srcdir)/www/Install-windows.html: $(top_srcdir)/Install-windows.txt
	/usr/bin/perl $(top_srcdir)/scripts/txt2html -s 55 -p 4 -pb 1 -t $(PACKAGE_NAME)' Windows Installation' < $(top_srcdir)/Install-windows.txt | tidy -asxhtml > $(top_srcdir)/www/Install-windows.html

format_c_api_docs:
	/usr/bin/perl $(top_srcdir)/scripts/format_c_api_docs -format html --srcdir $(top_srcdir)/magick --outdir $(top_srcdir)/www/api
$(DIST_WINDOWS_SRC_ZIP) windows-src:
	rm -f $(DIST_WINDOWS_SRC_ZIP)
	cd $(top_srcdir); cd .. && zip -r -9 -q $(DIST_WINDOWS_SRC_ZIP) $(PACKAGE_NAME)-$(PACKAGE_VERSION) -x '*.zip' -x "*.bz2" -x "*.gz" -x '*~' -x '*.o' -x autom4te.cache -x CVS -x '*.so' -x '.libs' -x '.deps' -x '.#*' -x core -x '*.core'
PHONY: srpm
$(DIST_ARCHIVE_SRPM) srpm: rpm $(distdir).tar.bz2
	$(RPM) --define="_sourcedir `pwd`" --define="_srcrpmdir `pwd`" --nodeps -bs scripts/ImageMagick.spec

PHONY: rpm
rpm:
	rm -rf $(RPMDIR)
	mkdir $(RPMDIR)
	mkdir $(RPMDIR)/BUILD
	mkdir $(RPMDIR)/RPMS
	$(RPM) --define="_sourcedir `pwd`" --define="_rpmdir `pwd`/$(RPMDIR)/RPMS" --define="_builddir `pwd`/$(RPMDIR)/BUILD" --nodeps -bb scripts/ImageMagick.spec
	rm -rf rpmbuild

#
# Build a validated snapshot release and move to the snapshots directory.
#
snapshot: dist
	$(MAKE) $(DIST_WINDOWS_SRC_ZIP)
	$(MAKE) $(DIST_ARCHIVE_SRPM)
# 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:
