1 # ORTE IDL compilation of robot types
3 include_GEN_HEADERS += robottype.h
4 lib_LIBRARIES = robottype
5 robottype_GEN_SOURCES = robottype.c
7 include-pass_HOOKS += robottype.c
9 robottype.c robottype.h: $(SOURCES_DIR)/robottype.idl
10 @$(QUIET_CMD_ECHO) " IDL $@"
14 # Robot's ORTE library (automatically generated from robottype.ortegen)
15 include-pass_HOOKS += roboorte_robottype.c roboorte_robottype.h
17 roboorte_robottype.c roboorte_robottype.h: $(SOURCES_DIR)/robottype.ortegen $(SOURCES_DIR)/roboortegen.pl
18 @$(QUIET_CMD_ECHO) " ROBOORTE $@"
19 $(Q)perl -Mlib=$(SOURCES_DIR) $(SOURCES_DIR)/roboortegen.pl $<
21 $(SOURCES_DIR)/roboortegen.pl: $(SOURCES_DIR)/config.pl
23 lib_LIBRARIES += roboorte
24 roboorte_GEN_SOURCES = roboorte_robottype.c
25 include_GEN_HEADERS += roboorte_robottype.h