Print this page
6945 illumos xgettext should be using from Makefile.master
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/ssh/Makefile
+++ new/usr/src/cmd/ssh/Makefile
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21
22 22 #
23 23 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 24 # Use is subject to license terms.
25 25 #
26 26
27 27 include ../Makefile.cmd
28 28
29 29 # libopenbsd-compat and libssh are used by all SSH binaries, and sftp-server is
30 30 # also used as an internal part of sshd.
31 31 SUBDIRS= \
32 32 etc \
33 33 libopenbsd-compat \
34 34 libssh \
35 35 sftp-server \
36 36 .WAIT \
37 37 ssh \
38 38 sshd \
39 39 scp \
40 40 ssh-add \
41 41 ssh-agent \
42 42 ssh-keygen \
43 43 ssh-keysign \
44 44 ssh-keyscan \
45 45 sftp \
46 46 ssh-http-proxy-connect \
47 47 ssh-socks5-proxy-connect
48 48
49 49 MSGFILE=ssh.po
50 50 POFILE=_messages.po
51 51
52 52 CLOBBERFILES += $(MSGFILE) THIRDPARTYLICENSE
53 53
54 54 .KEEP_STATE:
55 55
56 56 all := TARGET= all
57 57 clean := TARGET= clean
58 58 clobber := TARGET= clobber
59 59 delete := TARGET= delete
60 60 install := TARGET= install
61 61 lint := TARGET= lint
62 62 catalog := TARGET= catalog
63 63 package := TARGET= package
64 64 _msg := TARGET= _msg
65 65 $(POFILE) := TARGET= $(POFILE)
66 66
67 67 all clean install lint $(POFILE): $(SUBDIRS)
68 68 clobber: $(SUBDIRS) clobber_local
69 69 clobber_local:
↓ open down ↓ |
69 lines elided |
↑ open up ↑ |
70 70 $(RM) $(CLOBBERFILES)
71 71
72 72 all install: THIRDPARTYLICENSE
73 73
74 74 check: $(CHECKHDRS)
75 75
76 76 # See Makefile.msg.targ for $(MSGFILE) update instructions
77 77 _msg:
78 78 $(RM) $(POFILE)
79 79 $(TOUCH) $(POFILE)
80 - $(MAKE) $(POFILE) XGETTEXT=/usr/bin/gxgettext
80 + $(MAKE) $(POFILE) XGETTEXT=$(GNUXGETTEXT)
81 81 $(CP) $(POFILE) $(MSGFILE)
82 82 $(CP) $(MSGFILE) $(MSGDOMAIN)
83 83
84 84 $(SUBDIRS): FRC
85 85 cd $@; pwd; $(MAKE) $(TARGET)
86 86
87 87 # skip the summary; just include the actual license clauses.
88 88 THIRDPARTYLICENSE: doc/LICENCE
89 89 $(SED) -n '/1)/,$$p' doc/LICENCE > $@
90 90
91 91 FRC:
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX