Makefile.in 67 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773
  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@ @AR_PLUGIN_OPTION@
  46. AR_FLAGS = rc
  47. CC = @CC@
  48. CFLAGS = @CFLAGS@
  49. CPPFLAGS = @CPPFLAGS@
  50. RANLIB = @RANLIB@ @RANLIB_PLUGIN_OPTION@
  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/gcc-plugin.m4 \
  433. $(srcdir)/../config/no-executables.m4 \
  434. $(srcdir)/../config/override.m4 \
  435. $(srcdir)/../config/picflag.m4 \
  436. $(srcdir)/../config/warnings.m4 \
  437. $(srcdir)/acinclude.m4
  438. $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/aclocal.m4
  439. cd $(srcdir) && $(AUTOCONF)
  440. $(srcdir)/aclocal.m4: @MAINT@ $(aclocal_deps)
  441. cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  442. # Depending on config.h makes sure that config.status has been re-run
  443. # if needed. This prevents problems with parallel builds, in case
  444. # subdirectories need to run config.status also.
  445. all-subdir check-subdir installcheck-subdir info-subdir \
  446. install-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir \
  447. etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
  448. maintainer-clean-subdir: config.h
  449. @subdirs='$(SUBDIRS)'; \
  450. target=`echo $@ | sed -e 's/-subdir//'`; \
  451. for dir in $$subdirs ; do \
  452. cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \
  453. done
  454. $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir stamp-noasandir
  455. $(CONFIGURED_OFILES): stamp-picdir stamp-noasandir
  456. # Don't export variables to the environment, in order to not confuse
  457. # configure.
  458. .NOEXPORT:
  459. # The dependencies in the remainder of this file are automatically
  460. # generated by "make maint-deps". Manual edits will be lost.
  461. ./_doprnt.$(objext): $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \
  462. $(INCDIR)/safe-ctype.h
  463. if [ x"$(PICFLAG)" != x ]; then \
  464. $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \
  465. else true; fi
  466. if [ x"$(NOASANFLAG)" != x ]; then \
  467. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/_doprnt.c -o noasan/$@; \
  468. else true; fi
  469. $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION)
  470. ./alloca.$(objext): $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \
  471. $(INCDIR)/libiberty.h
  472. if [ x"$(PICFLAG)" != x ]; then \
  473. $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \
  474. else true; fi
  475. if [ x"$(NOASANFLAG)" != x ]; then \
  476. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/alloca.c -o noasan/$@; \
  477. else true; fi
  478. $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION)
  479. ./argv.$(objext): $(srcdir)/argv.c config.h $(INCDIR)/ansidecl.h \
  480. $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
  481. if [ x"$(PICFLAG)" != x ]; then \
  482. $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \
  483. else true; fi
  484. if [ x"$(NOASANFLAG)" != x ]; then \
  485. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/argv.c -o noasan/$@; \
  486. else true; fi
  487. $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION)
  488. ./asprintf.$(objext): $(srcdir)/asprintf.c config.h $(INCDIR)/ansidecl.h \
  489. $(INCDIR)/libiberty.h
  490. if [ x"$(PICFLAG)" != x ]; then \
  491. $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \
  492. else true; fi
  493. if [ x"$(NOASANFLAG)" != x ]; then \
  494. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/asprintf.c -o noasan/$@; \
  495. else true; fi
  496. $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION)
  497. ./atexit.$(objext): $(srcdir)/atexit.c config.h
  498. if [ x"$(PICFLAG)" != x ]; then \
  499. $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \
  500. else true; fi
  501. if [ x"$(NOASANFLAG)" != x ]; then \
  502. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/atexit.c -o noasan/$@; \
  503. else true; fi
  504. $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION)
  505. ./basename.$(objext): $(srcdir)/basename.c config.h $(INCDIR)/ansidecl.h \
  506. $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
  507. if [ x"$(PICFLAG)" != x ]; then \
  508. $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \
  509. else true; fi
  510. if [ x"$(NOASANFLAG)" != x ]; then \
  511. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/basename.c -o noasan/$@; \
  512. else true; fi
  513. $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION)
  514. ./bcmp.$(objext): $(srcdir)/bcmp.c
  515. if [ x"$(PICFLAG)" != x ]; then \
  516. $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \
  517. else true; fi
  518. if [ x"$(NOASANFLAG)" != x ]; then \
  519. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcmp.c -o noasan/$@; \
  520. else true; fi
  521. $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION)
  522. ./bcopy.$(objext): $(srcdir)/bcopy.c
  523. if [ x"$(PICFLAG)" != x ]; then \
  524. $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \
  525. else true; fi
  526. if [ x"$(NOASANFLAG)" != x ]; then \
  527. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bcopy.c -o noasan/$@; \
  528. else true; fi
  529. $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION)
  530. ./bsearch.$(objext): $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h
  531. if [ x"$(PICFLAG)" != x ]; then \
  532. $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \
  533. else true; fi
  534. if [ x"$(NOASANFLAG)" != x ]; then \
  535. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bsearch.c -o noasan/$@; \
  536. else true; fi
  537. $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION)
  538. ./bsearch_r.$(objext): $(srcdir)/bsearch_r.c config.h $(INCDIR)/ansidecl.h
  539. if [ x"$(PICFLAG)" != x ]; then \
  540. $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch_r.c -o pic/$@; \
  541. else true; fi
  542. if [ x"$(NOASANFLAG)" != x ]; then \
  543. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bsearch_r.c -o noasan/$@; \
  544. else true; fi
  545. $(COMPILE.c) $(srcdir)/bsearch_r.c $(OUTPUT_OPTION)
  546. ./bzero.$(objext): $(srcdir)/bzero.c
  547. if [ x"$(PICFLAG)" != x ]; then \
  548. $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \
  549. else true; fi
  550. if [ x"$(NOASANFLAG)" != x ]; then \
  551. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/bzero.c -o noasan/$@; \
  552. else true; fi
  553. $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION)
  554. ./calloc.$(objext): $(srcdir)/calloc.c $(INCDIR)/ansidecl.h
  555. if [ x"$(PICFLAG)" != x ]; then \
  556. $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \
  557. else true; fi
  558. if [ x"$(NOASANFLAG)" != x ]; then \
  559. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/calloc.c -o noasan/$@; \
  560. else true; fi
  561. $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION)
  562. ./choose-temp.$(objext): $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \
  563. $(INCDIR)/libiberty.h
  564. if [ x"$(PICFLAG)" != x ]; then \
  565. $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \
  566. else true; fi
  567. if [ x"$(NOASANFLAG)" != x ]; then \
  568. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/choose-temp.c -o noasan/$@; \
  569. else true; fi
  570. $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION)
  571. ./clock.$(objext): $(srcdir)/clock.c config.h
  572. if [ x"$(PICFLAG)" != x ]; then \
  573. $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \
  574. else true; fi
  575. if [ x"$(NOASANFLAG)" != x ]; then \
  576. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/clock.c -o noasan/$@; \
  577. else true; fi
  578. $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION)
  579. ./concat.$(objext): $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \
  580. $(INCDIR)/libiberty.h
  581. if [ x"$(PICFLAG)" != x ]; then \
  582. $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \
  583. else true; fi
  584. if [ x"$(NOASANFLAG)" != x ]; then \
  585. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/concat.c -o noasan/$@; \
  586. else true; fi
  587. $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION)
  588. ./copysign.$(objext): $(srcdir)/copysign.c $(INCDIR)/ansidecl.h
  589. if [ x"$(PICFLAG)" != x ]; then \
  590. $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \
  591. else true; fi
  592. if [ x"$(NOASANFLAG)" != x ]; then \
  593. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/copysign.c -o noasan/$@; \
  594. else true; fi
  595. $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION)
  596. ./cp-demangle.$(objext): $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \
  597. $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
  598. $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h
  599. if [ x"$(PICFLAG)" != x ]; then \
  600. $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \
  601. else true; fi
  602. if [ x"$(NOASANFLAG)" != x ]; then \
  603. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demangle.c -o noasan/$@; \
  604. else true; fi
  605. $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION)
  606. ./cp-demint.$(objext): $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \
  607. $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \
  608. $(INCDIR)/libiberty.h
  609. if [ x"$(PICFLAG)" != x ]; then \
  610. $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \
  611. else true; fi
  612. if [ x"$(NOASANFLAG)" != x ]; then \
  613. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cp-demint.c -o noasan/$@; \
  614. else true; fi
  615. $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION)
  616. ./cplus-dem.$(objext): $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \
  617. $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
  618. $(INCDIR)/safe-ctype.h
  619. if [ x"$(PICFLAG)" != x ]; then \
  620. $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \
  621. else true; fi
  622. if [ x"$(NOASANFLAG)" != x ]; then \
  623. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/cplus-dem.c -o noasan/$@; \
  624. else true; fi
  625. $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION)
  626. ./crc32.$(objext): $(srcdir)/crc32.c config.h $(INCDIR)/ansidecl.h \
  627. $(INCDIR)/libiberty.h
  628. if [ x"$(PICFLAG)" != x ]; then \
  629. $(COMPILE.c) $(PICFLAG) $(srcdir)/crc32.c -o pic/$@; \
  630. else true; fi
  631. if [ x"$(NOASANFLAG)" != x ]; then \
  632. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/crc32.c -o noasan/$@; \
  633. else true; fi
  634. $(COMPILE.c) $(srcdir)/crc32.c $(OUTPUT_OPTION)
  635. ./d-demangle.$(objext): $(srcdir)/d-demangle.c config.h $(INCDIR)/ansidecl.h \
  636. $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
  637. $(INCDIR)/safe-ctype.h
  638. if [ x"$(PICFLAG)" != x ]; then \
  639. $(COMPILE.c) $(PICFLAG) $(srcdir)/d-demangle.c -o pic/$@; \
  640. else true; fi
  641. if [ x"$(NOASANFLAG)" != x ]; then \
  642. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/d-demangle.c -o noasan/$@; \
  643. else true; fi
  644. $(COMPILE.c) $(srcdir)/d-demangle.c $(OUTPUT_OPTION)
  645. ./dwarfnames.$(objext): $(srcdir)/dwarfnames.c $(INCDIR)/dwarf2.def \
  646. $(INCDIR)/dwarf2.h
  647. if [ x"$(PICFLAG)" != x ]; then \
  648. $(COMPILE.c) $(PICFLAG) $(srcdir)/dwarfnames.c -o pic/$@; \
  649. else true; fi
  650. if [ x"$(NOASANFLAG)" != x ]; then \
  651. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dwarfnames.c -o noasan/$@; \
  652. else true; fi
  653. $(COMPILE.c) $(srcdir)/dwarfnames.c $(OUTPUT_OPTION)
  654. ./dyn-string.$(objext): $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \
  655. $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h
  656. if [ x"$(PICFLAG)" != x ]; then \
  657. $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \
  658. else true; fi
  659. if [ x"$(NOASANFLAG)" != x ]; then \
  660. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/dyn-string.c -o noasan/$@; \
  661. else true; fi
  662. $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION)
  663. ./fdmatch.$(objext): $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \
  664. $(INCDIR)/libiberty.h
  665. if [ x"$(PICFLAG)" != x ]; then \
  666. $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \
  667. else true; fi
  668. if [ x"$(NOASANFLAG)" != x ]; then \
  669. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fdmatch.c -o noasan/$@; \
  670. else true; fi
  671. $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION)
  672. ./ffs.$(objext): $(srcdir)/ffs.c
  673. if [ x"$(PICFLAG)" != x ]; then \
  674. $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \
  675. else true; fi
  676. if [ x"$(NOASANFLAG)" != x ]; then \
  677. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/ffs.c -o noasan/$@; \
  678. else true; fi
  679. $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION)
  680. ./fibheap.$(objext): $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \
  681. $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h
  682. if [ x"$(PICFLAG)" != x ]; then \
  683. $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \
  684. else true; fi
  685. if [ x"$(NOASANFLAG)" != x ]; then \
  686. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fibheap.c -o noasan/$@; \
  687. else true; fi
  688. $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION)
  689. ./filedescriptor.$(objext): $(srcdir)/filedescriptor.c config.h $(INCDIR)/ansidecl.h \
  690. $(INCDIR)/libiberty.h
  691. if [ x"$(PICFLAG)" != x ]; then \
  692. $(COMPILE.c) $(PICFLAG) $(srcdir)/filedescriptor.c -o pic/$@; \
  693. else true; fi
  694. if [ x"$(NOASANFLAG)" != x ]; then \
  695. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/filedescriptor.c -o noasan/$@; \
  696. else true; fi
  697. $(COMPILE.c) $(srcdir)/filedescriptor.c $(OUTPUT_OPTION)
  698. ./filename_cmp.$(objext): $(srcdir)/filename_cmp.c config.h $(INCDIR)/ansidecl.h \
  699. $(INCDIR)/filenames.h $(INCDIR)/hashtab.h \
  700. $(INCDIR)/safe-ctype.h
  701. if [ x"$(PICFLAG)" != x ]; then \
  702. $(COMPILE.c) $(PICFLAG) $(srcdir)/filename_cmp.c -o pic/$@; \
  703. else true; fi
  704. if [ x"$(NOASANFLAG)" != x ]; then \
  705. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/filename_cmp.c -o noasan/$@; \
  706. else true; fi
  707. $(COMPILE.c) $(srcdir)/filename_cmp.c $(OUTPUT_OPTION)
  708. ./floatformat.$(objext): $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \
  709. $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h
  710. if [ x"$(PICFLAG)" != x ]; then \
  711. $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \
  712. else true; fi
  713. if [ x"$(NOASANFLAG)" != x ]; then \
  714. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/floatformat.c -o noasan/$@; \
  715. else true; fi
  716. $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION)
  717. ./fnmatch.$(objext): $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \
  718. $(INCDIR)/safe-ctype.h
  719. if [ x"$(PICFLAG)" != x ]; then \
  720. $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \
  721. else true; fi
  722. if [ x"$(NOASANFLAG)" != x ]; then \
  723. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fnmatch.c -o noasan/$@; \
  724. else true; fi
  725. $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION)
  726. ./fopen_unlocked.$(objext): $(srcdir)/fopen_unlocked.c config.h \
  727. $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
  728. if [ x"$(PICFLAG)" != x ]; then \
  729. $(COMPILE.c) $(PICFLAG) $(srcdir)/fopen_unlocked.c -o pic/$@; \
  730. else true; fi
  731. if [ x"$(NOASANFLAG)" != x ]; then \
  732. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/fopen_unlocked.c -o noasan/$@; \
  733. else true; fi
  734. $(COMPILE.c) $(srcdir)/fopen_unlocked.c $(OUTPUT_OPTION)
  735. ./getcwd.$(objext): $(srcdir)/getcwd.c config.h
  736. if [ x"$(PICFLAG)" != x ]; then \
  737. $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \
  738. else true; fi
  739. if [ x"$(NOASANFLAG)" != x ]; then \
  740. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getcwd.c -o noasan/$@; \
  741. else true; fi
  742. $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION)
  743. ./getopt.$(objext): $(srcdir)/getopt.c config.h $(INCDIR)/ansidecl.h \
  744. $(INCDIR)/getopt.h
  745. if [ x"$(PICFLAG)" != x ]; then \
  746. $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \
  747. else true; fi
  748. if [ x"$(NOASANFLAG)" != x ]; then \
  749. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt.c -o noasan/$@; \
  750. else true; fi
  751. $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION)
  752. ./getopt1.$(objext): $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h
  753. if [ x"$(PICFLAG)" != x ]; then \
  754. $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \
  755. else true; fi
  756. if [ x"$(NOASANFLAG)" != x ]; then \
  757. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getopt1.c -o noasan/$@; \
  758. else true; fi
  759. $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION)
  760. ./getpagesize.$(objext): $(srcdir)/getpagesize.c config.h
  761. if [ x"$(PICFLAG)" != x ]; then \
  762. $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \
  763. else true; fi
  764. if [ x"$(NOASANFLAG)" != x ]; then \
  765. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpagesize.c -o noasan/$@; \
  766. else true; fi
  767. $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION)
  768. ./getpwd.$(objext): $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \
  769. $(INCDIR)/libiberty.h
  770. if [ x"$(PICFLAG)" != x ]; then \
  771. $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \
  772. else true; fi
  773. if [ x"$(NOASANFLAG)" != x ]; then \
  774. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getpwd.c -o noasan/$@; \
  775. else true; fi
  776. $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION)
  777. ./getruntime.$(objext): $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \
  778. $(INCDIR)/libiberty.h
  779. if [ x"$(PICFLAG)" != x ]; then \
  780. $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \
  781. else true; fi
  782. if [ x"$(NOASANFLAG)" != x ]; then \
  783. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/getruntime.c -o noasan/$@; \
  784. else true; fi
  785. $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION)
  786. ./gettimeofday.$(objext): $(srcdir)/gettimeofday.c config.h $(INCDIR)/ansidecl.h \
  787. $(INCDIR)/libiberty.h
  788. if [ x"$(PICFLAG)" != x ]; then \
  789. $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \
  790. else true; fi
  791. if [ x"$(NOASANFLAG)" != x ]; then \
  792. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/gettimeofday.c -o noasan/$@; \
  793. else true; fi
  794. $(COMPILE.c) $(srcdir)/gettimeofday.c $(OUTPUT_OPTION)
  795. ./hashtab.$(objext): $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \
  796. $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h
  797. if [ x"$(PICFLAG)" != x ]; then \
  798. $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \
  799. else true; fi
  800. if [ x"$(NOASANFLAG)" != x ]; then \
  801. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hashtab.c -o noasan/$@; \
  802. else true; fi
  803. $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION)
  804. ./hex.$(objext): $(srcdir)/hex.c config.h $(INCDIR)/ansidecl.h \
  805. $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
  806. if [ x"$(PICFLAG)" != x ]; then \
  807. $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \
  808. else true; fi
  809. if [ x"$(NOASANFLAG)" != x ]; then \
  810. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/hex.c -o noasan/$@; \
  811. else true; fi
  812. $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION)
  813. ./index.$(objext): $(srcdir)/index.c
  814. if [ x"$(PICFLAG)" != x ]; then \
  815. $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \
  816. else true; fi
  817. if [ x"$(NOASANFLAG)" != x ]; then \
  818. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/index.c -o noasan/$@; \
  819. else true; fi
  820. $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION)
  821. ./insque.$(objext): $(srcdir)/insque.c
  822. if [ x"$(PICFLAG)" != x ]; then \
  823. $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \
  824. else true; fi
  825. if [ x"$(NOASANFLAG)" != x ]; then \
  826. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/insque.c -o noasan/$@; \
  827. else true; fi
  828. $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION)
  829. ./lbasename.$(objext): $(srcdir)/lbasename.c config.h $(INCDIR)/ansidecl.h \
  830. $(INCDIR)/filenames.h $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h \
  831. $(INCDIR)/safe-ctype.h
  832. if [ x"$(PICFLAG)" != x ]; then \
  833. $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \
  834. else true; fi
  835. if [ x"$(NOASANFLAG)" != x ]; then \
  836. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lbasename.c -o noasan/$@; \
  837. else true; fi
  838. $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION)
  839. ./lrealpath.$(objext): $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \
  840. $(INCDIR)/libiberty.h
  841. if [ x"$(PICFLAG)" != x ]; then \
  842. $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \
  843. else true; fi
  844. if [ x"$(NOASANFLAG)" != x ]; then \
  845. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/lrealpath.c -o noasan/$@; \
  846. else true; fi
  847. $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION)
  848. ./make-relative-prefix.$(objext): $(srcdir)/make-relative-prefix.c config.h \
  849. $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
  850. if [ x"$(PICFLAG)" != x ]; then \
  851. $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \
  852. else true; fi
  853. if [ x"$(NOASANFLAG)" != x ]; then \
  854. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-relative-prefix.c -o noasan/$@; \
  855. else true; fi
  856. $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION)
  857. ./make-temp-file.$(objext): $(srcdir)/make-temp-file.c config.h \
  858. $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
  859. if [ x"$(PICFLAG)" != x ]; then \
  860. $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \
  861. else true; fi
  862. if [ x"$(NOASANFLAG)" != x ]; then \
  863. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/make-temp-file.c -o noasan/$@; \
  864. else true; fi
  865. $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION)
  866. ./md5.$(objext): $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h
  867. if [ x"$(PICFLAG)" != x ]; then \
  868. $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \
  869. else true; fi
  870. if [ x"$(NOASANFLAG)" != x ]; then \
  871. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/md5.c -o noasan/$@; \
  872. else true; fi
  873. $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION)
  874. ./memchr.$(objext): $(srcdir)/memchr.c $(INCDIR)/ansidecl.h
  875. if [ x"$(PICFLAG)" != x ]; then \
  876. $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \
  877. else true; fi
  878. if [ x"$(NOASANFLAG)" != x ]; then \
  879. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memchr.c -o noasan/$@; \
  880. else true; fi
  881. $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION)
  882. ./memcmp.$(objext): $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h
  883. if [ x"$(PICFLAG)" != x ]; then \
  884. $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \
  885. else true; fi
  886. if [ x"$(NOASANFLAG)" != x ]; then \
  887. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcmp.c -o noasan/$@; \
  888. else true; fi
  889. $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION)
  890. ./memcpy.$(objext): $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h
  891. if [ x"$(PICFLAG)" != x ]; then \
  892. $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \
  893. else true; fi
  894. if [ x"$(NOASANFLAG)" != x ]; then \
  895. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memcpy.c -o noasan/$@; \
  896. else true; fi
  897. $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION)
  898. ./memmem.$(objext): $(srcdir)/memmem.c config.h
  899. if [ x"$(PICFLAG)" != x ]; then \
  900. $(COMPILE.c) $(PICFLAG) $(srcdir)/memmem.c -o pic/$@; \
  901. else true; fi
  902. if [ x"$(NOASANFLAG)" != x ]; then \
  903. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmem.c -o noasan/$@; \
  904. else true; fi
  905. $(COMPILE.c) $(srcdir)/memmem.c $(OUTPUT_OPTION)
  906. ./memmove.$(objext): $(srcdir)/memmove.c $(INCDIR)/ansidecl.h
  907. if [ x"$(PICFLAG)" != x ]; then \
  908. $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \
  909. else true; fi
  910. if [ x"$(NOASANFLAG)" != x ]; then \
  911. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memmove.c -o noasan/$@; \
  912. else true; fi
  913. $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION)
  914. ./mempcpy.$(objext): $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h
  915. if [ x"$(PICFLAG)" != x ]; then \
  916. $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \
  917. else true; fi
  918. if [ x"$(NOASANFLAG)" != x ]; then \
  919. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mempcpy.c -o noasan/$@; \
  920. else true; fi
  921. $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION)
  922. ./memset.$(objext): $(srcdir)/memset.c $(INCDIR)/ansidecl.h
  923. if [ x"$(PICFLAG)" != x ]; then \
  924. $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \
  925. else true; fi
  926. if [ x"$(NOASANFLAG)" != x ]; then \
  927. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/memset.c -o noasan/$@; \
  928. else true; fi
  929. $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION)
  930. ./mkstemps.$(objext): $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h
  931. if [ x"$(PICFLAG)" != x ]; then \
  932. $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \
  933. else true; fi
  934. if [ x"$(NOASANFLAG)" != x ]; then \
  935. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/mkstemps.c -o noasan/$@; \
  936. else true; fi
  937. $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION)
  938. ./msdos.$(objext): $(srcdir)/msdos.c
  939. if [ x"$(PICFLAG)" != x ]; then \
  940. $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \
  941. else true; fi
  942. if [ x"$(NOASANFLAG)" != x ]; then \
  943. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/msdos.c -o noasan/$@; \
  944. else true; fi
  945. $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION)
  946. ./objalloc.$(objext): $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \
  947. $(INCDIR)/objalloc.h
  948. if [ x"$(PICFLAG)" != x ]; then \
  949. $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \
  950. else true; fi
  951. if [ x"$(NOASANFLAG)" != x ]; then \
  952. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/objalloc.c -o noasan/$@; \
  953. else true; fi
  954. $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION)
  955. ./obstack.$(objext): $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h
  956. if [ x"$(PICFLAG)" != x ]; then \
  957. $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \
  958. else true; fi
  959. if [ x"$(NOASANFLAG)" != x ]; then \
  960. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/obstack.c -o noasan/$@; \
  961. else true; fi
  962. $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION)
  963. ./partition.$(objext): $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \
  964. $(INCDIR)/libiberty.h $(INCDIR)/partition.h
  965. if [ x"$(PICFLAG)" != x ]; then \
  966. $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \
  967. else true; fi
  968. if [ x"$(NOASANFLAG)" != x ]; then \
  969. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/partition.c -o noasan/$@; \
  970. else true; fi
  971. $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION)
  972. ./pex-common.$(objext): $(srcdir)/pex-common.c config.h $(INCDIR)/ansidecl.h \
  973. $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
  974. if [ x"$(PICFLAG)" != x ]; then \
  975. $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-common.c -o pic/$@; \
  976. else true; fi
  977. if [ x"$(NOASANFLAG)" != x ]; then \
  978. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-common.c -o noasan/$@; \
  979. else true; fi
  980. $(COMPILE.c) $(srcdir)/pex-common.c $(OUTPUT_OPTION)
  981. ./pex-djgpp.$(objext): $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \
  982. $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
  983. if [ x"$(PICFLAG)" != x ]; then \
  984. $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \
  985. else true; fi
  986. if [ x"$(NOASANFLAG)" != x ]; then \
  987. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-djgpp.c -o noasan/$@; \
  988. else true; fi
  989. $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION)
  990. ./pex-msdos.$(objext): $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \
  991. $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \
  992. $(INCDIR)/safe-ctype.h
  993. if [ x"$(PICFLAG)" != x ]; then \
  994. $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \
  995. else true; fi
  996. if [ x"$(NOASANFLAG)" != x ]; then \
  997. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-msdos.c -o noasan/$@; \
  998. else true; fi
  999. $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION)
  1000. ./pex-one.$(objext): $(srcdir)/pex-one.c config.h $(INCDIR)/ansidecl.h \
  1001. $(INCDIR)/libiberty.h
  1002. if [ x"$(PICFLAG)" != x ]; then \
  1003. $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-one.c -o pic/$@; \
  1004. else true; fi
  1005. if [ x"$(NOASANFLAG)" != x ]; then \
  1006. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-one.c -o noasan/$@; \
  1007. else true; fi
  1008. $(COMPILE.c) $(srcdir)/pex-one.c $(OUTPUT_OPTION)
  1009. ./pex-unix.$(objext): $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \
  1010. $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
  1011. if [ x"$(PICFLAG)" != x ]; then \
  1012. $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \
  1013. else true; fi
  1014. if [ x"$(NOASANFLAG)" != x ]; then \
  1015. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-unix.c -o noasan/$@; \
  1016. else true; fi
  1017. $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION)
  1018. ./pex-win32.$(objext): $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \
  1019. $(INCDIR)/libiberty.h $(srcdir)/pex-common.h
  1020. if [ x"$(PICFLAG)" != x ]; then \
  1021. $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \
  1022. else true; fi
  1023. if [ x"$(NOASANFLAG)" != x ]; then \
  1024. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pex-win32.c -o noasan/$@; \
  1025. else true; fi
  1026. $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION)
  1027. ./pexecute.$(objext): $(srcdir)/pexecute.c config.h $(INCDIR)/ansidecl.h \
  1028. $(INCDIR)/libiberty.h
  1029. if [ x"$(PICFLAG)" != x ]; then \
  1030. $(COMPILE.c) $(PICFLAG) $(srcdir)/pexecute.c -o pic/$@; \
  1031. else true; fi
  1032. if [ x"$(NOASANFLAG)" != x ]; then \
  1033. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/pexecute.c -o noasan/$@; \
  1034. else true; fi
  1035. $(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION)
  1036. ./physmem.$(objext): $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \
  1037. $(INCDIR)/libiberty.h
  1038. if [ x"$(PICFLAG)" != x ]; then \
  1039. $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \
  1040. else true; fi
  1041. if [ x"$(NOASANFLAG)" != x ]; then \
  1042. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/physmem.c -o noasan/$@; \
  1043. else true; fi
  1044. $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION)
  1045. ./putenv.$(objext): $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h
  1046. if [ x"$(PICFLAG)" != x ]; then \
  1047. $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \
  1048. else true; fi
  1049. if [ x"$(NOASANFLAG)" != x ]; then \
  1050. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/putenv.c -o noasan/$@; \
  1051. else true; fi
  1052. $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION)
  1053. ./random.$(objext): $(srcdir)/random.c $(INCDIR)/ansidecl.h
  1054. if [ x"$(PICFLAG)" != x ]; then \
  1055. $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \
  1056. else true; fi
  1057. if [ x"$(NOASANFLAG)" != x ]; then \
  1058. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/random.c -o noasan/$@; \
  1059. else true; fi
  1060. $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION)
  1061. ./regex.$(objext): $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h \
  1062. $(INCDIR)/xregex.h $(INCDIR)/xregex2.h
  1063. if [ x"$(PICFLAG)" != x ]; then \
  1064. $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \
  1065. else true; fi
  1066. if [ x"$(NOASANFLAG)" != x ]; then \
  1067. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/regex.c -o noasan/$@; \
  1068. else true; fi
  1069. $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION)
  1070. ./rename.$(objext): $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h
  1071. if [ x"$(PICFLAG)" != x ]; then \
  1072. $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \
  1073. else true; fi
  1074. if [ x"$(NOASANFLAG)" != x ]; then \
  1075. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rename.c -o noasan/$@; \
  1076. else true; fi
  1077. $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION)
  1078. ./rindex.$(objext): $(srcdir)/rindex.c
  1079. if [ x"$(PICFLAG)" != x ]; then \
  1080. $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \
  1081. else true; fi
  1082. if [ x"$(NOASANFLAG)" != x ]; then \
  1083. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rindex.c -o noasan/$@; \
  1084. else true; fi
  1085. $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION)
  1086. ./rust-demangle.$(objext): $(srcdir)/rust-demangle.c config.h \
  1087. $(INCDIR)/ansidecl.h $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \
  1088. $(INCDIR)/safe-ctype.h
  1089. if [ x"$(PICFLAG)" != x ]; then \
  1090. $(COMPILE.c) $(PICFLAG) $(srcdir)/rust-demangle.c -o pic/$@; \
  1091. else true; fi
  1092. if [ x"$(NOASANFLAG)" != x ]; then \
  1093. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/rust-demangle.c -o noasan/$@; \
  1094. else true; fi
  1095. $(COMPILE.c) $(srcdir)/rust-demangle.c $(OUTPUT_OPTION)
  1096. ./safe-ctype.$(objext): $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \
  1097. $(INCDIR)/safe-ctype.h
  1098. if [ x"$(PICFLAG)" != x ]; then \
  1099. $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \
  1100. else true; fi
  1101. if [ x"$(NOASANFLAG)" != x ]; then \
  1102. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/safe-ctype.c -o noasan/$@; \
  1103. else true; fi
  1104. $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION)
  1105. ./setenv.$(objext): $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h
  1106. if [ x"$(PICFLAG)" != x ]; then \
  1107. $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \
  1108. else true; fi
  1109. if [ x"$(NOASANFLAG)" != x ]; then \
  1110. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setenv.c -o noasan/$@; \
  1111. else true; fi
  1112. $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION)
  1113. ./setproctitle.$(objext): $(srcdir)/setproctitle.c config.h $(INCDIR)/ansidecl.h
  1114. if [ x"$(PICFLAG)" != x ]; then \
  1115. $(COMPILE.c) $(PICFLAG) $(srcdir)/setproctitle.c -o pic/$@; \
  1116. else true; fi
  1117. if [ x"$(NOASANFLAG)" != x ]; then \
  1118. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/setproctitle.c -o noasan/$@; \
  1119. else true; fi
  1120. $(COMPILE.c) $(srcdir)/setproctitle.c $(OUTPUT_OPTION)
  1121. ./sha1.$(objext): $(srcdir)/sha1.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/sha1.h
  1122. if [ x"$(PICFLAG)" != x ]; then \
  1123. $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \
  1124. else true; fi
  1125. if [ x"$(NOASANFLAG)" != x ]; then \
  1126. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sha1.c -o noasan/$@; \
  1127. else true; fi
  1128. $(COMPILE.c) $(srcdir)/sha1.c $(OUTPUT_OPTION)
  1129. ./sigsetmask.$(objext): $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h
  1130. if [ x"$(PICFLAG)" != x ]; then \
  1131. $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \
  1132. else true; fi
  1133. if [ x"$(NOASANFLAG)" != x ]; then \
  1134. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sigsetmask.c -o noasan/$@; \
  1135. else true; fi
  1136. $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION)
  1137. ./simple-object-coff.$(objext): $(srcdir)/simple-object-coff.c config.h \
  1138. $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
  1139. $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
  1140. if [ x"$(PICFLAG)" != x ]; then \
  1141. $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-coff.c -o pic/$@; \
  1142. else true; fi
  1143. if [ x"$(NOASANFLAG)" != x ]; then \
  1144. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-coff.c -o noasan/$@; \
  1145. else true; fi
  1146. $(COMPILE.c) $(srcdir)/simple-object-coff.c $(OUTPUT_OPTION)
  1147. ./simple-object-elf.$(objext): $(srcdir)/simple-object-elf.c config.h \
  1148. $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
  1149. $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
  1150. if [ x"$(PICFLAG)" != x ]; then \
  1151. $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-elf.c -o pic/$@; \
  1152. else true; fi
  1153. if [ x"$(NOASANFLAG)" != x ]; then \
  1154. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-elf.c -o noasan/$@; \
  1155. else true; fi
  1156. $(COMPILE.c) $(srcdir)/simple-object-elf.c $(OUTPUT_OPTION)
  1157. ./simple-object-mach-o.$(objext): $(srcdir)/simple-object-mach-o.c config.h \
  1158. $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
  1159. $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
  1160. if [ x"$(PICFLAG)" != x ]; then \
  1161. $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-mach-o.c -o pic/$@; \
  1162. else true; fi
  1163. if [ x"$(NOASANFLAG)" != x ]; then \
  1164. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-mach-o.c -o noasan/$@; \
  1165. else true; fi
  1166. $(COMPILE.c) $(srcdir)/simple-object-mach-o.c $(OUTPUT_OPTION)
  1167. ./simple-object-xcoff.$(objext): $(srcdir)/simple-object-xcoff.c config.h \
  1168. $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
  1169. $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
  1170. if [ x"$(PICFLAG)" != x ]; then \
  1171. $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-xcoff.c -o pic/$@; \
  1172. else true; fi
  1173. if [ x"$(NOASANFLAG)" != x ]; then \
  1174. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object-xcoff.c -o noasan/$@; \
  1175. else true; fi
  1176. $(COMPILE.c) $(srcdir)/simple-object-xcoff.c $(OUTPUT_OPTION)
  1177. ./simple-object.$(objext): $(srcdir)/simple-object.c config.h \
  1178. $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \
  1179. $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h
  1180. if [ x"$(PICFLAG)" != x ]; then \
  1181. $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object.c -o pic/$@; \
  1182. else true; fi
  1183. if [ x"$(NOASANFLAG)" != x ]; then \
  1184. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/simple-object.c -o noasan/$@; \
  1185. else true; fi
  1186. $(COMPILE.c) $(srcdir)/simple-object.c $(OUTPUT_OPTION)
  1187. ./snprintf.$(objext): $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
  1188. if [ x"$(PICFLAG)" != x ]; then \
  1189. $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
  1190. else true; fi
  1191. if [ x"$(NOASANFLAG)" != x ]; then \
  1192. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/snprintf.c -o noasan/$@; \
  1193. else true; fi
  1194. $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
  1195. ./sort.$(objext): $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h \
  1196. $(INCDIR)/libiberty.h $(INCDIR)/sort.h
  1197. if [ x"$(PICFLAG)" != x ]; then \
  1198. $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \
  1199. else true; fi
  1200. if [ x"$(NOASANFLAG)" != x ]; then \
  1201. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/sort.c -o noasan/$@; \
  1202. else true; fi
  1203. $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION)
  1204. ./spaces.$(objext): $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \
  1205. $(INCDIR)/libiberty.h
  1206. if [ x"$(PICFLAG)" != x ]; then \
  1207. $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \
  1208. else true; fi
  1209. if [ x"$(NOASANFLAG)" != x ]; then \
  1210. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/spaces.c -o noasan/$@; \
  1211. else true; fi
  1212. $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION)
  1213. ./splay-tree.$(objext): $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \
  1214. $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h
  1215. if [ x"$(PICFLAG)" != x ]; then \
  1216. $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \
  1217. else true; fi
  1218. if [ x"$(NOASANFLAG)" != x ]; then \
  1219. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/splay-tree.c -o noasan/$@; \
  1220. else true; fi
  1221. $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION)
  1222. ./stack-limit.$(objext): $(srcdir)/stack-limit.c config.h $(INCDIR)/ansidecl.h
  1223. if [ x"$(PICFLAG)" != x ]; then \
  1224. $(COMPILE.c) $(PICFLAG) $(srcdir)/stack-limit.c -o pic/$@; \
  1225. else true; fi
  1226. if [ x"$(NOASANFLAG)" != x ]; then \
  1227. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stack-limit.c -o noasan/$@; \
  1228. else true; fi
  1229. $(COMPILE.c) $(srcdir)/stack-limit.c $(OUTPUT_OPTION)
  1230. ./stpcpy.$(objext): $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h
  1231. if [ x"$(PICFLAG)" != x ]; then \
  1232. $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \
  1233. else true; fi
  1234. if [ x"$(NOASANFLAG)" != x ]; then \
  1235. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpcpy.c -o noasan/$@; \
  1236. else true; fi
  1237. $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION)
  1238. ./stpncpy.$(objext): $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h
  1239. if [ x"$(PICFLAG)" != x ]; then \
  1240. $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \
  1241. else true; fi
  1242. if [ x"$(NOASANFLAG)" != x ]; then \
  1243. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpncpy.c -o noasan/$@; \
  1244. else true; fi
  1245. $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
  1246. ./strcasecmp.$(objext): $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h
  1247. if [ x"$(PICFLAG)" != x ]; then \
  1248. $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \
  1249. else true; fi
  1250. if [ x"$(NOASANFLAG)" != x ]; then \
  1251. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strcasecmp.c -o noasan/$@; \
  1252. else true; fi
  1253. $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION)
  1254. ./strchr.$(objext): $(srcdir)/strchr.c $(INCDIR)/ansidecl.h
  1255. if [ x"$(PICFLAG)" != x ]; then \
  1256. $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \
  1257. else true; fi
  1258. if [ x"$(NOASANFLAG)" != x ]; then \
  1259. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strchr.c -o noasan/$@; \
  1260. else true; fi
  1261. $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION)
  1262. ./strdup.$(objext): $(srcdir)/strdup.c $(INCDIR)/ansidecl.h
  1263. if [ x"$(PICFLAG)" != x ]; then \
  1264. $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \
  1265. else true; fi
  1266. if [ x"$(NOASANFLAG)" != x ]; then \
  1267. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strdup.c -o noasan/$@; \
  1268. else true; fi
  1269. $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION)
  1270. ./strerror.$(objext): $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \
  1271. $(INCDIR)/libiberty.h
  1272. if [ x"$(PICFLAG)" != x ]; then \
  1273. $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \
  1274. else true; fi
  1275. if [ x"$(NOASANFLAG)" != x ]; then \
  1276. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strerror.c -o noasan/$@; \
  1277. else true; fi
  1278. $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION)
  1279. ./strncasecmp.$(objext): $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h
  1280. if [ x"$(PICFLAG)" != x ]; then \
  1281. $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \
  1282. else true; fi
  1283. if [ x"$(NOASANFLAG)" != x ]; then \
  1284. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncasecmp.c -o noasan/$@; \
  1285. else true; fi
  1286. $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION)
  1287. ./strncmp.$(objext): $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h
  1288. if [ x"$(PICFLAG)" != x ]; then \
  1289. $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \
  1290. else true; fi
  1291. if [ x"$(NOASANFLAG)" != x ]; then \
  1292. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strncmp.c -o noasan/$@; \
  1293. else true; fi
  1294. $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION)
  1295. ./strndup.$(objext): $(srcdir)/strndup.c $(INCDIR)/ansidecl.h
  1296. if [ x"$(PICFLAG)" != x ]; then \
  1297. $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \
  1298. else true; fi
  1299. if [ x"$(NOASANFLAG)" != x ]; then \
  1300. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strndup.c -o noasan/$@; \
  1301. else true; fi
  1302. $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION)
  1303. ./strnlen.$(objext): $(srcdir)/strnlen.c config.h
  1304. if [ x"$(PICFLAG)" != x ]; then \
  1305. $(COMPILE.c) $(PICFLAG) $(srcdir)/strnlen.c -o pic/$@; \
  1306. else true; fi
  1307. if [ x"$(NOASANFLAG)" != x ]; then \
  1308. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strnlen.c -o noasan/$@; \
  1309. else true; fi
  1310. $(COMPILE.c) $(srcdir)/strnlen.c $(OUTPUT_OPTION)
  1311. ./strrchr.$(objext): $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h
  1312. if [ x"$(PICFLAG)" != x ]; then \
  1313. $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \
  1314. else true; fi
  1315. if [ x"$(NOASANFLAG)" != x ]; then \
  1316. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strrchr.c -o noasan/$@; \
  1317. else true; fi
  1318. $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION)
  1319. ./strsignal.$(objext): $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \
  1320. $(INCDIR)/libiberty.h
  1321. if [ x"$(PICFLAG)" != x ]; then \
  1322. $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \
  1323. else true; fi
  1324. if [ x"$(NOASANFLAG)" != x ]; then \
  1325. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strsignal.c -o noasan/$@; \
  1326. else true; fi
  1327. $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION)
  1328. ./strstr.$(objext): $(srcdir)/strstr.c
  1329. if [ x"$(PICFLAG)" != x ]; then \
  1330. $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \
  1331. else true; fi
  1332. if [ x"$(NOASANFLAG)" != x ]; then \
  1333. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strstr.c -o noasan/$@; \
  1334. else true; fi
  1335. $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION)
  1336. ./strtod.$(objext): $(srcdir)/strtod.c $(INCDIR)/ansidecl.h \
  1337. $(INCDIR)/safe-ctype.h
  1338. if [ x"$(PICFLAG)" != x ]; then \
  1339. $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \
  1340. else true; fi
  1341. if [ x"$(NOASANFLAG)" != x ]; then \
  1342. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtod.c -o noasan/$@; \
  1343. else true; fi
  1344. $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION)
  1345. ./strtol.$(objext): $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h
  1346. if [ x"$(PICFLAG)" != x ]; then \
  1347. $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \
  1348. else true; fi
  1349. if [ x"$(NOASANFLAG)" != x ]; then \
  1350. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtol.c -o noasan/$@; \
  1351. else true; fi
  1352. $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION)
  1353. ./strtoll.$(objext): $(srcdir)/strtoll.c config.h $(INCDIR)/safe-ctype.h
  1354. if [ x"$(PICFLAG)" != x ]; then \
  1355. $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoll.c -o pic/$@; \
  1356. else true; fi
  1357. if [ x"$(NOASANFLAG)" != x ]; then \
  1358. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoll.c -o noasan/$@; \
  1359. else true; fi
  1360. $(COMPILE.c) $(srcdir)/strtoll.c $(OUTPUT_OPTION)
  1361. ./strtoul.$(objext): $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \
  1362. $(INCDIR)/safe-ctype.h
  1363. if [ x"$(PICFLAG)" != x ]; then \
  1364. $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \
  1365. else true; fi
  1366. if [ x"$(NOASANFLAG)" != x ]; then \
  1367. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoul.c -o noasan/$@; \
  1368. else true; fi
  1369. $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION)
  1370. ./strtoull.$(objext): $(srcdir)/strtoull.c config.h $(INCDIR)/ansidecl.h \
  1371. $(INCDIR)/safe-ctype.h
  1372. if [ x"$(PICFLAG)" != x ]; then \
  1373. $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoull.c -o pic/$@; \
  1374. else true; fi
  1375. if [ x"$(NOASANFLAG)" != x ]; then \
  1376. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strtoull.c -o noasan/$@; \
  1377. else true; fi
  1378. $(COMPILE.c) $(srcdir)/strtoull.c $(OUTPUT_OPTION)
  1379. ./strverscmp.$(objext): $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h \
  1380. $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h
  1381. if [ x"$(PICFLAG)" != x ]; then \
  1382. $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \
  1383. else true; fi
  1384. if [ x"$(NOASANFLAG)" != x ]; then \
  1385. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strverscmp.c -o noasan/$@; \
  1386. else true; fi
  1387. $(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION)
  1388. ./timeval-utils.$(objext): $(srcdir)/timeval-utils.c config.h \
  1389. $(INCDIR)/timeval-utils.h
  1390. if [ x"$(PICFLAG)" != x ]; then \
  1391. $(COMPILE.c) $(PICFLAG) $(srcdir)/timeval-utils.c -o pic/$@; \
  1392. else true; fi
  1393. if [ x"$(NOASANFLAG)" != x ]; then \
  1394. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/timeval-utils.c -o noasan/$@; \
  1395. else true; fi
  1396. $(COMPILE.c) $(srcdir)/timeval-utils.c $(OUTPUT_OPTION)
  1397. ./tmpnam.$(objext): $(srcdir)/tmpnam.c
  1398. if [ x"$(PICFLAG)" != x ]; then \
  1399. $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \
  1400. else true; fi
  1401. if [ x"$(NOASANFLAG)" != x ]; then \
  1402. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/tmpnam.c -o noasan/$@; \
  1403. else true; fi
  1404. $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION)
  1405. ./unlink-if-ordinary.$(objext): $(srcdir)/unlink-if-ordinary.c config.h \
  1406. $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
  1407. if [ x"$(PICFLAG)" != x ]; then \
  1408. $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \
  1409. else true; fi
  1410. if [ x"$(NOASANFLAG)" != x ]; then \
  1411. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/unlink-if-ordinary.c -o noasan/$@; \
  1412. else true; fi
  1413. $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION)
  1414. ./vasprintf.$(objext): $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \
  1415. $(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h
  1416. if [ x"$(PICFLAG)" != x ]; then \
  1417. $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \
  1418. else true; fi
  1419. if [ x"$(NOASANFLAG)" != x ]; then \
  1420. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vasprintf.c -o noasan/$@; \
  1421. else true; fi
  1422. $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION)
  1423. ./vfork.$(objext): $(srcdir)/vfork.c $(INCDIR)/ansidecl.h
  1424. if [ x"$(PICFLAG)" != x ]; then \
  1425. $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \
  1426. else true; fi
  1427. if [ x"$(NOASANFLAG)" != x ]; then \
  1428. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfork.c -o noasan/$@; \
  1429. else true; fi
  1430. $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION)
  1431. ./vfprintf.$(objext): $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h
  1432. if [ x"$(PICFLAG)" != x ]; then \
  1433. $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \
  1434. else true; fi
  1435. if [ x"$(NOASANFLAG)" != x ]; then \
  1436. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vfprintf.c -o noasan/$@; \
  1437. else true; fi
  1438. $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION)
  1439. ./vprintf-support.$(objext): $(srcdir)/vprintf-support.c config.h \
  1440. $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h
  1441. if [ x"$(PICFLAG)" != x ]; then \
  1442. $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf-support.c -o pic/$@; \
  1443. else true; fi
  1444. if [ x"$(NOASANFLAG)" != x ]; then \
  1445. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf-support.c -o noasan/$@; \
  1446. else true; fi
  1447. $(COMPILE.c) $(srcdir)/vprintf-support.c $(OUTPUT_OPTION)
  1448. ./vprintf.$(objext): $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h
  1449. if [ x"$(PICFLAG)" != x ]; then \
  1450. $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \
  1451. else true; fi
  1452. if [ x"$(NOASANFLAG)" != x ]; then \
  1453. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vprintf.c -o noasan/$@; \
  1454. else true; fi
  1455. $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION)
  1456. ./vsnprintf.$(objext): $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \
  1457. $(INCDIR)/libiberty.h
  1458. if [ x"$(PICFLAG)" != x ]; then \
  1459. $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \
  1460. else true; fi
  1461. if [ x"$(NOASANFLAG)" != x ]; then \
  1462. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsnprintf.c -o noasan/$@; \
  1463. else true; fi
  1464. $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION)
  1465. ./vsprintf.$(objext): $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h
  1466. if [ x"$(PICFLAG)" != x ]; then \
  1467. $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \
  1468. else true; fi
  1469. if [ x"$(NOASANFLAG)" != x ]; then \
  1470. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/vsprintf.c -o noasan/$@; \
  1471. else true; fi
  1472. $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION)
  1473. ./waitpid.$(objext): $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h
  1474. if [ x"$(PICFLAG)" != x ]; then \
  1475. $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \
  1476. else true; fi
  1477. if [ x"$(NOASANFLAG)" != x ]; then \
  1478. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/waitpid.c -o noasan/$@; \
  1479. else true; fi
  1480. $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION)
  1481. ./xasprintf.$(objext): $(srcdir)/xasprintf.c config.h $(INCDIR)/ansidecl.h \
  1482. $(INCDIR)/libiberty.h
  1483. if [ x"$(PICFLAG)" != x ]; then \
  1484. $(COMPILE.c) $(PICFLAG) $(srcdir)/xasprintf.c -o pic/$@; \
  1485. else true; fi
  1486. if [ x"$(NOASANFLAG)" != x ]; then \
  1487. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xasprintf.c -o noasan/$@; \
  1488. else true; fi
  1489. $(COMPILE.c) $(srcdir)/xasprintf.c $(OUTPUT_OPTION)
  1490. ./xatexit.$(objext): $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \
  1491. $(INCDIR)/libiberty.h
  1492. if [ x"$(PICFLAG)" != x ]; then \
  1493. $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \
  1494. else true; fi
  1495. if [ x"$(NOASANFLAG)" != x ]; then \
  1496. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xatexit.c -o noasan/$@; \
  1497. else true; fi
  1498. $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION)
  1499. ./xexit.$(objext): $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h \
  1500. $(INCDIR)/libiberty.h
  1501. if [ x"$(PICFLAG)" != x ]; then \
  1502. $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \
  1503. else true; fi
  1504. if [ x"$(NOASANFLAG)" != x ]; then \
  1505. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xexit.c -o noasan/$@; \
  1506. else true; fi
  1507. $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION)
  1508. ./xmalloc.$(objext): $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \
  1509. $(INCDIR)/libiberty.h
  1510. if [ x"$(PICFLAG)" != x ]; then \
  1511. $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \
  1512. else true; fi
  1513. if [ x"$(NOASANFLAG)" != x ]; then \
  1514. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmalloc.c -o noasan/$@; \
  1515. else true; fi
  1516. $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION)
  1517. ./xmemdup.$(objext): $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \
  1518. $(INCDIR)/libiberty.h
  1519. if [ x"$(PICFLAG)" != x ]; then \
  1520. $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \
  1521. else true; fi
  1522. if [ x"$(NOASANFLAG)" != x ]; then \
  1523. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xmemdup.c -o noasan/$@; \
  1524. else true; fi
  1525. $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION)
  1526. ./xstrdup.$(objext): $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \
  1527. $(INCDIR)/libiberty.h
  1528. if [ x"$(PICFLAG)" != x ]; then \
  1529. $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \
  1530. else true; fi
  1531. if [ x"$(NOASANFLAG)" != x ]; then \
  1532. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrdup.c -o noasan/$@; \
  1533. else true; fi
  1534. $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION)
  1535. ./xstrerror.$(objext): $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \
  1536. $(INCDIR)/libiberty.h
  1537. if [ x"$(PICFLAG)" != x ]; then \
  1538. $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \
  1539. else true; fi
  1540. if [ x"$(NOASANFLAG)" != x ]; then \
  1541. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrerror.c -o noasan/$@; \
  1542. else true; fi
  1543. $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION)
  1544. ./xstrndup.$(objext): $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \
  1545. $(INCDIR)/libiberty.h
  1546. if [ x"$(PICFLAG)" != x ]; then \
  1547. $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \
  1548. else true; fi
  1549. if [ x"$(NOASANFLAG)" != x ]; then \
  1550. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xstrndup.c -o noasan/$@; \
  1551. else true; fi
  1552. $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION)
  1553. ./xvasprintf.$(objext): $(srcdir)/xvasprintf.c config.h $(INCDIR)/ansidecl.h \
  1554. $(INCDIR)/libiberty.h $(srcdir)/vprintf-support.h
  1555. if [ x"$(PICFLAG)" != x ]; then \
  1556. $(COMPILE.c) $(PICFLAG) $(srcdir)/xvasprintf.c -o pic/$@; \
  1557. else true; fi
  1558. if [ x"$(NOASANFLAG)" != x ]; then \
  1559. $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/xvasprintf.c -o noasan/$@; \
  1560. else true; fi
  1561. $(COMPILE.c) $(srcdir)/xvasprintf.c $(OUTPUT_OPTION)