12a6b7db3Sskrll# Makefile for the libiberty library. 22a6b7db3Sskrll# Originally written by K. Richard Pixley <rich@cygnus.com>. 32a6b7db3Sskrll# 4*e072ec67Schristos# Copyright (C) 1990-2022 Free Software Foundation, Inc. 52a6b7db3Sskrll# 62a6b7db3Sskrll# This file is part of the libiberty library. 72a6b7db3Sskrll# Libiberty is free software; you can redistribute it and/or 82a6b7db3Sskrll# modify it under the terms of the GNU Library General Public 92a6b7db3Sskrll# License as published by the Free Software Foundation; either 102a6b7db3Sskrll# version 2 of the License, or (at your option) any later version. 112a6b7db3Sskrll# 122a6b7db3Sskrll# Libiberty is distributed in the hope that it will be useful, 132a6b7db3Sskrll# but WITHOUT ANY WARRANTY; without even the implied warranty of 142a6b7db3Sskrll# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 152a6b7db3Sskrll# Library General Public License for more details. 162a6b7db3Sskrll# 172a6b7db3Sskrll# You should have received a copy of the GNU Library General Public 182a6b7db3Sskrll# License along with libiberty; see the file COPYING.LIB. If not, 192a6b7db3Sskrll# write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, 202a6b7db3Sskrll# Boston, MA 02110-1301, USA. 212a6b7db3Sskrll 222a6b7db3Sskrlllibiberty_topdir = @libiberty_topdir@ 232a6b7db3Sskrllsrcdir = @srcdir@ 242a6b7db3Sskrll 252a6b7db3Sskrllprefix = @prefix@ 262a6b7db3Sskrll 272a6b7db3Sskrllexec_prefix = @exec_prefix@ 282a6b7db3Sskrllbindir = @bindir@ 292a6b7db3Sskrlllibdir = @libdir@ 302a6b7db3Sskrllincludedir = @includedir@ 312a6b7db3Sskrlltarget_header_dir = @target_header_dir@ 32*e072ec67Schristosdvidir = @dvidir@ 33b3ac4aedSchristosobjext = @OBJEXT@ 342a6b7db3Sskrll 352a6b7db3SskrllSHELL = @SHELL@ 362a6b7db3Sskrll 372a6b7db3Sskrll# Multilib support variables. 382a6b7db3SskrllMULTISRCTOP = 392a6b7db3SskrllMULTIBUILDTOP = 402a6b7db3SskrllMULTIDIRS = 412a6b7db3SskrllMULTISUBDIR = 422a6b7db3SskrllMULTIDO = true 432a6b7db3SskrllMULTICLEAN = true 442a6b7db3Sskrll 452a6b7db3SskrllINSTALL = @INSTALL@ 462a6b7db3SskrllINSTALL_PROGRAM = @INSTALL_PROGRAM@ 472a6b7db3SskrllINSTALL_DATA = @INSTALL_DATA@ 482a6b7db3Sskrllmkinstalldirs = $(SHELL) $(libiberty_topdir)/mkinstalldirs 492a6b7db3Sskrll 502a6b7db3Sskrll# Some compilers can't handle cc -c blah.c -o foo/blah.o. 512a6b7db3SskrllOUTPUT_OPTION = @OUTPUT_OPTION@ 522a6b7db3Sskrll 53*e072ec67SchristosAR = @AR@ @AR_PLUGIN_OPTION@ 542a6b7db3SskrllAR_FLAGS = rc 552a6b7db3Sskrll 562a6b7db3SskrllCC = @CC@ 572a6b7db3SskrllCFLAGS = @CFLAGS@ 58b3ac4aedSchristosCPPFLAGS = @CPPFLAGS@ 59*e072ec67SchristosRANLIB = @RANLIB@ @RANLIB_PLUGIN_OPTION@ 602a6b7db3SskrllMAKEINFO = @MAKEINFO@ 612a6b7db3SskrllPERL = @PERL@ 622a6b7db3Sskrll 632a6b7db3SskrllPICFLAG = @PICFLAG@ 645ba6b03cSchristosNOASANFLAG = @NOASANFLAG@ 652a6b7db3Sskrll 662a6b7db3SskrllMAKEOVERRIDES = 672a6b7db3Sskrll 682a6b7db3SskrllTARGETLIB = ./libiberty.a 692a6b7db3SskrllTESTLIB = ./testlib.a 702a6b7db3Sskrll 712a6b7db3SskrllLIBOBJS = @LIBOBJS@ 722a6b7db3Sskrll 732a6b7db3Sskrll# A configuration can specify extra .o files that should be included, 742a6b7db3Sskrll# even if they are in libc. (Perhaps the libc version is buggy.) 752a6b7db3SskrllEXTRA_OFILES = 762a6b7db3Sskrll 772a6b7db3Sskrll# Flags to pass to a recursive make. 782a6b7db3SskrllFLAGS_TO_PASS = \ 792a6b7db3Sskrll "AR=$(AR)" \ 802a6b7db3Sskrll "AR_FLAGS=$(AR_FLAGS)" \ 812a6b7db3Sskrll "CC=$(CC)" \ 822a6b7db3Sskrll "CFLAGS=$(CFLAGS)" \ 83b3ac4aedSchristos "CPPFLAGS=$(CPPFLAGS)" \ 842a6b7db3Sskrll "DESTDIR=$(DESTDIR)" \ 852a6b7db3Sskrll "EXTRA_OFILES=$(EXTRA_OFILES)" \ 862a6b7db3Sskrll "HDEFINES=$(HDEFINES)" \ 872a6b7db3Sskrll "INSTALL=$(INSTALL)" \ 882a6b7db3Sskrll "INSTALL_DATA=$(INSTALL_DATA)" \ 892a6b7db3Sskrll "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ 902a6b7db3Sskrll "LDFLAGS=$(LDFLAGS)" \ 912a6b7db3Sskrll "LOADLIBES=$(LOADLIBES)" \ 922a6b7db3Sskrll "RANLIB=$(RANLIB)" \ 932a6b7db3Sskrll "SHELL=$(SHELL)" \ 942a6b7db3Sskrll "prefix=$(prefix)" \ 952a6b7db3Sskrll "exec_prefix=$(exec_prefix)" \ 962a6b7db3Sskrll "libdir=$(libdir)" \ 972a6b7db3Sskrll "libsubdir=$(libsubdir)" \ 982a6b7db3Sskrll "tooldir=$(tooldir)" 992a6b7db3Sskrll 1002a6b7db3Sskrll# Subdirectories to recurse into. We need to override this during cleaning 101ad93aa80SchristosSUBDIRS = # testsuite 1022a6b7db3Sskrll 1032a6b7db3Sskrll# FIXME: add @BUILD_INFO@ once we're sure it works for everyone. 1045ba6b03cSchristosall: stamp-picdir stamp-noasandir $(TARGETLIB) required-list all-subdir 105b3ac4aedSchristos @: $(MAKE) ; $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all 1062a6b7db3Sskrll 1072a6b7db3Sskrll.PHONY: check installcheck 1082a6b7db3Sskrllcheck: check-subdir 1092a6b7db3Sskrllinstallcheck: installcheck-subdir 1102a6b7db3Sskrll 1112a6b7db3Sskrll@host_makefile_frag@ 1122a6b7db3Sskrll 1132a6b7db3SskrllINCDIR=$(srcdir)/$(MULTISRCTOP)../include 1142a6b7db3Sskrll 1155ba6b03cSchristosCOMPILE.c = $(CC) -c @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) \ 116*e072ec67Schristos $(HDEFINES) @ac_libiberty_warn_cflags@ -D_GNU_SOURCE \ 117*e072ec67Schristos @CET_HOST_FLAGS@ 1182a6b7db3Sskrll 1192a6b7db3Sskrll# Just to make sure we don't use a built-in rule with VPATH 120b3ac4aedSchristos.c.$(objext): 1212a6b7db3Sskrll false 1222a6b7db3Sskrll 1232a6b7db3Sskrll# NOTE: If you add new files to the library, add them to this list 1242a6b7db3Sskrll# (alphabetical), and add them to REQUIRED_OFILES, or 1252a6b7db3Sskrll# CONFIGURED_OFILES and funcs in configure.ac. Also run "make maint-deps" 1262a6b7db3Sskrll# to build the new rules. 1272a6b7db3SskrllCFILES = alloca.c argv.c asprintf.c atexit.c \ 128*e072ec67Schristos basename.c bcmp.c bcopy.c bsearch.c bsearch_r.c bzero.c \ 1292a6b7db3Sskrll calloc.c choose-temp.c clock.c concat.c cp-demangle.c \ 130b3ac4aedSchristos cp-demint.c cplus-dem.c crc32.c \ 1315ba6b03cSchristos d-demangle.c dwarfnames.c dyn-string.c \ 132c21fdd85Schristos fdmatch.c ffs.c fibheap.c filedescriptor.c filename_cmp.c floatformat.c \ 1332a6b7db3Sskrll fnmatch.c fopen_unlocked.c \ 1342a6b7db3Sskrll getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c \ 1352a6b7db3Sskrll gettimeofday.c \ 1362a6b7db3Sskrll hashtab.c hex.c \ 1372a6b7db3Sskrll index.c insque.c \ 1382a6b7db3Sskrll lbasename.c \ 1392a6b7db3Sskrll lrealpath.c \ 1402a6b7db3Sskrll make-relative-prefix.c \ 141b3ac4aedSchristos make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmem.c \ 142b3ac4aedSchristos memmove.c mempcpy.c memset.c mkstemps.c \ 1432a6b7db3Sskrll objalloc.c obstack.c \ 1442a6b7db3Sskrll partition.c pexecute.c \ 1452a6b7db3Sskrll pex-common.c pex-djgpp.c pex-msdos.c pex-one.c \ 1462a6b7db3Sskrll pex-unix.c pex-win32.c \ 1472a6b7db3Sskrll physmem.c putenv.c \ 1482a6b7db3Sskrll random.c regex.c rename.c rindex.c \ 149aa4b58b1Schristos rust-demangle.c \ 150b3ac4aedSchristos safe-ctype.c setenv.c setproctitle.c sha1.c sigsetmask.c \ 151b3ac4aedSchristos simple-object.c simple-object-coff.c simple-object-elf.c \ 1525ba6b03cSchristos simple-object-mach-o.c simple-object-xcoff.c \ 153b3ac4aedSchristos snprintf.c sort.c \ 15405caefcfSchristos spaces.c splay-tree.c stack-limit.c stpcpy.c stpncpy.c \ 15505caefcfSchristos strcasecmp.c strchr.c strdup.c strerror.c strncasecmp.c \ 15605caefcfSchristos strncmp.c strrchr.c strsignal.c strstr.c strtod.c strtol.c \ 1575ba6b03cSchristos strtoll.c strtoul.c strtoull.c strndup.c strnlen.c \ 1585ba6b03cSchristos strverscmp.c timeval-utils.c tmpnam.c \ 1592a6b7db3Sskrll unlink-if-ordinary.c \ 1605ba6b03cSchristos vasprintf.c vfork.c vfprintf.c vprintf.c vprintf-support.c \ 1615ba6b03cSchristos vsnprintf.c vsprintf.c \ 1622a6b7db3Sskrll waitpid.c \ 1635ba6b03cSchristos xasprintf.c xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c \ 1645ba6b03cSchristos xstrerror.c xstrndup.c xvasprintf.c 1652a6b7db3Sskrll 1662a6b7db3Sskrll# These are always included in the library. The first four are listed 1672a6b7db3Sskrll# first and by compile time to optimize parallel builds. 1682a6b7db3SskrllREQUIRED_OFILES = \ 169b3ac4aedSchristos ./regex.$(objext) ./cplus-dem.$(objext) ./cp-demangle.$(objext) \ 170b3ac4aedSchristos ./md5.$(objext) ./sha1.$(objext) ./alloca.$(objext) \ 171b3ac4aedSchristos ./argv.$(objext) \ 172*e072ec67Schristos ./bsearch_r.$(objext) \ 173b3ac4aedSchristos ./choose-temp.$(objext) ./concat.$(objext) \ 1745ba6b03cSchristos ./cp-demint.$(objext) ./crc32.$(objext) ./d-demangle.$(objext) \ 17505caefcfSchristos ./dwarfnames.$(objext) ./dyn-string.$(objext) \ 176b3ac4aedSchristos ./fdmatch.$(objext) ./fibheap.$(objext) \ 177c21fdd85Schristos ./filedescriptor.$(objext) \ 178b3ac4aedSchristos ./filename_cmp.$(objext) ./floatformat.$(objext) \ 179b3ac4aedSchristos ./fnmatch.$(objext) ./fopen_unlocked.$(objext) \ 180b3ac4aedSchristos ./getopt.$(objext) ./getopt1.$(objext) ./getpwd.$(objext) \ 181b3ac4aedSchristos ./getruntime.$(objext) ./hashtab.$(objext) ./hex.$(objext) \ 182b3ac4aedSchristos ./lbasename.$(objext) ./lrealpath.$(objext) \ 183b3ac4aedSchristos ./make-relative-prefix.$(objext) ./make-temp-file.$(objext) \ 184b3ac4aedSchristos ./objalloc.$(objext) \ 185b3ac4aedSchristos ./obstack.$(objext) \ 186b3ac4aedSchristos ./partition.$(objext) ./pexecute.$(objext) ./physmem.$(objext) \ 187b3ac4aedSchristos ./pex-common.$(objext) ./pex-one.$(objext) \ 1885ba6b03cSchristos ./@pexecute@.$(objext) ./vprintf-support.$(objext) \ 189aa4b58b1Schristos ./rust-demangle.$(objext) \ 190b3ac4aedSchristos ./safe-ctype.$(objext) \ 191b3ac4aedSchristos ./simple-object.$(objext) ./simple-object-coff.$(objext) \ 192b3ac4aedSchristos ./simple-object-elf.$(objext) ./simple-object-mach-o.$(objext) \ 1935ba6b03cSchristos ./simple-object-xcoff.$(objext) \ 194b3ac4aedSchristos ./sort.$(objext) ./spaces.$(objext) \ 19505caefcfSchristos ./splay-tree.$(objext) ./stack-limit.$(objext) \ 19605caefcfSchristos ./strerror.$(objext) ./strsignal.$(objext) \ 19705caefcfSchristos ./timeval-utils.$(objext) ./unlink-if-ordinary.$(objext) \ 1985ba6b03cSchristos ./xasprintf.$(objext) ./xatexit.$(objext) ./xexit.$(objext) \ 1995ba6b03cSchristos ./xmalloc.$(objext) ./xmemdup.$(objext) ./xstrdup.$(objext) \ 2005ba6b03cSchristos ./xstrerror.$(objext) ./xstrndup.$(objext) \ 2015ba6b03cSchristos ./xvasprintf.$(objext) 2022a6b7db3Sskrll 2032a6b7db3Sskrll# These are all the objects that configure may add to the library via 2042a6b7db3Sskrll# $funcs or EXTRA_OFILES. This list exists here only for "make 2052a6b7db3Sskrll# maint-missing" and "make check". 206b3ac4aedSchristosCONFIGURED_OFILES = ./asprintf.$(objext) ./atexit.$(objext) \ 207b3ac4aedSchristos ./basename.$(objext) ./bcmp.$(objext) ./bcopy.$(objext) \ 208b3ac4aedSchristos ./bsearch.$(objext) ./bzero.$(objext) \ 209b3ac4aedSchristos ./calloc.$(objext) ./clock.$(objext) ./copysign.$(objext) \ 210b3ac4aedSchristos ./_doprnt.$(objext) \ 211b3ac4aedSchristos ./ffs.$(objext) \ 212b3ac4aedSchristos ./getcwd.$(objext) ./getpagesize.$(objext) \ 213b3ac4aedSchristos ./gettimeofday.$(objext) \ 214b3ac4aedSchristos ./index.$(objext) ./insque.$(objext) \ 215b3ac4aedSchristos ./memchr.$(objext) ./memcmp.$(objext) ./memcpy.$(objext) \ 216b3ac4aedSchristos ./memmem.$(objext) ./memmove.$(objext) \ 217b3ac4aedSchristos ./mempcpy.$(objext) ./memset.$(objext) ./mkstemps.$(objext) \ 218b3ac4aedSchristos ./pex-djgpp.$(objext) ./pex-msdos.$(objext) \ 219b3ac4aedSchristos ./pex-unix.$(objext) ./pex-win32.$(objext) \ 220b3ac4aedSchristos ./putenv.$(objext) \ 221b3ac4aedSchristos ./random.$(objext) ./rename.$(objext) ./rindex.$(objext) \ 222b3ac4aedSchristos ./setenv.$(objext) \ 223b3ac4aedSchristos ./setproctitle.$(objext) \ 224b3ac4aedSchristos ./sigsetmask.$(objext) ./snprintf.$(objext) \ 225b3ac4aedSchristos ./stpcpy.$(objext) ./stpncpy.$(objext) ./strcasecmp.$(objext) \ 226b3ac4aedSchristos ./strchr.$(objext) ./strdup.$(objext) ./strncasecmp.$(objext) \ 2275ba6b03cSchristos ./strncmp.$(objext) ./strndup.$(objext) ./strnlen.$(objext) \ 2285ba6b03cSchristos ./strrchr.$(objext) ./strstr.$(objext) ./strtod.$(objext) \ 2295ba6b03cSchristos ./strtol.$(objext) ./strtoul.$(objext) strtoll.$(objext) \ 2305ba6b03cSchristos ./strtoull.$(objext) ./tmpnam.$(objext) ./strverscmp.$(objext) \ 231b3ac4aedSchristos ./vasprintf.$(objext) ./vfork.$(objext) ./vfprintf.$(objext) \ 232b3ac4aedSchristos ./vprintf.$(objext) ./vsnprintf.$(objext) ./vsprintf.$(objext) \ 233b3ac4aedSchristos ./waitpid.$(objext) 2342a6b7db3Sskrll 2352a6b7db3Sskrll# These files are installed if the library has been configured to do so. 2362a6b7db3SskrllINSTALLED_HEADERS = \ 2372a6b7db3Sskrll $(INCDIR)/ansidecl.h \ 2382a6b7db3Sskrll $(INCDIR)/demangle.h \ 2392a6b7db3Sskrll $(INCDIR)/dyn-string.h \ 2402a6b7db3Sskrll $(INCDIR)/fibheap.h \ 2412a6b7db3Sskrll $(INCDIR)/floatformat.h \ 2422a6b7db3Sskrll $(INCDIR)/hashtab.h \ 2432a6b7db3Sskrll $(INCDIR)/libiberty.h \ 2442a6b7db3Sskrll $(INCDIR)/objalloc.h \ 2452a6b7db3Sskrll $(INCDIR)/partition.h \ 2462a6b7db3Sskrll $(INCDIR)/safe-ctype.h \ 2472a6b7db3Sskrll $(INCDIR)/sort.h \ 24805caefcfSchristos $(INCDIR)/splay-tree.h \ 24905caefcfSchristos $(INCDIR)/timeval-utils.h 2502a6b7db3Sskrll 2512a6b7db3Sskrll$(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) 2525ba6b03cSchristos -rm -f $(TARGETLIB) pic/$(TARGETLIB) noasan/$(TARGETLIB) 2532a6b7db3Sskrll $(AR) $(AR_FLAGS) $(TARGETLIB) \ 2542a6b7db3Sskrll $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) 2552a6b7db3Sskrll $(RANLIB) $(TARGETLIB) 2562a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 2572a6b7db3Sskrll cd pic; \ 2582a6b7db3Sskrll $(AR) $(AR_FLAGS) $(TARGETLIB) \ 2592a6b7db3Sskrll $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ 2602a6b7db3Sskrll $(RANLIB) $(TARGETLIB); \ 2612a6b7db3Sskrll cd ..; \ 2625ba6b03cSchristos else true; fi; \ 2635ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 2645ba6b03cSchristos cd noasan; \ 2655ba6b03cSchristos $(AR) $(AR_FLAGS) $(TARGETLIB) \ 2665ba6b03cSchristos $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ 2675ba6b03cSchristos $(RANLIB) $(TARGETLIB); \ 2685ba6b03cSchristos cd ..; \ 2692a6b7db3Sskrll else true; fi 2702a6b7db3Sskrll 2712a6b7db3Sskrll$(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES) 2722a6b7db3Sskrll -rm -f $(TESTLIB) 2732a6b7db3Sskrll $(AR) $(AR_FLAGS) $(TESTLIB) \ 2742a6b7db3Sskrll $(REQUIRED_OFILES) $(CONFIGURED_OFILES) 2752a6b7db3Sskrll $(RANLIB) $(TESTLIB) 2762a6b7db3Sskrll 2772a6b7db3Sskrllinfo: libiberty.info info-subdir 2782a6b7db3Sskrllinstall-info: install-info-subdir 2792a6b7db3Sskrllclean-info: clean-info-subdir 280*e072ec67Schristos 281*e072ec67SchristosLIBIBERTY_DVIFILES = libiberty.dvi 282*e072ec67Schristos 283*e072ec67Schristosdvi: $(LIBIBERTY_DVIFILES) dvi-subdir 284*e072ec67Schristos 285*e072ec67Schristos.PHONY: install-dvi 286*e072ec67Schristos 287*e072ec67Schristosdvi__strip_dir = `echo $$p | sed -e 's|^.*/||'`; 288*e072ec67Schristos 289*e072ec67Schristosinstall-dvi: $(LIBIBERTY_DVIFILES) 290*e072ec67Schristos @$(NORMAL_INSTALL) 291*e072ec67Schristos test -z "$(dvidir)" || $(mkinstalldirs) "$(DESTDIR)$(dvidir)" 292*e072ec67Schristos @list='$(LIBIBERTY_DVIFILES)'; for p in $$list; do \ 293*e072ec67Schristos if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 294*e072ec67Schristos f=$(dvi__strip_dir) \ 295*e072ec67Schristos echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(dvidir)/$$f'"; \ 296*e072ec67Schristos $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(dvidir)/$$f"; \ 297*e072ec67Schristos done 2982a6b7db3Sskrll 2992a6b7db3SskrllLIBIBERTY_PDFFILES = libiberty.pdf 3002a6b7db3Sskrll 3012a6b7db3Sskrllpdf: $(LIBIBERTY_PDFFILES) pdf-subdir 3022a6b7db3Sskrll 3032a6b7db3Sskrll.PHONY: install-pdf 3042a6b7db3Sskrll 3052a6b7db3Sskrllpdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`; 3062a6b7db3Sskrll 3072a6b7db3Sskrllinstall-pdf: $(LIBIBERTY_PDFFILES) 3082a6b7db3Sskrll @$(NORMAL_INSTALL) 3092a6b7db3Sskrll test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)" 3102a6b7db3Sskrll @list='$(LIBIBERTY_PDFFILES)'; for p in $$list; do \ 3112a6b7db3Sskrll if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 3122a6b7db3Sskrll f=$(pdf__strip_dir) \ 3132a6b7db3Sskrll echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \ 3142a6b7db3Sskrll $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \ 3152a6b7db3Sskrll done 3162a6b7db3Sskrll 3172a6b7db3Sskrll# html, install-html targets 3182a6b7db3SskrllHTMLS = libiberty.html 3192a6b7db3Sskrll 3202a6b7db3Sskrllhtml: $(HTMLS) 3212a6b7db3Sskrll 322b3ac4aedSchristos.PHONY: install-html install-html-am 3232a6b7db3Sskrll 3242a6b7db3SskrllNORMAL_INSTALL = : 3252a6b7db3Sskrllmkdir_p = mkdir -p -- 3262a6b7db3Sskrll 3272a6b7db3Sskrllhtml__strip_dir = `echo $$p | sed -e 's|^.*/||'`; 3282a6b7db3Sskrll 329b3ac4aedSchristosinstall-html: install-html-am 3302a6b7db3Sskrll 3312a6b7db3Sskrllinstall-html-am: $(HTMLS) 3322a6b7db3Sskrll @$(NORMAL_INSTALL) 3332a6b7db3Sskrll test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)" 3342a6b7db3Sskrll @list='$(HTMLS)'; for p in $$list; do \ 3352a6b7db3Sskrll if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \ 3362a6b7db3Sskrll f=$(html__strip_dir) \ 3372a6b7db3Sskrll if test -d "$$d$$p"; then \ 3382a6b7db3Sskrll echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \ 3392a6b7db3Sskrll $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \ 3402a6b7db3Sskrll echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \ 3412a6b7db3Sskrll $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \ 3422a6b7db3Sskrll else \ 3432a6b7db3Sskrll echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \ 3442a6b7db3Sskrll $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \ 3452a6b7db3Sskrll fi; \ 3462a6b7db3Sskrll done 3472a6b7db3Sskrll 3482a6b7db3SskrllTEXISRC = \ 3492a6b7db3Sskrll $(srcdir)/libiberty.texi \ 3502a6b7db3Sskrll $(srcdir)/copying-lib.texi \ 3512a6b7db3Sskrll $(srcdir)/obstacks.texi \ 3522a6b7db3Sskrll $(srcdir)/functions.texi 3532a6b7db3Sskrll 3542a6b7db3Sskrll# Additional files that have texi snippets that need to be collected 3552a6b7db3Sskrll# and sorted. Some are here because the sources are imported from 3562a6b7db3Sskrll# elsewhere. Others represent headers in ../include. 357b3ac4aedSchristosTEXIFILES = fnmatch.txh pexecute.txh simple-object.txh 3582a6b7db3Sskrll 3592a6b7db3Sskrlllibiberty.info : $(srcdir)/libiberty.texi $(TEXISRC) 3602a6b7db3Sskrll $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi 3612a6b7db3Sskrll 3622a6b7db3Sskrlllibiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC) 3632a6b7db3Sskrll texi2dvi $(srcdir)/libiberty.texi 3642a6b7db3Sskrll 3652a6b7db3Sskrlllibiberty.pdf : $(srcdir)/libiberty.texi $(TEXISRC) 3662a6b7db3Sskrll texi2pdf $(srcdir)/libiberty.texi 3672a6b7db3Sskrll 3682a6b7db3Sskrlllibiberty.html : $(srcdir)/libiberty.texi $(TEXISRC) 3692a6b7db3Sskrll $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $< 3702a6b7db3Sskrll 3712a6b7db3Sskrll@MAINT@$(srcdir)/functions.texi : stamp-functions 3722a6b7db3Sskrll@MAINT@ @true 3732a6b7db3Sskrll 3742a6b7db3Sskrll@MAINT@stamp-functions : $(CFILES:%=$(srcdir)/%) $(TEXIFILES:%=$(srcdir)/%) $(srcdir)/gather-docs Makefile 3752a6b7db3Sskrll@MAINT@@HAVE_PERL@ $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES) 3762a6b7db3Sskrll@MAINT@ echo stamp > stamp-functions 3772a6b7db3Sskrll 3782a6b7db3SskrllINSTALL_DEST = @INSTALL_DEST@ 3792a6b7db3Sskrllinstall: install_to_$(INSTALL_DEST) install-subdir 38005caefcfSchristosinstall-strip: install 38105caefcfSchristos 38205caefcfSchristos.PHONY: install install-strip 3832a6b7db3Sskrll 3842a6b7db3Sskrll# This is tricky. Even though CC in the Makefile contains 3852a6b7db3Sskrll# multilib-specific flags, it's overridden by FLAGS_TO_PASS from the 386b3ac4aedSchristos# default multilib, so we have to take CFLAGS into account as well, 3872a6b7db3Sskrll# since it will be passed the multilib flags. 388b3ac4aedSchristosMULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory` 3892a6b7db3Sskrllinstall_to_libdir: all 3902a6b7db3Sskrll if test -n "${target_header_dir}"; then \ 3915ba6b03cSchristos ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR); \ 3925ba6b03cSchristos $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n; \ 3935ba6b03cSchristos ( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n ); \ 3945ba6b03cSchristos mv -f $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB); \ 3952a6b7db3Sskrll case "${target_header_dir}" in \ 3962a6b7db3Sskrll /*) thd=${target_header_dir};; \ 3972a6b7db3Sskrll *) thd=${includedir}/${target_header_dir};; \ 3982a6b7db3Sskrll esac; \ 3992a6b7db3Sskrll ${mkinstalldirs} $(DESTDIR)$${thd}; \ 4002a6b7db3Sskrll for h in ${INSTALLED_HEADERS}; do \ 4012a6b7db3Sskrll ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \ 4022a6b7db3Sskrll done; \ 4032a6b7db3Sskrll fi 4042a6b7db3Sskrll @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install 4052a6b7db3Sskrll 4062a6b7db3Sskrllinstall_to_tooldir: all 4072a6b7db3Sskrll ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) 4082a6b7db3Sskrll $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n 4092a6b7db3Sskrll ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n ) 4102a6b7db3Sskrll mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB) 4112a6b7db3Sskrll @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install 4122a6b7db3Sskrll 4132a6b7db3Sskrll# required-list was used when building a shared bfd/opcodes/libiberty 4142a6b7db3Sskrll# library. I don't know if it used by anything currently. 4152a6b7db3Sskrllrequired-list: Makefile 4162a6b7db3Sskrll echo $(REQUIRED_OFILES) > required-list 4172a6b7db3Sskrll 4182a6b7db3Sskrllstamp-picdir: 4192a6b7db3Sskrll if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \ 4202a6b7db3Sskrll mkdir pic; \ 4212a6b7db3Sskrll else true; fi 4222a6b7db3Sskrll touch stamp-picdir 4232a6b7db3Sskrll 4245ba6b03cSchristosstamp-noasandir: 4255ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ] && [ ! -d noasan ]; then \ 4265ba6b03cSchristos mkdir noasan; \ 4275ba6b03cSchristos else true; fi 4285ba6b03cSchristos touch stamp-noasandir 4295ba6b03cSchristos 43075f9f1baSchristos.PHONY: all etags tags TAGS ls clean stage1 stage2 4312a6b7db3Sskrll 432*e072ec67SchristosETAGS = @ETAGS@ 433*e072ec67Schristos 43475f9f1baSchristosetags tags TAGS: etags-subdir 435*e072ec67Schristos cd $(srcdir) && $(ETAGS) $(CFILES) 4362a6b7db3Sskrll 4372a6b7db3Sskrll# The standalone demangler (c++filt) has been moved to binutils. 438b3ac4aedSchristos# But make this target work anyway for demangler hacking. 439b3ac4aedSchristosdemangle: $(ALL) $(srcdir)/cp-demangle.c 4402a6b7db3Sskrll @echo "The standalone demangler, now named c++filt, is now" 4412a6b7db3Sskrll @echo "a part of binutils." 442b3ac4aedSchristos $(CC) @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) \ 443b3ac4aedSchristos $(srcdir)/cp-demangle.c -DSTANDALONE_DEMANGLER $(TARGETLIB) -o $@ 4442a6b7db3Sskrll 4452a6b7db3Sskrllls: 4462a6b7db3Sskrll @echo Makefile $(CFILES) 4472a6b7db3Sskrll 4482a6b7db3Sskrll# Various targets for maintainers. 4492a6b7db3Sskrll 4502a6b7db3Sskrllmaint-missing : 4512a6b7db3Sskrll @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES) 4522a6b7db3Sskrll 4532a6b7db3Sskrllmaint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES) 4542a6b7db3Sskrll @true 4552a6b7db3Sskrll 4562a6b7db3Sskrllmaint-undoc : $(srcdir)/functions.texi 4572a6b7db3Sskrll @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc 4582a6b7db3Sskrll 4592a6b7db3Sskrllmaint-deps : 4602a6b7db3Sskrll @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR) 4612a6b7db3Sskrll 4622a6b7db3Sskrll# Need to deal with profiled libraries, too. 4632a6b7db3Sskrll 4642a6b7db3Sskrll# Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS 4652a6b7db3Sskrll# multiple times, hence our explicit recursion with an empty SUBDIRS. 4662a6b7db3Sskrllmostlyclean: mostlyclean-subdir 4675ba6b03cSchristos -rm -rf *.$(objext) pic noasan core errs \#* *.E a.out 468b3ac4aedSchristos -rm -f errors dummy config.h stamp-* 4695ba6b03cSchristos -rm -f $(CONFIG_H) stamp-picdir stamp-noasandir 4702a6b7db3Sskrll -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky 4712a6b7db3Sskrll -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg 4722a6b7db3Sskrll -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr 4732a6b7db3Sskrll -rm -f libtexi.stamp 4742a6b7db3Sskrll @$(MULTICLEAN) multi-clean DO=mostlyclean 4752a6b7db3Sskrllclean: clean-subdir 4762a6b7db3Sskrll $(MAKE) SUBDIRS="" mostlyclean 4772a6b7db3Sskrll -rm -f *.a required-list tmpmulti.out 4782a6b7db3Sskrll -rm -f libiberty.dvi libiberty.pdf libiberty.info* libiberty.html 4792a6b7db3Sskrll @$(MULTICLEAN) multi-clean DO=clean 4802a6b7db3Sskrlldistclean: distclean-subdir 4812a6b7db3Sskrll $(MAKE) SUBDIRS="" clean 4822a6b7db3Sskrll @$(MULTICLEAN) multi-clean DO=distclean 4832a6b7db3Sskrll -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out 4842a6b7db3Sskrll -rm -f config.log 4852a6b7db3Sskrll -rmdir testsuite 2>/dev/null 4862a6b7db3Sskrllmaintainer-clean realclean: maintainer-clean-subdir 4872a6b7db3Sskrll $(MAKE) SUBDIRS="" distclean 4882a6b7db3Sskrll 4892a6b7db3Sskrllforce: 4902a6b7db3Sskrll 4912a6b7db3SskrllMakefile: $(srcdir)/Makefile.in config.status 4922a6b7db3Sskrll CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status 4932a6b7db3Sskrll 4942a6b7db3Sskrll# Depending on Makefile makes sure that config.status has been re-run 4952a6b7db3Sskrll# if needed. This prevents problems with parallel builds. 4962a6b7db3Sskrllconfig.h: stamp-h ; @true 4972a6b7db3Sskrllstamp-h: $(srcdir)/config.in config.status Makefile 4982a6b7db3Sskrll CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status 4992a6b7db3Sskrll 5002a6b7db3Sskrllconfig.status: $(srcdir)/configure 5012a6b7db3Sskrll $(SHELL) ./config.status --recheck 5022a6b7db3Sskrll 503b3ac4aedSchristosAUTOCONF = autoconf 504*e072ec67SchristosACLOCAL = aclocal 505*e072ec67SchristosACLOCAL_AMFLAGS = -I ../config -I .. 506*e072ec67Schristosaclocal_deps = \ 507b3ac4aedSchristos $(srcdir)/../config/acx.m4 \ 508*e072ec67Schristos $(srcdir)/../config/cet.m4 \ 509*e072ec67Schristos $(srcdir)/../config/enable.m4 \ 510*e072ec67Schristos $(srcdir)/../config/gcc-plugin.m4 \ 511b3ac4aedSchristos $(srcdir)/../config/no-executables.m4 \ 512b3ac4aedSchristos $(srcdir)/../config/override.m4 \ 513aa4b58b1Schristos $(srcdir)/../config/picflag.m4 \ 514*e072ec67Schristos $(srcdir)/../config/warnings.m4 \ 515*e072ec67Schristos $(srcdir)/acinclude.m4 516b3ac4aedSchristos 517*e072ec67Schristos$(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/aclocal.m4 518b3ac4aedSchristos cd $(srcdir) && $(AUTOCONF) 519b3ac4aedSchristos 520*e072ec67Schristos$(srcdir)/aclocal.m4: @MAINT@ $(aclocal_deps) 521*e072ec67Schristos cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 522*e072ec67Schristos 5232a6b7db3Sskrll# Depending on config.h makes sure that config.status has been re-run 5242a6b7db3Sskrll# if needed. This prevents problems with parallel builds, in case 5252a6b7db3Sskrll# subdirectories need to run config.status also. 5262a6b7db3Sskrllall-subdir check-subdir installcheck-subdir info-subdir \ 5272a6b7db3Sskrllinstall-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir \ 5282a6b7db3Sskrlletags-subdir mostlyclean-subdir clean-subdir distclean-subdir \ 5292a6b7db3Sskrllmaintainer-clean-subdir: config.h 5302a6b7db3Sskrll @subdirs='$(SUBDIRS)'; \ 5312a6b7db3Sskrll target=`echo $@ | sed -e 's/-subdir//'`; \ 5322a6b7db3Sskrll for dir in $$subdirs ; do \ 5332a6b7db3Sskrll cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \ 5342a6b7db3Sskrll done 5352a6b7db3Sskrll 5365ba6b03cSchristos$(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir stamp-noasandir 5375ba6b03cSchristos$(CONFIGURED_OFILES): stamp-picdir stamp-noasandir 5382a6b7db3Sskrll 5392a6b7db3Sskrll# Don't export variables to the environment, in order to not confuse 5402a6b7db3Sskrll# configure. 5412a6b7db3Sskrll.NOEXPORT: 5422a6b7db3Sskrll 5432a6b7db3Sskrll# The dependencies in the remainder of this file are automatically 5442a6b7db3Sskrll# generated by "make maint-deps". Manual edits will be lost. 5452a6b7db3Sskrll 546b3ac4aedSchristos./_doprnt.$(objext): $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \ 5472a6b7db3Sskrll $(INCDIR)/safe-ctype.h 5482a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 5492a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \ 5502a6b7db3Sskrll else true; fi 5515ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 5525ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/_doprnt.c -o noasan/$@; \ 5535ba6b03cSchristos else true; fi 5542a6b7db3Sskrll $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION) 5552a6b7db3Sskrll 556b3ac4aedSchristos./alloca.$(objext): $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \ 5572a6b7db3Sskrll $(INCDIR)/libiberty.h 5582a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 5592a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \ 5602a6b7db3Sskrll else true; fi 5615ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 5625ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/alloca.c -o noasan/$@; \ 5635ba6b03cSchristos else true; fi 5642a6b7db3Sskrll $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION) 5652a6b7db3Sskrll 566b3ac4aedSchristos./argv.$(objext): $(srcdir)/argv.c config.h $(INCDIR)/ansidecl.h \ 567b3ac4aedSchristos $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h 5682a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 5692a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \ 5702a6b7db3Sskrll else true; fi 5715ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 5725ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/argv.c -o noasan/$@; \ 5735ba6b03cSchristos else true; fi 5742a6b7db3Sskrll $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION) 5752a6b7db3Sskrll 576b3ac4aedSchristos./asprintf.$(objext): $(srcdir)/asprintf.c config.h $(INCDIR)/ansidecl.h \ 5772a6b7db3Sskrll $(INCDIR)/libiberty.h 5782a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 5792a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \ 5802a6b7db3Sskrll else true; fi 5815ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 5825ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/asprintf.c -o noasan/$@; \ 5835ba6b03cSchristos else true; fi 5842a6b7db3Sskrll $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION) 5852a6b7db3Sskrll 586b3ac4aedSchristos./atexit.$(objext): $(srcdir)/atexit.c config.h 5872a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 5882a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \ 5892a6b7db3Sskrll else true; fi 5905ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 5915ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/atexit.c -o noasan/$@; \ 5925ba6b03cSchristos else true; fi 5932a6b7db3Sskrll $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION) 5942a6b7db3Sskrll 595b3ac4aedSchristos./basename.$(objext): $(srcdir)/basename.c config.h $(INCDIR)/ansidecl.h \ 5962a6b7db3Sskrll $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h 5972a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 5982a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \ 5992a6b7db3Sskrll else true; fi 6005ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 6015ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/basename.c -o noasan/$@; \ 6025ba6b03cSchristos else true; fi 6032a6b7db3Sskrll $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION) 6042a6b7db3Sskrll 605b3ac4aedSchristos./bcmp.$(objext): $(srcdir)/bcmp.c 6062a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 6072a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \ 6082a6b7db3Sskrll else true; fi 6095ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 6105ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcmp.c -o noasan/$@; \ 6115ba6b03cSchristos else true; fi 6122a6b7db3Sskrll $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION) 6132a6b7db3Sskrll 614b3ac4aedSchristos./bcopy.$(objext): $(srcdir)/bcopy.c 6152a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 6162a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \ 6172a6b7db3Sskrll else true; fi 6185ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 6195ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcopy.c -o noasan/$@; \ 6205ba6b03cSchristos else true; fi 6212a6b7db3Sskrll $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION) 6222a6b7db3Sskrll 623b3ac4aedSchristos./bsearch.$(objext): $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h 6242a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 6252a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \ 6262a6b7db3Sskrll else true; fi 6275ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 6285ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bsearch.c -o noasan/$@; \ 6295ba6b03cSchristos else true; fi 6302a6b7db3Sskrll $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION) 6312a6b7db3Sskrll 632*e072ec67Schristos./bsearch_r.$(objext): $(srcdir)/bsearch_r.c config.h $(INCDIR)/ansidecl.h 633*e072ec67Schristos if [ x"$(PICFLAG)" != x ]; then \ 634*e072ec67Schristos $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch_r.c -o pic/$@; \ 635*e072ec67Schristos else true; fi 636*e072ec67Schristos if [ x"$(NOASANFLAG)" != x ]; then \ 637*e072ec67Schristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bsearch_r.c -o noasan/$@; \ 638*e072ec67Schristos else true; fi 639*e072ec67Schristos $(COMPILE.c) $(srcdir)/bsearch_r.c $(OUTPUT_OPTION) 640*e072ec67Schristos 641b3ac4aedSchristos./bzero.$(objext): $(srcdir)/bzero.c 6422a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 6432a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \ 6442a6b7db3Sskrll else true; fi 6455ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 6465ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bzero.c -o noasan/$@; \ 6475ba6b03cSchristos else true; fi 6482a6b7db3Sskrll $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION) 6492a6b7db3Sskrll 650b3ac4aedSchristos./calloc.$(objext): $(srcdir)/calloc.c $(INCDIR)/ansidecl.h 6512a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 6522a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \ 6532a6b7db3Sskrll else true; fi 6545ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 6555ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/calloc.c -o noasan/$@; \ 6565ba6b03cSchristos else true; fi 6572a6b7db3Sskrll $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION) 6582a6b7db3Sskrll 659b3ac4aedSchristos./choose-temp.$(objext): $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \ 6602a6b7db3Sskrll $(INCDIR)/libiberty.h 6612a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 6622a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \ 6632a6b7db3Sskrll else true; fi 6645ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 6655ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/choose-temp.c -o noasan/$@; \ 6665ba6b03cSchristos else true; fi 6672a6b7db3Sskrll $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION) 6682a6b7db3Sskrll 669b3ac4aedSchristos./clock.$(objext): $(srcdir)/clock.c config.h 6702a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 6712a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \ 6722a6b7db3Sskrll else true; fi 6735ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 6745ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/clock.c -o noasan/$@; \ 6755ba6b03cSchristos else true; fi 6762a6b7db3Sskrll $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION) 6772a6b7db3Sskrll 678b3ac4aedSchristos./concat.$(objext): $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \ 6792a6b7db3Sskrll $(INCDIR)/libiberty.h 6802a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 6812a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \ 6822a6b7db3Sskrll else true; fi 6835ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 6845ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/concat.c -o noasan/$@; \ 6855ba6b03cSchristos else true; fi 6862a6b7db3Sskrll $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION) 6872a6b7db3Sskrll 688b3ac4aedSchristos./copysign.$(objext): $(srcdir)/copysign.c $(INCDIR)/ansidecl.h 6892a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 6902a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \ 6912a6b7db3Sskrll else true; fi 6925ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 6935ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/copysign.c -o noasan/$@; \ 6945ba6b03cSchristos else true; fi 6952a6b7db3Sskrll $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION) 6962a6b7db3Sskrll 697b3ac4aedSchristos./cp-demangle.$(objext): $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \ 6982a6b7db3Sskrll $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \ 6992a6b7db3Sskrll $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h 7002a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 7012a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \ 7022a6b7db3Sskrll else true; fi 7035ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 7045ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demangle.c -o noasan/$@; \ 7055ba6b03cSchristos else true; fi 7062a6b7db3Sskrll $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION) 7072a6b7db3Sskrll 708b3ac4aedSchristos./cp-demint.$(objext): $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \ 7092a6b7db3Sskrll $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \ 7102a6b7db3Sskrll $(INCDIR)/libiberty.h 7112a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 7122a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \ 7132a6b7db3Sskrll else true; fi 7145ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 7155ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demint.c -o noasan/$@; \ 7165ba6b03cSchristos else true; fi 7172a6b7db3Sskrll $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION) 7182a6b7db3Sskrll 719b3ac4aedSchristos./cplus-dem.$(objext): $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \ 7202a6b7db3Sskrll $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \ 7212a6b7db3Sskrll $(INCDIR)/safe-ctype.h 7222a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 7232a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \ 7242a6b7db3Sskrll else true; fi 7255ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 7265ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cplus-dem.c -o noasan/$@; \ 7275ba6b03cSchristos else true; fi 7282a6b7db3Sskrll $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION) 7292a6b7db3Sskrll 730b3ac4aedSchristos./crc32.$(objext): $(srcdir)/crc32.c config.h $(INCDIR)/ansidecl.h \ 731b3ac4aedSchristos $(INCDIR)/libiberty.h 732b3ac4aedSchristos if [ x"$(PICFLAG)" != x ]; then \ 733b3ac4aedSchristos $(COMPILE.c) $(PICFLAG) $(srcdir)/crc32.c -o pic/$@; \ 734b3ac4aedSchristos else true; fi 7355ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 7365ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/crc32.c -o noasan/$@; \ 7375ba6b03cSchristos else true; fi 738b3ac4aedSchristos $(COMPILE.c) $(srcdir)/crc32.c $(OUTPUT_OPTION) 739b3ac4aedSchristos 7405ba6b03cSchristos./d-demangle.$(objext): $(srcdir)/d-demangle.c config.h $(INCDIR)/ansidecl.h \ 7415ba6b03cSchristos $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \ 7425ba6b03cSchristos $(INCDIR)/safe-ctype.h 7435ba6b03cSchristos if [ x"$(PICFLAG)" != x ]; then \ 7445ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(srcdir)/d-demangle.c -o pic/$@; \ 7455ba6b03cSchristos else true; fi 7465ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 7475ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/d-demangle.c -o noasan/$@; \ 7485ba6b03cSchristos else true; fi 7495ba6b03cSchristos $(COMPILE.c) $(srcdir)/d-demangle.c $(OUTPUT_OPTION) 7505ba6b03cSchristos 7515ba6b03cSchristos./dwarfnames.$(objext): $(srcdir)/dwarfnames.c $(INCDIR)/dwarf2.def \ 7525ba6b03cSchristos $(INCDIR)/dwarf2.h 75305caefcfSchristos if [ x"$(PICFLAG)" != x ]; then \ 75405caefcfSchristos $(COMPILE.c) $(PICFLAG) $(srcdir)/dwarfnames.c -o pic/$@; \ 75505caefcfSchristos else true; fi 7565ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 7575ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dwarfnames.c -o noasan/$@; \ 7585ba6b03cSchristos else true; fi 75905caefcfSchristos $(COMPILE.c) $(srcdir)/dwarfnames.c $(OUTPUT_OPTION) 76005caefcfSchristos 761b3ac4aedSchristos./dyn-string.$(objext): $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \ 7622a6b7db3Sskrll $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h 7632a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 7642a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \ 7652a6b7db3Sskrll else true; fi 7665ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 7675ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dyn-string.c -o noasan/$@; \ 7685ba6b03cSchristos else true; fi 7692a6b7db3Sskrll $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION) 7702a6b7db3Sskrll 771b3ac4aedSchristos./fdmatch.$(objext): $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \ 7722a6b7db3Sskrll $(INCDIR)/libiberty.h 7732a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 7742a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \ 7752a6b7db3Sskrll else true; fi 7765ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 7775ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fdmatch.c -o noasan/$@; \ 7785ba6b03cSchristos else true; fi 7792a6b7db3Sskrll $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION) 7802a6b7db3Sskrll 781b3ac4aedSchristos./ffs.$(objext): $(srcdir)/ffs.c 7822a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 7832a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \ 7842a6b7db3Sskrll else true; fi 7855ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 7865ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/ffs.c -o noasan/$@; \ 7875ba6b03cSchristos else true; fi 7882a6b7db3Sskrll $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION) 7892a6b7db3Sskrll 790b3ac4aedSchristos./fibheap.$(objext): $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \ 7912a6b7db3Sskrll $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h 7922a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 7932a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \ 7942a6b7db3Sskrll else true; fi 7955ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 7965ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fibheap.c -o noasan/$@; \ 7975ba6b03cSchristos else true; fi 7982a6b7db3Sskrll $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION) 7992a6b7db3Sskrll 800c21fdd85Schristos./filedescriptor.$(objext): $(srcdir)/filedescriptor.c config.h $(INCDIR)/ansidecl.h \ 801c21fdd85Schristos $(INCDIR)/libiberty.h 802c21fdd85Schristos if [ x"$(PICFLAG)" != x ]; then \ 803c21fdd85Schristos $(COMPILE.c) $(PICFLAG) $(srcdir)/filedescriptor.c -o pic/$@; \ 804c21fdd85Schristos else true; fi 805c21fdd85Schristos if [ x"$(NOASANFLAG)" != x ]; then \ 806c21fdd85Schristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/filedescriptor.c -o noasan/$@; \ 807c21fdd85Schristos else true; fi 808c21fdd85Schristos $(COMPILE.c) $(srcdir)/filedescriptor.c $(OUTPUT_OPTION) 809c21fdd85Schristos 810c21fdd85Schristos 8115ba6b03cSchristos./filename_cmp.$(objext): $(srcdir)/filename_cmp.c config.h $(INCDIR)/ansidecl.h \ 8125ba6b03cSchristos $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \ 8132a6b7db3Sskrll $(INCDIR)/safe-ctype.h 8142a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 8152a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/filename_cmp.c -o pic/$@; \ 8162a6b7db3Sskrll else true; fi 8175ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 8185ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/filename_cmp.c -o noasan/$@; \ 8195ba6b03cSchristos else true; fi 8202a6b7db3Sskrll $(COMPILE.c) $(srcdir)/filename_cmp.c $(OUTPUT_OPTION) 8212a6b7db3Sskrll 822b3ac4aedSchristos./floatformat.$(objext): $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \ 8232a6b7db3Sskrll $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h 8242a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 8252a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \ 8262a6b7db3Sskrll else true; fi 8275ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 8285ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/floatformat.c -o noasan/$@; \ 8295ba6b03cSchristos else true; fi 8302a6b7db3Sskrll $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION) 8312a6b7db3Sskrll 832b3ac4aedSchristos./fnmatch.$(objext): $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \ 8332a6b7db3Sskrll $(INCDIR)/safe-ctype.h 8342a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 8352a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \ 8362a6b7db3Sskrll else true; fi 8375ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 8385ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fnmatch.c -o noasan/$@; \ 8395ba6b03cSchristos else true; fi 8402a6b7db3Sskrll $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION) 8412a6b7db3Sskrll 842b3ac4aedSchristos./fopen_unlocked.$(objext): $(srcdir)/fopen_unlocked.c config.h \ 843b3ac4aedSchristos $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h 8442a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 8452a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/fopen_unlocked.c -o pic/$@; \ 8462a6b7db3Sskrll else true; fi 8475ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 8485ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fopen_unlocked.c -o noasan/$@; \ 8495ba6b03cSchristos else true; fi 8502a6b7db3Sskrll $(COMPILE.c) $(srcdir)/fopen_unlocked.c $(OUTPUT_OPTION) 8512a6b7db3Sskrll 852b3ac4aedSchristos./getcwd.$(objext): $(srcdir)/getcwd.c config.h 8532a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 8542a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \ 8552a6b7db3Sskrll else true; fi 8565ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 8575ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getcwd.c -o noasan/$@; \ 8585ba6b03cSchristos else true; fi 8592a6b7db3Sskrll $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION) 8602a6b7db3Sskrll 861b3ac4aedSchristos./getopt.$(objext): $(srcdir)/getopt.c config.h $(INCDIR)/ansidecl.h \ 862b3ac4aedSchristos $(INCDIR)/getopt.h 8632a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 8642a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \ 8652a6b7db3Sskrll else true; fi 8665ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 8675ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt.c -o noasan/$@; \ 8685ba6b03cSchristos else true; fi 8692a6b7db3Sskrll $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION) 8702a6b7db3Sskrll 871b3ac4aedSchristos./getopt1.$(objext): $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h 8722a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 8732a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \ 8742a6b7db3Sskrll else true; fi 8755ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 8765ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt1.c -o noasan/$@; \ 8775ba6b03cSchristos else true; fi 8782a6b7db3Sskrll $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION) 8792a6b7db3Sskrll 880b3ac4aedSchristos./getpagesize.$(objext): $(srcdir)/getpagesize.c config.h 8812a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 8822a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \ 8832a6b7db3Sskrll else true; fi 8845ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 8855ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpagesize.c -o noasan/$@; \ 8865ba6b03cSchristos else true; fi 8872a6b7db3Sskrll $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION) 8882a6b7db3Sskrll 889b3ac4aedSchristos./getpwd.$(objext): $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \ 8902a6b7db3Sskrll $(INCDIR)/libiberty.h 8912a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 8922a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \ 8932a6b7db3Sskrll else true; fi 8945ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 8955ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpwd.c -o noasan/$@; \ 8965ba6b03cSchristos else true; fi 8972a6b7db3Sskrll $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION) 8982a6b7db3Sskrll 899b3ac4aedSchristos./getruntime.$(objext): $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \ 9002a6b7db3Sskrll $(INCDIR)/libiberty.h 9012a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 9022a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \ 9032a6b7db3Sskrll else true; fi 9045ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 9055ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getruntime.c -o noasan/$@; \ 9065ba6b03cSchristos else true; fi 9072a6b7db3Sskrll $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION) 9082a6b7db3Sskrll 909b3ac4aedSchristos./gettimeofday.$(objext): $(srcdir)/gettimeofday.c config.h $(INCDIR)/ansidecl.h \ 9102a6b7db3Sskrll $(INCDIR)/libiberty.h 9112a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 9122a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \ 9132a6b7db3Sskrll else true; fi 9145ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 9155ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/gettimeofday.c -o noasan/$@; \ 9165ba6b03cSchristos else true; fi 9172a6b7db3Sskrll $(COMPILE.c) $(srcdir)/gettimeofday.c $(OUTPUT_OPTION) 9182a6b7db3Sskrll 919b3ac4aedSchristos./hashtab.$(objext): $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \ 9202a6b7db3Sskrll $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h 9212a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 9222a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \ 9232a6b7db3Sskrll else true; fi 9245ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 9255ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hashtab.c -o noasan/$@; \ 9265ba6b03cSchristos else true; fi 9272a6b7db3Sskrll $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION) 9282a6b7db3Sskrll 929b3ac4aedSchristos./hex.$(objext): $(srcdir)/hex.c config.h $(INCDIR)/ansidecl.h \ 930b3ac4aedSchristos $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h 9312a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 9322a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \ 9332a6b7db3Sskrll else true; fi 9345ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 9355ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hex.c -o noasan/$@; \ 9365ba6b03cSchristos else true; fi 9372a6b7db3Sskrll $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION) 9382a6b7db3Sskrll 939b3ac4aedSchristos./index.$(objext): $(srcdir)/index.c 9402a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 9412a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \ 9422a6b7db3Sskrll else true; fi 9435ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 9445ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/index.c -o noasan/$@; \ 9455ba6b03cSchristos else true; fi 9462a6b7db3Sskrll $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION) 9472a6b7db3Sskrll 948b3ac4aedSchristos./insque.$(objext): $(srcdir)/insque.c 9492a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 9502a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \ 9512a6b7db3Sskrll else true; fi 9525ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 9535ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/insque.c -o noasan/$@; \ 9545ba6b03cSchristos else true; fi 9552a6b7db3Sskrll $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION) 9562a6b7db3Sskrll 957b3ac4aedSchristos./lbasename.$(objext): $(srcdir)/lbasename.c config.h $(INCDIR)/ansidecl.h \ 9585ba6b03cSchristos $(INCDIR)/filenames.h $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h \ 9592a6b7db3Sskrll $(INCDIR)/safe-ctype.h 9602a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 9612a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \ 9622a6b7db3Sskrll else true; fi 9635ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 9645ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lbasename.c -o noasan/$@; \ 9655ba6b03cSchristos else true; fi 9662a6b7db3Sskrll $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION) 9672a6b7db3Sskrll 968b3ac4aedSchristos./lrealpath.$(objext): $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \ 9692a6b7db3Sskrll $(INCDIR)/libiberty.h 9702a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 9712a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \ 9722a6b7db3Sskrll else true; fi 9735ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 9745ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lrealpath.c -o noasan/$@; \ 9755ba6b03cSchristos else true; fi 9762a6b7db3Sskrll $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION) 9772a6b7db3Sskrll 978b3ac4aedSchristos./make-relative-prefix.$(objext): $(srcdir)/make-relative-prefix.c config.h \ 9792a6b7db3Sskrll $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h 9802a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 9812a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \ 9822a6b7db3Sskrll else true; fi 9835ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 9845ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-relative-prefix.c -o noasan/$@; \ 9855ba6b03cSchristos else true; fi 9862a6b7db3Sskrll $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION) 9872a6b7db3Sskrll 988b3ac4aedSchristos./make-temp-file.$(objext): $(srcdir)/make-temp-file.c config.h \ 989b3ac4aedSchristos $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h 9902a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 9912a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \ 9922a6b7db3Sskrll else true; fi 9935ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 9945ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-temp-file.c -o noasan/$@; \ 9955ba6b03cSchristos else true; fi 9962a6b7db3Sskrll $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION) 9972a6b7db3Sskrll 998b3ac4aedSchristos./md5.$(objext): $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h 9992a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 10002a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \ 10012a6b7db3Sskrll else true; fi 10025ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 10035ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/md5.c -o noasan/$@; \ 10045ba6b03cSchristos else true; fi 10052a6b7db3Sskrll $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION) 10062a6b7db3Sskrll 1007b3ac4aedSchristos./memchr.$(objext): $(srcdir)/memchr.c $(INCDIR)/ansidecl.h 10082a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 10092a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \ 10102a6b7db3Sskrll else true; fi 10115ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 10125ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memchr.c -o noasan/$@; \ 10135ba6b03cSchristos else true; fi 10142a6b7db3Sskrll $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION) 10152a6b7db3Sskrll 1016b3ac4aedSchristos./memcmp.$(objext): $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h 10172a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 10182a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \ 10192a6b7db3Sskrll else true; fi 10205ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 10215ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcmp.c -o noasan/$@; \ 10225ba6b03cSchristos else true; fi 10232a6b7db3Sskrll $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION) 10242a6b7db3Sskrll 1025b3ac4aedSchristos./memcpy.$(objext): $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h 10262a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 10272a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \ 10282a6b7db3Sskrll else true; fi 10295ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 10305ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcpy.c -o noasan/$@; \ 10315ba6b03cSchristos else true; fi 10322a6b7db3Sskrll $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION) 10332a6b7db3Sskrll 1034b3ac4aedSchristos./memmem.$(objext): $(srcdir)/memmem.c config.h 1035b3ac4aedSchristos if [ x"$(PICFLAG)" != x ]; then \ 1036b3ac4aedSchristos $(COMPILE.c) $(PICFLAG) $(srcdir)/memmem.c -o pic/$@; \ 1037b3ac4aedSchristos else true; fi 10385ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 10395ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmem.c -o noasan/$@; \ 10405ba6b03cSchristos else true; fi 1041b3ac4aedSchristos $(COMPILE.c) $(srcdir)/memmem.c $(OUTPUT_OPTION) 1042b3ac4aedSchristos 1043b3ac4aedSchristos./memmove.$(objext): $(srcdir)/memmove.c $(INCDIR)/ansidecl.h 10442a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 10452a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \ 10462a6b7db3Sskrll else true; fi 10475ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 10485ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmove.c -o noasan/$@; \ 10495ba6b03cSchristos else true; fi 10502a6b7db3Sskrll $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION) 10512a6b7db3Sskrll 1052b3ac4aedSchristos./mempcpy.$(objext): $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h 10532a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 10542a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \ 10552a6b7db3Sskrll else true; fi 10565ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 10575ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mempcpy.c -o noasan/$@; \ 10585ba6b03cSchristos else true; fi 10592a6b7db3Sskrll $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION) 10602a6b7db3Sskrll 1061b3ac4aedSchristos./memset.$(objext): $(srcdir)/memset.c $(INCDIR)/ansidecl.h 10622a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 10632a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \ 10642a6b7db3Sskrll else true; fi 10655ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 10665ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memset.c -o noasan/$@; \ 10675ba6b03cSchristos else true; fi 10682a6b7db3Sskrll $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION) 10692a6b7db3Sskrll 1070b3ac4aedSchristos./mkstemps.$(objext): $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h 10712a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 10722a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \ 10732a6b7db3Sskrll else true; fi 10745ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 10755ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mkstemps.c -o noasan/$@; \ 10765ba6b03cSchristos else true; fi 10772a6b7db3Sskrll $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION) 10782a6b7db3Sskrll 1079b3ac4aedSchristos./msdos.$(objext): $(srcdir)/msdos.c 10802a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 10812a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \ 10822a6b7db3Sskrll else true; fi 10835ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 10845ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/msdos.c -o noasan/$@; \ 10855ba6b03cSchristos else true; fi 10862a6b7db3Sskrll $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION) 10872a6b7db3Sskrll 1088b3ac4aedSchristos./objalloc.$(objext): $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \ 10892a6b7db3Sskrll $(INCDIR)/objalloc.h 10902a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 10912a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \ 10922a6b7db3Sskrll else true; fi 10935ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 10945ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/objalloc.c -o noasan/$@; \ 10955ba6b03cSchristos else true; fi 10962a6b7db3Sskrll $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION) 10972a6b7db3Sskrll 1098b3ac4aedSchristos./obstack.$(objext): $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h 10992a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 11002a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \ 11012a6b7db3Sskrll else true; fi 11025ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 11035ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/obstack.c -o noasan/$@; \ 11045ba6b03cSchristos else true; fi 11052a6b7db3Sskrll $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION) 11062a6b7db3Sskrll 1107b3ac4aedSchristos./partition.$(objext): $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \ 11082a6b7db3Sskrll $(INCDIR)/libiberty.h $(INCDIR)/partition.h 11092a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 11102a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \ 11112a6b7db3Sskrll else true; fi 11125ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 11135ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/partition.c -o noasan/$@; \ 11145ba6b03cSchristos else true; fi 11152a6b7db3Sskrll $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION) 11162a6b7db3Sskrll 1117b3ac4aedSchristos./pex-common.$(objext): $(srcdir)/pex-common.c config.h $(INCDIR)/ansidecl.h \ 11182a6b7db3Sskrll $(INCDIR)/libiberty.h $(srcdir)/pex-common.h 11192a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 11202a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-common.c -o pic/$@; \ 11212a6b7db3Sskrll else true; fi 11225ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 11235ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-common.c -o noasan/$@; \ 11245ba6b03cSchristos else true; fi 11252a6b7db3Sskrll $(COMPILE.c) $(srcdir)/pex-common.c $(OUTPUT_OPTION) 11262a6b7db3Sskrll 1127b3ac4aedSchristos./pex-djgpp.$(objext): $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \ 11282a6b7db3Sskrll $(INCDIR)/libiberty.h $(srcdir)/pex-common.h 11292a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 11302a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \ 11312a6b7db3Sskrll else true; fi 11325ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 11335ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-djgpp.c -o noasan/$@; \ 11345ba6b03cSchristos else true; fi 11352a6b7db3Sskrll $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION) 11362a6b7db3Sskrll 1137b3ac4aedSchristos./pex-msdos.$(objext): $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \ 11382a6b7db3Sskrll $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \ 11392a6b7db3Sskrll $(INCDIR)/safe-ctype.h 11402a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 11412a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \ 11422a6b7db3Sskrll else true; fi 11435ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 11445ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-msdos.c -o noasan/$@; \ 11455ba6b03cSchristos else true; fi 11462a6b7db3Sskrll $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION) 11472a6b7db3Sskrll 1148b3ac4aedSchristos./pex-one.$(objext): $(srcdir)/pex-one.c config.h $(INCDIR)/ansidecl.h \ 11492a6b7db3Sskrll $(INCDIR)/libiberty.h 11502a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 11512a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-one.c -o pic/$@; \ 11522a6b7db3Sskrll else true; fi 11535ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 11545ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-one.c -o noasan/$@; \ 11555ba6b03cSchristos else true; fi 11562a6b7db3Sskrll $(COMPILE.c) $(srcdir)/pex-one.c $(OUTPUT_OPTION) 11572a6b7db3Sskrll 1158b3ac4aedSchristos./pex-unix.$(objext): $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \ 11592a6b7db3Sskrll $(INCDIR)/libiberty.h $(srcdir)/pex-common.h 11602a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 11612a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \ 11622a6b7db3Sskrll else true; fi 11635ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 11645ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-unix.c -o noasan/$@; \ 11655ba6b03cSchristos else true; fi 11662a6b7db3Sskrll $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION) 11672a6b7db3Sskrll 1168b3ac4aedSchristos./pex-win32.$(objext): $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \ 11692a6b7db3Sskrll $(INCDIR)/libiberty.h $(srcdir)/pex-common.h 11702a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 11712a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \ 11722a6b7db3Sskrll else true; fi 11735ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 11745ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-win32.c -o noasan/$@; \ 11755ba6b03cSchristos else true; fi 11762a6b7db3Sskrll $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION) 11772a6b7db3Sskrll 1178b3ac4aedSchristos./pexecute.$(objext): $(srcdir)/pexecute.c config.h $(INCDIR)/ansidecl.h \ 11792a6b7db3Sskrll $(INCDIR)/libiberty.h 11802a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 11812a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/pexecute.c -o pic/$@; \ 11822a6b7db3Sskrll else true; fi 11835ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 11845ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pexecute.c -o noasan/$@; \ 11855ba6b03cSchristos else true; fi 11862a6b7db3Sskrll $(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION) 11872a6b7db3Sskrll 1188b3ac4aedSchristos./physmem.$(objext): $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \ 11892a6b7db3Sskrll $(INCDIR)/libiberty.h 11902a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 11912a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \ 11922a6b7db3Sskrll else true; fi 11935ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 11945ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/physmem.c -o noasan/$@; \ 11955ba6b03cSchristos else true; fi 11962a6b7db3Sskrll $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION) 11972a6b7db3Sskrll 1198b3ac4aedSchristos./putenv.$(objext): $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h 11992a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 12002a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \ 12012a6b7db3Sskrll else true; fi 12025ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 12035ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/putenv.c -o noasan/$@; \ 12045ba6b03cSchristos else true; fi 12052a6b7db3Sskrll $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION) 12062a6b7db3Sskrll 1207b3ac4aedSchristos./random.$(objext): $(srcdir)/random.c $(INCDIR)/ansidecl.h 12082a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 12092a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \ 12102a6b7db3Sskrll else true; fi 12115ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 12125ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/random.c -o noasan/$@; \ 12135ba6b03cSchristos else true; fi 12142a6b7db3Sskrll $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION) 12152a6b7db3Sskrll 1216b3ac4aedSchristos./regex.$(objext): $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h \ 1217b3ac4aedSchristos $(INCDIR)/xregex.h $(INCDIR)/xregex2.h 12182a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 12192a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \ 12202a6b7db3Sskrll else true; fi 12215ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 12225ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/regex.c -o noasan/$@; \ 12235ba6b03cSchristos else true; fi 12242a6b7db3Sskrll $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION) 12252a6b7db3Sskrll 1226b3ac4aedSchristos./rename.$(objext): $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h 12272a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 12282a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \ 12292a6b7db3Sskrll else true; fi 12305ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 12315ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rename.c -o noasan/$@; \ 12325ba6b03cSchristos else true; fi 12332a6b7db3Sskrll $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION) 12342a6b7db3Sskrll 1235b3ac4aedSchristos./rindex.$(objext): $(srcdir)/rindex.c 12362a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 12372a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \ 12382a6b7db3Sskrll else true; fi 12395ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 12405ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rindex.c -o noasan/$@; \ 12415ba6b03cSchristos else true; fi 12422a6b7db3Sskrll $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION) 12432a6b7db3Sskrll 1244aa4b58b1Schristos./rust-demangle.$(objext): $(srcdir)/rust-demangle.c config.h \ 1245aa4b58b1Schristos $(INCDIR)/ansidecl.h $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \ 1246aa4b58b1Schristos $(INCDIR)/safe-ctype.h 1247aa4b58b1Schristos if [ x"$(PICFLAG)" != x ]; then \ 1248aa4b58b1Schristos $(COMPILE.c) $(PICFLAG) $(srcdir)/rust-demangle.c -o pic/$@; \ 1249aa4b58b1Schristos else true; fi 1250aa4b58b1Schristos if [ x"$(NOASANFLAG)" != x ]; then \ 1251aa4b58b1Schristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rust-demangle.c -o noasan/$@; \ 1252aa4b58b1Schristos else true; fi 1253aa4b58b1Schristos $(COMPILE.c) $(srcdir)/rust-demangle.c $(OUTPUT_OPTION) 1254aa4b58b1Schristos 1255b3ac4aedSchristos./safe-ctype.$(objext): $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \ 12562a6b7db3Sskrll $(INCDIR)/safe-ctype.h 12572a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 12582a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \ 12592a6b7db3Sskrll else true; fi 12605ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 12615ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/safe-ctype.c -o noasan/$@; \ 12625ba6b03cSchristos else true; fi 12632a6b7db3Sskrll $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION) 12642a6b7db3Sskrll 1265b3ac4aedSchristos./setenv.$(objext): $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h 12662a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 12672a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \ 12682a6b7db3Sskrll else true; fi 12695ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 12705ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setenv.c -o noasan/$@; \ 12715ba6b03cSchristos else true; fi 12722a6b7db3Sskrll $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION) 12732a6b7db3Sskrll 1274b3ac4aedSchristos./setproctitle.$(objext): $(srcdir)/setproctitle.c config.h $(INCDIR)/ansidecl.h 1275b3ac4aedSchristos if [ x"$(PICFLAG)" != x ]; then \ 1276b3ac4aedSchristos $(COMPILE.c) $(PICFLAG) $(srcdir)/setproctitle.c -o pic/$@; \ 1277b3ac4aedSchristos else true; fi 12785ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 12795ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setproctitle.c -o noasan/$@; \ 12805ba6b03cSchristos else true; fi 1281b3ac4aedSchristos $(COMPILE.c) $(srcdir)/setproctitle.c $(OUTPUT_OPTION) 1282b3ac4aedSchristos 1283b3ac4aedSchristos./sha1.$(objext): $(srcdir)/sha1.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/sha1.h 12842a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 12852a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \ 12862a6b7db3Sskrll else true; fi 12875ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 12885ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sha1.c -o noasan/$@; \ 12895ba6b03cSchristos else true; fi 12902a6b7db3Sskrll $(COMPILE.c) $(srcdir)/sha1.c $(OUTPUT_OPTION) 12912a6b7db3Sskrll 1292b3ac4aedSchristos./sigsetmask.$(objext): $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h 12932a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 12942a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \ 12952a6b7db3Sskrll else true; fi 12965ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 12975ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sigsetmask.c -o noasan/$@; \ 12985ba6b03cSchristos else true; fi 12992a6b7db3Sskrll $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION) 13002a6b7db3Sskrll 1301b3ac4aedSchristos./simple-object-coff.$(objext): $(srcdir)/simple-object-coff.c config.h \ 1302b3ac4aedSchristos $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ 1303b3ac4aedSchristos $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h 1304b3ac4aedSchristos if [ x"$(PICFLAG)" != x ]; then \ 1305b3ac4aedSchristos $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-coff.c -o pic/$@; \ 1306b3ac4aedSchristos else true; fi 13075ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 13085ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-coff.c -o noasan/$@; \ 13095ba6b03cSchristos else true; fi 1310b3ac4aedSchristos $(COMPILE.c) $(srcdir)/simple-object-coff.c $(OUTPUT_OPTION) 1311b3ac4aedSchristos 1312b3ac4aedSchristos./simple-object-elf.$(objext): $(srcdir)/simple-object-elf.c config.h \ 1313b3ac4aedSchristos $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ 1314b3ac4aedSchristos $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h 1315b3ac4aedSchristos if [ x"$(PICFLAG)" != x ]; then \ 1316b3ac4aedSchristos $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-elf.c -o pic/$@; \ 1317b3ac4aedSchristos else true; fi 13185ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 13195ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-elf.c -o noasan/$@; \ 13205ba6b03cSchristos else true; fi 1321b3ac4aedSchristos $(COMPILE.c) $(srcdir)/simple-object-elf.c $(OUTPUT_OPTION) 1322b3ac4aedSchristos 1323b3ac4aedSchristos./simple-object-mach-o.$(objext): $(srcdir)/simple-object-mach-o.c config.h \ 1324b3ac4aedSchristos $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ 1325b3ac4aedSchristos $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h 1326b3ac4aedSchristos if [ x"$(PICFLAG)" != x ]; then \ 1327b3ac4aedSchristos $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-mach-o.c -o pic/$@; \ 1328b3ac4aedSchristos else true; fi 13295ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 13305ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-mach-o.c -o noasan/$@; \ 13315ba6b03cSchristos else true; fi 1332b3ac4aedSchristos $(COMPILE.c) $(srcdir)/simple-object-mach-o.c $(OUTPUT_OPTION) 1333b3ac4aedSchristos 13345ba6b03cSchristos./simple-object-xcoff.$(objext): $(srcdir)/simple-object-xcoff.c config.h \ 13355ba6b03cSchristos $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ 13365ba6b03cSchristos $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h 13375ba6b03cSchristos if [ x"$(PICFLAG)" != x ]; then \ 13385ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-xcoff.c -o pic/$@; \ 13395ba6b03cSchristos else true; fi 13405ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 13415ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-xcoff.c -o noasan/$@; \ 13425ba6b03cSchristos else true; fi 13435ba6b03cSchristos $(COMPILE.c) $(srcdir)/simple-object-xcoff.c $(OUTPUT_OPTION) 13445ba6b03cSchristos 1345b3ac4aedSchristos./simple-object.$(objext): $(srcdir)/simple-object.c config.h \ 1346b3ac4aedSchristos $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ 1347b3ac4aedSchristos $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h 1348b3ac4aedSchristos if [ x"$(PICFLAG)" != x ]; then \ 1349b3ac4aedSchristos $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object.c -o pic/$@; \ 1350b3ac4aedSchristos else true; fi 13515ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 13525ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object.c -o noasan/$@; \ 13535ba6b03cSchristos else true; fi 1354b3ac4aedSchristos $(COMPILE.c) $(srcdir)/simple-object.c $(OUTPUT_OPTION) 1355b3ac4aedSchristos 1356b3ac4aedSchristos./snprintf.$(objext): $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h 13572a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 13582a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \ 13592a6b7db3Sskrll else true; fi 13605ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 13615ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/snprintf.c -o noasan/$@; \ 13625ba6b03cSchristos else true; fi 13632a6b7db3Sskrll $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION) 13642a6b7db3Sskrll 1365b3ac4aedSchristos./sort.$(objext): $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h \ 1366b3ac4aedSchristos $(INCDIR)/libiberty.h $(INCDIR)/sort.h 13672a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 13682a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \ 13692a6b7db3Sskrll else true; fi 13705ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 13715ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sort.c -o noasan/$@; \ 13725ba6b03cSchristos else true; fi 13732a6b7db3Sskrll $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION) 13742a6b7db3Sskrll 1375b3ac4aedSchristos./spaces.$(objext): $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \ 13762a6b7db3Sskrll $(INCDIR)/libiberty.h 13772a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 13782a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \ 13792a6b7db3Sskrll else true; fi 13805ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 13815ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/spaces.c -o noasan/$@; \ 13825ba6b03cSchristos else true; fi 13832a6b7db3Sskrll $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION) 13842a6b7db3Sskrll 1385b3ac4aedSchristos./splay-tree.$(objext): $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \ 13862a6b7db3Sskrll $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h 13872a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 13882a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \ 13892a6b7db3Sskrll else true; fi 13905ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 13915ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/splay-tree.c -o noasan/$@; \ 13925ba6b03cSchristos else true; fi 13932a6b7db3Sskrll $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION) 13942a6b7db3Sskrll 13955ba6b03cSchristos./stack-limit.$(objext): $(srcdir)/stack-limit.c config.h $(INCDIR)/ansidecl.h 139605caefcfSchristos if [ x"$(PICFLAG)" != x ]; then \ 139705caefcfSchristos $(COMPILE.c) $(PICFLAG) $(srcdir)/stack-limit.c -o pic/$@; \ 139805caefcfSchristos else true; fi 13995ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 14005ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stack-limit.c -o noasan/$@; \ 14015ba6b03cSchristos else true; fi 140205caefcfSchristos $(COMPILE.c) $(srcdir)/stack-limit.c $(OUTPUT_OPTION) 140305caefcfSchristos 1404b3ac4aedSchristos./stpcpy.$(objext): $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h 14052a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 14062a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \ 14072a6b7db3Sskrll else true; fi 14085ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 14095ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpcpy.c -o noasan/$@; \ 14105ba6b03cSchristos else true; fi 14112a6b7db3Sskrll $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION) 14122a6b7db3Sskrll 1413b3ac4aedSchristos./stpncpy.$(objext): $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h 14142a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 14152a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \ 14162a6b7db3Sskrll else true; fi 14175ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 14185ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpncpy.c -o noasan/$@; \ 14195ba6b03cSchristos else true; fi 14202a6b7db3Sskrll $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION) 14212a6b7db3Sskrll 1422b3ac4aedSchristos./strcasecmp.$(objext): $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h 14232a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 14242a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \ 14252a6b7db3Sskrll else true; fi 14265ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 14275ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strcasecmp.c -o noasan/$@; \ 14285ba6b03cSchristos else true; fi 14292a6b7db3Sskrll $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION) 14302a6b7db3Sskrll 1431b3ac4aedSchristos./strchr.$(objext): $(srcdir)/strchr.c $(INCDIR)/ansidecl.h 14322a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 14332a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \ 14342a6b7db3Sskrll else true; fi 14355ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 14365ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strchr.c -o noasan/$@; \ 14375ba6b03cSchristos else true; fi 14382a6b7db3Sskrll $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION) 14392a6b7db3Sskrll 1440b3ac4aedSchristos./strdup.$(objext): $(srcdir)/strdup.c $(INCDIR)/ansidecl.h 14412a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 14422a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \ 14432a6b7db3Sskrll else true; fi 14445ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 14455ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strdup.c -o noasan/$@; \ 14465ba6b03cSchristos else true; fi 14472a6b7db3Sskrll $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION) 14482a6b7db3Sskrll 1449b3ac4aedSchristos./strerror.$(objext): $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \ 14502a6b7db3Sskrll $(INCDIR)/libiberty.h 14512a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 14522a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \ 14532a6b7db3Sskrll else true; fi 14545ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 14555ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strerror.c -o noasan/$@; \ 14565ba6b03cSchristos else true; fi 14572a6b7db3Sskrll $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION) 14582a6b7db3Sskrll 1459b3ac4aedSchristos./strncasecmp.$(objext): $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h 14602a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 14612a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \ 14622a6b7db3Sskrll else true; fi 14635ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 14645ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncasecmp.c -o noasan/$@; \ 14655ba6b03cSchristos else true; fi 14662a6b7db3Sskrll $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION) 14672a6b7db3Sskrll 1468b3ac4aedSchristos./strncmp.$(objext): $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h 14692a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 14702a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \ 14712a6b7db3Sskrll else true; fi 14725ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 14735ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncmp.c -o noasan/$@; \ 14745ba6b03cSchristos else true; fi 14752a6b7db3Sskrll $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION) 14762a6b7db3Sskrll 1477b3ac4aedSchristos./strndup.$(objext): $(srcdir)/strndup.c $(INCDIR)/ansidecl.h 14782a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 14792a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \ 14802a6b7db3Sskrll else true; fi 14815ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 14825ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strndup.c -o noasan/$@; \ 14835ba6b03cSchristos else true; fi 14842a6b7db3Sskrll $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION) 14852a6b7db3Sskrll 14865ba6b03cSchristos./strnlen.$(objext): $(srcdir)/strnlen.c config.h 14875ba6b03cSchristos if [ x"$(PICFLAG)" != x ]; then \ 14885ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(srcdir)/strnlen.c -o pic/$@; \ 14895ba6b03cSchristos else true; fi 14905ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 14915ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strnlen.c -o noasan/$@; \ 14925ba6b03cSchristos else true; fi 14935ba6b03cSchristos $(COMPILE.c) $(srcdir)/strnlen.c $(OUTPUT_OPTION) 14945ba6b03cSchristos 1495b3ac4aedSchristos./strrchr.$(objext): $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h 14962a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 14972a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \ 14982a6b7db3Sskrll else true; fi 14995ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 15005ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strrchr.c -o noasan/$@; \ 15015ba6b03cSchristos else true; fi 15022a6b7db3Sskrll $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION) 15032a6b7db3Sskrll 1504b3ac4aedSchristos./strsignal.$(objext): $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \ 15052a6b7db3Sskrll $(INCDIR)/libiberty.h 15062a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 15072a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \ 15082a6b7db3Sskrll else true; fi 15095ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 15105ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strsignal.c -o noasan/$@; \ 15115ba6b03cSchristos else true; fi 15122a6b7db3Sskrll $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION) 15132a6b7db3Sskrll 1514b3ac4aedSchristos./strstr.$(objext): $(srcdir)/strstr.c 15152a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 15162a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \ 15172a6b7db3Sskrll else true; fi 15185ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 15195ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strstr.c -o noasan/$@; \ 15205ba6b03cSchristos else true; fi 15212a6b7db3Sskrll $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION) 15222a6b7db3Sskrll 1523b3ac4aedSchristos./strtod.$(objext): $(srcdir)/strtod.c $(INCDIR)/ansidecl.h \ 1524b3ac4aedSchristos $(INCDIR)/safe-ctype.h 15252a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 15262a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \ 15272a6b7db3Sskrll else true; fi 15285ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 15295ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtod.c -o noasan/$@; \ 15305ba6b03cSchristos else true; fi 15312a6b7db3Sskrll $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION) 15322a6b7db3Sskrll 1533b3ac4aedSchristos./strtol.$(objext): $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h 15342a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 15352a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \ 15362a6b7db3Sskrll else true; fi 15375ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 15385ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtol.c -o noasan/$@; \ 15395ba6b03cSchristos else true; fi 15402a6b7db3Sskrll $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION) 15412a6b7db3Sskrll 15425ba6b03cSchristos./strtoll.$(objext): $(srcdir)/strtoll.c config.h $(INCDIR)/safe-ctype.h 15435ba6b03cSchristos if [ x"$(PICFLAG)" != x ]; then \ 15445ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoll.c -o pic/$@; \ 15455ba6b03cSchristos else true; fi 15465ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 15475ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoll.c -o noasan/$@; \ 15485ba6b03cSchristos else true; fi 15495ba6b03cSchristos $(COMPILE.c) $(srcdir)/strtoll.c $(OUTPUT_OPTION) 15505ba6b03cSchristos 1551b3ac4aedSchristos./strtoul.$(objext): $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \ 15522a6b7db3Sskrll $(INCDIR)/safe-ctype.h 15532a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 15542a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \ 15552a6b7db3Sskrll else true; fi 15565ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 15575ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoul.c -o noasan/$@; \ 15585ba6b03cSchristos else true; fi 15592a6b7db3Sskrll $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION) 15602a6b7db3Sskrll 15615ba6b03cSchristos./strtoull.$(objext): $(srcdir)/strtoull.c config.h $(INCDIR)/ansidecl.h \ 15625ba6b03cSchristos $(INCDIR)/safe-ctype.h 15635ba6b03cSchristos if [ x"$(PICFLAG)" != x ]; then \ 15645ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoull.c -o pic/$@; \ 15655ba6b03cSchristos else true; fi 15665ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 15675ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoull.c -o noasan/$@; \ 15685ba6b03cSchristos else true; fi 15695ba6b03cSchristos $(COMPILE.c) $(srcdir)/strtoull.c $(OUTPUT_OPTION) 15705ba6b03cSchristos 1571b3ac4aedSchristos./strverscmp.$(objext): $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h \ 1572b3ac4aedSchristos $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h 15732a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 15742a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \ 15752a6b7db3Sskrll else true; fi 15765ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 15775ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strverscmp.c -o noasan/$@; \ 15785ba6b03cSchristos else true; fi 15792a6b7db3Sskrll $(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION) 15802a6b7db3Sskrll 158105caefcfSchristos./timeval-utils.$(objext): $(srcdir)/timeval-utils.c config.h \ 158205caefcfSchristos $(INCDIR)/timeval-utils.h 158305caefcfSchristos if [ x"$(PICFLAG)" != x ]; then \ 158405caefcfSchristos $(COMPILE.c) $(PICFLAG) $(srcdir)/timeval-utils.c -o pic/$@; \ 158505caefcfSchristos else true; fi 15865ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 15875ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/timeval-utils.c -o noasan/$@; \ 15885ba6b03cSchristos else true; fi 158905caefcfSchristos $(COMPILE.c) $(srcdir)/timeval-utils.c $(OUTPUT_OPTION) 159005caefcfSchristos 1591b3ac4aedSchristos./tmpnam.$(objext): $(srcdir)/tmpnam.c 15922a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 15932a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \ 15942a6b7db3Sskrll else true; fi 15955ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 15965ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/tmpnam.c -o noasan/$@; \ 15975ba6b03cSchristos else true; fi 15982a6b7db3Sskrll $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION) 15992a6b7db3Sskrll 1600b3ac4aedSchristos./unlink-if-ordinary.$(objext): $(srcdir)/unlink-if-ordinary.c config.h \ 16012a6b7db3Sskrll $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h 16022a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 16032a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \ 16042a6b7db3Sskrll else true; fi 16055ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 16065ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/unlink-if-ordinary.c -o noasan/$@; \ 16075ba6b03cSchristos else true; fi 16082a6b7db3Sskrll $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION) 16092a6b7db3Sskrll 1610b3ac4aedSchristos./vasprintf.$(objext): $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \ 16115ba6b03cSchristos $(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h 16122a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 16132a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \ 16142a6b7db3Sskrll else true; fi 16155ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 16165ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vasprintf.c -o noasan/$@; \ 16175ba6b03cSchristos else true; fi 16182a6b7db3Sskrll $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION) 16192a6b7db3Sskrll 1620b3ac4aedSchristos./vfork.$(objext): $(srcdir)/vfork.c $(INCDIR)/ansidecl.h 16212a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 16222a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \ 16232a6b7db3Sskrll else true; fi 16245ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 16255ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfork.c -o noasan/$@; \ 16265ba6b03cSchristos else true; fi 16272a6b7db3Sskrll $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION) 16282a6b7db3Sskrll 1629b3ac4aedSchristos./vfprintf.$(objext): $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h 16302a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 16312a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \ 16322a6b7db3Sskrll else true; fi 16335ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 16345ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfprintf.c -o noasan/$@; \ 16355ba6b03cSchristos else true; fi 16362a6b7db3Sskrll $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION) 16372a6b7db3Sskrll 16385ba6b03cSchristos./vprintf-support.$(objext): $(srcdir)/vprintf-support.c config.h \ 16395ba6b03cSchristos $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h 16405ba6b03cSchristos if [ x"$(PICFLAG)" != x ]; then \ 16415ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf-support.c -o pic/$@; \ 16425ba6b03cSchristos else true; fi 16435ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 16445ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf-support.c -o noasan/$@; \ 16455ba6b03cSchristos else true; fi 16465ba6b03cSchristos $(COMPILE.c) $(srcdir)/vprintf-support.c $(OUTPUT_OPTION) 16475ba6b03cSchristos 1648b3ac4aedSchristos./vprintf.$(objext): $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h 16492a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 16502a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \ 16512a6b7db3Sskrll else true; fi 16525ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 16535ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf.c -o noasan/$@; \ 16545ba6b03cSchristos else true; fi 16552a6b7db3Sskrll $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION) 16562a6b7db3Sskrll 1657b3ac4aedSchristos./vsnprintf.$(objext): $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \ 16582a6b7db3Sskrll $(INCDIR)/libiberty.h 16592a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 16602a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \ 16612a6b7db3Sskrll else true; fi 16625ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 16635ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsnprintf.c -o noasan/$@; \ 16645ba6b03cSchristos else true; fi 16652a6b7db3Sskrll $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION) 16662a6b7db3Sskrll 1667b3ac4aedSchristos./vsprintf.$(objext): $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h 16682a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 16692a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \ 16702a6b7db3Sskrll else true; fi 16715ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 16725ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsprintf.c -o noasan/$@; \ 16735ba6b03cSchristos else true; fi 16742a6b7db3Sskrll $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION) 16752a6b7db3Sskrll 1676b3ac4aedSchristos./waitpid.$(objext): $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h 16772a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 16782a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \ 16792a6b7db3Sskrll else true; fi 16805ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 16815ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/waitpid.c -o noasan/$@; \ 16825ba6b03cSchristos else true; fi 16832a6b7db3Sskrll $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION) 16842a6b7db3Sskrll 16855ba6b03cSchristos./xasprintf.$(objext): $(srcdir)/xasprintf.c config.h $(INCDIR)/ansidecl.h \ 16865ba6b03cSchristos $(INCDIR)/libiberty.h 16875ba6b03cSchristos if [ x"$(PICFLAG)" != x ]; then \ 16885ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(srcdir)/xasprintf.c -o pic/$@; \ 16895ba6b03cSchristos else true; fi 16905ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 16915ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xasprintf.c -o noasan/$@; \ 16925ba6b03cSchristos else true; fi 16935ba6b03cSchristos $(COMPILE.c) $(srcdir)/xasprintf.c $(OUTPUT_OPTION) 16945ba6b03cSchristos 1695b3ac4aedSchristos./xatexit.$(objext): $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \ 16962a6b7db3Sskrll $(INCDIR)/libiberty.h 16972a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 16982a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \ 16992a6b7db3Sskrll else true; fi 17005ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 17015ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xatexit.c -o noasan/$@; \ 17025ba6b03cSchristos else true; fi 17032a6b7db3Sskrll $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION) 17042a6b7db3Sskrll 1705b3ac4aedSchristos./xexit.$(objext): $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h \ 1706b3ac4aedSchristos $(INCDIR)/libiberty.h 17072a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 17082a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \ 17092a6b7db3Sskrll else true; fi 17105ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 17115ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xexit.c -o noasan/$@; \ 17125ba6b03cSchristos else true; fi 17132a6b7db3Sskrll $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION) 17142a6b7db3Sskrll 1715b3ac4aedSchristos./xmalloc.$(objext): $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \ 17162a6b7db3Sskrll $(INCDIR)/libiberty.h 17172a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 17182a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \ 17192a6b7db3Sskrll else true; fi 17205ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 17215ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmalloc.c -o noasan/$@; \ 17225ba6b03cSchristos else true; fi 17232a6b7db3Sskrll $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION) 17242a6b7db3Sskrll 1725b3ac4aedSchristos./xmemdup.$(objext): $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \ 17262a6b7db3Sskrll $(INCDIR)/libiberty.h 17272a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 17282a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \ 17292a6b7db3Sskrll else true; fi 17305ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 17315ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmemdup.c -o noasan/$@; \ 17325ba6b03cSchristos else true; fi 17332a6b7db3Sskrll $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION) 17342a6b7db3Sskrll 1735b3ac4aedSchristos./xstrdup.$(objext): $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \ 17362a6b7db3Sskrll $(INCDIR)/libiberty.h 17372a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 17382a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \ 17392a6b7db3Sskrll else true; fi 17405ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 17415ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrdup.c -o noasan/$@; \ 17425ba6b03cSchristos else true; fi 17432a6b7db3Sskrll $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION) 17442a6b7db3Sskrll 1745b3ac4aedSchristos./xstrerror.$(objext): $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \ 17462a6b7db3Sskrll $(INCDIR)/libiberty.h 17472a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 17482a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \ 17492a6b7db3Sskrll else true; fi 17505ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 17515ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrerror.c -o noasan/$@; \ 17525ba6b03cSchristos else true; fi 17532a6b7db3Sskrll $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION) 17542a6b7db3Sskrll 1755b3ac4aedSchristos./xstrndup.$(objext): $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \ 17562a6b7db3Sskrll $(INCDIR)/libiberty.h 17572a6b7db3Sskrll if [ x"$(PICFLAG)" != x ]; then \ 17582a6b7db3Sskrll $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \ 17592a6b7db3Sskrll else true; fi 17605ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 17615ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrndup.c -o noasan/$@; \ 17625ba6b03cSchristos else true; fi 17632a6b7db3Sskrll $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION) 17642a6b7db3Sskrll 17655ba6b03cSchristos./xvasprintf.$(objext): $(srcdir)/xvasprintf.c config.h $(INCDIR)/ansidecl.h \ 17665ba6b03cSchristos $(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h 17675ba6b03cSchristos if [ x"$(PICFLAG)" != x ]; then \ 17685ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(srcdir)/xvasprintf.c -o pic/$@; \ 17695ba6b03cSchristos else true; fi 17705ba6b03cSchristos if [ x"$(NOASANFLAG)" != x ]; then \ 17715ba6b03cSchristos $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xvasprintf.c -o noasan/$@; \ 17725ba6b03cSchristos else true; fi 17735ba6b03cSchristos $(COMPILE.c) $(srcdir)/xvasprintf.c $(OUTPUT_OPTION) 1774