1 # Makefile for GNU tar sources.
3 # Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003 Free
4 # Software Foundation, Inc.
6 ## This program is free software; you can redistribute it and/or modify
7 ## it under the terms of the GNU General Public License as published by
8 ## the Free Software Foundation; either version 2, or (at your option)
11 ## This program is distributed in the hope that it will be useful,
12 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
13 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 ## GNU General Public License for more details.
16 ## You should have received a copy of the GNU General Public License
17 ## along with this program; if not, write to the Free Software
18 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
22 libexec_PROGRAMS = @RMT@
25 noinst_HEADERS = arith.h common.h rmt.h system.h tar.h
44 localedir = $(datadir)/locale
45 INCLUDES = -I$(top_srcdir)/lib -I../lib
47 DISTCLEANFILES = localedir.h
48 localedir.h : Makefile
49 echo '#define LOCALEDIR "$(localedir)"' >$@
50 rmt.o tar.o : localedir.h
52 LDADD = ../lib/libtar.a $(LIBINTL)
54 rmt_LDADD = $(LDADD) $(LIB_SETSOCKOPT)
55 tar_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME)