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

# Automatically generated module dependencies for
# module `hlds.instmap' in source file `instmap.m'.
# Generated by Mercury compiler version rotd-2026-08-06
# configured for x86_64-pc-linux-gnu.

# RULE date_file_deps
# target group names:
#   dates_and_err
# source group names:
#   source
#   ancestors
#   direct deps
#   indirect deps
#   type_repn self dep
#   type_repn ancestor dep
hlds.instmap.optdate hlds.instmap.trans_opt_date instmap.err hlds.instmap.c_date hlds.instmap.java_date : \
		instmap.m \
	\
		hlds.int0 \
	\
		assoc_list.int \
		builtin.int \
		check_hlds.int \
		int.int \
		io.int \
		list.int \
		map.int \
		maybe.int \
		one_or_more.int \
		pair.int \
		parse_tree.int \
		private_builtin.int \
		require.int \
		std_util.int \
		string.int \
		term.int \
		check_hlds.inst_abstract_unify.int \
		check_hlds.mode_errors.int \
		check_hlds.mode_info.int \
		hlds.hlds_goal.int \
		hlds.hlds_module.int \
		hlds.inst_match.int \
		hlds.inst_merge.int \
		hlds.inst_test.int \
		hlds.mode_util.int \
		hlds.type_util.int \
		parse_tree.prog_data.int \
		parse_tree.prog_rename.int \
		parse_tree.prog_util.int \
		parse_tree.set_of_var.int \
		parse_tree.var_table.int \
		string.format.int \
		string.parse_util.int \
	\
		analysis.int2 \
		array.int2 \
		bag.int2 \
		bimap.int2 \
		bitmap.int2 \
		bool.int2 \
		char.int2 \
		construct.int2 \
		cord.int2 \
		counter.int2 \
		deconstruct.int2 \
		digraph.int2 \
		enum.int2 \
		integer.int2 \
		libs.int2 \
		mdbcomp.int2 \
		multi_map.int2 \
		one_or_more_map.int2 \
		ops.int2 \
		pretty_printer.int2 \
		queue.int2 \
		recompilation.int2 \
		set.int2 \
		set_ordlist.int2 \
		set_tree234.int2 \
		sparse_bitset.int2 \
		stream.int2 \
		term_context.int2 \
		time.int2 \
		tree234.int2 \
		type_desc.int2 \
		unit.int2 \
		univ.int2 \
		varset.int2 \
		analysis.framework.int2 \
		analysis.operations.int2 \
		check_hlds.delay_info.int2 \
		check_hlds.proc_requests.int2 \
		hlds.const_struct.int2 \
		hlds.goal_mode.int2 \
		hlds.hlds_class.int2 \
		hlds.hlds_cons.int2 \
		hlds.hlds_data.int2 \
		hlds.hlds_dependency_graph.int2 \
		hlds.hlds_inst_mode.int2 \
		hlds.hlds_llds.int2 \
		hlds.hlds_markers.int2 \
		hlds.hlds_pred.int2 \
		hlds.hlds_promise.int2 \
		hlds.pred_name.int2 \
		hlds.pred_table.int2 \
		hlds.special_pred.int2 \
		hlds.status.int2 \
		libs.dependency_graph.int2 \
		libs.file_util.int2 \
		libs.globals.int2 \
		libs.maybe_util.int2 \
		mdbcomp.goal_path.int2 \
		mdbcomp.prim_data.int2 \
		mdbcomp.sym_name.int2 \
		parse_tree.d_file_deps.int2 \
		parse_tree.error_spec.int2 \
		parse_tree.module_qual.int2 \
		parse_tree.parse_tree_out_info.int2 \
		parse_tree.prog_data_event.int2 \
		parse_tree.prog_data_foreign.int2 \
		parse_tree.prog_data_pragma.int2 \
		parse_tree.prog_data_used_modules.int2 \
		parse_tree.prog_foreign.int2 \
		parse_tree.prog_item.int2 \
		parse_tree.prog_parse_tree.int2 \
		parse_tree.prog_type.int2 \
		recompilation.record_uses.int2 \
		parse_tree.module_qual.mq_info.int2 \
	\
		hlds.instmap.int \
	\
		hlds.int

