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 += competition
11 competition_SOURCES = competition.cc \
14 #bin_PROGRAMS += homologation
15 #homologation_SOURCES = homologation.cc
17 # Library with general support functions for the robot
18 lib_LIBRARIES += robot
19 robot_SOURCES = robot_orte.c robot.c fsmmove.cc movehelper.cc \
20 motion-control.cc map_handling.cc \
22 robot_GEN_SOURCES = roboevent.c
23 include_GEN_HEADERS += roboevent.h
25 include_HEADERS += robot.h movehelper.h robot_orte.h actuators.h
27 lib_LIBRARIES += actlib
28 actlib_SOURCES = actuators.c
30 # Libraries linked to all programs in this Makefile
31 lib_LOADLIBES = robot mcl robomath roboorte robottype pthread rt m \
32 orte pathplan sharp map fsm rbtree motion robodim \
33 actlib ulut shape_detect
35 # Automatic generation of event definition files
36 include-pass_HOOKS = roboevent.c roboevent.h
38 roboevent.c roboevent.h: $(SOURCES_DIR)/roboevent.py $(SOURCES_DIR)/../fsm/eventgen.py
39 @$(QUIET_CMD_ECHO) " EVENTGEN roboevent"
40 $(Q)python $(SOURCES_DIR)/../fsm/eventgen.py $<
43 $(Q)rm -f roboevent.c roboevent.h