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

# Automatically generated module dependencies for
# module `mdb.save_term' in source file `save_term.m'.
# Generated by Mercury compiler version rotd-2026-06-01
# 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
mdb.save_term.optdate mdb.save_term.trans_opt_date save_term.err mdb.save_term.c_date mdb.save_term.java_date : \
		save_term.m \
	\
		mdb.int0 \
	\
		builtin.int \
		deconstruct.int \
		dir.int \
		int.int \
		io.int \
		list.int \
		maybe.int \
		pretty_printer.int \
		private_builtin.int \
		stream.int \
		string.int \
		term_to_xml.int \
		type_desc.int \
		univ.int \
		io.call_system.int \
		io.environment.int \
		io.file.int \
		mdb.browser_info.int \
		mdb.browser_term.int \
		mdb.term_to_html.int \
		string.format.int \
		string.parse_util.int \
	\
		array.int2 \
		assoc_list.int2 \
		bitmap.int2 \
		bool.int2 \
		char.int2 \
		construct.int2 \
		enum.int2 \
		getopt.int2 \
		map.int2 \
		mdbcomp.int2 \
		one_or_more.int2 \
		ops.int2 \
		pair.int2 \
		rtti_implementation.int2 \
		set.int2 \
		set_ordlist.int2 \
		term.int2 \
		term_context.int2 \
		time.int2 \
		tree234.int2 \
		unit.int2 \
		version_array.int2 \
		io.stream_db.int2 \
		mdb.parse.int2 \
		mdb.term_rep.int2 \
		mdbcomp.program_representation.int2 \
		string.builder.int2 \
	\
		mdb.save_term.int \
	\
		mdb.int

# RULE objs_on_mihs
mdb.save_term.$O mdb.save_term.pic_o : \
		array.mih \
		assoc_list.mih \
		bitmap.mih \
		bool.mih \
		builtin.mih \
		char.mih \
		construct.mih \
		deconstruct.mih \
		dir.mih \
		enum.mih \
		getopt.mih \
		int.mih \
		io.mih \
		list.mih \
		map.mih \
		maybe.mih \
		mdb.mih \
		mdbcomp.mih \
		one_or_more.mih \
		ops.mih \
		pair.mih \
		pretty_printer.mih \
		private_builtin.mih \
		rtti_implementation.mih \
		set.mih \
		set_ordlist.mih \
		stream.mih \
		string.mih \
		term.mih \
		term_context.mih \
		term_to_xml.mih \
		time.mih \
		tree234.mih \
		type_desc.mih \
		unit.mih \
		univ.mih \
		version_array.mih \
		io.call_system.mih \
		io.environment.mih \
		io.file.mih \
		io.stream_db.mih \
		mdb.browser_info.mih \
		mdb.browser_term.mih \
		mdb.parse.mih \
		mdb.term_rep.mih \
		mdb.term_to_html.mih \
		mdbcomp.program_representation.mih \
		string.builder.mih \
		string.format.mih \
		string.parse_util.mih

# RULE mh_and_mih_on_c
mdb.save_term.mh mdb.save_term.mih : mdb.save_term.c

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

# RULE module_dep_on_java
mdb.save_term.module_dep : jmercury/mdb__save_term.java

else

# RULE module_dep_on_c
mdb.save_term.module_dep : mdb.save_term.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
mdb.save_term.date mdb.save_term.date0 mdb.date : \
		save_term.m \
	\
		mdb.int0 \
	\
		builtin.int3 \
		deconstruct.int3 \
		dir.int3 \
		int.int3 \
		io.int3 \
		list.int3 \
		maybe.int3 \
		pretty_printer.int3 \
		private_builtin.int3 \
		stream.int3 \
		string.int3 \
		term_to_xml.int3 \
		type_desc.int3 \
		univ.int3 \
		io.call_system.int3 \
		io.environment.int3 \
		io.file.int3 \
		mdb.browser_info.int3 \
		mdb.browser_term.int3 \
		mdb.term_to_html.int3 \
		string.format.int3 \
		string.parse_util.int3 \
	\
		array.int3 \
		assoc_list.int3 \
		bitmap.int3 \
		bool.int3 \
		char.int3 \
		construct.int3 \
		enum.int3 \
		getopt.int3 \
		map.int3 \
		mdbcomp.int3 \
		one_or_more.int3 \
		ops.int3 \
		pair.int3 \
		rtti_implementation.int3 \
		set.int3 \
		set_ordlist.int3 \
		term.int3 \
		term_context.int3 \
		time.int3 \
		tree234.int3 \
		unit.int3 \
		version_array.int3 \
		io.stream_db.int3 \
		mdb.parse.int3 \
		mdb.term_rep.int3 \
		mdbcomp.program_representation.int3 \
		string.builder.int3

