summaryrefslogtreecommitdiff
path: root/mach
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 /mach
parentc17097f1523ac68c1f65f5bee122dc297ad40455 (diff)
* 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 'mach')
-rw-r--r--mach/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/mach/Makefile b/mach/Makefile
index b48cabfeb2..747a6bfead 100644
--- a/mach/Makefile
+++ b/mach/Makefile
@@ -68,7 +68,7 @@ vpath %.defs $(mach-srcdir)
# Install all .h and .defs files we find in some of the kernel's source
# directories and their subdirectories (in MK82, max one level deep).
mach-src-headers := $(wildcard $(foreach dir,mach device mach_debug \
- $(config-machine),\
+ $(base-machine),\
$(addprefix $(mach-srcdir)/$(dir)/,\
*.defs *.h \
*/*.defs */*.h)))
@@ -91,7 +91,7 @@ $(includedir)/%: $(mach-srcdir)/%; $(do-install)
install-others += $(includedir)/mach/machine $(includedir)/machine
$(includedir)/mach/machine $(includedir)/machine: $(common-objpfx)config.make
-rm -f $@
- cd $(@D); ln -s $(config-machine) $(@F)
+ cd $(@D); ln -s $(base-machine) $(@F)
# Install Mach's <sys/version.h> as <mach/version.h>.
install-others += $(includedir)/mach/version.h