1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4 # This Makefile.in is free software; the Free Software Foundation
5 # gives unlimited permission to copy and/or distribute it,
6 # with or without modifications, as long as this notice is preserved.
8 # This program is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 top_srcdir = @top_srcdir@
21 exec_prefix = @exec_prefix@
25 libexecdir = @libexecdir@
27 sysconfdir = @sysconfdir@
28 sharedstatedir = @sharedstatedir@
29 localstatedir = @localstatedir@
33 includedir = @includedir@
34 oldincludedir = /usr/include
38 pkgdatadir = $(datadir)/@PACKAGE@
39 pkglibdir = $(libdir)/@PACKAGE@
40 pkgincludedir = $(includedir)/@PACKAGE@
47 AUTOHEADER = @AUTOHEADER@
50 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
51 INSTALL_DATA = @INSTALL_DATA@
52 INSTALL_SCRIPT = @INSTALL_SCRIPT@
53 transform = @program_transform_name@
61 build_alias = @build_alias@
62 build_triplet = @build@
63 host_alias = @host_alias@
65 target_alias = @target_alias@
66 target_triplet = @target@
79 LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@
80 LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@
81 LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@
82 LIBC_POSIX_LIB = @LIBC_POSIX_LIB@
83 LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@
84 LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@
85 LIBC_STDIO64_DEF = @LIBC_STDIO64_DEF@
86 LIBC_STDIO64_LIB = @LIBC_STDIO64_LIB@
87 LIBC_SYSCALL_LIB = @LIBC_SYSCALL_LIB@
88 LIBC_SYS_LIB = @LIBC_SYS_LIB@
89 LIBC_UNIX_LIB = @LIBC_UNIX_LIB@
94 NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
102 extra_dir = @extra_dir@
103 libm_machine_dir = @libm_machine_dir@
104 machine_dir = @machine_dir@
105 newlib_basedir = @newlib_basedir@
109 AUTOMAKE_OPTIONS = cygnus
111 INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
193 # Because of how libtool moves objects around, mallocr must be built last.
194 LIBADD_OBJS = freer.$(oext) reallocr.$(oext) callocr.$(oext) cfreer.$(oext) malignr.$(oext) \
195 vallocr.$(oext) pvallocr.$(oext) mallinfor.$(oext) mallstatsr.$(oext) msizer.$(oext) malloptr.$(oext) mallocr.$(oext)
198 libstdlib_la_LDFLAGS = -Xcompiler -nostdlib
200 @USE_LIBTOOL_TRUE@noinst_LTLIBRARIES = @USE_LIBTOOL_TRUE@libstdlib.la
201 @USE_LIBTOOL_TRUE@libstdlib_la_SOURCES = @USE_LIBTOOL_TRUE@$(LIB_SOURCES)
202 @USE_LIBTOOL_TRUE@libstdlib_la_LIBADD = @USE_LIBTOOL_TRUE@$(LIBADD_OBJS)
203 @USE_LIBTOOL_TRUE@LIB_COMPILE = @USE_LIBTOOL_TRUE@$(LTCOMPILE)
204 @USE_LIBTOOL_FALSE@LIB_COMPILE = @USE_LIBTOOL_FALSE@$(COMPILE)
205 @USE_LIBTOOL_TRUE@noinst_DATA = @USE_LIBTOOL_TRUE@objectlist.awk.in
206 @USE_LIBTOOL_FALSE@noinst_DATA =
207 @USE_LIBTOOL_FALSE@noinst_LIBRARIES = @USE_LIBTOOL_FALSE@lib.a
208 @USE_LIBTOOL_FALSE@lib_a_SOURCES = @USE_LIBTOOL_FALSE@$(LIB_SOURCES)
209 @USE_LIBTOOL_FALSE@lib_a_LIBADD = @USE_LIBTOOL_FALSE@$(LIBADD_OBJS)
211 MALLOC_COMPILE = $(LIB_COMPILE) -DINTERNAL_NEWLIB
253 CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
255 TARGETDOC = ../tmp.texi
257 CLEANFILES = $(CHEWOUT_FILES) *.ref
258 mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
260 LIBRARIES = $(noinst_LIBRARIES)
263 DEFS = @DEFS@ -I. -I$(srcdir)
264 CPPFLAGS = @CPPFLAGS@
266 @USE_LIBTOOL_FALSE@lib_a_DEPENDENCIES = freer.$(oext) reallocr.$(oext) \
267 @USE_LIBTOOL_FALSE@callocr.$(oext) cfreer.$(oext) malignr.$(oext) \
268 @USE_LIBTOOL_FALSE@vallocr.$(oext) pvallocr.$(oext) mallinfor.$(oext) \
269 @USE_LIBTOOL_FALSE@mallstatsr.$(oext) msizer.$(oext) malloptr.$(oext) \
270 @USE_LIBTOOL_FALSE@mallocr.$(oext)
271 @USE_LIBTOOL_FALSE@lib_a_OBJECTS = __adjust.$(OBJEXT) __exp10.$(OBJEXT) \
272 @USE_LIBTOOL_FALSE@__ten_mu.$(OBJEXT) _Exit.$(OBJEXT) a64l.$(OBJEXT) \
273 @USE_LIBTOOL_FALSE@abort.$(OBJEXT) abs.$(OBJEXT) assert.$(OBJEXT) \
274 @USE_LIBTOOL_FALSE@atexit.$(OBJEXT) atof.$(OBJEXT) atoff.$(OBJEXT) \
275 @USE_LIBTOOL_FALSE@atoi.$(OBJEXT) atol.$(OBJEXT) calloc.$(OBJEXT) \
276 @USE_LIBTOOL_FALSE@div.$(OBJEXT) drand48.$(OBJEXT) dtoa.$(OBJEXT) \
277 @USE_LIBTOOL_FALSE@dtoastub.$(OBJEXT) ecvtbuf.$(OBJEXT) \
278 @USE_LIBTOOL_FALSE@efgcvt.$(OBJEXT) environ.$(OBJEXT) envlock.$(OBJEXT) \
279 @USE_LIBTOOL_FALSE@eprintf.$(OBJEXT) erand48.$(OBJEXT) exit.$(OBJEXT) \
280 @USE_LIBTOOL_FALSE@getenv.$(OBJEXT) getenv_r.$(OBJEXT) getopt.$(OBJEXT) \
281 @USE_LIBTOOL_FALSE@getsubopt.$(OBJEXT) jrand48.$(OBJEXT) l64a.$(OBJEXT) \
282 @USE_LIBTOOL_FALSE@labs.$(OBJEXT) lcong48.$(OBJEXT) ldiv.$(OBJEXT) \
283 @USE_LIBTOOL_FALSE@ldtoa.$(OBJEXT) lrand48.$(OBJEXT) malign.$(OBJEXT) \
284 @USE_LIBTOOL_FALSE@malloc.$(OBJEXT) mblen.$(OBJEXT) mblen_r.$(OBJEXT) \
285 @USE_LIBTOOL_FALSE@mbstowcs.$(OBJEXT) mbstowcs_r.$(OBJEXT) \
286 @USE_LIBTOOL_FALSE@mbtowc.$(OBJEXT) mbtowc_r.$(OBJEXT) mlock.$(OBJEXT) \
287 @USE_LIBTOOL_FALSE@mprec.$(OBJEXT) mrand48.$(OBJEXT) msize.$(OBJEXT) \
288 @USE_LIBTOOL_FALSE@mstats.$(OBJEXT) mtrim.$(OBJEXT) nrand48.$(OBJEXT) \
289 @USE_LIBTOOL_FALSE@on_exit.$(OBJEXT) putenv.$(OBJEXT) \
290 @USE_LIBTOOL_FALSE@putenv_r.$(OBJEXT) rand.$(OBJEXT) rand48.$(OBJEXT) \
291 @USE_LIBTOOL_FALSE@rand_r.$(OBJEXT) realloc.$(OBJEXT) seed48.$(OBJEXT) \
292 @USE_LIBTOOL_FALSE@setenv.$(OBJEXT) setenv_r.$(OBJEXT) \
293 @USE_LIBTOOL_FALSE@srand48.$(OBJEXT) strdup.$(OBJEXT) \
294 @USE_LIBTOOL_FALSE@strdup_r.$(OBJEXT) strtod.$(OBJEXT) strtol.$(OBJEXT) \
295 @USE_LIBTOOL_FALSE@strtoll.$(OBJEXT) strtoll_r.$(OBJEXT) \
296 @USE_LIBTOOL_FALSE@strtoul.$(OBJEXT) strtoull.$(OBJEXT) \
297 @USE_LIBTOOL_FALSE@strtoull_r.$(OBJEXT) system.$(OBJEXT) \
298 @USE_LIBTOOL_FALSE@valloc.$(OBJEXT) wcstombs.$(OBJEXT) \
299 @USE_LIBTOOL_FALSE@wcstombs_r.$(OBJEXT) wctomb.$(OBJEXT) \
300 @USE_LIBTOOL_FALSE@wctomb_r.$(OBJEXT)
301 LTLIBRARIES = $(noinst_LTLIBRARIES)
303 @USE_LIBTOOL_TRUE@libstdlib_la_DEPENDENCIES = freer.$(oext) \
304 @USE_LIBTOOL_TRUE@reallocr.$(oext) callocr.$(oext) cfreer.$(oext) \
305 @USE_LIBTOOL_TRUE@malignr.$(oext) vallocr.$(oext) pvallocr.$(oext) \
306 @USE_LIBTOOL_TRUE@mallinfor.$(oext) mallstatsr.$(oext) msizer.$(oext) \
307 @USE_LIBTOOL_TRUE@malloptr.$(oext) mallocr.$(oext)
308 @USE_LIBTOOL_TRUE@libstdlib_la_OBJECTS = __adjust.lo __exp10.lo \
309 @USE_LIBTOOL_TRUE@__ten_mu.lo _Exit.lo a64l.lo abort.lo abs.lo \
310 @USE_LIBTOOL_TRUE@assert.lo atexit.lo atof.lo atoff.lo atoi.lo atol.lo \
311 @USE_LIBTOOL_TRUE@calloc.lo div.lo drand48.lo dtoa.lo dtoastub.lo \
312 @USE_LIBTOOL_TRUE@ecvtbuf.lo efgcvt.lo environ.lo envlock.lo eprintf.lo \
313 @USE_LIBTOOL_TRUE@erand48.lo exit.lo getenv.lo getenv_r.lo getopt.lo \
314 @USE_LIBTOOL_TRUE@getsubopt.lo jrand48.lo l64a.lo labs.lo lcong48.lo \
315 @USE_LIBTOOL_TRUE@ldiv.lo ldtoa.lo lrand48.lo malign.lo malloc.lo \
316 @USE_LIBTOOL_TRUE@mblen.lo mblen_r.lo mbstowcs.lo mbstowcs_r.lo \
317 @USE_LIBTOOL_TRUE@mbtowc.lo mbtowc_r.lo mlock.lo mprec.lo mrand48.lo \
318 @USE_LIBTOOL_TRUE@msize.lo mstats.lo mtrim.lo nrand48.lo on_exit.lo \
319 @USE_LIBTOOL_TRUE@putenv.lo putenv_r.lo rand.lo rand48.lo rand_r.lo \
320 @USE_LIBTOOL_TRUE@realloc.lo seed48.lo setenv.lo setenv_r.lo srand48.lo \
321 @USE_LIBTOOL_TRUE@strdup.lo strdup_r.lo strtod.lo strtol.lo strtoll.lo \
322 @USE_LIBTOOL_TRUE@strtoll_r.lo strtoul.lo strtoull.lo strtoull_r.lo \
323 @USE_LIBTOOL_TRUE@system.lo valloc.lo wcstombs.lo wcstombs_r.lo \
324 @USE_LIBTOOL_TRUE@wctomb.lo wctomb_r.lo
326 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
327 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
329 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
330 DATA = $(noinst_DATA)
332 DIST_COMMON = Makefile.am Makefile.in
335 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
339 SOURCES = $(lib_a_SOURCES) $(libstdlib_la_SOURCES)
340 OBJECTS = $(lib_a_OBJECTS) $(libstdlib_la_OBJECTS)
344 .SUFFIXES: .S .c .def .lo .o .obj .s
345 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(srcdir)/../../Makefile.shared
346 cd $(top_srcdir) && $(AUTOMAKE) --cygnus stdlib/Makefile
348 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
350 && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
353 mostlyclean-noinstLIBRARIES:
355 clean-noinstLIBRARIES:
356 -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
358 distclean-noinstLIBRARIES:
360 maintainer-clean-noinstLIBRARIES:
365 # FIXME: We should only use cygpath when building on Windows,
366 # and only if it is available.
368 $(COMPILE) -c `cygpath -w $<`
377 -rm -f *.o core *.core
385 maintainer-clean-compile:
388 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
391 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
394 $(LIBTOOL) --mode=compile $(COMPILE) -c $<
404 maintainer-clean-libtool:
406 lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES)
408 $(AR) cru lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
411 mostlyclean-noinstLTLIBRARIES:
413 clean-noinstLTLIBRARIES:
414 -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
416 distclean-noinstLTLIBRARIES:
418 maintainer-clean-noinstLTLIBRARIES:
420 libstdlib.la: $(libstdlib_la_OBJECTS) $(libstdlib_la_DEPENDENCIES)
421 $(LINK) $(libstdlib_la_LDFLAGS) $(libstdlib_la_OBJECTS) $(libstdlib_la_LIBADD) $(LIBS)
425 ID: $(HEADERS) $(SOURCES) $(LISP)
426 list='$(SOURCES) $(HEADERS)'; \
427 unique=`for i in $$list; do echo $$i; done | \
428 awk ' { files[$$0] = 1; } \
429 END { for (i in files) print i; }'`; \
430 here=`pwd` && cd $(srcdir) \
431 && mkid -f$$here/ID $$unique $(LISP)
433 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
436 list='$(SOURCES) $(HEADERS)'; \
437 unique=`for i in $$list; do echo $$i; done | \
438 awk ' { files[$$0] = 1; } \
439 END { for (i in files) print i; }'`; \
440 test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
441 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
450 maintainer-clean-tags:
452 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
456 distdir: $(DISTFILES)
457 @for file in $(DISTFILES); do \
458 if test -f $$file; then d=.; else d=$(srcdir); fi; \
459 if test -d $$d/$$file; then \
460 cp -pr $$d/$$file $(distdir)/$$file; \
462 test -f $(distdir)/$$file \
463 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
464 || cp -p $$d/$$file $(distdir)/$$file || :; \
474 installcheck: installcheck-am
476 install-info: install-info-am
478 install-exec: install-exec-am
481 install-data: install-data-am
484 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
487 uninstall: uninstall-am
488 all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA)
491 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
498 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
501 -rm -f Makefile $(CONFIG_CLEAN_FILES)
502 -rm -f config.cache config.log stamp-h stamp-h[0-9]*
504 maintainer-clean-generic:
505 mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
506 mostlyclean-libtool mostlyclean-noinstLTLIBRARIES \
507 mostlyclean-tags mostlyclean-generic
509 mostlyclean: mostlyclean-am
511 clean-am: clean-noinstLIBRARIES clean-compile clean-libtool \
512 clean-noinstLTLIBRARIES clean-tags clean-generic \
517 distclean-am: distclean-noinstLIBRARIES distclean-compile \
518 distclean-libtool distclean-noinstLTLIBRARIES \
519 distclean-tags distclean-generic clean-am
522 distclean: distclean-am
524 maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
525 maintainer-clean-compile maintainer-clean-libtool \
526 maintainer-clean-noinstLTLIBRARIES \
527 maintainer-clean-tags maintainer-clean-generic \
529 @echo "This command is intended for maintainers to use;"
530 @echo "it deletes files that may require special tools to rebuild."
532 maintainer-clean: maintainer-clean-am
534 .PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
535 clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
536 mostlyclean-compile distclean-compile clean-compile \
537 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
538 clean-libtool maintainer-clean-libtool mostlyclean-noinstLTLIBRARIES \
539 distclean-noinstLTLIBRARIES clean-noinstLTLIBRARIES \
540 maintainer-clean-noinstLTLIBRARIES tags mostlyclean-tags distclean-tags \
541 clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
542 check-am installcheck-am installcheck install-info-am install-info \
543 install-exec-am install-exec install-data-am install-data install-am \
544 install uninstall-am uninstall all-redirect all-am all installdirs \
545 mostlyclean-generic distclean-generic clean-generic \
546 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
549 objectlist.awk.in: $(noinst_LTLIBRARIES)
550 -rm -f objectlist.awk.in
551 for i in `ls *.lo` ; \
553 echo $$i `pwd`/$$i >> objectlist.awk.in ; \
556 mallocr.$(oext): mallocr.c
557 $(MALLOC_COMPILE) -DDEFINE_MALLOC -c $(srcdir)/mallocr.c -o $@
559 freer.$(oext): mallocr.c
560 $(MALLOC_COMPILE) -DDEFINE_FREE -c $(srcdir)/mallocr.c -o $@
562 reallocr.$(oext): mallocr.c
563 $(MALLOC_COMPILE) -DDEFINE_REALLOC -c $(srcdir)/mallocr.c -o $@
565 callocr.$(oext): mallocr.c
566 $(MALLOC_COMPILE) -DDEFINE_CALLOC -c $(srcdir)/mallocr.c -o $@
568 cfreer.$(oext): mallocr.c
569 $(MALLOC_COMPILE) -DDEFINE_CFREE -c $(srcdir)/mallocr.c -o $@
571 malignr.$(oext): mallocr.c
572 $(MALLOC_COMPILE) -DDEFINE_MEMALIGN -c $(srcdir)/mallocr.c -o $@
574 vallocr.$(oext): mallocr.c
575 $(MALLOC_COMPILE) -DDEFINE_VALLOC -c $(srcdir)/mallocr.c -o $@
577 pvallocr.$(oext): mallocr.c
578 $(MALLOC_COMPILE) -DDEFINE_PVALLOC -c $(srcdir)/mallocr.c -o $@
580 mallinfor.$(oext): mallocr.c
581 $(MALLOC_COMPILE) -DDEFINE_MALLINFO -c $(srcdir)/mallocr.c -o $@
583 mallstatsr.$(oext): mallocr.c
584 $(MALLOC_COMPILE) -DDEFINE_MALLOC_STATS -c $(srcdir)/mallocr.c -o $@
586 msizer.$(oext): mallocr.c
587 $(MALLOC_COMPILE) -DDEFINE_MALLOC_USABLE_SIZE -c $(srcdir)/mallocr.c -o $@
589 malloptr.$(oext): mallocr.c
590 $(MALLOC_COMPILE) -DDEFINE_MALLOPT -c $(srcdir)/mallocr.c -o $@
593 $(CHEW) < $< > $*.def 2> $*.ref
596 doc: $(CHEWOUT_FILES)
597 cat $(srcdir)/stdlib.tex >> $(TARGETDOC)
599 dtoa.$(oext): dtoa.c mprec.h
600 ldtoa.$(oext): ldtoa.c mprec.h
601 ecvtbuf.$(oext): ecvtbuf.c mprec.h
602 mbtowc_r.$(oext): mbtowc_r.c mbctype.h
603 $(LIB_COMPILE) -c -fshort-enums $(srcdir)/mbtowc_r.c -o $@
605 mprec.$(oext): mprec.c mprec.h
606 strtod.$(oext): strtod.c mprec.h
607 wctomb_r.$(oext): wctomb_r.c mbctype.h
608 drand48.$(oext): drand48.c rand48.h
609 erand48.$(oext): erand48.c rand48.h
610 jrand48.$(oext): jrand48.c rand48.h
611 lcong48.$(oext): lcong48.c rand48.h
612 lrand48.$(oext): lrand48.c rand48.h
613 mrand48.$(oext): mrand48.c rand48.h
614 nrand48.$(oext): nrand48.c rand48.h
615 rand48.$(oext): rand48.c rand48.h
616 seed48.$(oext): seed48.c rand48.h
617 srand48.$(oext): srand48.c rand48.h
619 # Tell versions [3.59,3.63) of GNU make to not export all variables.
620 # Otherwise a system limit (for SysV at least) may be exceeded.