OSDN Git Service

* Makefile.shared: New file.
[pf3gnuchains/pf3gnuchains3x.git] / newlib / libc / stdio / 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
15 SHELL = @SHELL@
16
17 srcdir = @srcdir@
18 top_srcdir = @top_srcdir@
19 VPATH = @srcdir@
20 prefix = @prefix@
21 exec_prefix = @exec_prefix@
22
23 bindir = @bindir@
24 sbindir = @sbindir@
25 libexecdir = @libexecdir@
26 datadir = @datadir@
27 sysconfdir = @sysconfdir@
28 sharedstatedir = @sharedstatedir@
29 localstatedir = @localstatedir@
30 libdir = @libdir@
31 infodir = @infodir@
32 mandir = @mandir@
33 includedir = @includedir@
34 oldincludedir = /usr/include
35
36 DESTDIR =
37
38 pkgdatadir = $(datadir)/@PACKAGE@
39 pkglibdir = $(libdir)/@PACKAGE@
40 pkgincludedir = $(includedir)/@PACKAGE@
41
42 top_builddir = ..
43
44 ACLOCAL = @ACLOCAL@
45 AUTOCONF = @AUTOCONF@
46 AUTOMAKE = @AUTOMAKE@
47 AUTOHEADER = @AUTOHEADER@
48
49 INSTALL = @INSTALL@
50 INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
51 INSTALL_DATA = @INSTALL_DATA@
52 INSTALL_SCRIPT = @INSTALL_SCRIPT@
53 transform = @program_transform_name@
54
55 NORMAL_INSTALL = :
56 PRE_INSTALL = :
57 POST_INSTALL = :
58 NORMAL_UNINSTALL = :
59 PRE_UNINSTALL = :
60 POST_UNINSTALL = :
61 host_alias = @host_alias@
62 host_triplet = @host@
63 AR = @AR@
64 AS = @AS@
65 CC = @CC@
66 CPP = @CPP@
67 CRT0 = @CRT0@
68 DLLTOOL = @DLLTOOL@
69 EXEEXT = @EXEEXT@
70 LDFLAGS = @LDFLAGS@
71 LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@
72 LIBC_POSIX_LIB = @LIBC_POSIX_LIB@
73 LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@
74 LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@
75 LIBC_SYSCALL_LIB = @LIBC_SYSCALL_LIB@
76 LIBC_SYS_LIB = @LIBC_SYS_LIB@
77 LIBC_UNIX_LIB = @LIBC_UNIX_LIB@
78 LIBTOOL = @LIBTOOL@
79 LN_S = @LN_S@
80 MAINT = @MAINT@
81 MAKEINFO = @MAKEINFO@
82 NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
83 OBJDUMP = @OBJDUMP@
84 PACKAGE = @PACKAGE@
85 RANLIB = @RANLIB@
86 VERSION = @VERSION@
87 aext = @aext@
88 libm_machine_dir = @libm_machine_dir@
89 machine_dir = @machine_dir@
90 newlib_basedir = @newlib_basedir@
91 oext = @oext@
92 sys_dir = @sys_dir@
93
94 AUTOMAKE_OPTIONS = cygnus
95
96 INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
97
98 LIB_SOURCES = \
99         clearerr.c                      \
100         fclose.c                        \
101         fdopen.c                        \
102         feof.c                          \
103         ferror.c                        \
104         fflush.c                        \
105         fgetc.c                         \
106         fgetpos.c                       \
107         fgets.c                         \
108         fileno.c                        \
109         findfp.c                        \
110         fiprintf.c                      \
111         flags.c                         \
112         fopen.c                         \
113         fprintf.c                       \
114         fputc.c                         \
115         fputs.c                         \
116         fread.c                         \
117         freopen.c                       \
118         fscanf.c                        \
119         fseek.c                         \
120         fsetpos.c                       \
121         ftell.c                         \
122         fvwrite.c                       \
123         fwalk.c                         \
124         fwrite.c                        \
125         getc.c                          \
126         getchar.c                       \
127         gets.c                          \
128         getw.c                          \
129         iprintf.c                       \
130         makebuf.c                       \
131         mktemp.c                        \
132         perror.c                        \
133         printf.c                        \
134         putc.c                          \
135         putchar.c                       \
136         puts.c                          \
137         putw.c                          \
138         refill.c                        \
139         remove.c                        \
140         rename.c                        \
141         rewind.c                        \
142         rget.c                          \
143         scanf.c                         \
144         setbuf.c                        \
145         setvbuf.c                       \
146         siprintf.c                      \
147         snprintf.c                      \
148         sprintf.c                       \
149         sscanf.c                        \
150         stdio.c                         \
151         tmpfile.c                       \
152         tmpnam.c                        \
153         ungetc.c                        \
154         vfscanf.c                       \
155         vprintf.c                       \
156         vscanf.c                        \
157         vsnprintf.c                     \
158         vsprintf.c                      \
159         vsscanf.c                       \
160         wbuf.c                          \
161         wsetup.c 
162
163
164 LIBADD_OBJS = vfiprintf.$(oext) vfprintf.$(oext)
165
166 libstdio_la_LDFLAGS = -Xcompiler -nostdlib
167
168 @USE_LIBTOOL_TRUE@noinst_LTLIBRARIES = @USE_LIBTOOL_TRUE@libstdio.la
169 @USE_LIBTOOL_TRUE@libstdio_la_SOURCES = @USE_LIBTOOL_TRUE@$(LIB_SOURCES)
170 @USE_LIBTOOL_TRUE@libstdio_la_LIBADD = @USE_LIBTOOL_TRUE@$(LIBADD_OBJS)
171 @USE_LIBTOOL_TRUE@LIB_COMPILE = @USE_LIBTOOL_TRUE@$(LTCOMPILE)
172 @USE_LIBTOOL_FALSE@LIB_COMPILE = @USE_LIBTOOL_FALSE@$(CC)
173 @USE_LIBTOOL_TRUE@noinst_DATA = @USE_LIBTOOL_TRUE@objectlist.awk.in
174 @USE_LIBTOOL_FALSE@noinst_DATA = 
175 @USE_LIBTOOL_FALSE@noinst_LIBRARIES = @USE_LIBTOOL_FALSE@lib.a
176 @USE_LIBTOOL_FALSE@lib_a_SOURCES = @USE_LIBTOOL_FALSE@$(LIB_SOURCES)
177 @USE_LIBTOOL_FALSE@lib_a_LIBADD = @USE_LIBTOOL_FALSE@$(LIBADD_OBJS)
178
179 CHEWOUT_FILES = \
180         clearerr.def            \
181         fclose.def              \
182         fdopen.def              \
183         feof.def                \
184         ferror.def              \
185         fflush.def              \
186         fgetc.def               \
187         fgetpos.def             \
188         fgets.def               \
189         fileno.def              \
190         fiprintf.def            \
191         fopen.def               \
192         fputc.def               \
193         fputs.def               \
194         fread.def               \
195         freopen.def             \
196         fseek.def               \
197         fsetpos.def             \
198         ftell.def               \
199         fwrite.def              \
200         getc.def                \
201         getchar.def             \
202         gets.def                \
203         getw.def                \
204         iprintf.def             \
205         mktemp.def              \
206         perror.def              \
207         putc.def                \
208         putchar.def             \
209         puts.def                \
210         putw.def                \
211         remove.def              \
212         rename.def              \
213         rewind.def              \
214         setbuf.def              \
215         setvbuf.def             \
216         siprintf.def            \
217         sprintf.def             \
218         sscanf.def              \
219         tmpfile.def             \
220         tmpnam.def              \
221         vfprintf.def            \
222         vfscanf.def
223
224
225 SUFFIXES = .def
226
227 CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
228
229 TARGETDOC = ../tmp.texi
230
231 CLEANFILES = $(CHEWOUT_FILES) *.ref
232 mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
233 CONFIG_CLEAN_FILES = 
234 LIBRARIES =  $(noinst_LIBRARIES)
235
236
237 DEFS = @DEFS@ -I. -I$(srcdir) 
238 CPPFLAGS = @CPPFLAGS@
239 LIBS = @LIBS@
240 @USE_LIBTOOL_FALSE@lib_a_DEPENDENCIES =  vfiprintf.$(oext) \
241 @USE_LIBTOOL_FALSE@vfprintf.$(oext)
242 @USE_LIBTOOL_FALSE@lib_a_OBJECTS =  clearerr.o fclose.o fdopen.o feof.o \
243 @USE_LIBTOOL_FALSE@ferror.o fflush.o fgetc.o fgetpos.o fgets.o fileno.o \
244 @USE_LIBTOOL_FALSE@findfp.o fiprintf.o flags.o fopen.o fprintf.o \
245 @USE_LIBTOOL_FALSE@fputc.o fputs.o fread.o freopen.o fscanf.o fseek.o \
246 @USE_LIBTOOL_FALSE@fsetpos.o ftell.o fvwrite.o fwalk.o fwrite.o getc.o \
247 @USE_LIBTOOL_FALSE@getchar.o gets.o getw.o iprintf.o makebuf.o mktemp.o \
248 @USE_LIBTOOL_FALSE@perror.o printf.o putc.o putchar.o puts.o putw.o \
249 @USE_LIBTOOL_FALSE@refill.o remove.o rename.o rewind.o rget.o scanf.o \
250 @USE_LIBTOOL_FALSE@setbuf.o setvbuf.o siprintf.o snprintf.o sprintf.o \
251 @USE_LIBTOOL_FALSE@sscanf.o stdio.o tmpfile.o tmpnam.o ungetc.o \
252 @USE_LIBTOOL_FALSE@vfscanf.o vprintf.o vscanf.o vsnprintf.o vsprintf.o \
253 @USE_LIBTOOL_FALSE@vsscanf.o wbuf.o wsetup.o
254 LTLIBRARIES =  $(noinst_LTLIBRARIES)
255
256 @USE_LIBTOOL_TRUE@libstdio_la_DEPENDENCIES =  vfiprintf.$(oext) \
257 @USE_LIBTOOL_TRUE@vfprintf.$(oext)
258 @USE_LIBTOOL_TRUE@libstdio_la_OBJECTS =  clearerr.lo fclose.lo fdopen.lo \
259 @USE_LIBTOOL_TRUE@feof.lo ferror.lo fflush.lo fgetc.lo fgetpos.lo \
260 @USE_LIBTOOL_TRUE@fgets.lo fileno.lo findfp.lo fiprintf.lo flags.lo \
261 @USE_LIBTOOL_TRUE@fopen.lo fprintf.lo fputc.lo fputs.lo fread.lo \
262 @USE_LIBTOOL_TRUE@freopen.lo fscanf.lo fseek.lo fsetpos.lo ftell.lo \
263 @USE_LIBTOOL_TRUE@fvwrite.lo fwalk.lo fwrite.lo getc.lo getchar.lo \
264 @USE_LIBTOOL_TRUE@gets.lo getw.lo iprintf.lo makebuf.lo mktemp.lo \
265 @USE_LIBTOOL_TRUE@perror.lo printf.lo putc.lo putchar.lo puts.lo \
266 @USE_LIBTOOL_TRUE@putw.lo refill.lo remove.lo rename.lo rewind.lo \
267 @USE_LIBTOOL_TRUE@rget.lo scanf.lo setbuf.lo setvbuf.lo siprintf.lo \
268 @USE_LIBTOOL_TRUE@snprintf.lo sprintf.lo sscanf.lo stdio.lo tmpfile.lo \
269 @USE_LIBTOOL_TRUE@tmpnam.lo ungetc.lo vfscanf.lo vprintf.lo vscanf.lo \
270 @USE_LIBTOOL_TRUE@vsnprintf.lo vsprintf.lo vsscanf.lo wbuf.lo wsetup.lo
271 CFLAGS = @CFLAGS@
272 COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
273 LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
274 CCLD = $(CC)
275 LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
276 DATA =  $(noinst_DATA)
277
278 DIST_COMMON =  Makefile.am Makefile.in
279
280
281 DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
282
283 TAR = gtar
284 GZIP_ENV = --best
285 SOURCES = $(lib_a_SOURCES) $(libstdio_la_SOURCES)
286 OBJECTS = $(lib_a_OBJECTS) $(libstdio_la_OBJECTS)
287
288 all: all-redirect
289 .SUFFIXES:
290 .SUFFIXES: .S .c .def .lo .o .s
291 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) $(srcdir)/../../Makefile.shared
292         cd $(top_srcdir) && $(AUTOMAKE) --cygnus stdio/Makefile
293
294 Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
295         cd $(top_builddir) \
296           && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
297
298
299 mostlyclean-noinstLIBRARIES:
300
301 clean-noinstLIBRARIES:
302         -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
303
304 distclean-noinstLIBRARIES:
305
306 maintainer-clean-noinstLIBRARIES:
307
308 .c.o:
309         $(COMPILE) -c $<
310
311 .s.o:
312         $(COMPILE) -c $<
313
314 .S.o:
315         $(COMPILE) -c $<
316
317 mostlyclean-compile:
318         -rm -f *.o core *.core
319
320 clean-compile:
321
322 distclean-compile:
323         -rm -f *.tab.c
324
325 maintainer-clean-compile:
326
327 .c.lo:
328         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
329
330 .s.lo:
331         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
332
333 .S.lo:
334         $(LIBTOOL) --mode=compile $(COMPILE) -c $<
335
336 mostlyclean-libtool:
337         -rm -f *.lo
338
339 clean-libtool:
340         -rm -rf .libs _libs
341
342 distclean-libtool:
343
344 maintainer-clean-libtool:
345
346 lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES)
347         -rm -f lib.a
348         $(AR) cru lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
349         $(RANLIB) lib.a
350
351 mostlyclean-noinstLTLIBRARIES:
352
353 clean-noinstLTLIBRARIES:
354         -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
355
356 distclean-noinstLTLIBRARIES:
357
358 maintainer-clean-noinstLTLIBRARIES:
359
360 libstdio.la: $(libstdio_la_OBJECTS) $(libstdio_la_DEPENDENCIES)
361         $(LINK)  $(libstdio_la_LDFLAGS) $(libstdio_la_OBJECTS) $(libstdio_la_LIBADD) $(LIBS)
362
363 tags: TAGS
364
365 ID: $(HEADERS) $(SOURCES) $(LISP)
366         list='$(SOURCES) $(HEADERS)'; \
367         unique=`for i in $$list; do echo $$i; done | \
368           awk '    { files[$$0] = 1; } \
369                END { for (i in files) print i; }'`; \
370         here=`pwd` && cd $(srcdir) \
371           && mkid -f$$here/ID $$unique $(LISP)
372
373 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
374         tags=; \
375         here=`pwd`; \
376         list='$(SOURCES) $(HEADERS)'; \
377         unique=`for i in $$list; do echo $$i; done | \
378           awk '    { files[$$0] = 1; } \
379                END { for (i in files) print i; }'`; \
380         test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
381           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
382
383 mostlyclean-tags:
384
385 clean-tags:
386
387 distclean-tags:
388         -rm -f TAGS ID
389
390 maintainer-clean-tags:
391
392 distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
393
394 subdir = stdio
395
396 distdir: $(DISTFILES)
397         @for file in $(DISTFILES); do \
398           if test -f $$file; then d=.; else d=$(srcdir); fi; \
399           if test -d $$d/$$file; then \
400             cp -pr $$d/$$file $(distdir)/$$file; \
401           else \
402             test -f $(distdir)/$$file \
403             || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
404             || cp -p $$d/$$file $(distdir)/$$file || :; \
405           fi; \
406         done
407 info-am:
408 info: info-am
409 dvi-am:
410 dvi: dvi-am
411 check-am:
412 check: check-am
413 installcheck-am:
414 installcheck: installcheck-am
415 install-info-am: 
416 install-info: install-info-am
417 install-exec-am:
418 install-exec: install-exec-am
419
420 install-data-am:
421 install-data: install-data-am
422
423 install-am: all-am
424         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
425 install: install-am
426 uninstall-am:
427 uninstall: uninstall-am
428 all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(DATA)
429 all-redirect: all-am
430 install-strip:
431         $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
432 installdirs:
433
434
435 mostlyclean-generic:
436
437 clean-generic:
438         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
439
440 distclean-generic:
441         -rm -f Makefile $(CONFIG_CLEAN_FILES)
442         -rm -f config.cache config.log stamp-h stamp-h[0-9]*
443
444 maintainer-clean-generic:
445 mostlyclean-am:  mostlyclean-noinstLIBRARIES mostlyclean-compile \
446                 mostlyclean-libtool mostlyclean-noinstLTLIBRARIES \
447                 mostlyclean-tags mostlyclean-generic
448
449 mostlyclean: mostlyclean-am
450
451 clean-am:  clean-noinstLIBRARIES clean-compile clean-libtool \
452                 clean-noinstLTLIBRARIES clean-tags clean-generic \
453                 mostlyclean-am
454
455 clean: clean-am
456
457 distclean-am:  distclean-noinstLIBRARIES distclean-compile \
458                 distclean-libtool distclean-noinstLTLIBRARIES \
459                 distclean-tags distclean-generic clean-am
460         -rm -f libtool
461
462 distclean: distclean-am
463
464 maintainer-clean-am:  maintainer-clean-noinstLIBRARIES \
465                 maintainer-clean-compile maintainer-clean-libtool \
466                 maintainer-clean-noinstLTLIBRARIES \
467                 maintainer-clean-tags maintainer-clean-generic \
468                 distclean-am
469         @echo "This command is intended for maintainers to use;"
470         @echo "it deletes files that may require special tools to rebuild."
471
472 maintainer-clean: maintainer-clean-am
473
474 .PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
475 clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
476 mostlyclean-compile distclean-compile clean-compile \
477 maintainer-clean-compile mostlyclean-libtool distclean-libtool \
478 clean-libtool maintainer-clean-libtool mostlyclean-noinstLTLIBRARIES \
479 distclean-noinstLTLIBRARIES clean-noinstLTLIBRARIES \
480 maintainer-clean-noinstLTLIBRARIES tags mostlyclean-tags distclean-tags \
481 clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
482 check-am installcheck-am installcheck install-info-am install-info \
483 install-exec-am install-exec install-data-am install-data install-am \
484 install uninstall-am uninstall all-redirect all-am all installdirs \
485 mostlyclean-generic distclean-generic clean-generic \
486 maintainer-clean-generic clean mostlyclean distclean maintainer-clean
487
488
489 objectlist.awk.in: $(noinst_LTLIBRARIES)
490         -rm -f objectlist.awk.in
491         for i in `ls *.lo` ; \
492         do \
493           echo $$i `pwd`/$$i >> objectlist.awk.in ; \
494         done
495
496 # This rule is needed so that libtool compiles vfiprintf before vfprintf. Otherwise
497 # libtool moves vfprintf.o and subsequently can't find it.
498
499 vfprintf.$(oext): vfprintf.c
500         $(LIB_COMPILE) -c $(srcdir)/vfprintf.c
501
502 vfiprintf.$(oext): vfprintf.c
503         $(LIB_COMPILE) -DINTEGER_ONLY -c $(srcdir)/vfprintf.c -o $@
504
505 .c.def:
506         $(CHEW) < $< > $*.def 2> $*.ref
507         touch stmp-def
508
509 doc: $(CHEWOUT_FILES)
510         cat $(srcdir)/stdio.tex >> $(TARGETDOC)
511
512 fclose.$(oext): local.h
513 fdopen.$(oext): local.h
514 fflush.$(oext): local.h
515 findfp.$(oext): local.h
516 fopen.$(oext): local.h
517 fputs.$(oext): fvwrite.h
518 fread.$(oext): local.h
519 freopen.$(oext): local.h
520 fseek.$(oext): local.h
521 ftell.$(oext): local.h
522 fvwrite.$(oext): local.h fvwrite.h
523 fwalk.$(oext): local.h
524 fwrite.$(oext): local.h fvwrite.h
525 makebuf.$(oext): local.h
526 puts.$(oext): fvwrite.h
527 refill.$(oext): local.h
528 scanf.$(oext): local.h
529 setbuf.$(oext): local.h
530 setvbuf.$(oext): local.h
531 siprintf.$(oext): local.h
532 sprintf.$(oext): local.h
533 sscanf.$(oext): local.h
534 stdio.$(oext): local.h
535 ungetc.$(oext): local.h
536 vfiprintf.$(oext): local.h
537 vfprintf.$(oext): local.h
538 vfscanf.$(oext): local.h floatio.h
539 vscanf.$(oext): local.h
540 vsscanf.$(oext): local.h
541 wbuf.$(oext): local.h fvwrite.h
542 wsetup.$(oext): local.h
543
544 # Tell versions [3.59,3.63) of GNU make to not export all variables.
545 # Otherwise a system limit (for SysV at least) may be exceeded.
546 .NOEXPORT: