Makefile.in 67 KB

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