# RULE objs_on_mihs
hlds.instmap.$O hlds.instmap.pic_o : \
		analysis.mih \
		array.mih \
		assoc_list.mih \
		bag.mih \
		bimap.mih \
		bitmap.mih \
		bool.mih \
		builtin.mih \
		char.mih \
		check_hlds.mih \
		construct.mih \
		cord.mih \
		counter.mih \
		deconstruct.mih \
		digraph.mih \
		enum.mih \
		hlds.mih \
		int.mih \
		integer.mih \
		io.mih \
		libs.mih \
		list.mih \
		map.mih \
		maybe.mih \
		mdbcomp.mih \
		multi_map.mih \
		one_or_more.mih \
		one_or_more_map.mih \
		ops.mih \
		pair.mih \
		parse_tree.mih \
		pretty_printer.mih \
		private_builtin.mih \
		queue.mih \
		recompilation.mih \
		require.mih \
		set.mih \
		set_ordlist.mih \
		set_tree234.mih \
		sparse_bitset.mih \
		std_util.mih \
		stream.mih \
		string.mih \
		term.mih \
		term_context.mih \
		time.mih \
		tree234.mih \
		type_desc.mih \
		unit.mih \
		univ.mih \
		varset.mih \
		analysis.framework.mih \
		analysis.operations.mih \
		check_hlds.delay_info.mih \
		check_hlds.inst_abstract_unify.mih \
		check_hlds.mode_errors.mih \
		check_hlds.mode_info.mih \
		check_hlds.proc_requests.mih \
		hlds.const_struct.mih \
		hlds.goal_mode.mih \
		hlds.hlds_class.mih \
		hlds.hlds_cons.mih \
		hlds.hlds_data.mih \
		hlds.hlds_dependency_graph.mih \
		hlds.hlds_goal.mih \
		hlds.hlds_inst_mode.mih \
		hlds.hlds_llds.mih \
		hlds.hlds_markers.mih \
		hlds.hlds_module.mih \
		hlds.hlds_pred.mih \
		hlds.hlds_promise.mih \
		hlds.inst_match.mih \
		hlds.inst_merge.mih \
		hlds.inst_test.mih \
		hlds.instmap.mih \
		hlds.mode_util.mih \
		hlds.pred_name.mih \
		hlds.pred_table.mih \
		hlds.special_pred.mih \
		hlds.status.mih \
		hlds.type_util.mih \
		libs.dependency_graph.mih \
		libs.file_util.mih \
		libs.globals.mih \
		libs.maybe_util.mih \
		mdbcomp.goal_path.mih \
		mdbcomp.prim_data.mih \
		mdbcomp.sym_name.mih \
		parse_tree.d_file_deps.mih \
		parse_tree.error_spec.mih \
		parse_tree.module_qual.mih \
		parse_tree.parse_tree_out_info.mih \
		parse_tree.prog_data.mih \
		parse_tree.prog_data_event.mih \
		parse_tree.prog_data_foreign.mih \
		parse_tree.prog_data_pragma.mih \
		parse_tree.prog_data_used_modules.mih \
		parse_tree.prog_foreign.mih \
		parse_tree.prog_item.mih \
		parse_tree.prog_parse_tree.mih \
		parse_tree.prog_rename.mih \
		parse_tree.prog_type.mih \
		parse_tree.prog_util.mih \
		parse_tree.set_of_var.mih \
		parse_tree.var_table.mih \
		recompilation.record_uses.mih \
		string.format.mih \
		string.parse_util.mih \
		parse_tree.module_qual.mq_info.mih

# RULE mh_and_mih_on_c
hlds.instmap.mh hlds.instmap.mih : hlds.instmap.c

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

# RULE module_dep_on_java
hlds.instmap.module_dep : jmercury/hlds__instmap.java

else

# RULE module_dep_on_c
hlds.instmap.module_dep : hlds.instmap.c

endif # conditional fragment

