hppa: Fix typo in PA 2.0 trampoline template
[official-gcc.git] / libiberty / Makefile.in
blobf9fbba23e2c81793bb7271f069b663b52813e812
1 # Makefile for the libiberty library.
2 # Originally written by K. Richard Pixley <rich@cygnus.com>.
4 # Copyright (C) 1990-2023 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@
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/no-executables.m4 \
512 $(srcdir)/../config/override.m4 \
513 $(srcdir)/../config/picflag.m4 \
514 $(srcdir)/../config/warnings.m4 \
515 $(srcdir)/acinclude.m4
517 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/aclocal.m4
518 cd $(srcdir) && $(AUTOCONF)
520 $(srcdir)/aclocal.m4: @MAINT@ $(aclocal_deps)
521 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
523 # Depending on config.h makes sure that config.status has been re-run
524 # if needed. This prevents problems with parallel builds, in case
525 # subdirectories need to run config.status also.
526 all-subdir check-subdir installcheck-subdir info-subdir \
527 install-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir \
528 etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
529 maintainer-clean-subdir: config.h
530 @subdirs='$(SUBDIRS)'; \
531 target=`echo $@ | sed -e 's/-subdir//'`; \
532 for dir in $$subdirs ; do \
533 cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
534 done
536 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir stamp-noasandir
537 $(CONFIGURED_OFILES): stamp-picdir stamp-noasandir
539 # Don't export variables to the environment, in order to not confuse
540 # configure.
541 .NOEXPORT:
543 # The dependencies in the remainder of this file are automatically
544 # generated by "make maint-deps". Manual edits will be lost.
546 ./_doprnt.$(objext): $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \
547 $(INCDIR)/safe-ctype.h
548 if [ x"$(PICFLAG)" != x ]; then \
549 $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \
550 else true; fi
551 if [ x"$(NOASANFLAG)" != x ]; then \
552 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/_doprnt.c -o noasan/$@; \
553 else true; fi
554 $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION)
556 ./alloca.$(objext): $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
557 $(INCDIR)/libiberty.h
558 if [ x"$(PICFLAG)" != x ]; then \
559 $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \
560 else true; fi
561 if [ x"$(NOASANFLAG)" != x ]; then \
562 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/alloca.c -o noasan/$@; \
563 else true; fi
564 $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION)
566 ./argv.$(objext): $(srcdir)/argv.c config.h $(INCDIR)/ansidecl.h \
567 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
568 if [ x"$(PICFLAG)" != x ]; then \
569 $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \
570 else true; fi
571 if [ x"$(NOASANFLAG)" != x ]; then \
572 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/argv.c -o noasan/$@; \
573 else true; fi
574 $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION)
576 ./asprintf.$(objext): $(srcdir)/asprintf.c config.h $(INCDIR)/ansidecl.h \
577 $(INCDIR)/libiberty.h
578 if [ x"$(PICFLAG)" != x ]; then \
579 $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \
580 else true; fi
581 if [ x"$(NOASANFLAG)" != x ]; then \
582 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/asprintf.c -o noasan/$@; \
583 else true; fi
584 $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION)
586 ./atexit.$(objext): $(srcdir)/atexit.c config.h
587 if [ x"$(PICFLAG)" != x ]; then \
588 $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \
589 else true; fi
590 if [ x"$(NOASANFLAG)" != x ]; then \
591 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/atexit.c -o noasan/$@; \
592 else true; fi
593 $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION)
595 ./basename.$(objext): $(srcdir)/basename.c config.h $(INCDIR)/ansidecl.h \
596 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
597 if [ x"$(PICFLAG)" != x ]; then \
598 $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \
599 else true; fi
600 if [ x"$(NOASANFLAG)" != x ]; then \
601 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/basename.c -o noasan/$@; \
602 else true; fi
603 $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION)
605 ./bcmp.$(objext): $(srcdir)/bcmp.c
606 if [ x"$(PICFLAG)" != x ]; then \
607 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \
608 else true; fi
609 if [ x"$(NOASANFLAG)" != x ]; then \
610 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcmp.c -o noasan/$@; \
611 else true; fi
612 $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION)
614 ./bcopy.$(objext): $(srcdir)/bcopy.c
615 if [ x"$(PICFLAG)" != x ]; then \
616 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \
617 else true; fi
618 if [ x"$(NOASANFLAG)" != x ]; then \
619 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcopy.c -o noasan/$@; \
620 else true; fi
621 $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION)
623 ./bsearch.$(objext): $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h
624 if [ x"$(PICFLAG)" != x ]; then \
625 $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \
626 else true; fi
627 if [ x"$(NOASANFLAG)" != x ]; then \
628 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bsearch.c -o noasan/$@; \
629 else true; fi
630 $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION)
632 ./bsearch_r.$(objext): $(srcdir)/bsearch_r.c config.h $(INCDIR)/ansidecl.h
633 if [ x"$(PICFLAG)" != x ]; then \
634 $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch_r.c -o pic/$@; \
635 else true; fi
636 if [ x"$(NOASANFLAG)" != x ]; then \
637 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bsearch_r.c -o noasan/$@; \
638 else true; fi
639 $(COMPILE.c) $(srcdir)/bsearch_r.c $(OUTPUT_OPTION)
641 ./bzero.$(objext): $(srcdir)/bzero.c
642 if [ x"$(PICFLAG)" != x ]; then \
643 $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \
644 else true; fi
645 if [ x"$(NOASANFLAG)" != x ]; then \
646 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bzero.c -o noasan/$@; \
647 else true; fi
648 $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION)
650 ./calloc.$(objext): $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
651 if [ x"$(PICFLAG)" != x ]; then \
652 $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \
653 else true; fi
654 if [ x"$(NOASANFLAG)" != x ]; then \
655 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/calloc.c -o noasan/$@; \
656 else true; fi
657 $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION)
659 ./choose-temp.$(objext): $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
660 $(INCDIR)/libiberty.h
661 if [ x"$(PICFLAG)" != x ]; then \
662 $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \
663 else true; fi
664 if [ x"$(NOASANFLAG)" != x ]; then \
665 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/choose-temp.c -o noasan/$@; \
666 else true; fi
667 $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION)
669 ./clock.$(objext): $(srcdir)/clock.c config.h
670 if [ x"$(PICFLAG)" != x ]; then \
671 $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \
672 else true; fi
673 if [ x"$(NOASANFLAG)" != x ]; then \
674 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/clock.c -o noasan/$@; \
675 else true; fi
676 $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION)
678 ./concat.$(objext): $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
679 $(INCDIR)/libiberty.h
680 if [ x"$(PICFLAG)" != x ]; then \
681 $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \
682 else true; fi
683 if [ x"$(NOASANFLAG)" != x ]; then \
684 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/concat.c -o noasan/$@; \
685 else true; fi
686 $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION)
688 ./copysign.$(objext): $(srcdir)/copysign.c $(INCDIR)/ansidecl.h
689 if [ x"$(PICFLAG)" != x ]; then \
690 $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \
691 else true; fi
692 if [ x"$(NOASANFLAG)" != x ]; then \
693 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/copysign.c -o noasan/$@; \
694 else true; fi
695 $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION)
697 ./cp-demangle.$(objext): $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
698 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
699 $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
700 if [ x"$(PICFLAG)" != x ]; then \
701 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \
702 else true; fi
703 if [ x"$(NOASANFLAG)" != x ]; then \
704 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demangle.c -o noasan/$@; \
705 else true; fi
706 $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION)
708 ./cp-demint.$(objext): $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
709 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
710 $(INCDIR)/libiberty.h
711 if [ x"$(PICFLAG)" != x ]; then \
712 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \
713 else true; fi
714 if [ x"$(NOASANFLAG)" != x ]; then \
715 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demint.c -o noasan/$@; \
716 else true; fi
717 $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION)
719 ./cplus-dem.$(objext): $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
720 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
721 $(INCDIR)/safe-ctype.h
722 if [ x"$(PICFLAG)" != x ]; then \
723 $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \
724 else true; fi
725 if [ x"$(NOASANFLAG)" != x ]; then \
726 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cplus-dem.c -o noasan/$@; \
727 else true; fi
728 $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION)
730 ./crc32.$(objext): $(srcdir)/crc32.c config.h $(INCDIR)/ansidecl.h \
731 $(INCDIR)/libiberty.h
732 if [ x"$(PICFLAG)" != x ]; then \
733 $(COMPILE.c) $(PICFLAG) $(srcdir)/crc32.c -o pic/$@; \
734 else true; fi
735 if [ x"$(NOASANFLAG)" != x ]; then \
736 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/crc32.c -o noasan/$@; \
737 else true; fi
738 $(COMPILE.c) $(srcdir)/crc32.c $(OUTPUT_OPTION)
740 ./d-demangle.$(objext): $(srcdir)/d-demangle.c config.h $(INCDIR)/ansidecl.h \
741 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
742 $(INCDIR)/safe-ctype.h
743 if [ x"$(PICFLAG)" != x ]; then \
744 $(COMPILE.c) $(PICFLAG) $(srcdir)/d-demangle.c -o pic/$@; \
745 else true; fi
746 if [ x"$(NOASANFLAG)" != x ]; then \
747 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/d-demangle.c -o noasan/$@; \
748 else true; fi
749 $(COMPILE.c) $(srcdir)/d-demangle.c $(OUTPUT_OPTION)
751 ./dwarfnames.$(objext): $(srcdir)/dwarfnames.c $(INCDIR)/dwarf2.def \
752 $(INCDIR)/dwarf2.h
753 if [ x"$(PICFLAG)" != x ]; then \
754 $(COMPILE.c) $(PICFLAG) $(srcdir)/dwarfnames.c -o pic/$@; \
755 else true; fi
756 if [ x"$(NOASANFLAG)" != x ]; then \
757 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dwarfnames.c -o noasan/$@; \
758 else true; fi
759 $(COMPILE.c) $(srcdir)/dwarfnames.c $(OUTPUT_OPTION)
761 ./dyn-string.$(objext): $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
762 $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
763 if [ x"$(PICFLAG)" != x ]; then \
764 $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \
765 else true; fi
766 if [ x"$(NOASANFLAG)" != x ]; then \
767 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dyn-string.c -o noasan/$@; \
768 else true; fi
769 $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION)
771 ./fdmatch.$(objext): $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \
772 $(INCDIR)/libiberty.h
773 if [ x"$(PICFLAG)" != x ]; then \
774 $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \
775 else true; fi
776 if [ x"$(NOASANFLAG)" != x ]; then \
777 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fdmatch.c -o noasan/$@; \
778 else true; fi
779 $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION)
781 ./ffs.$(objext): $(srcdir)/ffs.c
782 if [ x"$(PICFLAG)" != x ]; then \
783 $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \
784 else true; fi
785 if [ x"$(NOASANFLAG)" != x ]; then \
786 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/ffs.c -o noasan/$@; \
787 else true; fi
788 $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION)
790 ./fibheap.$(objext): $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
791 $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h
792 if [ x"$(PICFLAG)" != x ]; then \
793 $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \
794 else true; fi
795 if [ x"$(NOASANFLAG)" != x ]; then \
796 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fibheap.c -o noasan/$@; \
797 else true; fi
798 $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION)
800 ./filedescriptor.$(objext): $(srcdir)/filedescriptor.c config.h $(INCDIR)/ansidecl.h \
801 $(INCDIR)/libiberty.h
802 if [ x"$(PICFLAG)" != x ]; then \
803 $(COMPILE.c) $(PICFLAG) $(srcdir)/filedescriptor.c -o pic/$@; \
804 else true; fi
805 if [ x"$(NOASANFLAG)" != x ]; then \
806 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/filedescriptor.c -o noasan/$@; \
807 else true; fi
808 $(COMPILE.c) $(srcdir)/filedescriptor.c $(OUTPUT_OPTION)
811 ./filename_cmp.$(objext): $(srcdir)/filename_cmp.c config.h $(INCDIR)/ansidecl.h \
812 $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
813 $(INCDIR)/safe-ctype.h
814 if [ x"$(PICFLAG)" != x ]; then \
815 $(COMPILE.c) $(PICFLAG) $(srcdir)/filename_cmp.c -o pic/$@; \
816 else true; fi
817 if [ x"$(NOASANFLAG)" != x ]; then \
818 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/filename_cmp.c -o noasan/$@; \
819 else true; fi
820 $(COMPILE.c) $(srcdir)/filename_cmp.c $(OUTPUT_OPTION)
822 ./floatformat.$(objext): $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
823 $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
824 if [ x"$(PICFLAG)" != x ]; then \
825 $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \
826 else true; fi
827 if [ x"$(NOASANFLAG)" != x ]; then \
828 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/floatformat.c -o noasan/$@; \
829 else true; fi
830 $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION)
832 ./fnmatch.$(objext): $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
833 $(INCDIR)/safe-ctype.h
834 if [ x"$(PICFLAG)" != x ]; then \
835 $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \
836 else true; fi
837 if [ x"$(NOASANFLAG)" != x ]; then \
838 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fnmatch.c -o noasan/$@; \
839 else true; fi
840 $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION)
842 ./fopen_unlocked.$(objext): $(srcdir)/fopen_unlocked.c config.h \
843 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
844 if [ x"$(PICFLAG)" != x ]; then \
845 $(COMPILE.c) $(PICFLAG) $(srcdir)/fopen_unlocked.c -o pic/$@; \
846 else true; fi
847 if [ x"$(NOASANFLAG)" != x ]; then \
848 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fopen_unlocked.c -o noasan/$@; \
849 else true; fi
850 $(COMPILE.c) $(srcdir)/fopen_unlocked.c $(OUTPUT_OPTION)
852 ./getcwd.$(objext): $(srcdir)/getcwd.c config.h
853 if [ x"$(PICFLAG)" != x ]; then \
854 $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \
855 else true; fi
856 if [ x"$(NOASANFLAG)" != x ]; then \
857 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getcwd.c -o noasan/$@; \
858 else true; fi
859 $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION)
861 ./getopt.$(objext): $(srcdir)/getopt.c config.h $(INCDIR)/ansidecl.h \
862 $(INCDIR)/getopt.h
863 if [ x"$(PICFLAG)" != x ]; then \
864 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \
865 else true; fi
866 if [ x"$(NOASANFLAG)" != x ]; then \
867 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt.c -o noasan/$@; \
868 else true; fi
869 $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION)
871 ./getopt1.$(objext): $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h
872 if [ x"$(PICFLAG)" != x ]; then \
873 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \
874 else true; fi
875 if [ x"$(NOASANFLAG)" != x ]; then \
876 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt1.c -o noasan/$@; \
877 else true; fi
878 $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION)
880 ./getpagesize.$(objext): $(srcdir)/getpagesize.c config.h
881 if [ x"$(PICFLAG)" != x ]; then \
882 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \
883 else true; fi
884 if [ x"$(NOASANFLAG)" != x ]; then \
885 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpagesize.c -o noasan/$@; \
886 else true; fi
887 $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION)
889 ./getpwd.$(objext): $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
890 $(INCDIR)/libiberty.h
891 if [ x"$(PICFLAG)" != x ]; then \
892 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \
893 else true; fi
894 if [ x"$(NOASANFLAG)" != x ]; then \
895 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpwd.c -o noasan/$@; \
896 else true; fi
897 $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION)
899 ./getruntime.$(objext): $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
900 $(INCDIR)/libiberty.h
901 if [ x"$(PICFLAG)" != x ]; then \
902 $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \
903 else true; fi
904 if [ x"$(NOASANFLAG)" != x ]; then \
905 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getruntime.c -o noasan/$@; \
906 else true; fi
907 $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION)
909 ./gettimeofday.$(objext): $(srcdir)/gettimeofday.c config.h $(INCDIR)/ansidecl.h \
910 $(INCDIR)/libiberty.h
911 if [ x"$(PICFLAG)" != x ]; then \
912 $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \
913 else true; fi
914 if [ x"$(NOASANFLAG)" != x ]; then \
915 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/gettimeofday.c -o noasan/$@; \
916 else true; fi
917 $(COMPILE.c) $(srcdir)/gettimeofday.c $(OUTPUT_OPTION)
919 ./hashtab.$(objext): $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
920 $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
921 if [ x"$(PICFLAG)" != x ]; then \
922 $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \
923 else true; fi
924 if [ x"$(NOASANFLAG)" != x ]; then \
925 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hashtab.c -o noasan/$@; \
926 else true; fi
927 $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION)
929 ./hex.$(objext): $(srcdir)/hex.c config.h $(INCDIR)/ansidecl.h \
930 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
931 if [ x"$(PICFLAG)" != x ]; then \
932 $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \
933 else true; fi
934 if [ x"$(NOASANFLAG)" != x ]; then \
935 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hex.c -o noasan/$@; \
936 else true; fi
937 $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION)
939 ./index.$(objext): $(srcdir)/index.c
940 if [ x"$(PICFLAG)" != x ]; then \
941 $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \
942 else true; fi
943 if [ x"$(NOASANFLAG)" != x ]; then \
944 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/index.c -o noasan/$@; \
945 else true; fi
946 $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION)
948 ./insque.$(objext): $(srcdir)/insque.c
949 if [ x"$(PICFLAG)" != x ]; then \
950 $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \
951 else true; fi
952 if [ x"$(NOASANFLAG)" != x ]; then \
953 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/insque.c -o noasan/$@; \
954 else true; fi
955 $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION)
957 ./lbasename.$(objext): $(srcdir)/lbasename.c config.h $(INCDIR)/ansidecl.h \
958 $(INCDIR)/filenames.h $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h \
959 $(INCDIR)/safe-ctype.h
960 if [ x"$(PICFLAG)" != x ]; then \
961 $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \
962 else true; fi
963 if [ x"$(NOASANFLAG)" != x ]; then \
964 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lbasename.c -o noasan/$@; \
965 else true; fi
966 $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION)
968 ./lrealpath.$(objext): $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
969 $(INCDIR)/libiberty.h
970 if [ x"$(PICFLAG)" != x ]; then \
971 $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \
972 else true; fi
973 if [ x"$(NOASANFLAG)" != x ]; then \
974 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lrealpath.c -o noasan/$@; \
975 else true; fi
976 $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION)
978 ./make-relative-prefix.$(objext): $(srcdir)/make-relative-prefix.c config.h \
979 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
980 if [ x"$(PICFLAG)" != x ]; then \
981 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \
982 else true; fi
983 if [ x"$(NOASANFLAG)" != x ]; then \
984 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-relative-prefix.c -o noasan/$@; \
985 else true; fi
986 $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION)
988 ./make-temp-file.$(objext): $(srcdir)/make-temp-file.c config.h \
989 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
990 if [ x"$(PICFLAG)" != x ]; then \
991 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \
992 else true; fi
993 if [ x"$(NOASANFLAG)" != x ]; then \
994 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-temp-file.c -o noasan/$@; \
995 else true; fi
996 $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION)
998 ./md5.$(objext): $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
999 if [ x"$(PICFLAG)" != x ]; then \
1000 $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \
1001 else true; fi
1002 if [ x"$(NOASANFLAG)" != x ]; then \
1003 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/md5.c -o noasan/$@; \
1004 else true; fi
1005 $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION)
1007 ./memchr.$(objext): $(srcdir)/memchr.c $(INCDIR)/ansidecl.h
1008 if [ x"$(PICFLAG)" != x ]; then \
1009 $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \
1010 else true; fi
1011 if [ x"$(NOASANFLAG)" != x ]; then \
1012 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memchr.c -o noasan/$@; \
1013 else true; fi
1014 $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION)
1016 ./memcmp.$(objext): $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h
1017 if [ x"$(PICFLAG)" != x ]; then \
1018 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \
1019 else true; fi
1020 if [ x"$(NOASANFLAG)" != x ]; then \
1021 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcmp.c -o noasan/$@; \
1022 else true; fi
1023 $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION)
1025 ./memcpy.$(objext): $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h
1026 if [ x"$(PICFLAG)" != x ]; then \
1027 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \
1028 else true; fi
1029 if [ x"$(NOASANFLAG)" != x ]; then \
1030 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcpy.c -o noasan/$@; \
1031 else true; fi
1032 $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION)
1034 ./memmem.$(objext): $(srcdir)/memmem.c config.h
1035 if [ x"$(PICFLAG)" != x ]; then \
1036 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmem.c -o pic/$@; \
1037 else true; fi
1038 if [ x"$(NOASANFLAG)" != x ]; then \
1039 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmem.c -o noasan/$@; \
1040 else true; fi
1041 $(COMPILE.c) $(srcdir)/memmem.c $(OUTPUT_OPTION)
1043 ./memmove.$(objext): $(srcdir)/memmove.c $(INCDIR)/ansidecl.h
1044 if [ x"$(PICFLAG)" != x ]; then \
1045 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \
1046 else true; fi
1047 if [ x"$(NOASANFLAG)" != x ]; then \
1048 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmove.c -o noasan/$@; \
1049 else true; fi
1050 $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION)
1052 ./mempcpy.$(objext): $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h
1053 if [ x"$(PICFLAG)" != x ]; then \
1054 $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \
1055 else true; fi
1056 if [ x"$(NOASANFLAG)" != x ]; then \
1057 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mempcpy.c -o noasan/$@; \
1058 else true; fi
1059 $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION)
1061 ./memset.$(objext): $(srcdir)/memset.c $(INCDIR)/ansidecl.h
1062 if [ x"$(PICFLAG)" != x ]; then \
1063 $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \
1064 else true; fi
1065 if [ x"$(NOASANFLAG)" != x ]; then \
1066 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memset.c -o noasan/$@; \
1067 else true; fi
1068 $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION)
1070 ./mkstemps.$(objext): $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h
1071 if [ x"$(PICFLAG)" != x ]; then \
1072 $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \
1073 else true; fi
1074 if [ x"$(NOASANFLAG)" != x ]; then \
1075 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mkstemps.c -o noasan/$@; \
1076 else true; fi
1077 $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION)
1079 ./msdos.$(objext): $(srcdir)/msdos.c
1080 if [ x"$(PICFLAG)" != x ]; then \
1081 $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \
1082 else true; fi
1083 if [ x"$(NOASANFLAG)" != x ]; then \
1084 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/msdos.c -o noasan/$@; \
1085 else true; fi
1086 $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION)
1088 ./objalloc.$(objext): $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \
1089 $(INCDIR)/objalloc.h
1090 if [ x"$(PICFLAG)" != x ]; then \
1091 $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \
1092 else true; fi
1093 if [ x"$(NOASANFLAG)" != x ]; then \
1094 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/objalloc.c -o noasan/$@; \
1095 else true; fi
1096 $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION)
1098 ./obstack.$(objext): $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h
1099 if [ x"$(PICFLAG)" != x ]; then \
1100 $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \
1101 else true; fi
1102 if [ x"$(NOASANFLAG)" != x ]; then \
1103 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/obstack.c -o noasan/$@; \
1104 else true; fi
1105 $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION)
1107 ./partition.$(objext): $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \
1108 $(INCDIR)/libiberty.h $(INCDIR)/partition.h
1109 if [ x"$(PICFLAG)" != x ]; then \
1110 $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \
1111 else true; fi
1112 if [ x"$(NOASANFLAG)" != x ]; then \
1113 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/partition.c -o noasan/$@; \
1114 else true; fi
1115 $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION)
1117 ./pex-common.$(objext): $(srcdir)/pex-common.c config.h $(INCDIR)/ansidecl.h \
1118 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1119 if [ x"$(PICFLAG)" != x ]; then \
1120 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-common.c -o pic/$@; \
1121 else true; fi
1122 if [ x"$(NOASANFLAG)" != x ]; then \
1123 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-common.c -o noasan/$@; \
1124 else true; fi
1125 $(COMPILE.c) $(srcdir)/pex-common.c $(OUTPUT_OPTION)
1127 ./pex-djgpp.$(objext): $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \
1128 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1129 if [ x"$(PICFLAG)" != x ]; then \
1130 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \
1131 else true; fi
1132 if [ x"$(NOASANFLAG)" != x ]; then \
1133 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-djgpp.c -o noasan/$@; \
1134 else true; fi
1135 $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION)
1137 ./pex-msdos.$(objext): $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \
1138 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \
1139 $(INCDIR)/safe-ctype.h
1140 if [ x"$(PICFLAG)" != x ]; then \
1141 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \
1142 else true; fi
1143 if [ x"$(NOASANFLAG)" != x ]; then \
1144 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-msdos.c -o noasan/$@; \
1145 else true; fi
1146 $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION)
1148 ./pex-one.$(objext): $(srcdir)/pex-one.c config.h $(INCDIR)/ansidecl.h \
1149 $(INCDIR)/libiberty.h
1150 if [ x"$(PICFLAG)" != x ]; then \
1151 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-one.c -o pic/$@; \
1152 else true; fi
1153 if [ x"$(NOASANFLAG)" != x ]; then \
1154 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-one.c -o noasan/$@; \
1155 else true; fi
1156 $(COMPILE.c) $(srcdir)/pex-one.c $(OUTPUT_OPTION)
1158 ./pex-unix.$(objext): $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \
1159 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1160 if [ x"$(PICFLAG)" != x ]; then \
1161 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \
1162 else true; fi
1163 if [ x"$(NOASANFLAG)" != x ]; then \
1164 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-unix.c -o noasan/$@; \
1165 else true; fi
1166 $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION)
1168 ./pex-win32.$(objext): $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \
1169 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1170 if [ x"$(PICFLAG)" != x ]; then \
1171 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \
1172 else true; fi
1173 if [ x"$(NOASANFLAG)" != x ]; then \
1174 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-win32.c -o noasan/$@; \
1175 else true; fi
1176 $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION)
1178 ./pexecute.$(objext): $(srcdir)/pexecute.c config.h $(INCDIR)/ansidecl.h \
1179 $(INCDIR)/libiberty.h
1180 if [ x"$(PICFLAG)" != x ]; then \
1181 $(COMPILE.c) $(PICFLAG) $(srcdir)/pexecute.c -o pic/$@; \
1182 else true; fi
1183 if [ x"$(NOASANFLAG)" != x ]; then \
1184 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pexecute.c -o noasan/$@; \
1185 else true; fi
1186 $(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION)
1188 ./physmem.$(objext): $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
1189 $(INCDIR)/libiberty.h
1190 if [ x"$(PICFLAG)" != x ]; then \
1191 $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \
1192 else true; fi
1193 if [ x"$(NOASANFLAG)" != x ]; then \
1194 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/physmem.c -o noasan/$@; \
1195 else true; fi
1196 $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION)
1198 ./putenv.$(objext): $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h
1199 if [ x"$(PICFLAG)" != x ]; then \
1200 $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \
1201 else true; fi
1202 if [ x"$(NOASANFLAG)" != x ]; then \
1203 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/putenv.c -o noasan/$@; \
1204 else true; fi
1205 $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION)
1207 ./random.$(objext): $(srcdir)/random.c $(INCDIR)/ansidecl.h
1208 if [ x"$(PICFLAG)" != x ]; then \
1209 $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \
1210 else true; fi
1211 if [ x"$(NOASANFLAG)" != x ]; then \
1212 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/random.c -o noasan/$@; \
1213 else true; fi
1214 $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION)
1216 ./regex.$(objext): $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h \
1217 $(INCDIR)/xregex.h $(INCDIR)/xregex2.h
1218 if [ x"$(PICFLAG)" != x ]; then \
1219 $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \
1220 else true; fi
1221 if [ x"$(NOASANFLAG)" != x ]; then \
1222 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/regex.c -o noasan/$@; \
1223 else true; fi
1224 $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION)
1226 ./rename.$(objext): $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h
1227 if [ x"$(PICFLAG)" != x ]; then \
1228 $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \
1229 else true; fi
1230 if [ x"$(NOASANFLAG)" != x ]; then \
1231 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rename.c -o noasan/$@; \
1232 else true; fi
1233 $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION)
1235 ./rindex.$(objext): $(srcdir)/rindex.c
1236 if [ x"$(PICFLAG)" != x ]; then \
1237 $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \
1238 else true; fi
1239 if [ x"$(NOASANFLAG)" != x ]; then \
1240 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rindex.c -o noasan/$@; \
1241 else true; fi
1242 $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION)
1244 ./rust-demangle.$(objext): $(srcdir)/rust-demangle.c config.h \
1245 $(INCDIR)/ansidecl.h $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
1246 $(INCDIR)/safe-ctype.h
1247 if [ x"$(PICFLAG)" != x ]; then \
1248 $(COMPILE.c) $(PICFLAG) $(srcdir)/rust-demangle.c -o pic/$@; \
1249 else true; fi
1250 if [ x"$(NOASANFLAG)" != x ]; then \
1251 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rust-demangle.c -o noasan/$@; \
1252 else true; fi
1253 $(COMPILE.c) $(srcdir)/rust-demangle.c $(OUTPUT_OPTION)
1255 ./safe-ctype.$(objext): $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
1256 $(INCDIR)/safe-ctype.h
1257 if [ x"$(PICFLAG)" != x ]; then \
1258 $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \
1259 else true; fi
1260 if [ x"$(NOASANFLAG)" != x ]; then \
1261 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/safe-ctype.c -o noasan/$@; \
1262 else true; fi
1263 $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION)
1265 ./setenv.$(objext): $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h
1266 if [ x"$(PICFLAG)" != x ]; then \
1267 $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \
1268 else true; fi
1269 if [ x"$(NOASANFLAG)" != x ]; then \
1270 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setenv.c -o noasan/$@; \
1271 else true; fi
1272 $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION)
1274 ./setproctitle.$(objext): $(srcdir)/setproctitle.c config.h $(INCDIR)/ansidecl.h
1275 if [ x"$(PICFLAG)" != x ]; then \
1276 $(COMPILE.c) $(PICFLAG) $(srcdir)/setproctitle.c -o pic/$@; \
1277 else true; fi
1278 if [ x"$(NOASANFLAG)" != x ]; then \
1279 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setproctitle.c -o noasan/$@; \
1280 else true; fi
1281 $(COMPILE.c) $(srcdir)/setproctitle.c $(OUTPUT_OPTION)
1283 ./sha1.$(objext): $(srcdir)/sha1.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/sha1.h
1284 if [ x"$(PICFLAG)" != x ]; then \
1285 $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \
1286 else true; fi
1287 if [ x"$(NOASANFLAG)" != x ]; then \
1288 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sha1.c -o noasan/$@; \
1289 else true; fi
1290 $(COMPILE.c) $(srcdir)/sha1.c $(OUTPUT_OPTION)
1292 ./sigsetmask.$(objext): $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
1293 if [ x"$(PICFLAG)" != x ]; then \
1294 $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \
1295 else true; fi
1296 if [ x"$(NOASANFLAG)" != x ]; then \
1297 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sigsetmask.c -o noasan/$@; \
1298 else true; fi
1299 $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
1301 ./simple-object-coff.$(objext): $(srcdir)/simple-object-coff.c config.h \
1302 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1303 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1304 if [ x"$(PICFLAG)" != x ]; then \
1305 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-coff.c -o pic/$@; \
1306 else true; fi
1307 if [ x"$(NOASANFLAG)" != x ]; then \
1308 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-coff.c -o noasan/$@; \
1309 else true; fi
1310 $(COMPILE.c) $(srcdir)/simple-object-coff.c $(OUTPUT_OPTION)
1312 ./simple-object-elf.$(objext): $(srcdir)/simple-object-elf.c config.h \
1313 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1314 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1315 if [ x"$(PICFLAG)" != x ]; then \
1316 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-elf.c -o pic/$@; \
1317 else true; fi
1318 if [ x"$(NOASANFLAG)" != x ]; then \
1319 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-elf.c -o noasan/$@; \
1320 else true; fi
1321 $(COMPILE.c) $(srcdir)/simple-object-elf.c $(OUTPUT_OPTION)
1323 ./simple-object-mach-o.$(objext): $(srcdir)/simple-object-mach-o.c config.h \
1324 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1325 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1326 if [ x"$(PICFLAG)" != x ]; then \
1327 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-mach-o.c -o pic/$@; \
1328 else true; fi
1329 if [ x"$(NOASANFLAG)" != x ]; then \
1330 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-mach-o.c -o noasan/$@; \
1331 else true; fi
1332 $(COMPILE.c) $(srcdir)/simple-object-mach-o.c $(OUTPUT_OPTION)
1334 ./simple-object-xcoff.$(objext): $(srcdir)/simple-object-xcoff.c config.h \
1335 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1336 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1337 if [ x"$(PICFLAG)" != x ]; then \
1338 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-xcoff.c -o pic/$@; \
1339 else true; fi
1340 if [ x"$(NOASANFLAG)" != x ]; then \
1341 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-xcoff.c -o noasan/$@; \
1342 else true; fi
1343 $(COMPILE.c) $(srcdir)/simple-object-xcoff.c $(OUTPUT_OPTION)
1345 ./simple-object.$(objext): $(srcdir)/simple-object.c config.h \
1346 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1347 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1348 if [ x"$(PICFLAG)" != x ]; then \
1349 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object.c -o pic/$@; \
1350 else true; fi
1351 if [ x"$(NOASANFLAG)" != x ]; then \
1352 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object.c -o noasan/$@; \
1353 else true; fi
1354 $(COMPILE.c) $(srcdir)/simple-object.c $(OUTPUT_OPTION)
1356 ./snprintf.$(objext): $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
1357 if [ x"$(PICFLAG)" != x ]; then \
1358 $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
1359 else true; fi
1360 if [ x"$(NOASANFLAG)" != x ]; then \
1361 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/snprintf.c -o noasan/$@; \
1362 else true; fi
1363 $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
1365 ./sort.$(objext): $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h \
1366 $(INCDIR)/libiberty.h $(INCDIR)/sort.h
1367 if [ x"$(PICFLAG)" != x ]; then \
1368 $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \
1369 else true; fi
1370 if [ x"$(NOASANFLAG)" != x ]; then \
1371 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sort.c -o noasan/$@; \
1372 else true; fi
1373 $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION)
1375 ./spaces.$(objext): $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \
1376 $(INCDIR)/libiberty.h
1377 if [ x"$(PICFLAG)" != x ]; then \
1378 $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \
1379 else true; fi
1380 if [ x"$(NOASANFLAG)" != x ]; then \
1381 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/spaces.c -o noasan/$@; \
1382 else true; fi
1383 $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION)
1385 ./splay-tree.$(objext): $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
1386 $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
1387 if [ x"$(PICFLAG)" != x ]; then \
1388 $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \
1389 else true; fi
1390 if [ x"$(NOASANFLAG)" != x ]; then \
1391 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/splay-tree.c -o noasan/$@; \
1392 else true; fi
1393 $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
1395 ./stack-limit.$(objext): $(srcdir)/stack-limit.c config.h $(INCDIR)/ansidecl.h
1396 if [ x"$(PICFLAG)" != x ]; then \
1397 $(COMPILE.c) $(PICFLAG) $(srcdir)/stack-limit.c -o pic/$@; \
1398 else true; fi
1399 if [ x"$(NOASANFLAG)" != x ]; then \
1400 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stack-limit.c -o noasan/$@; \
1401 else true; fi
1402 $(COMPILE.c) $(srcdir)/stack-limit.c $(OUTPUT_OPTION)
1404 ./stpcpy.$(objext): $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
1405 if [ x"$(PICFLAG)" != x ]; then \
1406 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
1407 else true; fi
1408 if [ x"$(NOASANFLAG)" != x ]; then \
1409 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpcpy.c -o noasan/$@; \
1410 else true; fi
1411 $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION)
1413 ./stpncpy.$(objext): $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
1414 if [ x"$(PICFLAG)" != x ]; then \
1415 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \
1416 else true; fi
1417 if [ x"$(NOASANFLAG)" != x ]; then \
1418 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpncpy.c -o noasan/$@; \
1419 else true; fi
1420 $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
1422 ./strcasecmp.$(objext): $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
1423 if [ x"$(PICFLAG)" != x ]; then \
1424 $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \
1425 else true; fi
1426 if [ x"$(NOASANFLAG)" != x ]; then \
1427 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strcasecmp.c -o noasan/$@; \
1428 else true; fi
1429 $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION)
1431 ./strchr.$(objext): $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
1432 if [ x"$(PICFLAG)" != x ]; then \
1433 $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \
1434 else true; fi
1435 if [ x"$(NOASANFLAG)" != x ]; then \
1436 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strchr.c -o noasan/$@; \
1437 else true; fi
1438 $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION)
1440 ./strdup.$(objext): $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
1441 if [ x"$(PICFLAG)" != x ]; then \
1442 $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \
1443 else true; fi
1444 if [ x"$(NOASANFLAG)" != x ]; then \
1445 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strdup.c -o noasan/$@; \
1446 else true; fi
1447 $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION)
1449 ./strerror.$(objext): $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
1450 $(INCDIR)/libiberty.h
1451 if [ x"$(PICFLAG)" != x ]; then \
1452 $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \
1453 else true; fi
1454 if [ x"$(NOASANFLAG)" != x ]; then \
1455 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strerror.c -o noasan/$@; \
1456 else true; fi
1457 $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION)
1459 ./strncasecmp.$(objext): $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
1460 if [ x"$(PICFLAG)" != x ]; then \
1461 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \
1462 else true; fi
1463 if [ x"$(NOASANFLAG)" != x ]; then \
1464 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncasecmp.c -o noasan/$@; \
1465 else true; fi
1466 $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION)
1468 ./strncmp.$(objext): $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
1469 if [ x"$(PICFLAG)" != x ]; then \
1470 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \
1471 else true; fi
1472 if [ x"$(NOASANFLAG)" != x ]; then \
1473 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncmp.c -o noasan/$@; \
1474 else true; fi
1475 $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION)
1477 ./strndup.$(objext): $(srcdir)/strndup.c $(INCDIR)/ansidecl.h
1478 if [ x"$(PICFLAG)" != x ]; then \
1479 $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \
1480 else true; fi
1481 if [ x"$(NOASANFLAG)" != x ]; then \
1482 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strndup.c -o noasan/$@; \
1483 else true; fi
1484 $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION)
1486 ./strnlen.$(objext): $(srcdir)/strnlen.c config.h
1487 if [ x"$(PICFLAG)" != x ]; then \
1488 $(COMPILE.c) $(PICFLAG) $(srcdir)/strnlen.c -o pic/$@; \
1489 else true; fi
1490 if [ x"$(NOASANFLAG)" != x ]; then \
1491 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strnlen.c -o noasan/$@; \
1492 else true; fi
1493 $(COMPILE.c) $(srcdir)/strnlen.c $(OUTPUT_OPTION)
1495 ./strrchr.$(objext): $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
1496 if [ x"$(PICFLAG)" != x ]; then \
1497 $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \
1498 else true; fi
1499 if [ x"$(NOASANFLAG)" != x ]; then \
1500 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strrchr.c -o noasan/$@; \
1501 else true; fi
1502 $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION)
1504 ./strsignal.$(objext): $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
1505 $(INCDIR)/libiberty.h
1506 if [ x"$(PICFLAG)" != x ]; then \
1507 $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \
1508 else true; fi
1509 if [ x"$(NOASANFLAG)" != x ]; then \
1510 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strsignal.c -o noasan/$@; \
1511 else true; fi
1512 $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION)
1514 ./strstr.$(objext): $(srcdir)/strstr.c
1515 if [ x"$(PICFLAG)" != x ]; then \
1516 $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \
1517 else true; fi
1518 if [ x"$(NOASANFLAG)" != x ]; then \
1519 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strstr.c -o noasan/$@; \
1520 else true; fi
1521 $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION)
1523 ./strtod.$(objext): $(srcdir)/strtod.c $(INCDIR)/ansidecl.h \
1524 $(INCDIR)/safe-ctype.h
1525 if [ x"$(PICFLAG)" != x ]; then \
1526 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \
1527 else true; fi
1528 if [ x"$(NOASANFLAG)" != x ]; then \
1529 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtod.c -o noasan/$@; \
1530 else true; fi
1531 $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION)
1533 ./strtol.$(objext): $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
1534 if [ x"$(PICFLAG)" != x ]; then \
1535 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \
1536 else true; fi
1537 if [ x"$(NOASANFLAG)" != x ]; then \
1538 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtol.c -o noasan/$@; \
1539 else true; fi
1540 $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION)
1542 ./strtoll.$(objext): $(srcdir)/strtoll.c config.h $(INCDIR)/safe-ctype.h
1543 if [ x"$(PICFLAG)" != x ]; then \
1544 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoll.c -o pic/$@; \
1545 else true; fi
1546 if [ x"$(NOASANFLAG)" != x ]; then \
1547 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoll.c -o noasan/$@; \
1548 else true; fi
1549 $(COMPILE.c) $(srcdir)/strtoll.c $(OUTPUT_OPTION)
1551 ./strtoul.$(objext): $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
1552 $(INCDIR)/safe-ctype.h
1553 if [ x"$(PICFLAG)" != x ]; then \
1554 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \
1555 else true; fi
1556 if [ x"$(NOASANFLAG)" != x ]; then \
1557 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoul.c -o noasan/$@; \
1558 else true; fi
1559 $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION)
1561 ./strtoull.$(objext): $(srcdir)/strtoull.c config.h $(INCDIR)/ansidecl.h \
1562 $(INCDIR)/safe-ctype.h
1563 if [ x"$(PICFLAG)" != x ]; then \
1564 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoull.c -o pic/$@; \
1565 else true; fi
1566 if [ x"$(NOASANFLAG)" != x ]; then \
1567 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoull.c -o noasan/$@; \
1568 else true; fi
1569 $(COMPILE.c) $(srcdir)/strtoull.c $(OUTPUT_OPTION)
1571 ./strverscmp.$(objext): $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h \
1572 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
1573 if [ x"$(PICFLAG)" != x ]; then \
1574 $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \
1575 else true; fi
1576 if [ x"$(NOASANFLAG)" != x ]; then \
1577 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strverscmp.c -o noasan/$@; \
1578 else true; fi
1579 $(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION)
1581 ./timeval-utils.$(objext): $(srcdir)/timeval-utils.c config.h \
1582 $(INCDIR)/timeval-utils.h
1583 if [ x"$(PICFLAG)" != x ]; then \
1584 $(COMPILE.c) $(PICFLAG) $(srcdir)/timeval-utils.c -o pic/$@; \
1585 else true; fi
1586 if [ x"$(NOASANFLAG)" != x ]; then \
1587 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/timeval-utils.c -o noasan/$@; \
1588 else true; fi
1589 $(COMPILE.c) $(srcdir)/timeval-utils.c $(OUTPUT_OPTION)
1591 ./tmpnam.$(objext): $(srcdir)/tmpnam.c
1592 if [ x"$(PICFLAG)" != x ]; then \
1593 $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \
1594 else true; fi
1595 if [ x"$(NOASANFLAG)" != x ]; then \
1596 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/tmpnam.c -o noasan/$@; \
1597 else true; fi
1598 $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION)
1600 ./unlink-if-ordinary.$(objext): $(srcdir)/unlink-if-ordinary.c config.h \
1601 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1602 if [ x"$(PICFLAG)" != x ]; then \
1603 $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \
1604 else true; fi
1605 if [ x"$(NOASANFLAG)" != x ]; then \
1606 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/unlink-if-ordinary.c -o noasan/$@; \
1607 else true; fi
1608 $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION)
1610 ./vasprintf.$(objext): $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
1611 $(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h
1612 if [ x"$(PICFLAG)" != x ]; then \
1613 $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \
1614 else true; fi
1615 if [ x"$(NOASANFLAG)" != x ]; then \
1616 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vasprintf.c -o noasan/$@; \
1617 else true; fi
1618 $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION)
1620 ./vfork.$(objext): $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
1621 if [ x"$(PICFLAG)" != x ]; then \
1622 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \
1623 else true; fi
1624 if [ x"$(NOASANFLAG)" != x ]; then \
1625 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfork.c -o noasan/$@; \
1626 else true; fi
1627 $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION)
1629 ./vfprintf.$(objext): $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
1630 if [ x"$(PICFLAG)" != x ]; then \
1631 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \
1632 else true; fi
1633 if [ x"$(NOASANFLAG)" != x ]; then \
1634 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfprintf.c -o noasan/$@; \
1635 else true; fi
1636 $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION)
1638 ./vprintf-support.$(objext): $(srcdir)/vprintf-support.c config.h \
1639 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1640 if [ x"$(PICFLAG)" != x ]; then \
1641 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf-support.c -o pic/$@; \
1642 else true; fi
1643 if [ x"$(NOASANFLAG)" != x ]; then \
1644 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf-support.c -o noasan/$@; \
1645 else true; fi
1646 $(COMPILE.c) $(srcdir)/vprintf-support.c $(OUTPUT_OPTION)
1648 ./vprintf.$(objext): $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
1649 if [ x"$(PICFLAG)" != x ]; then \
1650 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \
1651 else true; fi
1652 if [ x"$(NOASANFLAG)" != x ]; then \
1653 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf.c -o noasan/$@; \
1654 else true; fi
1655 $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION)
1657 ./vsnprintf.$(objext): $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
1658 $(INCDIR)/libiberty.h
1659 if [ x"$(PICFLAG)" != x ]; then \
1660 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \
1661 else true; fi
1662 if [ x"$(NOASANFLAG)" != x ]; then \
1663 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsnprintf.c -o noasan/$@; \
1664 else true; fi
1665 $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION)
1667 ./vsprintf.$(objext): $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
1668 if [ x"$(PICFLAG)" != x ]; then \
1669 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \
1670 else true; fi
1671 if [ x"$(NOASANFLAG)" != x ]; then \
1672 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsprintf.c -o noasan/$@; \
1673 else true; fi
1674 $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION)
1676 ./waitpid.$(objext): $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h
1677 if [ x"$(PICFLAG)" != x ]; then \
1678 $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \
1679 else true; fi
1680 if [ x"$(NOASANFLAG)" != x ]; then \
1681 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/waitpid.c -o noasan/$@; \
1682 else true; fi
1683 $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION)
1685 ./xasprintf.$(objext): $(srcdir)/xasprintf.c config.h $(INCDIR)/ansidecl.h \
1686 $(INCDIR)/libiberty.h
1687 if [ x"$(PICFLAG)" != x ]; then \
1688 $(COMPILE.c) $(PICFLAG) $(srcdir)/xasprintf.c -o pic/$@; \
1689 else true; fi
1690 if [ x"$(NOASANFLAG)" != x ]; then \
1691 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xasprintf.c -o noasan/$@; \
1692 else true; fi
1693 $(COMPILE.c) $(srcdir)/xasprintf.c $(OUTPUT_OPTION)
1695 ./xatexit.$(objext): $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \
1696 $(INCDIR)/libiberty.h
1697 if [ x"$(PICFLAG)" != x ]; then \
1698 $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \
1699 else true; fi
1700 if [ x"$(NOASANFLAG)" != x ]; then \
1701 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xatexit.c -o noasan/$@; \
1702 else true; fi
1703 $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION)
1705 ./xexit.$(objext): $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h \
1706 $(INCDIR)/libiberty.h
1707 if [ x"$(PICFLAG)" != x ]; then \
1708 $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \
1709 else true; fi
1710 if [ x"$(NOASANFLAG)" != x ]; then \
1711 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xexit.c -o noasan/$@; \
1712 else true; fi
1713 $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION)
1715 ./xmalloc.$(objext): $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
1716 $(INCDIR)/libiberty.h
1717 if [ x"$(PICFLAG)" != x ]; then \
1718 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \
1719 else true; fi
1720 if [ x"$(NOASANFLAG)" != x ]; then \
1721 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmalloc.c -o noasan/$@; \
1722 else true; fi
1723 $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION)
1725 ./xmemdup.$(objext): $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
1726 $(INCDIR)/libiberty.h
1727 if [ x"$(PICFLAG)" != x ]; then \
1728 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \
1729 else true; fi
1730 if [ x"$(NOASANFLAG)" != x ]; then \
1731 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmemdup.c -o noasan/$@; \
1732 else true; fi
1733 $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION)
1735 ./xstrdup.$(objext): $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
1736 $(INCDIR)/libiberty.h
1737 if [ x"$(PICFLAG)" != x ]; then \
1738 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \
1739 else true; fi
1740 if [ x"$(NOASANFLAG)" != x ]; then \
1741 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrdup.c -o noasan/$@; \
1742 else true; fi
1743 $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION)
1745 ./xstrerror.$(objext): $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
1746 $(INCDIR)/libiberty.h
1747 if [ x"$(PICFLAG)" != x ]; then \
1748 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \
1749 else true; fi
1750 if [ x"$(NOASANFLAG)" != x ]; then \
1751 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrerror.c -o noasan/$@; \
1752 else true; fi
1753 $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION)
1755 ./xstrndup.$(objext): $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \
1756 $(INCDIR)/libiberty.h
1757 if [ x"$(PICFLAG)" != x ]; then \
1758 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \
1759 else true; fi
1760 if [ x"$(NOASANFLAG)" != x ]; then \
1761 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrndup.c -o noasan/$@; \
1762 else true; fi
1763 $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION)
1765 ./xvasprintf.$(objext): $(srcdir)/xvasprintf.c config.h $(INCDIR)/ansidecl.h \
1766 $(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h
1767 if [ x"$(PICFLAG)" != x ]; then \
1768 $(COMPILE.c) $(PICFLAG) $(srcdir)/xvasprintf.c -o pic/$@; \
1769 else true; fi
1770 if [ x"$(NOASANFLAG)" != x ]; then \
1771 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xvasprintf.c -o noasan/$@; \
1772 else true; fi
1773 $(COMPILE.c) $(srcdir)/xvasprintf.c $(OUTPUT_OPTION)