summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in31
1 files changed, 19 insertions, 12 deletions
diff --git a/Makefile.in b/Makefile.in
index 1afb4f798..0ee0285f6 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,4 +1,4 @@
1# uncomment if you run a non bourne compatable shell. Ie. csh 1# uncomment if you run a non bourne compatible shell. Ie. csh
2#SHELL = @SH@ 2#SHELL = @SH@
3 3
4AUTORECONF=autoreconf 4AUTORECONF=autoreconf
@@ -84,13 +84,13 @@ LIBOPENSSH_OBJS=\
84 ${XMSS_OBJS} 84 ${XMSS_OBJS}
85 85
86LIBSSH_OBJS=${LIBOPENSSH_OBJS} \ 86LIBSSH_OBJS=${LIBOPENSSH_OBJS} \
87 authfd.o authfile.o bufaux.o bufbn.o bufec.o buffer.o \ 87 authfd.o authfile.o \
88 canohost.o channels.o cipher.o cipher-aes.o cipher-aesctr.o \ 88 canohost.o channels.o cipher.o cipher-aes.o cipher-aesctr.o \
89 cipher-ctr.o cleanup.o \ 89 cipher-ctr.o cleanup.o \
90 compat.o crc32.o fatal.o hostfile.o \ 90 compat.o crc32.o fatal.o hostfile.o \
91 log.o match.o moduli.o nchan.o packet.o opacket.o \ 91 log.o match.o moduli.o nchan.o packet.o opacket.o \
92 readpass.o ttymodes.o xmalloc.o addrmatch.o \ 92 readpass.o ttymodes.o xmalloc.o addrmatch.o \
93 atomicio.o key.o dispatch.o mac.o uidswap.o uuencode.o misc.o utf8.o \ 93 atomicio.o dispatch.o mac.o uuencode.o misc.o utf8.o \
94 monitor_fdpass.o rijndael.o ssh-dss.o ssh-ecdsa.o ssh-rsa.o dh.o \ 94 monitor_fdpass.o rijndael.o ssh-dss.o ssh-ecdsa.o ssh-rsa.o dh.o \
95 msg.o progressmeter.o dns.o entropy.o gss-genr.o umac.o umac128.o \ 95 msg.o progressmeter.o dns.o entropy.o gss-genr.o umac.o umac128.o \
96 ssh-pkcs11.o smult_curve25519_ref.o \ 96 ssh-pkcs11.o smult_curve25519_ref.o \
@@ -111,7 +111,7 @@ SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o \
111 sshpty.o sshlogin.o servconf.o serverloop.o \ 111 sshpty.o sshlogin.o servconf.o serverloop.o \
112 auth.o auth2.o auth-options.o session.o \ 112 auth.o auth2.o auth-options.o session.o \
113 auth2-chall.o groupaccess.o \ 113 auth2-chall.o groupaccess.o \
114 auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o \ 114 auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o \
115 auth2-none.o auth2-passwd.o auth2-pubkey.o \ 115 auth2-none.o auth2-passwd.o auth2-pubkey.o \
116 monitor.o monitor_wrap.o auth-krb5.o \ 116 monitor.o monitor_wrap.o auth-krb5.o \
117 auth2-gss.o gss-serv.o gss-serv-krb5.o kexgsss.o \ 117 auth2-gss.o gss-serv.o gss-serv-krb5.o kexgsss.o \
@@ -119,7 +119,7 @@ SSHDOBJS=sshd.o auth-rhosts.o auth-passwd.o \
119 sftp-server.o sftp-common.o \ 119 sftp-server.o sftp-common.o \
120 sandbox-null.o sandbox-rlimit.o sandbox-systrace.o sandbox-darwin.o \ 120 sandbox-null.o sandbox-rlimit.o sandbox-systrace.o sandbox-darwin.o \
121 sandbox-seccomp-filter.o sandbox-capsicum.o sandbox-pledge.o \ 121 sandbox-seccomp-filter.o sandbox-capsicum.o sandbox-pledge.o \
122 sandbox-solaris.o 122 sandbox-solaris.o uidswap.o
123 123
124MANPAGES = moduli.5.out scp.1.out ssh-add.1.out ssh-agent.1.out ssh-keygen.1.out ssh-keyscan.1.out ssh.1.out sshd.8.out sftp-server.8.out sftp.1.out ssh-keysign.8.out ssh-pkcs11-helper.8.out sshd_config.5.out ssh_config.5.out 124MANPAGES = moduli.5.out scp.1.out ssh-add.1.out ssh-agent.1.out ssh-keygen.1.out ssh-keyscan.1.out ssh.1.out sshd.8.out sftp-server.8.out sftp.1.out ssh-keysign.8.out ssh-pkcs11-helper.8.out sshd_config.5.out ssh_config.5.out
125MANPAGES_IN = moduli.5 scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh-keyscan.1 ssh.1 sshd.8 sftp-server.8 sftp.1 ssh-keysign.8 ssh-pkcs11-helper.8 sshd_config.5 ssh_config.5 125MANPAGES_IN = moduli.5 scp.1 ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh-keyscan.1 ssh.1 sshd.8 sftp-server.8 sftp.1 ssh-keysign.8 ssh-pkcs11-helper.8 sshd_config.5 ssh_config.5
@@ -176,7 +176,7 @@ sshd$(EXEEXT): libssh.a $(LIBCOMPAT) $(SSHDOBJS)
176 $(LD) -o $@ $(SSHDOBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(SSHDLIBS) $(LIBS) $(GSSLIBS) $(K5LIBS) 176 $(LD) -o $@ $(SSHDOBJS) $(LDFLAGS) -lssh -lopenbsd-compat $(SSHDLIBS) $(LIBS) $(GSSLIBS) $(K5LIBS)
177 177
178scp$(EXEEXT): $(LIBCOMPAT) libssh.a scp.o progressmeter.o 178scp$(EXEEXT): $(LIBCOMPAT) libssh.a scp.o progressmeter.o
179 $(LD) -o $@ scp.o progressmeter.o bufaux.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) 179 $(LD) -o $@ scp.o progressmeter.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
180 180
181ssh-add$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-add.o 181ssh-add$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-add.o
182 $(LD) -o $@ ssh-add.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) 182 $(LD) -o $@ ssh-add.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
@@ -187,8 +187,8 @@ ssh-agent$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-agent.o ssh-pkcs11-client.o
187ssh-keygen$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keygen.o 187ssh-keygen$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keygen.o
188 $(LD) -o $@ ssh-keygen.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) 188 $(LD) -o $@ ssh-keygen.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
189 189
190ssh-keysign$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keysign.o readconf.o 190ssh-keysign$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-keysign.o readconf.o uidswap.o
191 $(LD) -o $@ ssh-keysign.o readconf.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS) 191 $(LD) -o $@ ssh-keysign.o readconf.o uidswap.o $(LDFLAGS) -lssh -lopenbsd-compat $(LIBS)
192 192
193ssh-pkcs11-helper$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-pkcs11-helper.o ssh-pkcs11.o 193ssh-pkcs11-helper$(EXEEXT): $(LIBCOMPAT) libssh.a ssh-pkcs11-helper.o ssh-pkcs11.o
194 $(LD) -o $@ ssh-pkcs11-helper.o ssh-pkcs11.o $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) 194 $(LD) -o $@ ssh-pkcs11-helper.o ssh-pkcs11.o $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
@@ -231,6 +231,7 @@ clean: regressclean
231 rm -f *.o *.a $(TARGETS) logintest config.cache config.log 231 rm -f *.o *.a $(TARGETS) logintest config.cache config.log
232 rm -f *.out core survey 232 rm -f *.out core survey
233 rm -f regress/check-perm$(EXEEXT) 233 rm -f regress/check-perm$(EXEEXT)
234 rm -f regress/mkdtemp$(EXEEXT)
234 rm -f regress/unittests/test_helper/*.a 235 rm -f regress/unittests/test_helper/*.a
235 rm -f regress/unittests/test_helper/*.o 236 rm -f regress/unittests/test_helper/*.o
236 rm -f regress/unittests/sshbuf/*.o 237 rm -f regress/unittests/sshbuf/*.o
@@ -259,6 +260,8 @@ distclean: regressclean
259 rm -f Makefile buildpkg.sh config.h config.status 260 rm -f Makefile buildpkg.sh config.h config.status
260 rm -f survey.sh openbsd-compat/regress/Makefile *~ 261 rm -f survey.sh openbsd-compat/regress/Makefile *~
261 rm -rf autom4te.cache 262 rm -rf autom4te.cache
263 rm -f regress/check-perm
264 rm -f regress/mkdtemp
262 rm -f regress/unittests/test_helper/*.a 265 rm -f regress/unittests/test_helper/*.a
263 rm -f regress/unittests/test_helper/*.o 266 rm -f regress/unittests/test_helper/*.o
264 rm -f regress/unittests/sshbuf/*.o 267 rm -f regress/unittests/sshbuf/*.o
@@ -277,7 +280,8 @@ distclean: regressclean
277 rm -f regress/unittests/match/test_match 280 rm -f regress/unittests/match/test_match
278 rm -f regress/unittests/utf8/*.o 281 rm -f regress/unittests/utf8/*.o
279 rm -f regress/unittests/utf8/test_utf8 282 rm -f regress/unittests/utf8/test_utf8
280 rm -f regress/unittests/misc/kexfuzz 283 rm -f regress/misc/kexfuzz/*.o
284 rm -f regress/misc/kexfuzz
281 (cd openbsd-compat && $(MAKE) distclean) 285 (cd openbsd-compat && $(MAKE) distclean)
282 if test -d pkg ; then \ 286 if test -d pkg ; then \
283 rm -fr pkg ; \ 287 rm -fr pkg ; \
@@ -461,6 +465,10 @@ regress/check-perm$(EXEEXT): $(srcdir)/regress/check-perm.c $(REGRESSLIBS)
461 $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(srcdir)/regress/check-perm.c \ 465 $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(srcdir)/regress/check-perm.c \
462 $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS) 466 $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
463 467
468regress/mkdtemp$(EXEEXT): $(srcdir)/regress/mkdtemp.c $(REGRESSLIBS)
469 $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ $(srcdir)/regress/mkdtemp.c \
470 $(LDFLAGS) -lssh -lopenbsd-compat -lssh -lopenbsd-compat $(LIBS)
471
464UNITTESTS_TEST_HELPER_OBJS=\ 472UNITTESTS_TEST_HELPER_OBJS=\
465 regress/unittests/test_helper/test_helper.o \ 473 regress/unittests/test_helper/test_helper.o \
466 regress/unittests/test_helper/fuzz.o 474 regress/unittests/test_helper/fuzz.o
@@ -569,6 +577,7 @@ regress-binaries: regress/modpipe$(EXEEXT) \
569 regress/setuid-allowed$(EXEEXT) \ 577 regress/setuid-allowed$(EXEEXT) \
570 regress/netcat$(EXEEXT) \ 578 regress/netcat$(EXEEXT) \
571 regress/check-perm$(EXEEXT) \ 579 regress/check-perm$(EXEEXT) \
580 regress/mkdtemp$(EXEEXT) \
572 regress/unittests/sshbuf/test_sshbuf$(EXEEXT) \ 581 regress/unittests/sshbuf/test_sshbuf$(EXEEXT) \
573 regress/unittests/sshkey/test_sshkey$(EXEEXT) \ 582 regress/unittests/sshkey/test_sshkey$(EXEEXT) \
574 regress/unittests/bitmap/test_bitmap$(EXEEXT) \ 583 regress/unittests/bitmap/test_bitmap$(EXEEXT) \
@@ -579,8 +588,6 @@ regress-binaries: regress/modpipe$(EXEEXT) \
579 regress/unittests/utf8/test_utf8$(EXEEXT) \ 588 regress/unittests/utf8/test_utf8$(EXEEXT) \
580 regress/misc/kexfuzz/kexfuzz$(EXEEXT) 589 regress/misc/kexfuzz/kexfuzz$(EXEEXT)
581 590
582REGRESSTMP = "$(PWD)/regress"
583
584tests interop-tests t-exec unit: regress-prep regress-binaries $(TARGETS) 591tests interop-tests t-exec unit: regress-prep regress-binaries $(TARGETS)
585 BUILDDIR=`pwd`; \ 592 BUILDDIR=`pwd`; \
586 TEST_SSH_SCP="$${BUILDDIR}/scp"; \ 593 TEST_SSH_SCP="$${BUILDDIR}/scp"; \
@@ -604,7 +611,7 @@ tests interop-tests t-exec unit: regress-prep regress-binaries $(TARGETS)
604 .OBJDIR="$${BUILDDIR}/regress" \ 611 .OBJDIR="$${BUILDDIR}/regress" \
605 .CURDIR="`pwd`" \ 612 .CURDIR="`pwd`" \
606 BUILDDIR="$${BUILDDIR}" \ 613 BUILDDIR="$${BUILDDIR}" \
607 OBJ="$(REGRESSTMP)" \ 614 OBJ="$${BUILDDIR}/regress/" \
608 PATH="$${BUILDDIR}:$${PATH}" \ 615 PATH="$${BUILDDIR}:$${PATH}" \
609 TEST_ENV=MALLOC_OPTIONS="@TEST_MALLOC_OPTIONS@" \ 616 TEST_ENV=MALLOC_OPTIONS="@TEST_MALLOC_OPTIONS@" \
610 TEST_MALLOC_OPTIONS="@TEST_MALLOC_OPTIONS@" \ 617 TEST_MALLOC_OPTIONS="@TEST_MALLOC_OPTIONS@" \