# RULE self_and_parent_date_deps
# target group names:
#   date files
# source group names:
#   source
#   ancestor int0
#   direct dep int3s
#   indirect dep int3s
hlds.instmap.date hlds.instmap.date0 hlds.date : \
		instmap.m \
	\
		hlds.int0 \
	\
		assoc_list.int3 \
		builtin.int3 \
		check_hlds.int3 \
		int.int3 \
		io.int3 \
		list.int3 \
		map.int3 \
		maybe.int3 \
		one_or_more.int3 \
		pair.int3 \
		parse_tree.int3 \
		private_builtin.int3 \
		require.int3 \
		std_util.int3 \
		string.int3 \
		term.int3 \
		check_hlds.inst_abstract_unify.int3 \
		check_hlds.mode_errors.int3 \
		check_hlds.mode_info.int3 \
		hlds.hlds_goal.int3 \
		hlds.hlds_module.int3 \
		hlds.inst_match.int3 \
		hlds.inst_merge.int3 \
		hlds.inst_test.int3 \
		hlds.mode_util.int3 \
		hlds.type_util.int3 \
		parse_tree.prog_data.int3 \
		parse_tree.prog_rename.int3 \
		parse_tree.prog_util.int3 \
		parse_tree.set_of_var.int3 \
		parse_tree.var_table.int3 \
		string.format.int3 \
		string.parse_util.int3 \
	\
		analysis.int3 \
		array.int3 \
		bag.int3 \
		bimap.int3 \
		bitmap.int3 \
		bool.int3 \
		char.int3 \
		construct.int3 \
		cord.int3 \
		counter.int3 \
		deconstruct.int3 \
		digraph.int3 \
		enum.int3 \
		integer.int3 \
		libs.int3 \
		mdbcomp.int3 \
		multi_map.int3 \
		one_or_more_map.int3 \
		ops.int3 \
		pretty_printer.int3 \
		queue.int3 \
		recompilation.int3 \
		set.int3 \
		set_ordlist.int3 \
		set_tree234.int3 \
		sparse_bitset.int3 \
		stream.int3 \
		term_context.int3 \
		time.int3 \
		tree234.int3 \
		type_desc.int3 \
		unit.int3 \
		univ.int3 \
		varset.int3 \
		analysis.framework.int3 \
		analysis.operations.int3 \
		check_hlds.delay_info.int3 \
		check_hlds.proc_requests.int3 \
		hlds.const_struct.int3 \
		hlds.goal_mode.int3 \
		hlds.hlds_class.int3 \
		hlds.hlds_cons.int3 \
		hlds.hlds_data.int3 \
		hlds.hlds_dependency_graph.int3 \
		hlds.hlds_inst_mode.int3 \
		hlds.hlds_llds.int3 \
		hlds.hlds_markers.int3 \
		hlds.hlds_pred.int3 \
		hlds.hlds_promise.int3 \
		hlds.pred_name.int3 \
		hlds.pred_table.int3 \
		hlds.special_pred.int3 \
		hlds.status.int3 \
		libs.dependency_graph.int3 \
		libs.file_util.int3 \
		libs.globals.int3 \
		libs.maybe_util.int3 \
		mdbcomp.goal_path.int3 \
		mdbcomp.prim_data.int3 \
		mdbcomp.sym_name.int3 \
		parse_tree.d_file_deps.int3 \
		parse_tree.error_spec.int3 \
		parse_tree.module_qual.int3 \
		parse_tree.parse_tree_out_info.int3 \
		parse_tree.prog_data_event.int3 \
		parse_tree.prog_data_foreign.int3 \
		parse_tree.prog_data_pragma.int3 \
		parse_tree.prog_data_used_modules.int3 \
		parse_tree.prog_foreign.int3 \
		parse_tree.prog_item.int3 \
		parse_tree.prog_parse_tree.int3 \
		parse_tree.prog_type.int3 \
		recompilation.record_uses.int3 \
		parse_tree.module_qual.mq_info.int3

# RULE self_and_parent_date0_deps
# target group names:
#   date0s
# source group names:
#   source
#   direct dep int3s
#   indirect dep int3s
hlds.instmap.date0 hlds.date0 : \
		instmap.m \
	\
		assoc_list.int3 \
		builtin.int3 \
		check_hlds.int3 \
		int.int3 \
		io.int3 \
		list.int3 \
		map.int3 \
		maybe.int3 \
		one_or_more.int3 \
		pair.int3 \
		parse_tree.int3 \
		private_builtin.int3 \
		require.int3 \
		std_util.int3 \
		string.int3 \
		term.int3 \
		check_hlds.inst_abstract_unify.int3 \
		check_hlds.mode_errors.int3 \
		check_hlds.mode_info.int3 \
		hlds.hlds_goal.int3 \
		hlds.hlds_module.int3 \
		hlds.inst_match.int3 \
		hlds.inst_merge.int3 \
		hlds.inst_test.int3 \
		hlds.mode_util.int3 \
		hlds.type_util.int3 \
		parse_tree.prog_data.int3 \
		parse_tree.prog_rename.int3 \
		parse_tree.prog_util.int3 \
		parse_tree.set_of_var.int3 \
		parse_tree.var_table.int3 \
		string.format.int3 \
		string.parse_util.int3 \
	\
		analysis.int3 \
		array.int3 \
		bag.int3 \
		bimap.int3 \
		bitmap.int3 \
		bool.int3 \
		char.int3 \
		construct.int3 \
		cord.int3 \
		counter.int3 \
		deconstruct.int3 \
		digraph.int3 \
		enum.int3 \
		integer.int3 \
		libs.int3 \
		mdbcomp.int3 \
		multi_map.int3 \
		one_or_more_map.int3 \
		ops.int3 \
		pretty_printer.int3 \
		queue.int3 \
		recompilation.int3 \
		set.int3 \
		set_ordlist.int3 \
		set_tree234.int3 \
		sparse_bitset.int3 \
		stream.int3 \
		term_context.int3 \
		time.int3 \
		tree234.int3 \
		type_desc.int3 \
		unit.int3 \
		univ.int3 \
		varset.int3 \
		analysis.framework.int3 \
		analysis.operations.int3 \
		check_hlds.delay_info.int3 \
		check_hlds.proc_requests.int3 \
		hlds.const_struct.int3 \
		hlds.goal_mode.int3 \
		hlds.hlds_class.int3 \
		hlds.hlds_cons.int3 \
		hlds.hlds_data.int3 \
		hlds.hlds_dependency_graph.int3 \
		hlds.hlds_inst_mode.int3 \
		hlds.hlds_llds.int3 \
		hlds.hlds_markers.int3 \
		hlds.hlds_pred.int3 \
		hlds.hlds_promise.int3 \
		hlds.pred_name.int3 \
		hlds.pred_table.int3 \
		hlds.special_pred.int3 \
		hlds.status.int3 \
		libs.dependency_graph.int3 \
		libs.file_util.int3 \
		libs.globals.int3 \
		libs.maybe_util.int3 \
		mdbcomp.goal_path.int3 \
		mdbcomp.prim_data.int3 \
		mdbcomp.sym_name.int3 \
		parse_tree.d_file_deps.int3 \
		parse_tree.error_spec.int3 \
		parse_tree.module_qual.int3 \
		parse_tree.parse_tree_out_info.int3 \
		parse_tree.prog_data_event.int3 \
		parse_tree.prog_data_foreign.int3 \
		parse_tree.prog_data_pragma.int3 \
		parse_tree.prog_data_used_modules.int3 \
		parse_tree.prog_foreign.int3 \
		parse_tree.prog_item.int3 \
		parse_tree.prog_parse_tree.int3 \
		parse_tree.prog_type.int3 \
		recompilation.record_uses.int3 \
		parse_tree.module_qual.mq_info.int3

