]> Dogcows Code - chaz/tar/blobdiff - lib/Makefile.tmpl
* gnulib.modules: Add closeout, exitfial.
[chaz/tar] / lib / Makefile.tmpl
index 0806a7438ffa6234e19d7babcd69ccb1228d5869..1af1052cac1cc351ad884048f75daf97ad713b15 100644 (file)
@@ -1,6 +1,6 @@
-# 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 paxlib.h stdopen.h
+libtar_a_SOURCES = prepargs.c prepargs.h rtapelib.c paxerror.c paxexit.c paxnames.c stdopen.c
 
-libtar_a_SOURCES = prepargs.c prepargs.h
+localedir = $(datadir)/locale
+
+DISTCLEANFILES = localedir.h
+localedir.h : Makefile
+       echo '#define LOCALEDIR "$(localedir)"' >$@
+       echo "#ifndef DEFAULT_RMT_COMMAND" >> $@
+       echo "# define DEFAULT_RMT_COMMAND \"$(DEFAULT_RMT_DIR)/`echo rmt | sed '$(transform)'`$(EXEEXT)\"" >> $@
+       echo "#endif" >> $@
+
+rtapelib.o: localedir.h
 
 libtar_a_LIBADD = $(LIBOBJS) $(ALLOCA)
 libtar_a_DEPENDENCIES = $(libtar_a_LIBADD)
@@ -39,5 +50,6 @@ $(srcdir)/getdate.c: getdate.y
          $(YACC) $(YFLAGS) getdate.y && \
          mv -f y.tab.c getdate.c
 
+SUFFIXES = .o .c .h
+CLEANFILES =
 # gnulib modules
-
This page took 0.025553 seconds and 4 git commands to generate.