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