summary refs log tree commit diff
path: root/mach
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-10-18 23:19:12 +0000
committerRoland McGrath <roland@gnu.org>1998-10-18 23:19:12 +0000
commit37eb58de74f83860949407c88088bf55964157e5 (patch)
treeef9e61b44209053837e93e468c1d7cadd822de3f /mach
parenta13d5ca5e475ba92fa1aaf909f2f24bc88f3f205 (diff)
downloadglibc-37eb58de74f83860949407c88088bf55964157e5.tar.gz
glibc-37eb58de74f83860949407c88088bf55964157e5.tar.xz
glibc-37eb58de74f83860949407c88088bf55964157e5.zip
1998-08-06 Mark Kettenis <kettenis@phys.uva.nl>
	[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.
Diffstat (limited to 'mach')
-rw-r--r--mach/Machrules9
1 files changed, 9 insertions, 0 deletions
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 __