Files
glibc/time/Makefile
T

58 lines
2.0 KiB
Makefile
Raw Normal View History

# Copyright (C) 1991-2003, 2004, 2005 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
2001-07-06 04:58:11 +00:00
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
1995-02-18 01:27:10 +00:00
# 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
2001-07-06 04:58:11 +00:00
# Lesser General Public License for more details.
1995-02-18 01:27:10 +00:00
2001-07-06 04:58:11 +00:00
# You should have received a copy of the GNU Lesser General Public
# License along with the GNU C Library; 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 time \
1998-02-15 19:31:34 +00:00
gettimeofday settimeofday adjtime tzset \
tzfile getitimer setitimer \
stime dysize timegm ftime \
getdate strptime strptime_l \
strftime wcsftime strftime_l wcsftime_l
aux := era alt_digit lc-time-cleanup
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 tst-mktime tst-mktime2 tst-ftime_l tst-strftime \
2005-10-14 15:17:40 +00:00
tst-mktime3 tst-strptime2 bug-asctime bug-asctime_r
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)
2003-07-15 07:52:52 +00:00
CFLAGS-getdate.c = -fexceptions
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 TZDIR=${common-objpfx}timezone/testdata
2000-05-17 11:04:21 +00:00
test_time-ARGS= EST5EDT CST
2001-08-10 00:01:27 +00:00
tst-strptime-ENV = LOCPATH=${common-objpfx}localedata
2002-08-29 10:12:49 +00:00
tst-ftime_l-ENV = LOCPATH=${common-objpfx}localedata