summaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2019-11-29 11:52:23 +1100
committerDamien Miller <djm@mindrot.org>2019-11-29 11:52:23 +1100
commitef3853bb94c2c72e7eda0de6cec0bcb1da62058f (patch)
tree51daac544b00abd5f565daac4696c1106ef4d31b /Makefile.in
parentd46ac56f1cbd5a855a2d5e7309f90d383dcf6431 (diff)
another attempt at sk-dummy.so working x-platform
include a fatal() implementation to satisfy libopenbsd-compat clean up .lo and .so files .gitignore .lo and .so files
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index d47b0834..692b0073 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -242,7 +242,7 @@ moduli:
echo
clean: regressclean
- rm -f *.o *.a $(TARGETS) logintest config.cache config.log
+ rm -f *.o *.lo *.a $(TARGETS) logintest config.cache config.log
rm -f *.out core survey
rm -f regress/check-perm$(EXEEXT)
rm -f regress/mkdtemp$(EXEEXT)
@@ -267,6 +267,7 @@ clean: regressclean
rm -f regress/misc/kexfuzz/*.o
rm -f regress/misc/kexfuzz/kexfuzz$(EXEEXT)
rm -f regress/misc/sk-dummy/*.o
+ rm -f regress/misc/sk-dummy/*.lo
rm -f regress/misc/sk-dummy/sk-dummy.so
(cd openbsd-compat && $(MAKE) clean)
@@ -596,9 +597,10 @@ regress/misc/kexfuzz/kexfuzz$(EXEEXT): ${MISC_KEX_FUZZ_OBJS} libssh.a
# These all need to be compiled -fPIC, so they are treated differently.
SK_DUMMY_OBJS=\
regress/misc/sk-dummy/sk-dummy.lo \
+ regress/misc/sk-dummy/fatal.lo \
ed25519.lo hash.lo ge25519.lo fe25519.lo sc25519.lo verify.lo
-.c.lo:
+.c.lo: Makefile.in config.h
$(CC) $(CFLAGS) $(CPPFLAGS) -fPIC -c $< -o $@
regress/misc/sk-dummy/sk-dummy.so: $(SK_DUMMY_OBJS)