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

# Automatically generated module dependencies for
# module `hlds.hlds_llds' in source file `hlds_llds.m'.
# Generated by Mercury compiler version 22.01.9-beta-2026-06-08
# configured for x86_64-pc-linux-gnu.

# RULE date_file_deps
# target group names:
#   dates_and_err
# source group names:
#   (unnamed)
#   ancestors
#   long deps
#   short deps
#   type_repn self dep
#   type_repn ancestor dep
hlds.hlds_llds.optdate hlds.hlds_llds.trans_opt_date hlds_llds.err hlds.hlds_llds.c_date hlds.hlds_llds.java_date : \
		hlds_llds.m \
	\
		hlds.int0 \
	\
		assoc_list.int \
		bool.int \
		builtin.int \
		list.int \
		map.int \
		maybe.int \
		pair.int \
		parse_tree.int \
		private_builtin.int \
		require.int \
		string.int \
		varset.int \
		hlds.hlds_goal.int \
		parse_tree.prog_data.int \
		parse_tree.prog_rename.int \
		parse_tree.set_of_var.int \
	\
		array.int2 \
		bimap.int2 \
		char.int2 \
		construct.int2 \
		deconstruct.int2 \
		enum.int2 \
		mdbcomp.int2 \
		one_or_more.int2 \
		one_or_more_map.int2 \
		ops.int2 \
		pretty_printer.int2 \
		set.int2 \
		set_ordlist.int2 \
		sparse_bitset.int2 \
		term.int2 \
		tree234.int2 \
		type_desc.int2 \
		unit.int2 \
		univ.int2 \
		hlds.goal_mode.int2 \
		hlds.hlds_data.int2 \
		hlds.hlds_pred.int2 \
		hlds.instmap.int2 \
		mdbcomp.goal_path.int2 \
		mdbcomp.prim_data.int2 \
		mdbcomp.sym_name.int2 \
		parse_tree.prog_data_foreign.int2 \
		parse_tree.prog_data_pragma.int2 \
		parse_tree.prog_item.int2 \
	\
		hlds.hlds_llds.int \
	\
		hlds.int

# RULE objs_on_mihs
hlds.hlds_llds.pic_o hlds.hlds_llds.$O : \
		array.mih \
		assoc_list.mih \
		bimap.mih \
		bool.mih \
		builtin.mih \
		char.mih \
		construct.mih \
		deconstruct.mih \
		enum.mih \
		hlds.mih \
		list.mih \
		map.mih \
		maybe.mih \
		mdbcomp.mih \
		one_or_more.mih \
		one_or_more_map.mih \
		ops.mih \
		pair.mih \
		parse_tree.mih \
		pretty_printer.mih \
		private_builtin.mih \
		require.mih \
		set.mih \
		set_ordlist.mih \
		sparse_bitset.mih \
		string.mih \
		term.mih \
		tree234.mih \
		type_desc.mih \
		unit.mih \
		univ.mih \
		varset.mih \
		hlds.goal_mode.mih \
		hlds.hlds_data.mih \
		hlds.hlds_goal.mih \
		hlds.hlds_llds.mih \
		hlds.hlds_pred.mih \
		hlds.instmap.mih \
		mdbcomp.goal_path.mih \
		mdbcomp.prim_data.mih \
		mdbcomp.sym_name.mih \
		parse_tree.prog_data.mih \
		parse_tree.prog_data_foreign.mih \
		parse_tree.prog_data_pragma.mih \
		parse_tree.prog_item.mih \
		parse_tree.prog_rename.mih \
		parse_tree.set_of_var.mih

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

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

# RULE module_dep_on_java
hlds.hlds_llds.module_dep : jmercury/hlds__hlds_llds.java

else

# RULE module_dep_on_c
hlds.hlds_llds.module_dep : hlds.hlds_llds.c

endif # conditional fragment

# RULE self_and_parent_date_deps
# source group names:
#   (unnamed)
#   ancestor int0
#   long dep int3s
#   short dep int3s
hlds.hlds_llds.date hlds.hlds_llds.date0 hlds.date : \
		hlds_llds.m \
	\
		hlds.int0 \
	\
		assoc_list.int3 \
		bool.int3 \
		builtin.int3 \
		list.int3 \
		map.int3 \
		maybe.int3 \
		pair.int3 \
		parse_tree.int3 \
		private_builtin.int3 \
		require.int3 \
		string.int3 \
		varset.int3 \
		hlds.hlds_goal.int3 \
		parse_tree.prog_data.int3 \
		parse_tree.prog_rename.int3 \
		parse_tree.set_of_var.int3 \
	\
		array.int3 \
		bimap.int3 \
		char.int3 \
		construct.int3 \
		deconstruct.int3 \
		enum.int3 \
		mdbcomp.int3 \
		one_or_more.int3 \
		one_or_more_map.int3 \
		ops.int3 \
		pretty_printer.int3 \
		set.int3 \
		set_ordlist.int3 \
		sparse_bitset.int3 \
		term.int3 \
		tree234.int3 \
		type_desc.int3 \
		unit.int3 \
		univ.int3 \
		hlds.goal_mode.int3 \
		hlds.hlds_data.int3 \
		hlds.hlds_pred.int3 \
		hlds.instmap.int3 \
		mdbcomp.goal_path.int3 \
		mdbcomp.prim_data.int3 \
		mdbcomp.sym_name.int3 \
		parse_tree.prog_data_foreign.int3 \
		parse_tree.prog_data_pragma.int3 \
		parse_tree.prog_item.int3

# RULE self_and_parent_date0_deps
# target group names:
#   date0s
# source group names:
#   (unnamed)
#   long dep int3s
#   short dep int3s
hlds.hlds_llds.date0 hlds.date0 : \
		hlds_llds.m \
	\
		assoc_list.int3 \
		bool.int3 \
		builtin.int3 \
		list.int3 \
		map.int3 \
		maybe.int3 \
		pair.int3 \
		parse_tree.int3 \
		private_builtin.int3 \
		require.int3 \
		string.int3 \
		varset.int3 \
		hlds.hlds_goal.int3 \
		parse_tree.prog_data.int3 \
		parse_tree.prog_rename.int3 \
		parse_tree.set_of_var.int3 \
	\
		array.int3 \
		bimap.int3 \
		char.int3 \
		construct.int3 \
		deconstruct.int3 \
		enum.int3 \
		mdbcomp.int3 \
		one_or_more.int3 \
		one_or_more_map.int3 \
		ops.int3 \
		pretty_printer.int3 \
		set.int3 \
		set_ordlist.int3 \
		sparse_bitset.int3 \
		term.int3 \
		tree234.int3 \
		type_desc.int3 \
		unit.int3 \
		univ.int3 \
		hlds.goal_mode.int3 \
		hlds.hlds_data.int3 \
		hlds.hlds_pred.int3 \
		hlds.instmap.int3 \
		mdbcomp.goal_path.int3 \
		mdbcomp.prim_data.int3 \
		mdbcomp.sym_name.int3 \
		parse_tree.prog_data_foreign.int3 \
		parse_tree.prog_data_pragma.int3 \
		parse_tree.prog_item.int3

# RULE foreign_deps_for_mh
hlds.hlds_llds.$O hlds.hlds_llds.pic_o : array.mh

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

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

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

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

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

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

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

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

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

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

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

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

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

