* sysdeps/mach/Makefile (mach-before-compile): Don't include

mach_interface.h here, since not all variants use that name.
This commit is contained in:
Roland McGrath 2002-02-17 07:22:56 +00:00
parent 61c83c3f05
commit 690a2f7da6
2 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2002-02-16 Roland McGrath <roland@frob.com>
* sysdeps/mach/Makefile (mach-before-compile): Don't include
mach_interface.h here, since not all variants use that name.
* sysdeps/mach/configure.in: Add some checks for Mach headers
to ensure a sane installation.
(mach_interface_list): Define this variable by checking for .defs

View File

@ -1,4 +1,4 @@
# Copyright (C) 1993, 1994, 1996, 1997 Free Software Foundation, Inc.
# Copyright (C) 1993,94,96,97,2002 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
@ -29,9 +29,13 @@ ifneq (mach,$(subdir))
mach-objpfx = $(common-objpfx)mach/
# These are all the generated files that <mach.h> includes.
# Actually, it's only some of them. We omit mach_interface.h
# because it's different in Darwin and the conditional crap is
# too much trouble. This should suffice for getting the mach/Makefile
# rules invoked when they need to be.
mach-before-compile := $(mach-objpfx)mach-shortcuts.h \
$(patsubst %,$(mach-objpfx)mach/mach_%.h,\
interface port host)
port host)
# This patsubst generates patterns like `m%h-shortcuts.h', which are damn
# likely to match just the corresponding particular file we want.