# RULE foreign_deps_for_mh
# target group names:
#   object_files
# source group names:
#   own_mh_deps
hlds.instmap.$O hlds.instmap.pic_o : \
		analysis.mh \
		array.mh \
		assoc_list.mh \
		bag.mh \
		bimap.mh \
		bitmap.mh \
		bool.mh \
		builtin.mh \
		char.mh \
		check_hlds.mh \
		construct.mh \
		cord.mh \
		counter.mh \
		deconstruct.mh \
		digraph.mh \
		enum.mh \
		int.mh \
		integer.mh \
		io.mh \
		libs.mh \
		list.mh \
		map.mh \
		maybe.mh \
		mdbcomp.mh \
		multi_map.mh \
		one_or_more.mh \
		one_or_more_map.mh \
		ops.mh \
		pair.mh \
		parse_tree.mh \
		pretty_printer.mh \
		private_builtin.mh \
		queue.mh \
		recompilation.mh \
		require.mh \
		set.mh \
		set_ordlist.mh \
		set_tree234.mh \
		sparse_bitset.mh \
		std_util.mh \
		stream.mh \
		string.mh \
		term.mh \
		term_context.mh \
		time.mh \
		tree234.mh \
		type_desc.mh \
		unit.mh \
		univ.mh \
		varset.mh \
		analysis.framework.mh \
		analysis.operations.mh \
		check_hlds.delay_info.mh \
		check_hlds.inst_abstract_unify.mh \
		check_hlds.mode_errors.mh \
		check_hlds.mode_info.mh \
		check_hlds.proc_requests.mh \
		hlds.const_struct.mh \
		hlds.goal_mode.mh \
		hlds.hlds_class.mh \
		hlds.hlds_cons.mh \
		hlds.hlds_data.mh \
		hlds.hlds_dependency_graph.mh \
		hlds.hlds_goal.mh \
		hlds.hlds_inst_mode.mh \
		hlds.hlds_llds.mh \
		hlds.hlds_markers.mh \
		hlds.hlds_module.mh \
		hlds.hlds_pred.mh \
		hlds.hlds_promise.mh \
		hlds.inst_match.mh \
		hlds.inst_merge.mh \
		hlds.inst_test.mh \
		hlds.instmap.mh \
		hlds.mode_util.mh \
		hlds.pred_name.mh \
		hlds.pred_table.mh \
		hlds.special_pred.mh \
		hlds.status.mh \
		hlds.type_util.mh \
		io.stream_ops.mh \
		libs.dependency_graph.mh \
		libs.file_util.mh \
		libs.globals.mh \
		libs.maybe_util.mh \
		mdbcomp.goal_path.mh \
		mdbcomp.prim_data.mh \
		mdbcomp.sym_name.mh \
		parse_tree.d_file_deps.mh \
		parse_tree.error_spec.mh \
		parse_tree.module_qual.mh \
		parse_tree.parse_tree_out_info.mh \
		parse_tree.prog_data.mh \
		parse_tree.prog_data_event.mh \
		parse_tree.prog_data_foreign.mh \
		parse_tree.prog_data_pragma.mh \
		parse_tree.prog_data_used_modules.mh \
		parse_tree.prog_foreign.mh \
		parse_tree.prog_item.mh \
		parse_tree.prog_parse_tree.mh \
		parse_tree.prog_rename.mh \
		parse_tree.prog_type.mh \
		parse_tree.prog_util.mh \
		parse_tree.set_of_var.mh \
		parse_tree.var_table.mh \
		recompilation.record_uses.mh \
		string.format.mh \
		string.parse_util.mh \
		parse_tree.module_qual.mq_info.mh

# RULE int0_on_date0
hlds.instmap.int0 : hlds.instmap.date0
	@:

# RULE int_on_date
hlds.instmap.int : hlds.instmap.date
	@:

# RULE int2_on_date
hlds.instmap.int2 : hlds.instmap.date
	@:

# RULE int3_on_date3
hlds.instmap.int3 : hlds.instmap.date3
	@:

# RULE opt_on_opt_date
hlds.instmap.opt : hlds.instmap.optdate
	@:

# RULE trans_opt_on_trans_opt_date
hlds.instmap.trans_opt : hlds.instmap.trans_opt_date
	@:

# RULE date0_on_src
hlds.instmap.date0 : instmap.m
	$(MCPI) $(ALL_GRADEFLAGS) $(ALL_MCPIFLAGS) hlds.instmap

# RULE date_on_src
hlds.instmap.date : instmap.m
	$(MCI) $(ALL_GRADEFLAGS) $(ALL_MCIFLAGS) hlds.instmap

# RULE date3_on_src
hlds.instmap.date3 : instmap.m
	$(MCSI) $(ALL_GRADEFLAGS) $(ALL_MCSIFLAGS) hlds.instmap

# RULE opt_date_on_src
hlds.instmap.optdate : instmap.m
	$(MCOI) $(ALL_GRADEFLAGS) $(ALL_MCOIFLAGS) hlds.instmap

# RULE trans_opt_date_on_src
hlds.instmap.trans_opt_date : instmap.m
	$(MCTOI) $(ALL_GRADEFLAGS) $(ALL_MCTOIFLAGS) hlds.instmap

# RULE c_date_on_src
hlds.instmap.c_date : instmap.m
	$(MCG) $(ALL_GRADEFLAGS) $(ALL_MCGFLAGS) hlds.instmap $(ERR_REDIRECT)

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

