* non-nettle.c: New file, renamed from ...
* nettle-internal.c: ... old name, deleted.
* Makefile.in (internal_SOURCES, DISTFILES): Updated accordingly.
+ * testsuite/Makefile.in (TEST_OBJS): Replace ../nettle-internal.o
+ with ../non-nettle.o, and update corresponding make rule.
+ * examples/Makefile.in (BENCH_OBJS): Likewise.
2023-11-22 Niels Möller <nisse@lysator.liu.se>
( cd .. && $(MAKE) getopt.$(OBJEXT))
../getopt1.$(OBJEXT):
( cd .. && $(MAKE) getopt1.$(OBJEXT))
-../nettle-internal.$(OBJEXT):
- ( cd .. && $(MAKE) nettle-internal.$(OBJEXT))
+../non-nettle.$(OBJEXT):
+ ( cd .. && $(MAKE) non-nettle.$(OBJEXT))
# For Solaris and BSD make, we have to use an explicit rule for each executable
random-prime$(EXEEXT): random-prime.$(OBJEXT) io.$(OBJEXT) $(GETOPT_OBJS)
-lnettle $(LIBS) -o base64dec$(EXEEXT)
BENCH_OBJS = nettle-benchmark.$(OBJEXT) nettle-openssl.$(OBJEXT) \
- $(GETOPT_OBJS) ../nettle-internal.$(OBJEXT) timing.$(OBJEXT)
+ $(GETOPT_OBJS) ../non-nettle.$(OBJEXT) timing.$(OBJEXT)
nettle-benchmark$(EXEEXT): $(BENCH_OBJS)
$(LINK) $(BENCH_OBJS) -lnettle $(BENCH_LIBS) $(OPENSSL_LIBFLAGS) -o nettle-benchmark$(EXEEXT)
# to use suffix rules to build the test executables. So we use an
# explicit rule for each and every executable.
-TEST_OBJS = testutils.$(OBJEXT) ../nettle-internal.$(OBJEXT)
+TEST_OBJS = testutils.$(OBJEXT) ../non-nettle.$(OBJEXT)
LIB_HOGWEED = @IF_HOGWEED@ -lhogweed
TEST_LIBS = $(LIB_HOGWEED) -lnettle $(LIBS)
-../nettle-internal.$(OBJEXT):
- ( cd .. && $(MAKE) nettle-internal.$(OBJEXT) )
+../non-nettle.$(OBJEXT):
+ ( cd .. && $(MAKE) non-nettle.$(OBJEXT) )
# Special target, to omit linking with libnettle
dlopen-test$(EXEEXT): dlopen-test.$(OBJEXT) testutils.$(OBJEXT)
%$(EXEEXT): %.$(OBJEXT)
$(LINK) $< $(TEST_OBJS) $(TEST_LIBS) -o $@
-$(TARGETS) $(EXTRA_TARGETS): testutils.$(OBJEXT) ../nettle-internal.$(OBJEXT) \
+$(TARGETS) $(EXTRA_TARGETS): testutils.$(OBJEXT) ../non-nettle.$(OBJEXT) \
../libnettle.stamp @IF_HOGWEED@ ../libhogweed.stamp
# For use as, e.g.,