xref: /titanic_44/usr/src/cmd/ssh/Makefile (revision 749f21d359d8fbd020c974a1a5227316221bfc9c)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22# Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25# ident	"%Z%%M%	%I%	%E% SMI"
26#
27
28include		../Makefile.cmd
29
30SUBDIRS= \
31	etc \
32	libopenbsd-compat \
33	libssh \
34	.WAIT \
35	ssh \
36	sshd \
37	scp \
38	ssh-add \
39	ssh-agent \
40	ssh-keygen \
41	ssh-keysign \
42	ssh-keyscan \
43	sftp-server \
44	sftp \
45	ssh-http-proxy-connect \
46	ssh-socks5-proxy-connect
47
48MSGFILE=ssh.po
49POFILE=_messages.po
50
51.KEEP_STATE:
52
53all :=          TARGET= all
54clean :=        TARGET= clean
55clobber :=      TARGET= clobber
56delete :=       TARGET= delete
57install :=      TARGET= install
58lint :=         TARGET= lint
59catalog :=      TARGET= catalog
60package :=      TARGET= package
61_msg :=		TARGET= _msg
62$(POFILE) :=	TARGET= $(POFILE)
63
64all clean clobber install lint $(POFILE): $(SUBDIRS)
65
66check: $(CHECKHDRS)
67
68# See Makefile.msg.targ for $(MSGFILE) update instructions
69_msg_manual:
70	$(RM) $(POFILE)
71	$(TOUCH) $(POFILE)
72	$(MAKE) $(POFILE)
73	$(SED) "/^domain/d" $(POFILE) > $(MSGFILE)
74
75_msg:
76	$(RM) $(MSGDOMAIN)/$(MSGFILE)
77	@# Uncomment when /bin/xgettext gets GNU extensions
78	@# See Makefile.msg.targ for $(MSGFILE) update instructions
79	@#$(MAKE) _msg_manual
80	$(CP) $(MSGFILE) $(MSGDOMAIN)
81
82$(SUBDIRS):     FRC
83	cd $@; pwd; $(MAKE) $(TARGET)
84
85FRC:
86