Makefile.am 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # Makefile for GNU tar sources.
  2. # Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003 Free
  3. # 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. bin_PROGRAMS = tar
  17. libexec_PROGRAMS = @RMT@
  18. EXTRA_PROGRAMS = rmt
  19. noinst_HEADERS = arith.h common.h rmt.h system.h tar.h
  20. rmt_SOURCES = rmt.c
  21. tar_SOURCES = \
  22. buffer.c\
  23. compare.c\
  24. create.c\
  25. delete.c\
  26. extract.c\
  27. xheader.c\
  28. incremen.c\
  29. list.c\
  30. mangle.c\
  31. misc.c\
  32. names.c\
  33. rtapelib.c\
  34. sparse.c\
  35. system.c\
  36. tar.c\
  37. update.c
  38. localedir = $(datadir)/locale
  39. INCLUDES = -I$(top_srcdir)/lib -I../lib
  40. DISTCLEANFILES = localedir.h
  41. localedir.h : Makefile
  42. echo '#define LOCALEDIR "$(localedir)"' >$@
  43. rmt.o tar.o : localedir.h
  44. LDADD = ../lib/libtar.a $(LIBINTL)
  45. rmt_LDADD = $(LDADD) $(LIB_SETSOCKOPT)
  46. tar_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME)