libarchive_test_CPPFLAGS= -I$(top_srcdir)/libarchive -I$(top_builddir)/libarchive/test -DLIBARCHIVE_STATIC
-libarchive_test_LDADD=@PROG_LDADD_EXTRA@
-
# The "list.h" file just lists all of the tests defined in all of the sources.
# Building it automatically provides a sanity-check on libarchive_test_SOURCES
# above.
bsdtar_static=
endif
-bsdtar_LDADD= libarchive.la libarchive_fe.la @PROG_LDADD_EXTRA@
+bsdtar_LDADD= libarchive.la libarchive_fe.la
bsdtar_CPPFLAGS= -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe
bsdtar_LDFLAGS= $(bsdtar_static)
bsdtar_test_CPPFLAGS= -I$(top_builddir)/tar/test
-bsdtar_test_LDADD=@PROG_LDADD_EXTRA@
tar/test/list.h: Makefile
cat $(top_srcdir)/tar/test/test_*.c | grep DEFINE_TEST > tar/test/list.h
bsdcpio_static=
endif
-bsdcpio_LDADD= libarchive_fe.la libarchive.la @PROG_LDADD_EXTRA@
+bsdcpio_LDADD= libarchive_fe.la libarchive.la
bsdcpio_CPPFLAGS= -I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe
bsdcpio_LDFLAGS= $(bsdcpio_static)
bsdcpio_EXTRA_DIST= \
bsdcpio_test_CPPFLAGS= \
-I$(top_srcdir)/libarchive -I$(top_srcdir)/libarchive_fe \
-I$(top_srcdir)/cpio -I$(top_builddir)/cpio/test
-bsdcpio_test_LDADD=libarchive_fe.la @PROG_LDADD_EXTRA@
+bsdcpio_test_LDADD=libarchive_fe.la
cpio/test/list.h: Makefile
cat $(top_srcdir)/cpio/test/test_*.c | grep DEFINE_TEST > cpio/test/list.h
AC_PROG_LIBTOOL
AC_CHECK_TOOL([STRIP],[strip])
-#
-# Locate some specific link objects for cygwin
-#
-prog_ldadd_extra=
-case "$host_os" in
-*cygwin*)
- binmode_path=`$CC -print-file-name=binmode.o`
- if test -n "$binmode_path" && test -f "$binmode_path" ; then
- prog_ldadd_extra="$binmode_path"
- fi
- ;;
-esac
-PROG_LDADD_EXTRA=$prog_ldadd_extra
-AC_SUBST(PROG_LDADD_EXTRA)
-
#
# Options for building bsdtar.
#