Makefile.am 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 = buffer.c compare.c create.c delete.c extract.c \
  22. xheader.c incremen.c list.c mangle.c misc.c names.c rtapelib.c tar.c update.c
  23. localedir = $(datadir)/locale
  24. INCLUDES = -I$(top_srcdir)/lib -I../lib
  25. DISTCLEANFILES = localedir.h
  26. localedir.h : Makefile
  27. echo '#define LOCALEDIR "$(localedir)"' >$@
  28. rmt.o tar.o : localedir.h
  29. LDADD = ../lib/libtar.a $(LIBINTL)
  30. rmt_LDADD = $(LDADD) $(LIB_SETSOCKOPT)
  31. tar_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME)