diff options
Diffstat (limited to 'sysdeps/mach/hurd/Makefile')
-rw-r--r-- | sysdeps/mach/hurd/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sysdeps/mach/hurd/Makefile b/sysdeps/mach/hurd/Makefile index b528815e0c..3845c57c14 100644 --- a/sysdeps/mach/hurd/Makefile +++ b/sysdeps/mach/hurd/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1993-2015 Free Software Foundation, Inc. +# Copyright (C) 1993-2016 Free Software Foundation, Inc. # This file is part of the GNU C Library. # The GNU C Library is free software; you can redistribute it and/or @@ -46,15 +46,16 @@ hurd-objpfx = $(common-objpfx)hurd/ # These are all the generated headers that <hurd.h> includes. before-compile += $(patsubst %,$(hurd-objpfx)hurd/%.h,auth io fs process) -$(patsubst %,$(hurd-objpfx)hurd/%.%,auth io fs process): \ - $(common-objpfx)mach/mach-shortcuts.h - $(MAKE) -C $(..)hurd before-compile no_deps=t +$(patsubst %,$(hurd-objpfx)hurd/%.h,auth io fs process): hurd-before-compile +.PHONY: hurd-before-compile +hurd-before-compile: $(common-objpfx)mach/mach-shortcuts.h + $(MAKE) -C $(..)hurd subdir=hurd before-compile 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 before-compile no_deps=t + $(MAKE) -C $(..)mach subdir=mach before-compile no_deps=t endif |