1 ## Process this file with automake to generate Makefile.in
3 AUTOMAKE_OPTIONS = cygnus
5 INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
77 ## The following are EL/IX level 2 interfaces
92 LIBADD_OBJS = vfiprintf.$(oext) vfprintf.$(oext)
94 libstdio_la_LDFLAGS = -Xcompiler -nostdlib
97 noinst_LTLIBRARIES = libstdio.la
98 libstdio_la_SOURCES = $(GENERAL_SOURCES)
99 libstdio_la_LIBADD = $(LIBADD_OBJS) $(LIB_OBJS)
100 libstdio_la_DEPENDENCIES = $(LIBADD_OBJS) $(LIB_OBJS)
101 LIB_COMPILE = $(LTCOMPILE)
102 noinst_DATA = objectlist.awk.in
104 noinst_LIBRARIES = lib.a
105 lib_a_SOURCES = $(GENERAL_SOURCES)
106 lib_a_LIBADD = $(LIBADD_OBJS) $(LIB_OBJS)
107 lib_a_DEPENDENCIES = $(LIBADD_OBJS) $(LIB_OBJS)
108 LIB_COMPILE = $(COMPILE)
112 include $(srcdir)/../../Makefile.shared
114 # This rule is needed so that libtool compiles vfiprintf before vfprintf. Otherwise
115 # libtool moves vfprintf.o and subsequently can't find it.
117 vfprintf.$(oext): vfprintf.c
118 $(LIB_COMPILE) -fshort-enums -c $(srcdir)/vfprintf.c
120 vfiprintf.$(oext): vfprintf.c
121 $(LIB_COMPILE) -fshort-enums -DINTEGER_ONLY -c $(srcdir)/vfprintf.c -o $@
179 CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
182 $(CHEW) < $< > $*.def 2> $*.ref
185 TARGETDOC = ../tmp.texi
187 doc: $(CHEWOUT_FILES)
188 cat $(srcdir)/stdio.tex >> $(TARGETDOC)
190 CLEANFILES = $(CHEWOUT_FILES) *.ref
192 fclose.$(oext): local.h
193 fdopen.$(oext): local.h
194 fflush.$(oext): local.h
195 findfp.$(oext): local.h
196 fopen.$(oext): local.h
197 fputs.$(oext): fvwrite.h
198 fread.$(oext): local.h
199 freopen.$(oext): local.h
200 fseek.$(oext): local.h
201 ftell.$(oext): local.h
202 fvwrite.$(oext): local.h fvwrite.h
203 fwalk.$(oext): local.h
204 fwrite.$(oext): local.h fvwrite.h
205 makebuf.$(oext): local.h
206 puts.$(oext): fvwrite.h
207 refill.$(oext): local.h
208 scanf.$(oext): local.h
209 setbuf.$(oext): local.h
210 setvbuf.$(oext): local.h
211 siprintf.$(oext): local.h
212 sprintf.$(oext): local.h
213 sscanf.$(oext): local.h
214 stdio.$(oext): local.h
215 ungetc.$(oext): local.h
216 vfiprintf.$(oext): local.h
217 vfprintf.$(oext): local.h
218 vfscanf.$(oext): local.h floatio.h
219 vscanf.$(oext): local.h
220 vsscanf.$(oext): local.h
221 wbuf.$(oext): local.h fvwrite.h
222 wsetup.$(oext): local.h