]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete this
authorUlrich Drepper <drepper@redhat.com>
Fri, 8 Aug 1997 00:35:33 +0000 (00:35 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 8 Aug 1997 00:35:33 +0000 (00:35 +0000)
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.

sysdeps/mach/hurd/Makefile

index 618ad1d3e43e0fb93fbb03f49c8fa3a66efead64..bf1c3b02bc51c0cedc4b4c18060c43cf9bec7219 100644 (file)
@@ -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
+
 \f
 # Generate errnos.h from the section of the manual that lists all the errno
 # codes.