Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nxssh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Konstantin Artyushkin
nxssh
Commits
22d52905
Commit
22d52905
authored
Feb 24, 2026
by
Konstantin Artyushkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Added NXCOMPINC/NXCOMPLIBS to configure.ac
- Added proxy.o to SSHOBJS, NX-compile and linking flags to Makefile.in - Rename target: ssh -> nxssh, sshd ->nxsshd, ssh-keygen -> nxssh-keygen
parent
947c714c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
11 deletions
+29
-11
Makefile.in
Makefile.in
+11
-9
configure.ac
configure.ac
+18
-2
No files found.
Makefile.in
View file @
22d52905
...
...
@@ -55,6 +55,8 @@ GSSLIBS=@GSSLIBS@
SSHDLIBS
=
@SSHDLIBS@
LIBEDIT
=
@LIBEDIT@
LIBFIDO2
=
@LIBFIDO2@
NXCOMPINC
=
@NXCOMPINC@
NXCOMPLIBS
=
@NXCOMPLIBS@
AR
=
@AR@
AWK
=
@AWK@
RANLIB
=
@RANLIB@
...
...
@@ -69,7 +71,7 @@ MKDIR_P=@MKDIR_P@
.SUFFIXES
:
.lo
TARGETS
=
ssh
$(EXEEXT)
sshd
$(EXEEXT)
ssh-add
$(EXEEXT)
ssh-keygen
$(EXEEXT)
ssh-keyscan
${
EXEEXT
}
ssh-keysign
${
EXEEXT
}
ssh-pkcs11-helper
$(EXEEXT)
ssh-agent
$(EXEEXT)
scp
$(EXEEXT)
sftp-server
$(EXEEXT)
sftp
$(EXEEXT)
ssh-sk-helper
$(EXEEXT)
TARGETS
=
nxssh
$(EXEEXT)
nxsshd
$(EXEEXT)
nxssh-keygen
$(EXEEXT)
XMSS_OBJS
=
\
ssh-xmss.o
\
...
...
@@ -116,9 +118,9 @@ LIBSSH_OBJS=${LIBOPENSSH_OBJS} \
SKOBJS
=
ssh-sk-client.o
SSHOBJS
=
ssh.o readconf.o clientloop.o sshtty.o
\
sshconnect.o sshconnect2.o mux.o
$(SKOBJS)
sshconnect.o sshconnect2.o mux.o
proxy.o
$(SKOBJS)
SSHDOBJS
=
sshd.o auth-rhosts.o auth-passwd.o
\
SSHDOBJS
=
sshd.o
nx-stubs.o
auth-rhosts.o auth-passwd.o
\
audit.o audit-bsm.o audit-linux.o platform.o
\
sshpty.o sshlogin.o servconf.o serverloop.o
\
auth.o auth2.o auth-options.o session.o
\
...
...
@@ -141,7 +143,7 @@ SSHADD_OBJS= ssh-add.o $(SKOBJS)
SSHAGENT_OBJS
=
ssh-agent.o ssh-pkcs11-client.o
$(SKOBJS)
SSHKEYGEN_OBJS
=
ssh-keygen.o sshsig.o
$(SKOBJS)
SSHKEYGEN_OBJS
=
ssh-keygen.o
nx-stubs.o
sshsig.o
$(SKOBJS)
SSHKEYSIGN_OBJS
=
ssh-keysign.o readconf.o uidswap.o
$(SKOBJS)
...
...
@@ -192,7 +194,7 @@ $(SSHOBJS): Makefile.in config.h
$(SSHDOBJS)
:
Makefile.in config.h
.c.o
:
$(CC)
$(CFLAGS)
$(CPPFLAGS)
-c
$<
-o
$@
$(CC)
$(CFLAGS)
$(CPPFLAGS)
$(NXCOMPINC)
-c
$<
-o
$@
LIBCOMPAT
=
openbsd-compat/libopenbsd-compat.a
$(LIBCOMPAT)
:
always
...
...
@@ -203,10 +205,10 @@ libssh.a: $(LIBSSH_OBJS)
$(AR)
rv
$@
$(LIBSSH_OBJS)
$(RANLIB)
$@
ssh$(EXEEXT)
:
$(LIBCOMPAT) libssh.a $(SSHOBJS)
$(LD)
-o
$@
$(SSHOBJS)
$(LDFLAGS)
-lssh
-lopenbsd-compat
$(LIBS)
$(GSSLIBS)
$(CHANNELLIBS)
nx
ssh$(EXEEXT)
:
$(LIBCOMPAT) libssh.a $(SSHOBJS)
$(LD)
-o
$@
$(SSHOBJS)
$(LDFLAGS)
-lssh
-lopenbsd-compat
$(LIBS)
$(GSSLIBS)
$(CHANNELLIBS)
$(NXCOMPLIBS)
sshd$(EXEEXT)
:
libssh.a $(LIBCOMPAT) $(SSHDOBJS)
nx
sshd$(EXEEXT)
:
libssh.a $(LIBCOMPAT) $(SSHDOBJS)
$(LD)
-o
$@
$(SSHDOBJS)
$(LDFLAGS)
-lssh
-lopenbsd-compat
$(SSHDLIBS)
$(LIBS)
$(GSSLIBS)
$(K5LIBS)
$(CHANNELLIBS)
scp$(EXEEXT)
:
$(LIBCOMPAT) libssh.a $(SCP_OBJS)
...
...
@@ -218,7 +220,7 @@ ssh-add$(EXEEXT): $(LIBCOMPAT) libssh.a $(SSHADD_OBJS)
ssh-agent$(EXEEXT)
:
$(LIBCOMPAT) libssh.a $(SSHAGENT_OBJS)
$(LD)
-o
$@
$(SSHAGENT_OBJS)
$(LDFLAGS)
-lssh
-lopenbsd-compat
$(LIBS)
$(CHANNELLIBS)
ssh-keygen$(EXEEXT)
:
$(LIBCOMPAT) libssh.a $(SSHKEYGEN_OBJS)
nx
ssh-keygen$(EXEEXT)
:
$(LIBCOMPAT) libssh.a $(SSHKEYGEN_OBJS)
$(LD)
-o
$@
$(SSHKEYGEN_OBJS)
$(LDFLAGS)
-lssh
-lopenbsd-compat
$(LIBS)
$(CHANNELLIBS)
ssh-keysign$(EXEEXT)
:
$(LIBCOMPAT) libssh.a $(SSHKEYSIGN_OBJS)
...
...
configure.ac
View file @
22d52905
...
...
@@ -26,6 +26,22 @@ done
AC_LANG([C])
#
# Add the specific NX settings.
#
AC_SUBST(NXCOMPINC)
AC_SUBST(NXCOMPLIBS)
NXCOMPINC=""
for nx_dir in "$includedir/nx" "/usr/include/nx" "/usr/local/include/nx"; do
if test -d "$nx_dir"; then
NXCOMPINC="-I$nx_dir"
break
fi
done
NXCOMPLIBS="-lXcomp"
AC_CONFIG_HEADERS([config.h])
AC_PROG_CC([cc gcc clang])
...
...
@@ -2859,8 +2875,8 @@ if test "x$openssl" = "xyes" ; then
# OpenSSL 3; we use the 1.1x API
CPPFLAGS="$CPPFLAGS -DOPENSSL_API_COMPAT=0x10100000L"
;;
3
01*|302*|303
*)
# OpenSSL
development branch
; request 1.1x API
3*)
# OpenSSL
3.x release branches
; request 1.1x API
CPPFLAGS="$CPPFLAGS -DOPENSSL_API_COMPAT=0x10100000L"
;;
*)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment