home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 9 / FreshFishVol9-CD2.bin / bbs / gnu / findutils-4.1-src.lha / findutils-4.1 / xargs / Makefile.in < prev    next >
Encoding:
Makefile  |  1994-11-17  |  4.3 KB  |  160 lines

  1. # Makefile.in generated automatically by automake from Makefile.am.
  2. # Copyright (C) 1994 Free Software Foundation, Inc.
  3.  
  4. # This program is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation; either version 2, or (at your option)
  7. # any later version.
  8.  
  9. # This program is distributed in the hope that it will be useful,
  10. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  12. # GNU General Public License for more details.
  13.  
  14. # You should have received a copy of the GNU General Public License
  15. # along with this program; if not, write to the Free Software
  16. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  17.  
  18. SHELL = /bin/sh
  19.  
  20. srcdir = @srcdir@
  21. top_srcdir = @top_srcdir@
  22. VPATH = @srcdir@
  23. prefix = @prefix@
  24. exec_prefix = @exec_prefix@
  25.  
  26. bindir = $(exec_prefix)/bin
  27. sbindir = $(exec_prefix)/sbin
  28. datadir = $(prefix)/share
  29. sysconfdir = $(prefix)/etc
  30. sharedstatedir = $(prefix)/com
  31. # Put this in /local, since $(prefix) might be on read-only media. -fnf
  32. localstatedir = /local/var
  33. libdir = $(exec_prefix)/lib
  34. # It seems hokey to me to have the libexec dir visible at what is the
  35. # equivalent of the root directory, so put it under libdir instead.  -fnf
  36. libexecdir = $(libdir)/libexec
  37. infodir = $(prefix)/info
  38. mandir = $(prefix)/man
  39. includedir = $(prefix)/include
  40. oldincludedir = /usr/include
  41.  
  42. INSTALL = @INSTALL@
  43. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  44. INSTALL_DATA = @INSTALL_DATA@
  45. transform = @program_transform_name@
  46.  
  47. ALL = ${PROGRAMS} ${LIBPROGRAMS} ${SCRIPTS} ${LIBSCRIPTS} ${LIBFILES}
  48. CC = @CC@
  49. LEX = @LEX@
  50. YACC = @YACC@
  51. ANSI2KNR = ./ansi2knr
  52.  
  53. DEFS = @DEFS@
  54. CPPFLAGS = @CPPFLAGS@
  55. CFLAGS = @CFLAGS@
  56. LDFLAGS = @LDFLAGS@
  57. LIBS = @LIBS@
  58.  
  59. xargs_SOURCES = xargs.c
  60. xargs_OBJECTS = xargs.o
  61. NROFF = nroff
  62.  
  63. SOURCES =  xargs.c
  64. DIST_CONF = Makefile.am Makefile.in
  65. DIST_FILES = $(DIST_CONF) $(SOURCES) $(TEXINFOS) $(INFOS) $(MANS) $(DIST_OTHER)
  66.  
  67. PROGRAMS = xargs
  68. MANS = xargs.1
  69. INCLUDES = -I.. -I$(top_srcdir)/lib
  70. LDADD = ../find/version.o ../lib/libfind.a
  71. CONFIG_HEADER = ../config.h
  72.  
  73. all:: ${ALL}
  74.  
  75. .c.o:
  76.     $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $<
  77.  
  78. $(xargs_OBJECTS): ../config.h
  79. install:: install-programs
  80.  
  81. install-programs: $(PROGRAMS) $(SCRIPTS)
  82.     $(top_srcdir)/mkinstalldirs $(bindir)
  83.     for p in $(PROGRAMS) $(SCRIPTS); do \
  84.       $(INSTALL_PROGRAM) $$p $(bindir)/`echo $$p|sed '$(transform)'`; \
  85.     done
  86.  
  87. uninstall:: uninstall-programs
  88.  
  89. uninstall-programs:
  90.     for p in $(PROGRAMS) $(SCRIPTS); do \
  91.       rm -f $(bindir)/`echo $$p|sed '$(transform)'`; \
  92.     done
  93.  
  94. xargs: $(xargs_OBJECTS)
  95.     $(CC) -o $@ $(xargs_OBJECTS) $(LDADD) $(LDFLAGS) $(LIBS)
  96.  
  97. install:: install-man
  98.  
  99. install-man:
  100.     for man in $(MANS); do \
  101.       sect=`echo $$man|sed 's%.*\.\([0-9][a-z]*\)$$%\1%'`; \
  102.       inst=`basename $$man $$sect|sed '$(transform)'`$$sect; \
  103.       mdir=$(mandir)/man$$sect; \
  104.       $(top_srcdir)/mkinstalldirs $$mdir; \
  105.       echo installing $$man as $$mdir/$$inst; \
  106.       $(INSTALL_DATA) $(srcdir)/$$man $$mdir/$$inst; \
  107.       cdir=$(mandir)/cat$$sect; \
  108.       if test -d $$cdir; then \
  109.         echo formatting $$man as $$cdir/$$inst; \
  110.         $(NROFF) -man $(srcdir)/$$man > $$cdir/$$inst; \
  111.       fi; \
  112.     done
  113.  
  114. uninstall:: uninstall-man
  115.  
  116. uninstall-man:
  117.     for man in $(MANS); do \
  118.       sect=`echo $$man|sed 's%.*\(\.[0-9][a-z]*\)$$%\1%'; \
  119.       inst=`basename $$man $sect|sed '$(transform)'`.$$sect; \
  120.       mdir=$(mandir)/man$$sect; \
  121.       cdir=$(mandir)/cat$$sect; \
  122.       rm -f $$mdir/$$inst $$cdir/$$inst; \
  123.     done
  124.  
  125. mostlyclean:
  126.     rm -f *.o core
  127.  
  128. clean: mostlyclean
  129.     rm -f $(PROGRAMS) $(LIBPROGRAMS) $(LIBFILES) $(TEXFILES) $(CLEANFILES)
  130.  
  131. distclean: clean
  132.     rm -f Makefile *.tab.c $(DISTCLEANFILES)
  133.     rm -f config.cache config.log config.status ${CONFIG_HEADER} stamp-h
  134.  
  135. realclean: distclean
  136.     rm -f TAGS $(INFOS)
  137.  
  138. dist: $(DIST_FILES) $(DIST_DIRS)
  139.     -mkdir ../`cat ../distname`/$(subdir)
  140.     @for file in $(DIST_FILES); do \
  141.       echo linking $$file; \
  142.       ln $(srcdir)/$$file ../`cat ../distname`/$(subdir)/$$file || \
  143.         { echo copying $$file instead; cp -p $(srcdir)/$$file ../`cat ../distname`/$(subdir)/$$file;}; \
  144.     done
  145.  
  146. check dvi info install uninstall::
  147.  
  148. tags:: TAGS
  149.  
  150. TAGS::
  151.     cd $(srcdir); etags $(SOURCES)
  152.  
  153. # Tell versions [3.59,3.63) of GNU make to not export all variables.
  154. # Otherwise a system limit (for SysV at least) may be exceeded.
  155. .NOEXPORT:
  156.  
  157. $(PROGRAMS): ../find/version.o ../lib/libfind.a
  158.  
  159. xargs.o: ../lib/wait.h
  160.