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