-# Makefile for GNU tar library.
+# Makefile for GNU tar library. -*- Makefile -*-
-# Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003, 2004
+# Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003, 2004, 2005
# Free Software Foundation, Inc.
## This program is free software; you can redistribute it and/or modify
## You should have received a copy of the GNU General Public License
## along with this program; if not, write to the Free Software
-## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
-## 02111-1307, USA.
+## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+## 02110-1301, USA.
noinst_LIBRARIES = libtar.a
-noinst_HEADERS = system.h localedir.h rmt.h
-libtar_a_SOURCES = prepargs.c prepargs.h rtapelib.c
+noinst_HEADERS = system.h localedir.h rmt.h paxlib.h stdopen.h
+libtar_a_SOURCES = prepargs.c prepargs.h rtapelib.c paxerror.c paxexit.c paxnames.c stdopen.c
localedir = $(datadir)/locale
localedir.h : Makefile
echo '#define LOCALEDIR "$(localedir)"' >$@
echo "#ifndef DEFAULT_RMT_COMMAND" >> $@
- echo "# define DEFAULT_RMT_COMMAND \"$(DEFAULT_RMT_DIR)/`echo \"rmt\" | sed 's,^.*/,,;$(transform)'`$(EXEEXT)\"" >> $@
+ echo "# define DEFAULT_RMT_COMMAND \"$(DEFAULT_RMT_DIR)/`echo rmt | sed '$(transform)'`$(EXEEXT)\"" >> $@
echo "#endif" >> $@
rtapelib.o: localedir.h
$(YACC) $(YFLAGS) getdate.y && \
mv -f y.tab.c getdate.c
+SUFFIXES = .o .c .h
+CLEANFILES =
# gnulib modules
-