home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / gnu / find-3.8-src.lha / src / build / find-3.8 / lib / Makefile
Makefile  |  1994-02-23  |  2KB  |  76 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # Makefile for library files used by GNU find, xargs, and locate.
  3. # Do not use this makefile directly, but only from `../Makefile'.
  4. # Copyright (C) 1990 Free Software Foundation, Inc.
  5.  
  6. # This program is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU General Public License as published by
  8. # the Free Software Foundation; either version 2, or (at your option)
  9. # any later version.
  10.  
  11. # This program is distributed in the hope that it will be useful,
  12. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. # GNU General Public License for more details.
  15.  
  16. # You should have received a copy of the GNU General Public License
  17. # along with this program; if not, write to the Free Software
  18. # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  
  20. SHELL = /bin/sh
  21.  
  22. srcdir = /ISO/find/find-3.8-amiga/lib
  23. VPATH = /ISO/find/find-3.8-amiga/lib
  24.  
  25. SOURCES = dirname.c error.c filemode.c getopt.c getopt1.c idcache.c \
  26. listfile.c modechange.c nextelem.c regex.c savedir.c xmalloc.c \
  27. xstrdup.c fnmatch.c fileblocks.c memset.c stpcpy.c strdup.c strftime.c \
  28. strspn.c strstr.c strtol.c alloca.c
  29.  
  30. OBJECTS = dirname.o error.o filemode.o getopt.o getopt1.o idcache.o \
  31. listfile.o modechange.o nextelem.o regex.o savedir.o xmalloc.o \
  32. xstrdup.o fnmatch.o  stpcpy.o 
  33.  
  34. DISTFILES = Makefile.in \
  35. fnmatch.h getopt.h modechange.h modetype.h pathmax.h regex.h wait.h $(SOURCES)
  36.  
  37. all: libfind.a
  38.  
  39. .c.o:
  40.     $(CC) -c $(CFLAGS) $(CPPFLAGS) $(DEFS) -I$(srcdir) $<
  41.  
  42. install: all
  43.  
  44. uninstall:
  45.  
  46. TAGS: $(SOURCES)
  47.     etags $(SOURCES)
  48.  
  49. clean:
  50.     rm -f *.a *.o
  51.  
  52. mostlyclean: clean
  53.  
  54. distclean: clean
  55.     rm -f Makefile
  56.  
  57. realclean: distclean
  58.     rm -f TAGS
  59.  
  60. dist:
  61.     -ln $(DISTFILES) ../`cat ../.fname`/lib
  62.     test -f ../`cat ../.fname`/lib/fnmatch.c || cp -p fnmatch.[ch] ../`cat ../.fname`/lib
  63.  
  64. libfind.a: $(OBJECTS)
  65.     rm -f $@
  66.     $(AR) cr $@ $(OBJECTS)
  67.     -$(RANLIB) $@
  68.  
  69. fnmatch.o: fnmatch.h
  70. getopt1.o: getopt.h
  71. modechange.o: modechange.h
  72. regex.o: regex.h
  73.  
  74. # Prevent GNU make v3 from overflowing arg limit on SysV.
  75. .NOEXPORT:
  76.