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

# Automatically generated module dependencies for
# module `mdb.diff' in source file `diff.m'.
# Generated by Mercury compiler version rotd-2026-07-09
# 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.diff.optdate mdb.diff.trans_opt_date diff.err mdb.diff.c_date mdb.diff.java_date : \
		diff.m \
	\
		mdb.int0 \
	\
		builtin.int \
		deconstruct.int \
		int.int \
		io.int \
		list.int \
		mdbcomp.int \
		private_builtin.int \
		require.int \
		string.int \
		univ.int \
		mdbcomp.program_representation.int \
		string.format.int \
		string.parse_util.int \
	\
		array.int2 \
		assoc_list.int2 \
		bimap.int2 \
		bitmap.int2 \
		bool.int2 \
		char.int2 \
		construct.int2 \
		enum.int2 \
		map.int2 \
		maybe.int2 \
		ops.int2 \
		pair.int2 \
		pretty_printer.int2 \
		stream.int2 \
		term.int2 \
		term_context.int2 \
		time.int2 \
		tree234.int2 \
		type_desc.int2 \
		unit.int2 \
		mdbcomp.goal_path.int2 \
		mdbcomp.prim_data.int2 \
		mdbcomp.rtti_access.int2 \
		mdbcomp.sym_name.int2 \
	\
		mdb.diff.int \
	\
		mdb.int

# RULE objs_on_mihs
mdb.diff.$O mdb.diff.pic_o : \
		array.mih \
		assoc_list.mih \
		bimap.mih \
		bitmap.mih \
		bool.mih \
		builtin.mih \
		char.mih \
		construct.mih \
		deconstruct.mih \
		enum.mih \
		int.mih \
		io.mih \
		list.mih \
		map.mih \
		maybe.mih \
		mdb.mih \
		mdbcomp.mih \
		ops.mih \
		pair.mih \
		pretty_printer.mih \
		private_builtin.mih \
		require.mih \
		stream.mih \
		string.mih \
		term.mih \
		term_context.mih \
		time.mih \
		tree234.mih \
		type_desc.mih \
		unit.mih \
		univ.mih \
		mdbcomp.goal_path.mih \
		mdbcomp.prim_data.mih \
		mdbcomp.program_representation.mih \
		mdbcomp.rtti_access.mih \
		mdbcomp.sym_name.mih \
		string.format.mih \
		string.parse_util.mih

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

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

# RULE module_dep_on_java
mdb.diff.module_dep : jmercury/mdb__diff.java

else

# RULE module_dep_on_c
mdb.diff.module_dep : mdb.diff.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.diff.date mdb.diff.date0 mdb.date : \
		diff.m \
	\
		mdb.int0 \
	\
		builtin.int3 \
		deconstruct.int3 \
		int.int3 \
		io.int3 \
		list.int3 \
		mdbcomp.int3 \
		private_builtin.int3 \
		require.int3 \
		string.int3 \
		univ.int3 \
		mdbcomp.program_representation.int3 \
		string.format.int3 \
		string.parse_util.int3 \
	\
		array.int3 \
		assoc_list.int3 \
		bimap.int3 \
		bitmap.int3 \
		bool.int3 \
		char.int3 \
		construct.int3 \
		enum.int3 \
		map.int3 \
		maybe.int3 \
		ops.int3 \
		pair.int3 \
		pretty_printer.int3 \
		stream.int3 \
		term.int3 \
		term_context.int3 \
		time.int3 \
		tree234.int3 \
		type_desc.int3 \
		unit.int3 \
		mdbcomp.goal_path.int3 \
		mdbcomp.prim_data.int3 \
		mdbcomp.rtti_access.int3 \
		mdbcomp.sym_name.int3

# RULE self_and_parent_date0_deps
# target group names:
#   date0s
# source group names:
#   source
#   direct dep int3s
#   indirect dep int3s
mdb.diff.date0 mdb.date0 : \
		diff.m \
	\
		builtin.int3 \
		deconstruct.int3 \
		int.int3 \
		io.int3 \
		list.int3 \
		mdbcomp.int3 \
		private_builtin.int3 \
		require.int3 \
		string.int3 \
		univ.int3 \
		mdbcomp.program_representation.int3 \
		string.format.int3 \
		string.parse_util.int3 \
	\
		array.int3 \
		assoc_list.int3 \
		bimap.int3 \
		bitmap.int3 \
		bool.int3 \
		char.int3 \
		construct.int3 \
		enum.int3 \
		map.int3 \
		maybe.int3 \
		ops.int3 \
		pair.int3 \
		pretty_printer.int3 \
		stream.int3 \
		term.int3 \
		term_context.int3 \
		time.int3 \
		tree234.int3 \
		type_desc.int3 \
		unit.int3 \
		mdbcomp.goal_path.int3 \
		mdbcomp.prim_data.int3 \
		mdbcomp.rtti_access.int3 \
		mdbcomp.sym_name.int3

# RULE foreign_deps_for_mh
# target group names:
#   object_files
# source group names:
#   own_mh_deps
mdb.diff.$O mdb.diff.pic_o : \
		array.mh \
		assoc_list.mh \
		bimap.mh \
		bitmap.mh \
		bool.mh \
		builtin.mh \
		char.mh \
		construct.mh \
		deconstruct.mh \
		enum.mh \
		int.mh \
		io.mh \
		list.mh \
		map.mh \
		maybe.mh \
		mdb.mh \
		mdbcomp.mh \
		ops.mh \
		pair.mh \
		pretty_printer.mh \
		private_builtin.mh \
		require.mh \
		stream.mh \
		string.mh \
		term.mh \
		term_context.mh \
		time.mh \
		tree234.mh \
		type_desc.mh \
		unit.mh \
		univ.mh \
		io.stream_ops.mh \
		mdb.diff.mh \
		mdbcomp.goal_path.mh \
		mdbcomp.prim_data.mh \
		mdbcomp.program_representation.mh \
		mdbcomp.rtti_access.mh \
		mdbcomp.sym_name.mh \
		string.format.mh \
		string.parse_util.mh

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

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

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

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

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

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

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

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

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

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

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

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

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

