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

# Automatically generated module dependencies for
# module `mdb.collect_lib' in source file `collect_lib.m'.
# Generated by Mercury compiler version rotd-2024-04-13
# 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
mdb.collect_lib.optdate mdb.collect_lib.trans_opt_date collect_lib.err mdb.collect_lib.c_date mdb.collect_lib.java_date : \
		collect_lib.m \
	\
		mdb.int0 \
	\
		builtin.int \
		char.int \
		io.int \
		private_builtin.int \
		mdb.dl.int \
	\
		array.int2 \
		assoc_list.int2 \
		bitmap.int2 \
		bool.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 \
		mdb.name_mangle.int2 \
	\
		mdb.collect_lib.int \
	\
		mdb.int

# RULE objs_on_mihs
mdb.collect_lib.pic_o mdb.collect_lib.$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 \
		mdb.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 \
		mdb.dl.mih \
		mdb.name_mangle.mih

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

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

# RULE module_dep_on_java
mdb.collect_lib.module_dep : jmercury/mdb__collect_lib.java

else

# RULE module_dep_on_c
mdb.collect_lib.module_dep : mdb.collect_lib.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
mdb.collect_lib.date mdb.collect_lib.date0 mdb.date : \
		collect_lib.m \
	\
		mdb.int0 \
	\
		builtin.int3 \
		char.int3 \
		io.int3 \
		private_builtin.int3 \
		mdb.dl.int3 \
	\
		array.int3 \
		assoc_list.int3 \
		bitmap.int3 \
		bool.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 \
		mdb.name_mangle.int3

# RULE self_and_parent_date0_deps
# target group names:
#   date0s
# source group names:
#   source
#   long dep int3s
#   short dep int3s
mdb.collect_lib.date0 mdb.date0 : \
		collect_lib.m \
	\
		builtin.int3 \
		char.int3 \
		io.int3 \
		private_builtin.int3 \
		mdb.dl.int3 \
	\
		array.int3 \
		assoc_list.int3 \
		bitmap.int3 \
		bool.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 \
		mdb.name_mangle.int3

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

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

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

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

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

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

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

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

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

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

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

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

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

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

