home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / txtut122.zip / textutil / Makefile.os2 < prev    next >
Makefile  |  1998-04-11  |  9KB  |  301 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # Makefile.in generated automatically by automake 1.1l from Makefile.am
  3.  
  4. # Copyright (C) 1994, 1995, 1996 Free Software Foundation, Inc.
  5. # This Makefile.in is free software; the Free Software Foundation
  6. # gives unlimited permission to copy, distribute and modify it.
  7.  
  8.  
  9. SHELL = /bin/sh
  10.  
  11. srcdir = .
  12. top_srcdir = .
  13. prefix = /usr/local
  14. exec_prefix = ${prefix}
  15.  
  16. bindir = ${exec_prefix}/bin
  17. sbindir = ${exec_prefix}/sbin
  18. libexecdir = ${exec_prefix}/libexec
  19. datadir = ${prefix}/share
  20. sysconfdir = ${prefix}/etc
  21. sharedstatedir = ${prefix}/com
  22. localstatedir = ${prefix}/var
  23. libdir = ${exec_prefix}/lib
  24. infodir = ${prefix}/info
  25. mandir = ${prefix}/man
  26. includedir = ${prefix}/include
  27. oldincludedir = /usr/include
  28.  
  29. pkgdatadir = $(datadir)/textutils
  30. pkglibdir = $(libdir)/textutils
  31. pkgincludedir = $(includedir)/textutils
  32.  
  33. top_builddir = .
  34.  
  35. INSTALL = ./install-sh -c
  36. INSTALL_PROGRAM = ${INSTALL}
  37. INSTALL_DATA = ${INSTALL} -m 644
  38. INSTALL_SCRIPT = ${INSTALL_PROGRAM}
  39. transform = s,x,x,
  40. RANLIB = :
  41. GENCAT = 
  42. PERL = 
  43. GMSGFMT = msgfmt
  44. CC = gcc
  45.  
  46. AUTOMAKE_OPTIONS = gnits 1.1k
  47.  
  48. SUBDIRS = lib src doc man 
  49.  
  50. acdir = m4
  51. ACLOCAL = $(top_srcdir)/aclocal.m4
  52. CONFIG_HEADER_IN = config.h.in
  53. mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  54. CONFIG_HEADER = config.h
  55. CONFIG_CLEAN_FILES = 
  56. DIST_COMMON =  README ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL \
  57. Makefile.am Makefile.in NEWS README THANKS TODO acconfig.h aclocal.m4 \
  58. config.h.in configure configure.in install-sh mkinstalldirs stamp-h.in
  59.  
  60.  
  61. PACKAGE = textutils
  62. VERSION = 1.22
  63.  
  64. DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) \
  65.     $(TEXINFOS) $(MANS) $(EXTRA_DIST)
  66.  
  67. TAR = tar
  68. default: all
  69.  
  70. .SUFFIXES:
  71. $(srcdir)/Makefile.in: #M# Makefile.am $(top_srcdir)/configure.in $(ACLOCAL) 
  72.     cd $(top_srcdir) && automake --gnits Makefile
  73.  
  74. Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
  75.     cd $(top_builddir) \
  76.       && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
  77.  
  78. $(srcdir)/aclocal.m4: #M#configure.in
  79.     cd $(srcdir) && aclocal
  80.  
  81. config.status: configure
  82.     $(SHELL) ./config.status --recheck
  83. $(srcdir)/configure: #M#configure.in $(ACLOCAL) $(CONFIGURE_DEPENDENCIES)
  84.     cd $(srcdir) && autoconf
  85.  
  86. $(CONFIG_HEADER): stamp-h
  87. stamp-h: $(CONFIG_HEADER_IN) $(top_builddir)/config.status
  88.     cd $(top_builddir) \
  89.       && CONFIG_FILES= CONFIG_HEADERS=$(CONFIG_HEADER) \
  90.          $(SHELL) ./config.status
  91.     @echo timestamp > stamp-h
  92. $(srcdir)/$(CONFIG_HEADER_IN): #M#stamp-h.in
  93. $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL) acconfig.h
  94.     cd $(top_srcdir) && autoheader
  95.     echo timestamp > $(srcdir)/stamp-h.in
  96.  
  97. mostlyclean-hdr:
  98.  
  99. clean-hdr:
  100.  
  101. distclean-hdr:
  102.     rm -f $(CONFIG_HEADER)
  103.  
  104. maintainer-clean-hdr:
  105.  
  106. # This directory's subdirectories are mostly independent; you can cd
  107. # into them and run `make' without going through this Makefile.
  108. # To change the values of `make' variables: instead of editing Makefiles,
  109. # (1) if the variable is set in `config.status', edit `config.status'
  110. #     (which will cause the Makefiles to be regenerated when you run `make');
  111. # (2) otherwise, pass the desired values on the `make' command line.
  112.  
  113. MAKE=make
  114.  
  115. all-recursive install-data-recursive install-exec-recursive \
  116. installdirs-recursive install-recursive uninstall-recursive  \
  117. check-recursive installcheck-recursive info-recursive dvi-recursive \
  118. mostlyclean-recursive clean-recursive distclean-recursive \
  119. maintainer-clean-recursive:
  120.     @for subdir in $(SUBDIRS); do \
  121.       target=`echo $@ | sed s/-recursive//`; \
  122.       echo "Making $$target in $$subdir"; \
  123.       (cd $$subdir && $(MAKE) $$target) \
  124.        || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
  125.     done && test -z "$$fail"
  126. tags-recursive:
  127.     list="$(SUBDIRS)"; for subdir in $$list; do \
  128.       (cd $$subdir && $(MAKE) tags); \
  129.     done
  130. tags: TAGS
  131. TAGS:
  132.  
  133.  
  134. distdir = $(PACKAGE)-$(VERSION)
  135. # This target untars the dist file and tries a VPATH configuration.  Then
  136. # it guarantees that the distribution is self-contained by making another
  137. # tarfile.
  138. distcheck: dist
  139.     rm -rf $(distdir)
  140.     $(TAR) zxf $(distdir).tar.gz
  141.     mkdir $(distdir)/=build
  142.     mkdir $(distdir)/=inst
  143.     dc_install_base=`cd $(distdir)/=inst && pwd`; \
  144.     cd $(distdir)/=build \
  145.       && ../configure --with-included-gettext --srcdir=.. --prefix=$$dc_install_base \
  146.       && $(MAKE) \
  147.       && $(MAKE) dvi \
  148.       && $(MAKE) check \
  149.       && $(MAKE) install \
  150.       && $(MAKE) installcheck \
  151.       && $(MAKE) dist \
  152.       && $(MAKE) distclean
  153.     rm -rf $(distdir)/=build $(distdir)/=inst
  154.     rm -rf ./=dist
  155.     mkdir ./=dist && cd ./=dist && $(TAR) zxf ../$(distdir).tar.gz
  156.     diff -ur ./=dist/$(distdir) $(distdir)
  157.     rm -rf $(distdir) ./=dist
  158.     @echo "========================"; \
  159.     echo "$(distdir).tar.gz is ready for distribution"; \
  160.     echo "========================"
  161. dist: distdir
  162.     -chmod -R a+r $(distdir)
  163.     $(TAR) chozf $(distdir).tar.gz $(distdir)
  164.     rm -rf $(distdir)
  165. dist-all: distdir
  166.     -chmod -R a+r $(distdir)
  167.     $(TAR) chozf $(distdir).tar.gz $(distdir)
  168.     rm -rf $(distdir)
  169. distdir: $(DISTFILES)
  170.     @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" > /dev/null; then :; else \
  171.       echo "NEWS not updated; not releasing" 1>&2; \
  172.       exit 1; \
  173.     fi
  174.     rm -rf $(distdir)
  175.     mkdir $(distdir)
  176.     -chmod 755 $(distdir)
  177.     @for file in $(DISTFILES); do \
  178.       d=$(srcdir); \
  179.       test -f $(distdir)/$$file \
  180.       || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
  181.       || cp -p $$d/$$file $(distdir)/$$file; \
  182.     done
  183.     for subdir in $(SUBDIRS); do        \
  184.       test -d $(distdir)/$$subdir        \
  185.       || mkdir $(distdir)/$$subdir        \
  186.       || exit 1;                \
  187.       chmod 755 $(distdir)/$$subdir;    \
  188.       (cd $$subdir && $(MAKE) distdir=../$(distdir)/$$subdir distdir) \
  189.         || exit 1; \
  190.     done
  191. info: info-recursive
  192. dvi: dvi-recursive
  193. check: all-am
  194.     $(MAKE) check-recursive
  195. installcheck: installcheck-recursive
  196. all-recursive-am: $(CONFIG_HEADER)
  197.     $(MAKE) all-recursive
  198.  
  199. all-am: Makefile config.h
  200.  
  201. install-exec: install-exec-recursive
  202.     $(NORMAL_INSTALL)
  203.  
  204. install-data: install-data-recursive
  205.     $(NORMAL_INSTALL)
  206.  
  207. install: install-recursive
  208.     @:
  209.  
  210. uninstall: uninstall-recursive
  211.  
  212. all: all-recursive-am all-am
  213.  
  214. install-strip:
  215.     $(MAKE) INSTALL_PROGRAM='$(INSTALL_PROGRAM) -s' install
  216. installdirs: installdirs-recursive
  217.  
  218.  
  219. mostlyclean-generic:
  220.     test -z "$(MOSTLYCLEANFILES)" || rm -f $(MOSTLYCLEANFILES)
  221.  
  222. clean-generic:
  223.     test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
  224.  
  225. distclean-generic:
  226.     rm -f Makefile $(DISTCLEANFILES)
  227.     rm -f config.cache config.log stamp-h
  228.     test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  229.  
  230. maintainer-clean-generic:
  231.     test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
  232.     test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
  233. mostlyclean-am:  mostlyclean-hdr mostlyclean-generic
  234.  
  235. clean-am:  clean-hdr clean-generic mostlyclean-am
  236.  
  237. distclean-am:  distclean-hdr distclean-generic clean-am
  238.  
  239. maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-generic \
  240.         distclean-am
  241.  
  242. mostlyclean:  mostlyclean-am mostlyclean-recursive
  243.  
  244. clean:  clean-am clean-recursive
  245.  
  246. distclean:  distclean-am distclean-recursive
  247.     rm -f config.status
  248.  
  249. maintainer-clean:  maintainer-clean-am maintainer-clean-recursive
  250.     @echo "This command is intended for maintainers to use;"
  251.     @echo "it deletes files that may require special tools to rebuild."
  252.     rm -f config.status
  253.  
  254. .PHONY: default mostlyclean-hdr distclean-hdr clean-hdr \
  255. maintainer-clean-hdr install-data-recursive uninstall-data-recursive \
  256. install-exec-recursive uninstall-exec-recursive installdirs-recursive \
  257. uninstalldirs-recursive all-recursive check-recursive \
  258. installcheck-recursive info-recursive dvi-recursive \
  259. mostlyclean-recursive distclean-recursive clean-recursive \
  260. maintainer-clean-recursive tags tags-recursive distdir info dvi \
  261. installcheck all-recursive-am all-am install-exec install-data install \
  262. uninstall all installdirs mostlyclean-generic distclean-generic \
  263. clean-generic maintainer-clean-generic clean mostlyclean distclean \
  264. maintainer-clean
  265.  
  266.  
  267. maintainer-check:
  268.  
  269. # Tag before making distribution.  Also, don't make a distribution if
  270. # checks fail.  Also, make sure the NEWS file is up-to-date.
  271. cvs-dist: maintainer-check
  272.     pkg=`echo "textutils" | tr a-z A-Z`; \
  273.     ver=`echo "1.22" | sed 's/\./_/g'`; \
  274.     tag="$$pkg-$$ver"; \
  275.     echo tag=$$tag; \
  276.     if cvs -n log -h README| grep -e $$tag > /dev/null; then \
  277.       echo "VERSION not new; not releasing" 1>&2; \
  278.       exit 1; \
  279.     else :; \
  280.     fi; \
  281.     cvs tag -c $$tag
  282.     $(MAKE) dist
  283. #M#aclocal-files: configure.in
  284. #M#    echo 'acfiles = \' > $@-tmp
  285. #M#    find $(acdir) -type f -name '*.m4' -print        \
  286. #M#      | sed 's!^!$(top_srcdir)/!'                \
  287. #M#      | tr '\012' ' '                    \
  288. #M#      >> $@-tmp
  289. #M#    echo >> $@-tmp
  290. #M#    mv $@-tmp $@
  291.  
  292. #M#include aclocal-files
  293.  
  294. #M## Override default rule to use --acdir option
  295. #M#$(srcdir)/aclocal.m4: configure.in $(acfiles)
  296. #M#    cd $(srcdir) && aclocal --acdir=$(acdir)
  297.  
  298. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  299. # Otherwise a system limit (for SysV at least) may be exceeded.
  300. .NOEXPORT:
  301.