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

# Automatically generated module dependencies for
# module `libs.dependency_graph' in source file `dependency_graph.m'.
# Generated by Mercury compiler version rotd-2026-05-29
# 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
libs.dependency_graph.optdate libs.dependency_graph.trans_opt_date dependency_graph.err libs.dependency_graph.c_date libs.dependency_graph.java_date : \
		dependency_graph.m \
	\
		libs.int0 \
	\
		assoc_list.int \
		builtin.int \
		digraph.int \
		list.int \
		map.int \
		private_builtin.int \
		set.int \
	\
		bool.int2 \
		enum.int2 \
		maybe.int2 \
		pair.int2 \
		pretty_printer.int2 \
		set_ordlist.int2 \
		sparse_bitset.int2 \
		term.int2 \
		term_context.int2 \
		tree234.int2 \
		type_desc.int2 \
		univ.int2 \
	\
		libs.dependency_graph.int \
	\
		libs.int

# RULE objs_on_mihs
libs.dependency_graph.$O libs.dependency_graph.pic_o : \
		assoc_list.mih \
		bool.mih \
		builtin.mih \
		digraph.mih \
		enum.mih \
		libs.mih \
		list.mih \
		map.mih \
		maybe.mih \
		pair.mih \
		pretty_printer.mih \
		private_builtin.mih \
		set.mih \
		set_ordlist.mih \
		sparse_bitset.mih \
		term.mih \
		term_context.mih \
		tree234.mih \
		type_desc.mih \
		univ.mih

# RULE mh_and_mih_on_c
libs.dependency_graph.mh libs.dependency_graph.mih : libs.dependency_graph.c

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

# RULE module_dep_on_java
libs.dependency_graph.module_dep : jmercury/libs__dependency_graph.java

else

# RULE module_dep_on_c
libs.dependency_graph.module_dep : libs.dependency_graph.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
libs.dependency_graph.date libs.dependency_graph.date0 libs.date : \
		dependency_graph.m \
	\
		libs.int0 \
	\
		assoc_list.int3 \
		builtin.int3 \
		digraph.int3 \
		list.int3 \
		map.int3 \
		private_builtin.int3 \
		set.int3 \
	\
		bool.int3 \
		enum.int3 \
		maybe.int3 \
		pair.int3 \
		pretty_printer.int3 \
		set_ordlist.int3 \
		sparse_bitset.int3 \
		term.int3 \
		term_context.int3 \
		tree234.int3 \
		type_desc.int3 \
		univ.int3

# RULE self_and_parent_date0_deps
# target group names:
#   date0s
# source group names:
#   source
#   direct dep int3s
#   indirect dep int3s
libs.dependency_graph.date0 libs.date0 : \
		dependency_graph.m \
	\
		assoc_list.int3 \
		builtin.int3 \
		digraph.int3 \
		list.int3 \
		map.int3 \
		private_builtin.int3 \
		set.int3 \
	\
		bool.int3 \
		enum.int3 \
		maybe.int3 \
		pair.int3 \
		pretty_printer.int3 \
		set_ordlist.int3 \
		sparse_bitset.int3 \
		term.int3 \
		term_context.int3 \
		tree234.int3 \
		type_desc.int3 \
		univ.int3

# RULE foreign_deps_for_mh
# target group names:
#   object_files
# source group names:
#   own_mh_deps
libs.dependency_graph.$O libs.dependency_graph.pic_o : \
		assoc_list.mh \
		bool.mh \
		builtin.mh \
		digraph.mh \
		enum.mh \
		list.mh \
		map.mh \
		maybe.mh \
		pair.mh \
		pretty_printer.mh \
		private_builtin.mh \
		set.mh \
		set_ordlist.mh \
		sparse_bitset.mh \
		term.mh \
		term_context.mh \
		tree234.mh \
		type_desc.mh \
		univ.mh

# RULE int0_on_date0
libs.dependency_graph.int0 : libs.dependency_graph.date0
	@:

# RULE int_on_date
libs.dependency_graph.int : libs.dependency_graph.date
	@:

# RULE int2_on_date
libs.dependency_graph.int2 : libs.dependency_graph.date
	@:

# RULE int3_on_date3
libs.dependency_graph.int3 : libs.dependency_graph.date3
	@:

# RULE opt_on_opt_date
libs.dependency_graph.opt : libs.dependency_graph.optdate
	@:

# RULE trans_opt_on_trans_opt_date
libs.dependency_graph.trans_opt : libs.dependency_graph.trans_opt_date
	@:

# RULE date0_on_src
libs.dependency_graph.date0 : dependency_graph.m
	$(MCPI) $(ALL_GRADEFLAGS) $(ALL_MCPIFLAGS) libs.dependency_graph

# RULE date_on_src
libs.dependency_graph.date : dependency_graph.m
	$(MCI) $(ALL_GRADEFLAGS) $(ALL_MCIFLAGS) libs.dependency_graph

# RULE date3_on_src
libs.dependency_graph.date3 : dependency_graph.m
	$(MCSI) $(ALL_GRADEFLAGS) $(ALL_MCSIFLAGS) libs.dependency_graph

# RULE opt_date_on_src
libs.dependency_graph.optdate : dependency_graph.m
	$(MCOI) $(ALL_GRADEFLAGS) $(ALL_MCOIFLAGS) libs.dependency_graph

# RULE trans_opt_date_on_src
libs.dependency_graph.trans_opt_date : dependency_graph.m
	$(MCTOI) $(ALL_GRADEFLAGS) $(ALL_MCTOIFLAGS) libs.dependency_graph

# RULE c_date_on_src
libs.dependency_graph.c_date : dependency_graph.m
	$(MCG) $(ALL_GRADEFLAGS) $(ALL_MCGFLAGS) libs.dependency_graph $(ERR_REDIRECT)

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

