From a1c46301bb74628aba2d86340024159f6f5d344a Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 14 Feb 1996 06:39:32 +0000 Subject: * posix/execvp.c: When executing shell on script, first arg is full file name, not argv[0]. * mach/Makefile [no_deps]: Inhibit inclusion of mach-syscalls.mk. * mach/Machrules [no_deps]: Inhibit interface rules. --- mach/Machrules | 4 +++- mach/Makefile | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'mach') diff --git a/mach/Machrules b/mach/Machrules index 843f06f7dd..d4e9ea0475 100644 --- a/mach/Machrules +++ b/mach/Machrules @@ -1,6 +1,6 @@ # Rules for MiG interfaces that want to go into the C library. -# Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. +# Copyright (C) 1991, 92, 93, 94, 95, 96 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 @@ -58,9 +58,11 @@ define nl # This is needed by *.ir. endef ifdef user-interfaces *.ir := $(addprefix $(objpfx),$(foreach if,$(user-interfaces),$(if).ir)) +ifndef no_deps ifndef inhibit_interface_rules include $(*.ir) endif +endif ifneq "$(*.ir)" "$(wildcard $(*.ir))" # If any .ir file is missing, we will be unable to make all the deps. no_deps=t diff --git a/mach/Makefile b/mach/Makefile index bfabc33185..b48cabfeb2 100644 --- a/mach/Makefile +++ b/mach/Makefile @@ -1,4 +1,4 @@ -# Copyright (C) 1991, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. +# Copyright (C) 1991, 92, 93, 94, 95, 96 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 @@ -45,7 +45,7 @@ user-interfaces := $(addprefix mach/,mach_interface mach_port mach_host \ default_pager default_pager_helper \ )\ $(addprefix device/,device device_request) -server-interfaces := mach/exc +server-interfaces := mach/exc tests := hello # It is important that we do not use the wildcard function to expand # `err_*.sub'. Leaving the wildcard allows Make-dist to find all matching @@ -98,9 +98,11 @@ install-others += $(includedir)/mach/version.h $(includedir)/mach/version.h: $(mach-srcdir)/sys/version.h; $(do-install) # Define mach-syscalls and sysno-*. +ifndef no_deps ifndef inhibit_mach_syscalls include $(objpfx)mach-syscalls.mk endif +endif $(objpfx)mach-syscalls.mk: mach/syscall_sw.h syscalls.awk # Go kludges!!! sed -n -e '/Unix server implement them/,$$d' \ -- cgit v1.2.3