2000-02-18 03:39:52 +08:00
|
|
|
## Process this file with automake to generate Makefile.in
|
|
|
|
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
|
|
|
|
INCLUDES = $(NEWLIB_CFLAGS) $(CROSS_CFLAGS) $(TARGET_CFLAGS)
|
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
LIB_SOURCES = \
|
2000-02-18 03:39:52 +08:00
|
|
|
asctime.c \
|
|
|
|
asctime_r.c \
|
|
|
|
clock.c \
|
|
|
|
ctime.c \
|
|
|
|
ctime_r.c \
|
|
|
|
difftime.c \
|
2005-02-24 03:08:58 +08:00
|
|
|
gettzinfo.c \
|
2000-02-18 03:39:52 +08:00
|
|
|
gmtime.c \
|
|
|
|
gmtime_r.c \
|
|
|
|
lcltime.c \
|
|
|
|
lcltime_r.c \
|
|
|
|
mktime.c \
|
2002-04-18 05:23:31 +08:00
|
|
|
mktm_r.c \
|
2000-02-18 03:39:52 +08:00
|
|
|
strftime.c \
|
2002-04-18 05:23:31 +08:00
|
|
|
strptime.c \
|
|
|
|
time.c \
|
|
|
|
tzlock.c \
|
|
|
|
tzset.c \
|
|
|
|
tzset_r.c
|
2000-02-18 03:39:52 +08:00
|
|
|
|
2001-12-14 07:50:11 +08:00
|
|
|
libtime_la_LDFLAGS = -Xcompiler -nostdlib
|
|
|
|
|
|
|
|
if USE_LIBTOOL
|
|
|
|
noinst_LTLIBRARIES = libtime.la
|
|
|
|
libtime_la_SOURCES = $(LIB_SOURCES)
|
|
|
|
noinst_DATA = objectlist.awk.in
|
|
|
|
else
|
|
|
|
noinst_LIBRARIES = lib.a
|
|
|
|
lib_a_SOURCES = $(LIB_SOURCES)
|
|
|
|
noinst_DATA =
|
|
|
|
endif # USE_LIBTOOL
|
|
|
|
|
|
|
|
include $(srcdir)/../../Makefile.shared
|
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
CHEWOUT_FILES = \
|
|
|
|
asctime.def \
|
|
|
|
clock.def \
|
|
|
|
ctime.def \
|
|
|
|
difftime.def \
|
|
|
|
gmtime.def \
|
|
|
|
lcltime.def \
|
|
|
|
mktime.def \
|
|
|
|
strftime.def \
|
2002-04-18 05:23:31 +08:00
|
|
|
time.def \
|
|
|
|
tzlock.def \
|
|
|
|
tzset.def
|
2000-02-18 03:39:52 +08:00
|
|
|
|
|
|
|
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)/time.tex >> $(TARGETDOC)
|
|
|
|
|
|
|
|
CLEANFILES = $(CHEWOUT_FILES) *.ref
|