2020-12-30 | Paul Boddie | raw annotate files changeset graph | Make interface header export directories if necessary. |
1 define export_comp_interface_c_template = 2 ifdef IDL_EXPORT_DIR 3 $(1)_INT_IDL = $(call interfaces_to_idl,$(3)) 4 $(1)_INT_INC = $(call export_includes, $(call interfaces_to_interfaces_h,$(1))) 5 $(1)_INT_OPT = --comp=$(1) --comp-name=$(2) 6 7 $$($(1)_INT_INC): $$($(1)_INT_IDL) 8 -mkdir -p $(IDL_EXPORT_DIR) 9 $(IDL_PROG) -d $(IDL_EXPORT_DIR) $$($(1)_INT_OPT) --interfaces --language=c $$($(1)_INT_IDL) 10 endif 11 endef