X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2FMakefile.am;h=46b6fa832b249f01675c745f2edba744409a6ec4;hb=1cdb7823ae6f6c4a627cd8879f8b2ea2a29db7e6;hp=0e813f3382c4e7ad2106a3c8879c87dcf3d225fa;hpb=da3f3e0b3ba1a283787845d1553c5bb1a096533f;p=chaz%2Ftar diff --git a/src/Makefile.am b/src/Makefile.am index 0e813f3..46b6fa8 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -15,16 +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 -rmtdir=$(DEFAULT_RMT_DIR) -rmt_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\ @@ -37,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 \"$(rmtdir)/`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)