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

# Automatically generated module dependencies for
# module `ml_backend.ml_unify_gen' in source file `ml_unify_gen.m'.
# Generated by Mercury compiler version 22.01.9-beta-2026-08-29
# configured for x86_64-pc-linux-gnu.

# RULE date_file_deps
# target group names:
#   dates_and_err
# source group names:
#   (unnamed)
#   ancestors
#   long deps
#   short deps
#   type_repn self dep
#   type_repn ancestor dep
ml_backend.ml_unify_gen.optdate ml_backend.ml_unify_gen.trans_opt_date ml_unify_gen.err ml_backend.ml_unify_gen.c_date ml_backend.ml_unify_gen.java_date : \
		ml_unify_gen.m \
	\
		ml_backend.int0 \
	\
		backend_libs.int \
		builtin.int \
		check_hlds.int \
		hlds.int \
		list.int \
		maybe.int \
		parse_tree.int \
		private_builtin.int \
		require.int \
		term.int \
		backend_libs.builtin_ops.int \
		check_hlds.type_util.int \
		hlds.code_model.int \
		hlds.hlds_goal.int \
		ml_backend.ml_code_util.int \
		ml_backend.ml_gen_info.int \
		ml_backend.ml_unify_gen_construct.int \
		ml_backend.ml_unify_gen_deconstruct.int \
		ml_backend.mlds.int \
		parse_tree.prog_data.int \
	\
		array.int2 \
		assoc_list.int2 \
		bimap.int2 \
		bool.int2 \
		char.int2 \
		counter.int2 \
		enum.int2 \
		integer.int2 \
		libs.int2 \
		map.int2 \
		mdbcomp.int2 \
		one_or_more.int2 \
		one_or_more_map.int2 \
		pair.int2 \
		pretty_printer.int2 \
		set.int2 \
		set_ordlist.int2 \
		tree234.int2 \
		type_desc.int2 \
		unit.int2 \
		univ.int2 \
		varset.int2 \
		backend_libs.rtti.int2 \
		hlds.const_struct.int2 \
		hlds.goal_mode.int2 \
		hlds.hlds_class.int2 \
		hlds.hlds_cons.int2 \
		hlds.hlds_data.int2 \
		hlds.hlds_llds.int2 \
		hlds.hlds_module.int2 \
		hlds.hlds_pred.int2 \
		hlds.hlds_rtti.int2 \
		hlds.instmap.int2 \
		hlds.mark_tail_calls.int2 \
		hlds.vartypes.int2 \
		libs.globals.int2 \
		libs.optimization_options.int2 \
		mdbcomp.goal_path.int2 \
		mdbcomp.prim_data.int2 \
		mdbcomp.sym_name.int2 \
		ml_backend.ml_global_data.int2 \
		ml_backend.ml_unify_gen_util.int2 \
		parse_tree.file_names.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 \
		parse_tree.set_of_var.int2 \
	\
		ml_backend.ml_unify_gen.int \
	\
		ml_backend.int

# RULE objs_on_mihs
ml_backend.ml_unify_gen.pic_o ml_backend.ml_unify_gen.$O : \
		array.mih \
		assoc_list.mih \
		backend_libs.mih \
		bimap.mih \
		bool.mih \
		builtin.mih \
		char.mih \
		check_hlds.mih \
		counter.mih \
		enum.mih \
		hlds.mih \
		integer.mih \
		libs.mih \
		list.mih \
		map.mih \
		maybe.mih \
		mdbcomp.mih \
		ml_backend.mih \
		one_or_more.mih \
		one_or_more_map.mih \
		pair.mih \
		parse_tree.mih \
		pretty_printer.mih \
		private_builtin.mih \
		require.mih \
		set.mih \
		set_ordlist.mih \
		term.mih \
		tree234.mih \
		type_desc.mih \
		unit.mih \
		univ.mih \
		varset.mih \
		backend_libs.builtin_ops.mih \
		backend_libs.rtti.mih \
		check_hlds.type_util.mih \
		hlds.code_model.mih \
		hlds.const_struct.mih \
		hlds.goal_mode.mih \
		hlds.hlds_class.mih \
		hlds.hlds_cons.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.mark_tail_calls.mih \
		hlds.vartypes.mih \
		libs.globals.mih \
		libs.optimization_options.mih \
		mdbcomp.goal_path.mih \
		mdbcomp.prim_data.mih \
		mdbcomp.sym_name.mih \
		ml_backend.ml_code_util.mih \
		ml_backend.ml_gen_info.mih \
		ml_backend.ml_global_data.mih \
		ml_backend.ml_unify_gen_construct.mih \
		ml_backend.ml_unify_gen_deconstruct.mih \
		ml_backend.ml_unify_gen_util.mih \
		ml_backend.mlds.mih \
		parse_tree.file_names.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

# RULE mh_and_mih_on_c
ml_backend.ml_unify_gen.mh ml_backend.ml_unify_gen.mih : ml_backend.ml_unify_gen.c

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

# RULE module_dep_on_java
ml_backend.ml_unify_gen.module_dep : jmercury/ml_backend__ml_unify_gen.java

else

# RULE module_dep_on_c
ml_backend.ml_unify_gen.module_dep : ml_backend.ml_unify_gen.c

endif # conditional fragment

# RULE self_and_parent_date_deps
# source group names:
#   (unnamed)
#   ancestor int0
#   long dep int3s
#   short dep int3s
ml_backend.ml_unify_gen.date ml_backend.ml_unify_gen.date0 ml_backend.date : \
		ml_unify_gen.m \
	\
		ml_backend.int0 \
	\
		backend_libs.int3 \
		builtin.int3 \
		check_hlds.int3 \
		hlds.int3 \
		list.int3 \
		maybe.int3 \
		parse_tree.int3 \
		private_builtin.int3 \
		require.int3 \
		term.int3 \
		backend_libs.builtin_ops.int3 \
		check_hlds.type_util.int3 \
		hlds.code_model.int3 \
		hlds.hlds_goal.int3 \
		ml_backend.ml_code_util.int3 \
		ml_backend.ml_gen_info.int3 \
		ml_backend.ml_unify_gen_construct.int3 \
		ml_backend.ml_unify_gen_deconstruct.int3 \
		ml_backend.mlds.int3 \
		parse_tree.prog_data.int3 \
	\
		array.int3 \
		assoc_list.int3 \
		bimap.int3 \
		bool.int3 \
		char.int3 \
		counter.int3 \
		enum.int3 \
		integer.int3 \
		libs.int3 \
		map.int3 \
		mdbcomp.int3 \
		one_or_more.int3 \
		one_or_more_map.int3 \
		pair.int3 \
		pretty_printer.int3 \
		set.int3 \
		set_ordlist.int3 \
		tree234.int3 \
		type_desc.int3 \
		unit.int3 \
		univ.int3 \
		varset.int3 \
		backend_libs.rtti.int3 \
		hlds.const_struct.int3 \
		hlds.goal_mode.int3 \
		hlds.hlds_class.int3 \
		hlds.hlds_cons.int3 \
		hlds.hlds_data.int3 \
		hlds.hlds_llds.int3 \
		hlds.hlds_module.int3 \
		hlds.hlds_pred.int3 \
		hlds.hlds_rtti.int3 \
		hlds.instmap.int3 \
		hlds.mark_tail_calls.int3 \
		hlds.vartypes.int3 \
		libs.globals.int3 \
		libs.optimization_options.int3 \
		mdbcomp.goal_path.int3 \
		mdbcomp.prim_data.int3 \
		mdbcomp.sym_name.int3 \
		ml_backend.ml_global_data.int3 \
		ml_backend.ml_unify_gen_util.int3 \
		parse_tree.file_names.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 \
		parse_tree.set_of_var.int3

# RULE self_and_parent_date0_deps
# target group names:
#   date0s
# source group names:
#   (unnamed)
#   long dep int3s
#   short dep int3s
ml_backend.ml_unify_gen.date0 ml_backend.date0 : \
		ml_unify_gen.m \
	\
		backend_libs.int3 \
		builtin.int3 \
		check_hlds.int3 \
		hlds.int3 \
		list.int3 \
		maybe.int3 \
		parse_tree.int3 \
		private_builtin.int3 \
		require.int3 \
		term.int3 \
		backend_libs.builtin_ops.int3 \
		check_hlds.type_util.int3 \
		hlds.code_model.int3 \
		hlds.hlds_goal.int3 \
		ml_backend.ml_code_util.int3 \
		ml_backend.ml_gen_info.int3 \
		ml_backend.ml_unify_gen_construct.int3 \
		ml_backend.ml_unify_gen_deconstruct.int3 \
		ml_backend.mlds.int3 \
		parse_tree.prog_data.int3 \
	\
		array.int3 \
		assoc_list.int3 \
		bimap.int3 \
		bool.int3 \
		char.int3 \
		counter.int3 \
		enum.int3 \
		integer.int3 \
		libs.int3 \
		map.int3 \
		mdbcomp.int3 \
		one_or_more.int3 \
		one_or_more_map.int3 \
		pair.int3 \
		pretty_printer.int3 \
		set.int3 \
		set_ordlist.int3 \
		tree234.int3 \
		type_desc.int3 \
		unit.int3 \
		univ.int3 \
		varset.int3 \
		backend_libs.rtti.int3 \
		hlds.const_struct.int3 \
		hlds.goal_mode.int3 \
		hlds.hlds_class.int3 \
		hlds.hlds_cons.int3 \
		hlds.hlds_data.int3 \
		hlds.hlds_llds.int3 \
		hlds.hlds_module.int3 \
		hlds.hlds_pred.int3 \
		hlds.hlds_rtti.int3 \
		hlds.instmap.int3 \
		hlds.mark_tail_calls.int3 \
		hlds.vartypes.int3 \
		libs.globals.int3 \
		libs.optimization_options.int3 \
		mdbcomp.goal_path.int3 \
		mdbcomp.prim_data.int3 \
		mdbcomp.sym_name.int3 \
		ml_backend.ml_global_data.int3 \
		ml_backend.ml_unify_gen_util.int3 \
		parse_tree.file_names.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 \
		parse_tree.set_of_var.int3

# RULE foreign_deps_for_mh
ml_backend.ml_unify_gen.$O ml_backend.ml_unify_gen.pic_o : array.mh

# RULE int0_on_date0
ml_backend.ml_unify_gen.int0 : ml_backend.ml_unify_gen.date0
	@:

# RULE int_on_date
ml_backend.ml_unify_gen.int : ml_backend.ml_unify_gen.date
	@:

# RULE int2_on_date
ml_backend.ml_unify_gen.int2 : ml_backend.ml_unify_gen.date
	@:

# RULE int3_on_date3
ml_backend.ml_unify_gen.int3 : ml_backend.ml_unify_gen.date3
	@:

# RULE opt_on_opt_date
ml_backend.ml_unify_gen.opt : ml_backend.ml_unify_gen.optdate
	@:

# RULE trans_opt_on_trans_opt_date
ml_backend.ml_unify_gen.trans_opt : ml_backend.ml_unify_gen.trans_opt_date
	@:

# RULE date0_on_src
ml_backend.ml_unify_gen.date0 : ml_unify_gen.m
	$(MCPI) $(ALL_GRADEFLAGS) $(ALL_MCPIFLAGS) ml_backend.ml_unify_gen

# RULE date_on_src
ml_backend.ml_unify_gen.date : ml_unify_gen.m
	$(MCI) $(ALL_GRADEFLAGS) $(ALL_MCIFLAGS) ml_backend.ml_unify_gen

# RULE date3_on_src
ml_backend.ml_unify_gen.date3 : ml_unify_gen.m
	$(MCSI) $(ALL_GRADEFLAGS) $(ALL_MCSIFLAGS) ml_backend.ml_unify_gen

# RULE opt_date_on_src
ml_backend.ml_unify_gen.optdate : ml_unify_gen.m
	$(MCOI) $(ALL_GRADEFLAGS) $(ALL_MCOIFLAGS) ml_backend.ml_unify_gen

# RULE trans_opt_date_on_src
ml_backend.ml_unify_gen.trans_opt_date : ml_unify_gen.m
	$(MCTOI) $(ALL_GRADEFLAGS) $(ALL_MCTOIFLAGS) ml_backend.ml_unify_gen

# RULE c_date_on_src
ml_backend.ml_unify_gen.c_date : ml_unify_gen.m
	$(MCG) $(ALL_GRADEFLAGS) $(ALL_MCGFLAGS) ml_backend.ml_unify_gen $(ERR_REDIRECT)

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

