From 3c5edd4dc680911b5dd1bd9a0c2b55cc134b6a46 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 4 Jan 1999 12:33:59 +0000 Subject: Update. 1999-01-04 Ulrich Drepper * catgets/gencat.c: Update year in copyright message text. * db2/makedb.c: Likewise. * debug/catchsegv.sh: Likewise. * elf/ldd.bash.in: Likewise. * iconv/iconv_prog.c: Likewise. * locale/programs/locale.c: Likewise. * locale/programs/localedef.c: Likewise. * malloc/mtrace.pl: Likewise. * nscd/nscd.c: Likewise. 1999-01-02 Philip Blundell * sunrpc/Makefile: Ensure that we really use the right path for cpp. 1999-01-03 Philip Blundell * Makefile (tests-clean): New test output files. * Makerules (do-tests-clean): New rule to support the above. * Rules (subdir_testclean): Likewise. 1999-01-03 Andreas Schwab * iconv/Makefile: Use install-others instead of explicit dependency on subdir_install. 1999-01-02 Andreas Schwab * iconv/gconv_db.c (find_derivation): Release lock before returning. (__gconv_find_transform): Likewise. 1999-01-01 Andreas Schwab * inet/ether_ntoa.c (ether_ntoa): Make `asc' static since that's what we return. 1999-01-01 Andreas Schwab * Makerules: Remove all references to obsolete variables tests-static and test-srcs-static. * Make-dist: Likewise. * Rules: Likewise. Remove rules to generate obsolete empty.{c,o*}. 1999-01-03 Philip Blundell * sysdeps/unix/sysv/linux/arm/pread.c: Use the i386 implementation. * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise. * sysdeps/unix/sysv/linux/arm/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise. --- Rules | 48 ++++++++---------------------------------------- 1 file changed, 8 insertions(+), 40 deletions(-) (limited to 'Rules') diff --git a/Rules b/Rules index 5f45413aa7..a5a0c5bf8f 100644 --- a/Rules +++ b/Rules @@ -1,4 +1,4 @@ -# Copyright (C) 1991, 92, 93, 94, 95, 96, 97, 98 Free Software Foundation, Inc. +# Copyright (C) 1991,92,93,94,95,96,97,98,99 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 @@ -75,10 +75,7 @@ endef $(common-objpfx)dummy.c: rm -f $@ echo 'void __dummy__ (void) { }' > $@ -$(common-objpfx)empty.c: - cp -f /dev/null $@ -common-generated += dummy.o dummy.c empty.c \ - $(addprefix empty,$(object-suffixes)) +common-generated += dummy.o dummy.c # This makes all the auxiliary and test programs. @@ -90,22 +87,16 @@ others: $(addprefix $(objpfx),$(extra-objs)) endif ifeq ($(cross-compiling),yes) tests: $(addprefix $(objpfx),$(tests) $(test-srcs)) -ifeq ($(build-static),yes) -tests: $(addprefix $(objpfx),$(tests-static)) -endif else tests: $(tests:%=$(objpfx)%.out) -ifeq ($(build-static),yes) -tests: $(tests-static:%=$(objpfx)%.sout) -endif endif ifeq ($(build-programs),yes) binaries-all = $(others) $(sysdep-others) $(tests) $(test-srcs) -binaries-static = $(others-static) $(tests-static) $(test-srcs-static) +binaries-static = $(others-static) else binaries-all = $(tests) $(test-srcs) -binaries-static = $(tests-static) $(test-srcs-static) +binaries-static = endif binaries-shared = $(filter-out $(binaries-static), $(binaries-all)) @@ -136,26 +127,14 @@ $(objpfx)%.out: %.input $(objpfx)% $(objpfx)%.out: /dev/null $(objpfx)% # Make it 2nd arg for canned sequence. $($*-ENV) $(built-program-cmd) > $@ endif # tests - -ifneq "$(strip $(tests-static) $(test-static-srcs))" "" -# These are the implicit rules for making test outputs -# from the test programs and whatever input files are present. -$(objpfx)%.sout: %.args $(objpfx)% %.input - $($*-ENV) $(built-program-file) `cat $(word 1,$^)` < $(word 3,$^) > $@ -$(objpfx)%.sout: %.args $(objpfx)% - $($*-ENV) $(built-program-file) `cat $(word 1,$^)` > $@ -$(objpfx)%.sout: %.input $(objpfx)% - $($*-ENV) $(built-program-file) < $(word 1,$^) > $@ -$(objpfx)%.sout: /dev/null $(objpfx)% # Make it 2nd arg for canned sequence. - $($*-ENV) $(built-program-file) > $@ -endif # tests .PHONY: distclean realclean subdir_distclean subdir_realclean \ - subdir_clean subdir_mostlyclean + subdir_clean subdir_mostlyclean subdir_testclean subdir_mostlyclean: mostlyclean subdir_clean: clean subdir_distclean: distclean subdir_realclean: realclean +subdir_testclean: do-tests-clean realclean: distclean distclean: clean @@ -187,19 +166,8 @@ generated: $(addprefix $(common-objpfx),$(common-generated)) \ .PHONY: before-compile before-compile: $(before-compile) -define o-iterator-doit -$(common-objpfx)empty$o: $(common-objpfx)empty.c $(before-compile); - $$(compile-command.c) -endef -object-suffixes-left := $(object-suffixes) -include $(o-iterator) - -define o-iterator-doit -$(common-objpfx)dummy$o: $(common-objpfx)dummy.c $(before-compile); - $$(compile-command.c) -endef -object-suffixes-left := $(object-suffixes) -include $(o-iterator) +$(common-objpfx)dummy.o: $(common-objpfx)dummy.c $(before-compile); + $(compile-command.c) # There's no good place to put this - here will do. # The dependencies are wrong if it's run from the top level. -- cgit v1.2.3