summaryrefslogtreecommitdiff
path: root/Makerules.mig.am
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2014-05-25 16:26:42 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-05-31 18:01:01 +0200
commit255c47e669819f153c722c98a230f6fe4e6ece08 (patch)
treeaae800c8f56e5587833d27e26d277ee82fa562ff /Makerules.mig.am
parent99a43d36c83d318f24edd8c6d80f060686a6c398 (diff)
Include the notify protocol in `gnumach.msgids'
* Makefrag.am (gnumach.msgids): Add `notify.msgids' as prerequisite. * Makerules.mig.am: Add rule to generate the list of message ids when neither the client nor the server stubs are required. * ipc/notify.defs: New file.
Diffstat (limited to 'Makerules.mig.am')
-rw-r--r--Makerules.mig.am10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makerules.mig.am b/Makerules.mig.am
index 3060984..085b247 100644
--- a/Makerules.mig.am
+++ b/Makerules.mig.am
@@ -88,6 +88,16 @@ lib_dep_tr_for_defs_a_CPPFLAGS = $(AM_CPPFLAGS) \
-list $*.user.msgids \
< $<
+vpath %.defs $(top_srcdir)
+
+# Stand-alone rule to generate the list of message ids when neither
+# the client nor the server stubs are required.
+%.msgids: %.defs
+ $(MIGCOM_V) $(CPP) $(AM_CPPFLAGS) $(CPPFLAGS) -E $< \
+ | $(MIGCOM) $(MIGCOMFLAGS) $(MIGCOMSFLAGS) \
+ -sheader /dev/null -server /dev/null \
+ -list "$*.msgids"
+
# This is how it should be done, but this is not integrated into GNU Automake
# and is missing automatic inter-file dependency management because of that.