Print this page
4853 illumos-gate is not lint-clean when built with openssl 1.0
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 \
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 157 libpcidb
158 158
159 159 SUBDIRS += \
160 160 passwdutil \
161 161 pam_modules \
162 162 crypt_modules \
163 163 libadt_jni \
164 164 abi \
165 165 auditd_plugins \
166 166 libvolmgt \
167 167 libdevice \
168 168 libdevid \
169 169 libdhcpsvc \
170 170 libc_db \
↓ open down ↓ |
170 lines elided |
↑ open up ↑ |
171 171 libndmp \
172 172 libsec \
173 173 libtnfprobe \
174 174 libtnf \
175 175 libtnfctl \
176 176 libdhcpagent \
177 177 libdhcpdu \
178 178 libdhcputil \
179 179 libxnet \
180 180 libipsecutil \
181 + openssl \
181 182 nsswitch \
182 183 print \
183 184 libuutil \
184 185 libscf \
185 186 libinetsvc \
186 187 librestart \
187 188 libsched \
188 189 libelfsign \
189 190 pkcs11 .WAIT \
190 191 libpctx .WAIT \
191 192 libcpc \
192 193 getloginx \
193 194 watchmalloc \
194 195 extendedFILE \
195 196 madv \
196 197 mpss \
197 198 libdisasm \
198 199 libwrap \
199 200 libxcurses \
200 201 libxcurses2 \
201 202 libbrand .WAIT \
202 203 libzonecfg \
203 204 libzoneinfo \
204 205 libzonestat \
205 206 libtsnet \
206 207 libtsol \
207 208 gss_mechs/mech_spnego \
208 209 gss_mechs/mech_dummy \
209 210 gss_mechs/mech_dh \
210 211 rpcsec_gss \
211 212 libraidcfg .WAIT \
212 213 librcm .WAIT \
213 214 libcfgadm .WAIT \
214 215 libpicl .WAIT \
215 216 libpicltree .WAIT \
216 217 raidcfg_plugins \
217 218 cfgadm_plugins \
218 219 libmail \
219 220 lvm \
220 221 libsmedia \
221 222 libipp \
222 223 libdiskmgt \
223 224 liblgrp \
224 225 libfsmgt \
225 226 fm \
226 227 libavl \
227 228 libcmdutils \
228 229 libcontract \
229 230 ../cmd/sendmail/libmilter \
230 231 sasl_plugins \
231 232 udapl \
232 233 libzpool \
233 234 libzfs_core \
234 235 libzfs \
235 236 libbe \
236 237 pylibbe \
237 238 libzfs_jni \
238 239 pyzfs \
239 240 pysolaris \
240 241 libmapid \
241 242 brand \
242 243 policykit \
243 244 hal \
244 245 libshare \
245 246 libsqlite \
246 247 libidmap \
247 248 libadutils \
248 249 libipmi \
249 250 libexacct/demo \
250 251 libvrrpadm \
251 252 libvscan \
252 253 libgrubmgmt \
253 254 smbsrv \
254 255 libilb \
255 256 scsi \
256 257 libima \
257 258 libsun_ima \
258 259 mpapi \
259 260 librstp \
260 261 libreparse \
261 262 libhotplug \
262 263 libfruutils .WAIT \
263 264 libfru \
264 265 $($(MACH)_SUBDIRS)
265 266
266 267 i386_SUBDIRS= \
267 268 libntfs \
268 269 libparted \
269 270 libfdisk \
270 271 libsaveargs
271 272
272 273 sparc_SUBDIRS= .WAIT \
273 274 efcode \
274 275 libds \
275 276 libdscp \
276 277 libprtdiag .WAIT \
277 278 libprtdiag_psr \
278 279 libpri \
279 280 librsc \
280 281 storage \
281 282 libpcp \
282 283 libtsalarm \
283 284 libv12n
284 285
285 286 FM_sparc_DEPLIBS= libpri
286 287
287 288 fm: \
288 289 libexacct \
289 290 libipmi \
290 291 libzfs \
291 292 scsi \
292 293 $(FM_$(MACH)_DEPLIBS)
293 294
294 295 #
295 296 # Create a special version of $(SUBDIRS) with no .WAIT's, for use with the
296 297 # clean and clobber targets (for more information, see those targets, below).
297 298 #
298 299 NOWAIT_SUBDIRS= $(SUBDIRS:.WAIT=)
299 300
300 301 DCSUBDIRS = \
301 302 lvm
302 303
303 304 MSGSUBDIRS= \
304 305 abi \
305 306 auditd_plugins \
306 307 brand \
307 308 cfgadm_plugins \
308 309 gss_mechs/mech_dh \
309 310 gss_mechs/mech_krb5 \
310 311 krb5 \
311 312 libast \
312 313 libbsm \
313 314 libc \
314 315 libcfgadm \
315 316 libcmd \
316 317 libcontract \
317 318 libcurses \
318 319 libdhcpsvc \
319 320 libdhcputil \
320 321 libipsecutil \
321 322 libdiskmgt \
322 323 libdladm \
323 324 libdll \
324 325 libgrubmgmt \
325 326 libgss \
326 327 libidmap \
327 328 libipmp \
328 329 libilb \
329 330 libinetutil \
330 331 libinstzones \
331 332 libipadm \
332 333 libnsl \
333 334 libnwam \
334 335 libpam \
335 336 libpicl \
336 337 libpool \
337 338 libpkg \
338 339 libpp \
339 340 libscf \
340 341 libsasl \
341 342 libldap5 \
342 343 libsecdb \
343 344 libshare \
344 345 libshell \
345 346 libsldap \
346 347 libslp \
347 348 libsmbfs \
348 349 libsmedia \
349 350 libsum \
350 351 libtsol \
351 352 libuutil \
352 353 libvrrpadm \
353 354 libvscan \
354 355 libwanboot \
355 356 libwanbootutil \
356 357 libzfs \
357 358 libzonecfg \
358 359 lvm \
359 360 madv \
360 361 mpss \
361 362 pam_modules \
362 363 pyzfs \
363 364 pysolaris \
364 365 rpcsec_gss \
365 366 libreparse
366 367 MSGSUBDIRS += \
367 368 $($(MACH)_MSGSUBDIRS)
368 369
369 370 sparc_MSGSUBDIRS= \
370 371 libprtdiag \
371 372 libprtdiag_psr
372 373
373 374 i386_MSGSUBDIRS= libfdisk
374 375
375 376 HDRSUBDIRS= \
376 377 auditd_plugins \
377 378 libast \
378 379 libbrand \
379 380 libbsm \
380 381 libc \
381 382 libcmd \
382 383 libcmdutils \
383 384 libcommputil \
384 385 libcontract \
385 386 libcpc \
386 387 libctf \
387 388 libcurses \
388 389 libtermcap \
389 390 libcryptoutil \
390 391 libdevice \
391 392 libdevid \
392 393 libdevinfo \
393 394 libdiskmgt \
394 395 libdladm \
395 396 libdll \
396 397 libdlpi \
397 398 libdhcpagent \
398 399 libdhcpsvc \
399 400 libdhcputil \
400 401 libdisasm \
401 402 libdns_sd \
402 403 libdscfg \
403 404 libdtrace \
404 405 libdtrace_jni \
405 406 libelfsign \
406 407 libeti \
407 408 libfru \
408 409 libfstyp \
409 410 libgen \
410 411 libipadm \
411 412 libipd \
412 413 libipsecutil \
413 414 libinetsvc \
414 415 libinetutil \
415 416 libinstzones \
416 417 libipmi \
417 418 libipmp \
418 419 libipp \
419 420 libiscsit \
420 421 libkstat \
421 422 libkvm \
422 423 libmail \
423 424 libmd \
424 425 libmtmalloc \
425 426 libndmp \
426 427 libnvpair \
427 428 libnsctl \
428 429 libnsl \
429 430 libnwam \
430 431 libpam \
431 432 libpcidb \
432 433 libpctx \
433 434 libpicl \
434 435 libpicltree \
435 436 libpool \
436 437 libpp \
437 438 libproc \
438 439 libraidcfg \
439 440 librcm \
440 441 librdc \
441 442 libscf \
442 443 libsip \
443 444 libsmbios \
444 445 librestart \
445 446 librpcsvc \
446 447 librsm \
447 448 librstp \
448 449 libsasl \
449 450 libsec \
450 451 libshell \
451 452 libslp \
452 453 libsmedia \
453 454 libsocket \
454 455 libsqlite \
455 456 libfcoe \
456 457 libsrpt \
457 458 libstmf \
458 459 libstmfproxy \
459 460 libsum \
460 461 libsysevent \
461 462 libtecla \
462 463 libtnf \
463 464 libtnfctl \
464 465 libtnfprobe \
465 466 libtsnet \
466 467 libtsol \
467 468 libvrrpadm \
468 469 libvolmgt \
469 470 libumem \
470 471 libunistat \
471 472 libuutil \
472 473 libwanboot \
473 474 libwanbootutil \
474 475 libwrap \
475 476 libxcurses2 \
476 477 libzfs \
477 478 libzfs_core \
478 479 libzfs_jni \
479 480 libzoneinfo \
480 481 libzonestat \
481 482 hal \
482 483 policykit \
483 484 lvm \
484 485 pkcs11 \
485 486 passwdutil \
486 487 ../cmd/sendmail/libmilter \
487 488 fm \
488 489 udapl \
489 490 libmapid \
490 491 libkrb5 \
491 492 libsmbfs \
492 493 libshare \
493 494 libidmap \
494 495 libvscan \
495 496 libgrubmgmt \
496 497 smbsrv \
497 498 libilb \
498 499 scsi \
499 500 hbaapi \
500 501 smhba \
501 502 libima \
502 503 libsun_ima \
503 504 mpapi \
504 505 libreparse \
505 506 $($(MACH)_HDRSUBDIRS)
506 507
507 508 i386_HDRSUBDIRS= \
508 509 libparted \
509 510 libfdisk \
510 511 libsaveargs
511 512
512 513 sparc_HDRSUBDIRS= \
513 514 libds \
514 515 libdscp \
515 516 libpri \
516 517 libv12n \
517 518 storage
518 519
519 520 all := TARGET= all
520 521 check := TARGET= check
521 522 clean := TARGET= clean
522 523 clobber := TARGET= clobber
523 524 install := TARGET= install
524 525 install_h := TARGET= install_h
525 526 lint := TARGET= lint
526 527 _dc := TARGET= _dc
527 528 _msg := TARGET= _msg
528 529
529 530 .KEEP_STATE:
530 531
531 532 #
532 533 # For the all and install targets, we clearly must respect library
533 534 # dependencies so that the libraries link correctly. However, for
534 535 # the remaining targets (check, clean, clobber, install_h, lint, _dc
535 536 # and _msg), libraries do not have any dependencies on one another
536 537 # and thus respecting dependencies just slows down the build.
537 538 # As such, for these rules, we use pattern replacement to explicitly
538 539 # avoid triggering the dependency information. Note that for clean,
539 540 # clobber and lint, we must use $(NOWAIT_SUBDIRS) rather than
540 541 # $(SUBDIRS), to prevent `.WAIT' from expanding to `.WAIT-nodepend'.
541 542 #
542 543
543 544 all: $(SUBDIRS)
544 545
545 546 install: $(SUBDIRS) .WAIT install_extra
546 547
547 548 # extra libraries kept in other source areas
548 549 install_extra:
549 550 @cd ../cmd/sgs; pwd; $(MAKE) install_lib
550 551 @pwd
551 552
552 553 clean clobber lint: $(NOWAIT_SUBDIRS:%=%-nodepend)
553 554
554 555 install_h check: $(HDRSUBDIRS:%=%-nodepend)
↓ open down ↓ |
364 lines elided |
↑ open up ↑ |
555 556
556 557 _msg: $(MSGSUBDIRS:%=%-nodepend) .WAIT _dc
557 558
558 559 _dc: $(DCSUBDIRS:%=%-nodepend)
559 560
560 561 #
561 562 # Library interdependencies are called out explicitly here
562 563 #
563 564 auditd_plugins: libbsm libnsl libsecdb
564 565 gss_mechs/mech_krb5: libgss libnsl libsocket libresolv pkcs11
566 +krb5: openssl
565 567 libadt_jni: libbsm
566 568 libast: libsocket
567 569 libadutils: libldap5 libresolv libsocket libnsl
568 570 nsswitch: libadutils libidmap
569 571 libbe: libzfs
570 572 libbsm: libtsol
571 573 libcmd: libsum libast libsocket libnsl
572 574 libcmdutils: libavl
573 575 libcontract: libnvpair
574 576 libdevid: libdevinfo
575 577 libdevinfo: libnvpair libsec
576 578 libdhcpagent: libsocket libdhcputil libuuid libdlpi libcontract
577 579 libdhcpsvc: libinetutil
578 580 libdhcputil: libnsl libgen libinetutil libdlpi
579 581 libdladm: libdevinfo libinetutil libsocket libscf librcm libnvpair \
580 582 libexacct libnsl libkstat libcurses
581 583 libdll: libast
582 584 libdlpi: libinetutil libdladm
583 585 libds: libsysevent
↓ open down ↓ |
9 lines elided |
↑ open up ↑ |
584 586 libdscfg: libnsctl libunistat libsocket libnsl
585 587 libdtrace: libproc libgen libctf
586 588 libdtrace_jni: libuutil libdtrace
587 589 libefi: libuuid
588 590 libfstyp: libnvpair
589 591 libelfsign: libcryptoutil libkmf
590 592 libidmap: libadutils libldap5 libavl libsldap libuutil
591 593 libipadm: libnsl libinetutil libsocket libdlpi libnvpair libdhcpagent \
592 594 libdladm libsecdb
593 595 libiscsit: libc libnvpair libstmf libuuid libnsl
594 -libkmf: libcryptoutil pkcs11
596 +libkmf: libcryptoutil pkcs11 openssl
595 597 libnsl: libmd5
596 598 libmapid: libresolv
597 599 librdc: libsocket libnsl libnsctl libunistat libdscfg
598 600 libuuid: libdlpi
599 601 libinetutil: libsocket
600 602 libipsecutil: libtecla libsocket
601 603 libinstzones: libzonecfg libcontract
602 -libpkg: libwanboot libscf libadm
604 +libpkg: libwanboot libscf libadm openssl
603 605 libnwam: libscf
604 606 libsecdb: libnsl
605 607 libsasl: libgss libsocket pkcs11 libmd
606 608 sasl_plugins: pkcs11 libgss libsocket libsasl
607 609 libsctp: libsocket
608 610 libshell: libast libcmd libdll libsocket libsecdb
609 611 libsip: libmd5
610 612 libsmbfs: libcmdutils libsocket libnsl libkrb5
611 613 libsocket: libnsl
612 614 libstmfproxy: libstmf libsocket libnsl libpthread
613 615 libsum: libast
614 616 libsysevent: libsecdb
615 617 libldap5: libsasl libsocket libnsl libmd
616 618 libsldap: libldap5 libtsol libnsl libc libscf libresolv
↓ open down ↓ |
4 lines elided |
↑ open up ↑ |
617 619 libpool: libnvpair libexacct
618 620 libpp: libast
619 621 libzonecfg: libc libsocket libnsl libuuid libnvpair libsysevent libsec \
620 622 libbrand libpool libscf
621 623 libproc: ../cmd/sgs/librtld_db ../cmd/sgs/libelf libctf libsaveargs
622 624 libproject: libpool libproc libsecdb
623 625 libtermcap: libcurses
624 626 libtsnet: libnsl libtsol libsecdb
625 627 libwrap: libnsl libsocket
626 628 libwanboot: libnvpair libresolv libnsl libsocket libdevinfo libinetutil \
627 - libdhcputil
629 + libdhcputil openssl
628 630 libwanbootutil: libnsl
629 631 pam_modules: libproject passwdutil smbsrv
630 632 libscf: libuutil libmd libgen libsmbios libnsl
631 633 libinetsvc: libscf
632 634 librestart: libuutil libscf
633 635 libsaveargs: libdisasm
634 636 ../cmd/sgs/libdl: ../cmd/sgs/libconv
635 637 ../cmd/sgs/libelf: ../cmd/sgs/libconv
636 -pkcs11: libcryptoutil
638 +pkcs11: libcryptoutil openssl
637 639 print: libldap5
638 640 udapl/udapl_tavor: udapl/libdat
639 641 libzfs: libdevid libgen libnvpair libuutil \
640 642 libadm libavl libefi libidmap libmd libzfs_core
641 643 libzfs_core: libnvpair
642 644 libzfs_jni: libdiskmgt libnvpair libzfs
643 645 libzpool: libavl libumem libnvpair libcmdutils
644 646 libsec: libavl libidmap
645 647 brand: libc libsocket
646 648 libshare: libscf libzfs libuuid libfsmgt libsecdb libumem libsmbfs
647 649 libexacct/demo: libexacct libproject libsocket libnsl
648 650 libtsalarm: libpcp
649 651 smbsrv: libsocket libnsl libmd libxnet libpthread librt \
650 652 libshare libidmap pkcs11 libsqlite libcryptoutil \
651 653 libreparse libcmdutils
652 654 libv12n: libds libuuid
653 655 libvrrpadm: libsocket libdladm libscf
654 656 libvscan: libscf
655 657 libfru: libfruutils
656 658 scsi: libnvpair libfru
657 659 mpapi: libpthread libdevinfo libsysevent libnvpair
658 660 sun_fc: libdevinfo libsysevent libnvpair
↓ open down ↓ |
12 lines elided |
↑ open up ↑ |
659 661 libsun_ima: libdevinfo libsysevent libnsl
660 662 sun_sas: libdevinfo libsysevent libnvpair libkstat libdevid
661 663 libgrubmgmt: libdevinfo libzfs libfstyp
662 664 pylibbe: libbe libzfs
663 665 pyzfs: libnvpair libzfs
664 666 pysolaris: libsec libidmap
665 667 libreparse: libnvpair
666 668 libhotplug: libnvpair
667 669 cfgadm_plugins: libhotplug
668 670 libilb: libsocket
671 +openssl: libnsl libc libsocket
669 672 $(INTEL_BUILD)libdiskmgt:libfdisk
670 673
671 674 #
672 675 # The reason this rule checks for the existence of the
673 676 # Makefile is that some of the directories do not exist
674 677 # in certain situations (e.g., exportable source builds,
675 678 # OpenSolaris).
676 679 #
677 680 $(SUBDIRS): FRC
678 681 @if [ -f $@/Makefile ]; then \
679 682 cd $@; pwd; $(MAKE) $(TARGET); \
680 683 else \
681 684 true; \
682 685 fi
683 686
684 687 $(SUBDIRS:%=%-nodepend):
685 688 @if [ -f $(@:%-nodepend=%)/Makefile ]; then \
686 689 cd $(@:%-nodepend=%); pwd; $(MAKE) $(TARGET); \
687 690 else \
688 691 true; \
689 692 fi
690 693
691 694 FRC:
↓ open down ↓ |
13 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX