1 # Makefile for the libiberty library.
2 # Originally written by K. Richard Pixley <rich@cygnus.com>.
4 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
5 # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software
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.
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.
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.
24 libiberty_topdir
= @libiberty_topdir@
29 exec_prefix = @
exec_prefix@
32 includedir = @
includedir@
33 target_header_dir
= @target_header_dir@
38 # Multilib support variables.
47 INSTALL_PROGRAM
= @INSTALL_PROGRAM@
48 INSTALL_DATA
= @INSTALL_DATA@
49 mkinstalldirs
= $(SHELL
) $(libiberty_topdir
)/mkinstalldirs
51 # Some compilers can't handle cc -c blah.c -o foo/blah.o.
52 OUTPUT_OPTION
= @OUTPUT_OPTION@
68 TARGETLIB
= .
/libiberty.a
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.)
77 # Flags to pass to a recursive make.
80 "AR_FLAGS=$(AR_FLAGS)" \
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)" \
95 "exec_prefix=$(exec_prefix)" \
97 "libsubdir=$(libsubdir)" \
100 # Subdirectories to recurse into. We need to override this during cleaning
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
107 .PHONY
: check installcheck
109 installcheck: installcheck-subdir
113 INCDIR
=$(srcdir)/$(MULTISRCTOP
)..
/include
115 COMPILE.c
= $(CC
) -c @DEFS@
$(CFLAGS
) $(CPPFLAGS
) -I.
-I
$(INCDIR
) $(HDEFINES
) @ac_libiberty_warn_cflags@
117 # Just to make sure we don't use a built-in rule with VPATH
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 \
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 \
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 \
146 random.c regex.c rename.c rindex.c \
147 safe-ctype.c setenv.c sha1.c sigsetmask.c snprintf.c
sort.c \
148 spaces.c splay-tree.c stpcpy.c stpncpy.c strcasecmp.c \
149 strchr.c strdup.c strerror.c strncasecmp.c strncmp.c \
150 strrchr.c strsignal.c strstr.c strtod.c strtol.c strtoul.c \
151 strndup.c strverscmp.c \
153 unlink-if-ordinary.c \
154 vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c \
156 xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c \
159 # These are always included in the library. The first four are listed
160 # first and by compile time to optimize parallel builds.
162 .
/regex.
$(objext
) .
/cplus-dem.
$(objext
) .
/cp-demangle.
$(objext
) \
163 .
/md5.
$(objext
) .
/sha1.
$(objext
) .
/alloca.
$(objext
) \
165 .
/choose-temp.
$(objext
) .
/concat.
$(objext
) \
166 .
/cp-demint.
$(objext
) .
/crc32.
$(objext
) .
/dyn-string.
$(objext
) \
167 .
/fdmatch.
$(objext
) .
/fibheap.
$(objext
) \
168 .
/filename_cmp.
$(objext
) .
/floatformat.
$(objext
) \
169 .
/fnmatch.
$(objext
) .
/fopen_unlocked.
$(objext
) \
170 .
/getopt.
$(objext
) .
/getopt1.
$(objext
) .
/getpwd.
$(objext
) \
171 .
/getruntime.
$(objext
) .
/hashtab.
$(objext
) .
/hex.
$(objext
) \
172 .
/lbasename.
$(objext
) .
/lrealpath.
$(objext
) \
173 .
/make-relative-prefix.
$(objext
) .
/make-temp-file.
$(objext
) \
174 .
/objalloc.
$(objext
) .
/obstack.
$(objext
) \
175 .
/partition.
$(objext
) .
/pexecute.
$(objext
) .
/physmem.
$(objext
) \
176 .
/pex-common.
$(objext
) .
/pex-one.
$(objext
) \
177 .
/@pexecute@.
$(objext
) \
178 .
/safe-ctype.
$(objext
) .
/sort.
$(objext
) .
/spaces.
$(objext
) \
179 .
/splay-tree.
$(objext
) .
/strerror.
$(objext
) \
180 .
/strsignal.
$(objext
) .
/unlink-if-ordinary.
$(objext
) \
181 .
/xatexit.
$(objext
) .
/xexit.
$(objext
) .
/xmalloc.
$(objext
) \
182 .
/xmemdup.
$(objext
) .
/xstrdup.
$(objext
) .
/xstrerror.
$(objext
) \
185 # These are all the objects that configure may add to the library via
186 # $funcs or EXTRA_OFILES. This list exists here only for "make
187 # maint-missing" and "make check".
188 CONFIGURED_OFILES
= .
/asprintf.
$(objext
) .
/atexit.
$(objext
) \
189 .
/basename.
$(objext
) .
/bcmp.
$(objext
) .
/bcopy.
$(objext
) \
190 .
/bsearch.
$(objext
) .
/bzero.
$(objext
) \
191 .
/calloc.
$(objext
) .
/clock.
$(objext
) .
/copysign.
$(objext
) \
192 .
/_doprnt.
$(objext
) \
194 .
/getcwd.
$(objext
) .
/getpagesize.
$(objext
) \
195 .
/gettimeofday.
$(objext
) \
196 .
/index.
$(objext
) .
/insque.
$(objext
) \
197 .
/memchr.
$(objext
) .
/memcmp.
$(objext
) .
/memcpy.
$(objext
) \
198 .
/memmem.
$(objext
) .
/memmove.
$(objext
) \
199 .
/mempcpy.
$(objext
) .
/memset.
$(objext
) .
/mkstemps.
$(objext
) \
200 .
/pex-djgpp.
$(objext
) .
/pex-msdos.
$(objext
) \
201 .
/pex-unix.
$(objext
) .
/pex-win32.
$(objext
) \
203 .
/random.
$(objext
) .
/rename.
$(objext
) .
/rindex.
$(objext
) \
204 .
/setenv.
$(objext
) .
/sigsetmask.
$(objext
) .
/snprintf.
$(objext
) \
205 .
/stpcpy.
$(objext
) .
/stpncpy.
$(objext
) .
/strcasecmp.
$(objext
) \
206 .
/strchr.
$(objext
) .
/strdup.
$(objext
) .
/strncasecmp.
$(objext
) \
207 .
/strncmp.
$(objext
) .
/strndup.
$(objext
) .
/strrchr.
$(objext
) \
208 .
/strstr.
$(objext
) .
/strtod.
$(objext
) .
/strtol.
$(objext
) \
209 .
/strtoul.
$(objext
) .
/strverscmp.
$(objext
) \
211 .
/vasprintf.
$(objext
) .
/vfork.
$(objext
) .
/vfprintf.
$(objext
) \
212 .
/vprintf.
$(objext
) .
/vsnprintf.
$(objext
) .
/vsprintf.
$(objext
) \
215 # These files are installed if the library has been configured to do so.
216 INSTALLED_HEADERS
= \
217 $(INCDIR
)/ansidecl.h \
218 $(INCDIR
)/demangle.h \
219 $(INCDIR
)/dyn-string.h \
220 $(INCDIR
)/fibheap.h \
221 $(INCDIR
)/floatformat.h \
222 $(INCDIR
)/hashtab.h \
223 $(INCDIR
)/libiberty.h \
224 $(INCDIR
)/objalloc.h \
225 $(INCDIR
)/partition.h \
226 $(INCDIR
)/safe-ctype.h \
228 $(INCDIR
)/splay-tree.h
230 $(TARGETLIB
): $(REQUIRED_OFILES
) $(EXTRA_OFILES
) $(LIBOBJS
)
231 -rm -f
$(TARGETLIB
) pic
/$(TARGETLIB
)
232 $(AR
) $(AR_FLAGS
) $(TARGETLIB
) \
233 $(REQUIRED_OFILES
) $(EXTRA_OFILES
) $(LIBOBJS
)
234 $(RANLIB
) $(TARGETLIB
)
235 if
[ x
"$(PICFLAG)" != x
]; then \
237 $(AR
) $(AR_FLAGS
) $(TARGETLIB
) \
238 $(REQUIRED_OFILES
) $(EXTRA_OFILES
) $(LIBOBJS
); \
239 $(RANLIB
) $(TARGETLIB
); \
243 $(TESTLIB
): $(REQUIRED_OFILES
) $(CONFIGURED_OFILES
)
245 $(AR
) $(AR_FLAGS
) $(TESTLIB
) \
246 $(REQUIRED_OFILES
) $(CONFIGURED_OFILES
)
249 info: libiberty.
info info-subdir
250 install-info
: install-info-subdir
251 clean-info
: clean-info-subdir
252 dvi: libiberty.
dvi dvi-subdir
254 LIBIBERTY_PDFFILES
= libiberty.pdf
256 pdf
: $(LIBIBERTY_PDFFILES
) pdf-subdir
260 pdf__strip_dir
= `echo $$p | sed -e 's|^.*/||'`;
262 install-pdf
: $(LIBIBERTY_PDFFILES
)
264 test -z
"$(pdfdir)" ||
$(mkinstalldirs
) "$(DESTDIR)$(pdfdir)"
265 @list
='$(LIBIBERTY_PDFFILES)'; for p in
$$list; do \
266 if
test -f
"$$p"; then d
=; else d
="$(srcdir)/"; fi
; \
267 f
=$(pdf__strip_dir
) \
268 echo
" $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
269 $(INSTALL_DATA
) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
272 # html, install-html targets
273 HTMLS
= libiberty.html
277 .PHONY
: install-html install-html-am
280 mkdir_p
= mkdir
-p
--
282 html__strip_dir
= `echo $$p | sed -e 's|^.*/||'`;
284 install-html
: install-html-am
286 install-html-am
: $(HTMLS
)
288 test -z
"$(htmldir)" ||
$(mkdir_p
) "$(DESTDIR)$(htmldir)"
289 @list
='$(HTMLS)'; for p in
$$list; do \
290 if
test -f
"$$p" ||
test -d
"$$p"; then d
=""; else d
="$(srcdir)/"; fi
; \
291 f
=$(html__strip_dir
) \
292 if
test -d
"$$d$$p"; then \
293 echo
" $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \
294 $(mkdir_p
) "$(DESTDIR)$(htmldir)/$$f" || exit
1; \
295 echo
" $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
296 $(INSTALL_DATA
) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
298 echo
" $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
299 $(INSTALL_DATA
) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
304 $(srcdir)/libiberty.texi \
305 $(srcdir)/copying-lib.texi \
306 $(srcdir)/obstacks.texi \
307 $(srcdir)/functions.texi
309 # Additional files that have texi snippets that need to be collected
310 # and sorted. Some are here because the sources are imported from
311 # elsewhere. Others represent headers in ../include.
312 TEXIFILES
= fnmatch.txh pexecute.txh
314 libiberty.
info : $(srcdir)/libiberty.texi
$(TEXISRC
)
315 $(MAKEINFO
) -I
$(srcdir) $(srcdir)/libiberty.texi
317 libiberty.
dvi : $(srcdir)/libiberty.texi
$(TEXISRC
)
318 texi2dvi $(srcdir)/libiberty.texi
320 libiberty.pdf
: $(srcdir)/libiberty.texi
$(TEXISRC
)
321 texi2pdf
$(srcdir)/libiberty.texi
323 libiberty.html
: $(srcdir)/libiberty.texi
$(TEXISRC
)
324 $(MAKEINFO
) --no-split
--html
-I
$(srcdir) -o
$@
$<
326 @MAINT@
$(srcdir)/functions.texi
: stamp-functions
329 @MAINT@stamp-functions
: $(CFILES
:%=$(srcdir)/%) $(TEXIFILES
:%=$(srcdir)/%) $(srcdir)/gather-docs Makefile
330 @MAINT@@HAVE_PERL@
$(PERL
) $(srcdir)/gather-docs
$(srcdir) $(srcdir)/functions.texi
$(CFILES
) $(TEXIFILES
)
331 @MAINT@ echo stamp
> stamp-functions
333 INSTALL_DEST
= @INSTALL_DEST@
334 install: install_to_
$(INSTALL_DEST
) install-subdir
336 # This is tricky. Even though CC in the Makefile contains
337 # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
338 # default multilib, so we have to take CFLAGS into account as well,
339 # since it will be passed the multilib flags.
340 MULTIOSDIR
= `$(CC) $(CFLAGS) -print-multi-os-directory`
341 install_to_libdir
: all
342 ${mkinstalldirs} $(DESTDIR
)$(libdir)/$(MULTIOSDIR
)
343 $(INSTALL_DATA
) $(TARGETLIB
) $(DESTDIR
)$(libdir)/$(MULTIOSDIR
)/$(TARGETLIB
)n
344 ( cd
$(DESTDIR
)$(libdir)/$(MULTIOSDIR
) ; chmod
644 $(TARGETLIB
)n
;$(RANLIB
) $(TARGETLIB
)n
)
345 mv
-f
$(DESTDIR
)$(libdir)/$(MULTIOSDIR
)/$(TARGETLIB
)n
$(DESTDIR
)$(libdir)/$(MULTIOSDIR
)/$(TARGETLIB
)
346 if
test -n
"${target_header_dir}"; then \
347 case
"${target_header_dir}" in \
348 /*) thd
=${target_header_dir};; \
349 *) thd
=${includedir}/${target_header_dir};; \
351 ${mkinstalldirs} $(DESTDIR
)$${thd}; \
352 for h in
${INSTALLED_HEADERS}; do \
353 ${INSTALL_DATA} $$h $(DESTDIR
)$${thd}; \
356 @
$(MULTIDO
) $(FLAGS_TO_PASS
) multi-do DO
=install
358 install_to_tooldir
: all
359 ${mkinstalldirs} $(DESTDIR
)$(tooldir
)/lib
/$(MULTIOSDIR
)
360 $(INSTALL_DATA
) $(TARGETLIB
) $(DESTDIR
)$(tooldir
)/lib
/$(MULTIOSDIR
)/$(TARGETLIB
)n
361 ( cd
$(DESTDIR
)$(tooldir
)/lib
/$(MULTIOSDIR
) ; chmod
644 $(TARGETLIB
)n
; $(RANLIB
) $(TARGETLIB
)n
)
362 mv
-f
$(DESTDIR
)$(tooldir
)/lib
/$(MULTIOSDIR
)/$(TARGETLIB
)n
$(DESTDIR
)$(tooldir
)/lib
/$(MULTIOSDIR
)/$(TARGETLIB
)
363 @
$(MULTIDO
) $(FLAGS_TO_PASS
) multi-do DO
=install
365 # required-list was used when building a shared bfd/opcodes/libiberty
366 # library. I don't know if it used by anything currently.
367 required-list
: Makefile
368 echo
$(REQUIRED_OFILES
) > required-list
371 if
[ x
"$(PICFLAG)" != x
] && [ ! -d pic
]; then \
376 .PHONY
: all etags
tags ls
clean stage1 stage2
378 etags
tags: TAGS etags-subdir
381 etags
`for i in $(CFILES); do echo $(srcdir)/$$i ; done`
383 # The standalone demangler (c++filt) has been moved to binutils.
384 # But make this target work anyway for demangler hacking.
385 demangle
: $(ALL
) $(srcdir)/cp-demangle.c
386 @echo
"The standalone demangler, now named c++filt, is now"
387 @echo
"a part of binutils."
388 $(CC
) @DEFS@
$(CFLAGS
) $(CPPFLAGS
) -I.
-I
$(INCDIR
) $(HDEFINES
) \
389 $(srcdir)/cp-demangle.c
-DSTANDALONE_DEMANGLER
$(TARGETLIB
) -o
$@
392 @echo Makefile
$(CFILES
)
394 # Various targets for maintainers.
397 @
$(PERL
) $(srcdir)/maint-tool
-s
$(srcdir) missing
$(CFILES
) $(REQUIRED_OFILES
) $(CONFIGURED_OFILES
)
399 maint-buildall
: $(REQUIRED_OFILES
) $(CONFIGURED_OFILES
)
402 maint-undoc
: $(srcdir)/functions.texi
403 @
$(PERL
) $(srcdir)/maint-tool
-s
$(srcdir) undoc
406 @
$(PERL
) $(srcdir)/maint-tool
-s
$(srcdir) deps
$(INCDIR
)
408 # Need to deal with profiled libraries, too.
410 # Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS
411 # multiple times, hence our explicit recursion with an empty SUBDIRS.
412 mostlyclean: mostlyclean-subdir
413 -rm -rf
*.
$(objext
) pic core errs \
#* *.E a.out
414 -rm -f errors dummy config.h stamp-
*
415 -rm -f
$(CONFIG_H
) stamp-picdir
416 -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
417 -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
418 -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr
420 @
$(MULTICLEAN
) multi-clean DO
=mostlyclean
422 $(MAKE
) SUBDIRS
="" mostlyclean
423 -rm -f
*.a required-list tmpmulti.out
424 -rm -f libiberty.
dvi libiberty.pdf libiberty.
info* libiberty.html
425 @
$(MULTICLEAN
) multi-clean DO
=clean
426 distclean: distclean-subdir
427 $(MAKE
) SUBDIRS
="" clean
428 @
$(MULTICLEAN
) multi-clean DO
=distclean
429 -rm -f
*~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
431 -rmdir testsuite
2>/dev
/null
432 maintainer-clean
realclean: maintainer-clean-subdir
433 $(MAKE
) SUBDIRS
="" distclean
437 Makefile
: $(srcdir)/Makefile.in config.status
438 CONFIG_FILES
=Makefile CONFIG_HEADERS
= $(SHELL
) .
/config.status
440 # Depending on Makefile makes sure that config.status has been re-run
441 # if needed. This prevents problems with parallel builds.
442 config.h
: stamp-h
; @true
443 stamp-h
: $(srcdir)/config.in config.status Makefile
444 CONFIG_FILES
= CONFIG_HEADERS
=config.h
:$(srcdir)/config.in
$(SHELL
) .
/config.status
446 config.status
: $(srcdir)/configure
447 $(SHELL
) .
/config.status
--recheck
450 configure_deps
= $(srcdir)/aclocal.m4 \
451 $(srcdir)/..
/config
/acx.m4 \
452 $(srcdir)/..
/config
/no-executables.m4 \
453 $(srcdir)/..
/config
/override.m4 \
454 $(srcdir)/..
/config
/warnings.m4 \
456 $(srcdir)/configure
: @MAINT@
$(srcdir)/configure.ac
$(configure_deps
)
457 cd
$(srcdir) && $(AUTOCONF
)
459 # Depending on config.h makes sure that config.status has been re-run
460 # if needed. This prevents problems with parallel builds, in case
461 # subdirectories need to run config.status also.
462 all-subdir check-subdir installcheck-subdir info-subdir \
463 install-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir \
464 etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
465 maintainer-clean-subdir
: config.h
466 @subdirs
='$(SUBDIRS)'; \
467 target
=`echo $@ | sed -e 's/-subdir//'`; \
468 for
dir in
$$subdirs ; do \
469 cd
$$dir && $(MAKE
) $(FLAGS_TO_PASS
) $$target; \
472 $(REQUIRED_OFILES
) $(EXTRA_OFILES
) $(LIBOBJS
): stamp-picdir
473 $(CONFIGURED_OFILES
): stamp-picdir
475 # Don't export variables to the environment, in order to not confuse
479 # The dependencies in the remainder of this file are automatically
480 # generated by "make maint-deps". Manual edits will be lost.
482 .
/_doprnt.
$(objext
): $(srcdir)/_doprnt.c config.h
$(INCDIR
)/ansidecl.h \
483 $(INCDIR
)/safe-ctype.h
484 if
[ x
"$(PICFLAG)" != x
]; then \
485 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/_doprnt.c
-o pic
/$@
; \
487 $(COMPILE.c
) $(srcdir)/_doprnt.c
$(OUTPUT_OPTION
)
489 .
/alloca.
$(objext
): $(srcdir)/alloca.c config.h
$(INCDIR
)/ansidecl.h \
490 $(INCDIR
)/libiberty.h
491 if
[ x
"$(PICFLAG)" != x
]; then \
492 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/alloca.c
-o pic
/$@
; \
494 $(COMPILE.c
) $(srcdir)/alloca.c
$(OUTPUT_OPTION
)
496 .
/argv.
$(objext
): $(srcdir)/argv.c config.h
$(INCDIR
)/ansidecl.h \
497 $(INCDIR
)/libiberty.h
$(INCDIR
)/safe-ctype.h
498 if
[ x
"$(PICFLAG)" != x
]; then \
499 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/argv.c
-o pic
/$@
; \
501 $(COMPILE.c
) $(srcdir)/argv.c
$(OUTPUT_OPTION
)
503 .
/asprintf.
$(objext
): $(srcdir)/asprintf.c config.h
$(INCDIR
)/ansidecl.h \
504 $(INCDIR
)/libiberty.h
505 if
[ x
"$(PICFLAG)" != x
]; then \
506 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/asprintf.c
-o pic
/$@
; \
508 $(COMPILE.c
) $(srcdir)/asprintf.c
$(OUTPUT_OPTION
)
510 .
/atexit.
$(objext
): $(srcdir)/atexit.c config.h
511 if
[ x
"$(PICFLAG)" != x
]; then \
512 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/atexit.c
-o pic
/$@
; \
514 $(COMPILE.c
) $(srcdir)/atexit.c
$(OUTPUT_OPTION
)
516 .
/basename.
$(objext
): $(srcdir)/basename.c config.h
$(INCDIR
)/ansidecl.h \
517 $(INCDIR
)/libiberty.h
$(INCDIR
)/safe-ctype.h
518 if
[ x
"$(PICFLAG)" != x
]; then \
519 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/basename.c
-o pic
/$@
; \
521 $(COMPILE.c
) $(srcdir)/basename.c
$(OUTPUT_OPTION
)
523 .
/bcmp.
$(objext
): $(srcdir)/bcmp.c
524 if
[ x
"$(PICFLAG)" != x
]; then \
525 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/bcmp.c
-o pic
/$@
; \
527 $(COMPILE.c
) $(srcdir)/bcmp.c
$(OUTPUT_OPTION
)
529 .
/bcopy.
$(objext
): $(srcdir)/bcopy.c
530 if
[ x
"$(PICFLAG)" != x
]; then \
531 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/bcopy.c
-o pic
/$@
; \
533 $(COMPILE.c
) $(srcdir)/bcopy.c
$(OUTPUT_OPTION
)
535 .
/bsearch.
$(objext
): $(srcdir)/bsearch.c config.h
$(INCDIR
)/ansidecl.h
536 if
[ x
"$(PICFLAG)" != x
]; then \
537 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/bsearch.c
-o pic
/$@
; \
539 $(COMPILE.c
) $(srcdir)/bsearch.c
$(OUTPUT_OPTION
)
541 .
/bzero.
$(objext
): $(srcdir)/bzero.c
542 if
[ x
"$(PICFLAG)" != x
]; then \
543 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/bzero.c
-o pic
/$@
; \
545 $(COMPILE.c
) $(srcdir)/bzero.c
$(OUTPUT_OPTION
)
547 .
/calloc.
$(objext
): $(srcdir)/calloc.c
$(INCDIR
)/ansidecl.h
548 if
[ x
"$(PICFLAG)" != x
]; then \
549 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/calloc.c
-o pic
/$@
; \
551 $(COMPILE.c
) $(srcdir)/calloc.c
$(OUTPUT_OPTION
)
553 .
/choose-temp.
$(objext
): $(srcdir)/choose-temp.c config.h
$(INCDIR
)/ansidecl.h \
554 $(INCDIR
)/libiberty.h
555 if
[ x
"$(PICFLAG)" != x
]; then \
556 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/choose-temp.c
-o pic
/$@
; \
558 $(COMPILE.c
) $(srcdir)/choose-temp.c
$(OUTPUT_OPTION
)
560 .
/clock.
$(objext
): $(srcdir)/clock.c config.h
561 if
[ x
"$(PICFLAG)" != x
]; then \
562 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/clock.c
-o pic
/$@
; \
564 $(COMPILE.c
) $(srcdir)/clock.c
$(OUTPUT_OPTION
)
566 .
/concat.
$(objext
): $(srcdir)/concat.c config.h
$(INCDIR
)/ansidecl.h \
567 $(INCDIR
)/libiberty.h
568 if
[ x
"$(PICFLAG)" != x
]; then \
569 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/concat.c
-o pic
/$@
; \
571 $(COMPILE.c
) $(srcdir)/concat.c
$(OUTPUT_OPTION
)
573 .
/copysign.
$(objext
): $(srcdir)/copysign.c
$(INCDIR
)/ansidecl.h
574 if
[ x
"$(PICFLAG)" != x
]; then \
575 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/copysign.c
-o pic
/$@
; \
577 $(COMPILE.c
) $(srcdir)/copysign.c
$(OUTPUT_OPTION
)
579 .
/cp-demangle.
$(objext
): $(srcdir)/cp-demangle.c config.h
$(INCDIR
)/ansidecl.h \
580 $(srcdir)/cp-demangle.h
$(INCDIR
)/demangle.h \
581 $(INCDIR
)/dyn-string.h
$(INCDIR
)/getopt.h
$(INCDIR
)/libiberty.h
582 if
[ x
"$(PICFLAG)" != x
]; then \
583 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/cp-demangle.c
-o pic
/$@
; \
585 $(COMPILE.c
) $(srcdir)/cp-demangle.c
$(OUTPUT_OPTION
)
587 .
/cp-demint.
$(objext
): $(srcdir)/cp-demint.c config.h
$(INCDIR
)/ansidecl.h \
588 $(srcdir)/cp-demangle.h
$(INCDIR
)/demangle.h \
589 $(INCDIR
)/libiberty.h
590 if
[ x
"$(PICFLAG)" != x
]; then \
591 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/cp-demint.c
-o pic
/$@
; \
593 $(COMPILE.c
) $(srcdir)/cp-demint.c
$(OUTPUT_OPTION
)
595 .
/cplus-dem.
$(objext
): $(srcdir)/cplus-dem.c config.h
$(INCDIR
)/ansidecl.h \
596 $(INCDIR
)/demangle.h
$(INCDIR
)/libiberty.h \
597 $(INCDIR
)/safe-ctype.h
598 if
[ x
"$(PICFLAG)" != x
]; then \
599 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/cplus-dem.c
-o pic
/$@
; \
601 $(COMPILE.c
) $(srcdir)/cplus-dem.c
$(OUTPUT_OPTION
)
603 .
/crc32.
$(objext
): $(srcdir)/crc32.c config.h
$(INCDIR
)/ansidecl.h \
604 $(INCDIR
)/libiberty.h
605 if
[ x
"$(PICFLAG)" != x
]; then \
606 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/crc32.c
-o pic
/$@
; \
608 $(COMPILE.c
) $(srcdir)/crc32.c
$(OUTPUT_OPTION
)
610 .
/dyn-string.
$(objext
): $(srcdir)/dyn-string.c config.h
$(INCDIR
)/ansidecl.h \
611 $(INCDIR
)/dyn-string.h
$(INCDIR
)/libiberty.h
612 if
[ x
"$(PICFLAG)" != x
]; then \
613 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/dyn-string.c
-o pic
/$@
; \
615 $(COMPILE.c
) $(srcdir)/dyn-string.c
$(OUTPUT_OPTION
)
617 .
/fdmatch.
$(objext
): $(srcdir)/fdmatch.c config.h
$(INCDIR
)/ansidecl.h \
618 $(INCDIR
)/libiberty.h
619 if
[ x
"$(PICFLAG)" != x
]; then \
620 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/fdmatch.c
-o pic
/$@
; \
622 $(COMPILE.c
) $(srcdir)/fdmatch.c
$(OUTPUT_OPTION
)
624 .
/ffs.
$(objext
): $(srcdir)/ffs.c
625 if
[ x
"$(PICFLAG)" != x
]; then \
626 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/ffs.c
-o pic
/$@
; \
628 $(COMPILE.c
) $(srcdir)/ffs.c
$(OUTPUT_OPTION
)
630 .
/fibheap.
$(objext
): $(srcdir)/fibheap.c config.h
$(INCDIR
)/ansidecl.h \
631 $(INCDIR
)/fibheap.h
$(INCDIR
)/libiberty.h
632 if
[ x
"$(PICFLAG)" != x
]; then \
633 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/fibheap.c
-o pic
/$@
; \
635 $(COMPILE.c
) $(srcdir)/fibheap.c
$(OUTPUT_OPTION
)
637 .
/filename_cmp.
$(objext
): $(srcdir)/filename_cmp.c config.h
$(INCDIR
)/filenames.h \
638 $(INCDIR
)/safe-ctype.h
639 if
[ x
"$(PICFLAG)" != x
]; then \
640 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/filename_cmp.c
-o pic
/$@
; \
642 $(COMPILE.c
) $(srcdir)/filename_cmp.c
$(OUTPUT_OPTION
)
644 .
/floatformat.
$(objext
): $(srcdir)/floatformat.c config.h
$(INCDIR
)/ansidecl.h \
645 $(INCDIR
)/floatformat.h
$(INCDIR
)/libiberty.h
646 if
[ x
"$(PICFLAG)" != x
]; then \
647 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/floatformat.c
-o pic
/$@
; \
649 $(COMPILE.c
) $(srcdir)/floatformat.c
$(OUTPUT_OPTION
)
651 .
/fnmatch.
$(objext
): $(srcdir)/fnmatch.c config.h
$(INCDIR
)/fnmatch.h \
652 $(INCDIR
)/safe-ctype.h
653 if
[ x
"$(PICFLAG)" != x
]; then \
654 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/fnmatch.c
-o pic
/$@
; \
656 $(COMPILE.c
) $(srcdir)/fnmatch.c
$(OUTPUT_OPTION
)
658 .
/fopen_unlocked.
$(objext
): $(srcdir)/fopen_unlocked.c config.h \
659 $(INCDIR
)/ansidecl.h
$(INCDIR
)/libiberty.h
660 if
[ x
"$(PICFLAG)" != x
]; then \
661 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/fopen_unlocked.c
-o pic
/$@
; \
663 $(COMPILE.c
) $(srcdir)/fopen_unlocked.c
$(OUTPUT_OPTION
)
665 .
/getcwd.
$(objext
): $(srcdir)/getcwd.c config.h
666 if
[ x
"$(PICFLAG)" != x
]; then \
667 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/getcwd.c
-o pic
/$@
; \
669 $(COMPILE.c
) $(srcdir)/getcwd.c
$(OUTPUT_OPTION
)
671 .
/getopt.
$(objext
): $(srcdir)/getopt.c config.h
$(INCDIR
)/ansidecl.h \
673 if
[ x
"$(PICFLAG)" != x
]; then \
674 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/getopt.c
-o pic
/$@
; \
676 $(COMPILE.c
) $(srcdir)/getopt.c
$(OUTPUT_OPTION
)
678 .
/getopt1.
$(objext
): $(srcdir)/getopt1.c config.h
$(INCDIR
)/getopt.h
679 if
[ x
"$(PICFLAG)" != x
]; then \
680 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/getopt1.c
-o pic
/$@
; \
682 $(COMPILE.c
) $(srcdir)/getopt1.c
$(OUTPUT_OPTION
)
684 .
/getpagesize.
$(objext
): $(srcdir)/getpagesize.c config.h
685 if
[ x
"$(PICFLAG)" != x
]; then \
686 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/getpagesize.c
-o pic
/$@
; \
688 $(COMPILE.c
) $(srcdir)/getpagesize.c
$(OUTPUT_OPTION
)
690 .
/getpwd.
$(objext
): $(srcdir)/getpwd.c config.h
$(INCDIR
)/ansidecl.h \
691 $(INCDIR
)/libiberty.h
692 if
[ x
"$(PICFLAG)" != x
]; then \
693 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/getpwd.c
-o pic
/$@
; \
695 $(COMPILE.c
) $(srcdir)/getpwd.c
$(OUTPUT_OPTION
)
697 .
/getruntime.
$(objext
): $(srcdir)/getruntime.c config.h
$(INCDIR
)/ansidecl.h \
698 $(INCDIR
)/libiberty.h
699 if
[ x
"$(PICFLAG)" != x
]; then \
700 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/getruntime.c
-o pic
/$@
; \
702 $(COMPILE.c
) $(srcdir)/getruntime.c
$(OUTPUT_OPTION
)
704 .
/gettimeofday.
$(objext
): $(srcdir)/gettimeofday.c config.h
$(INCDIR
)/ansidecl.h \
705 $(INCDIR
)/libiberty.h
706 if
[ x
"$(PICFLAG)" != x
]; then \
707 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/gettimeofday.c
-o pic
/$@
; \
709 $(COMPILE.c
) $(srcdir)/gettimeofday.c
$(OUTPUT_OPTION
)
711 .
/hashtab.
$(objext
): $(srcdir)/hashtab.c config.h
$(INCDIR
)/ansidecl.h \
712 $(INCDIR
)/hashtab.h
$(INCDIR
)/libiberty.h
713 if
[ x
"$(PICFLAG)" != x
]; then \
714 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/hashtab.c
-o pic
/$@
; \
716 $(COMPILE.c
) $(srcdir)/hashtab.c
$(OUTPUT_OPTION
)
718 .
/hex.
$(objext
): $(srcdir)/hex.c config.h
$(INCDIR
)/ansidecl.h \
719 $(INCDIR
)/libiberty.h
$(INCDIR
)/safe-ctype.h
720 if
[ x
"$(PICFLAG)" != x
]; then \
721 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/hex.c
-o pic
/$@
; \
723 $(COMPILE.c
) $(srcdir)/hex.c
$(OUTPUT_OPTION
)
725 .
/index.
$(objext
): $(srcdir)/index.c
726 if
[ x
"$(PICFLAG)" != x
]; then \
727 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/index.c
-o pic
/$@
; \
729 $(COMPILE.c
) $(srcdir)/index.c
$(OUTPUT_OPTION
)
731 .
/insque.
$(objext
): $(srcdir)/insque.c
732 if
[ x
"$(PICFLAG)" != x
]; then \
733 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/insque.c
-o pic
/$@
; \
735 $(COMPILE.c
) $(srcdir)/insque.c
$(OUTPUT_OPTION
)
737 .
/lbasename.
$(objext
): $(srcdir)/lbasename.c config.h
$(INCDIR
)/ansidecl.h \
738 $(INCDIR
)/filenames.h
$(INCDIR
)/libiberty.h \
739 $(INCDIR
)/safe-ctype.h
740 if
[ x
"$(PICFLAG)" != x
]; then \
741 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/lbasename.c
-o pic
/$@
; \
743 $(COMPILE.c
) $(srcdir)/lbasename.c
$(OUTPUT_OPTION
)
745 .
/lrealpath.
$(objext
): $(srcdir)/lrealpath.c config.h
$(INCDIR
)/ansidecl.h \
746 $(INCDIR
)/libiberty.h
747 if
[ x
"$(PICFLAG)" != x
]; then \
748 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/lrealpath.c
-o pic
/$@
; \
750 $(COMPILE.c
) $(srcdir)/lrealpath.c
$(OUTPUT_OPTION
)
752 .
/make-relative-prefix.
$(objext
): $(srcdir)/make-relative-prefix.c config.h \
753 $(INCDIR
)/ansidecl.h
$(INCDIR
)/libiberty.h
754 if
[ x
"$(PICFLAG)" != x
]; then \
755 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/make-relative-prefix.c
-o pic
/$@
; \
757 $(COMPILE.c
) $(srcdir)/make-relative-prefix.c
$(OUTPUT_OPTION
)
759 .
/make-temp-file.
$(objext
): $(srcdir)/make-temp-file.c config.h \
760 $(INCDIR
)/ansidecl.h
$(INCDIR
)/libiberty.h
761 if
[ x
"$(PICFLAG)" != x
]; then \
762 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/make-temp-file.c
-o pic
/$@
; \
764 $(COMPILE.c
) $(srcdir)/make-temp-file.c
$(OUTPUT_OPTION
)
766 .
/md5.
$(objext
): $(srcdir)/md5.c config.h
$(INCDIR
)/ansidecl.h
$(INCDIR
)/md5.h
767 if
[ x
"$(PICFLAG)" != x
]; then \
768 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/md5.c
-o pic
/$@
; \
770 $(COMPILE.c
) $(srcdir)/md5.c
$(OUTPUT_OPTION
)
772 .
/memchr.
$(objext
): $(srcdir)/memchr.c
$(INCDIR
)/ansidecl.h
773 if
[ x
"$(PICFLAG)" != x
]; then \
774 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/memchr.c
-o pic
/$@
; \
776 $(COMPILE.c
) $(srcdir)/memchr.c
$(OUTPUT_OPTION
)
778 .
/memcmp.
$(objext
): $(srcdir)/memcmp.c
$(INCDIR
)/ansidecl.h
779 if
[ x
"$(PICFLAG)" != x
]; then \
780 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/memcmp.c
-o pic
/$@
; \
782 $(COMPILE.c
) $(srcdir)/memcmp.c
$(OUTPUT_OPTION
)
784 .
/memcpy.
$(objext
): $(srcdir)/memcpy.c
$(INCDIR
)/ansidecl.h
785 if
[ x
"$(PICFLAG)" != x
]; then \
786 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/memcpy.c
-o pic
/$@
; \
788 $(COMPILE.c
) $(srcdir)/memcpy.c
$(OUTPUT_OPTION
)
790 .
/memmem.
$(objext
): $(srcdir)/memmem.c config.h
791 if
[ x
"$(PICFLAG)" != x
]; then \
792 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/memmem.c
-o pic
/$@
; \
794 $(COMPILE.c
) $(srcdir)/memmem.c
$(OUTPUT_OPTION
)
796 .
/memmove.
$(objext
): $(srcdir)/memmove.c
$(INCDIR
)/ansidecl.h
797 if
[ x
"$(PICFLAG)" != x
]; then \
798 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/memmove.c
-o pic
/$@
; \
800 $(COMPILE.c
) $(srcdir)/memmove.c
$(OUTPUT_OPTION
)
802 .
/mempcpy.
$(objext
): $(srcdir)/mempcpy.c
$(INCDIR
)/ansidecl.h
803 if
[ x
"$(PICFLAG)" != x
]; then \
804 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/mempcpy.c
-o pic
/$@
; \
806 $(COMPILE.c
) $(srcdir)/mempcpy.c
$(OUTPUT_OPTION
)
808 .
/memset.
$(objext
): $(srcdir)/memset.c
$(INCDIR
)/ansidecl.h
809 if
[ x
"$(PICFLAG)" != x
]; then \
810 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/memset.c
-o pic
/$@
; \
812 $(COMPILE.c
) $(srcdir)/memset.c
$(OUTPUT_OPTION
)
814 .
/mkstemps.
$(objext
): $(srcdir)/mkstemps.c config.h
$(INCDIR
)/ansidecl.h
815 if
[ x
"$(PICFLAG)" != x
]; then \
816 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/mkstemps.c
-o pic
/$@
; \
818 $(COMPILE.c
) $(srcdir)/mkstemps.c
$(OUTPUT_OPTION
)
820 .
/msdos.
$(objext
): $(srcdir)/msdos.c
821 if
[ x
"$(PICFLAG)" != x
]; then \
822 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/msdos.c
-o pic
/$@
; \
824 $(COMPILE.c
) $(srcdir)/msdos.c
$(OUTPUT_OPTION
)
826 .
/objalloc.
$(objext
): $(srcdir)/objalloc.c config.h
$(INCDIR
)/ansidecl.h \
828 if
[ x
"$(PICFLAG)" != x
]; then \
829 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/objalloc.c
-o pic
/$@
; \
831 $(COMPILE.c
) $(srcdir)/objalloc.c
$(OUTPUT_OPTION
)
833 .
/obstack.
$(objext
): $(srcdir)/obstack.c config.h
$(INCDIR
)/obstack.h
834 if
[ x
"$(PICFLAG)" != x
]; then \
835 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/obstack.c
-o pic
/$@
; \
837 $(COMPILE.c
) $(srcdir)/obstack.c
$(OUTPUT_OPTION
)
839 .
/partition.
$(objext
): $(srcdir)/partition.c config.h
$(INCDIR
)/ansidecl.h \
840 $(INCDIR
)/libiberty.h
$(INCDIR
)/partition.h
841 if
[ x
"$(PICFLAG)" != x
]; then \
842 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/partition.c
-o pic
/$@
; \
844 $(COMPILE.c
) $(srcdir)/partition.c
$(OUTPUT_OPTION
)
846 .
/pex-common.
$(objext
): $(srcdir)/pex-common.c config.h
$(INCDIR
)/ansidecl.h \
847 $(INCDIR
)/libiberty.h
$(srcdir)/pex-common.h
848 if
[ x
"$(PICFLAG)" != x
]; then \
849 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/pex-common.c
-o pic
/$@
; \
851 $(COMPILE.c
) $(srcdir)/pex-common.c
$(OUTPUT_OPTION
)
853 .
/pex-djgpp.
$(objext
): $(srcdir)/pex-djgpp.c config.h
$(INCDIR
)/ansidecl.h \
854 $(INCDIR
)/libiberty.h
$(srcdir)/pex-common.h
855 if
[ x
"$(PICFLAG)" != x
]; then \
856 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/pex-djgpp.c
-o pic
/$@
; \
858 $(COMPILE.c
) $(srcdir)/pex-djgpp.c
$(OUTPUT_OPTION
)
860 .
/pex-msdos.
$(objext
): $(srcdir)/pex-msdos.c config.h
$(INCDIR
)/ansidecl.h \
861 $(INCDIR
)/libiberty.h
$(srcdir)/pex-common.h \
862 $(INCDIR
)/safe-ctype.h
863 if
[ x
"$(PICFLAG)" != x
]; then \
864 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/pex-msdos.c
-o pic
/$@
; \
866 $(COMPILE.c
) $(srcdir)/pex-msdos.c
$(OUTPUT_OPTION
)
868 .
/pex-one.
$(objext
): $(srcdir)/pex-one.c config.h
$(INCDIR
)/ansidecl.h \
869 $(INCDIR
)/libiberty.h
870 if
[ x
"$(PICFLAG)" != x
]; then \
871 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/pex-one.c
-o pic
/$@
; \
873 $(COMPILE.c
) $(srcdir)/pex-one.c
$(OUTPUT_OPTION
)
875 .
/pex-unix.
$(objext
): $(srcdir)/pex-unix.c config.h
$(INCDIR
)/ansidecl.h \
876 $(INCDIR
)/libiberty.h
$(srcdir)/pex-common.h
877 if
[ x
"$(PICFLAG)" != x
]; then \
878 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/pex-unix.c
-o pic
/$@
; \
880 $(COMPILE.c
) $(srcdir)/pex-unix.c
$(OUTPUT_OPTION
)
882 .
/pex-win32.
$(objext
): $(srcdir)/pex-win32.c config.h
$(INCDIR
)/ansidecl.h \
883 $(INCDIR
)/libiberty.h
$(srcdir)/pex-common.h
884 if
[ x
"$(PICFLAG)" != x
]; then \
885 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/pex-win32.c
-o pic
/$@
; \
887 $(COMPILE.c
) $(srcdir)/pex-win32.c
$(OUTPUT_OPTION
)
889 .
/pexecute.
$(objext
): $(srcdir)/pexecute.c config.h
$(INCDIR
)/ansidecl.h \
890 $(INCDIR
)/libiberty.h
891 if
[ x
"$(PICFLAG)" != x
]; then \
892 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/pexecute.c
-o pic
/$@
; \
894 $(COMPILE.c
) $(srcdir)/pexecute.c
$(OUTPUT_OPTION
)
896 .
/physmem.
$(objext
): $(srcdir)/physmem.c config.h
$(INCDIR
)/ansidecl.h \
897 $(INCDIR
)/libiberty.h
898 if
[ x
"$(PICFLAG)" != x
]; then \
899 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/physmem.c
-o pic
/$@
; \
901 $(COMPILE.c
) $(srcdir)/physmem.c
$(OUTPUT_OPTION
)
903 .
/putenv.
$(objext
): $(srcdir)/putenv.c config.h
$(INCDIR
)/ansidecl.h
904 if
[ x
"$(PICFLAG)" != x
]; then \
905 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/putenv.c
-o pic
/$@
; \
907 $(COMPILE.c
) $(srcdir)/putenv.c
$(OUTPUT_OPTION
)
909 .
/random.
$(objext
): $(srcdir)/random.c
$(INCDIR
)/ansidecl.h
910 if
[ x
"$(PICFLAG)" != x
]; then \
911 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/random.c
-o pic
/$@
; \
913 $(COMPILE.c
) $(srcdir)/random.c
$(OUTPUT_OPTION
)
915 .
/regex.
$(objext
): $(srcdir)/regex.c config.h
$(INCDIR
)/ansidecl.h \
916 $(INCDIR
)/xregex.h
$(INCDIR
)/xregex2.h
917 if
[ x
"$(PICFLAG)" != x
]; then \
918 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/regex.c
-o pic
/$@
; \
920 $(COMPILE.c
) $(srcdir)/regex.c
$(OUTPUT_OPTION
)
922 .
/rename.
$(objext
): $(srcdir)/rename.c config.h
$(INCDIR
)/ansidecl.h
923 if
[ x
"$(PICFLAG)" != x
]; then \
924 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/rename.c
-o pic
/$@
; \
926 $(COMPILE.c
) $(srcdir)/rename.c
$(OUTPUT_OPTION
)
928 .
/rindex.
$(objext
): $(srcdir)/rindex.c
929 if
[ x
"$(PICFLAG)" != x
]; then \
930 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/rindex.c
-o pic
/$@
; \
932 $(COMPILE.c
) $(srcdir)/rindex.c
$(OUTPUT_OPTION
)
934 .
/safe-ctype.
$(objext
): $(srcdir)/safe-ctype.c
$(INCDIR
)/ansidecl.h \
935 $(INCDIR
)/safe-ctype.h
936 if
[ x
"$(PICFLAG)" != x
]; then \
937 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/safe-ctype.c
-o pic
/$@
; \
939 $(COMPILE.c
) $(srcdir)/safe-ctype.c
$(OUTPUT_OPTION
)
941 .
/setenv.
$(objext
): $(srcdir)/setenv.c config.h
$(INCDIR
)/ansidecl.h
942 if
[ x
"$(PICFLAG)" != x
]; then \
943 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/setenv.c
-o pic
/$@
; \
945 $(COMPILE.c
) $(srcdir)/setenv.c
$(OUTPUT_OPTION
)
947 .
/sha1.
$(objext
): $(srcdir)/sha1.c config.h
$(INCDIR
)/ansidecl.h
$(INCDIR
)/sha1.h
948 if
[ x
"$(PICFLAG)" != x
]; then \
949 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/sha1.c
-o pic
/$@
; \
951 $(COMPILE.c
) $(srcdir)/sha1.c
$(OUTPUT_OPTION
)
953 .
/sigsetmask.
$(objext
): $(srcdir)/sigsetmask.c
$(INCDIR
)/ansidecl.h
954 if
[ x
"$(PICFLAG)" != x
]; then \
955 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/sigsetmask.c
-o pic
/$@
; \
957 $(COMPILE.c
) $(srcdir)/sigsetmask.c
$(OUTPUT_OPTION
)
959 .
/snprintf.
$(objext
): $(srcdir)/snprintf.c
$(INCDIR
)/ansidecl.h
960 if
[ x
"$(PICFLAG)" != x
]; then \
961 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/snprintf.c
-o pic
/$@
; \
963 $(COMPILE.c
) $(srcdir)/snprintf.c
$(OUTPUT_OPTION
)
965 .
/sort.
$(objext
): $(srcdir)/sort.c config.h
$(INCDIR
)/ansidecl.h \
966 $(INCDIR
)/libiberty.h
$(INCDIR
)/sort.h
967 if
[ x
"$(PICFLAG)" != x
]; then \
968 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/sort.c
-o pic
/$@
; \
970 $(COMPILE.c
) $(srcdir)/sort.c
$(OUTPUT_OPTION
)
972 .
/spaces.
$(objext
): $(srcdir)/spaces.c config.h
$(INCDIR
)/ansidecl.h \
973 $(INCDIR
)/libiberty.h
974 if
[ x
"$(PICFLAG)" != x
]; then \
975 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/spaces.c
-o pic
/$@
; \
977 $(COMPILE.c
) $(srcdir)/spaces.c
$(OUTPUT_OPTION
)
979 .
/splay-tree.
$(objext
): $(srcdir)/splay-tree.c config.h
$(INCDIR
)/ansidecl.h \
980 $(INCDIR
)/libiberty.h
$(INCDIR
)/splay-tree.h
981 if
[ x
"$(PICFLAG)" != x
]; then \
982 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/splay-tree.c
-o pic
/$@
; \
984 $(COMPILE.c
) $(srcdir)/splay-tree.c
$(OUTPUT_OPTION
)
986 .
/stpcpy.
$(objext
): $(srcdir)/stpcpy.c
$(INCDIR
)/ansidecl.h
987 if
[ x
"$(PICFLAG)" != x
]; then \
988 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/stpcpy.c
-o pic
/$@
; \
990 $(COMPILE.c
) $(srcdir)/stpcpy.c
$(OUTPUT_OPTION
)
992 .
/stpncpy.
$(objext
): $(srcdir)/stpncpy.c
$(INCDIR
)/ansidecl.h
993 if
[ x
"$(PICFLAG)" != x
]; then \
994 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/stpncpy.c
-o pic
/$@
; \
996 $(COMPILE.c
) $(srcdir)/stpncpy.c
$(OUTPUT_OPTION
)
998 .
/strcasecmp.
$(objext
): $(srcdir)/strcasecmp.c
$(INCDIR
)/ansidecl.h
999 if
[ x
"$(PICFLAG)" != x
]; then \
1000 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strcasecmp.c
-o pic
/$@
; \
1002 $(COMPILE.c
) $(srcdir)/strcasecmp.c
$(OUTPUT_OPTION
)
1004 .
/strchr.
$(objext
): $(srcdir)/strchr.c
$(INCDIR
)/ansidecl.h
1005 if
[ x
"$(PICFLAG)" != x
]; then \
1006 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strchr.c
-o pic
/$@
; \
1008 $(COMPILE.c
) $(srcdir)/strchr.c
$(OUTPUT_OPTION
)
1010 .
/strdup.
$(objext
): $(srcdir)/strdup.c
$(INCDIR
)/ansidecl.h
1011 if
[ x
"$(PICFLAG)" != x
]; then \
1012 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strdup.c
-o pic
/$@
; \
1014 $(COMPILE.c
) $(srcdir)/strdup.c
$(OUTPUT_OPTION
)
1016 .
/strerror.
$(objext
): $(srcdir)/strerror.c config.h
$(INCDIR
)/ansidecl.h \
1017 $(INCDIR
)/libiberty.h
1018 if
[ x
"$(PICFLAG)" != x
]; then \
1019 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strerror.c
-o pic
/$@
; \
1021 $(COMPILE.c
) $(srcdir)/strerror.c
$(OUTPUT_OPTION
)
1023 .
/strncasecmp.
$(objext
): $(srcdir)/strncasecmp.c
$(INCDIR
)/ansidecl.h
1024 if
[ x
"$(PICFLAG)" != x
]; then \
1025 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strncasecmp.c
-o pic
/$@
; \
1027 $(COMPILE.c
) $(srcdir)/strncasecmp.c
$(OUTPUT_OPTION
)
1029 .
/strncmp.
$(objext
): $(srcdir)/strncmp.c
$(INCDIR
)/ansidecl.h
1030 if
[ x
"$(PICFLAG)" != x
]; then \
1031 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strncmp.c
-o pic
/$@
; \
1033 $(COMPILE.c
) $(srcdir)/strncmp.c
$(OUTPUT_OPTION
)
1035 .
/strndup.
$(objext
): $(srcdir)/strndup.c
$(INCDIR
)/ansidecl.h
1036 if
[ x
"$(PICFLAG)" != x
]; then \
1037 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strndup.c
-o pic
/$@
; \
1039 $(COMPILE.c
) $(srcdir)/strndup.c
$(OUTPUT_OPTION
)
1041 .
/strrchr.
$(objext
): $(srcdir)/strrchr.c
$(INCDIR
)/ansidecl.h
1042 if
[ x
"$(PICFLAG)" != x
]; then \
1043 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strrchr.c
-o pic
/$@
; \
1045 $(COMPILE.c
) $(srcdir)/strrchr.c
$(OUTPUT_OPTION
)
1047 .
/strsignal.
$(objext
): $(srcdir)/strsignal.c config.h
$(INCDIR
)/ansidecl.h \
1048 $(INCDIR
)/libiberty.h
1049 if
[ x
"$(PICFLAG)" != x
]; then \
1050 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strsignal.c
-o pic
/$@
; \
1052 $(COMPILE.c
) $(srcdir)/strsignal.c
$(OUTPUT_OPTION
)
1054 .
/strstr.
$(objext
): $(srcdir)/strstr.c
1055 if
[ x
"$(PICFLAG)" != x
]; then \
1056 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strstr.c
-o pic
/$@
; \
1058 $(COMPILE.c
) $(srcdir)/strstr.c
$(OUTPUT_OPTION
)
1060 .
/strtod.
$(objext
): $(srcdir)/strtod.c
$(INCDIR
)/ansidecl.h \
1061 $(INCDIR
)/safe-ctype.h
1062 if
[ x
"$(PICFLAG)" != x
]; then \
1063 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strtod.c
-o pic
/$@
; \
1065 $(COMPILE.c
) $(srcdir)/strtod.c
$(OUTPUT_OPTION
)
1067 .
/strtol.
$(objext
): $(srcdir)/strtol.c config.h
$(INCDIR
)/safe-ctype.h
1068 if
[ x
"$(PICFLAG)" != x
]; then \
1069 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strtol.c
-o pic
/$@
; \
1071 $(COMPILE.c
) $(srcdir)/strtol.c
$(OUTPUT_OPTION
)
1073 .
/strtoul.
$(objext
): $(srcdir)/strtoul.c config.h
$(INCDIR
)/ansidecl.h \
1074 $(INCDIR
)/safe-ctype.h
1075 if
[ x
"$(PICFLAG)" != x
]; then \
1076 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strtoul.c
-o pic
/$@
; \
1078 $(COMPILE.c
) $(srcdir)/strtoul.c
$(OUTPUT_OPTION
)
1080 .
/strverscmp.
$(objext
): $(srcdir)/strverscmp.c
$(INCDIR
)/ansidecl.h \
1081 $(INCDIR
)/libiberty.h
$(INCDIR
)/safe-ctype.h
1082 if
[ x
"$(PICFLAG)" != x
]; then \
1083 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strverscmp.c
-o pic
/$@
; \
1085 $(COMPILE.c
) $(srcdir)/strverscmp.c
$(OUTPUT_OPTION
)
1087 .
/tmpnam.
$(objext
): $(srcdir)/tmpnam.c
1088 if
[ x
"$(PICFLAG)" != x
]; then \
1089 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/tmpnam.c
-o pic
/$@
; \
1091 $(COMPILE.c
) $(srcdir)/tmpnam.c
$(OUTPUT_OPTION
)
1093 .
/unlink-if-ordinary.
$(objext
): $(srcdir)/unlink-if-ordinary.c config.h \
1094 $(INCDIR
)/ansidecl.h
$(INCDIR
)/libiberty.h
1095 if
[ x
"$(PICFLAG)" != x
]; then \
1096 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/unlink-if-ordinary.c
-o pic
/$@
; \
1098 $(COMPILE.c
) $(srcdir)/unlink-if-ordinary.c
$(OUTPUT_OPTION
)
1100 .
/vasprintf.
$(objext
): $(srcdir)/vasprintf.c config.h
$(INCDIR
)/ansidecl.h \
1101 $(INCDIR
)/libiberty.h
1102 if
[ x
"$(PICFLAG)" != x
]; then \
1103 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/vasprintf.c
-o pic
/$@
; \
1105 $(COMPILE.c
) $(srcdir)/vasprintf.c
$(OUTPUT_OPTION
)
1107 .
/vfork.
$(objext
): $(srcdir)/vfork.c
$(INCDIR
)/ansidecl.h
1108 if
[ x
"$(PICFLAG)" != x
]; then \
1109 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/vfork.c
-o pic
/$@
; \
1111 $(COMPILE.c
) $(srcdir)/vfork.c
$(OUTPUT_OPTION
)
1113 .
/vfprintf.
$(objext
): $(srcdir)/vfprintf.c
$(INCDIR
)/ansidecl.h
1114 if
[ x
"$(PICFLAG)" != x
]; then \
1115 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/vfprintf.c
-o pic
/$@
; \
1117 $(COMPILE.c
) $(srcdir)/vfprintf.c
$(OUTPUT_OPTION
)
1119 .
/vprintf.
$(objext
): $(srcdir)/vprintf.c
$(INCDIR
)/ansidecl.h
1120 if
[ x
"$(PICFLAG)" != x
]; then \
1121 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/vprintf.c
-o pic
/$@
; \
1123 $(COMPILE.c
) $(srcdir)/vprintf.c
$(OUTPUT_OPTION
)
1125 .
/vsnprintf.
$(objext
): $(srcdir)/vsnprintf.c config.h
$(INCDIR
)/ansidecl.h \
1126 $(INCDIR
)/libiberty.h
1127 if
[ x
"$(PICFLAG)" != x
]; then \
1128 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/vsnprintf.c
-o pic
/$@
; \
1130 $(COMPILE.c
) $(srcdir)/vsnprintf.c
$(OUTPUT_OPTION
)
1132 .
/vsprintf.
$(objext
): $(srcdir)/vsprintf.c
$(INCDIR
)/ansidecl.h
1133 if
[ x
"$(PICFLAG)" != x
]; then \
1134 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/vsprintf.c
-o pic
/$@
; \
1136 $(COMPILE.c
) $(srcdir)/vsprintf.c
$(OUTPUT_OPTION
)
1138 .
/waitpid.
$(objext
): $(srcdir)/waitpid.c config.h
$(INCDIR
)/ansidecl.h
1139 if
[ x
"$(PICFLAG)" != x
]; then \
1140 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/waitpid.c
-o pic
/$@
; \
1142 $(COMPILE.c
) $(srcdir)/waitpid.c
$(OUTPUT_OPTION
)
1144 .
/xatexit.
$(objext
): $(srcdir)/xatexit.c config.h
$(INCDIR
)/ansidecl.h \
1145 $(INCDIR
)/libiberty.h
1146 if
[ x
"$(PICFLAG)" != x
]; then \
1147 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/xatexit.c
-o pic
/$@
; \
1149 $(COMPILE.c
) $(srcdir)/xatexit.c
$(OUTPUT_OPTION
)
1151 .
/xexit.
$(objext
): $(srcdir)/xexit.c config.h
$(INCDIR
)/ansidecl.h \
1152 $(INCDIR
)/libiberty.h
1153 if
[ x
"$(PICFLAG)" != x
]; then \
1154 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/xexit.c
-o pic
/$@
; \
1156 $(COMPILE.c
) $(srcdir)/xexit.c
$(OUTPUT_OPTION
)
1158 .
/xmalloc.
$(objext
): $(srcdir)/xmalloc.c config.h
$(INCDIR
)/ansidecl.h \
1159 $(INCDIR
)/libiberty.h
1160 if
[ x
"$(PICFLAG)" != x
]; then \
1161 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/xmalloc.c
-o pic
/$@
; \
1163 $(COMPILE.c
) $(srcdir)/xmalloc.c
$(OUTPUT_OPTION
)
1165 .
/xmemdup.
$(objext
): $(srcdir)/xmemdup.c config.h
$(INCDIR
)/ansidecl.h \
1166 $(INCDIR
)/libiberty.h
1167 if
[ x
"$(PICFLAG)" != x
]; then \
1168 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/xmemdup.c
-o pic
/$@
; \
1170 $(COMPILE.c
) $(srcdir)/xmemdup.c
$(OUTPUT_OPTION
)
1172 .
/xstrdup.
$(objext
): $(srcdir)/xstrdup.c config.h
$(INCDIR
)/ansidecl.h \
1173 $(INCDIR
)/libiberty.h
1174 if
[ x
"$(PICFLAG)" != x
]; then \
1175 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/xstrdup.c
-o pic
/$@
; \
1177 $(COMPILE.c
) $(srcdir)/xstrdup.c
$(OUTPUT_OPTION
)
1179 .
/xstrerror.
$(objext
): $(srcdir)/xstrerror.c config.h
$(INCDIR
)/ansidecl.h \
1180 $(INCDIR
)/libiberty.h
1181 if
[ x
"$(PICFLAG)" != x
]; then \
1182 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/xstrerror.c
-o pic
/$@
; \
1184 $(COMPILE.c
) $(srcdir)/xstrerror.c
$(OUTPUT_OPTION
)
1186 .
/xstrndup.
$(objext
): $(srcdir)/xstrndup.c config.h
$(INCDIR
)/ansidecl.h \
1187 $(INCDIR
)/libiberty.h
1188 if
[ x
"$(PICFLAG)" != x
]; then \
1189 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/xstrndup.c
-o pic
/$@
; \
1191 $(COMPILE.c
) $(srcdir)/xstrndup.c
$(OUTPUT_OPTION
)