diff --git a/examples/Makefile.in b/examples/Makefile.in index 563d0dc..98f1d75 100644 --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -117,8 +117,8 @@ hogweed-benchmark$(EXEEXT): $(HOGWEED_BENCH_OBJS) -lhogweed -lnettle $(BENCH_LIBS) $(LIBS) $(OPENSSL_LIBFLAGS) \ -o hogweed-benchmark$(EXEEXT) -$(TARGETS) : io.$(OBJEXT) ../libnettle.a -$(HOGWEED_TARGETS): ../libhogweed.a +$(TARGETS) : io.$(OBJEXT) ../$(LIBNETTLE_FILE) +$(HOGWEED_TARGETS): ../$(LIBHOGWEED_FILE) check: $(TS_ALL) LD_LIBRARY_PATH=../.lib PATH="../.lib:$$PATH" srcdir="$(srcdir)" \ diff --git a/testsuite/Makefile.in b/testsuite/Makefile.in index 91f6e2a..f88b2dc 100644 --- a/testsuite/Makefile.in +++ b/testsuite/Makefile.in @@ -96,7 +96,7 @@ test-rules: include $(srcdir)/.test-rules.make $(TARGETS) $(EXTRA_TARGETS): testutils.$(OBJEXT) ../nettle-internal.$(OBJEXT) \ - ../libnettle.a @IF_HOGWEED@ ../libhogweed.a + ../$(LIBNETTLE_FILE) @IF_HOGWEED@ ../$(LIBHOGWEED_FILE) # For use as, e.g., # diff --git a/tools/Makefile.in b/tools/Makefile.in index 29d55e8..932e904 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -34,19 +34,19 @@ SOURCES = $(sexp_conv_SOURCES) nettle-hash.c nettle-lfib-stream.c pkcs1-conv.c DISTFILES = $(SOURCES) Makefile.in input.h misc.h output.h parse.h sexp_conv_OBJS = $(sexp_conv_SOURCES:.c=.$(OBJEXT)) $(getopt_OBJS) -sexp-conv$(EXEEXT): $(sexp_conv_OBJS) ../libnettle.a +sexp-conv$(EXEEXT): $(sexp_conv_OBJS) ../$(LIBNETTLE_FILE) $(LINK) $(sexp_conv_OBJS) -lnettle $(LIBS) -o $@ -nettle-lfib-stream$(EXEEXT): nettle-lfib-stream.$(OBJEXT) ../libnettle.a +nettle-lfib-stream$(EXEEXT): nettle-lfib-stream.$(OBJEXT) ../$(LIBNETTLE_FILE) $(LINK) nettle-lfib-stream.$(OBJEXT) -lnettle $(LIBS) -o $@ pkcs1_conv_OBJS = $(pkcs1_conv_SOURCES:.c=.$(OBJEXT)) $(getopt_OBJS) -pkcs1-conv$(EXEEXT): $(pkcs1_conv_OBJS) ../libnettle.a ../libhogweed.a +pkcs1-conv$(EXEEXT): $(pkcs1_conv_OBJS) ../$(LIBNETTLE_FILE) ../$(LIBHOGWEED_FILE) $(LINK) $(pkcs1_conv_OBJS) -lhogweed -lnettle $(LIBS) -o $@ # FIXME: Avoid linking with gmp nettle_hash_OBJS = $(nettle_hash_SOURCES:.c=.$(OBJEXT)) $(getopt_OBJS) -nettle-hash$(EXEEXT): $(nettle_hash_OBJS) ../libnettle.a +nettle-hash$(EXEEXT): $(nettle_hash_OBJS) ../$(LIBNETTLE_FILE) $(LINK) $(nettle_hash_OBJS) -lnettle $(LIBS) -o $@