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