1 /* Might
as well be
-*- C
-*-.
3 This generates a makefile that sets the variable pairs
4 nacl-MODULE-mandatory-interfaces and nacl-MODULE-optional-interfaces
5 based on the nacl-interface-list.h list.
*/
7 %define NACL_MANDATORY_INTERFACE
(module
, id
, type
) \
8 nacl-mandatory-interfaces
+= module-type
9 %define NACL_OPTIONAL_INTERFACE
(module
, id
, type
) \
10 nacl-optional-interfaces
+= module-type
12 %include "nacl-interface-list.h"
14 %undef NACL_MANDATORY_INTERFACE
15 %undef NACL_OPTIONAL_INTERFACE
17 %define NACL_MANDATORY_INTERFACE
(module
, id
, type
) \
18 nacl-module-type-string
:= id
19 %define NACL_OPTIONAL_INTERFACE
(module
, id
, type
) \
20 nacl-module-type-string
:= id
22 %include "nacl-interface-list.h"
24 %undef NACL_MANDATORY_INTERFACE
25 %undef NACL_OPTIONAL_INTERFACE