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