libiberty/ChangeLog:
[official-gcc.git] / libiberty / Makefile.in
blobf06cc69a973bcf39235febce84a2d7fad7130eed
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@
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) $(HDEFINES) @ac_libiberty_warn_cflags@
118 # Just to make sure we don't use a built-in rule with VPATH
119 .c.$(objext):
120 false
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 d-demangle.c 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 \
134 gettimeofday.c \
135 hashtab.c hex.c \
136 index.c insque.c \
137 lbasename.c \
138 lrealpath.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 \
146 physmem.c putenv.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 \
151 snprintf.c sort.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 strtoll.c strtoul.c strtoull.c strndup.c strnlen.c \
156 strverscmp.c timeval-utils.c tmpnam.c \
157 unlink-if-ordinary.c \
158 vasprintf.c vfork.c vfprintf.c vprintf.c vprintf-support.c \
159 vsnprintf.c vsprintf.c \
160 waitpid.c \
161 xasprintf.c xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c \
162 xstrerror.c xstrndup.c xvasprintf.c
164 # These are always included in the library. The first four are listed
165 # first and by compile time to optimize parallel builds.
166 REQUIRED_OFILES = \
167 ./regex.$(objext) ./cplus-dem.$(objext) ./cp-demangle.$(objext) \
168 ./md5.$(objext) ./sha1.$(objext) ./alloca.$(objext) \
169 ./argv.$(objext) \
170 ./choose-temp.$(objext) ./concat.$(objext) \
171 ./cp-demint.$(objext) ./crc32.$(objext) ./d-demangle.$(objext) \
172 ./dwarfnames.$(objext) ./dyn-string.$(objext) \
173 ./fdmatch.$(objext) ./fibheap.$(objext) \
174 ./filename_cmp.$(objext) ./floatformat.$(objext) \
175 ./fnmatch.$(objext) ./fopen_unlocked.$(objext) \
176 ./getopt.$(objext) ./getopt1.$(objext) ./getpwd.$(objext) \
177 ./getruntime.$(objext) ./hashtab.$(objext) ./hex.$(objext) \
178 ./lbasename.$(objext) ./lrealpath.$(objext) \
179 ./make-relative-prefix.$(objext) ./make-temp-file.$(objext) \
180 ./objalloc.$(objext) \
181 ./obstack.$(objext) \
182 ./partition.$(objext) ./pexecute.$(objext) ./physmem.$(objext) \
183 ./pex-common.$(objext) ./pex-one.$(objext) \
184 ./@pexecute@.$(objext) ./vprintf-support.$(objext) \
185 ./safe-ctype.$(objext) \
186 ./simple-object.$(objext) ./simple-object-coff.$(objext) \
187 ./simple-object-elf.$(objext) ./simple-object-mach-o.$(objext) \
188 ./simple-object-xcoff.$(objext) \
189 ./sort.$(objext) ./spaces.$(objext) \
190 ./splay-tree.$(objext) ./stack-limit.$(objext) \
191 ./strerror.$(objext) ./strsignal.$(objext) \
192 ./timeval-utils.$(objext) ./unlink-if-ordinary.$(objext) \
193 ./xasprintf.$(objext) ./xatexit.$(objext) ./xexit.$(objext) \
194 ./xmalloc.$(objext) ./xmemdup.$(objext) ./xstrdup.$(objext) \
195 ./xstrerror.$(objext) ./xstrndup.$(objext) \
196 ./xvasprintf.$(objext)
198 # These are all the objects that configure may add to the library via
199 # $funcs or EXTRA_OFILES. This list exists here only for "make
200 # maint-missing" and "make check".
201 CONFIGURED_OFILES = ./asprintf.$(objext) ./atexit.$(objext) \
202 ./basename.$(objext) ./bcmp.$(objext) ./bcopy.$(objext) \
203 ./bsearch.$(objext) ./bzero.$(objext) \
204 ./calloc.$(objext) ./clock.$(objext) ./copysign.$(objext) \
205 ./_doprnt.$(objext) \
206 ./ffs.$(objext) \
207 ./getcwd.$(objext) ./getpagesize.$(objext) \
208 ./gettimeofday.$(objext) \
209 ./index.$(objext) ./insque.$(objext) \
210 ./memchr.$(objext) ./memcmp.$(objext) ./memcpy.$(objext) \
211 ./memmem.$(objext) ./memmove.$(objext) \
212 ./mempcpy.$(objext) ./memset.$(objext) ./mkstemps.$(objext) \
213 ./pex-djgpp.$(objext) ./pex-msdos.$(objext) \
214 ./pex-unix.$(objext) ./pex-win32.$(objext) \
215 ./putenv.$(objext) \
216 ./random.$(objext) ./rename.$(objext) ./rindex.$(objext) \
217 ./setenv.$(objext) \
218 ./setproctitle.$(objext) \
219 ./sigsetmask.$(objext) ./snprintf.$(objext) \
220 ./stpcpy.$(objext) ./stpncpy.$(objext) ./strcasecmp.$(objext) \
221 ./strchr.$(objext) ./strdup.$(objext) ./strncasecmp.$(objext) \
222 ./strncmp.$(objext) ./strndup.$(objext) ./strnlen.$(objext) \
223 ./strrchr.$(objext) ./strstr.$(objext) ./strtod.$(objext) \
224 ./strtol.$(objext) ./strtoul.$(objext) strtoll.$(objext) \
225 ./strtoull.$(objext) ./tmpnam.$(objext) ./strverscmp.$(objext) \
226 ./vasprintf.$(objext) ./vfork.$(objext) ./vfprintf.$(objext) \
227 ./vprintf.$(objext) ./vsnprintf.$(objext) ./vsprintf.$(objext) \
228 ./waitpid.$(objext)
230 # These files are installed if the library has been configured to do so.
231 INSTALLED_HEADERS = \
232 $(INCDIR)/ansidecl.h \
233 $(INCDIR)/demangle.h \
234 $(INCDIR)/dyn-string.h \
235 $(INCDIR)/fibheap.h \
236 $(INCDIR)/floatformat.h \
237 $(INCDIR)/hashtab.h \
238 $(INCDIR)/libiberty.h \
239 $(INCDIR)/objalloc.h \
240 $(INCDIR)/partition.h \
241 $(INCDIR)/safe-ctype.h \
242 $(INCDIR)/sort.h \
243 $(INCDIR)/splay-tree.h \
244 $(INCDIR)/timeval-utils.h
246 $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
247 -rm -f $(TARGETLIB) pic/$(TARGETLIB) noasan/$(TARGETLIB)
248 $(AR) $(AR_FLAGS) $(TARGETLIB) \
249 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
250 $(RANLIB) $(TARGETLIB)
251 if [ x"$(PICFLAG)" != x ]; then \
252 cd pic; \
253 $(AR) $(AR_FLAGS) $(TARGETLIB) \
254 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
255 $(RANLIB) $(TARGETLIB); \
256 cd ..; \
257 else true; fi; \
258 if [ x"$(NOASANFLAG)" != x ]; then \
259 cd noasan; \
260 $(AR) $(AR_FLAGS) $(TARGETLIB) \
261 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
262 $(RANLIB) $(TARGETLIB); \
263 cd ..; \
264 else true; fi
266 $(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
267 -rm -f $(TESTLIB)
268 $(AR) $(AR_FLAGS) $(TESTLIB) \
269 $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
270 $(RANLIB) $(TESTLIB)
272 info: libiberty.info info-subdir
273 install-info: install-info-subdir
274 clean-info: clean-info-subdir
275 dvi: libiberty.dvi dvi-subdir
277 LIBIBERTY_PDFFILES = libiberty.pdf
279 pdf: $(LIBIBERTY_PDFFILES) pdf-subdir
281 .PHONY: install-pdf
283 pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
285 install-pdf: $(LIBIBERTY_PDFFILES)
286 @$(NORMAL_INSTALL)
287 test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)"
288 @list='$(LIBIBERTY_PDFFILES)'; for p in $$list; do \
289 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
290 f=$(pdf__strip_dir) \
291 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
292 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
293 done
295 # html, install-html targets
296 HTMLS = libiberty.html
298 html: $(HTMLS)
300 .PHONY: install-html install-html-am
302 NORMAL_INSTALL = :
303 mkdir_p = mkdir -p --
305 html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
307 install-html: install-html-am
309 install-html-am: $(HTMLS)
310 @$(NORMAL_INSTALL)
311 test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
312 @list='$(HTMLS)'; for p in $$list; do \
313 if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
314 f=$(html__strip_dir) \
315 if test -d "$$d$$p"; then \
316 echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \
317 $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
318 echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
319 $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
320 else \
321 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
322 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
323 fi; \
324 done
326 TEXISRC = \
327 $(srcdir)/libiberty.texi \
328 $(srcdir)/copying-lib.texi \
329 $(srcdir)/obstacks.texi \
330 $(srcdir)/functions.texi
332 # Additional files that have texi snippets that need to be collected
333 # and sorted. Some are here because the sources are imported from
334 # elsewhere. Others represent headers in ../include.
335 TEXIFILES = fnmatch.txh pexecute.txh simple-object.txh
337 libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC)
338 $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi
340 libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC)
341 texi2dvi $(srcdir)/libiberty.texi
343 libiberty.pdf : $(srcdir)/libiberty.texi $(TEXISRC)
344 texi2pdf $(srcdir)/libiberty.texi
346 libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
347 $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $<
349 @MAINT@$(srcdir)/functions.texi : stamp-functions
350 @MAINT@ @true
352 @MAINT@stamp-functions : $(CFILES:%=$(srcdir)/%) $(TEXIFILES:%=$(srcdir)/%) $(srcdir)/gather-docs Makefile
353 @MAINT@@HAVE_PERL@ $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES)
354 @MAINT@ echo stamp > stamp-functions
356 INSTALL_DEST = @INSTALL_DEST@
357 install: install_to_$(INSTALL_DEST) install-subdir
358 install-strip: install
360 .PHONY: install install-strip
362 # This is tricky. Even though CC in the Makefile contains
363 # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
364 # default multilib, so we have to take CFLAGS into account as well,
365 # since it will be passed the multilib flags.
366 MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
367 install_to_libdir: all
368 if test -n "${target_header_dir}"; then \
369 ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR); \
370 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n; \
371 ( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n ); \
372 mv -f $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB); \
373 case "${target_header_dir}" in \
374 /*) thd=${target_header_dir};; \
375 *) thd=${includedir}/${target_header_dir};; \
376 esac; \
377 ${mkinstalldirs} $(DESTDIR)$${thd}; \
378 for h in ${INSTALLED_HEADERS}; do \
379 ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \
380 done; \
382 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
384 install_to_tooldir: all
385 ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)
386 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n
387 ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n )
388 mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
389 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
391 # required-list was used when building a shared bfd/opcodes/libiberty
392 # library. I don't know if it used by anything currently.
393 required-list: Makefile
394 echo $(REQUIRED_OFILES) > required-list
396 stamp-picdir:
397 if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
398 mkdir pic; \
399 else true; fi
400 touch stamp-picdir
402 stamp-noasandir:
403 if [ x"$(NOASANFLAG)" != x ] && [ ! -d noasan ]; then \
404 mkdir noasan; \
405 else true; fi
406 touch stamp-noasandir
408 .PHONY: all etags tags ls clean stage1 stage2
410 etags tags: TAGS etags-subdir
412 TAGS: $(CFILES)
413 etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done`
415 # The standalone demangler (c++filt) has been moved to binutils.
416 # But make this target work anyway for demangler hacking.
417 demangle: $(ALL) $(srcdir)/cp-demangle.c
418 @echo "The standalone demangler, now named c++filt, is now"
419 @echo "a part of binutils."
420 $(CC) @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) \
421 $(srcdir)/cp-demangle.c -DSTANDALONE_DEMANGLER $(TARGETLIB) -o $@
424 @echo Makefile $(CFILES)
426 # Various targets for maintainers.
428 maint-missing :
429 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
431 maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
432 @true
434 maint-undoc : $(srcdir)/functions.texi
435 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
437 maint-deps :
438 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
440 # Need to deal with profiled libraries, too.
442 # Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS
443 # multiple times, hence our explicit recursion with an empty SUBDIRS.
444 mostlyclean: mostlyclean-subdir
445 -rm -rf *.$(objext) pic noasan core errs \#* *.E a.out
446 -rm -f errors dummy config.h stamp-*
447 -rm -f $(CONFIG_H) stamp-picdir stamp-noasandir
448 -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
449 -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
450 -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr
451 -rm -f libtexi.stamp
452 @$(MULTICLEAN) multi-clean DO=mostlyclean
453 clean: clean-subdir
454 $(MAKE) SUBDIRS="" mostlyclean
455 -rm -f *.a required-list tmpmulti.out
456 -rm -f libiberty.dvi libiberty.pdf libiberty.info* libiberty.html
457 @$(MULTICLEAN) multi-clean DO=clean
458 distclean: distclean-subdir
459 $(MAKE) SUBDIRS="" clean
460 @$(MULTICLEAN) multi-clean DO=distclean
461 -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
462 -rm -f config.log
463 -rmdir testsuite 2>/dev/null
464 maintainer-clean realclean: maintainer-clean-subdir
465 $(MAKE) SUBDIRS="" distclean
467 force:
469 Makefile: $(srcdir)/Makefile.in config.status
470 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
472 # Depending on Makefile makes sure that config.status has been re-run
473 # if needed. This prevents problems with parallel builds.
474 config.h: stamp-h ; @true
475 stamp-h: $(srcdir)/config.in config.status Makefile
476 CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status
478 config.status: $(srcdir)/configure
479 $(SHELL) ./config.status --recheck
481 AUTOCONF = autoconf
482 configure_deps = $(srcdir)/aclocal.m4 \
483 $(srcdir)/../config/acx.m4 \
484 $(srcdir)/../config/no-executables.m4 \
485 $(srcdir)/../config/override.m4 \
486 $(srcdir)/../config/warnings.m4 \
488 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(configure_deps)
489 cd $(srcdir) && $(AUTOCONF)
491 # Depending on config.h makes sure that config.status has been re-run
492 # if needed. This prevents problems with parallel builds, in case
493 # subdirectories need to run config.status also.
494 all-subdir check-subdir installcheck-subdir info-subdir \
495 install-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir \
496 etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
497 maintainer-clean-subdir: config.h
498 @subdirs='$(SUBDIRS)'; \
499 target=`echo $@ | sed -e 's/-subdir//'`; \
500 for dir in $$subdirs ; do \
501 cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
502 done
504 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir stamp-noasandir
505 $(CONFIGURED_OFILES): stamp-picdir stamp-noasandir
507 # Don't export variables to the environment, in order to not confuse
508 # configure.
509 .NOEXPORT:
511 # The dependencies in the remainder of this file are automatically
512 # generated by "make maint-deps". Manual edits will be lost.
514 ./_doprnt.$(objext): $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \
515 $(INCDIR)/safe-ctype.h
516 if [ x"$(PICFLAG)" != x ]; then \
517 $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \
518 else true; fi
519 if [ x"$(NOASANFLAG)" != x ]; then \
520 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/_doprnt.c -o noasan/$@; \
521 else true; fi
522 $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION)
524 ./alloca.$(objext): $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
525 $(INCDIR)/libiberty.h
526 if [ x"$(PICFLAG)" != x ]; then \
527 $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \
528 else true; fi
529 if [ x"$(NOASANFLAG)" != x ]; then \
530 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/alloca.c -o noasan/$@; \
531 else true; fi
532 $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION)
534 ./argv.$(objext): $(srcdir)/argv.c config.h $(INCDIR)/ansidecl.h \
535 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
536 if [ x"$(PICFLAG)" != x ]; then \
537 $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \
538 else true; fi
539 if [ x"$(NOASANFLAG)" != x ]; then \
540 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/argv.c -o noasan/$@; \
541 else true; fi
542 $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION)
544 ./asprintf.$(objext): $(srcdir)/asprintf.c config.h $(INCDIR)/ansidecl.h \
545 $(INCDIR)/libiberty.h
546 if [ x"$(PICFLAG)" != x ]; then \
547 $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \
548 else true; fi
549 if [ x"$(NOASANFLAG)" != x ]; then \
550 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/asprintf.c -o noasan/$@; \
551 else true; fi
552 $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION)
554 ./atexit.$(objext): $(srcdir)/atexit.c config.h
555 if [ x"$(PICFLAG)" != x ]; then \
556 $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \
557 else true; fi
558 if [ x"$(NOASANFLAG)" != x ]; then \
559 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/atexit.c -o noasan/$@; \
560 else true; fi
561 $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION)
563 ./basename.$(objext): $(srcdir)/basename.c config.h $(INCDIR)/ansidecl.h \
564 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
565 if [ x"$(PICFLAG)" != x ]; then \
566 $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \
567 else true; fi
568 if [ x"$(NOASANFLAG)" != x ]; then \
569 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/basename.c -o noasan/$@; \
570 else true; fi
571 $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION)
573 ./bcmp.$(objext): $(srcdir)/bcmp.c
574 if [ x"$(PICFLAG)" != x ]; then \
575 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \
576 else true; fi
577 if [ x"$(NOASANFLAG)" != x ]; then \
578 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcmp.c -o noasan/$@; \
579 else true; fi
580 $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION)
582 ./bcopy.$(objext): $(srcdir)/bcopy.c
583 if [ x"$(PICFLAG)" != x ]; then \
584 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \
585 else true; fi
586 if [ x"$(NOASANFLAG)" != x ]; then \
587 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcopy.c -o noasan/$@; \
588 else true; fi
589 $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION)
591 ./bsearch.$(objext): $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h
592 if [ x"$(PICFLAG)" != x ]; then \
593 $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \
594 else true; fi
595 if [ x"$(NOASANFLAG)" != x ]; then \
596 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bsearch.c -o noasan/$@; \
597 else true; fi
598 $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION)
600 ./bzero.$(objext): $(srcdir)/bzero.c
601 if [ x"$(PICFLAG)" != x ]; then \
602 $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \
603 else true; fi
604 if [ x"$(NOASANFLAG)" != x ]; then \
605 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bzero.c -o noasan/$@; \
606 else true; fi
607 $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION)
609 ./calloc.$(objext): $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
610 if [ x"$(PICFLAG)" != x ]; then \
611 $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \
612 else true; fi
613 if [ x"$(NOASANFLAG)" != x ]; then \
614 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/calloc.c -o noasan/$@; \
615 else true; fi
616 $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION)
618 ./choose-temp.$(objext): $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
619 $(INCDIR)/libiberty.h
620 if [ x"$(PICFLAG)" != x ]; then \
621 $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \
622 else true; fi
623 if [ x"$(NOASANFLAG)" != x ]; then \
624 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/choose-temp.c -o noasan/$@; \
625 else true; fi
626 $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION)
628 ./clock.$(objext): $(srcdir)/clock.c config.h
629 if [ x"$(PICFLAG)" != x ]; then \
630 $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \
631 else true; fi
632 if [ x"$(NOASANFLAG)" != x ]; then \
633 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/clock.c -o noasan/$@; \
634 else true; fi
635 $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION)
637 ./concat.$(objext): $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
638 $(INCDIR)/libiberty.h
639 if [ x"$(PICFLAG)" != x ]; then \
640 $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \
641 else true; fi
642 if [ x"$(NOASANFLAG)" != x ]; then \
643 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/concat.c -o noasan/$@; \
644 else true; fi
645 $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION)
647 ./copysign.$(objext): $(srcdir)/copysign.c $(INCDIR)/ansidecl.h
648 if [ x"$(PICFLAG)" != x ]; then \
649 $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \
650 else true; fi
651 if [ x"$(NOASANFLAG)" != x ]; then \
652 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/copysign.c -o noasan/$@; \
653 else true; fi
654 $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION)
656 ./cp-demangle.$(objext): $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
657 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
658 $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
659 if [ x"$(PICFLAG)" != x ]; then \
660 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \
661 else true; fi
662 if [ x"$(NOASANFLAG)" != x ]; then \
663 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demangle.c -o noasan/$@; \
664 else true; fi
665 $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION)
667 ./cp-demint.$(objext): $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
668 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
669 $(INCDIR)/libiberty.h
670 if [ x"$(PICFLAG)" != x ]; then \
671 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \
672 else true; fi
673 if [ x"$(NOASANFLAG)" != x ]; then \
674 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demint.c -o noasan/$@; \
675 else true; fi
676 $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION)
678 ./cplus-dem.$(objext): $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
679 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
680 $(INCDIR)/safe-ctype.h
681 if [ x"$(PICFLAG)" != x ]; then \
682 $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \
683 else true; fi
684 if [ x"$(NOASANFLAG)" != x ]; then \
685 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cplus-dem.c -o noasan/$@; \
686 else true; fi
687 $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION)
689 ./crc32.$(objext): $(srcdir)/crc32.c config.h $(INCDIR)/ansidecl.h \
690 $(INCDIR)/libiberty.h
691 if [ x"$(PICFLAG)" != x ]; then \
692 $(COMPILE.c) $(PICFLAG) $(srcdir)/crc32.c -o pic/$@; \
693 else true; fi
694 if [ x"$(NOASANFLAG)" != x ]; then \
695 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/crc32.c -o noasan/$@; \
696 else true; fi
697 $(COMPILE.c) $(srcdir)/crc32.c $(OUTPUT_OPTION)
699 ./d-demangle.$(objext): $(srcdir)/d-demangle.c config.h $(INCDIR)/ansidecl.h \
700 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
701 $(INCDIR)/safe-ctype.h
702 if [ x"$(PICFLAG)" != x ]; then \
703 $(COMPILE.c) $(PICFLAG) $(srcdir)/d-demangle.c -o pic/$@; \
704 else true; fi
705 if [ x"$(NOASANFLAG)" != x ]; then \
706 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/d-demangle.c -o noasan/$@; \
707 else true; fi
708 $(COMPILE.c) $(srcdir)/d-demangle.c $(OUTPUT_OPTION)
710 ./dwarfnames.$(objext): $(srcdir)/dwarfnames.c $(INCDIR)/dwarf2.def \
711 $(INCDIR)/dwarf2.h
712 if [ x"$(PICFLAG)" != x ]; then \
713 $(COMPILE.c) $(PICFLAG) $(srcdir)/dwarfnames.c -o pic/$@; \
714 else true; fi
715 if [ x"$(NOASANFLAG)" != x ]; then \
716 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dwarfnames.c -o noasan/$@; \
717 else true; fi
718 $(COMPILE.c) $(srcdir)/dwarfnames.c $(OUTPUT_OPTION)
720 ./dyn-string.$(objext): $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
721 $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
722 if [ x"$(PICFLAG)" != x ]; then \
723 $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \
724 else true; fi
725 if [ x"$(NOASANFLAG)" != x ]; then \
726 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dyn-string.c -o noasan/$@; \
727 else true; fi
728 $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION)
730 ./fdmatch.$(objext): $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \
731 $(INCDIR)/libiberty.h
732 if [ x"$(PICFLAG)" != x ]; then \
733 $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \
734 else true; fi
735 if [ x"$(NOASANFLAG)" != x ]; then \
736 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fdmatch.c -o noasan/$@; \
737 else true; fi
738 $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION)
740 ./ffs.$(objext): $(srcdir)/ffs.c
741 if [ x"$(PICFLAG)" != x ]; then \
742 $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \
743 else true; fi
744 if [ x"$(NOASANFLAG)" != x ]; then \
745 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/ffs.c -o noasan/$@; \
746 else true; fi
747 $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION)
749 ./fibheap.$(objext): $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
750 $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h
751 if [ x"$(PICFLAG)" != x ]; then \
752 $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \
753 else true; fi
754 if [ x"$(NOASANFLAG)" != x ]; then \
755 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fibheap.c -o noasan/$@; \
756 else true; fi
757 $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION)
759 ./filename_cmp.$(objext): $(srcdir)/filename_cmp.c config.h $(INCDIR)/ansidecl.h \
760 $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
761 $(INCDIR)/safe-ctype.h
762 if [ x"$(PICFLAG)" != x ]; then \
763 $(COMPILE.c) $(PICFLAG) $(srcdir)/filename_cmp.c -o pic/$@; \
764 else true; fi
765 if [ x"$(NOASANFLAG)" != x ]; then \
766 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/filename_cmp.c -o noasan/$@; \
767 else true; fi
768 $(COMPILE.c) $(srcdir)/filename_cmp.c $(OUTPUT_OPTION)
770 ./floatformat.$(objext): $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
771 $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
772 if [ x"$(PICFLAG)" != x ]; then \
773 $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \
774 else true; fi
775 if [ x"$(NOASANFLAG)" != x ]; then \
776 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/floatformat.c -o noasan/$@; \
777 else true; fi
778 $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION)
780 ./fnmatch.$(objext): $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
781 $(INCDIR)/safe-ctype.h
782 if [ x"$(PICFLAG)" != x ]; then \
783 $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \
784 else true; fi
785 if [ x"$(NOASANFLAG)" != x ]; then \
786 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fnmatch.c -o noasan/$@; \
787 else true; fi
788 $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION)
790 ./fopen_unlocked.$(objext): $(srcdir)/fopen_unlocked.c config.h \
791 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
792 if [ x"$(PICFLAG)" != x ]; then \
793 $(COMPILE.c) $(PICFLAG) $(srcdir)/fopen_unlocked.c -o pic/$@; \
794 else true; fi
795 if [ x"$(NOASANFLAG)" != x ]; then \
796 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fopen_unlocked.c -o noasan/$@; \
797 else true; fi
798 $(COMPILE.c) $(srcdir)/fopen_unlocked.c $(OUTPUT_OPTION)
800 ./getcwd.$(objext): $(srcdir)/getcwd.c config.h
801 if [ x"$(PICFLAG)" != x ]; then \
802 $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \
803 else true; fi
804 if [ x"$(NOASANFLAG)" != x ]; then \
805 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getcwd.c -o noasan/$@; \
806 else true; fi
807 $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION)
809 ./getopt.$(objext): $(srcdir)/getopt.c config.h $(INCDIR)/ansidecl.h \
810 $(INCDIR)/getopt.h
811 if [ x"$(PICFLAG)" != x ]; then \
812 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \
813 else true; fi
814 if [ x"$(NOASANFLAG)" != x ]; then \
815 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt.c -o noasan/$@; \
816 else true; fi
817 $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION)
819 ./getopt1.$(objext): $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h
820 if [ x"$(PICFLAG)" != x ]; then \
821 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \
822 else true; fi
823 if [ x"$(NOASANFLAG)" != x ]; then \
824 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt1.c -o noasan/$@; \
825 else true; fi
826 $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION)
828 ./getpagesize.$(objext): $(srcdir)/getpagesize.c config.h
829 if [ x"$(PICFLAG)" != x ]; then \
830 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \
831 else true; fi
832 if [ x"$(NOASANFLAG)" != x ]; then \
833 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpagesize.c -o noasan/$@; \
834 else true; fi
835 $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION)
837 ./getpwd.$(objext): $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
838 $(INCDIR)/libiberty.h
839 if [ x"$(PICFLAG)" != x ]; then \
840 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \
841 else true; fi
842 if [ x"$(NOASANFLAG)" != x ]; then \
843 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpwd.c -o noasan/$@; \
844 else true; fi
845 $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION)
847 ./getruntime.$(objext): $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
848 $(INCDIR)/libiberty.h
849 if [ x"$(PICFLAG)" != x ]; then \
850 $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \
851 else true; fi
852 if [ x"$(NOASANFLAG)" != x ]; then \
853 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getruntime.c -o noasan/$@; \
854 else true; fi
855 $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION)
857 ./gettimeofday.$(objext): $(srcdir)/gettimeofday.c config.h $(INCDIR)/ansidecl.h \
858 $(INCDIR)/libiberty.h
859 if [ x"$(PICFLAG)" != x ]; then \
860 $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \
861 else true; fi
862 if [ x"$(NOASANFLAG)" != x ]; then \
863 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/gettimeofday.c -o noasan/$@; \
864 else true; fi
865 $(COMPILE.c) $(srcdir)/gettimeofday.c $(OUTPUT_OPTION)
867 ./hashtab.$(objext): $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
868 $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
869 if [ x"$(PICFLAG)" != x ]; then \
870 $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \
871 else true; fi
872 if [ x"$(NOASANFLAG)" != x ]; then \
873 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hashtab.c -o noasan/$@; \
874 else true; fi
875 $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION)
877 ./hex.$(objext): $(srcdir)/hex.c config.h $(INCDIR)/ansidecl.h \
878 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
879 if [ x"$(PICFLAG)" != x ]; then \
880 $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \
881 else true; fi
882 if [ x"$(NOASANFLAG)" != x ]; then \
883 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hex.c -o noasan/$@; \
884 else true; fi
885 $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION)
887 ./index.$(objext): $(srcdir)/index.c
888 if [ x"$(PICFLAG)" != x ]; then \
889 $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \
890 else true; fi
891 if [ x"$(NOASANFLAG)" != x ]; then \
892 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/index.c -o noasan/$@; \
893 else true; fi
894 $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION)
896 ./insque.$(objext): $(srcdir)/insque.c
897 if [ x"$(PICFLAG)" != x ]; then \
898 $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \
899 else true; fi
900 if [ x"$(NOASANFLAG)" != x ]; then \
901 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/insque.c -o noasan/$@; \
902 else true; fi
903 $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION)
905 ./lbasename.$(objext): $(srcdir)/lbasename.c config.h $(INCDIR)/ansidecl.h \
906 $(INCDIR)/filenames.h $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h \
907 $(INCDIR)/safe-ctype.h
908 if [ x"$(PICFLAG)" != x ]; then \
909 $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \
910 else true; fi
911 if [ x"$(NOASANFLAG)" != x ]; then \
912 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lbasename.c -o noasan/$@; \
913 else true; fi
914 $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION)
916 ./lrealpath.$(objext): $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
917 $(INCDIR)/libiberty.h
918 if [ x"$(PICFLAG)" != x ]; then \
919 $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \
920 else true; fi
921 if [ x"$(NOASANFLAG)" != x ]; then \
922 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lrealpath.c -o noasan/$@; \
923 else true; fi
924 $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION)
926 ./make-relative-prefix.$(objext): $(srcdir)/make-relative-prefix.c config.h \
927 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
928 if [ x"$(PICFLAG)" != x ]; then \
929 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \
930 else true; fi
931 if [ x"$(NOASANFLAG)" != x ]; then \
932 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-relative-prefix.c -o noasan/$@; \
933 else true; fi
934 $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION)
936 ./make-temp-file.$(objext): $(srcdir)/make-temp-file.c config.h \
937 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
938 if [ x"$(PICFLAG)" != x ]; then \
939 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \
940 else true; fi
941 if [ x"$(NOASANFLAG)" != x ]; then \
942 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-temp-file.c -o noasan/$@; \
943 else true; fi
944 $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION)
946 ./md5.$(objext): $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
947 if [ x"$(PICFLAG)" != x ]; then \
948 $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \
949 else true; fi
950 if [ x"$(NOASANFLAG)" != x ]; then \
951 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/md5.c -o noasan/$@; \
952 else true; fi
953 $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION)
955 ./memchr.$(objext): $(srcdir)/memchr.c $(INCDIR)/ansidecl.h
956 if [ x"$(PICFLAG)" != x ]; then \
957 $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \
958 else true; fi
959 if [ x"$(NOASANFLAG)" != x ]; then \
960 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memchr.c -o noasan/$@; \
961 else true; fi
962 $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION)
964 ./memcmp.$(objext): $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h
965 if [ x"$(PICFLAG)" != x ]; then \
966 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \
967 else true; fi
968 if [ x"$(NOASANFLAG)" != x ]; then \
969 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcmp.c -o noasan/$@; \
970 else true; fi
971 $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION)
973 ./memcpy.$(objext): $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h
974 if [ x"$(PICFLAG)" != x ]; then \
975 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \
976 else true; fi
977 if [ x"$(NOASANFLAG)" != x ]; then \
978 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcpy.c -o noasan/$@; \
979 else true; fi
980 $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION)
982 ./memmem.$(objext): $(srcdir)/memmem.c config.h
983 if [ x"$(PICFLAG)" != x ]; then \
984 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmem.c -o pic/$@; \
985 else true; fi
986 if [ x"$(NOASANFLAG)" != x ]; then \
987 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmem.c -o noasan/$@; \
988 else true; fi
989 $(COMPILE.c) $(srcdir)/memmem.c $(OUTPUT_OPTION)
991 ./memmove.$(objext): $(srcdir)/memmove.c $(INCDIR)/ansidecl.h
992 if [ x"$(PICFLAG)" != x ]; then \
993 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \
994 else true; fi
995 if [ x"$(NOASANFLAG)" != x ]; then \
996 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmove.c -o noasan/$@; \
997 else true; fi
998 $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION)
1000 ./mempcpy.$(objext): $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h
1001 if [ x"$(PICFLAG)" != x ]; then \
1002 $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \
1003 else true; fi
1004 if [ x"$(NOASANFLAG)" != x ]; then \
1005 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mempcpy.c -o noasan/$@; \
1006 else true; fi
1007 $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION)
1009 ./memset.$(objext): $(srcdir)/memset.c $(INCDIR)/ansidecl.h
1010 if [ x"$(PICFLAG)" != x ]; then \
1011 $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \
1012 else true; fi
1013 if [ x"$(NOASANFLAG)" != x ]; then \
1014 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memset.c -o noasan/$@; \
1015 else true; fi
1016 $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION)
1018 ./mkstemps.$(objext): $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h
1019 if [ x"$(PICFLAG)" != x ]; then \
1020 $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \
1021 else true; fi
1022 if [ x"$(NOASANFLAG)" != x ]; then \
1023 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mkstemps.c -o noasan/$@; \
1024 else true; fi
1025 $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION)
1027 ./msdos.$(objext): $(srcdir)/msdos.c
1028 if [ x"$(PICFLAG)" != x ]; then \
1029 $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \
1030 else true; fi
1031 if [ x"$(NOASANFLAG)" != x ]; then \
1032 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/msdos.c -o noasan/$@; \
1033 else true; fi
1034 $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION)
1036 ./objalloc.$(objext): $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \
1037 $(INCDIR)/objalloc.h
1038 if [ x"$(PICFLAG)" != x ]; then \
1039 $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \
1040 else true; fi
1041 if [ x"$(NOASANFLAG)" != x ]; then \
1042 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/objalloc.c -o noasan/$@; \
1043 else true; fi
1044 $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION)
1046 ./obstack.$(objext): $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h
1047 if [ x"$(PICFLAG)" != x ]; then \
1048 $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \
1049 else true; fi
1050 if [ x"$(NOASANFLAG)" != x ]; then \
1051 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/obstack.c -o noasan/$@; \
1052 else true; fi
1053 $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION)
1055 ./partition.$(objext): $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \
1056 $(INCDIR)/libiberty.h $(INCDIR)/partition.h
1057 if [ x"$(PICFLAG)" != x ]; then \
1058 $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \
1059 else true; fi
1060 if [ x"$(NOASANFLAG)" != x ]; then \
1061 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/partition.c -o noasan/$@; \
1062 else true; fi
1063 $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION)
1065 ./pex-common.$(objext): $(srcdir)/pex-common.c config.h $(INCDIR)/ansidecl.h \
1066 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1067 if [ x"$(PICFLAG)" != x ]; then \
1068 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-common.c -o pic/$@; \
1069 else true; fi
1070 if [ x"$(NOASANFLAG)" != x ]; then \
1071 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-common.c -o noasan/$@; \
1072 else true; fi
1073 $(COMPILE.c) $(srcdir)/pex-common.c $(OUTPUT_OPTION)
1075 ./pex-djgpp.$(objext): $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \
1076 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1077 if [ x"$(PICFLAG)" != x ]; then \
1078 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \
1079 else true; fi
1080 if [ x"$(NOASANFLAG)" != x ]; then \
1081 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-djgpp.c -o noasan/$@; \
1082 else true; fi
1083 $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION)
1085 ./pex-msdos.$(objext): $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \
1086 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \
1087 $(INCDIR)/safe-ctype.h
1088 if [ x"$(PICFLAG)" != x ]; then \
1089 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \
1090 else true; fi
1091 if [ x"$(NOASANFLAG)" != x ]; then \
1092 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-msdos.c -o noasan/$@; \
1093 else true; fi
1094 $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION)
1096 ./pex-one.$(objext): $(srcdir)/pex-one.c config.h $(INCDIR)/ansidecl.h \
1097 $(INCDIR)/libiberty.h
1098 if [ x"$(PICFLAG)" != x ]; then \
1099 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-one.c -o pic/$@; \
1100 else true; fi
1101 if [ x"$(NOASANFLAG)" != x ]; then \
1102 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-one.c -o noasan/$@; \
1103 else true; fi
1104 $(COMPILE.c) $(srcdir)/pex-one.c $(OUTPUT_OPTION)
1106 ./pex-unix.$(objext): $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \
1107 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1108 if [ x"$(PICFLAG)" != x ]; then \
1109 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \
1110 else true; fi
1111 if [ x"$(NOASANFLAG)" != x ]; then \
1112 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-unix.c -o noasan/$@; \
1113 else true; fi
1114 $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION)
1116 ./pex-win32.$(objext): $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \
1117 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1118 if [ x"$(PICFLAG)" != x ]; then \
1119 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \
1120 else true; fi
1121 if [ x"$(NOASANFLAG)" != x ]; then \
1122 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-win32.c -o noasan/$@; \
1123 else true; fi
1124 $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION)
1126 ./pexecute.$(objext): $(srcdir)/pexecute.c config.h $(INCDIR)/ansidecl.h \
1127 $(INCDIR)/libiberty.h
1128 if [ x"$(PICFLAG)" != x ]; then \
1129 $(COMPILE.c) $(PICFLAG) $(srcdir)/pexecute.c -o pic/$@; \
1130 else true; fi
1131 if [ x"$(NOASANFLAG)" != x ]; then \
1132 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pexecute.c -o noasan/$@; \
1133 else true; fi
1134 $(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION)
1136 ./physmem.$(objext): $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
1137 $(INCDIR)/libiberty.h
1138 if [ x"$(PICFLAG)" != x ]; then \
1139 $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \
1140 else true; fi
1141 if [ x"$(NOASANFLAG)" != x ]; then \
1142 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/physmem.c -o noasan/$@; \
1143 else true; fi
1144 $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION)
1146 ./putenv.$(objext): $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h
1147 if [ x"$(PICFLAG)" != x ]; then \
1148 $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \
1149 else true; fi
1150 if [ x"$(NOASANFLAG)" != x ]; then \
1151 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/putenv.c -o noasan/$@; \
1152 else true; fi
1153 $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION)
1155 ./random.$(objext): $(srcdir)/random.c $(INCDIR)/ansidecl.h
1156 if [ x"$(PICFLAG)" != x ]; then \
1157 $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \
1158 else true; fi
1159 if [ x"$(NOASANFLAG)" != x ]; then \
1160 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/random.c -o noasan/$@; \
1161 else true; fi
1162 $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION)
1164 ./regex.$(objext): $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h \
1165 $(INCDIR)/xregex.h $(INCDIR)/xregex2.h
1166 if [ x"$(PICFLAG)" != x ]; then \
1167 $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \
1168 else true; fi
1169 if [ x"$(NOASANFLAG)" != x ]; then \
1170 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/regex.c -o noasan/$@; \
1171 else true; fi
1172 $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION)
1174 ./rename.$(objext): $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h
1175 if [ x"$(PICFLAG)" != x ]; then \
1176 $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \
1177 else true; fi
1178 if [ x"$(NOASANFLAG)" != x ]; then \
1179 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rename.c -o noasan/$@; \
1180 else true; fi
1181 $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION)
1183 ./rindex.$(objext): $(srcdir)/rindex.c
1184 if [ x"$(PICFLAG)" != x ]; then \
1185 $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \
1186 else true; fi
1187 if [ x"$(NOASANFLAG)" != x ]; then \
1188 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rindex.c -o noasan/$@; \
1189 else true; fi
1190 $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION)
1192 ./safe-ctype.$(objext): $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
1193 $(INCDIR)/safe-ctype.h
1194 if [ x"$(PICFLAG)" != x ]; then \
1195 $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \
1196 else true; fi
1197 if [ x"$(NOASANFLAG)" != x ]; then \
1198 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/safe-ctype.c -o noasan/$@; \
1199 else true; fi
1200 $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION)
1202 ./setenv.$(objext): $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h
1203 if [ x"$(PICFLAG)" != x ]; then \
1204 $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \
1205 else true; fi
1206 if [ x"$(NOASANFLAG)" != x ]; then \
1207 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setenv.c -o noasan/$@; \
1208 else true; fi
1209 $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION)
1211 ./setproctitle.$(objext): $(srcdir)/setproctitle.c config.h $(INCDIR)/ansidecl.h
1212 if [ x"$(PICFLAG)" != x ]; then \
1213 $(COMPILE.c) $(PICFLAG) $(srcdir)/setproctitle.c -o pic/$@; \
1214 else true; fi
1215 if [ x"$(NOASANFLAG)" != x ]; then \
1216 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setproctitle.c -o noasan/$@; \
1217 else true; fi
1218 $(COMPILE.c) $(srcdir)/setproctitle.c $(OUTPUT_OPTION)
1220 ./sha1.$(objext): $(srcdir)/sha1.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/sha1.h
1221 if [ x"$(PICFLAG)" != x ]; then \
1222 $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \
1223 else true; fi
1224 if [ x"$(NOASANFLAG)" != x ]; then \
1225 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sha1.c -o noasan/$@; \
1226 else true; fi
1227 $(COMPILE.c) $(srcdir)/sha1.c $(OUTPUT_OPTION)
1229 ./sigsetmask.$(objext): $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
1230 if [ x"$(PICFLAG)" != x ]; then \
1231 $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \
1232 else true; fi
1233 if [ x"$(NOASANFLAG)" != x ]; then \
1234 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sigsetmask.c -o noasan/$@; \
1235 else true; fi
1236 $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
1238 ./simple-object-coff.$(objext): $(srcdir)/simple-object-coff.c config.h \
1239 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1240 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1241 if [ x"$(PICFLAG)" != x ]; then \
1242 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-coff.c -o pic/$@; \
1243 else true; fi
1244 if [ x"$(NOASANFLAG)" != x ]; then \
1245 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-coff.c -o noasan/$@; \
1246 else true; fi
1247 $(COMPILE.c) $(srcdir)/simple-object-coff.c $(OUTPUT_OPTION)
1249 ./simple-object-elf.$(objext): $(srcdir)/simple-object-elf.c config.h \
1250 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1251 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1252 if [ x"$(PICFLAG)" != x ]; then \
1253 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-elf.c -o pic/$@; \
1254 else true; fi
1255 if [ x"$(NOASANFLAG)" != x ]; then \
1256 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-elf.c -o noasan/$@; \
1257 else true; fi
1258 $(COMPILE.c) $(srcdir)/simple-object-elf.c $(OUTPUT_OPTION)
1260 ./simple-object-mach-o.$(objext): $(srcdir)/simple-object-mach-o.c config.h \
1261 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1262 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1263 if [ x"$(PICFLAG)" != x ]; then \
1264 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-mach-o.c -o pic/$@; \
1265 else true; fi
1266 if [ x"$(NOASANFLAG)" != x ]; then \
1267 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-mach-o.c -o noasan/$@; \
1268 else true; fi
1269 $(COMPILE.c) $(srcdir)/simple-object-mach-o.c $(OUTPUT_OPTION)
1271 ./simple-object-xcoff.$(objext): $(srcdir)/simple-object-xcoff.c config.h \
1272 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1273 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1274 if [ x"$(PICFLAG)" != x ]; then \
1275 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-xcoff.c -o pic/$@; \
1276 else true; fi
1277 if [ x"$(NOASANFLAG)" != x ]; then \
1278 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-xcoff.c -o noasan/$@; \
1279 else true; fi
1280 $(COMPILE.c) $(srcdir)/simple-object-xcoff.c $(OUTPUT_OPTION)
1282 ./simple-object.$(objext): $(srcdir)/simple-object.c config.h \
1283 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1284 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1285 if [ x"$(PICFLAG)" != x ]; then \
1286 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object.c -o pic/$@; \
1287 else true; fi
1288 if [ x"$(NOASANFLAG)" != x ]; then \
1289 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object.c -o noasan/$@; \
1290 else true; fi
1291 $(COMPILE.c) $(srcdir)/simple-object.c $(OUTPUT_OPTION)
1293 ./snprintf.$(objext): $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
1294 if [ x"$(PICFLAG)" != x ]; then \
1295 $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
1296 else true; fi
1297 if [ x"$(NOASANFLAG)" != x ]; then \
1298 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/snprintf.c -o noasan/$@; \
1299 else true; fi
1300 $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
1302 ./sort.$(objext): $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h \
1303 $(INCDIR)/libiberty.h $(INCDIR)/sort.h
1304 if [ x"$(PICFLAG)" != x ]; then \
1305 $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \
1306 else true; fi
1307 if [ x"$(NOASANFLAG)" != x ]; then \
1308 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sort.c -o noasan/$@; \
1309 else true; fi
1310 $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION)
1312 ./spaces.$(objext): $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \
1313 $(INCDIR)/libiberty.h
1314 if [ x"$(PICFLAG)" != x ]; then \
1315 $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \
1316 else true; fi
1317 if [ x"$(NOASANFLAG)" != x ]; then \
1318 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/spaces.c -o noasan/$@; \
1319 else true; fi
1320 $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION)
1322 ./splay-tree.$(objext): $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
1323 $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
1324 if [ x"$(PICFLAG)" != x ]; then \
1325 $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \
1326 else true; fi
1327 if [ x"$(NOASANFLAG)" != x ]; then \
1328 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/splay-tree.c -o noasan/$@; \
1329 else true; fi
1330 $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
1332 ./stack-limit.$(objext): $(srcdir)/stack-limit.c config.h $(INCDIR)/ansidecl.h
1333 if [ x"$(PICFLAG)" != x ]; then \
1334 $(COMPILE.c) $(PICFLAG) $(srcdir)/stack-limit.c -o pic/$@; \
1335 else true; fi
1336 if [ x"$(NOASANFLAG)" != x ]; then \
1337 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stack-limit.c -o noasan/$@; \
1338 else true; fi
1339 $(COMPILE.c) $(srcdir)/stack-limit.c $(OUTPUT_OPTION)
1341 ./stpcpy.$(objext): $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
1342 if [ x"$(PICFLAG)" != x ]; then \
1343 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
1344 else true; fi
1345 if [ x"$(NOASANFLAG)" != x ]; then \
1346 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpcpy.c -o noasan/$@; \
1347 else true; fi
1348 $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION)
1350 ./stpncpy.$(objext): $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
1351 if [ x"$(PICFLAG)" != x ]; then \
1352 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \
1353 else true; fi
1354 if [ x"$(NOASANFLAG)" != x ]; then \
1355 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpncpy.c -o noasan/$@; \
1356 else true; fi
1357 $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
1359 ./strcasecmp.$(objext): $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
1360 if [ x"$(PICFLAG)" != x ]; then \
1361 $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \
1362 else true; fi
1363 if [ x"$(NOASANFLAG)" != x ]; then \
1364 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strcasecmp.c -o noasan/$@; \
1365 else true; fi
1366 $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION)
1368 ./strchr.$(objext): $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
1369 if [ x"$(PICFLAG)" != x ]; then \
1370 $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \
1371 else true; fi
1372 if [ x"$(NOASANFLAG)" != x ]; then \
1373 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strchr.c -o noasan/$@; \
1374 else true; fi
1375 $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION)
1377 ./strdup.$(objext): $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
1378 if [ x"$(PICFLAG)" != x ]; then \
1379 $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \
1380 else true; fi
1381 if [ x"$(NOASANFLAG)" != x ]; then \
1382 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strdup.c -o noasan/$@; \
1383 else true; fi
1384 $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION)
1386 ./strerror.$(objext): $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
1387 $(INCDIR)/libiberty.h
1388 if [ x"$(PICFLAG)" != x ]; then \
1389 $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \
1390 else true; fi
1391 if [ x"$(NOASANFLAG)" != x ]; then \
1392 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strerror.c -o noasan/$@; \
1393 else true; fi
1394 $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION)
1396 ./strncasecmp.$(objext): $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
1397 if [ x"$(PICFLAG)" != x ]; then \
1398 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \
1399 else true; fi
1400 if [ x"$(NOASANFLAG)" != x ]; then \
1401 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncasecmp.c -o noasan/$@; \
1402 else true; fi
1403 $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION)
1405 ./strncmp.$(objext): $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
1406 if [ x"$(PICFLAG)" != x ]; then \
1407 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \
1408 else true; fi
1409 if [ x"$(NOASANFLAG)" != x ]; then \
1410 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncmp.c -o noasan/$@; \
1411 else true; fi
1412 $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION)
1414 ./strndup.$(objext): $(srcdir)/strndup.c $(INCDIR)/ansidecl.h
1415 if [ x"$(PICFLAG)" != x ]; then \
1416 $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \
1417 else true; fi
1418 if [ x"$(NOASANFLAG)" != x ]; then \
1419 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strndup.c -o noasan/$@; \
1420 else true; fi
1421 $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION)
1423 ./strnlen.$(objext): $(srcdir)/strnlen.c config.h
1424 if [ x"$(PICFLAG)" != x ]; then \
1425 $(COMPILE.c) $(PICFLAG) $(srcdir)/strnlen.c -o pic/$@; \
1426 else true; fi
1427 if [ x"$(NOASANFLAG)" != x ]; then \
1428 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strnlen.c -o noasan/$@; \
1429 else true; fi
1430 $(COMPILE.c) $(srcdir)/strnlen.c $(OUTPUT_OPTION)
1432 ./strrchr.$(objext): $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
1433 if [ x"$(PICFLAG)" != x ]; then \
1434 $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \
1435 else true; fi
1436 if [ x"$(NOASANFLAG)" != x ]; then \
1437 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strrchr.c -o noasan/$@; \
1438 else true; fi
1439 $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION)
1441 ./strsignal.$(objext): $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
1442 $(INCDIR)/libiberty.h
1443 if [ x"$(PICFLAG)" != x ]; then \
1444 $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \
1445 else true; fi
1446 if [ x"$(NOASANFLAG)" != x ]; then \
1447 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strsignal.c -o noasan/$@; \
1448 else true; fi
1449 $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION)
1451 ./strstr.$(objext): $(srcdir)/strstr.c
1452 if [ x"$(PICFLAG)" != x ]; then \
1453 $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \
1454 else true; fi
1455 if [ x"$(NOASANFLAG)" != x ]; then \
1456 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strstr.c -o noasan/$@; \
1457 else true; fi
1458 $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION)
1460 ./strtod.$(objext): $(srcdir)/strtod.c $(INCDIR)/ansidecl.h \
1461 $(INCDIR)/safe-ctype.h
1462 if [ x"$(PICFLAG)" != x ]; then \
1463 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \
1464 else true; fi
1465 if [ x"$(NOASANFLAG)" != x ]; then \
1466 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtod.c -o noasan/$@; \
1467 else true; fi
1468 $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION)
1470 ./strtol.$(objext): $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
1471 if [ x"$(PICFLAG)" != x ]; then \
1472 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \
1473 else true; fi
1474 if [ x"$(NOASANFLAG)" != x ]; then \
1475 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtol.c -o noasan/$@; \
1476 else true; fi
1477 $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION)
1479 ./strtoll.$(objext): $(srcdir)/strtoll.c config.h $(INCDIR)/safe-ctype.h
1480 if [ x"$(PICFLAG)" != x ]; then \
1481 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoll.c -o pic/$@; \
1482 else true; fi
1483 if [ x"$(NOASANFLAG)" != x ]; then \
1484 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoll.c -o noasan/$@; \
1485 else true; fi
1486 $(COMPILE.c) $(srcdir)/strtoll.c $(OUTPUT_OPTION)
1488 ./strtoul.$(objext): $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
1489 $(INCDIR)/safe-ctype.h
1490 if [ x"$(PICFLAG)" != x ]; then \
1491 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \
1492 else true; fi
1493 if [ x"$(NOASANFLAG)" != x ]; then \
1494 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoul.c -o noasan/$@; \
1495 else true; fi
1496 $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION)
1498 ./strtoull.$(objext): $(srcdir)/strtoull.c config.h $(INCDIR)/ansidecl.h \
1499 $(INCDIR)/safe-ctype.h
1500 if [ x"$(PICFLAG)" != x ]; then \
1501 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoull.c -o pic/$@; \
1502 else true; fi
1503 if [ x"$(NOASANFLAG)" != x ]; then \
1504 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoull.c -o noasan/$@; \
1505 else true; fi
1506 $(COMPILE.c) $(srcdir)/strtoull.c $(OUTPUT_OPTION)
1508 ./strverscmp.$(objext): $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h \
1509 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
1510 if [ x"$(PICFLAG)" != x ]; then \
1511 $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \
1512 else true; fi
1513 if [ x"$(NOASANFLAG)" != x ]; then \
1514 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strverscmp.c -o noasan/$@; \
1515 else true; fi
1516 $(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION)
1518 ./timeval-utils.$(objext): $(srcdir)/timeval-utils.c config.h \
1519 $(INCDIR)/timeval-utils.h
1520 if [ x"$(PICFLAG)" != x ]; then \
1521 $(COMPILE.c) $(PICFLAG) $(srcdir)/timeval-utils.c -o pic/$@; \
1522 else true; fi
1523 if [ x"$(NOASANFLAG)" != x ]; then \
1524 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/timeval-utils.c -o noasan/$@; \
1525 else true; fi
1526 $(COMPILE.c) $(srcdir)/timeval-utils.c $(OUTPUT_OPTION)
1528 ./tmpnam.$(objext): $(srcdir)/tmpnam.c
1529 if [ x"$(PICFLAG)" != x ]; then \
1530 $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \
1531 else true; fi
1532 if [ x"$(NOASANFLAG)" != x ]; then \
1533 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/tmpnam.c -o noasan/$@; \
1534 else true; fi
1535 $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION)
1537 ./unlink-if-ordinary.$(objext): $(srcdir)/unlink-if-ordinary.c config.h \
1538 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1539 if [ x"$(PICFLAG)" != x ]; then \
1540 $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \
1541 else true; fi
1542 if [ x"$(NOASANFLAG)" != x ]; then \
1543 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/unlink-if-ordinary.c -o noasan/$@; \
1544 else true; fi
1545 $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION)
1547 ./vasprintf.$(objext): $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
1548 $(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h
1549 if [ x"$(PICFLAG)" != x ]; then \
1550 $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \
1551 else true; fi
1552 if [ x"$(NOASANFLAG)" != x ]; then \
1553 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vasprintf.c -o noasan/$@; \
1554 else true; fi
1555 $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION)
1557 ./vfork.$(objext): $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
1558 if [ x"$(PICFLAG)" != x ]; then \
1559 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \
1560 else true; fi
1561 if [ x"$(NOASANFLAG)" != x ]; then \
1562 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfork.c -o noasan/$@; \
1563 else true; fi
1564 $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION)
1566 ./vfprintf.$(objext): $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
1567 if [ x"$(PICFLAG)" != x ]; then \
1568 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \
1569 else true; fi
1570 if [ x"$(NOASANFLAG)" != x ]; then \
1571 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfprintf.c -o noasan/$@; \
1572 else true; fi
1573 $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION)
1575 ./vprintf-support.$(objext): $(srcdir)/vprintf-support.c config.h \
1576 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1577 if [ x"$(PICFLAG)" != x ]; then \
1578 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf-support.c -o pic/$@; \
1579 else true; fi
1580 if [ x"$(NOASANFLAG)" != x ]; then \
1581 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf-support.c -o noasan/$@; \
1582 else true; fi
1583 $(COMPILE.c) $(srcdir)/vprintf-support.c $(OUTPUT_OPTION)
1585 ./vprintf.$(objext): $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
1586 if [ x"$(PICFLAG)" != x ]; then \
1587 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \
1588 else true; fi
1589 if [ x"$(NOASANFLAG)" != x ]; then \
1590 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf.c -o noasan/$@; \
1591 else true; fi
1592 $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION)
1594 ./vsnprintf.$(objext): $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
1595 $(INCDIR)/libiberty.h
1596 if [ x"$(PICFLAG)" != x ]; then \
1597 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \
1598 else true; fi
1599 if [ x"$(NOASANFLAG)" != x ]; then \
1600 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsnprintf.c -o noasan/$@; \
1601 else true; fi
1602 $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION)
1604 ./vsprintf.$(objext): $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
1605 if [ x"$(PICFLAG)" != x ]; then \
1606 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \
1607 else true; fi
1608 if [ x"$(NOASANFLAG)" != x ]; then \
1609 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsprintf.c -o noasan/$@; \
1610 else true; fi
1611 $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION)
1613 ./waitpid.$(objext): $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h
1614 if [ x"$(PICFLAG)" != x ]; then \
1615 $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \
1616 else true; fi
1617 if [ x"$(NOASANFLAG)" != x ]; then \
1618 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/waitpid.c -o noasan/$@; \
1619 else true; fi
1620 $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION)
1622 ./xasprintf.$(objext): $(srcdir)/xasprintf.c config.h $(INCDIR)/ansidecl.h \
1623 $(INCDIR)/libiberty.h
1624 if [ x"$(PICFLAG)" != x ]; then \
1625 $(COMPILE.c) $(PICFLAG) $(srcdir)/xasprintf.c -o pic/$@; \
1626 else true; fi
1627 if [ x"$(NOASANFLAG)" != x ]; then \
1628 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xasprintf.c -o noasan/$@; \
1629 else true; fi
1630 $(COMPILE.c) $(srcdir)/xasprintf.c $(OUTPUT_OPTION)
1632 ./xatexit.$(objext): $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \
1633 $(INCDIR)/libiberty.h
1634 if [ x"$(PICFLAG)" != x ]; then \
1635 $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \
1636 else true; fi
1637 if [ x"$(NOASANFLAG)" != x ]; then \
1638 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xatexit.c -o noasan/$@; \
1639 else true; fi
1640 $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION)
1642 ./xexit.$(objext): $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h \
1643 $(INCDIR)/libiberty.h
1644 if [ x"$(PICFLAG)" != x ]; then \
1645 $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \
1646 else true; fi
1647 if [ x"$(NOASANFLAG)" != x ]; then \
1648 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xexit.c -o noasan/$@; \
1649 else true; fi
1650 $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION)
1652 ./xmalloc.$(objext): $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
1653 $(INCDIR)/libiberty.h
1654 if [ x"$(PICFLAG)" != x ]; then \
1655 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \
1656 else true; fi
1657 if [ x"$(NOASANFLAG)" != x ]; then \
1658 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmalloc.c -o noasan/$@; \
1659 else true; fi
1660 $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION)
1662 ./xmemdup.$(objext): $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
1663 $(INCDIR)/libiberty.h
1664 if [ x"$(PICFLAG)" != x ]; then \
1665 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \
1666 else true; fi
1667 if [ x"$(NOASANFLAG)" != x ]; then \
1668 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmemdup.c -o noasan/$@; \
1669 else true; fi
1670 $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION)
1672 ./xstrdup.$(objext): $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
1673 $(INCDIR)/libiberty.h
1674 if [ x"$(PICFLAG)" != x ]; then \
1675 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \
1676 else true; fi
1677 if [ x"$(NOASANFLAG)" != x ]; then \
1678 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrdup.c -o noasan/$@; \
1679 else true; fi
1680 $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION)
1682 ./xstrerror.$(objext): $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
1683 $(INCDIR)/libiberty.h
1684 if [ x"$(PICFLAG)" != x ]; then \
1685 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \
1686 else true; fi
1687 if [ x"$(NOASANFLAG)" != x ]; then \
1688 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrerror.c -o noasan/$@; \
1689 else true; fi
1690 $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION)
1692 ./xstrndup.$(objext): $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \
1693 $(INCDIR)/libiberty.h
1694 if [ x"$(PICFLAG)" != x ]; then \
1695 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \
1696 else true; fi
1697 if [ x"$(NOASANFLAG)" != x ]; then \
1698 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrndup.c -o noasan/$@; \
1699 else true; fi
1700 $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION)
1702 ./xvasprintf.$(objext): $(srcdir)/xvasprintf.c config.h $(INCDIR)/ansidecl.h \
1703 $(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h
1704 if [ x"$(PICFLAG)" != x ]; then \
1705 $(COMPILE.c) $(PICFLAG) $(srcdir)/xvasprintf.c -o pic/$@; \
1706 else true; fi
1707 if [ x"$(NOASANFLAG)" != x ]; then \
1708 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xvasprintf.c -o noasan/$@; \
1709 else true; fi
1710 $(COMPILE.c) $(srcdir)/xvasprintf.c $(OUTPUT_OPTION)