add default for CONSTANT_ALIGNMENT
[official-gcc.git] / libiberty / Makefile.in
blob7d7e2f41efa44bed7341b07f9cee7fde240cf216
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, 2015 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@
25 srcdir = @srcdir@
27 prefix = @prefix@
29 exec_prefix = @exec_prefix@
30 bindir = @bindir@
31 libdir = @libdir@
32 includedir = @includedir@
33 target_header_dir = @target_header_dir@
34 objext = @OBJEXT@
36 SHELL = @SHELL@
38 # Multilib support variables.
39 MULTISRCTOP =
40 MULTIBUILDTOP =
41 MULTIDIRS =
42 MULTISUBDIR =
43 MULTIDO = true
44 MULTICLEAN = true
46 INSTALL = @INSTALL@
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@
54 AR = @AR@
55 AR_FLAGS = rc
57 CC = @CC@
58 CFLAGS = @CFLAGS@
59 CPPFLAGS = @CPPFLAGS@
60 RANLIB = @RANLIB@
61 MAKEINFO = @MAKEINFO@
62 PERL = @PERL@
64 PICFLAG = @PICFLAG@
65 NOASANFLAG = @NOASANFLAG@
67 MAKEOVERRIDES =
69 TARGETLIB = ./libiberty.a
70 TESTLIB = ./testlib.a
72 LIBOBJS = @LIBOBJS@
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.)
76 EXTRA_OFILES =
78 # Flags to pass to a recursive make.
79 FLAGS_TO_PASS = \
80 "AR=$(AR)" \
81 "AR_FLAGS=$(AR_FLAGS)" \
82 "CC=$(CC)" \
83 "CFLAGS=$(CFLAGS)" \
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)" \
93 "RANLIB=$(RANLIB)" \
94 "SHELL=$(SHELL)" \
95 "prefix=$(prefix)" \
96 "exec_prefix=$(exec_prefix)" \
97 "libdir=$(libdir)" \
98 "libsubdir=$(libsubdir)" \
99 "tooldir=$(tooldir)"
101 # Subdirectories to recurse into. We need to override this during cleaning
102 SUBDIRS = testsuite
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
109 check: check-subdir
110 installcheck: installcheck-subdir
112 @host_makefile_frag@
114 INCDIR=$(srcdir)/$(MULTISRCTOP)../include
116 COMPILE.c = $(CC) -c @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) \
117 $(HDEFINES) @ac_libiberty_warn_cflags@ -D_GNU_SOURCE
119 # Just to make sure we don't use a built-in rule with VPATH
120 .c.$(objext):
121 false
123 # NOTE: If you add new files to the library, add them to this list
124 # (alphabetical), and add them to REQUIRED_OFILES, or
125 # CONFIGURED_OFILES and funcs in configure.ac. Also run "make maint-deps"
126 # to build the new rules.
127 CFILES = alloca.c argv.c asprintf.c atexit.c \
128 basename.c bcmp.c bcopy.c bsearch.c bzero.c \
129 calloc.c choose-temp.c clock.c concat.c cp-demangle.c \
130 cp-demint.c cplus-dem.c crc32.c \
131 d-demangle.c dwarfnames.c dyn-string.c \
132 fdmatch.c ffs.c fibheap.c filename_cmp.c floatformat.c \
133 fnmatch.c fopen_unlocked.c \
134 getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c \
135 gettimeofday.c \
136 hashtab.c hex.c \
137 index.c insque.c \
138 lbasename.c \
139 lrealpath.c \
140 make-relative-prefix.c \
141 make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmem.c \
142 memmove.c mempcpy.c memset.c mkstemps.c \
143 objalloc.c obstack.c \
144 partition.c pexecute.c \
145 pex-common.c pex-djgpp.c pex-msdos.c pex-one.c \
146 pex-unix.c pex-win32.c \
147 physmem.c putenv.c \
148 random.c regex.c rename.c rindex.c \
149 safe-ctype.c setenv.c setproctitle.c sha1.c sigsetmask.c \
150 simple-object.c simple-object-coff.c simple-object-elf.c \
151 simple-object-mach-o.c simple-object-xcoff.c \
152 snprintf.c sort.c \
153 spaces.c splay-tree.c stack-limit.c stpcpy.c stpncpy.c \
154 strcasecmp.c strchr.c strdup.c strerror.c strncasecmp.c \
155 strncmp.c strrchr.c strsignal.c strstr.c strtod.c strtol.c \
156 strtoll.c strtoul.c strtoull.c strndup.c strnlen.c \
157 strverscmp.c timeval-utils.c tmpnam.c \
158 unlink-if-ordinary.c \
159 vasprintf.c vfork.c vfprintf.c vprintf.c vprintf-support.c \
160 vsnprintf.c vsprintf.c \
161 waitpid.c \
162 xasprintf.c xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c \
163 xstrerror.c xstrndup.c xvasprintf.c
165 # These are always included in the library. The first four are listed
166 # first and by compile time to optimize parallel builds.
167 REQUIRED_OFILES = \
168 ./regex.$(objext) ./cplus-dem.$(objext) ./cp-demangle.$(objext) \
169 ./md5.$(objext) ./sha1.$(objext) ./alloca.$(objext) \
170 ./argv.$(objext) \
171 ./choose-temp.$(objext) ./concat.$(objext) \
172 ./cp-demint.$(objext) ./crc32.$(objext) ./d-demangle.$(objext) \
173 ./dwarfnames.$(objext) ./dyn-string.$(objext) \
174 ./fdmatch.$(objext) ./fibheap.$(objext) \
175 ./filename_cmp.$(objext) ./floatformat.$(objext) \
176 ./fnmatch.$(objext) ./fopen_unlocked.$(objext) \
177 ./getopt.$(objext) ./getopt1.$(objext) ./getpwd.$(objext) \
178 ./getruntime.$(objext) ./hashtab.$(objext) ./hex.$(objext) \
179 ./lbasename.$(objext) ./lrealpath.$(objext) \
180 ./make-relative-prefix.$(objext) ./make-temp-file.$(objext) \
181 ./objalloc.$(objext) \
182 ./obstack.$(objext) \
183 ./partition.$(objext) ./pexecute.$(objext) ./physmem.$(objext) \
184 ./pex-common.$(objext) ./pex-one.$(objext) \
185 ./@pexecute@.$(objext) ./vprintf-support.$(objext) \
186 ./safe-ctype.$(objext) \
187 ./simple-object.$(objext) ./simple-object-coff.$(objext) \
188 ./simple-object-elf.$(objext) ./simple-object-mach-o.$(objext) \
189 ./simple-object-xcoff.$(objext) \
190 ./sort.$(objext) ./spaces.$(objext) \
191 ./splay-tree.$(objext) ./stack-limit.$(objext) \
192 ./strerror.$(objext) ./strsignal.$(objext) \
193 ./timeval-utils.$(objext) ./unlink-if-ordinary.$(objext) \
194 ./xasprintf.$(objext) ./xatexit.$(objext) ./xexit.$(objext) \
195 ./xmalloc.$(objext) ./xmemdup.$(objext) ./xstrdup.$(objext) \
196 ./xstrerror.$(objext) ./xstrndup.$(objext) \
197 ./xvasprintf.$(objext)
199 # These are all the objects that configure may add to the library via
200 # $funcs or EXTRA_OFILES. This list exists here only for "make
201 # maint-missing" and "make check".
202 CONFIGURED_OFILES = ./asprintf.$(objext) ./atexit.$(objext) \
203 ./basename.$(objext) ./bcmp.$(objext) ./bcopy.$(objext) \
204 ./bsearch.$(objext) ./bzero.$(objext) \
205 ./calloc.$(objext) ./clock.$(objext) ./copysign.$(objext) \
206 ./_doprnt.$(objext) \
207 ./ffs.$(objext) \
208 ./getcwd.$(objext) ./getpagesize.$(objext) \
209 ./gettimeofday.$(objext) \
210 ./index.$(objext) ./insque.$(objext) \
211 ./memchr.$(objext) ./memcmp.$(objext) ./memcpy.$(objext) \
212 ./memmem.$(objext) ./memmove.$(objext) \
213 ./mempcpy.$(objext) ./memset.$(objext) ./mkstemps.$(objext) \
214 ./pex-djgpp.$(objext) ./pex-msdos.$(objext) \
215 ./pex-unix.$(objext) ./pex-win32.$(objext) \
216 ./putenv.$(objext) \
217 ./random.$(objext) ./rename.$(objext) ./rindex.$(objext) \
218 ./setenv.$(objext) \
219 ./setproctitle.$(objext) \
220 ./sigsetmask.$(objext) ./snprintf.$(objext) \
221 ./stpcpy.$(objext) ./stpncpy.$(objext) ./strcasecmp.$(objext) \
222 ./strchr.$(objext) ./strdup.$(objext) ./strncasecmp.$(objext) \
223 ./strncmp.$(objext) ./strndup.$(objext) ./strnlen.$(objext) \
224 ./strrchr.$(objext) ./strstr.$(objext) ./strtod.$(objext) \
225 ./strtol.$(objext) ./strtoul.$(objext) strtoll.$(objext) \
226 ./strtoull.$(objext) ./tmpnam.$(objext) ./strverscmp.$(objext) \
227 ./vasprintf.$(objext) ./vfork.$(objext) ./vfprintf.$(objext) \
228 ./vprintf.$(objext) ./vsnprintf.$(objext) ./vsprintf.$(objext) \
229 ./waitpid.$(objext)
231 # These files are installed if the library has been configured to do so.
232 INSTALLED_HEADERS = \
233 $(INCDIR)/ansidecl.h \
234 $(INCDIR)/demangle.h \
235 $(INCDIR)/dyn-string.h \
236 $(INCDIR)/fibheap.h \
237 $(INCDIR)/floatformat.h \
238 $(INCDIR)/hashtab.h \
239 $(INCDIR)/libiberty.h \
240 $(INCDIR)/objalloc.h \
241 $(INCDIR)/partition.h \
242 $(INCDIR)/safe-ctype.h \
243 $(INCDIR)/sort.h \
244 $(INCDIR)/splay-tree.h \
245 $(INCDIR)/timeval-utils.h
247 $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
248 -rm -f $(TARGETLIB) pic/$(TARGETLIB) noasan/$(TARGETLIB)
249 $(AR) $(AR_FLAGS) $(TARGETLIB) \
250 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
251 $(RANLIB) $(TARGETLIB)
252 if [ x"$(PICFLAG)" != x ]; then \
253 cd pic; \
254 $(AR) $(AR_FLAGS) $(TARGETLIB) \
255 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
256 $(RANLIB) $(TARGETLIB); \
257 cd ..; \
258 else true; fi; \
259 if [ x"$(NOASANFLAG)" != x ]; then \
260 cd noasan; \
261 $(AR) $(AR_FLAGS) $(TARGETLIB) \
262 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
263 $(RANLIB) $(TARGETLIB); \
264 cd ..; \
265 else true; fi
267 $(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
268 -rm -f $(TESTLIB)
269 $(AR) $(AR_FLAGS) $(TESTLIB) \
270 $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
271 $(RANLIB) $(TESTLIB)
273 info: libiberty.info info-subdir
274 install-info: install-info-subdir
275 clean-info: clean-info-subdir
276 dvi: libiberty.dvi dvi-subdir
278 LIBIBERTY_PDFFILES = libiberty.pdf
280 pdf: $(LIBIBERTY_PDFFILES) pdf-subdir
282 .PHONY: install-pdf
284 pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
286 install-pdf: $(LIBIBERTY_PDFFILES)
287 @$(NORMAL_INSTALL)
288 test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)"
289 @list='$(LIBIBERTY_PDFFILES)'; for p in $$list; do \
290 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
291 f=$(pdf__strip_dir) \
292 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
293 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
294 done
296 # html, install-html targets
297 HTMLS = libiberty.html
299 html: $(HTMLS)
301 .PHONY: install-html install-html-am
303 NORMAL_INSTALL = :
304 mkdir_p = mkdir -p --
306 html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
308 install-html: install-html-am
310 install-html-am: $(HTMLS)
311 @$(NORMAL_INSTALL)
312 test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
313 @list='$(HTMLS)'; for p in $$list; do \
314 if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
315 f=$(html__strip_dir) \
316 if test -d "$$d$$p"; then \
317 echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \
318 $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
319 echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
320 $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
321 else \
322 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
323 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
324 fi; \
325 done
327 TEXISRC = \
328 $(srcdir)/libiberty.texi \
329 $(srcdir)/copying-lib.texi \
330 $(srcdir)/obstacks.texi \
331 $(srcdir)/functions.texi
333 # Additional files that have texi snippets that need to be collected
334 # and sorted. Some are here because the sources are imported from
335 # elsewhere. Others represent headers in ../include.
336 TEXIFILES = fnmatch.txh pexecute.txh simple-object.txh
338 libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC)
339 $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi
341 libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC)
342 texi2dvi $(srcdir)/libiberty.texi
344 libiberty.pdf : $(srcdir)/libiberty.texi $(TEXISRC)
345 texi2pdf $(srcdir)/libiberty.texi
347 libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
348 $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $<
350 @MAINT@$(srcdir)/functions.texi : stamp-functions
351 @MAINT@ @true
353 @MAINT@stamp-functions : $(CFILES:%=$(srcdir)/%) $(TEXIFILES:%=$(srcdir)/%) $(srcdir)/gather-docs Makefile
354 @MAINT@@HAVE_PERL@ $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES)
355 @MAINT@ echo stamp > stamp-functions
357 INSTALL_DEST = @INSTALL_DEST@
358 install: install_to_$(INSTALL_DEST) install-subdir
359 install-strip: install
361 .PHONY: install install-strip
363 # This is tricky. Even though CC in the Makefile contains
364 # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
365 # default multilib, so we have to take CFLAGS into account as well,
366 # since it will be passed the multilib flags.
367 MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
368 install_to_libdir: all
369 if test -n "${target_header_dir}"; then \
370 ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR); \
371 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n; \
372 ( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n ); \
373 mv -f $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB); \
374 case "${target_header_dir}" in \
375 /*) thd=${target_header_dir};; \
376 *) thd=${includedir}/${target_header_dir};; \
377 esac; \
378 ${mkinstalldirs} $(DESTDIR)$${thd}; \
379 for h in ${INSTALLED_HEADERS}; do \
380 ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \
381 done; \
383 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
385 install_to_tooldir: all
386 ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)
387 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n
388 ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n )
389 mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
390 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
392 # required-list was used when building a shared bfd/opcodes/libiberty
393 # library. I don't know if it used by anything currently.
394 required-list: Makefile
395 echo $(REQUIRED_OFILES) > required-list
397 stamp-picdir:
398 if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
399 mkdir pic; \
400 else true; fi
401 touch stamp-picdir
403 stamp-noasandir:
404 if [ x"$(NOASANFLAG)" != x ] && [ ! -d noasan ]; then \
405 mkdir noasan; \
406 else true; fi
407 touch stamp-noasandir
409 .PHONY: all etags tags ls clean stage1 stage2
411 etags tags: TAGS etags-subdir
413 TAGS: $(CFILES)
414 etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done`
416 # The standalone demangler (c++filt) has been moved to binutils.
417 # But make this target work anyway for demangler hacking.
418 demangle: $(ALL) $(srcdir)/cp-demangle.c
419 @echo "The standalone demangler, now named c++filt, is now"
420 @echo "a part of binutils."
421 $(CC) @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) \
422 $(srcdir)/cp-demangle.c -DSTANDALONE_DEMANGLER $(TARGETLIB) -o $@
425 @echo Makefile $(CFILES)
427 # Various targets for maintainers.
429 maint-missing :
430 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
432 maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
433 @true
435 maint-undoc : $(srcdir)/functions.texi
436 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
438 maint-deps :
439 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
441 # Need to deal with profiled libraries, too.
443 # Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS
444 # multiple times, hence our explicit recursion with an empty SUBDIRS.
445 mostlyclean: mostlyclean-subdir
446 -rm -rf *.$(objext) pic noasan core errs \#* *.E a.out
447 -rm -f errors dummy config.h stamp-*
448 -rm -f $(CONFIG_H) stamp-picdir stamp-noasandir
449 -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
450 -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
451 -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr
452 -rm -f libtexi.stamp
453 @$(MULTICLEAN) multi-clean DO=mostlyclean
454 clean: clean-subdir
455 $(MAKE) SUBDIRS="" mostlyclean
456 -rm -f *.a required-list tmpmulti.out
457 -rm -f libiberty.dvi libiberty.pdf libiberty.info* libiberty.html
458 @$(MULTICLEAN) multi-clean DO=clean
459 distclean: distclean-subdir
460 $(MAKE) SUBDIRS="" clean
461 @$(MULTICLEAN) multi-clean DO=distclean
462 -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
463 -rm -f config.log
464 -rmdir testsuite 2>/dev/null
465 maintainer-clean realclean: maintainer-clean-subdir
466 $(MAKE) SUBDIRS="" distclean
468 force:
470 Makefile: $(srcdir)/Makefile.in config.status
471 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
473 # Depending on Makefile makes sure that config.status has been re-run
474 # if needed. This prevents problems with parallel builds.
475 config.h: stamp-h ; @true
476 stamp-h: $(srcdir)/config.in config.status Makefile
477 CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status
479 config.status: $(srcdir)/configure
480 $(SHELL) ./config.status --recheck
482 AUTOCONF = autoconf
483 configure_deps = $(srcdir)/aclocal.m4 \
484 $(srcdir)/../config/acx.m4 \
485 $(srcdir)/../config/no-executables.m4 \
486 $(srcdir)/../config/override.m4 \
487 $(srcdir)/../config/warnings.m4 \
489 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(configure_deps)
490 cd $(srcdir) && $(AUTOCONF)
492 # Depending on config.h makes sure that config.status has been re-run
493 # if needed. This prevents problems with parallel builds, in case
494 # subdirectories need to run config.status also.
495 all-subdir check-subdir installcheck-subdir info-subdir \
496 install-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir \
497 etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
498 maintainer-clean-subdir: config.h
499 @subdirs='$(SUBDIRS)'; \
500 target=`echo $@ | sed -e 's/-subdir//'`; \
501 for dir in $$subdirs ; do \
502 cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
503 done
505 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir stamp-noasandir
506 $(CONFIGURED_OFILES): stamp-picdir stamp-noasandir
508 # Don't export variables to the environment, in order to not confuse
509 # configure.
510 .NOEXPORT:
512 # The dependencies in the remainder of this file are automatically
513 # generated by "make maint-deps". Manual edits will be lost.
515 ./_doprnt.$(objext): $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \
516 $(INCDIR)/safe-ctype.h
517 if [ x"$(PICFLAG)" != x ]; then \
518 $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \
519 else true; fi
520 if [ x"$(NOASANFLAG)" != x ]; then \
521 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/_doprnt.c -o noasan/$@; \
522 else true; fi
523 $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION)
525 ./alloca.$(objext): $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
526 $(INCDIR)/libiberty.h
527 if [ x"$(PICFLAG)" != x ]; then \
528 $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \
529 else true; fi
530 if [ x"$(NOASANFLAG)" != x ]; then \
531 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/alloca.c -o noasan/$@; \
532 else true; fi
533 $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION)
535 ./argv.$(objext): $(srcdir)/argv.c config.h $(INCDIR)/ansidecl.h \
536 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
537 if [ x"$(PICFLAG)" != x ]; then \
538 $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \
539 else true; fi
540 if [ x"$(NOASANFLAG)" != x ]; then \
541 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/argv.c -o noasan/$@; \
542 else true; fi
543 $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION)
545 ./asprintf.$(objext): $(srcdir)/asprintf.c config.h $(INCDIR)/ansidecl.h \
546 $(INCDIR)/libiberty.h
547 if [ x"$(PICFLAG)" != x ]; then \
548 $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \
549 else true; fi
550 if [ x"$(NOASANFLAG)" != x ]; then \
551 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/asprintf.c -o noasan/$@; \
552 else true; fi
553 $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION)
555 ./atexit.$(objext): $(srcdir)/atexit.c config.h
556 if [ x"$(PICFLAG)" != x ]; then \
557 $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \
558 else true; fi
559 if [ x"$(NOASANFLAG)" != x ]; then \
560 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/atexit.c -o noasan/$@; \
561 else true; fi
562 $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION)
564 ./basename.$(objext): $(srcdir)/basename.c config.h $(INCDIR)/ansidecl.h \
565 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
566 if [ x"$(PICFLAG)" != x ]; then \
567 $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \
568 else true; fi
569 if [ x"$(NOASANFLAG)" != x ]; then \
570 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/basename.c -o noasan/$@; \
571 else true; fi
572 $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION)
574 ./bcmp.$(objext): $(srcdir)/bcmp.c
575 if [ x"$(PICFLAG)" != x ]; then \
576 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \
577 else true; fi
578 if [ x"$(NOASANFLAG)" != x ]; then \
579 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcmp.c -o noasan/$@; \
580 else true; fi
581 $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION)
583 ./bcopy.$(objext): $(srcdir)/bcopy.c
584 if [ x"$(PICFLAG)" != x ]; then \
585 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \
586 else true; fi
587 if [ x"$(NOASANFLAG)" != x ]; then \
588 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcopy.c -o noasan/$@; \
589 else true; fi
590 $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION)
592 ./bsearch.$(objext): $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h
593 if [ x"$(PICFLAG)" != x ]; then \
594 $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \
595 else true; fi
596 if [ x"$(NOASANFLAG)" != x ]; then \
597 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bsearch.c -o noasan/$@; \
598 else true; fi
599 $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION)
601 ./bzero.$(objext): $(srcdir)/bzero.c
602 if [ x"$(PICFLAG)" != x ]; then \
603 $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \
604 else true; fi
605 if [ x"$(NOASANFLAG)" != x ]; then \
606 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bzero.c -o noasan/$@; \
607 else true; fi
608 $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION)
610 ./calloc.$(objext): $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
611 if [ x"$(PICFLAG)" != x ]; then \
612 $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \
613 else true; fi
614 if [ x"$(NOASANFLAG)" != x ]; then \
615 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/calloc.c -o noasan/$@; \
616 else true; fi
617 $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION)
619 ./choose-temp.$(objext): $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
620 $(INCDIR)/libiberty.h
621 if [ x"$(PICFLAG)" != x ]; then \
622 $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \
623 else true; fi
624 if [ x"$(NOASANFLAG)" != x ]; then \
625 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/choose-temp.c -o noasan/$@; \
626 else true; fi
627 $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION)
629 ./clock.$(objext): $(srcdir)/clock.c config.h
630 if [ x"$(PICFLAG)" != x ]; then \
631 $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \
632 else true; fi
633 if [ x"$(NOASANFLAG)" != x ]; then \
634 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/clock.c -o noasan/$@; \
635 else true; fi
636 $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION)
638 ./concat.$(objext): $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
639 $(INCDIR)/libiberty.h
640 if [ x"$(PICFLAG)" != x ]; then \
641 $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \
642 else true; fi
643 if [ x"$(NOASANFLAG)" != x ]; then \
644 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/concat.c -o noasan/$@; \
645 else true; fi
646 $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION)
648 ./copysign.$(objext): $(srcdir)/copysign.c $(INCDIR)/ansidecl.h
649 if [ x"$(PICFLAG)" != x ]; then \
650 $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \
651 else true; fi
652 if [ x"$(NOASANFLAG)" != x ]; then \
653 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/copysign.c -o noasan/$@; \
654 else true; fi
655 $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION)
657 ./cp-demangle.$(objext): $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
658 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
659 $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
660 if [ x"$(PICFLAG)" != x ]; then \
661 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \
662 else true; fi
663 if [ x"$(NOASANFLAG)" != x ]; then \
664 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demangle.c -o noasan/$@; \
665 else true; fi
666 $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION)
668 ./cp-demint.$(objext): $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
669 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
670 $(INCDIR)/libiberty.h
671 if [ x"$(PICFLAG)" != x ]; then \
672 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \
673 else true; fi
674 if [ x"$(NOASANFLAG)" != x ]; then \
675 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demint.c -o noasan/$@; \
676 else true; fi
677 $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION)
679 ./cplus-dem.$(objext): $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
680 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
681 $(INCDIR)/safe-ctype.h
682 if [ x"$(PICFLAG)" != x ]; then \
683 $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \
684 else true; fi
685 if [ x"$(NOASANFLAG)" != x ]; then \
686 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cplus-dem.c -o noasan/$@; \
687 else true; fi
688 $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION)
690 ./crc32.$(objext): $(srcdir)/crc32.c config.h $(INCDIR)/ansidecl.h \
691 $(INCDIR)/libiberty.h
692 if [ x"$(PICFLAG)" != x ]; then \
693 $(COMPILE.c) $(PICFLAG) $(srcdir)/crc32.c -o pic/$@; \
694 else true; fi
695 if [ x"$(NOASANFLAG)" != x ]; then \
696 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/crc32.c -o noasan/$@; \
697 else true; fi
698 $(COMPILE.c) $(srcdir)/crc32.c $(OUTPUT_OPTION)
700 ./d-demangle.$(objext): $(srcdir)/d-demangle.c config.h $(INCDIR)/ansidecl.h \
701 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
702 $(INCDIR)/safe-ctype.h
703 if [ x"$(PICFLAG)" != x ]; then \
704 $(COMPILE.c) $(PICFLAG) $(srcdir)/d-demangle.c -o pic/$@; \
705 else true; fi
706 if [ x"$(NOASANFLAG)" != x ]; then \
707 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/d-demangle.c -o noasan/$@; \
708 else true; fi
709 $(COMPILE.c) $(srcdir)/d-demangle.c $(OUTPUT_OPTION)
711 ./dwarfnames.$(objext): $(srcdir)/dwarfnames.c $(INCDIR)/dwarf2.def \
712 $(INCDIR)/dwarf2.h
713 if [ x"$(PICFLAG)" != x ]; then \
714 $(COMPILE.c) $(PICFLAG) $(srcdir)/dwarfnames.c -o pic/$@; \
715 else true; fi
716 if [ x"$(NOASANFLAG)" != x ]; then \
717 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dwarfnames.c -o noasan/$@; \
718 else true; fi
719 $(COMPILE.c) $(srcdir)/dwarfnames.c $(OUTPUT_OPTION)
721 ./dyn-string.$(objext): $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
722 $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
723 if [ x"$(PICFLAG)" != x ]; then \
724 $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \
725 else true; fi
726 if [ x"$(NOASANFLAG)" != x ]; then \
727 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dyn-string.c -o noasan/$@; \
728 else true; fi
729 $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION)
731 ./fdmatch.$(objext): $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \
732 $(INCDIR)/libiberty.h
733 if [ x"$(PICFLAG)" != x ]; then \
734 $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \
735 else true; fi
736 if [ x"$(NOASANFLAG)" != x ]; then \
737 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fdmatch.c -o noasan/$@; \
738 else true; fi
739 $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION)
741 ./ffs.$(objext): $(srcdir)/ffs.c
742 if [ x"$(PICFLAG)" != x ]; then \
743 $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \
744 else true; fi
745 if [ x"$(NOASANFLAG)" != x ]; then \
746 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/ffs.c -o noasan/$@; \
747 else true; fi
748 $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION)
750 ./fibheap.$(objext): $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
751 $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h
752 if [ x"$(PICFLAG)" != x ]; then \
753 $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \
754 else true; fi
755 if [ x"$(NOASANFLAG)" != x ]; then \
756 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fibheap.c -o noasan/$@; \
757 else true; fi
758 $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION)
760 ./filename_cmp.$(objext): $(srcdir)/filename_cmp.c config.h $(INCDIR)/ansidecl.h \
761 $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
762 $(INCDIR)/safe-ctype.h
763 if [ x"$(PICFLAG)" != x ]; then \
764 $(COMPILE.c) $(PICFLAG) $(srcdir)/filename_cmp.c -o pic/$@; \
765 else true; fi
766 if [ x"$(NOASANFLAG)" != x ]; then \
767 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/filename_cmp.c -o noasan/$@; \
768 else true; fi
769 $(COMPILE.c) $(srcdir)/filename_cmp.c $(OUTPUT_OPTION)
771 ./floatformat.$(objext): $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
772 $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
773 if [ x"$(PICFLAG)" != x ]; then \
774 $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \
775 else true; fi
776 if [ x"$(NOASANFLAG)" != x ]; then \
777 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/floatformat.c -o noasan/$@; \
778 else true; fi
779 $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION)
781 ./fnmatch.$(objext): $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
782 $(INCDIR)/safe-ctype.h
783 if [ x"$(PICFLAG)" != x ]; then \
784 $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \
785 else true; fi
786 if [ x"$(NOASANFLAG)" != x ]; then \
787 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fnmatch.c -o noasan/$@; \
788 else true; fi
789 $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION)
791 ./fopen_unlocked.$(objext): $(srcdir)/fopen_unlocked.c config.h \
792 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
793 if [ x"$(PICFLAG)" != x ]; then \
794 $(COMPILE.c) $(PICFLAG) $(srcdir)/fopen_unlocked.c -o pic/$@; \
795 else true; fi
796 if [ x"$(NOASANFLAG)" != x ]; then \
797 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fopen_unlocked.c -o noasan/$@; \
798 else true; fi
799 $(COMPILE.c) $(srcdir)/fopen_unlocked.c $(OUTPUT_OPTION)
801 ./getcwd.$(objext): $(srcdir)/getcwd.c config.h
802 if [ x"$(PICFLAG)" != x ]; then \
803 $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \
804 else true; fi
805 if [ x"$(NOASANFLAG)" != x ]; then \
806 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getcwd.c -o noasan/$@; \
807 else true; fi
808 $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION)
810 ./getopt.$(objext): $(srcdir)/getopt.c config.h $(INCDIR)/ansidecl.h \
811 $(INCDIR)/getopt.h
812 if [ x"$(PICFLAG)" != x ]; then \
813 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \
814 else true; fi
815 if [ x"$(NOASANFLAG)" != x ]; then \
816 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt.c -o noasan/$@; \
817 else true; fi
818 $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION)
820 ./getopt1.$(objext): $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h
821 if [ x"$(PICFLAG)" != x ]; then \
822 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \
823 else true; fi
824 if [ x"$(NOASANFLAG)" != x ]; then \
825 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt1.c -o noasan/$@; \
826 else true; fi
827 $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION)
829 ./getpagesize.$(objext): $(srcdir)/getpagesize.c config.h
830 if [ x"$(PICFLAG)" != x ]; then \
831 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \
832 else true; fi
833 if [ x"$(NOASANFLAG)" != x ]; then \
834 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpagesize.c -o noasan/$@; \
835 else true; fi
836 $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION)
838 ./getpwd.$(objext): $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
839 $(INCDIR)/libiberty.h
840 if [ x"$(PICFLAG)" != x ]; then \
841 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \
842 else true; fi
843 if [ x"$(NOASANFLAG)" != x ]; then \
844 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpwd.c -o noasan/$@; \
845 else true; fi
846 $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION)
848 ./getruntime.$(objext): $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
849 $(INCDIR)/libiberty.h
850 if [ x"$(PICFLAG)" != x ]; then \
851 $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \
852 else true; fi
853 if [ x"$(NOASANFLAG)" != x ]; then \
854 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getruntime.c -o noasan/$@; \
855 else true; fi
856 $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION)
858 ./gettimeofday.$(objext): $(srcdir)/gettimeofday.c config.h $(INCDIR)/ansidecl.h \
859 $(INCDIR)/libiberty.h
860 if [ x"$(PICFLAG)" != x ]; then \
861 $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \
862 else true; fi
863 if [ x"$(NOASANFLAG)" != x ]; then \
864 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/gettimeofday.c -o noasan/$@; \
865 else true; fi
866 $(COMPILE.c) $(srcdir)/gettimeofday.c $(OUTPUT_OPTION)
868 ./hashtab.$(objext): $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
869 $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
870 if [ x"$(PICFLAG)" != x ]; then \
871 $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \
872 else true; fi
873 if [ x"$(NOASANFLAG)" != x ]; then \
874 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hashtab.c -o noasan/$@; \
875 else true; fi
876 $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION)
878 ./hex.$(objext): $(srcdir)/hex.c config.h $(INCDIR)/ansidecl.h \
879 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
880 if [ x"$(PICFLAG)" != x ]; then \
881 $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \
882 else true; fi
883 if [ x"$(NOASANFLAG)" != x ]; then \
884 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hex.c -o noasan/$@; \
885 else true; fi
886 $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION)
888 ./index.$(objext): $(srcdir)/index.c
889 if [ x"$(PICFLAG)" != x ]; then \
890 $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \
891 else true; fi
892 if [ x"$(NOASANFLAG)" != x ]; then \
893 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/index.c -o noasan/$@; \
894 else true; fi
895 $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION)
897 ./insque.$(objext): $(srcdir)/insque.c
898 if [ x"$(PICFLAG)" != x ]; then \
899 $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \
900 else true; fi
901 if [ x"$(NOASANFLAG)" != x ]; then \
902 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/insque.c -o noasan/$@; \
903 else true; fi
904 $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION)
906 ./lbasename.$(objext): $(srcdir)/lbasename.c config.h $(INCDIR)/ansidecl.h \
907 $(INCDIR)/filenames.h $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h \
908 $(INCDIR)/safe-ctype.h
909 if [ x"$(PICFLAG)" != x ]; then \
910 $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \
911 else true; fi
912 if [ x"$(NOASANFLAG)" != x ]; then \
913 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lbasename.c -o noasan/$@; \
914 else true; fi
915 $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION)
917 ./lrealpath.$(objext): $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
918 $(INCDIR)/libiberty.h
919 if [ x"$(PICFLAG)" != x ]; then \
920 $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \
921 else true; fi
922 if [ x"$(NOASANFLAG)" != x ]; then \
923 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lrealpath.c -o noasan/$@; \
924 else true; fi
925 $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION)
927 ./make-relative-prefix.$(objext): $(srcdir)/make-relative-prefix.c config.h \
928 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
929 if [ x"$(PICFLAG)" != x ]; then \
930 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \
931 else true; fi
932 if [ x"$(NOASANFLAG)" != x ]; then \
933 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-relative-prefix.c -o noasan/$@; \
934 else true; fi
935 $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION)
937 ./make-temp-file.$(objext): $(srcdir)/make-temp-file.c config.h \
938 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
939 if [ x"$(PICFLAG)" != x ]; then \
940 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \
941 else true; fi
942 if [ x"$(NOASANFLAG)" != x ]; then \
943 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-temp-file.c -o noasan/$@; \
944 else true; fi
945 $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION)
947 ./md5.$(objext): $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
948 if [ x"$(PICFLAG)" != x ]; then \
949 $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \
950 else true; fi
951 if [ x"$(NOASANFLAG)" != x ]; then \
952 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/md5.c -o noasan/$@; \
953 else true; fi
954 $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION)
956 ./memchr.$(objext): $(srcdir)/memchr.c $(INCDIR)/ansidecl.h
957 if [ x"$(PICFLAG)" != x ]; then \
958 $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \
959 else true; fi
960 if [ x"$(NOASANFLAG)" != x ]; then \
961 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memchr.c -o noasan/$@; \
962 else true; fi
963 $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION)
965 ./memcmp.$(objext): $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h
966 if [ x"$(PICFLAG)" != x ]; then \
967 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \
968 else true; fi
969 if [ x"$(NOASANFLAG)" != x ]; then \
970 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcmp.c -o noasan/$@; \
971 else true; fi
972 $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION)
974 ./memcpy.$(objext): $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h
975 if [ x"$(PICFLAG)" != x ]; then \
976 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \
977 else true; fi
978 if [ x"$(NOASANFLAG)" != x ]; then \
979 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcpy.c -o noasan/$@; \
980 else true; fi
981 $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION)
983 ./memmem.$(objext): $(srcdir)/memmem.c config.h
984 if [ x"$(PICFLAG)" != x ]; then \
985 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmem.c -o pic/$@; \
986 else true; fi
987 if [ x"$(NOASANFLAG)" != x ]; then \
988 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmem.c -o noasan/$@; \
989 else true; fi
990 $(COMPILE.c) $(srcdir)/memmem.c $(OUTPUT_OPTION)
992 ./memmove.$(objext): $(srcdir)/memmove.c $(INCDIR)/ansidecl.h
993 if [ x"$(PICFLAG)" != x ]; then \
994 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \
995 else true; fi
996 if [ x"$(NOASANFLAG)" != x ]; then \
997 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmove.c -o noasan/$@; \
998 else true; fi
999 $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION)
1001 ./mempcpy.$(objext): $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h
1002 if [ x"$(PICFLAG)" != x ]; then \
1003 $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \
1004 else true; fi
1005 if [ x"$(NOASANFLAG)" != x ]; then \
1006 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mempcpy.c -o noasan/$@; \
1007 else true; fi
1008 $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION)
1010 ./memset.$(objext): $(srcdir)/memset.c $(INCDIR)/ansidecl.h
1011 if [ x"$(PICFLAG)" != x ]; then \
1012 $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \
1013 else true; fi
1014 if [ x"$(NOASANFLAG)" != x ]; then \
1015 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memset.c -o noasan/$@; \
1016 else true; fi
1017 $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION)
1019 ./mkstemps.$(objext): $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h
1020 if [ x"$(PICFLAG)" != x ]; then \
1021 $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \
1022 else true; fi
1023 if [ x"$(NOASANFLAG)" != x ]; then \
1024 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mkstemps.c -o noasan/$@; \
1025 else true; fi
1026 $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION)
1028 ./msdos.$(objext): $(srcdir)/msdos.c
1029 if [ x"$(PICFLAG)" != x ]; then \
1030 $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \
1031 else true; fi
1032 if [ x"$(NOASANFLAG)" != x ]; then \
1033 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/msdos.c -o noasan/$@; \
1034 else true; fi
1035 $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION)
1037 ./objalloc.$(objext): $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \
1038 $(INCDIR)/objalloc.h
1039 if [ x"$(PICFLAG)" != x ]; then \
1040 $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \
1041 else true; fi
1042 if [ x"$(NOASANFLAG)" != x ]; then \
1043 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/objalloc.c -o noasan/$@; \
1044 else true; fi
1045 $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION)
1047 ./obstack.$(objext): $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h
1048 if [ x"$(PICFLAG)" != x ]; then \
1049 $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \
1050 else true; fi
1051 if [ x"$(NOASANFLAG)" != x ]; then \
1052 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/obstack.c -o noasan/$@; \
1053 else true; fi
1054 $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION)
1056 ./partition.$(objext): $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \
1057 $(INCDIR)/libiberty.h $(INCDIR)/partition.h
1058 if [ x"$(PICFLAG)" != x ]; then \
1059 $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \
1060 else true; fi
1061 if [ x"$(NOASANFLAG)" != x ]; then \
1062 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/partition.c -o noasan/$@; \
1063 else true; fi
1064 $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION)
1066 ./pex-common.$(objext): $(srcdir)/pex-common.c config.h $(INCDIR)/ansidecl.h \
1067 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1068 if [ x"$(PICFLAG)" != x ]; then \
1069 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-common.c -o pic/$@; \
1070 else true; fi
1071 if [ x"$(NOASANFLAG)" != x ]; then \
1072 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-common.c -o noasan/$@; \
1073 else true; fi
1074 $(COMPILE.c) $(srcdir)/pex-common.c $(OUTPUT_OPTION)
1076 ./pex-djgpp.$(objext): $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \
1077 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1078 if [ x"$(PICFLAG)" != x ]; then \
1079 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \
1080 else true; fi
1081 if [ x"$(NOASANFLAG)" != x ]; then \
1082 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-djgpp.c -o noasan/$@; \
1083 else true; fi
1084 $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION)
1086 ./pex-msdos.$(objext): $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \
1087 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \
1088 $(INCDIR)/safe-ctype.h
1089 if [ x"$(PICFLAG)" != x ]; then \
1090 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \
1091 else true; fi
1092 if [ x"$(NOASANFLAG)" != x ]; then \
1093 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-msdos.c -o noasan/$@; \
1094 else true; fi
1095 $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION)
1097 ./pex-one.$(objext): $(srcdir)/pex-one.c config.h $(INCDIR)/ansidecl.h \
1098 $(INCDIR)/libiberty.h
1099 if [ x"$(PICFLAG)" != x ]; then \
1100 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-one.c -o pic/$@; \
1101 else true; fi
1102 if [ x"$(NOASANFLAG)" != x ]; then \
1103 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-one.c -o noasan/$@; \
1104 else true; fi
1105 $(COMPILE.c) $(srcdir)/pex-one.c $(OUTPUT_OPTION)
1107 ./pex-unix.$(objext): $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \
1108 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1109 if [ x"$(PICFLAG)" != x ]; then \
1110 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \
1111 else true; fi
1112 if [ x"$(NOASANFLAG)" != x ]; then \
1113 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-unix.c -o noasan/$@; \
1114 else true; fi
1115 $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION)
1117 ./pex-win32.$(objext): $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \
1118 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1119 if [ x"$(PICFLAG)" != x ]; then \
1120 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \
1121 else true; fi
1122 if [ x"$(NOASANFLAG)" != x ]; then \
1123 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-win32.c -o noasan/$@; \
1124 else true; fi
1125 $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION)
1127 ./pexecute.$(objext): $(srcdir)/pexecute.c config.h $(INCDIR)/ansidecl.h \
1128 $(INCDIR)/libiberty.h
1129 if [ x"$(PICFLAG)" != x ]; then \
1130 $(COMPILE.c) $(PICFLAG) $(srcdir)/pexecute.c -o pic/$@; \
1131 else true; fi
1132 if [ x"$(NOASANFLAG)" != x ]; then \
1133 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pexecute.c -o noasan/$@; \
1134 else true; fi
1135 $(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION)
1137 ./physmem.$(objext): $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
1138 $(INCDIR)/libiberty.h
1139 if [ x"$(PICFLAG)" != x ]; then \
1140 $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \
1141 else true; fi
1142 if [ x"$(NOASANFLAG)" != x ]; then \
1143 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/physmem.c -o noasan/$@; \
1144 else true; fi
1145 $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION)
1147 ./putenv.$(objext): $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h
1148 if [ x"$(PICFLAG)" != x ]; then \
1149 $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \
1150 else true; fi
1151 if [ x"$(NOASANFLAG)" != x ]; then \
1152 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/putenv.c -o noasan/$@; \
1153 else true; fi
1154 $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION)
1156 ./random.$(objext): $(srcdir)/random.c $(INCDIR)/ansidecl.h
1157 if [ x"$(PICFLAG)" != x ]; then \
1158 $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \
1159 else true; fi
1160 if [ x"$(NOASANFLAG)" != x ]; then \
1161 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/random.c -o noasan/$@; \
1162 else true; fi
1163 $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION)
1165 ./regex.$(objext): $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h \
1166 $(INCDIR)/xregex.h $(INCDIR)/xregex2.h
1167 if [ x"$(PICFLAG)" != x ]; then \
1168 $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \
1169 else true; fi
1170 if [ x"$(NOASANFLAG)" != x ]; then \
1171 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/regex.c -o noasan/$@; \
1172 else true; fi
1173 $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION)
1175 ./rename.$(objext): $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h
1176 if [ x"$(PICFLAG)" != x ]; then \
1177 $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \
1178 else true; fi
1179 if [ x"$(NOASANFLAG)" != x ]; then \
1180 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rename.c -o noasan/$@; \
1181 else true; fi
1182 $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION)
1184 ./rindex.$(objext): $(srcdir)/rindex.c
1185 if [ x"$(PICFLAG)" != x ]; then \
1186 $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \
1187 else true; fi
1188 if [ x"$(NOASANFLAG)" != x ]; then \
1189 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rindex.c -o noasan/$@; \
1190 else true; fi
1191 $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION)
1193 ./safe-ctype.$(objext): $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
1194 $(INCDIR)/safe-ctype.h
1195 if [ x"$(PICFLAG)" != x ]; then \
1196 $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \
1197 else true; fi
1198 if [ x"$(NOASANFLAG)" != x ]; then \
1199 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/safe-ctype.c -o noasan/$@; \
1200 else true; fi
1201 $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION)
1203 ./setenv.$(objext): $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h
1204 if [ x"$(PICFLAG)" != x ]; then \
1205 $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \
1206 else true; fi
1207 if [ x"$(NOASANFLAG)" != x ]; then \
1208 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setenv.c -o noasan/$@; \
1209 else true; fi
1210 $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION)
1212 ./setproctitle.$(objext): $(srcdir)/setproctitle.c config.h $(INCDIR)/ansidecl.h
1213 if [ x"$(PICFLAG)" != x ]; then \
1214 $(COMPILE.c) $(PICFLAG) $(srcdir)/setproctitle.c -o pic/$@; \
1215 else true; fi
1216 if [ x"$(NOASANFLAG)" != x ]; then \
1217 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setproctitle.c -o noasan/$@; \
1218 else true; fi
1219 $(COMPILE.c) $(srcdir)/setproctitle.c $(OUTPUT_OPTION)
1221 ./sha1.$(objext): $(srcdir)/sha1.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/sha1.h
1222 if [ x"$(PICFLAG)" != x ]; then \
1223 $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \
1224 else true; fi
1225 if [ x"$(NOASANFLAG)" != x ]; then \
1226 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sha1.c -o noasan/$@; \
1227 else true; fi
1228 $(COMPILE.c) $(srcdir)/sha1.c $(OUTPUT_OPTION)
1230 ./sigsetmask.$(objext): $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
1231 if [ x"$(PICFLAG)" != x ]; then \
1232 $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \
1233 else true; fi
1234 if [ x"$(NOASANFLAG)" != x ]; then \
1235 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sigsetmask.c -o noasan/$@; \
1236 else true; fi
1237 $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
1239 ./simple-object-coff.$(objext): $(srcdir)/simple-object-coff.c config.h \
1240 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1241 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1242 if [ x"$(PICFLAG)" != x ]; then \
1243 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-coff.c -o pic/$@; \
1244 else true; fi
1245 if [ x"$(NOASANFLAG)" != x ]; then \
1246 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-coff.c -o noasan/$@; \
1247 else true; fi
1248 $(COMPILE.c) $(srcdir)/simple-object-coff.c $(OUTPUT_OPTION)
1250 ./simple-object-elf.$(objext): $(srcdir)/simple-object-elf.c config.h \
1251 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1252 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1253 if [ x"$(PICFLAG)" != x ]; then \
1254 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-elf.c -o pic/$@; \
1255 else true; fi
1256 if [ x"$(NOASANFLAG)" != x ]; then \
1257 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-elf.c -o noasan/$@; \
1258 else true; fi
1259 $(COMPILE.c) $(srcdir)/simple-object-elf.c $(OUTPUT_OPTION)
1261 ./simple-object-mach-o.$(objext): $(srcdir)/simple-object-mach-o.c config.h \
1262 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1263 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1264 if [ x"$(PICFLAG)" != x ]; then \
1265 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-mach-o.c -o pic/$@; \
1266 else true; fi
1267 if [ x"$(NOASANFLAG)" != x ]; then \
1268 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-mach-o.c -o noasan/$@; \
1269 else true; fi
1270 $(COMPILE.c) $(srcdir)/simple-object-mach-o.c $(OUTPUT_OPTION)
1272 ./simple-object-xcoff.$(objext): $(srcdir)/simple-object-xcoff.c config.h \
1273 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1274 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1275 if [ x"$(PICFLAG)" != x ]; then \
1276 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-xcoff.c -o pic/$@; \
1277 else true; fi
1278 if [ x"$(NOASANFLAG)" != x ]; then \
1279 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-xcoff.c -o noasan/$@; \
1280 else true; fi
1281 $(COMPILE.c) $(srcdir)/simple-object-xcoff.c $(OUTPUT_OPTION)
1283 ./simple-object.$(objext): $(srcdir)/simple-object.c config.h \
1284 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1285 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1286 if [ x"$(PICFLAG)" != x ]; then \
1287 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object.c -o pic/$@; \
1288 else true; fi
1289 if [ x"$(NOASANFLAG)" != x ]; then \
1290 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object.c -o noasan/$@; \
1291 else true; fi
1292 $(COMPILE.c) $(srcdir)/simple-object.c $(OUTPUT_OPTION)
1294 ./snprintf.$(objext): $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
1295 if [ x"$(PICFLAG)" != x ]; then \
1296 $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
1297 else true; fi
1298 if [ x"$(NOASANFLAG)" != x ]; then \
1299 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/snprintf.c -o noasan/$@; \
1300 else true; fi
1301 $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
1303 ./sort.$(objext): $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h \
1304 $(INCDIR)/libiberty.h $(INCDIR)/sort.h
1305 if [ x"$(PICFLAG)" != x ]; then \
1306 $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \
1307 else true; fi
1308 if [ x"$(NOASANFLAG)" != x ]; then \
1309 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sort.c -o noasan/$@; \
1310 else true; fi
1311 $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION)
1313 ./spaces.$(objext): $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \
1314 $(INCDIR)/libiberty.h
1315 if [ x"$(PICFLAG)" != x ]; then \
1316 $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \
1317 else true; fi
1318 if [ x"$(NOASANFLAG)" != x ]; then \
1319 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/spaces.c -o noasan/$@; \
1320 else true; fi
1321 $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION)
1323 ./splay-tree.$(objext): $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
1324 $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
1325 if [ x"$(PICFLAG)" != x ]; then \
1326 $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \
1327 else true; fi
1328 if [ x"$(NOASANFLAG)" != x ]; then \
1329 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/splay-tree.c -o noasan/$@; \
1330 else true; fi
1331 $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
1333 ./stack-limit.$(objext): $(srcdir)/stack-limit.c config.h $(INCDIR)/ansidecl.h
1334 if [ x"$(PICFLAG)" != x ]; then \
1335 $(COMPILE.c) $(PICFLAG) $(srcdir)/stack-limit.c -o pic/$@; \
1336 else true; fi
1337 if [ x"$(NOASANFLAG)" != x ]; then \
1338 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stack-limit.c -o noasan/$@; \
1339 else true; fi
1340 $(COMPILE.c) $(srcdir)/stack-limit.c $(OUTPUT_OPTION)
1342 ./stpcpy.$(objext): $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
1343 if [ x"$(PICFLAG)" != x ]; then \
1344 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
1345 else true; fi
1346 if [ x"$(NOASANFLAG)" != x ]; then \
1347 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpcpy.c -o noasan/$@; \
1348 else true; fi
1349 $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION)
1351 ./stpncpy.$(objext): $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
1352 if [ x"$(PICFLAG)" != x ]; then \
1353 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \
1354 else true; fi
1355 if [ x"$(NOASANFLAG)" != x ]; then \
1356 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpncpy.c -o noasan/$@; \
1357 else true; fi
1358 $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
1360 ./strcasecmp.$(objext): $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
1361 if [ x"$(PICFLAG)" != x ]; then \
1362 $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \
1363 else true; fi
1364 if [ x"$(NOASANFLAG)" != x ]; then \
1365 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strcasecmp.c -o noasan/$@; \
1366 else true; fi
1367 $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION)
1369 ./strchr.$(objext): $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
1370 if [ x"$(PICFLAG)" != x ]; then \
1371 $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \
1372 else true; fi
1373 if [ x"$(NOASANFLAG)" != x ]; then \
1374 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strchr.c -o noasan/$@; \
1375 else true; fi
1376 $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION)
1378 ./strdup.$(objext): $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
1379 if [ x"$(PICFLAG)" != x ]; then \
1380 $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \
1381 else true; fi
1382 if [ x"$(NOASANFLAG)" != x ]; then \
1383 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strdup.c -o noasan/$@; \
1384 else true; fi
1385 $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION)
1387 ./strerror.$(objext): $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
1388 $(INCDIR)/libiberty.h
1389 if [ x"$(PICFLAG)" != x ]; then \
1390 $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \
1391 else true; fi
1392 if [ x"$(NOASANFLAG)" != x ]; then \
1393 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strerror.c -o noasan/$@; \
1394 else true; fi
1395 $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION)
1397 ./strncasecmp.$(objext): $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
1398 if [ x"$(PICFLAG)" != x ]; then \
1399 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \
1400 else true; fi
1401 if [ x"$(NOASANFLAG)" != x ]; then \
1402 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncasecmp.c -o noasan/$@; \
1403 else true; fi
1404 $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION)
1406 ./strncmp.$(objext): $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
1407 if [ x"$(PICFLAG)" != x ]; then \
1408 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \
1409 else true; fi
1410 if [ x"$(NOASANFLAG)" != x ]; then \
1411 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncmp.c -o noasan/$@; \
1412 else true; fi
1413 $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION)
1415 ./strndup.$(objext): $(srcdir)/strndup.c $(INCDIR)/ansidecl.h
1416 if [ x"$(PICFLAG)" != x ]; then \
1417 $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \
1418 else true; fi
1419 if [ x"$(NOASANFLAG)" != x ]; then \
1420 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strndup.c -o noasan/$@; \
1421 else true; fi
1422 $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION)
1424 ./strnlen.$(objext): $(srcdir)/strnlen.c config.h
1425 if [ x"$(PICFLAG)" != x ]; then \
1426 $(COMPILE.c) $(PICFLAG) $(srcdir)/strnlen.c -o pic/$@; \
1427 else true; fi
1428 if [ x"$(NOASANFLAG)" != x ]; then \
1429 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strnlen.c -o noasan/$@; \
1430 else true; fi
1431 $(COMPILE.c) $(srcdir)/strnlen.c $(OUTPUT_OPTION)
1433 ./strrchr.$(objext): $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
1434 if [ x"$(PICFLAG)" != x ]; then \
1435 $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \
1436 else true; fi
1437 if [ x"$(NOASANFLAG)" != x ]; then \
1438 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strrchr.c -o noasan/$@; \
1439 else true; fi
1440 $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION)
1442 ./strsignal.$(objext): $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
1443 $(INCDIR)/libiberty.h
1444 if [ x"$(PICFLAG)" != x ]; then \
1445 $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \
1446 else true; fi
1447 if [ x"$(NOASANFLAG)" != x ]; then \
1448 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strsignal.c -o noasan/$@; \
1449 else true; fi
1450 $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION)
1452 ./strstr.$(objext): $(srcdir)/strstr.c
1453 if [ x"$(PICFLAG)" != x ]; then \
1454 $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \
1455 else true; fi
1456 if [ x"$(NOASANFLAG)" != x ]; then \
1457 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strstr.c -o noasan/$@; \
1458 else true; fi
1459 $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION)
1461 ./strtod.$(objext): $(srcdir)/strtod.c $(INCDIR)/ansidecl.h \
1462 $(INCDIR)/safe-ctype.h
1463 if [ x"$(PICFLAG)" != x ]; then \
1464 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \
1465 else true; fi
1466 if [ x"$(NOASANFLAG)" != x ]; then \
1467 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtod.c -o noasan/$@; \
1468 else true; fi
1469 $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION)
1471 ./strtol.$(objext): $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
1472 if [ x"$(PICFLAG)" != x ]; then \
1473 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \
1474 else true; fi
1475 if [ x"$(NOASANFLAG)" != x ]; then \
1476 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtol.c -o noasan/$@; \
1477 else true; fi
1478 $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION)
1480 ./strtoll.$(objext): $(srcdir)/strtoll.c config.h $(INCDIR)/safe-ctype.h
1481 if [ x"$(PICFLAG)" != x ]; then \
1482 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoll.c -o pic/$@; \
1483 else true; fi
1484 if [ x"$(NOASANFLAG)" != x ]; then \
1485 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoll.c -o noasan/$@; \
1486 else true; fi
1487 $(COMPILE.c) $(srcdir)/strtoll.c $(OUTPUT_OPTION)
1489 ./strtoul.$(objext): $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
1490 $(INCDIR)/safe-ctype.h
1491 if [ x"$(PICFLAG)" != x ]; then \
1492 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \
1493 else true; fi
1494 if [ x"$(NOASANFLAG)" != x ]; then \
1495 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoul.c -o noasan/$@; \
1496 else true; fi
1497 $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION)
1499 ./strtoull.$(objext): $(srcdir)/strtoull.c config.h $(INCDIR)/ansidecl.h \
1500 $(INCDIR)/safe-ctype.h
1501 if [ x"$(PICFLAG)" != x ]; then \
1502 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoull.c -o pic/$@; \
1503 else true; fi
1504 if [ x"$(NOASANFLAG)" != x ]; then \
1505 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoull.c -o noasan/$@; \
1506 else true; fi
1507 $(COMPILE.c) $(srcdir)/strtoull.c $(OUTPUT_OPTION)
1509 ./strverscmp.$(objext): $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h \
1510 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
1511 if [ x"$(PICFLAG)" != x ]; then \
1512 $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \
1513 else true; fi
1514 if [ x"$(NOASANFLAG)" != x ]; then \
1515 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strverscmp.c -o noasan/$@; \
1516 else true; fi
1517 $(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION)
1519 ./timeval-utils.$(objext): $(srcdir)/timeval-utils.c config.h \
1520 $(INCDIR)/timeval-utils.h
1521 if [ x"$(PICFLAG)" != x ]; then \
1522 $(COMPILE.c) $(PICFLAG) $(srcdir)/timeval-utils.c -o pic/$@; \
1523 else true; fi
1524 if [ x"$(NOASANFLAG)" != x ]; then \
1525 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/timeval-utils.c -o noasan/$@; \
1526 else true; fi
1527 $(COMPILE.c) $(srcdir)/timeval-utils.c $(OUTPUT_OPTION)
1529 ./tmpnam.$(objext): $(srcdir)/tmpnam.c
1530 if [ x"$(PICFLAG)" != x ]; then \
1531 $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \
1532 else true; fi
1533 if [ x"$(NOASANFLAG)" != x ]; then \
1534 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/tmpnam.c -o noasan/$@; \
1535 else true; fi
1536 $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION)
1538 ./unlink-if-ordinary.$(objext): $(srcdir)/unlink-if-ordinary.c config.h \
1539 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1540 if [ x"$(PICFLAG)" != x ]; then \
1541 $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \
1542 else true; fi
1543 if [ x"$(NOASANFLAG)" != x ]; then \
1544 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/unlink-if-ordinary.c -o noasan/$@; \
1545 else true; fi
1546 $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION)
1548 ./vasprintf.$(objext): $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
1549 $(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h
1550 if [ x"$(PICFLAG)" != x ]; then \
1551 $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \
1552 else true; fi
1553 if [ x"$(NOASANFLAG)" != x ]; then \
1554 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vasprintf.c -o noasan/$@; \
1555 else true; fi
1556 $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION)
1558 ./vfork.$(objext): $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
1559 if [ x"$(PICFLAG)" != x ]; then \
1560 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \
1561 else true; fi
1562 if [ x"$(NOASANFLAG)" != x ]; then \
1563 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfork.c -o noasan/$@; \
1564 else true; fi
1565 $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION)
1567 ./vfprintf.$(objext): $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
1568 if [ x"$(PICFLAG)" != x ]; then \
1569 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \
1570 else true; fi
1571 if [ x"$(NOASANFLAG)" != x ]; then \
1572 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfprintf.c -o noasan/$@; \
1573 else true; fi
1574 $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION)
1576 ./vprintf-support.$(objext): $(srcdir)/vprintf-support.c config.h \
1577 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1578 if [ x"$(PICFLAG)" != x ]; then \
1579 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf-support.c -o pic/$@; \
1580 else true; fi
1581 if [ x"$(NOASANFLAG)" != x ]; then \
1582 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf-support.c -o noasan/$@; \
1583 else true; fi
1584 $(COMPILE.c) $(srcdir)/vprintf-support.c $(OUTPUT_OPTION)
1586 ./vprintf.$(objext): $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
1587 if [ x"$(PICFLAG)" != x ]; then \
1588 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \
1589 else true; fi
1590 if [ x"$(NOASANFLAG)" != x ]; then \
1591 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf.c -o noasan/$@; \
1592 else true; fi
1593 $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION)
1595 ./vsnprintf.$(objext): $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
1596 $(INCDIR)/libiberty.h
1597 if [ x"$(PICFLAG)" != x ]; then \
1598 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \
1599 else true; fi
1600 if [ x"$(NOASANFLAG)" != x ]; then \
1601 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsnprintf.c -o noasan/$@; \
1602 else true; fi
1603 $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION)
1605 ./vsprintf.$(objext): $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
1606 if [ x"$(PICFLAG)" != x ]; then \
1607 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \
1608 else true; fi
1609 if [ x"$(NOASANFLAG)" != x ]; then \
1610 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsprintf.c -o noasan/$@; \
1611 else true; fi
1612 $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION)
1614 ./waitpid.$(objext): $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h
1615 if [ x"$(PICFLAG)" != x ]; then \
1616 $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \
1617 else true; fi
1618 if [ x"$(NOASANFLAG)" != x ]; then \
1619 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/waitpid.c -o noasan/$@; \
1620 else true; fi
1621 $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION)
1623 ./xasprintf.$(objext): $(srcdir)/xasprintf.c config.h $(INCDIR)/ansidecl.h \
1624 $(INCDIR)/libiberty.h
1625 if [ x"$(PICFLAG)" != x ]; then \
1626 $(COMPILE.c) $(PICFLAG) $(srcdir)/xasprintf.c -o pic/$@; \
1627 else true; fi
1628 if [ x"$(NOASANFLAG)" != x ]; then \
1629 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xasprintf.c -o noasan/$@; \
1630 else true; fi
1631 $(COMPILE.c) $(srcdir)/xasprintf.c $(OUTPUT_OPTION)
1633 ./xatexit.$(objext): $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \
1634 $(INCDIR)/libiberty.h
1635 if [ x"$(PICFLAG)" != x ]; then \
1636 $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \
1637 else true; fi
1638 if [ x"$(NOASANFLAG)" != x ]; then \
1639 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xatexit.c -o noasan/$@; \
1640 else true; fi
1641 $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION)
1643 ./xexit.$(objext): $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h \
1644 $(INCDIR)/libiberty.h
1645 if [ x"$(PICFLAG)" != x ]; then \
1646 $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \
1647 else true; fi
1648 if [ x"$(NOASANFLAG)" != x ]; then \
1649 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xexit.c -o noasan/$@; \
1650 else true; fi
1651 $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION)
1653 ./xmalloc.$(objext): $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
1654 $(INCDIR)/libiberty.h
1655 if [ x"$(PICFLAG)" != x ]; then \
1656 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \
1657 else true; fi
1658 if [ x"$(NOASANFLAG)" != x ]; then \
1659 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmalloc.c -o noasan/$@; \
1660 else true; fi
1661 $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION)
1663 ./xmemdup.$(objext): $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
1664 $(INCDIR)/libiberty.h
1665 if [ x"$(PICFLAG)" != x ]; then \
1666 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \
1667 else true; fi
1668 if [ x"$(NOASANFLAG)" != x ]; then \
1669 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmemdup.c -o noasan/$@; \
1670 else true; fi
1671 $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION)
1673 ./xstrdup.$(objext): $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
1674 $(INCDIR)/libiberty.h
1675 if [ x"$(PICFLAG)" != x ]; then \
1676 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \
1677 else true; fi
1678 if [ x"$(NOASANFLAG)" != x ]; then \
1679 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrdup.c -o noasan/$@; \
1680 else true; fi
1681 $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION)
1683 ./xstrerror.$(objext): $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
1684 $(INCDIR)/libiberty.h
1685 if [ x"$(PICFLAG)" != x ]; then \
1686 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \
1687 else true; fi
1688 if [ x"$(NOASANFLAG)" != x ]; then \
1689 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrerror.c -o noasan/$@; \
1690 else true; fi
1691 $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION)
1693 ./xstrndup.$(objext): $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \
1694 $(INCDIR)/libiberty.h
1695 if [ x"$(PICFLAG)" != x ]; then \
1696 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \
1697 else true; fi
1698 if [ x"$(NOASANFLAG)" != x ]; then \
1699 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrndup.c -o noasan/$@; \
1700 else true; fi
1701 $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION)
1703 ./xvasprintf.$(objext): $(srcdir)/xvasprintf.c config.h $(INCDIR)/ansidecl.h \
1704 $(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h
1705 if [ x"$(PICFLAG)" != x ]; then \
1706 $(COMPILE.c) $(PICFLAG) $(srcdir)/xvasprintf.c -o pic/$@; \
1707 else true; fi
1708 if [ x"$(NOASANFLAG)" != x ]; then \
1709 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xvasprintf.c -o noasan/$@; \
1710 else true; fi
1711 $(COMPILE.c) $(srcdir)/xvasprintf.c $(OUTPUT_OPTION)