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

# Automatically generated module dependencies for
# module `make.top_level' in source file `make.top_level.m'.
# Generated by Mercury compiler version rotd-2026-07-02
# 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
make.top_level.optdate make.top_level.trans_opt_date make.top_level.err make.top_level.c_date make.top_level.java_date : \
		make.top_level.m \
	\
		make.int0 \
	\
		backend_libs.int \
		bool.int \
		builtin.int \
		dir.int \
		io.int \
		libs.int \
		list.int \
		map.int \
		mdbcomp.int \
		pair.int \
		parse_tree.int \
		private_builtin.int \
		set.int \
		string.int \
		version_array.int \
		version_hash_table.int \
		backend_libs.compile_target_code.int \
		backend_libs.link_target_code.int \
		libs.globals.int \
		libs.maybe_util.int \
		libs.options.int \
		libs.timestamp.int \
		make.hash.int \
		make.index_set.int \
		make.make_info.int \
		make.module_target.int \
		make.options_file.int \
		make.program_target.int \
		make.timestamp.int \
		make.track_flags.int \
		make.util.int \
		mdbcomp.sym_name.int \
		parse_tree.error_spec.int \
		parse_tree.file_names.int \
		parse_tree.maybe_error.int \
		parse_tree.module_cmds.int \
		parse_tree.write_error_spec.int \
	\
		array.int2 \
		assoc_list.int2 \
		bitmap.int2 \
		char.int2 \
		construct.int2 \
		cord.int2 \
		deconstruct.int2 \
		edit_seq.int2 \
		enum.int2 \
		getopt.int2 \
		maybe.int2 \
		one_or_more.int2 \
		one_or_more_map.int2 \
		ops.int2 \
		pretty_printer.int2 \
		set_ordlist.int2 \
		sparse_bitset.int2 \
		stream.int2 \
		term.int2 \
		term_context.int2 \
		time.int2 \
		tree234.int2 \
		type_desc.int2 \
		unit.int2 \
		univ.int2 \
		varset.int2 \
		libs.file_util.int2 \
		libs.indent.int2 \
		libs.op_mode.int2 \
		libs.optdb_help.int2 \
		libs.optimization_options.int2 \
		libs.option_categories.int2 \
		libs.trace_params.int2 \
		make.build.int2 \
		make.prereqs_cache.int2 \
		mdbcomp.feedback.int2 \
		mdbcomp.prim_data.int2 \
		parse_tree.error_util.int2 \
		parse_tree.find_module.int2 \
		parse_tree.module_dep_info.int2 \
		parse_tree.prog_data.int2 \
		parse_tree.prog_data_pragma.int2 \
		parse_tree.prog_item.int2 \
		parse_tree.prog_parse_tree.int2 \
		parse_tree.read_modules.int2 \
		parse_tree.set_of_var.int2 \
		parse_tree.var_table.int2 \
		mdbcomp.feedback.feedback_info.int2 \
	\
		make.top_level.int \
	\
		make.int

# RULE objs_on_mihs
make.top_level.$O make.top_level.pic_o : \
		array.mih \
		assoc_list.mih \
		backend_libs.mih \
		bitmap.mih \
		bool.mih \
		builtin.mih \
		char.mih \
		construct.mih \
		cord.mih \
		deconstruct.mih \
		dir.mih \
		edit_seq.mih \
		enum.mih \
		getopt.mih \
		io.mih \
		libs.mih \
		list.mih \
		make.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 \
		set.mih \
		set_ordlist.mih \
		sparse_bitset.mih \
		stream.mih \
		string.mih \
		term.mih \
		term_context.mih \
		time.mih \
		tree234.mih \
		type_desc.mih \
		unit.mih \
		univ.mih \
		varset.mih \
		version_array.mih \
		version_hash_table.mih \
		backend_libs.compile_target_code.mih \
		backend_libs.link_target_code.mih \
		libs.file_util.mih \
		libs.globals.mih \
		libs.indent.mih \
		libs.maybe_util.mih \
		libs.op_mode.mih \
		libs.optdb_help.mih \
		libs.optimization_options.mih \
		libs.option_categories.mih \
		libs.options.mih \
		libs.timestamp.mih \
		libs.trace_params.mih \
		make.build.mih \
		make.hash.mih \
		make.index_set.mih \
		make.make_info.mih \
		make.module_target.mih \
		make.options_file.mih \
		make.prereqs_cache.mih \
		make.program_target.mih \
		make.timestamp.mih \
		make.track_flags.mih \
		make.util.mih \
		mdbcomp.feedback.mih \
		mdbcomp.prim_data.mih \
		mdbcomp.sym_name.mih \
		parse_tree.error_spec.mih \
		parse_tree.error_util.mih \
		parse_tree.file_names.mih \
		parse_tree.find_module.mih \
		parse_tree.maybe_error.mih \
		parse_tree.module_cmds.mih \
		parse_tree.module_dep_info.mih \
		parse_tree.prog_data.mih \
		parse_tree.prog_data_pragma.mih \
		parse_tree.prog_item.mih \
		parse_tree.prog_parse_tree.mih \
		parse_tree.read_modules.mih \
		parse_tree.set_of_var.mih \
		parse_tree.var_table.mih \
		parse_tree.write_error_spec.mih \
		mdbcomp.feedback.feedback_info.mih

