From 4e0023a43e58ae76b123fe48443c32c2e0a7fcf4 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sat, 22 Dec 2001 20:45:52 +0000 Subject: 2001-12-22 Roland McGrath * Makeconf (MIGCOMFLAGS): New variable, set -subrprefix __ here. (%_S.h %Server.c rule, %_U.h %User.c rule): Pass that to $(MIGCOM). --- Makeconf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makeconf') diff --git a/Makeconf b/Makeconf index 94e064bd..d59d2147 100644 --- a/Makeconf +++ b/Makeconf @@ -459,6 +459,9 @@ vpath libutil.% $(libdir)/ # How to build RPC stubs +# We always need this setting, because libc does not include the bogus names. +MIGCOMFLAGS := -subrprefix __ + # User settable variables: # MIGSFLAGS flags to CPP when building server stubs and headers # foo-MIGSFLAGS same, but only for interface `foo' @@ -476,7 +479,7 @@ vpath libutil.% $(libdir)/ # But it's convenient to be able to explicitly make the intermediate # files when you want to deal with a problem in the MiG stub generator. %_S.h %Server.c: %.sdefsi - $(MIGCOM) $(MIGCOMSFLAGS) $($*-MIGCOMSFLAGS) \ + $(MIGCOM) $(MIGCOMFLAGS) $(MIGCOMSFLAGS) $($*-MIGCOMSFLAGS) \ -sheader $*_S.h -server $*Server.c \ -user /dev/null -header /dev/null < $< %.sdefsi: %.defs @@ -484,7 +487,7 @@ vpath libutil.% $(libdir)/ %.udefsi: %.defs $(CPP) $(CPPFLAGS) $(MIGUFLAGS) $($*-MIGUFLAGS) $< -o $@ %_U.h %User.c: %.udefsi - $(MIGCOM) $(MIGCOMUFLAGS) $($*-MIGCOMUFLAGS) < $< \ + $(MIGCOM) $(MIGCOMFLAGS) $(MIGCOMUFLAGS) $($*-MIGCOMUFLAGS) < $< \ -user $*User.c -server /dev/null -header $*_U.h # Where to find .defs files. -- cgit v1.2.3