]> rtime.felk.cvut.cz Git - eurobot/public.git/blob - src/robofsm/Makefile.omk
robofsm: moving unnecessary files to obsolete/.
[eurobot/public.git] / src / robofsm / Makefile.omk
1 # -*- makefile -*-
2
3 default_CONFIG = CONFIG_OPEN_LOOP=n
4 LOCAL_CONFIG_H = robot_config.h
5
6 # Test application for robot planning
7 #bin_PROGRAMS += rpl
8 #rpl_SOURCES = robot-planning.cc
9
10 bin_PROGRAMS += homologation
11 homologation_SOURCES = homologation.cc
12
13 bin_PROGRAMS += joystick
14 joystick_SOURCES = joystick.cc
15
16 bin_PROGRAMS += testpickup
17 testpickup_SOURCES = testpickup.cc
18
19 bin_PROGRAMS += testcollavoid
20 testcollavoid_SOURCES = testcollavoid.cc
21
22 bin_PROGRAMS += rectangle
23 rectangle_SOURCES = rectangle.cc
24
25 bin_PROGRAMS += line
26 line_SOURCES = line.cc
27
28 bin_PROGRAMS += odotest
29 odotest_SOURCES = odometry.cc
30
31 bin_PROGRAMS += follower
32 follower_SOURCES = follower.cc
33
34
35 # Test application for robot_goto
36 bin_PROGRAMS += goto
37 goto_SOURCES = robot_goto.cc
38
39 # Library with general support functions for the robot
40 lib_LIBRARIES += robot
41 robot_SOURCES = serva.c robot.c roboorte.c fsmmove.cc \
42                 fsmpickup.c fsmdet.c fsmjoy.c \
43                 movehelper.cc roboevent.c fsmdisplay.cc
44 include_HEADERS = robotdim.h
45
46 bin_PROGRAMS += test_timer
47 test_timer_SOURCES = test_timer.c
48
49 # Libraries linked to all programs in this Makefile
50 lib_LOADLIBES = robot fsm_loc mcl laser-nav robomath robottype pthread \
51                 rt m orte pathplan sharp map fsm rbtree motion
52
53 lib_LIBRARIES += fsm_loc
54 fsm_loc_SOURCES = fsmloc.c
55
56 # Automatic generation of event definition files
57 include-pass-local: $(SOURCES_DIR)/roboevent.c $(SOURCES_DIR)/roboevent.h
58
59 $(SOURCES_DIR)/roboevent.c $(SOURCES_DIR)/roboevent.h: $(SOURCES_DIR)/roboevent.py
60         @$(QUIET_CMD_ECHO) "  EVENTGEN roboevent"
61         $(Q)cd $(SOURCES_DIR) && python $(SOURCES_DIR)/../fsm/eventgen.py roboevent
62
63