# RULE mh_and_mih_on_c
make.top_level.mh make.top_level.mih : make.top_level.c

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

# RULE module_dep_on_java
make.top_level.module_dep : jmercury/make__top_level.java

else

# RULE module_dep_on_c
make.top_level.module_dep : make.top_level.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
make.top_level.date make.top_level.date0 make.date : \
		make.top_level.m \
	\
		make.int0 \
	\
		backend_libs.int3 \
		bool.int3 \
		builtin.int3 \
		dir.int3 \
		io.int3 \
		libs.int3 \
		list.int3 \
		map.int3 \
		mdbcomp.int3 \
		pair.int3 \
		parse_tree.int3 \
		private_builtin.int3 \
		set.int3 \
		string.int3 \
		version_array.int3 \
		version_hash_table.int3 \
		backend_libs.compile_target_code.int3 \
		backend_libs.link_target_code.int3 \
		libs.globals.int3 \
		libs.maybe_util.int3 \
		libs.options.int3 \
		libs.timestamp.int3 \
		make.hash.int3 \
		make.index_set.int3 \
		make.make_info.int3 \
		make.module_target.int3 \
		make.options_file.int3 \
		make.program_target.int3 \
		make.timestamp.int3 \
		make.track_flags.int3 \
		make.util.int3 \
		mdbcomp.sym_name.int3 \
		parse_tree.error_spec.int3 \
		parse_tree.file_names.int3 \
		parse_tree.maybe_error.int3 \
		parse_tree.module_cmds.int3 \
		parse_tree.write_error_spec.int3 \
	\
		array.int3 \
		assoc_list.int3 \
		bitmap.int3 \
		char.int3 \
		construct.int3 \
		cord.int3 \
		deconstruct.int3 \
		edit_seq.int3 \
		enum.int3 \
		getopt.int3 \
		maybe.int3 \
		one_or_more.int3 \
		one_or_more_map.int3 \
		ops.int3 \
		pretty_printer.int3 \
		set_ordlist.int3 \
		sparse_bitset.int3 \
		stream.int3 \
		term.int3 \
		term_context.int3 \
		time.int3 \
		tree234.int3 \
		type_desc.int3 \
		unit.int3 \
		univ.int3 \
		varset.int3 \
		libs.file_util.int3 \
		libs.indent.int3 \
		libs.op_mode.int3 \
		libs.optdb_help.int3 \
		libs.optimization_options.int3 \
		libs.option_categories.int3 \
		libs.trace_params.int3 \
		make.build.int3 \
		make.prereqs_cache.int3 \
		mdbcomp.feedback.int3 \
		mdbcomp.prim_data.int3 \
		parse_tree.error_util.int3 \
		parse_tree.find_module.int3 \
		parse_tree.module_dep_info.int3 \
		parse_tree.prog_data.int3 \
		parse_tree.prog_data_pragma.int3 \
		parse_tree.prog_item.int3 \
		parse_tree.prog_parse_tree.int3 \
		parse_tree.read_modules.int3 \
		parse_tree.set_of_var.int3 \
		parse_tree.var_table.int3 \
		mdbcomp.feedback.feedback_info.int3

