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