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

# Automatically generated module dependencies for
# module `check_hlds.typecheck_coerce' in source file `typecheck_coerce.m'.
# Generated by Mercury compiler version rotd-2024-08-10
# 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
check_hlds.typecheck_coerce.optdate check_hlds.typecheck_coerce.trans_opt_date typecheck_coerce.err check_hlds.typecheck_coerce.c_date check_hlds.typecheck_coerce.java_date : \
		typecheck_coerce.m \
	\
		check_hlds.int0 \
	\
		bool.int \
		builtin.int \
		hlds.int \
		list.int \
		map.int \
		maybe.int \
		mdbcomp.int \
		one_or_more.int \
		parse_tree.int \
		private_builtin.int \
		require.int \
		set.int \
		term_context.int \
		varset.int \
		check_hlds.type_assign.int \
		check_hlds.type_util.int \
		check_hlds.typecheck_info.int \
		check_hlds.typecheck_util.int \
		hlds.hlds_data.int \
		mdbcomp.prim_data.int \
		mdbcomp.sym_name.int \
		parse_tree.prog_data.int \
		parse_tree.prog_type.int \
		parse_tree.prog_type_scan.int \
		parse_tree.prog_type_subst.int \
		parse_tree.prog_type_test.int \
		parse_tree.vartypes.int \
	\
		array.int2 \
		assoc_list.int2 \
		bitmap.int2 \
		char.int2 \
		construct.int2 \
		cord.int2 \
		deconstruct.int2 \
		enum.int2 \
		io.int2 \
		libs.int2 \
		one_or_more_map.int2 \
		pair.int2 \
		pretty_printer.int2 \
		set_ordlist.int2 \
		set_tree234.int2 \
		sparse_bitset.int2 \
		stream.int2 \
		string.int2 \
		term.int2 \
		time.int2 \
		tree234.int2 \
		type_desc.int2 \
		univ.int2 \
		hlds.hlds_class.int2 \
		hlds.hlds_cons.int2 \
		hlds.hlds_module.int2 \
		hlds.hlds_pred.int2 \
		hlds.pred_table.int2 \
		hlds.status.int2 \
		libs.globals.int2 \
		parse_tree.error_spec.int2 \
		parse_tree.prog_item.int2 \
		parse_tree.prog_util.int2 \
		parse_tree.set_of_var.int2 \
		parse_tree.var_table.int2 \
	\
		check_hlds.typecheck_coerce.int \
	\
		check_hlds.int

# RULE objs_on_mihs
check_hlds.typecheck_coerce.pic_o check_hlds.typecheck_coerce.$O : \
		array.mih \
		assoc_list.mih \
		bitmap.mih \
		bool.mih \
		builtin.mih \
		char.mih \
		check_hlds.mih \
		construct.mih \
		cord.mih \
		deconstruct.mih \
		enum.mih \
		hlds.mih \
		io.mih \
		libs.mih \
		list.mih \
		map.mih \
		maybe.mih \
		mdbcomp.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 \
		set_tree234.mih \
		sparse_bitset.mih \
		stream.mih \
		string.mih \
		term.mih \
		term_context.mih \
		time.mih \
		tree234.mih \
		type_desc.mih \
		univ.mih \
		varset.mih \
		check_hlds.type_assign.mih \
		check_hlds.type_util.mih \
		check_hlds.typecheck_info.mih \
		check_hlds.typecheck_util.mih \
		hlds.hlds_class.mih \
		hlds.hlds_cons.mih \
		hlds.hlds_data.mih \
		hlds.hlds_module.mih \
		hlds.hlds_pred.mih \
		hlds.pred_table.mih \
		hlds.status.mih \
		libs.globals.mih \
		mdbcomp.prim_data.mih \
		mdbcomp.sym_name.mih \
		parse_tree.error_spec.mih \
		parse_tree.prog_data.mih \
		parse_tree.prog_item.mih \
		parse_tree.prog_type.mih \
		parse_tree.prog_type_scan.mih \
		parse_tree.prog_type_subst.mih \
		parse_tree.prog_type_test.mih \
		parse_tree.prog_util.mih \
		parse_tree.set_of_var.mih \
		parse_tree.var_table.mih \
		parse_tree.vartypes.mih

# RULE mh_and_mih_on_c
check_hlds.typecheck_coerce.mh check_hlds.typecheck_coerce.mih : check_hlds.typecheck_coerce.c

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

# RULE module_dep_on_java
check_hlds.typecheck_coerce.module_dep : jmercury/check_hlds__typecheck_coerce.java

else

# RULE module_dep_on_c
check_hlds.typecheck_coerce.module_dep : check_hlds.typecheck_coerce.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
check_hlds.typecheck_coerce.date check_hlds.typecheck_coerce.date0 check_hlds.date : \
		typecheck_coerce.m \
	\
		check_hlds.int0 \
	\
		bool.int3 \
		builtin.int3 \
		hlds.int3 \
		list.int3 \
		map.int3 \
		maybe.int3 \
		mdbcomp.int3 \
		one_or_more.int3 \
		parse_tree.int3 \
		private_builtin.int3 \
		require.int3 \
		set.int3 \
		term_context.int3 \
		varset.int3 \
		check_hlds.type_assign.int3 \
		check_hlds.type_util.int3 \
		check_hlds.typecheck_info.int3 \
		check_hlds.typecheck_util.int3 \
		hlds.hlds_data.int3 \
		mdbcomp.prim_data.int3 \
		mdbcomp.sym_name.int3 \
		parse_tree.prog_data.int3 \
		parse_tree.prog_type.int3 \
		parse_tree.prog_type_scan.int3 \
		parse_tree.prog_type_subst.int3 \
		parse_tree.prog_type_test.int3 \
		parse_tree.vartypes.int3 \
	\
		array.int3 \
		assoc_list.int3 \
		bitmap.int3 \
		char.int3 \
		construct.int3 \
		cord.int3 \
		deconstruct.int3 \
		enum.int3 \
		io.int3 \
		libs.int3 \
		one_or_more_map.int3 \
		pair.int3 \
		pretty_printer.int3 \
		set_ordlist.int3 \
		set_tree234.int3 \
		sparse_bitset.int3 \
		stream.int3 \
		string.int3 \
		term.int3 \
		time.int3 \
		tree234.int3 \
		type_desc.int3 \
		univ.int3 \
		hlds.hlds_class.int3 \
		hlds.hlds_cons.int3 \
		hlds.hlds_module.int3 \
		hlds.hlds_pred.int3 \
		hlds.pred_table.int3 \
		hlds.status.int3 \
		libs.globals.int3 \
		parse_tree.error_spec.int3 \
		parse_tree.prog_item.int3 \
		parse_tree.prog_util.int3 \
		parse_tree.set_of_var.int3 \
		parse_tree.var_table.int3

