diff options
Diffstat (limited to 'newlib/libc/stdio/Makefile.am')
-rw-r--r-- | newlib/libc/stdio/Makefile.am | 88 |
1 files changed, 14 insertions, 74 deletions
diff --git a/newlib/libc/stdio/Makefile.am b/newlib/libc/stdio/Makefile.am index 1ae643f4d..8010c7203 100644 --- a/newlib/libc/stdio/Makefile.am +++ b/newlib/libc/stdio/Makefile.am @@ -4,9 +4,8 @@ AUTOMAKE_OPTIONS = cygnus INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS) -GENERAL_SOURCES = \ +LIB_SOURCES = \ clearerr.c \ - dprintf.c \ fclose.c \ fdopen.c \ feof.c \ @@ -26,7 +25,6 @@ GENERAL_SOURCES = \ fread.c \ freopen.c \ fscanf.c \ - fiscanf.c \ fseek.c \ fsetpos.c \ ftell.c \ @@ -35,35 +33,26 @@ GENERAL_SOURCES = \ fwrite.c \ getc.c \ getchar.c \ - getc_u.c \ - getchar_u.c \ - getdelim.c \ - getline.c \ gets.c \ + getw.c \ iprintf.c \ - iscanf.c \ makebuf.c \ + mktemp.c \ perror.c \ printf.c \ putc.c \ putchar.c \ - putc_u.c \ - putchar_u.c \ puts.c \ + putw.c \ refill.c \ remove.c \ rename.c \ rewind.c \ rget.c \ scanf.c \ - sccl.c \ setbuf.c \ - setbuffer.c \ - setlinebuf.c \ setvbuf.c \ siprintf.c \ - siscanf.c \ - sniprintf.c \ snprintf.c \ sprintf.c \ sscanf.c \ @@ -71,53 +60,29 @@ GENERAL_SOURCES = \ tmpfile.c \ tmpnam.c \ ungetc.c \ - vdprintf.c \ - viprintf.c \ - viscanf.c \ + vfscanf.c \ vprintf.c \ vscanf.c \ - vsiprintf.c \ - vsiscanf.c \ vsnprintf.c \ - vsniprintf.c \ vsprintf.c \ vsscanf.c \ wbuf.c \ wsetup.c -## The following are EL/IX level 2 interfaces -if ELIX_LEVEL_1 -LIB_OBJS = -else -LIB_OBJS = \ - asiprintf.$(oext) \ - asprintf.$(oext) \ - fcloseall.$(oext) \ - fseeko.$(oext) \ - ftello.$(oext) \ - getw.$(oext) \ - mktemp.$(oext) \ - putw.$(oext) \ - vasiprintf.$(oext) \ - vasprintf.$(oext) -endif - -LIBADD_OBJS = vfiprintf.$(oext) vfprintf.$(oext) vfscanf.$(oext) vfiscanf.$(oext) +LIBADD_OBJS = vfiprintf.$(oext) vfprintf.$(oext) libstdio_la_LDFLAGS = -Xcompiler -nostdlib if USE_LIBTOOL noinst_LTLIBRARIES = libstdio.la -libstdio_la_SOURCES = $(GENERAL_SOURCES) -libstdio_la_LIBADD = $(LIBADD_OBJS) $(LIB_OBJS) -libstdio_la_DEPENDENCIES = $(LIBADD_OBJS) $(LIB_OBJS) +libstdio_la_SOURCES = $(LIB_SOURCES) +libstdio_la_LIBADD = $(LIBADD_OBJS) LIB_COMPILE = $(LTCOMPILE) noinst_DATA = objectlist.awk.in else noinst_LIBRARIES = lib.a -lib_a_SOURCES = $(GENERAL_SOURCES) -lib_a_LIBADD = $(LIBADD_OBJS) $(LIB_OBJS) -lib_a_DEPENDENCIES = $(LIBADD_OBJS) $(LIB_OBJS) +lib_a_SOURCES = $(LIB_SOURCES) +lib_a_LIBADD = $(LIBADD_OBJS) LIB_COMPILE = $(COMPILE) noinst_DATA = endif # USE_LIBTOOL @@ -128,22 +93,14 @@ include $(srcdir)/../../Makefile.shared # libtool moves vfprintf.o and subsequently can't find it. vfprintf.$(oext): vfprintf.c - $(LIB_COMPILE) -fshort-enums -c $(srcdir)/vfprintf.c + $(LIB_COMPILE) -c $(srcdir)/vfprintf.c vfiprintf.$(oext): vfprintf.c - $(LIB_COMPILE) -fshort-enums -DINTEGER_ONLY -c $(srcdir)/vfprintf.c -o $@ - -vfscanf.$(oext): vfscanf.c - $(LIB_COMPILE) -c $(srcdir)/vfscanf.c - -vfiscanf.$(oext): vfscanf.c - $(LIB_COMPILE) -DINTEGER_ONLY -c $(srcdir)/vfscanf.c -o $@ + $(LIB_COMPILE) -DINTEGER_ONLY -c $(srcdir)/vfprintf.c -o $@ CHEWOUT_FILES = \ clearerr.def \ - dprintf.def \ fclose.def \ - fcloseall.def \ fdopen.def \ feof.def \ ferror.def \ @@ -164,37 +121,27 @@ CHEWOUT_FILES = \ fwrite.def \ getc.def \ getchar.def \ - getc_u.def \ - getchar_u.def \ - getdelim.def \ - getline.def \ gets.def \ getw.def \ + iprintf.def \ mktemp.def \ perror.def \ putc.def \ putchar.def \ - putc_u.def \ - putchar_u.def \ puts.def \ putw.def \ remove.def \ rename.def \ rewind.def \ setbuf.def \ - setbuffer.def \ - setlinebuf.def \ setvbuf.def \ siprintf.def \ - siscanf.def \ sprintf.def \ sscanf.def \ tmpfile.def \ tmpnam.def \ vfprintf.def \ - vfscanf.def \ - viprintf.def \ - viscanf.def + vfscanf.def SUFFIXES = .def @@ -224,7 +171,6 @@ ftell.$(oext): local.h fvwrite.$(oext): local.h fvwrite.h fwalk.$(oext): local.h fwrite.$(oext): local.h fvwrite.h -iscanf.$(oext): local.h makebuf.$(oext): local.h puts.$(oext): fvwrite.h refill.$(oext): local.h @@ -232,20 +178,14 @@ scanf.$(oext): local.h setbuf.$(oext): local.h setvbuf.$(oext): local.h siprintf.$(oext): local.h -sniprintf.$(oext): local.h sprintf.$(oext): local.h -siscanf.$(oext): local.h sscanf.$(oext): local.h stdio.$(oext): local.h ungetc.$(oext): local.h vfiprintf.$(oext): local.h vfprintf.$(oext): local.h -vfiscanf.$(oext): local.h floatio.h vfscanf.$(oext): local.h floatio.h -viscanf.$(oext): local.h vscanf.$(oext): local.h -vsniprintf.$(oext): local.h -vsiscanf.$(oext): local.h vsscanf.$(oext): local.h wbuf.$(oext): local.h fvwrite.h wsetup.$(oext): local.h |