Print this page
Added filesystem disturber: driver (fsd), library (libfsd), command (fsdadm)
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/Makefile
+++ new/usr/src/cmd/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 (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
23 23 # Copyright 2010 Nexenta Systems, Inc. All rights reserved.
24 24 # Copyright 2011 Joyent, Inc. All rights reserved.
25 25 # Copyright (c) 2012 by Delphix. All rights reserved.
26 26 # Copyright (c) 2013 DEY Storage Systems, Inc. All rights reserved.
27 27
28 28 include ../Makefile.master
29 29
30 30 #
31 31 # Note that the commands 'agents', 'lp', 'perl', and 'man' are first in
32 32 # the list, violating alphabetical order. This is because they are very
33 33 # long-running and should be given the most wall-clock time for a
34 34 # parallel build.
35 35 #
36 36 # Commands in the FIRST_SUBDIRS list are built before starting the build
37 37 # of other commands. Currently this includes only 'isaexec' and
38 38 # 'platexec'. This is necessary because $(ROOT)/usr/lib/isaexec or
39 39 # $(ROOT)/usr/lib/platexec must exist when some other commands are built
40 40 # because their 'make install' creates a hard link to one of them.
41 41 #
42 42 # Commands are listed one per line so that TeamWare can auto-merge most
43 43 # changes.
44 44 #
45 45
46 46 FIRST_SUBDIRS= \
47 47 isaexec \
48 48 platexec
49 49
50 50 COMMON_SUBDIRS= \
51 51 allocate \
52 52 availdevs \
53 53 lp \
54 54 perl \
55 55 man \
56 56 Adm \
57 57 abi \
58 58 adbgen \
59 59 acct \
60 60 acctadm \
61 61 arch \
62 62 asa \
63 63 ast \
64 64 audio \
65 65 auths \
66 66 autopush \
67 67 avs \
68 68 awk \
69 69 awk_xpg4 \
70 70 backup \
71 71 banner \
72 72 bart \
73 73 basename \
74 74 bc \
75 75 bdiff \
76 76 beadm \
77 77 bfs \
78 78 bnu \
79 79 boot \
80 80 busstat \
81 81 cal \
82 82 calendar \
83 83 captoinfo \
84 84 cat \
85 85 cdrw \
86 86 cfgadm \
87 87 checkeq \
88 88 checknr \
89 89 chgrp \
90 90 chmod \
91 91 chown \
92 92 chroot \
93 93 clear \
94 94 clinfo \
95 95 cmd-crypto \
96 96 cmd-inet \
97 97 col \
98 98 compress \
99 99 consadm \
100 100 coreadm \
101 101 cpio \
102 102 cpc \
103 103 cron \
104 104 crypt \
105 105 csh \
106 106 csplit \
107 107 ctrun \
108 108 ctstat \
109 109 ctwatch \
110 110 datadm \
111 111 date \
112 112 dc \
113 113 dd \
114 114 deroff \
115 115 devfsadm \
116 116 syseventd \
117 117 devctl \
118 118 devinfo \
119 119 devmgmt \
120 120 devprop \
121 121 dfs.cmds \
122 122 diff \
123 123 diff3 \
124 124 diffmk \
125 125 dircmp \
126 126 dirname \
127 127 dis \
128 128 diskmgtd \
129 129 dispadmin \
130 130 dladm \
131 131 dlstat \
132 132 dmesg \
133 133 dodatadm \
134 134 dtrace \
135 135 du \
136 136 dumpadm \
137 137 dumpcs \
138 138 echo \
139 139 ed \
140 140 eeprom \
141 141 egrep \
142 142 eject \
143 143 emul64ioctl \
144 144 enhance \
145 145 env \
146 146 eqn \
147 147 expand \
148 148 expr \
149 149 exstr \
150 150 factor \
151 151 false \
152 152 fcinfo \
153 153 fcoesvc \
154 154 fdetach \
155 155 fdformat \
156 156 fdisk \
157 157 filesync \
158 158 fgrep \
159 159 file \
160 160 filebench \
↓ open down ↓ |
160 lines elided |
↑ open up ↑ |
161 161 find \
162 162 flowadm \
163 163 flowstat \
164 164 fm \
165 165 fmt \
166 166 fmthard \
167 167 fmtmsg \
168 168 fold \
169 169 format \
170 170 fs.d \
171 + fsdadm \
171 172 fstyp \
172 173 fuser \
173 174 fwflash \
174 175 gcore \
175 176 gencat \
176 177 geniconvtbl \
177 178 genmsg \
178 179 getconf \
179 180 getdevpolicy \
180 181 getent \
181 182 getfacl \
182 183 getmajor \
183 184 getopt \
184 185 gettext \
185 186 gettxt \
186 187 grep \
187 188 grep_xpg4 \
188 189 groups \
189 190 grpck \
190 191 gss \
191 192 hal \
192 193 halt \
193 194 head \
194 195 hostid \
195 196 hostname \
196 197 hotplug \
197 198 hotplugd \
198 199 hwdata \
199 200 ibd_upgrade \
200 201 id \
201 202 idmap \
202 203 infocmp \
203 204 init \
204 205 initpkg \
205 206 install.d \
206 207 intrd \
207 208 intrstat \
208 209 ipcrm \
209 210 ipcs \
210 211 ipf \
211 212 isainfo \
212 213 isalist \
213 214 itutools \
214 215 iscsiadm \
215 216 iscsid \
216 217 iscsitsvc \
217 218 isns \
218 219 itadm \
219 220 java \
220 221 kbd \
221 222 keyserv \
222 223 killall \
223 224 krb5 \
224 225 ksh \
225 226 kvmstat \
226 227 last \
227 228 lastcomm \
228 229 latencytop \
229 230 ldap \
230 231 ldapcachemgr \
231 232 lgrpinfo \
232 233 line \
233 234 link \
234 235 dlmgmtd \
235 236 listen \
236 237 loadkeys \
237 238 locale \
238 239 localedef \
239 240 lockstat \
240 241 locator \
241 242 lofiadm \
242 243 logadm \
243 244 logger \
244 245 login \
245 246 logins \
246 247 look \
247 248 ls \
248 249 luxadm \
249 250 lvm \
250 251 mach \
251 252 machid \
252 253 mail \
253 254 mailx \
254 255 makekey \
255 256 mdb \
256 257 mesg \
257 258 mkdir \
258 259 mkfifo \
259 260 mkfile \
260 261 mkmsgs \
261 262 mknod \
262 263 mkpwdict \
263 264 mktemp \
264 265 modload \
265 266 more \
266 267 mpathadm \
267 268 msgfmt \
268 269 msgid \
269 270 mt \
270 271 mv \
271 272 mvdir \
272 273 ndmpadm \
273 274 ndmpd \
274 275 ndmpstat \
275 276 netadm \
276 277 netfiles \
277 278 newform \
278 279 newgrp \
279 280 news \
280 281 newtask \
281 282 nice \
282 283 nl \
283 284 nlsadmin \
284 285 nohup \
285 286 nsadmin \
286 287 nscd \
287 288 oamuser \
288 289 oawk \
289 290 od \
290 291 pack \
291 292 pagesize \
292 293 passmgmt \
293 294 passwd \
294 295 pathchk \
295 296 pbind \
296 297 pcidr \
297 298 pcitool \
298 299 pfexec \
299 300 pfexecd \
300 301 pginfo \
301 302 pgstat \
302 303 pgrep \
303 304 picl \
304 305 plimit \
305 306 policykit \
306 307 pools \
307 308 power \
308 309 powertop \
309 310 ppgsz \
310 311 pg \
311 312 plockstat \
312 313 pr \
313 314 prctl \
314 315 print \
315 316 printf \
316 317 priocntl \
317 318 profiles \
318 319 projadd \
319 320 projects \
320 321 prstat \
321 322 prtconf \
322 323 prtdiag \
323 324 prtvtoc \
324 325 ps \
325 326 psradm \
326 327 psrinfo \
327 328 psrset \
328 329 ptools \
329 330 pwck \
330 331 pwconv \
331 332 pwd \
332 333 pyzfs \
333 334 raidctl \
334 335 ramdiskadm \
335 336 rcap \
336 337 rcm_daemon \
337 338 rctladm \
338 339 refer \
339 340 regcmp \
340 341 renice \
341 342 rexd \
342 343 rm \
343 344 rmdir \
344 345 rmformat \
345 346 rmmount \
346 347 rmt \
347 348 rmvolmgr \
348 349 roles \
349 350 rpcbind \
350 351 rpcgen \
351 352 rpcinfo \
352 353 rpcsvc \
353 354 runat \
354 355 sa \
355 356 saf \
356 357 sasinfo \
357 358 savecore \
358 359 sbdadm \
359 360 script \
360 361 scsi \
361 362 sdiff \
362 363 sdpadm \
363 364 sed \
364 365 sendmail \
365 366 setfacl \
366 367 setmnt \
367 368 setpgrp \
368 369 setuname \
369 370 sgs \
370 371 sh \
371 372 shcomp \
372 373 smbios \
373 374 smbsrv \
374 375 smserverd \
375 376 soelim \
376 377 sort \
377 378 spell \
378 379 split \
379 380 sqlite \
380 381 srchtxt \
381 382 srptadm \
382 383 srptsvc \
383 384 ssh \
384 385 stat \
385 386 stmfadm \
386 387 stmfproxy \
387 388 stmfsvc \
388 389 stmsboot \
389 390 streams \
390 391 strings \
391 392 su \
392 393 sulogin \
393 394 sunpc \
394 395 svc \
395 396 svr4pkg \
396 397 swap \
397 398 sync \
398 399 sysdef \
399 400 syseventadm \
400 401 syslogd \
401 402 tabs \
402 403 tail \
403 404 tar \
404 405 tbl \
405 406 tcopy \
406 407 tcpd \
407 408 terminfo \
408 409 th_tools \
409 410 tic \
410 411 time \
411 412 tip \
412 413 tnf \
413 414 touch \
414 415 tput \
415 416 tr \
416 417 trapstat \
417 418 troff \
418 419 true \
419 420 truss \
420 421 tsol \
421 422 tty \
422 423 ttymon \
423 424 tzreload \
424 425 uadmin \
425 426 ul \
426 427 uname \
427 428 units \
428 429 unlink \
429 430 unpack \
430 431 userattr \
431 432 users \
432 433 utmp_update \
433 434 utmpd \
434 435 valtools \
435 436 vgrind \
436 437 vi \
437 438 volcheck \
438 439 volrmmount \
439 440 vrrpadm \
440 441 vscan \
441 442 vt \
442 443 w \
443 444 wall \
444 445 which \
445 446 who \
446 447 whodo \
447 448 wracct \
448 449 write \
449 450 wusbadm \
450 451 xargs \
451 452 xstr \
452 453 yes \
453 454 ypcmd \
454 455 yppasswd \
455 456 zdb \
456 457 zdump \
457 458 zfs \
458 459 zhack \
459 460 zic \
460 461 zinject \
461 462 zlogin \
462 463 zoneadm \
463 464 zoneadmd \
464 465 zonecfg \
465 466 zonename \
466 467 zpool \
467 468 zlook \
468 469 zonestat \
469 470 zstreamdump \
470 471 ztest
471 472
472 473 $(CLOSED_BUILD)COMMON_SUBDIRS += \
473 474 $(CLOSED)/cmd/iconv \
474 475 $(CLOSED)/cmd/ksh \
475 476 $(CLOSED)/cmd/localedef \
476 477 $(CLOSED)/cmd/more_xpg4 \
477 478 $(CLOSED)/cmd/mtst \
478 479 $(CLOSED)/cmd/od \
479 480 $(CLOSED)/cmd/patch \
480 481 $(CLOSED)/cmd/pax \
481 482 $(CLOSED)/cmd/printf \
482 483 $(CLOSED)/cmd/sed \
483 484 $(CLOSED)/cmd/sed_xpg4
484 485
485 486 i386_SUBDIRS= \
486 487 acpihpd \
487 488 addbadsec \
488 489 biosdev \
489 490 diskscan \
490 491 lms \
491 492 ntfsprogs \
492 493 parted \
493 494 rtc \
494 495 ucodeadm \
495 496 xvm
496 497
497 498 sparc_SUBDIRS= \
498 499 cvcd \
499 500 dcs \
500 501 device_remap \
501 502 drd \
502 503 fruadm \
503 504 ldmad \
504 505 oplhpd \
505 506 prtdscp \
506 507 prtfru \
507 508 scadm \
508 509 sckmd \
509 510 sf880drd \
510 511 virtinfo \
511 512 vntsd
512 513
513 514 #
514 515 # Commands that are messaged. Note that 'lp' and 'man' come first
515 516 # (see previous comment about 'lp' and 'man').
516 517 #
517 518 MSGSUBDIRS= \
518 519 lp \
519 520 man \
520 521 abi \
521 522 acctadm \
522 523 allocate \
523 524 asa \
524 525 audio \
525 526 audit \
526 527 auditconfig \
527 528 auditd \
528 529 auditrecord \
529 530 auditset \
530 531 auths \
531 532 autopush \
532 533 avs \
533 534 awk \
534 535 awk_xpg4 \
535 536 backup \
536 537 banner \
537 538 bart \
538 539 basename \
539 540 beadm \
540 541 bnu \
541 542 busstat \
542 543 cal \
543 544 cat \
544 545 cdrw \
545 546 cfgadm \
546 547 checkeq \
547 548 checknr \
548 549 chgrp \
549 550 chmod \
550 551 chown \
551 552 cmd-crypto \
552 553 cmd-inet \
553 554 col \
554 555 compress \
555 556 consadm \
556 557 coreadm \
557 558 cpio \
558 559 cpc \
559 560 cron \
560 561 csh \
561 562 csplit \
562 563 ctrun \
563 564 ctstat \
564 565 ctwatch \
565 566 datadm \
566 567 date \
567 568 dc \
568 569 dcs \
569 570 dd \
570 571 deroff \
571 572 devfsadm \
572 573 dfs.cmds \
573 574 diff \
574 575 diffmk \
575 576 dladm \
576 577 dlstat \
577 578 du \
578 579 dumpcs \
579 580 ed \
580 581 eject \
581 582 env \
582 583 eqn \
583 584 expand \
584 585 expr \
585 586 fcinfo \
586 587 fgrep \
587 588 file \
588 589 filesync \
589 590 find \
590 591 flowadm \
591 592 flowstat \
592 593 fm \
593 594 fold \
594 595 fs.d \
595 596 fwflash \
596 597 geniconvtbl \
597 598 genmsg \
598 599 getconf \
599 600 getent \
600 601 gettext \
601 602 gettxt \
602 603 grep \
603 604 grep_xpg4 \
604 605 grpck \
605 606 gss \
606 607 halt \
607 608 head \
608 609 hostname \
609 610 hotplug \
610 611 id \
611 612 idmap \
612 613 isaexec \
613 614 iscsiadm \
614 615 iscsid \
615 616 isns \
616 617 itadm \
617 618 kbd \
618 619 krb5 \
619 620 ksh \
620 621 last \
621 622 ldap \
622 623 ldapcachemgr \
623 624 lgrpinfo \
624 625 locale \
625 626 lofiadm \
626 627 logadm \
627 628 logger \
628 629 logins \
629 630 ls \
630 631 luxadm \
631 632 lvm \
632 633 mailx \
633 634 mesg \
634 635 mkdir \
635 636 mkpwdict \
636 637 mktemp \
637 638 more \
638 639 mpathadm \
639 640 msgfmt \
640 641 mv \
641 642 ndmpadm \
642 643 ndmpstat \
643 644 newgrp \
644 645 newtask \
645 646 nice \
646 647 nohup \
647 648 oawk \
648 649 pack \
649 650 passwd \
650 651 passmgmt \
651 652 pathchk \
652 653 pfexec \
653 654 pg \
654 655 pgrep \
655 656 picl \
656 657 pools \
657 658 power \
658 659 pr \
659 660 praudit \
660 661 print \
661 662 profiles \
662 663 projadd \
663 664 projects \
664 665 prstat \
665 666 prtdiag \
666 667 ps \
667 668 psrinfo \
668 669 ptools \
669 670 pwconv \
670 671 pwd \
671 672 pyzfs \
672 673 raidctl \
673 674 ramdiskadm \
674 675 rcap \
675 676 rcm_daemon \
676 677 refer \
677 678 regcmp \
678 679 renice \
679 680 roles \
680 681 rm \
681 682 rmdir \
682 683 rmformat \
683 684 rmmount \
684 685 rmvolmgr \
685 686 sasinfo \
686 687 sbdadm \
687 688 scadm \
688 689 script \
689 690 scsi \
690 691 sdiff \
691 692 sdpadm \
692 693 sgs \
693 694 sh \
694 695 shcomp \
695 696 smbsrv \
696 697 sort \
697 698 split \
698 699 srptadm \
699 700 ssh \
700 701 stat \
701 702 stmfadm \
702 703 stmsboot \
703 704 strings \
704 705 su \
705 706 svc \
706 707 svr4pkg \
707 708 swap \
708 709 syseventadm \
709 710 syseventd \
710 711 tabs \
711 712 tar \
712 713 tbl \
713 714 time \
714 715 tnf \
715 716 touch \
716 717 tput \
717 718 troff \
718 719 tsol \
719 720 tty \
720 721 ttymon \
721 722 tzreload \
722 723 ul \
723 724 uname \
724 725 units \
725 726 unlink \
726 727 unpack \
727 728 userattr \
728 729 valtools \
729 730 vgrind \
730 731 vi \
731 732 volcheck \
732 733 volrmmount \
733 734 vrrpadm \
734 735 vscan \
735 736 w \
736 737 who \
737 738 whodo \
738 739 wracct \
739 740 write \
740 741 wusbadm \
741 742 xargs \
742 743 yppasswd \
743 744 zdump \
744 745 zfs \
745 746 zic \
746 747 zlogin \
747 748 zoneadm \
748 749 zoneadmd \
749 750 zonecfg \
750 751 zonename \
751 752 zpool \
752 753 zonestat
753 754
754 755 $(CLOSED_BUILD)MSGSUBDIRS += \
755 756 $(CLOSED)/cmd/iconv \
756 757 $(CLOSED)/cmd/ksh \
757 758 $(CLOSED)/cmd/localedef \
758 759 $(CLOSED)/cmd/more_xpg4 \
759 760 $(CLOSED)/cmd/od \
760 761 $(CLOSED)/cmd/patch \
761 762 $(CLOSED)/cmd/pax \
762 763 $(CLOSED)/cmd/printf \
763 764 $(CLOSED)/cmd/sed \
764 765 $(CLOSED)/cmd/sed_xpg4
765 766
766 767 sparc_MSGSUBDIRS= \
767 768 fruadm \
768 769 prtdscp \
769 770 prtfru \
770 771 virtinfo \
771 772 vntsd
772 773
773 774 i386_MSGSUBDIRS= \
774 775 ucodeadm
775 776
776 777 #
777 778 # commands that use dcgettext for localized time, LC_TIME
778 779 #
779 780 DCSUBDIRS= \
780 781 cal \
781 782 cfgadm \
782 783 diff \
783 784 ls \
784 785 pr \
785 786 ps \
786 787 tar \
787 788 w \
788 789 who \
789 790 whodo \
790 791 write
791 792
792 793 $(CLOSED_BUILD)DCSUBDIRS += \
793 794 $(CLOSED)/cmd/pax
794 795
795 796 #
796 797 # commands that belong only to audit.
797 798 #
798 799 AUDITSUBDIRS= \
799 800 amt \
800 801 audit \
801 802 audit_warn \
802 803 auditconfig \
803 804 auditd \
804 805 auditrecord \
805 806 auditreduce \
806 807 auditset \
807 808 auditstat \
808 809 praudit
809 810
810 811 #
811 812 # commands not owned by the systems group
812 813 #
813 814 BWOSDIRS=
814 815
815 816
816 817 all := TARGET = all
817 818 install := TARGET = install
818 819 clean := TARGET = clean
819 820 clobber := TARGET = clobber
820 821 lint := TARGET = lint
821 822 _msg := TARGET = _msg
822 823 _dc := TARGET = _dc
823 824
824 825 .KEEP_STATE:
825 826
826 827 SUBDIRS = $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
827 828
828 829 .PARALLEL: $(BWOSDIRS) $(SUBDIRS) $(MSGSUBDIRS) $(AUDITSUBDIRS)
829 830
830 831 all install clean clobber lint: $(FIRST_SUBDIRS) .WAIT $(SUBDIRS) \
831 832 $(AUDITSUBDIRS)
832 833
833 834 #
834 835 # Manifests cannot be checked in parallel, because we are using
835 836 # the global repository that is in $(SRC)/cmd/svc/seed/global.db.
836 837 # For this reason, to avoid .PARALLEL and .NO_PARALLEL conflicts,
837 838 # we spawn off a sub-make to perform the non-parallel 'make check'
838 839 #
839 840 check:
840 841 $(MAKE) -f Makefile.check check
841 842
842 843 #
843 844 # The .WAIT directive works around an apparent bug in parallel make.
844 845 # Evidently make was getting the target _msg vs. _dc confused under
845 846 # some level of parallelization, causing some of the _dc objects
846 847 # not to be built.
847 848 #
848 849 _msg: $(MSGSUBDIRS) $($(MACH)_MSGSUBDIRS) .WAIT _dc
849 850
850 851 _dc: $(DCSUBDIRS)
851 852
852 853 #
853 854 # Dependencies
854 855 #
855 856 fs.d: fstyp
856 857 ksh: shcomp isaexec
857 858 mdb: terminfo
858 859 print: lp
859 860
860 861 $(FIRST_SUBDIRS) $(BWOSDIRS) $(SUBDIRS) $(AUDITSUBDIRS): FRC
861 862 @if [ -f $@/Makefile ]; then \
862 863 cd $@; pwd; $(MAKE) $(TARGET); \
863 864 else \
864 865 true; \
865 866 fi
866 867
867 868 FRC:
↓ open down ↓ |
687 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX