Debian Codegraph @

libiberty/Makefile.in

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