]> git.ipfire.org Git - thirdparty/gcc.git/blame - libiberty/Makefile.in
v2: DOCUMENTATION_ROOT_URL vs. release branches [PR114738]
[thirdparty/gcc.git] / libiberty / Makefile.in
CommitLineData
f4f29b59
BE
1# Makefile for the libiberty library.
2# Originally written by K. Richard Pixley <rich@cygnus.com>.
6599da04 3#
a945c346 4# Copyright (C) 1990-2024 Free Software Foundation, Inc.
6599da04
JM
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,
ee58dffd
NC
19# write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor,
20# Boston, MA 02110-1301, USA.
6599da04 21
d8c22ce7 22libiberty_topdir = @libiberty_topdir@
3affd5f0 23srcdir = @srcdir@
6599da04 24
3affd5f0 25prefix = @prefix@
6599da04 26
3affd5f0
JL
27exec_prefix = @exec_prefix@
28bindir = @bindir@
29libdir = @libdir@
48d7db63
PE
30includedir = @includedir@
31target_header_dir = @target_header_dir@
c3e80a16 32dvidir = @dvidir@
16f60fcb 33objext = @OBJEXT@
6599da04 34
3affd5f0 35SHELL = @SHELL@
6599da04
JM
36
37# Multilib support variables.
38MULTISRCTOP =
39MULTIBUILDTOP =
40MULTIDIRS =
41MULTISUBDIR =
42MULTIDO = true
43MULTICLEAN = true
44
3affd5f0
JL
45INSTALL = @INSTALL@
46INSTALL_PROGRAM = @INSTALL_PROGRAM@
47INSTALL_DATA = @INSTALL_DATA@
d8c22ce7 48mkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs
6599da04 49
24f2cabb
L
50# Some compilers can't handle cc -c blah.c -o foo/blah.o.
51OUTPUT_OPTION = @OUTPUT_OPTION@
52
126f707e 53AR = @AR@ @AR_PLUGIN_OPTION@
6599da04
JM
54AR_FLAGS = rc
55
3affd5f0
JL
56CC = @CC@
57CFLAGS = @CFLAGS@
b36c386c 58CPPFLAGS = @CPPFLAGS@
126f707e 59RANLIB = @RANLIB@ @RANLIB_PLUGIN_OPTION@
4e3dcf20 60MAKEINFO = @MAKEINFO@
aaa5f039 61PERL = @PERL@
6599da04 62
c91c9c2e 63PICFLAG = @PICFLAG@
4f148bbc 64NOASANFLAG = @NOASANFLAG@
6599da04
JM
65
66MAKEOVERRIDES =
67
398b3deb
DD
68TARGETLIB = ./libiberty.a
69TESTLIB = ./testlib.a
6599da04 70
3affd5f0 71LIBOBJS = @LIBOBJS@
6599da04
JM
72
73# A configuration can specify extra .o files that should be included,
74# even if they are in libc. (Perhaps the libc version is buggy.)
75EXTRA_OFILES =
76
77# Flags to pass to a recursive make.
78FLAGS_TO_PASS = \
79 "AR=$(AR)" \
80 "AR_FLAGS=$(AR_FLAGS)" \
81 "CC=$(CC)" \
82 "CFLAGS=$(CFLAGS)" \
b36c386c 83 "CPPFLAGS=$(CPPFLAGS)" \
90e5b39f 84 "DESTDIR=$(DESTDIR)" \
6599da04
JM
85 "EXTRA_OFILES=$(EXTRA_OFILES)" \
86 "HDEFINES=$(HDEFINES)" \
87 "INSTALL=$(INSTALL)" \
88 "INSTALL_DATA=$(INSTALL_DATA)" \
89 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
90 "LDFLAGS=$(LDFLAGS)" \
91 "LOADLIBES=$(LOADLIBES)" \
6599da04 92 "RANLIB=$(RANLIB)" \
76632dd0
DJ
93 "SHELL=$(SHELL)" \
94 "prefix=$(prefix)" \
95 "exec_prefix=$(exec_prefix)" \
96 "libdir=$(libdir)" \
97 "libsubdir=$(libsubdir)" \
98 "tooldir=$(tooldir)"
6599da04 99
2c375143
NS
100# Subdirectories to recurse into. We need to override this during cleaning
101SUBDIRS = testsuite
102
aaa5f039 103# FIXME: add @BUILD_INFO@ once we're sure it works for everyone.
4f148bbc 104all: stamp-picdir stamp-noasandir $(TARGETLIB) required-list all-subdir
ef74edbd 105 @: $(MAKE) ; $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all
6599da04
JM
106
107.PHONY: check installcheck
7c72138a
TT
108check: check-subdir
109installcheck: installcheck-subdir
6599da04 110
3affd5f0 111@host_makefile_frag@
6599da04
JM
112
113INCDIR=$(srcdir)/$(MULTISRCTOP)../include
114
f50f17e6 115COMPILE.c = $(CC) -c @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) \
8fc8bf80 116 $(HDEFINES) @ac_libiberty_warn_cflags@ -D_GNU_SOURCE \
f2c52c0d 117 @CET_HOST_FLAGS@ @HWCAP_CFLAGS@
398b3deb
DD
118
119# Just to make sure we don't use a built-in rule with VPATH
16f60fcb 120.c.$(objext):
398b3deb 121 false
6599da04 122
6599da04 123# NOTE: If you add new files to the library, add them to this list
24f2cabb
L
124# (alphabetical), and add them to REQUIRED_OFILES, or
125# CONFIGURED_OFILES and funcs in configure.ac. Also run "make maint-deps"
126# to build the new rules.
9ce3f7e5 127CFILES = alloca.c argv.c asprintf.c atexit.c \
aec24341 128 basename.c bcmp.c bcopy.c bsearch.c bsearch_r.c bzero.c \
9ce3f7e5 129 calloc.c choose-temp.c clock.c concat.c cp-demangle.c \
b524249c 130 cp-demint.c cplus-dem.c crc32.c \
43b1b9ed 131 d-demangle.c dwarfnames.c dyn-string.c \
8f88e7f6 132 fdmatch.c ffs.c fibheap.c filedescriptor.c filename_cmp.c floatformat.c \
cde515d9 133 fnmatch.c fopen_unlocked.c \
9ce3f7e5 134 getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c \
17049f0b 135 gettimeofday.c \
9ce3f7e5
DD
136 hashtab.c hex.c \
137 index.c insque.c \
138 lbasename.c \
4876b2b4 139 lrealpath.c \
42766f8d 140 make-relative-prefix.c \
5fbd9447
ILT
141 make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmem.c \
142 memmove.c mempcpy.c memset.c mkstemps.c \
9ce3f7e5 143 objalloc.c obstack.c \
a584cf65
ILT
144 partition.c pexecute.c \
145 pex-common.c pex-djgpp.c pex-msdos.c pex-one.c \
55d0e5e0 146 pex-unix.c pex-win32.c \
a354191e 147 physmem.c putenv.c \
9ce3f7e5 148 random.c regex.c rename.c rindex.c \
10d48c59 149 rust-demangle.c \
6e9bd0f8 150 safe-ctype.c setenv.c setproctitle.c sha1.c sigsetmask.c \
1cfabf34 151 simple-object.c simple-object-coff.c simple-object-elf.c \
a9b01f00 152 simple-object-mach-o.c simple-object-xcoff.c \
6e9bd0f8 153 snprintf.c sort.c \
d423df48
JJ
154 spaces.c splay-tree.c stack-limit.c stpcpy.c stpncpy.c \
155 strcasecmp.c strchr.c strdup.c strerror.c strncasecmp.c \
156 strncmp.c strrchr.c strsignal.c strstr.c strtod.c strtol.c \
ea41822a
YG
157 strtoll.c strtoul.c strtoull.c strndup.c strnlen.c \
158 strverscmp.c timeval-utils.c tmpnam.c \
c363985d 159 unlink-if-ordinary.c \
01ca36af
UB
160 vasprintf.c vfork.c vfprintf.c vprintf.c vprintf-support.c \
161 vsnprintf.c vsprintf.c \
9ce3f7e5 162 waitpid.c \
e8850918
UB
163 xasprintf.c xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c \
164 xstrerror.c xstrndup.c xvasprintf.c
9ce3f7e5
DD
165
166# These are always included in the library. The first four are listed
167# first and by compile time to optimize parallel builds.
598848e4 168REQUIRED_OFILES = \
16f60fcb
TG
169 ./regex.$(objext) ./cplus-dem.$(objext) ./cp-demangle.$(objext) \
170 ./md5.$(objext) ./sha1.$(objext) ./alloca.$(objext) \
171 ./argv.$(objext) \
aec24341 172 ./bsearch_r.$(objext) \
16f60fcb 173 ./choose-temp.$(objext) ./concat.$(objext) \
43b1b9ed 174 ./cp-demint.$(objext) ./crc32.$(objext) ./d-demangle.$(objext) \
11ec770e 175 ./dwarfnames.$(objext) ./dyn-string.$(objext) \
16f60fcb 176 ./fdmatch.$(objext) ./fibheap.$(objext) \
8f88e7f6 177 ./filedescriptor.$(objext) \
16f60fcb
TG
178 ./filename_cmp.$(objext) ./floatformat.$(objext) \
179 ./fnmatch.$(objext) ./fopen_unlocked.$(objext) \
180 ./getopt.$(objext) ./getopt1.$(objext) ./getpwd.$(objext) \
181 ./getruntime.$(objext) ./hashtab.$(objext) ./hex.$(objext) \
182 ./lbasename.$(objext) ./lrealpath.$(objext) \
183 ./make-relative-prefix.$(objext) ./make-temp-file.$(objext) \
1cfabf34
ILT
184 ./objalloc.$(objext) \
185 ./obstack.$(objext) \
16f60fcb
TG
186 ./partition.$(objext) ./pexecute.$(objext) ./physmem.$(objext) \
187 ./pex-common.$(objext) ./pex-one.$(objext) \
01ca36af 188 ./@pexecute@.$(objext) ./vprintf-support.$(objext) \
10d48c59 189 ./rust-demangle.$(objext) \
1cfabf34
ILT
190 ./safe-ctype.$(objext) \
191 ./simple-object.$(objext) ./simple-object-coff.$(objext) \
192 ./simple-object-elf.$(objext) ./simple-object-mach-o.$(objext) \
a9b01f00 193 ./simple-object-xcoff.$(objext) \
1cfabf34 194 ./sort.$(objext) ./spaces.$(objext) \
d423df48 195 ./splay-tree.$(objext) ./stack-limit.$(objext) \
4092fb6e
DE
196 ./strerror.$(objext) ./strsignal.$(objext) \
197 ./timeval-utils.$(objext) ./unlink-if-ordinary.$(objext) \
e8850918
UB
198 ./xasprintf.$(objext) ./xatexit.$(objext) ./xexit.$(objext) \
199 ./xmalloc.$(objext) ./xmemdup.$(objext) ./xstrdup.$(objext) \
200 ./xstrerror.$(objext) ./xstrndup.$(objext) \
201 ./xvasprintf.$(objext)
b548dffb 202
aaa5f039 203# These are all the objects that configure may add to the library via
9ce3f7e5
DD
204# $funcs or EXTRA_OFILES. This list exists here only for "make
205# maint-missing" and "make check".
16f60fcb
TG
206CONFIGURED_OFILES = ./asprintf.$(objext) ./atexit.$(objext) \
207 ./basename.$(objext) ./bcmp.$(objext) ./bcopy.$(objext) \
208 ./bsearch.$(objext) ./bzero.$(objext) \
209 ./calloc.$(objext) ./clock.$(objext) ./copysign.$(objext) \
210 ./_doprnt.$(objext) \
211 ./ffs.$(objext) \
212 ./getcwd.$(objext) ./getpagesize.$(objext) \
213 ./gettimeofday.$(objext) \
214 ./index.$(objext) ./insque.$(objext) \
215 ./memchr.$(objext) ./memcmp.$(objext) ./memcpy.$(objext) \
216 ./memmem.$(objext) ./memmove.$(objext) \
217 ./mempcpy.$(objext) ./memset.$(objext) ./mkstemps.$(objext) \
218 ./pex-djgpp.$(objext) ./pex-msdos.$(objext) \
219 ./pex-unix.$(objext) ./pex-win32.$(objext) \
220 ./putenv.$(objext) \
221 ./random.$(objext) ./rename.$(objext) ./rindex.$(objext) \
6e9bd0f8
AK
222 ./setenv.$(objext) \
223 ./setproctitle.$(objext) \
224 ./sigsetmask.$(objext) ./snprintf.$(objext) \
16f60fcb
TG
225 ./stpcpy.$(objext) ./stpncpy.$(objext) ./strcasecmp.$(objext) \
226 ./strchr.$(objext) ./strdup.$(objext) ./strncasecmp.$(objext) \
9a9baa52
ILT
227 ./strncmp.$(objext) ./strndup.$(objext) ./strnlen.$(objext) \
228 ./strrchr.$(objext) ./strstr.$(objext) ./strtod.$(objext) \
ea41822a
YG
229 ./strtol.$(objext) ./strtoul.$(objext) strtoll.$(objext) \
230 ./strtoull.$(objext) ./tmpnam.$(objext) ./strverscmp.$(objext) \
16f60fcb
TG
231 ./vasprintf.$(objext) ./vfork.$(objext) ./vfprintf.$(objext) \
232 ./vprintf.$(objext) ./vsnprintf.$(objext) ./vsprintf.$(objext) \
233 ./waitpid.$(objext)
aaa5f039 234
48d7db63
PE
235# These files are installed if the library has been configured to do so.
236INSTALLED_HEADERS = \
237 $(INCDIR)/ansidecl.h \
238 $(INCDIR)/demangle.h \
239 $(INCDIR)/dyn-string.h \
240 $(INCDIR)/fibheap.h \
241 $(INCDIR)/floatformat.h \
242 $(INCDIR)/hashtab.h \
243 $(INCDIR)/libiberty.h \
244 $(INCDIR)/objalloc.h \
245 $(INCDIR)/partition.h \
246 $(INCDIR)/safe-ctype.h \
247 $(INCDIR)/sort.h \
4092fb6e
DE
248 $(INCDIR)/splay-tree.h \
249 $(INCDIR)/timeval-utils.h
48d7db63 250
24f2cabb 251$(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
4f148bbc 252 -rm -f $(TARGETLIB) pic/$(TARGETLIB) noasan/$(TARGETLIB)
24f2cabb
L
253 $(AR) $(AR_FLAGS) $(TARGETLIB) \
254 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS)
255 $(RANLIB) $(TARGETLIB)
256 if [ x"$(PICFLAG)" != x ]; then \
257 cd pic; \
afb649d5
L
258 $(AR) $(AR_FLAGS) $(TARGETLIB) \
259 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
260 $(RANLIB) $(TARGETLIB); \
261 cd ..; \
4f148bbc
JJ
262 else true; fi; \
263 if [ x"$(NOASANFLAG)" != x ]; then \
264 cd noasan; \
265 $(AR) $(AR_FLAGS) $(TARGETLIB) \
266 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \
267 $(RANLIB) $(TARGETLIB); \
268 cd ..; \
afb649d5 269 else true; fi
6599da04 270
24f2cabb
L
271$(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
272 -rm -f $(TESTLIB)
273 $(AR) $(AR_FLAGS) $(TESTLIB) \
274 $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
275 $(RANLIB) $(TESTLIB)
9ce3f7e5 276
4e3dcf20 277info: libiberty.info info-subdir
aaa5f039
DD
278install-info: install-info-subdir
279clean-info: clean-info-subdir
c3e80a16
EG
280
281LIBIBERTY_DVIFILES = libiberty.dvi
282
283dvi: $(LIBIBERTY_DVIFILES) dvi-subdir
284
285.PHONY: install-dvi
286
287dvi__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
288
289install-dvi: $(LIBIBERTY_DVIFILES)
290 @$(NORMAL_INSTALL)
291 test -z "$(dvidir)" || $(mkinstalldirs) "$(DESTDIR)$(dvidir)"
292 @list='$(LIBIBERTY_DVIFILES)'; for p in $$list; do \
293 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
294 f=$(dvi__strip_dir) \
295 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(dvidir)/$$f'"; \
296 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(dvidir)/$$f"; \
297 done
267686a7 298
4e3dcf20 299LIBIBERTY_PDFFILES = libiberty.pdf
267686a7
BM
300
301pdf: $(LIBIBERTY_PDFFILES) pdf-subdir
302
303.PHONY: install-pdf
304
305pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
306
307install-pdf: $(LIBIBERTY_PDFFILES)
308 @$(NORMAL_INSTALL)
309 test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)"
310 @list='$(LIBIBERTY_PDFFILES)'; for p in $$list; do \
311 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
312 f=$(pdf__strip_dir) \
313 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
314 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
315 done
cf61af07
CD
316
317# html, install-html targets
4e3dcf20 318HTMLS = libiberty.html
cf61af07
CD
319
320html: $(HTMLS)
321
2eba9355 322.PHONY: install-html install-html-am
cf61af07
CD
323
324NORMAL_INSTALL = :
325mkdir_p = mkdir -p --
16f60fcb 326
cf61af07
CD
327html__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
328
2eba9355 329install-html: install-html-am
cf61af07
CD
330
331install-html-am: $(HTMLS)
332 @$(NORMAL_INSTALL)
333 test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)"
334 @list='$(HTMLS)'; for p in $$list; do \
335 if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \
336 f=$(html__strip_dir) \
337 if test -d "$$d$$p"; then \
338 echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \
339 $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \
340 echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
341 $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
342 else \
343 echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
344 $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
345 fi; \
346 done
347
4e3dcf20
ML
348TEXISRC = \
349 $(srcdir)/libiberty.texi \
350 $(srcdir)/copying-lib.texi \
351 $(srcdir)/obstacks.texi \
352 $(srcdir)/functions.texi
aaa5f039 353
4e3dcf20
ML
354# Additional files that have texi snippets that need to be collected
355# and sorted. Some are here because the sources are imported from
356# elsewhere. Others represent headers in ../include.
357TEXIFILES = fnmatch.txh pexecute.txh simple-object.txh
aaa5f039 358
4e3dcf20
ML
359libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC)
360 $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi
aaa5f039 361
4e3dcf20
ML
362libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC)
363 texi2dvi $(srcdir)/libiberty.texi
364
365libiberty.pdf : $(srcdir)/libiberty.texi $(TEXISRC)
366 texi2pdf $(srcdir)/libiberty.texi
367
368libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC)
369 $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $<
aaa5f039
DD
370
371@MAINT@$(srcdir)/functions.texi : stamp-functions
372@MAINT@ @true
373
4e3dcf20
ML
374@MAINT@stamp-functions : $(CFILES:%=$(srcdir)/%) $(TEXIFILES:%=$(srcdir)/%) $(srcdir)/gather-docs Makefile
375@MAINT@@HAVE_PERL@ $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES)
aaa5f039
DD
376@MAINT@ echo stamp > stamp-functions
377
3affd5f0 378INSTALL_DEST = @INSTALL_DEST@
7c72138a 379install: install_to_$(INSTALL_DEST) install-subdir
455c8f48
RW
380install-strip: install
381
382.PHONY: install install-strip
6599da04 383
5f81370d
PB
384# This is tricky. Even though CC in the Makefile contains
385# multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
269f1d98 386# default multilib, so we have to take CFLAGS into account as well,
5f81370d 387# since it will be passed the multilib flags.
269f1d98 388MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory`
6599da04 389install_to_libdir: all
48d7db63 390 if test -n "${target_header_dir}"; then \
8c9fddf4
MB
391 ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR); \
392 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n; \
393 ( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n ); \
394 mv -f $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB); \
395 case "${target_header_dir}" in \
396 /*) thd=${target_header_dir};; \
397 *) thd=${includedir}/${target_header_dir};; \
398 esac; \
399 ${mkinstalldirs} $(DESTDIR)$${thd}; \
400 for h in ${INSTALLED_HEADERS}; do \
401 ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \
402 done; \
48d7db63 403 fi
6599da04
JM
404 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
405
406install_to_tooldir: all
9f2e0608
AO
407 ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)
408 $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n
706601d9 409 ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n )
9f2e0608 410 mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)
6599da04
JM
411 @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install
412
3affd5f0
JL
413# required-list was used when building a shared bfd/opcodes/libiberty
414# library. I don't know if it used by anything currently.
6599da04
JM
415required-list: Makefile
416 echo $(REQUIRED_OFILES) > required-list
417
24f2cabb
L
418stamp-picdir:
419 if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \
420 mkdir pic; \
421 else true; fi
422 touch stamp-picdir
423
4f148bbc
JJ
424stamp-noasandir:
425 if [ x"$(NOASANFLAG)" != x ] && [ ! -d noasan ]; then \
426 mkdir noasan; \
427 else true; fi
428 touch stamp-noasandir
429
08585fba 430.PHONY: all etags tags TAGS ls clean stage1 stage2
6599da04 431
909b30a1
EG
432ETAGS = @ETAGS@
433
08585fba 434etags tags TAGS: etags-subdir
909b30a1 435 cd $(srcdir) && $(ETAGS) $(CFILES)
6599da04
JM
436
437# The standalone demangler (c++filt) has been moved to binutils.
d5f4eddd
JM
438# But make this target work anyway for demangler hacking.
439demangle: $(ALL) $(srcdir)/cp-demangle.c
6599da04
JM
440 @echo "The standalone demangler, now named c++filt, is now"
441 @echo "a part of binutils."
d5f4eddd
JM
442 $(CC) @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) \
443 $(srcdir)/cp-demangle.c -DSTANDALONE_DEMANGLER $(TARGETLIB) -o $@
6599da04
JM
444
445ls:
b548dffb 446 @echo Makefile $(CFILES)
6599da04 447
aaa5f039
DD
448# Various targets for maintainers.
449
450maint-missing :
24f2cabb 451 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
aaa5f039 452
24f2cabb 453maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
aaa5f039
DD
454 @true
455
aac04c15
DD
456maint-undoc : $(srcdir)/functions.texi
457 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
458
9ce3f7e5
DD
459maint-deps :
460 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
461
6599da04
JM
462# Need to deal with profiled libraries, too.
463
2c375143
NS
464# Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS
465# multiple times, hence our explicit recursion with an empty SUBDIRS.
7c72138a 466mostlyclean: mostlyclean-subdir
4f148bbc 467 -rm -rf *.$(objext) pic noasan core errs \#* *.E a.out
ae2040df 468 -rm -f errors dummy config.h stamp-*
4f148bbc 469 -rm -f $(CONFIG_H) stamp-picdir stamp-noasandir
aaa5f039
DD
470 -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
471 -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
472 -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr
473 -rm -f libtexi.stamp
6599da04 474 @$(MULTICLEAN) multi-clean DO=mostlyclean
2c375143
NS
475clean: clean-subdir
476 $(MAKE) SUBDIRS="" mostlyclean
5a2eb52b 477 -rm -f *.a required-list tmpmulti.out
b5422ad7 478 -rm -f libiberty.dvi libiberty.pdf libiberty.info* libiberty.html
6599da04 479 @$(MULTICLEAN) multi-clean DO=clean
2c375143
NS
480distclean: distclean-subdir
481 $(MAKE) SUBDIRS="" clean
6599da04 482 @$(MULTICLEAN) multi-clean DO=distclean
0046e342 483 -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
5a2eb52b 484 -rm -f config.log
b25a8973 485 -rmdir testsuite 2>/dev/null
2c375143
NS
486maintainer-clean realclean: maintainer-clean-subdir
487 $(MAKE) SUBDIRS="" distclean
6599da04
JM
488
489force:
490
3affd5f0
JL
491Makefile: $(srcdir)/Makefile.in config.status
492 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
493
97e620cf
DD
494# Depending on Makefile makes sure that config.status has been re-run
495# if needed. This prevents problems with parallel builds.
3affd5f0 496config.h: stamp-h ; @true
398b3deb
DD
497stamp-h: $(srcdir)/config.in config.status Makefile
498 CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status
3affd5f0 499
769b009e 500config.status: $(srcdir)/configure
3affd5f0 501 $(SHELL) ./config.status --recheck
6599da04 502
6efbd53f 503AUTOCONF = autoconf
470beb92
MF
504ACLOCAL = aclocal
505ACLOCAL_AMFLAGS = -I ../config -I ..
506aclocal_deps = \
6efbd53f 507 $(srcdir)/../config/acx.m4 \
8fc8bf80
L
508 $(srcdir)/../config/cet.m4 \
509 $(srcdir)/../config/enable.m4 \
126f707e 510 $(srcdir)/../config/gcc-plugin.m4 \
6efbd53f
RW
511 $(srcdir)/../config/no-executables.m4 \
512 $(srcdir)/../config/override.m4 \
8f56cb51 513 $(srcdir)/../config/picflag.m4 \
470beb92
MF
514 $(srcdir)/../config/warnings.m4 \
515 $(srcdir)/acinclude.m4
6efbd53f 516
470beb92 517$(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/aclocal.m4
6efbd53f
RW
518 cd $(srcdir) && $(AUTOCONF)
519
470beb92
MF
520$(srcdir)/aclocal.m4: @MAINT@ $(aclocal_deps)
521 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
522
f59a2f55 523# Depending on config.h makes sure that config.status has been re-run
97e620cf
DD
524# if needed. This prevents problems with parallel builds, in case
525# subdirectories need to run config.status also.
7c72138a 526all-subdir check-subdir installcheck-subdir info-subdir \
b5422ad7 527install-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir \
7c72138a 528etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
f59a2f55 529maintainer-clean-subdir: config.h
3b94497c 530 @subdirs='$(SUBDIRS)'; \
7277f72d 531 target=`echo $@ | sed -e 's/-subdir//'`; \
3b94497c 532 for dir in $$subdirs ; do \
4ce1921a 533 cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
2c375143 534 done
7c72138a 535
4f148bbc
JJ
536$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir stamp-noasandir
537$(CONFIGURED_OFILES): stamp-picdir stamp-noasandir
24f2cabb 538
17049f0b
MM
539# Don't export variables to the environment, in order to not confuse
540# configure.
541.NOEXPORT:
542
9ce3f7e5
DD
543# The dependencies in the remainder of this file are automatically
544# generated by "make maint-deps". Manual edits will be lost.
7b195f77 545
16f60fcb 546./_doprnt.$(objext): $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \
9ce3f7e5 547 $(INCDIR)/safe-ctype.h
24f2cabb
L
548 if [ x"$(PICFLAG)" != x ]; then \
549 $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \
550 else true; fi
4f148bbc
JJ
551 if [ x"$(NOASANFLAG)" != x ]; then \
552 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/_doprnt.c -o noasan/$@; \
553 else true; fi
24f2cabb 554 $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION)
398b3deb 555
16f60fcb 556./alloca.$(objext): $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
f59a2f55 557 $(INCDIR)/libiberty.h
24f2cabb
L
558 if [ x"$(PICFLAG)" != x ]; then \
559 $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \
560 else true; fi
4f148bbc
JJ
561 if [ x"$(NOASANFLAG)" != x ]; then \
562 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/alloca.c -o noasan/$@; \
563 else true; fi
24f2cabb 564 $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION)
398b3deb 565
16f60fcb
TG
566./argv.$(objext): $(srcdir)/argv.c config.h $(INCDIR)/ansidecl.h \
567 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
24f2cabb
L
568 if [ x"$(PICFLAG)" != x ]; then \
569 $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \
570 else true; fi
4f148bbc
JJ
571 if [ x"$(NOASANFLAG)" != x ]; then \
572 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/argv.c -o noasan/$@; \
573 else true; fi
24f2cabb 574 $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION)
398b3deb 575
16f60fcb 576./asprintf.$(objext): $(srcdir)/asprintf.c config.h $(INCDIR)/ansidecl.h \
bd7d50f8 577 $(INCDIR)/libiberty.h
24f2cabb
L
578 if [ x"$(PICFLAG)" != x ]; then \
579 $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \
580 else true; fi
4f148bbc
JJ
581 if [ x"$(NOASANFLAG)" != x ]; then \
582 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/asprintf.c -o noasan/$@; \
583 else true; fi
24f2cabb 584 $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION)
398b3deb 585
16f60fcb 586./atexit.$(objext): $(srcdir)/atexit.c config.h
24f2cabb
L
587 if [ x"$(PICFLAG)" != x ]; then \
588 $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \
589 else true; fi
4f148bbc
JJ
590 if [ x"$(NOASANFLAG)" != x ]; then \
591 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/atexit.c -o noasan/$@; \
592 else true; fi
24f2cabb 593 $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION)
398b3deb 594
16f60fcb 595./basename.$(objext): $(srcdir)/basename.c config.h $(INCDIR)/ansidecl.h \
bd7d50f8 596 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
24f2cabb
L
597 if [ x"$(PICFLAG)" != x ]; then \
598 $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \
599 else true; fi
4f148bbc
JJ
600 if [ x"$(NOASANFLAG)" != x ]; then \
601 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/basename.c -o noasan/$@; \
602 else true; fi
24f2cabb 603 $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION)
398b3deb 604
16f60fcb 605./bcmp.$(objext): $(srcdir)/bcmp.c
24f2cabb
L
606 if [ x"$(PICFLAG)" != x ]; then \
607 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \
608 else true; fi
4f148bbc
JJ
609 if [ x"$(NOASANFLAG)" != x ]; then \
610 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcmp.c -o noasan/$@; \
611 else true; fi
24f2cabb 612 $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION)
398b3deb 613
16f60fcb 614./bcopy.$(objext): $(srcdir)/bcopy.c
24f2cabb
L
615 if [ x"$(PICFLAG)" != x ]; then \
616 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \
617 else true; fi
4f148bbc
JJ
618 if [ x"$(NOASANFLAG)" != x ]; then \
619 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcopy.c -o noasan/$@; \
620 else true; fi
24f2cabb 621 $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION)
398b3deb 622
16f60fcb 623./bsearch.$(objext): $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h
24f2cabb
L
624 if [ x"$(PICFLAG)" != x ]; then \
625 $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \
626 else true; fi
4f148bbc
JJ
627 if [ x"$(NOASANFLAG)" != x ]; then \
628 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bsearch.c -o noasan/$@; \
629 else true; fi
24f2cabb 630 $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION)
398b3deb 631
aec24341
NA
632./bsearch_r.$(objext): $(srcdir)/bsearch_r.c config.h $(INCDIR)/ansidecl.h
633 if [ x"$(PICFLAG)" != x ]; then \
634 $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch_r.c -o pic/$@; \
635 else true; fi
636 if [ x"$(NOASANFLAG)" != x ]; then \
637 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bsearch_r.c -o noasan/$@; \
638 else true; fi
639 $(COMPILE.c) $(srcdir)/bsearch_r.c $(OUTPUT_OPTION)
640
16f60fcb 641./bzero.$(objext): $(srcdir)/bzero.c
24f2cabb
L
642 if [ x"$(PICFLAG)" != x ]; then \
643 $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \
644 else true; fi
4f148bbc
JJ
645 if [ x"$(NOASANFLAG)" != x ]; then \
646 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bzero.c -o noasan/$@; \
647 else true; fi
24f2cabb 648 $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION)
398b3deb 649
16f60fcb 650./calloc.$(objext): $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
24f2cabb
L
651 if [ x"$(PICFLAG)" != x ]; then \
652 $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \
653 else true; fi
4f148bbc
JJ
654 if [ x"$(NOASANFLAG)" != x ]; then \
655 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/calloc.c -o noasan/$@; \
656 else true; fi
24f2cabb 657 $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION)
398b3deb 658
16f60fcb 659./choose-temp.$(objext): $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
398b3deb 660 $(INCDIR)/libiberty.h
24f2cabb
L
661 if [ x"$(PICFLAG)" != x ]; then \
662 $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \
663 else true; fi
4f148bbc
JJ
664 if [ x"$(NOASANFLAG)" != x ]; then \
665 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/choose-temp.c -o noasan/$@; \
666 else true; fi
24f2cabb 667 $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION)
398b3deb 668
16f60fcb 669./clock.$(objext): $(srcdir)/clock.c config.h
24f2cabb
L
670 if [ x"$(PICFLAG)" != x ]; then \
671 $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \
672 else true; fi
4f148bbc
JJ
673 if [ x"$(NOASANFLAG)" != x ]; then \
674 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/clock.c -o noasan/$@; \
675 else true; fi
24f2cabb 676 $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION)
398b3deb 677
16f60fcb 678./concat.$(objext): $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
f59a2f55 679 $(INCDIR)/libiberty.h
24f2cabb
L
680 if [ x"$(PICFLAG)" != x ]; then \
681 $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \
682 else true; fi
4f148bbc
JJ
683 if [ x"$(NOASANFLAG)" != x ]; then \
684 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/concat.c -o noasan/$@; \
685 else true; fi
24f2cabb 686 $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION)
398b3deb 687
16f60fcb 688./copysign.$(objext): $(srcdir)/copysign.c $(INCDIR)/ansidecl.h
24f2cabb
L
689 if [ x"$(PICFLAG)" != x ]; then \
690 $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \
691 else true; fi
4f148bbc
JJ
692 if [ x"$(NOASANFLAG)" != x ]; then \
693 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/copysign.c -o noasan/$@; \
694 else true; fi
24f2cabb 695 $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION)
398b3deb 696
16f60fcb 697./cp-demangle.$(objext): $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
398b3deb
DD
698 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
699 $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
24f2cabb
L
700 if [ x"$(PICFLAG)" != x ]; then \
701 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \
702 else true; fi
4f148bbc
JJ
703 if [ x"$(NOASANFLAG)" != x ]; then \
704 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demangle.c -o noasan/$@; \
705 else true; fi
24f2cabb 706 $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION)
398b3deb 707
16f60fcb 708./cp-demint.$(objext): $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
398b3deb 709 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
9ce3f7e5 710 $(INCDIR)/libiberty.h
24f2cabb
L
711 if [ x"$(PICFLAG)" != x ]; then \
712 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \
713 else true; fi
4f148bbc
JJ
714 if [ x"$(NOASANFLAG)" != x ]; then \
715 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demint.c -o noasan/$@; \
716 else true; fi
24f2cabb 717 $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION)
398b3deb 718
16f60fcb 719./cplus-dem.$(objext): $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
398b3deb
DD
720 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
721 $(INCDIR)/safe-ctype.h
24f2cabb
L
722 if [ x"$(PICFLAG)" != x ]; then \
723 $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \
724 else true; fi
4f148bbc
JJ
725 if [ x"$(NOASANFLAG)" != x ]; then \
726 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cplus-dem.c -o noasan/$@; \
727 else true; fi
24f2cabb 728 $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION)
398b3deb 729
16f60fcb
TG
730./crc32.$(objext): $(srcdir)/crc32.c config.h $(INCDIR)/ansidecl.h \
731 $(INCDIR)/libiberty.h
b524249c
ILT
732 if [ x"$(PICFLAG)" != x ]; then \
733 $(COMPILE.c) $(PICFLAG) $(srcdir)/crc32.c -o pic/$@; \
734 else true; fi
4f148bbc
JJ
735 if [ x"$(NOASANFLAG)" != x ]; then \
736 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/crc32.c -o noasan/$@; \
737 else true; fi
b524249c
ILT
738 $(COMPILE.c) $(srcdir)/crc32.c $(OUTPUT_OPTION)
739
ea41822a
YG
740./d-demangle.$(objext): $(srcdir)/d-demangle.c config.h $(INCDIR)/ansidecl.h \
741 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
742 $(INCDIR)/safe-ctype.h
743 if [ x"$(PICFLAG)" != x ]; then \
744 $(COMPILE.c) $(PICFLAG) $(srcdir)/d-demangle.c -o pic/$@; \
745 else true; fi
746 if [ x"$(NOASANFLAG)" != x ]; then \
747 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/d-demangle.c -o noasan/$@; \
748 else true; fi
749 $(COMPILE.c) $(srcdir)/d-demangle.c $(OUTPUT_OPTION)
750
9a9baa52
ILT
751./dwarfnames.$(objext): $(srcdir)/dwarfnames.c $(INCDIR)/dwarf2.def \
752 $(INCDIR)/dwarf2.h
11ec770e
TT
753 if [ x"$(PICFLAG)" != x ]; then \
754 $(COMPILE.c) $(PICFLAG) $(srcdir)/dwarfnames.c -o pic/$@; \
755 else true; fi
4f148bbc
JJ
756 if [ x"$(NOASANFLAG)" != x ]; then \
757 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dwarfnames.c -o noasan/$@; \
758 else true; fi
11ec770e
TT
759 $(COMPILE.c) $(srcdir)/dwarfnames.c $(OUTPUT_OPTION)
760
16f60fcb 761./dyn-string.$(objext): $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
398b3deb 762 $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
24f2cabb
L
763 if [ x"$(PICFLAG)" != x ]; then \
764 $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \
765 else true; fi
4f148bbc
JJ
766 if [ x"$(NOASANFLAG)" != x ]; then \
767 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dyn-string.c -o noasan/$@; \
768 else true; fi
24f2cabb 769 $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION)
398b3deb 770
16f60fcb 771./fdmatch.$(objext): $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \
bd7d50f8 772 $(INCDIR)/libiberty.h
24f2cabb
L
773 if [ x"$(PICFLAG)" != x ]; then \
774 $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \
775 else true; fi
4f148bbc
JJ
776 if [ x"$(NOASANFLAG)" != x ]; then \
777 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fdmatch.c -o noasan/$@; \
778 else true; fi
24f2cabb 779 $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION)
398b3deb 780
16f60fcb 781./ffs.$(objext): $(srcdir)/ffs.c
24f2cabb
L
782 if [ x"$(PICFLAG)" != x ]; then \
783 $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \
784 else true; fi
4f148bbc
JJ
785 if [ x"$(NOASANFLAG)" != x ]; then \
786 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/ffs.c -o noasan/$@; \
787 else true; fi
24f2cabb 788 $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION)
398b3deb 789
16f60fcb 790./fibheap.$(objext): $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
f59a2f55 791 $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h
24f2cabb
L
792 if [ x"$(PICFLAG)" != x ]; then \
793 $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \
794 else true; fi
4f148bbc
JJ
795 if [ x"$(NOASANFLAG)" != x ]; then \
796 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fibheap.c -o noasan/$@; \
797 else true; fi
24f2cabb 798 $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION)
398b3deb 799
8f88e7f6
ML
800./filedescriptor.$(objext): $(srcdir)/filedescriptor.c config.h $(INCDIR)/ansidecl.h \
801 $(INCDIR)/libiberty.h
802 if [ x"$(PICFLAG)" != x ]; then \
803 $(COMPILE.c) $(PICFLAG) $(srcdir)/filedescriptor.c -o pic/$@; \
804 else true; fi
805 if [ x"$(NOASANFLAG)" != x ]; then \
806 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/filedescriptor.c -o noasan/$@; \
807 else true; fi
808 $(COMPILE.c) $(srcdir)/filedescriptor.c $(OUTPUT_OPTION)
809
810
9a9baa52
ILT
811./filename_cmp.$(objext): $(srcdir)/filename_cmp.c config.h $(INCDIR)/ansidecl.h \
812 $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
186c60ab 813 $(INCDIR)/safe-ctype.h
cde515d9
JB
814 if [ x"$(PICFLAG)" != x ]; then \
815 $(COMPILE.c) $(PICFLAG) $(srcdir)/filename_cmp.c -o pic/$@; \
816 else true; fi
4f148bbc
JJ
817 if [ x"$(NOASANFLAG)" != x ]; then \
818 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/filename_cmp.c -o noasan/$@; \
819 else true; fi
cde515d9
JB
820 $(COMPILE.c) $(srcdir)/filename_cmp.c $(OUTPUT_OPTION)
821
16f60fcb 822./floatformat.$(objext): $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
398b3deb 823 $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
24f2cabb
L
824 if [ x"$(PICFLAG)" != x ]; then \
825 $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \
826 else true; fi
4f148bbc
JJ
827 if [ x"$(NOASANFLAG)" != x ]; then \
828 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/floatformat.c -o noasan/$@; \
829 else true; fi
24f2cabb 830 $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION)
398b3deb 831
16f60fcb 832./fnmatch.$(objext): $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
398b3deb 833 $(INCDIR)/safe-ctype.h
24f2cabb
L
834 if [ x"$(PICFLAG)" != x ]; then \
835 $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \
836 else true; fi
4f148bbc
JJ
837 if [ x"$(NOASANFLAG)" != x ]; then \
838 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fnmatch.c -o noasan/$@; \
839 else true; fi
24f2cabb 840 $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION)
398b3deb 841
16f60fcb
TG
842./fopen_unlocked.$(objext): $(srcdir)/fopen_unlocked.c config.h \
843 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
78a7dc90
KG
844 if [ x"$(PICFLAG)" != x ]; then \
845 $(COMPILE.c) $(PICFLAG) $(srcdir)/fopen_unlocked.c -o pic/$@; \
846 else true; fi
4f148bbc
JJ
847 if [ x"$(NOASANFLAG)" != x ]; then \
848 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fopen_unlocked.c -o noasan/$@; \
849 else true; fi
78a7dc90
KG
850 $(COMPILE.c) $(srcdir)/fopen_unlocked.c $(OUTPUT_OPTION)
851
16f60fcb 852./getcwd.$(objext): $(srcdir)/getcwd.c config.h
24f2cabb
L
853 if [ x"$(PICFLAG)" != x ]; then \
854 $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \
855 else true; fi
4f148bbc
JJ
856 if [ x"$(NOASANFLAG)" != x ]; then \
857 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getcwd.c -o noasan/$@; \
858 else true; fi
24f2cabb 859 $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION)
398b3deb 860
16f60fcb
TG
861./getopt.$(objext): $(srcdir)/getopt.c config.h $(INCDIR)/ansidecl.h \
862 $(INCDIR)/getopt.h
24f2cabb
L
863 if [ x"$(PICFLAG)" != x ]; then \
864 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \
865 else true; fi
4f148bbc
JJ
866 if [ x"$(NOASANFLAG)" != x ]; then \
867 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt.c -o noasan/$@; \
868 else true; fi
24f2cabb 869 $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION)
398b3deb 870
16f60fcb 871./getopt1.$(objext): $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h
24f2cabb
L
872 if [ x"$(PICFLAG)" != x ]; then \
873 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \
874 else true; fi
4f148bbc
JJ
875 if [ x"$(NOASANFLAG)" != x ]; then \
876 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt1.c -o noasan/$@; \
877 else true; fi
24f2cabb 878 $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION)
398b3deb 879
16f60fcb 880./getpagesize.$(objext): $(srcdir)/getpagesize.c config.h
24f2cabb
L
881 if [ x"$(PICFLAG)" != x ]; then \
882 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \
883 else true; fi
4f148bbc
JJ
884 if [ x"$(NOASANFLAG)" != x ]; then \
885 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpagesize.c -o noasan/$@; \
886 else true; fi
24f2cabb 887 $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION)
398b3deb 888
16f60fcb 889./getpwd.$(objext): $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
f59a2f55 890 $(INCDIR)/libiberty.h
24f2cabb
L
891 if [ x"$(PICFLAG)" != x ]; then \
892 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \
893 else true; fi
4f148bbc
JJ
894 if [ x"$(NOASANFLAG)" != x ]; then \
895 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpwd.c -o noasan/$@; \
896 else true; fi
24f2cabb 897 $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION)
398b3deb 898
16f60fcb 899./getruntime.$(objext): $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
9ce3f7e5 900 $(INCDIR)/libiberty.h
24f2cabb
L
901 if [ x"$(PICFLAG)" != x ]; then \
902 $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \
903 else true; fi
4f148bbc
JJ
904 if [ x"$(NOASANFLAG)" != x ]; then \
905 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getruntime.c -o noasan/$@; \
906 else true; fi
24f2cabb 907 $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION)
398b3deb 908
16f60fcb 909./gettimeofday.$(objext): $(srcdir)/gettimeofday.c config.h $(INCDIR)/ansidecl.h \
17049f0b
MM
910 $(INCDIR)/libiberty.h
911 if [ x"$(PICFLAG)" != x ]; then \
912 $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \
913 else true; fi
4f148bbc
JJ
914 if [ x"$(NOASANFLAG)" != x ]; then \
915 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/gettimeofday.c -o noasan/$@; \
916 else true; fi
17049f0b
MM
917 $(COMPILE.c) $(srcdir)/gettimeofday.c $(OUTPUT_OPTION)
918
16f60fcb 919./hashtab.$(objext): $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
f59a2f55 920 $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
24f2cabb
L
921 if [ x"$(PICFLAG)" != x ]; then \
922 $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \
923 else true; fi
4f148bbc
JJ
924 if [ x"$(NOASANFLAG)" != x ]; then \
925 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hashtab.c -o noasan/$@; \
926 else true; fi
24f2cabb 927 $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION)
398b3deb 928
16f60fcb
TG
929./hex.$(objext): $(srcdir)/hex.c config.h $(INCDIR)/ansidecl.h \
930 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
24f2cabb
L
931 if [ x"$(PICFLAG)" != x ]; then \
932 $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \
933 else true; fi
4f148bbc
JJ
934 if [ x"$(NOASANFLAG)" != x ]; then \
935 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hex.c -o noasan/$@; \
936 else true; fi
24f2cabb 937 $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION)
398b3deb 938
16f60fcb 939./index.$(objext): $(srcdir)/index.c
24f2cabb
L
940 if [ x"$(PICFLAG)" != x ]; then \
941 $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \
942 else true; fi
4f148bbc
JJ
943 if [ x"$(NOASANFLAG)" != x ]; then \
944 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/index.c -o noasan/$@; \
945 else true; fi
24f2cabb 946 $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION)
398b3deb 947
16f60fcb 948./insque.$(objext): $(srcdir)/insque.c
24f2cabb
L
949 if [ x"$(PICFLAG)" != x ]; then \
950 $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \
951 else true; fi
4f148bbc
JJ
952 if [ x"$(NOASANFLAG)" != x ]; then \
953 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/insque.c -o noasan/$@; \
954 else true; fi
24f2cabb 955 $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION)
398b3deb 956
16f60fcb 957./lbasename.$(objext): $(srcdir)/lbasename.c config.h $(INCDIR)/ansidecl.h \
9a9baa52 958 $(INCDIR)/filenames.h $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h \
16f60fcb 959 $(INCDIR)/safe-ctype.h
24f2cabb
L
960 if [ x"$(PICFLAG)" != x ]; then \
961 $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \
962 else true; fi
4f148bbc
JJ
963 if [ x"$(NOASANFLAG)" != x ]; then \
964 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lbasename.c -o noasan/$@; \
965 else true; fi
24f2cabb 966 $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION)
398b3deb 967
16f60fcb 968./lrealpath.$(objext): $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
398b3deb 969 $(INCDIR)/libiberty.h
24f2cabb
L
970 if [ x"$(PICFLAG)" != x ]; then \
971 $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \
972 else true; fi
4f148bbc
JJ
973 if [ x"$(NOASANFLAG)" != x ]; then \
974 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lrealpath.c -o noasan/$@; \
975 else true; fi
24f2cabb 976 $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION)
398b3deb 977
16f60fcb 978./make-relative-prefix.$(objext): $(srcdir)/make-relative-prefix.c config.h \
398b3deb 979 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
24f2cabb
L
980 if [ x"$(PICFLAG)" != x ]; then \
981 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \
982 else true; fi
4f148bbc
JJ
983 if [ x"$(NOASANFLAG)" != x ]; then \
984 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-relative-prefix.c -o noasan/$@; \
985 else true; fi
24f2cabb 986 $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION)
398b3deb 987
16f60fcb
TG
988./make-temp-file.$(objext): $(srcdir)/make-temp-file.c config.h \
989 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
24f2cabb
L
990 if [ x"$(PICFLAG)" != x ]; then \
991 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \
992 else true; fi
4f148bbc
JJ
993 if [ x"$(NOASANFLAG)" != x ]; then \
994 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-temp-file.c -o noasan/$@; \
995 else true; fi
24f2cabb 996 $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION)
398b3deb 997
16f60fcb 998./md5.$(objext): $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
24f2cabb
L
999 if [ x"$(PICFLAG)" != x ]; then \
1000 $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \
1001 else true; fi
4f148bbc
JJ
1002 if [ x"$(NOASANFLAG)" != x ]; then \
1003 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/md5.c -o noasan/$@; \
1004 else true; fi
24f2cabb 1005 $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION)
398b3deb 1006
16f60fcb 1007./memchr.$(objext): $(srcdir)/memchr.c $(INCDIR)/ansidecl.h
24f2cabb
L
1008 if [ x"$(PICFLAG)" != x ]; then \
1009 $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \
1010 else true; fi
4f148bbc
JJ
1011 if [ x"$(NOASANFLAG)" != x ]; then \
1012 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memchr.c -o noasan/$@; \
1013 else true; fi
24f2cabb 1014 $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION)
398b3deb 1015
16f60fcb 1016./memcmp.$(objext): $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h
24f2cabb
L
1017 if [ x"$(PICFLAG)" != x ]; then \
1018 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \
1019 else true; fi
4f148bbc
JJ
1020 if [ x"$(NOASANFLAG)" != x ]; then \
1021 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcmp.c -o noasan/$@; \
1022 else true; fi
24f2cabb 1023 $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION)
398b3deb 1024
16f60fcb 1025./memcpy.$(objext): $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h
24f2cabb
L
1026 if [ x"$(PICFLAG)" != x ]; then \
1027 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \
1028 else true; fi
4f148bbc
JJ
1029 if [ x"$(NOASANFLAG)" != x ]; then \
1030 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcpy.c -o noasan/$@; \
1031 else true; fi
24f2cabb 1032 $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION)
398b3deb 1033
16f60fcb 1034./memmem.$(objext): $(srcdir)/memmem.c config.h
5fbd9447
ILT
1035 if [ x"$(PICFLAG)" != x ]; then \
1036 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmem.c -o pic/$@; \
1037 else true; fi
4f148bbc
JJ
1038 if [ x"$(NOASANFLAG)" != x ]; then \
1039 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmem.c -o noasan/$@; \
1040 else true; fi
5fbd9447
ILT
1041 $(COMPILE.c) $(srcdir)/memmem.c $(OUTPUT_OPTION)
1042
16f60fcb 1043./memmove.$(objext): $(srcdir)/memmove.c $(INCDIR)/ansidecl.h
24f2cabb
L
1044 if [ x"$(PICFLAG)" != x ]; then \
1045 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \
1046 else true; fi
4f148bbc
JJ
1047 if [ x"$(NOASANFLAG)" != x ]; then \
1048 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmove.c -o noasan/$@; \
1049 else true; fi
24f2cabb 1050 $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION)
398b3deb 1051
16f60fcb 1052./mempcpy.$(objext): $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h
24f2cabb
L
1053 if [ x"$(PICFLAG)" != x ]; then \
1054 $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \
1055 else true; fi
4f148bbc
JJ
1056 if [ x"$(NOASANFLAG)" != x ]; then \
1057 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mempcpy.c -o noasan/$@; \
1058 else true; fi
24f2cabb 1059 $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION)
398b3deb 1060
16f60fcb 1061./memset.$(objext): $(srcdir)/memset.c $(INCDIR)/ansidecl.h
24f2cabb
L
1062 if [ x"$(PICFLAG)" != x ]; then \
1063 $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \
1064 else true; fi
4f148bbc
JJ
1065 if [ x"$(NOASANFLAG)" != x ]; then \
1066 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memset.c -o noasan/$@; \
1067 else true; fi
24f2cabb 1068 $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION)
398b3deb 1069
16f60fcb 1070./mkstemps.$(objext): $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h
24f2cabb
L
1071 if [ x"$(PICFLAG)" != x ]; then \
1072 $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \
1073 else true; fi
4f148bbc
JJ
1074 if [ x"$(NOASANFLAG)" != x ]; then \
1075 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mkstemps.c -o noasan/$@; \
1076 else true; fi
24f2cabb 1077 $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION)
398b3deb 1078
16f60fcb 1079./msdos.$(objext): $(srcdir)/msdos.c
24f2cabb
L
1080 if [ x"$(PICFLAG)" != x ]; then \
1081 $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \
1082 else true; fi
4f148bbc
JJ
1083 if [ x"$(NOASANFLAG)" != x ]; then \
1084 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/msdos.c -o noasan/$@; \
1085 else true; fi
24f2cabb 1086 $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION)
398b3deb 1087
16f60fcb 1088./objalloc.$(objext): $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1089 $(INCDIR)/objalloc.h
24f2cabb
L
1090 if [ x"$(PICFLAG)" != x ]; then \
1091 $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \
1092 else true; fi
4f148bbc
JJ
1093 if [ x"$(NOASANFLAG)" != x ]; then \
1094 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/objalloc.c -o noasan/$@; \
1095 else true; fi
24f2cabb 1096 $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION)
398b3deb 1097
16f60fcb 1098./obstack.$(objext): $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h
24f2cabb
L
1099 if [ x"$(PICFLAG)" != x ]; then \
1100 $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \
1101 else true; fi
4f148bbc
JJ
1102 if [ x"$(NOASANFLAG)" != x ]; then \
1103 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/obstack.c -o noasan/$@; \
1104 else true; fi
24f2cabb 1105 $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION)
398b3deb 1106
16f60fcb 1107./partition.$(objext): $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1108 $(INCDIR)/libiberty.h $(INCDIR)/partition.h
24f2cabb
L
1109 if [ x"$(PICFLAG)" != x ]; then \
1110 $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \
1111 else true; fi
4f148bbc
JJ
1112 if [ x"$(NOASANFLAG)" != x ]; then \
1113 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/partition.c -o noasan/$@; \
1114 else true; fi
24f2cabb 1115 $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION)
398b3deb 1116
16f60fcb 1117./pex-common.$(objext): $(srcdir)/pex-common.c config.h $(INCDIR)/ansidecl.h \
a584cf65
ILT
1118 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1119 if [ x"$(PICFLAG)" != x ]; then \
1120 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-common.c -o pic/$@; \
1121 else true; fi
4f148bbc
JJ
1122 if [ x"$(NOASANFLAG)" != x ]; then \
1123 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-common.c -o noasan/$@; \
1124 else true; fi
a584cf65
ILT
1125 $(COMPILE.c) $(srcdir)/pex-common.c $(OUTPUT_OPTION)
1126
16f60fcb 1127./pex-djgpp.$(objext): $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1128 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
24f2cabb
L
1129 if [ x"$(PICFLAG)" != x ]; then \
1130 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \
1131 else true; fi
4f148bbc
JJ
1132 if [ x"$(NOASANFLAG)" != x ]; then \
1133 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-djgpp.c -o noasan/$@; \
1134 else true; fi
24f2cabb 1135 $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION)
398b3deb 1136
16f60fcb 1137./pex-msdos.$(objext): $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \
398b3deb
DD
1138 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \
1139 $(INCDIR)/safe-ctype.h
24f2cabb
L
1140 if [ x"$(PICFLAG)" != x ]; then \
1141 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \
1142 else true; fi
4f148bbc
JJ
1143 if [ x"$(NOASANFLAG)" != x ]; then \
1144 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-msdos.c -o noasan/$@; \
1145 else true; fi
24f2cabb 1146 $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION)
398b3deb 1147
16f60fcb 1148./pex-one.$(objext): $(srcdir)/pex-one.c config.h $(INCDIR)/ansidecl.h \
a584cf65
ILT
1149 $(INCDIR)/libiberty.h
1150 if [ x"$(PICFLAG)" != x ]; then \
1151 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-one.c -o pic/$@; \
1152 else true; fi
4f148bbc
JJ
1153 if [ x"$(NOASANFLAG)" != x ]; then \
1154 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-one.c -o noasan/$@; \
1155 else true; fi
a584cf65
ILT
1156 $(COMPILE.c) $(srcdir)/pex-one.c $(OUTPUT_OPTION)
1157
16f60fcb 1158./pex-unix.$(objext): $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1159 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
24f2cabb
L
1160 if [ x"$(PICFLAG)" != x ]; then \
1161 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \
1162 else true; fi
4f148bbc
JJ
1163 if [ x"$(NOASANFLAG)" != x ]; then \
1164 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-unix.c -o noasan/$@; \
1165 else true; fi
24f2cabb 1166 $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION)
398b3deb 1167
16f60fcb 1168./pex-win32.$(objext): $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1169 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
24f2cabb
L
1170 if [ x"$(PICFLAG)" != x ]; then \
1171 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \
1172 else true; fi
4f148bbc
JJ
1173 if [ x"$(NOASANFLAG)" != x ]; then \
1174 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-win32.c -o noasan/$@; \
1175 else true; fi
24f2cabb 1176 $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION)
398b3deb 1177
16f60fcb 1178./pexecute.$(objext): $(srcdir)/pexecute.c config.h $(INCDIR)/ansidecl.h \
a584cf65
ILT
1179 $(INCDIR)/libiberty.h
1180 if [ x"$(PICFLAG)" != x ]; then \
1181 $(COMPILE.c) $(PICFLAG) $(srcdir)/pexecute.c -o pic/$@; \
1182 else true; fi
4f148bbc
JJ
1183 if [ x"$(NOASANFLAG)" != x ]; then \
1184 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pexecute.c -o noasan/$@; \
1185 else true; fi
a584cf65
ILT
1186 $(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION)
1187
16f60fcb 1188./physmem.$(objext): $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1189 $(INCDIR)/libiberty.h
24f2cabb
L
1190 if [ x"$(PICFLAG)" != x ]; then \
1191 $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \
1192 else true; fi
4f148bbc
JJ
1193 if [ x"$(NOASANFLAG)" != x ]; then \
1194 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/physmem.c -o noasan/$@; \
1195 else true; fi
24f2cabb 1196 $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION)
398b3deb 1197
16f60fcb 1198./putenv.$(objext): $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h
24f2cabb
L
1199 if [ x"$(PICFLAG)" != x ]; then \
1200 $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \
1201 else true; fi
4f148bbc
JJ
1202 if [ x"$(NOASANFLAG)" != x ]; then \
1203 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/putenv.c -o noasan/$@; \
1204 else true; fi
24f2cabb 1205 $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION)
398b3deb 1206
16f60fcb 1207./random.$(objext): $(srcdir)/random.c $(INCDIR)/ansidecl.h
24f2cabb
L
1208 if [ x"$(PICFLAG)" != x ]; then \
1209 $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \
1210 else true; fi
4f148bbc
JJ
1211 if [ x"$(NOASANFLAG)" != x ]; then \
1212 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/random.c -o noasan/$@; \
1213 else true; fi
24f2cabb 1214 $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION)
398b3deb 1215
16f60fcb
TG
1216./regex.$(objext): $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h \
1217 $(INCDIR)/xregex.h $(INCDIR)/xregex2.h
24f2cabb
L
1218 if [ x"$(PICFLAG)" != x ]; then \
1219 $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \
1220 else true; fi
4f148bbc
JJ
1221 if [ x"$(NOASANFLAG)" != x ]; then \
1222 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/regex.c -o noasan/$@; \
1223 else true; fi
24f2cabb 1224 $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION)
398b3deb 1225
16f60fcb 1226./rename.$(objext): $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h
24f2cabb
L
1227 if [ x"$(PICFLAG)" != x ]; then \
1228 $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \
1229 else true; fi
4f148bbc
JJ
1230 if [ x"$(NOASANFLAG)" != x ]; then \
1231 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rename.c -o noasan/$@; \
1232 else true; fi
24f2cabb 1233 $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION)
398b3deb 1234
16f60fcb 1235./rindex.$(objext): $(srcdir)/rindex.c
24f2cabb
L
1236 if [ x"$(PICFLAG)" != x ]; then \
1237 $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \
1238 else true; fi
4f148bbc
JJ
1239 if [ x"$(NOASANFLAG)" != x ]; then \
1240 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rindex.c -o noasan/$@; \
1241 else true; fi
24f2cabb 1242 $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION)
398b3deb 1243
10d48c59
DT
1244./rust-demangle.$(objext): $(srcdir)/rust-demangle.c config.h \
1245 $(INCDIR)/ansidecl.h $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
1246 $(INCDIR)/safe-ctype.h
1247 if [ x"$(PICFLAG)" != x ]; then \
1248 $(COMPILE.c) $(PICFLAG) $(srcdir)/rust-demangle.c -o pic/$@; \
1249 else true; fi
1250 if [ x"$(NOASANFLAG)" != x ]; then \
1251 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rust-demangle.c -o noasan/$@; \
1252 else true; fi
1253 $(COMPILE.c) $(srcdir)/rust-demangle.c $(OUTPUT_OPTION)
1254
16f60fcb 1255./safe-ctype.$(objext): $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
398b3deb 1256 $(INCDIR)/safe-ctype.h
24f2cabb
L
1257 if [ x"$(PICFLAG)" != x ]; then \
1258 $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \
1259 else true; fi
4f148bbc
JJ
1260 if [ x"$(NOASANFLAG)" != x ]; then \
1261 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/safe-ctype.c -o noasan/$@; \
1262 else true; fi
24f2cabb 1263 $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION)
398b3deb 1264
16f60fcb 1265./setenv.$(objext): $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h
24f2cabb
L
1266 if [ x"$(PICFLAG)" != x ]; then \
1267 $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \
1268 else true; fi
4f148bbc
JJ
1269 if [ x"$(NOASANFLAG)" != x ]; then \
1270 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setenv.c -o noasan/$@; \
1271 else true; fi
24f2cabb 1272 $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION)
398b3deb 1273
6e9bd0f8
AK
1274./setproctitle.$(objext): $(srcdir)/setproctitle.c config.h $(INCDIR)/ansidecl.h
1275 if [ x"$(PICFLAG)" != x ]; then \
1276 $(COMPILE.c) $(PICFLAG) $(srcdir)/setproctitle.c -o pic/$@; \
1277 else true; fi
4f148bbc
JJ
1278 if [ x"$(NOASANFLAG)" != x ]; then \
1279 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setproctitle.c -o noasan/$@; \
1280 else true; fi
6e9bd0f8
AK
1281 $(COMPILE.c) $(srcdir)/setproctitle.c $(OUTPUT_OPTION)
1282
16f60fcb 1283./sha1.$(objext): $(srcdir)/sha1.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/sha1.h
598848e4
ILT
1284 if [ x"$(PICFLAG)" != x ]; then \
1285 $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \
1286 else true; fi
4f148bbc
JJ
1287 if [ x"$(NOASANFLAG)" != x ]; then \
1288 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sha1.c -o noasan/$@; \
1289 else true; fi
598848e4
ILT
1290 $(COMPILE.c) $(srcdir)/sha1.c $(OUTPUT_OPTION)
1291
16f60fcb 1292./sigsetmask.$(objext): $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
24f2cabb
L
1293 if [ x"$(PICFLAG)" != x ]; then \
1294 $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \
1295 else true; fi
4f148bbc
JJ
1296 if [ x"$(NOASANFLAG)" != x ]; then \
1297 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sigsetmask.c -o noasan/$@; \
1298 else true; fi
24f2cabb 1299 $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
398b3deb 1300
1cfabf34
ILT
1301./simple-object-coff.$(objext): $(srcdir)/simple-object-coff.c config.h \
1302 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1303 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1304 if [ x"$(PICFLAG)" != x ]; then \
1305 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-coff.c -o pic/$@; \
1306 else true; fi
4f148bbc
JJ
1307 if [ x"$(NOASANFLAG)" != x ]; then \
1308 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-coff.c -o noasan/$@; \
1309 else true; fi
1cfabf34
ILT
1310 $(COMPILE.c) $(srcdir)/simple-object-coff.c $(OUTPUT_OPTION)
1311
1312./simple-object-elf.$(objext): $(srcdir)/simple-object-elf.c config.h \
1313 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1314 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1315 if [ x"$(PICFLAG)" != x ]; then \
1316 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-elf.c -o pic/$@; \
1317 else true; fi
4f148bbc
JJ
1318 if [ x"$(NOASANFLAG)" != x ]; then \
1319 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-elf.c -o noasan/$@; \
1320 else true; fi
1cfabf34
ILT
1321 $(COMPILE.c) $(srcdir)/simple-object-elf.c $(OUTPUT_OPTION)
1322
1323./simple-object-mach-o.$(objext): $(srcdir)/simple-object-mach-o.c config.h \
1324 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1325 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1326 if [ x"$(PICFLAG)" != x ]; then \
1327 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-mach-o.c -o pic/$@; \
1328 else true; fi
4f148bbc
JJ
1329 if [ x"$(NOASANFLAG)" != x ]; then \
1330 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-mach-o.c -o noasan/$@; \
1331 else true; fi
1cfabf34
ILT
1332 $(COMPILE.c) $(srcdir)/simple-object-mach-o.c $(OUTPUT_OPTION)
1333
a9b01f00
DE
1334./simple-object-xcoff.$(objext): $(srcdir)/simple-object-xcoff.c config.h \
1335 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1336 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1337 if [ x"$(PICFLAG)" != x ]; then \
1338 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-xcoff.c -o pic/$@; \
1339 else true; fi
4f148bbc
JJ
1340 if [ x"$(NOASANFLAG)" != x ]; then \
1341 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-xcoff.c -o noasan/$@; \
1342 else true; fi
a9b01f00
DE
1343 $(COMPILE.c) $(srcdir)/simple-object-xcoff.c $(OUTPUT_OPTION)
1344
1cfabf34
ILT
1345./simple-object.$(objext): $(srcdir)/simple-object.c config.h \
1346 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1347 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1348 if [ x"$(PICFLAG)" != x ]; then \
1349 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object.c -o pic/$@; \
1350 else true; fi
4f148bbc
JJ
1351 if [ x"$(NOASANFLAG)" != x ]; then \
1352 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object.c -o noasan/$@; \
1353 else true; fi
1cfabf34
ILT
1354 $(COMPILE.c) $(srcdir)/simple-object.c $(OUTPUT_OPTION)
1355
16f60fcb 1356./snprintf.$(objext): $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
24f2cabb
L
1357 if [ x"$(PICFLAG)" != x ]; then \
1358 $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
1359 else true; fi
4f148bbc
JJ
1360 if [ x"$(NOASANFLAG)" != x ]; then \
1361 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/snprintf.c -o noasan/$@; \
1362 else true; fi
24f2cabb 1363 $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
398b3deb 1364
16f60fcb
TG
1365./sort.$(objext): $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h \
1366 $(INCDIR)/libiberty.h $(INCDIR)/sort.h
24f2cabb
L
1367 if [ x"$(PICFLAG)" != x ]; then \
1368 $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \
1369 else true; fi
4f148bbc
JJ
1370 if [ x"$(NOASANFLAG)" != x ]; then \
1371 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sort.c -o noasan/$@; \
1372 else true; fi
24f2cabb 1373 $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION)
398b3deb 1374
16f60fcb 1375./spaces.$(objext): $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \
f59a2f55 1376 $(INCDIR)/libiberty.h
24f2cabb
L
1377 if [ x"$(PICFLAG)" != x ]; then \
1378 $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \
1379 else true; fi
4f148bbc
JJ
1380 if [ x"$(NOASANFLAG)" != x ]; then \
1381 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/spaces.c -o noasan/$@; \
1382 else true; fi
24f2cabb 1383 $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION)
398b3deb 1384
16f60fcb 1385./splay-tree.$(objext): $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1386 $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
24f2cabb
L
1387 if [ x"$(PICFLAG)" != x ]; then \
1388 $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \
1389 else true; fi
4f148bbc
JJ
1390 if [ x"$(NOASANFLAG)" != x ]; then \
1391 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/splay-tree.c -o noasan/$@; \
1392 else true; fi
24f2cabb 1393 $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
398b3deb 1394
9a9baa52 1395./stack-limit.$(objext): $(srcdir)/stack-limit.c config.h $(INCDIR)/ansidecl.h
d423df48
JJ
1396 if [ x"$(PICFLAG)" != x ]; then \
1397 $(COMPILE.c) $(PICFLAG) $(srcdir)/stack-limit.c -o pic/$@; \
1398 else true; fi
4f148bbc
JJ
1399 if [ x"$(NOASANFLAG)" != x ]; then \
1400 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stack-limit.c -o noasan/$@; \
1401 else true; fi
d423df48
JJ
1402 $(COMPILE.c) $(srcdir)/stack-limit.c $(OUTPUT_OPTION)
1403
16f60fcb 1404./stpcpy.$(objext): $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
24f2cabb
L
1405 if [ x"$(PICFLAG)" != x ]; then \
1406 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
1407 else true; fi
4f148bbc
JJ
1408 if [ x"$(NOASANFLAG)" != x ]; then \
1409 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpcpy.c -o noasan/$@; \
1410 else true; fi
24f2cabb 1411 $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION)
398b3deb 1412
16f60fcb 1413./stpncpy.$(objext): $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
24f2cabb
L
1414 if [ x"$(PICFLAG)" != x ]; then \
1415 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \
1416 else true; fi
4f148bbc
JJ
1417 if [ x"$(NOASANFLAG)" != x ]; then \
1418 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpncpy.c -o noasan/$@; \
1419 else true; fi
24f2cabb 1420 $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
398b3deb 1421
16f60fcb 1422./strcasecmp.$(objext): $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
24f2cabb
L
1423 if [ x"$(PICFLAG)" != x ]; then \
1424 $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \
1425 else true; fi
4f148bbc
JJ
1426 if [ x"$(NOASANFLAG)" != x ]; then \
1427 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strcasecmp.c -o noasan/$@; \
1428 else true; fi
24f2cabb 1429 $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION)
398b3deb 1430
16f60fcb 1431./strchr.$(objext): $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
24f2cabb
L
1432 if [ x"$(PICFLAG)" != x ]; then \
1433 $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \
1434 else true; fi
4f148bbc
JJ
1435 if [ x"$(NOASANFLAG)" != x ]; then \
1436 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strchr.c -o noasan/$@; \
1437 else true; fi
24f2cabb 1438 $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION)
398b3deb 1439
16f60fcb 1440./strdup.$(objext): $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
24f2cabb
L
1441 if [ x"$(PICFLAG)" != x ]; then \
1442 $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \
1443 else true; fi
4f148bbc
JJ
1444 if [ x"$(NOASANFLAG)" != x ]; then \
1445 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strdup.c -o noasan/$@; \
1446 else true; fi
24f2cabb 1447 $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION)
398b3deb 1448
16f60fcb 1449./strerror.$(objext): $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1450 $(INCDIR)/libiberty.h
24f2cabb
L
1451 if [ x"$(PICFLAG)" != x ]; then \
1452 $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \
1453 else true; fi
4f148bbc
JJ
1454 if [ x"$(NOASANFLAG)" != x ]; then \
1455 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strerror.c -o noasan/$@; \
1456 else true; fi
24f2cabb 1457 $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION)
398b3deb 1458
16f60fcb 1459./strncasecmp.$(objext): $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
24f2cabb
L
1460 if [ x"$(PICFLAG)" != x ]; then \
1461 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \
1462 else true; fi
4f148bbc
JJ
1463 if [ x"$(NOASANFLAG)" != x ]; then \
1464 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncasecmp.c -o noasan/$@; \
1465 else true; fi
24f2cabb 1466 $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION)
398b3deb 1467
16f60fcb 1468./strncmp.$(objext): $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
24f2cabb
L
1469 if [ x"$(PICFLAG)" != x ]; then \
1470 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \
1471 else true; fi
4f148bbc
JJ
1472 if [ x"$(NOASANFLAG)" != x ]; then \
1473 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncmp.c -o noasan/$@; \
1474 else true; fi
24f2cabb 1475 $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION)
398b3deb 1476
16f60fcb 1477./strndup.$(objext): $(srcdir)/strndup.c $(INCDIR)/ansidecl.h
17998b22
KG
1478 if [ x"$(PICFLAG)" != x ]; then \
1479 $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \
1480 else true; fi
4f148bbc
JJ
1481 if [ x"$(NOASANFLAG)" != x ]; then \
1482 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strndup.c -o noasan/$@; \
1483 else true; fi
17998b22
KG
1484 $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION)
1485
9a9baa52
ILT
1486./strnlen.$(objext): $(srcdir)/strnlen.c config.h
1487 if [ x"$(PICFLAG)" != x ]; then \
1488 $(COMPILE.c) $(PICFLAG) $(srcdir)/strnlen.c -o pic/$@; \
1489 else true; fi
4f148bbc
JJ
1490 if [ x"$(NOASANFLAG)" != x ]; then \
1491 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strnlen.c -o noasan/$@; \
1492 else true; fi
9a9baa52
ILT
1493 $(COMPILE.c) $(srcdir)/strnlen.c $(OUTPUT_OPTION)
1494
16f60fcb 1495./strrchr.$(objext): $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
24f2cabb
L
1496 if [ x"$(PICFLAG)" != x ]; then \
1497 $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \
1498 else true; fi
4f148bbc
JJ
1499 if [ x"$(NOASANFLAG)" != x ]; then \
1500 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strrchr.c -o noasan/$@; \
1501 else true; fi
24f2cabb 1502 $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION)
398b3deb 1503
16f60fcb 1504./strsignal.$(objext): $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1505 $(INCDIR)/libiberty.h
24f2cabb
L
1506 if [ x"$(PICFLAG)" != x ]; then \
1507 $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \
1508 else true; fi
4f148bbc
JJ
1509 if [ x"$(NOASANFLAG)" != x ]; then \
1510 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strsignal.c -o noasan/$@; \
1511 else true; fi
24f2cabb 1512 $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION)
398b3deb 1513
16f60fcb 1514./strstr.$(objext): $(srcdir)/strstr.c
24f2cabb
L
1515 if [ x"$(PICFLAG)" != x ]; then \
1516 $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \
1517 else true; fi
4f148bbc
JJ
1518 if [ x"$(NOASANFLAG)" != x ]; then \
1519 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strstr.c -o noasan/$@; \
1520 else true; fi
24f2cabb 1521 $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION)
398b3deb 1522
16f60fcb
TG
1523./strtod.$(objext): $(srcdir)/strtod.c $(INCDIR)/ansidecl.h \
1524 $(INCDIR)/safe-ctype.h
24f2cabb
L
1525 if [ x"$(PICFLAG)" != x ]; then \
1526 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \
1527 else true; fi
4f148bbc
JJ
1528 if [ x"$(NOASANFLAG)" != x ]; then \
1529 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtod.c -o noasan/$@; \
1530 else true; fi
24f2cabb 1531 $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION)
398b3deb 1532
16f60fcb 1533./strtol.$(objext): $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
24f2cabb
L
1534 if [ x"$(PICFLAG)" != x ]; then \
1535 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \
1536 else true; fi
4f148bbc
JJ
1537 if [ x"$(NOASANFLAG)" != x ]; then \
1538 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtol.c -o noasan/$@; \
1539 else true; fi
24f2cabb 1540 $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION)
398b3deb 1541
ea41822a
YG
1542./strtoll.$(objext): $(srcdir)/strtoll.c config.h $(INCDIR)/safe-ctype.h
1543 if [ x"$(PICFLAG)" != x ]; then \
1544 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoll.c -o pic/$@; \
1545 else true; fi
1546 if [ x"$(NOASANFLAG)" != x ]; then \
1547 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoll.c -o noasan/$@; \
1548 else true; fi
1549 $(COMPILE.c) $(srcdir)/strtoll.c $(OUTPUT_OPTION)
1550
16f60fcb 1551./strtoul.$(objext): $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1552 $(INCDIR)/safe-ctype.h
24f2cabb
L
1553 if [ x"$(PICFLAG)" != x ]; then \
1554 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \
1555 else true; fi
4f148bbc
JJ
1556 if [ x"$(NOASANFLAG)" != x ]; then \
1557 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoul.c -o noasan/$@; \
1558 else true; fi
24f2cabb 1559 $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION)
398b3deb 1560
ea41822a
YG
1561./strtoull.$(objext): $(srcdir)/strtoull.c config.h $(INCDIR)/ansidecl.h \
1562 $(INCDIR)/safe-ctype.h
1563 if [ x"$(PICFLAG)" != x ]; then \
1564 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoull.c -o pic/$@; \
1565 else true; fi
1566 if [ x"$(NOASANFLAG)" != x ]; then \
1567 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoull.c -o noasan/$@; \
1568 else true; fi
1569 $(COMPILE.c) $(srcdir)/strtoull.c $(OUTPUT_OPTION)
1570
16f60fcb
TG
1571./strverscmp.$(objext): $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h \
1572 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
83fbfe42
GK
1573 if [ x"$(PICFLAG)" != x ]; then \
1574 $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \
1575 else true; fi
4f148bbc
JJ
1576 if [ x"$(NOASANFLAG)" != x ]; then \
1577 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strverscmp.c -o noasan/$@; \
1578 else true; fi
83fbfe42
GK
1579 $(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION)
1580
4092fb6e
DE
1581./timeval-utils.$(objext): $(srcdir)/timeval-utils.c config.h \
1582 $(INCDIR)/timeval-utils.h
1583 if [ x"$(PICFLAG)" != x ]; then \
1584 $(COMPILE.c) $(PICFLAG) $(srcdir)/timeval-utils.c -o pic/$@; \
1585 else true; fi
4f148bbc
JJ
1586 if [ x"$(NOASANFLAG)" != x ]; then \
1587 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/timeval-utils.c -o noasan/$@; \
1588 else true; fi
4092fb6e
DE
1589 $(COMPILE.c) $(srcdir)/timeval-utils.c $(OUTPUT_OPTION)
1590
16f60fcb 1591./tmpnam.$(objext): $(srcdir)/tmpnam.c
24f2cabb
L
1592 if [ x"$(PICFLAG)" != x ]; then \
1593 $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \
1594 else true; fi
4f148bbc
JJ
1595 if [ x"$(NOASANFLAG)" != x ]; then \
1596 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/tmpnam.c -o noasan/$@; \
1597 else true; fi
24f2cabb 1598 $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION)
398b3deb 1599
16f60fcb 1600./unlink-if-ordinary.$(objext): $(srcdir)/unlink-if-ordinary.c config.h \
17049f0b 1601 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
c363985d
JB
1602 if [ x"$(PICFLAG)" != x ]; then \
1603 $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \
1604 else true; fi
4f148bbc
JJ
1605 if [ x"$(NOASANFLAG)" != x ]; then \
1606 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/unlink-if-ordinary.c -o noasan/$@; \
1607 else true; fi
c363985d
JB
1608 $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION)
1609
16f60fcb 1610./vasprintf.$(objext): $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
01ca36af 1611 $(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h
24f2cabb
L
1612 if [ x"$(PICFLAG)" != x ]; then \
1613 $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \
1614 else true; fi
4f148bbc
JJ
1615 if [ x"$(NOASANFLAG)" != x ]; then \
1616 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vasprintf.c -o noasan/$@; \
1617 else true; fi
24f2cabb 1618 $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION)
398b3deb 1619
16f60fcb 1620./vfork.$(objext): $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
24f2cabb
L
1621 if [ x"$(PICFLAG)" != x ]; then \
1622 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \
1623 else true; fi
4f148bbc
JJ
1624 if [ x"$(NOASANFLAG)" != x ]; then \
1625 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfork.c -o noasan/$@; \
1626 else true; fi
24f2cabb 1627 $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION)
398b3deb 1628
16f60fcb 1629./vfprintf.$(objext): $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
24f2cabb
L
1630 if [ x"$(PICFLAG)" != x ]; then \
1631 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \
1632 else true; fi
4f148bbc
JJ
1633 if [ x"$(NOASANFLAG)" != x ]; then \
1634 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfprintf.c -o noasan/$@; \
1635 else true; fi
24f2cabb 1636 $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION)
398b3deb 1637
01ca36af
UB
1638./vprintf-support.$(objext): $(srcdir)/vprintf-support.c config.h \
1639 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1640 if [ x"$(PICFLAG)" != x ]; then \
1641 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf-support.c -o pic/$@; \
1642 else true; fi
1643 if [ x"$(NOASANFLAG)" != x ]; then \
1644 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf-support.c -o noasan/$@; \
1645 else true; fi
1646 $(COMPILE.c) $(srcdir)/vprintf-support.c $(OUTPUT_OPTION)
1647
16f60fcb 1648./vprintf.$(objext): $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
24f2cabb
L
1649 if [ x"$(PICFLAG)" != x ]; then \
1650 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \
1651 else true; fi
4f148bbc
JJ
1652 if [ x"$(NOASANFLAG)" != x ]; then \
1653 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf.c -o noasan/$@; \
1654 else true; fi
24f2cabb 1655 $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION)
398b3deb 1656
16f60fcb 1657./vsnprintf.$(objext): $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1658 $(INCDIR)/libiberty.h
24f2cabb
L
1659 if [ x"$(PICFLAG)" != x ]; then \
1660 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \
1661 else true; fi
4f148bbc
JJ
1662 if [ x"$(NOASANFLAG)" != x ]; then \
1663 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsnprintf.c -o noasan/$@; \
1664 else true; fi
24f2cabb 1665 $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION)
398b3deb 1666
16f60fcb 1667./vsprintf.$(objext): $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
24f2cabb
L
1668 if [ x"$(PICFLAG)" != x ]; then \
1669 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \
1670 else true; fi
4f148bbc
JJ
1671 if [ x"$(NOASANFLAG)" != x ]; then \
1672 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsprintf.c -o noasan/$@; \
1673 else true; fi
24f2cabb 1674 $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION)
398b3deb 1675
16f60fcb 1676./waitpid.$(objext): $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h
24f2cabb
L
1677 if [ x"$(PICFLAG)" != x ]; then \
1678 $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \
1679 else true; fi
4f148bbc
JJ
1680 if [ x"$(NOASANFLAG)" != x ]; then \
1681 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/waitpid.c -o noasan/$@; \
1682 else true; fi
24f2cabb 1683 $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION)
398b3deb 1684
e8850918
UB
1685./xasprintf.$(objext): $(srcdir)/xasprintf.c config.h $(INCDIR)/ansidecl.h \
1686 $(INCDIR)/libiberty.h
1687 if [ x"$(PICFLAG)" != x ]; then \
1688 $(COMPILE.c) $(PICFLAG) $(srcdir)/xasprintf.c -o pic/$@; \
1689 else true; fi
1690 if [ x"$(NOASANFLAG)" != x ]; then \
1691 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xasprintf.c -o noasan/$@; \
1692 else true; fi
1693 $(COMPILE.c) $(srcdir)/xasprintf.c $(OUTPUT_OPTION)
1694
16f60fcb 1695./xatexit.$(objext): $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \
bd7d50f8 1696 $(INCDIR)/libiberty.h
24f2cabb
L
1697 if [ x"$(PICFLAG)" != x ]; then \
1698 $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \
1699 else true; fi
4f148bbc
JJ
1700 if [ x"$(NOASANFLAG)" != x ]; then \
1701 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xatexit.c -o noasan/$@; \
1702 else true; fi
24f2cabb 1703 $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION)
398b3deb 1704
16f60fcb
TG
1705./xexit.$(objext): $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h \
1706 $(INCDIR)/libiberty.h
24f2cabb
L
1707 if [ x"$(PICFLAG)" != x ]; then \
1708 $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \
1709 else true; fi
4f148bbc
JJ
1710 if [ x"$(NOASANFLAG)" != x ]; then \
1711 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xexit.c -o noasan/$@; \
1712 else true; fi
24f2cabb 1713 $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION)
398b3deb 1714
16f60fcb 1715./xmalloc.$(objext): $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1716 $(INCDIR)/libiberty.h
24f2cabb
L
1717 if [ x"$(PICFLAG)" != x ]; then \
1718 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \
1719 else true; fi
4f148bbc
JJ
1720 if [ x"$(NOASANFLAG)" != x ]; then \
1721 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmalloc.c -o noasan/$@; \
1722 else true; fi
24f2cabb 1723 $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION)
398b3deb 1724
16f60fcb 1725./xmemdup.$(objext): $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1726 $(INCDIR)/libiberty.h
24f2cabb
L
1727 if [ x"$(PICFLAG)" != x ]; then \
1728 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \
1729 else true; fi
4f148bbc
JJ
1730 if [ x"$(NOASANFLAG)" != x ]; then \
1731 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmemdup.c -o noasan/$@; \
1732 else true; fi
24f2cabb 1733 $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION)
398b3deb 1734
16f60fcb 1735./xstrdup.$(objext): $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1736 $(INCDIR)/libiberty.h
24f2cabb
L
1737 if [ x"$(PICFLAG)" != x ]; then \
1738 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \
1739 else true; fi
4f148bbc
JJ
1740 if [ x"$(NOASANFLAG)" != x ]; then \
1741 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrdup.c -o noasan/$@; \
1742 else true; fi
24f2cabb 1743 $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION)
398b3deb 1744
16f60fcb 1745./xstrerror.$(objext): $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
398b3deb 1746 $(INCDIR)/libiberty.h
24f2cabb
L
1747 if [ x"$(PICFLAG)" != x ]; then \
1748 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \
1749 else true; fi
4f148bbc
JJ
1750 if [ x"$(NOASANFLAG)" != x ]; then \
1751 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrerror.c -o noasan/$@; \
1752 else true; fi
24f2cabb 1753 $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION)
398b3deb 1754
16f60fcb 1755./xstrndup.$(objext): $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \
17998b22
KG
1756 $(INCDIR)/libiberty.h
1757 if [ x"$(PICFLAG)" != x ]; then \
1758 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \
1759 else true; fi
4f148bbc
JJ
1760 if [ x"$(NOASANFLAG)" != x ]; then \
1761 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrndup.c -o noasan/$@; \
1762 else true; fi
17998b22
KG
1763 $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION)
1764
01ca36af
UB
1765./xvasprintf.$(objext): $(srcdir)/xvasprintf.c config.h $(INCDIR)/ansidecl.h \
1766 $(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h
1767 if [ x"$(PICFLAG)" != x ]; then \
1768 $(COMPILE.c) $(PICFLAG) $(srcdir)/xvasprintf.c -o pic/$@; \
1769 else true; fi
1770 if [ x"$(NOASANFLAG)" != x ]; then \
1771 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xvasprintf.c -o noasan/$@; \
1772 else true; fi
1773 $(COMPILE.c) $(srcdir)/xvasprintf.c $(OUTPUT_OPTION)