1# Makefile for GNU tar sources.
2
3# Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003, 2006
4# Free Software Foundation, Inc.
5
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)
9## any later version.
10
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.
15
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., 51 Franklin Street, Fifth Floor, Boston, MA
19## 02110-1301, USA.
20
21bin_PROGRAMS = tar
22
23noinst_HEADERS = arith.h common.h tar.h
24tar_SOURCES = \
25 buffer.c\
26 compare.c\
27 create.c\
28 delete.c\
29 extract.c\
30 xheader.c\
31 incremen.c\
32 list.c\
33 misc.c\
34 names.c\
35 sparse.c\
36 system.c\
37 tar.c\
38 transform.c\
39 update.c\
40 utf8.c
41
42INCLUDES = -I$(top_srcdir)/lib -I../ -I../lib
43
44LDADD = ../lib/libtar.a $(LIBINTL) $(LIBICONV)
45
46tar_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME)
47