From 37eb58de74f83860949407c88088bf55964157e5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 18 Oct 1998 23:19:12 +0000 Subject: 1998-08-06 Mark Kettenis [submitted 1998-08-06] * mach/Machrules: Create target directory and force re-evaluation of Makefile to prevent `make' from optimizing away most of the implicit rules and `vpath' directives. * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): If _hurd_msgport_thread is null, short-circuit to __mach_msg. --- mach/Machrules | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mach/Machrules') diff --git a/mach/Machrules b/mach/Machrules index b5a6622691..c52db8e961 100644 --- a/mach/Machrules +++ b/mach/Machrules @@ -44,6 +44,15 @@ endif include ../Makeconfig +# This makefile contains a lot of implicit rules that get optimized +# away if the target directory does not exist. +ifndef no_deps +-include $(objpfx)dummy.mk +endif +$(objpfx)dummy.mk: + $(make-target-directory) + echo '# Empty' > $@ + MIGFLAGS = -DMACH_IPC_COMPAT=0 -DSTANDALONE -DTypeCheck=0 \ $(+includes) $(migdefines) -subrprefix __ -- cgit v1.2.3