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 setproctitle.c sha1.c sigsetmask.c \
149 spaces.c splay-tree.c stpcpy.c stpncpy.c strcasecmp.c \
150 strchr.c strdup.c strerror.c strncasecmp.c strncmp.c \
151 strrchr.c strsignal.c strstr.c strtod.c strtol.c strtoul.c \
152 strndup.c strverscmp.c \
154 unlink-if-ordinary.c \
155 vasprintf.c vfork.c vfprintf.c vprintf.c vsnprintf.c vsprintf.c \
157 xatexit.c xexit.c xmalloc.c xmemdup.c xstrdup.c xstrerror.c \
160 # These are always included in the library. The first four are listed
161 # first and by compile time to optimize parallel builds.
163 .
/regex.
$(objext
) .
/cplus-dem.
$(objext
) .
/cp-demangle.
$(objext
) \
164 .
/md5.
$(objext
) .
/sha1.
$(objext
) .
/alloca.
$(objext
) \
166 .
/choose-temp.
$(objext
) .
/concat.
$(objext
) \
167 .
/cp-demint.
$(objext
) .
/crc32.
$(objext
) .
/dyn-string.
$(objext
) \
168 .
/fdmatch.
$(objext
) .
/fibheap.
$(objext
) \
169 .
/filename_cmp.
$(objext
) .
/floatformat.
$(objext
) \
170 .
/fnmatch.
$(objext
) .
/fopen_unlocked.
$(objext
) \
171 .
/getopt.
$(objext
) .
/getopt1.
$(objext
) .
/getpwd.
$(objext
) \
172 .
/getruntime.
$(objext
) .
/hashtab.
$(objext
) .
/hex.
$(objext
) \
173 .
/lbasename.
$(objext
) .
/lrealpath.
$(objext
) \
174 .
/make-relative-prefix.
$(objext
) .
/make-temp-file.
$(objext
) \
175 .
/objalloc.
$(objext
) .
/obstack.
$(objext
) \
176 .
/partition.
$(objext
) .
/pexecute.
$(objext
) .
/physmem.
$(objext
) \
177 .
/pex-common.
$(objext
) .
/pex-one.
$(objext
) \
178 .
/@pexecute@.
$(objext
) \
179 .
/safe-ctype.
$(objext
) .
/sort.
$(objext
) .
/spaces.
$(objext
) \
180 .
/splay-tree.
$(objext
) .
/strerror.
$(objext
) \
181 .
/strsignal.
$(objext
) .
/unlink-if-ordinary.
$(objext
) \
182 .
/xatexit.
$(objext
) .
/xexit.
$(objext
) .
/xmalloc.
$(objext
) \
183 .
/xmemdup.
$(objext
) .
/xstrdup.
$(objext
) .
/xstrerror.
$(objext
) \
186 # These are all the objects that configure may add to the library via
187 # $funcs or EXTRA_OFILES. This list exists here only for "make
188 # maint-missing" and "make check".
189 CONFIGURED_OFILES
= .
/asprintf.
$(objext
) .
/atexit.
$(objext
) \
190 .
/basename.
$(objext
) .
/bcmp.
$(objext
) .
/bcopy.
$(objext
) \
191 .
/bsearch.
$(objext
) .
/bzero.
$(objext
) \
192 .
/calloc.
$(objext
) .
/clock.
$(objext
) .
/copysign.
$(objext
) \
193 .
/_doprnt.
$(objext
) \
195 .
/getcwd.
$(objext
) .
/getpagesize.
$(objext
) \
196 .
/gettimeofday.
$(objext
) \
197 .
/index.
$(objext
) .
/insque.
$(objext
) \
198 .
/memchr.
$(objext
) .
/memcmp.
$(objext
) .
/memcpy.
$(objext
) \
199 .
/memmem.
$(objext
) .
/memmove.
$(objext
) \
200 .
/mempcpy.
$(objext
) .
/memset.
$(objext
) .
/mkstemps.
$(objext
) \
201 .
/pex-djgpp.
$(objext
) .
/pex-msdos.
$(objext
) \
202 .
/pex-unix.
$(objext
) .
/pex-win32.
$(objext
) \
204 .
/random.
$(objext
) .
/rename.
$(objext
) .
/rindex.
$(objext
) \
206 .
/setproctitle.
$(objext
) \
207 .
/sigsetmask.
$(objext
) .
/snprintf.
$(objext
) \
208 .
/stpcpy.
$(objext
) .
/stpncpy.
$(objext
) .
/strcasecmp.
$(objext
) \
209 .
/strchr.
$(objext
) .
/strdup.
$(objext
) .
/strncasecmp.
$(objext
) \
210 .
/strncmp.
$(objext
) .
/strndup.
$(objext
) .
/strrchr.
$(objext
) \
211 .
/strstr.
$(objext
) .
/strtod.
$(objext
) .
/strtol.
$(objext
) \
212 .
/strtoul.
$(objext
) .
/strverscmp.
$(objext
) \
214 .
/vasprintf.
$(objext
) .
/vfork.
$(objext
) .
/vfprintf.
$(objext
) \
215 .
/vprintf.
$(objext
) .
/vsnprintf.
$(objext
) .
/vsprintf.
$(objext
) \
218 # These files are installed if the library has been configured to do so.
219 INSTALLED_HEADERS
= \
220 $(INCDIR
)/ansidecl.h \
221 $(INCDIR
)/demangle.h \
222 $(INCDIR
)/dyn-string.h \
223 $(INCDIR
)/fibheap.h \
224 $(INCDIR
)/floatformat.h \
225 $(INCDIR
)/hashtab.h \
226 $(INCDIR
)/libiberty.h \
227 $(INCDIR
)/objalloc.h \
228 $(INCDIR
)/partition.h \
229 $(INCDIR
)/safe-ctype.h \
231 $(INCDIR
)/splay-tree.h
233 $(TARGETLIB
): $(REQUIRED_OFILES
) $(EXTRA_OFILES
) $(LIBOBJS
)
234 -rm -f
$(TARGETLIB
) pic
/$(TARGETLIB
)
235 $(AR
) $(AR_FLAGS
) $(TARGETLIB
) \
236 $(REQUIRED_OFILES
) $(EXTRA_OFILES
) $(LIBOBJS
)
237 $(RANLIB
) $(TARGETLIB
)
238 if
[ x
"$(PICFLAG)" != x
]; then \
240 $(AR
) $(AR_FLAGS
) $(TARGETLIB
) \
241 $(REQUIRED_OFILES
) $(EXTRA_OFILES
) $(LIBOBJS
); \
242 $(RANLIB
) $(TARGETLIB
); \
246 $(TESTLIB
): $(REQUIRED_OFILES
) $(CONFIGURED_OFILES
)
248 $(AR
) $(AR_FLAGS
) $(TESTLIB
) \
249 $(REQUIRED_OFILES
) $(CONFIGURED_OFILES
)
252 info: libiberty.
info info-subdir
253 install-info
: install-info-subdir
254 clean-info
: clean-info-subdir
255 dvi: libiberty.
dvi dvi-subdir
257 LIBIBERTY_PDFFILES
= libiberty.pdf
259 pdf
: $(LIBIBERTY_PDFFILES
) pdf-subdir
263 pdf__strip_dir
= `echo $$p | sed -e 's|^.*/||'`;
265 install-pdf
: $(LIBIBERTY_PDFFILES
)
267 test -z
"$(pdfdir)" ||
$(mkinstalldirs
) "$(DESTDIR)$(pdfdir)"
268 @list
='$(LIBIBERTY_PDFFILES)'; for p in
$$list; do \
269 if
test -f
"$$p"; then d
=; else d
="$(srcdir)/"; fi
; \
270 f
=$(pdf__strip_dir
) \
271 echo
" $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(pdfdir)/$$f'"; \
272 $(INSTALL_DATA
) "$$d$$p" "$(DESTDIR)$(pdfdir)/$$f"; \
275 # html, install-html targets
276 HTMLS
= libiberty.html
280 .PHONY
: install-html install-html-am
283 mkdir_p
= mkdir
-p
--
285 html__strip_dir
= `echo $$p | sed -e 's|^.*/||'`;
287 install-html
: install-html-am
289 install-html-am
: $(HTMLS
)
291 test -z
"$(htmldir)" ||
$(mkdir_p
) "$(DESTDIR)$(htmldir)"
292 @list
='$(HTMLS)'; for p in
$$list; do \
293 if
test -f
"$$p" ||
test -d
"$$p"; then d
=""; else d
="$(srcdir)/"; fi
; \
294 f
=$(html__strip_dir
) \
295 if
test -d
"$$d$$p"; then \
296 echo
" $(mkdir_p) '$(DESTDIR)$(htmldir)/$$f'"; \
297 $(mkdir_p
) "$(DESTDIR)$(htmldir)/$$f" || exit
1; \
298 echo
" $(INSTALL_DATA) '$$d$$p'/* '$(DESTDIR)$(htmldir)/$$f'"; \
299 $(INSTALL_DATA
) "$$d$$p"/* "$(DESTDIR)$(htmldir)/$$f"; \
301 echo
" $(INSTALL_DATA) '$$d$$p' '$(DESTDIR)$(htmldir)/$$f'"; \
302 $(INSTALL_DATA
) "$$d$$p" "$(DESTDIR)$(htmldir)/$$f"; \
307 $(srcdir)/libiberty.texi \
308 $(srcdir)/copying-lib.texi \
309 $(srcdir)/obstacks.texi \
310 $(srcdir)/functions.texi
312 # Additional files that have texi snippets that need to be collected
313 # and sorted. Some are here because the sources are imported from
314 # elsewhere. Others represent headers in ../include.
315 TEXIFILES
= fnmatch.txh pexecute.txh
317 libiberty.
info : $(srcdir)/libiberty.texi
$(TEXISRC
)
318 $(MAKEINFO
) -I
$(srcdir) $(srcdir)/libiberty.texi
320 libiberty.
dvi : $(srcdir)/libiberty.texi
$(TEXISRC
)
321 texi2dvi $(srcdir)/libiberty.texi
323 libiberty.pdf
: $(srcdir)/libiberty.texi
$(TEXISRC
)
324 texi2pdf
$(srcdir)/libiberty.texi
326 libiberty.html
: $(srcdir)/libiberty.texi
$(TEXISRC
)
327 $(MAKEINFO
) --no-split
--html
-I
$(srcdir) -o
$@
$<
329 @MAINT@
$(srcdir)/functions.texi
: stamp-functions
332 @MAINT@stamp-functions
: $(CFILES
:%=$(srcdir)/%) $(TEXIFILES
:%=$(srcdir)/%) $(srcdir)/gather-docs Makefile
333 @MAINT@@HAVE_PERL@
$(PERL
) $(srcdir)/gather-docs
$(srcdir) $(srcdir)/functions.texi
$(CFILES
) $(TEXIFILES
)
334 @MAINT@ echo stamp
> stamp-functions
336 INSTALL_DEST
= @INSTALL_DEST@
337 install: install_to_
$(INSTALL_DEST
) install-subdir
339 # This is tricky. Even though CC in the Makefile contains
340 # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
341 # default multilib, so we have to take CFLAGS into account as well,
342 # since it will be passed the multilib flags.
343 MULTIOSDIR
= `$(CC) $(CFLAGS) -print-multi-os-directory`
344 install_to_libdir
: all
345 ${mkinstalldirs} $(DESTDIR
)$(libdir)/$(MULTIOSDIR
)
346 $(INSTALL_DATA
) $(TARGETLIB
) $(DESTDIR
)$(libdir)/$(MULTIOSDIR
)/$(TARGETLIB
)n
347 ( cd
$(DESTDIR
)$(libdir)/$(MULTIOSDIR
) ; chmod
644 $(TARGETLIB
)n
;$(RANLIB
) $(TARGETLIB
)n
)
348 mv
-f
$(DESTDIR
)$(libdir)/$(MULTIOSDIR
)/$(TARGETLIB
)n
$(DESTDIR
)$(libdir)/$(MULTIOSDIR
)/$(TARGETLIB
)
349 if
test -n
"${target_header_dir}"; then \
350 case
"${target_header_dir}" in \
351 /*) thd
=${target_header_dir};; \
352 *) thd
=${includedir}/${target_header_dir};; \
354 ${mkinstalldirs} $(DESTDIR
)$${thd}; \
355 for h in
${INSTALLED_HEADERS}; do \
356 ${INSTALL_DATA} $$h $(DESTDIR
)$${thd}; \
359 @
$(MULTIDO
) $(FLAGS_TO_PASS
) multi-do DO
=install
361 install_to_tooldir
: all
362 ${mkinstalldirs} $(DESTDIR
)$(tooldir
)/lib
/$(MULTIOSDIR
)
363 $(INSTALL_DATA
) $(TARGETLIB
) $(DESTDIR
)$(tooldir
)/lib
/$(MULTIOSDIR
)/$(TARGETLIB
)n
364 ( cd
$(DESTDIR
)$(tooldir
)/lib
/$(MULTIOSDIR
) ; chmod
644 $(TARGETLIB
)n
; $(RANLIB
) $(TARGETLIB
)n
)
365 mv
-f
$(DESTDIR
)$(tooldir
)/lib
/$(MULTIOSDIR
)/$(TARGETLIB
)n
$(DESTDIR
)$(tooldir
)/lib
/$(MULTIOSDIR
)/$(TARGETLIB
)
366 @
$(MULTIDO
) $(FLAGS_TO_PASS
) multi-do DO
=install
368 # required-list was used when building a shared bfd/opcodes/libiberty
369 # library. I don't know if it used by anything currently.
370 required-list
: Makefile
371 echo
$(REQUIRED_OFILES
) > required-list
374 if
[ x
"$(PICFLAG)" != x
] && [ ! -d pic
]; then \
379 .PHONY
: all etags
tags ls
clean stage1 stage2
381 etags
tags: TAGS etags-subdir
384 etags
`for i in $(CFILES); do echo $(srcdir)/$$i ; done`
386 # The standalone demangler (c++filt) has been moved to binutils.
387 # But make this target work anyway for demangler hacking.
388 demangle
: $(ALL
) $(srcdir)/cp-demangle.c
389 @echo
"The standalone demangler, now named c++filt, is now"
390 @echo
"a part of binutils."
391 $(CC
) @DEFS@
$(CFLAGS
) $(CPPFLAGS
) -I.
-I
$(INCDIR
) $(HDEFINES
) \
392 $(srcdir)/cp-demangle.c
-DSTANDALONE_DEMANGLER
$(TARGETLIB
) -o
$@
395 @echo Makefile
$(CFILES
)
397 # Various targets for maintainers.
400 @
$(PERL
) $(srcdir)/maint-tool
-s
$(srcdir) missing
$(CFILES
) $(REQUIRED_OFILES
) $(CONFIGURED_OFILES
)
402 maint-buildall
: $(REQUIRED_OFILES
) $(CONFIGURED_OFILES
)
405 maint-undoc
: $(srcdir)/functions.texi
406 @
$(PERL
) $(srcdir)/maint-tool
-s
$(srcdir) undoc
409 @
$(PERL
) $(srcdir)/maint-tool
-s
$(srcdir) deps
$(INCDIR
)
411 # Need to deal with profiled libraries, too.
413 # Cleaning has to be done carefully to ensure that we don't clean our SUBDIRS
414 # multiple times, hence our explicit recursion with an empty SUBDIRS.
415 mostlyclean: mostlyclean-subdir
416 -rm -rf
*.
$(objext
) pic core errs \
#* *.E a.out
417 -rm -f errors dummy config.h stamp-
*
418 -rm -f
$(CONFIG_H
) stamp-picdir
419 -rm -f libiberty.aux libiberty.cp libiberty.cps libiberty.fn libiberty.ky
420 -rm -f libiberty.log libiberty.tmp libiberty.tps libiberty.pg
421 -rm -f libiberty.pgs libiberty.toc libiberty.tp libiberty.tpl libiberty.vr
423 @
$(MULTICLEAN
) multi-clean DO
=mostlyclean
425 $(MAKE
) SUBDIRS
="" mostlyclean
426 -rm -f
*.a required-list tmpmulti.out
427 -rm -f libiberty.
dvi libiberty.pdf libiberty.
info* libiberty.html
428 @
$(MULTICLEAN
) multi-clean DO
=clean
429 distclean: distclean-subdir
430 $(MAKE
) SUBDIRS
="" clean
431 @
$(MULTICLEAN
) multi-clean DO
=distclean
432 -rm -f
*~ Makefile config.cache config.status xhost-mkfrag TAGS multilib.out
434 -rmdir testsuite
2>/dev
/null
435 maintainer-clean
realclean: maintainer-clean-subdir
436 $(MAKE
) SUBDIRS
="" distclean
440 Makefile
: $(srcdir)/Makefile.in config.status
441 CONFIG_FILES
=Makefile CONFIG_HEADERS
= $(SHELL
) .
/config.status
443 # Depending on Makefile makes sure that config.status has been re-run
444 # if needed. This prevents problems with parallel builds.
445 config.h
: stamp-h
; @true
446 stamp-h
: $(srcdir)/config.in config.status Makefile
447 CONFIG_FILES
= CONFIG_HEADERS
=config.h
:$(srcdir)/config.in
$(SHELL
) .
/config.status
449 config.status
: $(srcdir)/configure
450 $(SHELL
) .
/config.status
--recheck
453 configure_deps
= $(srcdir)/aclocal.m4 \
454 $(srcdir)/..
/config
/acx.m4 \
455 $(srcdir)/..
/config
/no-executables.m4 \
456 $(srcdir)/..
/config
/override.m4 \
457 $(srcdir)/..
/config
/warnings.m4 \
459 $(srcdir)/configure
: @MAINT@
$(srcdir)/configure.ac
$(configure_deps
)
460 cd
$(srcdir) && $(AUTOCONF
)
462 # Depending on config.h makes sure that config.status has been re-run
463 # if needed. This prevents problems with parallel builds, in case
464 # subdirectories need to run config.status also.
465 all-subdir check-subdir installcheck-subdir info-subdir \
466 install-info-subdir clean-info-subdir dvi-subdir pdf-subdir install-subdir \
467 etags-subdir mostlyclean-subdir clean-subdir distclean-subdir \
468 maintainer-clean-subdir
: config.h
469 @subdirs
='$(SUBDIRS)'; \
470 target
=`echo $@ | sed -e 's/-subdir//'`; \
471 for
dir in
$$subdirs ; do \
472 cd
$$dir && $(MAKE
) $(FLAGS_TO_PASS
) $$target; \
475 $(REQUIRED_OFILES
) $(EXTRA_OFILES
) $(LIBOBJS
): stamp-picdir
476 $(CONFIGURED_OFILES
): stamp-picdir
478 # Don't export variables to the environment, in order to not confuse
482 # The dependencies in the remainder of this file are automatically
483 # generated by "make maint-deps". Manual edits will be lost.
485 .
/_doprnt.
$(objext
): $(srcdir)/_doprnt.c config.h
$(INCDIR
)/ansidecl.h \
486 $(INCDIR
)/safe-ctype.h
487 if
[ x
"$(PICFLAG)" != x
]; then \
488 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/_doprnt.c
-o pic
/$@
; \
490 $(COMPILE.c
) $(srcdir)/_doprnt.c
$(OUTPUT_OPTION
)
492 .
/alloca.
$(objext
): $(srcdir)/alloca.c config.h
$(INCDIR
)/ansidecl.h \
493 $(INCDIR
)/libiberty.h
494 if
[ x
"$(PICFLAG)" != x
]; then \
495 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/alloca.c
-o pic
/$@
; \
497 $(COMPILE.c
) $(srcdir)/alloca.c
$(OUTPUT_OPTION
)
499 .
/argv.
$(objext
): $(srcdir)/argv.c config.h
$(INCDIR
)/ansidecl.h \
500 $(INCDIR
)/libiberty.h
$(INCDIR
)/safe-ctype.h
501 if
[ x
"$(PICFLAG)" != x
]; then \
502 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/argv.c
-o pic
/$@
; \
504 $(COMPILE.c
) $(srcdir)/argv.c
$(OUTPUT_OPTION
)
506 .
/asprintf.
$(objext
): $(srcdir)/asprintf.c config.h
$(INCDIR
)/ansidecl.h \
507 $(INCDIR
)/libiberty.h
508 if
[ x
"$(PICFLAG)" != x
]; then \
509 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/asprintf.c
-o pic
/$@
; \
511 $(COMPILE.c
) $(srcdir)/asprintf.c
$(OUTPUT_OPTION
)
513 .
/atexit.
$(objext
): $(srcdir)/atexit.c config.h
514 if
[ x
"$(PICFLAG)" != x
]; then \
515 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/atexit.c
-o pic
/$@
; \
517 $(COMPILE.c
) $(srcdir)/atexit.c
$(OUTPUT_OPTION
)
519 .
/basename.
$(objext
): $(srcdir)/basename.c config.h
$(INCDIR
)/ansidecl.h \
520 $(INCDIR
)/libiberty.h
$(INCDIR
)/safe-ctype.h
521 if
[ x
"$(PICFLAG)" != x
]; then \
522 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/basename.c
-o pic
/$@
; \
524 $(COMPILE.c
) $(srcdir)/basename.c
$(OUTPUT_OPTION
)
526 .
/bcmp.
$(objext
): $(srcdir)/bcmp.c
527 if
[ x
"$(PICFLAG)" != x
]; then \
528 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/bcmp.c
-o pic
/$@
; \
530 $(COMPILE.c
) $(srcdir)/bcmp.c
$(OUTPUT_OPTION
)
532 .
/bcopy.
$(objext
): $(srcdir)/bcopy.c
533 if
[ x
"$(PICFLAG)" != x
]; then \
534 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/bcopy.c
-o pic
/$@
; \
536 $(COMPILE.c
) $(srcdir)/bcopy.c
$(OUTPUT_OPTION
)
538 .
/bsearch.
$(objext
): $(srcdir)/bsearch.c config.h
$(INCDIR
)/ansidecl.h
539 if
[ x
"$(PICFLAG)" != x
]; then \
540 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/bsearch.c
-o pic
/$@
; \
542 $(COMPILE.c
) $(srcdir)/bsearch.c
$(OUTPUT_OPTION
)
544 .
/bzero.
$(objext
): $(srcdir)/bzero.c
545 if
[ x
"$(PICFLAG)" != x
]; then \
546 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/bzero.c
-o pic
/$@
; \
548 $(COMPILE.c
) $(srcdir)/bzero.c
$(OUTPUT_OPTION
)
550 .
/calloc.
$(objext
): $(srcdir)/calloc.c
$(INCDIR
)/ansidecl.h
551 if
[ x
"$(PICFLAG)" != x
]; then \
552 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/calloc.c
-o pic
/$@
; \
554 $(COMPILE.c
) $(srcdir)/calloc.c
$(OUTPUT_OPTION
)
556 .
/choose-temp.
$(objext
): $(srcdir)/choose-temp.c config.h
$(INCDIR
)/ansidecl.h \
557 $(INCDIR
)/libiberty.h
558 if
[ x
"$(PICFLAG)" != x
]; then \
559 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/choose-temp.c
-o pic
/$@
; \
561 $(COMPILE.c
) $(srcdir)/choose-temp.c
$(OUTPUT_OPTION
)
563 .
/clock.
$(objext
): $(srcdir)/clock.c config.h
564 if
[ x
"$(PICFLAG)" != x
]; then \
565 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/clock.c
-o pic
/$@
; \
567 $(COMPILE.c
) $(srcdir)/clock.c
$(OUTPUT_OPTION
)
569 .
/concat.
$(objext
): $(srcdir)/concat.c config.h
$(INCDIR
)/ansidecl.h \
570 $(INCDIR
)/libiberty.h
571 if
[ x
"$(PICFLAG)" != x
]; then \
572 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/concat.c
-o pic
/$@
; \
574 $(COMPILE.c
) $(srcdir)/concat.c
$(OUTPUT_OPTION
)
576 .
/copysign.
$(objext
): $(srcdir)/copysign.c
$(INCDIR
)/ansidecl.h
577 if
[ x
"$(PICFLAG)" != x
]; then \
578 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/copysign.c
-o pic
/$@
; \
580 $(COMPILE.c
) $(srcdir)/copysign.c
$(OUTPUT_OPTION
)
582 .
/cp-demangle.
$(objext
): $(srcdir)/cp-demangle.c config.h
$(INCDIR
)/ansidecl.h \
583 $(srcdir)/cp-demangle.h
$(INCDIR
)/demangle.h \
584 $(INCDIR
)/dyn-string.h
$(INCDIR
)/getopt.h
$(INCDIR
)/libiberty.h
585 if
[ x
"$(PICFLAG)" != x
]; then \
586 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/cp-demangle.c
-o pic
/$@
; \
588 $(COMPILE.c
) $(srcdir)/cp-demangle.c
$(OUTPUT_OPTION
)
590 .
/cp-demint.
$(objext
): $(srcdir)/cp-demint.c config.h
$(INCDIR
)/ansidecl.h \
591 $(srcdir)/cp-demangle.h
$(INCDIR
)/demangle.h \
592 $(INCDIR
)/libiberty.h
593 if
[ x
"$(PICFLAG)" != x
]; then \
594 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/cp-demint.c
-o pic
/$@
; \
596 $(COMPILE.c
) $(srcdir)/cp-demint.c
$(OUTPUT_OPTION
)
598 .
/cplus-dem.
$(objext
): $(srcdir)/cplus-dem.c config.h
$(INCDIR
)/ansidecl.h \
599 $(INCDIR
)/demangle.h
$(INCDIR
)/libiberty.h \
600 $(INCDIR
)/safe-ctype.h
601 if
[ x
"$(PICFLAG)" != x
]; then \
602 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/cplus-dem.c
-o pic
/$@
; \
604 $(COMPILE.c
) $(srcdir)/cplus-dem.c
$(OUTPUT_OPTION
)
606 .
/crc32.
$(objext
): $(srcdir)/crc32.c config.h
$(INCDIR
)/ansidecl.h \
607 $(INCDIR
)/libiberty.h
608 if
[ x
"$(PICFLAG)" != x
]; then \
609 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/crc32.c
-o pic
/$@
; \
611 $(COMPILE.c
) $(srcdir)/crc32.c
$(OUTPUT_OPTION
)
613 .
/dyn-string.
$(objext
): $(srcdir)/dyn-string.c config.h
$(INCDIR
)/ansidecl.h \
614 $(INCDIR
)/dyn-string.h
$(INCDIR
)/libiberty.h
615 if
[ x
"$(PICFLAG)" != x
]; then \
616 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/dyn-string.c
-o pic
/$@
; \
618 $(COMPILE.c
) $(srcdir)/dyn-string.c
$(OUTPUT_OPTION
)
620 .
/fdmatch.
$(objext
): $(srcdir)/fdmatch.c config.h
$(INCDIR
)/ansidecl.h \
621 $(INCDIR
)/libiberty.h
622 if
[ x
"$(PICFLAG)" != x
]; then \
623 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/fdmatch.c
-o pic
/$@
; \
625 $(COMPILE.c
) $(srcdir)/fdmatch.c
$(OUTPUT_OPTION
)
627 .
/ffs.
$(objext
): $(srcdir)/ffs.c
628 if
[ x
"$(PICFLAG)" != x
]; then \
629 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/ffs.c
-o pic
/$@
; \
631 $(COMPILE.c
) $(srcdir)/ffs.c
$(OUTPUT_OPTION
)
633 .
/fibheap.
$(objext
): $(srcdir)/fibheap.c config.h
$(INCDIR
)/ansidecl.h \
634 $(INCDIR
)/fibheap.h
$(INCDIR
)/libiberty.h
635 if
[ x
"$(PICFLAG)" != x
]; then \
636 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/fibheap.c
-o pic
/$@
; \
638 $(COMPILE.c
) $(srcdir)/fibheap.c
$(OUTPUT_OPTION
)
640 .
/filename_cmp.
$(objext
): $(srcdir)/filename_cmp.c config.h
$(INCDIR
)/filenames.h \
641 $(INCDIR
)/safe-ctype.h
642 if
[ x
"$(PICFLAG)" != x
]; then \
643 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/filename_cmp.c
-o pic
/$@
; \
645 $(COMPILE.c
) $(srcdir)/filename_cmp.c
$(OUTPUT_OPTION
)
647 .
/floatformat.
$(objext
): $(srcdir)/floatformat.c config.h
$(INCDIR
)/ansidecl.h \
648 $(INCDIR
)/floatformat.h
$(INCDIR
)/libiberty.h
649 if
[ x
"$(PICFLAG)" != x
]; then \
650 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/floatformat.c
-o pic
/$@
; \
652 $(COMPILE.c
) $(srcdir)/floatformat.c
$(OUTPUT_OPTION
)
654 .
/fnmatch.
$(objext
): $(srcdir)/fnmatch.c config.h
$(INCDIR
)/fnmatch.h \
655 $(INCDIR
)/safe-ctype.h
656 if
[ x
"$(PICFLAG)" != x
]; then \
657 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/fnmatch.c
-o pic
/$@
; \
659 $(COMPILE.c
) $(srcdir)/fnmatch.c
$(OUTPUT_OPTION
)
661 .
/fopen_unlocked.
$(objext
): $(srcdir)/fopen_unlocked.c config.h \
662 $(INCDIR
)/ansidecl.h
$(INCDIR
)/libiberty.h
663 if
[ x
"$(PICFLAG)" != x
]; then \
664 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/fopen_unlocked.c
-o pic
/$@
; \
666 $(COMPILE.c
) $(srcdir)/fopen_unlocked.c
$(OUTPUT_OPTION
)
668 .
/getcwd.
$(objext
): $(srcdir)/getcwd.c config.h
669 if
[ x
"$(PICFLAG)" != x
]; then \
670 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/getcwd.c
-o pic
/$@
; \
672 $(COMPILE.c
) $(srcdir)/getcwd.c
$(OUTPUT_OPTION
)
674 .
/getopt.
$(objext
): $(srcdir)/getopt.c config.h
$(INCDIR
)/ansidecl.h \
676 if
[ x
"$(PICFLAG)" != x
]; then \
677 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/getopt.c
-o pic
/$@
; \
679 $(COMPILE.c
) $(srcdir)/getopt.c
$(OUTPUT_OPTION
)
681 .
/getopt1.
$(objext
): $(srcdir)/getopt1.c config.h
$(INCDIR
)/getopt.h
682 if
[ x
"$(PICFLAG)" != x
]; then \
683 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/getopt1.c
-o pic
/$@
; \
685 $(COMPILE.c
) $(srcdir)/getopt1.c
$(OUTPUT_OPTION
)
687 .
/getpagesize.
$(objext
): $(srcdir)/getpagesize.c config.h
688 if
[ x
"$(PICFLAG)" != x
]; then \
689 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/getpagesize.c
-o pic
/$@
; \
691 $(COMPILE.c
) $(srcdir)/getpagesize.c
$(OUTPUT_OPTION
)
693 .
/getpwd.
$(objext
): $(srcdir)/getpwd.c config.h
$(INCDIR
)/ansidecl.h \
694 $(INCDIR
)/libiberty.h
695 if
[ x
"$(PICFLAG)" != x
]; then \
696 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/getpwd.c
-o pic
/$@
; \
698 $(COMPILE.c
) $(srcdir)/getpwd.c
$(OUTPUT_OPTION
)
700 .
/getruntime.
$(objext
): $(srcdir)/getruntime.c config.h
$(INCDIR
)/ansidecl.h \
701 $(INCDIR
)/libiberty.h
702 if
[ x
"$(PICFLAG)" != x
]; then \
703 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/getruntime.c
-o pic
/$@
; \
705 $(COMPILE.c
) $(srcdir)/getruntime.c
$(OUTPUT_OPTION
)
707 .
/gettimeofday.
$(objext
): $(srcdir)/gettimeofday.c config.h
$(INCDIR
)/ansidecl.h \
708 $(INCDIR
)/libiberty.h
709 if
[ x
"$(PICFLAG)" != x
]; then \
710 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/gettimeofday.c
-o pic
/$@
; \
712 $(COMPILE.c
) $(srcdir)/gettimeofday.c
$(OUTPUT_OPTION
)
714 .
/hashtab.
$(objext
): $(srcdir)/hashtab.c config.h
$(INCDIR
)/ansidecl.h \
715 $(INCDIR
)/hashtab.h
$(INCDIR
)/libiberty.h
716 if
[ x
"$(PICFLAG)" != x
]; then \
717 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/hashtab.c
-o pic
/$@
; \
719 $(COMPILE.c
) $(srcdir)/hashtab.c
$(OUTPUT_OPTION
)
721 .
/hex.
$(objext
): $(srcdir)/hex.c config.h
$(INCDIR
)/ansidecl.h \
722 $(INCDIR
)/libiberty.h
$(INCDIR
)/safe-ctype.h
723 if
[ x
"$(PICFLAG)" != x
]; then \
724 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/hex.c
-o pic
/$@
; \
726 $(COMPILE.c
) $(srcdir)/hex.c
$(OUTPUT_OPTION
)
728 .
/index.
$(objext
): $(srcdir)/index.c
729 if
[ x
"$(PICFLAG)" != x
]; then \
730 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/index.c
-o pic
/$@
; \
732 $(COMPILE.c
) $(srcdir)/index.c
$(OUTPUT_OPTION
)
734 .
/insque.
$(objext
): $(srcdir)/insque.c
735 if
[ x
"$(PICFLAG)" != x
]; then \
736 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/insque.c
-o pic
/$@
; \
738 $(COMPILE.c
) $(srcdir)/insque.c
$(OUTPUT_OPTION
)
740 .
/lbasename.
$(objext
): $(srcdir)/lbasename.c config.h
$(INCDIR
)/ansidecl.h \
741 $(INCDIR
)/filenames.h
$(INCDIR
)/libiberty.h \
742 $(INCDIR
)/safe-ctype.h
743 if
[ x
"$(PICFLAG)" != x
]; then \
744 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/lbasename.c
-o pic
/$@
; \
746 $(COMPILE.c
) $(srcdir)/lbasename.c
$(OUTPUT_OPTION
)
748 .
/lrealpath.
$(objext
): $(srcdir)/lrealpath.c config.h
$(INCDIR
)/ansidecl.h \
749 $(INCDIR
)/libiberty.h
750 if
[ x
"$(PICFLAG)" != x
]; then \
751 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/lrealpath.c
-o pic
/$@
; \
753 $(COMPILE.c
) $(srcdir)/lrealpath.c
$(OUTPUT_OPTION
)
755 .
/make-relative-prefix.
$(objext
): $(srcdir)/make-relative-prefix.c config.h \
756 $(INCDIR
)/ansidecl.h
$(INCDIR
)/libiberty.h
757 if
[ x
"$(PICFLAG)" != x
]; then \
758 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/make-relative-prefix.c
-o pic
/$@
; \
760 $(COMPILE.c
) $(srcdir)/make-relative-prefix.c
$(OUTPUT_OPTION
)
762 .
/make-temp-file.
$(objext
): $(srcdir)/make-temp-file.c config.h \
763 $(INCDIR
)/ansidecl.h
$(INCDIR
)/libiberty.h
764 if
[ x
"$(PICFLAG)" != x
]; then \
765 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/make-temp-file.c
-o pic
/$@
; \
767 $(COMPILE.c
) $(srcdir)/make-temp-file.c
$(OUTPUT_OPTION
)
769 .
/md5.
$(objext
): $(srcdir)/md5.c config.h
$(INCDIR
)/ansidecl.h
$(INCDIR
)/md5.h
770 if
[ x
"$(PICFLAG)" != x
]; then \
771 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/md5.c
-o pic
/$@
; \
773 $(COMPILE.c
) $(srcdir)/md5.c
$(OUTPUT_OPTION
)
775 .
/memchr.
$(objext
): $(srcdir)/memchr.c
$(INCDIR
)/ansidecl.h
776 if
[ x
"$(PICFLAG)" != x
]; then \
777 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/memchr.c
-o pic
/$@
; \
779 $(COMPILE.c
) $(srcdir)/memchr.c
$(OUTPUT_OPTION
)
781 .
/memcmp.
$(objext
): $(srcdir)/memcmp.c
$(INCDIR
)/ansidecl.h
782 if
[ x
"$(PICFLAG)" != x
]; then \
783 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/memcmp.c
-o pic
/$@
; \
785 $(COMPILE.c
) $(srcdir)/memcmp.c
$(OUTPUT_OPTION
)
787 .
/memcpy.
$(objext
): $(srcdir)/memcpy.c
$(INCDIR
)/ansidecl.h
788 if
[ x
"$(PICFLAG)" != x
]; then \
789 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/memcpy.c
-o pic
/$@
; \
791 $(COMPILE.c
) $(srcdir)/memcpy.c
$(OUTPUT_OPTION
)
793 .
/memmem.
$(objext
): $(srcdir)/memmem.c config.h
794 if
[ x
"$(PICFLAG)" != x
]; then \
795 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/memmem.c
-o pic
/$@
; \
797 $(COMPILE.c
) $(srcdir)/memmem.c
$(OUTPUT_OPTION
)
799 .
/memmove.
$(objext
): $(srcdir)/memmove.c
$(INCDIR
)/ansidecl.h
800 if
[ x
"$(PICFLAG)" != x
]; then \
801 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/memmove.c
-o pic
/$@
; \
803 $(COMPILE.c
) $(srcdir)/memmove.c
$(OUTPUT_OPTION
)
805 .
/mempcpy.
$(objext
): $(srcdir)/mempcpy.c
$(INCDIR
)/ansidecl.h
806 if
[ x
"$(PICFLAG)" != x
]; then \
807 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/mempcpy.c
-o pic
/$@
; \
809 $(COMPILE.c
) $(srcdir)/mempcpy.c
$(OUTPUT_OPTION
)
811 .
/memset.
$(objext
): $(srcdir)/memset.c
$(INCDIR
)/ansidecl.h
812 if
[ x
"$(PICFLAG)" != x
]; then \
813 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/memset.c
-o pic
/$@
; \
815 $(COMPILE.c
) $(srcdir)/memset.c
$(OUTPUT_OPTION
)
817 .
/mkstemps.
$(objext
): $(srcdir)/mkstemps.c config.h
$(INCDIR
)/ansidecl.h
818 if
[ x
"$(PICFLAG)" != x
]; then \
819 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/mkstemps.c
-o pic
/$@
; \
821 $(COMPILE.c
) $(srcdir)/mkstemps.c
$(OUTPUT_OPTION
)
823 .
/msdos.
$(objext
): $(srcdir)/msdos.c
824 if
[ x
"$(PICFLAG)" != x
]; then \
825 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/msdos.c
-o pic
/$@
; \
827 $(COMPILE.c
) $(srcdir)/msdos.c
$(OUTPUT_OPTION
)
829 .
/objalloc.
$(objext
): $(srcdir)/objalloc.c config.h
$(INCDIR
)/ansidecl.h \
831 if
[ x
"$(PICFLAG)" != x
]; then \
832 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/objalloc.c
-o pic
/$@
; \
834 $(COMPILE.c
) $(srcdir)/objalloc.c
$(OUTPUT_OPTION
)
836 .
/obstack.
$(objext
): $(srcdir)/obstack.c config.h
$(INCDIR
)/obstack.h
837 if
[ x
"$(PICFLAG)" != x
]; then \
838 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/obstack.c
-o pic
/$@
; \
840 $(COMPILE.c
) $(srcdir)/obstack.c
$(OUTPUT_OPTION
)
842 .
/partition.
$(objext
): $(srcdir)/partition.c config.h
$(INCDIR
)/ansidecl.h \
843 $(INCDIR
)/libiberty.h
$(INCDIR
)/partition.h
844 if
[ x
"$(PICFLAG)" != x
]; then \
845 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/partition.c
-o pic
/$@
; \
847 $(COMPILE.c
) $(srcdir)/partition.c
$(OUTPUT_OPTION
)
849 .
/pex-common.
$(objext
): $(srcdir)/pex-common.c config.h
$(INCDIR
)/ansidecl.h \
850 $(INCDIR
)/libiberty.h
$(srcdir)/pex-common.h
851 if
[ x
"$(PICFLAG)" != x
]; then \
852 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/pex-common.c
-o pic
/$@
; \
854 $(COMPILE.c
) $(srcdir)/pex-common.c
$(OUTPUT_OPTION
)
856 .
/pex-djgpp.
$(objext
): $(srcdir)/pex-djgpp.c config.h
$(INCDIR
)/ansidecl.h \
857 $(INCDIR
)/libiberty.h
$(srcdir)/pex-common.h
858 if
[ x
"$(PICFLAG)" != x
]; then \
859 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/pex-djgpp.c
-o pic
/$@
; \
861 $(COMPILE.c
) $(srcdir)/pex-djgpp.c
$(OUTPUT_OPTION
)
863 .
/pex-msdos.
$(objext
): $(srcdir)/pex-msdos.c config.h
$(INCDIR
)/ansidecl.h \
864 $(INCDIR
)/libiberty.h
$(srcdir)/pex-common.h \
865 $(INCDIR
)/safe-ctype.h
866 if
[ x
"$(PICFLAG)" != x
]; then \
867 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/pex-msdos.c
-o pic
/$@
; \
869 $(COMPILE.c
) $(srcdir)/pex-msdos.c
$(OUTPUT_OPTION
)
871 .
/pex-one.
$(objext
): $(srcdir)/pex-one.c config.h
$(INCDIR
)/ansidecl.h \
872 $(INCDIR
)/libiberty.h
873 if
[ x
"$(PICFLAG)" != x
]; then \
874 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/pex-one.c
-o pic
/$@
; \
876 $(COMPILE.c
) $(srcdir)/pex-one.c
$(OUTPUT_OPTION
)
878 .
/pex-unix.
$(objext
): $(srcdir)/pex-unix.c config.h
$(INCDIR
)/ansidecl.h \
879 $(INCDIR
)/libiberty.h
$(srcdir)/pex-common.h
880 if
[ x
"$(PICFLAG)" != x
]; then \
881 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/pex-unix.c
-o pic
/$@
; \
883 $(COMPILE.c
) $(srcdir)/pex-unix.c
$(OUTPUT_OPTION
)
885 .
/pex-win32.
$(objext
): $(srcdir)/pex-win32.c config.h
$(INCDIR
)/ansidecl.h \
886 $(INCDIR
)/libiberty.h
$(srcdir)/pex-common.h
887 if
[ x
"$(PICFLAG)" != x
]; then \
888 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/pex-win32.c
-o pic
/$@
; \
890 $(COMPILE.c
) $(srcdir)/pex-win32.c
$(OUTPUT_OPTION
)
892 .
/pexecute.
$(objext
): $(srcdir)/pexecute.c config.h
$(INCDIR
)/ansidecl.h \
893 $(INCDIR
)/libiberty.h
894 if
[ x
"$(PICFLAG)" != x
]; then \
895 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/pexecute.c
-o pic
/$@
; \
897 $(COMPILE.c
) $(srcdir)/pexecute.c
$(OUTPUT_OPTION
)
899 .
/physmem.
$(objext
): $(srcdir)/physmem.c config.h
$(INCDIR
)/ansidecl.h \
900 $(INCDIR
)/libiberty.h
901 if
[ x
"$(PICFLAG)" != x
]; then \
902 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/physmem.c
-o pic
/$@
; \
904 $(COMPILE.c
) $(srcdir)/physmem.c
$(OUTPUT_OPTION
)
906 .
/putenv.
$(objext
): $(srcdir)/putenv.c config.h
$(INCDIR
)/ansidecl.h
907 if
[ x
"$(PICFLAG)" != x
]; then \
908 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/putenv.c
-o pic
/$@
; \
910 $(COMPILE.c
) $(srcdir)/putenv.c
$(OUTPUT_OPTION
)
912 .
/random.
$(objext
): $(srcdir)/random.c
$(INCDIR
)/ansidecl.h
913 if
[ x
"$(PICFLAG)" != x
]; then \
914 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/random.c
-o pic
/$@
; \
916 $(COMPILE.c
) $(srcdir)/random.c
$(OUTPUT_OPTION
)
918 .
/regex.
$(objext
): $(srcdir)/regex.c config.h
$(INCDIR
)/ansidecl.h \
919 $(INCDIR
)/xregex.h
$(INCDIR
)/xregex2.h
920 if
[ x
"$(PICFLAG)" != x
]; then \
921 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/regex.c
-o pic
/$@
; \
923 $(COMPILE.c
) $(srcdir)/regex.c
$(OUTPUT_OPTION
)
925 .
/rename.
$(objext
): $(srcdir)/rename.c config.h
$(INCDIR
)/ansidecl.h
926 if
[ x
"$(PICFLAG)" != x
]; then \
927 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/rename.c
-o pic
/$@
; \
929 $(COMPILE.c
) $(srcdir)/rename.c
$(OUTPUT_OPTION
)
931 .
/rindex.
$(objext
): $(srcdir)/rindex.c
932 if
[ x
"$(PICFLAG)" != x
]; then \
933 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/rindex.c
-o pic
/$@
; \
935 $(COMPILE.c
) $(srcdir)/rindex.c
$(OUTPUT_OPTION
)
937 .
/safe-ctype.
$(objext
): $(srcdir)/safe-ctype.c
$(INCDIR
)/ansidecl.h \
938 $(INCDIR
)/safe-ctype.h
939 if
[ x
"$(PICFLAG)" != x
]; then \
940 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/safe-ctype.c
-o pic
/$@
; \
942 $(COMPILE.c
) $(srcdir)/safe-ctype.c
$(OUTPUT_OPTION
)
944 .
/setenv.
$(objext
): $(srcdir)/setenv.c config.h
$(INCDIR
)/ansidecl.h
945 if
[ x
"$(PICFLAG)" != x
]; then \
946 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/setenv.c
-o pic
/$@
; \
948 $(COMPILE.c
) $(srcdir)/setenv.c
$(OUTPUT_OPTION
)
950 .
/setproctitle.
$(objext
): $(srcdir)/setproctitle.c config.h
$(INCDIR
)/ansidecl.h
951 if
[ x
"$(PICFLAG)" != x
]; then \
952 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/setproctitle.c
-o pic
/$@
; \
954 $(COMPILE.c
) $(srcdir)/setproctitle.c
$(OUTPUT_OPTION
)
956 .
/sha1.
$(objext
): $(srcdir)/sha1.c config.h
$(INCDIR
)/ansidecl.h
$(INCDIR
)/sha1.h
957 if
[ x
"$(PICFLAG)" != x
]; then \
958 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/sha1.c
-o pic
/$@
; \
960 $(COMPILE.c
) $(srcdir)/sha1.c
$(OUTPUT_OPTION
)
962 .
/sigsetmask.
$(objext
): $(srcdir)/sigsetmask.c
$(INCDIR
)/ansidecl.h
963 if
[ x
"$(PICFLAG)" != x
]; then \
964 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/sigsetmask.c
-o pic
/$@
; \
966 $(COMPILE.c
) $(srcdir)/sigsetmask.c
$(OUTPUT_OPTION
)
968 .
/snprintf.
$(objext
): $(srcdir)/snprintf.c
$(INCDIR
)/ansidecl.h
969 if
[ x
"$(PICFLAG)" != x
]; then \
970 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/snprintf.c
-o pic
/$@
; \
972 $(COMPILE.c
) $(srcdir)/snprintf.c
$(OUTPUT_OPTION
)
974 .
/sort.
$(objext
): $(srcdir)/sort.c config.h
$(INCDIR
)/ansidecl.h \
975 $(INCDIR
)/libiberty.h
$(INCDIR
)/sort.h
976 if
[ x
"$(PICFLAG)" != x
]; then \
977 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/sort.c
-o pic
/$@
; \
979 $(COMPILE.c
) $(srcdir)/sort.c
$(OUTPUT_OPTION
)
981 .
/spaces.
$(objext
): $(srcdir)/spaces.c config.h
$(INCDIR
)/ansidecl.h \
982 $(INCDIR
)/libiberty.h
983 if
[ x
"$(PICFLAG)" != x
]; then \
984 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/spaces.c
-o pic
/$@
; \
986 $(COMPILE.c
) $(srcdir)/spaces.c
$(OUTPUT_OPTION
)
988 .
/splay-tree.
$(objext
): $(srcdir)/splay-tree.c config.h
$(INCDIR
)/ansidecl.h \
989 $(INCDIR
)/libiberty.h
$(INCDIR
)/splay-tree.h
990 if
[ x
"$(PICFLAG)" != x
]; then \
991 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/splay-tree.c
-o pic
/$@
; \
993 $(COMPILE.c
) $(srcdir)/splay-tree.c
$(OUTPUT_OPTION
)
995 .
/stpcpy.
$(objext
): $(srcdir)/stpcpy.c
$(INCDIR
)/ansidecl.h
996 if
[ x
"$(PICFLAG)" != x
]; then \
997 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/stpcpy.c
-o pic
/$@
; \
999 $(COMPILE.c
) $(srcdir)/stpcpy.c
$(OUTPUT_OPTION
)
1001 .
/stpncpy.
$(objext
): $(srcdir)/stpncpy.c
$(INCDIR
)/ansidecl.h
1002 if
[ x
"$(PICFLAG)" != x
]; then \
1003 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/stpncpy.c
-o pic
/$@
; \
1005 $(COMPILE.c
) $(srcdir)/stpncpy.c
$(OUTPUT_OPTION
)
1007 .
/strcasecmp.
$(objext
): $(srcdir)/strcasecmp.c
$(INCDIR
)/ansidecl.h
1008 if
[ x
"$(PICFLAG)" != x
]; then \
1009 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strcasecmp.c
-o pic
/$@
; \
1011 $(COMPILE.c
) $(srcdir)/strcasecmp.c
$(OUTPUT_OPTION
)
1013 .
/strchr.
$(objext
): $(srcdir)/strchr.c
$(INCDIR
)/ansidecl.h
1014 if
[ x
"$(PICFLAG)" != x
]; then \
1015 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strchr.c
-o pic
/$@
; \
1017 $(COMPILE.c
) $(srcdir)/strchr.c
$(OUTPUT_OPTION
)
1019 .
/strdup.
$(objext
): $(srcdir)/strdup.c
$(INCDIR
)/ansidecl.h
1020 if
[ x
"$(PICFLAG)" != x
]; then \
1021 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strdup.c
-o pic
/$@
; \
1023 $(COMPILE.c
) $(srcdir)/strdup.c
$(OUTPUT_OPTION
)
1025 .
/strerror.
$(objext
): $(srcdir)/strerror.c config.h
$(INCDIR
)/ansidecl.h \
1026 $(INCDIR
)/libiberty.h
1027 if
[ x
"$(PICFLAG)" != x
]; then \
1028 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strerror.c
-o pic
/$@
; \
1030 $(COMPILE.c
) $(srcdir)/strerror.c
$(OUTPUT_OPTION
)
1032 .
/strncasecmp.
$(objext
): $(srcdir)/strncasecmp.c
$(INCDIR
)/ansidecl.h
1033 if
[ x
"$(PICFLAG)" != x
]; then \
1034 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strncasecmp.c
-o pic
/$@
; \
1036 $(COMPILE.c
) $(srcdir)/strncasecmp.c
$(OUTPUT_OPTION
)
1038 .
/strncmp.
$(objext
): $(srcdir)/strncmp.c
$(INCDIR
)/ansidecl.h
1039 if
[ x
"$(PICFLAG)" != x
]; then \
1040 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strncmp.c
-o pic
/$@
; \
1042 $(COMPILE.c
) $(srcdir)/strncmp.c
$(OUTPUT_OPTION
)
1044 .
/strndup.
$(objext
): $(srcdir)/strndup.c
$(INCDIR
)/ansidecl.h
1045 if
[ x
"$(PICFLAG)" != x
]; then \
1046 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strndup.c
-o pic
/$@
; \
1048 $(COMPILE.c
) $(srcdir)/strndup.c
$(OUTPUT_OPTION
)
1050 .
/strrchr.
$(objext
): $(srcdir)/strrchr.c
$(INCDIR
)/ansidecl.h
1051 if
[ x
"$(PICFLAG)" != x
]; then \
1052 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strrchr.c
-o pic
/$@
; \
1054 $(COMPILE.c
) $(srcdir)/strrchr.c
$(OUTPUT_OPTION
)
1056 .
/strsignal.
$(objext
): $(srcdir)/strsignal.c config.h
$(INCDIR
)/ansidecl.h \
1057 $(INCDIR
)/libiberty.h
1058 if
[ x
"$(PICFLAG)" != x
]; then \
1059 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strsignal.c
-o pic
/$@
; \
1061 $(COMPILE.c
) $(srcdir)/strsignal.c
$(OUTPUT_OPTION
)
1063 .
/strstr.
$(objext
): $(srcdir)/strstr.c
1064 if
[ x
"$(PICFLAG)" != x
]; then \
1065 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strstr.c
-o pic
/$@
; \
1067 $(COMPILE.c
) $(srcdir)/strstr.c
$(OUTPUT_OPTION
)
1069 .
/strtod.
$(objext
): $(srcdir)/strtod.c
$(INCDIR
)/ansidecl.h \
1070 $(INCDIR
)/safe-ctype.h
1071 if
[ x
"$(PICFLAG)" != x
]; then \
1072 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strtod.c
-o pic
/$@
; \
1074 $(COMPILE.c
) $(srcdir)/strtod.c
$(OUTPUT_OPTION
)
1076 .
/strtol.
$(objext
): $(srcdir)/strtol.c config.h
$(INCDIR
)/safe-ctype.h
1077 if
[ x
"$(PICFLAG)" != x
]; then \
1078 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strtol.c
-o pic
/$@
; \
1080 $(COMPILE.c
) $(srcdir)/strtol.c
$(OUTPUT_OPTION
)
1082 .
/strtoul.
$(objext
): $(srcdir)/strtoul.c config.h
$(INCDIR
)/ansidecl.h \
1083 $(INCDIR
)/safe-ctype.h
1084 if
[ x
"$(PICFLAG)" != x
]; then \
1085 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strtoul.c
-o pic
/$@
; \
1087 $(COMPILE.c
) $(srcdir)/strtoul.c
$(OUTPUT_OPTION
)
1089 .
/strverscmp.
$(objext
): $(srcdir)/strverscmp.c
$(INCDIR
)/ansidecl.h \
1090 $(INCDIR
)/libiberty.h
$(INCDIR
)/safe-ctype.h
1091 if
[ x
"$(PICFLAG)" != x
]; then \
1092 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/strverscmp.c
-o pic
/$@
; \
1094 $(COMPILE.c
) $(srcdir)/strverscmp.c
$(OUTPUT_OPTION
)
1096 .
/tmpnam.
$(objext
): $(srcdir)/tmpnam.c
1097 if
[ x
"$(PICFLAG)" != x
]; then \
1098 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/tmpnam.c
-o pic
/$@
; \
1100 $(COMPILE.c
) $(srcdir)/tmpnam.c
$(OUTPUT_OPTION
)
1102 .
/unlink-if-ordinary.
$(objext
): $(srcdir)/unlink-if-ordinary.c config.h \
1103 $(INCDIR
)/ansidecl.h
$(INCDIR
)/libiberty.h
1104 if
[ x
"$(PICFLAG)" != x
]; then \
1105 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/unlink-if-ordinary.c
-o pic
/$@
; \
1107 $(COMPILE.c
) $(srcdir)/unlink-if-ordinary.c
$(OUTPUT_OPTION
)
1109 .
/vasprintf.
$(objext
): $(srcdir)/vasprintf.c config.h
$(INCDIR
)/ansidecl.h \
1110 $(INCDIR
)/libiberty.h
1111 if
[ x
"$(PICFLAG)" != x
]; then \
1112 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/vasprintf.c
-o pic
/$@
; \
1114 $(COMPILE.c
) $(srcdir)/vasprintf.c
$(OUTPUT_OPTION
)
1116 .
/vfork.
$(objext
): $(srcdir)/vfork.c
$(INCDIR
)/ansidecl.h
1117 if
[ x
"$(PICFLAG)" != x
]; then \
1118 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/vfork.c
-o pic
/$@
; \
1120 $(COMPILE.c
) $(srcdir)/vfork.c
$(OUTPUT_OPTION
)
1122 .
/vfprintf.
$(objext
): $(srcdir)/vfprintf.c
$(INCDIR
)/ansidecl.h
1123 if
[ x
"$(PICFLAG)" != x
]; then \
1124 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/vfprintf.c
-o pic
/$@
; \
1126 $(COMPILE.c
) $(srcdir)/vfprintf.c
$(OUTPUT_OPTION
)
1128 .
/vprintf.
$(objext
): $(srcdir)/vprintf.c
$(INCDIR
)/ansidecl.h
1129 if
[ x
"$(PICFLAG)" != x
]; then \
1130 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/vprintf.c
-o pic
/$@
; \
1132 $(COMPILE.c
) $(srcdir)/vprintf.c
$(OUTPUT_OPTION
)
1134 .
/vsnprintf.
$(objext
): $(srcdir)/vsnprintf.c config.h
$(INCDIR
)/ansidecl.h \
1135 $(INCDIR
)/libiberty.h
1136 if
[ x
"$(PICFLAG)" != x
]; then \
1137 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/vsnprintf.c
-o pic
/$@
; \
1139 $(COMPILE.c
) $(srcdir)/vsnprintf.c
$(OUTPUT_OPTION
)
1141 .
/vsprintf.
$(objext
): $(srcdir)/vsprintf.c
$(INCDIR
)/ansidecl.h
1142 if
[ x
"$(PICFLAG)" != x
]; then \
1143 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/vsprintf.c
-o pic
/$@
; \
1145 $(COMPILE.c
) $(srcdir)/vsprintf.c
$(OUTPUT_OPTION
)
1147 .
/waitpid.
$(objext
): $(srcdir)/waitpid.c config.h
$(INCDIR
)/ansidecl.h
1148 if
[ x
"$(PICFLAG)" != x
]; then \
1149 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/waitpid.c
-o pic
/$@
; \
1151 $(COMPILE.c
) $(srcdir)/waitpid.c
$(OUTPUT_OPTION
)
1153 .
/xatexit.
$(objext
): $(srcdir)/xatexit.c config.h
$(INCDIR
)/ansidecl.h \
1154 $(INCDIR
)/libiberty.h
1155 if
[ x
"$(PICFLAG)" != x
]; then \
1156 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/xatexit.c
-o pic
/$@
; \
1158 $(COMPILE.c
) $(srcdir)/xatexit.c
$(OUTPUT_OPTION
)
1160 .
/xexit.
$(objext
): $(srcdir)/xexit.c config.h
$(INCDIR
)/ansidecl.h \
1161 $(INCDIR
)/libiberty.h
1162 if
[ x
"$(PICFLAG)" != x
]; then \
1163 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/xexit.c
-o pic
/$@
; \
1165 $(COMPILE.c
) $(srcdir)/xexit.c
$(OUTPUT_OPTION
)
1167 .
/xmalloc.
$(objext
): $(srcdir)/xmalloc.c config.h
$(INCDIR
)/ansidecl.h \
1168 $(INCDIR
)/libiberty.h
1169 if
[ x
"$(PICFLAG)" != x
]; then \
1170 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/xmalloc.c
-o pic
/$@
; \
1172 $(COMPILE.c
) $(srcdir)/xmalloc.c
$(OUTPUT_OPTION
)
1174 .
/xmemdup.
$(objext
): $(srcdir)/xmemdup.c config.h
$(INCDIR
)/ansidecl.h \
1175 $(INCDIR
)/libiberty.h
1176 if
[ x
"$(PICFLAG)" != x
]; then \
1177 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/xmemdup.c
-o pic
/$@
; \
1179 $(COMPILE.c
) $(srcdir)/xmemdup.c
$(OUTPUT_OPTION
)
1181 .
/xstrdup.
$(objext
): $(srcdir)/xstrdup.c config.h
$(INCDIR
)/ansidecl.h \
1182 $(INCDIR
)/libiberty.h
1183 if
[ x
"$(PICFLAG)" != x
]; then \
1184 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/xstrdup.c
-o pic
/$@
; \
1186 $(COMPILE.c
) $(srcdir)/xstrdup.c
$(OUTPUT_OPTION
)
1188 .
/xstrerror.
$(objext
): $(srcdir)/xstrerror.c config.h
$(INCDIR
)/ansidecl.h \
1189 $(INCDIR
)/libiberty.h
1190 if
[ x
"$(PICFLAG)" != x
]; then \
1191 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/xstrerror.c
-o pic
/$@
; \
1193 $(COMPILE.c
) $(srcdir)/xstrerror.c
$(OUTPUT_OPTION
)
1195 .
/xstrndup.
$(objext
): $(srcdir)/xstrndup.c config.h
$(INCDIR
)/ansidecl.h \
1196 $(INCDIR
)/libiberty.h
1197 if
[ x
"$(PICFLAG)" != x
]; then \
1198 $(COMPILE.c
) $(PICFLAG
) $(srcdir)/xstrndup.c
-o pic
/$@
; \
1200 $(COMPILE.c
) $(srcdir)/xstrndup.c
$(OUTPUT_OPTION
)