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 \
|
2005-11-09 06:44:16 +08:00
|
|
|
tzset_r.c \
|
2009-03-09 20:35:03 +08:00
|
|
|
tzvars.c \
|
|
|
|
wcsftime.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)
|
2006-04-12 03:02:16 +08:00
|
|
|
lib_a_CFLAGS = $(AM_CFLAGS)
|
2001-12-14 07:50:11 +08:00
|
|
|
noinst_DATA =
|
|
|
|
endif # USE_LIBTOOL
|
|
|
|
|
2009-03-09 20:35:03 +08:00
|
|
|
# This rule is needed so that wcsftime.o is rebuilt when strftime.c changes.
|
2001-12-14 07:50:11 +08:00
|
|
|
include $(srcdir)/../../Makefile.shared
|
|
|
|
|
2009-03-09 20:35:03 +08:00
|
|
|
$(lpfx)wcsftime.$(oext): strftime.c
|
|
|
|
|
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 \
|
2009-03-09 20:35:03 +08:00
|
|
|
tzset.def \
|
|
|
|
wcsftime.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
|