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