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