* target.c, target.h: New variables target_activity_function and