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 fsmact.c map_handling.c \
20 match-timing.c eb2010misc.cc
21 robot_GEN_SOURCES = roboevent.c
22 include_GEN_HEADERS += roboevent.h
24 include_HEADERS += robot.h movehelper.h robot_orte.h actuators.h
26 lib_LIBRARIES += actlib
27 actlib_SOURCES = actuators.c
29 lib_LIBRARIES += cornslib
30 cornslib_SOURCES = corns_configs.c
32 # Libraries linked to all programs in this Makefile
33 lib_LOADLIBES = robot mcl robomath roboorte robottype \
34 pthread rt m orte pathplan sharp map fsm \
35 rbtree motion robodim actlib cornslib
37 # Automatic generation of event definition files
38 include-pass_HOOKS = roboevent.c roboevent.h
40 roboevent.c roboevent.h: $(SOURCES_DIR)/roboevent.py $(SOURCES_DIR)/../fsm/eventgen.py
41 @$(QUIET_CMD_ECHO) " EVENTGEN roboevent"
42 $(Q)python $(SOURCES_DIR)/../fsm/eventgen.py $<
45 $(Q)rm -f roboevent.c roboevent.h