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