Print this page
4769 Want implementation of uuid 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
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 \
↓ open down ↓ |
424 lines elided |
↑ open up ↑ |
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 + uuidgen \
435 436 valtools \
436 437 vgrind \
437 438 vi \
438 439 volcheck \
439 440 volrmmount \
440 441 vrrpadm \
441 442 vscan \
442 443 vt \
443 444 w \
444 445 wall \
445 446 which \
446 447 who \
447 448 whodo \
448 449 wracct \
449 450 write \
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 i386_SUBDIRS= \
473 474 acpihpd \
474 475 addbadsec \
475 476 biosdev \
476 477 diskscan \
477 478 lms \
478 479 rtc \
479 480 ucodeadm \
480 481 xvm
481 482
482 483 sparc_SUBDIRS= \
483 484 cvcd \
484 485 dcs \
485 486 device_remap \
486 487 drd \
487 488 fruadm \
488 489 ldmad \
489 490 oplhpd \
490 491 prtdscp \
491 492 prtfru \
492 493 scadm \
493 494 sckmd \
494 495 sf880drd \
495 496 virtinfo \
496 497 vntsd
497 498
498 499 #
499 500 # Commands that are messaged. Note that 'lp' comes first
500 501 # (see previous comment about 'lp'.)
501 502 #
502 503 MSGSUBDIRS= \
503 504 lp \
504 505 abi \
505 506 acctadm \
506 507 allocate \
507 508 asa \
508 509 audio \
509 510 audit \
510 511 auditconfig \
511 512 auditd \
512 513 auditrecord \
513 514 auditset \
514 515 auths \
515 516 autopush \
516 517 avs \
517 518 awk \
518 519 awk_xpg4 \
519 520 backup \
520 521 banner \
521 522 bart \
522 523 basename \
523 524 beadm \
524 525 bnu \
525 526 busstat \
526 527 cal \
527 528 cat \
528 529 cdrw \
529 530 cfgadm \
530 531 checkeq \
531 532 checknr \
532 533 chgrp \
533 534 chmod \
534 535 chown \
535 536 cmd-crypto \
536 537 cmd-inet \
537 538 col \
538 539 compress \
539 540 consadm \
540 541 coreadm \
541 542 cpio \
542 543 cpc \
543 544 cron \
544 545 csh \
545 546 csplit \
546 547 ctrun \
547 548 ctstat \
548 549 ctwatch \
549 550 datadm \
550 551 date \
551 552 dc \
552 553 dcs \
553 554 dd \
554 555 deroff \
555 556 devfsadm \
556 557 dfs.cmds \
557 558 diff \
558 559 diffmk \
559 560 dladm \
560 561 dlstat \
561 562 du \
562 563 dumpcs \
563 564 ed \
564 565 eject \
565 566 env \
566 567 eqn \
567 568 expand \
568 569 expr \
569 570 fcinfo \
570 571 fgrep \
571 572 file \
572 573 filesync \
573 574 find \
574 575 flowadm \
575 576 flowstat \
576 577 fm \
577 578 fold \
578 579 fs.d \
579 580 fwflash \
580 581 geniconvtbl \
581 582 genmsg \
582 583 getconf \
583 584 getent \
584 585 gettext \
585 586 gettxt \
586 587 grep \
587 588 grep_xpg4 \
588 589 grpck \
589 590 gss \
590 591 halt \
591 592 head \
592 593 hostname \
593 594 hotplug \
594 595 id \
595 596 idmap \
596 597 isaexec \
597 598 iscsiadm \
598 599 iscsid \
599 600 isns \
600 601 itadm \
601 602 kbd \
602 603 krb5 \
603 604 ksh \
604 605 last \
605 606 ldap \
606 607 ldapcachemgr \
607 608 lgrpinfo \
608 609 locale \
609 610 lofiadm \
610 611 logadm \
611 612 logger \
612 613 logins \
613 614 ls \
614 615 luxadm \
615 616 lvm \
616 617 mailx \
617 618 make \
618 619 man \
619 620 mesg \
620 621 mkdir \
621 622 mkpwdict \
622 623 mktemp \
623 624 more \
624 625 mpathadm \
625 626 msgfmt \
626 627 mv \
627 628 ndmpadm \
628 629 ndmpstat \
629 630 newgrp \
630 631 newtask \
631 632 nice \
632 633 nohup \
633 634 oawk \
634 635 pack \
635 636 passwd \
636 637 passmgmt \
637 638 pathchk \
638 639 pfexec \
639 640 pg \
640 641 pgrep \
641 642 picl \
642 643 pools \
643 644 power \
644 645 pr \
645 646 praudit \
646 647 print \
647 648 profiles \
648 649 projadd \
649 650 projects \
650 651 prstat \
651 652 prtdiag \
652 653 ps \
653 654 psrinfo \
654 655 ptools \
655 656 pwconv \
656 657 pwd \
657 658 pyzfs \
658 659 raidctl \
659 660 ramdiskadm \
660 661 rcap \
661 662 rcm_daemon \
662 663 refer \
663 664 regcmp \
664 665 renice \
665 666 roles \
666 667 rm \
667 668 rmdir \
668 669 rmformat \
669 670 rmmount \
670 671 rmvolmgr \
671 672 sasinfo \
672 673 sbdadm \
673 674 scadm \
674 675 script \
675 676 scsi \
676 677 sdiff \
677 678 sdpadm \
678 679 sgs \
679 680 sh \
680 681 shcomp \
681 682 smbsrv \
682 683 sort \
683 684 split \
684 685 srptadm \
685 686 ssh \
686 687 stat \
687 688 stmfadm \
688 689 stmsboot \
689 690 strings \
690 691 su \
691 692 svc \
692 693 svr4pkg \
693 694 swap \
694 695 syseventadm \
695 696 syseventd \
696 697 tabs \
697 698 tar \
698 699 tbl \
699 700 time \
700 701 tnf \
701 702 touch \
702 703 tput \
703 704 troff \
704 705 tsol \
705 706 tty \
706 707 ttymon \
707 708 tzreload \
708 709 ul \
709 710 uname \
710 711 units \
711 712 unlink \
712 713 unpack \
713 714 userattr \
714 715 valtools \
715 716 vgrind \
716 717 vi \
717 718 volcheck \
718 719 volrmmount \
719 720 vrrpadm \
720 721 vscan \
721 722 w \
722 723 who \
723 724 whodo \
724 725 wracct \
725 726 write \
726 727 xargs \
727 728 yppasswd \
728 729 zdump \
729 730 zfs \
730 731 zic \
731 732 zlogin \
732 733 zoneadm \
733 734 zoneadmd \
734 735 zonecfg \
735 736 zonename \
736 737 zpool \
737 738 zonestat
738 739
739 740 sparc_MSGSUBDIRS= \
740 741 fruadm \
741 742 prtdscp \
742 743 prtfru \
743 744 virtinfo \
744 745 vntsd
745 746
746 747 i386_MSGSUBDIRS= \
747 748 ucodeadm
748 749
749 750 #
750 751 # commands that use dcgettext for localized time, LC_TIME
751 752 #
752 753 DCSUBDIRS= \
753 754 cal \
754 755 cfgadm \
755 756 diff \
756 757 ls \
757 758 pr \
758 759 ps \
759 760 tar \
760 761 w \
761 762 who \
762 763 whodo \
763 764 write
764 765
765 766 #
766 767 # commands that belong only to audit.
767 768 #
768 769 AUDITSUBDIRS= \
769 770 amt \
770 771 audit \
771 772 audit_warn \
772 773 auditconfig \
773 774 auditd \
774 775 auditrecord \
775 776 auditreduce \
776 777 auditset \
777 778 auditstat \
778 779 praudit
779 780
780 781 #
781 782 # commands not owned by the systems group
782 783 #
783 784 BWOSDIRS=
784 785
785 786
786 787 all := TARGET = all
787 788 install := TARGET = install
788 789 clean := TARGET = clean
789 790 clobber := TARGET = clobber
790 791 lint := TARGET = lint
791 792 _msg := TARGET = _msg
792 793 _dc := TARGET = _dc
793 794
794 795 .KEEP_STATE:
795 796
796 797 SUBDIRS = $(COMMON_SUBDIRS) $($(MACH)_SUBDIRS)
797 798
798 799 .PARALLEL: $(BWOSDIRS) $(SUBDIRS) $(MSGSUBDIRS) $(AUDITSUBDIRS)
799 800
800 801 all install clean clobber lint: $(FIRST_SUBDIRS) .WAIT $(SUBDIRS) \
801 802 $(AUDITSUBDIRS)
802 803
803 804 #
804 805 # Manifests cannot be checked in parallel, because we are using
805 806 # the global repository that is in $(SRC)/cmd/svc/seed/global.db.
806 807 # For this reason, to avoid .PARALLEL and .NO_PARALLEL conflicts,
807 808 # we spawn off a sub-make to perform the non-parallel 'make check'
808 809 #
809 810 check:
810 811 $(MAKE) -f Makefile.check check
811 812
812 813 #
813 814 # The .WAIT directive works around an apparent bug in parallel make.
814 815 # Evidently make was getting the target _msg vs. _dc confused under
815 816 # some level of parallelization, causing some of the _dc objects
816 817 # not to be built.
817 818 #
818 819 _msg: $(MSGSUBDIRS) $($(MACH)_MSGSUBDIRS) .WAIT _dc
819 820
820 821 _dc: $(DCSUBDIRS)
821 822
822 823 #
823 824 # Dependencies
824 825 #
825 826 fs.d: fstyp
826 827 ksh: shcomp isaexec
827 828 mdb: terminfo
828 829 print: lp
829 830 fmt: mailx
830 831
831 832 $(FIRST_SUBDIRS) $(BWOSDIRS) $(SUBDIRS) $(AUDITSUBDIRS): FRC
832 833 @if [ -f $@/Makefile ]; then \
833 834 cd $@; pwd; $(MAKE) $(TARGET); \
834 835 else \
835 836 true; \
836 837 fi
837 838
838 839 FRC:
↓ open down ↓ |
394 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX