summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1997-08-08 00:35:33 +0000
committerUlrich Drepper <drepper@redhat.com>1997-08-08 00:35:33 +0000
commit21b29282a26415a96e2f84c38c48d5c215ce1bb8 (patch)
tree0f28764278cbe8353229c74215f685fc8725b40e
parent181e1431e49988869b003be6c562893a13741cf6 (diff)
($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete this
rule. Give normal rules for the mach RPC source included by profil.c instead of trying to use before-compile grot. (before-compile): Add the mach RPC source files that profil.c needs if we are in the gmon directory.
-rw-r--r--sysdeps/mach/hurd/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile
index 618ad1d3e4..bf1c3b02bc 100644
--- a/sysdeps/mach/hurd/Makefile
+++ b/sysdeps/mach/hurd/Makefile
@@ -36,7 +36,6 @@ inhibit-unix-syscalls = yes
# be compatible with some existing binaries for that system.
inhibit-glue = yes
-
ifeq (,$(filter mach hurd,$(subdir)))
# Subdirectories other than hurd/ might use the generated Hurd headers.
# So make sure we get a chance to run in hurd/ to make them before all else.
@@ -51,6 +50,12 @@ $(patsubst %,$(hurd-objpfx)hurd/%.%,auth io fs process):
$(MAKE) -C $(..)hurd generated no_deps=t
endif
+# Hurd profil.c includes this file, so give a rule to make it.
+ifeq ($(subdir),gmon)
+$(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c:
+ $(MAKE) -C $(..)mach generated no_deps=t
+endif
+
# Generate errnos.h from the section of the manual that lists all the errno
# codes.