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