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

# Automatically generated module dependencies for
# module `hlds.hlds_inst_mode' in source file `hlds_inst_mode.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
hlds.hlds_inst_mode.optdate hlds.hlds_inst_mode.trans_opt_date hlds_inst_mode.err hlds.hlds_inst_mode.c_date hlds.hlds_inst_mode.java_date : \
		hlds_inst_mode.m \
	\
		hlds.int0 \
	\
		assoc_list.int \
		builtin.int \
		list.int \
		map.int \
		maybe.int \
		pair.int \
		parse_tree.int \
		private_builtin.int \
		varset.int \
		hlds.status.int \
		parse_tree.prog_data.int \
	\
		bool.int2 \
		char.int2 \
		cord.int2 \
		enum.int2 \
		mdbcomp.int2 \
		one_or_more.int2 \
		one_or_more_map.int2 \
		pretty_printer.int2 \
		set.int2 \
		set_ordlist.int2 \
		term.int2 \
		term_context.int2 \
		tree234.int2 \
		type_desc.int2 \
		univ.int2 \
		mdbcomp.prim_data.int2 \
		mdbcomp.sym_name.int2 \
		parse_tree.prog_item.int2 \
	\
		hlds.hlds_inst_mode.int \
	\
		hlds.int

# RULE objs_on_mihs
hlds.hlds_inst_mode.pic_o hlds.hlds_inst_mode.$O : \
		assoc_list.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 \
		one_or_more_map.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.status.mih \
		mdbcomp.prim_data.mih \
		mdbcomp.sym_name.mih \
		parse_tree.prog_data.mih \
		parse_tree.prog_item.mih

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

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

# RULE module_dep_on_java
hlds.hlds_inst_mode.module_dep : jmercury/hlds__hlds_inst_mode.java

else

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

# RULE self_and_parent_date0_deps
# target group names:
#   date0s
# source group names:
#   source
#   long dep int3s
#   short dep int3s
hlds.hlds_inst_mode.date0 hlds.date0 : \
		hlds_inst_mode.m \
	\
		assoc_list.int3 \
		builtin.int3 \
		list.int3 \
		map.int3 \
		maybe.int3 \
		pair.int3 \
		parse_tree.int3 \
		private_builtin.int3 \
		varset.int3 \
		hlds.status.int3 \
		parse_tree.prog_data.int3 \
	\
		bool.int3 \
		char.int3 \
		cord.int3 \
		enum.int3 \
		mdbcomp.int3 \
		one_or_more.int3 \
		one_or_more_map.int3 \
		pretty_printer.int3 \
		set.int3 \
		set_ordlist.int3 \
		term.int3 \
		term_context.int3 \
		tree234.int3 \
		type_desc.int3 \
		univ.int3 \
		mdbcomp.prim_data.int3 \
		mdbcomp.sym_name.int3 \
		parse_tree.prog_item.int3

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

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

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

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

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

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

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

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

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

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

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

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

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

