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