Print this page
remove noop change in lib/Makefile
patch01 - 693 import Sun Devpro Math Library
remove noop change in lib/Makefile
patch01 - 693 import Sun Devpro Math Library
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/Makefile
+++ new/usr/src/lib/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 2011 Nexenta Systems, Inc. All rights reserved.
23 23 # Copyright (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
24 24 # Copyright (c) 2012 by Delphix. All rights reserved.
25 25 # Copyright (c) 2012, Joyent, Inc. All rights reserved.
26 26 # Copyright (c) 2013 Gary Mills
27 27
28 28 include ../Makefile.master
29 29
30 30 # Note that libcurses installs commands along with its library.
31 31 # This is a minor bug which probably should be fixed.
32 32 # Note also that a few extra libraries are kept in cmd source.
33 33 #
34 34 # Certain libraries are linked with, hence depend on, other libraries.
35 35 #
36 36 # Although we have historically used .WAIT to express dependencies, it
37 37 # reduces the amount of parallelism and thus lengthens the time it
38 38 # takes to build the libraries. Thus, we now require that any new
39 39 # libraries explicitly call out their dependencies. Eventually, all
40 40 # the library dependencies will be called out explicitly. See
41 41 # "Library interdependencies" near the end of this file.
42 42 #
43 43 # Aside from explicit dependencies (and legacy .WAITs), all libraries
44 44 # are built in parallel.
45 45 #
46 46 .PARALLEL:
47 47
48 48 SUBDIRS= \
49 49 common .WAIT \
50 50 ../cmd/sgs/libconv \
51 51 ../cmd/sgs/libdl .WAIT
52 52
53 53 SUBDIRS += \
54 54 libc .WAIT \
55 55 ../cmd/sgs/libelf .WAIT \
56 56 c_synonyms \
57 57 libmd \
58 58 libmd5 \
59 59 librsm \
60 60 libmp .WAIT \
61 61 libnsl \
62 62 libsecdb .WAIT \
63 63 librpcsvc \
64 64 libsocket .WAIT \
65 65 libsctp \
66 66 libsip \
67 67 libcommputil \
68 68 libresolv \
69 69 libresolv2 .WAIT \
70 70 libw .WAIT \
71 71 libintl .WAIT \
72 72 ../cmd/sgs/librtld_db \
73 73 libaio \
74 74 libast \
75 75 libdll \
76 76 libcmd \
77 77 libshell \
78 78 libsum \
79 79 librt \
80 80 libadm \
81 81 libctf \
82 82 libdtrace \
83 83 libdtrace_jni \
84 84 libcurses \
85 85 libtermcap \
86 86 libgen \
87 87 libgss \
88 88 libpam \
89 89 libuuid \
90 90 libthread \
91 91 libpthread .WAIT \
92 92 libslp \
93 93 libbsdmalloc \
94 94 libdoor \
95 95 libdevinfo \
96 96 libdladm \
97 97 libdlpi \
98 98 libeti \
99 99 libcrypt \
100 100 libdns_sd \
101 101 libefi \
102 102 libfstyp \
103 103 libwanboot \
104 104 libwanbootutil \
105 105 libcryptoutil \
106 106 libinetutil \
107 107 libipadm \
108 108 libipd \
109 109 libipmp \
110 110 libiscsit \
111 111 libkmf \
112 112 libkstat \
113 113 libkvm \
114 114 liblm \
115 115 libmalloc \
116 116 libmapmalloc \
117 117 libmtmalloc \
118 118 libnls \
119 119 libnwam \
120 120 libsmbios \
121 121 libtecla \
122 122 libumem \
123 123 libnvpair .WAIT \
124 124 libexacct \
125 125 libsasl \
126 126 libldap5 \
127 127 libsldap .WAIT \
128 128 libbsm \
129 129 libsys \
130 130 libsysevent \
131 131 libnisdb \
132 132 libpool \
133 133 libpp \
134 134 libproc \
135 135 libproject \
136 136 libsendfile \
137 137 nametoaddr \
138 138 ncad_addr \
139 139 hbaapi \
140 140 smhba \
141 141 sun_fc \
142 142 sun_sas \
143 143 gss_mechs/mech_krb5 .WAIT \
144 144 libkrb5 .WAIT \
145 145 krb5 .WAIT \
146 146 libsmbfs \
↓ open down ↓ |
146 lines elided |
↑ open up ↑ |
147 147 libfcoe \
148 148 libsrpt \
149 149 libstmf \
150 150 libstmfproxy \
151 151 libnsctl \
152 152 libunistat \
153 153 libdscfg \
154 154 librdc \
155 155 libinstzones \
156 156 libpkg \
157 - libpcidb
157 + libpcidb \
158 + libm1 \
159 + libm \
160 + libmvec
158 161
162 +
159 163 SUBDIRS += \
160 164 passwdutil \
161 165 pam_modules \
162 166 crypt_modules \
163 167 libadt_jni \
164 168 abi \
165 169 auditd_plugins \
166 170 libvolmgt \
167 171 libdevice \
168 172 libdevid \
169 173 libdhcpsvc \
170 174 libc_db \
171 175 libndmp \
172 176 libsec \
173 177 libtnfprobe \
174 178 libtnf \
175 179 libtnfctl \
176 180 libdhcpagent \
177 181 libdhcpdu \
178 182 libdhcputil \
179 183 libxnet \
180 184 libipsecutil \
181 185 nsswitch \
182 186 print \
183 187 libuutil \
184 188 libscf \
185 189 libinetsvc \
186 190 librestart \
187 191 libsched \
188 192 libelfsign \
189 193 pkcs11 .WAIT \
190 194 libpctx .WAIT \
191 195 libcpc \
192 196 getloginx \
193 197 watchmalloc \
194 198 extendedFILE \
195 199 madv \
196 200 mpss \
197 201 libdisasm \
198 202 libwrap \
199 203 libxcurses \
200 204 libxcurses2 \
201 205 libbrand .WAIT \
202 206 libzonecfg \
203 207 libzoneinfo \
204 208 libzonestat \
205 209 libtsnet \
206 210 libtsol \
207 211 gss_mechs/mech_spnego \
208 212 gss_mechs/mech_dummy \
209 213 gss_mechs/mech_dh \
210 214 rpcsec_gss \
211 215 libraidcfg .WAIT \
212 216 librcm .WAIT \
213 217 libcfgadm .WAIT \
214 218 libpicl .WAIT \
215 219 libpicltree .WAIT \
216 220 raidcfg_plugins \
217 221 cfgadm_plugins \
218 222 libmail \
219 223 lvm \
220 224 libsmedia \
221 225 libipp \
222 226 libdiskmgt \
223 227 liblgrp \
224 228 libfsmgt \
225 229 fm \
226 230 libavl \
227 231 libcmdutils \
228 232 libcontract \
229 233 ../cmd/sendmail/libmilter \
230 234 sasl_plugins \
231 235 udapl \
232 236 libzpool \
233 237 libzfs_core \
234 238 libzfs \
235 239 libbe \
236 240 pylibbe \
237 241 libzfs_jni \
238 242 pyzfs \
239 243 pysolaris \
240 244 libmapid \
241 245 brand \
242 246 policykit \
243 247 hal \
244 248 libshare \
245 249 libsqlite \
246 250 libidmap \
247 251 libadutils \
248 252 libipmi \
249 253 libexacct/demo \
250 254 libvrrpadm \
251 255 libvscan \
252 256 libgrubmgmt \
253 257 smbsrv \
254 258 libilb \
255 259 scsi \
256 260 libima \
257 261 libsun_ima \
258 262 mpapi \
259 263 librstp \
260 264 libreparse \
261 265 libhotplug \
262 266 libfruutils .WAIT \
263 267 libfru \
264 268 $($(MACH)_SUBDIRS)
265 269
266 270 i386_SUBDIRS= \
267 271 libfdisk \
268 272 libsaveargs
269 273
270 274 sparc_SUBDIRS= .WAIT \
271 275 efcode \
272 276 libds \
273 277 libdscp \
274 278 libprtdiag .WAIT \
275 279 libprtdiag_psr \
276 280 libpri \
277 281 librsc \
278 282 storage \
279 283 libpcp \
280 284 libtsalarm \
281 285 libv12n
282 286
283 287 FM_sparc_DEPLIBS= libpri
284 288
285 289 fm: \
286 290 libexacct \
287 291 libipmi \
288 292 libzfs \
289 293 scsi \
290 294 $(FM_$(MACH)_DEPLIBS)
291 295
292 296 #
293 297 # Create a special version of $(SUBDIRS) with no .WAIT's, for use with the
294 298 # clean and clobber targets (for more information, see those targets, below).
295 299 #
296 300 NOWAIT_SUBDIRS= $(SUBDIRS:.WAIT=)
297 301
298 302 DCSUBDIRS = \
299 303 lvm
300 304
301 305 MSGSUBDIRS= \
302 306 abi \
303 307 auditd_plugins \
304 308 brand \
305 309 cfgadm_plugins \
306 310 gss_mechs/mech_dh \
307 311 gss_mechs/mech_krb5 \
308 312 krb5 \
309 313 libast \
310 314 libbsm \
311 315 libc \
312 316 libcfgadm \
313 317 libcmd \
314 318 libcontract \
315 319 libcurses \
316 320 libdhcpsvc \
317 321 libdhcputil \
318 322 libipsecutil \
319 323 libdiskmgt \
320 324 libdladm \
321 325 libdll \
322 326 libgrubmgmt \
323 327 libgss \
324 328 libidmap \
325 329 libipmp \
326 330 libilb \
327 331 libinetutil \
328 332 libinstzones \
329 333 libipadm \
330 334 libnsl \
331 335 libnwam \
332 336 libpam \
333 337 libpicl \
334 338 libpool \
335 339 libpkg \
336 340 libpp \
337 341 libscf \
338 342 libsasl \
339 343 libldap5 \
340 344 libsecdb \
341 345 libshare \
342 346 libshell \
343 347 libsldap \
344 348 libslp \
345 349 libsmbfs \
346 350 libsmedia \
347 351 libsum \
348 352 libtsol \
349 353 libuutil \
350 354 libvrrpadm \
351 355 libvscan \
352 356 libwanboot \
353 357 libwanbootutil \
354 358 libzfs \
355 359 libzonecfg \
356 360 lvm \
357 361 madv \
358 362 mpss \
359 363 pam_modules \
360 364 pyzfs \
361 365 pysolaris \
362 366 rpcsec_gss \
363 367 libreparse
364 368 MSGSUBDIRS += \
365 369 $($(MACH)_MSGSUBDIRS)
366 370
367 371 sparc_MSGSUBDIRS= \
368 372 libprtdiag \
369 373 libprtdiag_psr
370 374
371 375 i386_MSGSUBDIRS= libfdisk
372 376
373 377 HDRSUBDIRS= \
374 378 auditd_plugins \
375 379 libast \
376 380 libbrand \
377 381 libbsm \
378 382 libc \
379 383 libcmd \
380 384 libcmdutils \
381 385 libcommputil \
382 386 libcontract \
383 387 libcpc \
384 388 libctf \
385 389 libcurses \
386 390 libtermcap \
387 391 libcryptoutil \
388 392 libdevice \
389 393 libdevid \
390 394 libdevinfo \
391 395 libdiskmgt \
392 396 libdladm \
393 397 libdll \
394 398 libdlpi \
395 399 libdhcpagent \
396 400 libdhcpsvc \
397 401 libdhcputil \
398 402 libdisasm \
399 403 libdns_sd \
400 404 libdscfg \
401 405 libdtrace \
402 406 libdtrace_jni \
403 407 libelfsign \
404 408 libeti \
405 409 libfru \
406 410 libfstyp \
407 411 libgen \
408 412 libipadm \
409 413 libipd \
410 414 libipsecutil \
411 415 libinetsvc \
412 416 libinetutil \
413 417 libinstzones \
414 418 libipmi \
415 419 libipmp \
416 420 libipp \
417 421 libiscsit \
418 422 libkstat \
419 423 libkvm \
420 424 libmail \
421 425 libmd \
422 426 libmtmalloc \
423 427 libndmp \
424 428 libnvpair \
425 429 libnsctl \
426 430 libnsl \
427 431 libnwam \
428 432 libpam \
429 433 libpcidb \
430 434 libpctx \
431 435 libpicl \
432 436 libpicltree \
433 437 libpool \
434 438 libpp \
435 439 libproc \
436 440 libraidcfg \
437 441 librcm \
438 442 librdc \
439 443 libscf \
440 444 libsip \
441 445 libsmbios \
442 446 librestart \
443 447 librpcsvc \
444 448 librsm \
445 449 librstp \
446 450 libsasl \
447 451 libsec \
448 452 libshell \
449 453 libslp \
450 454 libsmedia \
451 455 libsocket \
452 456 libsqlite \
453 457 libfcoe \
454 458 libsrpt \
455 459 libstmf \
456 460 libstmfproxy \
457 461 libsum \
458 462 libsysevent \
459 463 libtecla \
460 464 libtnf \
461 465 libtnfctl \
462 466 libtnfprobe \
463 467 libtsnet \
464 468 libtsol \
465 469 libvrrpadm \
466 470 libvolmgt \
467 471 libumem \
468 472 libunistat \
469 473 libuutil \
470 474 libwanboot \
471 475 libwanbootutil \
472 476 libwrap \
473 477 libxcurses2 \
474 478 libzfs \
475 479 libzfs_core \
476 480 libzfs_jni \
477 481 libzoneinfo \
478 482 libzonestat \
479 483 hal \
480 484 policykit \
481 485 lvm \
482 486 pkcs11 \
483 487 passwdutil \
484 488 ../cmd/sendmail/libmilter \
485 489 fm \
486 490 udapl \
487 491 libmapid \
488 492 libkrb5 \
489 493 libsmbfs \
490 494 libshare \
491 495 libidmap \
492 496 libvscan \
493 497 libgrubmgmt \
494 498 smbsrv \
495 499 libilb \
496 500 scsi \
497 501 hbaapi \
498 502 smhba \
499 503 libima \
500 504 libsun_ima \
501 505 mpapi \
502 506 libreparse \
503 507 $($(MACH)_HDRSUBDIRS)
504 508
505 509 i386_HDRSUBDIRS= \
506 510 libfdisk \
507 511 libsaveargs
508 512
509 513 sparc_HDRSUBDIRS= \
510 514 libds \
511 515 libdscp \
512 516 libpri \
513 517 libv12n \
514 518 storage
515 519
516 520 all := TARGET= all
517 521 check := TARGET= check
518 522 clean := TARGET= clean
519 523 clobber := TARGET= clobber
520 524 install := TARGET= install
521 525 install_h := TARGET= install_h
522 526 lint := TARGET= lint
523 527 _dc := TARGET= _dc
524 528 _msg := TARGET= _msg
525 529
526 530 .KEEP_STATE:
527 531
528 532 #
529 533 # For the all and install targets, we clearly must respect library
530 534 # dependencies so that the libraries link correctly. However, for
531 535 # the remaining targets (check, clean, clobber, install_h, lint, _dc
532 536 # and _msg), libraries do not have any dependencies on one another
533 537 # and thus respecting dependencies just slows down the build.
534 538 # As such, for these rules, we use pattern replacement to explicitly
535 539 # avoid triggering the dependency information. Note that for clean,
536 540 # clobber and lint, we must use $(NOWAIT_SUBDIRS) rather than
537 541 # $(SUBDIRS), to prevent `.WAIT' from expanding to `.WAIT-nodepend'.
538 542 #
539 543
540 544 all: $(SUBDIRS)
541 545
542 546 install: $(SUBDIRS) .WAIT install_extra
543 547
544 548 # extra libraries kept in other source areas
545 549 install_extra:
546 550 @cd ../cmd/sgs; pwd; $(MAKE) install_lib
547 551 @pwd
548 552
549 553 clean clobber lint: $(NOWAIT_SUBDIRS:%=%-nodepend)
550 554
551 555 install_h check: $(HDRSUBDIRS:%=%-nodepend)
552 556
↓ open down ↓ |
384 lines elided |
↑ open up ↑ |
553 557 _msg: $(MSGSUBDIRS:%=%-nodepend) .WAIT _dc
554 558
555 559 _dc: $(DCSUBDIRS:%=%-nodepend)
556 560
557 561 #
558 562 # Library interdependencies are called out explicitly here
559 563 #
560 564 auditd_plugins: libbsm libnsl libsecdb
561 565 gss_mechs/mech_krb5: libgss libnsl libsocket libresolv pkcs11
562 566 libadt_jni: libbsm
563 -libast: libsocket
567 +libast: libsocket libm
564 568 libadutils: libldap5 libresolv libsocket libnsl
565 569 nsswitch: libadutils libidmap
566 570 libbe: libzfs
567 571 libbsm: libtsol
568 572 libcmd: libsum libast libsocket libnsl
569 573 libcmdutils: libavl
570 574 libcontract: libnvpair
571 575 libdevid: libdevinfo
572 576 libdevinfo: libnvpair libsec
573 577 libdhcpagent: libsocket libdhcputil libuuid libdlpi libcontract
574 578 libdhcpsvc: libinetutil
575 579 libdhcputil: libnsl libgen libinetutil libdlpi
576 580 libdladm: libdevinfo libinetutil libsocket libscf librcm libnvpair \
577 581 libexacct libnsl libkstat libcurses
578 582 libdll: libast
579 583 libdlpi: libinetutil libdladm
580 584 libds: libsysevent
581 585 libdscfg: libnsctl libunistat libsocket libnsl
↓ open down ↓ |
8 lines elided |
↑ open up ↑ |
582 586 libdtrace: libproc libgen libctf
583 587 libdtrace_jni: libuutil libdtrace
584 588 libefi: libuuid
585 589 libfstyp: libnvpair
586 590 libelfsign: libcryptoutil libkmf
587 591 libidmap: libadutils libldap5 libavl libsldap libuutil
588 592 libipadm: libnsl libinetutil libsocket libdlpi libnvpair libdhcpagent \
589 593 libdladm libsecdb
590 594 libiscsit: libc libnvpair libstmf libuuid libnsl
591 595 libkmf: libcryptoutil pkcs11
596 +libm: libc
597 +libm1: libc libm
598 +libmvec: libc libm
592 599 libnsl: libmd5
593 600 libmapid: libresolv
594 601 librdc: libsocket libnsl libnsctl libunistat libdscfg
595 602 libuuid: libdlpi
596 603 libinetutil: libsocket
597 604 libipsecutil: libtecla libsocket
598 605 libinstzones: libzonecfg libcontract
599 606 libpkg: libwanboot libscf libadm
600 607 libnwam: libscf
601 608 libsecdb: libnsl
602 609 libsasl: libgss libsocket pkcs11 libmd
603 610 sasl_plugins: pkcs11 libgss libsocket libsasl
604 611 libsctp: libsocket
605 -libshell: libast libcmd libdll libsocket libsecdb
612 +libshell: libast libcmd libdll libsocket libsecdb libm
606 613 libsip: libmd5
607 614 libsmbfs: libcmdutils libsocket libnsl libkrb5
608 615 libsocket: libnsl
609 616 libstmfproxy: libstmf libsocket libnsl libpthread
610 617 libsum: libast
611 618 libsysevent: libsecdb
612 619 libldap5: libsasl libsocket libnsl libmd
613 620 libsldap: libldap5 libtsol libnsl libc libscf libresolv
614 621 libpool: libnvpair libexacct
615 622 libpp: libast
616 623 libzonecfg: libc libsocket libnsl libuuid libnvpair libsysevent libsec \
617 624 libbrand libpool libscf
618 625 libproc: ../cmd/sgs/librtld_db ../cmd/sgs/libelf libctf libsaveargs
619 626 libproject: libpool libproc libsecdb
620 627 libtermcap: libcurses
621 628 libtsnet: libnsl libtsol libsecdb
622 629 libwrap: libnsl libsocket
623 630 libwanboot: libnvpair libresolv libnsl libsocket libdevinfo libinetutil \
624 631 libdhcputil
625 632 libwanbootutil: libnsl
626 633 pam_modules: libproject passwdutil smbsrv
↓ open down ↓ |
11 lines elided |
↑ open up ↑ |
627 634 libscf: libuutil libmd libgen libsmbios libnsl
628 635 libinetsvc: libscf
629 636 librestart: libuutil libscf
630 637 libsaveargs: libdisasm
631 638 ../cmd/sgs/libdl: ../cmd/sgs/libconv
632 639 ../cmd/sgs/libelf: ../cmd/sgs/libconv
633 640 pkcs11: libcryptoutil
634 641 print: libldap5
635 642 udapl/udapl_tavor: udapl/libdat
636 643 libzfs: libdevid libgen libnvpair libuutil \
637 - libadm libavl libefi libidmap libmd libzfs_core
644 + libadm libavl libefi libidmap libmd libzfs_core libm
638 645 libzfs_core: libnvpair
639 646 libzfs_jni: libdiskmgt libnvpair libzfs
640 647 libzpool: libavl libumem libnvpair libcmdutils
641 648 libsec: libavl libidmap
642 649 brand: libc libsocket
643 650 libshare: libscf libzfs libuuid libfsmgt libsecdb libumem libsmbfs
644 651 libexacct/demo: libexacct libproject libsocket libnsl
645 652 libtsalarm: libpcp
646 653 smbsrv: libsocket libnsl libmd libxnet libpthread librt \
647 654 libshare libidmap pkcs11 libsqlite libcryptoutil \
648 655 libreparse libcmdutils
649 656 libv12n: libds libuuid
650 657 libvrrpadm: libsocket libdladm libscf
651 658 libvscan: libscf
652 659 libfru: libfruutils
653 660 scsi: libnvpair libfru
654 661 mpapi: libpthread libdevinfo libsysevent libnvpair
655 662 sun_fc: libdevinfo libsysevent libnvpair
↓ open down ↓ |
8 lines elided |
↑ open up ↑ |
656 663 libsun_ima: libdevinfo libsysevent libnsl
657 664 sun_sas: libdevinfo libsysevent libnvpair libkstat libdevid
658 665 libgrubmgmt: libdevinfo libzfs libfstyp
659 666 pylibbe: libbe libzfs
660 667 pyzfs: libnvpair libzfs
661 668 pysolaris: libsec libidmap
662 669 libreparse: libnvpair
663 670 libhotplug: libnvpair
664 671 cfgadm_plugins: libhotplug
665 672 libilb: libsocket
673 +libipmi: libm
674 +libprtdiag: libm
675 +libsqlite: libm
676 +libstmf: libm
677 +libvscan: libm
678 +
679 +
666 680 $(INTEL_BUILD)libdiskmgt:libfdisk
667 681
668 682 #
669 683 # The reason this rule checks for the existence of the
670 684 # Makefile is that some of the directories do not exist
671 685 # in certain situations (e.g., exportable source builds,
672 686 # OpenSolaris).
673 687 #
674 688 $(SUBDIRS): FRC
675 689 @if [ -f $@/Makefile ]; then \
676 690 cd $@; pwd; $(MAKE) $(TARGET); \
677 691 else \
678 692 true; \
679 693 fi
680 694
681 695 $(SUBDIRS:%=%-nodepend):
682 696 @if [ -f $(@:%-nodepend=%)/Makefile ]; then \
683 697 cd $(@:%-nodepend=%); pwd; $(MAKE) $(TARGET); \
684 698 else \
685 699 true; \
686 700 fi
687 701
688 702 FRC:
↓ open down ↓ |
13 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX