Fix typo in t-dimode
[official-gcc.git] / libiberty / Makefile.in
blob884cc6c4af216960ff972da401e3e2523a7ab53d
1 # Makefile for the libiberty library.
2 # Originally written by K. Richard Pixley <rich@cygnus.com>.
4 # Copyright (C) 1990-2021 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@
54 AR_FLAGS = rc
56 CC = @CC@
57 CFLAGS = @CFLAGS@
58 CPPFLAGS = @CPPFLAGS@
59 RANLIB = @RANLIB@
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 tags TAGS: etags-subdir
433 cd $(srcdir) && etags $(CFILES)
435 # The standalone demangler (c++filt) has been moved to binutils.
436 # But make this target work anyway for demangler hacking.
437 demangle: $(ALL) $(srcdir)/cp-demangle.c
438 @echo "The standalone demangler, now named c++filt, is now"
439 @echo "a part of binutils."
440 $(CC) @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) \
441 $(srcdir)/cp-demangle.c -DSTANDALONE_DEMANGLER $(TARGETLIB) -o $@
444 @echo Makefile $(CFILES)
446 # Various targets for maintainers.
448 maint-missing :
449 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
451 maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES)
452 @true
454 maint-undoc : $(srcdir)/functions.texi
455 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc
457 maint-deps :
458 @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR)
460 # Need to deal with profiled libraries, too.
462 # Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS
463 # multiple times, hence our explicit recursion with an empty SUBDIRS.
464 mostlyclean: mostlyclean-subdir
465 -rm -rf *.$(objext) pic noasan core errs \#* *.E a.out
466 -rm -f errors dummy config.h stamp-*
467 -rm -f $(CONFIG_H) stamp-picdir stamp-noasandir
468 -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
469 -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
470 -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr
471 -rm -f libtexi.stamp
472 @$(MULTICLEAN) multi-clean DO=mostlyclean
473 clean: clean-subdir
474 $(MAKE) SUBDIRS="" mostlyclean
475 -rm -f *.a required-list tmpmulti.out
476 -rm -f libiberty.dvi libiberty.pdf libiberty.info* libiberty.html
477 @$(MULTICLEAN) multi-clean DO=clean
478 distclean: distclean-subdir
479 $(MAKE) SUBDIRS="" clean
480 @$(MULTICLEAN) multi-clean DO=distclean
481 -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
482 -rm -f config.log
483 -rmdir testsuite 2>/dev/null
484 maintainer-clean realclean: maintainer-clean-subdir
485 $(MAKE) SUBDIRS="" distclean
487 force:
489 Makefile: $(srcdir)/Makefile.in config.status
490 CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status
492 # Depending on Makefile makes sure that config.status has been re-run
493 # if needed. This prevents problems with parallel builds.
494 config.h: stamp-h ; @true
495 stamp-h: $(srcdir)/config.in config.status Makefile
496 CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status
498 config.status: $(srcdir)/configure
499 $(SHELL) ./config.status --recheck
501 AUTOCONF = autoconf
502 ACLOCAL = aclocal
503 ACLOCAL_AMFLAGS = -I ../config -I ..
504 aclocal_deps = \
505 $(srcdir)/../config/acx.m4 \
506 $(srcdir)/../config/cet.m4 \
507 $(srcdir)/../config/enable.m4 \
508 $(srcdir)/../config/no-executables.m4 \
509 $(srcdir)/../config/override.m4 \
510 $(srcdir)/../config/picflag.m4 \
511 $(srcdir)/../config/warnings.m4 \
512 $(srcdir)/acinclude.m4
514 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/aclocal.m4
515 cd $(srcdir) && $(AUTOCONF)
517 $(srcdir)/aclocal.m4: @MAINT@ $(aclocal_deps)
518 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
520 # Depending on config.h makes sure that config.status has been re-run
521 # if needed. This prevents problems with parallel builds, in case
522 # subdirectories need to run config.status also.
523 all-subdir check-subdir installcheck-subdir info-subdir \
524 install-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir \
525 etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
526 maintainer-clean-subdir: config.h
527 @subdirs='$(SUBDIRS)'; \
528 target=`echo $@ | sed -e 's/-subdir//'`; \
529 for dir in $$subdirs ; do \
530 cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
531 done
533 $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir stamp-noasandir
534 $(CONFIGURED_OFILES): stamp-picdir stamp-noasandir
536 # Don't export variables to the environment, in order to not confuse
537 # configure.
538 .NOEXPORT:
540 # The dependencies in the remainder of this file are automatically
541 # generated by "make maint-deps". Manual edits will be lost.
543 ./_doprnt.$(objext): $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \
544 $(INCDIR)/safe-ctype.h
545 if [ x"$(PICFLAG)" != x ]; then \
546 $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \
547 else true; fi
548 if [ x"$(NOASANFLAG)" != x ]; then \
549 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/_doprnt.c -o noasan/$@; \
550 else true; fi
551 $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION)
553 ./alloca.$(objext): $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
554 $(INCDIR)/libiberty.h
555 if [ x"$(PICFLAG)" != x ]; then \
556 $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \
557 else true; fi
558 if [ x"$(NOASANFLAG)" != x ]; then \
559 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/alloca.c -o noasan/$@; \
560 else true; fi
561 $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION)
563 ./argv.$(objext): $(srcdir)/argv.c config.h $(INCDIR)/ansidecl.h \
564 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
565 if [ x"$(PICFLAG)" != x ]; then \
566 $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \
567 else true; fi
568 if [ x"$(NOASANFLAG)" != x ]; then \
569 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/argv.c -o noasan/$@; \
570 else true; fi
571 $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION)
573 ./asprintf.$(objext): $(srcdir)/asprintf.c config.h $(INCDIR)/ansidecl.h \
574 $(INCDIR)/libiberty.h
575 if [ x"$(PICFLAG)" != x ]; then \
576 $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \
577 else true; fi
578 if [ x"$(NOASANFLAG)" != x ]; then \
579 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/asprintf.c -o noasan/$@; \
580 else true; fi
581 $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION)
583 ./atexit.$(objext): $(srcdir)/atexit.c config.h
584 if [ x"$(PICFLAG)" != x ]; then \
585 $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \
586 else true; fi
587 if [ x"$(NOASANFLAG)" != x ]; then \
588 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/atexit.c -o noasan/$@; \
589 else true; fi
590 $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION)
592 ./basename.$(objext): $(srcdir)/basename.c config.h $(INCDIR)/ansidecl.h \
593 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
594 if [ x"$(PICFLAG)" != x ]; then \
595 $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \
596 else true; fi
597 if [ x"$(NOASANFLAG)" != x ]; then \
598 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/basename.c -o noasan/$@; \
599 else true; fi
600 $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION)
602 ./bcmp.$(objext): $(srcdir)/bcmp.c
603 if [ x"$(PICFLAG)" != x ]; then \
604 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \
605 else true; fi
606 if [ x"$(NOASANFLAG)" != x ]; then \
607 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcmp.c -o noasan/$@; \
608 else true; fi
609 $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION)
611 ./bcopy.$(objext): $(srcdir)/bcopy.c
612 if [ x"$(PICFLAG)" != x ]; then \
613 $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \
614 else true; fi
615 if [ x"$(NOASANFLAG)" != x ]; then \
616 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcopy.c -o noasan/$@; \
617 else true; fi
618 $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION)
620 ./bsearch.$(objext): $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h
621 if [ x"$(PICFLAG)" != x ]; then \
622 $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \
623 else true; fi
624 if [ x"$(NOASANFLAG)" != x ]; then \
625 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bsearch.c -o noasan/$@; \
626 else true; fi
627 $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION)
629 ./bsearch_r.$(objext): $(srcdir)/bsearch_r.c config.h $(INCDIR)/ansidecl.h
630 if [ x"$(PICFLAG)" != x ]; then \
631 $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch_r.c -o pic/$@; \
632 else true; fi
633 if [ x"$(NOASANFLAG)" != x ]; then \
634 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bsearch_r.c -o noasan/$@; \
635 else true; fi
636 $(COMPILE.c) $(srcdir)/bsearch_r.c $(OUTPUT_OPTION)
638 ./bzero.$(objext): $(srcdir)/bzero.c
639 if [ x"$(PICFLAG)" != x ]; then \
640 $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \
641 else true; fi
642 if [ x"$(NOASANFLAG)" != x ]; then \
643 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bzero.c -o noasan/$@; \
644 else true; fi
645 $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION)
647 ./calloc.$(objext): $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
648 if [ x"$(PICFLAG)" != x ]; then \
649 $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \
650 else true; fi
651 if [ x"$(NOASANFLAG)" != x ]; then \
652 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/calloc.c -o noasan/$@; \
653 else true; fi
654 $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION)
656 ./choose-temp.$(objext): $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
657 $(INCDIR)/libiberty.h
658 if [ x"$(PICFLAG)" != x ]; then \
659 $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \
660 else true; fi
661 if [ x"$(NOASANFLAG)" != x ]; then \
662 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/choose-temp.c -o noasan/$@; \
663 else true; fi
664 $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION)
666 ./clock.$(objext): $(srcdir)/clock.c config.h
667 if [ x"$(PICFLAG)" != x ]; then \
668 $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \
669 else true; fi
670 if [ x"$(NOASANFLAG)" != x ]; then \
671 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/clock.c -o noasan/$@; \
672 else true; fi
673 $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION)
675 ./concat.$(objext): $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
676 $(INCDIR)/libiberty.h
677 if [ x"$(PICFLAG)" != x ]; then \
678 $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \
679 else true; fi
680 if [ x"$(NOASANFLAG)" != x ]; then \
681 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/concat.c -o noasan/$@; \
682 else true; fi
683 $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION)
685 ./copysign.$(objext): $(srcdir)/copysign.c $(INCDIR)/ansidecl.h
686 if [ x"$(PICFLAG)" != x ]; then \
687 $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \
688 else true; fi
689 if [ x"$(NOASANFLAG)" != x ]; then \
690 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/copysign.c -o noasan/$@; \
691 else true; fi
692 $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION)
694 ./cp-demangle.$(objext): $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
695 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
696 $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
697 if [ x"$(PICFLAG)" != x ]; then \
698 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \
699 else true; fi
700 if [ x"$(NOASANFLAG)" != x ]; then \
701 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demangle.c -o noasan/$@; \
702 else true; fi
703 $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION)
705 ./cp-demint.$(objext): $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
706 $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
707 $(INCDIR)/libiberty.h
708 if [ x"$(PICFLAG)" != x ]; then \
709 $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \
710 else true; fi
711 if [ x"$(NOASANFLAG)" != x ]; then \
712 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demint.c -o noasan/$@; \
713 else true; fi
714 $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION)
716 ./cplus-dem.$(objext): $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
717 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
718 $(INCDIR)/safe-ctype.h
719 if [ x"$(PICFLAG)" != x ]; then \
720 $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \
721 else true; fi
722 if [ x"$(NOASANFLAG)" != x ]; then \
723 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cplus-dem.c -o noasan/$@; \
724 else true; fi
725 $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION)
727 ./crc32.$(objext): $(srcdir)/crc32.c config.h $(INCDIR)/ansidecl.h \
728 $(INCDIR)/libiberty.h
729 if [ x"$(PICFLAG)" != x ]; then \
730 $(COMPILE.c) $(PICFLAG) $(srcdir)/crc32.c -o pic/$@; \
731 else true; fi
732 if [ x"$(NOASANFLAG)" != x ]; then \
733 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/crc32.c -o noasan/$@; \
734 else true; fi
735 $(COMPILE.c) $(srcdir)/crc32.c $(OUTPUT_OPTION)
737 ./d-demangle.$(objext): $(srcdir)/d-demangle.c config.h $(INCDIR)/ansidecl.h \
738 $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
739 $(INCDIR)/safe-ctype.h
740 if [ x"$(PICFLAG)" != x ]; then \
741 $(COMPILE.c) $(PICFLAG) $(srcdir)/d-demangle.c -o pic/$@; \
742 else true; fi
743 if [ x"$(NOASANFLAG)" != x ]; then \
744 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/d-demangle.c -o noasan/$@; \
745 else true; fi
746 $(COMPILE.c) $(srcdir)/d-demangle.c $(OUTPUT_OPTION)
748 ./dwarfnames.$(objext): $(srcdir)/dwarfnames.c $(INCDIR)/dwarf2.def \
749 $(INCDIR)/dwarf2.h
750 if [ x"$(PICFLAG)" != x ]; then \
751 $(COMPILE.c) $(PICFLAG) $(srcdir)/dwarfnames.c -o pic/$@; \
752 else true; fi
753 if [ x"$(NOASANFLAG)" != x ]; then \
754 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dwarfnames.c -o noasan/$@; \
755 else true; fi
756 $(COMPILE.c) $(srcdir)/dwarfnames.c $(OUTPUT_OPTION)
758 ./dyn-string.$(objext): $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
759 $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
760 if [ x"$(PICFLAG)" != x ]; then \
761 $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \
762 else true; fi
763 if [ x"$(NOASANFLAG)" != x ]; then \
764 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dyn-string.c -o noasan/$@; \
765 else true; fi
766 $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION)
768 ./fdmatch.$(objext): $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \
769 $(INCDIR)/libiberty.h
770 if [ x"$(PICFLAG)" != x ]; then \
771 $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \
772 else true; fi
773 if [ x"$(NOASANFLAG)" != x ]; then \
774 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fdmatch.c -o noasan/$@; \
775 else true; fi
776 $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION)
778 ./ffs.$(objext): $(srcdir)/ffs.c
779 if [ x"$(PICFLAG)" != x ]; then \
780 $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \
781 else true; fi
782 if [ x"$(NOASANFLAG)" != x ]; then \
783 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/ffs.c -o noasan/$@; \
784 else true; fi
785 $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION)
787 ./fibheap.$(objext): $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
788 $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h
789 if [ x"$(PICFLAG)" != x ]; then \
790 $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \
791 else true; fi
792 if [ x"$(NOASANFLAG)" != x ]; then \
793 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fibheap.c -o noasan/$@; \
794 else true; fi
795 $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION)
797 ./filedescriptor.$(objext): $(srcdir)/filedescriptor.c config.h $(INCDIR)/ansidecl.h \
798 $(INCDIR)/libiberty.h
799 if [ x"$(PICFLAG)" != x ]; then \
800 $(COMPILE.c) $(PICFLAG) $(srcdir)/filedescriptor.c -o pic/$@; \
801 else true; fi
802 if [ x"$(NOASANFLAG)" != x ]; then \
803 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/filedescriptor.c -o noasan/$@; \
804 else true; fi
805 $(COMPILE.c) $(srcdir)/filedescriptor.c $(OUTPUT_OPTION)
808 ./filename_cmp.$(objext): $(srcdir)/filename_cmp.c config.h $(INCDIR)/ansidecl.h \
809 $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
810 $(INCDIR)/safe-ctype.h
811 if [ x"$(PICFLAG)" != x ]; then \
812 $(COMPILE.c) $(PICFLAG) $(srcdir)/filename_cmp.c -o pic/$@; \
813 else true; fi
814 if [ x"$(NOASANFLAG)" != x ]; then \
815 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/filename_cmp.c -o noasan/$@; \
816 else true; fi
817 $(COMPILE.c) $(srcdir)/filename_cmp.c $(OUTPUT_OPTION)
819 ./floatformat.$(objext): $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
820 $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
821 if [ x"$(PICFLAG)" != x ]; then \
822 $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \
823 else true; fi
824 if [ x"$(NOASANFLAG)" != x ]; then \
825 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/floatformat.c -o noasan/$@; \
826 else true; fi
827 $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION)
829 ./fnmatch.$(objext): $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
830 $(INCDIR)/safe-ctype.h
831 if [ x"$(PICFLAG)" != x ]; then \
832 $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \
833 else true; fi
834 if [ x"$(NOASANFLAG)" != x ]; then \
835 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fnmatch.c -o noasan/$@; \
836 else true; fi
837 $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION)
839 ./fopen_unlocked.$(objext): $(srcdir)/fopen_unlocked.c config.h \
840 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
841 if [ x"$(PICFLAG)" != x ]; then \
842 $(COMPILE.c) $(PICFLAG) $(srcdir)/fopen_unlocked.c -o pic/$@; \
843 else true; fi
844 if [ x"$(NOASANFLAG)" != x ]; then \
845 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fopen_unlocked.c -o noasan/$@; \
846 else true; fi
847 $(COMPILE.c) $(srcdir)/fopen_unlocked.c $(OUTPUT_OPTION)
849 ./getcwd.$(objext): $(srcdir)/getcwd.c config.h
850 if [ x"$(PICFLAG)" != x ]; then \
851 $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \
852 else true; fi
853 if [ x"$(NOASANFLAG)" != x ]; then \
854 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getcwd.c -o noasan/$@; \
855 else true; fi
856 $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION)
858 ./getopt.$(objext): $(srcdir)/getopt.c config.h $(INCDIR)/ansidecl.h \
859 $(INCDIR)/getopt.h
860 if [ x"$(PICFLAG)" != x ]; then \
861 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \
862 else true; fi
863 if [ x"$(NOASANFLAG)" != x ]; then \
864 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt.c -o noasan/$@; \
865 else true; fi
866 $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION)
868 ./getopt1.$(objext): $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h
869 if [ x"$(PICFLAG)" != x ]; then \
870 $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \
871 else true; fi
872 if [ x"$(NOASANFLAG)" != x ]; then \
873 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt1.c -o noasan/$@; \
874 else true; fi
875 $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION)
877 ./getpagesize.$(objext): $(srcdir)/getpagesize.c config.h
878 if [ x"$(PICFLAG)" != x ]; then \
879 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \
880 else true; fi
881 if [ x"$(NOASANFLAG)" != x ]; then \
882 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpagesize.c -o noasan/$@; \
883 else true; fi
884 $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION)
886 ./getpwd.$(objext): $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
887 $(INCDIR)/libiberty.h
888 if [ x"$(PICFLAG)" != x ]; then \
889 $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \
890 else true; fi
891 if [ x"$(NOASANFLAG)" != x ]; then \
892 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpwd.c -o noasan/$@; \
893 else true; fi
894 $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION)
896 ./getruntime.$(objext): $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
897 $(INCDIR)/libiberty.h
898 if [ x"$(PICFLAG)" != x ]; then \
899 $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \
900 else true; fi
901 if [ x"$(NOASANFLAG)" != x ]; then \
902 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getruntime.c -o noasan/$@; \
903 else true; fi
904 $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION)
906 ./gettimeofday.$(objext): $(srcdir)/gettimeofday.c config.h $(INCDIR)/ansidecl.h \
907 $(INCDIR)/libiberty.h
908 if [ x"$(PICFLAG)" != x ]; then \
909 $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \
910 else true; fi
911 if [ x"$(NOASANFLAG)" != x ]; then \
912 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/gettimeofday.c -o noasan/$@; \
913 else true; fi
914 $(COMPILE.c) $(srcdir)/gettimeofday.c $(OUTPUT_OPTION)
916 ./hashtab.$(objext): $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
917 $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
918 if [ x"$(PICFLAG)" != x ]; then \
919 $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \
920 else true; fi
921 if [ x"$(NOASANFLAG)" != x ]; then \
922 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hashtab.c -o noasan/$@; \
923 else true; fi
924 $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION)
926 ./hex.$(objext): $(srcdir)/hex.c config.h $(INCDIR)/ansidecl.h \
927 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
928 if [ x"$(PICFLAG)" != x ]; then \
929 $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \
930 else true; fi
931 if [ x"$(NOASANFLAG)" != x ]; then \
932 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hex.c -o noasan/$@; \
933 else true; fi
934 $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION)
936 ./index.$(objext): $(srcdir)/index.c
937 if [ x"$(PICFLAG)" != x ]; then \
938 $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \
939 else true; fi
940 if [ x"$(NOASANFLAG)" != x ]; then \
941 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/index.c -o noasan/$@; \
942 else true; fi
943 $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION)
945 ./insque.$(objext): $(srcdir)/insque.c
946 if [ x"$(PICFLAG)" != x ]; then \
947 $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \
948 else true; fi
949 if [ x"$(NOASANFLAG)" != x ]; then \
950 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/insque.c -o noasan/$@; \
951 else true; fi
952 $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION)
954 ./lbasename.$(objext): $(srcdir)/lbasename.c config.h $(INCDIR)/ansidecl.h \
955 $(INCDIR)/filenames.h $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h \
956 $(INCDIR)/safe-ctype.h
957 if [ x"$(PICFLAG)" != x ]; then \
958 $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \
959 else true; fi
960 if [ x"$(NOASANFLAG)" != x ]; then \
961 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lbasename.c -o noasan/$@; \
962 else true; fi
963 $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION)
965 ./lrealpath.$(objext): $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
966 $(INCDIR)/libiberty.h
967 if [ x"$(PICFLAG)" != x ]; then \
968 $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \
969 else true; fi
970 if [ x"$(NOASANFLAG)" != x ]; then \
971 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lrealpath.c -o noasan/$@; \
972 else true; fi
973 $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION)
975 ./make-relative-prefix.$(objext): $(srcdir)/make-relative-prefix.c config.h \
976 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
977 if [ x"$(PICFLAG)" != x ]; then \
978 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \
979 else true; fi
980 if [ x"$(NOASANFLAG)" != x ]; then \
981 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-relative-prefix.c -o noasan/$@; \
982 else true; fi
983 $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION)
985 ./make-temp-file.$(objext): $(srcdir)/make-temp-file.c config.h \
986 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
987 if [ x"$(PICFLAG)" != x ]; then \
988 $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \
989 else true; fi
990 if [ x"$(NOASANFLAG)" != x ]; then \
991 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-temp-file.c -o noasan/$@; \
992 else true; fi
993 $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION)
995 ./md5.$(objext): $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
996 if [ x"$(PICFLAG)" != x ]; then \
997 $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \
998 else true; fi
999 if [ x"$(NOASANFLAG)" != x ]; then \
1000 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/md5.c -o noasan/$@; \
1001 else true; fi
1002 $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION)
1004 ./memchr.$(objext): $(srcdir)/memchr.c $(INCDIR)/ansidecl.h
1005 if [ x"$(PICFLAG)" != x ]; then \
1006 $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \
1007 else true; fi
1008 if [ x"$(NOASANFLAG)" != x ]; then \
1009 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memchr.c -o noasan/$@; \
1010 else true; fi
1011 $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION)
1013 ./memcmp.$(objext): $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h
1014 if [ x"$(PICFLAG)" != x ]; then \
1015 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \
1016 else true; fi
1017 if [ x"$(NOASANFLAG)" != x ]; then \
1018 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcmp.c -o noasan/$@; \
1019 else true; fi
1020 $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION)
1022 ./memcpy.$(objext): $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h
1023 if [ x"$(PICFLAG)" != x ]; then \
1024 $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \
1025 else true; fi
1026 if [ x"$(NOASANFLAG)" != x ]; then \
1027 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcpy.c -o noasan/$@; \
1028 else true; fi
1029 $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION)
1031 ./memmem.$(objext): $(srcdir)/memmem.c config.h
1032 if [ x"$(PICFLAG)" != x ]; then \
1033 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmem.c -o pic/$@; \
1034 else true; fi
1035 if [ x"$(NOASANFLAG)" != x ]; then \
1036 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmem.c -o noasan/$@; \
1037 else true; fi
1038 $(COMPILE.c) $(srcdir)/memmem.c $(OUTPUT_OPTION)
1040 ./memmove.$(objext): $(srcdir)/memmove.c $(INCDIR)/ansidecl.h
1041 if [ x"$(PICFLAG)" != x ]; then \
1042 $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \
1043 else true; fi
1044 if [ x"$(NOASANFLAG)" != x ]; then \
1045 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmove.c -o noasan/$@; \
1046 else true; fi
1047 $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION)
1049 ./mempcpy.$(objext): $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h
1050 if [ x"$(PICFLAG)" != x ]; then \
1051 $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \
1052 else true; fi
1053 if [ x"$(NOASANFLAG)" != x ]; then \
1054 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mempcpy.c -o noasan/$@; \
1055 else true; fi
1056 $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION)
1058 ./memset.$(objext): $(srcdir)/memset.c $(INCDIR)/ansidecl.h
1059 if [ x"$(PICFLAG)" != x ]; then \
1060 $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \
1061 else true; fi
1062 if [ x"$(NOASANFLAG)" != x ]; then \
1063 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memset.c -o noasan/$@; \
1064 else true; fi
1065 $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION)
1067 ./mkstemps.$(objext): $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h
1068 if [ x"$(PICFLAG)" != x ]; then \
1069 $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \
1070 else true; fi
1071 if [ x"$(NOASANFLAG)" != x ]; then \
1072 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mkstemps.c -o noasan/$@; \
1073 else true; fi
1074 $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION)
1076 ./msdos.$(objext): $(srcdir)/msdos.c
1077 if [ x"$(PICFLAG)" != x ]; then \
1078 $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \
1079 else true; fi
1080 if [ x"$(NOASANFLAG)" != x ]; then \
1081 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/msdos.c -o noasan/$@; \
1082 else true; fi
1083 $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION)
1085 ./objalloc.$(objext): $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \
1086 $(INCDIR)/objalloc.h
1087 if [ x"$(PICFLAG)" != x ]; then \
1088 $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \
1089 else true; fi
1090 if [ x"$(NOASANFLAG)" != x ]; then \
1091 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/objalloc.c -o noasan/$@; \
1092 else true; fi
1093 $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION)
1095 ./obstack.$(objext): $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h
1096 if [ x"$(PICFLAG)" != x ]; then \
1097 $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \
1098 else true; fi
1099 if [ x"$(NOASANFLAG)" != x ]; then \
1100 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/obstack.c -o noasan/$@; \
1101 else true; fi
1102 $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION)
1104 ./partition.$(objext): $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \
1105 $(INCDIR)/libiberty.h $(INCDIR)/partition.h
1106 if [ x"$(PICFLAG)" != x ]; then \
1107 $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \
1108 else true; fi
1109 if [ x"$(NOASANFLAG)" != x ]; then \
1110 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/partition.c -o noasan/$@; \
1111 else true; fi
1112 $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION)
1114 ./pex-common.$(objext): $(srcdir)/pex-common.c config.h $(INCDIR)/ansidecl.h \
1115 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1116 if [ x"$(PICFLAG)" != x ]; then \
1117 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-common.c -o pic/$@; \
1118 else true; fi
1119 if [ x"$(NOASANFLAG)" != x ]; then \
1120 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-common.c -o noasan/$@; \
1121 else true; fi
1122 $(COMPILE.c) $(srcdir)/pex-common.c $(OUTPUT_OPTION)
1124 ./pex-djgpp.$(objext): $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \
1125 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1126 if [ x"$(PICFLAG)" != x ]; then \
1127 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \
1128 else true; fi
1129 if [ x"$(NOASANFLAG)" != x ]; then \
1130 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-djgpp.c -o noasan/$@; \
1131 else true; fi
1132 $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION)
1134 ./pex-msdos.$(objext): $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \
1135 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \
1136 $(INCDIR)/safe-ctype.h
1137 if [ x"$(PICFLAG)" != x ]; then \
1138 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \
1139 else true; fi
1140 if [ x"$(NOASANFLAG)" != x ]; then \
1141 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-msdos.c -o noasan/$@; \
1142 else true; fi
1143 $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION)
1145 ./pex-one.$(objext): $(srcdir)/pex-one.c config.h $(INCDIR)/ansidecl.h \
1146 $(INCDIR)/libiberty.h
1147 if [ x"$(PICFLAG)" != x ]; then \
1148 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-one.c -o pic/$@; \
1149 else true; fi
1150 if [ x"$(NOASANFLAG)" != x ]; then \
1151 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-one.c -o noasan/$@; \
1152 else true; fi
1153 $(COMPILE.c) $(srcdir)/pex-one.c $(OUTPUT_OPTION)
1155 ./pex-unix.$(objext): $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \
1156 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1157 if [ x"$(PICFLAG)" != x ]; then \
1158 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \
1159 else true; fi
1160 if [ x"$(NOASANFLAG)" != x ]; then \
1161 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-unix.c -o noasan/$@; \
1162 else true; fi
1163 $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION)
1165 ./pex-win32.$(objext): $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \
1166 $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
1167 if [ x"$(PICFLAG)" != x ]; then \
1168 $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \
1169 else true; fi
1170 if [ x"$(NOASANFLAG)" != x ]; then \
1171 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-win32.c -o noasan/$@; \
1172 else true; fi
1173 $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION)
1175 ./pexecute.$(objext): $(srcdir)/pexecute.c config.h $(INCDIR)/ansidecl.h \
1176 $(INCDIR)/libiberty.h
1177 if [ x"$(PICFLAG)" != x ]; then \
1178 $(COMPILE.c) $(PICFLAG) $(srcdir)/pexecute.c -o pic/$@; \
1179 else true; fi
1180 if [ x"$(NOASANFLAG)" != x ]; then \
1181 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pexecute.c -o noasan/$@; \
1182 else true; fi
1183 $(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION)
1185 ./physmem.$(objext): $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
1186 $(INCDIR)/libiberty.h
1187 if [ x"$(PICFLAG)" != x ]; then \
1188 $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \
1189 else true; fi
1190 if [ x"$(NOASANFLAG)" != x ]; then \
1191 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/physmem.c -o noasan/$@; \
1192 else true; fi
1193 $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION)
1195 ./putenv.$(objext): $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h
1196 if [ x"$(PICFLAG)" != x ]; then \
1197 $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \
1198 else true; fi
1199 if [ x"$(NOASANFLAG)" != x ]; then \
1200 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/putenv.c -o noasan/$@; \
1201 else true; fi
1202 $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION)
1204 ./random.$(objext): $(srcdir)/random.c $(INCDIR)/ansidecl.h
1205 if [ x"$(PICFLAG)" != x ]; then \
1206 $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \
1207 else true; fi
1208 if [ x"$(NOASANFLAG)" != x ]; then \
1209 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/random.c -o noasan/$@; \
1210 else true; fi
1211 $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION)
1213 ./regex.$(objext): $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h \
1214 $(INCDIR)/xregex.h $(INCDIR)/xregex2.h
1215 if [ x"$(PICFLAG)" != x ]; then \
1216 $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \
1217 else true; fi
1218 if [ x"$(NOASANFLAG)" != x ]; then \
1219 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/regex.c -o noasan/$@; \
1220 else true; fi
1221 $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION)
1223 ./rename.$(objext): $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h
1224 if [ x"$(PICFLAG)" != x ]; then \
1225 $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \
1226 else true; fi
1227 if [ x"$(NOASANFLAG)" != x ]; then \
1228 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rename.c -o noasan/$@; \
1229 else true; fi
1230 $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION)
1232 ./rindex.$(objext): $(srcdir)/rindex.c
1233 if [ x"$(PICFLAG)" != x ]; then \
1234 $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \
1235 else true; fi
1236 if [ x"$(NOASANFLAG)" != x ]; then \
1237 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rindex.c -o noasan/$@; \
1238 else true; fi
1239 $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION)
1241 ./rust-demangle.$(objext): $(srcdir)/rust-demangle.c config.h \
1242 $(INCDIR)/ansidecl.h $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
1243 $(INCDIR)/safe-ctype.h
1244 if [ x"$(PICFLAG)" != x ]; then \
1245 $(COMPILE.c) $(PICFLAG) $(srcdir)/rust-demangle.c -o pic/$@; \
1246 else true; fi
1247 if [ x"$(NOASANFLAG)" != x ]; then \
1248 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rust-demangle.c -o noasan/$@; \
1249 else true; fi
1250 $(COMPILE.c) $(srcdir)/rust-demangle.c $(OUTPUT_OPTION)
1252 ./safe-ctype.$(objext): $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
1253 $(INCDIR)/safe-ctype.h
1254 if [ x"$(PICFLAG)" != x ]; then \
1255 $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \
1256 else true; fi
1257 if [ x"$(NOASANFLAG)" != x ]; then \
1258 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/safe-ctype.c -o noasan/$@; \
1259 else true; fi
1260 $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION)
1262 ./setenv.$(objext): $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h
1263 if [ x"$(PICFLAG)" != x ]; then \
1264 $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \
1265 else true; fi
1266 if [ x"$(NOASANFLAG)" != x ]; then \
1267 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setenv.c -o noasan/$@; \
1268 else true; fi
1269 $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION)
1271 ./setproctitle.$(objext): $(srcdir)/setproctitle.c config.h $(INCDIR)/ansidecl.h
1272 if [ x"$(PICFLAG)" != x ]; then \
1273 $(COMPILE.c) $(PICFLAG) $(srcdir)/setproctitle.c -o pic/$@; \
1274 else true; fi
1275 if [ x"$(NOASANFLAG)" != x ]; then \
1276 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setproctitle.c -o noasan/$@; \
1277 else true; fi
1278 $(COMPILE.c) $(srcdir)/setproctitle.c $(OUTPUT_OPTION)
1280 ./sha1.$(objext): $(srcdir)/sha1.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/sha1.h
1281 if [ x"$(PICFLAG)" != x ]; then \
1282 $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \
1283 else true; fi
1284 if [ x"$(NOASANFLAG)" != x ]; then \
1285 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sha1.c -o noasan/$@; \
1286 else true; fi
1287 $(COMPILE.c) $(srcdir)/sha1.c $(OUTPUT_OPTION)
1289 ./sigsetmask.$(objext): $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
1290 if [ x"$(PICFLAG)" != x ]; then \
1291 $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \
1292 else true; fi
1293 if [ x"$(NOASANFLAG)" != x ]; then \
1294 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sigsetmask.c -o noasan/$@; \
1295 else true; fi
1296 $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
1298 ./simple-object-coff.$(objext): $(srcdir)/simple-object-coff.c config.h \
1299 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1300 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1301 if [ x"$(PICFLAG)" != x ]; then \
1302 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-coff.c -o pic/$@; \
1303 else true; fi
1304 if [ x"$(NOASANFLAG)" != x ]; then \
1305 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-coff.c -o noasan/$@; \
1306 else true; fi
1307 $(COMPILE.c) $(srcdir)/simple-object-coff.c $(OUTPUT_OPTION)
1309 ./simple-object-elf.$(objext): $(srcdir)/simple-object-elf.c config.h \
1310 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1311 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1312 if [ x"$(PICFLAG)" != x ]; then \
1313 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-elf.c -o pic/$@; \
1314 else true; fi
1315 if [ x"$(NOASANFLAG)" != x ]; then \
1316 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-elf.c -o noasan/$@; \
1317 else true; fi
1318 $(COMPILE.c) $(srcdir)/simple-object-elf.c $(OUTPUT_OPTION)
1320 ./simple-object-mach-o.$(objext): $(srcdir)/simple-object-mach-o.c config.h \
1321 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1322 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1323 if [ x"$(PICFLAG)" != x ]; then \
1324 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-mach-o.c -o pic/$@; \
1325 else true; fi
1326 if [ x"$(NOASANFLAG)" != x ]; then \
1327 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-mach-o.c -o noasan/$@; \
1328 else true; fi
1329 $(COMPILE.c) $(srcdir)/simple-object-mach-o.c $(OUTPUT_OPTION)
1331 ./simple-object-xcoff.$(objext): $(srcdir)/simple-object-xcoff.c config.h \
1332 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1333 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1334 if [ x"$(PICFLAG)" != x ]; then \
1335 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-xcoff.c -o pic/$@; \
1336 else true; fi
1337 if [ x"$(NOASANFLAG)" != x ]; then \
1338 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-xcoff.c -o noasan/$@; \
1339 else true; fi
1340 $(COMPILE.c) $(srcdir)/simple-object-xcoff.c $(OUTPUT_OPTION)
1342 ./simple-object.$(objext): $(srcdir)/simple-object.c config.h \
1343 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
1344 $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
1345 if [ x"$(PICFLAG)" != x ]; then \
1346 $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object.c -o pic/$@; \
1347 else true; fi
1348 if [ x"$(NOASANFLAG)" != x ]; then \
1349 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object.c -o noasan/$@; \
1350 else true; fi
1351 $(COMPILE.c) $(srcdir)/simple-object.c $(OUTPUT_OPTION)
1353 ./snprintf.$(objext): $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
1354 if [ x"$(PICFLAG)" != x ]; then \
1355 $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
1356 else true; fi
1357 if [ x"$(NOASANFLAG)" != x ]; then \
1358 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/snprintf.c -o noasan/$@; \
1359 else true; fi
1360 $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
1362 ./sort.$(objext): $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h \
1363 $(INCDIR)/libiberty.h $(INCDIR)/sort.h
1364 if [ x"$(PICFLAG)" != x ]; then \
1365 $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \
1366 else true; fi
1367 if [ x"$(NOASANFLAG)" != x ]; then \
1368 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sort.c -o noasan/$@; \
1369 else true; fi
1370 $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION)
1372 ./spaces.$(objext): $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \
1373 $(INCDIR)/libiberty.h
1374 if [ x"$(PICFLAG)" != x ]; then \
1375 $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \
1376 else true; fi
1377 if [ x"$(NOASANFLAG)" != x ]; then \
1378 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/spaces.c -o noasan/$@; \
1379 else true; fi
1380 $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION)
1382 ./splay-tree.$(objext): $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
1383 $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
1384 if [ x"$(PICFLAG)" != x ]; then \
1385 $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \
1386 else true; fi
1387 if [ x"$(NOASANFLAG)" != x ]; then \
1388 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/splay-tree.c -o noasan/$@; \
1389 else true; fi
1390 $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
1392 ./stack-limit.$(objext): $(srcdir)/stack-limit.c config.h $(INCDIR)/ansidecl.h
1393 if [ x"$(PICFLAG)" != x ]; then \
1394 $(COMPILE.c) $(PICFLAG) $(srcdir)/stack-limit.c -o pic/$@; \
1395 else true; fi
1396 if [ x"$(NOASANFLAG)" != x ]; then \
1397 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stack-limit.c -o noasan/$@; \
1398 else true; fi
1399 $(COMPILE.c) $(srcdir)/stack-limit.c $(OUTPUT_OPTION)
1401 ./stpcpy.$(objext): $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
1402 if [ x"$(PICFLAG)" != x ]; then \
1403 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
1404 else true; fi
1405 if [ x"$(NOASANFLAG)" != x ]; then \
1406 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpcpy.c -o noasan/$@; \
1407 else true; fi
1408 $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION)
1410 ./stpncpy.$(objext): $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
1411 if [ x"$(PICFLAG)" != x ]; then \
1412 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \
1413 else true; fi
1414 if [ x"$(NOASANFLAG)" != x ]; then \
1415 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpncpy.c -o noasan/$@; \
1416 else true; fi
1417 $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
1419 ./strcasecmp.$(objext): $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
1420 if [ x"$(PICFLAG)" != x ]; then \
1421 $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \
1422 else true; fi
1423 if [ x"$(NOASANFLAG)" != x ]; then \
1424 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strcasecmp.c -o noasan/$@; \
1425 else true; fi
1426 $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION)
1428 ./strchr.$(objext): $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
1429 if [ x"$(PICFLAG)" != x ]; then \
1430 $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \
1431 else true; fi
1432 if [ x"$(NOASANFLAG)" != x ]; then \
1433 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strchr.c -o noasan/$@; \
1434 else true; fi
1435 $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION)
1437 ./strdup.$(objext): $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
1438 if [ x"$(PICFLAG)" != x ]; then \
1439 $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \
1440 else true; fi
1441 if [ x"$(NOASANFLAG)" != x ]; then \
1442 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strdup.c -o noasan/$@; \
1443 else true; fi
1444 $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION)
1446 ./strerror.$(objext): $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
1447 $(INCDIR)/libiberty.h
1448 if [ x"$(PICFLAG)" != x ]; then \
1449 $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \
1450 else true; fi
1451 if [ x"$(NOASANFLAG)" != x ]; then \
1452 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strerror.c -o noasan/$@; \
1453 else true; fi
1454 $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION)
1456 ./strncasecmp.$(objext): $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
1457 if [ x"$(PICFLAG)" != x ]; then \
1458 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \
1459 else true; fi
1460 if [ x"$(NOASANFLAG)" != x ]; then \
1461 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncasecmp.c -o noasan/$@; \
1462 else true; fi
1463 $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION)
1465 ./strncmp.$(objext): $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
1466 if [ x"$(PICFLAG)" != x ]; then \
1467 $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \
1468 else true; fi
1469 if [ x"$(NOASANFLAG)" != x ]; then \
1470 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncmp.c -o noasan/$@; \
1471 else true; fi
1472 $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION)
1474 ./strndup.$(objext): $(srcdir)/strndup.c $(INCDIR)/ansidecl.h
1475 if [ x"$(PICFLAG)" != x ]; then \
1476 $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \
1477 else true; fi
1478 if [ x"$(NOASANFLAG)" != x ]; then \
1479 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strndup.c -o noasan/$@; \
1480 else true; fi
1481 $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION)
1483 ./strnlen.$(objext): $(srcdir)/strnlen.c config.h
1484 if [ x"$(PICFLAG)" != x ]; then \
1485 $(COMPILE.c) $(PICFLAG) $(srcdir)/strnlen.c -o pic/$@; \
1486 else true; fi
1487 if [ x"$(NOASANFLAG)" != x ]; then \
1488 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strnlen.c -o noasan/$@; \
1489 else true; fi
1490 $(COMPILE.c) $(srcdir)/strnlen.c $(OUTPUT_OPTION)
1492 ./strrchr.$(objext): $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
1493 if [ x"$(PICFLAG)" != x ]; then \
1494 $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \
1495 else true; fi
1496 if [ x"$(NOASANFLAG)" != x ]; then \
1497 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strrchr.c -o noasan/$@; \
1498 else true; fi
1499 $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION)
1501 ./strsignal.$(objext): $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
1502 $(INCDIR)/libiberty.h
1503 if [ x"$(PICFLAG)" != x ]; then \
1504 $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \
1505 else true; fi
1506 if [ x"$(NOASANFLAG)" != x ]; then \
1507 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strsignal.c -o noasan/$@; \
1508 else true; fi
1509 $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION)
1511 ./strstr.$(objext): $(srcdir)/strstr.c
1512 if [ x"$(PICFLAG)" != x ]; then \
1513 $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \
1514 else true; fi
1515 if [ x"$(NOASANFLAG)" != x ]; then \
1516 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strstr.c -o noasan/$@; \
1517 else true; fi
1518 $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION)
1520 ./strtod.$(objext): $(srcdir)/strtod.c $(INCDIR)/ansidecl.h \
1521 $(INCDIR)/safe-ctype.h
1522 if [ x"$(PICFLAG)" != x ]; then \
1523 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \
1524 else true; fi
1525 if [ x"$(NOASANFLAG)" != x ]; then \
1526 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtod.c -o noasan/$@; \
1527 else true; fi
1528 $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION)
1530 ./strtol.$(objext): $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
1531 if [ x"$(PICFLAG)" != x ]; then \
1532 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \
1533 else true; fi
1534 if [ x"$(NOASANFLAG)" != x ]; then \
1535 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtol.c -o noasan/$@; \
1536 else true; fi
1537 $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION)
1539 ./strtoll.$(objext): $(srcdir)/strtoll.c config.h $(INCDIR)/safe-ctype.h
1540 if [ x"$(PICFLAG)" != x ]; then \
1541 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoll.c -o pic/$@; \
1542 else true; fi
1543 if [ x"$(NOASANFLAG)" != x ]; then \
1544 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoll.c -o noasan/$@; \
1545 else true; fi
1546 $(COMPILE.c) $(srcdir)/strtoll.c $(OUTPUT_OPTION)
1548 ./strtoul.$(objext): $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
1549 $(INCDIR)/safe-ctype.h
1550 if [ x"$(PICFLAG)" != x ]; then \
1551 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \
1552 else true; fi
1553 if [ x"$(NOASANFLAG)" != x ]; then \
1554 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoul.c -o noasan/$@; \
1555 else true; fi
1556 $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION)
1558 ./strtoull.$(objext): $(srcdir)/strtoull.c config.h $(INCDIR)/ansidecl.h \
1559 $(INCDIR)/safe-ctype.h
1560 if [ x"$(PICFLAG)" != x ]; then \
1561 $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoull.c -o pic/$@; \
1562 else true; fi
1563 if [ x"$(NOASANFLAG)" != x ]; then \
1564 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoull.c -o noasan/$@; \
1565 else true; fi
1566 $(COMPILE.c) $(srcdir)/strtoull.c $(OUTPUT_OPTION)
1568 ./strverscmp.$(objext): $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h \
1569 $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
1570 if [ x"$(PICFLAG)" != x ]; then \
1571 $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \
1572 else true; fi
1573 if [ x"$(NOASANFLAG)" != x ]; then \
1574 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strverscmp.c -o noasan/$@; \
1575 else true; fi
1576 $(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION)
1578 ./timeval-utils.$(objext): $(srcdir)/timeval-utils.c config.h \
1579 $(INCDIR)/timeval-utils.h
1580 if [ x"$(PICFLAG)" != x ]; then \
1581 $(COMPILE.c) $(PICFLAG) $(srcdir)/timeval-utils.c -o pic/$@; \
1582 else true; fi
1583 if [ x"$(NOASANFLAG)" != x ]; then \
1584 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/timeval-utils.c -o noasan/$@; \
1585 else true; fi
1586 $(COMPILE.c) $(srcdir)/timeval-utils.c $(OUTPUT_OPTION)
1588 ./tmpnam.$(objext): $(srcdir)/tmpnam.c
1589 if [ x"$(PICFLAG)" != x ]; then \
1590 $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \
1591 else true; fi
1592 if [ x"$(NOASANFLAG)" != x ]; then \
1593 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/tmpnam.c -o noasan/$@; \
1594 else true; fi
1595 $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION)
1597 ./unlink-if-ordinary.$(objext): $(srcdir)/unlink-if-ordinary.c config.h \
1598 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1599 if [ x"$(PICFLAG)" != x ]; then \
1600 $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \
1601 else true; fi
1602 if [ x"$(NOASANFLAG)" != x ]; then \
1603 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/unlink-if-ordinary.c -o noasan/$@; \
1604 else true; fi
1605 $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION)
1607 ./vasprintf.$(objext): $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
1608 $(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h
1609 if [ x"$(PICFLAG)" != x ]; then \
1610 $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \
1611 else true; fi
1612 if [ x"$(NOASANFLAG)" != x ]; then \
1613 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vasprintf.c -o noasan/$@; \
1614 else true; fi
1615 $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION)
1617 ./vfork.$(objext): $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
1618 if [ x"$(PICFLAG)" != x ]; then \
1619 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \
1620 else true; fi
1621 if [ x"$(NOASANFLAG)" != x ]; then \
1622 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfork.c -o noasan/$@; \
1623 else true; fi
1624 $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION)
1626 ./vfprintf.$(objext): $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
1627 if [ x"$(PICFLAG)" != x ]; then \
1628 $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \
1629 else true; fi
1630 if [ x"$(NOASANFLAG)" != x ]; then \
1631 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfprintf.c -o noasan/$@; \
1632 else true; fi
1633 $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION)
1635 ./vprintf-support.$(objext): $(srcdir)/vprintf-support.c config.h \
1636 $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
1637 if [ x"$(PICFLAG)" != x ]; then \
1638 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf-support.c -o pic/$@; \
1639 else true; fi
1640 if [ x"$(NOASANFLAG)" != x ]; then \
1641 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf-support.c -o noasan/$@; \
1642 else true; fi
1643 $(COMPILE.c) $(srcdir)/vprintf-support.c $(OUTPUT_OPTION)
1645 ./vprintf.$(objext): $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
1646 if [ x"$(PICFLAG)" != x ]; then \
1647 $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \
1648 else true; fi
1649 if [ x"$(NOASANFLAG)" != x ]; then \
1650 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf.c -o noasan/$@; \
1651 else true; fi
1652 $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION)
1654 ./vsnprintf.$(objext): $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
1655 $(INCDIR)/libiberty.h
1656 if [ x"$(PICFLAG)" != x ]; then \
1657 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \
1658 else true; fi
1659 if [ x"$(NOASANFLAG)" != x ]; then \
1660 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsnprintf.c -o noasan/$@; \
1661 else true; fi
1662 $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION)
1664 ./vsprintf.$(objext): $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
1665 if [ x"$(PICFLAG)" != x ]; then \
1666 $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \
1667 else true; fi
1668 if [ x"$(NOASANFLAG)" != x ]; then \
1669 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsprintf.c -o noasan/$@; \
1670 else true; fi
1671 $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION)
1673 ./waitpid.$(objext): $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h
1674 if [ x"$(PICFLAG)" != x ]; then \
1675 $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \
1676 else true; fi
1677 if [ x"$(NOASANFLAG)" != x ]; then \
1678 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/waitpid.c -o noasan/$@; \
1679 else true; fi
1680 $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION)
1682 ./xasprintf.$(objext): $(srcdir)/xasprintf.c config.h $(INCDIR)/ansidecl.h \
1683 $(INCDIR)/libiberty.h
1684 if [ x"$(PICFLAG)" != x ]; then \
1685 $(COMPILE.c) $(PICFLAG) $(srcdir)/xasprintf.c -o pic/$@; \
1686 else true; fi
1687 if [ x"$(NOASANFLAG)" != x ]; then \
1688 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xasprintf.c -o noasan/$@; \
1689 else true; fi
1690 $(COMPILE.c) $(srcdir)/xasprintf.c $(OUTPUT_OPTION)
1692 ./xatexit.$(objext): $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \
1693 $(INCDIR)/libiberty.h
1694 if [ x"$(PICFLAG)" != x ]; then \
1695 $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \
1696 else true; fi
1697 if [ x"$(NOASANFLAG)" != x ]; then \
1698 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xatexit.c -o noasan/$@; \
1699 else true; fi
1700 $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION)
1702 ./xexit.$(objext): $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h \
1703 $(INCDIR)/libiberty.h
1704 if [ x"$(PICFLAG)" != x ]; then \
1705 $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \
1706 else true; fi
1707 if [ x"$(NOASANFLAG)" != x ]; then \
1708 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xexit.c -o noasan/$@; \
1709 else true; fi
1710 $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION)
1712 ./xmalloc.$(objext): $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
1713 $(INCDIR)/libiberty.h
1714 if [ x"$(PICFLAG)" != x ]; then \
1715 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \
1716 else true; fi
1717 if [ x"$(NOASANFLAG)" != x ]; then \
1718 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmalloc.c -o noasan/$@; \
1719 else true; fi
1720 $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION)
1722 ./xmemdup.$(objext): $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
1723 $(INCDIR)/libiberty.h
1724 if [ x"$(PICFLAG)" != x ]; then \
1725 $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \
1726 else true; fi
1727 if [ x"$(NOASANFLAG)" != x ]; then \
1728 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmemdup.c -o noasan/$@; \
1729 else true; fi
1730 $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION)
1732 ./xstrdup.$(objext): $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
1733 $(INCDIR)/libiberty.h
1734 if [ x"$(PICFLAG)" != x ]; then \
1735 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \
1736 else true; fi
1737 if [ x"$(NOASANFLAG)" != x ]; then \
1738 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrdup.c -o noasan/$@; \
1739 else true; fi
1740 $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION)
1742 ./xstrerror.$(objext): $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
1743 $(INCDIR)/libiberty.h
1744 if [ x"$(PICFLAG)" != x ]; then \
1745 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \
1746 else true; fi
1747 if [ x"$(NOASANFLAG)" != x ]; then \
1748 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrerror.c -o noasan/$@; \
1749 else true; fi
1750 $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION)
1752 ./xstrndup.$(objext): $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \
1753 $(INCDIR)/libiberty.h
1754 if [ x"$(PICFLAG)" != x ]; then \
1755 $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \
1756 else true; fi
1757 if [ x"$(NOASANFLAG)" != x ]; then \
1758 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrndup.c -o noasan/$@; \
1759 else true; fi
1760 $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION)
1762 ./xvasprintf.$(objext): $(srcdir)/xvasprintf.c config.h $(INCDIR)/ansidecl.h \
1763 $(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h
1764 if [ x"$(PICFLAG)" != x ]; then \
1765 $(COMPILE.c) $(PICFLAG) $(srcdir)/xvasprintf.c -o pic/$@; \
1766 else true; fi
1767 if [ x"$(NOASANFLAG)" != x ]; then \
1768 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xvasprintf.c -o noasan/$@; \
1769 else true; fi
1770 $(COMPILE.c) $(srcdir)/xvasprintf.c $(OUTPUT_OPTION)