summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in30
1 files changed, 25 insertions, 5 deletions
diff --git a/Makefile.in b/Makefile.in
index 16659c0b1..9adc0daaf 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,4 +1,4 @@
1# $Id: Makefile.in,v 1.360 2014/07/02 05:28:03 djm Exp $ 1# $Id: Makefile.in,v 1.361 2014/07/02 07:38:32 djm Exp $
2 2
3# uncomment if you run a non bourne compatable shell. Ie. csh 3# uncomment if you run a non bourne compatable shell. Ie. csh
4#SHELL = @SH@ 4#SHELL = @SH@
@@ -66,10 +66,10 @@ TARGETS=ssh$(EXEEXT) sshd$(EXEEXT) ssh-add$(EXEEXT) ssh-keygen$(EXEEXT) ssh-keys
66LIBOPENSSH_OBJS=\ 66LIBOPENSSH_OBJS=\
67 ssherr.o \ 67 ssherr.o \
68 sshbuf.o \ 68 sshbuf.o \
69 sshkey.o \
69 sshbuf-getput-basic.o \ 70 sshbuf-getput-basic.o \
70 sshbuf-misc.o \ 71 sshbuf-misc.o \
71 sshbuf-getput-crypto.o \ 72 sshbuf-getput-crypto.o
72 sshkey.o
73 73
74LIBSSH_OBJS=${LIBOPENSSH_OBJS} \ 74LIBSSH_OBJS=${LIBOPENSSH_OBJS} \
75 authfd.o authfile.o bufaux.o bufbn.o buffer.o \ 75 authfd.o authfile.o bufaux.o bufbn.o buffer.o \
@@ -227,6 +227,8 @@ clean: regressclean
227 rm -f regress/unittests/test_helper/*.o 227 rm -f regress/unittests/test_helper/*.o
228 rm -f regress/unittests/sshbuf/*.o 228 rm -f regress/unittests/sshbuf/*.o
229 rm -f regress/unittests/sshbuf/test_sshbuf 229 rm -f regress/unittests/sshbuf/test_sshbuf
230 rm -f regress/unittests/sshkey/*.o
231 rm -f regress/unittests/sshkey/test_sshkey
230 (cd openbsd-compat && $(MAKE) clean) 232 (cd openbsd-compat && $(MAKE) clean)
231 233
232distclean: regressclean 234distclean: regressclean
@@ -239,6 +241,8 @@ distclean: regressclean
239 rm -f regress/unittests/test_helper/*.o 241 rm -f regress/unittests/test_helper/*.o
240 rm -f regress/unittests/sshbuf/*.o 242 rm -f regress/unittests/sshbuf/*.o
241 rm -f regress/unittests/sshbuf/test_sshbuf 243 rm -f regress/unittests/sshbuf/test_sshbuf
244 rm -f regress/unittests/sshkey/*.o
245 rm -f regress/unittests/sshkey/test_sshkey
242 (cd openbsd-compat && $(MAKE) distclean) 246 (cd openbsd-compat && $(MAKE) distclean)
243 if test -d pkg ; then \ 247 if test -d pkg ; then \
244 rm -fr pkg ; \ 248 rm -fr pkg ; \
@@ -418,6 +422,8 @@ regress-prep:
418 mkdir -p `pwd`/regress/unittests/test_helper 422 mkdir -p `pwd`/regress/unittests/test_helper
419 [ -d `pwd`/regress/unittests/sshbuf ] || \ 423 [ -d `pwd`/regress/unittests/sshbuf ] || \
420 mkdir -p `pwd`/regress/unittests/sshbuf 424 mkdir -p `pwd`/regress/unittests/sshbuf
425 [ -d `pwd`/regress/unittests/sshkey ] || \
426 mkdir -p `pwd`/regress/unittests/sshkey
421 [ -f `pwd`/regress/Makefile ] || \ 427 [ -f `pwd`/regress/Makefile ] || \
422 ln -s `cd $(srcdir) && pwd`/regress/Makefile `pwd`/regress/Makefile 428 ln -s `cd $(srcdir) && pwd`/regress/Makefile `pwd`/regress/Makefile
423 429
@@ -448,15 +454,29 @@ UNITTESTS_TEST_SSHBUF_OBJS=\
448 regress/unittests/sshbuf/test_sshbuf_fixed.o 454 regress/unittests/sshbuf/test_sshbuf_fixed.o
449 455
450regress/unittests/sshbuf/test_sshbuf$(EXEEXT): ${UNITTESTS_TEST_SSHBUF_OBJS} \ 456regress/unittests/sshbuf/test_sshbuf$(EXEEXT): ${UNITTESTS_TEST_SSHBUF_OBJS} \
451 regress/unittests/test_helper/libtest_helper.a 457 regress/unittests/test_helper/libtest_helper.a libssh.a
452 $(LD) -o $@ $(LDFLAGS) $(UNITTESTS_TEST_SSHBUF_OBJS) \ 458 $(LD) -o $@ $(LDFLAGS) $(UNITTESTS_TEST_SSHBUF_OBJS) \
453 -L regress/unittests/test_helper -ltest_helper \ 459 -L regress/unittests/test_helper -ltest_helper \
454 -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) 460 -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
455 461
462UNITTESTS_TEST_SSHKEY_OBJS=\
463 regress/unittests/sshkey/test_fuzz.o \
464 regress/unittests/sshkey/tests.o \
465 regress/unittests/sshkey/common.o \
466 regress/unittests/sshkey/test_file.o \
467 regress/unittests/sshkey/test_sshkey.o
468
469regress/unittests/sshkey/test_sshkey$(EXEEXT): ${UNITTESTS_TEST_SSHKEY_OBJS} \
470 regress/unittests/test_helper/libtest_helper.a libssh.a
471 $(LD) -o $@ $(LDFLAGS) $(UNITTESTS_TEST_SSHKEY_OBJS) \
472 -L regress/unittests/test_helper -ltest_helper \
473 -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
474
456REGRESS_BINARIES=\ 475REGRESS_BINARIES=\
457 regress/modpipe$(EXEEXT) \ 476 regress/modpipe$(EXEEXT) \
458 regress/setuid-allowed$(EXEEXT) \ 477 regress/setuid-allowed$(EXEEXT) \
459 regress/unittests/sshbuf/test_sshbuf$(EXEEXT) 478 regress/unittests/sshbuf/test_sshbuf$(EXEEXT) \
479 regress/unittests/sshkey/test_sshkey$(EXEEXT)
460 480
461tests interop-tests: regress-prep $(TARGETS) $(REGRESS_BINARIES) 481tests interop-tests: regress-prep $(TARGETS) $(REGRESS_BINARIES)
462 BUILDDIR=`pwd`; \ 482 BUILDDIR=`pwd`; \