home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / gnu / tar.txt / tar-1.12 / lib / Makefile.am < prev    next >
Makefile  |  1997-04-25  |  2KB  |  46 lines

  1. # Makefile for GNU tar library.
  2. # Copyright (C) 1994, 1995, 1996, 1997 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., 59 Temple Place - Suite 330, Boston, MA
  17. # 02111-1307, USA.
  18.  
  19. AUTOMAKE_OPTIONS = gnits
  20.  
  21. noinst_LIBRARIES = libtar.a
  22.  
  23. EXTRA_DIST = \
  24. alloca.c fileblocks.c fnmatch.c ftruncate.c execlp.c gmalloc.c \
  25. memset.c mkdir.c modechange.h rename.c rmdir.c stpcpy.c strstr.c
  26.  
  27. noinst_HEADERS = \
  28. argmatch.h backupfile.h error.h fnmatch.h getopt.h getdate.h getpagesize.h \
  29. pathmax.h
  30.  
  31. libtar_a_SOURCES = \
  32. argmatch.c backupfile.c error.c getdate.y getopt.c getopt1.c getversion.c \
  33. modechange.c msleep.c xgetcwd.c xmalloc.c xstrdup.c
  34.  
  35. INCLUDES = -I.. -I$(srcdir) -I../intl
  36.  
  37. libtar_a_LIBADD = @ALLOCA@ @LIBOBJS@
  38. libtar_a_DEPENDENCIES = $(libtar_a_LIBADD)
  39.  
  40. # Say $(srcdir), so GNU make does not report an ambiguity with the .y.c rule.
  41. $(srcdir)/getdate.c: getdate.y
  42.     @echo Expect 13 shift/reduce conflicts...
  43.     cd $(srcdir) && \
  44.       $(YACC) $(YFLAGS) getdate.y; \
  45.       mv -f y.tab.c getdate.c
  46.