X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=lib%2FMakefile.tmpl;h=03fc1064831e488d27ff78e12a70b794452534ac;hb=271ed97494af6cbc0f6f83ed477afa8154e9ec23;hp=7cd4e88b4a72d1ed4fe817038199f2aab736f703;hpb=7347b4f5d51c15bb19637ea52e9bf7dff832cc52;p=chaz%2Ftar diff --git a/lib/Makefile.tmpl b/lib/Makefile.tmpl index 7cd4e88..03fc106 100644 --- a/lib/Makefile.tmpl +++ b/lib/Makefile.tmpl @@ -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 @@ -28,9 +28,11 @@ 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 's,^.*/,,;$(transform)'`$(EXEEXT)\"" >> $@ + 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) @@ -48,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 -