# RULE self_and_parent_date0_deps
# target group names:
#   date0s
# source group names:
#   source
#   direct dep int3s
#   indirect dep int3s
check_hlds.typecheck_coerce.date0 check_hlds.date0 : \
		typecheck_coerce.m \
	\
		bool.int3 \
		builtin.int3 \
		hlds.int3 \
		list.int3 \
		map.int3 \
		maybe.int3 \
		mdbcomp.int3 \
		one_or_more.int3 \
		parse_tree.int3 \
		private_builtin.int3 \
		require.int3 \
		set.int3 \
		term_context.int3 \
		varset.int3 \
		check_hlds.type_assign.int3 \
		check_hlds.type_util.int3 \
		check_hlds.typecheck_info.int3 \
		check_hlds.typecheck_util.int3 \
		hlds.hlds_data.int3 \
		mdbcomp.prim_data.int3 \
		mdbcomp.sym_name.int3 \
		parse_tree.prog_data.int3 \
		parse_tree.prog_type.int3 \
		parse_tree.prog_type_scan.int3 \
		parse_tree.prog_type_subst.int3 \
		parse_tree.prog_type_test.int3 \
		parse_tree.vartypes.int3 \
	\
		array.int3 \
		assoc_list.int3 \
		bitmap.int3 \
		char.int3 \
		construct.int3 \
		cord.int3 \
		deconstruct.int3 \
		enum.int3 \
		io.int3 \
		libs.int3 \
		one_or_more_map.int3 \
		pair.int3 \
		pretty_printer.int3 \
		set_ordlist.int3 \
		set_tree234.int3 \
		sparse_bitset.int3 \
		stream.int3 \
		string.int3 \
		term.int3 \
		time.int3 \
		tree234.int3 \
		type_desc.int3 \
		univ.int3 \
		hlds.hlds_class.int3 \
		hlds.hlds_cons.int3 \
		hlds.hlds_module.int3 \
		hlds.hlds_pred.int3 \
		hlds.pred_table.int3 \
		hlds.status.int3 \
		libs.globals.int3 \
		parse_tree.error_spec.int3 \
		parse_tree.prog_item.int3 \
		parse_tree.prog_util.int3 \
		parse_tree.set_of_var.int3 \
		parse_tree.var_table.int3

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

# RULE int0_on_date0
check_hlds.typecheck_coerce.int0 : check_hlds.typecheck_coerce.date0
	@:

# RULE int_on_date
check_hlds.typecheck_coerce.int : check_hlds.typecheck_coerce.date
	@:

# RULE int2_on_date
check_hlds.typecheck_coerce.int2 : check_hlds.typecheck_coerce.date
	@:

# RULE int3_on_date3
check_hlds.typecheck_coerce.int3 : check_hlds.typecheck_coerce.date3
	@:

# RULE opt_on_opt_date
check_hlds.typecheck_coerce.opt : check_hlds.typecheck_coerce.optdate
	@:

# RULE trans_opt_on_trans_opt_date
check_hlds.typecheck_coerce.trans_opt : check_hlds.typecheck_coerce.trans_opt_date
	@:

# RULE date0_on_src
check_hlds.typecheck_coerce.date0 : typecheck_coerce.m
	$(MCPI) $(ALL_GRADEFLAGS) $(ALL_MCPIFLAGS) check_hlds.typecheck_coerce

# RULE date_on_src
check_hlds.typecheck_coerce.date : typecheck_coerce.m
	$(MCI) $(ALL_GRADEFLAGS) $(ALL_MCIFLAGS) check_hlds.typecheck_coerce

# RULE date3_on_src
check_hlds.typecheck_coerce.date3 : typecheck_coerce.m
	$(MCSI) $(ALL_GRADEFLAGS) $(ALL_MCSIFLAGS) check_hlds.typecheck_coerce

# RULE opt_date_on_src
check_hlds.typecheck_coerce.optdate : typecheck_coerce.m
	$(MCOI) $(ALL_GRADEFLAGS) $(ALL_MCOIFLAGS) check_hlds.typecheck_coerce

# RULE trans_opt_date_on_src
check_hlds.typecheck_coerce.trans_opt_date : typecheck_coerce.m
	$(MCTOI) $(ALL_GRADEFLAGS) $(ALL_MCTOIFLAGS) check_hlds.typecheck_coerce

# RULE c_date_on_src
check_hlds.typecheck_coerce.c_date : typecheck_coerce.m
	$(MCG) $(ALL_GRADEFLAGS) $(ALL_MCGFLAGS) check_hlds.typecheck_coerce $(ERR_REDIRECT)

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