# RULE self_and_parent_date0_deps
# target group names:
#   date0s
# source group names:
#   source
#   direct dep int3s
#   indirect dep int3s
make.top_level.date0 make.date0 : \
		make.top_level.m \
	\
		backend_libs.int3 \
		bool.int3 \
		builtin.int3 \
		dir.int3 \
		io.int3 \
		libs.int3 \
		list.int3 \
		map.int3 \
		mdbcomp.int3 \
		pair.int3 \
		parse_tree.int3 \
		private_builtin.int3 \
		set.int3 \
		string.int3 \
		version_array.int3 \
		version_hash_table.int3 \
		backend_libs.compile_target_code.int3 \
		backend_libs.link_target_code.int3 \
		libs.globals.int3 \
		libs.maybe_util.int3 \
		libs.options.int3 \
		libs.timestamp.int3 \
		make.hash.int3 \
		make.index_set.int3 \
		make.make_info.int3 \
		make.module_target.int3 \
		make.options_file.int3 \
		make.program_target.int3 \
		make.timestamp.int3 \
		make.track_flags.int3 \
		make.util.int3 \
		mdbcomp.sym_name.int3 \
		parse_tree.error_spec.int3 \
		parse_tree.file_names.int3 \
		parse_tree.maybe_error.int3 \
		parse_tree.module_cmds.int3 \
		parse_tree.write_error_spec.int3 \
	\
		array.int3 \
		assoc_list.int3 \
		bitmap.int3 \
		char.int3 \
		construct.int3 \
		cord.int3 \
		deconstruct.int3 \
		edit_seq.int3 \
		enum.int3 \
		getopt.int3 \
		maybe.int3 \
		one_or_more.int3 \
		one_or_more_map.int3 \
		ops.int3 \
		pretty_printer.int3 \
		set_ordlist.int3 \
		sparse_bitset.int3 \
		stream.int3 \
		term.int3 \
		term_context.int3 \
		time.int3 \
		tree234.int3 \
		type_desc.int3 \
		unit.int3 \
		univ.int3 \
		varset.int3 \
		libs.file_util.int3 \
		libs.indent.int3 \
		libs.op_mode.int3 \
		libs.optdb_help.int3 \
		libs.optimization_options.int3 \
		libs.option_categories.int3 \
		libs.trace_params.int3 \
		make.build.int3 \
		make.prereqs_cache.int3 \
		mdbcomp.feedback.int3 \
		mdbcomp.prim_data.int3 \
		parse_tree.error_util.int3 \
		parse_tree.find_module.int3 \
		parse_tree.module_dep_info.int3 \
		parse_tree.prog_data.int3 \
		parse_tree.prog_data_pragma.int3 \
		parse_tree.prog_item.int3 \
		parse_tree.prog_parse_tree.int3 \
		parse_tree.read_modules.int3 \
		parse_tree.set_of_var.int3 \
		parse_tree.var_table.int3 \
		mdbcomp.feedback.feedback_info.int3

# RULE foreign_deps_for_mh
# target group names:
#   object_files
# source group names:
#   own_mh_deps
make.top_level.$O make.top_level.pic_o : \
		array.mh \
		assoc_list.mh \
		backend_libs.mh \
		bitmap.mh \
		bool.mh \
		builtin.mh \
		char.mh \
		construct.mh \
		cord.mh \
		deconstruct.mh \
		dir.mh \
		edit_seq.mh \
		enum.mh \
		getopt.mh \
		io.mh \
		libs.mh \
		list.mh \
		map.mh \
		maybe.mh \
		mdbcomp.mh \
		one_or_more.mh \
		one_or_more_map.mh \
		ops.mh \
		pair.mh \
		parse_tree.mh \
		pretty_printer.mh \
		private_builtin.mh \
		set.mh \
		set_ordlist.mh \
		sparse_bitset.mh \
		stream.mh \
		string.mh \
		term.mh \
		term_context.mh \
		time.mh \
		tree234.mh \
		type_desc.mh \
		unit.mh \
		univ.mh \
		varset.mh \
		version_array.mh \
		version_hash_table.mh \
		backend_libs.compile_target_code.mh \
		backend_libs.link_target_code.mh \
		io.stream_ops.mh \
		libs.file_util.mh \
		libs.globals.mh \
		libs.indent.mh \
		libs.maybe_util.mh \
		libs.op_mode.mh \
		libs.optdb_help.mh \
		libs.optimization_options.mh \
		libs.option_categories.mh \
		libs.options.mh \
		libs.timestamp.mh \
		libs.trace_params.mh \
		make.build.mh \
		make.hash.mh \
		make.index_set.mh \
		make.make_info.mh \
		make.module_target.mh \
		make.options_file.mh \
		make.prereqs_cache.mh \
		make.program_target.mh \
		make.timestamp.mh \
		make.track_flags.mh \
		make.util.mh \
		mdbcomp.feedback.mh \
		mdbcomp.prim_data.mh \
		mdbcomp.sym_name.mh \
		parse_tree.error_spec.mh \
		parse_tree.error_util.mh \
		parse_tree.file_names.mh \
		parse_tree.find_module.mh \
		parse_tree.maybe_error.mh \
		parse_tree.module_cmds.mh \
		parse_tree.module_dep_info.mh \
		parse_tree.prog_data.mh \
		parse_tree.prog_data_pragma.mh \
		parse_tree.prog_item.mh \
		parse_tree.prog_parse_tree.mh \
		parse_tree.read_modules.mh \
		parse_tree.set_of_var.mh \
		parse_tree.var_table.mh \
		parse_tree.write_error_spec.mh \
		mdbcomp.feedback.feedback_info.mh

# RULE int0_on_date0
make.top_level.int0 : make.top_level.date0
	@:

# RULE int_on_date
make.top_level.int : make.top_level.date
	@:

# RULE int2_on_date
make.top_level.int2 : make.top_level.date
	@:

# RULE int3_on_date3
make.top_level.int3 : make.top_level.date3
	@:

# RULE opt_on_opt_date
make.top_level.opt : make.top_level.optdate
	@:

# RULE trans_opt_on_trans_opt_date
make.top_level.trans_opt : make.top_level.trans_opt_date
	@:

