Print this page
2947 add pamconv to upgrade pam.conf at boot
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 2010 Nexenta Systems, Inc. All rights reserved.
24 24 # Copyright 2011 Joyent, Inc. All rights reserved.
25 25 # Copyright (c) 2012 by Delphix. All rights reserved.
26 26
27 27 include ../Makefile.master
28 28
29 29 #
30 30 # Note that the commands 'agents', 'lp', 'perl', and 'man' are first in
31 31 # the list, violating alphabetical order. This is because they are very
32 32 # long-running and should be given the most wall-clock time for a
33 33 # parallel build.
34 34 #
35 35 # Commands in the FIRST_SUBDIRS list are built before starting the build
36 36 # of other commands. Currently this includes only 'isaexec' and
37 37 # 'platexec'. This is necessary because $(ROOT)/usr/lib/isaexec or
38 38 # $(ROOT)/usr/lib/platexec must exist when some other commands are built
39 39 # because their 'make install' creates a hard link to one of them.
40 40 #
41 41 # Commands are listed one per line so that TeamWare can auto-merge most
42 42 # changes.
43 43 #
44 44
45 45 FIRST_SUBDIRS= \
46 46 isaexec \
47 47 platexec
48 48
49 49 COMMON_SUBDIRS= \
50 50 allocate \
51 51 availdevs \
52 52 lp \
53 53 perl \
54 54 man \
55 55 Adm \
56 56 abi \
57 57 adbgen \
58 58 acct \
59 59 acctadm \
60 60 arch \
61 61 asa \
62 62 ast \
63 63 audio \
64 64 auths \
65 65 autopush \
66 66 avs \
67 67 awk \
68 68 awk_xpg4 \
69 69 backup \
70 70 banner \
71 71 bart \
72 72 basename \
73 73 bc \
74 74 bdiff \
75 75 beadm \
76 76 bfs \
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 filebench \
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 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 java \
219 219 kbd \
220 220 keyserv \
221 221 killall \
222 222 krb5 \
223 223 ksh \
224 224 kstat \
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 \
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 251 machid \
252 252 mail \
253 253 mailx \
254 254 makekey \
255 255 mdb \
256 256 mesg \
257 257 mkdir \
258 258 mkfifo \
259 259 mkfile \
260 260 mkmsgs \
261 261 mknod \
262 262 mkpwdict \
263 263 mktemp \
264 264 modload \
265 265 more \
266 266 mpathadm \
267 267 msgfmt \
268 268 msgid \
269 269 mt \
270 270 mv \
271 271 mvdir \
272 272 ndmpadm \
273 273 ndmpd \
274 274 ndmpstat \
275 275 netadm \
276 276 netfiles \
277 277 newform \
278 278 newgrp \
279 279 news \
280 280 newtask \
281 281 nice \
↓ open down ↓ |
281 lines elided |
↑ open up ↑ |
282 282 nl \
283 283 nlsadmin \
284 284 nohup \
285 285 nsadmin \
286 286 nscd \
287 287 oamuser \
288 288 oawk \
289 289 od \
290 290 pack \
291 291 pagesize \
292 + pamconv \
292 293 passmgmt \
293 294 passwd \
294 295 pathchk \
295 296 pbind \
296 297 pcidr \
297 298 pcitool \
298 299 pfexec \
299 300 pfexecd \
300 301 pginfo \
301 302 pgstat \
302 303 pgrep \
303 304 picl \
304 305 plimit \
305 306 policykit \
306 307 pools \
307 308 power \
308 309 powertop \
309 310 ppgsz \
310 311 pg \
311 312 plockstat \
312 313 pr \
313 314 prctl \
314 315 print \
315 316 printf \
316 317 priocntl \
317 318 profiles \
318 319 projadd \
319 320 projects \
320 321 prstat \
321 322 prtconf \
322 323 prtdiag \
323 324 prtvtoc \
324 325 ps \
325 326 psradm \
326 327 psrinfo \
327 328 psrset \
328 329 ptools \
329 330 pwck \
330 331 pwconv \
331 332 pwd \
332 333 pyzfs \
333 334 raidctl \
334 335 ramdiskadm \
335 336 rcap \
336 337 rcm_daemon \
337 338 rctladm \
338 339 refer \
339 340 regcmp \
340 341 renice \
341 342 rexd \
342 343 rm \
343 344 rmdir \
344 345 rmformat \
345 346 rmmount \
346 347 rmt \
347 348 rmvolmgr \
348 349 roles \
349 350 rpcbind \
350 351 rpcgen \
351 352 rpcinfo \
352 353 rpcsvc \
353 354 runat \
354 355 sa \
355 356 saf \
356 357 sasinfo \
357 358 savecore \
358 359 sbdadm \
359 360 script \
360 361 scsi \
361 362 sdiff \
362 363 sdpadm \
363 364 sed \
364 365 sendmail \
365 366 setfacl \
366 367 setmnt \
367 368 setpgrp \
368 369 setuname \
369 370 sgs \
370 371 sh \
371 372 shcomp \
372 373 smbios \
373 374 smbsrv \
374 375 smserverd \
375 376 soelim \
376 377 sort \
377 378 spell \
378 379 split \
379 380 sqlite \
380 381 srchtxt \
381 382 srptadm \
382 383 srptsvc \
383 384 ssh \
384 385 stat \
385 386 stmfadm \
386 387 stmfproxy \
387 388 stmfsvc \
388 389 stmsboot \
389 390 streams \
390 391 strings \
391 392 su \
392 393 sulogin \
393 394 sunpc \
394 395 svc \
395 396 svr4pkg \
396 397 swap \
397 398 sync \
398 399 sysdef \
399 400 syseventadm \
400 401 syslogd \
401 402 tabs \
402 403 tail \
403 404 tar \
404 405 tbl \
405 406 tcopy \
406 407 tcpd \
407 408 terminfo \
408 409 th_tools \
409 410 tic \
410 411 time \
411 412 tip \
412 413 tnf \
413 414 touch \
414 415 tput \
415 416 tr \
416 417 trapstat \
417 418 troff \
418 419 true \
419 420 truss \
420 421 tsol \
421 422 tty \
422 423 ttymon \
423 424 tzreload \
424 425 uadmin \
425 426 ul \
426 427 uname \
427 428 units \
428 429 unlink \
429 430 unpack \
430 431 userattr \
431 432 users \
432 433 utmp_update \
433 434 utmpd \
434 435 valtools \
435 436 vgrind \
436 437 vi \
437 438 volcheck \
438 439 volrmmount \
439 440 vrrpadm \
440 441 vscan \
441 442 vt \
442 443 w \
443 444 wall \
444 445 which \
445 446 who \
446 447 whodo \
447 448 wracct \
448 449 write \
449 450 wusbadm \
450 451 xargs \
451 452 xstr \
452 453 yes \
453 454 ypcmd \
454 455 yppasswd \
455 456 zdb \
456 457 zdump \
457 458 zfs \
458 459 zhack \
459 460 zic \
460 461 zinject \
461 462 zlogin \
462 463 zoneadm \
463 464 zoneadmd \
464 465 zonecfg \
465 466 zonename \
466 467 zpool \
467 468 zlook \
468 469 zonestat \
469 470 zstreamdump \
470 471 ztest
471 472
472 473 $(CLOSED_BUILD)COMMON_SUBDIRS += \
473 474 $(CLOSED)/cmd/iconv \
474 475 $(CLOSED)/cmd/ksh \
475 476 $(CLOSED)/cmd/localedef \
476 477 $(CLOSED)/cmd/more_xpg4 \
477 478 $(CLOSED)/cmd/mtst \
478 479 $(CLOSED)/cmd/od \
479 480 $(CLOSED)/cmd/patch \
480 481 $(CLOSED)/cmd/pax \
481 482 $(CLOSED)/cmd/printf \
482 483 $(CLOSED)/cmd/sed \
483 484 $(CLOSED)/cmd/sed_xpg4
484 485
485 486 i386_SUBDIRS= \
486 487 acpihpd \
487 488 addbadsec \
488 489 biosdev \
489 490 diskscan \
490 491 lms \
491 492 ntfsprogs \
492 493 parted \
493 494 rtc \
494 495 ucodeadm \
495 496 xvm
496 497
497 498 sparc_SUBDIRS= \
498 499 cvcd \
499 500 dcs \
500 501 device_remap \
501 502 drd \
502 503 fruadm \
503 504 ldmad \
504 505 oplhpd \
505 506 prtdscp \
506 507 prtfru \
507 508 scadm \
508 509 sckmd \
509 510 sf880drd \
510 511 virtinfo \
511 512 vntsd
512 513
513 514 #
514 515 # Commands that are messaged. Note that 'lp' and 'man' come first
515 516 # (see previous comment about 'lp' and 'man').
516 517 #
517 518 MSGSUBDIRS= \
518 519 lp \
519 520 man \
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 avs \
533 534 awk \
534 535 awk_xpg4 \
535 536 backup \
536 537 banner \
537 538 bart \
538 539 basename \
539 540 beadm \
540 541 bnu \
541 542 busstat \
542 543 cal \
543 544 cat \
544 545 cdrw \
545 546 cfgadm \
546 547 checkeq \
547 548 checknr \
548 549 chgrp \
549 550 chmod \
550 551 chown \
551 552 cmd-crypto \
552 553 cmd-inet \
553 554 col \
554 555 compress \
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 fgrep \
587 588 file \
588 589 filesync \
589 590 find \
590 591 flowadm \
591 592 flowstat \
592 593 fm \
593 594 fold \
594 595 fs.d \
595 596 fwflash \
596 597 geniconvtbl \
597 598 genmsg \
598 599 getconf \
599 600 getent \
600 601 gettext \
601 602 gettxt \
602 603 grep \
603 604 grep_xpg4 \
604 605 grpck \
605 606 gss \
606 607 halt \
607 608 head \
608 609 hostname \
609 610 hotplug \
610 611 id \
611 612 idmap \
612 613 isaexec \
613 614 iscsiadm \
614 615 iscsid \
615 616 isns \
616 617 itadm \
617 618 kbd \
618 619 krb5 \
619 620 ksh \
620 621 kstat \
621 622 last \
622 623 ldap \
623 624 ldapcachemgr \
624 625 lgrpinfo \
625 626 locale \
626 627 lofiadm \
627 628 logadm \
628 629 logger \
629 630 logins \
630 631 ls \
631 632 luxadm \
632 633 lvm \
633 634 mailx \
634 635 mesg \
635 636 mkdir \
636 637 mkpwdict \
637 638 mktemp \
638 639 more \
639 640 mpathadm \
640 641 msgfmt \
641 642 mv \
642 643 ndmpadm \
643 644 ndmpstat \
644 645 newgrp \
645 646 newtask \
646 647 nice \
647 648 nohup \
648 649 oawk \
649 650 pack \
650 651 passwd \
651 652 passmgmt \
652 653 pathchk \
653 654 pfexec \
654 655 pg \
655 656 pgrep \
656 657 picl \
657 658 pools \
658 659 power \
659 660 pr \
660 661 praudit \
661 662 print \
662 663 profiles \
663 664 projadd \
664 665 projects \
665 666 prstat \
666 667 prtdiag \
667 668 ps \
668 669 psrinfo \
669 670 ptools \
670 671 pwconv \
671 672 pwd \
672 673 pyzfs \
673 674 raidctl \
674 675 ramdiskadm \
675 676 rcap \
676 677 rcm_daemon \
677 678 refer \
678 679 regcmp \
679 680 renice \
680 681 roles \
681 682 rm \
682 683 rmdir \
683 684 rmformat \
684 685 rmmount \
685 686 rmvolmgr \
686 687 sasinfo \
687 688 sbdadm \
688 689 scadm \
689 690 script \
690 691 scsi \
691 692 sdiff \
692 693 sdpadm \
693 694 sgs \
694 695 sh \
695 696 shcomp \
696 697 smbsrv \
697 698 sort \
698 699 split \
699 700 srptadm \
700 701 ssh \
701 702 stat \
702 703 stmfadm \
703 704 stmsboot \
704 705 strings \
705 706 su \
706 707 svc \
707 708 svr4pkg \
708 709 swap \
709 710 syseventadm \
710 711 syseventd \
711 712 tabs \
712 713 tar \
713 714 tbl \
714 715 time \
715 716 tnf \
716 717 touch \
717 718 tput \
718 719 troff \
719 720 tsol \
720 721 tty \
721 722 ttymon \
722 723 tzreload \
723 724 ul \
724 725 uname \
725 726 units \
726 727 unlink \
727 728 unpack \
728 729 userattr \
729 730 valtools \
730 731 vgrind \
731 732 vi \
732 733 volcheck \
733 734 volrmmount \
734 735 vrrpadm \
735 736 vscan \
736 737 w \
737 738 who \
738 739 whodo \
739 740 wracct \
740 741 write \
741 742 wusbadm \
742 743 xargs \
743 744 yppasswd \
744 745 zdump \
745 746 zfs \
746 747 zic \
747 748 zlogin \
748 749 zoneadm \
749 750 zoneadmd \
750 751 zonecfg \
751 752 zonename \
752 753 zpool \
753 754 zonestat
754 755
755 756 $(CLOSED_BUILD)MSGSUBDIRS += \
756 757 $(CLOSED)/cmd/iconv \
757 758 $(CLOSED)/cmd/ksh \
758 759 $(CLOSED)/cmd/localedef \
759 760 $(CLOSED)/cmd/more_xpg4 \
760 761 $(CLOSED)/cmd/od \
761 762 $(CLOSED)/cmd/patch \
762 763 $(CLOSED)/cmd/pax \
763 764 $(CLOSED)/cmd/printf \
764 765 $(CLOSED)/cmd/sed \
765 766 $(CLOSED)/cmd/sed_xpg4
766 767
767 768 sparc_MSGSUBDIRS= \
768 769 fruadm \
769 770 prtdscp \
770 771 prtfru \
771 772 virtinfo \
772 773 vntsd
773 774
774 775 i386_MSGSUBDIRS= \
775 776 ucodeadm
776 777
777 778 #
778 779 # commands that use dcgettext for localized time, LC_TIME
779 780 #
780 781 DCSUBDIRS= \
781 782 cal \
782 783 cfgadm \
783 784 diff \
784 785 ls \
785 786 pr \
786 787 ps \
787 788 tar \
788 789 w \
789 790 who \
790 791 whodo \
791 792 write
792 793
793 794 $(CLOSED_BUILD)DCSUBDIRS += \
794 795 $(CLOSED)/cmd/pax
795 796
796 797 #
797 798 # commands that belong only to audit.
798 799 #
799 800 AUDITSUBDIRS= \
800 801 amt \
801 802 audit \
802 803 audit_warn \
803 804 auditconfig \
804 805 auditd \
805 806 auditrecord \
806 807 auditreduce \
807 808 auditset \
808 809 auditstat \
809 810 praudit
810 811
811 812 #
812 813 # commands not owned by the systems group
813 814 #
814 815 BWOSDIRS=
815 816
816 817
817 818 all := TARGET = all
818 819 install := TARGET = install
819 820 clean := TARGET = clean
820 821 clobber := TARGET = clobber
821 822 lint := TARGET = lint
822 823 _msg := TARGET = _msg
823 824 _dc := TARGET = _dc
824 825
825 826 .KEEP_STATE:
826 827
827 828 SUBDIRS = $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
828 829
829 830 .PARALLEL: $(BWOSDIRS) $(SUBDIRS) $(MSGSUBDIRS) $(AUDITSUBDIRS)
830 831
831 832 all install clean clobber lint: $(FIRST_SUBDIRS) .WAIT $(SUBDIRS) \
832 833 $(AUDITSUBDIRS)
833 834
834 835 #
835 836 # Manifests cannot be checked in parallel, because we are using
836 837 # the global repository that is in $(SRC)/cmd/svc/seed/global.db.
837 838 # For this reason, to avoid .PARALLEL and .NO_PARALLEL conflicts,
838 839 # we spawn off a sub-make to perform the non-parallel 'make check'
839 840 #
840 841 check:
841 842 $(MAKE) -f Makefile.check check
842 843
843 844 #
844 845 # The .WAIT directive works around an apparent bug in parallel make.
845 846 # Evidently make was getting the target _msg vs. _dc confused under
846 847 # some level of parallelization, causing some of the _dc objects
847 848 # not to be built.
848 849 #
849 850 _msg: $(MSGSUBDIRS) $($(MACH)_MSGSUBDIRS) .WAIT _dc
850 851
851 852 _dc: $(DCSUBDIRS)
852 853
853 854 #
854 855 # Dependencies
855 856 #
856 857 fs.d: fstyp
857 858 ksh: shcomp isaexec
858 859 mdb: terminfo
859 860 print: lp
860 861
861 862 $(FIRST_SUBDIRS) $(BWOSDIRS) $(SUBDIRS) $(AUDITSUBDIRS): FRC
862 863 @if [ -f $@/Makefile ]; then \
863 864 cd $@; pwd; $(MAKE) $(TARGET); \
864 865 else \
865 866 true; \
866 867 fi
867 868
868 869 FRC:
↓ open down ↓ |
567 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX