]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/Makefile.in
[libiberty] Use pipe inside pex_run
[thirdparty/gcc.git] / libiberty / Makefile.in
CommitLineData
a3d8cd7b 1# Makefile for the libiberty library.
2# Originally written by K. Richard Pixley <rich@cygnus.com>.
28e9041c 3#
8e8f6434 4# Copyright (C) 1990-2018 Free Software Foundation, Inc.
28e9041c 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,
95b8d1bc 19# write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
20# Boston, MA 02110-1301, USA.
28e9041c 21
7f13318a 22libiberty_topdir = @libiberty_topdir@
3c67ba63 23srcdir = @srcdir@
28e9041c 24
3c67ba63 25prefix = @prefix@
28e9041c 26
3c67ba63 27exec_prefix = @exec_prefix@
28bindir = @bindir@
29libdir = @libdir@
9123512a 30includedir = @includedir@
31target_header_dir = @target_header_dir@
a16fe5d1 32objext = @OBJEXT@
28e9041c 33
3c67ba63 34SHELL = @SHELL@
28e9041c 35
36# Multilib support variables.
37MULTISRCTOP =
38MULTIBUILDTOP =
39MULTIDIRS =
40MULTISUBDIR =
41MULTIDO = true
42MULTICLEAN = true
43
3c67ba63 44INSTALL = @INSTALL@
45INSTALL_PROGRAM = @INSTALL_PROGRAM@
46INSTALL_DATA = @INSTALL_DATA@
7f13318a 47mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs
28e9041c 48
a1ba1d98 49# Some compilers can't handle cc -c blah.c -o foo/blah.o.
50OUTPUT_OPTION = @OUTPUT_OPTION@
51
3c67ba63 52AR = @AR@
28e9041c 53AR_FLAGS = rc
54
3c67ba63 55CC = @CC@
56CFLAGS = @CFLAGS@
d514f3bf 57CPPFLAGS = @CPPFLAGS@
3c67ba63 58RANLIB = @RANLIB@
614a23c6 59MAKEINFO = @MAKEINFO@
60PERL = @PERL@
28e9041c 61
05f405cd 62PICFLAG = @PICFLAG@
f945635a 63NOASANFLAG = @NOASANFLAG@
28e9041c 64
65MAKEOVERRIDES =
66
acecd7dc 67TARGETLIB = ./libiberty.a
68TESTLIB = ./testlib.a
28e9041c 69
3c67ba63 70LIBOBJS = @LIBOBJS@
28e9041c 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)" \
d514f3bf 82 "CPPFLAGS=$(CPPFLAGS)" \
71aad3b8 83 "DESTDIR=$(DESTDIR)" \
28e9041c 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)" \
28e9041c 91 "RANLIB=$(RANLIB)" \
f92ff492 92 "SHELL=$(SHELL)" \
93 "prefix=$(prefix)" \
94 "exec_prefix=$(exec_prefix)" \
95 "libdir=$(libdir)" \
96 "libsubdir=$(libsubdir)" \
97 "tooldir=$(tooldir)"
28e9041c 98
4bc57096 99# Subdirectories to recurse into. We need to override this during cleaning
100SUBDIRS = testsuite
101
614a23c6 102# FIXME: add @BUILD_INFO@ once we're sure it works for everyone.
f945635a 103all: stamp-picdir stamp-noasandir $(TARGETLIB) required-list all-subdir
a426f025 104 @: $(MAKE) ; $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
28e9041c 105
106.PHONY: check installcheck
715f424c 107check: check-subdir
108installcheck: installcheck-subdir
28e9041c 109
3c67ba63 110@host_makefile_frag@
28e9041c 111
112INCDIR=$(srcdir)/$(MULTISRCTOP)../include
113
19ecc7c1 114COMPILE.c = $(CC) -c @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) \
115 $(HDEFINES) @ac_libiberty_warn_cflags@ -D_GNU_SOURCE
acecd7dc 116
117# Just to make sure we don't use a built-in rule with VPATH
a16fe5d1 118.c.$(objext):
acecd7dc 119 false
28e9041c 120
28e9041c 121# NOTE: If you add new files to the library, add them to this list
a1ba1d98 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.
98b6fc70 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 \
be347f2e 128 cp-demint.c cplus-dem.c crc32.c \
23c22e01 129 d-demangle.c dwarfnames.c dyn-string.c \
c86c1cfc 130 fdmatch.c ffs.c fibheap.c filename_cmp.c floatformat.c \
131 fnmatch.c fopen_unlocked.c \
98b6fc70 132 getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c \
5a24a79a 133 gettimeofday.c \
98b6fc70 134 hashtab.c hex.c \
135 index.c insque.c \
136 lbasename.c \
846a645c 137 lrealpath.c \
5feeeb38 138 make-relative-prefix.c \
7687342e 139 make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmem.c \
140 memmove.c mempcpy.c memset.c mkstemps.c \
98b6fc70 141 objalloc.c obstack.c \
22683dca 142 partition.c pexecute.c \
143 pex-common.c pex-djgpp.c pex-msdos.c pex-one.c \
8cb0536d 144 pex-unix.c pex-win32.c \
5cf67f1b 145 physmem.c putenv.c \
98b6fc70 146 random.c regex.c rename.c rindex.c \
3f6f78bc 147 rust-demangle.c \
a3de1f55 148 safe-ctype.c setenv.c setproctitle.c sha1.c sigsetmask.c \
ebb6c20c 149 simple-object.c simple-object-coff.c simple-object-elf.c \
2c64b281 150 simple-object-mach-o.c simple-object-xcoff.c \
a3de1f55 151 snprintf.c sort.c \
00dacc40 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 \
5e1a5aba 155 strtoll.c strtoul.c strtoull.c strndup.c strnlen.c \
156 strverscmp.c timeval-utils.c tmpnam.c \
4e0e2181 157 unlink-if-ordinary.c \
5d95297a 158 vasprintf.c vfork.c vfprintf.c vprintf.c vprintf-support.c \
159 vsnprintf.c vsprintf.c \
98b6fc70 160 waitpid.c \
655833ff 161 xasprintf.c xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c \
162 xstrerror.c xstrndup.c xvasprintf.c
98b6fc70 163
164# These are always included in the library. The first four are listed
165# first and by compile time to optimize parallel builds.
af9790a0 166REQUIRED_OFILES = \
a16fe5d1 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) \
23c22e01 171 ./cp-demint.$(objext) ./crc32.$(objext) ./d-demangle.$(objext) \
c9f46599 172 ./dwarfnames.$(objext) ./dyn-string.$(objext) \
a16fe5d1 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) \
ebb6c20c 180 ./objalloc.$(objext) \
181 ./obstack.$(objext) \
a16fe5d1 182 ./partition.$(objext) ./pexecute.$(objext) ./physmem.$(objext) \
183 ./pex-common.$(objext) ./pex-one.$(objext) \
5d95297a 184 ./@pexecute@.$(objext) ./vprintf-support.$(objext) \
3f6f78bc 185 ./rust-demangle.$(objext) \
ebb6c20c 186 ./safe-ctype.$(objext) \
187 ./simple-object.$(objext) ./simple-object-coff.$(objext) \
188 ./simple-object-elf.$(objext) ./simple-object-mach-o.$(objext) \
2c64b281 189 ./simple-object-xcoff.$(objext) \
ebb6c20c 190 ./sort.$(objext) ./spaces.$(objext) \
00dacc40 191 ./splay-tree.$(objext) ./stack-limit.$(objext) \
c39772e1 192 ./strerror.$(objext) ./strsignal.$(objext) \
193 ./timeval-utils.$(objext) ./unlink-if-ordinary.$(objext) \
655833ff 194 ./xasprintf.$(objext) ./xatexit.$(objext) ./xexit.$(objext) \
195 ./xmalloc.$(objext) ./xmemdup.$(objext) ./xstrdup.$(objext) \
196 ./xstrerror.$(objext) ./xstrndup.$(objext) \
197 ./xvasprintf.$(objext)
f8d49ce1 198
614a23c6 199# These are all the objects that configure may add to the library via
98b6fc70 200# $funcs or EXTRA_OFILES. This list exists here only for "make
201# maint-missing" and "make check".
a16fe5d1 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) \
a3de1f55 218 ./setenv.$(objext) \
219 ./setproctitle.$(objext) \
220 ./sigsetmask.$(objext) ./snprintf.$(objext) \
a16fe5d1 221 ./stpcpy.$(objext) ./stpncpy.$(objext) ./strcasecmp.$(objext) \
222 ./strchr.$(objext) ./strdup.$(objext) ./strncasecmp.$(objext) \
c7babc8d 223 ./strncmp.$(objext) ./strndup.$(objext) ./strnlen.$(objext) \
224 ./strrchr.$(objext) ./strstr.$(objext) ./strtod.$(objext) \
5e1a5aba 225 ./strtol.$(objext) ./strtoul.$(objext) strtoll.$(objext) \
226 ./strtoull.$(objext) ./tmpnam.$(objext) ./strverscmp.$(objext) \
a16fe5d1 227 ./vasprintf.$(objext) ./vfork.$(objext) ./vfprintf.$(objext) \
228 ./vprintf.$(objext) ./vsnprintf.$(objext) ./vsprintf.$(objext) \
229 ./waitpid.$(objext)
614a23c6 230
9123512a 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 \
c39772e1 244 $(INCDIR)/splay-tree.h \
245 $(INCDIR)/timeval-utils.h
9123512a 246
a1ba1d98 247$(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
f945635a 248 -rm -f $(TARGETLIB) pic/$(TARGETLIB) noasan/$(TARGETLIB)
a1ba1d98 249 $(AR) $(AR_FLAGS) $(TARGETLIB) \
250 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
251 $(RANLIB) $(TARGETLIB)
252 if [ x"$(PICFLAG)" != x ]; then \
253 cd pic; \
3de15244 254 $(AR) $(AR_FLAGS) $(TARGETLIB) \
255 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
256 $(RANLIB) $(TARGETLIB); \
257 cd ..; \
f945635a 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 ..; \
3de15244 265 else true; fi
28e9041c 266
a1ba1d98 267$(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
268 -rm -f $(TESTLIB)
269 $(AR) $(AR_FLAGS) $(TESTLIB) \
270 $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
271 $(RANLIB) $(TESTLIB)
98b6fc70 272
614a23c6 273info: libiberty.info info-subdir
274install-info: install-info-subdir
275clean-info: clean-info-subdir
276dvi: libiberty.dvi dvi-subdir
e97a3e25 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
87d31c8b 295
296# html, install-html targets
297HTMLS = libiberty.html
298
299html: $(HTMLS)
300
5379de95 301.PHONY: install-html install-html-am
87d31c8b 302
303NORMAL_INSTALL = :
304mkdir_p = mkdir -p --
a16fe5d1 305
87d31c8b 306html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
307
5379de95 308install-html: install-html-am
87d31c8b 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
614a23c6 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
349e8276 334# and sorted. Some are here because the sources are imported from
335# elsewhere. Others represent headers in ../include.
ebb6c20c 336TEXIFILES = fnmatch.txh pexecute.txh simple-object.txh
614a23c6 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
51f93521 344libiberty.pdf : $(srcdir)/libiberty.texi $(TEXISRC)
345 texi2pdf $(srcdir)/libiberty.texi
346
614a23c6 347libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
52ae5fe7 348 $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $<
614a23c6 349
350@MAINT@$(srcdir)/functions.texi : stamp-functions
351@MAINT@ @true
352
28cc9eac 353@MAINT@stamp-functions : $(CFILES:%=$(srcdir)/%) $(TEXIFILES:%=$(srcdir)/%) $(srcdir)/gather-docs Makefile
614a23c6 354@MAINT@@HAVE_PERL@ $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES)
355@MAINT@ echo stamp > stamp-functions
356
3c67ba63 357INSTALL_DEST = @INSTALL_DEST@
715f424c 358install: install_to_$(INSTALL_DEST) install-subdir
2b7a4d59 359install-strip: install
360
361.PHONY: install install-strip
28e9041c 362
77824291 363# This is tricky. Even though CC in the Makefile contains
364# multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
0a0ac3ab 365# default multilib, so we have to take CFLAGS into account as well,
77824291 366# since it will be passed the multilib flags.
0a0ac3ab 367MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
28e9041c 368install_to_libdir: all
9123512a 369 if test -n "${target_header_dir}"; then \
d86ceed1 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; \
9123512a 382 fi
28e9041c 383 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
384
385install_to_tooldir: all
62133c30 386 ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)
387 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n
46276eaf 388 ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n )
62133c30 389 mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
28e9041c 390 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
391
3c67ba63 392# required-list was used when building a shared bfd/opcodes/libiberty
393# library. I don't know if it used by anything currently.
28e9041c 394required-list: Makefile
395 echo $(REQUIRED_OFILES) > required-list
396
a1ba1d98 397stamp-picdir:
398 if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
399 mkdir pic; \
400 else true; fi
401 touch stamp-picdir
402
f945635a 403stamp-noasandir:
404 if [ x"$(NOASANFLAG)" != x ] && [ ! -d noasan ]; then \
405 mkdir noasan; \
406 else true; fi
407 touch stamp-noasandir
408
e4ea9bef 409.PHONY: all etags tags TAGS ls clean stage1 stage2
28e9041c 410
e4ea9bef 411etags tags TAGS: etags-subdir
3b8a962f 412 cd $(srcdir) && etags $(CFILES)
28e9041c 413
414# The standalone demangler (c++filt) has been moved to binutils.
a8b75081 415# But make this target work anyway for demangler hacking.
416demangle: $(ALL) $(srcdir)/cp-demangle.c
28e9041c 417 @echo "The standalone demangler, now named c++filt, is now"
418 @echo "a part of binutils."
a8b75081 419 $(CC) @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) \
420 $(srcdir)/cp-demangle.c -DSTANDALONE_DEMANGLER $(TARGETLIB) -o $@
28e9041c 421
422ls:
f8d49ce1 423 @echo Makefile $(CFILES)
28e9041c 424
614a23c6 425# Various targets for maintainers.
426
427maint-missing :
a1ba1d98 428 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
614a23c6 429
a1ba1d98 430maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
614a23c6 431 @true
432
349e8276 433maint-undoc : $(srcdir)/functions.texi
434 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
435
98b6fc70 436maint-deps :
437 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
438
28e9041c 439# Need to deal with profiled libraries, too.
440
4bc57096 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.
715f424c 443mostlyclean: mostlyclean-subdir
f945635a 444 -rm -rf *.$(objext) pic noasan core errs \#* *.E a.out
603955f9 445 -rm -f errors dummy config.h stamp-*
f945635a 446 -rm -f $(CONFIG_H) stamp-picdir stamp-noasandir
614a23c6 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
28e9041c 451 @$(MULTICLEAN) multi-clean DO=mostlyclean
4bc57096 452clean: clean-subdir
453 $(MAKE) SUBDIRS="" mostlyclean
61e05d65 454 -rm -f *.a required-list tmpmulti.out
51f93521 455 -rm -f libiberty.dvi libiberty.pdf libiberty.info* libiberty.html
28e9041c 456 @$(MULTICLEAN) multi-clean DO=clean
4bc57096 457distclean: distclean-subdir
458 $(MAKE) SUBDIRS="" clean
28e9041c 459 @$(MULTICLEAN) multi-clean DO=distclean
2ee927a4 460 -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
61e05d65 461 -rm -f config.log
e5fb0a98 462 -rmdir testsuite 2>/dev/null
4bc57096 463maintainer-clean realclean: maintainer-clean-subdir
464 $(MAKE) SUBDIRS="" distclean
28e9041c 465
466force:
467
3c67ba63 468Makefile: $(srcdir)/Makefile.in config.status
469 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
470
8e198eb2 471# Depending on Makefile makes sure that config.status has been re-run
472# if needed. This prevents problems with parallel builds.
3c67ba63 473config.h: stamp-h ; @true
acecd7dc 474stamp-h: $(srcdir)/config.in config.status Makefile
475 CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status
3c67ba63 476
e744e148 477config.status: $(srcdir)/configure
3c67ba63 478 $(SHELL) ./config.status --recheck
28e9041c 479
a2655af1 480AUTOCONF = autoconf
481configure_deps = $(srcdir)/aclocal.m4 \
482 $(srcdir)/../config/acx.m4 \
483 $(srcdir)/../config/no-executables.m4 \
484 $(srcdir)/../config/override.m4 \
cb7a0f1d 485 $(srcdir)/../config/picflag.m4 \
486 $(srcdir)/../config/warnings.m4
a2655af1 487
488$(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(configure_deps)
489 cd $(srcdir) && $(AUTOCONF)
490
a68717dc 491# Depending on config.h makes sure that config.status has been re-run
8e198eb2 492# if needed. This prevents problems with parallel builds, in case
493# subdirectories need to run config.status also.
715f424c 494all-subdir check-subdir installcheck-subdir info-subdir \
51f93521 495install-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir \
715f424c 496etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
a68717dc 497maintainer-clean-subdir: config.h
167a5f18 498 @subdirs='$(SUBDIRS)'; \
c9b2f47c 499 target=`echo $@ | sed -e 's/-subdir//'`; \
167a5f18 500 for dir in $$subdirs ; do \
9d2299ec 501 cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
4bc57096 502 done
715f424c 503
f945635a 504$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir stamp-noasandir
505$(CONFIGURED_OFILES): stamp-picdir stamp-noasandir
a1ba1d98 506
5a24a79a 507# Don't export variables to the environment, in order to not confuse
508# configure.
509.NOEXPORT:
510
98b6fc70 511# The dependencies in the remainder of this file are automatically
512# generated by "make maint-deps". Manual edits will be lost.
763bfe58 513
a16fe5d1 514./_doprnt.$(objext): $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \
98b6fc70 515 $(INCDIR)/safe-ctype.h
a1ba1d98 516 if [ x"$(PICFLAG)" != x ]; then \
517 $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \
518 else true; fi
f945635a 519 if [ x"$(NOASANFLAG)" != x ]; then \
520 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/_doprnt.c -o noasan/$@; \
521 else true; fi
a1ba1d98 522 $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION)
acecd7dc 523
a16fe5d1 524./alloca.$(objext): $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
a68717dc 525 $(INCDIR)/libiberty.h
a1ba1d98 526 if [ x"$(PICFLAG)" != x ]; then \
527 $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \
528 else true; fi
f945635a 529 if [ x"$(NOASANFLAG)" != x ]; then \
530 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/alloca.c -o noasan/$@; \
531 else true; fi
a1ba1d98 532 $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION)
acecd7dc 533
a16fe5d1 534./argv.$(objext): $(srcdir)/argv.c config.h $(INCDIR)/ansidecl.h \
535 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
a1ba1d98 536 if [ x"$(PICFLAG)" != x ]; then \
537 $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \
538 else true; fi
f945635a 539 if [ x"$(NOASANFLAG)" != x ]; then \
540 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/argv.c -o noasan/$@; \
541 else true; fi
a1ba1d98 542 $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION)
acecd7dc 543
a16fe5d1 544./asprintf.$(objext): $(srcdir)/asprintf.c config.h $(INCDIR)/ansidecl.h \
1954c0c7 545 $(INCDIR)/libiberty.h
a1ba1d98 546 if [ x"$(PICFLAG)" != x ]; then \
547 $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \
548 else true; fi
f945635a 549 if [ x"$(NOASANFLAG)" != x ]; then \
550 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/asprintf.c -o noasan/$@; \
551 else true; fi
a1ba1d98 552 $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION)
acecd7dc 553
a16fe5d1 554./atexit.$(objext): $(srcdir)/atexit.c config.h
a1ba1d98 555 if [ x"$(PICFLAG)" != x ]; then \
556 $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \
557 else true; fi
f945635a 558 if [ x"$(NOASANFLAG)" != x ]; then \
559 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/atexit.c -o noasan/$@; \
560 else true; fi
a1ba1d98 561 $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION)
acecd7dc 562
a16fe5d1 563./basename.$(objext): $(srcdir)/basename.c config.h $(INCDIR)/ansidecl.h \
1954c0c7 564 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
a1ba1d98 565 if [ x"$(PICFLAG)" != x ]; then \
566 $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \
567 else true; fi
f945635a 568 if [ x"$(NOASANFLAG)" != x ]; then \
569 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/basename.c -o noasan/$@; \
570 else true; fi
a1ba1d98 571 $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION)
acecd7dc 572
a16fe5d1 573./bcmp.$(objext): $(srcdir)/bcmp.c
a1ba1d98 574 if [ x"$(PICFLAG)" != x ]; then \
575 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \
576 else true; fi
f945635a 577 if [ x"$(NOASANFLAG)" != x ]; then \
578 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcmp.c -o noasan/$@; \
579 else true; fi
a1ba1d98 580 $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION)
acecd7dc 581
a16fe5d1 582./bcopy.$(objext): $(srcdir)/bcopy.c
a1ba1d98 583 if [ x"$(PICFLAG)" != x ]; then \
584 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \
585 else true; fi
f945635a 586 if [ x"$(NOASANFLAG)" != x ]; then \
587 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcopy.c -o noasan/$@; \
588 else true; fi
a1ba1d98 589 $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION)
acecd7dc 590
a16fe5d1 591./bsearch.$(objext): $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h
a1ba1d98 592 if [ x"$(PICFLAG)" != x ]; then \
593 $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \
594 else true; fi
f945635a 595 if [ x"$(NOASANFLAG)" != x ]; then \
596 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bsearch.c -o noasan/$@; \
597 else true; fi
a1ba1d98 598 $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION)
acecd7dc 599
a16fe5d1 600./bzero.$(objext): $(srcdir)/bzero.c
a1ba1d98 601 if [ x"$(PICFLAG)" != x ]; then \
602 $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \
603 else true; fi
f945635a 604 if [ x"$(NOASANFLAG)" != x ]; then \
605 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bzero.c -o noasan/$@; \
606 else true; fi
a1ba1d98 607 $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION)
acecd7dc 608
a16fe5d1 609./calloc.$(objext): $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
a1ba1d98 610 if [ x"$(PICFLAG)" != x ]; then \
611 $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \
612 else true; fi
f945635a 613 if [ x"$(NOASANFLAG)" != x ]; then \
614 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/calloc.c -o noasan/$@; \
615 else true; fi
a1ba1d98 616 $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION)
acecd7dc 617
a16fe5d1 618./choose-temp.$(objext): $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 619 $(INCDIR)/libiberty.h
a1ba1d98 620 if [ x"$(PICFLAG)" != x ]; then \
621 $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \
622 else true; fi
f945635a 623 if [ x"$(NOASANFLAG)" != x ]; then \
624 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/choose-temp.c -o noasan/$@; \
625 else true; fi
a1ba1d98 626 $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION)
acecd7dc 627
a16fe5d1 628./clock.$(objext): $(srcdir)/clock.c config.h
a1ba1d98 629 if [ x"$(PICFLAG)" != x ]; then \
630 $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \
631 else true; fi
f945635a 632 if [ x"$(NOASANFLAG)" != x ]; then \
633 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/clock.c -o noasan/$@; \
634 else true; fi
a1ba1d98 635 $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION)
acecd7dc 636
a16fe5d1 637./concat.$(objext): $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
a68717dc 638 $(INCDIR)/libiberty.h
a1ba1d98 639 if [ x"$(PICFLAG)" != x ]; then \
640 $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \
641 else true; fi
f945635a 642 if [ x"$(NOASANFLAG)" != x ]; then \
643 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/concat.c -o noasan/$@; \
644 else true; fi
a1ba1d98 645 $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION)
acecd7dc 646
a16fe5d1 647./copysign.$(objext): $(srcdir)/copysign.c $(INCDIR)/ansidecl.h
a1ba1d98 648 if [ x"$(PICFLAG)" != x ]; then \
649 $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \
650 else true; fi
f945635a 651 if [ x"$(NOASANFLAG)" != x ]; then \
652 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/copysign.c -o noasan/$@; \
653 else true; fi
a1ba1d98 654 $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION)
acecd7dc 655
a16fe5d1 656./cp-demangle.$(objext): $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 657 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
658 $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
a1ba1d98 659 if [ x"$(PICFLAG)" != x ]; then \
660 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \
661 else true; fi
f945635a 662 if [ x"$(NOASANFLAG)" != x ]; then \
663 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demangle.c -o noasan/$@; \
664 else true; fi
a1ba1d98 665 $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION)
acecd7dc 666
a16fe5d1 667./cp-demint.$(objext): $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 668 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
98b6fc70 669 $(INCDIR)/libiberty.h
a1ba1d98 670 if [ x"$(PICFLAG)" != x ]; then \
671 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \
672 else true; fi
f945635a 673 if [ x"$(NOASANFLAG)" != x ]; then \
674 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demint.c -o noasan/$@; \
675 else true; fi
a1ba1d98 676 $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION)
acecd7dc 677
a16fe5d1 678./cplus-dem.$(objext): $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 679 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
680 $(INCDIR)/safe-ctype.h
a1ba1d98 681 if [ x"$(PICFLAG)" != x ]; then \
682 $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \
683 else true; fi
f945635a 684 if [ x"$(NOASANFLAG)" != x ]; then \
685 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cplus-dem.c -o noasan/$@; \
686 else true; fi
a1ba1d98 687 $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION)
acecd7dc 688
a16fe5d1 689./crc32.$(objext): $(srcdir)/crc32.c config.h $(INCDIR)/ansidecl.h \
690 $(INCDIR)/libiberty.h
be347f2e 691 if [ x"$(PICFLAG)" != x ]; then \
692 $(COMPILE.c) $(PICFLAG) $(srcdir)/crc32.c -o pic/$@; \
693 else true; fi
f945635a 694 if [ x"$(NOASANFLAG)" != x ]; then \
695 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/crc32.c -o noasan/$@; \
696 else true; fi
be347f2e 697 $(COMPILE.c) $(srcdir)/crc32.c $(OUTPUT_OPTION)
698
5e1a5aba 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
c7babc8d 710./dwarfnames.$(objext): $(srcdir)/dwarfnames.c $(INCDIR)/dwarf2.def \
711 $(INCDIR)/dwarf2.h
c9f46599 712 if [ x"$(PICFLAG)" != x ]; then \
713 $(COMPILE.c) $(PICFLAG) $(srcdir)/dwarfnames.c -o pic/$@; \
714 else true; fi
f945635a 715 if [ x"$(NOASANFLAG)" != x ]; then \
716 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dwarfnames.c -o noasan/$@; \
717 else true; fi
c9f46599 718 $(COMPILE.c) $(srcdir)/dwarfnames.c $(OUTPUT_OPTION)
719
a16fe5d1 720./dyn-string.$(objext): $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 721 $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
a1ba1d98 722 if [ x"$(PICFLAG)" != x ]; then \
723 $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \
724 else true; fi
f945635a 725 if [ x"$(NOASANFLAG)" != x ]; then \
726 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dyn-string.c -o noasan/$@; \
727 else true; fi
a1ba1d98 728 $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION)
acecd7dc 729
a16fe5d1 730./fdmatch.$(objext): $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \
1954c0c7 731 $(INCDIR)/libiberty.h
a1ba1d98 732 if [ x"$(PICFLAG)" != x ]; then \
733 $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \
734 else true; fi
f945635a 735 if [ x"$(NOASANFLAG)" != x ]; then \
736 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fdmatch.c -o noasan/$@; \
737 else true; fi
a1ba1d98 738 $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION)
acecd7dc 739
a16fe5d1 740./ffs.$(objext): $(srcdir)/ffs.c
a1ba1d98 741 if [ x"$(PICFLAG)" != x ]; then \
742 $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \
743 else true; fi
f945635a 744 if [ x"$(NOASANFLAG)" != x ]; then \
745 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/ffs.c -o noasan/$@; \
746 else true; fi
a1ba1d98 747 $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION)
acecd7dc 748
a16fe5d1 749./fibheap.$(objext): $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
a68717dc 750 $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h
a1ba1d98 751 if [ x"$(PICFLAG)" != x ]; then \
752 $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \
753 else true; fi
f945635a 754 if [ x"$(NOASANFLAG)" != x ]; then \
755 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fibheap.c -o noasan/$@; \
756 else true; fi
a1ba1d98 757 $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION)
acecd7dc 758
c7babc8d 759./filename_cmp.$(objext): $(srcdir)/filename_cmp.c config.h $(INCDIR)/ansidecl.h \
760 $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
c13d1306 761 $(INCDIR)/safe-ctype.h
c86c1cfc 762 if [ x"$(PICFLAG)" != x ]; then \
763 $(COMPILE.c) $(PICFLAG) $(srcdir)/filename_cmp.c -o pic/$@; \
764 else true; fi
f945635a 765 if [ x"$(NOASANFLAG)" != x ]; then \
766 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/filename_cmp.c -o noasan/$@; \
767 else true; fi
c86c1cfc 768 $(COMPILE.c) $(srcdir)/filename_cmp.c $(OUTPUT_OPTION)
769
a16fe5d1 770./floatformat.$(objext): $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 771 $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
a1ba1d98 772 if [ x"$(PICFLAG)" != x ]; then \
773 $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \
774 else true; fi
f945635a 775 if [ x"$(NOASANFLAG)" != x ]; then \
776 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/floatformat.c -o noasan/$@; \
777 else true; fi
a1ba1d98 778 $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION)
acecd7dc 779
a16fe5d1 780./fnmatch.$(objext): $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
acecd7dc 781 $(INCDIR)/safe-ctype.h
a1ba1d98 782 if [ x"$(PICFLAG)" != x ]; then \
783 $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \
784 else true; fi
f945635a 785 if [ x"$(NOASANFLAG)" != x ]; then \
786 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fnmatch.c -o noasan/$@; \
787 else true; fi
a1ba1d98 788 $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION)
acecd7dc 789
a16fe5d1 790./fopen_unlocked.$(objext): $(srcdir)/fopen_unlocked.c config.h \
791 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
35f4c956 792 if [ x"$(PICFLAG)" != x ]; then \
793 $(COMPILE.c) $(PICFLAG) $(srcdir)/fopen_unlocked.c -o pic/$@; \
794 else true; fi
f945635a 795 if [ x"$(NOASANFLAG)" != x ]; then \
796 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fopen_unlocked.c -o noasan/$@; \
797 else true; fi
35f4c956 798 $(COMPILE.c) $(srcdir)/fopen_unlocked.c $(OUTPUT_OPTION)
799
a16fe5d1 800./getcwd.$(objext): $(srcdir)/getcwd.c config.h
a1ba1d98 801 if [ x"$(PICFLAG)" != x ]; then \
802 $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \
803 else true; fi
f945635a 804 if [ x"$(NOASANFLAG)" != x ]; then \
805 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getcwd.c -o noasan/$@; \
806 else true; fi
a1ba1d98 807 $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION)
acecd7dc 808
a16fe5d1 809./getopt.$(objext): $(srcdir)/getopt.c config.h $(INCDIR)/ansidecl.h \
810 $(INCDIR)/getopt.h
a1ba1d98 811 if [ x"$(PICFLAG)" != x ]; then \
812 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \
813 else true; fi
f945635a 814 if [ x"$(NOASANFLAG)" != x ]; then \
815 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt.c -o noasan/$@; \
816 else true; fi
a1ba1d98 817 $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION)
acecd7dc 818
a16fe5d1 819./getopt1.$(objext): $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h
a1ba1d98 820 if [ x"$(PICFLAG)" != x ]; then \
821 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \
822 else true; fi
f945635a 823 if [ x"$(NOASANFLAG)" != x ]; then \
824 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt1.c -o noasan/$@; \
825 else true; fi
a1ba1d98 826 $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION)
acecd7dc 827
a16fe5d1 828./getpagesize.$(objext): $(srcdir)/getpagesize.c config.h
a1ba1d98 829 if [ x"$(PICFLAG)" != x ]; then \
830 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \
831 else true; fi
f945635a 832 if [ x"$(NOASANFLAG)" != x ]; then \
833 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpagesize.c -o noasan/$@; \
834 else true; fi
a1ba1d98 835 $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION)
acecd7dc 836
a16fe5d1 837./getpwd.$(objext): $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
a68717dc 838 $(INCDIR)/libiberty.h
a1ba1d98 839 if [ x"$(PICFLAG)" != x ]; then \
840 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \
841 else true; fi
f945635a 842 if [ x"$(NOASANFLAG)" != x ]; then \
843 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpwd.c -o noasan/$@; \
844 else true; fi
a1ba1d98 845 $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION)
acecd7dc 846
a16fe5d1 847./getruntime.$(objext): $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
98b6fc70 848 $(INCDIR)/libiberty.h
a1ba1d98 849 if [ x"$(PICFLAG)" != x ]; then \
850 $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \
851 else true; fi
f945635a 852 if [ x"$(NOASANFLAG)" != x ]; then \
853 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getruntime.c -o noasan/$@; \
854 else true; fi
a1ba1d98 855 $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION)
acecd7dc 856
a16fe5d1 857./gettimeofday.$(objext): $(srcdir)/gettimeofday.c config.h $(INCDIR)/ansidecl.h \
5a24a79a 858 $(INCDIR)/libiberty.h
859 if [ x"$(PICFLAG)" != x ]; then \
860 $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \
861 else true; fi
f945635a 862 if [ x"$(NOASANFLAG)" != x ]; then \
863 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/gettimeofday.c -o noasan/$@; \
864 else true; fi
5a24a79a 865 $(COMPILE.c) $(srcdir)/gettimeofday.c $(OUTPUT_OPTION)
866
a16fe5d1 867./hashtab.$(objext): $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
a68717dc 868 $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
a1ba1d98 869 if [ x"$(PICFLAG)" != x ]; then \
870 $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \
871 else true; fi
f945635a 872 if [ x"$(NOASANFLAG)" != x ]; then \
873 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hashtab.c -o noasan/$@; \
874 else true; fi
a1ba1d98 875 $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION)
acecd7dc 876
a16fe5d1 877./hex.$(objext): $(srcdir)/hex.c config.h $(INCDIR)/ansidecl.h \
878 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
a1ba1d98 879 if [ x"$(PICFLAG)" != x ]; then \
880 $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \
881 else true; fi
f945635a 882 if [ x"$(NOASANFLAG)" != x ]; then \
883 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hex.c -o noasan/$@; \
884 else true; fi
a1ba1d98 885 $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION)
acecd7dc 886
a16fe5d1 887./index.$(objext): $(srcdir)/index.c
a1ba1d98 888 if [ x"$(PICFLAG)" != x ]; then \
889 $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \
890 else true; fi
f945635a 891 if [ x"$(NOASANFLAG)" != x ]; then \
892 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/index.c -o noasan/$@; \
893 else true; fi
a1ba1d98 894 $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION)
acecd7dc 895
a16fe5d1 896./insque.$(objext): $(srcdir)/insque.c
a1ba1d98 897 if [ x"$(PICFLAG)" != x ]; then \
898 $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \
899 else true; fi
f945635a 900 if [ x"$(NOASANFLAG)" != x ]; then \
901 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/insque.c -o noasan/$@; \
902 else true; fi
a1ba1d98 903 $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION)
acecd7dc 904
a16fe5d1 905./lbasename.$(objext): $(srcdir)/lbasename.c config.h $(INCDIR)/ansidecl.h \
c7babc8d 906 $(INCDIR)/filenames.h $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h \
a16fe5d1 907 $(INCDIR)/safe-ctype.h
a1ba1d98 908 if [ x"$(PICFLAG)" != x ]; then \
909 $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \
910 else true; fi
f945635a 911 if [ x"$(NOASANFLAG)" != x ]; then \
912 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lbasename.c -o noasan/$@; \
913 else true; fi
a1ba1d98 914 $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION)
acecd7dc 915
a16fe5d1 916./lrealpath.$(objext): $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 917 $(INCDIR)/libiberty.h
a1ba1d98 918 if [ x"$(PICFLAG)" != x ]; then \
919 $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \
920 else true; fi
f945635a 921 if [ x"$(NOASANFLAG)" != x ]; then \
922 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lrealpath.c -o noasan/$@; \
923 else true; fi
a1ba1d98 924 $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION)
acecd7dc 925
a16fe5d1 926./make-relative-prefix.$(objext): $(srcdir)/make-relative-prefix.c config.h \
acecd7dc 927 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
a1ba1d98 928 if [ x"$(PICFLAG)" != x ]; then \
929 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \
930 else true; fi
f945635a 931 if [ x"$(NOASANFLAG)" != x ]; then \
932 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-relative-prefix.c -o noasan/$@; \
933 else true; fi
a1ba1d98 934 $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION)
acecd7dc 935
a16fe5d1 936./make-temp-file.$(objext): $(srcdir)/make-temp-file.c config.h \
937 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
a1ba1d98 938 if [ x"$(PICFLAG)" != x ]; then \
939 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \
940 else true; fi
f945635a 941 if [ x"$(NOASANFLAG)" != x ]; then \
942 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-temp-file.c -o noasan/$@; \
943 else true; fi
a1ba1d98 944 $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION)
acecd7dc 945
a16fe5d1 946./md5.$(objext): $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
a1ba1d98 947 if [ x"$(PICFLAG)" != x ]; then \
948 $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \
949 else true; fi
f945635a 950 if [ x"$(NOASANFLAG)" != x ]; then \
951 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/md5.c -o noasan/$@; \
952 else true; fi
a1ba1d98 953 $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION)
acecd7dc 954
a16fe5d1 955./memchr.$(objext): $(srcdir)/memchr.c $(INCDIR)/ansidecl.h
a1ba1d98 956 if [ x"$(PICFLAG)" != x ]; then \
957 $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \
958 else true; fi
f945635a 959 if [ x"$(NOASANFLAG)" != x ]; then \
960 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memchr.c -o noasan/$@; \
961 else true; fi
a1ba1d98 962 $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION)
acecd7dc 963
a16fe5d1 964./memcmp.$(objext): $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h
a1ba1d98 965 if [ x"$(PICFLAG)" != x ]; then \
966 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \
967 else true; fi
f945635a 968 if [ x"$(NOASANFLAG)" != x ]; then \
969 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcmp.c -o noasan/$@; \
970 else true; fi
a1ba1d98 971 $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION)
acecd7dc 972
a16fe5d1 973./memcpy.$(objext): $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h
a1ba1d98 974 if [ x"$(PICFLAG)" != x ]; then \
975 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \
976 else true; fi
f945635a 977 if [ x"$(NOASANFLAG)" != x ]; then \
978 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcpy.c -o noasan/$@; \
979 else true; fi
a1ba1d98 980 $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION)
acecd7dc 981
a16fe5d1 982./memmem.$(objext): $(srcdir)/memmem.c config.h
7687342e 983 if [ x"$(PICFLAG)" != x ]; then \
984 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmem.c -o pic/$@; \
985 else true; fi
f945635a 986 if [ x"$(NOASANFLAG)" != x ]; then \
987 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmem.c -o noasan/$@; \
988 else true; fi
7687342e 989 $(COMPILE.c) $(srcdir)/memmem.c $(OUTPUT_OPTION)
990
a16fe5d1 991./memmove.$(objext): $(srcdir)/memmove.c $(INCDIR)/ansidecl.h
a1ba1d98 992 if [ x"$(PICFLAG)" != x ]; then \
993 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \
994 else true; fi
f945635a 995 if [ x"$(NOASANFLAG)" != x ]; then \
996 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmove.c -o noasan/$@; \
997 else true; fi
a1ba1d98 998 $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION)
acecd7dc 999
a16fe5d1 1000./mempcpy.$(objext): $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h
a1ba1d98 1001 if [ x"$(PICFLAG)" != x ]; then \
1002 $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \
1003 else true; fi
f945635a 1004 if [ x"$(NOASANFLAG)" != x ]; then \
1005 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mempcpy.c -o noasan/$@; \
1006 else true; fi
a1ba1d98 1007 $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION)
acecd7dc 1008
a16fe5d1 1009./memset.$(objext): $(srcdir)/memset.c $(INCDIR)/ansidecl.h
a1ba1d98 1010 if [ x"$(PICFLAG)" != x ]; then \
1011 $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \
1012 else true; fi
f945635a 1013 if [ x"$(NOASANFLAG)" != x ]; then \
1014 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memset.c -o noasan/$@; \
1015 else true; fi
a1ba1d98 1016 $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION)
acecd7dc 1017
a16fe5d1 1018./mkstemps.$(objext): $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h
a1ba1d98 1019 if [ x"$(PICFLAG)" != x ]; then \
1020 $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \
1021 else true; fi
f945635a 1022 if [ x"$(NOASANFLAG)" != x ]; then \
1023 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mkstemps.c -o noasan/$@; \
1024 else true; fi
a1ba1d98 1025 $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION)
acecd7dc 1026
a16fe5d1 1027./msdos.$(objext): $(srcdir)/msdos.c
a1ba1d98 1028 if [ x"$(PICFLAG)" != x ]; then \
1029 $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \
1030 else true; fi
f945635a 1031 if [ x"$(NOASANFLAG)" != x ]; then \
1032 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/msdos.c -o noasan/$@; \
1033 else true; fi
a1ba1d98 1034 $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION)
acecd7dc 1035
a16fe5d1 1036./objalloc.$(objext): $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 1037 $(INCDIR)/objalloc.h
a1ba1d98 1038 if [ x"$(PICFLAG)" != x ]; then \
1039 $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \
1040 else true; fi
f945635a 1041 if [ x"$(NOASANFLAG)" != x ]; then \
1042 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/objalloc.c -o noasan/$@; \
1043 else true; fi
a1ba1d98 1044 $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION)
acecd7dc 1045
a16fe5d1 1046./obstack.$(objext): $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h
a1ba1d98 1047 if [ x"$(PICFLAG)" != x ]; then \
1048 $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \
1049 else true; fi
f945635a 1050 if [ x"$(NOASANFLAG)" != x ]; then \
1051 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/obstack.c -o noasan/$@; \
1052 else true; fi
a1ba1d98 1053 $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION)
acecd7dc 1054
a16fe5d1 1055./partition.$(objext): $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 1056 $(INCDIR)/libiberty.h $(INCDIR)/partition.h
a1ba1d98 1057 if [ x"$(PICFLAG)" != x ]; then \
1058 $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \
1059 else true; fi
f945635a 1060 if [ x"$(NOASANFLAG)" != x ]; then \
1061 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/partition.c -o noasan/$@; \
1062 else true; fi
a1ba1d98 1063 $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION)
acecd7dc 1064
a16fe5d1 1065./pex-common.$(objext): $(srcdir)/pex-common.c config.h $(INCDIR)/ansidecl.h \
22683dca 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
f945635a 1070 if [ x"$(NOASANFLAG)" != x ]; then \
1071 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-common.c -o noasan/$@; \
1072 else true; fi
22683dca 1073 $(COMPILE.c) $(srcdir)/pex-common.c $(OUTPUT_OPTION)
1074
a16fe5d1 1075./pex-djgpp.$(objext): $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 1076 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
a1ba1d98 1077 if [ x"$(PICFLAG)" != x ]; then \
1078 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \
1079 else true; fi
f945635a 1080 if [ x"$(NOASANFLAG)" != x ]; then \
1081 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-djgpp.c -o noasan/$@; \
1082 else true; fi
a1ba1d98 1083 $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION)
acecd7dc 1084
a16fe5d1 1085./pex-msdos.$(objext): $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 1086 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \
1087 $(INCDIR)/safe-ctype.h
a1ba1d98 1088 if [ x"$(PICFLAG)" != x ]; then \
1089 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \
1090 else true; fi
f945635a 1091 if [ x"$(NOASANFLAG)" != x ]; then \
1092 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-msdos.c -o noasan/$@; \
1093 else true; fi
a1ba1d98 1094 $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION)
acecd7dc 1095
a16fe5d1 1096./pex-one.$(objext): $(srcdir)/pex-one.c config.h $(INCDIR)/ansidecl.h \
22683dca 1097 $(INCDIR)/libiberty.h
1098 if [ x"$(PICFLAG)" != x ]; then \
1099 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-one.c -o pic/$@; \
1100 else true; fi
f945635a 1101 if [ x"$(NOASANFLAG)" != x ]; then \
1102 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-one.c -o noasan/$@; \
1103 else true; fi
22683dca 1104 $(COMPILE.c) $(srcdir)/pex-one.c $(OUTPUT_OPTION)
1105
a16fe5d1 1106./pex-unix.$(objext): $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 1107 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
a1ba1d98 1108 if [ x"$(PICFLAG)" != x ]; then \
1109 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \
1110 else true; fi
f945635a 1111 if [ x"$(NOASANFLAG)" != x ]; then \
1112 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-unix.c -o noasan/$@; \
1113 else true; fi
a1ba1d98 1114 $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION)
acecd7dc 1115
a16fe5d1 1116./pex-win32.$(objext): $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 1117 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
a1ba1d98 1118 if [ x"$(PICFLAG)" != x ]; then \
1119 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \
1120 else true; fi
f945635a 1121 if [ x"$(NOASANFLAG)" != x ]; then \
1122 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-win32.c -o noasan/$@; \
1123 else true; fi
a1ba1d98 1124 $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION)
acecd7dc 1125
a16fe5d1 1126./pexecute.$(objext): $(srcdir)/pexecute.c config.h $(INCDIR)/ansidecl.h \
22683dca 1127 $(INCDIR)/libiberty.h
1128 if [ x"$(PICFLAG)" != x ]; then \
1129 $(COMPILE.c) $(PICFLAG) $(srcdir)/pexecute.c -o pic/$@; \
1130 else true; fi
f945635a 1131 if [ x"$(NOASANFLAG)" != x ]; then \
1132 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pexecute.c -o noasan/$@; \
1133 else true; fi
22683dca 1134 $(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION)
1135
a16fe5d1 1136./physmem.$(objext): $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 1137 $(INCDIR)/libiberty.h
a1ba1d98 1138 if [ x"$(PICFLAG)" != x ]; then \
1139 $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \
1140 else true; fi
f945635a 1141 if [ x"$(NOASANFLAG)" != x ]; then \
1142 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/physmem.c -o noasan/$@; \
1143 else true; fi
a1ba1d98 1144 $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION)
acecd7dc 1145
a16fe5d1 1146./putenv.$(objext): $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h
a1ba1d98 1147 if [ x"$(PICFLAG)" != x ]; then \
1148 $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \
1149 else true; fi
f945635a 1150 if [ x"$(NOASANFLAG)" != x ]; then \
1151 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/putenv.c -o noasan/$@; \
1152 else true; fi
a1ba1d98 1153 $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION)
acecd7dc 1154
a16fe5d1 1155./random.$(objext): $(srcdir)/random.c $(INCDIR)/ansidecl.h
a1ba1d98 1156 if [ x"$(PICFLAG)" != x ]; then \
1157 $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \
1158 else true; fi
f945635a 1159 if [ x"$(NOASANFLAG)" != x ]; then \
1160 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/random.c -o noasan/$@; \
1161 else true; fi
a1ba1d98 1162 $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION)
acecd7dc 1163
a16fe5d1 1164./regex.$(objext): $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h \
1165 $(INCDIR)/xregex.h $(INCDIR)/xregex2.h
a1ba1d98 1166 if [ x"$(PICFLAG)" != x ]; then \
1167 $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \
1168 else true; fi
f945635a 1169 if [ x"$(NOASANFLAG)" != x ]; then \
1170 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/regex.c -o noasan/$@; \
1171 else true; fi
a1ba1d98 1172 $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION)
acecd7dc 1173
a16fe5d1 1174./rename.$(objext): $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h
a1ba1d98 1175 if [ x"$(PICFLAG)" != x ]; then \
1176 $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \
1177 else true; fi
f945635a 1178 if [ x"$(NOASANFLAG)" != x ]; then \
1179 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rename.c -o noasan/$@; \
1180 else true; fi
a1ba1d98 1181 $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION)
acecd7dc 1182
a16fe5d1 1183./rindex.$(objext): $(srcdir)/rindex.c
a1ba1d98 1184 if [ x"$(PICFLAG)" != x ]; then \
1185 $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \
1186 else true; fi
f945635a 1187 if [ x"$(NOASANFLAG)" != x ]; then \
1188 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rindex.c -o noasan/$@; \
1189 else true; fi
a1ba1d98 1190 $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION)
acecd7dc 1191
3f6f78bc 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
a16fe5d1 1203./safe-ctype.$(objext): $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
acecd7dc 1204 $(INCDIR)/safe-ctype.h
a1ba1d98 1205 if [ x"$(PICFLAG)" != x ]; then \
1206 $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \
1207 else true; fi
f945635a 1208 if [ x"$(NOASANFLAG)" != x ]; then \
1209 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/safe-ctype.c -o noasan/$@; \
1210 else true; fi
a1ba1d98 1211 $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION)
acecd7dc 1212
a16fe5d1 1213./setenv.$(objext): $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h
a1ba1d98 1214 if [ x"$(PICFLAG)" != x ]; then \
1215 $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \
1216 else true; fi
f945635a 1217 if [ x"$(NOASANFLAG)" != x ]; then \
1218 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setenv.c -o noasan/$@; \
1219 else true; fi
a1ba1d98 1220 $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION)
acecd7dc 1221
a3de1f55 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
f945635a 1226 if [ x"$(NOASANFLAG)" != x ]; then \
1227 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setproctitle.c -o noasan/$@; \
1228 else true; fi
a3de1f55 1229 $(COMPILE.c) $(srcdir)/setproctitle.c $(OUTPUT_OPTION)
1230
a16fe5d1 1231./sha1.$(objext): $(srcdir)/sha1.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/sha1.h
af9790a0 1232 if [ x"$(PICFLAG)" != x ]; then \
1233 $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \
1234 else true; fi
f945635a 1235 if [ x"$(NOASANFLAG)" != x ]; then \
1236 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sha1.c -o noasan/$@; \
1237 else true; fi
af9790a0 1238 $(COMPILE.c) $(srcdir)/sha1.c $(OUTPUT_OPTION)
1239
a16fe5d1 1240./sigsetmask.$(objext): $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
a1ba1d98 1241 if [ x"$(PICFLAG)" != x ]; then \
1242 $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \
1243 else true; fi
f945635a 1244 if [ x"$(NOASANFLAG)" != x ]; then \
1245 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sigsetmask.c -o noasan/$@; \
1246 else true; fi
a1ba1d98 1247 $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
acecd7dc 1248
ebb6c20c 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
f945635a 1255 if [ x"$(NOASANFLAG)" != x ]; then \
1256 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-coff.c -o noasan/$@; \
1257 else true; fi
ebb6c20c 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
f945635a 1266 if [ x"$(NOASANFLAG)" != x ]; then \
1267 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-elf.c -o noasan/$@; \
1268 else true; fi
ebb6c20c 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
f945635a 1277 if [ x"$(NOASANFLAG)" != x ]; then \
1278 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-mach-o.c -o noasan/$@; \
1279 else true; fi
ebb6c20c 1280 $(COMPILE.c) $(srcdir)/simple-object-mach-o.c $(OUTPUT_OPTION)
1281
2c64b281 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
f945635a 1288 if [ x"$(NOASANFLAG)" != x ]; then \
1289 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-xcoff.c -o noasan/$@; \
1290 else true; fi
2c64b281 1291 $(COMPILE.c) $(srcdir)/simple-object-xcoff.c $(OUTPUT_OPTION)
1292
ebb6c20c 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
f945635a 1299 if [ x"$(NOASANFLAG)" != x ]; then \
1300 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object.c -o noasan/$@; \
1301 else true; fi
ebb6c20c 1302 $(COMPILE.c) $(srcdir)/simple-object.c $(OUTPUT_OPTION)
1303
a16fe5d1 1304./snprintf.$(objext): $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
a1ba1d98 1305 if [ x"$(PICFLAG)" != x ]; then \
1306 $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
1307 else true; fi
f945635a 1308 if [ x"$(NOASANFLAG)" != x ]; then \
1309 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/snprintf.c -o noasan/$@; \
1310 else true; fi
a1ba1d98 1311 $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
acecd7dc 1312
a16fe5d1 1313./sort.$(objext): $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h \
1314 $(INCDIR)/libiberty.h $(INCDIR)/sort.h
a1ba1d98 1315 if [ x"$(PICFLAG)" != x ]; then \
1316 $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \
1317 else true; fi
f945635a 1318 if [ x"$(NOASANFLAG)" != x ]; then \
1319 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sort.c -o noasan/$@; \
1320 else true; fi
a1ba1d98 1321 $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION)
acecd7dc 1322
a16fe5d1 1323./spaces.$(objext): $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \
a68717dc 1324 $(INCDIR)/libiberty.h
a1ba1d98 1325 if [ x"$(PICFLAG)" != x ]; then \
1326 $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \
1327 else true; fi
f945635a 1328 if [ x"$(NOASANFLAG)" != x ]; then \
1329 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/spaces.c -o noasan/$@; \
1330 else true; fi
a1ba1d98 1331 $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION)
acecd7dc 1332
a16fe5d1 1333./splay-tree.$(objext): $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 1334 $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
a1ba1d98 1335 if [ x"$(PICFLAG)" != x ]; then \
1336 $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \
1337 else true; fi
f945635a 1338 if [ x"$(NOASANFLAG)" != x ]; then \
1339 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/splay-tree.c -o noasan/$@; \
1340 else true; fi
a1ba1d98 1341 $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
acecd7dc 1342
c7babc8d 1343./stack-limit.$(objext): $(srcdir)/stack-limit.c config.h $(INCDIR)/ansidecl.h
00dacc40 1344 if [ x"$(PICFLAG)" != x ]; then \
1345 $(COMPILE.c) $(PICFLAG) $(srcdir)/stack-limit.c -o pic/$@; \
1346 else true; fi
f945635a 1347 if [ x"$(NOASANFLAG)" != x ]; then \
1348 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stack-limit.c -o noasan/$@; \
1349 else true; fi
00dacc40 1350 $(COMPILE.c) $(srcdir)/stack-limit.c $(OUTPUT_OPTION)
1351
a16fe5d1 1352./stpcpy.$(objext): $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
a1ba1d98 1353 if [ x"$(PICFLAG)" != x ]; then \
1354 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
1355 else true; fi
f945635a 1356 if [ x"$(NOASANFLAG)" != x ]; then \
1357 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpcpy.c -o noasan/$@; \
1358 else true; fi
a1ba1d98 1359 $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION)
acecd7dc 1360
a16fe5d1 1361./stpncpy.$(objext): $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
a1ba1d98 1362 if [ x"$(PICFLAG)" != x ]; then \
1363 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \
1364 else true; fi
f945635a 1365 if [ x"$(NOASANFLAG)" != x ]; then \
1366 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpncpy.c -o noasan/$@; \
1367 else true; fi
a1ba1d98 1368 $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
acecd7dc 1369
a16fe5d1 1370./strcasecmp.$(objext): $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
a1ba1d98 1371 if [ x"$(PICFLAG)" != x ]; then \
1372 $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \
1373 else true; fi
f945635a 1374 if [ x"$(NOASANFLAG)" != x ]; then \
1375 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strcasecmp.c -o noasan/$@; \
1376 else true; fi
a1ba1d98 1377 $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION)
acecd7dc 1378
a16fe5d1 1379./strchr.$(objext): $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
a1ba1d98 1380 if [ x"$(PICFLAG)" != x ]; then \
1381 $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \
1382 else true; fi
f945635a 1383 if [ x"$(NOASANFLAG)" != x ]; then \
1384 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strchr.c -o noasan/$@; \
1385 else true; fi
a1ba1d98 1386 $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION)
acecd7dc 1387
a16fe5d1 1388./strdup.$(objext): $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
a1ba1d98 1389 if [ x"$(PICFLAG)" != x ]; then \
1390 $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \
1391 else true; fi
f945635a 1392 if [ x"$(NOASANFLAG)" != x ]; then \
1393 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strdup.c -o noasan/$@; \
1394 else true; fi
a1ba1d98 1395 $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION)
acecd7dc 1396
a16fe5d1 1397./strerror.$(objext): $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 1398 $(INCDIR)/libiberty.h
a1ba1d98 1399 if [ x"$(PICFLAG)" != x ]; then \
1400 $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \
1401 else true; fi
f945635a 1402 if [ x"$(NOASANFLAG)" != x ]; then \
1403 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strerror.c -o noasan/$@; \
1404 else true; fi
a1ba1d98 1405 $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION)
acecd7dc 1406
a16fe5d1 1407./strncasecmp.$(objext): $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
a1ba1d98 1408 if [ x"$(PICFLAG)" != x ]; then \
1409 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \
1410 else true; fi
f945635a 1411 if [ x"$(NOASANFLAG)" != x ]; then \
1412 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncasecmp.c -o noasan/$@; \
1413 else true; fi
a1ba1d98 1414 $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION)
acecd7dc 1415
a16fe5d1 1416./strncmp.$(objext): $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
a1ba1d98 1417 if [ x"$(PICFLAG)" != x ]; then \
1418 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \
1419 else true; fi
f945635a 1420 if [ x"$(NOASANFLAG)" != x ]; then \
1421 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncmp.c -o noasan/$@; \
1422 else true; fi
a1ba1d98 1423 $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION)
acecd7dc 1424
a16fe5d1 1425./strndup.$(objext): $(srcdir)/strndup.c $(INCDIR)/ansidecl.h
a2ef32b0 1426 if [ x"$(PICFLAG)" != x ]; then \
1427 $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \
1428 else true; fi
f945635a 1429 if [ x"$(NOASANFLAG)" != x ]; then \
1430 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strndup.c -o noasan/$@; \
1431 else true; fi
a2ef32b0 1432 $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION)
1433
c7babc8d 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
f945635a 1438 if [ x"$(NOASANFLAG)" != x ]; then \
1439 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strnlen.c -o noasan/$@; \
1440 else true; fi
c7babc8d 1441 $(COMPILE.c) $(srcdir)/strnlen.c $(OUTPUT_OPTION)
1442
a16fe5d1 1443./strrchr.$(objext): $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
a1ba1d98 1444 if [ x"$(PICFLAG)" != x ]; then \
1445 $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \
1446 else true; fi
f945635a 1447 if [ x"$(NOASANFLAG)" != x ]; then \
1448 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strrchr.c -o noasan/$@; \
1449 else true; fi
a1ba1d98 1450 $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION)
acecd7dc 1451
a16fe5d1 1452./strsignal.$(objext): $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 1453 $(INCDIR)/libiberty.h
a1ba1d98 1454 if [ x"$(PICFLAG)" != x ]; then \
1455 $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \
1456 else true; fi
f945635a 1457 if [ x"$(NOASANFLAG)" != x ]; then \
1458 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strsignal.c -o noasan/$@; \
1459 else true; fi
a1ba1d98 1460 $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION)
acecd7dc 1461
a16fe5d1 1462./strstr.$(objext): $(srcdir)/strstr.c
a1ba1d98 1463 if [ x"$(PICFLAG)" != x ]; then \
1464 $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \
1465 else true; fi
f945635a 1466 if [ x"$(NOASANFLAG)" != x ]; then \
1467 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strstr.c -o noasan/$@; \
1468 else true; fi
a1ba1d98 1469 $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION)
acecd7dc 1470
a16fe5d1 1471./strtod.$(objext): $(srcdir)/strtod.c $(INCDIR)/ansidecl.h \
1472 $(INCDIR)/safe-ctype.h
a1ba1d98 1473 if [ x"$(PICFLAG)" != x ]; then \
1474 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \
1475 else true; fi
f945635a 1476 if [ x"$(NOASANFLAG)" != x ]; then \
1477 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtod.c -o noasan/$@; \
1478 else true; fi
a1ba1d98 1479 $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION)
acecd7dc 1480
a16fe5d1 1481./strtol.$(objext): $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
a1ba1d98 1482 if [ x"$(PICFLAG)" != x ]; then \
1483 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \
1484 else true; fi
f945635a 1485 if [ x"$(NOASANFLAG)" != x ]; then \
1486 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtol.c -o noasan/$@; \
1487 else true; fi
a1ba1d98 1488 $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION)
acecd7dc 1489
5e1a5aba 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
a16fe5d1 1499./strtoul.$(objext): $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 1500 $(INCDIR)/safe-ctype.h
a1ba1d98 1501 if [ x"$(PICFLAG)" != x ]; then \
1502 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \
1503 else true; fi
f945635a 1504 if [ x"$(NOASANFLAG)" != x ]; then \
1505 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoul.c -o noasan/$@; \
1506 else true; fi
a1ba1d98 1507 $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION)
acecd7dc 1508
5e1a5aba 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
a16fe5d1 1519./strverscmp.$(objext): $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h \
1520 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
28cc9eac 1521 if [ x"$(PICFLAG)" != x ]; then \
1522 $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \
1523 else true; fi
f945635a 1524 if [ x"$(NOASANFLAG)" != x ]; then \
1525 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strverscmp.c -o noasan/$@; \
1526 else true; fi
28cc9eac 1527 $(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION)
1528
c39772e1 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
f945635a 1534 if [ x"$(NOASANFLAG)" != x ]; then \
1535 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/timeval-utils.c -o noasan/$@; \
1536 else true; fi
c39772e1 1537 $(COMPILE.c) $(srcdir)/timeval-utils.c $(OUTPUT_OPTION)
1538
a16fe5d1 1539./tmpnam.$(objext): $(srcdir)/tmpnam.c
a1ba1d98 1540 if [ x"$(PICFLAG)" != x ]; then \
1541 $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \
1542 else true; fi
f945635a 1543 if [ x"$(NOASANFLAG)" != x ]; then \
1544 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/tmpnam.c -o noasan/$@; \
1545 else true; fi
a1ba1d98 1546 $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION)
acecd7dc 1547
a16fe5d1 1548./unlink-if-ordinary.$(objext): $(srcdir)/unlink-if-ordinary.c config.h \
5a24a79a 1549 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
4e0e2181 1550 if [ x"$(PICFLAG)" != x ]; then \
1551 $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \
1552 else true; fi
f945635a 1553 if [ x"$(NOASANFLAG)" != x ]; then \
1554 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/unlink-if-ordinary.c -o noasan/$@; \
1555 else true; fi
4e0e2181 1556 $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION)
1557
a16fe5d1 1558./vasprintf.$(objext): $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
5d95297a 1559 $(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h
a1ba1d98 1560 if [ x"$(PICFLAG)" != x ]; then \
1561 $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \
1562 else true; fi
f945635a 1563 if [ x"$(NOASANFLAG)" != x ]; then \
1564 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vasprintf.c -o noasan/$@; \
1565 else true; fi
a1ba1d98 1566 $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION)
acecd7dc 1567
a16fe5d1 1568./vfork.$(objext): $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
a1ba1d98 1569 if [ x"$(PICFLAG)" != x ]; then \
1570 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \
1571 else true; fi
f945635a 1572 if [ x"$(NOASANFLAG)" != x ]; then \
1573 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfork.c -o noasan/$@; \
1574 else true; fi
a1ba1d98 1575 $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION)
acecd7dc 1576
a16fe5d1 1577./vfprintf.$(objext): $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
a1ba1d98 1578 if [ x"$(PICFLAG)" != x ]; then \
1579 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \
1580 else true; fi
f945635a 1581 if [ x"$(NOASANFLAG)" != x ]; then \
1582 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfprintf.c -o noasan/$@; \
1583 else true; fi
a1ba1d98 1584 $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION)
acecd7dc 1585
5d95297a 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
a16fe5d1 1596./vprintf.$(objext): $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
a1ba1d98 1597 if [ x"$(PICFLAG)" != x ]; then \
1598 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \
1599 else true; fi
f945635a 1600 if [ x"$(NOASANFLAG)" != x ]; then \
1601 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf.c -o noasan/$@; \
1602 else true; fi
a1ba1d98 1603 $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION)
acecd7dc 1604
a16fe5d1 1605./vsnprintf.$(objext): $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 1606 $(INCDIR)/libiberty.h
a1ba1d98 1607 if [ x"$(PICFLAG)" != x ]; then \
1608 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \
1609 else true; fi
f945635a 1610 if [ x"$(NOASANFLAG)" != x ]; then \
1611 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsnprintf.c -o noasan/$@; \
1612 else true; fi
a1ba1d98 1613 $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION)
acecd7dc 1614
a16fe5d1 1615./vsprintf.$(objext): $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
a1ba1d98 1616 if [ x"$(PICFLAG)" != x ]; then \
1617 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \
1618 else true; fi
f945635a 1619 if [ x"$(NOASANFLAG)" != x ]; then \
1620 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsprintf.c -o noasan/$@; \
1621 else true; fi
a1ba1d98 1622 $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION)
acecd7dc 1623
a16fe5d1 1624./waitpid.$(objext): $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h
a1ba1d98 1625 if [ x"$(PICFLAG)" != x ]; then \
1626 $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \
1627 else true; fi
f945635a 1628 if [ x"$(NOASANFLAG)" != x ]; then \
1629 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/waitpid.c -o noasan/$@; \
1630 else true; fi
a1ba1d98 1631 $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION)
acecd7dc 1632
655833ff 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
a16fe5d1 1643./xatexit.$(objext): $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \
1954c0c7 1644 $(INCDIR)/libiberty.h
a1ba1d98 1645 if [ x"$(PICFLAG)" != x ]; then \
1646 $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \
1647 else true; fi
f945635a 1648 if [ x"$(NOASANFLAG)" != x ]; then \
1649 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xatexit.c -o noasan/$@; \
1650 else true; fi
a1ba1d98 1651 $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION)
acecd7dc 1652
a16fe5d1 1653./xexit.$(objext): $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h \
1654 $(INCDIR)/libiberty.h
a1ba1d98 1655 if [ x"$(PICFLAG)" != x ]; then \
1656 $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \
1657 else true; fi
f945635a 1658 if [ x"$(NOASANFLAG)" != x ]; then \
1659 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xexit.c -o noasan/$@; \
1660 else true; fi
a1ba1d98 1661 $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION)
acecd7dc 1662
a16fe5d1 1663./xmalloc.$(objext): $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 1664 $(INCDIR)/libiberty.h
a1ba1d98 1665 if [ x"$(PICFLAG)" != x ]; then \
1666 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \
1667 else true; fi
f945635a 1668 if [ x"$(NOASANFLAG)" != x ]; then \
1669 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmalloc.c -o noasan/$@; \
1670 else true; fi
a1ba1d98 1671 $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION)
acecd7dc 1672
a16fe5d1 1673./xmemdup.$(objext): $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 1674 $(INCDIR)/libiberty.h
a1ba1d98 1675 if [ x"$(PICFLAG)" != x ]; then \
1676 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \
1677 else true; fi
f945635a 1678 if [ x"$(NOASANFLAG)" != x ]; then \
1679 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmemdup.c -o noasan/$@; \
1680 else true; fi
a1ba1d98 1681 $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION)
acecd7dc 1682
a16fe5d1 1683./xstrdup.$(objext): $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 1684 $(INCDIR)/libiberty.h
a1ba1d98 1685 if [ x"$(PICFLAG)" != x ]; then \
1686 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \
1687 else true; fi
f945635a 1688 if [ x"$(NOASANFLAG)" != x ]; then \
1689 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrdup.c -o noasan/$@; \
1690 else true; fi
a1ba1d98 1691 $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION)
acecd7dc 1692
a16fe5d1 1693./xstrerror.$(objext): $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
acecd7dc 1694 $(INCDIR)/libiberty.h
a1ba1d98 1695 if [ x"$(PICFLAG)" != x ]; then \
1696 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \
1697 else true; fi
f945635a 1698 if [ x"$(NOASANFLAG)" != x ]; then \
1699 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrerror.c -o noasan/$@; \
1700 else true; fi
a1ba1d98 1701 $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION)
acecd7dc 1702
a16fe5d1 1703./xstrndup.$(objext): $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \
a2ef32b0 1704 $(INCDIR)/libiberty.h
1705 if [ x"$(PICFLAG)" != x ]; then \
1706 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \
1707 else true; fi
f945635a 1708 if [ x"$(NOASANFLAG)" != x ]; then \
1709 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrndup.c -o noasan/$@; \
1710 else true; fi
a2ef32b0 1711 $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION)
1712
5d95297a 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)