Print this page
| Split |
Close |
| Expand all |
| Collapse all |
--- old/usr/src/lib/libresolv2/Makefile
+++ new/usr/src/lib/libresolv2/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.
|
↓ open down ↓ |
11 lines elided |
↑ open up ↑ |
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 -# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
22 +# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 23 # Use is subject to license terms.
24 24 #
25 25 #
26 26
27 +
27 28 include ../../Makefile.master
28 29 include ../Makefile.lib
29 30
30 31 MANIFEST= client.xml
31 32 MANIFESTDIR= $(ROOT)/var/svc/manifest/network/dns
32 33 ROOTMANIFEST= $(MANIFEST:%=$(MANIFESTDIR)/%)
33 34
34 35 $(ROOTMANIFEST) := FILEMODE = 444
35 36 $(ROOTMANIFEST) := OWNER = root
36 37 $(ROOTMANIFEST) := GROUP = bin
37 38
38 39 CHKMANIFEST= $(MANIFEST:%.xml=%.xmlchk)
39 40
40 41 SUBDIRS= include $(MACH)
41 42 $(BUILD64)SUBDIRS += $(MACH64)
42 -SUBDIRS += .WAIT irs
43 43
44 -# EXPORT DELETE START
45 -# CRYPT DELETE START
46 -SUBDIRS += cylink dnssafe
47 -# CRYPT DELETE END
48 -# EXPORT DELETE END
49 -
50 44 all := TARGET= all
51 45 clean := TARGET= clean
52 46 clobber := TARGET= clobber
53 47 install := TARGET= install
54 48 lint := TARGET= lint
55 49 _msg := TARGET= _msg
56 50
57 51 LIBRARY= libresolv.a
58 52 TEXT_DOMAIN= SUNW_OST_OSLIB
59 53 XGETFLAGS= -a
60 54 POFILE= $(LIBRARY:.a=.po)
61 55 POFILES= generic.po
62 56
63 57 SED= sed
64 58 GREP= grep
65 59
66 60 .KEEP_STATE:
67 61
68 62 all clean clobber lint: $(SUBDIRS)
69 63
70 64 install: $(SUBDIRS) $(ROOTMANIFEST)
71 65
72 66 $(ROOTMANIFEST): $(MANIFESTDIR)
73 67
74 68 $(MANIFESTDIR):
75 69 $(INS.dir)
76 70
77 71 $(MANIFESTDIR)/%: %
|
↓ open down ↓ |
18 lines elided |
↑ open up ↑ |
78 72 $(INS.file)
79 73
80 74 # install rule for install_h target
81 75 $(ROOTHDRDIR)/%: %
82 76 $(INS.file)
83 77
84 78 install_h: $(ROOTHDRS)
85 79
86 80 check: $(CHECKHDRS) $(CHKMANIFEST)
87 81
88 -# EXPORT DELETE START
89 -# CRYPT DELETE START
90 -# Special targets to clean up the source tree for export distribution
91 -# Warning: These target change the source tree
92 -EXPORT_SRC:
93 - $(RM) Makefile+
94 - $(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
95 - < Makefile > Makefile+
96 - $(MV) Makefile+ Makefile
97 - $(CHMOD) 444 Makefile
98 - /usr/bin/find cylink dnssafe common/cylink common/dnssafe \
99 - -name SCCS -prune -o -type f -exec $(RM) {} \;
100 -
101 -CRYPT_SRC:
102 - $(RM) Makefile+
103 - $(SED) -e "/^# CRYPT DELETE START/,/^# CRYPT DELETE END/d" \
104 - < Makefile > Makefile+
105 - $(MV) Makefile+ Makefile
106 - $(CHMOD) 444 Makefile
107 - /usr/bin/find cylink dnssafe common/cylink common/dnssafe \
108 - -name SCCS -prune -o -type f -exec $(RM) {} \;
109 -
110 -# CRYPT DELETE END
111 -# EXPORT DELETE END
112 -
113 82 _msg: $(MSGDOMAIN) $(POFILE)
114 83 $(RM) $(MSGDOMAIN)/$(POFILE)
115 84 $(CP) $(POFILE) $(MSGDOMAIN)
116 85
117 86 $(POFILE): $(POFILES)
118 87 $(RM) $@
119 88 $(CAT) $(POFILES) > $@
120 89
121 90 $(POFILES):
122 91 $(RM) messages.po
123 92 $(XGETTEXT) $(XGETFLAGS) *.[ch]* */*.[ch]*
124 93 $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@
125 94 $(RM) messages.po
126 95
127 96 $(SUBDIRS): FRC
128 97 @cd $@; pwd; $(MAKE) $(TARGET); echo
129 98
130 99 FRC:
100 +
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX