about summary refs log tree commit diff
path: root/Rules
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-01-04 12:33:59 +0000
committerUlrich Drepper <drepper@redhat.com>1999-01-04 12:33:59 +0000
commit3c5edd4dc680911b5dd1bd9a0c2b55cc134b6a46 (patch)
tree084f88fb4c54c55864087c54d94bc7940a6c02b0 /Rules
parentdcac8408e04f993354bbc3a89a1a100d4a15baf0 (diff)
downloadglibc-3c5edd4dc680911b5dd1bd9a0c2b55cc134b6a46.tar.gz
glibc-3c5edd4dc680911b5dd1bd9a0c2b55cc134b6a46.tar.xz
glibc-3c5edd4dc680911b5dd1bd9a0c2b55cc134b6a46.zip
Update.
1999-01-04  Ulrich Drepper  <drepper@cygnus.com>

	* 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  <philb@gnu.org>

	* sunrpc/Makefile: Ensure that we really use the right path for cpp.

1999-01-03  Philip Blundell  <philb@gnu.org>

	* 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  <schwab@issan.cs.uni-dortmund.de>

	* iconv/Makefile: Use install-others instead of explicit
	dependency on subdir_install.

1999-01-02  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* iconv/gconv_db.c (find_derivation): Release lock before
	returning.
	(__gconv_find_transform): Likewise.

1999-01-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* inet/ether_ntoa.c (ether_ntoa): Make `asc' static since that's
	what we return.

1999-01-01  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* 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  <philb@gnu.org>

	* 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.
Diffstat (limited to 'Rules')
-rw-r--r--Rules48
1 files changed, 8 insertions, 40 deletions
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.