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