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

# Automatically generated module dependencies for
# module `hlds.make_hlds.add_class' in source file `add_class.m'.
# Generated by Mercury compiler version rotd-2024-06-09
# 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.make_hlds.add_class.optdate hlds.make_hlds.add_class.trans_opt_date add_class.err hlds.make_hlds.add_class.c_date hlds.make_hlds.add_class.java_date : \
		add_class.m \
	\
		hlds.int0 \
		hlds.make_hlds.int0 \
	\
		builtin.int \
		check_hlds.int \
		cord.int \
		int.int \
		list.int \
		map.int \
		maybe.int \
		mdbcomp.int \
		pair.int \
		parse_tree.int \
		private_builtin.int \
		require.int \
		set.int \
		term.int \
		varset.int \
		check_hlds.check_typeclass.int \
		hlds.default_func_mode.int \
		hlds.hlds_class.int \
		hlds.hlds_module.int \
		hlds.hlds_pred.int \
		hlds.make_hlds_error.int \
		hlds.status.int \
		mdbcomp.prim_data.int \
		mdbcomp.sym_name.int \
		parse_tree.error_spec.int \
		parse_tree.prog_data.int \
		parse_tree.prog_item.int \
		parse_tree.prog_type.int \
		parse_tree.prog_util.int \
		hlds.make_hlds.add_pred.int \
		hlds.make_hlds.make_hlds_types.int \
		hlds.make_hlds.state_var.int \
	\
		analysis.int2 \
		array.int2 \
		assoc_list.int2 \
		bimap.int2 \
		bitmap.int2 \
		bool.int2 \
		char.int2 \
		construct.int2 \
		deconstruct.int2 \
		digraph.int2 \
		edit_seq.int2 \
		enum.int2 \
		getopt.int2 \
		integer.int2 \
		io.int2 \
		libs.int2 \
		mode_robdd.int2 \
		multi_map.int2 \
		one_or_more.int2 \
		one_or_more_map.int2 \
		pretty_printer.int2 \
		queue.int2 \
		recompilation.int2 \
		robdd.int2 \
		set_ordlist.int2 \
		set_tree234.int2 \
		sparse_bitset.int2 \
		stack.int2 \
		stream.int2 \
		string.int2 \
		term_context.int2 \
		time.int2 \
		transform_hlds.int2 \
		tree234.int2 \
		type_desc.int2 \
		unit.int2 \
		univ.int2 \
		check_hlds.mode_constraint_robdd.int2 \
		check_hlds.proc_requests.int2 \
		hlds.const_struct.int2 \
		hlds.goal_mode.int2 \
		hlds.hlds_clauses.int2 \
		hlds.hlds_cons.int2 \
		hlds.hlds_data.int2 \
		hlds.hlds_dependency_graph.int2 \
		hlds.hlds_goal.int2 \
		hlds.hlds_inst_mode.int2 \
		hlds.hlds_llds.int2 \
		hlds.hlds_promise.int2 \
		hlds.hlds_rtti.int2 \
		hlds.inst_graph.int2 \
		hlds.instmap.int2 \
		hlds.pred_name.int2 \
		hlds.pred_table.int2 \
		hlds.special_pred.int2 \
		libs.dependency_graph.int2 \
		libs.globals.int2 \
		libs.options.int2 \
		libs.polyhedron.int2 \
		libs.timestamp.int2 \
		mdbcomp.goal_path.int2 \
		mdbcomp.program_representation.int2 \
		mode_robdd.tfeirn.int2 \
		parse_tree.maybe_error.int2 \
		parse_tree.module_qual.int2 \
		parse_tree.prog_data_event.int2 \
		parse_tree.prog_data_foreign.int2 \
		parse_tree.prog_data_pragma.int2 \
		parse_tree.prog_data_used_modules.int2 \
		parse_tree.prog_foreign.int2 \
		parse_tree.prog_rename.int2 \
		parse_tree.set_of_var.int2 \
		parse_tree.var_table.int2 \
		recompilation.item_types.int2 \
		recompilation.record_uses.int2 \
		transform_hlds.term_constr_errors.int2 \
		transform_hlds.term_constr_main_types.int2 \
		transform_hlds.term_errors.int2 \
		transform_hlds.term_util.int2 \
		hlds.make_hlds.goal_expr_to_goal.int2 \
		hlds.make_hlds.qual_info.int2 \
		parse_tree.module_qual.mq_info.int2 \
	\
		hlds.make_hlds.add_class.int \
	\
		hlds.int \
		hlds.make_hlds.int

