Makefile.tmpl 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Makefile for GNU tar library.
  2. # Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003, 2004
  3. # Free Software Foundation, Inc.
  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. ## This program is distributed in the hope that it will be useful,
  9. ## but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. ## GNU General Public License for more details.
  12. ## You should have received a copy of the GNU General Public License
  13. ## along with this program; if not, write to the Free Software
  14. ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  15. ## 02111-1307, USA.
  16. noinst_LIBRARIES = libtar.a
  17. libtar_a_SOURCES = prepargs.c prepargs.h
  18. libtar_a_LIBADD = $(LIBOBJS) $(ALLOCA)
  19. libtar_a_DEPENDENCIES = $(libtar_a_LIBADD)
  20. BUILT_SOURCES =
  21. EXTRA_DIST = Makefile.tmpl
  22. MAINTAINERCLEANFILES =
  23. MOSTLYCLEANFILES =
  24. lib_OBJECTS = $(libtar_a_OBJECTS)
  25. # Special rule for getdate
  26. #
  27. # Say $(srcdir), so GNU make does not report an ambiguity with the .y.c rule.
  28. $(srcdir)/getdate.c: getdate.y
  29. cd $(srcdir) && \
  30. $(YACC) $(YFLAGS) getdate.y && \
  31. mv -f y.tab.c getdate.c
  32. # gnulib modules