| 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 |
| 6 | # 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 | |
| 66 | MAKEOVERRIDES = |
| 67 | |
| 68 | TARGETLIB = ./libiberty.a |
| 69 | TESTLIB = ./testlib.a |
| 70 | |
| 71 | LIBOBJS = @LIBOBJS@ |
| 72 | |
| 73 | # A configuration can specify extra .o files that should be included, |
| 74 | # even if they are in libc. (Perhaps the libc version is buggy.) |
| 75 | EXTRA_OFILES = |
| 76 | |
| 77 | # Flags to pass to a recursive make. |
| 78 | FLAGS_TO_PASS = \ |
| 79 | "AR=$(AR)" \ |
| 80 | "AR_FLAGS=$(AR_FLAGS)" \ |
| 81 | "CC=$(CC)" \ |
| 82 | "CFLAGS=$(CFLAGS)" \ |
| 83 | "CPPFLAGS=$(CPPFLAGS)" \ |
| 84 | "DESTDIR=$(DESTDIR)" \ |
| 85 | "EXTRA_OFILES=$(EXTRA_OFILES)" \ |
| 86 | "HDEFINES=$(HDEFINES)" \ |
| 87 | "INSTALL=$(INSTALL)" \ |
| 88 | "INSTALL_DATA=$(INSTALL_DATA)" \ |
| 89 | "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ |
| 90 | "LDFLAGS=$(LDFLAGS)" \ |
| 91 | "LOADLIBES=$(LOADLIBES)" \ |
| 92 | "RANLIB=$(RANLIB)" \ |
| 93 | "SHELL=$(SHELL)" \ |
| 94 | "prefix=$(prefix)" \ |
| 95 | "exec_prefix=$(exec_prefix)" \ |
| 96 | "libdir=$(libdir)" \ |
| 97 | "libsubdir=$(libsubdir)" \ |
| 98 | "tooldir=$(tooldir)" |
| 99 | |
| 100 | # Subdirectories to recurse into. We need to override this during cleaning |
| 101 | SUBDIRS = testsuite |
| 102 | |
| 103 | # FIXME: add @BUILD_INFO@ once we're sure it works for everyone. |
| 104 | all: stamp-picdir $(TARGETLIB) required-list all-subdir |
| 105 | @: $(MAKE) ; $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=all |
| 106 | |
| 107 | .PHONY: check installcheck |
| 108 | check: check-subdir |
| 109 | installcheck: installcheck-subdir |
| 110 | |
| 111 | @host_makefile_frag@ |
| 112 | |
| 113 | INCDIR=$(srcdir)/$(MULTISRCTOP)../include |
| 114 | |
| 115 | COMPILE.c = $(CC) -c @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiberty_warn_cflags@ |
| 116 | |
| 117 | # Just to make sure we don't use a built-in rule with VPATH |
| 118 | .c.$(objext): |
| 119 | false |
| 120 | |
| 121 | # NOTE: If you add new files to the library, add them to this list |
| 122 | # (alphabetical), and add them to REQUIRED_OFILES, or |
| 123 | # CONFIGURED_OFILES and funcs in configure.ac. Also run "make maint-deps" |
| 124 | # to build the new rules. |
| 125 | CFILES = alloca.c argv.c asprintf.c atexit.c \ |
| 126 | basename.c bcmp.c bcopy.c bsearch.c bzero.c \ |
| 127 | calloc.c choose-temp.c clock.c concat.c cp-demangle.c \ |
| 128 | cp-demint.c cplus-dem.c crc32.c \ |
| 129 | dyn-string.c \ |
| 130 | fdmatch.c ffs.c fibheap.c filename_cmp.c floatformat.c \ |
| 131 | fnmatch.c fopen_unlocked.c \ |
| 132 | getcwd.c getopt.c getopt1.c getpagesize.c getpwd.c getruntime.c \ |
| 133 | gettimeofday.c \ |
| 134 | hashtab.c hex.c \ |
| 135 | index.c insque.c \ |
| 136 | lbasename.c \ |
| 137 | lrealpath.c \ |
| 138 | make-relative-prefix.c \ |
| 139 | make-temp-file.c md5.c memchr.c memcmp.c memcpy.c memmem.c \ |
| 140 | memmove.c mempcpy.c memset.c mkstemps.c \ |
| 141 | objalloc.c obstack.c \ |
| 142 | partition.c pexecute.c \ |
| 143 | pex-common.c pex-djgpp.c pex-msdos.c pex-one.c \ |
| 144 | pex-unix.c pex-win32.c \ |
| 145 | physmem.c putenv.c \ |
| 146 | random.c regex.c rename.c rindex.c \ |
| 147 | safe-ctype.c setenv.c setproctitle.c sha1.c sigsetmask.c \ |
| 148 | simple-object.c simple-object-coff.c simple-object-elf.c \ |
| 149 | simple-object-mach-o.c \ |
| 150 | snprintf.c sort.c \ |
| 151 | spaces.c splay-tree.c stpcpy.c stpncpy.c strcasecmp.c \ |
| 152 | strchr.c strdup.c strerror.c strncasecmp.c strncmp.c \ |
| 153 | strrchr.c strsignal.c strstr.c strtod.c strtol.c strtoul.c \ |
| 154 | strndup.c strverscmp.c \ |
| 155 | tmpnam.c \ |
| 156 | unlink-if-ordinary.c \ |
| 157 | vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c \ |
| 158 | waitpid.c \ |
| 159 | xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c \ |
| 160 | xstrndup.c |
| 161 | |
| 162 | # These are always included in the library. The first four are listed |
| 163 | # first and by compile time to optimize parallel builds. |
| 164 | REQUIRED_OFILES = \ |
| 165 | ./regex.$(objext) ./cplus-dem.$(objext) ./cp-demangle.$(objext) \ |
| 166 | ./md5.$(objext) ./sha1.$(objext) ./alloca.$(objext) \ |
| 167 | ./argv.$(objext) \ |
| 168 | ./choose-temp.$(objext) ./concat.$(objext) \ |
| 169 | ./cp-demint.$(objext) ./crc32.$(objext) ./dyn-string.$(objext) \ |
| 170 | ./fdmatch.$(objext) ./fibheap.$(objext) \ |
| 171 | ./filename_cmp.$(objext) ./floatformat.$(objext) \ |
| 172 | ./fnmatch.$(objext) ./fopen_unlocked.$(objext) \ |
| 173 | ./getopt.$(objext) ./getopt1.$(objext) ./getpwd.$(objext) \ |
| 174 | ./getruntime.$(objext) ./hashtab.$(objext) ./hex.$(objext) \ |
| 175 | ./lbasename.$(objext) ./lrealpath.$(objext) \ |
| 176 | ./make-relative-prefix.$(objext) ./make-temp-file.$(objext) \ |
| 177 | ./objalloc.$(objext) \ |
| 178 | ./obstack.$(objext) \ |
| 179 | ./partition.$(objext) ./pexecute.$(objext) ./physmem.$(objext) \ |
| 180 | ./pex-common.$(objext) ./pex-one.$(objext) \ |
| 181 | ./@pexecute@.$(objext) \ |
| 182 | ./safe-ctype.$(objext) \ |
| 183 | ./simple-object.$(objext) ./simple-object-coff.$(objext) \ |
| 184 | ./simple-object-elf.$(objext) ./simple-object-mach-o.$(objext) \ |
| 185 | ./sort.$(objext) ./spaces.$(objext) \ |
| 186 | ./splay-tree.$(objext) ./strerror.$(objext) \ |
| 187 | ./strsignal.$(objext) ./unlink-if-ordinary.$(objext) \ |
| 188 | ./xatexit.$(objext) ./xexit.$(objext) ./xmalloc.$(objext) \ |
| 189 | ./xmemdup.$(objext) ./xstrdup.$(objext) ./xstrerror.$(objext) \ |
| 190 | ./xstrndup.$(objext) |
| 191 | |
| 192 | # These are all the objects that configure may add to the library via |
| 193 | # $funcs or EXTRA_OFILES. This list exists here only for "make |
| 194 | # maint-missing" and "make check". |
| 195 | CONFIGURED_OFILES = ./asprintf.$(objext) ./atexit.$(objext) \ |
| 196 | ./basename.$(objext) ./bcmp.$(objext) ./bcopy.$(objext) \ |
| 197 | ./bsearch.$(objext) ./bzero.$(objext) \ |
| 198 | ./calloc.$(objext) ./clock.$(objext) ./copysign.$(objext) \ |
| 199 | ./_doprnt.$(objext) \ |
| 200 | ./ffs.$(objext) \ |
| 201 | ./getcwd.$(objext) ./getpagesize.$(objext) \ |
| 202 | ./gettimeofday.$(objext) \ |
| 203 | ./index.$(objext) ./insque.$(objext) \ |
| 204 | ./memchr.$(objext) ./memcmp.$(objext) ./memcpy.$(objext) \ |
| 205 | ./memmem.$(objext) ./memmove.$(objext) \ |
| 206 | ./mempcpy.$(objext) ./memset.$(objext) ./mkstemps.$(objext) \ |
| 207 | ./pex-djgpp.$(objext) ./pex-msdos.$(objext) \ |
| 208 | ./pex-unix.$(objext) ./pex-win32.$(objext) \ |
| 209 | ./putenv.$(objext) \ |
| 210 | ./random.$(objext) ./rename.$(objext) ./rindex.$(objext) \ |
| 211 | ./setenv.$(objext) \ |
| 212 | ./setproctitle.$(objext) \ |
| 213 | ./sigsetmask.$(objext) ./snprintf.$(objext) \ |
| 214 | ./stpcpy.$(objext) ./stpncpy.$(objext) ./strcasecmp.$(objext) \ |
| 215 | ./strchr.$(objext) ./strdup.$(objext) ./strncasecmp.$(objext) \ |
| 216 | ./strncmp.$(objext) ./strndup.$(objext) ./strrchr.$(objext) \ |
| 217 | ./strstr.$(objext) ./strtod.$(objext) ./strtol.$(objext) \ |
| 218 | ./strtoul.$(objext) ./strverscmp.$(objext) \ |
| 219 | ./tmpnam.$(objext) \ |
| 220 | ./vasprintf.$(objext) ./vfork.$(objext) ./vfprintf.$(objext) \ |
| 221 | ./vprintf.$(objext) ./vsnprintf.$(objext) ./vsprintf.$(objext) \ |
| 222 | ./waitpid.$(objext) |
| 223 | |
| 224 | # These files are installed if the library has been configured to do so. |
| 225 | INSTALLED_HEADERS = \ |
| 226 | $(INCDIR)/ansidecl.h \ |
| 227 | $(INCDIR)/demangle.h \ |
| 228 | $(INCDIR)/dyn-string.h \ |
| 229 | $(INCDIR)/fibheap.h \ |
| 230 | $(INCDIR)/floatformat.h \ |
| 231 | $(INCDIR)/hashtab.h \ |
| 232 | $(INCDIR)/libiberty.h \ |
| 233 | $(INCDIR)/objalloc.h \ |
| 234 | $(INCDIR)/partition.h \ |
| 235 | $(INCDIR)/safe-ctype.h \ |
| 236 | $(INCDIR)/sort.h \ |
| 237 | $(INCDIR)/splay-tree.h |
| 238 | |
| 239 | $(TARGETLIB): $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) |
| 240 | -rm -f $(TARGETLIB) pic/$(TARGETLIB) |
| 241 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ |
| 242 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS) |
| 243 | $(RANLIB) $(TARGETLIB) |
| 244 | if [ x"$(PICFLAG)" != x ]; then \ |
| 245 | cd pic; \ |
| 246 | $(AR) $(AR_FLAGS) $(TARGETLIB) \ |
| 247 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS); \ |
| 248 | $(RANLIB) $(TARGETLIB); \ |
| 249 | cd ..; \ |
| 250 | else true; fi |
| 251 | |
| 252 | $(TESTLIB): $(REQUIRED_OFILES) $(CONFIGURED_OFILES) |
| 253 | -rm -f $(TESTLIB) |
| 254 | $(AR) $(AR_FLAGS) $(TESTLIB) \ |
| 255 | $(REQUIRED_OFILES) $(CONFIGURED_OFILES) |
| 256 | $(RANLIB) $(TESTLIB) |
| 257 | |
| 258 | info: libiberty.info info-subdir |
| 259 | install-info: install-info-subdir |
| 260 | clean-info: clean-info-subdir |
| 261 | dvi: libiberty.dvi dvi-subdir |
| 262 | |
| 263 | LIBIBERTY_PDFFILES = libiberty.pdf |
| 264 | |
| 265 | pdf: $(LIBIBERTY_PDFFILES) pdf-subdir |
| 266 | |
| 267 | .PHONY: install-pdf |
| 268 | |
| 269 | pdf__strip_dir = `echo $$p | sed -e 's|^.*/||'`; |
| 270 | |
| 271 | install-pdf: $(LIBIBERTY_PDFFILES) |
| 272 | @$(NORMAL_INSTALL) |
| 273 | test -z "$(pdfdir)" || $(mkinstalldirs) "$(DESTDIR)$(pdfdir)" |
| 274 | @list='$(LIBIBERTY_PDFFILES)'; for p in $$list; do \ |
| 275 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ |
| 276 | f=$(pdf__strip_dir) \ |
| 277 | echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \ |
| 278 | $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \ |
| 279 | done |
| 280 | |
| 281 | # html, install-html targets |
| 282 | HTMLS = libiberty.html |
| 283 | |
| 284 | html: $(HTMLS) |
| 285 | |
| 286 | .PHONY: install-html install-html-am |
| 287 | |
| 288 | NORMAL_INSTALL = : |
| 289 | mkdir_p = mkdir -p -- |
| 290 | |
| 291 | html__strip_dir = `echo $$p | sed -e 's|^.*/||'`; |
| 292 | |
| 293 | install-html: install-html-am |
| 294 | |
| 295 | install-html-am: $(HTMLS) |
| 296 | @$(NORMAL_INSTALL) |
| 297 | test -z "$(htmldir)" || $(mkdir_p) "$(DESTDIR)$(htmldir)" |
| 298 | @list='$(HTMLS)'; for p in $$list; do \ |
| 299 | if test -f "$$p" || test -d "$$p"; then d=""; else d="$(srcdir)/"; fi; \ |
| 300 | f=$(html__strip_dir) \ |
| 301 | if test -d "$$d$$p"; then \ |
| 302 | echo " $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \ |
| 303 | $(mkdir_p) "$(DESTDIR)$(htmldir)/$$f" || exit 1; \ |
| 304 | echo " $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \ |
| 305 | $(INSTALL_DATA) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \ |
| 306 | else \ |
| 307 | echo " $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \ |
| 308 | $(INSTALL_DATA) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \ |
| 309 | fi; \ |
| 310 | done |
| 311 | |
| 312 | TEXISRC = \ |
| 313 | $(srcdir)/libiberty.texi \ |
| 314 | $(srcdir)/copying-lib.texi \ |
| 315 | $(srcdir)/obstacks.texi \ |
| 316 | $(srcdir)/functions.texi |
| 317 | |
| 318 | # Additional files that have texi snippets that need to be collected |
| 319 | # and sorted. Some are here because the sources are imported from |
| 320 | # elsewhere. Others represent headers in ../include. |
| 321 | TEXIFILES = fnmatch.txh pexecute.txh simple-object.txh |
| 322 | |
| 323 | libiberty.info : $(srcdir)/libiberty.texi $(TEXISRC) |
| 324 | $(MAKEINFO) -I$(srcdir) $(srcdir)/libiberty.texi |
| 325 | |
| 326 | libiberty.dvi : $(srcdir)/libiberty.texi $(TEXISRC) |
| 327 | texi2dvi $(srcdir)/libiberty.texi |
| 328 | |
| 329 | libiberty.pdf : $(srcdir)/libiberty.texi $(TEXISRC) |
| 330 | texi2pdf $(srcdir)/libiberty.texi |
| 331 | |
| 332 | libiberty.html : $(srcdir)/libiberty.texi $(TEXISRC) |
| 333 | $(MAKEINFO) --no-split --html -I$(srcdir) -o $@ $< |
| 334 | |
| 335 | @MAINT@$(srcdir)/functions.texi : stamp-functions |
| 336 | @MAINT@ @true |
| 337 | |
| 338 | @MAINT@stamp-functions : $(CFILES:%=$(srcdir)/%) $(TEXIFILES:%=$(srcdir)/%) $(srcdir)/gather-docs Makefile |
| 339 | @MAINT@@HAVE_PERL@ $(PERL) $(srcdir)/gather-docs $(srcdir) $(srcdir)/functions.texi $(CFILES) $(TEXIFILES) |
| 340 | @MAINT@ echo stamp > stamp-functions |
| 341 | |
| 342 | INSTALL_DEST = @INSTALL_DEST@ |
| 343 | install: install_to_$(INSTALL_DEST) install-subdir |
| 344 | install-strip: install |
| 345 | |
| 346 | .PHONY: install install-strip |
| 347 | |
| 348 | # This is tricky. Even though CC in the Makefile contains |
| 349 | # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the |
| 350 | # default multilib, so we have to take CFLAGS into account as well, |
| 351 | # since it will be passed the multilib flags. |
| 352 | MULTIOSDIR = `$(CC) $(CFLAGS) -print-multi-os-directory` |
| 353 | install_to_libdir: all |
| 354 | ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR) |
| 355 | $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n |
| 356 | ( cd $(DESTDIR)$(libdir)/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n ) |
| 357 | mv -f $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB) |
| 358 | if test -n "${target_header_dir}"; then \ |
| 359 | case "${target_header_dir}" in \ |
| 360 | /*) thd=${target_header_dir};; \ |
| 361 | *) thd=${includedir}/${target_header_dir};; \ |
| 362 | esac; \ |
| 363 | ${mkinstalldirs} $(DESTDIR)$${thd}; \ |
| 364 | for h in ${INSTALLED_HEADERS}; do \ |
| 365 | ${INSTALL_DATA} $$h $(DESTDIR)$${thd}; \ |
| 366 | done; \ |
| 367 | fi |
| 368 | @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install |
| 369 | |
| 370 | install_to_tooldir: all |
| 371 | ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) |
| 372 | $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n |
| 373 | ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n ) |
| 374 | mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB) |
| 375 | @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install |
| 376 | |
| 377 | # required-list was used when building a shared bfd/opcodes/libiberty |
| 378 | # library. I don't know if it used by anything currently. |
| 379 | required-list: Makefile |
| 380 | echo $(REQUIRED_OFILES) > required-list |
| 381 | |
| 382 | stamp-picdir: |
| 383 | if [ x"$(PICFLAG)" != x ] && [ ! -d pic ]; then \ |
| 384 | mkdir pic; \ |
| 385 | else true; fi |
| 386 | touch stamp-picdir |
| 387 | |
| 388 | .PHONY: all etags tags ls clean stage1 stage2 |
| 389 | |
| 390 | etags tags: TAGS etags-subdir |
| 391 | |
| 392 | TAGS: $(CFILES) |
| 393 | etags `for i in $(CFILES); do echo $(srcdir)/$$i ; done` |
| 394 | |
| 395 | # The standalone demangler (c++filt) has been moved to binutils. |
| 396 | # But make this target work anyway for demangler hacking. |
| 397 | demangle: $(ALL) $(srcdir)/cp-demangle.c |
| 398 | @echo "The standalone demangler, now named c++filt, is now" |
| 399 | @echo "a part of binutils." |
| 400 | $(CC) @DEFS@ $(CFLAGS) $(CPPFLAGS) -I. -I$(INCDIR) $(HDEFINES) \ |
| 401 | $(srcdir)/cp-demangle.c -DSTANDALONE_DEMANGLER $(TARGETLIB) -o $@ |
| 402 | |
| 403 | ls: |
| 404 | @echo Makefile $(CFILES) |
| 405 | |
| 406 | # Various targets for maintainers. |
| 407 | |
| 408 | maint-missing : |
| 409 | @$(PERL) $(srcdir)/maint-tool -s $(srcdir) missing $(CFILES) $(REQUIRED_OFILES) $(CONFIGURED_OFILES) |
| 410 | |
| 411 | maint-buildall : $(REQUIRED_OFILES) $(CONFIGURED_OFILES) |
| 412 | @true |
| 413 | |
| 414 | maint-undoc : $(srcdir)/functions.texi |
| 415 | @$(PERL) $(srcdir)/maint-tool -s $(srcdir) undoc |
| 416 | |
| 417 | maint-deps : |
| 418 | @$(PERL) $(srcdir)/maint-tool -s $(srcdir) deps $(INCDIR) |
| 419 | |
| 420 | # Need to deal with profiled libraries, too. |
| 421 | |
| 422 | # Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS |
| 423 | # multiple times, hence our explicit recursion with an empty SUBDIRS. |
| 424 | mostlyclean: mostlyclean-subdir |
| 425 | -rm -rf *.$(objext) pic core errs \#* *.E a.out |
| 426 | -rm -f errors dummy config.h stamp-* |
| 427 | -rm -f $(CONFIG_H) stamp-picdir |
| 428 | -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky |
| 429 | -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg |
| 430 | -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr |
| 431 | -rm -f libtexi.stamp |
| 432 | @$(MULTICLEAN) multi-clean DO=mostlyclean |
| 433 | clean: clean-subdir |
| 434 | $(MAKE) SUBDIRS="" mostlyclean |
| 435 | -rm -f *.a required-list tmpmulti.out |
| 436 | -rm -f libiberty.dvi libiberty.pdf libiberty.info* libiberty.html |
| 437 | @$(MULTICLEAN) multi-clean DO=clean |
| 438 | distclean: distclean-subdir |
| 439 | $(MAKE) SUBDIRS="" clean |
| 440 | @$(MULTICLEAN) multi-clean DO=distclean |
| 441 | -rm -f *~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out |
| 442 | -rm -f config.log |
| 443 | -rmdir testsuite 2>/dev/null |
| 444 | maintainer-clean realclean: maintainer-clean-subdir |
| 445 | $(MAKE) SUBDIRS="" distclean |
| 446 | |
| 447 | force: |
| 448 | |
| 449 | Makefile: $(srcdir)/Makefile.in config.status |
| 450 | CONFIG_FILES=Makefile CONFIG_HEADERS= $(SHELL) ./config.status |
| 451 | |
| 452 | # Depending on Makefile makes sure that config.status has been re-run |
| 453 | # if needed. This prevents problems with parallel builds. |
| 454 | config.h: stamp-h ; @true |
| 455 | stamp-h: $(srcdir)/config.in config.status Makefile |
| 456 | CONFIG_FILES= CONFIG_HEADERS=config.h:$(srcdir)/config.in $(SHELL) ./config.status |
| 457 | |
| 458 | config.status: $(srcdir)/configure |
| 459 | $(SHELL) ./config.status --recheck |
| 460 | |
| 461 | AUTOCONF = autoconf |
| 462 | configure_deps = $(srcdir)/aclocal.m4 \ |
| 463 | $(srcdir)/../config/acx.m4 \ |
| 464 | $(srcdir)/../config/no-executables.m4 \ |
| 465 | $(srcdir)/../config/override.m4 \ |
| 466 | $(srcdir)/../config/warnings.m4 \ |
| 467 | |
| 468 | $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(configure_deps) |
| 469 | cd $(srcdir) && $(AUTOCONF) |
| 470 | |
| 471 | # Depending on config.h makes sure that config.status has been re-run |
| 472 | # if needed. This prevents problems with parallel builds, in case |
| 473 | # subdirectories need to run config.status also. |
| 474 | all-subdir check-subdir installcheck-subdir info-subdir \ |
| 475 | install-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir \ |
| 476 | etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \ |
| 477 | maintainer-clean-subdir: config.h |
| 478 | @subdirs='$(SUBDIRS)'; \ |
| 479 | target=`echo $@ | sed -e 's/-subdir//'`; \ |
| 480 | for dir in $$subdirs ; do \ |
| 481 | cd $$dir && $(MAKE) $(FLAGS_TO_PASS) $$target; \ |
| 482 | done |
| 483 | |
| 484 | $(REQUIRED_OFILES) $(EXTRA_OFILES) $(LIBOBJS): stamp-picdir |
| 485 | $(CONFIGURED_OFILES): stamp-picdir |
| 486 | |
| 487 | # Don't export variables to the environment, in order to not confuse |
| 488 | # configure. |
| 489 | .NOEXPORT: |
| 490 | |
| 491 | # The dependencies in the remainder of this file are automatically |
| 492 | # generated by "make maint-deps". Manual edits will be lost. |
| 493 | |
| 494 | ./_doprnt.$(objext): $(srcdir)/_doprnt.c config.h $(INCDIR)/ansidecl.h \ |
| 495 | $(INCDIR)/safe-ctype.h |
| 496 | if [ x"$(PICFLAG)" != x ]; then \ |
| 497 | $(COMPILE.c) $(PICFLAG) $(srcdir)/_doprnt.c -o pic/$@; \ |
| 498 | else true; fi |
| 499 | $(COMPILE.c) $(srcdir)/_doprnt.c $(OUTPUT_OPTION) |
| 500 | |
| 501 | ./alloca.$(objext): $(srcdir)/alloca.c config.h $(INCDIR)/ansidecl.h \ |
| 502 | $(INCDIR)/libiberty.h |
| 503 | if [ x"$(PICFLAG)" != x ]; then \ |
| 504 | $(COMPILE.c) $(PICFLAG) $(srcdir)/alloca.c -o pic/$@; \ |
| 505 | else true; fi |
| 506 | $(COMPILE.c) $(srcdir)/alloca.c $(OUTPUT_OPTION) |
| 507 | |
| 508 | ./argv.$(objext): $(srcdir)/argv.c config.h $(INCDIR)/ansidecl.h \ |
| 509 | $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h |
| 510 | if [ x"$(PICFLAG)" != x ]; then \ |
| 511 | $(COMPILE.c) $(PICFLAG) $(srcdir)/argv.c -o pic/$@; \ |
| 512 | else true; fi |
| 513 | $(COMPILE.c) $(srcdir)/argv.c $(OUTPUT_OPTION) |
| 514 | |
| 515 | ./asprintf.$(objext): $(srcdir)/asprintf.c config.h $(INCDIR)/ansidecl.h \ |
| 516 | $(INCDIR)/libiberty.h |
| 517 | if [ x"$(PICFLAG)" != x ]; then \ |
| 518 | $(COMPILE.c) $(PICFLAG) $(srcdir)/asprintf.c -o pic/$@; \ |
| 519 | else true; fi |
| 520 | $(COMPILE.c) $(srcdir)/asprintf.c $(OUTPUT_OPTION) |
| 521 | |
| 522 | ./atexit.$(objext): $(srcdir)/atexit.c config.h |
| 523 | if [ x"$(PICFLAG)" != x ]; then \ |
| 524 | $(COMPILE.c) $(PICFLAG) $(srcdir)/atexit.c -o pic/$@; \ |
| 525 | else true; fi |
| 526 | $(COMPILE.c) $(srcdir)/atexit.c $(OUTPUT_OPTION) |
| 527 | |
| 528 | ./basename.$(objext): $(srcdir)/basename.c config.h $(INCDIR)/ansidecl.h \ |
| 529 | $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h |
| 530 | if [ x"$(PICFLAG)" != x ]; then \ |
| 531 | $(COMPILE.c) $(PICFLAG) $(srcdir)/basename.c -o pic/$@; \ |
| 532 | else true; fi |
| 533 | $(COMPILE.c) $(srcdir)/basename.c $(OUTPUT_OPTION) |
| 534 | |
| 535 | ./bcmp.$(objext): $(srcdir)/bcmp.c |
| 536 | if [ x"$(PICFLAG)" != x ]; then \ |
| 537 | $(COMPILE.c) $(PICFLAG) $(srcdir)/bcmp.c -o pic/$@; \ |
| 538 | else true; fi |
| 539 | $(COMPILE.c) $(srcdir)/bcmp.c $(OUTPUT_OPTION) |
| 540 | |
| 541 | ./bcopy.$(objext): $(srcdir)/bcopy.c |
| 542 | if [ x"$(PICFLAG)" != x ]; then \ |
| 543 | $(COMPILE.c) $(PICFLAG) $(srcdir)/bcopy.c -o pic/$@; \ |
| 544 | else true; fi |
| 545 | $(COMPILE.c) $(srcdir)/bcopy.c $(OUTPUT_OPTION) |
| 546 | |
| 547 | ./bsearch.$(objext): $(srcdir)/bsearch.c config.h $(INCDIR)/ansidecl.h |
| 548 | if [ x"$(PICFLAG)" != x ]; then \ |
| 549 | $(COMPILE.c) $(PICFLAG) $(srcdir)/bsearch.c -o pic/$@; \ |
| 550 | else true; fi |
| 551 | $(COMPILE.c) $(srcdir)/bsearch.c $(OUTPUT_OPTION) |
| 552 | |
| 553 | ./bzero.$(objext): $(srcdir)/bzero.c |
| 554 | if [ x"$(PICFLAG)" != x ]; then \ |
| 555 | $(COMPILE.c) $(PICFLAG) $(srcdir)/bzero.c -o pic/$@; \ |
| 556 | else true; fi |
| 557 | $(COMPILE.c) $(srcdir)/bzero.c $(OUTPUT_OPTION) |
| 558 | |
| 559 | ./calloc.$(objext): $(srcdir)/calloc.c $(INCDIR)/ansidecl.h |
| 560 | if [ x"$(PICFLAG)" != x ]; then \ |
| 561 | $(COMPILE.c) $(PICFLAG) $(srcdir)/calloc.c -o pic/$@; \ |
| 562 | else true; fi |
| 563 | $(COMPILE.c) $(srcdir)/calloc.c $(OUTPUT_OPTION) |
| 564 | |
| 565 | ./choose-temp.$(objext): $(srcdir)/choose-temp.c config.h $(INCDIR)/ansidecl.h \ |
| 566 | $(INCDIR)/libiberty.h |
| 567 | if [ x"$(PICFLAG)" != x ]; then \ |
| 568 | $(COMPILE.c) $(PICFLAG) $(srcdir)/choose-temp.c -o pic/$@; \ |
| 569 | else true; fi |
| 570 | $(COMPILE.c) $(srcdir)/choose-temp.c $(OUTPUT_OPTION) |
| 571 | |
| 572 | ./clock.$(objext): $(srcdir)/clock.c config.h |
| 573 | if [ x"$(PICFLAG)" != x ]; then \ |
| 574 | $(COMPILE.c) $(PICFLAG) $(srcdir)/clock.c -o pic/$@; \ |
| 575 | else true; fi |
| 576 | $(COMPILE.c) $(srcdir)/clock.c $(OUTPUT_OPTION) |
| 577 | |
| 578 | ./concat.$(objext): $(srcdir)/concat.c config.h $(INCDIR)/ansidecl.h \ |
| 579 | $(INCDIR)/libiberty.h |
| 580 | if [ x"$(PICFLAG)" != x ]; then \ |
| 581 | $(COMPILE.c) $(PICFLAG) $(srcdir)/concat.c -o pic/$@; \ |
| 582 | else true; fi |
| 583 | $(COMPILE.c) $(srcdir)/concat.c $(OUTPUT_OPTION) |
| 584 | |
| 585 | ./copysign.$(objext): $(srcdir)/copysign.c $(INCDIR)/ansidecl.h |
| 586 | if [ x"$(PICFLAG)" != x ]; then \ |
| 587 | $(COMPILE.c) $(PICFLAG) $(srcdir)/copysign.c -o pic/$@; \ |
| 588 | else true; fi |
| 589 | $(COMPILE.c) $(srcdir)/copysign.c $(OUTPUT_OPTION) |
| 590 | |
| 591 | ./cp-demangle.$(objext): $(srcdir)/cp-demangle.c config.h $(INCDIR)/ansidecl.h \ |
| 592 | $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \ |
| 593 | $(INCDIR)/dyn-string.h $(INCDIR)/getopt.h $(INCDIR)/libiberty.h |
| 594 | if [ x"$(PICFLAG)" != x ]; then \ |
| 595 | $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demangle.c -o pic/$@; \ |
| 596 | else true; fi |
| 597 | $(COMPILE.c) $(srcdir)/cp-demangle.c $(OUTPUT_OPTION) |
| 598 | |
| 599 | ./cp-demint.$(objext): $(srcdir)/cp-demint.c config.h $(INCDIR)/ansidecl.h \ |
| 600 | $(srcdir)/cp-demangle.h $(INCDIR)/demangle.h \ |
| 601 | $(INCDIR)/libiberty.h |
| 602 | if [ x"$(PICFLAG)" != x ]; then \ |
| 603 | $(COMPILE.c) $(PICFLAG) $(srcdir)/cp-demint.c -o pic/$@; \ |
| 604 | else true; fi |
| 605 | $(COMPILE.c) $(srcdir)/cp-demint.c $(OUTPUT_OPTION) |
| 606 | |
| 607 | ./cplus-dem.$(objext): $(srcdir)/cplus-dem.c config.h $(INCDIR)/ansidecl.h \ |
| 608 | $(INCDIR)/demangle.h $(INCDIR)/libiberty.h \ |
| 609 | $(INCDIR)/safe-ctype.h |
| 610 | if [ x"$(PICFLAG)" != x ]; then \ |
| 611 | $(COMPILE.c) $(PICFLAG) $(srcdir)/cplus-dem.c -o pic/$@; \ |
| 612 | else true; fi |
| 613 | $(COMPILE.c) $(srcdir)/cplus-dem.c $(OUTPUT_OPTION) |
| 614 | |
| 615 | ./crc32.$(objext): $(srcdir)/crc32.c config.h $(INCDIR)/ansidecl.h \ |
| 616 | $(INCDIR)/libiberty.h |
| 617 | if [ x"$(PICFLAG)" != x ]; then \ |
| 618 | $(COMPILE.c) $(PICFLAG) $(srcdir)/crc32.c -o pic/$@; \ |
| 619 | else true; fi |
| 620 | $(COMPILE.c) $(srcdir)/crc32.c $(OUTPUT_OPTION) |
| 621 | |
| 622 | ./dyn-string.$(objext): $(srcdir)/dyn-string.c config.h $(INCDIR)/ansidecl.h \ |
| 623 | $(INCDIR)/dyn-string.h $(INCDIR)/libiberty.h |
| 624 | if [ x"$(PICFLAG)" != x ]; then \ |
| 625 | $(COMPILE.c) $(PICFLAG) $(srcdir)/dyn-string.c -o pic/$@; \ |
| 626 | else true; fi |
| 627 | $(COMPILE.c) $(srcdir)/dyn-string.c $(OUTPUT_OPTION) |
| 628 | |
| 629 | ./fdmatch.$(objext): $(srcdir)/fdmatch.c config.h $(INCDIR)/ansidecl.h \ |
| 630 | $(INCDIR)/libiberty.h |
| 631 | if [ x"$(PICFLAG)" != x ]; then \ |
| 632 | $(COMPILE.c) $(PICFLAG) $(srcdir)/fdmatch.c -o pic/$@; \ |
| 633 | else true; fi |
| 634 | $(COMPILE.c) $(srcdir)/fdmatch.c $(OUTPUT_OPTION) |
| 635 | |
| 636 | ./ffs.$(objext): $(srcdir)/ffs.c |
| 637 | if [ x"$(PICFLAG)" != x ]; then \ |
| 638 | $(COMPILE.c) $(PICFLAG) $(srcdir)/ffs.c -o pic/$@; \ |
| 639 | else true; fi |
| 640 | $(COMPILE.c) $(srcdir)/ffs.c $(OUTPUT_OPTION) |
| 641 | |
| 642 | ./fibheap.$(objext): $(srcdir)/fibheap.c config.h $(INCDIR)/ansidecl.h \ |
| 643 | $(INCDIR)/fibheap.h $(INCDIR)/libiberty.h |
| 644 | if [ x"$(PICFLAG)" != x ]; then \ |
| 645 | $(COMPILE.c) $(PICFLAG) $(srcdir)/fibheap.c -o pic/$@; \ |
| 646 | else true; fi |
| 647 | $(COMPILE.c) $(srcdir)/fibheap.c $(OUTPUT_OPTION) |
| 648 | |
| 649 | ./filename_cmp.$(objext): $(srcdir)/filename_cmp.c config.h $(INCDIR)/filenames.h \ |
| 650 | $(INCDIR)/safe-ctype.h |
| 651 | if [ x"$(PICFLAG)" != x ]; then \ |
| 652 | $(COMPILE.c) $(PICFLAG) $(srcdir)/filename_cmp.c -o pic/$@; \ |
| 653 | else true; fi |
| 654 | $(COMPILE.c) $(srcdir)/filename_cmp.c $(OUTPUT_OPTION) |
| 655 | |
| 656 | ./floatformat.$(objext): $(srcdir)/floatformat.c config.h $(INCDIR)/ansidecl.h \ |
| 657 | $(INCDIR)/floatformat.h $(INCDIR)/libiberty.h |
| 658 | if [ x"$(PICFLAG)" != x ]; then \ |
| 659 | $(COMPILE.c) $(PICFLAG) $(srcdir)/floatformat.c -o pic/$@; \ |
| 660 | else true; fi |
| 661 | $(COMPILE.c) $(srcdir)/floatformat.c $(OUTPUT_OPTION) |
| 662 | |
| 663 | ./fnmatch.$(objext): $(srcdir)/fnmatch.c config.h $(INCDIR)/fnmatch.h \ |
| 664 | $(INCDIR)/safe-ctype.h |
| 665 | if [ x"$(PICFLAG)" != x ]; then \ |
| 666 | $(COMPILE.c) $(PICFLAG) $(srcdir)/fnmatch.c -o pic/$@; \ |
| 667 | else true; fi |
| 668 | $(COMPILE.c) $(srcdir)/fnmatch.c $(OUTPUT_OPTION) |
| 669 | |
| 670 | ./fopen_unlocked.$(objext): $(srcdir)/fopen_unlocked.c config.h \ |
| 671 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |
| 672 | if [ x"$(PICFLAG)" != x ]; then \ |
| 673 | $(COMPILE.c) $(PICFLAG) $(srcdir)/fopen_unlocked.c -o pic/$@; \ |
| 674 | else true; fi |
| 675 | $(COMPILE.c) $(srcdir)/fopen_unlocked.c $(OUTPUT_OPTION) |
| 676 | |
| 677 | ./getcwd.$(objext): $(srcdir)/getcwd.c config.h |
| 678 | if [ x"$(PICFLAG)" != x ]; then \ |
| 679 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getcwd.c -o pic/$@; \ |
| 680 | else true; fi |
| 681 | $(COMPILE.c) $(srcdir)/getcwd.c $(OUTPUT_OPTION) |
| 682 | |
| 683 | ./getopt.$(objext): $(srcdir)/getopt.c config.h $(INCDIR)/ansidecl.h \ |
| 684 | $(INCDIR)/getopt.h |
| 685 | if [ x"$(PICFLAG)" != x ]; then \ |
| 686 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt.c -o pic/$@; \ |
| 687 | else true; fi |
| 688 | $(COMPILE.c) $(srcdir)/getopt.c $(OUTPUT_OPTION) |
| 689 | |
| 690 | ./getopt1.$(objext): $(srcdir)/getopt1.c config.h $(INCDIR)/getopt.h |
| 691 | if [ x"$(PICFLAG)" != x ]; then \ |
| 692 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getopt1.c -o pic/$@; \ |
| 693 | else true; fi |
| 694 | $(COMPILE.c) $(srcdir)/getopt1.c $(OUTPUT_OPTION) |
| 695 | |
| 696 | ./getpagesize.$(objext): $(srcdir)/getpagesize.c config.h |
| 697 | if [ x"$(PICFLAG)" != x ]; then \ |
| 698 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getpagesize.c -o pic/$@; \ |
| 699 | else true; fi |
| 700 | $(COMPILE.c) $(srcdir)/getpagesize.c $(OUTPUT_OPTION) |
| 701 | |
| 702 | ./getpwd.$(objext): $(srcdir)/getpwd.c config.h $(INCDIR)/ansidecl.h \ |
| 703 | $(INCDIR)/libiberty.h |
| 704 | if [ x"$(PICFLAG)" != x ]; then \ |
| 705 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getpwd.c -o pic/$@; \ |
| 706 | else true; fi |
| 707 | $(COMPILE.c) $(srcdir)/getpwd.c $(OUTPUT_OPTION) |
| 708 | |
| 709 | ./getruntime.$(objext): $(srcdir)/getruntime.c config.h $(INCDIR)/ansidecl.h \ |
| 710 | $(INCDIR)/libiberty.h |
| 711 | if [ x"$(PICFLAG)" != x ]; then \ |
| 712 | $(COMPILE.c) $(PICFLAG) $(srcdir)/getruntime.c -o pic/$@; \ |
| 713 | else true; fi |
| 714 | $(COMPILE.c) $(srcdir)/getruntime.c $(OUTPUT_OPTION) |
| 715 | |
| 716 | ./gettimeofday.$(objext): $(srcdir)/gettimeofday.c config.h $(INCDIR)/ansidecl.h \ |
| 717 | $(INCDIR)/libiberty.h |
| 718 | if [ x"$(PICFLAG)" != x ]; then \ |
| 719 | $(COMPILE.c) $(PICFLAG) $(srcdir)/gettimeofday.c -o pic/$@; \ |
| 720 | else true; fi |
| 721 | $(COMPILE.c) $(srcdir)/gettimeofday.c $(OUTPUT_OPTION) |
| 722 | |
| 723 | ./hashtab.$(objext): $(srcdir)/hashtab.c config.h $(INCDIR)/ansidecl.h \ |
| 724 | $(INCDIR)/hashtab.h $(INCDIR)/libiberty.h |
| 725 | if [ x"$(PICFLAG)" != x ]; then \ |
| 726 | $(COMPILE.c) $(PICFLAG) $(srcdir)/hashtab.c -o pic/$@; \ |
| 727 | else true; fi |
| 728 | $(COMPILE.c) $(srcdir)/hashtab.c $(OUTPUT_OPTION) |
| 729 | |
| 730 | ./hex.$(objext): $(srcdir)/hex.c config.h $(INCDIR)/ansidecl.h \ |
| 731 | $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h |
| 732 | if [ x"$(PICFLAG)" != x ]; then \ |
| 733 | $(COMPILE.c) $(PICFLAG) $(srcdir)/hex.c -o pic/$@; \ |
| 734 | else true; fi |
| 735 | $(COMPILE.c) $(srcdir)/hex.c $(OUTPUT_OPTION) |
| 736 | |
| 737 | ./index.$(objext): $(srcdir)/index.c |
| 738 | if [ x"$(PICFLAG)" != x ]; then \ |
| 739 | $(COMPILE.c) $(PICFLAG) $(srcdir)/index.c -o pic/$@; \ |
| 740 | else true; fi |
| 741 | $(COMPILE.c) $(srcdir)/index.c $(OUTPUT_OPTION) |
| 742 | |
| 743 | ./insque.$(objext): $(srcdir)/insque.c |
| 744 | if [ x"$(PICFLAG)" != x ]; then \ |
| 745 | $(COMPILE.c) $(PICFLAG) $(srcdir)/insque.c -o pic/$@; \ |
| 746 | else true; fi |
| 747 | $(COMPILE.c) $(srcdir)/insque.c $(OUTPUT_OPTION) |
| 748 | |
| 749 | ./lbasename.$(objext): $(srcdir)/lbasename.c config.h $(INCDIR)/ansidecl.h \ |
| 750 | $(INCDIR)/filenames.h $(INCDIR)/libiberty.h \ |
| 751 | $(INCDIR)/safe-ctype.h |
| 752 | if [ x"$(PICFLAG)" != x ]; then \ |
| 753 | $(COMPILE.c) $(PICFLAG) $(srcdir)/lbasename.c -o pic/$@; \ |
| 754 | else true; fi |
| 755 | $(COMPILE.c) $(srcdir)/lbasename.c $(OUTPUT_OPTION) |
| 756 | |
| 757 | ./lrealpath.$(objext): $(srcdir)/lrealpath.c config.h $(INCDIR)/ansidecl.h \ |
| 758 | $(INCDIR)/libiberty.h |
| 759 | if [ x"$(PICFLAG)" != x ]; then \ |
| 760 | $(COMPILE.c) $(PICFLAG) $(srcdir)/lrealpath.c -o pic/$@; \ |
| 761 | else true; fi |
| 762 | $(COMPILE.c) $(srcdir)/lrealpath.c $(OUTPUT_OPTION) |
| 763 | |
| 764 | ./make-relative-prefix.$(objext): $(srcdir)/make-relative-prefix.c config.h \ |
| 765 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |
| 766 | if [ x"$(PICFLAG)" != x ]; then \ |
| 767 | $(COMPILE.c) $(PICFLAG) $(srcdir)/make-relative-prefix.c -o pic/$@; \ |
| 768 | else true; fi |
| 769 | $(COMPILE.c) $(srcdir)/make-relative-prefix.c $(OUTPUT_OPTION) |
| 770 | |
| 771 | ./make-temp-file.$(objext): $(srcdir)/make-temp-file.c config.h \ |
| 772 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |
| 773 | if [ x"$(PICFLAG)" != x ]; then \ |
| 774 | $(COMPILE.c) $(PICFLAG) $(srcdir)/make-temp-file.c -o pic/$@; \ |
| 775 | else true; fi |
| 776 | $(COMPILE.c) $(srcdir)/make-temp-file.c $(OUTPUT_OPTION) |
| 777 | |
| 778 | ./md5.$(objext): $(srcdir)/md5.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/md5.h |
| 779 | if [ x"$(PICFLAG)" != x ]; then \ |
| 780 | $(COMPILE.c) $(PICFLAG) $(srcdir)/md5.c -o pic/$@; \ |
| 781 | else true; fi |
| 782 | $(COMPILE.c) $(srcdir)/md5.c $(OUTPUT_OPTION) |
| 783 | |
| 784 | ./memchr.$(objext): $(srcdir)/memchr.c $(INCDIR)/ansidecl.h |
| 785 | if [ x"$(PICFLAG)" != x ]; then \ |
| 786 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memchr.c -o pic/$@; \ |
| 787 | else true; fi |
| 788 | $(COMPILE.c) $(srcdir)/memchr.c $(OUTPUT_OPTION) |
| 789 | |
| 790 | ./memcmp.$(objext): $(srcdir)/memcmp.c $(INCDIR)/ansidecl.h |
| 791 | if [ x"$(PICFLAG)" != x ]; then \ |
| 792 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memcmp.c -o pic/$@; \ |
| 793 | else true; fi |
| 794 | $(COMPILE.c) $(srcdir)/memcmp.c $(OUTPUT_OPTION) |
| 795 | |
| 796 | ./memcpy.$(objext): $(srcdir)/memcpy.c $(INCDIR)/ansidecl.h |
| 797 | if [ x"$(PICFLAG)" != x ]; then \ |
| 798 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memcpy.c -o pic/$@; \ |
| 799 | else true; fi |
| 800 | $(COMPILE.c) $(srcdir)/memcpy.c $(OUTPUT_OPTION) |
| 801 | |
| 802 | ./memmem.$(objext): $(srcdir)/memmem.c config.h |
| 803 | if [ x"$(PICFLAG)" != x ]; then \ |
| 804 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memmem.c -o pic/$@; \ |
| 805 | else true; fi |
| 806 | $(COMPILE.c) $(srcdir)/memmem.c $(OUTPUT_OPTION) |
| 807 | |
| 808 | ./memmove.$(objext): $(srcdir)/memmove.c $(INCDIR)/ansidecl.h |
| 809 | if [ x"$(PICFLAG)" != x ]; then \ |
| 810 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memmove.c -o pic/$@; \ |
| 811 | else true; fi |
| 812 | $(COMPILE.c) $(srcdir)/memmove.c $(OUTPUT_OPTION) |
| 813 | |
| 814 | ./mempcpy.$(objext): $(srcdir)/mempcpy.c $(INCDIR)/ansidecl.h |
| 815 | if [ x"$(PICFLAG)" != x ]; then \ |
| 816 | $(COMPILE.c) $(PICFLAG) $(srcdir)/mempcpy.c -o pic/$@; \ |
| 817 | else true; fi |
| 818 | $(COMPILE.c) $(srcdir)/mempcpy.c $(OUTPUT_OPTION) |
| 819 | |
| 820 | ./memset.$(objext): $(srcdir)/memset.c $(INCDIR)/ansidecl.h |
| 821 | if [ x"$(PICFLAG)" != x ]; then \ |
| 822 | $(COMPILE.c) $(PICFLAG) $(srcdir)/memset.c -o pic/$@; \ |
| 823 | else true; fi |
| 824 | $(COMPILE.c) $(srcdir)/memset.c $(OUTPUT_OPTION) |
| 825 | |
| 826 | ./mkstemps.$(objext): $(srcdir)/mkstemps.c config.h $(INCDIR)/ansidecl.h |
| 827 | if [ x"$(PICFLAG)" != x ]; then \ |
| 828 | $(COMPILE.c) $(PICFLAG) $(srcdir)/mkstemps.c -o pic/$@; \ |
| 829 | else true; fi |
| 830 | $(COMPILE.c) $(srcdir)/mkstemps.c $(OUTPUT_OPTION) |
| 831 | |
| 832 | ./msdos.$(objext): $(srcdir)/msdos.c |
| 833 | if [ x"$(PICFLAG)" != x ]; then \ |
| 834 | $(COMPILE.c) $(PICFLAG) $(srcdir)/msdos.c -o pic/$@; \ |
| 835 | else true; fi |
| 836 | $(COMPILE.c) $(srcdir)/msdos.c $(OUTPUT_OPTION) |
| 837 | |
| 838 | ./objalloc.$(objext): $(srcdir)/objalloc.c config.h $(INCDIR)/ansidecl.h \ |
| 839 | $(INCDIR)/objalloc.h |
| 840 | if [ x"$(PICFLAG)" != x ]; then \ |
| 841 | $(COMPILE.c) $(PICFLAG) $(srcdir)/objalloc.c -o pic/$@; \ |
| 842 | else true; fi |
| 843 | $(COMPILE.c) $(srcdir)/objalloc.c $(OUTPUT_OPTION) |
| 844 | |
| 845 | ./obstack.$(objext): $(srcdir)/obstack.c config.h $(INCDIR)/obstack.h |
| 846 | if [ x"$(PICFLAG)" != x ]; then \ |
| 847 | $(COMPILE.c) $(PICFLAG) $(srcdir)/obstack.c -o pic/$@; \ |
| 848 | else true; fi |
| 849 | $(COMPILE.c) $(srcdir)/obstack.c $(OUTPUT_OPTION) |
| 850 | |
| 851 | ./partition.$(objext): $(srcdir)/partition.c config.h $(INCDIR)/ansidecl.h \ |
| 852 | $(INCDIR)/libiberty.h $(INCDIR)/partition.h |
| 853 | if [ x"$(PICFLAG)" != x ]; then \ |
| 854 | $(COMPILE.c) $(PICFLAG) $(srcdir)/partition.c -o pic/$@; \ |
| 855 | else true; fi |
| 856 | $(COMPILE.c) $(srcdir)/partition.c $(OUTPUT_OPTION) |
| 857 | |
| 858 | ./pex-common.$(objext): $(srcdir)/pex-common.c config.h $(INCDIR)/ansidecl.h \ |
| 859 | $(INCDIR)/libiberty.h $(srcdir)/pex-common.h |
| 860 | if [ x"$(PICFLAG)" != x ]; then \ |
| 861 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-common.c -o pic/$@; \ |
| 862 | else true; fi |
| 863 | $(COMPILE.c) $(srcdir)/pex-common.c $(OUTPUT_OPTION) |
| 864 | |
| 865 | ./pex-djgpp.$(objext): $(srcdir)/pex-djgpp.c config.h $(INCDIR)/ansidecl.h \ |
| 866 | $(INCDIR)/libiberty.h $(srcdir)/pex-common.h |
| 867 | if [ x"$(PICFLAG)" != x ]; then \ |
| 868 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-djgpp.c -o pic/$@; \ |
| 869 | else true; fi |
| 870 | $(COMPILE.c) $(srcdir)/pex-djgpp.c $(OUTPUT_OPTION) |
| 871 | |
| 872 | ./pex-msdos.$(objext): $(srcdir)/pex-msdos.c config.h $(INCDIR)/ansidecl.h \ |
| 873 | $(INCDIR)/libiberty.h $(srcdir)/pex-common.h \ |
| 874 | $(INCDIR)/safe-ctype.h |
| 875 | if [ x"$(PICFLAG)" != x ]; then \ |
| 876 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-msdos.c -o pic/$@; \ |
| 877 | else true; fi |
| 878 | $(COMPILE.c) $(srcdir)/pex-msdos.c $(OUTPUT_OPTION) |
| 879 | |
| 880 | ./pex-one.$(objext): $(srcdir)/pex-one.c config.h $(INCDIR)/ansidecl.h \ |
| 881 | $(INCDIR)/libiberty.h |
| 882 | if [ x"$(PICFLAG)" != x ]; then \ |
| 883 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-one.c -o pic/$@; \ |
| 884 | else true; fi |
| 885 | $(COMPILE.c) $(srcdir)/pex-one.c $(OUTPUT_OPTION) |
| 886 | |
| 887 | ./pex-unix.$(objext): $(srcdir)/pex-unix.c config.h $(INCDIR)/ansidecl.h \ |
| 888 | $(INCDIR)/libiberty.h $(srcdir)/pex-common.h |
| 889 | if [ x"$(PICFLAG)" != x ]; then \ |
| 890 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-unix.c -o pic/$@; \ |
| 891 | else true; fi |
| 892 | $(COMPILE.c) $(srcdir)/pex-unix.c $(OUTPUT_OPTION) |
| 893 | |
| 894 | ./pex-win32.$(objext): $(srcdir)/pex-win32.c config.h $(INCDIR)/ansidecl.h \ |
| 895 | $(INCDIR)/libiberty.h $(srcdir)/pex-common.h |
| 896 | if [ x"$(PICFLAG)" != x ]; then \ |
| 897 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pex-win32.c -o pic/$@; \ |
| 898 | else true; fi |
| 899 | $(COMPILE.c) $(srcdir)/pex-win32.c $(OUTPUT_OPTION) |
| 900 | |
| 901 | ./pexecute.$(objext): $(srcdir)/pexecute.c config.h $(INCDIR)/ansidecl.h \ |
| 902 | $(INCDIR)/libiberty.h |
| 903 | if [ x"$(PICFLAG)" != x ]; then \ |
| 904 | $(COMPILE.c) $(PICFLAG) $(srcdir)/pexecute.c -o pic/$@; \ |
| 905 | else true; fi |
| 906 | $(COMPILE.c) $(srcdir)/pexecute.c $(OUTPUT_OPTION) |
| 907 | |
| 908 | ./physmem.$(objext): $(srcdir)/physmem.c config.h $(INCDIR)/ansidecl.h \ |
| 909 | $(INCDIR)/libiberty.h |
| 910 | if [ x"$(PICFLAG)" != x ]; then \ |
| 911 | $(COMPILE.c) $(PICFLAG) $(srcdir)/physmem.c -o pic/$@; \ |
| 912 | else true; fi |
| 913 | $(COMPILE.c) $(srcdir)/physmem.c $(OUTPUT_OPTION) |
| 914 | |
| 915 | ./putenv.$(objext): $(srcdir)/putenv.c config.h $(INCDIR)/ansidecl.h |
| 916 | if [ x"$(PICFLAG)" != x ]; then \ |
| 917 | $(COMPILE.c) $(PICFLAG) $(srcdir)/putenv.c -o pic/$@; \ |
| 918 | else true; fi |
| 919 | $(COMPILE.c) $(srcdir)/putenv.c $(OUTPUT_OPTION) |
| 920 | |
| 921 | ./random.$(objext): $(srcdir)/random.c $(INCDIR)/ansidecl.h |
| 922 | if [ x"$(PICFLAG)" != x ]; then \ |
| 923 | $(COMPILE.c) $(PICFLAG) $(srcdir)/random.c -o pic/$@; \ |
| 924 | else true; fi |
| 925 | $(COMPILE.c) $(srcdir)/random.c $(OUTPUT_OPTION) |
| 926 | |
| 927 | ./regex.$(objext): $(srcdir)/regex.c config.h $(INCDIR)/ansidecl.h \ |
| 928 | $(INCDIR)/xregex.h $(INCDIR)/xregex2.h |
| 929 | if [ x"$(PICFLAG)" != x ]; then \ |
| 930 | $(COMPILE.c) $(PICFLAG) $(srcdir)/regex.c -o pic/$@; \ |
| 931 | else true; fi |
| 932 | $(COMPILE.c) $(srcdir)/regex.c $(OUTPUT_OPTION) |
| 933 | |
| 934 | ./rename.$(objext): $(srcdir)/rename.c config.h $(INCDIR)/ansidecl.h |
| 935 | if [ x"$(PICFLAG)" != x ]; then \ |
| 936 | $(COMPILE.c) $(PICFLAG) $(srcdir)/rename.c -o pic/$@; \ |
| 937 | else true; fi |
| 938 | $(COMPILE.c) $(srcdir)/rename.c $(OUTPUT_OPTION) |
| 939 | |
| 940 | ./rindex.$(objext): $(srcdir)/rindex.c |
| 941 | if [ x"$(PICFLAG)" != x ]; then \ |
| 942 | $(COMPILE.c) $(PICFLAG) $(srcdir)/rindex.c -o pic/$@; \ |
| 943 | else true; fi |
| 944 | $(COMPILE.c) $(srcdir)/rindex.c $(OUTPUT_OPTION) |
| 945 | |
| 946 | ./safe-ctype.$(objext): $(srcdir)/safe-ctype.c $(INCDIR)/ansidecl.h \ |
| 947 | $(INCDIR)/safe-ctype.h |
| 948 | if [ x"$(PICFLAG)" != x ]; then \ |
| 949 | $(COMPILE.c) $(PICFLAG) $(srcdir)/safe-ctype.c -o pic/$@; \ |
| 950 | else true; fi |
| 951 | $(COMPILE.c) $(srcdir)/safe-ctype.c $(OUTPUT_OPTION) |
| 952 | |
| 953 | ./setenv.$(objext): $(srcdir)/setenv.c config.h $(INCDIR)/ansidecl.h |
| 954 | if [ x"$(PICFLAG)" != x ]; then \ |
| 955 | $(COMPILE.c) $(PICFLAG) $(srcdir)/setenv.c -o pic/$@; \ |
| 956 | else true; fi |
| 957 | $(COMPILE.c) $(srcdir)/setenv.c $(OUTPUT_OPTION) |
| 958 | |
| 959 | ./setproctitle.$(objext): $(srcdir)/setproctitle.c config.h $(INCDIR)/ansidecl.h |
| 960 | if [ x"$(PICFLAG)" != x ]; then \ |
| 961 | $(COMPILE.c) $(PICFLAG) $(srcdir)/setproctitle.c -o pic/$@; \ |
| 962 | else true; fi |
| 963 | $(COMPILE.c) $(srcdir)/setproctitle.c $(OUTPUT_OPTION) |
| 964 | |
| 965 | ./sha1.$(objext): $(srcdir)/sha1.c config.h $(INCDIR)/ansidecl.h $(INCDIR)/sha1.h |
| 966 | if [ x"$(PICFLAG)" != x ]; then \ |
| 967 | $(COMPILE.c) $(PICFLAG) $(srcdir)/sha1.c -o pic/$@; \ |
| 968 | else true; fi |
| 969 | $(COMPILE.c) $(srcdir)/sha1.c $(OUTPUT_OPTION) |
| 970 | |
| 971 | ./sigsetmask.$(objext): $(srcdir)/sigsetmask.c $(INCDIR)/ansidecl.h |
| 972 | if [ x"$(PICFLAG)" != x ]; then \ |
| 973 | $(COMPILE.c) $(PICFLAG) $(srcdir)/sigsetmask.c -o pic/$@; \ |
| 974 | else true; fi |
| 975 | $(COMPILE.c) $(srcdir)/sigsetmask.c $(OUTPUT_OPTION) |
| 976 | |
| 977 | ./simple-object-coff.$(objext): $(srcdir)/simple-object-coff.c config.h \ |
| 978 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ |
| 979 | $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h |
| 980 | if [ x"$(PICFLAG)" != x ]; then \ |
| 981 | $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-coff.c -o pic/$@; \ |
| 982 | else true; fi |
| 983 | $(COMPILE.c) $(srcdir)/simple-object-coff.c $(OUTPUT_OPTION) |
| 984 | |
| 985 | ./simple-object-elf.$(objext): $(srcdir)/simple-object-elf.c config.h \ |
| 986 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ |
| 987 | $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h |
| 988 | if [ x"$(PICFLAG)" != x ]; then \ |
| 989 | $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-elf.c -o pic/$@; \ |
| 990 | else true; fi |
| 991 | $(COMPILE.c) $(srcdir)/simple-object-elf.c $(OUTPUT_OPTION) |
| 992 | |
| 993 | ./simple-object-mach-o.$(objext): $(srcdir)/simple-object-mach-o.c config.h \ |
| 994 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ |
| 995 | $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h |
| 996 | if [ x"$(PICFLAG)" != x ]; then \ |
| 997 | $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object-mach-o.c -o pic/$@; \ |
| 998 | else true; fi |
| 999 | $(COMPILE.c) $(srcdir)/simple-object-mach-o.c $(OUTPUT_OPTION) |
| 1000 | |
| 1001 | ./simple-object.$(objext): $(srcdir)/simple-object.c config.h \ |
| 1002 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h \ |
| 1003 | $(srcdir)/simple-object-common.h $(INCDIR)/simple-object.h |
| 1004 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1005 | $(COMPILE.c) $(PICFLAG) $(srcdir)/simple-object.c -o pic/$@; \ |
| 1006 | else true; fi |
| 1007 | $(COMPILE.c) $(srcdir)/simple-object.c $(OUTPUT_OPTION) |
| 1008 | |
| 1009 | ./snprintf.$(objext): $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h |
| 1010 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1011 | $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \ |
| 1012 | else true; fi |
| 1013 | $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION) |
| 1014 | |
| 1015 | ./sort.$(objext): $(srcdir)/sort.c config.h $(INCDIR)/ansidecl.h \ |
| 1016 | $(INCDIR)/libiberty.h $(INCDIR)/sort.h |
| 1017 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1018 | $(COMPILE.c) $(PICFLAG) $(srcdir)/sort.c -o pic/$@; \ |
| 1019 | else true; fi |
| 1020 | $(COMPILE.c) $(srcdir)/sort.c $(OUTPUT_OPTION) |
| 1021 | |
| 1022 | ./spaces.$(objext): $(srcdir)/spaces.c config.h $(INCDIR)/ansidecl.h \ |
| 1023 | $(INCDIR)/libiberty.h |
| 1024 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1025 | $(COMPILE.c) $(PICFLAG) $(srcdir)/spaces.c -o pic/$@; \ |
| 1026 | else true; fi |
| 1027 | $(COMPILE.c) $(srcdir)/spaces.c $(OUTPUT_OPTION) |
| 1028 | |
| 1029 | ./splay-tree.$(objext): $(srcdir)/splay-tree.c config.h $(INCDIR)/ansidecl.h \ |
| 1030 | $(INCDIR)/libiberty.h $(INCDIR)/splay-tree.h |
| 1031 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1032 | $(COMPILE.c) $(PICFLAG) $(srcdir)/splay-tree.c -o pic/$@; \ |
| 1033 | else true; fi |
| 1034 | $(COMPILE.c) $(srcdir)/splay-tree.c $(OUTPUT_OPTION) |
| 1035 | |
| 1036 | ./stpcpy.$(objext): $(srcdir)/stpcpy.c $(INCDIR)/ansidecl.h |
| 1037 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1038 | $(COMPILE.c) $(PICFLAG) $(srcdir)/stpcpy.c -o pic/$@; \ |
| 1039 | else true; fi |
| 1040 | $(COMPILE.c) $(srcdir)/stpcpy.c $(OUTPUT_OPTION) |
| 1041 | |
| 1042 | ./stpncpy.$(objext): $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h |
| 1043 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1044 | $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \ |
| 1045 | else true; fi |
| 1046 | $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION) |
| 1047 | |
| 1048 | ./strcasecmp.$(objext): $(srcdir)/strcasecmp.c $(INCDIR)/ansidecl.h |
| 1049 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1050 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strcasecmp.c -o pic/$@; \ |
| 1051 | else true; fi |
| 1052 | $(COMPILE.c) $(srcdir)/strcasecmp.c $(OUTPUT_OPTION) |
| 1053 | |
| 1054 | ./strchr.$(objext): $(srcdir)/strchr.c $(INCDIR)/ansidecl.h |
| 1055 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1056 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strchr.c -o pic/$@; \ |
| 1057 | else true; fi |
| 1058 | $(COMPILE.c) $(srcdir)/strchr.c $(OUTPUT_OPTION) |
| 1059 | |
| 1060 | ./strdup.$(objext): $(srcdir)/strdup.c $(INCDIR)/ansidecl.h |
| 1061 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1062 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strdup.c -o pic/$@; \ |
| 1063 | else true; fi |
| 1064 | $(COMPILE.c) $(srcdir)/strdup.c $(OUTPUT_OPTION) |
| 1065 | |
| 1066 | ./strerror.$(objext): $(srcdir)/strerror.c config.h $(INCDIR)/ansidecl.h \ |
| 1067 | $(INCDIR)/libiberty.h |
| 1068 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1069 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strerror.c -o pic/$@; \ |
| 1070 | else true; fi |
| 1071 | $(COMPILE.c) $(srcdir)/strerror.c $(OUTPUT_OPTION) |
| 1072 | |
| 1073 | ./strncasecmp.$(objext): $(srcdir)/strncasecmp.c $(INCDIR)/ansidecl.h |
| 1074 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1075 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strncasecmp.c -o pic/$@; \ |
| 1076 | else true; fi |
| 1077 | $(COMPILE.c) $(srcdir)/strncasecmp.c $(OUTPUT_OPTION) |
| 1078 | |
| 1079 | ./strncmp.$(objext): $(srcdir)/strncmp.c $(INCDIR)/ansidecl.h |
| 1080 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1081 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strncmp.c -o pic/$@; \ |
| 1082 | else true; fi |
| 1083 | $(COMPILE.c) $(srcdir)/strncmp.c $(OUTPUT_OPTION) |
| 1084 | |
| 1085 | ./strndup.$(objext): $(srcdir)/strndup.c $(INCDIR)/ansidecl.h |
| 1086 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1087 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strndup.c -o pic/$@; \ |
| 1088 | else true; fi |
| 1089 | $(COMPILE.c) $(srcdir)/strndup.c $(OUTPUT_OPTION) |
| 1090 | |
| 1091 | ./strrchr.$(objext): $(srcdir)/strrchr.c $(INCDIR)/ansidecl.h |
| 1092 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1093 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strrchr.c -o pic/$@; \ |
| 1094 | else true; fi |
| 1095 | $(COMPILE.c) $(srcdir)/strrchr.c $(OUTPUT_OPTION) |
| 1096 | |
| 1097 | ./strsignal.$(objext): $(srcdir)/strsignal.c config.h $(INCDIR)/ansidecl.h \ |
| 1098 | $(INCDIR)/libiberty.h |
| 1099 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1100 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strsignal.c -o pic/$@; \ |
| 1101 | else true; fi |
| 1102 | $(COMPILE.c) $(srcdir)/strsignal.c $(OUTPUT_OPTION) |
| 1103 | |
| 1104 | ./strstr.$(objext): $(srcdir)/strstr.c |
| 1105 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1106 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strstr.c -o pic/$@; \ |
| 1107 | else true; fi |
| 1108 | $(COMPILE.c) $(srcdir)/strstr.c $(OUTPUT_OPTION) |
| 1109 | |
| 1110 | ./strtod.$(objext): $(srcdir)/strtod.c $(INCDIR)/ansidecl.h \ |
| 1111 | $(INCDIR)/safe-ctype.h |
| 1112 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1113 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strtod.c -o pic/$@; \ |
| 1114 | else true; fi |
| 1115 | $(COMPILE.c) $(srcdir)/strtod.c $(OUTPUT_OPTION) |
| 1116 | |
| 1117 | ./strtol.$(objext): $(srcdir)/strtol.c config.h $(INCDIR)/safe-ctype.h |
| 1118 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1119 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strtol.c -o pic/$@; \ |
| 1120 | else true; fi |
| 1121 | $(COMPILE.c) $(srcdir)/strtol.c $(OUTPUT_OPTION) |
| 1122 | |
| 1123 | ./strtoul.$(objext): $(srcdir)/strtoul.c config.h $(INCDIR)/ansidecl.h \ |
| 1124 | $(INCDIR)/safe-ctype.h |
| 1125 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1126 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strtoul.c -o pic/$@; \ |
| 1127 | else true; fi |
| 1128 | $(COMPILE.c) $(srcdir)/strtoul.c $(OUTPUT_OPTION) |
| 1129 | |
| 1130 | ./strverscmp.$(objext): $(srcdir)/strverscmp.c $(INCDIR)/ansidecl.h \ |
| 1131 | $(INCDIR)/libiberty.h $(INCDIR)/safe-ctype.h |
| 1132 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1133 | $(COMPILE.c) $(PICFLAG) $(srcdir)/strverscmp.c -o pic/$@; \ |
| 1134 | else true; fi |
| 1135 | $(COMPILE.c) $(srcdir)/strverscmp.c $(OUTPUT_OPTION) |
| 1136 | |
| 1137 | ./tmpnam.$(objext): $(srcdir)/tmpnam.c |
| 1138 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1139 | $(COMPILE.c) $(PICFLAG) $(srcdir)/tmpnam.c -o pic/$@; \ |
| 1140 | else true; fi |
| 1141 | $(COMPILE.c) $(srcdir)/tmpnam.c $(OUTPUT_OPTION) |
| 1142 | |
| 1143 | ./unlink-if-ordinary.$(objext): $(srcdir)/unlink-if-ordinary.c config.h \ |
| 1144 | $(INCDIR)/ansidecl.h $(INCDIR)/libiberty.h |
| 1145 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1146 | $(COMPILE.c) $(PICFLAG) $(srcdir)/unlink-if-ordinary.c -o pic/$@; \ |
| 1147 | else true; fi |
| 1148 | $(COMPILE.c) $(srcdir)/unlink-if-ordinary.c $(OUTPUT_OPTION) |
| 1149 | |
| 1150 | ./vasprintf.$(objext): $(srcdir)/vasprintf.c config.h $(INCDIR)/ansidecl.h \ |
| 1151 | $(INCDIR)/libiberty.h |
| 1152 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1153 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vasprintf.c -o pic/$@; \ |
| 1154 | else true; fi |
| 1155 | $(COMPILE.c) $(srcdir)/vasprintf.c $(OUTPUT_OPTION) |
| 1156 | |
| 1157 | ./vfork.$(objext): $(srcdir)/vfork.c $(INCDIR)/ansidecl.h |
| 1158 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1159 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vfork.c -o pic/$@; \ |
| 1160 | else true; fi |
| 1161 | $(COMPILE.c) $(srcdir)/vfork.c $(OUTPUT_OPTION) |
| 1162 | |
| 1163 | ./vfprintf.$(objext): $(srcdir)/vfprintf.c $(INCDIR)/ansidecl.h |
| 1164 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1165 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vfprintf.c -o pic/$@; \ |
| 1166 | else true; fi |
| 1167 | $(COMPILE.c) $(srcdir)/vfprintf.c $(OUTPUT_OPTION) |
| 1168 | |
| 1169 | ./vprintf.$(objext): $(srcdir)/vprintf.c $(INCDIR)/ansidecl.h |
| 1170 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1171 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vprintf.c -o pic/$@; \ |
| 1172 | else true; fi |
| 1173 | $(COMPILE.c) $(srcdir)/vprintf.c $(OUTPUT_OPTION) |
| 1174 | |
| 1175 | ./vsnprintf.$(objext): $(srcdir)/vsnprintf.c config.h $(INCDIR)/ansidecl.h \ |
| 1176 | $(INCDIR)/libiberty.h |
| 1177 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1178 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vsnprintf.c -o pic/$@; \ |
| 1179 | else true; fi |
| 1180 | $(COMPILE.c) $(srcdir)/vsnprintf.c $(OUTPUT_OPTION) |
| 1181 | |
| 1182 | ./vsprintf.$(objext): $(srcdir)/vsprintf.c $(INCDIR)/ansidecl.h |
| 1183 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1184 | $(COMPILE.c) $(PICFLAG) $(srcdir)/vsprintf.c -o pic/$@; \ |
| 1185 | else true; fi |
| 1186 | $(COMPILE.c) $(srcdir)/vsprintf.c $(OUTPUT_OPTION) |
| 1187 | |
| 1188 | ./waitpid.$(objext): $(srcdir)/waitpid.c config.h $(INCDIR)/ansidecl.h |
| 1189 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1190 | $(COMPILE.c) $(PICFLAG) $(srcdir)/waitpid.c -o pic/$@; \ |
| 1191 | else true; fi |
| 1192 | $(COMPILE.c) $(srcdir)/waitpid.c $(OUTPUT_OPTION) |
| 1193 | |
| 1194 | ./xatexit.$(objext): $(srcdir)/xatexit.c config.h $(INCDIR)/ansidecl.h \ |
| 1195 | $(INCDIR)/libiberty.h |
| 1196 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1197 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xatexit.c -o pic/$@; \ |
| 1198 | else true; fi |
| 1199 | $(COMPILE.c) $(srcdir)/xatexit.c $(OUTPUT_OPTION) |
| 1200 | |
| 1201 | ./xexit.$(objext): $(srcdir)/xexit.c config.h $(INCDIR)/ansidecl.h \ |
| 1202 | $(INCDIR)/libiberty.h |
| 1203 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1204 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xexit.c -o pic/$@; \ |
| 1205 | else true; fi |
| 1206 | $(COMPILE.c) $(srcdir)/xexit.c $(OUTPUT_OPTION) |
| 1207 | |
| 1208 | ./xmalloc.$(objext): $(srcdir)/xmalloc.c config.h $(INCDIR)/ansidecl.h \ |
| 1209 | $(INCDIR)/libiberty.h |
| 1210 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1211 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xmalloc.c -o pic/$@; \ |
| 1212 | else true; fi |
| 1213 | $(COMPILE.c) $(srcdir)/xmalloc.c $(OUTPUT_OPTION) |
| 1214 | |
| 1215 | ./xmemdup.$(objext): $(srcdir)/xmemdup.c config.h $(INCDIR)/ansidecl.h \ |
| 1216 | $(INCDIR)/libiberty.h |
| 1217 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1218 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xmemdup.c -o pic/$@; \ |
| 1219 | else true; fi |
| 1220 | $(COMPILE.c) $(srcdir)/xmemdup.c $(OUTPUT_OPTION) |
| 1221 | |
| 1222 | ./xstrdup.$(objext): $(srcdir)/xstrdup.c config.h $(INCDIR)/ansidecl.h \ |
| 1223 | $(INCDIR)/libiberty.h |
| 1224 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1225 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrdup.c -o pic/$@; \ |
| 1226 | else true; fi |
| 1227 | $(COMPILE.c) $(srcdir)/xstrdup.c $(OUTPUT_OPTION) |
| 1228 | |
| 1229 | ./xstrerror.$(objext): $(srcdir)/xstrerror.c config.h $(INCDIR)/ansidecl.h \ |
| 1230 | $(INCDIR)/libiberty.h |
| 1231 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1232 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrerror.c -o pic/$@; \ |
| 1233 | else true; fi |
| 1234 | $(COMPILE.c) $(srcdir)/xstrerror.c $(OUTPUT_OPTION) |
| 1235 | |
| 1236 | ./xstrndup.$(objext): $(srcdir)/xstrndup.c config.h $(INCDIR)/ansidecl.h \ |
| 1237 | $(INCDIR)/libiberty.h |
| 1238 | if [ x"$(PICFLAG)" != x ]; then \ |
| 1239 | $(COMPILE.c) $(PICFLAG) $(srcdir)/xstrndup.c -o pic/$@; \ |
| 1240 | else true; fi |
| 1241 | $(COMPILE.c) $(srcdir)/xstrndup.c $(OUTPUT_OPTION) |
| 1242 | |