summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ssh/Makefile.ssh-common
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/ssh/Makefile.ssh-common')
-rw-r--r--usr/src/cmd/ssh/Makefile.ssh-common8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr/src/cmd/ssh/Makefile.ssh-common b/usr/src/cmd/ssh/Makefile.ssh-common
index 25a9c2560f..4bb45a2e6a 100644
--- a/usr/src/cmd/ssh/Makefile.ssh-common
+++ b/usr/src/cmd/ssh/Makefile.ssh-common
@@ -87,7 +87,13 @@ CERRWARN += -_gcc=-Wno-unused-variable
ROOTLIBSSH= $(ROOTLIB)/ssh
ROOTLIBSSHPROG= $(PROG:%=$(ROOTLIBSSH)/%)
+ROOTLIBSUNSSH = $(ROOTLIB)/sunssh
+ROOTLIBSUNSSHPROG = $(PROG:%=$(ROOTLIBSUNSSH)/%)
+
POFILE= _messages.po
-$(ROOTLIBSSH)/%: %
+$(ROOTLIBSSH)/%: $(ROOTLIBSUNSSH)/%
+ -$(RM) $@; $(SYMLINK) ../sunssh/$(@F) $@
+
+$(ROOTLIBSUNSSH)/%: %
$(INS.file)