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