Print this page
first pass
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/libsldap/Makefile
+++ new/usr/src/lib/libsldap/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 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
23 23 # Use is subject to license terms.
24 24 #
25 25 # ident "%Z%%M% %I% %E% SMI"
26 26 #
27 27
28 28 include ../Makefile.lib
29 29
30 30 SUBDIRS = $(MACH)
31 31 $(BUILD64)SUBDIRS += $(MACH64)
32 32
33 33 all := TARGET= all
34 34 clean := TARGET= clean
35 35 clobber := TARGET= clobber
36 36 delete := TARGET= delete
37 37 install := TARGET= install
38 38 lint := TARGET= lint
39 39 catalog := TARGET= catalog
40 40 _msg := TARGET= _msg
41 41 package := TARGET= package
42 42
43 43 LIBRARY= libsldap.a
44 44 TEXT_DOMAIN = SUNW_OST_OSLIB
45 45 XGETFLAGS=
46 46 POFILE= $(LIBRARY:.a=.po)
47 47 POFILES= generic.po
48 48
49 49 .KEEP_STATE:
50 50
51 51 all clean clobber delete install lint catalog package: $(SUBDIRS)
52 52
53 53 # install rule for install_h target
54 54 $(ROOTHDRDIR)/%: %
55 55 $(INS.file)
56 56
57 57 $(SUBDIRS): FRC
58 58 @cd $@; pwd; $(MAKE) $(TARGET)
59 59
60 60 _msg: $(MSGDOMAIN) $(POFILE)
61 61 $(RM) $(MSGDOMAIN)/$(POFILE)
62 62 $(RM) generic.po
63 63 cp $(POFILE) $(MSGDOMAIN)
64 64
65 65 $(POFILE): $(POFILES)
66 66 $(RM) $@
67 67 $(CAT) $(POFILES) > $@
68 68
↓ open down ↓ |
68 lines elided |
↑ open up ↑ |
69 69 $(MSGDOMAIN):
70 70 $(INS.dir)
71 71
72 72 $(POFILES):
73 73 $(RM) messages.po
74 74 $(XGETTEXT) $(XGETFLAGS) common/*.[ch]*
75 75 sed "/^domain/d" < messages.po > $@
76 76 $(RM) messages.po
77 77
78 78 FRC:
79 -
80 -# EXPORT DELETE START
81 -EXPORT_SRC:
82 - $(RM) -f common/ns_crypt.c+ Makefile+
83 - sed -e "/EXPORT DELETE START/,/EXPORT DELETE END/d" < \
84 - common/ns_crypt.c > common/ns_crypt.c+
85 - $(MV) common/ns_crypt.c+ common/ns_crypt.c
86 - sed -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
87 - < Makefile > Makefile+
88 - $(MV) Makefile+ Makefile
89 - $(CHMOD) 444 Makefile common/ns_crypt.c
90 -
91 -# EXPORT DELETE END
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX