Files
glibc/time/Makefile
T

52 lines
1.7 KiB
Makefile
Raw Normal View History

2000-04-11 07:08:31 +00:00
# Copyright (C) 1991-1999, 2000 Free Software Foundation, Inc.
1995-02-18 01:27:10 +00:00
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
# The GNU C Library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Library General Public License for more details.
# You should have received a copy of the GNU Library General Public
1997-01-19 04:54:28 +00:00
# License along with the GNU C Library; see the file COPYING.LIB. If not,
# write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
# Boston, MA 02111-1307, USA.
1995-02-18 01:27:10 +00:00
#
# Makefile for time routines
#
subdir := time
1997-06-21 02:59:26 +00:00
headers := time.h sys/time.h sys/timeb.h bits/time.h
1995-02-18 01:27:10 +00:00
1998-02-15 19:31:34 +00:00
routines := offtime asctime clock ctime ctime_r difftime \
gmtime localtime mktime strftime time \
gettimeofday settimeofday adjtime tzset \
tzfile getitimer setitimer \
stime dysize timegm ftime \
2000-04-11 07:08:31 +00:00
strptime getdate wcsftime
1995-02-18 01:27:10 +00:00
2000-06-14 00:55:24 +00:00
distribute := datemsk
2000-03-03 19:49:23 +00:00
tests := test_time clocktest tst-posixtz tst-strptime tst_wcsftime \
tst-getdate
1997-01-19 04:54:28 +00:00
1995-02-18 01:27:10 +00:00
include ../Rules
1998-02-17 15:15:51 +00:00
tz-cflags = -DTZDIR='"$(zonedir)"' \
-DTZDEFAULT='"$(localtime-file)"' \
-DTZDEFRULES='"$(posixrules-file)"'
CFLAGS-tzfile.c = $(tz-cflags)
CFLAGS-tzset.c = $(tz-cflags)
1998-11-16 12:02:08 +00:00
# Don't warn about Y2k problem in strftime format string.
CFLAGS-test_time.c = -Wno-format
2000-03-03 19:49:23 +00:00
tst-getdate-ENV= DATEMSK=datemsk
2000-05-17 11:04:21 +00:00
test_time-ARGS= EST5EDT CST