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