From: Ulrich Drepper Date: Fri, 8 Aug 1997 00:35:33 +0000 (+0000) Subject: ($(common-objpfx)hurd/../mach/RPC_vm_deallocate_rpc.c): Delete this X-Git-Tag: cvs/glibc-2_0_5pre2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21b29282a26415a96e2f84c38c48d5c215ce1bb8;p=thirdparty%2Fglibc.git ($(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. --- diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile index 618ad1d3e43..bf1c3b02bc5 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.