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

# Automatically generated module dependencies for
# module `ml_backend.ml_rename_classes' in source file `ml_rename_classes.m'.
# Generated by Mercury compiler version rotd-2024-03-26
# 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.ml_rename_classes.optdate ml_backend.ml_rename_classes.trans_opt_date ml_rename_classes.err ml_backend.ml_rename_classes.c_date ml_backend.ml_rename_classes.java_date : \
		ml_rename_classes.m \
	\
		ml_backend.int0 \
	\
		builtin.int \
		list.int \
		map.int \
		maybe.int \
		private_builtin.int \
		ml_backend.mlds.int \
	\
		assoc_list.int2 \
		backend_libs.int2 \
		bool.int2 \
		char.int2 \
		cord.int2 \
		enum.int2 \
		hlds.int2 \
		libs.int2 \
		mdbcomp.int2 \
		one_or_more.int2 \
		one_or_more_map.int2 \
		pair.int2 \
		parse_tree.int2 \
		pretty_printer.int2 \
		set.int2 \
		set_ordlist.int2 \
		sparse_bitset.int2 \
		term.int2 \
		term_context.int2 \
		tree234.int2 \
		type_desc.int2 \
		unit.int2 \
		univ.int2 \
		varset.int2 \
		backend_libs.builtin_ops.int2 \
		backend_libs.rtti.int2 \
		hlds.hlds_data.int2 \
		hlds.hlds_module.int2 \
		hlds.hlds_pred.int2 \
		libs.globals.int2 \
		mdbcomp.prim_data.int2 \
		mdbcomp.sym_name.int2 \
		ml_backend.ml_global_data.int2 \
		parse_tree.prog_data.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_type.int2 \
		parse_tree.set_of_var.int2 \
	\
		ml_backend.ml_rename_classes.int \
	\
		ml_backend.int

# RULE objs_on_mihs
ml_backend.ml_rename_classes.pic_o ml_backend.ml_rename_classes.$O : \
		assoc_list.mih \
		backend_libs.mih \
		bool.mih \
		builtin.mih \
		char.mih \
		cord.mih \
		enum.mih \
		hlds.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 \
		set.mih \
		set_ordlist.mih \
		sparse_bitset.mih \
		term.mih \
		term_context.mih \
		tree234.mih \
		type_desc.mih \
		unit.mih \
		univ.mih \
		varset.mih \
		backend_libs.builtin_ops.mih \
		backend_libs.rtti.mih \
		hlds.hlds_data.mih \
		hlds.hlds_module.mih \
		hlds.hlds_pred.mih \
		libs.globals.mih \
		mdbcomp.prim_data.mih \
		mdbcomp.sym_name.mih \
		ml_backend.ml_global_data.mih \
		ml_backend.mlds.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_type.mih \
		parse_tree.set_of_var.mih

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

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

# RULE module_dep_on_java
ml_backend.ml_rename_classes.module_dep : jmercury/ml_backend__ml_rename_classes.java

else

# RULE module_dep_on_c
ml_backend.ml_rename_classes.module_dep : ml_backend.ml_rename_classes.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.ml_rename_classes.date ml_backend.ml_rename_classes.date0 ml_backend.date : \
		ml_rename_classes.m \
	\
		ml_backend.int0 \
	\
		builtin.int3 \
		list.int3 \
		map.int3 \
		maybe.int3 \
		private_builtin.int3 \
		ml_backend.mlds.int3 \
	\
		assoc_list.int3 \
		backend_libs.int3 \
		bool.int3 \
		char.int3 \
		cord.int3 \
		enum.int3 \
		hlds.int3 \
		libs.int3 \
		mdbcomp.int3 \
		one_or_more.int3 \
		one_or_more_map.int3 \
		pair.int3 \
		parse_tree.int3 \
		pretty_printer.int3 \
		set.int3 \
		set_ordlist.int3 \
		sparse_bitset.int3 \
		term.int3 \
		term_context.int3 \
		tree234.int3 \
		type_desc.int3 \
		unit.int3 \
		univ.int3 \
		varset.int3 \
		backend_libs.builtin_ops.int3 \
		backend_libs.rtti.int3 \
		hlds.hlds_data.int3 \
		hlds.hlds_module.int3 \
		hlds.hlds_pred.int3 \
		libs.globals.int3 \
		mdbcomp.prim_data.int3 \
		mdbcomp.sym_name.int3 \
		ml_backend.ml_global_data.int3 \
		parse_tree.prog_data.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_type.int3 \
		parse_tree.set_of_var.int3

# RULE self_and_parent_date0_deps
# target group names:
#   date0s
# source group names:
#   source
#   long dep int3s
#   short dep int3s
ml_backend.ml_rename_classes.date0 ml_backend.date0 : \
		ml_rename_classes.m \
	\
		builtin.int3 \
		list.int3 \
		map.int3 \
		maybe.int3 \
		private_builtin.int3 \
		ml_backend.mlds.int3 \
	\
		assoc_list.int3 \
		backend_libs.int3 \
		bool.int3 \
		char.int3 \
		cord.int3 \
		enum.int3 \
		hlds.int3 \
		libs.int3 \
		mdbcomp.int3 \
		one_or_more.int3 \
		one_or_more_map.int3 \
		pair.int3 \
		parse_tree.int3 \
		pretty_printer.int3 \
		set.int3 \
		set_ordlist.int3 \
		sparse_bitset.int3 \
		term.int3 \
		term_context.int3 \
		tree234.int3 \
		type_desc.int3 \
		unit.int3 \
		univ.int3 \
		varset.int3 \
		backend_libs.builtin_ops.int3 \
		backend_libs.rtti.int3 \
		hlds.hlds_data.int3 \
		hlds.hlds_module.int3 \
		hlds.hlds_pred.int3 \
		libs.globals.int3 \
		mdbcomp.prim_data.int3 \
		mdbcomp.sym_name.int3 \
		ml_backend.ml_global_data.int3 \
		parse_tree.prog_data.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_type.int3 \
		parse_tree.set_of_var.int3

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

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

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

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

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

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

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

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

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

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

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

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

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

