# vim: ts=8 sw=8 noexpandtab ft=make

# Automatically generated module dependencies for
# module `ll_backend.lookup_switch' in source file `lookup_switch.m'.
# Generated by Mercury compiler version rotd-2024-02-10
# configured for x86_64-pc-linux-gnu.

# RULE date_file_deps
# target group names:
#   dates_and_err
# source group names:
#   source
#   ancestors
#   long deps
#   short deps
#   type_repn self dep
#   type_repn ancestor dep
ll_backend.lookup_switch.optdate ll_backend.lookup_switch.trans_opt_date lookup_switch.err ll_backend.lookup_switch.c_date ll_backend.lookup_switch.java_date : \
		lookup_switch.m \
	\
		ll_backend.int0 \
	\
		assoc_list.int \
		backend_libs.int \
		bool.int \
		builtin.int \
		cord.int \
		hlds.int \
		int.int \
		libs.int \
		list.int \
		map.int \
		maybe.int \
		pair.int \
		parse_tree.int \
		private_builtin.int \
		require.int \
		set.int \
		string.int \
		backend_libs.builtin_ops.int \
		backend_libs.switch_util.int \
		hlds.code_model.int \
		hlds.goal_form.int \
		hlds.hlds_data.int \
		hlds.hlds_goal.int \
		hlds.hlds_llds.int \
		libs.globals.int \
		libs.options.int \
		ll_backend.code_info.int \
		ll_backend.code_loc_dep.int \
		ll_backend.continuation_info.int \
		ll_backend.global_data.int \
		ll_backend.llds.int \
		ll_backend.lookup_util.int \
		parse_tree.prog_data.int \
		parse_tree.set_of_var.int \
		parse_tree.var_table.int \
	\
		array.int2 \
		bimap.int2 \
		bitmap.int2 \
		char.int2 \
		construct.int2 \
		counter.int2 \
		deconstruct.int2 \
		enum.int2 \
		getopt.int2 \
		io.int2 \
		mdbcomp.int2 \
		one_or_more.int2 \
		one_or_more_map.int2 \
		ops.int2 \
		pretty_printer.int2 \
		set_ordlist.int2 \
		set_tree234.int2 \
		sparse_bitset.int2 \
		stack.int2 \
		stream.int2 \
		term.int2 \
		term_context.int2 \
		time.int2 \
		tree234.int2 \
		type_desc.int2 \
		unit.int2 \
		univ.int2 \
		varset.int2 \
		backend_libs.rtti.int2 \
		hlds.goal_mode.int2 \
		hlds.hlds_class.int2 \
		hlds.hlds_module.int2 \
		hlds.hlds_pred.int2 \
		hlds.hlds_rtti.int2 \
		hlds.instmap.int2 \
		hlds.status.int2 \
		libs.op_mode.int2 \
		libs.optimization_options.int2 \
		libs.trace_params.int2 \
		ll_backend.layout.int2 \
		ll_backend.trace_gen.int2 \
		mdbcomp.feedback.int2 \
		mdbcomp.goal_path.int2 \
		mdbcomp.prim_data.int2 \
		mdbcomp.program_representation.int2 \
		mdbcomp.sym_name.int2 \
		parse_tree.prog_data_foreign.int2 \
		parse_tree.prog_data_pragma.int2 \
		parse_tree.prog_foreign.int2 \
		parse_tree.prog_item.int2 \
		parse_tree.prog_rename.int2 \
		parse_tree.prog_type.int2 \
	\
		ll_backend.lookup_switch.int \
	\
		ll_backend.int

