From 255c47e669819f153c722c98a230f6fe4e6ece08 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Sun, 25 May 2014 16:26:42 +0200 Subject: 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. --- Makerules.mig.am | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Makerules.mig.am') 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. -- cgit v1.2.3