(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).
Mon May 13 12:03:03 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
+ * 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).
+
* Makerules [install-lib-non.a]: Find these things with $(objpfx)
instead of $(common-objpfx).
ac_help="$ac_help
--with-gettext=DIR find GNU gettext source code in DIR (not needed)"
ac_help="$ac_help
- --with-fp if using floating-point hardware"
+ --with-fp if using floating-point hardware default=yes"
ac_help="$ac_help
--with-gnu-binutils if using GNU binutils (as and ld)"
ac_help="$ac_help
several highly-optimized string functions for i@var{x}86 processors.
@item
+The math functions are taken from @code{fdlibm-5.1} by Sun
+Microsystems, as modified by J.T. Conklin and Ian Lance Taylor.
+
+@item
The Internet-related code (most of the @file{inet} subdirectory) and
several other miscellaneous functions and header files have been
included from 4.4 BSD with little or no modification.
# Sysdep dirs unix/... can contain a file syscalls.list,
# which specifies objects to be compiled as simple Unix system calls.
--include $(objpfx)sysd-syscalls
+-include $(common-objpfx)sysd-syscalls
omit-deps += $(unix-syscalls)
ifeq (misc,$(subdir))
export sysdirs
export asm_CPP := $(COMPILE.S) -E -x assembler-with-cpp
-$(objpfx)sysd-syscalls: $(..)sysdeps/unix/make-syscalls.sh \
- $(wildcard $(+sysdep_dirs:%=%/syscalls.list))
+$(common-objpfx)sysd-syscalls: $(..)sysdeps/unix/make-syscalls.sh \
+ $(wildcard $(+sysdep_dirs:%=%/syscalls.list))
for dir in $$sysdirs; do \
test -f $(..)sysdeps/$$dir/syscalls.list && \
{ $(SHELL) $(dir $<)$(notdir $<) \
ifndef no_deps
# These deps use file names relative to a subdir, so don't
# include them in the parent directory.
--include $(objpfx)s-proto.d
+-include $(common-objpfx)s-proto.d
endif
endif
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 \
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)) \
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