home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Linux / Divers / ImageMagick-4.0.6.tar.gz / ImageMagick-4.0.6.tar / ImageMagick-4.0.6 / Makefile.in < prev    next >
Makefile  |  1998-05-12  |  24KB  |  741 lines

  1. # Makefile.in generated automatically by automake 1.3 from Makefile.am
  2.  
  3. # Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
  4. # This Makefile.in is free software; the Free Software Foundation
  5. # gives unlimited permission to copy and/or distribute it,
  6. # with or without modifications, as long as this notice is preserved.
  7.  
  8. # This program is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  10. # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  11. # PARTICULAR PURPOSE.
  12.  
  13. #
  14. #  Automake Makefile for the ImageMagick applications
  15. #
  16. #  Copyright 1998 E. I. du Pont de Nemours and Company
  17. #
  18. #  Permission is hereby granted, free of charge, to any person obtaining a
  19. #  copy of this software and associated documentation files ("ImageMagick"),
  20. #  to deal in ImageMagick without restriction, including without limitation 
  21. #  the rights to use, copy, modify, merge, publish, distribute, sublicense, 
  22. #  and/or sell copies of ImageMagick, and to permit persons to whom the 
  23. #  ImageMagick is furnished to do so, subject to the following conditions:
  24. #   
  25. #  The above copyright notice and this permission notice shall be included in 
  26. #  all copies or substantial portions of ImageMagick. 
  27. #   
  28. #  The software is provided "as is", without warranty of any kind, express or 
  29. #  implied, including but not limited to the warranties of merchantability, 
  30. #  fitness for a particular purpose and noninfringement.In no event shall 
  31. #  E. I. du Pont de Nemours and Company be liable for any claim, damages or 
  32. #  other liability, whether in an action of contract, tort or otherwise,
  33. #  arising from, out of or in connection with ImageMagick or the use or other 
  34. #  dealings in ImageMagick. 
  35. #   
  36. #  Except as contained in this notice, the name of the E. I. du Pont de 
  37. #  Nemours and Company shall not be used in advertising or otherwise to 
  38. #  promote the sale, use or other dealings in ImageMagick without prior 
  39. #  written authorization from the E. I. du Pont de Nemours and Company. 
  40. #
  41. #  This file is currently maintained by Bob Friesenhahn,
  42. #  bfriesen@simple.dallas.tx.us
  43.  
  44. # Don't require all the GNU mandated files
  45. # Remove comment from no-dependencies for distributions compatable with
  46. # traditional 'make'
  47.  
  48.  
  49. SHELL = /bin/sh
  50.  
  51. srcdir = @srcdir@
  52. top_srcdir = @top_srcdir@
  53. VPATH = @srcdir@
  54. prefix = @prefix@
  55. exec_prefix = @exec_prefix@
  56.  
  57. bindir = @bindir@
  58. sbindir = @sbindir@
  59. libexecdir = @libexecdir@
  60. datadir = @datadir@
  61. sysconfdir = @sysconfdir@
  62. sharedstatedir = @sharedstatedir@
  63. localstatedir = @localstatedir@
  64. libdir = @libdir@
  65. infodir = @infodir@
  66. mandir = @mandir@
  67. includedir = @includedir@
  68. oldincludedir = /usr/include
  69.  
  70. DISTDIR =
  71.  
  72. pkgdatadir = $(datadir)/@PACKAGE@
  73. pkglibdir = $(libdir)/@PACKAGE@
  74. pkgincludedir = $(includedir)/@PACKAGE@
  75.  
  76. top_builddir = .
  77.  
  78. ACLOCAL = @ACLOCAL@
  79. AUTOCONF = @AUTOCONF@
  80. AUTOMAKE = @AUTOMAKE@
  81. AUTOHEADER = @AUTOHEADER@
  82.  
  83. INSTALL = @INSTALL@
  84. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  85. INSTALL_DATA = @INSTALL_DATA@
  86. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  87. transform = @program_transform_name@
  88.  
  89. NORMAL_INSTALL = :
  90. PRE_INSTALL = :
  91. POST_INSTALL = :
  92. NORMAL_UNINSTALL = :
  93. PRE_UNINSTALL = :
  94. POST_UNINSTALL = :
  95. host_alias = @host_alias@
  96. host_triplet = @host@
  97. CC = @CC@
  98. CPP = @CPP@
  99. LD = @LD@
  100. LIBTOOL = @LIBTOOL@
  101. LN_S = @LN_S@
  102. MAGICKLIB = @MAGICKLIB@
  103. MAINT = @MAINT@
  104. MAKEINFO = @MAKEINFO@
  105. NM = @NM@
  106. PACKAGE = @PACKAGE@
  107. PERL = @PERL@
  108. RANLIB = @RANLIB@
  109. VERSION = @VERSION@
  110. VERSION_AGE = @VERSION_AGE@
  111. VERSION_CURRENT = @VERSION_CURRENT@
  112. VERSION_REVISION = @VERSION_REVISION@
  113. X11STUBSDIR = @X11STUBSDIR@
  114. X11STUBSLA = @X11STUBSLA@
  115. X11STUBSLANAME = @X11STUBSLANAME@
  116. X11STUBSLIB = @X11STUBSLIB@
  117. XTP_DEFS = @XTP_DEFS@
  118. XTP_FTP = @XTP_FTP@
  119. XTP_LIBS = @XTP_LIBS@
  120.  
  121. AUTOMAKE_OPTIONS = 1.2 foreign # no-dependencies
  122.  
  123. MAGICK_LIB    = magick/libMagick.la # libtool library name
  124. INCLUDES    = -I$(srcdir)/magick $(X_CFLAGS)
  125.  
  126. # Subdirectories to build
  127. SUBDIRS = magick xtp xlib
  128.  
  129. # Executables to build
  130. bin_PROGRAMS = animate combine convert display identify import mogrify montage
  131.  
  132. # Per-executable sources
  133. display_SOURCES  = display.c
  134. animate_SOURCES  = animate.c
  135. import_SOURCES   = import.c
  136. montage_SOURCES  = montage.c
  137. convert_SOURCES  = convert.c
  138. mogrify_SOURCES  = mogrify.c
  139. identify_SOURCES = identify.c
  140. combine_SOURCES  = combine.c
  141.  
  142. # Libtool libraries used by all executables
  143. LDADD         = $(MAGICK_LIB) @X11STUBSLA@
  144.  
  145. # Manual pages to install
  146. MANPAGES = ImageMagick.1 animate.1 combine.1 convert.1 display.1 identify.1 \
  147.   import.1 miff.4 mogrify.1 montage.1 quantize.5
  148. man_MANS = $(MANPAGES)
  149.  
  150. # Additional files to distribute
  151. EXTRA_DIST = $(MANPAGES) Magick.tmpl Manifest.ps ImageMagick.html Imakefile \
  152.     Magickshr.opt Make.com README.txt Copyright.txt FlashPix.txt acconfig.h
  153.  
  154. # Non-Automake (except for PerlMagick) subdirectories to distribute
  155. DISTDIRS = docs images scenes scripts www
  156. # PerlMagick files to distribute
  157. PLFILES = Changelog MANIFEST Magick.pm Magick.xs Makefile.PL Makefile.PL.in \
  158.     Makefile.nt README.txt girl.gif logo.gif rose.gif t.pl test.pl
  159.  
  160. @WITH_PERL_TRUE@PERLMAGICK=PerlMagick
  161. @WITH_PERL_TRUE@PERLMAKEMAKER=$(PERLMAGICK)/Makefile.PL
  162. @WITH_PERL_TRUE@PERLMAKEFILE=$(PERLMAGICK)/Makefile
  163.  
  164. # Make all PERL sub-targets except those that require a link
  165. # since the link must be against installed libraries
  166. @WITH_PERL_TRUE@@WITH_PERL_DYNAMIC_TRUE@PERLALLTARGETS=config pm_to_blib subdirs Magick.o manifypods
  167.  
  168. @WITH_PERL_TRUE@@WITH_PERL_DYNAMIC_FALSE@@WITH_PERL_STATIC_TRUE@PERLSTATICNAME=PerlMagick
  169. ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  170. mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  171. CONFIG_HEADER = ./magick/config.h
  172. CONFIG_CLEAN_FILES = 
  173. PROGRAMS =  $(bin_PROGRAMS)
  174.  
  175.  
  176. DEFS = @DEFS@ -I. -I$(srcdir) -I./magick
  177. CPPFLAGS = @CPPFLAGS@
  178. LDFLAGS = @LDFLAGS@
  179. LIBS = @LIBS@
  180. X_CFLAGS = @X_CFLAGS@
  181. X_LIBS = @X_LIBS@
  182. X_EXTRA_LIBS = @X_EXTRA_LIBS@
  183. X_PRE_LIBS = @X_PRE_LIBS@
  184. animate_OBJECTS =  animate.o
  185. animate_LDADD = $(LDADD)
  186. animate_DEPENDENCIES =  magick/libMagick.la
  187. animate_LDFLAGS = 
  188. combine_OBJECTS =  combine.o
  189. combine_LDADD = $(LDADD)
  190. combine_DEPENDENCIES =  magick/libMagick.la
  191. combine_LDFLAGS = 
  192. convert_OBJECTS =  convert.o
  193. convert_LDADD = $(LDADD)
  194. convert_DEPENDENCIES =  magick/libMagick.la
  195. convert_LDFLAGS = 
  196. display_OBJECTS =  display.o
  197. display_LDADD = $(LDADD)
  198. display_DEPENDENCIES =  magick/libMagick.la
  199. display_LDFLAGS = 
  200. identify_OBJECTS =  identify.o
  201. identify_LDADD = $(LDADD)
  202. identify_DEPENDENCIES =  magick/libMagick.la
  203. identify_LDFLAGS = 
  204. import_OBJECTS =  import.o
  205. import_LDADD = $(LDADD)
  206. import_DEPENDENCIES =  magick/libMagick.la
  207. import_LDFLAGS = 
  208. mogrify_OBJECTS =  mogrify.o
  209. mogrify_LDADD = $(LDADD)
  210. mogrify_DEPENDENCIES =  magick/libMagick.la
  211. mogrify_LDFLAGS = 
  212. montage_OBJECTS =  montage.o
  213. montage_LDADD = $(LDADD)
  214. montage_DEPENDENCIES =  magick/libMagick.la
  215. montage_LDFLAGS = 
  216. CFLAGS = @CFLAGS@
  217. COMPILE = $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
  218. LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
  219. LINK = $(LIBTOOL) --mode=link $(CC) $(CFLAGS) $(LDFLAGS) -o $@
  220. man1dir = $(mandir)/man1
  221. man4dir = $(mandir)/man4
  222. man5dir = $(mandir)/man5
  223. MANS = $(man_MANS)
  224.  
  225. NROFF = nroff
  226. DIST_COMMON =  Makefile.am Makefile.in aclocal.m4 config.guess \
  227. config.sub configure configure.in install-sh ltconfig ltmain.sh missing \
  228. mkinstalldirs
  229.  
  230.  
  231. DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
  232.  
  233. TAR = gtar
  234. GZIP = --best
  235. SOURCES = $(animate_SOURCES) $(combine_SOURCES) $(convert_SOURCES) $(display_SOURCES) $(identify_SOURCES) $(import_SOURCES) $(mogrify_SOURCES) $(montage_SOURCES)
  236. OBJECTS = $(animate_OBJECTS) $(combine_OBJECTS) $(convert_OBJECTS) $(display_OBJECTS) $(identify_OBJECTS) $(import_OBJECTS) $(mogrify_OBJECTS) $(montage_OBJECTS)
  237.  
  238. all: all-recursive all-am
  239.  
  240. .SUFFIXES:
  241. .SUFFIXES: .S .c .lo .o .s
  242. $(srcdir)/Makefile.in: @MAINT@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
  243.     cd $(top_srcdir) && $(AUTOMAKE) --foreign --include-deps Makefile
  244.  
  245. Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
  246.     cd $(top_builddir) \
  247.       && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
  248.  
  249. $(ACLOCAL_M4): @MAINT@ configure.in 
  250.     cd $(srcdir) && $(ACLOCAL)
  251.  
  252. config.status: $(srcdir)/configure
  253.     $(SHELL) ./config.status --recheck
  254. $(srcdir)/configure: @MAINT@$(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
  255.     cd $(srcdir) && $(AUTOCONF)
  256.  
  257. mostlyclean-binPROGRAMS:
  258.  
  259. clean-binPROGRAMS:
  260.     -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
  261.  
  262. distclean-binPROGRAMS:
  263.  
  264. maintainer-clean-binPROGRAMS:
  265.  
  266. install-binPROGRAMS: $(bin_PROGRAMS)
  267.     @$(NORMAL_INSTALL)
  268.     $(mkinstalldirs) $(DESTDIR)$(bindir)
  269.     @list='$(bin_PROGRAMS)'; for p in $$list; do \
  270.       if test -f $$p; then \
  271.         echo " $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
  272.         $(LIBTOOL)  --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
  273.       else :; fi; \
  274.     done
  275.  
  276. uninstall-binPROGRAMS:
  277.     @$(NORMAL_UNINSTALL)
  278.     list='$(bin_PROGRAMS)'; for p in $$list; do \
  279.       rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
  280.     done
  281.  
  282. .c.o:
  283.     $(COMPILE) -c $<
  284.  
  285. .s.o:
  286.     $(COMPILE) -c $<
  287.  
  288. .S.o:
  289.     $(COMPILE) -c $<
  290.  
  291. mostlyclean-compile:
  292.     -rm -f *.o core *.core
  293.  
  294. clean-compile:
  295.  
  296. distclean-compile:
  297.     -rm -f *.tab.c
  298.  
  299. maintainer-clean-compile:
  300.  
  301. .c.lo:
  302.     $(LIBTOOL) --mode=compile $(COMPILE) -c $<
  303.  
  304. .s.lo:
  305.     $(LIBTOOL) --mode=compile $(COMPILE) -c $<
  306.  
  307. .S.lo:
  308.     $(LIBTOOL) --mode=compile $(COMPILE) -c $<
  309.  
  310. mostlyclean-libtool:
  311.     -rm -f *.lo
  312.  
  313. clean-libtool:
  314.     -rm -rf .libs _libs
  315.  
  316. distclean-libtool:
  317.  
  318. maintainer-clean-libtool:
  319.  
  320. animate: $(animate_OBJECTS) $(animate_DEPENDENCIES)
  321.     @rm -f animate
  322.     $(LINK) $(animate_LDFLAGS) $(animate_OBJECTS) $(animate_LDADD) $(LIBS)
  323.  
  324. combine: $(combine_OBJECTS) $(combine_DEPENDENCIES)
  325.     @rm -f combine
  326.     $(LINK) $(combine_LDFLAGS) $(combine_OBJECTS) $(combine_LDADD) $(LIBS)
  327.  
  328. convert: $(convert_OBJECTS) $(convert_DEPENDENCIES)
  329.     @rm -f convert
  330.     $(LINK) $(convert_LDFLAGS) $(convert_OBJECTS) $(convert_LDADD) $(LIBS)
  331.  
  332. display: $(display_OBJECTS) $(display_DEPENDENCIES)
  333.     @rm -f display
  334.     $(LINK) $(display_LDFLAGS) $(display_OBJECTS) $(display_LDADD) $(LIBS)
  335.  
  336. identify: $(identify_OBJECTS) $(identify_DEPENDENCIES)
  337.     @rm -f identify
  338.     $(LINK) $(identify_LDFLAGS) $(identify_OBJECTS) $(identify_LDADD) $(LIBS)
  339.  
  340. import: $(import_OBJECTS) $(import_DEPENDENCIES)
  341.     @rm -f import
  342.     $(LINK) $(import_LDFLAGS) $(import_OBJECTS) $(import_LDADD) $(LIBS)
  343.  
  344. mogrify: $(mogrify_OBJECTS) $(mogrify_DEPENDENCIES)
  345.     @rm -f mogrify
  346.     $(LINK) $(mogrify_LDFLAGS) $(mogrify_OBJECTS) $(mogrify_LDADD) $(LIBS)
  347.  
  348. montage: $(montage_OBJECTS) $(montage_DEPENDENCIES)
  349.     @rm -f montage
  350.     $(LINK) $(montage_LDFLAGS) $(montage_OBJECTS) $(montage_LDADD) $(LIBS)
  351.  
  352. install-man1:
  353.     $(mkinstalldirs) $(DESTDIR)$(man1dir)
  354.     @list='$(man1_MANS)'; \
  355.     l2='$(man_MANS)'; for i in $$l2; do \
  356.       case "$$i" in \
  357.         *.1*) list="$$list $$i" ;; \
  358.       esac; \
  359.     done; \
  360.     for i in $$list; do \
  361.       if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
  362.       else file=$$i; fi; \
  363.       ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  364.       inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  365.       inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  366.       echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
  367.       $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
  368.     done
  369.  
  370. uninstall-man1:
  371.     @list='$(man1_MANS)'; \
  372.     l2='$(man_MANS)'; for i in $$l2; do \
  373.       case "$$i" in \
  374.         *.1*) list="$$list $$i" ;; \
  375.       esac; \
  376.     done; \
  377.     for i in $$list; do \
  378.       ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  379.       inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  380.       inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  381.       echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
  382.       rm -f $(DESTDIR)$(man1dir)/$$inst; \
  383.     done
  384.  
  385. install-man4:
  386.     $(mkinstalldirs) $(DESTDIR)$(man4dir)
  387.     @list='$(man4_MANS)'; \
  388.     l2='$(man_MANS)'; for i in $$l2; do \
  389.       case "$$i" in \
  390.         *.4*) list="$$list $$i" ;; \
  391.       esac; \
  392.     done; \
  393.     for i in $$list; do \
  394.       if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
  395.       else file=$$i; fi; \
  396.       ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  397.       inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  398.       inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  399.       echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man4dir)/$$inst"; \
  400.       $(INSTALL_DATA) $$file $(DESTDIR)$(man4dir)/$$inst; \
  401.     done
  402.  
  403. uninstall-man4:
  404.     @list='$(man4_MANS)'; \
  405.     l2='$(man_MANS)'; for i in $$l2; do \
  406.       case "$$i" in \
  407.         *.4*) list="$$list $$i" ;; \
  408.       esac; \
  409.     done; \
  410.     for i in $$list; do \
  411.       ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  412.       inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  413.       inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  414.       echo " rm -f $(DESTDIR)$(man4dir)/$$inst"; \
  415.       rm -f $(DESTDIR)$(man4dir)/$$inst; \
  416.     done
  417.  
  418. install-man5:
  419.     $(mkinstalldirs) $(DESTDIR)$(man5dir)
  420.     @list='$(man5_MANS)'; \
  421.     l2='$(man_MANS)'; for i in $$l2; do \
  422.       case "$$i" in \
  423.         *.5*) list="$$list $$i" ;; \
  424.       esac; \
  425.     done; \
  426.     for i in $$list; do \
  427.       if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
  428.       else file=$$i; fi; \
  429.       ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  430.       inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  431.       inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  432.       echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst"; \
  433.       $(INSTALL_DATA) $$file $(DESTDIR)$(man5dir)/$$inst; \
  434.     done
  435.  
  436. uninstall-man5:
  437.     @list='$(man5_MANS)'; \
  438.     l2='$(man_MANS)'; for i in $$l2; do \
  439.       case "$$i" in \
  440.         *.5*) list="$$list $$i" ;; \
  441.       esac; \
  442.     done; \
  443.     for i in $$list; do \
  444.       ext=`echo $$i | sed -e 's/^.*\\.//'`; \
  445.       inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
  446.       inst=`echo $$inst | sed '$(transform)'`.$$ext; \
  447.       echo " rm -f $(DESTDIR)$(man5dir)/$$inst"; \
  448.       rm -f $(DESTDIR)$(man5dir)/$$inst; \
  449.     done
  450. install-man: $(MANS)
  451.     @$(NORMAL_INSTALL)
  452.     $(MAKE) install-man1 install-man4 install-man5
  453. uninstall-man:
  454.     @$(NORMAL_UNINSTALL)
  455.     $(MAKE) uninstall-man1 uninstall-man4 uninstall-man5
  456.  
  457. # This directory's subdirectories are mostly independent; you can cd
  458. # into them and run `make' without going through this Makefile.
  459. # To change the values of `make' variables: instead of editing Makefiles,
  460. # (1) if the variable is set in `config.status', edit `config.status'
  461. #     (which will cause the Makefiles to be regenerated when you run `make');
  462. # (2) otherwise, pass the desired values on the `make' command line.
  463.  
  464. @SET_MAKE@
  465.  
  466. all-recursive install-data-recursive install-exec-recursive \
  467. installdirs-recursive install-recursive uninstall-recursive  \
  468. check-recursive installcheck-recursive info-recursive dvi-recursive:
  469.     @set fnord $(MAKEFLAGS); amf=$$2; \
  470.     list='$(SUBDIRS)'; for subdir in $$list; do \
  471.       target=`echo $@ | sed s/-recursive//`; \
  472.       echo "Making $$target in $$subdir"; \
  473.       (cd $$subdir && $(MAKE) $$target) \
  474.        || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  475.     done && test -z "$$fail"
  476.  
  477. mostlyclean-recursive clean-recursive distclean-recursive \
  478. maintainer-clean-recursive:
  479.     @set fnord $(MAKEFLAGS); amf=$$2; \
  480.     rev=''; list='$(SUBDIRS)'; for subdir in $$list; do \
  481.       rev="$$subdir $$rev"; \
  482.     done; \
  483.     for subdir in $$rev; do \
  484.       target=`echo $@ | sed s/-recursive//`; \
  485.       echo "Making $$target in $$subdir"; \
  486.       (cd $$subdir && $(MAKE) $$target) \
  487.        || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
  488.     done && test -z "$$fail"
  489. tags-recursive:
  490.     list='$(SUBDIRS)'; for subdir in $$list; do \
  491.       (cd $$subdir && $(MAKE) tags); \
  492.     done
  493.  
  494. tags: TAGS
  495.  
  496. ID: $(HEADERS) $(SOURCES) $(LISP)
  497.     here=`pwd` && cd $(srcdir) \
  498.       && mkid -f$$here/ID $(SOURCES) $(HEADERS) $(LISP)
  499.  
  500. TAGS: tags-recursive $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
  501.     tags=; \
  502.     here=`pwd`; \
  503.     list='$(SUBDIRS)'; for subdir in $$list; do \
  504.       test -f $$subdir/TAGS && tags="$$tags -i $$here/$$subdir/TAGS"; \
  505.     done; \
  506.     list='$(SOURCES) $(HEADERS)'; \
  507.     unique=`for i in $$list; do echo $$i; done | \
  508.       awk '    { files[$$0] = 1; } \
  509.            END { for (i in files) print i; }'`; \
  510.     test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
  511.       || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
  512.  
  513. mostlyclean-tags:
  514.  
  515. clean-tags:
  516.  
  517. distclean-tags:
  518.     -rm -f TAGS ID
  519.  
  520. maintainer-clean-tags:
  521.  
  522. distdir = $(PACKAGE)-$(VERSION)
  523. top_distdir = $(distdir)
  524.  
  525. # This target untars the dist file and tries a VPATH configuration.  Then
  526. # it guarantees that the distribution is self-contained by making another
  527. # tarfile.
  528. distcheck: dist
  529.     -rm -rf $(distdir)
  530.     GZIP=$(GZIP) $(TAR) zxf $(distdir).tar.gz
  531.     mkdir $(distdir)/=build
  532.     mkdir $(distdir)/=inst
  533.     dc_install_base=`cd $(distdir)/=inst && pwd`; \
  534.     cd $(distdir)/=build \
  535.       && ../configure --srcdir=.. --prefix=$$dc_install_base \
  536.       && $(MAKE) \
  537.       && $(MAKE) dvi \
  538.       && $(MAKE) check \
  539.       && $(MAKE) install \
  540.       && $(MAKE) installcheck \
  541.       && $(MAKE) dist
  542.     -rm -rf $(distdir)
  543.     @echo "========================"; \
  544.     echo "$(distdir).tar.gz is ready for distribution"; \
  545.     echo "========================"
  546. dist: distdir
  547.     -chmod -R a+r $(distdir)
  548.     GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
  549.     -rm -rf $(distdir)
  550. dist-all: distdir
  551.     -chmod -R a+r $(distdir)
  552.     GZIP=$(GZIP) $(TAR) chozf $(distdir).tar.gz $(distdir)
  553.     -rm -rf $(distdir)
  554. distdir: $(DISTFILES)
  555.     -rm -rf $(distdir)
  556.     mkdir $(distdir)
  557.     -chmod 777 $(distdir)
  558.     @for file in $(DISTFILES); do \
  559.       d=$(srcdir); \
  560.       test -f $(distdir)/$$file \
  561.       || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
  562.       || cp -p $$d/$$file $(distdir)/$$file; \
  563.     done
  564.     for subdir in $(SUBDIRS); do \
  565.       test -d $(distdir)/$$subdir \
  566.       || mkdir $(distdir)/$$subdir \
  567.       || exit 1; \
  568.       chmod 777 $(distdir)/$$subdir; \
  569.       (cd $$subdir && $(MAKE) top_distdir=../$(distdir) distdir=../$(distdir)/$$subdir distdir) \
  570.         || exit 1; \
  571.     done
  572.     $(MAKE) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-hook
  573. info: info-recursive
  574. dvi: dvi-recursive
  575. check: all-am
  576.     $(MAKE) check-recursive
  577. installcheck: installcheck-recursive
  578. all-am: Makefile $(PROGRAMS) $(MANS) all-local
  579.  
  580. install-exec-am: install-binPROGRAMS install-exec-local
  581.  
  582. install-data-am: install-man
  583.  
  584. uninstall-am: uninstall-binPROGRAMS uninstall-man
  585.  
  586. install-exec: install-exec-recursive install-exec-am
  587.     @$(NORMAL_INSTALL)
  588.  
  589. install-data: install-data-recursive install-data-am
  590.     @$(NORMAL_INSTALL)
  591.  
  592. install: install-recursive install-exec-am install-data-am
  593.     @:
  594.  
  595. uninstall: uninstall-recursive uninstall-am
  596.  
  597. install-strip:
  598.     $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' INSTALL_SCRIPT='$(INSTALL_PROGRAM)' install
  599. installdirs: installdirs-recursive
  600.     $(mkinstalldirs)  $(DATADIR)$(bindir) $(DESTDIR)$(mandir)/man1 \
  601.         $(DESTDIR)$(mandir)/man4 $(DESTDIR)$(mandir)/man5
  602.  
  603.  
  604. mostlyclean-generic:
  605.     -test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
  606.  
  607. clean-generic:
  608.     -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
  609.  
  610. distclean-generic:
  611.     -rm -f Makefile $(DISTCLEANFILES)
  612.     -rm -f config.cache config.log stamp-h stamp-h[0-9]*
  613.     -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  614.  
  615. maintainer-clean-generic:
  616.     -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
  617.     -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
  618. mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
  619.         mostlyclean-libtool mostlyclean-tags \
  620.         mostlyclean-generic
  621.  
  622. clean-am:  clean-binPROGRAMS clean-compile clean-libtool clean-tags \
  623.         clean-generic mostlyclean-am
  624.  
  625. distclean-am:  distclean-binPROGRAMS distclean-compile distclean-libtool \
  626.         distclean-tags distclean-generic clean-am
  627.  
  628. maintainer-clean-am:  maintainer-clean-binPROGRAMS \
  629.         maintainer-clean-compile maintainer-clean-libtool \
  630.         maintainer-clean-tags maintainer-clean-generic \
  631.         distclean-am
  632.  
  633. mostlyclean:  mostlyclean-recursive mostlyclean-am
  634.  
  635. clean:  clean-recursive clean-am clean-local
  636.  
  637. distclean:  distclean-recursive distclean-am distclean-local
  638.     -rm -f config.status
  639.     -rm -f libtool
  640.  
  641. maintainer-clean:  maintainer-clean-recursive maintainer-clean-am \
  642.         maintainer-clean-local
  643.     @echo "This command is intended for maintainers to use;"
  644.     @echo "it deletes files that may require special tools to rebuild."
  645.     -rm -f config.status
  646.  
  647. .PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
  648. maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
  649. mostlyclean-compile distclean-compile clean-compile \
  650. maintainer-clean-compile mostlyclean-libtool distclean-libtool \
  651. clean-libtool maintainer-clean-libtool install-man1 uninstall-man1 \
  652. install-man4 uninstall-man4 install-man5 uninstall-man5 install-man \
  653. uninstall-man install-data-recursive uninstall-data-recursive \
  654. install-exec-recursive uninstall-exec-recursive installdirs-recursive \
  655. uninstalldirs-recursive all-recursive check-recursive \
  656. installcheck-recursive info-recursive dvi-recursive \
  657. mostlyclean-recursive distclean-recursive clean-recursive \
  658. maintainer-clean-recursive tags tags-recursive mostlyclean-tags \
  659. distclean-tags clean-tags maintainer-clean-tags distdir info dvi \
  660. installcheck all-am install-exec-am install-data-am uninstall-am \
  661. install-exec install-data install uninstall all installdirs \
  662. mostlyclean-generic distclean-generic clean-generic \
  663. maintainer-clean-generic clean mostlyclean distclean maintainer-clean
  664.  
  665. dist-hook:
  666.     ( \
  667.       builddir=`pwd` ; \
  668.       cd $(srcdir) && \
  669.       ( \
  670.         for dir in $(DISTDIRS) ; do \
  671.           find $$dir -depth -print | egrep -v '(~$$)' | cpio -pdum $$builddir/$(distdir) 2> /dev/null ; \
  672.         done \
  673.       ) \
  674.     )
  675.     mkdir $(distdir)/PerlMagick && \
  676.     for file in $(PLFILES) ; do \
  677.       cp -p PerlMagick/$$file $(distdir)/PerlMagick ; \
  678.     done
  679.  
  680. # If source files missing, see if they can be obtained via VPATH
  681. @WITH_PERL_TRUE@perl-sources:
  682. @WITH_PERL_TRUE@    touch perl-sources && \
  683. @WITH_PERL_TRUE@    cd $(PERLMAGICK) && \
  684. @WITH_PERL_TRUE@    ( \
  685. @WITH_PERL_TRUE@      if test -n "$(VPATH)" ; then \
  686. @WITH_PERL_TRUE@        for file in "$(VPATH)/$(PERLMAGICK)/"* ; do \
  687. @WITH_PERL_TRUE@          base=`basename $$file` ; \
  688. @WITH_PERL_TRUE@          if test ! -r $$base ; then \
  689. @WITH_PERL_TRUE@            @LN_S@ $$file . ; \
  690. @WITH_PERL_TRUE@          fi \
  691. @WITH_PERL_TRUE@        done \
  692. @WITH_PERL_TRUE@      fi ; \
  693. @WITH_PERL_TRUE@    )
  694.  
  695. @WITH_PERL_TRUE@@WITH_PERL_DYNAMIC_TRUE@$(PERLMAKEFILE): perl-sources $(PERLMAKEMAKER)
  696. @WITH_PERL_TRUE@@WITH_PERL_DYNAMIC_TRUE@    cd $(PERLMAGICK) && @PERL@ Makefile.PL
  697. @WITH_PERL_TRUE@@WITH_PERL_DYNAMIC_TRUE@all-perl: $(PERLMAKEFILE)
  698. @WITH_PERL_TRUE@@WITH_PERL_DYNAMIC_TRUE@    cd $(PERLMAGICK) && $(MAKE) $(PERLALLTARGETS)
  699.  
  700. @WITH_PERL_TRUE@@WITH_PERL_DYNAMIC_TRUE@install-exec-perl: all-perl
  701. @WITH_PERL_TRUE@@WITH_PERL_DYNAMIC_TRUE@    cd $(PERLMAGICK) && $(MAKE) install
  702.  
  703. @WITH_PERL_TRUE@@WITH_PERL_DYNAMIC_FALSE@@WITH_PERL_STATIC_TRUE@$(PERLMAKEFILE): perl-sources $(PERLMAKEMAKER)
  704. @WITH_PERL_TRUE@@WITH_PERL_DYNAMIC_FALSE@@WITH_PERL_STATIC_TRUE@    cd $(PERLMAGICK) && @PERL@ Makefile.PL MAP_TARGET=$(PERLSTATICNAME)
  705.  
  706. @WITH_PERL_TRUE@@WITH_PERL_DYNAMIC_FALSE@@WITH_PERL_STATIC_TRUE@all-perl: $(PERLMAKEFILE)
  707. @WITH_PERL_TRUE@@WITH_PERL_DYNAMIC_FALSE@@WITH_PERL_STATIC_TRUE@    cd $(PERLMAGICK) && $(MAKE) $(PERLSTATICNAME)
  708.  
  709. @WITH_PERL_TRUE@@WITH_PERL_DYNAMIC_FALSE@@WITH_PERL_STATIC_TRUE@install-exec-perl: all-perl
  710. @WITH_PERL_TRUE@@WITH_PERL_DYNAMIC_FALSE@@WITH_PERL_STATIC_TRUE@    cd $(PERLMAGICK) && $(MAKE) -f Makefile.aperl inst_perl
  711.  
  712. @WITH_PERL_TRUE@clean-perl: $(PERLMAKEFILE)
  713. @WITH_PERL_TRUE@    cd $(PERLMAGICK) && $(MAKE) clean && $(RM) -f  Makefile.old PerlMagick
  714. @WITH_PERL_TRUE@    $(RM) -f perl-sources
  715.  
  716. @WITH_PERL_TRUE@distclean-perl: clean-perl
  717.  
  718. # Satisfy makefile requirements if not building PERL
  719. @WITH_PERL_FALSE@all-perl:
  720. @WITH_PERL_FALSE@install-exec-perl:
  721. @WITH_PERL_FALSE@clean-perl:
  722. @WITH_PERL_FALSE@distclean-perl:
  723.  
  724. all-local: all-perl
  725.  
  726. # Install PerlMagick
  727. install-exec-local: install-exec-perl
  728.  
  729. # Do a make clean in PerlMagick directory 
  730. clean-local: clean-perl
  731.  
  732. # Do a make distclean in PerlMagick directory 
  733. distclean-local: distclean-perl
  734.  
  735. # Maintainer clean is just like 'distclean' for PerlMagick
  736. maintainer-clean-local: distclean-local
  737.  
  738. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  739. # Otherwise a system limit (for SysV at least) may be exceeded.
  740. .NOEXPORT:
  741.