From: Roland McGrath Date: Fri, 3 May 1996 16:46:40 +0000 (+0000) Subject: Thu May 2 00:24:04 1996 Andreas Schwab X-Git-Tag: cvs/libc-960504~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e720468715080bd95edadf10fd45a2c8be5e678;p=thirdparty%2Fglibc.git Thu May 2 00:24:04 1996 Andreas Schwab * time/Makefile (tz-cflags): New variable. (CFLAGS-tzfile.c): New variable. (CFLAGS-zic.c): Add $(tz-cflags). (tz-cc): Remove variable. ($(objpfx)tzfile.o, $(objpfx)zic.o): Remove targets. --- diff --git a/time/Makefile b/time/Makefile index 566f29682d9..5741853db4c 100644 --- a/time/Makefile +++ b/time/Makefile @@ -117,17 +117,12 @@ endif $(objpfx)zic: $(objpfx)scheck.o $(objpfx)ialloc.o -$(objpfx)tzfile.o: tzfile.c; $(tz-cc) -$(objpfx)zic.o: zic.c; $(tz-cc) - -# Some versions of GNU make have a bug with backslashes in define directives. -tz-cc = $(COMPILE.c) $(+gcc-nowarn) \ - -DTZDIR='"$(zonedir)"' \ - -DTZDEFAULT='"$(localtime-file)"' \ - -DTZDEFRULES='"$(posixrules-file)"' \ - $< $(OUTPUT_OPTION) +tz-cflags = -DTZDIR='"$(zonedir)"' \ + -DTZDEFAULT='"$(localtime-file)"' \ + -DTZDEFRULES='"$(posixrules-file)"' CFLAGS-zdump.c = -Wno-strict-prototypes -DNOID -CFLAGS-zic.c = -Wno-strict-prototypes -DNOID +CFLAGS-zic.c = -Wno-strict-prototypes -DNOID $(tz-cflags) CFLAGS-ialloc.c = -Wno-strict-prototypes -DNOID CFLAGS-scheck.c = -Wno-strict-prototypes -DNOID +CFLAGS-tzfile.c = $(tz-cflags)