1 # Makefile for the libiberty library.
2 # Originally written by K. Richard Pixley <rich@cygnus.com>.
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,
6 # 2012, 2014 Free Software Foundation
8 # This file is part of the libiberty library.
9 # Libiberty is free software; you can redistribute it and/or
10 # modify it under the terms of the GNU Library General Public
11 # License as published by the Free Software Foundation; either
12 # version 2 of the License, or (at your option) any later version.
14 # Libiberty is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 # Library General Public License for more details.
19 # You should have received a copy of the GNU Library General Public
20 # License along with libiberty; see the file COPYING.LIB. If not,
21 # write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
22 # Boston, MA 02110-1301, USA.
24 libiberty_topdir = @libiberty_topdir@
29 exec_prefix = @exec_prefix@
32 includedir = @includedir@
33 target_header_dir = @target_header_dir@
38 # Multilib support variables.
47 INSTALL_PROGRAM = @INSTALL_PROGRAM@
48 INSTALL_DATA = @INSTALL_DATA@
49 mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs
51 # Some compilers can't handle cc -c blah.c -o foo/blah.o.
52 OUTPUT_OPTION = @OUTPUT_OPTION@
65 NOASANFLAG = @NOASANFLAG@
69 TARGETLIB = ./libiberty.a
74 # A configuration can specify extra .o files that should be included,
75 # even if they are in libc. (Perhaps the libc version is buggy.)
78 # Flags to pass to a recursive make.
81 "AR_FLAGS=$(AR_FLAGS)" \
84 "CPPFLAGS=$(CPPFLAGS)" \
85 "DESTDIR=$(DESTDIR)" \
86 "EXTRA_OFILES=$(EXTRA_OFILES)" \
87 "HDEFINES=$(HDEFINES)" \
88 "INSTALL=$(INSTALL)" \
89 "INSTALL_DATA=$(INSTALL_DATA)" \
90 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
91 "LDFLAGS=$(LDFLAGS)" \
92 "LOADLIBES=$(LOADLIBES)" \
96 "exec_prefix=$(exec_prefix)" \
98 "libsubdir=$(libsubdir)" \
101 # Subdirectories to recurse into. We need to override this during cleaning
104 # FIXME: add @BUILD_INFO@ once we're sure it works for everyone.
105 all: stamp-picdir stamp-noasandir $(TARGETLIB) required-list all-subdir
106 @: $(MAKE) ; $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
108 .PHONY: check installcheck
110 installcheck: installcheck-subdir
114 INCDIR=$(srcdir)/$(MULTISRCTOP)../include
116 COMPILE.c = $(CC) -c @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@
118 # Just to make sure we don't use a built-in rule with VPATH
122 # NOTE: If you add new files to the library, add them to this list
123 # (alphabetical), and add them to REQUIRED_OFILES, or
124 # CONFIGURED_OFILES and funcs in configure.ac. Also run "make maint-deps"
125 # to build the new rules.
126 CFILES = alloca.c argv.c asprintf.c atexit.c \
127 basename.c bcmp.c bcopy.c bsearch.c bzero.c \
128 calloc.c choose-temp.c clock.c concat.c cp-demangle.c \
129 cp-demint.c cplus-dem.c crc32.c \
130 dwarfnames.c dyn-string.c \
131 fdmatch.c ffs.c fibheap.c filename_cmp.c floatformat.c \
132 fnmatch.c fopen_unlocked.c \
133 getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c \
139 make-relative-prefix.c \
140 make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmem.c \
141 memmove.c mempcpy.c memset.c mkstemps.c \
142 objalloc.c obstack.c \
143 partition.c pexecute.c \
144 pex-common.c pex-djgpp.c pex-msdos.c pex-one.c \
145 pex-unix.c pex-win32.c \
147 random.c regex.c rename.c rindex.c \
148 safe-ctype.c setenv.c setproctitle.c sha1.c sigsetmask.c \
149 simple-object.c simple-object-coff.c simple-object-elf.c \
150 simple-object-mach-o.c simple-object-xcoff.c \
152 spaces.c splay-tree.c stack-limit.c stpcpy.c stpncpy.c \
153 strcasecmp.c strchr.c strdup.c strerror.c strncasecmp.c \
154 strncmp.c strrchr.c strsignal.c strstr.c strtod.c strtol.c \
155 strtoul.c strndup.c strnlen.c strverscmp.c \
156 timeval-utils.c tmpnam.c \
157 unlink-if-ordinary.c \
158 vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c \
160 xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c \
163 # These are always included in the library. The first four are listed
164 # first and by compile time to optimize parallel builds.
166 ./regex.$(objext) ./cplus-dem.$(objext) ./cp-demangle.$(objext) \
167 ./md5.$(objext) ./sha1.$(objext) ./alloca.$(objext) \
169 ./choose-temp.$(objext) ./concat.$(objext) \
170 ./cp-demint.$(objext) ./crc32.$(objext) \
171 ./dwarfnames.$(objext) ./dyn-string.$(objext) \
172 ./fdmatch.$(objext) ./fibheap.$(objext) \
173 ./filename_cmp.$(objext) ./floatformat.$(objext) \
174 ./fnmatch.$(objext) ./fopen_unlocked.$(objext) \
175 ./getopt.$(objext) ./getopt1.$(objext) ./getpwd.$(objext) \
176 ./getruntime.$(objext) ./hashtab.$(objext) ./hex.$(objext) \
177 ./lbasename.$(objext) ./lrealpath.$(objext) \
178 ./make-relative-prefix.$(objext) ./make-temp-file.$(objext) \
179 ./objalloc.$(objext) \
180 ./obstack.$(objext) \
181 ./partition.$(objext) ./pexecute.$(objext) ./physmem.$(objext) \
182 ./pex-common.$(objext) ./pex-one.$(objext) \
183 ./@pexecute@.$(objext) \
184 ./safe-ctype.$(objext) \
185 ./simple-object.$(objext) ./simple-object-coff.$(objext) \
186 ./simple-object-elf.$(objext) ./simple-object-mach-o.$(objext) \
187 ./simple-object-xcoff.$(objext) \
188 ./sort.$(objext) ./spaces.$(objext) \
189 ./splay-tree.$(objext) ./stack-limit.$(objext) \
190 ./strerror.$(objext) ./strsignal.$(objext) \
191 ./timeval-utils.$(objext) ./unlink-if-ordinary.$(objext) \
192 ./xatexit.$(objext) ./xexit.$(objext) ./xmalloc.$(objext) \
193 ./xmemdup.$(objext) ./xstrdup.$(objext) ./xstrerror.$(objext) \
196 # These are all the objects that configure may add to the library via
197 # $funcs or EXTRA_OFILES. This list exists here only for "make
198 # maint-missing" and "make check".
199 CONFIGURED_OFILES = ./asprintf.$(objext) ./atexit.$(objext) \
200 ./basename.$(objext) ./bcmp.$(objext) ./bcopy.$(objext) \
201 ./bsearch.$(objext) ./bzero.$(objext) \
202 ./calloc.$(objext) ./clock.$(objext) ./copysign.$(objext) \
203 ./_doprnt.$(objext) \
205 ./getcwd.$(objext) ./getpagesize.$(objext) \
206 ./gettimeofday.$(objext) \
207 ./index.$(objext) ./insque.$(objext) \
208 ./memchr.$(objext) ./memcmp.$(objext) ./memcpy.$(objext) \
209 ./memmem.$(objext) ./memmove.$(objext) \
210 ./mempcpy.$(objext) ./memset.$(objext) ./mkstemps.$(objext) \
211 ./pex-djgpp.$(objext) ./pex-msdos.$(objext) \
212 ./pex-unix.$(objext) ./pex-win32.$(objext) \
214 ./random.$(objext) ./rename.$(objext) ./rindex.$(objext) \
216 ./setproctitle.$(objext) \
217 ./sigsetmask.$(objext) ./snprintf.$(objext) \
218 ./stpcpy.$(objext) ./stpncpy.$(objext) ./strcasecmp.$(objext) \
219 ./strchr.$(objext) ./strdup.$(objext) ./strncasecmp.$(objext) \
220 ./strncmp.$(objext) ./strndup.$(objext) ./strnlen.$(objext) \
221 ./strrchr.$(objext) ./strstr.$(objext) ./strtod.$(objext) \
222 ./strtol.$(objext) ./strtoul.$(objext) ./strverscmp.$(objext) \
224 ./vasprintf.$(objext) ./vfork.$(objext) ./vfprintf.$(objext) \
225 ./vprintf.$(objext) ./vsnprintf.$(objext) ./vsprintf.$(objext) \
228 # These files are installed if the library has been configured to do so.
229 INSTALLED_HEADERS = \
230 $(INCDIR)/ansidecl.h \
231 $(INCDIR)/demangle.h \
232 $(INCDIR)/dyn-string.h \
233 $(INCDIR)/fibheap.h \
234 $(INCDIR)/floatformat.h \
235 $(INCDIR)/hashtab.h \
236 $(INCDIR)/libiberty.h \
237 $(INCDIR)/objalloc.h \
238 $(INCDIR)/partition.h \
239 $(INCDIR)/safe-ctype.h \
241 $(INCDIR)/splay-tree.h \
242 $(INCDIR)/timeval-utils.h
244 $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
245 -rm -f $(TARGETLIB) pic/$(TARGETLIB) noasan/$(TARGETLIB)
246 $(AR) $(AR_FLAGS) $(TARGETLIB) \
247 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
248 $(RANLIB) $(TARGETLIB)
249 if [ x"$(PICFLAG)" != x ]; then \
251 $(AR) $(AR_FLAGS) $(TARGETLIB) \
252 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
253 $(RANLIB) $(TARGETLIB); \
256 if [ x"$(NOASANFLAG)" != x ]; then \
258 $(AR) $(AR_FLAGS) $(TARGETLIB) \
259 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
260 $(RANLIB) $(TARGETLIB); \
264 $(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
266 $(AR) $(AR_FLAGS) $(TESTLIB) \
267 $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
270 info: libiberty.info info-subdir
271 install-info: install-info-subdir
272 clean-info: clean-info-subdir
273 dvi: libiberty.dvi dvi-subdir
275 LIBIBERTY_PDFFILES = libiberty.pdf
277 pdf: $(LIBIBERTY_PDFFILES) pdf-subdir
281 pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
283 install-pdf: $(LIBIBERTY_PDFFILES)
285 test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)"
286 @list='$(LIBIBERTY_PDFFILES)'; for p in $$list; do \
287 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
288 f=$(pdf__strip_dir) \
289 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
290 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
293 # html, install-html targets
294 HTMLS = libiberty.html
298 .PHONY: install-html install-html-am
301 mkdir_p = mkdir -p --
303 html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
305 install-html: install-html-am
307 install-html-am: $(HTMLS)
309 test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
310 @list='$(HTMLS)'; for p in $$list; do \
311 if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
312 f=$(html__strip_dir) \
313 if test -d "$$d$$p"; then \
314 echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \
315 $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
316 echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
317 $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
319 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
320 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
325 $(srcdir)/libiberty.texi \
326 $(srcdir)/copying-lib.texi \
327 $(srcdir)/obstacks.texi \
328 $(srcdir)/functions.texi
330 # Additional files that have texi snippets that need to be collected
331 # and sorted. Some are here because the sources are imported from
332 # elsewhere. Others represent headers in ../include.
333 TEXIFILES = fnmatch.txh pexecute.txh simple-object.txh
335 libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC)
336 $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi
338 libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC)
339 texi2dvi $(srcdir)/libiberty.texi
341 libiberty.pdf : $(srcdir)/libiberty.texi $(TEXISRC)
342 texi2pdf $(srcdir)/libiberty.texi
344 libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
345 $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $<
347 @MAINT@$(srcdir)/functions.texi : stamp-functions
350 @MAINT@stamp-functions : $(CFILES:%=$(srcdir)/%) $(TEXIFILES:%=$(srcdir)/%) $(srcdir)/gather-docs Makefile
351 @MAINT@@HAVE_PERL@ $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES)
352 @MAINT@ echo stamp > stamp-functions
354 INSTALL_DEST = @INSTALL_DEST@
355 install: install_to_$(INSTALL_DEST) install-subdir
356 install-strip: install
358 .PHONY: install install-strip
360 # This is tricky. Even though CC in the Makefile contains
361 # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
362 # default multilib, so we have to take CFLAGS into account as well,
363 # since it will be passed the multilib flags.
364 MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
365 install_to_libdir: all
366 if test -n "${target_header_dir}"; then \
367 ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR); \
368 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n; \
369 ( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n ); \
370 mv -f $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB); \
371 case "${target_header_dir}" in \
372 /*) thd=${target_header_dir};; \
373 *) thd=${includedir}/${target_header_dir};; \
375 ${mkinstalldirs} $(DESTDIR)$${thd}; \
376 for h in ${INSTALLED_HEADERS}; do \
377 ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \
380 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
382 install_to_tooldir: all
383 ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)
384 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n
385 ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n )
386 mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
387 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
389 # required-list was used when building a shared bfd/opcodes/libiberty
390 # library. I don't know if it used by anything currently.
391 required-list: Makefile
392 echo $(REQUIRED_OFILES) > required-list
395 if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
401 if [ x"$(NOASANFLAG)" != x ] && [ ! -d noasan ]; then \
404 touch stamp-noasandir
406 .PHONY: all etags tags ls clean stage1 stage2
408 etags tags: TAGS etags-subdir
411 etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done`
413 # The standalone demangler (c++filt) has been moved to binutils.
414 # But make this target work anyway for demangler hacking.
415 demangle: $(ALL) $(srcdir)/cp-demangle.c
416 @echo "The standalone demangler, now named c++filt, is now"
417 @echo "a part of binutils."
418 $(CC) @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) \
419 $(srcdir)/cp-demangle.c -DSTANDALONE_DEMANGLER $(TARGETLIB) -o $@
422 @echo Makefile $(CFILES)
424 # Various targets for maintainers.
427 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
429 maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
432 maint-undoc : $(srcdir)/functions.texi
433 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
436 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
438 # Need to deal with profiled libraries, too.
440 # Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS
441 # multiple times, hence our explicit recursion with an empty SUBDIRS.
442 mostlyclean: mostlyclean-subdir
443 -rm -rf *.$(objext) pic noasan core errs \#* *.E a.out
444 -rm -f errors dummy config.h stamp-*
445 -rm -f $(CONFIG_H) stamp-picdir stamp-noasandir
446 -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
447 -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
448 -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr
450 @$(MULTICLEAN) multi-clean DO=mostlyclean
452 $(MAKE) SUBDIRS="" mostlyclean
453 -rm -f *.a required-list tmpmulti.out
454 -rm -f libiberty.dvi libiberty.pdf libiberty.info* libiberty.html
455 @$(MULTICLEAN) multi-clean DO=clean
456 distclean: distclean-subdir
457 $(MAKE) SUBDIRS="" clean
458 @$(MULTICLEAN) multi-clean DO=distclean
459 -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
461 -rmdir testsuite 2>/dev/null
462 maintainer-clean realclean: maintainer-clean-subdir
463 $(MAKE) SUBDIRS="" distclean
467 Makefile: $(srcdir)/Makefile.in config.status
468 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
470 # Depending on Makefile makes sure that config.status has been re-run
471 # if needed. This prevents problems with parallel builds.
472 config.h: stamp-h ; @true
473 stamp-h: $(srcdir)/config.in config.status Makefile
474 CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status
476 config.status: $(srcdir)/configure
477 $(SHELL) ./config.status --recheck
480 configure_deps = $(srcdir)/aclocal.m4 \
481 $(srcdir)/../config/acx.m4 \
482 $(srcdir)/../config/no-executables.m4 \
483 $(srcdir)/../config/override.m4 \
484 $(srcdir)/../config/warnings.m4 \
486 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(configure_deps)
487 cd $(srcdir) && $(AUTOCONF)
489 # Depending on config.h makes sure that config.status has been re-run
490 # if needed. This prevents problems with parallel builds, in case
491 # subdirectories need to run config.status also.
492 all-subdir check-subdir installcheck-subdir info-subdir \
493 install-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir \
494 etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
495 maintainer-clean-subdir: config.h
496 @subdirs='$(SUBDIRS)'; \
497 target=`echo $@ | sed -e 's/-subdir//'`; \
498 for dir in $$subdirs ; do \
499 cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
502 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir stamp-noasandir
503 $(CONFIGURED_OFILES): stamp-picdir stamp-noasandir
505 # Don't export variables to the environment, in order to not confuse
509 # The dependencies in the remainder of this file are automatically
510 # generated by "make maint-deps". Manual edits will be lost.
512 ./_doprnt.$(objext): $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \
513 $(INCDIR)/safe-ctype.h
514 if [ x"$(PICFLAG)" != x ]; then \
515 $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \
517 if [ x"$(NOASANFLAG)" != x ]; then \
518 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/_doprnt.c -o noasan/$@; \
520 $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION)
522 ./alloca.$(objext): $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
523 $(INCDIR)/libiberty.h
524 if [ x"$(PICFLAG)" != x ]; then \
525 $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \
527 if [ x"$(NOASANFLAG)" != x ]; then \
528 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/alloca.c -o noasan/$@; \
530 $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION)
532 ./argv.$(objext): $(srcdir)/argv.c config.h $(INCDIR)/ansidecl.h \
533 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
534 if [ x"$(PICFLAG)" != x ]; then \
535 $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \
537 if [ x"$(NOASANFLAG)" != x ]; then \
538 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/argv.c -o noasan/$@; \
540 $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION)
542 ./asprintf.$(objext): $(srcdir)/asprintf.c config.h $(INCDIR)/ansidecl.h \
543 $(INCDIR)/libiberty.h
544 if [ x"$(PICFLAG)" != x ]; then \
545 $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \
547 if [ x"$(NOASANFLAG)" != x ]; then \
548 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/asprintf.c -o noasan/$@; \
550 $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION)
552 ./atexit.$(objext): $(srcdir)/atexit.c config.h
553 if [ x"$(PICFLAG)" != x ]; then \
554 $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \
556 if [ x"$(NOASANFLAG)" != x ]; then \
557 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/atexit.c -o noasan/$@; \
559 $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION)
561 ./basename.$(objext): $(srcdir)/basename.c config.h $(INCDIR)/ansidecl.h \
562 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
563 if [ x"$(PICFLAG)" != x ]; then \
564 $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \
566 if [ x"$(NOASANFLAG)" != x ]; then \
567 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/basename.c -o noasan/$@; \
569 $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION)
571 ./bcmp.$(objext): $(srcdir)/bcmp.c
572 if [ x"$(PICFLAG)" != x ]; then \
573 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \
575 if [ x"$(NOASANFLAG)" != x ]; then \
576 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcmp.c -o noasan/$@; \
578 $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION)
580 ./bcopy.$(objext): $(srcdir)/bcopy.c
581 if [ x"$(PICFLAG)" != x ]; then \
582 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \
584 if [ x"$(NOASANFLAG)" != x ]; then \
585 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcopy.c -o noasan/$@; \
587 $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION)
589 ./bsearch.$(objext): $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h
590 if [ x"$(PICFLAG)" != x ]; then \
591 $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \
593 if [ x"$(NOASANFLAG)" != x ]; then \
594 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bsearch.c -o noasan/$@; \
596 $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION)
598 ./bzero.$(objext): $(srcdir)/bzero.c
599 if [ x"$(PICFLAG)" != x ]; then \
600 $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \
602 if [ x"$(NOASANFLAG)" != x ]; then \
603 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bzero.c -o noasan/$@; \
605 $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION)
607 ./calloc.$(objext): $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
608 if [ x"$(PICFLAG)" != x ]; then \
609 $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \
611 if [ x"$(NOASANFLAG)" != x ]; then \
612 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/calloc.c -o noasan/$@; \
614 $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION)
616 ./choose-temp.$(objext): $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
617 $(INCDIR)/libiberty.h
618 if [ x"$(PICFLAG)" != x ]; then \
619 $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \
621 if [ x"$(NOASANFLAG)" != x ]; then \
622 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/choose-temp.c -o noasan/$@; \
624 $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION)
626 ./clock.$(objext): $(srcdir)/clock.c config.h
627 if [ x"$(PICFLAG)" != x ]; then \
628 $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \
630 if [ x"$(NOASANFLAG)" != x ]; then \
631 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/clock.c -o noasan/$@; \
633 $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION)
635 ./concat.$(objext): $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
636 $(INCDIR)/libiberty.h
637 if [ x"$(PICFLAG)" != x ]; then \
638 $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \
640 if [ x"$(NOASANFLAG)" != x ]; then \
641 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/concat.c -o noasan/$@; \
643 $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION)
645 ./copysign.$(objext): $(srcdir)/copysign.c $(INCDIR)/ansidecl.h
646 if [ x"$(PICFLAG)" != x ]; then \
647 $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \
649 if [ x"$(NOASANFLAG)" != x ]; then \
650 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/copysign.c -o noasan/$@; \
652 $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION)
654 ./cp-demangle.$(objext): $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
655 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
656 $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
657 if [ x"$(PICFLAG)" != x ]; then \
658 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \
660 if [ x"$(NOASANFLAG)" != x ]; then \
661 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demangle.c -o noasan/$@; \
663 $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION)
665 ./cp-demint.$(objext): $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
666 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
667 $(INCDIR)/libiberty.h
668 if [ x"$(PICFLAG)" != x ]; then \
669 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \
671 if [ x"$(NOASANFLAG)" != x ]; then \
672 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demint.c -o noasan/$@; \
674 $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION)
676 ./cplus-dem.$(objext): $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
677 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
678 $(INCDIR)/safe-ctype.h
679 if [ x"$(PICFLAG)" != x ]; then \
680 $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \
682 if [ x"$(NOASANFLAG)" != x ]; then \
683 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cplus-dem.c -o noasan/$@; \
685 $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION)
687 ./crc32.$(objext): $(srcdir)/crc32.c config.h $(INCDIR)/ansidecl.h \
688 $(INCDIR)/libiberty.h
689 if [ x"$(PICFLAG)" != x ]; then \
690 $(COMPILE.c) $(PICFLAG) $(srcdir)/crc32.c -o pic/$@; \
692 if [ x"$(NOASANFLAG)" != x ]; then \
693 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/crc32.c -o noasan/$@; \
695 $(COMPILE.c) $(srcdir)/crc32.c $(OUTPUT_OPTION)
697 ./dwarfnames.$(objext): $(srcdir)/dwarfnames.c $(INCDIR)/dwarf2.def \
699 if [ x"$(PICFLAG)" != x ]; then \
700 $(COMPILE.c) $(PICFLAG) $(srcdir)/dwarfnames.c -o pic/$@; \
702 if [ x"$(NOASANFLAG)" != x ]; then \
703 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dwarfnames.c -o noasan/$@; \
705 $(COMPILE.c) $(srcdir)/dwarfnames.c $(OUTPUT_OPTION)
707 ./dyn-string.$(objext): $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
708 $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
709 if [ x"$(PICFLAG)" != x ]; then \
710 $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \
712 if [ x"$(NOASANFLAG)" != x ]; then \
713 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dyn-string.c -o noasan/$@; \
715 $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION)
717 ./fdmatch.$(objext): $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \
718 $(INCDIR)/libiberty.h
719 if [ x"$(PICFLAG)" != x ]; then \
720 $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \
722 if [ x"$(NOASANFLAG)" != x ]; then \
723 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fdmatch.c -o noasan/$@; \
725 $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION)
727 ./ffs.$(objext): $(srcdir)/ffs.c
728 if [ x"$(PICFLAG)" != x ]; then \
729 $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \
731 if [ x"$(NOASANFLAG)" != x ]; then \
732 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/ffs.c -o noasan/$@; \
734 $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION)
736 ./fibheap.$(objext): $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
737 $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h
738 if [ x"$(PICFLAG)" != x ]; then \
739 $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \
741 if [ x"$(NOASANFLAG)" != x ]; then \
742 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fibheap.c -o noasan/$@; \
744 $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION)
746 ./filename_cmp.$(objext): $(srcdir)/filename_cmp.c config.h $(INCDIR)/ansidecl.h \
747 $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
748 $(INCDIR)/safe-ctype.h
749 if [ x"$(PICFLAG)" != x ]; then \
750 $(COMPILE.c) $(PICFLAG) $(srcdir)/filename_cmp.c -o pic/$@; \
752 if [ x"$(NOASANFLAG)" != x ]; then \
753 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/filename_cmp.c -o noasan/$@; \
755 $(COMPILE.c) $(srcdir)/filename_cmp.c $(OUTPUT_OPTION)
757 ./floatformat.$(objext): $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
758 $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
759 if [ x"$(PICFLAG)" != x ]; then \
760 $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \
762 if [ x"$(NOASANFLAG)" != x ]; then \
763 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/floatformat.c -o noasan/$@; \
765 $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION)
767 ./fnmatch.$(objext): $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
768 $(INCDIR)/safe-ctype.h
769 if [ x"$(PICFLAG)" != x ]; then \
770 $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \
772 if [ x"$(NOASANFLAG)" != x ]; then \
773 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fnmatch.c -o noasan/$@; \
775 $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION)
777 ./fopen_unlocked.$(objext): $(srcdir)/fopen_unlocked.c config.h \
778 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
779 if [ x"$(PICFLAG)" != x ]; then \
780 $(COMPILE.c) $(PICFLAG) $(srcdir)/fopen_unlocked.c -o pic/$@; \
782 if [ x"$(NOASANFLAG)" != x ]; then \
783 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fopen_unlocked.c -o noasan/$@; \
785 $(COMPILE.c) $(srcdir)/fopen_unlocked.c $(OUTPUT_OPTION)
787 ./getcwd.$(objext): $(srcdir)/getcwd.c config.h
788 if [ x"$(PICFLAG)" != x ]; then \
789 $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \
791 if [ x"$(NOASANFLAG)" != x ]; then \
792 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getcwd.c -o noasan/$@; \
794 $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION)
796 ./getopt.$(objext): $(srcdir)/getopt.c config.h $(INCDIR)/ansidecl.h \
798 if [ x"$(PICFLAG)" != x ]; then \
799 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \
801 if [ x"$(NOASANFLAG)" != x ]; then \
802 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt.c -o noasan/$@; \
804 $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION)
806 ./getopt1.$(objext): $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h
807 if [ x"$(PICFLAG)" != x ]; then \
808 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \
810 if [ x"$(NOASANFLAG)" != x ]; then \
811 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt1.c -o noasan/$@; \
813 $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION)
815 ./getpagesize.$(objext): $(srcdir)/getpagesize.c config.h
816 if [ x"$(PICFLAG)" != x ]; then \
817 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \
819 if [ x"$(NOASANFLAG)" != x ]; then \
820 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpagesize.c -o noasan/$@; \
822 $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION)
824 ./getpwd.$(objext): $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
825 $(INCDIR)/libiberty.h
826 if [ x"$(PICFLAG)" != x ]; then \
827 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \
829 if [ x"$(NOASANFLAG)" != x ]; then \
830 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpwd.c -o noasan/$@; \
832 $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION)
834 ./getruntime.$(objext): $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
835 $(INCDIR)/libiberty.h
836 if [ x"$(PICFLAG)" != x ]; then \
837 $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \
839 if [ x"$(NOASANFLAG)" != x ]; then \
840 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getruntime.c -o noasan/$@; \
842 $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION)
844 ./gettimeofday.$(objext): $(srcdir)/gettimeofday.c config.h $(INCDIR)/ansidecl.h \
845 $(INCDIR)/libiberty.h
846 if [ x"$(PICFLAG)" != x ]; then \
847 $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \
849 if [ x"$(NOASANFLAG)" != x ]; then \
850 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/gettimeofday.c -o noasan/$@; \
852 $(COMPILE.c) $(srcdir)/gettimeofday.c $(OUTPUT_OPTION)
854 ./hashtab.$(objext): $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
855 $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
856 if [ x"$(PICFLAG)" != x ]; then \
857 $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \
859 if [ x"$(NOASANFLAG)" != x ]; then \
860 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hashtab.c -o noasan/$@; \
862 $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION)
864 ./hex.$(objext): $(srcdir)/hex.c config.h $(INCDIR)/ansidecl.h \
865 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
866 if [ x"$(PICFLAG)" != x ]; then \
867 $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \
869 if [ x"$(NOASANFLAG)" != x ]; then \
870 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hex.c -o noasan/$@; \
872 $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION)
874 ./index.$(objext): $(srcdir)/index.c
875 if [ x"$(PICFLAG)" != x ]; then \
876 $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \
878 if [ x"$(NOASANFLAG)" != x ]; then \
879 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/index.c -o noasan/$@; \
881 $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION)
883 ./insque.$(objext): $(srcdir)/insque.c
884 if [ x"$(PICFLAG)" != x ]; then \
885 $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \
887 if [ x"$(NOASANFLAG)" != x ]; then \
888 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/insque.c -o noasan/$@; \
890 $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION)
892 ./lbasename.$(objext): $(srcdir)/lbasename.c config.h $(INCDIR)/ansidecl.h \
893 $(INCDIR)/filenames.h $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h \
894 $(INCDIR)/safe-ctype.h
895 if [ x"$(PICFLAG)" != x ]; then \
896 $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \
898 if [ x"$(NOASANFLAG)" != x ]; then \
899 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lbasename.c -o noasan/$@; \
901 $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION)
903 ./lrealpath.$(objext): $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
904 $(INCDIR)/libiberty.h
905 if [ x"$(PICFLAG)" != x ]; then \
906 $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \
908 if [ x"$(NOASANFLAG)" != x ]; then \
909 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lrealpath.c -o noasan/$@; \
911 $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION)
913 ./make-relative-prefix.$(objext): $(srcdir)/make-relative-prefix.c config.h \
914 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
915 if [ x"$(PICFLAG)" != x ]; then \
916 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \
918 if [ x"$(NOASANFLAG)" != x ]; then \
919 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-relative-prefix.c -o noasan/$@; \
921 $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION)
923 ./make-temp-file.$(objext): $(srcdir)/make-temp-file.c config.h \
924 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
925 if [ x"$(PICFLAG)" != x ]; then \
926 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \
928 if [ x"$(NOASANFLAG)" != x ]; then \
929 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-temp-file.c -o noasan/$@; \
931 $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION)
933 ./md5.$(objext): $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
934 if [ x"$(PICFLAG)" != x ]; then \
935 $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \
937 if [ x"$(NOASANFLAG)" != x ]; then \
938 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/md5.c -o noasan/$@; \
940 $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION)
942 ./memchr.$(objext): $(srcdir)/memchr.c $(INCDIR)/ansidecl.h
943 if [ x"$(PICFLAG)" != x ]; then \
944 $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \
946 if [ x"$(NOASANFLAG)" != x ]; then \
947 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memchr.c -o noasan/$@; \
949 $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION)
951 ./memcmp.$(objext): $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h
952 if [ x"$(PICFLAG)" != x ]; then \
953 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \
955 if [ x"$(NOASANFLAG)" != x ]; then \
956 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcmp.c -o noasan/$@; \
958 $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION)
960 ./memcpy.$(objext): $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h
961 if [ x"$(PICFLAG)" != x ]; then \
962 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \
964 if [ x"$(NOASANFLAG)" != x ]; then \
965 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcpy.c -o noasan/$@; \
967 $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION)
969 ./memmem.$(objext): $(srcdir)/memmem.c config.h
970 if [ x"$(PICFLAG)" != x ]; then \
971 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmem.c -o pic/$@; \
973 if [ x"$(NOASANFLAG)" != x ]; then \
974 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmem.c -o noasan/$@; \
976 $(COMPILE.c) $(srcdir)/memmem.c $(OUTPUT_OPTION)
978 ./memmove.$(objext): $(srcdir)/memmove.c $(INCDIR)/ansidecl.h
979 if [ x"$(PICFLAG)" != x ]; then \
980 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \
982 if [ x"$(NOASANFLAG)" != x ]; then \
983 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmove.c -o noasan/$@; \
985 $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION)
987 ./mempcpy.$(objext): $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h
988 if [ x"$(PICFLAG)" != x ]; then \
989 $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \
991 if [ x"$(NOASANFLAG)" != x ]; then \
992 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mempcpy.c -o noasan/$@; \
994 $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION)
996 ./memset.$(objext): $(srcdir)/memset.c $(INCDIR)/ansidecl.h
997 if [ x"$(PICFLAG)" != x ]; then \
998 $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \
1000 if [ x"$(NOASANFLAG)" != x ]; then \
1001 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memset.c -o noasan/$@; \
1003 $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION)
1005 ./mkstemps.$(objext): $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h
1006 if [ x"$(PICFLAG)" != x ]; then \
1007 $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \
1009 if [ x"$(NOASANFLAG)" != x ]; then \
1010 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mkstemps.c -o noasan/$@; \
1012 $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION)
1014 ./msdos.$(objext): $(srcdir)/msdos.c
1015 if [ x"$(PICFLAG)" != x ]; then \
1016 $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \
1018 if [ x"$(NOASANFLAG)" != x ]; then \
1019 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/msdos.c -o noasan/$@; \
1021 $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION)
1023 ./objalloc.$(objext): $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \
1024 $(INCDIR)/objalloc.h
1025 if [ x"$(PICFLAG)" != x ]; then \
1026 $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \
1028 if [ x"$(NOASANFLAG)" != x ]; then \
1029 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/objalloc.c -o noasan/$@; \
1031 $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION)
1033 ./obstack.$(objext): $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h
1034 if [ x"$(PICFLAG)" != x ]; then \
1035 $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \
1037 if [ x"$(NOASANFLAG)" != x ]; then \
1038 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/obstack.c -o noasan/$@; \
1040 $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION)
1042 ./partition.$(objext): $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \
1043 $(INCDIR)/libiberty.h $(INCDIR)/partition.h
1044 if [ x"$(PICFLAG)" != x ]; then \
1045 $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \
1047 if [ x"$(NOASANFLAG)" != x ]; then \
1048 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/partition.c -o noasan/$@; \
1050 $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION)
1052 ./pex-common.$(objext): $(srcdir)/pex-common.c config.h $(INCDIR)/ansidecl.h \
1053 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1054 if [ x"$(PICFLAG)" != x ]; then \
1055 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-common.c -o pic/$@; \
1057 if [ x"$(NOASANFLAG)" != x ]; then \
1058 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-common.c -o noasan/$@; \
1060 $(COMPILE.c) $(srcdir)/pex-common.c $(OUTPUT_OPTION)
1062 ./pex-djgpp.$(objext): $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \
1063 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1064 if [ x"$(PICFLAG)" != x ]; then \
1065 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \
1067 if [ x"$(NOASANFLAG)" != x ]; then \
1068 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-djgpp.c -o noasan/$@; \
1070 $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION)
1072 ./pex-msdos.$(objext): $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \
1073 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \
1074 $(INCDIR)/safe-ctype.h
1075 if [ x"$(PICFLAG)" != x ]; then \
1076 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \
1078 if [ x"$(NOASANFLAG)" != x ]; then \
1079 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-msdos.c -o noasan/$@; \
1081 $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION)
1083 ./pex-one.$(objext): $(srcdir)/pex-one.c config.h $(INCDIR)/ansidecl.h \
1084 $(INCDIR)/libiberty.h
1085 if [ x"$(PICFLAG)" != x ]; then \
1086 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-one.c -o pic/$@; \
1088 if [ x"$(NOASANFLAG)" != x ]; then \
1089 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-one.c -o noasan/$@; \
1091 $(COMPILE.c) $(srcdir)/pex-one.c $(OUTPUT_OPTION)
1093 ./pex-unix.$(objext): $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \
1094 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1095 if [ x"$(PICFLAG)" != x ]; then \
1096 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \
1098 if [ x"$(NOASANFLAG)" != x ]; then \
1099 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-unix.c -o noasan/$@; \
1101 $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION)
1103 ./pex-win32.$(objext): $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \
1104 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1105 if [ x"$(PICFLAG)" != x ]; then \
1106 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \
1108 if [ x"$(NOASANFLAG)" != x ]; then \
1109 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-win32.c -o noasan/$@; \
1111 $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION)
1113 ./pexecute.$(objext): $(srcdir)/pexecute.c config.h $(INCDIR)/ansidecl.h \
1114 $(INCDIR)/libiberty.h
1115 if [ x"$(PICFLAG)" != x ]; then \
1116 $(COMPILE.c) $(PICFLAG) $(srcdir)/pexecute.c -o pic/$@; \
1118 if [ x"$(NOASANFLAG)" != x ]; then \
1119 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pexecute.c -o noasan/$@; \
1121 $(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION)
1123 ./physmem.$(objext): $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
1124 $(INCDIR)/libiberty.h
1125 if [ x"$(PICFLAG)" != x ]; then \
1126 $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \
1128 if [ x"$(NOASANFLAG)" != x ]; then \
1129 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/physmem.c -o noasan/$@; \
1131 $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION)
1133 ./putenv.$(objext): $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h
1134 if [ x"$(PICFLAG)" != x ]; then \
1135 $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \
1137 if [ x"$(NOASANFLAG)" != x ]; then \
1138 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/putenv.c -o noasan/$@; \
1140 $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION)
1142 ./random.$(objext): $(srcdir)/random.c $(INCDIR)/ansidecl.h
1143 if [ x"$(PICFLAG)" != x ]; then \
1144 $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \
1146 if [ x"$(NOASANFLAG)" != x ]; then \
1147 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/random.c -o noasan/$@; \
1149 $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION)
1151 ./regex.$(objext): $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h \
1152 $(INCDIR)/xregex.h $(INCDIR)/xregex2.h
1153 if [ x"$(PICFLAG)" != x ]; then \
1154 $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \
1156 if [ x"$(NOASANFLAG)" != x ]; then \
1157 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/regex.c -o noasan/$@; \
1159 $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION)
1161 ./rename.$(objext): $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h
1162 if [ x"$(PICFLAG)" != x ]; then \
1163 $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \
1165 if [ x"$(NOASANFLAG)" != x ]; then \
1166 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rename.c -o noasan/$@; \
1168 $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION)
1170 ./rindex.$(objext): $(srcdir)/rindex.c
1171 if [ x"$(PICFLAG)" != x ]; then \
1172 $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \
1174 if [ x"$(NOASANFLAG)" != x ]; then \
1175 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rindex.c -o noasan/$@; \
1177 $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION)
1179 ./safe-ctype.$(objext): $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
1180 $(INCDIR)/safe-ctype.h
1181 if [ x"$(PICFLAG)" != x ]; then \
1182 $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \
1184 if [ x"$(NOASANFLAG)" != x ]; then \
1185 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/safe-ctype.c -o noasan/$@; \
1187 $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION)
1189 ./setenv.$(objext): $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h
1190 if [ x"$(PICFLAG)" != x ]; then \
1191 $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \
1193 if [ x"$(NOASANFLAG)" != x ]; then \
1194 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setenv.c -o noasan/$@; \
1196 $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION)
1198 ./setproctitle.$(objext): $(srcdir)/setproctitle.c config.h $(INCDIR)/ansidecl.h
1199 if [ x"$(PICFLAG)" != x ]; then \
1200 $(COMPILE.c) $(PICFLAG) $(srcdir)/setproctitle.c -o pic/$@; \
1202 if [ x"$(NOASANFLAG)" != x ]; then \
1203 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setproctitle.c -o noasan/$@; \
1205 $(COMPILE.c) $(srcdir)/setproctitle.c $(OUTPUT_OPTION)
1207 ./sha1.$(objext): $(srcdir)/sha1.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/sha1.h
1208 if [ x"$(PICFLAG)" != x ]; then \
1209 $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \
1211 if [ x"$(NOASANFLAG)" != x ]; then \
1212 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sha1.c -o noasan/$@; \
1214 $(COMPILE.c) $(srcdir)/sha1.c $(OUTPUT_OPTION)
1216 ./sigsetmask.$(objext): $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
1217 if [ x"$(PICFLAG)" != x ]; then \
1218 $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \
1220 if [ x"$(NOASANFLAG)" != x ]; then \
1221 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sigsetmask.c -o noasan/$@; \
1223 $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
1225 ./simple-object-coff.$(objext): $(srcdir)/simple-object-coff.c config.h \
1226 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1227 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1228 if [ x"$(PICFLAG)" != x ]; then \
1229 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-coff.c -o pic/$@; \
1231 if [ x"$(NOASANFLAG)" != x ]; then \
1232 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-coff.c -o noasan/$@; \
1234 $(COMPILE.c) $(srcdir)/simple-object-coff.c $(OUTPUT_OPTION)
1236 ./simple-object-elf.$(objext): $(srcdir)/simple-object-elf.c config.h \
1237 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1238 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1239 if [ x"$(PICFLAG)" != x ]; then \
1240 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-elf.c -o pic/$@; \
1242 if [ x"$(NOASANFLAG)" != x ]; then \
1243 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-elf.c -o noasan/$@; \
1245 $(COMPILE.c) $(srcdir)/simple-object-elf.c $(OUTPUT_OPTION)
1247 ./simple-object-mach-o.$(objext): $(srcdir)/simple-object-mach-o.c config.h \
1248 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1249 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1250 if [ x"$(PICFLAG)" != x ]; then \
1251 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-mach-o.c -o pic/$@; \
1253 if [ x"$(NOASANFLAG)" != x ]; then \
1254 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-mach-o.c -o noasan/$@; \
1256 $(COMPILE.c) $(srcdir)/simple-object-mach-o.c $(OUTPUT_OPTION)
1258 ./simple-object-xcoff.$(objext): $(srcdir)/simple-object-xcoff.c config.h \
1259 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1260 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1261 if [ x"$(PICFLAG)" != x ]; then \
1262 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-xcoff.c -o pic/$@; \
1264 if [ x"$(NOASANFLAG)" != x ]; then \
1265 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-xcoff.c -o noasan/$@; \
1267 $(COMPILE.c) $(srcdir)/simple-object-xcoff.c $(OUTPUT_OPTION)
1269 ./simple-object.$(objext): $(srcdir)/simple-object.c config.h \
1270 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1271 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1272 if [ x"$(PICFLAG)" != x ]; then \
1273 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object.c -o pic/$@; \
1275 if [ x"$(NOASANFLAG)" != x ]; then \
1276 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object.c -o noasan/$@; \
1278 $(COMPILE.c) $(srcdir)/simple-object.c $(OUTPUT_OPTION)
1280 ./snprintf.$(objext): $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
1281 if [ x"$(PICFLAG)" != x ]; then \
1282 $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
1284 if [ x"$(NOASANFLAG)" != x ]; then \
1285 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/snprintf.c -o noasan/$@; \
1287 $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
1289 ./sort.$(objext): $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h \
1290 $(INCDIR)/libiberty.h $(INCDIR)/sort.h
1291 if [ x"$(PICFLAG)" != x ]; then \
1292 $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \
1294 if [ x"$(NOASANFLAG)" != x ]; then \
1295 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sort.c -o noasan/$@; \
1297 $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION)
1299 ./spaces.$(objext): $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \
1300 $(INCDIR)/libiberty.h
1301 if [ x"$(PICFLAG)" != x ]; then \
1302 $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \
1304 if [ x"$(NOASANFLAG)" != x ]; then \
1305 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/spaces.c -o noasan/$@; \
1307 $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION)
1309 ./splay-tree.$(objext): $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
1310 $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
1311 if [ x"$(PICFLAG)" != x ]; then \
1312 $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \
1314 if [ x"$(NOASANFLAG)" != x ]; then \
1315 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/splay-tree.c -o noasan/$@; \
1317 $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
1319 ./stack-limit.$(objext): $(srcdir)/stack-limit.c config.h $(INCDIR)/ansidecl.h
1320 if [ x"$(PICFLAG)" != x ]; then \
1321 $(COMPILE.c) $(PICFLAG) $(srcdir)/stack-limit.c -o pic/$@; \
1323 if [ x"$(NOASANFLAG)" != x ]; then \
1324 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stack-limit.c -o noasan/$@; \
1326 $(COMPILE.c) $(srcdir)/stack-limit.c $(OUTPUT_OPTION)
1328 ./stpcpy.$(objext): $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
1329 if [ x"$(PICFLAG)" != x ]; then \
1330 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
1332 if [ x"$(NOASANFLAG)" != x ]; then \
1333 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpcpy.c -o noasan/$@; \
1335 $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION)
1337 ./stpncpy.$(objext): $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
1338 if [ x"$(PICFLAG)" != x ]; then \
1339 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \
1341 if [ x"$(NOASANFLAG)" != x ]; then \
1342 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpncpy.c -o noasan/$@; \
1344 $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
1346 ./strcasecmp.$(objext): $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
1347 if [ x"$(PICFLAG)" != x ]; then \
1348 $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \
1350 if [ x"$(NOASANFLAG)" != x ]; then \
1351 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strcasecmp.c -o noasan/$@; \
1353 $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION)
1355 ./strchr.$(objext): $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
1356 if [ x"$(PICFLAG)" != x ]; then \
1357 $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \
1359 if [ x"$(NOASANFLAG)" != x ]; then \
1360 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strchr.c -o noasan/$@; \
1362 $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION)
1364 ./strdup.$(objext): $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
1365 if [ x"$(PICFLAG)" != x ]; then \
1366 $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \
1368 if [ x"$(NOASANFLAG)" != x ]; then \
1369 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strdup.c -o noasan/$@; \
1371 $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION)
1373 ./strerror.$(objext): $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
1374 $(INCDIR)/libiberty.h
1375 if [ x"$(PICFLAG)" != x ]; then \
1376 $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \
1378 if [ x"$(NOASANFLAG)" != x ]; then \
1379 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strerror.c -o noasan/$@; \
1381 $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION)
1383 ./strncasecmp.$(objext): $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
1384 if [ x"$(PICFLAG)" != x ]; then \
1385 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \
1387 if [ x"$(NOASANFLAG)" != x ]; then \
1388 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncasecmp.c -o noasan/$@; \
1390 $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION)
1392 ./strncmp.$(objext): $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
1393 if [ x"$(PICFLAG)" != x ]; then \
1394 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \
1396 if [ x"$(NOASANFLAG)" != x ]; then \
1397 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncmp.c -o noasan/$@; \
1399 $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION)
1401 ./strndup.$(objext): $(srcdir)/strndup.c $(INCDIR)/ansidecl.h
1402 if [ x"$(PICFLAG)" != x ]; then \
1403 $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \
1405 if [ x"$(NOASANFLAG)" != x ]; then \
1406 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strndup.c -o noasan/$@; \
1408 $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION)
1410 ./strnlen.$(objext): $(srcdir)/strnlen.c config.h
1411 if [ x"$(PICFLAG)" != x ]; then \
1412 $(COMPILE.c) $(PICFLAG) $(srcdir)/strnlen.c -o pic/$@; \
1414 if [ x"$(NOASANFLAG)" != x ]; then \
1415 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strnlen.c -o noasan/$@; \
1417 $(COMPILE.c) $(srcdir)/strnlen.c $(OUTPUT_OPTION)
1419 ./strrchr.$(objext): $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
1420 if [ x"$(PICFLAG)" != x ]; then \
1421 $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \
1423 if [ x"$(NOASANFLAG)" != x ]; then \
1424 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strrchr.c -o noasan/$@; \
1426 $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION)
1428 ./strsignal.$(objext): $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
1429 $(INCDIR)/libiberty.h
1430 if [ x"$(PICFLAG)" != x ]; then \
1431 $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \
1433 if [ x"$(NOASANFLAG)" != x ]; then \
1434 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strsignal.c -o noasan/$@; \
1436 $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION)
1438 ./strstr.$(objext): $(srcdir)/strstr.c
1439 if [ x"$(PICFLAG)" != x ]; then \
1440 $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \
1442 if [ x"$(NOASANFLAG)" != x ]; then \
1443 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strstr.c -o noasan/$@; \
1445 $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION)
1447 ./strtod.$(objext): $(srcdir)/strtod.c $(INCDIR)/ansidecl.h \
1448 $(INCDIR)/safe-ctype.h
1449 if [ x"$(PICFLAG)" != x ]; then \
1450 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \
1452 if [ x"$(NOASANFLAG)" != x ]; then \
1453 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtod.c -o noasan/$@; \
1455 $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION)
1457 ./strtol.$(objext): $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
1458 if [ x"$(PICFLAG)" != x ]; then \
1459 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \
1461 if [ x"$(NOASANFLAG)" != x ]; then \
1462 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtol.c -o noasan/$@; \
1464 $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION)
1466 ./strtoul.$(objext): $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
1467 $(INCDIR)/safe-ctype.h
1468 if [ x"$(PICFLAG)" != x ]; then \
1469 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \
1471 if [ x"$(NOASANFLAG)" != x ]; then \
1472 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoul.c -o noasan/$@; \
1474 $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION)
1476 ./strverscmp.$(objext): $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h \
1477 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
1478 if [ x"$(PICFLAG)" != x ]; then \
1479 $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \
1481 if [ x"$(NOASANFLAG)" != x ]; then \
1482 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strverscmp.c -o noasan/$@; \
1484 $(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION)
1486 ./timeval-utils.$(objext): $(srcdir)/timeval-utils.c config.h \
1487 $(INCDIR)/timeval-utils.h
1488 if [ x"$(PICFLAG)" != x ]; then \
1489 $(COMPILE.c) $(PICFLAG) $(srcdir)/timeval-utils.c -o pic/$@; \
1491 if [ x"$(NOASANFLAG)" != x ]; then \
1492 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/timeval-utils.c -o noasan/$@; \
1494 $(COMPILE.c) $(srcdir)/timeval-utils.c $(OUTPUT_OPTION)
1496 ./tmpnam.$(objext): $(srcdir)/tmpnam.c
1497 if [ x"$(PICFLAG)" != x ]; then \
1498 $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \
1500 if [ x"$(NOASANFLAG)" != x ]; then \
1501 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/tmpnam.c -o noasan/$@; \
1503 $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION)
1505 ./unlink-if-ordinary.$(objext): $(srcdir)/unlink-if-ordinary.c config.h \
1506 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1507 if [ x"$(PICFLAG)" != x ]; then \
1508 $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \
1510 if [ x"$(NOASANFLAG)" != x ]; then \
1511 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/unlink-if-ordinary.c -o noasan/$@; \
1513 $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION)
1515 ./vasprintf.$(objext): $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
1516 $(INCDIR)/libiberty.h
1517 if [ x"$(PICFLAG)" != x ]; then \
1518 $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \
1520 if [ x"$(NOASANFLAG)" != x ]; then \
1521 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vasprintf.c -o noasan/$@; \
1523 $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION)
1525 ./vfork.$(objext): $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
1526 if [ x"$(PICFLAG)" != x ]; then \
1527 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \
1529 if [ x"$(NOASANFLAG)" != x ]; then \
1530 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfork.c -o noasan/$@; \
1532 $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION)
1534 ./vfprintf.$(objext): $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
1535 if [ x"$(PICFLAG)" != x ]; then \
1536 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \
1538 if [ x"$(NOASANFLAG)" != x ]; then \
1539 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfprintf.c -o noasan/$@; \
1541 $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION)
1543 ./vprintf.$(objext): $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
1544 if [ x"$(PICFLAG)" != x ]; then \
1545 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \
1547 if [ x"$(NOASANFLAG)" != x ]; then \
1548 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf.c -o noasan/$@; \
1550 $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION)
1552 ./vsnprintf.$(objext): $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
1553 $(INCDIR)/libiberty.h
1554 if [ x"$(PICFLAG)" != x ]; then \
1555 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \
1557 if [ x"$(NOASANFLAG)" != x ]; then \
1558 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsnprintf.c -o noasan/$@; \
1560 $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION)
1562 ./vsprintf.$(objext): $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
1563 if [ x"$(PICFLAG)" != x ]; then \
1564 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \
1566 if [ x"$(NOASANFLAG)" != x ]; then \
1567 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsprintf.c -o noasan/$@; \
1569 $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION)
1571 ./waitpid.$(objext): $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h
1572 if [ x"$(PICFLAG)" != x ]; then \
1573 $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \
1575 if [ x"$(NOASANFLAG)" != x ]; then \
1576 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/waitpid.c -o noasan/$@; \
1578 $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION)
1580 ./xatexit.$(objext): $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \
1581 $(INCDIR)/libiberty.h
1582 if [ x"$(PICFLAG)" != x ]; then \
1583 $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \
1585 if [ x"$(NOASANFLAG)" != x ]; then \
1586 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xatexit.c -o noasan/$@; \
1588 $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION)
1590 ./xexit.$(objext): $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h \
1591 $(INCDIR)/libiberty.h
1592 if [ x"$(PICFLAG)" != x ]; then \
1593 $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \
1595 if [ x"$(NOASANFLAG)" != x ]; then \
1596 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xexit.c -o noasan/$@; \
1598 $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION)
1600 ./xmalloc.$(objext): $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
1601 $(INCDIR)/libiberty.h
1602 if [ x"$(PICFLAG)" != x ]; then \
1603 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \
1605 if [ x"$(NOASANFLAG)" != x ]; then \
1606 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmalloc.c -o noasan/$@; \
1608 $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION)
1610 ./xmemdup.$(objext): $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
1611 $(INCDIR)/libiberty.h
1612 if [ x"$(PICFLAG)" != x ]; then \
1613 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \
1615 if [ x"$(NOASANFLAG)" != x ]; then \
1616 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmemdup.c -o noasan/$@; \
1618 $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION)
1620 ./xstrdup.$(objext): $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
1621 $(INCDIR)/libiberty.h
1622 if [ x"$(PICFLAG)" != x ]; then \
1623 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \
1625 if [ x"$(NOASANFLAG)" != x ]; then \
1626 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrdup.c -o noasan/$@; \
1628 $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION)
1630 ./xstrerror.$(objext): $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
1631 $(INCDIR)/libiberty.h
1632 if [ x"$(PICFLAG)" != x ]; then \
1633 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \
1635 if [ x"$(NOASANFLAG)" != x ]; then \
1636 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrerror.c -o noasan/$@; \
1638 $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION)
1640 ./xstrndup.$(objext): $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \
1641 $(INCDIR)/libiberty.h
1642 if [ x"$(PICFLAG)" != x ]; then \
1643 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \
1645 if [ x"$(NOASANFLAG)" != x ]; then \
1646 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrndup.c -o noasan/$@; \
1648 $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION)