Print this page
7293 Sun Secure Shell is neither
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 #
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 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 bnu \
78 78 boot \
79 79 busstat \
80 80 cal \
81 81 calendar \
82 82 captoinfo \
83 83 cat \
84 84 cdrw \
85 85 cfgadm \
86 86 checkeq \
87 87 checknr \
88 88 chgrp \
89 89 chmod \
90 90 chown \
91 91 chroot \
92 92 clear \
93 93 clinfo \
94 94 cmd-crypto \
95 95 cmd-inet \
96 96 col \
97 97 compress \
98 98 consadm \
99 99 coreadm \
100 100 cpio \
101 101 cpc \
102 102 cron \
103 103 crypt \
104 104 csh \
105 105 csplit \
106 106 ctrun \
107 107 ctstat \
108 108 ctwatch \
109 109 datadm \
110 110 date \
111 111 dc \
112 112 dd \
113 113 deroff \
114 114 devfsadm \
115 115 syseventd \
116 116 devctl \
117 117 devinfo \
118 118 devmgmt \
119 119 devprop \
120 120 dfs.cmds \
121 121 diff \
122 122 diff3 \
123 123 diffmk \
124 124 dircmp \
125 125 dirname \
126 126 dis \
127 127 diskmgtd \
128 128 dispadmin \
129 129 dladm \
130 130 dlstat \
131 131 dmesg \
132 132 dodatadm \
133 133 dtrace \
134 134 du \
135 135 dumpadm \
136 136 dumpcs \
137 137 echo \
138 138 ed \
139 139 eeprom \
140 140 egrep \
141 141 eject \
142 142 emul64ioctl \
143 143 enhance \
144 144 env \
145 145 eqn \
146 146 expand \
147 147 expr \
148 148 exstr \
149 149 factor \
150 150 false \
151 151 fcinfo \
152 152 fcoesvc \
153 153 fdetach \
154 154 fdformat \
155 155 fdisk \
156 156 filesync \
157 157 fgrep \
158 158 file \
159 159 find \
160 160 flowadm \
161 161 flowstat \
162 162 fm \
163 163 fmt \
164 164 fmthard \
165 165 fmtmsg \
166 166 fold \
167 167 format \
168 168 fs.d \
169 169 fstyp \
170 170 fuser \
171 171 fwflash \
172 172 gcore \
173 173 gencat \
174 174 geniconvtbl \
175 175 genmsg \
176 176 getconf \
177 177 getdevpolicy \
178 178 getent \
179 179 getfacl \
180 180 getmajor \
181 181 getopt \
182 182 gettext \
183 183 gettxt \
184 184 grep \
185 185 grep_xpg4 \
186 186 groups \
187 187 grpck \
188 188 gss \
189 189 hal \
190 190 halt \
191 191 head \
192 192 hostid \
193 193 hostname \
194 194 hotplug \
195 195 hotplugd \
196 196 hwdata \
197 197 ibd_upgrade \
198 198 id \
199 199 idmap \
200 200 infocmp \
201 201 init \
202 202 initpkg \
203 203 install.d \
204 204 intrd \
205 205 intrstat \
206 206 ipcrm \
207 207 ipcs \
208 208 ipdadm \
209 209 ipf \
210 210 isainfo \
211 211 isalist \
212 212 itutools \
213 213 iscsiadm \
214 214 iscsid \
215 215 iscsitsvc \
216 216 isns \
217 217 itadm \
218 218 kbd \
219 219 keyserv \
220 220 killall \
221 221 krb5 \
222 222 ksh \
223 223 kvmstat \
224 224 last \
225 225 lastcomm \
226 226 latencytop \
227 227 ldap \
228 228 ldapcachemgr \
229 229 lgrpinfo \
230 230 line \
231 231 link \
232 232 dlmgmtd \
233 233 listen \
234 234 loadkeys \
235 235 locale \
236 236 localedef \
237 237 lockstat \
238 238 locator \
239 239 lofiadm \
240 240 logadm \
241 241 logger \
242 242 login \
243 243 logins \
244 244 look \
245 245 ls \
246 246 luxadm \
247 247 lvm \
248 248 mach \
249 249 mail \
250 250 mailwrapper \
251 251 mailx \
252 252 make \
253 253 makekey \
254 254 man \
255 255 mandoc \
256 256 mdb \
257 257 mesg \
258 258 mkdir \
259 259 mkfifo \
260 260 mkfile \
261 261 mkmsgs \
262 262 mknod \
263 263 mkpwdict \
264 264 mktemp \
265 265 modload \
266 266 more \
267 267 mpathadm \
268 268 msgfmt \
269 269 msgid \
270 270 mt \
271 271 mv \
272 272 mvdir \
273 273 ndmpadm \
274 274 ndmpd \
275 275 ndmpstat \
276 276 netadm \
277 277 netfiles \
278 278 newform \
279 279 newgrp \
280 280 news \
281 281 newtask \
282 282 nice \
283 283 nl \
284 284 nlsadmin \
285 285 nohup \
286 286 nsadmin \
287 287 nscd \
288 288 oamuser \
289 289 oawk \
290 290 od \
291 291 pack \
292 292 pagesize \
293 293 passmgmt \
294 294 passwd \
295 295 pathchk \
296 296 pbind \
297 297 pcidr \
298 298 pcitool \
299 299 pfexec \
300 300 pfexecd \
301 301 pginfo \
302 302 pgstat \
303 303 pgrep \
304 304 picl \
305 305 plimit \
306 306 policykit \
307 307 pools \
308 308 power \
309 309 powertop \
310 310 ppgsz \
311 311 pg \
312 312 plockstat \
313 313 pr \
314 314 prctl \
315 315 print \
316 316 printf \
317 317 priocntl \
318 318 profiles \
319 319 projadd \
320 320 projects \
321 321 prstat \
322 322 prtconf \
323 323 prtdiag \
324 324 prtvtoc \
325 325 ps \
326 326 psradm \
327 327 psrinfo \
328 328 psrset \
329 329 ptools \
330 330 pwck \
331 331 pwconv \
332 332 pwd \
333 333 pyzfs \
334 334 raidctl \
335 335 ramdiskadm \
336 336 rcap \
337 337 rcm_daemon \
338 338 rctladm \
339 339 refer \
340 340 regcmp \
341 341 renice \
342 342 rexd \
343 343 rm \
344 344 rmdir \
345 345 rmformat \
346 346 rmmount \
347 347 rmt \
348 348 rmvolmgr \
349 349 roles \
350 350 rpcbind \
351 351 rpcgen \
352 352 rpcinfo \
353 353 rpcsvc \
354 354 runat \
355 355 sa \
356 356 saf \
357 357 sasinfo \
358 358 savecore \
359 359 sbdadm \
360 360 script \
361 361 scsi \
362 362 sdiff \
363 363 sdpadm \
364 364 sed \
365 365 sendmail \
366 366 setfacl \
367 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 uuidgen \
436 436 valtools \
437 437 vgrind \
438 438 vi \
439 439 volcheck \
440 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 \
↓ open down ↓ |
675 lines elided |
↑ open up ↑ |
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 - ssh \
687 686 stat \
688 687 stmfadm \
689 688 stmsboot \
690 689 strings \
691 690 su \
692 691 svc \
693 692 svr4pkg \
694 693 swap \
695 694 syseventadm \
696 695 syseventd \
697 696 tabs \
698 697 tar \
699 698 tbl \
700 699 time \
701 700 tnf \
702 701 touch \
703 702 tput \
704 703 troff \
705 704 tsol \
706 705 tty \
707 706 ttymon \
708 707 tzreload \
709 708 ul \
710 709 uname \
711 710 units \
712 711 unlink \
713 712 unpack \
714 713 userattr \
715 714 valtools \
716 715 vgrind \
717 716 vi \
718 717 volcheck \
719 718 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 ↓ |
143 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX