aboutsummaryrefslogtreecommitdiff
path: root/Makerules
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-05-08 22:40:39 +0000
committerRoland McGrath <roland@gnu.org>1996-05-08 22:40:39 +0000
commitf0523145cc30a32daa64dd0bd5661b0b204f00da (patch)
tree98b41e707e39b9f8bb37bebbc6602adf16ea4a08 /Makerules
parentc17097f1523ac68c1f65f5bee122dc297ad40455 (diff)
downloadglibc-f0523145cc30a32daa64dd0bd5661b0b204f00da.zip
glibc-f0523145cc30a32daa64dd0bd5661b0b204f00da.tar.gz
glibc-f0523145cc30a32daa64dd0bd5661b0b204f00da.tar.bz2
* Makerules (install-lib.so rules): Undouble $s in target and dep
parts of o-iterator-doit defns. (unversioned libraries install rule): Fix pattern. * mach/Makefile (mach-src-headers): Use $(base-machine) instead of $(config-machine). ($(includedir)/machine): Likewise. * config.make.in (base-machine): New variable. * configure.in (machine): Move case stmt to set $machine out of sysdep dirs AC_CACHE_CHECK. (base_machine): New variable, set in that switch and AC_SUBST'd. * Makerules (stub-$(subdir)): Use file name in directory as output, since cmd is cd'd.
Diffstat (limited to 'Makerules')
-rw-r--r--Makerules10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makerules b/Makerules
index 47e5fb8..d206a6e 100644
--- a/Makerules
+++ b/Makerules
@@ -558,7 +558,7 @@ versioned := $(foreach so,$(install-lib.so),\
# Install all the unversioned shared libraries.
$(addprefix $(libdir)/,$(filter-out $(versioned),$(install-lib.so))): \
-$(libdir)/%: $(objpfx)lib%.so; $(do-install-program)
+$(libdir)/%.so: $(objpfx)%.so; $(do-install-program)
make-link = cd $(@D); rm -f $(@F); $(LN_S) $(<F) $(@F)
@@ -581,19 +581,19 @@ ifneq (,$(versioned))
# Produce three sets of rules as above for all the smaller versioned libraries.
define o-iterator-doit
-$$(libdir)/$o: $$(libdir)/$o$$($o-version); $$(make-link)
+$(libdir)/$o: $(libdir)/$o$($o-version); $$(make-link)
endef
object-suffixes-left := $(versioned)
include $(..)o-iterator.mk
define o-iterator-doit
-$$(libdir)/$o$$($o-version): $$(libdir)/$(o:.so=)-$$(version).so; $$(make-link)
+$(libdir)/$o$($o-version): $(libdir)/$(o:.so=)-$(version).so; $$(make-link)
endef
object-suffixes-left := $(versioned)
include $(..)o-iterator.mk
define o-iterator-doit
-$$(libdir)/$(o:.so=)-$$(version).so: $$(objpfx)$o; $$(do-install-program)
+$(libdir)/$(o:.so=)-$(version).so: $(objpfx)$o; $$(do-install-program)
endef
object-suffixes-left := $(versioned)
include $(..)o-iterator.mk
@@ -744,7 +744,7 @@ $(common-objpfx)stub-$(subdir): $(+depfiles)
sed -n 's/^stub_warning *(\([^)]*\).*$$/#define __stub_\1/p' \
`sed -n 's@^.*$s/\([a-z0-9_-]*\.c\).*$$@'"$$s"/'\1@p' \
$(patsubst $(objpfx)%,%,$^) /dev/null` \
- /dev/null > $@T
+ /dev/null > $(@F)T
mv -f $@T $@
# Make the distribution tar file.