X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FMakefile.am;h=46b6fa832b249f01675c745f2edba744409a6ec4;hb=120e96c480fbfc5fa31fba0f59ba1a45953b838e;hp=c391c3a0cec2e9c8ac2267e1d238d8b63f0313f0;hpb=898dc536c6237f37e87510e25bbf18fd08f4f545;p=chaz%2Ftar diff --git a/src/Makefile.am b/src/Makefile.am index c391c3a..46b6fa8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -15,15 +15,12 @@ ## 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. bin_PROGRAMS = tar -libexec_PROGRAMS = @RMT@ -EXTRA_PROGRAMS = rmt -noinst_HEADERS = arith.h common.h rmt.h system.h tar.h -rmt_SOURCES = rmt.c +noinst_HEADERS = arith.h common.h tar.h tar_SOURCES = \ buffer.c\ compare.c\ @@ -36,26 +33,16 @@ tar_SOURCES = \ mangle.c\ misc.c\ names.c\ - rtapelib.c\ sparse.c\ system.c\ tar.c\ update.c\ utf8.c -localedir = $(datadir)/locale -INCLUDES = -I$(top_srcdir)/lib -I../lib +INCLUDES = -I$(top_srcdir)/lib -I../ -I../lib -DISTCLEANFILES = localedir.h -localedir.h : Makefile - echo '#define LOCALEDIR "$(localedir)"' >$@ - echo "#ifndef DEFAULT_RMT_COMMAND" >> $@ - echo "# define DEFAULT_RMT_COMMAND \"$(libexecdir)/`echo \"rmt\" | sed 's,^.*/,,;$(transform)'`$(EXEEXT)\"" >> $@ - echo "#endif" >> $@ +tar.o: ../lib/localedir.h -rmt.o tar.o : localedir.h +LDADD = ../lib/libtar.a $(LIBINTL) $(LIBICONV) -LDADD = ../lib/libtar.a $(LIBINTL) - -rmt_LDADD = $(LDADD) $(LIB_SETSOCKOPT) tar_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME)