Print this page
4833 Remove volrmmount
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
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]
↓ open down ↓ |
17 lines elided |
↑ open up ↑ |
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 2015 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 27 # Copyright 2014 Garrett D'Amore <garrett@damore.org>
28 +# Copyright 2014 Andrew Stormont.
28 29
29 30 include ../Makefile.master
30 31
31 32 #
32 33 # Note that the commands 'lp', and 'perl' are first in
33 34 # the list, violating alphabetical order. This is because they are very
34 35 # long-running and should be given the most wall-clock time for a
35 36 # parallel build.
36 37 #
37 38 # Commands in the FIRST_SUBDIRS list are built before starting the build
38 39 # of other commands. Currently this includes only 'isaexec' and
39 40 # 'platexec'. This is necessary because $(ROOT)/usr/lib/isaexec or
40 41 # $(ROOT)/usr/lib/platexec must exist when some other commands are built
41 42 # because their 'make install' creates a hard link to one of them.
42 43 #
43 44 # Commands are listed one per line so that TeamWare can auto-merge most
44 45 # changes.
45 46 #
46 47
47 48 FIRST_SUBDIRS= \
48 49 isaexec \
49 50 platexec
50 51
51 52 COMMON_SUBDIRS= \
52 53 allocate \
53 54 availdevs \
54 55 lp \
55 56 perl \
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 bnu \
78 79 boot \
79 80 busstat \
80 81 cal \
81 82 calendar \
82 83 captoinfo \
83 84 cat \
84 85 cdrw \
85 86 cfgadm \
86 87 checkeq \
87 88 checknr \
88 89 chgrp \
89 90 chmod \
90 91 chown \
91 92 chroot \
92 93 clear \
93 94 clinfo \
94 95 cmd-crypto \
95 96 cmd-inet \
96 97 col \
97 98 compress \
98 99 consadm \
99 100 coreadm \
100 101 cpio \
101 102 cpc \
102 103 cron \
103 104 crypt \
104 105 csh \
105 106 csplit \
106 107 ctrun \
107 108 ctstat \
108 109 ctwatch \
109 110 datadm \
110 111 date \
111 112 dc \
112 113 dd \
113 114 deroff \
114 115 devfsadm \
115 116 syseventd \
116 117 devctl \
117 118 devinfo \
118 119 devmgmt \
119 120 devprop \
120 121 dfs.cmds \
121 122 diff \
122 123 diff3 \
123 124 diffmk \
124 125 dircmp \
125 126 dirname \
126 127 dis \
127 128 diskmgtd \
128 129 dispadmin \
129 130 dladm \
130 131 dlstat \
131 132 dmesg \
132 133 dodatadm \
133 134 dtrace \
134 135 du \
135 136 dumpadm \
136 137 dumpcs \
137 138 echo \
138 139 ed \
139 140 eeprom \
140 141 egrep \
141 142 eject \
142 143 emul64ioctl \
143 144 enhance \
144 145 env \
145 146 eqn \
146 147 expand \
147 148 expr \
148 149 exstr \
149 150 factor \
150 151 false \
151 152 fcinfo \
152 153 fcoesvc \
153 154 fdetach \
154 155 fdformat \
155 156 fdisk \
156 157 filesync \
157 158 fgrep \
158 159 file \
159 160 find \
160 161 flowadm \
161 162 flowstat \
162 163 fm \
163 164 fmt \
164 165 fmthard \
165 166 fmtmsg \
166 167 fold \
167 168 format \
168 169 fs.d \
169 170 fstyp \
170 171 fuser \
171 172 fwflash \
172 173 gcore \
173 174 gencat \
174 175 geniconvtbl \
175 176 genmsg \
176 177 getconf \
177 178 getdevpolicy \
178 179 getent \
179 180 getfacl \
180 181 getmajor \
181 182 getopt \
182 183 gettext \
183 184 gettxt \
184 185 grep \
185 186 grep_xpg4 \
186 187 groups \
187 188 grpck \
188 189 gss \
189 190 hal \
190 191 halt \
191 192 head \
192 193 hostid \
193 194 hostname \
194 195 hotplug \
195 196 hotplugd \
196 197 hwdata \
197 198 ibd_upgrade \
198 199 id \
199 200 idmap \
200 201 infocmp \
201 202 init \
202 203 initpkg \
203 204 install.d \
204 205 intrd \
205 206 intrstat \
206 207 ipcrm \
207 208 ipcs \
208 209 ipdadm \
209 210 ipf \
210 211 isainfo \
211 212 isalist \
212 213 itutools \
213 214 iscsiadm \
214 215 iscsid \
215 216 iscsitsvc \
216 217 isns \
217 218 itadm \
218 219 kbd \
219 220 keyserv \
220 221 killall \
221 222 krb5 \
222 223 ksh \
223 224 kvmstat \
224 225 last \
225 226 lastcomm \
226 227 latencytop \
227 228 ldap \
228 229 ldapcachemgr \
229 230 lgrpinfo \
230 231 line \
231 232 link \
232 233 dlmgmtd \
233 234 listen \
234 235 loadkeys \
235 236 locale \
236 237 localedef \
237 238 lockstat \
238 239 locator \
239 240 lofiadm \
240 241 logadm \
241 242 logger \
242 243 login \
243 244 logins \
244 245 look \
245 246 ls \
246 247 luxadm \
247 248 lvm \
248 249 mach \
249 250 mail \
250 251 mailwrapper \
251 252 mailx \
252 253 make \
253 254 makekey \
254 255 man \
255 256 mandoc \
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 \
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 368 setmnt \
368 369 setpgrp \
369 370 setuname \
370 371 sgs \
371 372 sh \
372 373 shcomp \
373 374 smbios \
374 375 smbsrv \
375 376 smserverd \
376 377 soelim \
377 378 sort \
378 379 spell \
379 380 split \
380 381 sqlite \
381 382 srchtxt \
382 383 srptadm \
383 384 srptsvc \
384 385 ssh \
385 386 stat \
386 387 stmfadm \
387 388 stmfproxy \
388 389 stmfsvc \
389 390 stmsboot \
390 391 streams \
391 392 strings \
392 393 su \
393 394 sulogin \
394 395 sunpc \
395 396 svc \
396 397 svr4pkg \
397 398 swap \
398 399 sync \
399 400 sysdef \
400 401 syseventadm \
401 402 syslogd \
402 403 tabs \
403 404 tail \
404 405 tar \
405 406 tbl \
406 407 tcopy \
407 408 tcpd \
408 409 terminfo \
409 410 th_tools \
410 411 tic \
411 412 time \
412 413 tip \
413 414 tnf \
414 415 touch \
415 416 tput \
416 417 tr \
417 418 trapstat \
418 419 troff \
419 420 true \
420 421 truss \
421 422 tsol \
422 423 tty \
423 424 ttymon \
424 425 tzreload \
425 426 uadmin \
426 427 ul \
427 428 uname \
428 429 units \
429 430 unlink \
↓ open down ↓ |
392 lines elided |
↑ open up ↑ |
430 431 unpack \
431 432 userattr \
432 433 users \
433 434 utmp_update \
434 435 utmpd \
435 436 uuidgen \
436 437 valtools \
437 438 vgrind \
438 439 vi \
439 440 volcheck \
440 - volrmmount \
441 441 vrrpadm \
442 442 vscan \
443 443 vt \
444 444 w \
445 445 wall \
446 446 which \
447 447 who \
448 448 whodo \
449 449 wracct \
450 450 write \
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 rtc \
480 480 ucodeadm \
481 481 xvm
482 482
483 483 sparc_SUBDIRS= \
484 484 cvcd \
485 485 dcs \
486 486 device_remap \
487 487 drd \
488 488 fruadm \
489 489 ldmad \
490 490 oplhpd \
491 491 prtdscp \
492 492 prtfru \
493 493 scadm \
494 494 sckmd \
495 495 sf880drd \
496 496 virtinfo \
497 497 vntsd
498 498
499 499 #
500 500 # Commands that are messaged. Note that 'lp' comes first
501 501 # (see previous comment about 'lp'.)
502 502 #
503 503 MSGSUBDIRS= \
504 504 lp \
505 505 abi \
506 506 acctadm \
507 507 allocate \
508 508 asa \
509 509 audio \
510 510 audit \
511 511 auditconfig \
512 512 auditd \
513 513 auditrecord \
514 514 auditset \
515 515 auths \
516 516 autopush \
517 517 avs \
518 518 awk \
519 519 awk_xpg4 \
520 520 backup \
521 521 banner \
522 522 bart \
523 523 basename \
524 524 beadm \
525 525 bnu \
526 526 busstat \
527 527 cal \
528 528 cat \
529 529 cdrw \
530 530 cfgadm \
531 531 checkeq \
532 532 checknr \
533 533 chgrp \
534 534 chmod \
535 535 chown \
536 536 cmd-crypto \
537 537 cmd-inet \
538 538 col \
539 539 compress \
540 540 consadm \
541 541 coreadm \
542 542 cpio \
543 543 cpc \
544 544 cron \
545 545 csh \
546 546 csplit \
547 547 ctrun \
548 548 ctstat \
549 549 ctwatch \
550 550 datadm \
551 551 date \
552 552 dc \
553 553 dcs \
554 554 dd \
555 555 deroff \
556 556 devfsadm \
557 557 dfs.cmds \
558 558 diff \
559 559 diffmk \
560 560 dladm \
561 561 dlstat \
562 562 du \
563 563 dumpcs \
564 564 ed \
565 565 eject \
566 566 env \
567 567 eqn \
568 568 expand \
569 569 expr \
570 570 fcinfo \
571 571 fgrep \
572 572 file \
573 573 filesync \
574 574 find \
575 575 flowadm \
576 576 flowstat \
577 577 fm \
578 578 fold \
579 579 fs.d \
580 580 fwflash \
581 581 geniconvtbl \
582 582 genmsg \
583 583 getconf \
584 584 getent \
585 585 gettext \
586 586 gettxt \
587 587 grep \
588 588 grep_xpg4 \
589 589 grpck \
590 590 gss \
591 591 halt \
592 592 head \
593 593 hostname \
594 594 hotplug \
595 595 id \
596 596 idmap \
597 597 isaexec \
598 598 iscsiadm \
599 599 iscsid \
600 600 isns \
601 601 itadm \
602 602 kbd \
603 603 krb5 \
604 604 ksh \
605 605 last \
606 606 ldap \
607 607 ldapcachemgr \
608 608 lgrpinfo \
609 609 locale \
610 610 lofiadm \
611 611 logadm \
612 612 logger \
613 613 logins \
614 614 ls \
615 615 luxadm \
616 616 lvm \
617 617 mailx \
618 618 make \
619 619 man \
620 620 mesg \
621 621 mkdir \
622 622 mkpwdict \
623 623 mktemp \
624 624 more \
625 625 mpathadm \
626 626 msgfmt \
627 627 mv \
628 628 ndmpadm \
629 629 ndmpstat \
630 630 newgrp \
631 631 newtask \
632 632 nice \
633 633 nohup \
634 634 oawk \
635 635 pack \
636 636 passwd \
637 637 passmgmt \
638 638 pathchk \
639 639 pfexec \
640 640 pg \
641 641 pgrep \
642 642 picl \
643 643 pools \
644 644 power \
645 645 pr \
646 646 praudit \
647 647 print \
648 648 profiles \
649 649 projadd \
650 650 projects \
651 651 prstat \
652 652 prtdiag \
653 653 ps \
654 654 psrinfo \
655 655 ptools \
656 656 pwconv \
657 657 pwd \
658 658 pyzfs \
659 659 raidctl \
660 660 ramdiskadm \
661 661 rcap \
662 662 rcm_daemon \
663 663 refer \
664 664 regcmp \
665 665 renice \
666 666 roles \
667 667 rm \
668 668 rmdir \
669 669 rmformat \
670 670 rmmount \
671 671 rmvolmgr \
672 672 sasinfo \
673 673 sbdadm \
674 674 scadm \
675 675 script \
676 676 scsi \
677 677 sdiff \
678 678 sdpadm \
679 679 sgs \
680 680 sh \
681 681 shcomp \
682 682 smbsrv \
683 683 sort \
684 684 split \
685 685 srptadm \
686 686 ssh \
687 687 stat \
688 688 stmfadm \
689 689 stmsboot \
690 690 strings \
691 691 su \
692 692 svc \
693 693 svr4pkg \
694 694 swap \
695 695 syseventadm \
696 696 syseventd \
697 697 tabs \
698 698 tar \
699 699 tbl \
700 700 time \
701 701 tnf \
702 702 touch \
703 703 tput \
704 704 troff \
705 705 tsol \
706 706 tty \
707 707 ttymon \
708 708 tzreload \
↓ open down ↓ |
258 lines elided |
↑ open up ↑ |
709 709 ul \
710 710 uname \
711 711 units \
712 712 unlink \
713 713 unpack \
714 714 userattr \
715 715 valtools \
716 716 vgrind \
717 717 vi \
718 718 volcheck \
719 - volrmmount \
720 719 vrrpadm \
721 720 vscan \
722 721 w \
723 722 who \
724 723 whodo \
725 724 wracct \
726 725 write \
727 726 xargs \
728 727 yppasswd \
729 728 zdump \
730 729 zfs \
731 730 zic \
732 731 zlogin \
733 732 zoneadm \
734 733 zoneadmd \
735 734 zonecfg \
736 735 zonename \
737 736 zpool \
738 737 zonestat
739 738
740 739 sparc_MSGSUBDIRS= \
741 740 fruadm \
742 741 prtdscp \
743 742 prtfru \
744 743 virtinfo \
745 744 vntsd
746 745
747 746 i386_MSGSUBDIRS= \
748 747 ucodeadm
749 748
750 749 #
751 750 # commands that use dcgettext for localized time, LC_TIME
752 751 #
753 752 DCSUBDIRS= \
754 753 cal \
755 754 cfgadm \
756 755 diff \
757 756 ls \
758 757 pr \
759 758 ps \
760 759 tar \
761 760 w \
762 761 who \
763 762 whodo \
764 763 write
765 764
766 765 #
767 766 # commands that belong only to audit.
768 767 #
769 768 AUDITSUBDIRS= \
770 769 amt \
771 770 audit \
772 771 audit_warn \
773 772 auditconfig \
774 773 auditd \
775 774 auditrecord \
776 775 auditreduce \
777 776 auditset \
778 777 auditstat \
779 778 praudit
780 779
781 780 #
782 781 # commands not owned by the systems group
783 782 #
784 783 BWOSDIRS=
785 784
786 785
787 786 all := TARGET = all
788 787 install := TARGET = install
789 788 clean := TARGET = clean
790 789 clobber := TARGET = clobber
791 790 lint := TARGET = lint
792 791 _msg := TARGET = _msg
793 792 _dc := TARGET = _dc
794 793
795 794 .KEEP_STATE:
796 795
797 796 SUBDIRS = $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
798 797
799 798 .PARALLEL: $(BWOSDIRS) $(SUBDIRS) $(MSGSUBDIRS) $(AUDITSUBDIRS)
800 799
801 800 all install clean clobber lint: $(FIRST_SUBDIRS) .WAIT $(SUBDIRS) \
802 801 $(AUDITSUBDIRS)
803 802
804 803 #
805 804 # Manifests cannot be checked in parallel, because we are using
806 805 # the global repository that is in $(SRC)/cmd/svc/seed/global.db.
807 806 # For this reason, to avoid .PARALLEL and .NO_PARALLEL conflicts,
808 807 # we spawn off a sub-make to perform the non-parallel 'make check'
809 808 #
810 809 check:
811 810 $(MAKE) -f Makefile.check check
812 811
813 812 #
814 813 # The .WAIT directive works around an apparent bug in parallel make.
815 814 # Evidently make was getting the target _msg vs. _dc confused under
816 815 # some level of parallelization, causing some of the _dc objects
817 816 # not to be built.
818 817 #
819 818 _msg: $(MSGSUBDIRS) $($(MACH)_MSGSUBDIRS) .WAIT _dc
820 819
821 820 _dc: $(DCSUBDIRS)
822 821
823 822 #
824 823 # Dependencies
825 824 #
826 825 fs.d: fstyp
827 826 ksh: shcomp isaexec
828 827 mdb: terminfo
829 828 print: lp
830 829 fmt: mailx
831 830
832 831 $(FIRST_SUBDIRS) $(BWOSDIRS) $(SUBDIRS) $(AUDITSUBDIRS): FRC
833 832 @if [ -f $@/Makefile ]; then \
834 833 cd $@; pwd; $(MAKE) $(TARGET); \
835 834 else \
836 835 true; \
837 836 fi
838 837
839 838 FRC:
↓ open down ↓ |
110 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX