Update description of macro keyword argument assignment in assembler documentation.
[binutils-gdb.git] / libiberty / Makefile.in
blobb77a41c781c9952662dc0f8b83d000500730faa8
1 # Makefile for the libiberty library.
2 # Originally written by K. Richard Pixley <rich@cygnus.com>.
4 # Copyright (C) 1990-2024 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) $(CPPFLAGS) -I. -I$(INCDIR) \
116 $(HDEFINES) @ac_libiberty_warn_cflags@ -D_GNU_SOURCE \
117 @CET_HOST_FLAGS@ @HWCAP_CFLAGS@
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 -rmdir testsuite 2>/dev/null
486 maintainer-clean realclean: maintainer-clean-subdir
487 $(MAKE) SUBDIRS="" distclean
489 force:
491 Makefile: $(srcdir)/Makefile.in config.status
492 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
494 # Depending on Makefile makes sure that config.status has been re-run
495 # if needed. This prevents problems with parallel builds.
496 config.h: stamp-h ; @true
497 stamp-h: $(srcdir)/config.in config.status Makefile
498 CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status
500 config.status: $(srcdir)/configure
501 $(SHELL) ./config.status --recheck
503 AUTOCONF = autoconf
504 ACLOCAL = aclocal
505 ACLOCAL_AMFLAGS = -I ../config -I ..
506 aclocal_deps = \
507 $(srcdir)/../config/acx.m4 \
508 $(srcdir)/../config/cet.m4 \
509 $(srcdir)/../config/enable.m4 \
510 $(srcdir)/../config/gcc-plugin.m4 \
511 $(srcdir)/../config/mmap.m4 \
512 $(srcdir)/../config/no-executables.m4 \
513 $(srcdir)/../config/override.m4 \
514 $(srcdir)/../config/picflag.m4 \
515 $(srcdir)/../config/warnings.m4 \
516 $(srcdir)/acinclude.m4
518 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/aclocal.m4
519 cd $(srcdir) && $(AUTOCONF)
521 $(srcdir)/aclocal.m4: @MAINT@ $(aclocal_deps)
522 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
524 # Depending on config.h makes sure that config.status has been re-run
525 # if needed. This prevents problems with parallel builds, in case
526 # subdirectories need to run config.status also.
527 all-subdir check-subdir installcheck-subdir info-subdir \
528 install-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir \
529 etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
530 maintainer-clean-subdir: config.h
531 @subdirs='$(SUBDIRS)'; \
532 target=`echo $@ | sed -e 's/-subdir//'`; \
533 for dir in $$subdirs ; do \
534 cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
535 done
537 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir stamp-noasandir
538 $(CONFIGURED_OFILES): stamp-picdir stamp-noasandir
540 # Don't export variables to the environment, in order to not confuse
541 # configure.
542 .NOEXPORT:
544 # The dependencies in the remainder of this file are automatically
545 # generated by "make maint-deps". Manual edits will be lost.
547 ./_doprnt.$(objext): $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \
548 $(INCDIR)/safe-ctype.h
549 if [ x"$(PICFLAG)" != x ]; then \
550 $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \
551 else true; fi
552 if [ x"$(NOASANFLAG)" != x ]; then \
553 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/_doprnt.c -o noasan/$@; \
554 else true; fi
555 $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION)
557 ./alloca.$(objext): $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
558 $(INCDIR)/libiberty.h
559 if [ x"$(PICFLAG)" != x ]; then \
560 $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \
561 else true; fi
562 if [ x"$(NOASANFLAG)" != x ]; then \
563 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/alloca.c -o noasan/$@; \
564 else true; fi
565 $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION)
567 ./argv.$(objext): $(srcdir)/argv.c config.h $(INCDIR)/ansidecl.h \
568 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
569 if [ x"$(PICFLAG)" != x ]; then \
570 $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \
571 else true; fi
572 if [ x"$(NOASANFLAG)" != x ]; then \
573 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/argv.c -o noasan/$@; \
574 else true; fi
575 $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION)
577 ./asprintf.$(objext): $(srcdir)/asprintf.c config.h $(INCDIR)/ansidecl.h \
578 $(INCDIR)/libiberty.h
579 if [ x"$(PICFLAG)" != x ]; then \
580 $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \
581 else true; fi
582 if [ x"$(NOASANFLAG)" != x ]; then \
583 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/asprintf.c -o noasan/$@; \
584 else true; fi
585 $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION)
587 ./atexit.$(objext): $(srcdir)/atexit.c config.h
588 if [ x"$(PICFLAG)" != x ]; then \
589 $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \
590 else true; fi
591 if [ x"$(NOASANFLAG)" != x ]; then \
592 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/atexit.c -o noasan/$@; \
593 else true; fi
594 $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION)
596 ./basename.$(objext): $(srcdir)/basename.c config.h $(INCDIR)/ansidecl.h \
597 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
598 if [ x"$(PICFLAG)" != x ]; then \
599 $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \
600 else true; fi
601 if [ x"$(NOASANFLAG)" != x ]; then \
602 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/basename.c -o noasan/$@; \
603 else true; fi
604 $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION)
606 ./bcmp.$(objext): $(srcdir)/bcmp.c
607 if [ x"$(PICFLAG)" != x ]; then \
608 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \
609 else true; fi
610 if [ x"$(NOASANFLAG)" != x ]; then \
611 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcmp.c -o noasan/$@; \
612 else true; fi
613 $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION)
615 ./bcopy.$(objext): $(srcdir)/bcopy.c
616 if [ x"$(PICFLAG)" != x ]; then \
617 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \
618 else true; fi
619 if [ x"$(NOASANFLAG)" != x ]; then \
620 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcopy.c -o noasan/$@; \
621 else true; fi
622 $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION)
624 ./bsearch.$(objext): $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h
625 if [ x"$(PICFLAG)" != x ]; then \
626 $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \
627 else true; fi
628 if [ x"$(NOASANFLAG)" != x ]; then \
629 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bsearch.c -o noasan/$@; \
630 else true; fi
631 $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION)
633 ./bsearch_r.$(objext): $(srcdir)/bsearch_r.c config.h $(INCDIR)/ansidecl.h
634 if [ x"$(PICFLAG)" != x ]; then \
635 $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch_r.c -o pic/$@; \
636 else true; fi
637 if [ x"$(NOASANFLAG)" != x ]; then \
638 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bsearch_r.c -o noasan/$@; \
639 else true; fi
640 $(COMPILE.c) $(srcdir)/bsearch_r.c $(OUTPUT_OPTION)
642 ./bzero.$(objext): $(srcdir)/bzero.c
643 if [ x"$(PICFLAG)" != x ]; then \
644 $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \
645 else true; fi
646 if [ x"$(NOASANFLAG)" != x ]; then \
647 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bzero.c -o noasan/$@; \
648 else true; fi
649 $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION)
651 ./calloc.$(objext): $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
652 if [ x"$(PICFLAG)" != x ]; then \
653 $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \
654 else true; fi
655 if [ x"$(NOASANFLAG)" != x ]; then \
656 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/calloc.c -o noasan/$@; \
657 else true; fi
658 $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION)
660 ./choose-temp.$(objext): $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
661 $(INCDIR)/libiberty.h
662 if [ x"$(PICFLAG)" != x ]; then \
663 $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \
664 else true; fi
665 if [ x"$(NOASANFLAG)" != x ]; then \
666 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/choose-temp.c -o noasan/$@; \
667 else true; fi
668 $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION)
670 ./clock.$(objext): $(srcdir)/clock.c config.h
671 if [ x"$(PICFLAG)" != x ]; then \
672 $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \
673 else true; fi
674 if [ x"$(NOASANFLAG)" != x ]; then \
675 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/clock.c -o noasan/$@; \
676 else true; fi
677 $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION)
679 ./concat.$(objext): $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
680 $(INCDIR)/libiberty.h
681 if [ x"$(PICFLAG)" != x ]; then \
682 $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \
683 else true; fi
684 if [ x"$(NOASANFLAG)" != x ]; then \
685 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/concat.c -o noasan/$@; \
686 else true; fi
687 $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION)
689 ./copysign.$(objext): $(srcdir)/copysign.c $(INCDIR)/ansidecl.h
690 if [ x"$(PICFLAG)" != x ]; then \
691 $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \
692 else true; fi
693 if [ x"$(NOASANFLAG)" != x ]; then \
694 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/copysign.c -o noasan/$@; \
695 else true; fi
696 $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION)
698 ./cp-demangle.$(objext): $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
699 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
700 $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
701 if [ x"$(PICFLAG)" != x ]; then \
702 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \
703 else true; fi
704 if [ x"$(NOASANFLAG)" != x ]; then \
705 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demangle.c -o noasan/$@; \
706 else true; fi
707 $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION)
709 ./cp-demint.$(objext): $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
710 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
711 $(INCDIR)/libiberty.h
712 if [ x"$(PICFLAG)" != x ]; then \
713 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \
714 else true; fi
715 if [ x"$(NOASANFLAG)" != x ]; then \
716 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demint.c -o noasan/$@; \
717 else true; fi
718 $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION)
720 ./cplus-dem.$(objext): $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
721 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
722 $(INCDIR)/safe-ctype.h
723 if [ x"$(PICFLAG)" != x ]; then \
724 $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \
725 else true; fi
726 if [ x"$(NOASANFLAG)" != x ]; then \
727 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cplus-dem.c -o noasan/$@; \
728 else true; fi
729 $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION)
731 ./crc32.$(objext): $(srcdir)/crc32.c config.h $(INCDIR)/ansidecl.h \
732 $(INCDIR)/libiberty.h
733 if [ x"$(PICFLAG)" != x ]; then \
734 $(COMPILE.c) $(PICFLAG) $(srcdir)/crc32.c -o pic/$@; \
735 else true; fi
736 if [ x"$(NOASANFLAG)" != x ]; then \
737 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/crc32.c -o noasan/$@; \
738 else true; fi
739 $(COMPILE.c) $(srcdir)/crc32.c $(OUTPUT_OPTION)
741 ./d-demangle.$(objext): $(srcdir)/d-demangle.c config.h $(INCDIR)/ansidecl.h \
742 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
743 $(INCDIR)/safe-ctype.h
744 if [ x"$(PICFLAG)" != x ]; then \
745 $(COMPILE.c) $(PICFLAG) $(srcdir)/d-demangle.c -o pic/$@; \
746 else true; fi
747 if [ x"$(NOASANFLAG)" != x ]; then \
748 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/d-demangle.c -o noasan/$@; \
749 else true; fi
750 $(COMPILE.c) $(srcdir)/d-demangle.c $(OUTPUT_OPTION)
752 ./dwarfnames.$(objext): $(srcdir)/dwarfnames.c $(INCDIR)/dwarf2.def \
753 $(INCDIR)/dwarf2.h
754 if [ x"$(PICFLAG)" != x ]; then \
755 $(COMPILE.c) $(PICFLAG) $(srcdir)/dwarfnames.c -o pic/$@; \
756 else true; fi
757 if [ x"$(NOASANFLAG)" != x ]; then \
758 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dwarfnames.c -o noasan/$@; \
759 else true; fi
760 $(COMPILE.c) $(srcdir)/dwarfnames.c $(OUTPUT_OPTION)
762 ./dyn-string.$(objext): $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
763 $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
764 if [ x"$(PICFLAG)" != x ]; then \
765 $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \
766 else true; fi
767 if [ x"$(NOASANFLAG)" != x ]; then \
768 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dyn-string.c -o noasan/$@; \
769 else true; fi
770 $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION)
772 ./fdmatch.$(objext): $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \
773 $(INCDIR)/libiberty.h
774 if [ x"$(PICFLAG)" != x ]; then \
775 $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \
776 else true; fi
777 if [ x"$(NOASANFLAG)" != x ]; then \
778 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fdmatch.c -o noasan/$@; \
779 else true; fi
780 $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION)
782 ./ffs.$(objext): $(srcdir)/ffs.c
783 if [ x"$(PICFLAG)" != x ]; then \
784 $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \
785 else true; fi
786 if [ x"$(NOASANFLAG)" != x ]; then \
787 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/ffs.c -o noasan/$@; \
788 else true; fi
789 $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION)
791 ./fibheap.$(objext): $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
792 $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h
793 if [ x"$(PICFLAG)" != x ]; then \
794 $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \
795 else true; fi
796 if [ x"$(NOASANFLAG)" != x ]; then \
797 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fibheap.c -o noasan/$@; \
798 else true; fi
799 $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION)
801 ./filedescriptor.$(objext): $(srcdir)/filedescriptor.c config.h $(INCDIR)/ansidecl.h \
802 $(INCDIR)/libiberty.h
803 if [ x"$(PICFLAG)" != x ]; then \
804 $(COMPILE.c) $(PICFLAG) $(srcdir)/filedescriptor.c -o pic/$@; \
805 else true; fi
806 if [ x"$(NOASANFLAG)" != x ]; then \
807 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/filedescriptor.c -o noasan/$@; \
808 else true; fi
809 $(COMPILE.c) $(srcdir)/filedescriptor.c $(OUTPUT_OPTION)
812 ./filename_cmp.$(objext): $(srcdir)/filename_cmp.c config.h $(INCDIR)/ansidecl.h \
813 $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
814 $(INCDIR)/safe-ctype.h
815 if [ x"$(PICFLAG)" != x ]; then \
816 $(COMPILE.c) $(PICFLAG) $(srcdir)/filename_cmp.c -o pic/$@; \
817 else true; fi
818 if [ x"$(NOASANFLAG)" != x ]; then \
819 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/filename_cmp.c -o noasan/$@; \
820 else true; fi
821 $(COMPILE.c) $(srcdir)/filename_cmp.c $(OUTPUT_OPTION)
823 ./floatformat.$(objext): $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
824 $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
825 if [ x"$(PICFLAG)" != x ]; then \
826 $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \
827 else true; fi
828 if [ x"$(NOASANFLAG)" != x ]; then \
829 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/floatformat.c -o noasan/$@; \
830 else true; fi
831 $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION)
833 ./fnmatch.$(objext): $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
834 $(INCDIR)/safe-ctype.h
835 if [ x"$(PICFLAG)" != x ]; then \
836 $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \
837 else true; fi
838 if [ x"$(NOASANFLAG)" != x ]; then \
839 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fnmatch.c -o noasan/$@; \
840 else true; fi
841 $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION)
843 ./fopen_unlocked.$(objext): $(srcdir)/fopen_unlocked.c config.h \
844 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
845 if [ x"$(PICFLAG)" != x ]; then \
846 $(COMPILE.c) $(PICFLAG) $(srcdir)/fopen_unlocked.c -o pic/$@; \
847 else true; fi
848 if [ x"$(NOASANFLAG)" != x ]; then \
849 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fopen_unlocked.c -o noasan/$@; \
850 else true; fi
851 $(COMPILE.c) $(srcdir)/fopen_unlocked.c $(OUTPUT_OPTION)
853 ./getcwd.$(objext): $(srcdir)/getcwd.c config.h
854 if [ x"$(PICFLAG)" != x ]; then \
855 $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \
856 else true; fi
857 if [ x"$(NOASANFLAG)" != x ]; then \
858 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getcwd.c -o noasan/$@; \
859 else true; fi
860 $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION)
862 ./getopt.$(objext): $(srcdir)/getopt.c config.h $(INCDIR)/ansidecl.h \
863 $(INCDIR)/getopt.h
864 if [ x"$(PICFLAG)" != x ]; then \
865 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \
866 else true; fi
867 if [ x"$(NOASANFLAG)" != x ]; then \
868 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt.c -o noasan/$@; \
869 else true; fi
870 $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION)
872 ./getopt1.$(objext): $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h
873 if [ x"$(PICFLAG)" != x ]; then \
874 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \
875 else true; fi
876 if [ x"$(NOASANFLAG)" != x ]; then \
877 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt1.c -o noasan/$@; \
878 else true; fi
879 $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION)
881 ./getpagesize.$(objext): $(srcdir)/getpagesize.c config.h
882 if [ x"$(PICFLAG)" != x ]; then \
883 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \
884 else true; fi
885 if [ x"$(NOASANFLAG)" != x ]; then \
886 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpagesize.c -o noasan/$@; \
887 else true; fi
888 $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION)
890 ./getpwd.$(objext): $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
891 $(INCDIR)/libiberty.h
892 if [ x"$(PICFLAG)" != x ]; then \
893 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \
894 else true; fi
895 if [ x"$(NOASANFLAG)" != x ]; then \
896 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpwd.c -o noasan/$@; \
897 else true; fi
898 $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION)
900 ./getruntime.$(objext): $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
901 $(INCDIR)/libiberty.h
902 if [ x"$(PICFLAG)" != x ]; then \
903 $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \
904 else true; fi
905 if [ x"$(NOASANFLAG)" != x ]; then \
906 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getruntime.c -o noasan/$@; \
907 else true; fi
908 $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION)
910 ./gettimeofday.$(objext): $(srcdir)/gettimeofday.c config.h $(INCDIR)/ansidecl.h \
911 $(INCDIR)/libiberty.h
912 if [ x"$(PICFLAG)" != x ]; then \
913 $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \
914 else true; fi
915 if [ x"$(NOASANFLAG)" != x ]; then \
916 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/gettimeofday.c -o noasan/$@; \
917 else true; fi
918 $(COMPILE.c) $(srcdir)/gettimeofday.c $(OUTPUT_OPTION)
920 ./hashtab.$(objext): $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
921 $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
922 if [ x"$(PICFLAG)" != x ]; then \
923 $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \
924 else true; fi
925 if [ x"$(NOASANFLAG)" != x ]; then \
926 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hashtab.c -o noasan/$@; \
927 else true; fi
928 $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION)
930 ./hex.$(objext): $(srcdir)/hex.c config.h $(INCDIR)/ansidecl.h \
931 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
932 if [ x"$(PICFLAG)" != x ]; then \
933 $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \
934 else true; fi
935 if [ x"$(NOASANFLAG)" != x ]; then \
936 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hex.c -o noasan/$@; \
937 else true; fi
938 $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION)
940 ./index.$(objext): $(srcdir)/index.c
941 if [ x"$(PICFLAG)" != x ]; then \
942 $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \
943 else true; fi
944 if [ x"$(NOASANFLAG)" != x ]; then \
945 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/index.c -o noasan/$@; \
946 else true; fi
947 $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION)
949 ./insque.$(objext): $(srcdir)/insque.c
950 if [ x"$(PICFLAG)" != x ]; then \
951 $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \
952 else true; fi
953 if [ x"$(NOASANFLAG)" != x ]; then \
954 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/insque.c -o noasan/$@; \
955 else true; fi
956 $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION)
958 ./lbasename.$(objext): $(srcdir)/lbasename.c config.h $(INCDIR)/ansidecl.h \
959 $(INCDIR)/filenames.h $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h \
960 $(INCDIR)/safe-ctype.h
961 if [ x"$(PICFLAG)" != x ]; then \
962 $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \
963 else true; fi
964 if [ x"$(NOASANFLAG)" != x ]; then \
965 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lbasename.c -o noasan/$@; \
966 else true; fi
967 $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION)
969 ./lrealpath.$(objext): $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
970 $(INCDIR)/libiberty.h
971 if [ x"$(PICFLAG)" != x ]; then \
972 $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \
973 else true; fi
974 if [ x"$(NOASANFLAG)" != x ]; then \
975 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lrealpath.c -o noasan/$@; \
976 else true; fi
977 $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION)
979 ./make-relative-prefix.$(objext): $(srcdir)/make-relative-prefix.c config.h \
980 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
981 if [ x"$(PICFLAG)" != x ]; then \
982 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \
983 else true; fi
984 if [ x"$(NOASANFLAG)" != x ]; then \
985 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-relative-prefix.c -o noasan/$@; \
986 else true; fi
987 $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION)
989 ./make-temp-file.$(objext): $(srcdir)/make-temp-file.c config.h \
990 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
991 if [ x"$(PICFLAG)" != x ]; then \
992 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \
993 else true; fi
994 if [ x"$(NOASANFLAG)" != x ]; then \
995 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-temp-file.c -o noasan/$@; \
996 else true; fi
997 $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION)
999 ./md5.$(objext): $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
1000 if [ x"$(PICFLAG)" != x ]; then \
1001 $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \
1002 else true; fi
1003 if [ x"$(NOASANFLAG)" != x ]; then \
1004 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/md5.c -o noasan/$@; \
1005 else true; fi
1006 $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION)
1008 ./memchr.$(objext): $(srcdir)/memchr.c $(INCDIR)/ansidecl.h
1009 if [ x"$(PICFLAG)" != x ]; then \
1010 $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \
1011 else true; fi
1012 if [ x"$(NOASANFLAG)" != x ]; then \
1013 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memchr.c -o noasan/$@; \
1014 else true; fi
1015 $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION)
1017 ./memcmp.$(objext): $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h
1018 if [ x"$(PICFLAG)" != x ]; then \
1019 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \
1020 else true; fi
1021 if [ x"$(NOASANFLAG)" != x ]; then \
1022 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcmp.c -o noasan/$@; \
1023 else true; fi
1024 $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION)
1026 ./memcpy.$(objext): $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h
1027 if [ x"$(PICFLAG)" != x ]; then \
1028 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \
1029 else true; fi
1030 if [ x"$(NOASANFLAG)" != x ]; then \
1031 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcpy.c -o noasan/$@; \
1032 else true; fi
1033 $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION)
1035 ./memmem.$(objext): $(srcdir)/memmem.c config.h
1036 if [ x"$(PICFLAG)" != x ]; then \
1037 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmem.c -o pic/$@; \
1038 else true; fi
1039 if [ x"$(NOASANFLAG)" != x ]; then \
1040 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmem.c -o noasan/$@; \
1041 else true; fi
1042 $(COMPILE.c) $(srcdir)/memmem.c $(OUTPUT_OPTION)
1044 ./memmove.$(objext): $(srcdir)/memmove.c $(INCDIR)/ansidecl.h
1045 if [ x"$(PICFLAG)" != x ]; then \
1046 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \
1047 else true; fi
1048 if [ x"$(NOASANFLAG)" != x ]; then \
1049 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmove.c -o noasan/$@; \
1050 else true; fi
1051 $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION)
1053 ./mempcpy.$(objext): $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h
1054 if [ x"$(PICFLAG)" != x ]; then \
1055 $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \
1056 else true; fi
1057 if [ x"$(NOASANFLAG)" != x ]; then \
1058 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mempcpy.c -o noasan/$@; \
1059 else true; fi
1060 $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION)
1062 ./memset.$(objext): $(srcdir)/memset.c $(INCDIR)/ansidecl.h
1063 if [ x"$(PICFLAG)" != x ]; then \
1064 $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \
1065 else true; fi
1066 if [ x"$(NOASANFLAG)" != x ]; then \
1067 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memset.c -o noasan/$@; \
1068 else true; fi
1069 $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION)
1071 ./mkstemps.$(objext): $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h
1072 if [ x"$(PICFLAG)" != x ]; then \
1073 $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \
1074 else true; fi
1075 if [ x"$(NOASANFLAG)" != x ]; then \
1076 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mkstemps.c -o noasan/$@; \
1077 else true; fi
1078 $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION)
1080 ./msdos.$(objext): $(srcdir)/msdos.c
1081 if [ x"$(PICFLAG)" != x ]; then \
1082 $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \
1083 else true; fi
1084 if [ x"$(NOASANFLAG)" != x ]; then \
1085 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/msdos.c -o noasan/$@; \
1086 else true; fi
1087 $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION)
1089 ./objalloc.$(objext): $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \
1090 $(INCDIR)/objalloc.h
1091 if [ x"$(PICFLAG)" != x ]; then \
1092 $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \
1093 else true; fi
1094 if [ x"$(NOASANFLAG)" != x ]; then \
1095 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/objalloc.c -o noasan/$@; \
1096 else true; fi
1097 $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION)
1099 ./obstack.$(objext): $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h
1100 if [ x"$(PICFLAG)" != x ]; then \
1101 $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \
1102 else true; fi
1103 if [ x"$(NOASANFLAG)" != x ]; then \
1104 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/obstack.c -o noasan/$@; \
1105 else true; fi
1106 $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION)
1108 ./partition.$(objext): $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \
1109 $(INCDIR)/libiberty.h $(INCDIR)/partition.h
1110 if [ x"$(PICFLAG)" != x ]; then \
1111 $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \
1112 else true; fi
1113 if [ x"$(NOASANFLAG)" != x ]; then \
1114 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/partition.c -o noasan/$@; \
1115 else true; fi
1116 $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION)
1118 ./pex-common.$(objext): $(srcdir)/pex-common.c config.h $(INCDIR)/ansidecl.h \
1119 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1120 if [ x"$(PICFLAG)" != x ]; then \
1121 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-common.c -o pic/$@; \
1122 else true; fi
1123 if [ x"$(NOASANFLAG)" != x ]; then \
1124 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-common.c -o noasan/$@; \
1125 else true; fi
1126 $(COMPILE.c) $(srcdir)/pex-common.c $(OUTPUT_OPTION)
1128 ./pex-djgpp.$(objext): $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \
1129 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1130 if [ x"$(PICFLAG)" != x ]; then \
1131 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \
1132 else true; fi
1133 if [ x"$(NOASANFLAG)" != x ]; then \
1134 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-djgpp.c -o noasan/$@; \
1135 else true; fi
1136 $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION)
1138 ./pex-msdos.$(objext): $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \
1139 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \
1140 $(INCDIR)/safe-ctype.h
1141 if [ x"$(PICFLAG)" != x ]; then \
1142 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \
1143 else true; fi
1144 if [ x"$(NOASANFLAG)" != x ]; then \
1145 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-msdos.c -o noasan/$@; \
1146 else true; fi
1147 $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION)
1149 ./pex-one.$(objext): $(srcdir)/pex-one.c config.h $(INCDIR)/ansidecl.h \
1150 $(INCDIR)/libiberty.h
1151 if [ x"$(PICFLAG)" != x ]; then \
1152 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-one.c -o pic/$@; \
1153 else true; fi
1154 if [ x"$(NOASANFLAG)" != x ]; then \
1155 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-one.c -o noasan/$@; \
1156 else true; fi
1157 $(COMPILE.c) $(srcdir)/pex-one.c $(OUTPUT_OPTION)
1159 ./pex-unix.$(objext): $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \
1160 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1161 if [ x"$(PICFLAG)" != x ]; then \
1162 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \
1163 else true; fi
1164 if [ x"$(NOASANFLAG)" != x ]; then \
1165 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-unix.c -o noasan/$@; \
1166 else true; fi
1167 $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION)
1169 ./pex-win32.$(objext): $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \
1170 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1171 if [ x"$(PICFLAG)" != x ]; then \
1172 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \
1173 else true; fi
1174 if [ x"$(NOASANFLAG)" != x ]; then \
1175 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-win32.c -o noasan/$@; \
1176 else true; fi
1177 $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION)
1179 ./pexecute.$(objext): $(srcdir)/pexecute.c config.h $(INCDIR)/ansidecl.h \
1180 $(INCDIR)/libiberty.h
1181 if [ x"$(PICFLAG)" != x ]; then \
1182 $(COMPILE.c) $(PICFLAG) $(srcdir)/pexecute.c -o pic/$@; \
1183 else true; fi
1184 if [ x"$(NOASANFLAG)" != x ]; then \
1185 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pexecute.c -o noasan/$@; \
1186 else true; fi
1187 $(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION)
1189 ./physmem.$(objext): $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
1190 $(INCDIR)/libiberty.h
1191 if [ x"$(PICFLAG)" != x ]; then \
1192 $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \
1193 else true; fi
1194 if [ x"$(NOASANFLAG)" != x ]; then \
1195 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/physmem.c -o noasan/$@; \
1196 else true; fi
1197 $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION)
1199 ./putenv.$(objext): $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h
1200 if [ x"$(PICFLAG)" != x ]; then \
1201 $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \
1202 else true; fi
1203 if [ x"$(NOASANFLAG)" != x ]; then \
1204 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/putenv.c -o noasan/$@; \
1205 else true; fi
1206 $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION)
1208 ./random.$(objext): $(srcdir)/random.c $(INCDIR)/ansidecl.h
1209 if [ x"$(PICFLAG)" != x ]; then \
1210 $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \
1211 else true; fi
1212 if [ x"$(NOASANFLAG)" != x ]; then \
1213 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/random.c -o noasan/$@; \
1214 else true; fi
1215 $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION)
1217 ./regex.$(objext): $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h \
1218 $(INCDIR)/xregex.h $(INCDIR)/xregex2.h
1219 if [ x"$(PICFLAG)" != x ]; then \
1220 $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \
1221 else true; fi
1222 if [ x"$(NOASANFLAG)" != x ]; then \
1223 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/regex.c -o noasan/$@; \
1224 else true; fi
1225 $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION)
1227 ./rename.$(objext): $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h
1228 if [ x"$(PICFLAG)" != x ]; then \
1229 $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \
1230 else true; fi
1231 if [ x"$(NOASANFLAG)" != x ]; then \
1232 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rename.c -o noasan/$@; \
1233 else true; fi
1234 $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION)
1236 ./rindex.$(objext): $(srcdir)/rindex.c
1237 if [ x"$(PICFLAG)" != x ]; then \
1238 $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \
1239 else true; fi
1240 if [ x"$(NOASANFLAG)" != x ]; then \
1241 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rindex.c -o noasan/$@; \
1242 else true; fi
1243 $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION)
1245 ./rust-demangle.$(objext): $(srcdir)/rust-demangle.c config.h \
1246 $(INCDIR)/ansidecl.h $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
1247 $(INCDIR)/safe-ctype.h
1248 if [ x"$(PICFLAG)" != x ]; then \
1249 $(COMPILE.c) $(PICFLAG) $(srcdir)/rust-demangle.c -o pic/$@; \
1250 else true; fi
1251 if [ x"$(NOASANFLAG)" != x ]; then \
1252 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rust-demangle.c -o noasan/$@; \
1253 else true; fi
1254 $(COMPILE.c) $(srcdir)/rust-demangle.c $(OUTPUT_OPTION)
1256 ./safe-ctype.$(objext): $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
1257 $(INCDIR)/safe-ctype.h
1258 if [ x"$(PICFLAG)" != x ]; then \
1259 $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \
1260 else true; fi
1261 if [ x"$(NOASANFLAG)" != x ]; then \
1262 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/safe-ctype.c -o noasan/$@; \
1263 else true; fi
1264 $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION)
1266 ./setenv.$(objext): $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h
1267 if [ x"$(PICFLAG)" != x ]; then \
1268 $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \
1269 else true; fi
1270 if [ x"$(NOASANFLAG)" != x ]; then \
1271 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setenv.c -o noasan/$@; \
1272 else true; fi
1273 $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION)
1275 ./setproctitle.$(objext): $(srcdir)/setproctitle.c config.h $(INCDIR)/ansidecl.h
1276 if [ x"$(PICFLAG)" != x ]; then \
1277 $(COMPILE.c) $(PICFLAG) $(srcdir)/setproctitle.c -o pic/$@; \
1278 else true; fi
1279 if [ x"$(NOASANFLAG)" != x ]; then \
1280 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setproctitle.c -o noasan/$@; \
1281 else true; fi
1282 $(COMPILE.c) $(srcdir)/setproctitle.c $(OUTPUT_OPTION)
1284 ./sha1.$(objext): $(srcdir)/sha1.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/sha1.h
1285 if [ x"$(PICFLAG)" != x ]; then \
1286 $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \
1287 else true; fi
1288 if [ x"$(NOASANFLAG)" != x ]; then \
1289 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sha1.c -o noasan/$@; \
1290 else true; fi
1291 $(COMPILE.c) $(srcdir)/sha1.c $(OUTPUT_OPTION)
1293 ./sigsetmask.$(objext): $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
1294 if [ x"$(PICFLAG)" != x ]; then \
1295 $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \
1296 else true; fi
1297 if [ x"$(NOASANFLAG)" != x ]; then \
1298 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sigsetmask.c -o noasan/$@; \
1299 else true; fi
1300 $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
1302 ./simple-object-coff.$(objext): $(srcdir)/simple-object-coff.c config.h \
1303 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1304 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1305 if [ x"$(PICFLAG)" != x ]; then \
1306 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-coff.c -o pic/$@; \
1307 else true; fi
1308 if [ x"$(NOASANFLAG)" != x ]; then \
1309 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-coff.c -o noasan/$@; \
1310 else true; fi
1311 $(COMPILE.c) $(srcdir)/simple-object-coff.c $(OUTPUT_OPTION)
1313 ./simple-object-elf.$(objext): $(srcdir)/simple-object-elf.c config.h \
1314 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1315 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1316 if [ x"$(PICFLAG)" != x ]; then \
1317 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-elf.c -o pic/$@; \
1318 else true; fi
1319 if [ x"$(NOASANFLAG)" != x ]; then \
1320 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-elf.c -o noasan/$@; \
1321 else true; fi
1322 $(COMPILE.c) $(srcdir)/simple-object-elf.c $(OUTPUT_OPTION)
1324 ./simple-object-mach-o.$(objext): $(srcdir)/simple-object-mach-o.c config.h \
1325 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1326 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1327 if [ x"$(PICFLAG)" != x ]; then \
1328 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-mach-o.c -o pic/$@; \
1329 else true; fi
1330 if [ x"$(NOASANFLAG)" != x ]; then \
1331 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-mach-o.c -o noasan/$@; \
1332 else true; fi
1333 $(COMPILE.c) $(srcdir)/simple-object-mach-o.c $(OUTPUT_OPTION)
1335 ./simple-object-xcoff.$(objext): $(srcdir)/simple-object-xcoff.c config.h \
1336 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1337 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1338 if [ x"$(PICFLAG)" != x ]; then \
1339 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-xcoff.c -o pic/$@; \
1340 else true; fi
1341 if [ x"$(NOASANFLAG)" != x ]; then \
1342 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-xcoff.c -o noasan/$@; \
1343 else true; fi
1344 $(COMPILE.c) $(srcdir)/simple-object-xcoff.c $(OUTPUT_OPTION)
1346 ./simple-object.$(objext): $(srcdir)/simple-object.c config.h \
1347 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1348 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1349 if [ x"$(PICFLAG)" != x ]; then \
1350 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object.c -o pic/$@; \
1351 else true; fi
1352 if [ x"$(NOASANFLAG)" != x ]; then \
1353 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object.c -o noasan/$@; \
1354 else true; fi
1355 $(COMPILE.c) $(srcdir)/simple-object.c $(OUTPUT_OPTION)
1357 ./snprintf.$(objext): $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
1358 if [ x"$(PICFLAG)" != x ]; then \
1359 $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
1360 else true; fi
1361 if [ x"$(NOASANFLAG)" != x ]; then \
1362 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/snprintf.c -o noasan/$@; \
1363 else true; fi
1364 $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
1366 ./sort.$(objext): $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h \
1367 $(INCDIR)/libiberty.h $(INCDIR)/sort.h
1368 if [ x"$(PICFLAG)" != x ]; then \
1369 $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \
1370 else true; fi
1371 if [ x"$(NOASANFLAG)" != x ]; then \
1372 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sort.c -o noasan/$@; \
1373 else true; fi
1374 $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION)
1376 ./spaces.$(objext): $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \
1377 $(INCDIR)/libiberty.h
1378 if [ x"$(PICFLAG)" != x ]; then \
1379 $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \
1380 else true; fi
1381 if [ x"$(NOASANFLAG)" != x ]; then \
1382 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/spaces.c -o noasan/$@; \
1383 else true; fi
1384 $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION)
1386 ./splay-tree.$(objext): $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
1387 $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
1388 if [ x"$(PICFLAG)" != x ]; then \
1389 $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \
1390 else true; fi
1391 if [ x"$(NOASANFLAG)" != x ]; then \
1392 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/splay-tree.c -o noasan/$@; \
1393 else true; fi
1394 $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
1396 ./stack-limit.$(objext): $(srcdir)/stack-limit.c config.h $(INCDIR)/ansidecl.h
1397 if [ x"$(PICFLAG)" != x ]; then \
1398 $(COMPILE.c) $(PICFLAG) $(srcdir)/stack-limit.c -o pic/$@; \
1399 else true; fi
1400 if [ x"$(NOASANFLAG)" != x ]; then \
1401 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stack-limit.c -o noasan/$@; \
1402 else true; fi
1403 $(COMPILE.c) $(srcdir)/stack-limit.c $(OUTPUT_OPTION)
1405 ./stpcpy.$(objext): $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
1406 if [ x"$(PICFLAG)" != x ]; then \
1407 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
1408 else true; fi
1409 if [ x"$(NOASANFLAG)" != x ]; then \
1410 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpcpy.c -o noasan/$@; \
1411 else true; fi
1412 $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION)
1414 ./stpncpy.$(objext): $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
1415 if [ x"$(PICFLAG)" != x ]; then \
1416 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \
1417 else true; fi
1418 if [ x"$(NOASANFLAG)" != x ]; then \
1419 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpncpy.c -o noasan/$@; \
1420 else true; fi
1421 $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
1423 ./strcasecmp.$(objext): $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
1424 if [ x"$(PICFLAG)" != x ]; then \
1425 $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \
1426 else true; fi
1427 if [ x"$(NOASANFLAG)" != x ]; then \
1428 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strcasecmp.c -o noasan/$@; \
1429 else true; fi
1430 $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION)
1432 ./strchr.$(objext): $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
1433 if [ x"$(PICFLAG)" != x ]; then \
1434 $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \
1435 else true; fi
1436 if [ x"$(NOASANFLAG)" != x ]; then \
1437 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strchr.c -o noasan/$@; \
1438 else true; fi
1439 $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION)
1441 ./strdup.$(objext): $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
1442 if [ x"$(PICFLAG)" != x ]; then \
1443 $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \
1444 else true; fi
1445 if [ x"$(NOASANFLAG)" != x ]; then \
1446 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strdup.c -o noasan/$@; \
1447 else true; fi
1448 $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION)
1450 ./strerror.$(objext): $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
1451 $(INCDIR)/libiberty.h
1452 if [ x"$(PICFLAG)" != x ]; then \
1453 $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \
1454 else true; fi
1455 if [ x"$(NOASANFLAG)" != x ]; then \
1456 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strerror.c -o noasan/$@; \
1457 else true; fi
1458 $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION)
1460 ./strncasecmp.$(objext): $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
1461 if [ x"$(PICFLAG)" != x ]; then \
1462 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \
1463 else true; fi
1464 if [ x"$(NOASANFLAG)" != x ]; then \
1465 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncasecmp.c -o noasan/$@; \
1466 else true; fi
1467 $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION)
1469 ./strncmp.$(objext): $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
1470 if [ x"$(PICFLAG)" != x ]; then \
1471 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \
1472 else true; fi
1473 if [ x"$(NOASANFLAG)" != x ]; then \
1474 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncmp.c -o noasan/$@; \
1475 else true; fi
1476 $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION)
1478 ./strndup.$(objext): $(srcdir)/strndup.c $(INCDIR)/ansidecl.h
1479 if [ x"$(PICFLAG)" != x ]; then \
1480 $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \
1481 else true; fi
1482 if [ x"$(NOASANFLAG)" != x ]; then \
1483 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strndup.c -o noasan/$@; \
1484 else true; fi
1485 $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION)
1487 ./strnlen.$(objext): $(srcdir)/strnlen.c config.h
1488 if [ x"$(PICFLAG)" != x ]; then \
1489 $(COMPILE.c) $(PICFLAG) $(srcdir)/strnlen.c -o pic/$@; \
1490 else true; fi
1491 if [ x"$(NOASANFLAG)" != x ]; then \
1492 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strnlen.c -o noasan/$@; \
1493 else true; fi
1494 $(COMPILE.c) $(srcdir)/strnlen.c $(OUTPUT_OPTION)
1496 ./strrchr.$(objext): $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
1497 if [ x"$(PICFLAG)" != x ]; then \
1498 $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \
1499 else true; fi
1500 if [ x"$(NOASANFLAG)" != x ]; then \
1501 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strrchr.c -o noasan/$@; \
1502 else true; fi
1503 $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION)
1505 ./strsignal.$(objext): $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
1506 $(INCDIR)/libiberty.h
1507 if [ x"$(PICFLAG)" != x ]; then \
1508 $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \
1509 else true; fi
1510 if [ x"$(NOASANFLAG)" != x ]; then \
1511 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strsignal.c -o noasan/$@; \
1512 else true; fi
1513 $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION)
1515 ./strstr.$(objext): $(srcdir)/strstr.c
1516 if [ x"$(PICFLAG)" != x ]; then \
1517 $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \
1518 else true; fi
1519 if [ x"$(NOASANFLAG)" != x ]; then \
1520 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strstr.c -o noasan/$@; \
1521 else true; fi
1522 $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION)
1524 ./strtod.$(objext): $(srcdir)/strtod.c $(INCDIR)/ansidecl.h \
1525 $(INCDIR)/safe-ctype.h
1526 if [ x"$(PICFLAG)" != x ]; then \
1527 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \
1528 else true; fi
1529 if [ x"$(NOASANFLAG)" != x ]; then \
1530 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtod.c -o noasan/$@; \
1531 else true; fi
1532 $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION)
1534 ./strtol.$(objext): $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
1535 if [ x"$(PICFLAG)" != x ]; then \
1536 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \
1537 else true; fi
1538 if [ x"$(NOASANFLAG)" != x ]; then \
1539 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtol.c -o noasan/$@; \
1540 else true; fi
1541 $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION)
1543 ./strtoll.$(objext): $(srcdir)/strtoll.c config.h $(INCDIR)/safe-ctype.h
1544 if [ x"$(PICFLAG)" != x ]; then \
1545 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoll.c -o pic/$@; \
1546 else true; fi
1547 if [ x"$(NOASANFLAG)" != x ]; then \
1548 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoll.c -o noasan/$@; \
1549 else true; fi
1550 $(COMPILE.c) $(srcdir)/strtoll.c $(OUTPUT_OPTION)
1552 ./strtoul.$(objext): $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
1553 $(INCDIR)/safe-ctype.h
1554 if [ x"$(PICFLAG)" != x ]; then \
1555 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \
1556 else true; fi
1557 if [ x"$(NOASANFLAG)" != x ]; then \
1558 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoul.c -o noasan/$@; \
1559 else true; fi
1560 $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION)
1562 ./strtoull.$(objext): $(srcdir)/strtoull.c config.h $(INCDIR)/ansidecl.h \
1563 $(INCDIR)/safe-ctype.h
1564 if [ x"$(PICFLAG)" != x ]; then \
1565 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoull.c -o pic/$@; \
1566 else true; fi
1567 if [ x"$(NOASANFLAG)" != x ]; then \
1568 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoull.c -o noasan/$@; \
1569 else true; fi
1570 $(COMPILE.c) $(srcdir)/strtoull.c $(OUTPUT_OPTION)
1572 ./strverscmp.$(objext): $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h \
1573 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
1574 if [ x"$(PICFLAG)" != x ]; then \
1575 $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \
1576 else true; fi
1577 if [ x"$(NOASANFLAG)" != x ]; then \
1578 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strverscmp.c -o noasan/$@; \
1579 else true; fi
1580 $(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION)
1582 ./timeval-utils.$(objext): $(srcdir)/timeval-utils.c config.h \
1583 $(INCDIR)/timeval-utils.h
1584 if [ x"$(PICFLAG)" != x ]; then \
1585 $(COMPILE.c) $(PICFLAG) $(srcdir)/timeval-utils.c -o pic/$@; \
1586 else true; fi
1587 if [ x"$(NOASANFLAG)" != x ]; then \
1588 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/timeval-utils.c -o noasan/$@; \
1589 else true; fi
1590 $(COMPILE.c) $(srcdir)/timeval-utils.c $(OUTPUT_OPTION)
1592 ./tmpnam.$(objext): $(srcdir)/tmpnam.c
1593 if [ x"$(PICFLAG)" != x ]; then \
1594 $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \
1595 else true; fi
1596 if [ x"$(NOASANFLAG)" != x ]; then \
1597 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/tmpnam.c -o noasan/$@; \
1598 else true; fi
1599 $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION)
1601 ./unlink-if-ordinary.$(objext): $(srcdir)/unlink-if-ordinary.c config.h \
1602 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1603 if [ x"$(PICFLAG)" != x ]; then \
1604 $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \
1605 else true; fi
1606 if [ x"$(NOASANFLAG)" != x ]; then \
1607 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/unlink-if-ordinary.c -o noasan/$@; \
1608 else true; fi
1609 $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION)
1611 ./vasprintf.$(objext): $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
1612 $(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h
1613 if [ x"$(PICFLAG)" != x ]; then \
1614 $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \
1615 else true; fi
1616 if [ x"$(NOASANFLAG)" != x ]; then \
1617 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vasprintf.c -o noasan/$@; \
1618 else true; fi
1619 $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION)
1621 ./vfork.$(objext): $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
1622 if [ x"$(PICFLAG)" != x ]; then \
1623 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \
1624 else true; fi
1625 if [ x"$(NOASANFLAG)" != x ]; then \
1626 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfork.c -o noasan/$@; \
1627 else true; fi
1628 $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION)
1630 ./vfprintf.$(objext): $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
1631 if [ x"$(PICFLAG)" != x ]; then \
1632 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \
1633 else true; fi
1634 if [ x"$(NOASANFLAG)" != x ]; then \
1635 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfprintf.c -o noasan/$@; \
1636 else true; fi
1637 $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION)
1639 ./vprintf-support.$(objext): $(srcdir)/vprintf-support.c config.h \
1640 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1641 if [ x"$(PICFLAG)" != x ]; then \
1642 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf-support.c -o pic/$@; \
1643 else true; fi
1644 if [ x"$(NOASANFLAG)" != x ]; then \
1645 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf-support.c -o noasan/$@; \
1646 else true; fi
1647 $(COMPILE.c) $(srcdir)/vprintf-support.c $(OUTPUT_OPTION)
1649 ./vprintf.$(objext): $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
1650 if [ x"$(PICFLAG)" != x ]; then \
1651 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \
1652 else true; fi
1653 if [ x"$(NOASANFLAG)" != x ]; then \
1654 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf.c -o noasan/$@; \
1655 else true; fi
1656 $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION)
1658 ./vsnprintf.$(objext): $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
1659 $(INCDIR)/libiberty.h
1660 if [ x"$(PICFLAG)" != x ]; then \
1661 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \
1662 else true; fi
1663 if [ x"$(NOASANFLAG)" != x ]; then \
1664 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsnprintf.c -o noasan/$@; \
1665 else true; fi
1666 $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION)
1668 ./vsprintf.$(objext): $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
1669 if [ x"$(PICFLAG)" != x ]; then \
1670 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \
1671 else true; fi
1672 if [ x"$(NOASANFLAG)" != x ]; then \
1673 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsprintf.c -o noasan/$@; \
1674 else true; fi
1675 $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION)
1677 ./waitpid.$(objext): $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h
1678 if [ x"$(PICFLAG)" != x ]; then \
1679 $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \
1680 else true; fi
1681 if [ x"$(NOASANFLAG)" != x ]; then \
1682 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/waitpid.c -o noasan/$@; \
1683 else true; fi
1684 $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION)
1686 ./xasprintf.$(objext): $(srcdir)/xasprintf.c config.h $(INCDIR)/ansidecl.h \
1687 $(INCDIR)/libiberty.h
1688 if [ x"$(PICFLAG)" != x ]; then \
1689 $(COMPILE.c) $(PICFLAG) $(srcdir)/xasprintf.c -o pic/$@; \
1690 else true; fi
1691 if [ x"$(NOASANFLAG)" != x ]; then \
1692 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xasprintf.c -o noasan/$@; \
1693 else true; fi
1694 $(COMPILE.c) $(srcdir)/xasprintf.c $(OUTPUT_OPTION)
1696 ./xatexit.$(objext): $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \
1697 $(INCDIR)/libiberty.h
1698 if [ x"$(PICFLAG)" != x ]; then \
1699 $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \
1700 else true; fi
1701 if [ x"$(NOASANFLAG)" != x ]; then \
1702 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xatexit.c -o noasan/$@; \
1703 else true; fi
1704 $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION)
1706 ./xexit.$(objext): $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h \
1707 $(INCDIR)/libiberty.h
1708 if [ x"$(PICFLAG)" != x ]; then \
1709 $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \
1710 else true; fi
1711 if [ x"$(NOASANFLAG)" != x ]; then \
1712 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xexit.c -o noasan/$@; \
1713 else true; fi
1714 $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION)
1716 ./xmalloc.$(objext): $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
1717 $(INCDIR)/libiberty.h
1718 if [ x"$(PICFLAG)" != x ]; then \
1719 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \
1720 else true; fi
1721 if [ x"$(NOASANFLAG)" != x ]; then \
1722 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmalloc.c -o noasan/$@; \
1723 else true; fi
1724 $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION)
1726 ./xmemdup.$(objext): $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
1727 $(INCDIR)/libiberty.h
1728 if [ x"$(PICFLAG)" != x ]; then \
1729 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \
1730 else true; fi
1731 if [ x"$(NOASANFLAG)" != x ]; then \
1732 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmemdup.c -o noasan/$@; \
1733 else true; fi
1734 $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION)
1736 ./xstrdup.$(objext): $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
1737 $(INCDIR)/libiberty.h
1738 if [ x"$(PICFLAG)" != x ]; then \
1739 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \
1740 else true; fi
1741 if [ x"$(NOASANFLAG)" != x ]; then \
1742 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrdup.c -o noasan/$@; \
1743 else true; fi
1744 $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION)
1746 ./xstrerror.$(objext): $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
1747 $(INCDIR)/libiberty.h
1748 if [ x"$(PICFLAG)" != x ]; then \
1749 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \
1750 else true; fi
1751 if [ x"$(NOASANFLAG)" != x ]; then \
1752 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrerror.c -o noasan/$@; \
1753 else true; fi
1754 $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION)
1756 ./xstrndup.$(objext): $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \
1757 $(INCDIR)/libiberty.h
1758 if [ x"$(PICFLAG)" != x ]; then \
1759 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \
1760 else true; fi
1761 if [ x"$(NOASANFLAG)" != x ]; then \
1762 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrndup.c -o noasan/$@; \
1763 else true; fi
1764 $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION)
1766 ./xvasprintf.$(objext): $(srcdir)/xvasprintf.c config.h $(INCDIR)/ansidecl.h \
1767 $(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h
1768 if [ x"$(PICFLAG)" != x ]; then \
1769 $(COMPILE.c) $(PICFLAG) $(srcdir)/xvasprintf.c -o pic/$@; \
1770 else true; fi
1771 if [ x"$(NOASANFLAG)" != x ]; then \
1772 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xvasprintf.c -o noasan/$@; \
1773 else true; fi
1774 $(COMPILE.c) $(srcdir)/xvasprintf.c $(OUTPUT_OPTION)