X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Ftar;a=blobdiff_plain;f=src%2FMakefile.am;h=fa24b94b093cc2ba46d282cb1d1c2f6025ee1c9d;hp=8174e0c34dd729bfdb8395a87b0b971385287623;hb=45ccda119355a1087450039a250359c1d0de0d08;hpb=18ef8acac57d9af27d42b11925c8767470976be9 diff --git a/src/Makefile.am b/src/Makefile.am index 8174e0c..fa24b94 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,56 +1,53 @@ # Makefile for GNU tar sources. -# Copyright (C) 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2003 Free +# Copyright 1994-1997, 1999-2001, 2003, 2006-2007, 2009, 2013-2014 Free # Software Foundation, Inc. -## This program is free software; you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation; either version 2, or (at your option) -## any later version. +# This file is part of GNU tar. -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. +# GNU tar is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. -## 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. +# GNU tar is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. + +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . 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 xattrs.h tar_SOURCES = \ buffer.c\ + checkpoint.c\ compare.c\ create.c\ delete.c\ + exit.c\ extract.c\ xheader.c\ incremen.c\ list.c\ - mangle.c\ misc.c\ names.c\ - rtapelib.c\ sparse.c\ + suffix.c\ system.c\ tar.c\ - update.c - -localedir = $(datadir)/locale -INCLUDES = -I$(top_srcdir)/lib -I../lib + transform.c\ + unlink.c\ + update.c\ + utf8.c\ + warning.c\ + xattrs.c -DISTCLEANFILES = localedir.h -localedir.h : Makefile - echo '#define LOCALEDIR "$(localedir)"' >$@ -rmt.o tar.o : localedir.h +AM_CPPFLAGS = -I$(top_srcdir)/gnu -I../ -I../gnu -I$(top_srcdir)/lib -I../lib +AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) -LDADD = ../lib/libtar.a $(LIBINTL) +LDADD = ../lib/libtar.a ../gnu/libgnu.a $(LIBINTL) $(LIBICONV) -rmt_LDADD = $(LDADD) $(LIB_SETSOCKOPT) -tar_LDADD = $(LDADD) $(LIB_CLOCK_GETTIME) +tar_LDADD = $(LIBS) $(LDADD) $(LIB_CLOCK_GETTIME) $(LIB_EACCESS) $(LIB_SELINUX)