Print this page
| Split |
Close |
| Expand all |
| Collapse all |
--- old/usr/src/pkgdefs/Makefile
+++ new/usr/src/pkgdefs/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/CDDL.txt
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/CDDL.txt.
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 #ident "@(#)Makefile 1.129 07/08/15 SMI"
24 24 #
25 25 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
26 26 # Use is subject to license terms.
27 27 #
28 28 # pkgdefs/Makefile
29 29
30 30 include $(SRC)/Makefile.master
31 31
32 32 sparc_NONSHIP_SUBDIRS =
33 33 i386_NONSHIP_SUBDIRS =
34 34
35 35 I18N_SUBDIRS = \
36 36 SUNW0scds
37 37
38 38 NONSHIP_SUBDIRS = \
39 39 $($(MACH)_NONSHIP_SUBDIRS)
40 40
41 41 PRODUCT_SUBDIRS = \
42 42 SUNWscdns \
43 43 SUNWscnfs \
44 44 SUNWschtt \
45 45 SUNWscapc \
46 46 SUNWscsap \
47 47 SUNWsclc \
48 48 SUNWscwls \
49 49 SUNWscs1as \
50 50 SUNWscs1mq \
|
↓ open down ↓ |
50 lines elided |
↑ open up ↑ |
51 51 SUNWscsapdb \
52 52 SUNWschadb \
53 53 SUNWscsapenq \
54 54 SUNWscsaprepl \
55 55 SUNWscsapwebas \
56 56 SUNWscsapscs \
57 57 SUNWscsge \
58 58 SUNWscPostgreSQL \
59 59 SUNWsc9ias \
60 60 SUNWscdhc \
61 + SUNWscids \
61 62 SUNWscmqs \
62 63 SUNWscmys \
63 64 SUNWsctomcat \
64 65 SUNWscsps \
65 66 SUNWscmqi \
66 67 SUNWscsmb \
67 68 SUNWscsaa \
68 - SUNWscsag
69 + SUNWscsag
69 70
70 71 $(CLOSED_BUILD)PRODUCT_SUBDIRS += \
71 72 SUNWscor \
72 73 SUNWscsyb
73 74
74 75 s9_PRODUCT_SUBDIRS += \
75 76 SUNWscpax
76 77
77 78 $(S9_BUILD)PRODUCT_SUBDIRS += $(s9_PRODUCT_SUBDIRS)
78 79
79 80 post_s9_PRODUCT_SUBDIRS += \
80 81 SUNWsckrb5 \
81 82 SUNWsczone
82 83
83 84 $(POST_S9_BUILD)PRODUCT_SUBDIRS += $(post_s9_PRODUCT_SUBDIRS)
84 85
85 86 sparc_PRODUCT_SUBDIRS += \
86 87 SUNWscebs \
87 88 SUNWscsbl
88 89
89 90 PRODUCT_SUBDIRS += $($(MACH)_PRODUCT_SUBDIRS)
90 91
91 92 SUBDIRS= \
92 93 $(PRODUCT_SUBDIRS) \
93 94 $(NONSHIP_SUBDIRS) \
94 95 $(I18N_SUBDIRS)
95 96
96 97 # Targetdirs needs to process all package subdirs, as we build all the code,
97 98 # even if the agent isn't supported/packaged on a particular platform
98 99 $(POST_S9_BUILD)ALLPKG_SUBDIRS += $(s9_PRODUCT_SUBDIRS)
99 100 $(S9_BUILD)ALLPKG_SUBDIRS += $(post_s9_PRODUCT_SUBDIRS)
100 101 i386_ALLPKG_SUBDIRS += $(sparc_PRODUCT_SUBDIRS)
101 102 sparc_ALLPKG_SUBDIRS += $(i386_PRODUCT_SUBDIRS)
102 103 ALLPKG_SUBDIRS += $(SUBDIRS) $($(MACH)_ALLPKG_SUBDIRS)
103 104
104 105 # Support for S11 is unknown at this time, so include all agents
105 106 $(S11_BUILD)SUBDIRS += $(s9_PRODUCT_SUBDIRS) $($(MACH)_ALLPKG_SUBDIRS)
106 107
107 108 sparc_XMODS=
108 109
109 110 # L10N support dropped from 3.2 due to resource constraints
110 111 # L10N support is included in open source builds
111 112 $(CLOSED_BUILD)$(S11_BUILD)L10N_XMODS= l10n
112 113
113 114 $(CLOSED_BUILD)DVDIMAGES_XMODS= \
114 115 dvdimages
115 116
116 117 XMODS= $($(MACH)_XMODS) $(L10N_XMODS) $(DVDIMAGES_XMODS)
117 118
118 119 DOT_FILES= dot.clustertoc dot.order
119 120
120 121 all := TARGET= all
121 122 install := TARGET= install
122 123 clean := TARGET= clean
123 124 clobber := TARGET= clobber
124 125 _msg := TARGET= _msg
125 126 patch_build := TARGET= patch_build
126 127
127 128 .KEEP_STATE:
128 129
129 130 .PARALLEL: $(SUBDIRS) $(XMODS)
130 131
131 132 install: awk_pkginfo $(SUBDIRS) $(XMODS)
132 133
133 134 _msg: ./parse_i18n_proto $(I18N_SUBDIRS)
134 135
135 136 all: awk_pkginfo $(SUBDIRS) $(XMODS) $(DOT_FILES)
136 137
137 138 clean clobber: $(SUBDIRS) $(XMODS)
138 139 $(RM) awk_pkginfo Targetdirs $(DOT_FILES)
139 140
140 141 patch_build: awk_pkginfo $(PRODUCT_SUBDIRS)
141 142
142 143 $(SUBDIRS): FRC
143 144 @cd $@; pwd; $(MAKE) $(TARGET)
144 145
145 146 $(XMODS): FRC
146 147 @if [ -f $@/Makefile ]; then \
147 148 cd $@; pwd; $(MAKE) $(TARGET); \
148 149 else \
149 150 true; \
150 151 fi
151 152
152 153 DOT_CLUSTERTOC_SRC = dot.clustertoc.sun_cluster_agents.$(NATIVE_MACH)
153 154 $(S9_BUILD)DOT_CLUSTERTOC_SRC = dot.clustertoc.sun_cluster_agents.$(NATIVE_MACH).Sol_9
154 155
155 156 DOT_ORDER_SRC= dot.order.sun_cluster_agents.$(NATIVE_MACH)
156 157 $(S9_BUILD)DOT_ORDER_SRC= dot.order.sun_cluster_agents.$(NATIVE_MACH).Sol_9
157 158
158 159 dot.clustertoc: $(DOT_CLUSTERTOC_SRC)
159 160 $(RM) $@
160 161 cp $(DOT_CLUSTERTOC_SRC) $@
161 162
162 163 dot.order: $(DOT_ORDER_SRC)
163 164 $(RM) $@
164 165 cp $(DOT_ORDER_SRC) $@
165 166
166 167 $(NOT_RELEASE_BUILD)AWK_PKGINFO_DFLAG= -d
167 168
168 169 awk_pkginfo: ./bld_awk_pkginfo
169 170 ./bld_awk_pkginfo -m $(MACH) -p "$(RELEASE)/$(VERSION)" ${AWK_PKGINFO_DFLAG} -o $@
170 171
171 172 ALL_PROTOTYPES = $(ALLPKG_SUBDIRS:%=%/pkginfo.tmpl %/prototype_com) \
172 173 $(ALLPKG_SUBDIRS:%=%/pkginfo.tmpl %/prototype_$(MACH))
173 174
174 175 makefiles: Targetdirs parse_i18n_proto
175 176
176 177 # generate Targetdirs and use that to create all the proto directories
177 178 Targetdirs: ./pkgdefs_to_targetdirs $(ALL_PROTOTYPES)
178 179 ./pkgdefs_to_targetdirs $(ALL_PROTOTYPES) > Targetdirs
179 180
180 181 FRC:
|
↓ open down ↓ |
102 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX