2002-07-18 07:25:44 +08:00
|
|
|
## Process this file with automake to generate Makefile.in
|
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
|
|
|
|
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
|
|
|
|
2002-08-27 02:56:09 +08:00
|
|
|
# need a dummy object so objectlist.awk.in will build every time
|
|
|
|
GENERAL_SOURCES = dummy.c local64.h
|
|
|
|
|
|
|
|
## All interfaces are EL/IX level 2
|
|
|
|
if ELIX_LEVEL_1
|
2006-05-02 06:01:07 +08:00
|
|
|
ELIX_SOURCES =
|
2002-08-27 02:56:09 +08:00
|
|
|
else
|
2006-05-02 06:01:07 +08:00
|
|
|
ELIX_SOURCES = \
|
|
|
|
fdopen64.c \
|
|
|
|
fgetpos64.c \
|
|
|
|
fopen64.c \
|
|
|
|
freopen64.c \
|
|
|
|
fseeko64.c \
|
|
|
|
fsetpos64.c \
|
|
|
|
ftello64.c \
|
|
|
|
stdio64.c \
|
|
|
|
tmpfile64.c
|
2002-08-27 02:56:09 +08:00
|
|
|
endif
|
2002-07-18 07:25:44 +08:00
|
|
|
|
|
|
|
libstdio64_la_LDFLAGS = -Xcompiler -nostdlib
|
|
|
|
|
|
|
|
if USE_LIBTOOL
|
|
|
|
noinst_LTLIBRARIES = libstdio64.la
|
2006-05-02 06:01:07 +08:00
|
|
|
libstdio64_la_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
|
2002-07-18 07:25:44 +08:00
|
|
|
LIB_COMPILE = $(LTCOMPILE)
|
|
|
|
noinst_DATA = objectlist.awk.in
|
|
|
|
else
|
|
|
|
noinst_LIBRARIES = lib.a
|
2006-05-02 06:01:07 +08:00
|
|
|
lib_a_SOURCES = $(GENERAL_SOURCES) $(ELIX_SOURCES)
|
2006-04-12 03:02:16 +08:00
|
|
|
lib_a_CFLAGS = $(AM_CFLAGS)
|
2002-07-18 07:25:44 +08:00
|
|
|
LIB_COMPILE = $(COMPILE)
|
|
|
|
noinst_DATA =
|
|
|
|
endif # USE_LIBTOOL
|
|
|
|
|
|
|
|
include $(srcdir)/../../Makefile.shared
|
|
|
|
|
|
|
|
AM_CFLAGS = -I $(srcdir)/../stdio
|
|
|
|
|
|
|
|
CHEWOUT_FILES = \
|
2015-06-23 21:35:00 +08:00
|
|
|
fdopen64.def \
|
2002-07-18 07:25:44 +08:00
|
|
|
fgetpos64.def \
|
|
|
|
fopen64.def \
|
|
|
|
freopen64.def \
|
|
|
|
fseeko64.def \
|
|
|
|
fsetpos64.def \
|
|
|
|
ftello64.def \
|
|
|
|
tmpfile64.def
|
|
|
|
|
2015-11-03 07:00:28 +08:00
|
|
|
CHAPTERS = stdio64.tex
|