mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 20:39:33 +08:00
90b65e2d06
* Makefile.am(LIBC_OBJECTLISTS): Add STDIO64_OBJECTLIST. * Makefile.in: Regenerated. * acinclude.m4: Add support for --enable-newlib-elix-level option. * aclocal.m4: Regenerated. * configure: Ditto. * configure.host: Add code to define _ELIX_LEVEL if --enable-newlib-elix-level option is used. * configure.in: * libc/aclocal.m4: Regenerated. * libc/configure: Ditto. * libc/argz/Makefile.am: Add EL/IX level checking. * libc/argz/Makefile.in: Regenerated. * libc/argz/dummy.c: New file. * libc/ctype/Makefile.am: Add EL/IX level checking. * libc/ctype/Makefile.in: Regenerated. * libc/locale/Makefile.am: Add EL/IX level checking. * libc/locale/Makefile.in: Regenerated. * libc/posix/Makefile.am: Add EL/IX level checking. * libc/posix/Makefile.in: Regenerated. * libc/posix/telldir.c: Add EL/IX level checking. * libc/reent/Makefile.am: Ditto. * libc/reent/fstat64r.c: Ditto. * libc/reent/lseek64r.c: Ditto. * libc/reent/open64r.c: Ditto. * libc/reent/Makefile.in: Regenerated. * libc/search/Makefile.am: Add EL/IX level checking. * libc/search/Makefile.in: Regenerated. * libc/stdio/Makefile.am: Add EL/IX level checking. * libc/stdio/Makefile.in: Regenerated. * libc/stdio64/Makefile.am: Add EL/IX level checking. * libc/stdio64/Makefile.in: Regenerated. * libc/stdio64/dummy.c: New file. * libc/stdio64/fgetpos64.c: Fix so _LARGEFILE_64 macro is checked after first include. * libc/stdio64/fopen64.c: Ditto. * libc/stdio64/freopen64.c: Ditto. * libc/stdio64/fseeko64.c: Ditto. * libc/stdio64/fsetpos64.c: Ditto. * libc/stdio64/ftello64.c: Ditto. * libc/stdio64/tmpfile64.c: Ditto. * libc/stdlib/Makefile.am: Add EL/IX level checking. * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/mstats.c: Add EL/IX level checking. * libc/string/Makefile.am: Ditto. * libc/string/Makefile.in: Regenerated. * libc/sys/linux/Makefile.am: Add EL/IX level checking. * libc/sys/linux/Makefile.in: Regenerated. * libc/sys/linux/aclocal.m4: Ditto. * libc/sys/linux/configure: Ditto. * libc/sys/linux/aio.c: Add EL/IX level checking. * libc/sys/linux/ftok.c: Ditto. * libc/sys/linux/getdate.c: Ditto. * libc/sys/linux/ids.c: Ditto. * libc/sys/linux/inode.c: Ditto. * libc/sys/linux/io.c: Ditto. * libc/sys/linux/process.c: Ditto. * libc/sys/linux/resource.c: Ditto. * libc/sys/linux/sched.c: Ditto. * libc/sys/linux/sig.c: Ditto. * libc/sys/linux/termios.c: Ditto. * libc/sys/linux/wait.c: Ditto plus add __waitpid and __libc___waitpid weak aliases. * libc/sys/linux/machine/i386/syscall.h: Add new _base macros that generate the code for a syscall, but do not create a weak alias. * libc/syscalls/Makefile.am: Add EL/IX level checking. * libc/syscalls/Makefile.in: Regenerated. * libc/time/tzset_r.c: Change to replace strdup with equivalent functionality. * libc/unix/Makefile.am: Add EL/IX level checking. * libc/unix/Makefile.in: Regenerated.
222 lines
4.1 KiB
Makefile
222 lines
4.1 KiB
Makefile
## Process this file with automake to generate Makefile.in
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
|
|
|
GENERAL_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 \
|
|
getc_u.c \
|
|
getchar_u.c \
|
|
getdelim.c \
|
|
getline.c \
|
|
gets.c \
|
|
iprintf.c \
|
|
makebuf.c \
|
|
perror.c \
|
|
printf.c \
|
|
putc.c \
|
|
putchar.c \
|
|
putc_u.c \
|
|
putchar_u.c \
|
|
puts.c \
|
|
refill.c \
|
|
remove.c \
|
|
rename.c \
|
|
rewind.c \
|
|
rget.c \
|
|
scanf.c \
|
|
setbuf.c \
|
|
setbuffer.c \
|
|
setlinebuf.c \
|
|
setvbuf.c \
|
|
siprintf.c \
|
|
snprintf.c \
|
|
sprintf.c \
|
|
sscanf.c \
|
|
stdio.c \
|
|
tmpfile.c \
|
|
tmpnam.c \
|
|
ungetc.c \
|
|
vfscanf.c \
|
|
vprintf.c \
|
|
vscanf.c \
|
|
vsnprintf.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 = \
|
|
asprintf.$(oext) \
|
|
fcloseall.$(oext) \
|
|
fseeko.$(oext) \
|
|
ftello.$(oext) \
|
|
getw.$(oext) \
|
|
mktemp.$(oext) \
|
|
putw.$(oext)
|
|
endif
|
|
|
|
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)
|
|
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_COMPILE = $(COMPILE)
|
|
noinst_DATA =
|
|
endif # USE_LIBTOOL
|
|
|
|
include $(srcdir)/../../Makefile.shared
|
|
|
|
# This rule is needed so that libtool compiles vfiprintf before vfprintf. Otherwise
|
|
# libtool moves vfprintf.o and subsequently can't find it.
|
|
|
|
vfprintf.$(oext): vfprintf.c
|
|
$(LIB_COMPILE) -fshort-enums -c $(srcdir)/vfprintf.c
|
|
|
|
vfiprintf.$(oext): vfprintf.c
|
|
$(LIB_COMPILE) -fshort-enums -DINTEGER_ONLY -c $(srcdir)/vfprintf.c -o $@
|
|
|
|
CHEWOUT_FILES = \
|
|
clearerr.def \
|
|
fclose.def \
|
|
fcloseall.def \
|
|
fdopen.def \
|
|
feof.def \
|
|
ferror.def \
|
|
fflush.def \
|
|
fgetc.def \
|
|
fgetpos.def \
|
|
fgets.def \
|
|
fileno.def \
|
|
fiprintf.def \
|
|
fopen.def \
|
|
fputc.def \
|
|
fputs.def \
|
|
fread.def \
|
|
freopen.def \
|
|
fseek.def \
|
|
fsetpos.def \
|
|
ftell.def \
|
|
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 \
|
|
sprintf.def \
|
|
sscanf.def \
|
|
tmpfile.def \
|
|
tmpnam.def \
|
|
vfprintf.def \
|
|
vfscanf.def
|
|
|
|
SUFFIXES = .def
|
|
|
|
CHEW = ../../doc/makedoc -f $(srcdir)/../../doc/doc.str
|
|
|
|
.c.def:
|
|
$(CHEW) < $< > $*.def 2> $*.ref
|
|
touch stmp-def
|
|
|
|
TARGETDOC = ../tmp.texi
|
|
|
|
doc: $(CHEWOUT_FILES)
|
|
cat $(srcdir)/stdio.tex >> $(TARGETDOC)
|
|
|
|
CLEANFILES = $(CHEWOUT_FILES) *.ref
|
|
|
|
fclose.$(oext): local.h
|
|
fdopen.$(oext): local.h
|
|
fflush.$(oext): local.h
|
|
findfp.$(oext): local.h
|
|
fopen.$(oext): local.h
|
|
fputs.$(oext): fvwrite.h
|
|
fread.$(oext): local.h
|
|
freopen.$(oext): local.h
|
|
fseek.$(oext): local.h
|
|
ftell.$(oext): local.h
|
|
fvwrite.$(oext): local.h fvwrite.h
|
|
fwalk.$(oext): local.h
|
|
fwrite.$(oext): local.h fvwrite.h
|
|
makebuf.$(oext): local.h
|
|
puts.$(oext): fvwrite.h
|
|
refill.$(oext): local.h
|
|
scanf.$(oext): local.h
|
|
setbuf.$(oext): local.h
|
|
setvbuf.$(oext): local.h
|
|
siprintf.$(oext): local.h
|
|
sprintf.$(oext): local.h
|
|
sscanf.$(oext): local.h
|
|
stdio.$(oext): local.h
|
|
ungetc.$(oext): local.h
|
|
vfiprintf.$(oext): local.h
|
|
vfprintf.$(oext): local.h
|
|
vfscanf.$(oext): local.h floatio.h
|
|
vscanf.$(oext): local.h
|
|
vsscanf.$(oext): local.h
|
|
wbuf.$(oext): local.h fvwrite.h
|
|
wsetup.$(oext): local.h
|