Révision | 3f48575af8379567edcc1d6f7fb25c14237cbf30 (tree) |
---|---|
l'heure | 2014-05-09 01:18:30 |
Auteur | jakub <jakub@138b...> |
Commiter | Tom Tromey |
PR sanitizer/56781 lto-plugin/ * Makefile.am (CFLAGS, LDFLAGS): Filter out -fsanitize=address. (liblto_plugin_la_LIBADD, liblto_plugin_la_LDFLAGS, liblto_plugin_la_DEPENDENCIES): Prefer ../libiberty/noasan/libiberty.a over ../libiberty/pic/libiberty.a if the former exists. * Makefile.in: Regenerated. libiberty/ * maint-tool: Also emit rule for noasan/ subdirectory. * configure.ac (NOASANFLAG): Set and substitute. * Makefile.in: Regenerated. (NOASANFLAG): Set. (all, $(TARGETLIB), mostlyclean): Handle noasan subdir like pic subdir. (stamp-noasandir): New goal. * configure: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@209476 138bc75d-0d04-0410-961f-82ee72b054a4
@@ -1,3 +1,15 @@ | ||
1 | +2014-04-17 Jakub Jelinek <jakub@redhat.com> | |
2 | + | |
3 | + PR sanitizer/56781 | |
4 | + * maint-tool: Also emit rule for noasan/ subdirectory. | |
5 | + * configure.ac (NOASANFLAG): Set and substitute. | |
6 | + * Makefile.in: Regenerated. | |
7 | + (NOASANFLAG): Set. | |
8 | + (all, $(TARGETLIB), mostlyclean): Handle noasan subdir like pic | |
9 | + subdir. | |
10 | + (stamp-noasandir): New goal. | |
11 | + * configure: Regenerated. | |
12 | + | |
1 | 13 | 2014-04-01 Richard Biener <rguenther@suse.de> |
2 | 14 | |
3 | 15 | * simple-object.c (simple_object_internal_write): Handle |
@@ -2,8 +2,8 @@ | ||
2 | 2 | # Originally written by K. Richard Pixley <rich@cygnus.com>. |
3 | 3 | # |
4 | 4 | # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, |
5 | -# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 | |
6 | -# Free Software Foundation | |
5 | +# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, | |
6 | +# 2012, 2014 Free Software Foundation | |
7 | 7 | # |
8 | 8 | # This file is part of the libiberty library. |
9 | 9 | # Libiberty is free software; you can redistribute it and/or |
@@ -62,6 +62,7 @@ MAKEINFO = @MAKEINFO@ | ||
62 | 62 | PERL = @PERL@ |
63 | 63 | |
64 | 64 | PICFLAG = @PICFLAG@ |
65 | +NOASANFLAG = @NOASANFLAG@ | |
65 | 66 | |
66 | 67 | MAKEOVERRIDES = |
67 | 68 |
@@ -101,7 +102,7 @@ FLAGS_TO_PASS = \ | ||
101 | 102 | SUBDIRS = testsuite |
102 | 103 | |
103 | 104 | # FIXME: add @BUILD_INFO@ once we're sure it works for everyone. |
104 | -all: stamp-picdir $(TARGETLIB) required-list all-subdir | |
105 | +all: stamp-picdir stamp-noasandir $(TARGETLIB) required-list all-subdir | |
105 | 106 | @: $(MAKE) ; $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all |
106 | 107 | |
107 | 108 | .PHONY: check installcheck |
@@ -241,7 +242,7 @@ INSTALLED_HEADERS = \ | ||
241 | 242 | $(INCDIR)/timeval-utils.h |
242 | 243 | |
243 | 244 | $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) |
244 | - -rm -f $(TARGETLIB) pic/$(TARGETLIB) | |
245 | + -rm -f $(TARGETLIB) pic/$(TARGETLIB) noasan/$(TARGETLIB) | |
245 | 246 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ |
246 | 247 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) |
247 | 248 | $(RANLIB) $(TARGETLIB) |
@@ -251,6 +252,13 @@ $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) | ||
251 | 252 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ |
252 | 253 | $(RANLIB) $(TARGETLIB); \ |
253 | 254 | cd ..; \ |
255 | + else true; fi; \ | |
256 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
257 | + cd noasan; \ | |
258 | + $(AR) $(AR_FLAGS) $(TARGETLIB) \ | |
259 | + $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ | |
260 | + $(RANLIB) $(TARGETLIB); \ | |
261 | + cd ..; \ | |
254 | 262 | else true; fi |
255 | 263 | |
256 | 264 | $(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES) |
@@ -389,6 +397,12 @@ stamp-picdir: | ||
389 | 397 | else true; fi |
390 | 398 | touch stamp-picdir |
391 | 399 | |
400 | +stamp-noasandir: | |
401 | + if [ x"$(NOASANFLAG)" != x ] && [ ! -d noasan ]; then \ | |
402 | + mkdir noasan; \ | |
403 | + else true; fi | |
404 | + touch stamp-noasandir | |
405 | + | |
392 | 406 | .PHONY: all etags tags ls clean stage1 stage2 |
393 | 407 | |
394 | 408 | etags tags: TAGS etags-subdir |
@@ -426,9 +440,9 @@ maint-deps : | ||
426 | 440 | # Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS |
427 | 441 | # multiple times, hence our explicit recursion with an empty SUBDIRS. |
428 | 442 | mostlyclean: mostlyclean-subdir |
429 | - -rm -rf *.$(objext) pic core errs \#* *.E a.out | |
443 | + -rm -rf *.$(objext) pic noasan core errs \#* *.E a.out | |
430 | 444 | -rm -f errors dummy config.h stamp-* |
431 | - -rm -f $(CONFIG_H) stamp-picdir | |
445 | + -rm -f $(CONFIG_H) stamp-picdir stamp-noasandir | |
432 | 446 | -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky |
433 | 447 | -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg |
434 | 448 | -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr |
@@ -485,8 +499,8 @@ maintainer-clean-subdir: config.h | ||
485 | 499 | cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \ |
486 | 500 | done |
487 | 501 | |
488 | -$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir | |
489 | -$(CONFIGURED_OFILES): stamp-picdir | |
502 | +$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir stamp-noasandir | |
503 | +$(CONFIGURED_OFILES): stamp-picdir stamp-noasandir | |
490 | 504 | |
491 | 505 | # Don't export variables to the environment, in order to not confuse |
492 | 506 | # configure. |
@@ -500,6 +514,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
500 | 514 | if [ x"$(PICFLAG)" != x ]; then \ |
501 | 515 | $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \ |
502 | 516 | else true; fi |
517 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
518 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/_doprnt.c -o noasan/$@; \ | |
519 | + else true; fi | |
503 | 520 | $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION) |
504 | 521 | |
505 | 522 | ./alloca.$(objext): $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \ |
@@ -507,6 +524,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
507 | 524 | if [ x"$(PICFLAG)" != x ]; then \ |
508 | 525 | $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \ |
509 | 526 | else true; fi |
527 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
528 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/alloca.c -o noasan/$@; \ | |
529 | + else true; fi | |
510 | 530 | $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION) |
511 | 531 | |
512 | 532 | ./argv.$(objext): $(srcdir)/argv.c config.h $(INCDIR)/ansidecl.h \ |
@@ -514,6 +534,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
514 | 534 | if [ x"$(PICFLAG)" != x ]; then \ |
515 | 535 | $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \ |
516 | 536 | else true; fi |
537 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
538 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/argv.c -o noasan/$@; \ | |
539 | + else true; fi | |
517 | 540 | $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION) |
518 | 541 | |
519 | 542 | ./asprintf.$(objext): $(srcdir)/asprintf.c config.h $(INCDIR)/ansidecl.h \ |
@@ -521,12 +544,18 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
521 | 544 | if [ x"$(PICFLAG)" != x ]; then \ |
522 | 545 | $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \ |
523 | 546 | else true; fi |
547 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
548 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/asprintf.c -o noasan/$@; \ | |
549 | + else true; fi | |
524 | 550 | $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION) |
525 | 551 | |
526 | 552 | ./atexit.$(objext): $(srcdir)/atexit.c config.h |
527 | 553 | if [ x"$(PICFLAG)" != x ]; then \ |
528 | 554 | $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \ |
529 | 555 | else true; fi |
556 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
557 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/atexit.c -o noasan/$@; \ | |
558 | + else true; fi | |
530 | 559 | $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION) |
531 | 560 | |
532 | 561 | ./basename.$(objext): $(srcdir)/basename.c config.h $(INCDIR)/ansidecl.h \ |
@@ -534,36 +563,54 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
534 | 563 | if [ x"$(PICFLAG)" != x ]; then \ |
535 | 564 | $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \ |
536 | 565 | else true; fi |
566 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
567 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/basename.c -o noasan/$@; \ | |
568 | + else true; fi | |
537 | 569 | $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION) |
538 | 570 | |
539 | 571 | ./bcmp.$(objext): $(srcdir)/bcmp.c |
540 | 572 | if [ x"$(PICFLAG)" != x ]; then \ |
541 | 573 | $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \ |
542 | 574 | else true; fi |
575 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
576 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcmp.c -o noasan/$@; \ | |
577 | + else true; fi | |
543 | 578 | $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION) |
544 | 579 | |
545 | 580 | ./bcopy.$(objext): $(srcdir)/bcopy.c |
546 | 581 | if [ x"$(PICFLAG)" != x ]; then \ |
547 | 582 | $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \ |
548 | 583 | else true; fi |
584 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
585 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcopy.c -o noasan/$@; \ | |
586 | + else true; fi | |
549 | 587 | $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION) |
550 | 588 | |
551 | 589 | ./bsearch.$(objext): $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h |
552 | 590 | if [ x"$(PICFLAG)" != x ]; then \ |
553 | 591 | $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \ |
554 | 592 | else true; fi |
593 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
594 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bsearch.c -o noasan/$@; \ | |
595 | + else true; fi | |
555 | 596 | $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION) |
556 | 597 | |
557 | 598 | ./bzero.$(objext): $(srcdir)/bzero.c |
558 | 599 | if [ x"$(PICFLAG)" != x ]; then \ |
559 | 600 | $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \ |
560 | 601 | else true; fi |
602 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
603 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bzero.c -o noasan/$@; \ | |
604 | + else true; fi | |
561 | 605 | $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION) |
562 | 606 | |
563 | 607 | ./calloc.$(objext): $(srcdir)/calloc.c $(INCDIR)/ansidecl.h |
564 | 608 | if [ x"$(PICFLAG)" != x ]; then \ |
565 | 609 | $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \ |
566 | 610 | else true; fi |
611 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
612 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/calloc.c -o noasan/$@; \ | |
613 | + else true; fi | |
567 | 614 | $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION) |
568 | 615 | |
569 | 616 | ./choose-temp.$(objext): $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \ |
@@ -571,12 +618,18 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
571 | 618 | if [ x"$(PICFLAG)" != x ]; then \ |
572 | 619 | $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \ |
573 | 620 | else true; fi |
621 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
622 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/choose-temp.c -o noasan/$@; \ | |
623 | + else true; fi | |
574 | 624 | $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION) |
575 | 625 | |
576 | 626 | ./clock.$(objext): $(srcdir)/clock.c config.h |
577 | 627 | if [ x"$(PICFLAG)" != x ]; then \ |
578 | 628 | $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \ |
579 | 629 | else true; fi |
630 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
631 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/clock.c -o noasan/$@; \ | |
632 | + else true; fi | |
580 | 633 | $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION) |
581 | 634 | |
582 | 635 | ./concat.$(objext): $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \ |
@@ -584,12 +637,18 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
584 | 637 | if [ x"$(PICFLAG)" != x ]; then \ |
585 | 638 | $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \ |
586 | 639 | else true; fi |
640 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
641 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/concat.c -o noasan/$@; \ | |
642 | + else true; fi | |
587 | 643 | $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION) |
588 | 644 | |
589 | 645 | ./copysign.$(objext): $(srcdir)/copysign.c $(INCDIR)/ansidecl.h |
590 | 646 | if [ x"$(PICFLAG)" != x ]; then \ |
591 | 647 | $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \ |
592 | 648 | else true; fi |
649 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
650 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/copysign.c -o noasan/$@; \ | |
651 | + else true; fi | |
593 | 652 | $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION) |
594 | 653 | |
595 | 654 | ./cp-demangle.$(objext): $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \ |
@@ -598,6 +657,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
598 | 657 | if [ x"$(PICFLAG)" != x ]; then \ |
599 | 658 | $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \ |
600 | 659 | else true; fi |
660 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
661 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demangle.c -o noasan/$@; \ | |
662 | + else true; fi | |
601 | 663 | $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION) |
602 | 664 | |
603 | 665 | ./cp-demint.$(objext): $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \ |
@@ -606,6 +668,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
606 | 668 | if [ x"$(PICFLAG)" != x ]; then \ |
607 | 669 | $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \ |
608 | 670 | else true; fi |
671 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
672 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demint.c -o noasan/$@; \ | |
673 | + else true; fi | |
609 | 674 | $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION) |
610 | 675 | |
611 | 676 | ./cplus-dem.$(objext): $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \ |
@@ -614,6 +679,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
614 | 679 | if [ x"$(PICFLAG)" != x ]; then \ |
615 | 680 | $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \ |
616 | 681 | else true; fi |
682 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
683 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cplus-dem.c -o noasan/$@; \ | |
684 | + else true; fi | |
617 | 685 | $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION) |
618 | 686 | |
619 | 687 | ./crc32.$(objext): $(srcdir)/crc32.c config.h $(INCDIR)/ansidecl.h \ |
@@ -621,6 +689,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
621 | 689 | if [ x"$(PICFLAG)" != x ]; then \ |
622 | 690 | $(COMPILE.c) $(PICFLAG) $(srcdir)/crc32.c -o pic/$@; \ |
623 | 691 | else true; fi |
692 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
693 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/crc32.c -o noasan/$@; \ | |
694 | + else true; fi | |
624 | 695 | $(COMPILE.c) $(srcdir)/crc32.c $(OUTPUT_OPTION) |
625 | 696 | |
626 | 697 | ./dwarfnames.$(objext): $(srcdir)/dwarfnames.c $(INCDIR)/dwarf2.def \ |
@@ -628,6 +699,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
628 | 699 | if [ x"$(PICFLAG)" != x ]; then \ |
629 | 700 | $(COMPILE.c) $(PICFLAG) $(srcdir)/dwarfnames.c -o pic/$@; \ |
630 | 701 | else true; fi |
702 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
703 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dwarfnames.c -o noasan/$@; \ | |
704 | + else true; fi | |
631 | 705 | $(COMPILE.c) $(srcdir)/dwarfnames.c $(OUTPUT_OPTION) |
632 | 706 | |
633 | 707 | ./dyn-string.$(objext): $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \ |
@@ -635,6 +709,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
635 | 709 | if [ x"$(PICFLAG)" != x ]; then \ |
636 | 710 | $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \ |
637 | 711 | else true; fi |
712 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
713 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dyn-string.c -o noasan/$@; \ | |
714 | + else true; fi | |
638 | 715 | $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION) |
639 | 716 | |
640 | 717 | ./fdmatch.$(objext): $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \ |
@@ -642,12 +719,18 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
642 | 719 | if [ x"$(PICFLAG)" != x ]; then \ |
643 | 720 | $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \ |
644 | 721 | else true; fi |
722 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
723 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fdmatch.c -o noasan/$@; \ | |
724 | + else true; fi | |
645 | 725 | $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION) |
646 | 726 | |
647 | 727 | ./ffs.$(objext): $(srcdir)/ffs.c |
648 | 728 | if [ x"$(PICFLAG)" != x ]; then \ |
649 | 729 | $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \ |
650 | 730 | else true; fi |
731 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
732 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/ffs.c -o noasan/$@; \ | |
733 | + else true; fi | |
651 | 734 | $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION) |
652 | 735 | |
653 | 736 | ./fibheap.$(objext): $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \ |
@@ -655,6 +738,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
655 | 738 | if [ x"$(PICFLAG)" != x ]; then \ |
656 | 739 | $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \ |
657 | 740 | else true; fi |
741 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
742 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fibheap.c -o noasan/$@; \ | |
743 | + else true; fi | |
658 | 744 | $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION) |
659 | 745 | |
660 | 746 | ./filename_cmp.$(objext): $(srcdir)/filename_cmp.c config.h $(INCDIR)/ansidecl.h \ |
@@ -663,6 +749,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
663 | 749 | if [ x"$(PICFLAG)" != x ]; then \ |
664 | 750 | $(COMPILE.c) $(PICFLAG) $(srcdir)/filename_cmp.c -o pic/$@; \ |
665 | 751 | else true; fi |
752 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
753 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/filename_cmp.c -o noasan/$@; \ | |
754 | + else true; fi | |
666 | 755 | $(COMPILE.c) $(srcdir)/filename_cmp.c $(OUTPUT_OPTION) |
667 | 756 | |
668 | 757 | ./floatformat.$(objext): $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \ |
@@ -670,6 +759,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
670 | 759 | if [ x"$(PICFLAG)" != x ]; then \ |
671 | 760 | $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \ |
672 | 761 | else true; fi |
762 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
763 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/floatformat.c -o noasan/$@; \ | |
764 | + else true; fi | |
673 | 765 | $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION) |
674 | 766 | |
675 | 767 | ./fnmatch.$(objext): $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \ |
@@ -677,6 +769,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
677 | 769 | if [ x"$(PICFLAG)" != x ]; then \ |
678 | 770 | $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \ |
679 | 771 | else true; fi |
772 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
773 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fnmatch.c -o noasan/$@; \ | |
774 | + else true; fi | |
680 | 775 | $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION) |
681 | 776 | |
682 | 777 | ./fopen_unlocked.$(objext): $(srcdir)/fopen_unlocked.c config.h \ |
@@ -684,12 +779,18 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
684 | 779 | if [ x"$(PICFLAG)" != x ]; then \ |
685 | 780 | $(COMPILE.c) $(PICFLAG) $(srcdir)/fopen_unlocked.c -o pic/$@; \ |
686 | 781 | else true; fi |
782 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
783 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fopen_unlocked.c -o noasan/$@; \ | |
784 | + else true; fi | |
687 | 785 | $(COMPILE.c) $(srcdir)/fopen_unlocked.c $(OUTPUT_OPTION) |
688 | 786 | |
689 | 787 | ./getcwd.$(objext): $(srcdir)/getcwd.c config.h |
690 | 788 | if [ x"$(PICFLAG)" != x ]; then \ |
691 | 789 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \ |
692 | 790 | else true; fi |
791 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
792 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getcwd.c -o noasan/$@; \ | |
793 | + else true; fi | |
693 | 794 | $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION) |
694 | 795 | |
695 | 796 | ./getopt.$(objext): $(srcdir)/getopt.c config.h $(INCDIR)/ansidecl.h \ |
@@ -697,18 +798,27 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
697 | 798 | if [ x"$(PICFLAG)" != x ]; then \ |
698 | 799 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \ |
699 | 800 | else true; fi |
801 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
802 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt.c -o noasan/$@; \ | |
803 | + else true; fi | |
700 | 804 | $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION) |
701 | 805 | |
702 | 806 | ./getopt1.$(objext): $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h |
703 | 807 | if [ x"$(PICFLAG)" != x ]; then \ |
704 | 808 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \ |
705 | 809 | else true; fi |
810 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
811 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt1.c -o noasan/$@; \ | |
812 | + else true; fi | |
706 | 813 | $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION) |
707 | 814 | |
708 | 815 | ./getpagesize.$(objext): $(srcdir)/getpagesize.c config.h |
709 | 816 | if [ x"$(PICFLAG)" != x ]; then \ |
710 | 817 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \ |
711 | 818 | else true; fi |
819 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
820 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpagesize.c -o noasan/$@; \ | |
821 | + else true; fi | |
712 | 822 | $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION) |
713 | 823 | |
714 | 824 | ./getpwd.$(objext): $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \ |
@@ -716,6 +826,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
716 | 826 | if [ x"$(PICFLAG)" != x ]; then \ |
717 | 827 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \ |
718 | 828 | else true; fi |
829 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
830 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpwd.c -o noasan/$@; \ | |
831 | + else true; fi | |
719 | 832 | $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION) |
720 | 833 | |
721 | 834 | ./getruntime.$(objext): $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \ |
@@ -723,6 +836,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
723 | 836 | if [ x"$(PICFLAG)" != x ]; then \ |
724 | 837 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \ |
725 | 838 | else true; fi |
839 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
840 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getruntime.c -o noasan/$@; \ | |
841 | + else true; fi | |
726 | 842 | $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION) |
727 | 843 | |
728 | 844 | ./gettimeofday.$(objext): $(srcdir)/gettimeofday.c config.h $(INCDIR)/ansidecl.h \ |
@@ -730,6 +846,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
730 | 846 | if [ x"$(PICFLAG)" != x ]; then \ |
731 | 847 | $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \ |
732 | 848 | else true; fi |
849 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
850 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/gettimeofday.c -o noasan/$@; \ | |
851 | + else true; fi | |
733 | 852 | $(COMPILE.c) $(srcdir)/gettimeofday.c $(OUTPUT_OPTION) |
734 | 853 | |
735 | 854 | ./hashtab.$(objext): $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \ |
@@ -737,6 +856,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
737 | 856 | if [ x"$(PICFLAG)" != x ]; then \ |
738 | 857 | $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \ |
739 | 858 | else true; fi |
859 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
860 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hashtab.c -o noasan/$@; \ | |
861 | + else true; fi | |
740 | 862 | $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION) |
741 | 863 | |
742 | 864 | ./hex.$(objext): $(srcdir)/hex.c config.h $(INCDIR)/ansidecl.h \ |
@@ -744,18 +866,27 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
744 | 866 | if [ x"$(PICFLAG)" != x ]; then \ |
745 | 867 | $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \ |
746 | 868 | else true; fi |
869 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
870 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hex.c -o noasan/$@; \ | |
871 | + else true; fi | |
747 | 872 | $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION) |
748 | 873 | |
749 | 874 | ./index.$(objext): $(srcdir)/index.c |
750 | 875 | if [ x"$(PICFLAG)" != x ]; then \ |
751 | 876 | $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \ |
752 | 877 | else true; fi |
878 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
879 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/index.c -o noasan/$@; \ | |
880 | + else true; fi | |
753 | 881 | $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION) |
754 | 882 | |
755 | 883 | ./insque.$(objext): $(srcdir)/insque.c |
756 | 884 | if [ x"$(PICFLAG)" != x ]; then \ |
757 | 885 | $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \ |
758 | 886 | else true; fi |
887 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
888 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/insque.c -o noasan/$@; \ | |
889 | + else true; fi | |
759 | 890 | $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION) |
760 | 891 | |
761 | 892 | ./lbasename.$(objext): $(srcdir)/lbasename.c config.h $(INCDIR)/ansidecl.h \ |
@@ -764,6 +895,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
764 | 895 | if [ x"$(PICFLAG)" != x ]; then \ |
765 | 896 | $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \ |
766 | 897 | else true; fi |
898 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
899 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lbasename.c -o noasan/$@; \ | |
900 | + else true; fi | |
767 | 901 | $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION) |
768 | 902 | |
769 | 903 | ./lrealpath.$(objext): $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \ |
@@ -771,6 +905,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
771 | 905 | if [ x"$(PICFLAG)" != x ]; then \ |
772 | 906 | $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \ |
773 | 907 | else true; fi |
908 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
909 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lrealpath.c -o noasan/$@; \ | |
910 | + else true; fi | |
774 | 911 | $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION) |
775 | 912 | |
776 | 913 | ./make-relative-prefix.$(objext): $(srcdir)/make-relative-prefix.c config.h \ |
@@ -778,6 +915,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
778 | 915 | if [ x"$(PICFLAG)" != x ]; then \ |
779 | 916 | $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \ |
780 | 917 | else true; fi |
918 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
919 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-relative-prefix.c -o noasan/$@; \ | |
920 | + else true; fi | |
781 | 921 | $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION) |
782 | 922 | |
783 | 923 | ./make-temp-file.$(objext): $(srcdir)/make-temp-file.c config.h \ |
@@ -785,66 +925,99 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
785 | 925 | if [ x"$(PICFLAG)" != x ]; then \ |
786 | 926 | $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \ |
787 | 927 | else true; fi |
928 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
929 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-temp-file.c -o noasan/$@; \ | |
930 | + else true; fi | |
788 | 931 | $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION) |
789 | 932 | |
790 | 933 | ./md5.$(objext): $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h |
791 | 934 | if [ x"$(PICFLAG)" != x ]; then \ |
792 | 935 | $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \ |
793 | 936 | else true; fi |
937 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
938 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/md5.c -o noasan/$@; \ | |
939 | + else true; fi | |
794 | 940 | $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION) |
795 | 941 | |
796 | 942 | ./memchr.$(objext): $(srcdir)/memchr.c $(INCDIR)/ansidecl.h |
797 | 943 | if [ x"$(PICFLAG)" != x ]; then \ |
798 | 944 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \ |
799 | 945 | else true; fi |
946 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
947 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memchr.c -o noasan/$@; \ | |
948 | + else true; fi | |
800 | 949 | $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION) |
801 | 950 | |
802 | 951 | ./memcmp.$(objext): $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h |
803 | 952 | if [ x"$(PICFLAG)" != x ]; then \ |
804 | 953 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \ |
805 | 954 | else true; fi |
955 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
956 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcmp.c -o noasan/$@; \ | |
957 | + else true; fi | |
806 | 958 | $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION) |
807 | 959 | |
808 | 960 | ./memcpy.$(objext): $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h |
809 | 961 | if [ x"$(PICFLAG)" != x ]; then \ |
810 | 962 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \ |
811 | 963 | else true; fi |
964 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
965 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcpy.c -o noasan/$@; \ | |
966 | + else true; fi | |
812 | 967 | $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION) |
813 | 968 | |
814 | 969 | ./memmem.$(objext): $(srcdir)/memmem.c config.h |
815 | 970 | if [ x"$(PICFLAG)" != x ]; then \ |
816 | 971 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memmem.c -o pic/$@; \ |
817 | 972 | else true; fi |
973 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
974 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmem.c -o noasan/$@; \ | |
975 | + else true; fi | |
818 | 976 | $(COMPILE.c) $(srcdir)/memmem.c $(OUTPUT_OPTION) |
819 | 977 | |
820 | 978 | ./memmove.$(objext): $(srcdir)/memmove.c $(INCDIR)/ansidecl.h |
821 | 979 | if [ x"$(PICFLAG)" != x ]; then \ |
822 | 980 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \ |
823 | 981 | else true; fi |
982 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
983 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmove.c -o noasan/$@; \ | |
984 | + else true; fi | |
824 | 985 | $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION) |
825 | 986 | |
826 | 987 | ./mempcpy.$(objext): $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h |
827 | 988 | if [ x"$(PICFLAG)" != x ]; then \ |
828 | 989 | $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \ |
829 | 990 | else true; fi |
991 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
992 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mempcpy.c -o noasan/$@; \ | |
993 | + else true; fi | |
830 | 994 | $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION) |
831 | 995 | |
832 | 996 | ./memset.$(objext): $(srcdir)/memset.c $(INCDIR)/ansidecl.h |
833 | 997 | if [ x"$(PICFLAG)" != x ]; then \ |
834 | 998 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \ |
835 | 999 | else true; fi |
1000 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1001 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memset.c -o noasan/$@; \ | |
1002 | + else true; fi | |
836 | 1003 | $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION) |
837 | 1004 | |
838 | 1005 | ./mkstemps.$(objext): $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h |
839 | 1006 | if [ x"$(PICFLAG)" != x ]; then \ |
840 | 1007 | $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \ |
841 | 1008 | else true; fi |
1009 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1010 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mkstemps.c -o noasan/$@; \ | |
1011 | + else true; fi | |
842 | 1012 | $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION) |
843 | 1013 | |
844 | 1014 | ./msdos.$(objext): $(srcdir)/msdos.c |
845 | 1015 | if [ x"$(PICFLAG)" != x ]; then \ |
846 | 1016 | $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \ |
847 | 1017 | else true; fi |
1018 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1019 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/msdos.c -o noasan/$@; \ | |
1020 | + else true; fi | |
848 | 1021 | $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION) |
849 | 1022 | |
850 | 1023 | ./objalloc.$(objext): $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \ |
@@ -852,12 +1025,18 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
852 | 1025 | if [ x"$(PICFLAG)" != x ]; then \ |
853 | 1026 | $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \ |
854 | 1027 | else true; fi |
1028 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1029 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/objalloc.c -o noasan/$@; \ | |
1030 | + else true; fi | |
855 | 1031 | $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION) |
856 | 1032 | |
857 | 1033 | ./obstack.$(objext): $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h |
858 | 1034 | if [ x"$(PICFLAG)" != x ]; then \ |
859 | 1035 | $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \ |
860 | 1036 | else true; fi |
1037 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1038 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/obstack.c -o noasan/$@; \ | |
1039 | + else true; fi | |
861 | 1040 | $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION) |
862 | 1041 | |
863 | 1042 | ./partition.$(objext): $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \ |
@@ -865,6 +1044,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
865 | 1044 | if [ x"$(PICFLAG)" != x ]; then \ |
866 | 1045 | $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \ |
867 | 1046 | else true; fi |
1047 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1048 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/partition.c -o noasan/$@; \ | |
1049 | + else true; fi | |
868 | 1050 | $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION) |
869 | 1051 | |
870 | 1052 | ./pex-common.$(objext): $(srcdir)/pex-common.c config.h $(INCDIR)/ansidecl.h \ |
@@ -872,6 +1054,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
872 | 1054 | if [ x"$(PICFLAG)" != x ]; then \ |
873 | 1055 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-common.c -o pic/$@; \ |
874 | 1056 | else true; fi |
1057 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1058 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-common.c -o noasan/$@; \ | |
1059 | + else true; fi | |
875 | 1060 | $(COMPILE.c) $(srcdir)/pex-common.c $(OUTPUT_OPTION) |
876 | 1061 | |
877 | 1062 | ./pex-djgpp.$(objext): $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \ |
@@ -879,6 +1064,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
879 | 1064 | if [ x"$(PICFLAG)" != x ]; then \ |
880 | 1065 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \ |
881 | 1066 | else true; fi |
1067 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1068 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-djgpp.c -o noasan/$@; \ | |
1069 | + else true; fi | |
882 | 1070 | $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION) |
883 | 1071 | |
884 | 1072 | ./pex-msdos.$(objext): $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \ |
@@ -887,6 +1075,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
887 | 1075 | if [ x"$(PICFLAG)" != x ]; then \ |
888 | 1076 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \ |
889 | 1077 | else true; fi |
1078 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1079 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-msdos.c -o noasan/$@; \ | |
1080 | + else true; fi | |
890 | 1081 | $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION) |
891 | 1082 | |
892 | 1083 | ./pex-one.$(objext): $(srcdir)/pex-one.c config.h $(INCDIR)/ansidecl.h \ |
@@ -894,6 +1085,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
894 | 1085 | if [ x"$(PICFLAG)" != x ]; then \ |
895 | 1086 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-one.c -o pic/$@; \ |
896 | 1087 | else true; fi |
1088 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1089 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-one.c -o noasan/$@; \ | |
1090 | + else true; fi | |
897 | 1091 | $(COMPILE.c) $(srcdir)/pex-one.c $(OUTPUT_OPTION) |
898 | 1092 | |
899 | 1093 | ./pex-unix.$(objext): $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \ |
@@ -901,6 +1095,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
901 | 1095 | if [ x"$(PICFLAG)" != x ]; then \ |
902 | 1096 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \ |
903 | 1097 | else true; fi |
1098 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1099 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-unix.c -o noasan/$@; \ | |
1100 | + else true; fi | |
904 | 1101 | $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION) |
905 | 1102 | |
906 | 1103 | ./pex-win32.$(objext): $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \ |
@@ -908,6 +1105,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
908 | 1105 | if [ x"$(PICFLAG)" != x ]; then \ |
909 | 1106 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \ |
910 | 1107 | else true; fi |
1108 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1109 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-win32.c -o noasan/$@; \ | |
1110 | + else true; fi | |
911 | 1111 | $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION) |
912 | 1112 | |
913 | 1113 | ./pexecute.$(objext): $(srcdir)/pexecute.c config.h $(INCDIR)/ansidecl.h \ |
@@ -915,6 +1115,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
915 | 1115 | if [ x"$(PICFLAG)" != x ]; then \ |
916 | 1116 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pexecute.c -o pic/$@; \ |
917 | 1117 | else true; fi |
1118 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1119 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pexecute.c -o noasan/$@; \ | |
1120 | + else true; fi | |
918 | 1121 | $(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION) |
919 | 1122 | |
920 | 1123 | ./physmem.$(objext): $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \ |
@@ -922,18 +1125,27 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
922 | 1125 | if [ x"$(PICFLAG)" != x ]; then \ |
923 | 1126 | $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \ |
924 | 1127 | else true; fi |
1128 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1129 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/physmem.c -o noasan/$@; \ | |
1130 | + else true; fi | |
925 | 1131 | $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION) |
926 | 1132 | |
927 | 1133 | ./putenv.$(objext): $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h |
928 | 1134 | if [ x"$(PICFLAG)" != x ]; then \ |
929 | 1135 | $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \ |
930 | 1136 | else true; fi |
1137 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1138 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/putenv.c -o noasan/$@; \ | |
1139 | + else true; fi | |
931 | 1140 | $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION) |
932 | 1141 | |
933 | 1142 | ./random.$(objext): $(srcdir)/random.c $(INCDIR)/ansidecl.h |
934 | 1143 | if [ x"$(PICFLAG)" != x ]; then \ |
935 | 1144 | $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \ |
936 | 1145 | else true; fi |
1146 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1147 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/random.c -o noasan/$@; \ | |
1148 | + else true; fi | |
937 | 1149 | $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION) |
938 | 1150 | |
939 | 1151 | ./regex.$(objext): $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h \ |
@@ -941,18 +1153,27 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
941 | 1153 | if [ x"$(PICFLAG)" != x ]; then \ |
942 | 1154 | $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \ |
943 | 1155 | else true; fi |
1156 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1157 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/regex.c -o noasan/$@; \ | |
1158 | + else true; fi | |
944 | 1159 | $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION) |
945 | 1160 | |
946 | 1161 | ./rename.$(objext): $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h |
947 | 1162 | if [ x"$(PICFLAG)" != x ]; then \ |
948 | 1163 | $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \ |
949 | 1164 | else true; fi |
1165 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1166 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rename.c -o noasan/$@; \ | |
1167 | + else true; fi | |
950 | 1168 | $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION) |
951 | 1169 | |
952 | 1170 | ./rindex.$(objext): $(srcdir)/rindex.c |
953 | 1171 | if [ x"$(PICFLAG)" != x ]; then \ |
954 | 1172 | $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \ |
955 | 1173 | else true; fi |
1174 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1175 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rindex.c -o noasan/$@; \ | |
1176 | + else true; fi | |
956 | 1177 | $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION) |
957 | 1178 | |
958 | 1179 | ./safe-ctype.$(objext): $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \ |
@@ -960,30 +1181,45 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
960 | 1181 | if [ x"$(PICFLAG)" != x ]; then \ |
961 | 1182 | $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \ |
962 | 1183 | else true; fi |
1184 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1185 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/safe-ctype.c -o noasan/$@; \ | |
1186 | + else true; fi | |
963 | 1187 | $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION) |
964 | 1188 | |
965 | 1189 | ./setenv.$(objext): $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h |
966 | 1190 | if [ x"$(PICFLAG)" != x ]; then \ |
967 | 1191 | $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \ |
968 | 1192 | else true; fi |
1193 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1194 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setenv.c -o noasan/$@; \ | |
1195 | + else true; fi | |
969 | 1196 | $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION) |
970 | 1197 | |
971 | 1198 | ./setproctitle.$(objext): $(srcdir)/setproctitle.c config.h $(INCDIR)/ansidecl.h |
972 | 1199 | if [ x"$(PICFLAG)" != x ]; then \ |
973 | 1200 | $(COMPILE.c) $(PICFLAG) $(srcdir)/setproctitle.c -o pic/$@; \ |
974 | 1201 | else true; fi |
1202 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1203 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setproctitle.c -o noasan/$@; \ | |
1204 | + else true; fi | |
975 | 1205 | $(COMPILE.c) $(srcdir)/setproctitle.c $(OUTPUT_OPTION) |
976 | 1206 | |
977 | 1207 | ./sha1.$(objext): $(srcdir)/sha1.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/sha1.h |
978 | 1208 | if [ x"$(PICFLAG)" != x ]; then \ |
979 | 1209 | $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \ |
980 | 1210 | else true; fi |
1211 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1212 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sha1.c -o noasan/$@; \ | |
1213 | + else true; fi | |
981 | 1214 | $(COMPILE.c) $(srcdir)/sha1.c $(OUTPUT_OPTION) |
982 | 1215 | |
983 | 1216 | ./sigsetmask.$(objext): $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h |
984 | 1217 | if [ x"$(PICFLAG)" != x ]; then \ |
985 | 1218 | $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \ |
986 | 1219 | else true; fi |
1220 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1221 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sigsetmask.c -o noasan/$@; \ | |
1222 | + else true; fi | |
987 | 1223 | $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION) |
988 | 1224 | |
989 | 1225 | ./simple-object-coff.$(objext): $(srcdir)/simple-object-coff.c config.h \ |
@@ -992,6 +1228,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
992 | 1228 | if [ x"$(PICFLAG)" != x ]; then \ |
993 | 1229 | $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-coff.c -o pic/$@; \ |
994 | 1230 | else true; fi |
1231 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1232 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-coff.c -o noasan/$@; \ | |
1233 | + else true; fi | |
995 | 1234 | $(COMPILE.c) $(srcdir)/simple-object-coff.c $(OUTPUT_OPTION) |
996 | 1235 | |
997 | 1236 | ./simple-object-elf.$(objext): $(srcdir)/simple-object-elf.c config.h \ |
@@ -1000,6 +1239,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1000 | 1239 | if [ x"$(PICFLAG)" != x ]; then \ |
1001 | 1240 | $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-elf.c -o pic/$@; \ |
1002 | 1241 | else true; fi |
1242 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1243 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-elf.c -o noasan/$@; \ | |
1244 | + else true; fi | |
1003 | 1245 | $(COMPILE.c) $(srcdir)/simple-object-elf.c $(OUTPUT_OPTION) |
1004 | 1246 | |
1005 | 1247 | ./simple-object-mach-o.$(objext): $(srcdir)/simple-object-mach-o.c config.h \ |
@@ -1008,6 +1250,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1008 | 1250 | if [ x"$(PICFLAG)" != x ]; then \ |
1009 | 1251 | $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-mach-o.c -o pic/$@; \ |
1010 | 1252 | else true; fi |
1253 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1254 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-mach-o.c -o noasan/$@; \ | |
1255 | + else true; fi | |
1011 | 1256 | $(COMPILE.c) $(srcdir)/simple-object-mach-o.c $(OUTPUT_OPTION) |
1012 | 1257 | |
1013 | 1258 | ./simple-object-xcoff.$(objext): $(srcdir)/simple-object-xcoff.c config.h \ |
@@ -1016,6 +1261,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1016 | 1261 | if [ x"$(PICFLAG)" != x ]; then \ |
1017 | 1262 | $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-xcoff.c -o pic/$@; \ |
1018 | 1263 | else true; fi |
1264 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1265 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-xcoff.c -o noasan/$@; \ | |
1266 | + else true; fi | |
1019 | 1267 | $(COMPILE.c) $(srcdir)/simple-object-xcoff.c $(OUTPUT_OPTION) |
1020 | 1268 | |
1021 | 1269 | ./simple-object.$(objext): $(srcdir)/simple-object.c config.h \ |
@@ -1024,12 +1272,18 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1024 | 1272 | if [ x"$(PICFLAG)" != x ]; then \ |
1025 | 1273 | $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object.c -o pic/$@; \ |
1026 | 1274 | else true; fi |
1275 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1276 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object.c -o noasan/$@; \ | |
1277 | + else true; fi | |
1027 | 1278 | $(COMPILE.c) $(srcdir)/simple-object.c $(OUTPUT_OPTION) |
1028 | 1279 | |
1029 | 1280 | ./snprintf.$(objext): $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h |
1030 | 1281 | if [ x"$(PICFLAG)" != x ]; then \ |
1031 | 1282 | $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \ |
1032 | 1283 | else true; fi |
1284 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1285 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/snprintf.c -o noasan/$@; \ | |
1286 | + else true; fi | |
1033 | 1287 | $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION) |
1034 | 1288 | |
1035 | 1289 | ./sort.$(objext): $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h \ |
@@ -1037,6 +1291,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1037 | 1291 | if [ x"$(PICFLAG)" != x ]; then \ |
1038 | 1292 | $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \ |
1039 | 1293 | else true; fi |
1294 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1295 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sort.c -o noasan/$@; \ | |
1296 | + else true; fi | |
1040 | 1297 | $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION) |
1041 | 1298 | |
1042 | 1299 | ./spaces.$(objext): $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \ |
@@ -1044,6 +1301,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1044 | 1301 | if [ x"$(PICFLAG)" != x ]; then \ |
1045 | 1302 | $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \ |
1046 | 1303 | else true; fi |
1304 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1305 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/spaces.c -o noasan/$@; \ | |
1306 | + else true; fi | |
1047 | 1307 | $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION) |
1048 | 1308 | |
1049 | 1309 | ./splay-tree.$(objext): $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \ |
@@ -1051,42 +1311,63 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1051 | 1311 | if [ x"$(PICFLAG)" != x ]; then \ |
1052 | 1312 | $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \ |
1053 | 1313 | else true; fi |
1314 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1315 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/splay-tree.c -o noasan/$@; \ | |
1316 | + else true; fi | |
1054 | 1317 | $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION) |
1055 | 1318 | |
1056 | 1319 | ./stack-limit.$(objext): $(srcdir)/stack-limit.c config.h $(INCDIR)/ansidecl.h |
1057 | 1320 | if [ x"$(PICFLAG)" != x ]; then \ |
1058 | 1321 | $(COMPILE.c) $(PICFLAG) $(srcdir)/stack-limit.c -o pic/$@; \ |
1059 | 1322 | else true; fi |
1323 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1324 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stack-limit.c -o noasan/$@; \ | |
1325 | + else true; fi | |
1060 | 1326 | $(COMPILE.c) $(srcdir)/stack-limit.c $(OUTPUT_OPTION) |
1061 | 1327 | |
1062 | 1328 | ./stpcpy.$(objext): $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h |
1063 | 1329 | if [ x"$(PICFLAG)" != x ]; then \ |
1064 | 1330 | $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \ |
1065 | 1331 | else true; fi |
1332 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1333 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpcpy.c -o noasan/$@; \ | |
1334 | + else true; fi | |
1066 | 1335 | $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION) |
1067 | 1336 | |
1068 | 1337 | ./stpncpy.$(objext): $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h |
1069 | 1338 | if [ x"$(PICFLAG)" != x ]; then \ |
1070 | 1339 | $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \ |
1071 | 1340 | else true; fi |
1341 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1342 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpncpy.c -o noasan/$@; \ | |
1343 | + else true; fi | |
1072 | 1344 | $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION) |
1073 | 1345 | |
1074 | 1346 | ./strcasecmp.$(objext): $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h |
1075 | 1347 | if [ x"$(PICFLAG)" != x ]; then \ |
1076 | 1348 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \ |
1077 | 1349 | else true; fi |
1350 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1351 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strcasecmp.c -o noasan/$@; \ | |
1352 | + else true; fi | |
1078 | 1353 | $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION) |
1079 | 1354 | |
1080 | 1355 | ./strchr.$(objext): $(srcdir)/strchr.c $(INCDIR)/ansidecl.h |
1081 | 1356 | if [ x"$(PICFLAG)" != x ]; then \ |
1082 | 1357 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \ |
1083 | 1358 | else true; fi |
1359 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1360 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strchr.c -o noasan/$@; \ | |
1361 | + else true; fi | |
1084 | 1362 | $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION) |
1085 | 1363 | |
1086 | 1364 | ./strdup.$(objext): $(srcdir)/strdup.c $(INCDIR)/ansidecl.h |
1087 | 1365 | if [ x"$(PICFLAG)" != x ]; then \ |
1088 | 1366 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \ |
1089 | 1367 | else true; fi |
1368 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1369 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strdup.c -o noasan/$@; \ | |
1370 | + else true; fi | |
1090 | 1371 | $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION) |
1091 | 1372 | |
1092 | 1373 | ./strerror.$(objext): $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \ |
@@ -1094,36 +1375,54 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1094 | 1375 | if [ x"$(PICFLAG)" != x ]; then \ |
1095 | 1376 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \ |
1096 | 1377 | else true; fi |
1378 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1379 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strerror.c -o noasan/$@; \ | |
1380 | + else true; fi | |
1097 | 1381 | $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION) |
1098 | 1382 | |
1099 | 1383 | ./strncasecmp.$(objext): $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h |
1100 | 1384 | if [ x"$(PICFLAG)" != x ]; then \ |
1101 | 1385 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \ |
1102 | 1386 | else true; fi |
1387 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1388 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncasecmp.c -o noasan/$@; \ | |
1389 | + else true; fi | |
1103 | 1390 | $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION) |
1104 | 1391 | |
1105 | 1392 | ./strncmp.$(objext): $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h |
1106 | 1393 | if [ x"$(PICFLAG)" != x ]; then \ |
1107 | 1394 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \ |
1108 | 1395 | else true; fi |
1396 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1397 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncmp.c -o noasan/$@; \ | |
1398 | + else true; fi | |
1109 | 1399 | $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION) |
1110 | 1400 | |
1111 | 1401 | ./strndup.$(objext): $(srcdir)/strndup.c $(INCDIR)/ansidecl.h |
1112 | 1402 | if [ x"$(PICFLAG)" != x ]; then \ |
1113 | 1403 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \ |
1114 | 1404 | else true; fi |
1405 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1406 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strndup.c -o noasan/$@; \ | |
1407 | + else true; fi | |
1115 | 1408 | $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION) |
1116 | 1409 | |
1117 | 1410 | ./strnlen.$(objext): $(srcdir)/strnlen.c config.h |
1118 | 1411 | if [ x"$(PICFLAG)" != x ]; then \ |
1119 | 1412 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strnlen.c -o pic/$@; \ |
1120 | 1413 | else true; fi |
1414 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1415 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strnlen.c -o noasan/$@; \ | |
1416 | + else true; fi | |
1121 | 1417 | $(COMPILE.c) $(srcdir)/strnlen.c $(OUTPUT_OPTION) |
1122 | 1418 | |
1123 | 1419 | ./strrchr.$(objext): $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h |
1124 | 1420 | if [ x"$(PICFLAG)" != x ]; then \ |
1125 | 1421 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \ |
1126 | 1422 | else true; fi |
1423 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1424 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strrchr.c -o noasan/$@; \ | |
1425 | + else true; fi | |
1127 | 1426 | $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION) |
1128 | 1427 | |
1129 | 1428 | ./strsignal.$(objext): $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \ |
@@ -1131,12 +1430,18 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1131 | 1430 | if [ x"$(PICFLAG)" != x ]; then \ |
1132 | 1431 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \ |
1133 | 1432 | else true; fi |
1433 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1434 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strsignal.c -o noasan/$@; \ | |
1435 | + else true; fi | |
1134 | 1436 | $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION) |
1135 | 1437 | |
1136 | 1438 | ./strstr.$(objext): $(srcdir)/strstr.c |
1137 | 1439 | if [ x"$(PICFLAG)" != x ]; then \ |
1138 | 1440 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \ |
1139 | 1441 | else true; fi |
1442 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1443 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strstr.c -o noasan/$@; \ | |
1444 | + else true; fi | |
1140 | 1445 | $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION) |
1141 | 1446 | |
1142 | 1447 | ./strtod.$(objext): $(srcdir)/strtod.c $(INCDIR)/ansidecl.h \ |
@@ -1144,12 +1449,18 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1144 | 1449 | if [ x"$(PICFLAG)" != x ]; then \ |
1145 | 1450 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \ |
1146 | 1451 | else true; fi |
1452 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1453 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtod.c -o noasan/$@; \ | |
1454 | + else true; fi | |
1147 | 1455 | $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION) |
1148 | 1456 | |
1149 | 1457 | ./strtol.$(objext): $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h |
1150 | 1458 | if [ x"$(PICFLAG)" != x ]; then \ |
1151 | 1459 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \ |
1152 | 1460 | else true; fi |
1461 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1462 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtol.c -o noasan/$@; \ | |
1463 | + else true; fi | |
1153 | 1464 | $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION) |
1154 | 1465 | |
1155 | 1466 | ./strtoul.$(objext): $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \ |
@@ -1157,6 +1468,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1157 | 1468 | if [ x"$(PICFLAG)" != x ]; then \ |
1158 | 1469 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \ |
1159 | 1470 | else true; fi |
1471 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1472 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoul.c -o noasan/$@; \ | |
1473 | + else true; fi | |
1160 | 1474 | $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION) |
1161 | 1475 | |
1162 | 1476 | ./strverscmp.$(objext): $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h \ |
@@ -1164,6 +1478,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1164 | 1478 | if [ x"$(PICFLAG)" != x ]; then \ |
1165 | 1479 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \ |
1166 | 1480 | else true; fi |
1481 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1482 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strverscmp.c -o noasan/$@; \ | |
1483 | + else true; fi | |
1167 | 1484 | $(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION) |
1168 | 1485 | |
1169 | 1486 | ./timeval-utils.$(objext): $(srcdir)/timeval-utils.c config.h \ |
@@ -1171,12 +1488,18 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1171 | 1488 | if [ x"$(PICFLAG)" != x ]; then \ |
1172 | 1489 | $(COMPILE.c) $(PICFLAG) $(srcdir)/timeval-utils.c -o pic/$@; \ |
1173 | 1490 | else true; fi |
1491 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1492 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/timeval-utils.c -o noasan/$@; \ | |
1493 | + else true; fi | |
1174 | 1494 | $(COMPILE.c) $(srcdir)/timeval-utils.c $(OUTPUT_OPTION) |
1175 | 1495 | |
1176 | 1496 | ./tmpnam.$(objext): $(srcdir)/tmpnam.c |
1177 | 1497 | if [ x"$(PICFLAG)" != x ]; then \ |
1178 | 1498 | $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \ |
1179 | 1499 | else true; fi |
1500 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1501 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/tmpnam.c -o noasan/$@; \ | |
1502 | + else true; fi | |
1180 | 1503 | $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION) |
1181 | 1504 | |
1182 | 1505 | ./unlink-if-ordinary.$(objext): $(srcdir)/unlink-if-ordinary.c config.h \ |
@@ -1184,6 +1507,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1184 | 1507 | if [ x"$(PICFLAG)" != x ]; then \ |
1185 | 1508 | $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \ |
1186 | 1509 | else true; fi |
1510 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1511 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/unlink-if-ordinary.c -o noasan/$@; \ | |
1512 | + else true; fi | |
1187 | 1513 | $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION) |
1188 | 1514 | |
1189 | 1515 | ./vasprintf.$(objext): $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \ |
@@ -1191,24 +1517,36 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1191 | 1517 | if [ x"$(PICFLAG)" != x ]; then \ |
1192 | 1518 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \ |
1193 | 1519 | else true; fi |
1520 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1521 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vasprintf.c -o noasan/$@; \ | |
1522 | + else true; fi | |
1194 | 1523 | $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION) |
1195 | 1524 | |
1196 | 1525 | ./vfork.$(objext): $(srcdir)/vfork.c $(INCDIR)/ansidecl.h |
1197 | 1526 | if [ x"$(PICFLAG)" != x ]; then \ |
1198 | 1527 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \ |
1199 | 1528 | else true; fi |
1529 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1530 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfork.c -o noasan/$@; \ | |
1531 | + else true; fi | |
1200 | 1532 | $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION) |
1201 | 1533 | |
1202 | 1534 | ./vfprintf.$(objext): $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h |
1203 | 1535 | if [ x"$(PICFLAG)" != x ]; then \ |
1204 | 1536 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \ |
1205 | 1537 | else true; fi |
1538 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1539 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfprintf.c -o noasan/$@; \ | |
1540 | + else true; fi | |
1206 | 1541 | $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION) |
1207 | 1542 | |
1208 | 1543 | ./vprintf.$(objext): $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h |
1209 | 1544 | if [ x"$(PICFLAG)" != x ]; then \ |
1210 | 1545 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \ |
1211 | 1546 | else true; fi |
1547 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1548 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf.c -o noasan/$@; \ | |
1549 | + else true; fi | |
1212 | 1550 | $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION) |
1213 | 1551 | |
1214 | 1552 | ./vsnprintf.$(objext): $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \ |
@@ -1216,18 +1554,27 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1216 | 1554 | if [ x"$(PICFLAG)" != x ]; then \ |
1217 | 1555 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \ |
1218 | 1556 | else true; fi |
1557 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1558 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsnprintf.c -o noasan/$@; \ | |
1559 | + else true; fi | |
1219 | 1560 | $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION) |
1220 | 1561 | |
1221 | 1562 | ./vsprintf.$(objext): $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h |
1222 | 1563 | if [ x"$(PICFLAG)" != x ]; then \ |
1223 | 1564 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \ |
1224 | 1565 | else true; fi |
1566 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1567 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsprintf.c -o noasan/$@; \ | |
1568 | + else true; fi | |
1225 | 1569 | $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION) |
1226 | 1570 | |
1227 | 1571 | ./waitpid.$(objext): $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h |
1228 | 1572 | if [ x"$(PICFLAG)" != x ]; then \ |
1229 | 1573 | $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \ |
1230 | 1574 | else true; fi |
1575 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1576 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/waitpid.c -o noasan/$@; \ | |
1577 | + else true; fi | |
1231 | 1578 | $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION) |
1232 | 1579 | |
1233 | 1580 | ./xatexit.$(objext): $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \ |
@@ -1235,6 +1582,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1235 | 1582 | if [ x"$(PICFLAG)" != x ]; then \ |
1236 | 1583 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \ |
1237 | 1584 | else true; fi |
1585 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1586 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xatexit.c -o noasan/$@; \ | |
1587 | + else true; fi | |
1238 | 1588 | $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION) |
1239 | 1589 | |
1240 | 1590 | ./xexit.$(objext): $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h \ |
@@ -1242,6 +1592,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1242 | 1592 | if [ x"$(PICFLAG)" != x ]; then \ |
1243 | 1593 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \ |
1244 | 1594 | else true; fi |
1595 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1596 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xexit.c -o noasan/$@; \ | |
1597 | + else true; fi | |
1245 | 1598 | $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION) |
1246 | 1599 | |
1247 | 1600 | ./xmalloc.$(objext): $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \ |
@@ -1249,6 +1602,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1249 | 1602 | if [ x"$(PICFLAG)" != x ]; then \ |
1250 | 1603 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \ |
1251 | 1604 | else true; fi |
1605 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1606 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmalloc.c -o noasan/$@; \ | |
1607 | + else true; fi | |
1252 | 1608 | $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION) |
1253 | 1609 | |
1254 | 1610 | ./xmemdup.$(objext): $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \ |
@@ -1256,6 +1612,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1256 | 1612 | if [ x"$(PICFLAG)" != x ]; then \ |
1257 | 1613 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \ |
1258 | 1614 | else true; fi |
1615 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1616 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmemdup.c -o noasan/$@; \ | |
1617 | + else true; fi | |
1259 | 1618 | $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION) |
1260 | 1619 | |
1261 | 1620 | ./xstrdup.$(objext): $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \ |
@@ -1263,6 +1622,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1263 | 1622 | if [ x"$(PICFLAG)" != x ]; then \ |
1264 | 1623 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \ |
1265 | 1624 | else true; fi |
1625 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1626 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrdup.c -o noasan/$@; \ | |
1627 | + else true; fi | |
1266 | 1628 | $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION) |
1267 | 1629 | |
1268 | 1630 | ./xstrerror.$(objext): $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \ |
@@ -1270,6 +1632,9 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1270 | 1632 | if [ x"$(PICFLAG)" != x ]; then \ |
1271 | 1633 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \ |
1272 | 1634 | else true; fi |
1635 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1636 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrerror.c -o noasan/$@; \ | |
1637 | + else true; fi | |
1273 | 1638 | $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION) |
1274 | 1639 | |
1275 | 1640 | ./xstrndup.$(objext): $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \ |
@@ -1277,5 +1642,8 @@ $(CONFIGURED_OFILES): stamp-picdir | ||
1277 | 1642 | if [ x"$(PICFLAG)" != x ]; then \ |
1278 | 1643 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \ |
1279 | 1644 | else true; fi |
1645 | + if [ x"$(NOASANFLAG)" != x ]; then \ | |
1646 | + $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrndup.c -o noasan/$@; \ | |
1647 | + else true; fi | |
1280 | 1648 | $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION) |
1281 | 1649 |
@@ -594,6 +594,7 @@ pexecute | ||
594 | 594 | target_header_dir |
595 | 595 | CHECK |
596 | 596 | LIBOBJS |
597 | +NOASANFLAG | |
597 | 598 | PICFLAG |
598 | 599 | INSTALL_DATA |
599 | 600 | INSTALL_SCRIPT |
@@ -4971,6 +4972,12 @@ if [ "${shared}" != "yes" ]; then | ||
4971 | 4972 | fi |
4972 | 4973 | |
4973 | 4974 | |
4975 | +NOASANFLAG= | |
4976 | +case " ${CFLAGS} " in | |
4977 | + *\ -fsanitize=address\ *) NOASANFLAG=-fno-sanitize=address ;; | |
4978 | +esac | |
4979 | + | |
4980 | + | |
4974 | 4981 | echo "# Warning: this fragment is automatically generated" > temp-frag |
4975 | 4982 | |
4976 | 4983 | if [ -n "${frag}" ] && [ -f "${frag}" ]; then |
@@ -236,6 +236,12 @@ if [[ "${shared}" != "yes" ]]; then | ||
236 | 236 | fi |
237 | 237 | AC_SUBST(PICFLAG) |
238 | 238 | |
239 | +NOASANFLAG= | |
240 | +case " ${CFLAGS} " in | |
241 | + *\ -fsanitize=address\ *) NOASANFLAG=-fno-sanitize=address ;; | |
242 | +esac | |
243 | +AC_SUBST(NOASANFLAG) | |
244 | + | |
239 | 245 | echo "# Warning: this fragment is automatically generated" > temp-frag |
240 | 246 | |
241 | 247 | if [[ -n "${frag}" ]] && [[ -f "${frag}" ]]; then |
@@ -1,7 +1,7 @@ | ||
1 | 1 | #!/usr/bin/perl |
2 | 2 | # -*- perl -*- |
3 | 3 | |
4 | -# Copyright (C) 2001, 2007, 2010 | |
4 | +# Copyright (C) 2001, 2007, 2010, 2014 | |
5 | 5 | # Free Software Foundation |
6 | 6 | # |
7 | 7 | # This file is part of the libiberty library. |
@@ -215,6 +215,9 @@ sub deps { | ||
215 | 215 | $crule = "\tif [ x\"\$(PICFLAG)\" != x ]; then \\\n"; |
216 | 216 | $crule .= "\t \$(COMPILE.c) \$(PICFLAG) \$< -o pic/\$@; \\\n"; |
217 | 217 | $crule .= "\telse true; fi\n"; |
218 | + $crule .= "\tif [ x\"\$(NOASANFLAG)\" != x ]; then \\\n"; | |
219 | + $crule .= "\t \$(COMPILE.c) \$(PICFLAG) \$(NOASANFLAG) \$< -o noasan/\$@; \\\n"; | |
220 | + $crule .= "\telse true; fi\n"; | |
218 | 221 | $crule .= "\t\$(COMPILE.c) \$< \$(OUTPUT_OPTION)\n"; |
219 | 222 | $crule .= "\n"; |
220 | 223 |