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