5 default_CONFIG = CONFIG_LOCK_CHECKING=n HAVE_PRIO_INHERIT=y
7 config_include_HEADERS = robot_config.h
8 robot_config_DEFINES = CONFIG_LOCK_CHECKING HAVE_PRIO_INHERIT
10 bin_PROGRAMS += homologation
11 homologation_SOURCES = homologation.cc
13 # Library with general support functions for the robot
14 lib_LIBRARIES += robot
15 robot_SOURCES = robot_orte.c robot.c fsmmove.cc movehelper.cc \
16 motion-control.cc map_handling.c \
18 robot_GEN_SOURCES = roboevent.c
19 include_GEN_HEADERS += roboevent.h
21 include_HEADERS += robot.h movehelper.h robot_orte.h actuators.h
23 lib_LIBRARIES += actlib
24 actlib_SOURCES = actuators.c
26 # Libraries linked to all programs in this Makefile
27 lib_LOADLIBES = robot mcl robomath roboorte robottype pthread rt m \
28 orte pathplan sharp map fsm rbtree motion robodim \
31 # Automatic generation of event definition files
32 include-pass_HOOKS = roboevent.c roboevent.h
34 roboevent.c roboevent.h: $(SOURCES_DIR)/roboevent.py $(SOURCES_DIR)/../fsm/eventgen.py
35 @$(QUIET_CMD_ECHO) " EVENTGEN roboevent"
36 $(Q)python $(SOURCES_DIR)/../fsm/eventgen.py $<
39 $(Q)rm -f roboevent.c roboevent.h