about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-05-03 16:46:40 +0000
committerRoland McGrath <roland@gnu.org>1996-05-03 16:46:40 +0000
commit9e720468715080bd95edadf10fd45a2c8be5e678 (patch)
tree837ec76e4fb75544c9dff013f1c7d57156dbf3bc
parent8962ae8d6b53a0c859d4c0723a0971da04eaba27 (diff)
downloadglibc-9e720468715080bd95edadf10fd45a2c8be5e678.tar.gz
glibc-9e720468715080bd95edadf10fd45a2c8be5e678.tar.xz
glibc-9e720468715080bd95edadf10fd45a2c8be5e678.zip
Thu May 2 00:24:04 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
	* 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.
-rw-r--r--time/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/time/Makefile b/time/Makefile
index 566f29682d..5741853db4 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)