OSDN Git Service

a955fb087945e33f1795e6f0761de254cba01bf5
[pf3gnuchains/pf3gnuchains3x.git] / newlib / libc / stdlib / Makefile.in
1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
2
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.
7
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
11 # PARTICULAR PURPOSE.
12
13
14 SHELL = @SHELL@
15
16 srcdir = @srcdir@
17 top_srcdir = @top_srcdir@
18 VPATH = @srcdir@
19 prefix = @prefix@
20 exec_prefix = @exec_prefix@
21
22 bindir = @bindir@
23 sbindir = @sbindir@
24 libexecdir = @libexecdir@
25 datadir = @datadir@
26 sysconfdir = @sysconfdir@
27 sharedstatedir = @sharedstatedir@
28 localstatedir = @localstatedir@
29 libdir = @libdir@
30 infodir = @infodir@
31 mandir = @mandir@
32 includedir = @includedir@
33 oldincludedir = /usr/include
34
35 DESTDIR =
36
37 pkgdatadir = $(datadir)/@PACKAGE@
38 pkglibdir = $(libdir)/@PACKAGE@
39 pkgincludedir = $(includedir)/@PACKAGE@
40
41 top_builddir = ..
42
43 ACLOCAL = @ACLOCAL@
44 AUTOCONF = @AUTOCONF@
45 AUTOMAKE = @AUTOMAKE@
46 AUTOHEADER = @AUTOHEADER@
47
48 INSTALL = @INSTALL@
49 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
50 INSTALL_DATA = @INSTALL_DATA@
51 INSTALL_SCRIPT = @INSTALL_SCRIPT@
52 transform = @program_transform_name@
53
54 NORMAL_INSTALL = :
55 PRE_INSTALL = :
56 POST_INSTALL = :
57 NORMAL_UNINSTALL = :
58 PRE_UNINSTALL = :
59 POST_UNINSTALL = :
60 host_alias = @host_alias@
61 host_triplet = @host@
62 AR = @AR@
63 AS = @AS@
64 CC = @CC@
65 CPP = @CPP@
66 CRT0 = @CRT0@
67 EXEEXT = @EXEEXT@
68 LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@
69 LIBC_POSIX_LIB = @LIBC_POSIX_LIB@
70 LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@
71 LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@
72 LIBC_SYSCALL_LIB = @LIBC_SYSCALL_LIB@
73 LIBC_SYS_LIB = @LIBC_SYS_LIB@
74 LIBC_UNIX_LIB = @LIBC_UNIX_LIB@
75 MAINT = @MAINT@
76 MAKEINFO = @MAKEINFO@
77 NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
78 PACKAGE = @PACKAGE@
79 RANLIB = @RANLIB@
80 VERSION = @VERSION@
81 machine_dir = @machine_dir@
82 newlib_basedir = @newlib_basedir@
83 sys_dir = @sys_dir@
84
85 AUTOMAKE_OPTIONS = cygnus
86
87 INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
88
89 noinst_LIBRARIES = lib.a
90
91 lib_a_SOURCES = \
92         __adjust.c      \
93         __exp10.c       \
94         __ten_mu.c      \
95         abort.c         \
96         abs.c           \
97         assert.c        \
98         atexit.c        \
99         atof.c          \
100         atoff.c         \
101         atoi.c          \
102         atol.c          \
103         bsearch.c       \
104         calloc.c        \
105         div.c           \
106         drand48.c       \
107         dtoa.c          \
108         dtoastub.c      \
109         ecvtbuf.c       \
110         efgcvt.c        \
111         environ.c       \
112         envlock.c       \
113         eprintf.c       \
114         erand48.c       \
115         exit.c          \
116         getenv.c        \
117         getenv_r.c      \
118         getopt.c        \
119         jrand48.c       \
120         labs.c          \
121         lcong48.c       \
122         ldiv.c          \
123         ldtoa.c         \
124         lrand48.c       \
125         malign.c        \
126         malloc.c        \
127         mblen.c         \
128         mblen_r.c       \
129         mbstowcs.c      \
130         mbstowcs_r.c    \
131         mbtowc.c        \
132         mbtowc_r.c      \
133         mlock.c         \
134         mprec.c         \
135         mrand48.c       \
136         msize.c         \
137         mstats.c        \
138         mtrim.c         \
139         nrand48.c       \
140         putenv.c        \
141         putenv_r.c      \
142         qsort.c         \
143         rand.c          \
144         rand48.c        \
145         rand_r.c        \
146         realloc.c       \
147         seed48.c        \
148         setenv.c        \
149         setenv_r.c      \
150         srand48.c       \
151         strdup.c        \
152         strdup_r.c      \
153         strtod.c        \
154         strtol.c        \
155         strtoll.c       \
156         strtoll_r.c     \
157         strtoul.c       \
158         strtoull.c      \
159         strtoull_r.c    \
160         system.c        \
161         valloc.c        \
162         wcstombs.c      \
163         wcstombs_r.c    \
164         wctomb.c        \
165         wctomb_r.c
166
167
168 lib_a_LIBADD = mallocr.o freer.o reallocr.o callocr.o cfreer.o malignr.o \
169         vallocr.o pvallocr.o mallinfor.o mallstatsr.o msizer.o malloptr.o
170
171
172 MALLOC_COMPILE = $(COMPILE) -DINTERNAL_NEWLIB
173
174 CHEWOUT_FILES = \
175         abort.def       \
176         abs.def         \
177         assert.def      \
178         atexit.def      \
179         atof.def        \
180         ecvtbuf.def     \
181         atoi.def        \
182         bsearch.def     \
183         calloc.def      \
184         div.def         \
185         efgcvt.def      \
186         envlock.def     \
187         exit.def        \
188         getenv.def      \
189         labs.def        \
190         ldiv.def        \
191         malloc.def      \
192         mallocr.def     \
193         mblen.def       \
194         mbstowcs.def    \
195         mbtowc.def      \
196         mlock.def       \
197         mstats.def      \
198         qsort.def       \
199         rand.def        \
200         rand48.def      \
201         strtod.def      \
202         strtol.def      \
203         strtoll.def     \
204         strtoul.def     \
205         strtoull.def    \
206         system.def      \
207         wcstombs.def    \
208         wctomb.def      
209
210
211 SUFFIXES = .def
212
213 CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
214
215 TARGETDOC = ../tmp.texi
216
217 CLEANFILES = $(CHEWOUT_FILES) *.ref
218 mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
219 CONFIG_CLEAN_FILES = 
220 LIBRARIES =  $(noinst_LIBRARIES)
221
222
223 DEFS = @DEFS@ -I. -I$(srcdir) 
224 CPPFLAGS = @CPPFLAGS@
225 LDFLAGS = @LDFLAGS@
226 LIBS = @LIBS@
227 lib_a_DEPENDENCIES =  mallocr.o freer.o reallocr.o callocr.o cfreer.o \
228 malignr.o vallocr.o pvallocr.o mallinfor.o mallstatsr.o msizer.o \
229 malloptr.o
230 lib_a_OBJECTS =  __adjust.o __exp10.o __ten_mu.o abort.o abs.o assert.o \
231 atexit.o atof.o atoff.o atoi.o atol.o bsearch.o calloc.o div.o \
232 drand48.o dtoa.o dtoastub.o ecvtbuf.o efgcvt.o environ.o envlock.o \
233 eprintf.o erand48.o exit.o getenv.o getenv_r.o getopt.o jrand48.o \
234 labs.o lcong48.o ldiv.o ldtoa.o lrand48.o malign.o malloc.o mblen.o \
235 mblen_r.o mbstowcs.o mbstowcs_r.o mbtowc.o mbtowc_r.o mlock.o mprec.o \
236 mrand48.o msize.o mstats.o mtrim.o nrand48.o putenv.o putenv_r.o \
237 qsort.o rand.o rand48.o rand_r.o realloc.o seed48.o setenv.o setenv_r.o \
238 srand48.o strdup.o strdup_r.o strtod.o strtol.o strtoll.o strtoll_r.o \
239 strtoul.o strtoull.o strtoull_r.o system.o valloc.o wcstombs.o \
240 wcstombs_r.o wctomb.o wctomb_r.o
241 CFLAGS = @CFLAGS@
242 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
243 CCLD = $(CC)
244 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
245 DIST_COMMON =  Makefile.am Makefile.in
246
247
248 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
249
250 TAR = gtar
251 GZIP_ENV = --best
252 SOURCES = $(lib_a_SOURCES)
253 OBJECTS = $(lib_a_OBJECTS)
254
255 all: all-redirect
256 .SUFFIXES:
257 .SUFFIXES: .S .c .def .o .s
258 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
259         cd $(top_srcdir) && $(AUTOMAKE) --cygnus stdlib/Makefile
260
261 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
262         cd $(top_builddir) \
263           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
264
265
266 mostlyclean-noinstLIBRARIES:
267
268 clean-noinstLIBRARIES:
269         -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
270
271 distclean-noinstLIBRARIES:
272
273 maintainer-clean-noinstLIBRARIES:
274
275 .c.o:
276         $(COMPILE) -c $<
277
278 .s.o:
279         $(COMPILE) -c $<
280
281 .S.o:
282         $(COMPILE) -c $<
283
284 mostlyclean-compile:
285         -rm -f *.o core *.core
286
287 clean-compile:
288
289 distclean-compile:
290         -rm -f *.tab.c
291
292 maintainer-clean-compile:
293
294 lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES)
295         -rm -f lib.a
296         $(AR) cru lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
297         $(RANLIB) lib.a
298
299 tags: TAGS
300
301 ID: $(HEADERS) $(SOURCES) $(LISP)
302         list='$(SOURCES) $(HEADERS)'; \
303         unique=`for i in $$list; do echo $$i; done | \
304           awk '    { files[$$0] = 1; } \
305                END { for (i in files) print i; }'`; \
306         here=`pwd` && cd $(srcdir) \
307           && mkid -f$$here/ID $$unique $(LISP)
308
309 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
310         tags=; \
311         here=`pwd`; \
312         list='$(SOURCES) $(HEADERS)'; \
313         unique=`for i in $$list; do echo $$i; done | \
314           awk '    { files[$$0] = 1; } \
315                END { for (i in files) print i; }'`; \
316         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
317           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
318
319 mostlyclean-tags:
320
321 clean-tags:
322
323 distclean-tags:
324         -rm -f TAGS ID
325
326 maintainer-clean-tags:
327
328 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
329
330 subdir = stdlib
331
332 distdir: $(DISTFILES)
333         @for file in $(DISTFILES); do \
334           if test -f $$file; then d=.; else d=$(srcdir); fi; \
335           if test -d $$d/$$file; then \
336             cp -pr $$d/$$file $(distdir)/$$file; \
337           else \
338             test -f $(distdir)/$$file \
339             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
340             || cp -p $$d/$$file $(distdir)/$$file || :; \
341           fi; \
342         done
343 info-am:
344 info: info-am
345 dvi-am:
346 dvi: dvi-am
347 check-am:
348 check: check-am
349 installcheck-am:
350 installcheck: installcheck-am
351 install-info-am: 
352 install-info: install-info-am
353 install-exec-am:
354 install-exec: install-exec-am
355
356 install-data-am:
357 install-data: install-data-am
358
359 install-am: all-am
360         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
361 install: install-am
362 uninstall-am:
363 uninstall: uninstall-am
364 all-am: Makefile $(LIBRARIES)
365 all-redirect: all-am
366 install-strip:
367         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
368 installdirs:
369
370
371 mostlyclean-generic:
372
373 clean-generic:
374         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
375
376 distclean-generic:
377         -rm -f Makefile $(CONFIG_CLEAN_FILES)
378         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
379
380 maintainer-clean-generic:
381 mostlyclean-am:  mostlyclean-noinstLIBRARIES mostlyclean-compile \
382                 mostlyclean-tags mostlyclean-generic
383
384 mostlyclean: mostlyclean-am
385
386 clean-am:  clean-noinstLIBRARIES clean-compile clean-tags clean-generic \
387                 mostlyclean-am
388
389 clean: clean-am
390
391 distclean-am:  distclean-noinstLIBRARIES distclean-compile \
392                 distclean-tags distclean-generic clean-am
393
394 distclean: distclean-am
395
396 maintainer-clean-am:  maintainer-clean-noinstLIBRARIES \
397                 maintainer-clean-compile maintainer-clean-tags \
398                 maintainer-clean-generic distclean-am
399         @echo "This command is intended for maintainers to use;"
400         @echo "it deletes files that may require special tools to rebuild."
401
402 maintainer-clean: maintainer-clean-am
403
404 .PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
405 clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
406 mostlyclean-compile distclean-compile clean-compile \
407 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
408 clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
409 check-am installcheck-am installcheck install-info-am install-info \
410 install-exec-am install-exec install-data-am install-data install-am \
411 install uninstall-am uninstall all-redirect all-am all installdirs \
412 mostlyclean-generic distclean-generic clean-generic \
413 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
414
415
416 mallocr.o: mallocr.c
417         $(MALLOC_COMPILE) -DDEFINE_MALLOC -c $(srcdir)/mallocr.c -o $@
418
419 freer.o: mallocr.c
420         $(MALLOC_COMPILE) -DDEFINE_FREE -c $(srcdir)/mallocr.c -o $@
421
422 reallocr.o: mallocr.c
423         $(MALLOC_COMPILE) -DDEFINE_REALLOC -c $(srcdir)/mallocr.c -o $@
424
425 callocr.o: mallocr.c
426         $(MALLOC_COMPILE) -DDEFINE_CALLOC -c $(srcdir)/mallocr.c -o $@
427
428 cfreer.o: mallocr.c
429         $(MALLOC_COMPILE) -DDEFINE_CFREE -c $(srcdir)/mallocr.c -o $@
430
431 malignr.o: mallocr.c
432         $(MALLOC_COMPILE) -DDEFINE_MEMALIGN -c $(srcdir)/mallocr.c -o $@
433
434 vallocr.o: mallocr.c
435         $(MALLOC_COMPILE) -DDEFINE_VALLOC -c $(srcdir)/mallocr.c -o $@
436
437 pvallocr.o: mallocr.c
438         $(MALLOC_COMPILE) -DDEFINE_PVALLOC -c $(srcdir)/mallocr.c -o $@
439
440 mallinfor.o: mallocr.c
441         $(MALLOC_COMPILE) -DDEFINE_MALLINFO -c $(srcdir)/mallocr.c -o $@
442
443 mallstatsr.o: mallocr.c
444         $(MALLOC_COMPILE) -DDEFINE_MALLOC_STATS -c $(srcdir)/mallocr.c -o $@
445
446 msizer.o: mallocr.c
447         $(MALLOC_COMPILE) -DDEFINE_MALLOC_USABLE_SIZE -c $(srcdir)/mallocr.c -o $@
448
449 malloptr.o: mallocr.c
450         $(MALLOC_COMPILE) -DDEFINE_MALLOPT -c $(srcdir)/mallocr.c -o $@
451
452 .c.def:
453         $(CHEW) < $< > $*.def 2> $*.ref
454         touch stmp-def
455
456 doc: $(CHEWOUT_FILES)
457         cat $(srcdir)/stdlib.tex >> $(TARGETDOC)
458
459 dtoa.o: dtoa.c mprec.h
460 ldtoa.o: ldtoa.c mprec.h
461 ecvtbuf.o: ecvtbuf.c mprec.h
462 mbtowc_r.o: mbtowc_r.c mbctype.h
463         $(COMPILE) -c -fshort-enums $(srcdir)/mbtowc_r.c -o $@
464
465 mprec.o: mprec.c mprec.h
466 strtod.o: strtod.c mprec.h
467 wctomb_r.o: wctomb_r.c mbctype.h
468 drand48.o: drand48.c rand48.h
469 erand48.o: erand48.c rand48.h
470 jrand48.o: jrand48.c rand48.h
471 lcong48.o: lcong48.c rand48.h
472 lrand48.o: lrand48.c rand48.h
473 mrand48.o: mrand48.c rand48.h
474 nrand48.o: nrand48.c rand48.h
475 rand48.o: rand48.c rand48.h
476 seed48.o: seed48.c rand48.h
477 srand48.o: srand48.c rand48.h
478
479 # Tell versions [3.59,3.63) of GNU make to not export all variables.
480 # Otherwise a system limit (for SysV at least) may be exceeded.
481 .NOEXPORT: