4
0

Makefile.am 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Makefile for GNU tar library.
  2. # Copyright (C) 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
  3. # This program is free software; you can redistribute it and/or modify
  4. # it under the terms of the GNU General Public License as published by
  5. # the Free Software Foundation; either version 2, or (at your option)
  6. # any later version.
  7. # This program is distributed in the hope that it will be useful,
  8. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. # GNU General Public License for more details.
  11. # You should have received a copy of the GNU General Public License
  12. # along with this program; if not, write to the Free Software
  13. # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  14. # 02111-1307, USA.
  15. AUTOMAKE_OPTIONS = gnits
  16. noinst_LIBRARIES = libtar.a
  17. EXTRA_DIST = \
  18. alloca.c fileblocks.c fnmatch.c ftruncate.c execlp.c gmalloc.c \
  19. memset.c mkdir.c modechange.h rename.c rmdir.c stpcpy.c strstr.c
  20. noinst_HEADERS = \
  21. argmatch.h backupfile.h error.h fnmatch.h getopt.h getdate.h getpagesize.h \
  22. pathmax.h
  23. libtar_a_SOURCES = \
  24. argmatch.c backupfile.c error.c getdate.y getopt.c getopt1.c getversion.c \
  25. modechange.c msleep.c xgetcwd.c xmalloc.c xstrdup.c
  26. INCLUDES = -I.. -I$(srcdir) -I../intl
  27. libtar_a_LIBADD = @ALLOCA@ @LIBOBJS@
  28. libtar_a_DEPENDENCIES = $(libtar_a_LIBADD)
  29. # Say $(srcdir), so GNU make does not report an ambiguity with the .y.c rule.
  30. $(srcdir)/getdate.c: getdate.y
  31. @echo Expect 13 shift/reduce conflicts...
  32. cd $(srcdir) && \
  33. $(YACC) $(YFLAGS) getdate.y; \
  34. mv -f y.tab.c getdate.c