# RULE objs_on_mihs
hlds.make_hlds.add_class.pic_o hlds.make_hlds.add_class.$O : \
		analysis.mih \
		array.mih \
		assoc_list.mih \
		bimap.mih \
		bitmap.mih \
		bool.mih \
		builtin.mih \
		char.mih \
		check_hlds.mih \
		construct.mih \
		cord.mih \
		deconstruct.mih \
		digraph.mih \
		edit_seq.mih \
		enum.mih \
		getopt.mih \
		hlds.mih \
		int.mih \
		integer.mih \
		io.mih \
		libs.mih \
		list.mih \
		map.mih \
		maybe.mih \
		mdbcomp.mih \
		mode_robdd.mih \
		multi_map.mih \
		one_or_more.mih \
		one_or_more_map.mih \
		pair.mih \
		parse_tree.mih \
		pretty_printer.mih \
		private_builtin.mih \
		queue.mih \
		recompilation.mih \
		require.mih \
		robdd.mih \
		set.mih \
		set_ordlist.mih \
		set_tree234.mih \
		sparse_bitset.mih \
		stack.mih \
		stream.mih \
		string.mih \
		term.mih \
		term_context.mih \
		time.mih \
		transform_hlds.mih \
		tree234.mih \
		type_desc.mih \
		unit.mih \
		univ.mih \
		varset.mih \
		check_hlds.check_typeclass.mih \
		check_hlds.mode_constraint_robdd.mih \
		check_hlds.proc_requests.mih \
		hlds.const_struct.mih \
		hlds.default_func_mode.mih \
		hlds.goal_mode.mih \
		hlds.hlds_class.mih \
		hlds.hlds_clauses.mih \
		hlds.hlds_cons.mih \
		hlds.hlds_data.mih \
		hlds.hlds_dependency_graph.mih \
		hlds.hlds_goal.mih \
		hlds.hlds_inst_mode.mih \
		hlds.hlds_llds.mih \
		hlds.hlds_module.mih \
		hlds.hlds_pred.mih \
		hlds.hlds_promise.mih \
		hlds.hlds_rtti.mih \
		hlds.inst_graph.mih \
		hlds.instmap.mih \
		hlds.make_hlds.mih \
		hlds.make_hlds_error.mih \
		hlds.pred_name.mih \
		hlds.pred_table.mih \
		hlds.special_pred.mih \
		hlds.status.mih \
		libs.dependency_graph.mih \
		libs.globals.mih \
		libs.options.mih \
		libs.polyhedron.mih \
		libs.timestamp.mih \
		mdbcomp.goal_path.mih \
		mdbcomp.prim_data.mih \
		mdbcomp.program_representation.mih \
		mdbcomp.sym_name.mih \
		mode_robdd.tfeirn.mih \
		parse_tree.error_spec.mih \
		parse_tree.maybe_error.mih \
		parse_tree.module_qual.mih \
		parse_tree.prog_data.mih \
		parse_tree.prog_data_event.mih \
		parse_tree.prog_data_foreign.mih \
		parse_tree.prog_data_pragma.mih \
		parse_tree.prog_data_used_modules.mih \
		parse_tree.prog_foreign.mih \
		parse_tree.prog_item.mih \
		parse_tree.prog_rename.mih \
		parse_tree.prog_type.mih \
		parse_tree.prog_util.mih \
		parse_tree.set_of_var.mih \
		parse_tree.var_table.mih \
		recompilation.item_types.mih \
		recompilation.record_uses.mih \
		transform_hlds.term_constr_errors.mih \
		transform_hlds.term_constr_main_types.mih \
		transform_hlds.term_errors.mih \
		transform_hlds.term_util.mih \
		hlds.make_hlds.add_pred.mih \
		hlds.make_hlds.goal_expr_to_goal.mih \
		hlds.make_hlds.make_hlds_types.mih \
		hlds.make_hlds.qual_info.mih \
		hlds.make_hlds.state_var.mih \
		parse_tree.module_qual.mq_info.mih

# RULE mh_and_mih_on_c
hlds.make_hlds.add_class.mh hlds.make_hlds.add_class.mih : hlds.make_hlds.add_class.c

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

# RULE module_dep_on_java
hlds.make_hlds.add_class.module_dep : jmercury/hlds__make_hlds__add_class.java

else

# RULE module_dep_on_c
hlds.make_hlds.add_class.module_dep : hlds.make_hlds.add_class.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.make_hlds.add_class.date hlds.make_hlds.add_class.date0 hlds.date hlds.make_hlds.date : \
		add_class.m \
	\
		hlds.int0 \
		hlds.make_hlds.int0 \
	\
		builtin.int3 \
		check_hlds.int3 \
		cord.int3 \
		int.int3 \
		list.int3 \
		map.int3 \
		maybe.int3 \
		mdbcomp.int3 \
		pair.int3 \
		parse_tree.int3 \
		private_builtin.int3 \
		require.int3 \
		set.int3 \
		term.int3 \
		varset.int3 \
		check_hlds.check_typeclass.int3 \
		hlds.default_func_mode.int3 \
		hlds.hlds_class.int3 \
		hlds.hlds_module.int3 \
		hlds.hlds_pred.int3 \
		hlds.make_hlds_error.int3 \
		hlds.status.int3 \
		mdbcomp.prim_data.int3 \
		mdbcomp.sym_name.int3 \
		parse_tree.error_spec.int3 \
		parse_tree.prog_data.int3 \
		parse_tree.prog_item.int3 \
		parse_tree.prog_type.int3 \
		parse_tree.prog_util.int3 \
		hlds.make_hlds.add_pred.int3 \
		hlds.make_hlds.make_hlds_types.int3 \
		hlds.make_hlds.state_var.int3 \
	\
		analysis.int3 \
		array.int3 \
		assoc_list.int3 \
		bimap.int3 \
		bitmap.int3 \
		bool.int3 \
		char.int3 \
		construct.int3 \
		deconstruct.int3 \
		digraph.int3 \
		edit_seq.int3 \
		enum.int3 \
		getopt.int3 \
		integer.int3 \
		io.int3 \
		libs.int3 \
		mode_robdd.int3 \
		multi_map.int3 \
		one_or_more.int3 \
		one_or_more_map.int3 \
		pretty_printer.int3 \
		queue.int3 \
		recompilation.int3 \
		robdd.int3 \
		set_ordlist.int3 \
		set_tree234.int3 \
		sparse_bitset.int3 \
		stack.int3 \
		stream.int3 \
		string.int3 \
		term_context.int3 \
		time.int3 \
		transform_hlds.int3 \
		tree234.int3 \
		type_desc.int3 \
		unit.int3 \
		univ.int3 \
		check_hlds.mode_constraint_robdd.int3 \
		check_hlds.proc_requests.int3 \
		hlds.const_struct.int3 \
		hlds.goal_mode.int3 \
		hlds.hlds_clauses.int3 \
		hlds.hlds_cons.int3 \
		hlds.hlds_data.int3 \
		hlds.hlds_dependency_graph.int3 \
		hlds.hlds_goal.int3 \
		hlds.hlds_inst_mode.int3 \
		hlds.hlds_llds.int3 \
		hlds.hlds_promise.int3 \
		hlds.hlds_rtti.int3 \
		hlds.inst_graph.int3 \
		hlds.instmap.int3 \
		hlds.pred_name.int3 \
		hlds.pred_table.int3 \
		hlds.special_pred.int3 \
		libs.dependency_graph.int3 \
		libs.globals.int3 \
		libs.options.int3 \
		libs.polyhedron.int3 \
		libs.timestamp.int3 \
		mdbcomp.goal_path.int3 \
		mdbcomp.program_representation.int3 \
		mode_robdd.tfeirn.int3 \
		parse_tree.maybe_error.int3 \
		parse_tree.module_qual.int3 \
		parse_tree.prog_data_event.int3 \
		parse_tree.prog_data_foreign.int3 \
		parse_tree.prog_data_pragma.int3 \
		parse_tree.prog_data_used_modules.int3 \
		parse_tree.prog_foreign.int3 \
		parse_tree.prog_rename.int3 \
		parse_tree.set_of_var.int3 \
		parse_tree.var_table.int3 \
		recompilation.item_types.int3 \
		recompilation.record_uses.int3 \
		transform_hlds.term_constr_errors.int3 \
		transform_hlds.term_constr_main_types.int3 \
		transform_hlds.term_errors.int3 \
		transform_hlds.term_util.int3 \
		hlds.make_hlds.goal_expr_to_goal.int3 \
		hlds.make_hlds.qual_info.int3 \
		parse_tree.module_qual.mq_info.int3

# RULE self_and_parent_date0_deps
# target group names:
#   date0s
# source group names:
#   source
#   long dep int3s
#   short dep int3s
hlds.make_hlds.add_class.date0 hlds.date0 hlds.make_hlds.date0 : \
		add_class.m \
	\
		builtin.int3 \
		check_hlds.int3 \
		cord.int3 \
		int.int3 \
		list.int3 \
		map.int3 \
		maybe.int3 \
		mdbcomp.int3 \
		pair.int3 \
		parse_tree.int3 \
		private_builtin.int3 \
		require.int3 \
		set.int3 \
		term.int3 \
		varset.int3 \
		check_hlds.check_typeclass.int3 \
		hlds.default_func_mode.int3 \
		hlds.hlds_class.int3 \
		hlds.hlds_module.int3 \
		hlds.hlds_pred.int3 \
		hlds.make_hlds_error.int3 \
		hlds.status.int3 \
		mdbcomp.prim_data.int3 \
		mdbcomp.sym_name.int3 \
		parse_tree.error_spec.int3 \
		parse_tree.prog_data.int3 \
		parse_tree.prog_item.int3 \
		parse_tree.prog_type.int3 \
		parse_tree.prog_util.int3 \
		hlds.make_hlds.add_pred.int3 \
		hlds.make_hlds.make_hlds_types.int3 \
		hlds.make_hlds.state_var.int3 \
	\
		analysis.int3 \
		array.int3 \
		assoc_list.int3 \
		bimap.int3 \
		bitmap.int3 \
		bool.int3 \
		char.int3 \
		construct.int3 \
		deconstruct.int3 \
		digraph.int3 \
		edit_seq.int3 \
		enum.int3 \
		getopt.int3 \
		integer.int3 \
		io.int3 \
		libs.int3 \
		mode_robdd.int3 \
		multi_map.int3 \
		one_or_more.int3 \
		one_or_more_map.int3 \
		pretty_printer.int3 \
		queue.int3 \
		recompilation.int3 \
		robdd.int3 \
		set_ordlist.int3 \
		set_tree234.int3 \
		sparse_bitset.int3 \
		stack.int3 \
		stream.int3 \
		string.int3 \
		term_context.int3 \
		time.int3 \
		transform_hlds.int3 \
		tree234.int3 \
		type_desc.int3 \
		unit.int3 \
		univ.int3 \
		check_hlds.mode_constraint_robdd.int3 \
		check_hlds.proc_requests.int3 \
		hlds.const_struct.int3 \
		hlds.goal_mode.int3 \
		hlds.hlds_clauses.int3 \
		hlds.hlds_cons.int3 \
		hlds.hlds_data.int3 \
		hlds.hlds_dependency_graph.int3 \
		hlds.hlds_goal.int3 \
		hlds.hlds_inst_mode.int3 \
		hlds.hlds_llds.int3 \
		hlds.hlds_promise.int3 \
		hlds.hlds_rtti.int3 \
		hlds.inst_graph.int3 \
		hlds.instmap.int3 \
		hlds.pred_name.int3 \
		hlds.pred_table.int3 \
		hlds.special_pred.int3 \
		libs.dependency_graph.int3 \
		libs.globals.int3 \
		libs.options.int3 \
		libs.polyhedron.int3 \
		libs.timestamp.int3 \
		mdbcomp.goal_path.int3 \
		mdbcomp.program_representation.int3 \
		mode_robdd.tfeirn.int3 \
		parse_tree.maybe_error.int3 \
		parse_tree.module_qual.int3 \
		parse_tree.prog_data_event.int3 \
		parse_tree.prog_data_foreign.int3 \
		parse_tree.prog_data_pragma.int3 \
		parse_tree.prog_data_used_modules.int3 \
		parse_tree.prog_foreign.int3 \
		parse_tree.prog_rename.int3 \
		parse_tree.set_of_var.int3 \
		parse_tree.var_table.int3 \
		recompilation.item_types.int3 \
		recompilation.record_uses.int3 \
		transform_hlds.term_constr_errors.int3 \
		transform_hlds.term_constr_main_types.int3 \
		transform_hlds.term_errors.int3 \
		transform_hlds.term_util.int3 \
		hlds.make_hlds.goal_expr_to_goal.int3 \
		hlds.make_hlds.qual_info.int3 \
		parse_tree.module_qual.mq_info.int3

# RULE foreign_deps_for_mh
hlds.make_hlds.add_class.$O hlds.make_hlds.add_class.pic_o : \
		array.mh \
		bitmap.mh \
		io.mh \
		string.mh \
		time.mh \
		io.stream_ops.mh

# RULE int0_on_date0
hlds.make_hlds.add_class.int0 : hlds.make_hlds.add_class.date0
	@:

# RULE int_on_date
hlds.make_hlds.add_class.int : hlds.make_hlds.add_class.date
	@:

# RULE int2_on_date
hlds.make_hlds.add_class.int2 : hlds.make_hlds.add_class.date
	@:

# RULE int3_on_date3
hlds.make_hlds.add_class.int3 : hlds.make_hlds.add_class.date3
	@:

# RULE opt_on_opt_date
hlds.make_hlds.add_class.opt : hlds.make_hlds.add_class.optdate
	@:

# RULE trans_opt_on_trans_opt_date
hlds.make_hlds.add_class.trans_opt : hlds.make_hlds.add_class.trans_opt_date
	@:

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

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

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

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

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

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

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

