#
# This file is automatically generated from Makefile.template
#

SOCCER_LIB_TOP = ../..
SOCCERLIB_CONFIG = $(SOCCER_LIB_TOP)/soccerlib-config \
		   --prefix=$(SOCCER_LIB_TOP)

LIBDIR = $(SOCCER_LIB_TOP)/generic_library
LIB_CONFIG = $(LIBDIR)/bin/library-config --prefix=$(LIBDIR)

EVOLUTIONAL_VARIABLE_LIB_DIR = ../../evolutional_variable

SOC_LIB_DIR = ..
ACTION_LIB_DIR = $(SOC_LIB_DIR)/action_lib
COMPILE_DIR = ./compile

CC           = `$(LIB_CONFIG) --cc`
CXX          = `$(LIB_CONFIG) --c++`
MAKE_ARCHIVE = `$(LIB_CONFIG) --make-archive`

RM = rm
PRCS = prcs
CHDIR = cd

SRCGEN          = `$(SOCCERLIB_CONFIG) --srcgen`
UPDATE_MAKEFILE = `$(SOCCERLIB_CONFIG) --update-makefile`

INCLUDES = -I$(EVOLUTIONAL_VARIABLE_LIB_DIR) \
	   -I$(SOC_LIB_DIR)/soccer_basic_lib \
	   -I$(SOC_LIB_DIR)/sserver_connection \
	   -I$(SOC_LIB_DIR)/soccer_interface \
	   -I$(SOC_LIB_DIR)/action_lib

CFLAGS   = -g `$(LIB_CONFIG) --cflags` \
	      $(CCXXOPTFLAGS) $(COPTFLAGS) $(INCLUDES) \
	      $(CCXXADDITIONALFLAGS) $(CADDITIONALFLAGS)
CXXFLAGS = -g `$(LIB_CONFIG) --cflags` \
	      $(CCXXOPTFLAGS) $(CXXOPTFLAGS) $(INCLUDES) \
	      $(CCXXADDITIONALFLAGS) $(CXXADDITIONALFLAGS)

ACTIONS =  \
	$(COMPILE_DIR)/autogen_act_catch_ball.o \
	$(COMPILE_DIR)/autogen_act_deprecated_handle_ball.o \
	$(COMPILE_DIR)/autogen_act_face_body_and_neck_to.o \
	$(COMPILE_DIR)/autogen_act_face_to.o \
	$(COMPILE_DIR)/autogen_act_face_to_ball.o \
	$(COMPILE_DIR)/autogen_act_find_ball.o \
	$(COMPILE_DIR)/autogen_act_find_teammate.o \
	$(COMPILE_DIR)/autogen_act_get_ball.o \
	$(COMPILE_DIR)/autogen_act_get_ball_fragment.o \
	$(COMPILE_DIR)/autogen_act_get_info.o \
	$(COMPILE_DIR)/autogen_act_gradual_move.o \
	$(COMPILE_DIR)/autogen_act_guarantee_self_position.o \
	$(COMPILE_DIR)/autogen_act_handle_ball_relative.o \
	$(COMPILE_DIR)/autogen_act_hard_kick_to.o \
	$(COMPILE_DIR)/autogen_act_keep_ball.o \
	$(COMPILE_DIR)/autogen_act_move_to.o \
	$(COMPILE_DIR)/autogen_act_move_to_fragment.o \
	$(COMPILE_DIR)/autogen_act_move_to_save_stamina.o \
	$(COMPILE_DIR)/autogen_act_option_turn_neck_face_to.o \
	$(COMPILE_DIR)/autogen_act_option_turn_neck_face_to_ball.o \
	$(COMPILE_DIR)/autogen_act_option_turn_neck_face_to_ball_and_around.o \
	$(COMPILE_DIR)/autogen_act_option_turn_neck_to_relative_angle.o \
	$(COMPILE_DIR)/autogen_act_raw_command.o \
	$(COMPILE_DIR)/autogen_act_recover_stamina.o \
	$(COMPILE_DIR)/autogen_act_scan_field.o \
	$(COMPILE_DIR)/autogen_act_shoot.o \
	$(COMPILE_DIR)/autogen_act_single_hard_kick_relative.o \
	$(COMPILE_DIR)/autogen_act_single_hard_kick_to.o \
	$(COMPILE_DIR)/autogen_act_single_kick_to.o \
	$(COMPILE_DIR)/autogen_act_single_put_to.o \
	$(COMPILE_DIR)/autogen_act_stop.o \
	$(COMPILE_DIR)/autogen_act_stop_ball.o \
	$(COMPILE_DIR)/autogen_act_turn_actual.o \
	$(COMPILE_DIR)/autogen_act_turn_relative.o \
	$(COMPILE_DIR)/autogen_act_wait.o

all: libbasic_action.a

library: libbasic_action.a
library-only: library
	$(RM) -f $(COMPILE_DIR)/*.o $(COMPILE_DIR)/autogen_*.cc

libbasic_action.a: $(ACTIONS)
	$(RM) -f libbasic_action.a
	$(MAKE_ARCHIVE) libbasic_action.a $(ACTIONS)

clean:
	$(RM) -f *.o libbasic_action.a $(COMPILE_DIR)/*.o \
		 $(COMPILE_DIR)/autogen_*.cc $(COMPILE_DIR)/autogen_*.h

update:
	$(UPDATE_MAKEFILE)


$(COMPILE_DIR)/autogen_act_catch_ball.cc $(COMPILE_DIR)/autogen_act_catch_ball.h: catch_ball.act
	$(SRCGEN) -o $(COMPILE_DIR) catch_ball.act

$(COMPILE_DIR)/autogen_act_deprecated_handle_ball.cc $(COMPILE_DIR)/autogen_act_deprecated_handle_ball.h: deprecated_handle_ball.act
	$(SRCGEN) -o $(COMPILE_DIR) deprecated_handle_ball.act

$(COMPILE_DIR)/autogen_act_face_body_and_neck_to.cc $(COMPILE_DIR)/autogen_act_face_body_and_neck_to.h: face_body_and_neck_to.act
	$(SRCGEN) -o $(COMPILE_DIR) face_body_and_neck_to.act

$(COMPILE_DIR)/autogen_act_face_to.cc $(COMPILE_DIR)/autogen_act_face_to.h: face_to.act
	$(SRCGEN) -o $(COMPILE_DIR) face_to.act

$(COMPILE_DIR)/autogen_act_face_to_ball.cc $(COMPILE_DIR)/autogen_act_face_to_ball.h: face_to_ball.act
	$(SRCGEN) -o $(COMPILE_DIR) face_to_ball.act

$(COMPILE_DIR)/autogen_act_find_ball.cc $(COMPILE_DIR)/autogen_act_find_ball.h: find_ball.act
	$(SRCGEN) -o $(COMPILE_DIR) find_ball.act

$(COMPILE_DIR)/autogen_act_find_teammate.cc $(COMPILE_DIR)/autogen_act_find_teammate.h: find_teammate.act
	$(SRCGEN) -o $(COMPILE_DIR) find_teammate.act

$(COMPILE_DIR)/autogen_act_get_ball.cc $(COMPILE_DIR)/autogen_act_get_ball.h: get_ball.act
	$(SRCGEN) -o $(COMPILE_DIR) get_ball.act

$(COMPILE_DIR)/autogen_act_get_ball_fragment.cc $(COMPILE_DIR)/autogen_act_get_ball_fragment.h: get_ball_fragment.act
	$(SRCGEN) -o $(COMPILE_DIR) get_ball_fragment.act

$(COMPILE_DIR)/autogen_act_get_info.cc $(COMPILE_DIR)/autogen_act_get_info.h: get_info.act
	$(SRCGEN) -o $(COMPILE_DIR) get_info.act

$(COMPILE_DIR)/autogen_act_gradual_move.cc $(COMPILE_DIR)/autogen_act_gradual_move.h: gradual_move.act
	$(SRCGEN) -o $(COMPILE_DIR) gradual_move.act

$(COMPILE_DIR)/autogen_act_guarantee_self_position.cc $(COMPILE_DIR)/autogen_act_guarantee_self_position.h: guarantee_self_position.act
	$(SRCGEN) -o $(COMPILE_DIR) guarantee_self_position.act

$(COMPILE_DIR)/autogen_act_handle_ball_relative.cc $(COMPILE_DIR)/autogen_act_handle_ball_relative.h: handle_ball_relative.act
	$(SRCGEN) -o $(COMPILE_DIR) handle_ball_relative.act

$(COMPILE_DIR)/autogen_act_hard_kick_to.cc $(COMPILE_DIR)/autogen_act_hard_kick_to.h: hard_kick_to.act
	$(SRCGEN) -o $(COMPILE_DIR) hard_kick_to.act

$(COMPILE_DIR)/autogen_act_keep_ball.cc $(COMPILE_DIR)/autogen_act_keep_ball.h: keep_ball.act
	$(SRCGEN) -o $(COMPILE_DIR) keep_ball.act

$(COMPILE_DIR)/autogen_act_move_to.cc $(COMPILE_DIR)/autogen_act_move_to.h: move_to.act
	$(SRCGEN) -o $(COMPILE_DIR) move_to.act

$(COMPILE_DIR)/autogen_act_move_to_fragment.cc $(COMPILE_DIR)/autogen_act_move_to_fragment.h: move_to_fragment.act
	$(SRCGEN) -o $(COMPILE_DIR) move_to_fragment.act

$(COMPILE_DIR)/autogen_act_move_to_save_stamina.cc $(COMPILE_DIR)/autogen_act_move_to_save_stamina.h: move_to_save_stamina.act
	$(SRCGEN) -o $(COMPILE_DIR) move_to_save_stamina.act

$(COMPILE_DIR)/autogen_act_option_turn_neck_face_to.cc $(COMPILE_DIR)/autogen_act_option_turn_neck_face_to.h: option_turn_neck_face_to.act
	$(SRCGEN) -o $(COMPILE_DIR) option_turn_neck_face_to.act

$(COMPILE_DIR)/autogen_act_option_turn_neck_face_to_ball.cc $(COMPILE_DIR)/autogen_act_option_turn_neck_face_to_ball.h: option_turn_neck_face_to_ball.act
	$(SRCGEN) -o $(COMPILE_DIR) option_turn_neck_face_to_ball.act

$(COMPILE_DIR)/autogen_act_option_turn_neck_face_to_ball_and_around.cc $(COMPILE_DIR)/autogen_act_option_turn_neck_face_to_ball_and_around.h: option_turn_neck_face_to_ball_and_around.act
	$(SRCGEN) -o $(COMPILE_DIR) option_turn_neck_face_to_ball_and_around.act

$(COMPILE_DIR)/autogen_act_option_turn_neck_to_relative_angle.cc $(COMPILE_DIR)/autogen_act_option_turn_neck_to_relative_angle.h: option_turn_neck_to_relative_angle.act
	$(SRCGEN) -o $(COMPILE_DIR) option_turn_neck_to_relative_angle.act

$(COMPILE_DIR)/autogen_act_raw_command.cc $(COMPILE_DIR)/autogen_act_raw_command.h: raw_command.act
	$(SRCGEN) -o $(COMPILE_DIR) raw_command.act

$(COMPILE_DIR)/autogen_act_recover_stamina.cc $(COMPILE_DIR)/autogen_act_recover_stamina.h: recover_stamina.act
	$(SRCGEN) -o $(COMPILE_DIR) recover_stamina.act

$(COMPILE_DIR)/autogen_act_scan_field.cc $(COMPILE_DIR)/autogen_act_scan_field.h: scan_field.act
	$(SRCGEN) -o $(COMPILE_DIR) scan_field.act

$(COMPILE_DIR)/autogen_act_shoot.cc $(COMPILE_DIR)/autogen_act_shoot.h: shoot.act
	$(SRCGEN) -o $(COMPILE_DIR) shoot.act

$(COMPILE_DIR)/autogen_act_single_hard_kick_relative.cc $(COMPILE_DIR)/autogen_act_single_hard_kick_relative.h: single_hard_kick_relative.act
	$(SRCGEN) -o $(COMPILE_DIR) single_hard_kick_relative.act

$(COMPILE_DIR)/autogen_act_single_hard_kick_to.cc $(COMPILE_DIR)/autogen_act_single_hard_kick_to.h: single_hard_kick_to.act
	$(SRCGEN) -o $(COMPILE_DIR) single_hard_kick_to.act

$(COMPILE_DIR)/autogen_act_single_kick_to.cc $(COMPILE_DIR)/autogen_act_single_kick_to.h: single_kick_to.act
	$(SRCGEN) -o $(COMPILE_DIR) single_kick_to.act

$(COMPILE_DIR)/autogen_act_single_put_to.cc $(COMPILE_DIR)/autogen_act_single_put_to.h: single_put_to.act
	$(SRCGEN) -o $(COMPILE_DIR) single_put_to.act

$(COMPILE_DIR)/autogen_act_stop.cc $(COMPILE_DIR)/autogen_act_stop.h: stop.act
	$(SRCGEN) -o $(COMPILE_DIR) stop.act

$(COMPILE_DIR)/autogen_act_stop_ball.cc $(COMPILE_DIR)/autogen_act_stop_ball.h: stop_ball.act
	$(SRCGEN) -o $(COMPILE_DIR) stop_ball.act

$(COMPILE_DIR)/autogen_act_turn_actual.cc $(COMPILE_DIR)/autogen_act_turn_actual.h: turn_actual.act
	$(SRCGEN) -o $(COMPILE_DIR) turn_actual.act

$(COMPILE_DIR)/autogen_act_turn_relative.cc $(COMPILE_DIR)/autogen_act_turn_relative.h: turn_relative.act
	$(SRCGEN) -o $(COMPILE_DIR) turn_relative.act

$(COMPILE_DIR)/autogen_act_wait.cc $(COMPILE_DIR)/autogen_act_wait.h: wait.act
	$(SRCGEN) -o $(COMPILE_DIR) wait.act


$(COMPILE_DIR)/autogen_act_catch_ball.o: \
	$(COMPILE_DIR)/autogen_act_catch_ball.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_catch_ball.cc -c -o $(COMPILE_DIR)/autogen_act_catch_ball.o

$(COMPILE_DIR)/autogen_act_deprecated_handle_ball.o: \
	$(COMPILE_DIR)/autogen_act_deprecated_handle_ball.h \
	$(COMPILE_DIR)/autogen_act_stop_ball.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_deprecated_handle_ball.cc -c -o $(COMPILE_DIR)/autogen_act_deprecated_handle_ball.o

$(COMPILE_DIR)/autogen_act_face_body_and_neck_to.o: \
	$(COMPILE_DIR)/autogen_act_face_body_and_neck_to.h \
	$(COMPILE_DIR)/autogen_act_face_to.h \
	$(COMPILE_DIR)/autogen_act_option_turn_neck_face_to.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_face_body_and_neck_to.cc -c -o $(COMPILE_DIR)/autogen_act_face_body_and_neck_to.o

$(COMPILE_DIR)/autogen_act_face_to.o: \
	$(COMPILE_DIR)/autogen_act_face_to.h \
	$(COMPILE_DIR)/autogen_act_turn_actual.h \
	$(COMPILE_DIR)/autogen_act_guarantee_self_position.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_face_to.cc -c -o $(COMPILE_DIR)/autogen_act_face_to.o

$(COMPILE_DIR)/autogen_act_face_to_ball.o: \
	$(COMPILE_DIR)/autogen_act_face_to_ball.h \
	$(COMPILE_DIR)/autogen_act_turn_actual.h \
	$(COMPILE_DIR)/autogen_act_guarantee_self_position.h \
	$(COMPILE_DIR)/autogen_act_find_ball.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_face_to_ball.cc -c -o $(COMPILE_DIR)/autogen_act_face_to_ball.o

$(COMPILE_DIR)/autogen_act_find_ball.o: \
	$(COMPILE_DIR)/autogen_act_find_ball.h \
	$(COMPILE_DIR)/autogen_act_guarantee_self_position.h \
	$(COMPILE_DIR)/autogen_act_face_to.h \
	$(COMPILE_DIR)/autogen_act_turn_actual.h \
	$(COMPILE_DIR)/autogen_act_stop.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_find_ball.cc -c -o $(COMPILE_DIR)/autogen_act_find_ball.o

$(COMPILE_DIR)/autogen_act_find_teammate.o: \
	$(COMPILE_DIR)/autogen_act_find_teammate.h \
	$(COMPILE_DIR)/autogen_act_face_to.h \
	$(COMPILE_DIR)/autogen_act_turn_relative.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_find_teammate.cc -c -o $(COMPILE_DIR)/autogen_act_find_teammate.o

$(COMPILE_DIR)/autogen_act_get_ball.o: \
	$(COMPILE_DIR)/autogen_act_get_ball.h \
	$(COMPILE_DIR)/autogen_act_get_ball_fragment.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_get_ball.cc -c -o $(COMPILE_DIR)/autogen_act_get_ball.o

$(COMPILE_DIR)/autogen_act_get_ball_fragment.o: \
	$(COMPILE_DIR)/autogen_act_get_ball_fragment.h \
	$(COMPILE_DIR)/autogen_act_turn_actual.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_get_ball_fragment.cc -c -o $(COMPILE_DIR)/autogen_act_get_ball_fragment.o

$(COMPILE_DIR)/autogen_act_get_info.o: \
	$(COMPILE_DIR)/autogen_act_get_info.h \
	$(COMPILE_DIR)/autogen_act_face_to_ball.h \
	$(COMPILE_DIR)/autogen_act_face_body_and_neck_to.h \
	$(COMPILE_DIR)/autogen_act_find_teammate.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_get_info.cc -c -o $(COMPILE_DIR)/autogen_act_get_info.o

$(COMPILE_DIR)/autogen_act_gradual_move.o: \
	$(COMPILE_DIR)/autogen_act_gradual_move.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_gradual_move.cc -c -o $(COMPILE_DIR)/autogen_act_gradual_move.o

$(COMPILE_DIR)/autogen_act_guarantee_self_position.o: \
	$(COMPILE_DIR)/autogen_act_guarantee_self_position.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_guarantee_self_position.cc -c -o $(COMPILE_DIR)/autogen_act_guarantee_self_position.o

$(COMPILE_DIR)/autogen_act_handle_ball_relative.o: \
	$(COMPILE_DIR)/autogen_act_handle_ball_relative.h \
	$(COMPILE_DIR)/autogen_act_single_kick_to.h \
	$(COMPILE_DIR)/autogen_act_stop_ball.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_handle_ball_relative.cc -c -o $(COMPILE_DIR)/autogen_act_handle_ball_relative.o

$(COMPILE_DIR)/autogen_act_hard_kick_to.o: \
	$(COMPILE_DIR)/autogen_act_hard_kick_to.h \
	$(COMPILE_DIR)/autogen_act_single_hard_kick_to.h \
	$(COMPILE_DIR)/autogen_act_single_kick_to.h \
	$(COMPILE_DIR)/autogen_act_stop_ball.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_hard_kick_to.cc -c -o $(COMPILE_DIR)/autogen_act_hard_kick_to.o

$(COMPILE_DIR)/autogen_act_keep_ball.o: \
	$(COMPILE_DIR)/autogen_act_keep_ball.h \
	$(COMPILE_DIR)/autogen_act_handle_ball_relative.h \
	$(COMPILE_DIR)/autogen_act_stop_ball.h \
	$(COMPILE_DIR)/autogen_act_stop.h \
	$(COMPILE_DIR)/autogen_act_get_info.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_keep_ball.cc -c -o $(COMPILE_DIR)/autogen_act_keep_ball.o

$(COMPILE_DIR)/autogen_act_move_to.o: \
	$(COMPILE_DIR)/autogen_act_move_to.h \
	$(COMPILE_DIR)/autogen_act_move_to_fragment.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_move_to.cc -c -o $(COMPILE_DIR)/autogen_act_move_to.o

$(COMPILE_DIR)/autogen_act_move_to_fragment.o: \
	$(COMPILE_DIR)/autogen_act_move_to_fragment.h \
	$(COMPILE_DIR)/autogen_act_turn_actual.h \
	$(COMPILE_DIR)/autogen_act_guarantee_self_position.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_move_to_fragment.cc -c -o $(COMPILE_DIR)/autogen_act_move_to_fragment.o

$(COMPILE_DIR)/autogen_act_move_to_save_stamina.o: \
	$(COMPILE_DIR)/autogen_act_move_to_save_stamina.h \
	$(COMPILE_DIR)/autogen_act_move_to.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_move_to_save_stamina.cc -c -o $(COMPILE_DIR)/autogen_act_move_to_save_stamina.o

$(COMPILE_DIR)/autogen_act_option_turn_neck_face_to.o: \
	$(COMPILE_DIR)/autogen_act_option_turn_neck_face_to.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_option_turn_neck_face_to.cc -c -o $(COMPILE_DIR)/autogen_act_option_turn_neck_face_to.o

$(COMPILE_DIR)/autogen_act_option_turn_neck_face_to_ball.o: \
	$(COMPILE_DIR)/autogen_act_option_turn_neck_face_to_ball.h \
	$(COMPILE_DIR)/autogen_act_option_turn_neck_face_to.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_option_turn_neck_face_to_ball.cc -c -o $(COMPILE_DIR)/autogen_act_option_turn_neck_face_to_ball.o

$(COMPILE_DIR)/autogen_act_option_turn_neck_face_to_ball_and_around.o: \
	$(COMPILE_DIR)/autogen_act_option_turn_neck_face_to_ball_and_around.h \
	$(COMPILE_DIR)/autogen_act_option_turn_neck_face_to.h \
	$(COMPILE_DIR)/autogen_act_option_turn_neck_face_to_ball.h \
	$(COMPILE_DIR)/autogen_act_option_turn_neck_face_to_ball_and_around.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_option_turn_neck_face_to_ball_and_around.cc -c -o $(COMPILE_DIR)/autogen_act_option_turn_neck_face_to_ball_and_around.o

$(COMPILE_DIR)/autogen_act_option_turn_neck_to_relative_angle.o: \
	$(COMPILE_DIR)/autogen_act_option_turn_neck_to_relative_angle.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_option_turn_neck_to_relative_angle.cc -c -o $(COMPILE_DIR)/autogen_act_option_turn_neck_to_relative_angle.o

$(COMPILE_DIR)/autogen_act_raw_command.o: \
	$(COMPILE_DIR)/autogen_act_raw_command.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_raw_command.cc -c -o $(COMPILE_DIR)/autogen_act_raw_command.o

$(COMPILE_DIR)/autogen_act_recover_stamina.o: \
	$(COMPILE_DIR)/autogen_act_recover_stamina.h \
	$(COMPILE_DIR)/autogen_act_scan_field.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_recover_stamina.cc -c -o $(COMPILE_DIR)/autogen_act_recover_stamina.o

$(COMPILE_DIR)/autogen_act_scan_field.o: \
	$(COMPILE_DIR)/autogen_act_scan_field.h \
	$(COMPILE_DIR)/autogen_act_stop.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_scan_field.cc -c -o $(COMPILE_DIR)/autogen_act_scan_field.o

$(COMPILE_DIR)/autogen_act_shoot.o: \
	$(COMPILE_DIR)/autogen_act_shoot.h \
	$(COMPILE_DIR)/autogen_act_single_hard_kick_to.h \
	$(COMPILE_DIR)/autogen_act_hard_kick_to.h \
	$(COMPILE_DIR)/autogen_act_stop_ball.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_shoot.cc -c -o $(COMPILE_DIR)/autogen_act_shoot.o

$(COMPILE_DIR)/autogen_act_single_hard_kick_relative.o: \
	$(COMPILE_DIR)/autogen_act_single_hard_kick_relative.h \
	$(COMPILE_DIR)/autogen_act_single_hard_kick_to.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_single_hard_kick_relative.cc -c -o $(COMPILE_DIR)/autogen_act_single_hard_kick_relative.o

$(COMPILE_DIR)/autogen_act_single_hard_kick_to.o: \
	$(COMPILE_DIR)/autogen_act_single_hard_kick_to.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_single_hard_kick_to.cc -c -o $(COMPILE_DIR)/autogen_act_single_hard_kick_to.o

$(COMPILE_DIR)/autogen_act_single_kick_to.o: \
	$(COMPILE_DIR)/autogen_act_single_kick_to.h \
	$(COMPILE_DIR)/autogen_act_single_put_to.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_single_kick_to.cc -c -o $(COMPILE_DIR)/autogen_act_single_kick_to.o

$(COMPILE_DIR)/autogen_act_single_put_to.o: \
	$(COMPILE_DIR)/autogen_act_single_put_to.h \
	$(COMPILE_DIR)/autogen_act_single_hard_kick_to.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_single_put_to.cc -c -o $(COMPILE_DIR)/autogen_act_single_put_to.o

$(COMPILE_DIR)/autogen_act_stop.o: \
	$(COMPILE_DIR)/autogen_act_stop.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_stop.cc -c -o $(COMPILE_DIR)/autogen_act_stop.o

$(COMPILE_DIR)/autogen_act_stop_ball.o: \
	$(COMPILE_DIR)/autogen_act_stop_ball.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_stop_ball.cc -c -o $(COMPILE_DIR)/autogen_act_stop_ball.o

$(COMPILE_DIR)/autogen_act_turn_actual.o: \
	$(COMPILE_DIR)/autogen_act_turn_actual.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_turn_actual.cc -c -o $(COMPILE_DIR)/autogen_act_turn_actual.o

$(COMPILE_DIR)/autogen_act_turn_relative.o: \
	$(COMPILE_DIR)/autogen_act_turn_relative.h \
	$(COMPILE_DIR)/autogen_act_face_to.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_turn_relative.cc -c -o $(COMPILE_DIR)/autogen_act_turn_relative.o

$(COMPILE_DIR)/autogen_act_wait.o: \
	$(COMPILE_DIR)/autogen_act_wait.h
	$(CXX) $(CXXFLAGS) $(COMPILE_DIR)/autogen_act_wait.cc -c -o $(COMPILE_DIR)/autogen_act_wait.o


.PHONY: autogen

autogen: \
	$(COMPILE_DIR)/autogen_act_catch_ball.cc \
	$(COMPILE_DIR)/autogen_act_deprecated_handle_ball.cc \
	$(COMPILE_DIR)/autogen_act_face_body_and_neck_to.cc \
	$(COMPILE_DIR)/autogen_act_face_to.cc \
	$(COMPILE_DIR)/autogen_act_face_to_ball.cc \
	$(COMPILE_DIR)/autogen_act_find_ball.cc \
	$(COMPILE_DIR)/autogen_act_find_teammate.cc \
	$(COMPILE_DIR)/autogen_act_get_ball.cc \
	$(COMPILE_DIR)/autogen_act_get_ball_fragment.cc \
	$(COMPILE_DIR)/autogen_act_get_info.cc \
	$(COMPILE_DIR)/autogen_act_gradual_move.cc \
	$(COMPILE_DIR)/autogen_act_guarantee_self_position.cc \
	$(COMPILE_DIR)/autogen_act_handle_ball_relative.cc \
	$(COMPILE_DIR)/autogen_act_hard_kick_to.cc \
	$(COMPILE_DIR)/autogen_act_keep_ball.cc \
	$(COMPILE_DIR)/autogen_act_move_to.cc \
	$(COMPILE_DIR)/autogen_act_move_to_fragment.cc \
	$(COMPILE_DIR)/autogen_act_move_to_save_stamina.cc \
	$(COMPILE_DIR)/autogen_act_option_turn_neck_face_to.cc \
	$(COMPILE_DIR)/autogen_act_option_turn_neck_face_to_ball.cc \
	$(COMPILE_DIR)/autogen_act_option_turn_neck_face_to_ball_and_around.cc \
	$(COMPILE_DIR)/autogen_act_option_turn_neck_to_relative_angle.cc \
	$(COMPILE_DIR)/autogen_act_raw_command.cc \
	$(COMPILE_DIR)/autogen_act_recover_stamina.cc \
	$(COMPILE_DIR)/autogen_act_scan_field.cc \
	$(COMPILE_DIR)/autogen_act_shoot.cc \
	$(COMPILE_DIR)/autogen_act_single_hard_kick_relative.cc \
	$(COMPILE_DIR)/autogen_act_single_hard_kick_to.cc \
	$(COMPILE_DIR)/autogen_act_single_kick_to.cc \
	$(COMPILE_DIR)/autogen_act_single_put_to.cc \
	$(COMPILE_DIR)/autogen_act_stop.cc \
	$(COMPILE_DIR)/autogen_act_stop_ball.cc \
	$(COMPILE_DIR)/autogen_act_turn_actual.cc \
	$(COMPILE_DIR)/autogen_act_turn_relative.cc \
	$(COMPILE_DIR)/autogen_act_wait.cc


act_catch_ball: $(COMPILE_DIR)/autogen_act_catch_ball.o
act_deprecated_handle_ball: $(COMPILE_DIR)/autogen_act_deprecated_handle_ball.o
act_face_body_and_neck_to: $(COMPILE_DIR)/autogen_act_face_body_and_neck_to.o
act_face_to: $(COMPILE_DIR)/autogen_act_face_to.o
act_face_to_ball: $(COMPILE_DIR)/autogen_act_face_to_ball.o
act_find_ball: $(COMPILE_DIR)/autogen_act_find_ball.o
act_find_teammate: $(COMPILE_DIR)/autogen_act_find_teammate.o
act_get_ball: $(COMPILE_DIR)/autogen_act_get_ball.o
act_get_ball_fragment: $(COMPILE_DIR)/autogen_act_get_ball_fragment.o
act_get_info: $(COMPILE_DIR)/autogen_act_get_info.o
act_gradual_move: $(COMPILE_DIR)/autogen_act_gradual_move.o
act_guarantee_self_position: $(COMPILE_DIR)/autogen_act_guarantee_self_position.o
act_handle_ball_relative: $(COMPILE_DIR)/autogen_act_handle_ball_relative.o
act_hard_kick_to: $(COMPILE_DIR)/autogen_act_hard_kick_to.o
act_keep_ball: $(COMPILE_DIR)/autogen_act_keep_ball.o
act_move_to: $(COMPILE_DIR)/autogen_act_move_to.o
act_move_to_fragment: $(COMPILE_DIR)/autogen_act_move_to_fragment.o
act_move_to_save_stamina: $(COMPILE_DIR)/autogen_act_move_to_save_stamina.o
act_option_turn_neck_face_to: $(COMPILE_DIR)/autogen_act_option_turn_neck_face_to.o
act_option_turn_neck_face_to_ball: $(COMPILE_DIR)/autogen_act_option_turn_neck_face_to_ball.o
act_option_turn_neck_face_to_ball_and_around: $(COMPILE_DIR)/autogen_act_option_turn_neck_face_to_ball_and_around.o
act_option_turn_neck_to_relative_angle: $(COMPILE_DIR)/autogen_act_option_turn_neck_to_relative_angle.o
act_raw_command: $(COMPILE_DIR)/autogen_act_raw_command.o
act_recover_stamina: $(COMPILE_DIR)/autogen_act_recover_stamina.o
act_scan_field: $(COMPILE_DIR)/autogen_act_scan_field.o
act_shoot: $(COMPILE_DIR)/autogen_act_shoot.o
act_single_hard_kick_relative: $(COMPILE_DIR)/autogen_act_single_hard_kick_relative.o
act_single_hard_kick_to: $(COMPILE_DIR)/autogen_act_single_hard_kick_to.o
act_single_kick_to: $(COMPILE_DIR)/autogen_act_single_kick_to.o
act_single_put_to: $(COMPILE_DIR)/autogen_act_single_put_to.o
act_stop: $(COMPILE_DIR)/autogen_act_stop.o
act_stop_ball: $(COMPILE_DIR)/autogen_act_stop_ball.o
act_turn_actual: $(COMPILE_DIR)/autogen_act_turn_actual.o
act_turn_relative: $(COMPILE_DIR)/autogen_act_turn_relative.o
act_wait: $(COMPILE_DIR)/autogen_act_wait.o

.PHONY: act_catch_ball
.PHONY: act_deprecated_handle_ball
.PHONY: act_face_body_and_neck_to
.PHONY: act_face_to
.PHONY: act_face_to_ball
.PHONY: act_find_ball
.PHONY: act_find_teammate
.PHONY: act_get_ball
.PHONY: act_get_ball_fragment
.PHONY: act_get_info
.PHONY: act_gradual_move
.PHONY: act_guarantee_self_position
.PHONY: act_handle_ball_relative
.PHONY: act_hard_kick_to
.PHONY: act_keep_ball
.PHONY: act_move_to
.PHONY: act_move_to_fragment
.PHONY: act_move_to_save_stamina
.PHONY: act_option_turn_neck_face_to
.PHONY: act_option_turn_neck_face_to_ball
.PHONY: act_option_turn_neck_face_to_ball_and_around
.PHONY: act_option_turn_neck_to_relative_angle
.PHONY: act_raw_command
.PHONY: act_recover_stamina
.PHONY: act_scan_field
.PHONY: act_shoot
.PHONY: act_single_hard_kick_relative
.PHONY: act_single_hard_kick_to
.PHONY: act_single_kick_to
.PHONY: act_single_put_to
.PHONY: act_stop
.PHONY: act_stop_ball
.PHONY: act_turn_actual
.PHONY: act_turn_relative
.PHONY: act_wait


#
# for Revision Control
#
diff:
	@($(CHDIR) $(SOCCER_LIB_TOP) && $(PRCS) diff || true)

populate:
	@($(CHDIR) $(SOCCER_LIB_TOP) && $(PRCS) populate)

checkin:
	@($(CHDIR) $(SOCCER_LIB_TOP) \
		&& $(PRCS) checkin && $(RM) -f .*.prcs_aux)

.PHONY: all library library-only clean update diff populate checkin
