OSDN Git Service

2001-09-13 Jeff Johnston <jjohnstn@redhat.com>
[pf3gnuchains/pf3gnuchains4x.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_r.c     \
156         strtoul.c       \
157         strtoull_r.c    \
158         system.c        \
159         valloc.c        \
160         wcstombs.c      \
161         wcstombs_r.c    \
162         wctomb.c        \
163         wctomb_r.c
164
165
166 lib_a_LIBADD = mallocr.o freer.o reallocr.o callocr.o cfreer.o malignr.o \
167         vallocr.o pvallocr.o mallinfor.o mallstatsr.o msizer.o malloptr.o
168
169
170 MALLOC_COMPILE = $(COMPILE) -DINTERNAL_NEWLIB
171
172 CHEWOUT_FILES = \
173         abort.def       \
174         abs.def         \
175         assert.def      \
176         atexit.def      \
177         atof.def        \
178         ecvtbuf.def     \
179         atoi.def        \
180         bsearch.def     \
181         calloc.def      \
182         div.def         \
183         efgcvt.def      \
184         envlock.def     \
185         exit.def        \
186         getenv.def      \
187         labs.def        \
188         ldiv.def        \
189         malloc.def      \
190         mallocr.def     \
191         mblen.def       \
192         mbstowcs.def    \
193         mbtowc.def      \
194         mlock.def       \
195         mstats.def      \
196         qsort.def       \
197         rand.def        \
198         rand48.def      \
199         strtod.def      \
200         strtol.def      \
201         strtoul.def     \
202         system.def      \
203         wcstombs.def    \
204         wctomb.def      
205
206
207 SUFFIXES = .def
208
209 CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
210
211 TARGETDOC = ../tmp.texi
212
213 CLEANFILES = $(CHEWOUT_FILES) *.ref
214 mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
215 CONFIG_CLEAN_FILES = 
216 LIBRARIES =  $(noinst_LIBRARIES)
217
218
219 DEFS = @DEFS@ -I. -I$(srcdir) 
220 CPPFLAGS = @CPPFLAGS@
221 LDFLAGS = @LDFLAGS@
222 LIBS = @LIBS@
223 lib_a_DEPENDENCIES =  mallocr.o freer.o reallocr.o callocr.o cfreer.o \
224 malignr.o vallocr.o pvallocr.o mallinfor.o mallstatsr.o msizer.o \
225 malloptr.o
226 lib_a_OBJECTS =  __adjust.o __exp10.o __ten_mu.o abort.o abs.o assert.o \
227 atexit.o atof.o atoff.o atoi.o atol.o bsearch.o calloc.o div.o \
228 drand48.o dtoa.o dtoastub.o ecvtbuf.o efgcvt.o environ.o envlock.o \
229 eprintf.o erand48.o exit.o getenv.o getenv_r.o getopt.o jrand48.o \
230 labs.o lcong48.o ldiv.o ldtoa.o lrand48.o malign.o malloc.o mblen.o \
231 mblen_r.o mbstowcs.o mbstowcs_r.o mbtowc.o mbtowc_r.o mlock.o mprec.o \
232 mrand48.o msize.o mstats.o mtrim.o nrand48.o putenv.o putenv_r.o \
233 qsort.o rand.o rand48.o rand_r.o realloc.o seed48.o setenv.o setenv_r.o \
234 srand48.o strdup.o strdup_r.o strtod.o strtol.o strtoll_r.o strtoul.o \
235 strtoull_r.o system.o valloc.o wcstombs.o wcstombs_r.o wctomb.o \
236 wctomb_r.o
237 CFLAGS = @CFLAGS@
238 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
239 CCLD = $(CC)
240 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
241 DIST_COMMON =  Makefile.am Makefile.in
242
243
244 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
245
246 TAR = gtar
247 GZIP_ENV = --best
248 SOURCES = $(lib_a_SOURCES)
249 OBJECTS = $(lib_a_OBJECTS)
250
251 all: all-redirect
252 .SUFFIXES:
253 .SUFFIXES: .S .c .def .o .s
254 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 
255         cd $(top_srcdir) && $(AUTOMAKE) --cygnus stdlib/Makefile
256
257 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
258         cd $(top_builddir) \
259           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
260
261
262 mostlyclean-noinstLIBRARIES:
263
264 clean-noinstLIBRARIES:
265         -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
266
267 distclean-noinstLIBRARIES:
268
269 maintainer-clean-noinstLIBRARIES:
270
271 .c.o:
272         $(COMPILE) -c $<
273
274 .s.o:
275         $(COMPILE) -c $<
276
277 .S.o:
278         $(COMPILE) -c $<
279
280 mostlyclean-compile:
281         -rm -f *.o core *.core
282
283 clean-compile:
284
285 distclean-compile:
286         -rm -f *.tab.c
287
288 maintainer-clean-compile:
289
290 lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES)
291         -rm -f lib.a
292         $(AR) cru lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
293         $(RANLIB) lib.a
294
295 tags: TAGS
296
297 ID: $(HEADERS) $(SOURCES) $(LISP)
298         list='$(SOURCES) $(HEADERS)'; \
299         unique=`for i in $$list; do echo $$i; done | \
300           awk '    { files[$$0] = 1; } \
301                END { for (i in files) print i; }'`; \
302         here=`pwd` && cd $(srcdir) \
303           && mkid -f$$here/ID $$unique $(LISP)
304
305 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
306         tags=; \
307         here=`pwd`; \
308         list='$(SOURCES) $(HEADERS)'; \
309         unique=`for i in $$list; do echo $$i; done | \
310           awk '    { files[$$0] = 1; } \
311                END { for (i in files) print i; }'`; \
312         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
313           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
314
315 mostlyclean-tags:
316
317 clean-tags:
318
319 distclean-tags:
320         -rm -f TAGS ID
321
322 maintainer-clean-tags:
323
324 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
325
326 subdir = stdlib
327
328 distdir: $(DISTFILES)
329         @for file in $(DISTFILES); do \
330           if test -f $$file; then d=.; else d=$(srcdir); fi; \
331           if test -d $$d/$$file; then \
332             cp -pr $$d/$$file $(distdir)/$$file; \
333           else \
334             test -f $(distdir)/$$file \
335             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
336             || cp -p $$d/$$file $(distdir)/$$file || :; \
337           fi; \
338         done
339 info-am:
340 info: info-am
341 dvi-am:
342 dvi: dvi-am
343 check-am:
344 check: check-am
345 installcheck-am:
346 installcheck: installcheck-am
347 install-info-am: 
348 install-info: install-info-am
349 install-exec-am:
350 install-exec: install-exec-am
351
352 install-data-am:
353 install-data: install-data-am
354
355 install-am: all-am
356         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
357 install: install-am
358 uninstall-am:
359 uninstall: uninstall-am
360 all-am: Makefile $(LIBRARIES)
361 all-redirect: all-am
362 install-strip:
363         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
364 installdirs:
365
366
367 mostlyclean-generic:
368
369 clean-generic:
370         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
371
372 distclean-generic:
373         -rm -f Makefile $(CONFIG_CLEAN_FILES)
374         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
375
376 maintainer-clean-generic:
377 mostlyclean-am:  mostlyclean-noinstLIBRARIES mostlyclean-compile \
378                 mostlyclean-tags mostlyclean-generic
379
380 mostlyclean: mostlyclean-am
381
382 clean-am:  clean-noinstLIBRARIES clean-compile clean-tags clean-generic \
383                 mostlyclean-am
384
385 clean: clean-am
386
387 distclean-am:  distclean-noinstLIBRARIES distclean-compile \
388                 distclean-tags distclean-generic clean-am
389
390 distclean: distclean-am
391
392 maintainer-clean-am:  maintainer-clean-noinstLIBRARIES \
393                 maintainer-clean-compile maintainer-clean-tags \
394                 maintainer-clean-generic distclean-am
395         @echo "This command is intended for maintainers to use;"
396         @echo "it deletes files that may require special tools to rebuild."
397
398 maintainer-clean: maintainer-clean-am
399
400 .PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
401 clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
402 mostlyclean-compile distclean-compile clean-compile \
403 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
404 clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
405 check-am installcheck-am installcheck install-info-am install-info \
406 install-exec-am install-exec install-data-am install-data install-am \
407 install uninstall-am uninstall all-redirect all-am all installdirs \
408 mostlyclean-generic distclean-generic clean-generic \
409 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
410
411
412 mallocr.o: mallocr.c
413         $(MALLOC_COMPILE) -DDEFINE_MALLOC -c $(srcdir)/mallocr.c -o $@
414
415 freer.o: mallocr.c
416         $(MALLOC_COMPILE) -DDEFINE_FREE -c $(srcdir)/mallocr.c -o $@
417
418 reallocr.o: mallocr.c
419         $(MALLOC_COMPILE) -DDEFINE_REALLOC -c $(srcdir)/mallocr.c -o $@
420
421 callocr.o: mallocr.c
422         $(MALLOC_COMPILE) -DDEFINE_CALLOC -c $(srcdir)/mallocr.c -o $@
423
424 cfreer.o: mallocr.c
425         $(MALLOC_COMPILE) -DDEFINE_CFREE -c $(srcdir)/mallocr.c -o $@
426
427 malignr.o: mallocr.c
428         $(MALLOC_COMPILE) -DDEFINE_MEMALIGN -c $(srcdir)/mallocr.c -o $@
429
430 vallocr.o: mallocr.c
431         $(MALLOC_COMPILE) -DDEFINE_VALLOC -c $(srcdir)/mallocr.c -o $@
432
433 pvallocr.o: mallocr.c
434         $(MALLOC_COMPILE) -DDEFINE_PVALLOC -c $(srcdir)/mallocr.c -o $@
435
436 mallinfor.o: mallocr.c
437         $(MALLOC_COMPILE) -DDEFINE_MALLINFO -c $(srcdir)/mallocr.c -o $@
438
439 mallstatsr.o: mallocr.c
440         $(MALLOC_COMPILE) -DDEFINE_MALLOC_STATS -c $(srcdir)/mallocr.c -o $@
441
442 msizer.o: mallocr.c
443         $(MALLOC_COMPILE) -DDEFINE_MALLOC_USABLE_SIZE -c $(srcdir)/mallocr.c -o $@
444
445 malloptr.o: mallocr.c
446         $(MALLOC_COMPILE) -DDEFINE_MALLOPT -c $(srcdir)/mallocr.c -o $@
447
448 .c.def:
449         $(CHEW) < $< > $*.def 2> $*.ref
450         touch stmp-def
451
452 doc: $(CHEWOUT_FILES)
453         cat $(srcdir)/stdlib.tex >> $(TARGETDOC)
454
455 dtoa.o: dtoa.c mprec.h
456 ldtoa.o: ldtoa.c mprec.h
457 ecvtbuf.o: ecvtbuf.c mprec.h
458 mbtowc_r.o: mbtowc_r.c mbctype.h
459         $(COMPILE) -c -fshort-enums $(srcdir)/mbtowc_r.c -o $@
460
461 mprec.o: mprec.c mprec.h
462 strtod.o: strtod.c mprec.h
463 wctomb_r.o: wctomb_r.c mbctype.h
464 drand48.o: drand48.c rand48.h
465 erand48.o: erand48.c rand48.h
466 jrand48.o: jrand48.c rand48.h
467 lcong48.o: lcong48.c rand48.h
468 lrand48.o: lrand48.c rand48.h
469 mrand48.o: mrand48.c rand48.h
470 nrand48.o: nrand48.c rand48.h
471 rand48.o: rand48.c rand48.h
472 seed48.o: seed48.c rand48.h
473 srand48.o: srand48.c rand48.h
474
475 # Tell versions [3.59,3.63) of GNU make to not export all variables.
476 # Otherwise a system limit (for SysV at least) may be exceeded.
477 .NOEXPORT: