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