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

# Automatically generated module dependencies for
# module `hlds.type_rename' in source file `type_rename.m'.
# Generated by Mercury compiler version rotd-2026-08-29
# 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.type_rename.optdate hlds.type_rename.trans_opt_date type_rename.err hlds.type_rename.c_date hlds.type_rename.java_date : \
		type_rename.m \
	\
		hlds.int0 \
	\
		builtin.int \
		list.int \
		map.int \
		mdbcomp.int \
		parse_tree.int \
		private_builtin.int \
		set.int \
		hlds.hlds_class.int \
		mdbcomp.sym_name.int \
		parse_tree.prog_data.int \
		parse_tree.prog_type_subst.int \
	\
		array.int2 \
		assoc_list.int2 \
		bimap.int2 \
		bool.int2 \
		char.int2 \
		cord.int2 \
		enum.int2 \
		maybe.int2 \
		one_or_more.int2 \
		pair.int2 \
		pretty_printer.int2 \
		set_ordlist.int2 \
		term.int2 \
		term_context.int2 \
		tree234.int2 \
		type_desc.int2 \
		univ.int2 \
		varset.int2 \
		hlds.pred_proc_id.int2 \
		hlds.status.int2 \
		mdbcomp.goal_path.int2 \
		mdbcomp.prim_data.int2 \
		parse_tree.prog_item.int2 \
	\
		hlds.type_rename.int \
	\
		hlds.int

# RULE objs_on_mihs
hlds.type_rename.$O hlds.type_rename.pic_o : \
		array.mih \
		assoc_list.mih \
		bimap.mih \
		bool.mih \
		builtin.mih \
		char.mih \
		cord.mih \
		enum.mih \
		hlds.mih \
		list.mih \
		map.mih \
		maybe.mih \
		mdbcomp.mih \
		one_or_more.mih \
		pair.mih \
		parse_tree.mih \
		pretty_printer.mih \
		private_builtin.mih \
		set.mih \
		set_ordlist.mih \
		term.mih \
		term_context.mih \
		tree234.mih \
		type_desc.mih \
		univ.mih \
		varset.mih \
		hlds.hlds_class.mih \
		hlds.pred_proc_id.mih \
		hlds.status.mih \
		mdbcomp.goal_path.mih \
		mdbcomp.prim_data.mih \
		mdbcomp.sym_name.mih \
		parse_tree.prog_data.mih \
		parse_tree.prog_item.mih \
		parse_tree.prog_type_subst.mih

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

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

# RULE module_dep_on_java
hlds.type_rename.module_dep : jmercury/hlds__type_rename.java

else

# RULE module_dep_on_c
hlds.type_rename.module_dep : hlds.type_rename.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.type_rename.date hlds.type_rename.date0 hlds.date : \
		type_rename.m \
	\
		hlds.int0 \
	\
		builtin.int3 \
		list.int3 \
		map.int3 \
		mdbcomp.int3 \
		parse_tree.int3 \
		private_builtin.int3 \
		set.int3 \
		hlds.hlds_class.int3 \
		mdbcomp.sym_name.int3 \
		parse_tree.prog_data.int3 \
		parse_tree.prog_type_subst.int3 \
	\
		array.int3 \
		assoc_list.int3 \
		bimap.int3 \
		bool.int3 \
		char.int3 \
		cord.int3 \
		enum.int3 \
		maybe.int3 \
		one_or_more.int3 \
		pair.int3 \
		pretty_printer.int3 \
		set_ordlist.int3 \
		term.int3 \
		term_context.int3 \
		tree234.int3 \
		type_desc.int3 \
		univ.int3 \
		varset.int3 \
		hlds.pred_proc_id.int3 \
		hlds.status.int3 \
		mdbcomp.goal_path.int3 \
		mdbcomp.prim_data.int3 \
		parse_tree.prog_item.int3

# RULE self_and_parent_date0_deps
# target group names:
#   date0s
# source group names:
#   source
#   direct dep int3s
#   indirect dep int3s
hlds.type_rename.date0 hlds.date0 : \
		type_rename.m \
	\
		builtin.int3 \
		list.int3 \
		map.int3 \
		mdbcomp.int3 \
		parse_tree.int3 \
		private_builtin.int3 \
		set.int3 \
		hlds.hlds_class.int3 \
		mdbcomp.sym_name.int3 \
		parse_tree.prog_data.int3 \
		parse_tree.prog_type_subst.int3 \
	\
		array.int3 \
		assoc_list.int3 \
		bimap.int3 \
		bool.int3 \
		char.int3 \
		cord.int3 \
		enum.int3 \
		maybe.int3 \
		one_or_more.int3 \
		pair.int3 \
		pretty_printer.int3 \
		set_ordlist.int3 \
		term.int3 \
		term_context.int3 \
		tree234.int3 \
		type_desc.int3 \
		univ.int3 \
		varset.int3 \
		hlds.pred_proc_id.int3 \
		hlds.status.int3 \
		mdbcomp.goal_path.int3 \
		mdbcomp.prim_data.int3 \
		parse_tree.prog_item.int3

# RULE foreign_deps_for_mh
# target group names:
#   object_files
# source group names:
#   own_mh_deps
hlds.type_rename.$O hlds.type_rename.pic_o : \
		array.mh \
		assoc_list.mh \
		bimap.mh \
		bool.mh \
		builtin.mh \
		char.mh \
		cord.mh \
		enum.mh \
		list.mh \
		map.mh \
		maybe.mh \
		mdbcomp.mh \
		one_or_more.mh \
		pair.mh \
		parse_tree.mh \
		pretty_printer.mh \
		private_builtin.mh \
		set.mh \
		set_ordlist.mh \
		term.mh \
		term_context.mh \
		tree234.mh \
		type_desc.mh \
		univ.mh \
		varset.mh \
		hlds.hlds_class.mh \
		hlds.pred_proc_id.mh \
		hlds.status.mh \
		mdbcomp.goal_path.mh \
		mdbcomp.prim_data.mh \
		mdbcomp.sym_name.mh \
		parse_tree.prog_data.mh \
		parse_tree.prog_item.mh \
		parse_tree.prog_type_subst.mh

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

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

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

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

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

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

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

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

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

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

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

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

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

