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

# Automatically generated module dependencies for
# module `ml_backend.mlds_to_cs_type' in source file `mlds_to_cs_type.m'.
# Generated by Mercury compiler version rotd-2024-02-20
# 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
ml_backend.mlds_to_cs_type.optdate ml_backend.mlds_to_cs_type.trans_opt_date mlds_to_cs_type.err ml_backend.mlds_to_cs_type.c_date ml_backend.mlds_to_cs_type.java_date : \
		mlds_to_cs_type.m \
	\
		ml_backend.int0 \
	\
		backend_libs.int \
		bool.int \
		builtin.int \
		hlds.int \
		io.int \
		list.int \
		mdbcomp.int \
		parse_tree.int \
		private_builtin.int \
		require.int \
		string.int \
		term.int \
		backend_libs.rtti.int \
		hlds.hlds_module.int \
		mdbcomp.prim_data.int \
		mdbcomp.sym_name.int \
		ml_backend.ml_type_gen.int \
		ml_backend.mlds.int \
		ml_backend.mlds_to_cs_name.int \
		ml_backend.mlds_to_cs_util.int \
		ml_backend.mlds_to_target_util.int \
		parse_tree.builtin_lib_types.int \
		parse_tree.prog_data.int \
		parse_tree.prog_type.int \
		string.format.int \
		string.parse_util.int \
	\
		analysis.int2 \
		array.int2 \
		assoc_list.int2 \
		bitmap.int2 \
		char.int2 \
		check_hlds.int2 \
		construct.int2 \
		cord.int2 \
		counter.int2 \
		deconstruct.int2 \
		digraph.int2 \
		enum.int2 \
		integer.int2 \
		libs.int2 \
		map.int2 \
		maybe.int2 \
		multi_map.int2 \
		one_or_more.int2 \
		one_or_more_map.int2 \
		ops.int2 \
		pair.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 \
		backend_libs.builtin_ops.int2 \
		check_hlds.proc_requests.int2 \
		hlds.const_struct.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_pred.int2 \
		hlds.hlds_promise.int2 \
		hlds.hlds_rtti.int2 \
		hlds.pred_table.int2 \
		hlds.special_pred.int2 \
		hlds.status.int2 \
		libs.dependency_graph.int2 \
		libs.globals.int2 \
		libs.indent.int2 \
		ml_backend.ml_global_data.int2 \
		parse_tree.java_names.int2 \
		parse_tree.module_qual.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_util.int2 \
		parse_tree.set_of_var.int2 \
		recompilation.record_uses.int2 \
	\
		ml_backend.mlds_to_cs_type.int \
	\
		ml_backend.int

# RULE objs_on_mihs
ml_backend.mlds_to_cs_type.pic_o ml_backend.mlds_to_cs_type.$O : \
		analysis.mih \
		array.mih \
		assoc_list.mih \
		backend_libs.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 \
		integer.mih \
		io.mih \
		libs.mih \
		list.mih \
		map.mih \
		maybe.mih \
		mdbcomp.mih \
		ml_backend.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 \
		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 \
		check_hlds.proc_requests.mih \
		hlds.const_struct.mih \
		hlds.hlds_class.mih \
		hlds.hlds_cons.mih \
		hlds.hlds_data.mih \
		hlds.hlds_dependency_graph.mih \
		hlds.hlds_inst_mode.mih \
		hlds.hlds_module.mih \
		hlds.hlds_pred.mih \
		hlds.hlds_promise.mih \
		hlds.hlds_rtti.mih \
		hlds.pred_table.mih \
		hlds.special_pred.mih \
		hlds.status.mih \
		libs.dependency_graph.mih \
		libs.globals.mih \
		libs.indent.mih \
		mdbcomp.prim_data.mih \
		mdbcomp.sym_name.mih \
		ml_backend.ml_global_data.mih \
		ml_backend.ml_type_gen.mih \
		ml_backend.mlds.mih \
		ml_backend.mlds_to_cs_name.mih \
		ml_backend.mlds_to_cs_util.mih \
		ml_backend.mlds_to_target_util.mih \
		parse_tree.builtin_lib_types.mih \
		parse_tree.java_names.mih \
		parse_tree.module_qual.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_type.mih \
		parse_tree.prog_util.mih \
		parse_tree.set_of_var.mih \
		recompilation.record_uses.mih \
		string.format.mih \
		string.parse_util.mih

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

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

# RULE module_dep_on_java
ml_backend.mlds_to_cs_type.module_dep : jmercury/ml_backend__mlds_to_cs_type.java

else

# RULE module_dep_on_c
ml_backend.mlds_to_cs_type.module_dep : ml_backend.mlds_to_cs_type.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
ml_backend.mlds_to_cs_type.date ml_backend.mlds_to_cs_type.date0 ml_backend.date : \
		mlds_to_cs_type.m \
	\
		ml_backend.int0 \
	\
		backend_libs.int3 \
		bool.int3 \
		builtin.int3 \
		hlds.int3 \
		io.int3 \
		list.int3 \
		mdbcomp.int3 \
		parse_tree.int3 \
		private_builtin.int3 \
		require.int3 \
		string.int3 \
		term.int3 \
		backend_libs.rtti.int3 \
		hlds.hlds_module.int3 \
		mdbcomp.prim_data.int3 \
		mdbcomp.sym_name.int3 \
		ml_backend.ml_type_gen.int3 \
		ml_backend.mlds.int3 \
		ml_backend.mlds_to_cs_name.int3 \
		ml_backend.mlds_to_cs_util.int3 \
		ml_backend.mlds_to_target_util.int3 \
		parse_tree.builtin_lib_types.int3 \
		parse_tree.prog_data.int3 \
		parse_tree.prog_type.int3 \
		string.format.int3 \
		string.parse_util.int3 \
	\
		analysis.int3 \
		array.int3 \
		assoc_list.int3 \
		bitmap.int3 \
		char.int3 \
		check_hlds.int3 \
		construct.int3 \
		cord.int3 \
		counter.int3 \
		deconstruct.int3 \
		digraph.int3 \
		enum.int3 \
		integer.int3 \
		libs.int3 \
		map.int3 \
		maybe.int3 \
		multi_map.int3 \
		one_or_more.int3 \
		one_or_more_map.int3 \
		ops.int3 \
		pair.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 \
		backend_libs.builtin_ops.int3 \
		check_hlds.proc_requests.int3 \
		hlds.const_struct.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_pred.int3 \
		hlds.hlds_promise.int3 \
		hlds.hlds_rtti.int3 \
		hlds.pred_table.int3 \
		hlds.special_pred.int3 \
		hlds.status.int3 \
		libs.dependency_graph.int3 \
		libs.globals.int3 \
		libs.indent.int3 \
		ml_backend.ml_global_data.int3 \
		parse_tree.java_names.int3 \
		parse_tree.module_qual.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_util.int3 \
		parse_tree.set_of_var.int3 \
		recompilation.record_uses.int3

# RULE self_and_parent_date0_deps
# target group names:
#   date0s
# source group names:
#   source
#   long dep int3s
#   short dep int3s
ml_backend.mlds_to_cs_type.date0 ml_backend.date0 : \
		mlds_to_cs_type.m \
	\
		backend_libs.int3 \
		bool.int3 \
		builtin.int3 \
		hlds.int3 \
		io.int3 \
		list.int3 \
		mdbcomp.int3 \
		parse_tree.int3 \
		private_builtin.int3 \
		require.int3 \
		string.int3 \
		term.int3 \
		backend_libs.rtti.int3 \
		hlds.hlds_module.int3 \
		mdbcomp.prim_data.int3 \
		mdbcomp.sym_name.int3 \
		ml_backend.ml_type_gen.int3 \
		ml_backend.mlds.int3 \
		ml_backend.mlds_to_cs_name.int3 \
		ml_backend.mlds_to_cs_util.int3 \
		ml_backend.mlds_to_target_util.int3 \
		parse_tree.builtin_lib_types.int3 \
		parse_tree.prog_data.int3 \
		parse_tree.prog_type.int3 \
		string.format.int3 \
		string.parse_util.int3 \
	\
		analysis.int3 \
		array.int3 \
		assoc_list.int3 \
		bitmap.int3 \
		char.int3 \
		check_hlds.int3 \
		construct.int3 \
		cord.int3 \
		counter.int3 \
		deconstruct.int3 \
		digraph.int3 \
		enum.int3 \
		integer.int3 \
		libs.int3 \
		map.int3 \
		maybe.int3 \
		multi_map.int3 \
		one_or_more.int3 \
		one_or_more_map.int3 \
		ops.int3 \
		pair.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 \
		backend_libs.builtin_ops.int3 \
		check_hlds.proc_requests.int3 \
		hlds.const_struct.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_pred.int3 \
		hlds.hlds_promise.int3 \
		hlds.hlds_rtti.int3 \
		hlds.pred_table.int3 \
		hlds.special_pred.int3 \
		hlds.status.int3 \
		libs.dependency_graph.int3 \
		libs.globals.int3 \
		libs.indent.int3 \
		ml_backend.ml_global_data.int3 \
		parse_tree.java_names.int3 \
		parse_tree.module_qual.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_util.int3 \
		parse_tree.set_of_var.int3 \
		recompilation.record_uses.int3

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

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

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

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

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

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

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

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

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

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

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

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

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

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

