# ORTE IDL compilation of robot types include_GEN_HEADERS += robottype.h lib_LIBRARIES = robottype robottype_GEN_SOURCES = robottype.c include-pass_HOOKS += robottype.c robottype.c robottype.h: $(SOURCES_DIR)/robottype.idl @$(QUIET_CMD_ECHO) " IDL $@" $(Q)$(idl_COMPILE) $< # Robot's ORTE library (automatically generated from robottype.ortegen) include-pass_HOOKS += roboorte_robottype.c roboorte_robottype.h roboorte_robottype.c roboorte_robottype.h: $(SOURCES_DIR)/robottype.ortegen $(SOURCES_DIR)/roboortegen.pl @$(QUIET_CMD_ECHO) " ROBOORTE $@" $(Q)perl -Mlib=$(SOURCES_DIR) $(SOURCES_DIR)/roboortegen.pl $< $(SOURCES_DIR)/roboortegen.pl: $(SOURCES_DIR)/config.pl lib_LIBRARIES += roboorte roboorte_GEN_SOURCES = roboorte_robottype.c include_GEN_HEADERS += roboorte_robottype.h