summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.am4
-rw-r--r--Makerules.am14
3 files changed, 13 insertions, 11 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f7a63b..1c05a0b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-06-02 Thomas Schwinge <tschwinge@gnu.org>
+
+ * Makefile.am (MIGFLAGS): Remove.
+ (MIGCOM): Add ``-n''.
+ * Makerules.am: Adapt to that.
+
2007-05-09 Thomas Schwinge <tschwinge@gnu.org>
* include/mach/mach_types.defs (userprefix, serverprefix): Set, if
diff --git a/Makefile.am b/Makefile.am
index a2cf47f..05c56ce 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -76,9 +76,7 @@ AM_CCASFLAGS += \
#
# MIGCOM.
-MIGCOM = $(MIG) -cc cat - /dev/null
-
-MIGFLAGS =
+MIGCOM = $(MIG) -n -cc cat - /dev/null
# We need this because we use $(CPP) to preprocess MIG .defs files.
CPP = @CPP@ -x c
diff --git a/Makerules.am b/Makerules.am
index 18d5820..2f209c3 100644
--- a/Makerules.am
+++ b/Makerules.am
@@ -49,13 +49,12 @@ EXTRA_DIST += \
%.server.h %.server.c %.server.msgids: lib_dep_tr_for_defs_a-%.server.defs.$(OBJEXT)
$(MIGCOM) $(MIGCOMFLAGS) $(MIGCOMSFLAGS) \
-sheader $*.server.h -server $*.server.c \
- -user /dev/null -header /dev/null \
-list $*.server.msgids \
< $<
%.user.h %.user.c %.user.msgids: lib_dep_tr_for_defs_a-%.user.defs.$(OBJEXT)
- $(MIGCOM) $(MIGCOMFLAGS) $(MIGCOMUFLAGS) \
- -user $*.user.c -server /dev/null -header $*.user.h \
- -list $*.user.msgids \
+ $(MIGCOM) $(MIGCOMFLAGS) $(MIGCOMUFLAGS) \
+ -user $*.user.c -header $*.user.h \
+ -list $*.user.msgids \
< $<
# TODO. Get rid of the .srv files and rather use .defs files and MIG*SFLAGS?
@@ -66,7 +65,6 @@ EXTRA_DIST += \
#%.server.h %.server.c %.server.msgids: %.server.defs
# $(MIGCOM) $(MIGCOMFLAGS) $(MIGCOMSFLAGS) \
# -sheader $*.server.h -server $*.server.c \
-# -user /dev/null -header /dev/null \
# -list $*.server.msgids \
# < $<
# TODO. Get rid of the .cli files and rather use .defs files and MIG*UFLAGS?
@@ -75,9 +73,9 @@ EXTRA_DIST += \
#%.user.defs: %.defs
# $(CPP) $(AM_CPPFLAGS) $(CPPFLAGS) $(MIGUFLAGS) -o $@ $<
#%.user.h %.user.c %.user.msgids: %.user.defs
-# $(MIGCOM) $(MIGCOMFLAGS) $(MIGCOMUFLAGS) \
-# -user $*.user.c -server /dev/null -header $*.user.h \
-# -list $*.user.msgids \
+# $(MIGCOM) $(MIGCOMFLAGS) $(MIGCOMUFLAGS) \
+# -user $*.user.c -header $*.user.h \
+# -list $*.user.msgids \
# < $<
#