Print this page
7491 usr/src/lib/libfru is a mess
Reviewed by: Robert Mustacchi <rm@joyent.com>
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/Makefile
+++ new/usr/src/lib/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 (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
24 24 # Copyright (c) 2012 by Delphix. All rights reserved.
25 25 # Copyright (c) 2012, Joyent, Inc. All rights reserved.
26 26 # Copyright (c) 2013 Gary Mills
27 27 # Copyright 2014 Garrett D'Amore <garrett@damore.org>
28 28 # Copyright (c) 2015 Gary Mills
29 29 # Copyright 2016 Toomas Soome <tsoome@me.com>
30 30 # Copyright 2017 Nexenta Systems, Inc.
31 31 # Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
32 32 #
33 33
34 34 include ../Makefile.master
35 35
36 36 # Note that libcurses installs commands along with its library.
37 37 # This is a minor bug which probably should be fixed.
38 38 # Note also that a few extra libraries are kept in cmd source.
39 39 #
40 40 # Certain libraries are linked with, hence depend on, other libraries.
41 41 # Library dependencies are called out explicitly, see "Library
42 42 # interdependencies" below.
43 43 .PARALLEL:
44 44
45 45 # Build libc and its dependencies
46 46 SUBDIRS= \
47 47 crt \
48 48 ../cmd/sgs/libconv \
49 49 ../cmd/sgs/libdl \
50 50 libc \
51 51 .WAIT
52 52
53 53 # Build libraries with lots of dependents
54 54 SUBDIRS += \
55 55 libm \
56 56 libmd \
57 57 libmp \
58 58 libnsl \
59 59 libnvpair \
60 60 libsocket \
61 61 .WAIT
62 62
63 63 # Build everything else. Aside from explicit dependencies, all libraries
64 64 # are built in parallel.
65 65 SUBDIRS += \
66 66 ../cmd/sendmail/libmilter \
↓ open down ↓ |
66 lines elided |
↑ open up ↑ |
67 67 ../cmd/sgs/libelf \
68 68 ../cmd/sgs/librtld_db \
69 69 abi \
70 70 auditd_plugins \
71 71 brand \
72 72 c_synonyms \
73 73 cfgadm_plugins \
74 74 crypt_modules \
75 75 extendedFILE \
76 76 fm \
77 + fru \
77 78 getloginx \
78 79 gss_mechs/mech_dh \
79 80 gss_mechs/mech_dummy \
80 81 gss_mechs/mech_krb5 \
81 82 gss_mechs/mech_spnego \
82 83 hal \
83 84 hbaapi \
84 85 krb5 \
85 86 libadm \
86 87 libads \
87 88 libadt_jni \
88 89 libadutils \
89 90 libaio \
90 91 libast \
91 92 libavl \
92 93 libbe \
93 94 libbrand \
94 95 libbsdmalloc \
95 96 libbsm \
96 97 libc_db \
97 98 libcfgadm \
98 99 libcmd \
99 100 libcmdutils \
100 101 libcommputil \
101 102 libcontract \
102 103 libcpc \
103 104 libcrypt \
104 105 libcryptoutil \
105 106 libctf \
106 107 libcurses \
107 108 libdevice \
108 109 libdevid \
109 110 libdevinfo \
110 111 libdhcpagent \
111 112 libdhcputil \
112 113 libdisasm \
113 114 libdiskmgt \
114 115 libdladm \
115 116 libdll \
116 117 libdlpi \
117 118 libdns_sd \
118 119 libdoor \
119 120 libdscfg \
↓ open down ↓ |
33 lines elided |
↑ open up ↑ |
120 121 libdtrace \
121 122 libdtrace_jni \
122 123 libefi \
123 124 libelfsign \
124 125 libeti \
125 126 libexacct \
126 127 libexacct/demo \
127 128 libfakekernel \
128 129 libfcoe \
129 130 libficl \
130 - libfru \
131 - libfruutils \
132 131 libfsmgt \
133 132 libfstyp \
134 133 libgen \
135 134 libgrubmgmt \
136 135 libgss \
137 136 libhotplug \
138 137 libidmap \
139 138 libilb \
140 139 libima \
141 140 libinetsvc \
142 141 libinetutil \
143 142 libinstzones \
144 143 libintl \
145 144 libipadm \
146 145 libipd \
147 146 libipmi \
148 147 libipmp \
149 148 libipp \
150 149 libipsecutil \
151 150 libiscsit \
152 151 libkmf \
153 152 libkrb5 \
154 153 libkstat \
155 154 libkvm \
156 155 libldap5 \
157 156 liblgrp \
158 157 liblm \
159 158 libm1 \
160 159 libmail \
161 160 libmalloc \
162 161 libmapid \
163 162 libmapmalloc \
164 163 libmd5 \
165 164 libmtmalloc \
166 165 libmvec \
167 166 libndmp \
168 167 libnisdb \
169 168 libnls \
170 169 libnsctl \
171 170 libnwam \
172 171 libofmt \
173 172 libpam \
174 173 libpcidb \
175 174 libpctx \
176 175 libpicl \
177 176 libpicltree \
178 177 libpkg \
179 178 libpool \
180 179 libpp \
181 180 libproc \
182 181 libproject \
183 182 libpthread \
184 183 libraidcfg \
185 184 librcm \
186 185 librdc \
187 186 libreparse \
188 187 libresolv \
189 188 libresolv2 \
190 189 librestart \
191 190 librpcsvc \
192 191 librsm \
193 192 librstp \
194 193 librt \
195 194 libsasl \
196 195 libscf \
197 196 libsched \
198 197 libsctp \
199 198 libsec \
200 199 libsecdb \
201 200 libsendfile \
202 201 libsff \
203 202 libshare \
204 203 libshell \
205 204 libsip \
206 205 libsldap \
207 206 libslp \
208 207 libsmbfs \
209 208 libsmbios \
210 209 libsmedia \
211 210 libsqlite \
212 211 libsrpt \
213 212 libstmf \
214 213 libstmfproxy \
215 214 libsum \
216 215 libsun_ima \
217 216 libsys \
218 217 libsysevent \
219 218 libtecla \
220 219 libtermcap \
221 220 libthread \
222 221 libtnf \
223 222 libtnfctl \
224 223 libtnfprobe \
225 224 libtsnet \
226 225 libtsol \
227 226 libumem \
228 227 libunistat \
229 228 libuuid \
230 229 libuutil \
231 230 libvolmgt \
232 231 libvrrpadm \
233 232 libvscan \
234 233 libw \
235 234 libwanboot \
236 235 libwanbootutil \
237 236 libwrap \
238 237 libxcurses \
239 238 libxcurses2 \
240 239 libxnet \
241 240 libzfs \
242 241 libzfs_core \
243 242 libzfs_jni \
244 243 libzonecfg \
245 244 libzoneinfo \
246 245 libzonestat \
247 246 libzpool \
248 247 madv \
249 248 mpapi \
250 249 mpss \
251 250 nametoaddr \
252 251 ncad_addr \
253 252 nsswitch \
254 253 pam_modules \
255 254 passwdutil \
256 255 pkcs11 \
257 256 policykit \
258 257 print \
259 258 pylibbe \
260 259 pysolaris \
261 260 pyzfs \
262 261 raidcfg_plugins \
263 262 rpcsec_gss \
264 263 sasl_plugins \
265 264 scsi \
266 265 smbsrv \
267 266 smhba \
268 267 sun_fc \
269 268 sun_sas \
270 269 udapl \
271 270 watchmalloc \
272 271 $($(MACH)_SUBDIRS)
273 272
274 273 i386_SUBDIRS= \
275 274 libfdisk \
276 275 libsaveargs
277 276
278 277 sparc_SUBDIRS= \
279 278 efcode \
280 279 libds \
281 280 libdscp \
282 281 libprtdiag \
283 282 libprtdiag_psr \
284 283 libpri \
285 284 librsc \
286 285 storage \
287 286 libpcp \
288 287 libtsalarm \
289 288 libv12n
290 289
291 290 #
292 291 # Create a special version of $(SUBDIRS) with no .WAIT's, for use with the
293 292 # clean and clobber targets (for more information, see those targets, below).
294 293 #
295 294 NOWAIT_SUBDIRS= $(SUBDIRS:.WAIT=)
296 295
297 296 DCSUBDIRS=
298 297
299 298 MSGSUBDIRS= \
300 299 abi \
301 300 auditd_plugins \
302 301 brand \
303 302 cfgadm_plugins \
304 303 gss_mechs/mech_dh \
305 304 gss_mechs/mech_krb5 \
306 305 krb5 \
307 306 libast \
308 307 libbsm \
309 308 libc \
310 309 libcfgadm \
311 310 libcmd \
312 311 libcontract \
313 312 libcurses \
314 313 libdhcputil \
315 314 libdiskmgt \
316 315 libdladm \
317 316 libdll \
318 317 libgrubmgmt \
319 318 libgss \
320 319 libidmap \
321 320 libilb \
322 321 libinstzones \
323 322 libipadm \
324 323 libipmp \
325 324 libipsecutil \
326 325 libldap5 \
327 326 libnsl \
328 327 libnwam \
329 328 libofmt \
330 329 libpam \
331 330 libpicl \
332 331 libpkg \
333 332 libpool \
334 333 libpp \
335 334 libreparse \
336 335 libsasl \
337 336 libscf \
338 337 libsecdb \
339 338 libshare \
340 339 libshell \
341 340 libsldap \
342 341 libslp \
343 342 libsmbfs \
344 343 libsmedia \
345 344 libsum \
346 345 libtsol \
347 346 libuutil \
348 347 libvrrpadm \
349 348 libvscan \
350 349 libwanboot \
351 350 libwanbootutil \
352 351 libzfs \
353 352 libzonecfg \
354 353 madv \
355 354 mpss \
356 355 pam_modules \
357 356 pyzfs \
358 357 rpcsec_gss \
359 358 $($(MACH)_MSGSUBDIRS)
360 359
↓ open down ↓ |
219 lines elided |
↑ open up ↑ |
361 360 sparc_MSGSUBDIRS= \
362 361 libprtdiag \
363 362 libprtdiag_psr
364 363
365 364 i386_MSGSUBDIRS= libfdisk
366 365
367 366 HDRSUBDIRS= \
368 367 ../cmd/sendmail/libmilter \
369 368 auditd_plugins \
370 369 fm \
370 + fru \
371 371 hal \
372 372 hbaapi \
373 373 libads \
374 374 libast \
375 375 libbrand \
376 376 libbsm \
377 377 libc \
378 378 libcmd \
379 379 libcmdutils \
380 380 libcommputil \
381 381 libcontract \
382 382 libcpc \
383 383 libcryptoutil \
384 384 libctf \
385 385 libcurses \
386 386 libdevice \
387 387 libdevid \
388 388 libdevinfo \
389 389 libdhcpagent \
390 390 libdhcputil \
391 391 libdisasm \
392 392 libdiskmgt \
393 393 libdladm \
↓ open down ↓ |
13 lines elided |
↑ open up ↑ |
394 394 libdll \
395 395 libdlpi \
396 396 libdns_sd \
397 397 libdscfg \
398 398 libdtrace \
399 399 libdtrace_jni \
400 400 libelfsign \
401 401 libeti \
402 402 libfakekernel \
403 403 libfcoe \
404 - libfru \
405 404 libfstyp \
406 405 libgen \
407 406 libgrubmgmt \
408 407 libidmap \
409 408 libilb \
410 409 libima \
411 410 libinetsvc \
412 411 libinetutil \
413 412 libinstzones \
414 413 libipadm \
415 414 libipd \
416 415 libipmi \
417 416 libipmp \
418 417 libipp \
419 418 libipsecutil \
420 419 libiscsit \
421 420 libkrb5 \
422 421 libkstat \
423 422 libkvm \
424 423 libmail \
425 424 libmapid \
426 425 libmd \
427 426 libmtmalloc \
428 427 libndmp \
429 428 libnsctl \
430 429 libnsl \
431 430 libnvpair \
432 431 libnwam \
433 432 libofmt \
434 433 libpam \
435 434 libpcidb \
436 435 libpctx \
437 436 libpicl \
438 437 libpicltree \
439 438 libpool \
440 439 libpp \
441 440 libproc \
442 441 libraidcfg \
443 442 librcm \
444 443 librdc \
445 444 libreparse \
446 445 librestart \
447 446 librpcsvc \
448 447 librsm \
449 448 librstp \
450 449 libsasl \
451 450 libscf \
452 451 libsec \
453 452 libsff \
454 453 libshare \
455 454 libshell \
456 455 libsip \
457 456 libslp \
458 457 libsmbfs \
459 458 libsmbios \
460 459 libsmedia \
461 460 libsocket \
462 461 libsqlite \
463 462 libsrpt \
464 463 libstmf \
465 464 libstmfproxy \
466 465 libsum \
467 466 libsun_ima \
468 467 libsysevent \
469 468 libtecla \
470 469 libtermcap \
471 470 libtnf \
472 471 libtnfctl \
473 472 libtnfprobe \
474 473 libtsnet \
475 474 libtsol \
476 475 libumem \
477 476 libunistat \
478 477 libuutil \
479 478 libvolmgt \
480 479 libvrrpadm \
481 480 libvscan \
482 481 libwanboot \
483 482 libwanbootutil \
484 483 libwrap \
485 484 libxcurses2 \
486 485 libzfs \
487 486 libzfs_core \
488 487 libzfs_jni \
489 488 libzoneinfo \
490 489 libzonestat \
491 490 mpapi \
492 491 passwdutil \
493 492 pkcs11 \
494 493 policykit \
495 494 scsi \
496 495 smbsrv \
497 496 smhba \
498 497 udapl \
499 498 $($(MACH)_HDRSUBDIRS)
500 499
501 500 i386_HDRSUBDIRS= \
502 501 libfdisk \
503 502 libsaveargs
504 503
505 504 sparc_HDRSUBDIRS= \
506 505 libds \
507 506 libdscp \
508 507 libpri \
509 508 libv12n \
510 509 storage
511 510
512 511 all := TARGET= all
513 512 check := TARGET= check
514 513 clean := TARGET= clean
515 514 clobber := TARGET= clobber
516 515 install := TARGET= install
517 516 install_h := TARGET= install_h
518 517 lint := TARGET= lint
519 518 _dc := TARGET= _dc
520 519 _msg := TARGET= _msg
521 520
522 521 .KEEP_STATE:
523 522
524 523 #
525 524 # For the all and install targets, we clearly must respect library
526 525 # dependencies so that the libraries link correctly. However, for
527 526 # the remaining targets (check, clean, clobber, install_h, lint, _dc
528 527 # and _msg), libraries do not have any dependencies on one another
529 528 # and thus respecting dependencies just slows down the build.
530 529 # As such, for these rules, we use pattern replacement to explicitly
531 530 # avoid triggering the dependency information. Note that for clean,
532 531 # clobber and lint, we must use $(NOWAIT_SUBDIRS) rather than
533 532 # $(SUBDIRS), to prevent `.WAIT' from expanding to `.WAIT-nodepend'.
534 533 #
535 534
536 535 all: $(SUBDIRS)
537 536
538 537 install: $(SUBDIRS) .WAIT install_extra
539 538
540 539 # extra libraries kept in other source areas
541 540 install_extra:
542 541 @cd ../cmd/sgs; pwd; $(MAKE) install_lib
543 542 @pwd
544 543
545 544 clean clobber lint: $(NOWAIT_SUBDIRS:%=%-nodepend)
546 545
547 546 install_h check: $(HDRSUBDIRS:%=%-nodepend)
548 547
549 548 _msg: $(MSGSUBDIRS:%=%-nodepend) .WAIT _dc
550 549
551 550 _dc: $(DCSUBDIRS:%=%-nodepend)
552 551
553 552 # Library interdependencies are called out explicitly here.
554 553 ../cmd/sgs/libconv: crt
555 554 ../cmd/sgs/libdl: crt
556 555 libc: ../cmd/sgs/libconv ../cmd/sgs/libdl
557 556
558 557 libm: libc
559 558 libmd: libc
560 559 libmp: libc
561 560 libnsl: libc libmd libmp
562 561 libnvpair: libc libnsl
563 562 libsocket: libc libnsl
564 563
565 564 basedeps: libc libm libmd libmp libnsl libnvpair libsocket
566 565 basedeps := TARGET=install
567 566
568 567 # The following dependencies are currently required by libdbus-1 and should
569 568 # be used for anything linking against it.
570 569 dbusdeps: libsecdb libtsol libinetutil libscf libuutil libgen libsmbios
571 570
↓ open down ↓ |
157 lines elided |
↑ open up ↑ |
572 571 # The following dependencies don't need to be listed below as they are built
573 572 # before everything else:
574 573 # libc libm libmd libmp libnsl libnvpair libsocket
575 574 abi: libctf libmapmalloc libproc
576 575 auditd_plugins: libbsm libsecdb libgss libmtmalloc
577 576 brand: libzonecfg libmapmalloc
578 577 cfgadm_plugins: libdevice libdevinfo libhotplug librcm hbaapi libkstat libscf
579 578 fm: libexacct libipmi libzfs scsi libdevinfo libdevid libcfgadm \
580 579 libcontract libsysevent ../cmd/sgs/libelf libdladm
581 580 $(SPARC_BLD)fm: libpri
581 +$(SPARC_BLD)fru: libpicl
582 582 gss_mechs/mech_dh: libgss
583 583 gss_mechs/mech_dummy: libgss
584 584 gss_mechs/mech_krb5: libgss libresolv2 pkcs11 libkstat
585 585 gss_mechs/mech_spnego: gss_mechs/mech_krb5
586 586 hal: dbusdeps
587 587 krb5: gss_mechs/mech_krb5 libtecla libldap5
588 588 libadt_jni: libbsm
589 589 libadutils: libldap5 libresolv2
590 590 libbe: libzfs libinstzones libuuid libgen libdevinfo libefi libficl
591 591 libbsm: libinetutil libscf libsecdb libtsol
592 592 libcfgadm: libdevinfo
593 593 libcmd: libsum libast
594 594 libcmdutils: libavl
595 595 libcpc: libpctx
596 596 libcrypt: libgen
597 597 libdevid: libdevinfo
598 598 libdevinfo: libsec libgen
599 599 libdhcpagent: libdhcputil libuuid libdlpi libcontract
600 600 libdhcputil: libgen libinetutil libdlpi
601 601 libdiskmgt: libdevid libdevinfo libadm libefi libkstat libsysevent
602 602 $(INTEL_BLD)libdiskmgt: libfdisk
603 603 libdladm: libdevinfo libinetutil libscf librcm libexacct libkstat \
604 604 libpool
605 605 libdll: libast
606 606 libdlpi: libinetutil libdladm
607 607 libds: libsysevent
↓ open down ↓ |
16 lines elided |
↑ open up ↑ |
608 608 libdscfg: libnsctl libunistat libadm
609 609 libdtrace: libproc libgen libctf libmapmalloc
610 610 libdtrace_jni: libuutil libdtrace
611 611 libefi: libuuid
612 612 libelfsign: libcryptoutil libkmf ../cmd/sgs/libelf
613 613 libeti: libcurses
614 614 libexacct/demo: libexacct libproject
615 615 libfakekernel: libumem libcryptoutil
616 616 libfcoe: libdladm
617 617 libficl: libuuid libumem
618 -libfru: libfruutils
619 618 libfsmgt: libkstat
620 619 libgrubmgmt: libdevinfo libzfs libfstyp libefi
621 620 $(INTEL_BLD)libgrubmgmt: libfdisk
622 621 libidmap: libavl libuutil
623 622 libinetsvc: libscf
624 623 libinstzones: libzonecfg libcontract
625 624 libipadm: libinetutil libdlpi libdhcpagent libdladm libsecdb libdhcputil
626 625 libipmp: libinetutil
627 626 libipsecutil: libtecla libtsol
628 627 libiscsit: libstmf libuuid
629 628 libkmf: libcryptoutil pkcs11
630 629 libkvm: ../cmd/sgs/libelf
631 630 libldap5: libsasl
632 631 libmapid: libresolv2 libscf
633 632 libndmp: libscf
634 633 libnisdb: libldap5
635 634 libnwam: libscf libbsm libdladm libipadm
636 635 libpcp: libumem libdevinfo
637 636 libpctx: libproc
638 637 libpkg: libwanboot libscf libadm
639 638 libpool: libscf libexacct
640 639 libpp: libast
641 640 libproc: ../cmd/sgs/librtld_db ../cmd/sgs/libelf libctf
642 641 $(INTEL_BLD)libproc: libsaveargs
643 642 libproject: libpool libproc libsecdb
644 643 libprtdiag: libkstat
645 644 libprtdiag_psr: libprtdiag
646 645 libraidcfg: libdevinfo
647 646 librdc: libnsctl libunistat libdscfg
648 647 librestart: libuutil libscf libpool libproject libsecdb libsysevent
649 648 libsasl: libgss pkcs11
650 649 libsaveargs: libdisasm
651 650 libscf: libuutil libgen libsmbios
652 651 libsec: libavl libidmap
653 652 libsff: libnvpair
654 653 libshare: libscf libzfs libuuid libfsmgt libsecdb libumem libsmbfs
655 654 libshell: libast libcmd libdll libsecdb
656 655 libsip: libmd5
657 656 libsldap: libldap5 libscf
658 657 libsmbfs: libkrb5 libsec libidmap pkcs11
659 658 libsmbios: libdevinfo
660 659 libsrpt: libstmf
661 660 libstmf: libscf
662 661 libstmfproxy: libstmf libpthread
663 662 libsum: libast
664 663 libsun_ima: libdevinfo libsysevent
665 664 libsysevent: libsecdb
666 665 libtecla: libcurses
667 666 libtermcap: libcurses
668 667 libtnfctl: ../cmd/sgs/libelf
669 668 libtsalarm: libpcp
670 669 libtsnet: libtsol libsecdb
671 670 libtsol: libsecdb
672 671 libuuid: libdlpi
673 672 libv12n: libds libuuid
674 673 libvolmgt: libadm
675 674 libvrrpadm: libdladm libscf
676 675 libvscan: libscf libsecdb
677 676 libwanboot: libresolv2 libdevinfo libinetutil libdhcputil
678 677 libzfs: libdevid libgen libuutil libadm libavl libefi libidmap \
679 678 libumem libtsol libzfs_core
680 679 libzfs_jni: libdiskmgt libzfs
681 680 libzonecfg: libuuid libsysevent libsec libbrand libpool libscf libproc \
682 681 libuutil libbsm libsecdb
683 682 libzonestat: libcmdutils libumem
684 683 libzpool: libavl libumem libcmdutils libsysevent
685 684 madv: libgen
686 685 mpapi: libpthread libdevinfo libsysevent
687 686 mpss: libgen
688 687 nsswitch: libadutils libidmap libdns_sd libscf libldap5 libsldap
689 688 pam_modules: libproject passwdutil smbsrv libtsnet libpam libbsm libsecdb
↓ open down ↓ |
61 lines elided |
↑ open up ↑ |
690 689 passwdutil: libsldap
691 690 pkcs11: libcryptoutil libgen libuuid
692 691 policykit: dbusdeps
693 692 print: libldap5 libmd5 libsendfile
694 693 pylibbe: libbe libzfs
695 694 pysolaris: libsec libidmap
696 695 pyzfs: libzfs
697 696 raidcfg_plugins: libraidcfg librcm libcfgadm libpicl libpicltree
698 697 rpcsec_gss: libgss
699 698 sasl_plugins: pkcs11 libgss libsasl
700 -scsi: libfru libumem libdevid libdevinfo
699 +scsi: fru libumem libdevid libdevinfo
701 700 smbsrv: libxnet libpthread librt libshare libidmap pkcs11 libsqlite \
702 701 libcryptoutil libreparse libcmdutils libresolv2 libsmbfs \
703 702 libuuid libfakekernel libads libgss libldap5 krb5
704 703 storage: libdevice libdevinfo libdevid
705 704 sun_fc: libdevinfo libsysevent
706 705 sun_sas: libdevinfo libsysevent libkstat libdevid
707 706 udapl: libdevinfo libdladm
708 707
709 708 #
710 709 # The reason this rule checks for the existence of the
711 710 # Makefile is that some of the directories do not exist
712 711 # in certain situations (e.g., exportable source builds,
713 712 # OpenSolaris).
714 713 #
715 714 $(SUBDIRS): FRC
716 715 @if [ -f $@/Makefile ]; then \
717 716 cd $@; pwd; $(MAKE) $(TARGET); \
718 717 else \
719 718 true; \
720 719 fi
721 720
722 721 $(SUBDIRS:%=%-nodepend):
723 722 @if [ -f $(@:%-nodepend=%)/Makefile ]; then \
724 723 cd $(@:%-nodepend=%); pwd; $(MAKE) $(TARGET); \
725 724 else \
726 725 true; \
727 726 fi
728 727
729 728 FRC:
↓ open down ↓ |
19 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX