diff options
author | Roland McGrath <roland@gnu.org> | 1996-05-13 20:18:37 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1996-05-13 20:18:37 +0000 |
commit | 45086082a06454cd1a2d1b91390a04a726b3ac28 (patch) | |
tree | bca301220a6cea3381442f874322bdf827d2dcd1 /time | |
parent | d929664ab5b621e8990d797769e4233a5caf3791 (diff) | |
download | glibc-45086082a06454cd1a2d1b91390a04a726b3ac28.zip glibc-45086082a06454cd1a2d1b91390a04a726b3ac28.tar.gz glibc-45086082a06454cd1a2d1b91390a04a726b3ac28.tar.bz2 |
* time/Makefile (zonenames): Target removed.
(extra-objs): Remove it from here.
Include the z.* files directly instead of including zonenames; use
`-include' to not complain befre they exist.
* sysdeps/unix/Makefile: Find sysd-syscalls and s-proto.d with
$(common-objpfx) instead of $(objpfx).
Diffstat (limited to 'time')
-rw-r--r-- | time/Makefile | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/time/Makefile b/time/Makefile index 8feb377..bb8bd20 100644 --- a/time/Makefile +++ b/time/Makefile @@ -23,7 +23,7 @@ subdir := time headers := time.h sys/time.h sys/timeb.h timebits.h distribute := tzfile.h private.h scheck.c ialloc.c yearistype -extra-objs = scheck.o ialloc.o zonenames $(tzfiles:%=z.%) +extra-objs = scheck.o ialloc.o $(tzfiles:%=z.%) routines := offtime asctime clock ctime difftime gmtime \ localtime mktime strftime time tzset tzfile \ @@ -46,12 +46,12 @@ all: # Make this the default target; it will be defined in Rules. include ../Makeconfig # Get objpfx defined so we can use it below. -# zonenames uses this variable. +# z.* use this variable. define nl endef -include $(objpfx)zonenames +-include $(addprefix $(objpfx)z.,$(tzfiles)) # Make these absolute file names. installed-localtime-file := $(firstword $(filter /%,$(localtime-file)) \ @@ -86,11 +86,6 @@ $(tzfiles:%=$(objpfx)z.%): $(objpfx)z.%: % Makefile echo 'zonenames := $$(zonenames) $$($*-zones)' ;\ ) > $@.new mv $@.new $@ -$(objpfx)zonenames: Makefile - (for file in $(tzfiles); do \ - echo "include \$$(objpfx)z.$$file"; \ - done) > $@.new - mv $@.new $@ .PHONY: echo-zonenames echo-zonenames: zonenames |