Makefile revision 6f8d59d8fcaf391990ca04c7bdcf65ab23320fe0
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync#
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync# CDDL HEADER START
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync#
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync# The contents of this file are subject to the terms of the
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync# Common Development and Distribution License (the "License").
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync# You may not use this file except in compliance with the License.
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync#
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync# or http://www.opensolaris.org/os/licensing.
2a2b173b54c259e34320ce0acf26f18e9382ce2avboxsync# See the License for the specific language governing permissions
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync# and limitations under the License.
6ec4e1827eab6a424d672ef0e5a17b065e52db20vboxsync#
6ec4e1827eab6a424d672ef0e5a17b065e52db20vboxsync# When distributing Covered Code, include this CDDL HEADER in each
6ec4e1827eab6a424d672ef0e5a17b065e52db20vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6ec4e1827eab6a424d672ef0e5a17b065e52db20vboxsync# If applicable, add the following below this CDDL HEADER, with the
6ec4e1827eab6a424d672ef0e5a17b065e52db20vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
6ec4e1827eab6a424d672ef0e5a17b065e52db20vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
6ec4e1827eab6a424d672ef0e5a17b065e52db20vboxsync#
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync# CDDL HEADER END
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync#
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync#
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
43747b1f0bc8302a238fb35e55857a5e9aa1933dvboxsync# Use is subject to license terms.
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync#
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsyncinclude ../Makefile.cmd
2a2b173b54c259e34320ce0acf26f18e9382ce2avboxsync
2a2b173b54c259e34320ce0acf26f18e9382ce2avboxsync# libopenbsd-compat and libssh are used by all SSH binaries, and sftp-server is
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync# also used as an internal part of sshd.
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsyncSUBDIRS= \
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync etc \
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync libopenbsd-compat \
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync libssh \
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync sftp-server \
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync .WAIT \
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync ssh \
a33af978add1a03aab11b2895f441af5cb2a11a6vboxsync sshd \
scp \
ssh-add \
ssh-agent \
ssh-keygen \
ssh-keysign \
ssh-keyscan \
sftp \
ssh-http-proxy-connect \
ssh-socks5-proxy-connect
MSGFILE=ssh.po
POFILE=_messages.po
.KEEP_STATE:
all := TARGET= all
clean := TARGET= clean
clobber := TARGET= clobber
delete := TARGET= delete
install := TARGET= install
lint := TARGET= lint
catalog := TARGET= catalog
package := TARGET= package
_msg := TARGET= _msg
$(POFILE) := TARGET= $(POFILE)
all clean clobber install lint $(POFILE): $(SUBDIRS)
clobber: FRC
$(RM) THIRDPARTYLICENSE
all install: THIRDPARTYLICENSE
check: $(CHECKHDRS)
# See Makefile.msg.targ for $(MSGFILE) update instructions
_msg_manual:
$(RM) $(POFILE)
$(TOUCH) $(POFILE)
$(MAKE) $(POFILE)
$(SED) "/^domain/d" $(POFILE) > $(MSGFILE)
_msg:
$(RM) $(MSGDOMAIN)/$(MSGFILE)
@# Uncomment when /bin/xgettext gets GNU extensions
@# See Makefile.msg.targ for $(MSGFILE) update instructions
@#$(MAKE) _msg_manual
$(CP) $(MSGFILE) $(MSGDOMAIN)
$(SUBDIRS): FRC
cd $@; pwd; $(MAKE) $(TARGET)
# skip the summary; just include the actual license clauses.
THIRDPARTYLICENSE: doc/LICENCE
$(SED) -n '/1)/,$$p' doc/LICENCE > $@
FRC: