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
13 bin_PROGRAMS += homologation
14 homologation_SOURCES = homologation.cc
16 # Library with general support functions for the robot
17 lib_LIBRARIES += robot
18 robot_SOURCES = robot_orte.c robot.c fsmmove.cc movehelper.cc \
19 motion-control.cc fsmdisplay.c fsmact.c map_handling.c
20 robot_GEN_SOURCES = roboevent.c
21 include_GEN_HEADERS += roboevent.h
23 include_HEADERS += robot.h movehelper.h robot_orte.h actuators.h
25 lib_LIBRARIES += actlib
26 actlib_SOURCES = actuators.c
28 # Libraries linked to all programs in this Makefile
29 lib_LOADLIBES = robot mcl robomath roboorte robottype \
30 pthread rt m orte pathplan sharp map fsm uoled oledlib \
31 rbtree motion robodim sercom actlib \
34 # Automatic generation of event definition files
35 include-pass_HOOKS = roboevent.c roboevent.h
37 roboevent.c roboevent.h: $(SOURCES_DIR)/roboevent.py $(SOURCES_DIR)/../fsm/eventgen.py
38 @$(QUIET_CMD_ECHO) " EVENTGEN roboevent"
39 $(Q)python $(SOURCES_DIR)/../fsm/eventgen.py $<
42 $(Q)rm -f roboevent.c roboevent.h