]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - time/Makefile
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / time / Makefile
index da51316069e758b0cc0189796f68d0df350d3531..a411f6204282d7ccb62ac498e18d1602a471c28f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 1991-1999,2000,01,02 Free Software Foundation, Inc.
+# Copyright (C) 1991-2015 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
 # Lesser General Public License for more details.
 
 # 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.
+# License along with the GNU C Library; if not, see
+# <http://www.gnu.org/licenses/>.
 
 #
 #      Makefile for time routines
 #
 subdir := time
 
+include ../Makeconfig
+
 headers        := time.h sys/time.h sys/timeb.h bits/time.h
 
 routines := offtime asctime clock ctime ctime_r difftime \
@@ -29,12 +30,14 @@ routines := offtime asctime clock ctime ctime_r difftime \
            tzfile getitimer setitimer                   \
            stime dysize timegm ftime                    \
            getdate strptime strptime_l                  \
-           strftime wcsftime strftime_l wcsftime_l
+           strftime wcsftime strftime_l wcsftime_l      \
+           timespec_get
 aux :=     era alt_digit lc-time-cleanup
-distribute := datemsk
 
 tests  := test_time clocktest tst-posixtz tst-strptime tst_wcsftime \
-          tst-getdate tst-mktime
+          tst-getdate tst-mktime tst-mktime2 tst-ftime_l tst-strftime \
+          tst-mktime3 tst-strptime2 bug-asctime bug-asctime_r bug-mktime1 \
+          tst-strptime3 bug-getdate1 tst-strptime-whitespace tst-ftime
 
 include ../Rules
 
@@ -44,6 +47,7 @@ tz-cflags = -DTZDIR='"$(zonedir)"' \
 
 CFLAGS-tzfile.c = $(tz-cflags)
 CFLAGS-tzset.c = $(tz-cflags)
+CFLAGS-getdate.c = -fexceptions
 
 # Don't warn about Y2k problem in strftime format string.
 CFLAGS-test_time.c = -Wno-format
@@ -51,4 +55,4 @@ CFLAGS-test_time.c = -Wno-format
 tst-getdate-ENV= DATEMSK=datemsk TZDIR=${common-objpfx}timezone/testdata
 test_time-ARGS= EST5EDT CST
 
-tst-strptime-ENV = LOCPATH=${common-objpfx}localedata
+bug-getdate1-ARGS = ${objpfx}bug-getdate1-fmt