author | Cyril Plisko <cyril.plisko@grigale.com> |
Fri, 15 Jul 2011 23:48:44 -0700 | |
changeset 86 | 7cec84c09a67 |
parent 84 | 6902ad00c313 |
child 88 | 571073f3db6d |
permissions | -rw-r--r-- |
0 | 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 (the "License"). |
|
6 |
# You may not use this file except in compliance with the License. |
|
7 |
# |
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
|
9 |
# or http://www.opensolaris.org/os/licensing. |
|
10 |
# See the License for the specific language governing permissions |
|
11 |
# and limitations under the License. |
|
12 |
# |
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each |
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
|
15 |
# If applicable, add the following below this CDDL HEADER, with the |
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying |
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
|
18 |
# |
|
19 |
# CDDL HEADER END |
|
20 |
# |
|
21 |
||
22 |
# |
|
68
e74d5317dbb9
Import sfw build 160
Cyril Plisko <cyril.plisko@grigale.com>
parents:
60
diff
changeset
|
23 |
# Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. |
0 | 24 |
# |
86
7cec84c09a67
Import sfw build 169
Cyril Plisko <cyril.plisko@grigale.com>
parents:
84
diff
changeset
|
25 |
# ident "@(#)Makefile 1.301 11/06/15 SMI" |
0 | 26 |
# |
27 |
||
28 |
# |
|
29 |
# pkgdefs/Makefile |
|
30 |
# |
|
31 |
||
32 |
include $(SRC)/Makefile.master |
|
33 |
||
34 |
sparc_SUBDIRS= |
|
35 |
||
80
ffd98b71d008
Import sfw build 166
Cyril Plisko <cyril.plisko@grigale.com>
parents:
78
diff
changeset
|
36 |
i386_SUBDIRS= |
0 | 37 |
|
86
7cec84c09a67
Import sfw build 169
Cyril Plisko <cyril.plisko@grigale.com>
parents:
84
diff
changeset
|
38 |
# These are not built, they're just here as exception lists |
7cec84c09a67
Import sfw build 169
Cyril Plisko <cyril.plisko@grigale.com>
parents:
84
diff
changeset
|
39 |
# for things we have to still build for use by other really |
7cec84c09a67
Import sfw build 169
Cyril Plisko <cyril.plisko@grigale.com>
parents:
84
diff
changeset
|
40 |
# packaged things |
7cec84c09a67
Import sfw build 169
Cyril Plisko <cyril.plisko@grigale.com>
parents:
84
diff
changeset
|
41 |
NOT_BUILT = \ |
0 | 42 |
SUNWapch22d \ |
43 |
SUNWapch22r \ |
|
44 |
SUNWapch22u \ |
|
45 |
SUNWapch22m-fcgid \ |
|
46 |
SUNWapch22r-fcgid \ |
|
47 |
SUNWapch22m-jk \ |
|
48 |
SUNWapch22r-jk \ |
|
49 |
SUNWapch22m-security \ |
|
50 |
SUNWapch22r-security \ |
|
51 |
SUNWapch22m-dtrace \ |
|
52 |
SUNWapch22r-dtrace \ |
|
53 |
SUNWapch22m-sed \ |
|
54 |
SUNWapch22r-sed \ |
|
4 | 55 |
SUNWapch22m-xml2enc \ |
56 |
SUNWapch22m-proxy-html \ |
|
86
7cec84c09a67
Import sfw build 169
Cyril Plisko <cyril.plisko@grigale.com>
parents:
84
diff
changeset
|
57 |
SUNWapch22r-proxy-html |
7cec84c09a67
Import sfw build 169
Cyril Plisko <cyril.plisko@grigale.com>
parents:
84
diff
changeset
|
58 |
|
7cec84c09a67
Import sfw build 169
Cyril Plisko <cyril.plisko@grigale.com>
parents:
84
diff
changeset
|
59 |
COMMON_SUBDIRS= \ |
7cec84c09a67
Import sfw build 169
Cyril Plisko <cyril.plisko@grigale.com>
parents:
84
diff
changeset
|
60 |
SUNWaalib \ |
7cec84c09a67
Import sfw build 169
Cyril Plisko <cyril.plisko@grigale.com>
parents:
84
diff
changeset
|
61 |
SUNWactivation \ |
7cec84c09a67
Import sfw build 169
Cyril Plisko <cyril.plisko@grigale.com>
parents:
84
diff
changeset
|
62 |
SUNWaget \ |
7cec84c09a67
Import sfw build 169
Cyril Plisko <cyril.plisko@grigale.com>
parents:
84
diff
changeset
|
63 |
SUNWapch22m-php52 \ |
7cec84c09a67
Import sfw build 169
Cyril Plisko <cyril.plisko@grigale.com>
parents:
84
diff
changeset
|
64 |
SUNWapch22r-php52 \ |
0 | 65 |
SUNWareca \ |
66 |
SUNWawstats \ |
|
67 |
SUNWbcc \ |
|
68 |
SUNWbonnieplus \ |
|
69 |
SUNWbvi \ |
|
70 |
SUNWbwm-ng \ |
|
71 |
SUNWclisp \ |
|
72 |
SUNWcmake \ |
|
73 |
SUNWconflict \ |
|
74 |
SUNWconvmv \ |
|
75 |
SUNWdosbox \ |
|
76 |
SUNWdwdiff \ |
|
77 |
SUNWejabberdr \ |
|
78 |
SUNWejabberdu \ |
|
79 |
SUNWerlang \ |
|
80 |
SUNWerlang-doc \ |
|
81 |
SUNWunrar \ |
|
82 |
SUNWffiltersr \ |
|
83 |
SUNWffiltersu \ |
|
84 |
SUNWfftw2 \ |
|
85 |
SUNWfoomatic-db \ |
|
86 |
SUNWfoomatic-db-enginer \ |
|
87 |
SUNWfoomatic-db-engineu \ |
|
88 |
SUNWfppd \ |
|
89 |
SUNWgcmn \ |
|
90 |
SUNWgnu-dbm \ |
|
4 | 91 |
SUNWgnupg \ |
0 | 92 |
SUNWgocr \ |
93 |
SUNWgrails \ |
|
94 |
SUNWGlib \ |
|
95 |
SUNWGtkr \ |
|
96 |
SUNWGtku \ |
|
97 |
SUNWhttping \ |
|
98 |
SUNWidzebra \ |
|
99 |
SUNWiftop \ |
|
100 |
SUNWImperius \ |
|
101 |
SUNWiozone \ |
|
102 |
SUNWiperf \ |
|
103 |
SUNWircii \ |
|
104 |
SUNWjedit \ |
|
105 |
SUNWjavamail \ |
|
106 |
SUNWjruby \ |
|
107 |
SUNWjaxb \ |
|
108 |
SUNWjrexx \ |
|
109 |
SUNWjunit \ |
|
110 |
SUNWkonkretcmpi \ |
|
111 |
SUNWlibconfuse \ |
|
112 |
SUNWlibmcrypt \ |
|
113 |
SUNWlibmemcached \ |
|
114 |
SUNWlibnet \ |
|
115 |
SUNWlibopenusb \ |
|
116 |
SUNWlibpcap \ |
|
117 |
SUNWlibosip2 \ |
|
118 |
SUNWlibrsync \ |
|
119 |
SUNWlibstdcxx4 \ |
|
120 |
SUNWlibxmlrpc-c \ |
|
121 |
SUNWlibyaz \ |
|
122 |
SUNWlinks \ |
|
123 |
SUNWlighttpd14r \ |
|
124 |
SUNWlighttpd14u \ |
|
125 |
SUNWmemcached-java \ |
|
126 |
SUNWmkcd \ |
|
127 |
SUNWmkcdr \ |
|
128 |
SUNWmrxvt \ |
|
129 |
SUNWmysql5u \ |
|
130 |
SUNWmysql5r \ |
|
131 |
SUNWmysql5test \ |
|
132 |
SUNWmysql5jdbc \ |
|
133 |
SUNWmysql51r \ |
|
134 |
SUNWmysql51u \ |
|
135 |
SUNWmysql51lib \ |
|
136 |
SUNWmysql51test \ |
|
137 |
SUNWnethack \ |
|
138 |
SUNWnethackr \ |
|
50
6100357dc4bc
Import sfw build 151
Cyril Plisko <cyril.plisko@grigale.com>
parents:
42
diff
changeset
|
139 |
SUNWofusr \ |
0 | 140 |
SUNWopenldapr \ |
141 |
SUNWopenldapu \ |
|
142 |
SUNWopenssl-commands \ |
|
2 | 143 |
SUNWopenssl-fips-140 \ |
144 |
SUNWopenssl-fips-140-include \ |
|
0 | 145 |
SUNWopenssl-include \ |
146 |
SUNWopenssl-libraries \ |
|
147 |
SUNWopenssl-man \ |
|
148 |
SUNWopensslr \ |
|
149 |
SUNWpconsoler \ |
|
150 |
SUNWpconsole \ |
|
151 |
SUNWpdsh \ |
|
152 |
SUNWpen \ |
|
153 |
SUNWpenr \ |
|
154 |
SUNWperl510core \ |
|
155 |
SUNWperl510usr \ |
|
156 |
SUNWperl-net-ssleay \ |
|
157 |
SUNWperl-pmtools \ |
|
158 |
SUNWphp52d \ |
|
159 |
SUNWphp52u \ |
|
160 |
SUNWphp52r \ |
|
3 | 161 |
SUNWphp52u-apc \ |
162 |
SUNWphp52r-apc \ |
|
163 |
SUNWphp52u-idn \ |
|
164 |
SUNWphp52r-idn \ |
|
165 |
SUNWphp52u-memcache \ |
|
166 |
SUNWphp52r-memcache \ |
|
0 | 167 |
SUNWphp52u-mysql \ |
168 |
SUNWphp52r-mysql \ |
|
169 |
SUNWphp52u-pear \ |
|
170 |
SUNWphp52r-pear \ |
|
3 | 171 |
SUNWphp52u-suhosin \ |
172 |
SUNWphp52r-suhosin \ |
|
173 |
SUNWphp52u-tcpwrap \ |
|
174 |
SUNWphp52r-tcpwrap \ |
|
175 |
SUNWphp52u-xdebug \ |
|
176 |
SUNWphp52r-xdebug \ |
|
0 | 177 |
SUNWpipe-viewer \ |
178 |
SUNWpowermanr \ |
|
179 |
SUNWpowermanu \ |
|
180 |
SUNWprivoxyr \ |
|
181 |
SUNWprivoxyu \ |
|
182 |
SUNWpywbem \ |
|
183 |
SUNWqdox \ |
|
184 |
SUNWquiltr \ |
|
185 |
SUNWquiltu \ |
|
186 |
SUNWrdiff-backup \ |
|
187 |
SUNWrpm \ |
|
188 |
SUNWsaaj \ |
|
189 |
SUNWsane-backendr \ |
|
190 |
SUNWsane-backendu \ |
|
191 |
SUNWsane-frontend \ |
|
192 |
SUNWSblimCimClient \ |
|
193 |
SUNWshmux \ |
|
194 |
SUNWsimplewbem \ |
|
195 |
SUNWslrn \ |
|
196 |
SUNWsnack \ |
|
3 | 197 |
SUNWspawn-fcgi \ |
0 | 198 |
SUNWsysbench \ |
199 |
SUNWtcltls \ |
|
200 |
SUNWtrove \ |
|
201 |
SUNWquaggar \ |
|
202 |
SUNWquaggau \ |
|
203 |
SUNWwebminu \ |
|
204 |
SUNWwebminr \ |
|
205 |
SUNWwisemanr \ |
|
84
6902ad00c313
Import sfw build 168
Cyril Plisko <cyril.plisko@grigale.com>
parents:
82
diff
changeset
|
206 |
SUNWwisemanu |
0 | 207 |
|
208 |
# STUB_ON_SUBDIRS are directories that are placeholder stubs |
|
209 |
# for packages delivered by the ON consolidation. These directories |
|
210 |
# provide enough information about the files delivered by the real |
|
211 |
# package to allow protocmp to properly validate such dependencies. |
|
212 |
# However, no corresponding package is delivered. |
|
213 |
# |
|
214 |
# At the current time, this feature is used to allow use of |
|
215 |
# /usr/lib/isaexec from sfw. |
|
216 |
STUB_ON_SUBDIRS= \ |
|
217 |
SUNWcsu |
|
218 |
||
219 |
SUBDIRS= $($(MACH)_SUBDIRS) $(COMMON_SUBDIRS) $(STUB_ON_SUBDIRS) |
|
220 |
||
221 |
all := TARGET= all |
|
222 |
install := TARGET= install |
|
223 |
install_h := TARGET= install_h |
|
224 |
clean := TARGET= clean |
|
225 |
clobber := TARGET= clobber |
|
226 |
||
227 |
%: %.ksh |
|
228 |
$(RM) $@ |
|
229 |
cp $< $@ |
|
230 |
chmod +x $@ |
|
231 |
||
232 |
.KEEP_STATE: |
|
233 |
||
234 |
.PARALLEL: $(SUBDIRS) |
|
235 |
||
8 | 236 |
all: awk_pkginfo $(SUBDIRS) |
0 | 237 |
|
8 | 238 |
install: awk_pkginfo $(SUBDIRS) $(SFW_RUN_CHECK_DEPS) check_deps |
0 | 239 |
|
240 |
check_deps: |
|
241 |
@echo "\n==== Checking package dependencies ====\n" |
|
242 |
@if [ ! -d "$(SFW_PKGDB)" ]; then \ |
|
243 |
echo "error: SFW_PKGDB must be set"; \ |
|
244 |
else ; \ |
|
245 |
echo $(SFW_CHECK_DEPS) $(SUBDIRS); \ |
|
246 |
$(SFW_CHECK_DEPS) $(SUBDIRS); \ |
|
247 |
fi |
|
248 |
||
249 |
clean clobber: $(SUBDIRS) |
|
250 |
$(RM) awk_pkginfo bld_awk_pkginfo |
|
251 |
||
252 |
$(SUBDIRS): FRC |
|
253 |
@cd $@; echo "$(TARGET) \c" ; pwd; $(MAKE) $(TARGET) |
|
254 |
||
255 |
awk_pkginfo: bld_awk_pkginfo |
|
256 |
./bld_awk_pkginfo -m $(MACH) -p "$(SFWRELEASE)/$(SFWVERSION)" -o $@ \ |
|
257 |
-v $(SFWVERS) |
|
258 |
||
259 |
||
260 |
FRC: |