1# Makefile for the libiberty library.
2# Originally written by K. Richard Pixley <rich@cygnus.com>.
3#
4# Copyright (C) 1990-2018 Free Software Foundation, Inc.
5#
6# This file is part of the libiberty library.
7# Libiberty is free software; you can redistribute it and/or
8# modify it under the terms of the GNU Library General Public
9# License as published by the Free Software Foundation; either
10# version 2 of the License, or (at your option) any later version.
11#
12# Libiberty is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15# Library General Public License for more details.
16#
17# You should have received a copy of the GNU Library General Public
18# License along with libiberty; see the file COPYING.LIB.  If not,
19# write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
20# Boston, MA 02110-1301, USA.
21
22libiberty_topdir = @libiberty_topdir@
23srcdir = @srcdir@
24
25prefix = @prefix@
26
27exec_prefix = @exec_prefix@
28bindir = @bindir@
29libdir = @libdir@
30includedir = @includedir@
31target_header_dir = @target_header_dir@
32objext = @OBJEXT@
33
34SHELL = @SHELL@
35
36# Multilib support variables.
37MULTISRCTOP =
38MULTIBUILDTOP =
39MULTIDIRS =
40MULTISUBDIR =
41MULTIDO = true
42MULTICLEAN = true
43
44INSTALL = @INSTALL@
45INSTALL_PROGRAM = @INSTALL_PROGRAM@
46INSTALL_DATA = @INSTALL_DATA@
47mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs
48
49# Some compilers can't handle cc -c blah.c -o foo/blah.o.
50OUTPUT_OPTION = @OUTPUT_OPTION@
51
52AR = @AR@
53AR_FLAGS = rc
54
55CC = @CC@
56CFLAGS = @CFLAGS@
57CPPFLAGS = @CPPFLAGS@
58RANLIB = @RANLIB@
59MAKEINFO = @MAKEINFO@
60PERL = @PERL@
61
62PICFLAG = @PICFLAG@
63NOASANFLAG = @NOASANFLAG@
64
65MAKEOVERRIDES =
66
67TARGETLIB = ./libiberty.a
68TESTLIB = ./testlib.a
69
70LIBOBJS = @LIBOBJS@
71
72# A configuration can specify extra .o files that should be included,
73# even if they are in libc. (Perhaps the libc version is buggy.)
74EXTRA_OFILES =
75
76# Flags to pass to a recursive make.
77FLAGS_TO_PASS = \
78	"AR=$(AR)" \
79	"AR_FLAGS=$(AR_FLAGS)" \
80	"CC=$(CC)" \
81	"CFLAGS=$(CFLAGS)" \
82	"CPPFLAGS=$(CPPFLAGS)" \
83	"DESTDIR=$(DESTDIR)" \
84	"EXTRA_OFILES=$(EXTRA_OFILES)" \
85	"HDEFINES=$(HDEFINES)" \
86	"INSTALL=$(INSTALL)" \
87	"INSTALL_DATA=$(INSTALL_DATA)" \
88	"INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
89	"LDFLAGS=$(LDFLAGS)" \
90	"LOADLIBES=$(LOADLIBES)" \
91	"RANLIB=$(RANLIB)" \
92	"SHELL=$(SHELL)" \
93	"prefix=$(prefix)" \
94	"exec_prefix=$(exec_prefix)" \
95	"libdir=$(libdir)" \
96	"libsubdir=$(libsubdir)" \
97	"tooldir=$(tooldir)"
98
99# Subdirectories to recurse into. We need to override this during cleaning
100SUBDIRS = testsuite
101
102# FIXME: add @BUILD_INFO@ once we're sure it works for everyone.
103all: stamp-picdir stamp-noasandir $(TARGETLIB) required-list all-subdir
104	@: $(MAKE) ; $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
105
106.PHONY: check installcheck
107check: check-subdir
108installcheck: installcheck-subdir
109
110@host_makefile_frag@
111
112INCDIR=$(srcdir)/$(MULTISRCTOP)../include
113
114COMPILE.c = $(CC) -c @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) \
115               $(HDEFINES) @ac_libiberty_warn_cflags@ -D_GNU_SOURCE
116
117# Just to make sure we don't use a built-in rule with VPATH
118.c.$(objext):
119	false
120
121# NOTE: If you add new files to the library, add them to this list
122# (alphabetical), and add them to REQUIRED_OFILES, or
123# CONFIGURED_OFILES and funcs in configure.ac.  Also run "make maint-deps"
124# to build the new rules.
125CFILES = alloca.c argv.c asprintf.c atexit.c				\
126	basename.c bcmp.c bcopy.c bsearch.c bzero.c			\
127	calloc.c choose-temp.c clock.c concat.c cp-demangle.c		\
128	 cp-demint.c cplus-dem.c crc32.c				\
129	d-demangle.c dwarfnames.c dyn-string.c				\
130	fdmatch.c ffs.c fibheap.c filename_cmp.c floatformat.c		\
131	fnmatch.c fopen_unlocked.c					\
132	getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c	\
133         gettimeofday.c                                                 \
134	hashtab.c hex.c							\
135	index.c insque.c						\
136	lbasename.c							\
137	lrealpath.c							\
138	make-relative-prefix.c						\
139	make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmem.c	\
140	 memmove.c mempcpy.c memset.c mkstemps.c			\
141	objalloc.c obstack.c						\
142	partition.c pexecute.c						\
143	 pex-common.c pex-djgpp.c pex-msdos.c pex-one.c			\
144	 pex-unix.c pex-win32.c						\
145         physmem.c putenv.c						\
146	random.c regex.c rename.c rindex.c				\
147	rust-demangle.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
163
164# These are always included in the library.  The first four are listed
165# first and by compile time to optimize parallel builds.
166REQUIRED_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	./rust-demangle.$(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)
198
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".
202CONFIGURED_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)
230
231# These files are installed if the library has been configured to do so.
232INSTALLED_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
246
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
266
267$(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
268	-rm -f $(TESTLIB)
269	$(AR) $(AR_FLAGS) $(TESTLIB) \
270	  $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
271	$(RANLIB) $(TESTLIB)
272
273info: libiberty.info info-subdir
274install-info: install-info-subdir
275clean-info: clean-info-subdir
276dvi: libiberty.dvi dvi-subdir
277
278LIBIBERTY_PDFFILES = libiberty.pdf
279
280pdf: $(LIBIBERTY_PDFFILES) pdf-subdir
281
282.PHONY: install-pdf
283
284pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
285
286install-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
295
296# html, install-html targets
297HTMLS = libiberty.html
298
299html: $(HTMLS)
300
301.PHONY: install-html install-html-am
302
303NORMAL_INSTALL = :
304mkdir_p = mkdir -p --
305
306html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
307
308install-html: install-html-am
309
310install-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
326
327TEXISRC = \
328	$(srcdir)/libiberty.texi \
329	$(srcdir)/copying-lib.texi \
330	$(srcdir)/obstacks.texi \
331	$(srcdir)/functions.texi
332
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.
336TEXIFILES = fnmatch.txh pexecute.txh simple-object.txh
337
338libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC)
339	$(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi
340
341libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC)
342	texi2dvi $(srcdir)/libiberty.texi
343
344libiberty.pdf : $(srcdir)/libiberty.texi $(TEXISRC)
345	texi2pdf $(srcdir)/libiberty.texi
346
347libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
348	$(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $<
349
350@MAINT@$(srcdir)/functions.texi : stamp-functions
351@MAINT@	@true
352
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
356
357INSTALL_DEST = @INSTALL_DEST@
358install: install_to_$(INSTALL_DEST) install-subdir
359install-strip: install
360
361.PHONY: install install-strip
362
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.
367MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
368install_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; \
382	fi
383	@$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
384
385install_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
391
392# required-list was used when building a shared bfd/opcodes/libiberty
393# library.  I don't know if it used by anything currently.
394required-list: Makefile
395	echo $(REQUIRED_OFILES) > required-list
396
397stamp-picdir:
398	if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
399	  mkdir pic; \
400	else true; fi
401	touch stamp-picdir
402
403stamp-noasandir:
404	if [ x"$(NOASANFLAG)" != x ] && [ ! -d noasan ]; then \
405	  mkdir noasan; \
406	else true; fi
407	touch stamp-noasandir
408
409.PHONY: all etags tags TAGS ls clean stage1 stage2
410
411etags tags TAGS: etags-subdir
412	cd $(srcdir) && etags $(CFILES)
413
414# The standalone demangler (c++filt) has been moved to binutils.
415# But make this target work anyway for demangler hacking.
416demangle: $(ALL) $(srcdir)/cp-demangle.c
417	@echo "The standalone demangler, now named c++filt, is now"
418	@echo "a part of binutils."
419	$(CC) @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) \
420	  $(srcdir)/cp-demangle.c -DSTANDALONE_DEMANGLER $(TARGETLIB) -o $@
421
422ls:
423	@echo Makefile $(CFILES)
424
425# Various targets for maintainers.
426
427maint-missing :
428	@$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
429
430maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
431	@true
432
433maint-undoc : $(srcdir)/functions.texi
434	@$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
435
436maint-deps :
437	@$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
438
439# Need to deal with profiled libraries, too.
440
441# Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS
442# multiple times, hence our explicit recursion with an empty SUBDIRS.
443mostlyclean: mostlyclean-subdir
444	-rm -rf *.$(objext) pic noasan core errs \#* *.E a.out
445	-rm -f errors dummy config.h stamp-*
446	-rm -f $(CONFIG_H) stamp-picdir stamp-noasandir
447	-rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
448	-rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
449	-rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr
450	-rm -f libtexi.stamp
451	@$(MULTICLEAN) multi-clean DO=mostlyclean
452clean: clean-subdir
453	$(MAKE) SUBDIRS="" mostlyclean
454	-rm -f *.a required-list tmpmulti.out
455	-rm -f libiberty.dvi libiberty.pdf libiberty.info* libiberty.html
456	@$(MULTICLEAN) multi-clean DO=clean
457distclean: distclean-subdir
458	$(MAKE) SUBDIRS="" clean
459	@$(MULTICLEAN) multi-clean DO=distclean
460	-rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
461	-rm -f config.log
462	-rmdir testsuite 2>/dev/null
463maintainer-clean realclean: maintainer-clean-subdir
464	$(MAKE) SUBDIRS="" distclean
465
466force:
467
468Makefile: $(srcdir)/Makefile.in config.status
469	CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
470
471# Depending on Makefile makes sure that config.status has been re-run
472# if needed.  This prevents problems with parallel builds.
473config.h: stamp-h ; @true
474stamp-h: $(srcdir)/config.in config.status Makefile
475	CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status
476
477config.status: $(srcdir)/configure
478	$(SHELL) ./config.status --recheck
479
480AUTOCONF = autoconf
481configure_deps = $(srcdir)/aclocal.m4 \
482	$(srcdir)/../config/acx.m4 \
483	$(srcdir)/../config/no-executables.m4 \
484	$(srcdir)/../config/override.m4 \
485	$(srcdir)/../config/picflag.m4 \
486	$(srcdir)/../config/warnings.m4
487
488$(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(configure_deps)
489	cd $(srcdir) && $(AUTOCONF)
490
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.
494all-subdir check-subdir installcheck-subdir info-subdir	\
495install-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir	\
496etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
497maintainer-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
503
504$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir stamp-noasandir
505$(CONFIGURED_OFILES): stamp-picdir stamp-noasandir
506
507# Don't export variables to the environment, in order to not confuse
508# configure.
509.NOEXPORT:
510
511# The dependencies in the remainder of this file are automatically
512# generated by "make maint-deps".  Manual edits will be lost.
513
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)
523
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)
533
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)
543
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)
553
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)
562
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)
572
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)
581
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)
590
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)
599
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)
608
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)
617
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)
627
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)
636
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)
646
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)
655
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)
666
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)
677
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)
688
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)
698
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)
709
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)
719
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)
729
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)
739
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)
748
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)
758
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)
769
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)
779
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)
789
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)
799
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)
808
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)
818
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)
827
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)
836
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)
846
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)
856
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)
866
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)
876
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)
886
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)
895
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)
904
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)
915
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)
925
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)
935
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)
945
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)
954
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)
963
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)
972
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)
981
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)
990
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)
999
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)
1008
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)
1017
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)
1026
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)
1035
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)
1045
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)
1054
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)
1064
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)
1074
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)
1084
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)
1095
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)
1105
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)
1115
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)
1125
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)
1135
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)
1145
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)
1154
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)
1163
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)
1173
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)
1182
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)
1191
1192./rust-demangle.$(objext): $(srcdir)/rust-demangle.c config.h \
1193	$(INCDIR)/ansidecl.h $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
1194	$(INCDIR)/safe-ctype.h
1195	if [ x"$(PICFLAG)" != x ]; then \
1196	  $(COMPILE.c) $(PICFLAG) $(srcdir)/rust-demangle.c -o pic/$@; \
1197	else true; fi
1198	if [ x"$(NOASANFLAG)" != x ]; then \
1199	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rust-demangle.c -o noasan/$@; \
1200	else true; fi
1201	$(COMPILE.c) $(srcdir)/rust-demangle.c $(OUTPUT_OPTION)
1202
1203./safe-ctype.$(objext): $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
1204	$(INCDIR)/safe-ctype.h
1205	if [ x"$(PICFLAG)" != x ]; then \
1206	  $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \
1207	else true; fi
1208	if [ x"$(NOASANFLAG)" != x ]; then \
1209	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/safe-ctype.c -o noasan/$@; \
1210	else true; fi
1211	$(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION)
1212
1213./setenv.$(objext): $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h
1214	if [ x"$(PICFLAG)" != x ]; then \
1215	  $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \
1216	else true; fi
1217	if [ x"$(NOASANFLAG)" != x ]; then \
1218	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setenv.c -o noasan/$@; \
1219	else true; fi
1220	$(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION)
1221
1222./setproctitle.$(objext): $(srcdir)/setproctitle.c config.h $(INCDIR)/ansidecl.h
1223	if [ x"$(PICFLAG)" != x ]; then \
1224	  $(COMPILE.c) $(PICFLAG) $(srcdir)/setproctitle.c -o pic/$@; \
1225	else true; fi
1226	if [ x"$(NOASANFLAG)" != x ]; then \
1227	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setproctitle.c -o noasan/$@; \
1228	else true; fi
1229	$(COMPILE.c) $(srcdir)/setproctitle.c $(OUTPUT_OPTION)
1230
1231./sha1.$(objext): $(srcdir)/sha1.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/sha1.h
1232	if [ x"$(PICFLAG)" != x ]; then \
1233	  $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \
1234	else true; fi
1235	if [ x"$(NOASANFLAG)" != x ]; then \
1236	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sha1.c -o noasan/$@; \
1237	else true; fi
1238	$(COMPILE.c) $(srcdir)/sha1.c $(OUTPUT_OPTION)
1239
1240./sigsetmask.$(objext): $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
1241	if [ x"$(PICFLAG)" != x ]; then \
1242	  $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \
1243	else true; fi
1244	if [ x"$(NOASANFLAG)" != x ]; then \
1245	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sigsetmask.c -o noasan/$@; \
1246	else true; fi
1247	$(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
1248
1249./simple-object-coff.$(objext): $(srcdir)/simple-object-coff.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-coff.c -o pic/$@; \
1254	else true; fi
1255	if [ x"$(NOASANFLAG)" != x ]; then \
1256	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-coff.c -o noasan/$@; \
1257	else true; fi
1258	$(COMPILE.c) $(srcdir)/simple-object-coff.c $(OUTPUT_OPTION)
1259
1260./simple-object-elf.$(objext): $(srcdir)/simple-object-elf.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-elf.c -o pic/$@; \
1265	else true; fi
1266	if [ x"$(NOASANFLAG)" != x ]; then \
1267	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-elf.c -o noasan/$@; \
1268	else true; fi
1269	$(COMPILE.c) $(srcdir)/simple-object-elf.c $(OUTPUT_OPTION)
1270
1271./simple-object-mach-o.$(objext): $(srcdir)/simple-object-mach-o.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-mach-o.c -o pic/$@; \
1276	else true; fi
1277	if [ x"$(NOASANFLAG)" != x ]; then \
1278	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-mach-o.c -o noasan/$@; \
1279	else true; fi
1280	$(COMPILE.c) $(srcdir)/simple-object-mach-o.c $(OUTPUT_OPTION)
1281
1282./simple-object-xcoff.$(objext): $(srcdir)/simple-object-xcoff.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-xcoff.c -o pic/$@; \
1287	else true; fi
1288	if [ x"$(NOASANFLAG)" != x ]; then \
1289	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-xcoff.c -o noasan/$@; \
1290	else true; fi
1291	$(COMPILE.c) $(srcdir)/simple-object-xcoff.c $(OUTPUT_OPTION)
1292
1293./simple-object.$(objext): $(srcdir)/simple-object.c config.h \
1294	$(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1295	$(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1296	if [ x"$(PICFLAG)" != x ]; then \
1297	  $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object.c -o pic/$@; \
1298	else true; fi
1299	if [ x"$(NOASANFLAG)" != x ]; then \
1300	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object.c -o noasan/$@; \
1301	else true; fi
1302	$(COMPILE.c) $(srcdir)/simple-object.c $(OUTPUT_OPTION)
1303
1304./snprintf.$(objext): $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
1305	if [ x"$(PICFLAG)" != x ]; then \
1306	  $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
1307	else true; fi
1308	if [ x"$(NOASANFLAG)" != x ]; then \
1309	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/snprintf.c -o noasan/$@; \
1310	else true; fi
1311	$(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
1312
1313./sort.$(objext): $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h \
1314	$(INCDIR)/libiberty.h $(INCDIR)/sort.h
1315	if [ x"$(PICFLAG)" != x ]; then \
1316	  $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \
1317	else true; fi
1318	if [ x"$(NOASANFLAG)" != x ]; then \
1319	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sort.c -o noasan/$@; \
1320	else true; fi
1321	$(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION)
1322
1323./spaces.$(objext): $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \
1324	$(INCDIR)/libiberty.h
1325	if [ x"$(PICFLAG)" != x ]; then \
1326	  $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \
1327	else true; fi
1328	if [ x"$(NOASANFLAG)" != x ]; then \
1329	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/spaces.c -o noasan/$@; \
1330	else true; fi
1331	$(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION)
1332
1333./splay-tree.$(objext): $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
1334	$(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
1335	if [ x"$(PICFLAG)" != x ]; then \
1336	  $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \
1337	else true; fi
1338	if [ x"$(NOASANFLAG)" != x ]; then \
1339	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/splay-tree.c -o noasan/$@; \
1340	else true; fi
1341	$(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
1342
1343./stack-limit.$(objext): $(srcdir)/stack-limit.c config.h $(INCDIR)/ansidecl.h
1344	if [ x"$(PICFLAG)" != x ]; then \
1345	  $(COMPILE.c) $(PICFLAG) $(srcdir)/stack-limit.c -o pic/$@; \
1346	else true; fi
1347	if [ x"$(NOASANFLAG)" != x ]; then \
1348	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stack-limit.c -o noasan/$@; \
1349	else true; fi
1350	$(COMPILE.c) $(srcdir)/stack-limit.c $(OUTPUT_OPTION)
1351
1352./stpcpy.$(objext): $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
1353	if [ x"$(PICFLAG)" != x ]; then \
1354	  $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
1355	else true; fi
1356	if [ x"$(NOASANFLAG)" != x ]; then \
1357	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpcpy.c -o noasan/$@; \
1358	else true; fi
1359	$(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION)
1360
1361./stpncpy.$(objext): $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
1362	if [ x"$(PICFLAG)" != x ]; then \
1363	  $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \
1364	else true; fi
1365	if [ x"$(NOASANFLAG)" != x ]; then \
1366	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpncpy.c -o noasan/$@; \
1367	else true; fi
1368	$(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
1369
1370./strcasecmp.$(objext): $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
1371	if [ x"$(PICFLAG)" != x ]; then \
1372	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \
1373	else true; fi
1374	if [ x"$(NOASANFLAG)" != x ]; then \
1375	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strcasecmp.c -o noasan/$@; \
1376	else true; fi
1377	$(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION)
1378
1379./strchr.$(objext): $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
1380	if [ x"$(PICFLAG)" != x ]; then \
1381	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \
1382	else true; fi
1383	if [ x"$(NOASANFLAG)" != x ]; then \
1384	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strchr.c -o noasan/$@; \
1385	else true; fi
1386	$(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION)
1387
1388./strdup.$(objext): $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
1389	if [ x"$(PICFLAG)" != x ]; then \
1390	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \
1391	else true; fi
1392	if [ x"$(NOASANFLAG)" != x ]; then \
1393	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strdup.c -o noasan/$@; \
1394	else true; fi
1395	$(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION)
1396
1397./strerror.$(objext): $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
1398	$(INCDIR)/libiberty.h
1399	if [ x"$(PICFLAG)" != x ]; then \
1400	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \
1401	else true; fi
1402	if [ x"$(NOASANFLAG)" != x ]; then \
1403	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strerror.c -o noasan/$@; \
1404	else true; fi
1405	$(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION)
1406
1407./strncasecmp.$(objext): $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
1408	if [ x"$(PICFLAG)" != x ]; then \
1409	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \
1410	else true; fi
1411	if [ x"$(NOASANFLAG)" != x ]; then \
1412	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncasecmp.c -o noasan/$@; \
1413	else true; fi
1414	$(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION)
1415
1416./strncmp.$(objext): $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
1417	if [ x"$(PICFLAG)" != x ]; then \
1418	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \
1419	else true; fi
1420	if [ x"$(NOASANFLAG)" != x ]; then \
1421	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncmp.c -o noasan/$@; \
1422	else true; fi
1423	$(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION)
1424
1425./strndup.$(objext): $(srcdir)/strndup.c $(INCDIR)/ansidecl.h
1426	if [ x"$(PICFLAG)" != x ]; then \
1427	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \
1428	else true; fi
1429	if [ x"$(NOASANFLAG)" != x ]; then \
1430	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strndup.c -o noasan/$@; \
1431	else true; fi
1432	$(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION)
1433
1434./strnlen.$(objext): $(srcdir)/strnlen.c config.h
1435	if [ x"$(PICFLAG)" != x ]; then \
1436	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strnlen.c -o pic/$@; \
1437	else true; fi
1438	if [ x"$(NOASANFLAG)" != x ]; then \
1439	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strnlen.c -o noasan/$@; \
1440	else true; fi
1441	$(COMPILE.c) $(srcdir)/strnlen.c $(OUTPUT_OPTION)
1442
1443./strrchr.$(objext): $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
1444	if [ x"$(PICFLAG)" != x ]; then \
1445	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \
1446	else true; fi
1447	if [ x"$(NOASANFLAG)" != x ]; then \
1448	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strrchr.c -o noasan/$@; \
1449	else true; fi
1450	$(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION)
1451
1452./strsignal.$(objext): $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
1453	$(INCDIR)/libiberty.h
1454	if [ x"$(PICFLAG)" != x ]; then \
1455	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \
1456	else true; fi
1457	if [ x"$(NOASANFLAG)" != x ]; then \
1458	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strsignal.c -o noasan/$@; \
1459	else true; fi
1460	$(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION)
1461
1462./strstr.$(objext): $(srcdir)/strstr.c
1463	if [ x"$(PICFLAG)" != x ]; then \
1464	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \
1465	else true; fi
1466	if [ x"$(NOASANFLAG)" != x ]; then \
1467	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strstr.c -o noasan/$@; \
1468	else true; fi
1469	$(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION)
1470
1471./strtod.$(objext): $(srcdir)/strtod.c $(INCDIR)/ansidecl.h \
1472	$(INCDIR)/safe-ctype.h
1473	if [ x"$(PICFLAG)" != x ]; then \
1474	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \
1475	else true; fi
1476	if [ x"$(NOASANFLAG)" != x ]; then \
1477	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtod.c -o noasan/$@; \
1478	else true; fi
1479	$(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION)
1480
1481./strtol.$(objext): $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
1482	if [ x"$(PICFLAG)" != x ]; then \
1483	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \
1484	else true; fi
1485	if [ x"$(NOASANFLAG)" != x ]; then \
1486	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtol.c -o noasan/$@; \
1487	else true; fi
1488	$(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION)
1489
1490./strtoll.$(objext): $(srcdir)/strtoll.c config.h $(INCDIR)/safe-ctype.h
1491	if [ x"$(PICFLAG)" != x ]; then \
1492	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoll.c -o pic/$@; \
1493	else true; fi
1494	if [ x"$(NOASANFLAG)" != x ]; then \
1495	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoll.c -o noasan/$@; \
1496	else true; fi
1497	$(COMPILE.c) $(srcdir)/strtoll.c $(OUTPUT_OPTION)
1498
1499./strtoul.$(objext): $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
1500	$(INCDIR)/safe-ctype.h
1501	if [ x"$(PICFLAG)" != x ]; then \
1502	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \
1503	else true; fi
1504	if [ x"$(NOASANFLAG)" != x ]; then \
1505	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoul.c -o noasan/$@; \
1506	else true; fi
1507	$(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION)
1508
1509./strtoull.$(objext): $(srcdir)/strtoull.c config.h $(INCDIR)/ansidecl.h \
1510	$(INCDIR)/safe-ctype.h
1511	if [ x"$(PICFLAG)" != x ]; then \
1512	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoull.c -o pic/$@; \
1513	else true; fi
1514	if [ x"$(NOASANFLAG)" != x ]; then \
1515	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoull.c -o noasan/$@; \
1516	else true; fi
1517	$(COMPILE.c) $(srcdir)/strtoull.c $(OUTPUT_OPTION)
1518
1519./strverscmp.$(objext): $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h \
1520	$(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
1521	if [ x"$(PICFLAG)" != x ]; then \
1522	  $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \
1523	else true; fi
1524	if [ x"$(NOASANFLAG)" != x ]; then \
1525	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strverscmp.c -o noasan/$@; \
1526	else true; fi
1527	$(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION)
1528
1529./timeval-utils.$(objext): $(srcdir)/timeval-utils.c config.h \
1530	$(INCDIR)/timeval-utils.h
1531	if [ x"$(PICFLAG)" != x ]; then \
1532	  $(COMPILE.c) $(PICFLAG) $(srcdir)/timeval-utils.c -o pic/$@; \
1533	else true; fi
1534	if [ x"$(NOASANFLAG)" != x ]; then \
1535	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/timeval-utils.c -o noasan/$@; \
1536	else true; fi
1537	$(COMPILE.c) $(srcdir)/timeval-utils.c $(OUTPUT_OPTION)
1538
1539./tmpnam.$(objext): $(srcdir)/tmpnam.c
1540	if [ x"$(PICFLAG)" != x ]; then \
1541	  $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \
1542	else true; fi
1543	if [ x"$(NOASANFLAG)" != x ]; then \
1544	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/tmpnam.c -o noasan/$@; \
1545	else true; fi
1546	$(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION)
1547
1548./unlink-if-ordinary.$(objext): $(srcdir)/unlink-if-ordinary.c config.h \
1549	$(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1550	if [ x"$(PICFLAG)" != x ]; then \
1551	  $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \
1552	else true; fi
1553	if [ x"$(NOASANFLAG)" != x ]; then \
1554	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/unlink-if-ordinary.c -o noasan/$@; \
1555	else true; fi
1556	$(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION)
1557
1558./vasprintf.$(objext): $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
1559	$(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h
1560	if [ x"$(PICFLAG)" != x ]; then \
1561	  $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \
1562	else true; fi
1563	if [ x"$(NOASANFLAG)" != x ]; then \
1564	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vasprintf.c -o noasan/$@; \
1565	else true; fi
1566	$(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION)
1567
1568./vfork.$(objext): $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
1569	if [ x"$(PICFLAG)" != x ]; then \
1570	  $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \
1571	else true; fi
1572	if [ x"$(NOASANFLAG)" != x ]; then \
1573	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfork.c -o noasan/$@; \
1574	else true; fi
1575	$(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION)
1576
1577./vfprintf.$(objext): $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
1578	if [ x"$(PICFLAG)" != x ]; then \
1579	  $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \
1580	else true; fi
1581	if [ x"$(NOASANFLAG)" != x ]; then \
1582	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfprintf.c -o noasan/$@; \
1583	else true; fi
1584	$(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION)
1585
1586./vprintf-support.$(objext): $(srcdir)/vprintf-support.c config.h \
1587	$(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1588	if [ x"$(PICFLAG)" != x ]; then \
1589	  $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf-support.c -o pic/$@; \
1590	else true; fi
1591	if [ x"$(NOASANFLAG)" != x ]; then \
1592	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf-support.c -o noasan/$@; \
1593	else true; fi
1594	$(COMPILE.c) $(srcdir)/vprintf-support.c $(OUTPUT_OPTION)
1595
1596./vprintf.$(objext): $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
1597	if [ x"$(PICFLAG)" != x ]; then \
1598	  $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \
1599	else true; fi
1600	if [ x"$(NOASANFLAG)" != x ]; then \
1601	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf.c -o noasan/$@; \
1602	else true; fi
1603	$(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION)
1604
1605./vsnprintf.$(objext): $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
1606	$(INCDIR)/libiberty.h
1607	if [ x"$(PICFLAG)" != x ]; then \
1608	  $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \
1609	else true; fi
1610	if [ x"$(NOASANFLAG)" != x ]; then \
1611	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsnprintf.c -o noasan/$@; \
1612	else true; fi
1613	$(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION)
1614
1615./vsprintf.$(objext): $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
1616	if [ x"$(PICFLAG)" != x ]; then \
1617	  $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \
1618	else true; fi
1619	if [ x"$(NOASANFLAG)" != x ]; then \
1620	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsprintf.c -o noasan/$@; \
1621	else true; fi
1622	$(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION)
1623
1624./waitpid.$(objext): $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h
1625	if [ x"$(PICFLAG)" != x ]; then \
1626	  $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \
1627	else true; fi
1628	if [ x"$(NOASANFLAG)" != x ]; then \
1629	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/waitpid.c -o noasan/$@; \
1630	else true; fi
1631	$(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION)
1632
1633./xasprintf.$(objext): $(srcdir)/xasprintf.c config.h $(INCDIR)/ansidecl.h \
1634	$(INCDIR)/libiberty.h
1635	if [ x"$(PICFLAG)" != x ]; then \
1636	  $(COMPILE.c) $(PICFLAG) $(srcdir)/xasprintf.c -o pic/$@; \
1637	else true; fi
1638	if [ x"$(NOASANFLAG)" != x ]; then \
1639	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xasprintf.c -o noasan/$@; \
1640	else true; fi
1641	$(COMPILE.c) $(srcdir)/xasprintf.c $(OUTPUT_OPTION)
1642
1643./xatexit.$(objext): $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \
1644	$(INCDIR)/libiberty.h
1645	if [ x"$(PICFLAG)" != x ]; then \
1646	  $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \
1647	else true; fi
1648	if [ x"$(NOASANFLAG)" != x ]; then \
1649	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xatexit.c -o noasan/$@; \
1650	else true; fi
1651	$(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION)
1652
1653./xexit.$(objext): $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h \
1654	$(INCDIR)/libiberty.h
1655	if [ x"$(PICFLAG)" != x ]; then \
1656	  $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \
1657	else true; fi
1658	if [ x"$(NOASANFLAG)" != x ]; then \
1659	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xexit.c -o noasan/$@; \
1660	else true; fi
1661	$(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION)
1662
1663./xmalloc.$(objext): $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
1664	$(INCDIR)/libiberty.h
1665	if [ x"$(PICFLAG)" != x ]; then \
1666	  $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \
1667	else true; fi
1668	if [ x"$(NOASANFLAG)" != x ]; then \
1669	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmalloc.c -o noasan/$@; \
1670	else true; fi
1671	$(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION)
1672
1673./xmemdup.$(objext): $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
1674	$(INCDIR)/libiberty.h
1675	if [ x"$(PICFLAG)" != x ]; then \
1676	  $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \
1677	else true; fi
1678	if [ x"$(NOASANFLAG)" != x ]; then \
1679	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmemdup.c -o noasan/$@; \
1680	else true; fi
1681	$(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION)
1682
1683./xstrdup.$(objext): $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
1684	$(INCDIR)/libiberty.h
1685	if [ x"$(PICFLAG)" != x ]; then \
1686	  $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \
1687	else true; fi
1688	if [ x"$(NOASANFLAG)" != x ]; then \
1689	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrdup.c -o noasan/$@; \
1690	else true; fi
1691	$(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION)
1692
1693./xstrerror.$(objext): $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
1694	$(INCDIR)/libiberty.h
1695	if [ x"$(PICFLAG)" != x ]; then \
1696	  $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \
1697	else true; fi
1698	if [ x"$(NOASANFLAG)" != x ]; then \
1699	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrerror.c -o noasan/$@; \
1700	else true; fi
1701	$(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION)
1702
1703./xstrndup.$(objext): $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \
1704	$(INCDIR)/libiberty.h
1705	if [ x"$(PICFLAG)" != x ]; then \
1706	  $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \
1707	else true; fi
1708	if [ x"$(NOASANFLAG)" != x ]; then \
1709	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrndup.c -o noasan/$@; \
1710	else true; fi
1711	$(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION)
1712
1713./xvasprintf.$(objext): $(srcdir)/xvasprintf.c config.h $(INCDIR)/ansidecl.h \
1714	$(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h
1715	if [ x"$(PICFLAG)" != x ]; then \
1716	  $(COMPILE.c) $(PICFLAG) $(srcdir)/xvasprintf.c -o pic/$@; \
1717	else true; fi
1718	if [ x"$(NOASANFLAG)" != x ]; then \
1719	  $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xvasprintf.c -o noasan/$@; \
1720	else true; fi
1721	$(COMPILE.c) $(srcdir)/xvasprintf.c $(OUTPUT_OPTION)
1722