(subdir-stubs): Look for stubs files inside the subdirs.
authordrepper <drepper>
Fri, 1 May 1998 21:58:11 +0000 (21:58 +0000)
committerdrepper <drepper>
Fri, 1 May 1998 21:58:11 +0000 (21:58 +0000)
Makefile

index 81ab1c0..63d3610 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -195,11 +195,12 @@ $(objpfx)version-info.h: $(+sysdir_pfx)config.make $(all-Banner-files)
 version.c-objects := $(addprefix $(objpfx)version,$(object-suffixes))
 $(version.c-objects): $(objpfx)version-info.h
 \f
-# Makerules creates a file `stub-$(subdir)' for each subdirectory, which
-# contains `#define __stub_FUNCTION' for each function which is a stub.
+# Makerules creates a file `stubs' in each subdirectory, which
+# contains `#define __stub_FUNCTION' for each function defined in that
+# directory which is a stub.
 # Here we paste all of these together into <gnu/stubs.h>.
 
-subdir-stubs := $(foreach dir,$(subdirs),$(common-objpfx)stub-$(dir))
+subdir-stubs := $(foreach dir,$(subdirs),$(common-objpfx)$(dir)/stubs)
 
 # Since stubs.h is never needed when building the library, we simplify the
 # hairy installation process by producing it in place only as the last part