# RULE self_and_parent_date0_deps
# target group names:
#   date0s
# source group names:
#   source
#   direct dep int3s
#   indirect dep int3s
mdb.save_term.date0 mdb.date0 : \
		save_term.m \
	\
		builtin.int3 \
		deconstruct.int3 \
		dir.int3 \
		int.int3 \
		io.int3 \
		list.int3 \
		maybe.int3 \
		pretty_printer.int3 \
		private_builtin.int3 \
		stream.int3 \
		string.int3 \
		term_to_xml.int3 \
		type_desc.int3 \
		univ.int3 \
		io.call_system.int3 \
		io.environment.int3 \
		io.file.int3 \
		mdb.browser_info.int3 \
		mdb.browser_term.int3 \
		mdb.term_to_html.int3 \
		string.format.int3 \
		string.parse_util.int3 \
	\
		array.int3 \
		assoc_list.int3 \
		bitmap.int3 \
		bool.int3 \
		char.int3 \
		construct.int3 \
		enum.int3 \
		getopt.int3 \
		map.int3 \
		mdbcomp.int3 \
		one_or_more.int3 \
		ops.int3 \
		pair.int3 \
		rtti_implementation.int3 \
		set.int3 \
		set_ordlist.int3 \
		term.int3 \
		term_context.int3 \
		time.int3 \
		tree234.int3 \
		unit.int3 \
		version_array.int3 \
		io.stream_db.int3 \
		mdb.parse.int3 \
		mdb.term_rep.int3 \
		mdbcomp.program_representation.int3 \
		string.builder.int3

# RULE foreign_deps_for_mh
# target group names:
#   object_files
# source group names:
#   own_mh_deps
mdb.save_term.$O mdb.save_term.pic_o : \
		array.mh \
		assoc_list.mh \
		bitmap.mh \
		bool.mh \
		builtin.mh \
		char.mh \
		construct.mh \
		deconstruct.mh \
		dir.mh \
		enum.mh \
		getopt.mh \
		int.mh \
		io.mh \
		list.mh \
		map.mh \
		maybe.mh \
		mdb.mh \
		mdbcomp.mh \
		one_or_more.mh \
		ops.mh \
		pair.mh \
		pretty_printer.mh \
		private_builtin.mh \
		rtti_implementation.mh \
		set.mh \
		set_ordlist.mh \
		stream.mh \
		string.mh \
		term.mh \
		term_context.mh \
		term_to_xml.mh \
		time.mh \
		tree234.mh \
		type_desc.mh \
		unit.mh \
		univ.mh \
		version_array.mh \
		io.call_system.mh \
		io.environment.mh \
		io.file.mh \
		io.stream_db.mh \
		io.stream_ops.mh \
		mdb.browser_info.mh \
		mdb.browser_term.mh \
		mdb.parse.mh \
		mdb.save_term.mh \
		mdb.term_rep.mh \
		mdb.term_to_html.mh \
		mdbcomp.program_representation.mh \
		string.builder.mh \
		string.format.mh \
		string.parse_util.mh

# RULE int0_on_date0
mdb.save_term.int0 : mdb.save_term.date0
	@:

# RULE int_on_date
mdb.save_term.int : mdb.save_term.date
	@:

# RULE int2_on_date
mdb.save_term.int2 : mdb.save_term.date
	@:

# RULE int3_on_date3
mdb.save_term.int3 : mdb.save_term.date3
	@:

# RULE opt_on_opt_date
mdb.save_term.opt : mdb.save_term.optdate
	@:

# RULE trans_opt_on_trans_opt_date
mdb.save_term.trans_opt : mdb.save_term.trans_opt_date
	@:

# RULE date0_on_src
mdb.save_term.date0 : save_term.m
	$(MCPI) $(ALL_GRADEFLAGS) $(ALL_MCPIFLAGS) mdb.save_term

# RULE date_on_src
mdb.save_term.date : save_term.m
	$(MCI) $(ALL_GRADEFLAGS) $(ALL_MCIFLAGS) mdb.save_term

# RULE date3_on_src
mdb.save_term.date3 : save_term.m
	$(MCSI) $(ALL_GRADEFLAGS) $(ALL_MCSIFLAGS) mdb.save_term

# RULE opt_date_on_src
mdb.save_term.optdate : save_term.m
	$(MCOI) $(ALL_GRADEFLAGS) $(ALL_MCOIFLAGS) mdb.save_term

# RULE trans_opt_date_on_src
mdb.save_term.trans_opt_date : save_term.m
	$(MCTOI) $(ALL_GRADEFLAGS) $(ALL_MCTOIFLAGS) mdb.save_term

# RULE c_date_on_src
mdb.save_term.c_date : save_term.m
	$(MCG) $(ALL_GRADEFLAGS) $(ALL_MCGFLAGS) mdb.save_term $(ERR_REDIRECT)

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

