Line 1... |
Line 1... |
# Makefile for newlib/libc/stdio.
|
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
# Copyright (c) 1994 Cygnus Support.
|
|
# All rights reserved.
|
|
#
|
|
# Redistribution and use in source and binary forms are permitted
|
|
# provided that the above copyright notice and this paragraph are
|
|
# duplicated in all such forms and that any documentation,
|
|
# advertising materials, and other materials related to such
|
|
# distribution and use acknowledge that the software was developed
|
|
# at Cygnus Support, Inc. Cygnus Support, Inc. may not be used to
|
|
# endorse or promote products derived from this software without
|
|
# specific prior written permission.
|
|
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
|
|
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
|
|
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
|
|
|
srcdir = .
|
|
|
|
SHELL = /bin/sh
|
|
|
|
TOP = ../..
|
|
SRCTOP = ../..
|
|
TARGETDOC = ../targetdep.tex
|
|
|
|
#### Host, target, and site specific Makefile fragments come in here.
|
|
###
|
|
|
|
OFILES= \
|
|
clearerr.o \
|
|
fclose.o \
|
|
fdopen.o \
|
|
feof.o \
|
|
ferror.o \
|
|
fflush.o \
|
|
fgetc.o \
|
|
fgetpos.o \
|
|
fgets.o \
|
|
fileno.o \
|
|
findfp.o \
|
|
fiprintf.o \
|
|
flags.o \
|
|
fopen.o \
|
|
fprintf.o \
|
|
fputc.o \
|
|
fputs.o \
|
|
fread.o \
|
|
freopen.o \
|
|
fscanf.o \
|
|
fseek.o \
|
|
fsetpos.o \
|
|
ftell.o \
|
|
fvwrite.o \
|
|
fwalk.o \
|
|
fwrite.o \
|
|
getc.o \
|
|
getchar.o \
|
|
gets.o \
|
|
iprintf.o \
|
|
makebuf.o \
|
|
mktemp.o \
|
|
perror.o \
|
|
printf.o \
|
|
putc.o \
|
|
putchar.o \
|
|
puts.o \
|
|
refill.o \
|
|
remove.o \
|
|
rename.o \
|
|
rewind.o \
|
|
rget.o \
|
|
scanf.o \
|
|
setbuf.o \
|
|
setvbuf.o \
|
|
siprintf.o \
|
|
sprintf.o \
|
|
sscanf.o \
|
|
stdio.o \
|
|
tmpfile.o \
|
|
tmpnam.o \
|
|
ungetc.o \
|
|
vfiprintf.o \
|
|
vfprintf.o \
|
|
vfscanf.o \
|
|
vprintf.o \
|
|
vsprintf.o \
|
|
wbuf.o \
|
|
wsetup.o
|
|
|
|
|
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
# PARTICULAR PURPOSE.
|
|
|
|
|
|
SHELL = @SHELL@
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
sbindir = @sbindir@
|
|
libexecdir = @libexecdir@
|
|
datadir = @datadir@
|
|
sysconfdir = @sysconfdir@
|
|
sharedstatedir = @sharedstatedir@
|
|
localstatedir = @localstatedir@
|
|
libdir = @libdir@
|
|
infodir = @infodir@
|
|
mandir = @mandir@
|
|
includedir = @includedir@
|
|
oldincludedir = /usr/include
|
|
|
|
DESTDIR =
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
top_builddir = ..
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
transform = @program_transform_name@
|
|
|
|
NORMAL_INSTALL = :
|
|
PRE_INSTALL = :
|
|
POST_INSTALL = :
|
|
NORMAL_UNINSTALL = :
|
|
PRE_UNINSTALL = :
|
|
POST_UNINSTALL = :
|
|
host_alias = @host_alias@
|
|
host_triplet = @host@
|
|
AR = @AR@
|
|
AS = @AS@
|
|
CC = @CC@
|
|
CPP = @CPP@
|
|
CRT0 = @CRT0@
|
|
EXEEXT = @EXEEXT@
|
|
LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@
|
|
LIBC_POSIX_LIB = @LIBC_POSIX_LIB@
|
|
LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@
|
|
LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@
|
|
LIBC_SYSCALL_LIB = @LIBC_SYSCALL_LIB@
|
|
LIBC_SYS_LIB = @LIBC_SYS_LIB@
|
|
LIBC_UNIX_LIB = @LIBC_UNIX_LIB@
|
|
MAINT = @MAINT@
|
|
MAKEINFO = @MAKEINFO@
|
|
NEWLIB_CFLAGS = @NEWLIB_CFLAGS@
|
|
PACKAGE = @PACKAGE@
|
|
RANLIB = @RANLIB@
|
|
VERSION = @VERSION@
|
|
machine_dir = @machine_dir@
|
|
newlib_basedir = @newlib_basedir@
|
|
sys_dir = @sys_dir@
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
|
|
|
noinst_LIBRARIES = lib.a
|
|
|
|
lib_a_SOURCES = \
|
|
clearerr.c \
|
|
fclose.c \
|
|
fdopen.c \
|
|
feof.c \
|
|
ferror.c \
|
|
fflush.c \
|
|
fgetc.c \
|
|
fgetpos.c \
|
|
fgets.c \
|
|
fileno.c \
|
|
findfp.c \
|
|
fiprintf.c \
|
|
flags.c \
|
|
fopen.c \
|
|
fprintf.c \
|
|
fputc.c \
|
|
fputs.c \
|
|
fread.c \
|
|
freopen.c \
|
|
fscanf.c \
|
|
fseek.c \
|
|
fsetpos.c \
|
|
ftell.c \
|
|
fvwrite.c \
|
|
fwalk.c \
|
|
fwrite.c \
|
|
getc.c \
|
|
getchar.c \
|
|
gets.c \
|
|
iprintf.c \
|
|
makebuf.c \
|
|
mktemp.c \
|
|
perror.c \
|
|
printf.c \
|
|
putc.c \
|
|
putchar.c \
|
|
puts.c \
|
|
refill.c \
|
|
remove.c \
|
|
rename.c \
|
|
rewind.c \
|
|
rget.c \
|
|
scanf.c \
|
|
setbuf.c \
|
|
setvbuf.c \
|
|
siprintf.c \
|
|
snprintf.c \
|
|
sprintf.c \
|
|
sscanf.c \
|
|
stdio.c \
|
|
tmpfile.c \
|
|
tmpnam.c \
|
|
ungetc.c \
|
|
vfprintf.c \
|
|
vfscanf.c \
|
|
vprintf.c \
|
|
vsnprintf.c \
|
|
vsprintf.c \
|
|
wbuf.c \
|
|
wsetup.c
|
|
|
|
|
|
lib_a_LIBADD = vfiprintf.o
|
|
|
CHEWOUT_FILES=\
|
CHEWOUT_FILES=\
|
clearerr.def \
|
clearerr.def \
|
fclose.def \
|
fclose.def \
|
fdopen.def \
|
fdopen.def \
|
Line 128... |
Line 194... |
tmpfile.def \
|
tmpfile.def \
|
tmpnam.def \
|
tmpnam.def \
|
vfprintf.def
|
vfprintf.def
|
|
|
|
|
all: lib.a
|
SUFFIXES = .def
|
lib.a: $(OFILES)
|
|
rm -f $@
|
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
|
$(AR) $(AR_FLAGS) $@ $(OFILES)
|
|
|
TARGETDOC = ../tmp.texi
|
|
|
|
CLEANFILES = $(CHEWOUT_FILES) *.ref
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
|
|
CONFIG_CLEAN_FILES =
|
|
LIBRARIES = $(noinst_LIBRARIES)
|
|
|
|
|
|
DEFS = @DEFS@ -I. -I$(srcdir)
|
|
CPPFLAGS = @CPPFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
lib_a_DEPENDENCIES = vfiprintf.o
|
|
lib_a_OBJECTS = clearerr.o fclose.o fdopen.o feof.o ferror.o fflush.o \
|
|
fgetc.o fgetpos.o fgets.o fileno.o findfp.o fiprintf.o flags.o fopen.o \
|
|
fprintf.o fputc.o fputs.o fread.o freopen.o fscanf.o fseek.o fsetpos.o \
|
|
ftell.o fvwrite.o fwalk.o fwrite.o getc.o getchar.o gets.o iprintf.o \
|
|
makebuf.o mktemp.o perror.o printf.o putc.o putchar.o puts.o refill.o \
|
|
remove.o rename.o rewind.o rget.o scanf.o setbuf.o setvbuf.o siprintf.o \
|
|
snprintf.o sprintf.o sscanf.o stdio.o tmpfile.o tmpnam.o ungetc.o \
|
|
vfprintf.o vfscanf.o vprintf.o vsnprintf.o vsprintf.o wbuf.o wsetup.o
|
|
CFLAGS = @CFLAGS@
|
|
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
CCLD = $(CC)
|
|
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
|
DIST_COMMON = Makefile.am Makefile.in
|
|
|
|
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
TAR = tar
|
|
GZIP_ENV = --best
|
|
SOURCES = $(lib_a_SOURCES)
|
|
OBJECTS = $(lib_a_OBJECTS)
|
|
|
|
all: all-redirect
|
|
.SUFFIXES:
|
|
.SUFFIXES: .S .c .def .o .s
|
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
|
cd $(top_srcdir) && $(AUTOMAKE) --cygnus stdio/Makefile
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
cd $(top_builddir) \
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
|
|
|
|
|
mostlyclean-noinstLIBRARIES:
|
|
|
|
clean-noinstLIBRARIES:
|
|
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
|
|
|
distclean-noinstLIBRARIES:
|
|
|
|
maintainer-clean-noinstLIBRARIES:
|
|
|
|
.c.o:
|
|
$(COMPILE) -c $<
|
|
|
|
.s.o:
|
|
$(COMPILE) -c $<
|
|
|
|
.S.o:
|
|
$(COMPILE) -c $<
|
|
|
|
mostlyclean-compile:
|
|
-rm -f *.o core *.core
|
|
|
|
clean-compile:
|
|
|
|
distclean-compile:
|
|
-rm -f *.tab.c
|
|
|
|
maintainer-clean-compile:
|
|
|
|
lib.a: $(lib_a_OBJECTS) $(lib_a_DEPENDENCIES)
|
|
-rm -f lib.a
|
|
$(AR) cru lib.a $(lib_a_OBJECTS) $(lib_a_LIBADD)
|
|
$(RANLIB) lib.a
|
|
|
|
tags: TAGS
|
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
awk ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
here=`pwd` && cd $(srcdir) \
|
|
&& mkid -f$$here/ID $$unique $(LISP)
|
|
|
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
list='$(SOURCES) $(HEADERS)'; \
|
|
unique=`for i in $$list; do echo $$i; done | \
|
|
awk ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
|
|
|
mostlyclean-tags:
|
|
|
|
clean-tags:
|
|
|
|
distclean-tags:
|
|
-rm -f TAGS ID
|
|
|
|
maintainer-clean-tags:
|
|
|
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
|
|
|
subdir = stdio
|
|
|
|
distdir: $(DISTFILES)
|
|
@for file in $(DISTFILES); do \
|
|
if test -f $$file; then d=.; else d=$(srcdir); fi; \
|
|
if test -d $$d/$$file; then \
|
|
cp -pr $$/$$file $(distdir)/$$file; \
|
|
else \
|
|
test -f $(distdir)/$$file \
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
|
fi; \
|
|
done
|
|
info-am:
|
|
info: info-am
|
|
dvi-am:
|
|
dvi: dvi-am
|
|
check-am:
|
|
check: check-am
|
|
installcheck-am:
|
|
installcheck: installcheck-am
|
|
install-info-am:
|
|
install-info: install-info-am
|
|
install-exec-am:
|
|
install-exec: install-exec-am
|
|
|
|
install-data-am:
|
|
install-data: install-data-am
|
|
|
|
install-am: all-am
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
install: install-am
|
|
uninstall-am:
|
|
uninstall: uninstall-am
|
|
all-am: Makefile $(LIBRARIES)
|
|
all-redirect: all-am
|
|
install-strip:
|
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
|
installdirs:
|
|
|
|
|
|
mostlyclean-generic:
|
|
|
|
clean-generic:
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
|
|
|
distclean-generic:
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
|
|
maintainer-clean-generic:
|
|
mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
|
|
mostlyclean-tags mostlyclean-generic
|
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-generic \
|
|
mostlyclean-am
|
|
|
|
clean: clean-am
|
|
|
|
distclean-am: distclean-noinstLIBRARIES distclean-compile \
|
|
distclean-tags distclean-generic clean-am
|
|
|
|
distclean: distclean-am
|
|
|
|
maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
|
|
maintainer-clean-compile maintainer-clean-tags \
|
|
maintainer-clean-generic distclean-am
|
|
@echo "This command is intended for maintainers to use;"
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
|
|
.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
|
|
clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
|
|
mostlyclean-compile distclean-compile clean-compile \
|
|
maintainer-clean-compile tags mostlyclean-tags distclean-tags \
|
|
clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
|
|
check-am installcheck-am installcheck install-info-am install-info \
|
|
install-exec-am install-exec install-data-am install-data install-am \
|
|
install uninstall-am uninstall all-redirect all-am all installdirs \
|
|
mostlyclean-generic distclean-generic clean-generic \
|
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
|
|
|
|
vfiprintf.o: vfprintf.c
|
vfiprintf.o: vfprintf.c
|
cp $(srcdir)/vfprintf.c vfiprintf.c
|
$(COMPILE) -DINTEGER_ONLY -c $(srcdir)/vfprintf.c -o $@
|
$(CC) $(CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) $(NEWLIB_CFLAGS) $(INCLUDES) -DINTEGER_ONLY -I$(srcdir) -c vfiprintf.c
|
|
|
.c.def:
|
|
$(CHEW) < $< > $*.def 2> $*.ref
|
|
touch stmp-def
|
|
|
doc: $(CHEWOUT_FILES)
|
doc: $(CHEWOUT_FILES)
|
cat $(srcdir)/stdio.tex >> $(TARGETDOC)
|
cat $(srcdir)/stdio.tex >> $(TARGETDOC)
|
|
|
clean mostlyclean:
|
fclose.o: local.h
|
$(RM) $(OFILES) *~ core $(CHEWOUT_FILES) *.o.* *.ref
|
fdopen.o: local.h
|
$(RM) vfiprintf.c lib.a
|
fflush.o: local.h
|
|
findfp.o: local.h
|
distclean maintainer-clean realclean: clean
|
fopen.o: local.h
|
rm -f Makefile config.status
|
fputs.o: fvwrite.h
|
|
fread.o: local.h
|
Makefile: Makefile.in $(host_makefile_frag) $(target_makefile_frag)
|
freopen.o: local.h
|
$(SHELL) config.status
|
fseek.o: local.h
|
|
ftell.o: local.h
|
# to support SunOS VPATH
|
fvwrite.o: local.h fvwrite.h
|
clearerr.o: clearerr.c
|
fwalk.o: local.h
|
fclose.o: fclose.c local.h
|
fwrite.o: local.h fvwrite.h
|
fdopen.o: fdopen.c local.h
|
makebuf.o: local.h
|
feof.o: feof.c
|
puts.o: fvwrite.h
|
ferror.o: ferror.c
|
refill.o: local.h
|
fflush.o: fflush.c local.h
|
scanf.o: local.h
|
fgetc.o: fgetc.c
|
setbuf.o: local.h
|
fgetpos.o: fgetpos.c
|
setvbuf.o: local.h
|
fgets.o: fgets.c
|
siprintf.o: local.h
|
fileno.o: fileno.c
|
sprintf.o: local.h
|
findfp.o: findfp.c local.h
|
sscanf.o: local.h
|
fiprintf.o: fiprintf.c
|
stdio.o: local.h
|
flags.o: flags.c
|
ungetc.o: local.h
|
fopen.o: fopen.c local.h
|
vfiprintf.o: local.h
|
fprintf.o: fprintf.c
|
vfprintf.o: local.h
|
fputc.o: fputc.c
|
vfscanf.o: local.h floatio.h
|
fputs.o: fputs.c fvwrite.h
|
wbuf.o: local.h fvwrite.h
|
fread.o: fread.c local.h
|
wsetup.o: local.h
|
freopen.o: freopen.c local.h
|
|
fscanf.o: fscanf.c
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
fseek.o: fseek.c local.h
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
fsetpos.o: fsetpos.c
|
.NOEXPORT:
|
ftell.o: ftell.c local.h
|
|
fvwrite.o: fvwrite.c local.h fvwrite.h
|
|
fwalk.o: fwalk.c local.h
|
|
fwrite.o: fwrite.c local.h fvwrite.h
|
|
getc.o: getc.c
|
|
getchar.o: getchar.c
|
|
gets.o: gets.c
|
|
iprintf.o: iprintf.c
|
|
makebuf.o: makebuf.c local.h
|
|
mktemp.o: mktemp.c
|
|
perror.o: perror.c
|
|
printf.o: printf.c
|
|
putc.o: putc.c
|
|
putchar.o: putchar.c
|
|
puts.o: puts.c fvwrite.h
|
|
refill.o: refill.c local.h
|
|
remove.o: remove.c
|
|
rename.o: rename.c
|
|
rewind.o: rewind.c
|
|
rget.o: rget.c
|
|
scanf.o: scanf.c local.h
|
|
setbuf.o: setbuf.c local.h
|
|
setvbuf.o: setvbuf.c local.h
|
|
siprintf.o: siprintf.c local.h
|
|
sprintf.o: sprintf.c local.h
|
|
sscanf.o: sscanf.c local.h
|
|
stdio.o: stdio.c local.h
|
|
tmpfile.o: tmpfile.c
|
|
tmpnam.o: tmpnam.c
|
|
ungetc.o: ungetc.c local.h
|
|
vfiprintf.o: vfprintf.c local.h
|
|
vfprintf.o: vfprintf.c local.h
|
|
vfscanf.o: vfscanf.c local.h floatio.h
|
|
vprintf.o: vprintf.c
|
|
vsprintf.o: vsprintf.c
|
|
wbuf.o: wbuf.c local.h fvwrite.h
|
|
wsetup.o: wsetup.c local.h
|
|
.NOEXPORT:
|
|