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

# Automatically generated module dependencies for
# module `mdbcomp.shared_utilities' in source file `shared_utilities.m'.
# Generated by Mercury compiler version rotd-2024-07-22
# 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
mdbcomp.shared_utilities.optdate mdbcomp.shared_utilities.trans_opt_date shared_utilities.err mdbcomp.shared_utilities.c_date mdbcomp.shared_utilities.java_date : \
		shared_utilities.m \
	\
		mdbcomp.int0 \
	\
		builtin.int \
		io.int \
		private_builtin.int \
	\
		array.int2 \
		assoc_list.int2 \
		bitmap.int2 \
		bool.int2 \
		char.int2 \
		construct.int2 \
		deconstruct.int2 \
		enum.int2 \
		list.int2 \
		map.int2 \
		maybe.int2 \
		pair.int2 \
		pretty_printer.int2 \
		stream.int2 \
		string.int2 \
		term.int2 \
		term_context.int2 \
		time.int2 \
		tree234.int2 \
		type_desc.int2 \
		univ.int2 \
	\
		mdbcomp.shared_utilities.int \
	\
		mdbcomp.int

# RULE objs_on_mihs
mdbcomp.shared_utilities.pic_o mdbcomp.shared_utilities.$O : \
		array.mih \
		assoc_list.mih \
		bitmap.mih \
		bool.mih \
		builtin.mih \
		char.mih \
		construct.mih \
		deconstruct.mih \
		enum.mih \
		io.mih \
		list.mih \
		map.mih \
		maybe.mih \
		mdbcomp.mih \
		pair.mih \
		pretty_printer.mih \
		private_builtin.mih \
		stream.mih \
		string.mih \
		term.mih \
		term_context.mih \
		time.mih \
		tree234.mih \
		type_desc.mih \
		univ.mih

# RULE mh_and_mih_on_c
mdbcomp.shared_utilities.mh mdbcomp.shared_utilities.mih : mdbcomp.shared_utilities.c

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

# RULE module_dep_on_java
mdbcomp.shared_utilities.module_dep : jmercury/mdbcomp__shared_utilities.java

else

# RULE module_dep_on_c
mdbcomp.shared_utilities.module_dep : mdbcomp.shared_utilities.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
mdbcomp.shared_utilities.date mdbcomp.shared_utilities.date0 mdbcomp.date : \
		shared_utilities.m \
	\
		mdbcomp.int0 \
	\
		builtin.int3 \
		io.int3 \
		private_builtin.int3 \
	\
		array.int3 \
		assoc_list.int3 \
		bitmap.int3 \
		bool.int3 \
		char.int3 \
		construct.int3 \
		deconstruct.int3 \
		enum.int3 \
		list.int3 \
		map.int3 \
		maybe.int3 \
		pair.int3 \
		pretty_printer.int3 \
		stream.int3 \
		string.int3 \
		term.int3 \
		term_context.int3 \
		time.int3 \
		tree234.int3 \
		type_desc.int3 \
		univ.int3

# RULE self_and_parent_date0_deps
# target group names:
#   date0s
# source group names:
#   source
#   long dep int3s
#   short dep int3s
mdbcomp.shared_utilities.date0 mdbcomp.date0 : \
		shared_utilities.m \
	\
		builtin.int3 \
		io.int3 \
		private_builtin.int3 \
	\
		array.int3 \
		assoc_list.int3 \
		bitmap.int3 \
		bool.int3 \
		char.int3 \
		construct.int3 \
		deconstruct.int3 \
		enum.int3 \
		list.int3 \
		map.int3 \
		maybe.int3 \
		pair.int3 \
		pretty_printer.int3 \
		stream.int3 \
		string.int3 \
		term.int3 \
		term_context.int3 \
		time.int3 \
		tree234.int3 \
		type_desc.int3 \
		univ.int3

# RULE foreign_deps_for_mh
mdbcomp.shared_utilities.$O mdbcomp.shared_utilities.pic_o : \
		array.mh \
		bitmap.mh \
		io.mh \
		mdbcomp.mh \
		string.mh \
		time.mh \
		io.stream_ops.mh \
		mdbcomp.shared_utilities.mh

# RULE int0_on_date0
mdbcomp.shared_utilities.int0 : mdbcomp.shared_utilities.date0
	@:

# RULE int_on_date
mdbcomp.shared_utilities.int : mdbcomp.shared_utilities.date
	@:

# RULE int2_on_date
mdbcomp.shared_utilities.int2 : mdbcomp.shared_utilities.date
	@:

# RULE int3_on_date3
mdbcomp.shared_utilities.int3 : mdbcomp.shared_utilities.date3
	@:

# RULE opt_on_opt_date
mdbcomp.shared_utilities.opt : mdbcomp.shared_utilities.optdate
	@:

# RULE trans_opt_on_trans_opt_date
mdbcomp.shared_utilities.trans_opt : mdbcomp.shared_utilities.trans_opt_date
	@:

# RULE date0_on_src
mdbcomp.shared_utilities.date0 : shared_utilities.m
	$(MCPI) $(ALL_GRADEFLAGS) $(ALL_MCPIFLAGS) mdbcomp.shared_utilities

# RULE date_on_src
mdbcomp.shared_utilities.date : shared_utilities.m
	$(MCI) $(ALL_GRADEFLAGS) $(ALL_MCIFLAGS) mdbcomp.shared_utilities

# RULE date3_on_src
mdbcomp.shared_utilities.date3 : shared_utilities.m
	$(MCSI) $(ALL_GRADEFLAGS) $(ALL_MCSIFLAGS) mdbcomp.shared_utilities

# RULE opt_date_on_src
mdbcomp.shared_utilities.optdate : shared_utilities.m
	$(MCOI) $(ALL_GRADEFLAGS) $(ALL_MCOIFLAGS) mdbcomp.shared_utilities

# RULE trans_opt_date_on_src
mdbcomp.shared_utilities.trans_opt_date : shared_utilities.m
	$(MCTOI) $(ALL_GRADEFLAGS) $(ALL_MCTOIFLAGS) mdbcomp.shared_utilities

# RULE c_date_on_src
mdbcomp.shared_utilities.c_date : shared_utilities.m
	$(MCG) $(ALL_GRADEFLAGS) $(ALL_MCGFLAGS) mdbcomp.shared_utilities $(ERR_REDIRECT)

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

