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