summaryrefslogtreecommitdiff
path: root/Makeconf
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-12-22 20:45:52 +0000
committerRoland McGrath <roland@gnu.org>2001-12-22 20:45:52 +0000
commit4e0023a43e58ae76b123fe48443c32c2e0a7fcf4 (patch)
treeb76343ecf596a75e6feddc33b1bac7859308ef18 /Makeconf
parent15a13967b14c64d8d134ffe59ec8964e75561643 (diff)
2001-12-22 Roland McGrath <roland@frob.com>
* Makeconf (MIGCOMFLAGS): New variable, set -subrprefix __ here. (%_S.h %Server.c rule, %_U.h %User.c rule): Pass that to $(MIGCOM).
Diffstat (limited to 'Makeconf')
-rw-r--r--Makeconf7
1 files changed, 5 insertions, 2 deletions
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.