# RULE objs_on_mihs
ll_backend.lookup_switch.pic_o ll_backend.lookup_switch.$O : \
		array.mih \
		assoc_list.mih \
		backend_libs.mih \
		bimap.mih \
		bitmap.mih \
		bool.mih \
		builtin.mih \
		char.mih \
		construct.mih \
		cord.mih \
		counter.mih \
		deconstruct.mih \
		enum.mih \
		getopt.mih \
		hlds.mih \
		int.mih \
		io.mih \
		libs.mih \
		list.mih \
		ll_backend.mih \
		map.mih \
		maybe.mih \
		mdbcomp.mih \
		one_or_more.mih \
		one_or_more_map.mih \
		ops.mih \
		pair.mih \
		parse_tree.mih \
		pretty_printer.mih \
		private_builtin.mih \
		require.mih \
		set.mih \
		set_ordlist.mih \
		set_tree234.mih \
		sparse_bitset.mih \
		stack.mih \
		stream.mih \
		string.mih \
		term.mih \
		term_context.mih \
		time.mih \
		tree234.mih \
		type_desc.mih \
		unit.mih \
		univ.mih \
		varset.mih \
		backend_libs.builtin_ops.mih \
		backend_libs.rtti.mih \
		backend_libs.switch_util.mih \
		hlds.code_model.mih \
		hlds.goal_form.mih \
		hlds.goal_mode.mih \
		hlds.hlds_class.mih \
		hlds.hlds_data.mih \
		hlds.hlds_goal.mih \
		hlds.hlds_llds.mih \
		hlds.hlds_module.mih \
		hlds.hlds_pred.mih \
		hlds.hlds_rtti.mih \
		hlds.instmap.mih \
		hlds.status.mih \
		libs.globals.mih \
		libs.op_mode.mih \
		libs.optimization_options.mih \
		libs.options.mih \
		libs.trace_params.mih \
		ll_backend.code_info.mih \
		ll_backend.code_loc_dep.mih \
		ll_backend.continuation_info.mih \
		ll_backend.global_data.mih \
		ll_backend.layout.mih \
		ll_backend.llds.mih \
		ll_backend.lookup_util.mih \
		ll_backend.trace_gen.mih \
		mdbcomp.feedback.mih \
		mdbcomp.goal_path.mih \
		mdbcomp.prim_data.mih \
		mdbcomp.program_representation.mih \
		mdbcomp.sym_name.mih \
		parse_tree.prog_data.mih \
		parse_tree.prog_data_foreign.mih \
		parse_tree.prog_data_pragma.mih \
		parse_tree.prog_foreign.mih \
		parse_tree.prog_item.mih \
		parse_tree.prog_rename.mih \
		parse_tree.prog_type.mih \
		parse_tree.set_of_var.mih \
		parse_tree.var_table.mih

# RULE mh_and_mih_on_c
ll_backend.lookup_switch.mh ll_backend.lookup_switch.mih : ll_backend.lookup_switch.c

ifeq ($(findstring java,$(GRADE)),java)

# RULE module_dep_on_java
ll_backend.lookup_switch.module_dep : jmercury/ll_backend__lookup_switch.java

else

# RULE module_dep_on_c
ll_backend.lookup_switch.module_dep : ll_backend.lookup_switch.c

endif # conditional fragment

# RULE self_and_parent_date_deps
# target group names:
#   date files
# source group names:
#   source
#   ancestor int0
#   long dep int3s
#   short dep int3s
ll_backend.lookup_switch.date ll_backend.lookup_switch.date0 ll_backend.date : \
		lookup_switch.m \
	\
		ll_backend.int0 \
	\
		assoc_list.int3 \
		backend_libs.int3 \
		bool.int3 \
		builtin.int3 \
		cord.int3 \
		hlds.int3 \
		int.int3 \
		libs.int3 \
		list.int3 \
		map.int3 \
		maybe.int3 \
		pair.int3 \
		parse_tree.int3 \
		private_builtin.int3 \
		require.int3 \
		set.int3 \
		string.int3 \
		backend_libs.builtin_ops.int3 \
		backend_libs.switch_util.int3 \
		hlds.code_model.int3 \
		hlds.goal_form.int3 \
		hlds.hlds_data.int3 \
		hlds.hlds_goal.int3 \
		hlds.hlds_llds.int3 \
		libs.globals.int3 \
		libs.options.int3 \
		ll_backend.code_info.int3 \
		ll_backend.code_loc_dep.int3 \
		ll_backend.continuation_info.int3 \
		ll_backend.global_data.int3 \
		ll_backend.llds.int3 \
		ll_backend.lookup_util.int3 \
		parse_tree.prog_data.int3 \
		parse_tree.set_of_var.int3 \
		parse_tree.var_table.int3 \
	\
		array.int3 \
		bimap.int3 \
		bitmap.int3 \
		char.int3 \
		construct.int3 \
		counter.int3 \
		deconstruct.int3 \
		enum.int3 \
		getopt.int3 \
		io.int3 \
		mdbcomp.int3 \
		one_or_more.int3 \
		one_or_more_map.int3 \
		ops.int3 \
		pretty_printer.int3 \
		set_ordlist.int3 \
		set_tree234.int3 \
		sparse_bitset.int3 \
		stack.int3 \
		stream.int3 \
		term.int3 \
		term_context.int3 \
		time.int3 \
		tree234.int3 \
		type_desc.int3 \
		unit.int3 \
		univ.int3 \
		varset.int3 \
		backend_libs.rtti.int3 \
		hlds.goal_mode.int3 \
		hlds.hlds_class.int3 \
		hlds.hlds_module.int3 \
		hlds.hlds_pred.int3 \
		hlds.hlds_rtti.int3 \
		hlds.instmap.int3 \
		hlds.status.int3 \
		libs.op_mode.int3 \
		libs.optimization_options.int3 \
		libs.trace_params.int3 \
		ll_backend.layout.int3 \
		ll_backend.trace_gen.int3 \
		mdbcomp.feedback.int3 \
		mdbcomp.goal_path.int3 \
		mdbcomp.prim_data.int3 \
		mdbcomp.program_representation.int3 \
		mdbcomp.sym_name.int3 \
		parse_tree.prog_data_foreign.int3 \
		parse_tree.prog_data_pragma.int3 \
		parse_tree.prog_foreign.int3 \
		parse_tree.prog_item.int3 \
		parse_tree.prog_rename.int3 \
		parse_tree.prog_type.int3

# RULE self_and_parent_date0_deps
# target group names:
#   date0s
# source group names:
#   source
#   long dep int3s
#   short dep int3s
ll_backend.lookup_switch.date0 ll_backend.date0 : \
		lookup_switch.m \
	\
		assoc_list.int3 \
		backend_libs.int3 \
		bool.int3 \
		builtin.int3 \
		cord.int3 \
		hlds.int3 \
		int.int3 \
		libs.int3 \
		list.int3 \
		map.int3 \
		maybe.int3 \
		pair.int3 \
		parse_tree.int3 \
		private_builtin.int3 \
		require.int3 \
		set.int3 \
		string.int3 \
		backend_libs.builtin_ops.int3 \
		backend_libs.switch_util.int3 \
		hlds.code_model.int3 \
		hlds.goal_form.int3 \
		hlds.hlds_data.int3 \
		hlds.hlds_goal.int3 \
		hlds.hlds_llds.int3 \
		libs.globals.int3 \
		libs.options.int3 \
		ll_backend.code_info.int3 \
		ll_backend.code_loc_dep.int3 \
		ll_backend.continuation_info.int3 \
		ll_backend.global_data.int3 \
		ll_backend.llds.int3 \
		ll_backend.lookup_util.int3 \
		parse_tree.prog_data.int3 \
		parse_tree.set_of_var.int3 \
		parse_tree.var_table.int3 \
	\
		array.int3 \
		bimap.int3 \
		bitmap.int3 \
		char.int3 \
		construct.int3 \
		counter.int3 \
		deconstruct.int3 \
		enum.int3 \
		getopt.int3 \
		io.int3 \
		mdbcomp.int3 \
		one_or_more.int3 \
		one_or_more_map.int3 \
		ops.int3 \
		pretty_printer.int3 \
		set_ordlist.int3 \
		set_tree234.int3 \
		sparse_bitset.int3 \
		stack.int3 \
		stream.int3 \
		term.int3 \
		term_context.int3 \
		time.int3 \
		tree234.int3 \
		type_desc.int3 \
		unit.int3 \
		univ.int3 \
		varset.int3 \
		backend_libs.rtti.int3 \
		hlds.goal_mode.int3 \
		hlds.hlds_class.int3 \
		hlds.hlds_module.int3 \
		hlds.hlds_pred.int3 \
		hlds.hlds_rtti.int3 \
		hlds.instmap.int3 \
		hlds.status.int3 \
		libs.op_mode.int3 \
		libs.optimization_options.int3 \
		libs.trace_params.int3 \
		ll_backend.layout.int3 \
		ll_backend.trace_gen.int3 \
		mdbcomp.feedback.int3 \
		mdbcomp.goal_path.int3 \
		mdbcomp.prim_data.int3 \
		mdbcomp.program_representation.int3 \
		mdbcomp.sym_name.int3 \
		parse_tree.prog_data_foreign.int3 \
		parse_tree.prog_data_pragma.int3 \
		parse_tree.prog_foreign.int3 \
		parse_tree.prog_item.int3 \
		parse_tree.prog_rename.int3 \
		parse_tree.prog_type.int3

