1 # Makefile for GNU tar sources.
2 # Copyright (C) 1994, 1995, 1996, 1997 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)
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
19 AUTOMAKE_OPTIONS = gnits ansi2knr
21 libexec_PROGRAMS = @RMT@
24 noinst_HEADERS = arith.h common.h rmt.h system.h tar.h
26 tar_SOURCES = arith.c buffer.c compare.c create.c delete.c extract.c \
27 incremen.c list.c mangle.c misc.c names.c open3.c rtapelib.c tar.c update.c
29 INCLUDES = -I../intl -I$(top_srcdir)/lib
30 LDADD = ../lib/libtar.a @INTLLIBS@
31 localedir = $(prefix)/@DATADIRNAME@/locale
34 $(COMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(srcdir)/tar.c
39 $(COMPILE) -DLOCALEDIR=\"$(localedir)\" -c _tar.c
44 $(COMPILE) -DLOCALEDIR=\"$(localedir)\" -c $(srcdir)/rmt.c
49 $(COMPILE) -DLOCALEDIR=\"$(localedir)\" -c _rmt.c