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