home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 1 / FFMCD01.bin / useful / dist / gnu / textutils / build / lib / makefile
Encoding:
Makefile  |  1993-09-26  |  1.8 KB  |  71 lines

  1. # Generated automatically from Makefile.in by configure.
  2. # Makefile for library files used by GNU textutils.
  3. # Do not use this makefile directly, but only from `../Makefile'.
  4. # Copyright (C) 1991 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 = .
  23. VPATH = .
  24.  
  25. SOURCES = error.c getopt.c getopt1.c linebuffer.c regex.c xmalloc.c \
  26. xwrite.c bcopy.c memchr.c memcmp.c memset.c stpcpy.c \
  27. strtol.c strtoul.c alloca.c
  28.  
  29. # Always link in the fast GNU memchr; it speeds up sort, especially on HP-UX.
  30. OBJECTS =  error.o getopt.o getopt1.o linebuffer.o regex.o xmalloc.o \
  31. xwrite.o memchr.o  bcopy.o stpcpy.o 
  32.  
  33. DISTFILES = Makefile.in getopt.h linebuffer.h regex.h $(SOURCES)
  34.  
  35. all: libtu.a
  36.  
  37. .c.o:
  38.     $(CC) -c $(DEFS) -I$(srcdir) $(CPPFLAGS) $(CFLAGS) $<
  39.  
  40. install: all
  41.  
  42. uninstall:
  43.  
  44. TAGS: $(SOURCES)
  45.     etags $(SOURCES)
  46.  
  47. clean:
  48.     rm -f *.a *.o
  49.  
  50. mostlyclean: clean
  51.  
  52. distclean: clean
  53.     rm -f Makefile
  54.  
  55. realclean: distclean
  56.     rm -f TAGS
  57.  
  58. dist:
  59.     ln $(DISTFILES) ../`cat ../.fname`/lib
  60.  
  61. libtu.a: $(OBJECTS)
  62.     rm -f $@
  63.     $(AR) cr $@ $(OBJECTS)
  64.     -$(RANLIB) $@
  65.  
  66. getopt1.o: getopt.h
  67. regex.o: regex.h
  68.  
  69. # Prevent GNU make v3 from overflowing arg limit on SysV.
  70. .NOEXPORT:
  71.