# RULE foreign_deps_for_mh
ll_backend.lookup_switch.$O ll_backend.lookup_switch.pic_o : \
		array.mh \
		bitmap.mh \
		io.mh \
		string.mh \
		time.mh \
		io.stream_ops.mh

# RULE int0_on_date0
ll_backend.lookup_switch.int0 : ll_backend.lookup_switch.date0
	@:

# RULE int_on_date
ll_backend.lookup_switch.int : ll_backend.lookup_switch.date
	@:

# RULE int2_on_date
ll_backend.lookup_switch.int2 : ll_backend.lookup_switch.date
	@:

# RULE int3_on_date3
ll_backend.lookup_switch.int3 : ll_backend.lookup_switch.date3
	@:

# RULE opt_on_opt_date
ll_backend.lookup_switch.opt : ll_backend.lookup_switch.optdate
	@:

# RULE trans_opt_on_trans_opt_date
ll_backend.lookup_switch.trans_opt : ll_backend.lookup_switch.trans_opt_date
	@:

# RULE date0_on_src
ll_backend.lookup_switch.date0 : lookup_switch.m
	$(MCPI) $(ALL_GRADEFLAGS) $(ALL_MCPIFLAGS) ll_backend.lookup_switch

# RULE date_on_src
ll_backend.lookup_switch.date : lookup_switch.m
	$(MCI) $(ALL_GRADEFLAGS) $(ALL_MCIFLAGS) ll_backend.lookup_switch

# RULE date3_on_src
ll_backend.lookup_switch.date3 : lookup_switch.m
	$(MCSI) $(ALL_GRADEFLAGS) $(ALL_MCSIFLAGS) ll_backend.lookup_switch

# RULE opt_date_on_src
ll_backend.lookup_switch.optdate : lookup_switch.m
	$(MCOI) $(ALL_GRADEFLAGS) $(ALL_MCOIFLAGS) ll_backend.lookup_switch

# RULE trans_opt_date_on_src
ll_backend.lookup_switch.trans_opt_date : lookup_switch.m
	$(MCTOI) $(ALL_GRADEFLAGS) $(ALL_MCTOIFLAGS) ll_backend.lookup_switch

# RULE c_date_on_src
ll_backend.lookup_switch.c_date : lookup_switch.m
	$(MCG) $(ALL_GRADEFLAGS) $(ALL_MCGFLAGS) ll_backend.lookup_switch $(ERR_REDIRECT)

# RULE java_date_on_src
ll_backend.lookup_switch.java_date : lookup_switch.m
	$(MCG) $(ALL_GRADEFLAGS) $(ALL_MCGFLAGS) --java-only ll_backend.lookup_switch $(ERR_REDIRECT)

