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

# Automatically generated module dependencies for
# module `parse_tree.prog_item' in source file `prog_item.m'.
# Generated by Mercury compiler version rotd-2023-08-03
# configured for x86_64-pc-linux-gnu.

# RULE date_file_deps
# target group names:
#   dates_and_err
# source group names:
#   (unnamed)
#   ancestors
#   long deps
#   short deps
#   type_repn self dep
#   type_repn ancestor dep
parse_tree.prog_item.optdate parse_tree.prog_item.trans_opt_date prog_item.err parse_tree.prog_item.c_date parse_tree.prog_item.java_date : \
		prog_item.m \
	\
		parse_tree.int0 \
	\
		assoc_list.int \
		builtin.int \
		cord.int \
		libs.int \
		list.int \
		map.int \
		maybe.int \
		mdbcomp.int \
		one_or_more.int \
		one_or_more_map.int \
		pair.int \
		private_builtin.int \
		recompilation.int \
		set.int \
		term.int \
		varset.int \
		libs.globals.int \
		mdbcomp.prim_data.int \
		mdbcomp.sym_name.int \
		parse_tree.error_spec.int \
		parse_tree.maybe_error.int \
		parse_tree.prog_data.int \
		parse_tree.prog_data_foreign.int \
		parse_tree.prog_data_pragma.int \
		parse_tree.prog_util.int \
	\
		array.int2 \
		bitmap.int2 \
		bool.int2 \
		char.int2 \
		construct.int2 \
		deconstruct.int2 \
		edit_seq.int2 \
		enum.int2 \
		getopt.int2 \
		integer.int2 \
		io.int2 \
		pretty_printer.int2 \
		set_ordlist.int2 \
		stream.int2 \
		string.int2 \
		term_context.int2 \
		time.int2 \
		tree234.int2 \
		type_desc.int2 \
		unit.int2 \
		univ.int2 \
		libs.compiler_util.int2 \
		libs.op_mode.int2 \
		libs.optimization_options.int2 \
		libs.options.int2 \
		libs.rat.int2 \
		libs.timestamp.int2 \
		libs.trace_params.int2 \
		mdbcomp.feedback.int2 \
		parse_tree.set_of_var.int2 \
	\
		parse_tree.prog_item.int \
	\
		parse_tree.int

# RULE objs_on_mihs
parse_tree.prog_item.pic_o parse_tree.prog_item.$O : \
		array.mih \
		assoc_list.mih \
		bitmap.mih \
		bool.mih \
		builtin.mih \
		char.mih \
		construct.mih \
		cord.mih \
		deconstruct.mih \
		edit_seq.mih \
		enum.mih \
		getopt.mih \
		integer.mih \
		io.mih \
		libs.mih \
		list.mih \
		map.mih \
		maybe.mih \
		mdbcomp.mih \
		one_or_more.mih \
		one_or_more_map.mih \
		pair.mih \
		parse_tree.mih \
		pretty_printer.mih \
		private_builtin.mih \
		recompilation.mih \
		set.mih \
		set_ordlist.mih \
		stream.mih \
		string.mih \
		term.mih \
		term_context.mih \
		time.mih \
		tree234.mih \
		type_desc.mih \
		unit.mih \
		univ.mih \
		varset.mih \
		libs.compiler_util.mih \
		libs.globals.mih \
		libs.op_mode.mih \
		libs.optimization_options.mih \
		libs.options.mih \
		libs.rat.mih \
		libs.timestamp.mih \
		libs.trace_params.mih \
		mdbcomp.feedback.mih \
		mdbcomp.prim_data.mih \
		mdbcomp.sym_name.mih \
		parse_tree.error_spec.mih \
		parse_tree.maybe_error.mih \
		parse_tree.prog_data.mih \
		parse_tree.prog_data_foreign.mih \
		parse_tree.prog_data_pragma.mih \
		parse_tree.prog_item.mih \
		parse_tree.prog_util.mih \
		parse_tree.set_of_var.mih

# RULE mh_and_mih_on_c
parse_tree.prog_item.mh parse_tree.prog_item.mih : parse_tree.prog_item.c

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

# RULE module_dep_on_java
parse_tree.prog_item.module_dep : jmercury/parse_tree__prog_item.java

else

# RULE module_dep_on_c
parse_tree.prog_item.module_dep : parse_tree.prog_item.c

endif # conditional fragment

# RULE self_and_parent_date_deps
# source group names:
#   (unnamed)
#   ancestor int0
#   long dep int3s
#   short dep int3s
parse_tree.prog_item.date parse_tree.prog_item.date0 parse_tree.date : \
		prog_item.m \
	\
		parse_tree.int0 \
	\
		assoc_list.int3 \
		builtin.int3 \
		cord.int3 \
		libs.int3 \
		list.int3 \
		map.int3 \
		maybe.int3 \
		mdbcomp.int3 \
		one_or_more.int3 \
		one_or_more_map.int3 \
		pair.int3 \
		private_builtin.int3 \
		recompilation.int3 \
		set.int3 \
		term.int3 \
		varset.int3 \
		libs.globals.int3 \
		mdbcomp.prim_data.int3 \
		mdbcomp.sym_name.int3 \
		parse_tree.error_spec.int3 \
		parse_tree.maybe_error.int3 \
		parse_tree.prog_data.int3 \
		parse_tree.prog_data_foreign.int3 \
		parse_tree.prog_data_pragma.int3 \
		parse_tree.prog_util.int3 \
	\
		array.int3 \
		bitmap.int3 \
		bool.int3 \
		char.int3 \
		construct.int3 \
		deconstruct.int3 \
		edit_seq.int3 \
		enum.int3 \
		getopt.int3 \
		integer.int3 \
		io.int3 \
		pretty_printer.int3 \
		set_ordlist.int3 \
		stream.int3 \
		string.int3 \
		term_context.int3 \
		time.int3 \
		tree234.int3 \
		type_desc.int3 \
		unit.int3 \
		univ.int3 \
		libs.compiler_util.int3 \
		libs.op_mode.int3 \
		libs.optimization_options.int3 \
		libs.options.int3 \
		libs.rat.int3 \
		libs.timestamp.int3 \
		libs.trace_params.int3 \
		mdbcomp.feedback.int3 \
		parse_tree.set_of_var.int3

# RULE self_and_parent_date0_deps
# target group names:
#   date0s
# source group names:
#   (unnamed)
#   long dep int3s
#   short dep int3s
parse_tree.prog_item.date0 parse_tree.date0 : \
		prog_item.m \
	\
		assoc_list.int3 \
		builtin.int3 \
		cord.int3 \
		libs.int3 \
		list.int3 \
		map.int3 \
		maybe.int3 \
		mdbcomp.int3 \
		one_or_more.int3 \
		one_or_more_map.int3 \
		pair.int3 \
		private_builtin.int3 \
		recompilation.int3 \
		set.int3 \
		term.int3 \
		varset.int3 \
		libs.globals.int3 \
		mdbcomp.prim_data.int3 \
		mdbcomp.sym_name.int3 \
		parse_tree.error_spec.int3 \
		parse_tree.maybe_error.int3 \
		parse_tree.prog_data.int3 \
		parse_tree.prog_data_foreign.int3 \
		parse_tree.prog_data_pragma.int3 \
		parse_tree.prog_util.int3 \
	\
		array.int3 \
		bitmap.int3 \
		bool.int3 \
		char.int3 \
		construct.int3 \
		deconstruct.int3 \
		edit_seq.int3 \
		enum.int3 \
		getopt.int3 \
		integer.int3 \
		io.int3 \
		pretty_printer.int3 \
		set_ordlist.int3 \
		stream.int3 \
		string.int3 \
		term_context.int3 \
		time.int3 \
		tree234.int3 \
		type_desc.int3 \
		unit.int3 \
		univ.int3 \
		libs.compiler_util.int3 \
		libs.op_mode.int3 \
		libs.optimization_options.int3 \
		libs.options.int3 \
		libs.rat.int3 \
		libs.timestamp.int3 \
		libs.trace_params.int3 \
		mdbcomp.feedback.int3 \
		parse_tree.set_of_var.int3

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

# RULE int0_on_date0
parse_tree.prog_item.int0 : parse_tree.prog_item.date0
	@:

# RULE int_on_date
parse_tree.prog_item.int : parse_tree.prog_item.date
	@:

# RULE int2_on_date
parse_tree.prog_item.int2 : parse_tree.prog_item.date
	@:

# RULE int3_on_date3
parse_tree.prog_item.int3 : parse_tree.prog_item.date3
	@:

# RULE opt_on_opt_date
parse_tree.prog_item.opt : parse_tree.prog_item.optdate
	@:

# RULE trans_opt_on_trans_opt_date
parse_tree.prog_item.trans_opt : parse_tree.prog_item.trans_opt_date
	@:

# RULE date0_on_src
parse_tree.prog_item.date0 : prog_item.m
	$(MCPI) $(ALL_GRADEFLAGS) $(ALL_MCPIFLAGS) parse_tree.prog_item

# RULE date_on_src
parse_tree.prog_item.date : prog_item.m
	$(MCI) $(ALL_GRADEFLAGS) $(ALL_MCIFLAGS) parse_tree.prog_item

# RULE date3_on_src
parse_tree.prog_item.date3 : prog_item.m
	$(MCSI) $(ALL_GRADEFLAGS) $(ALL_MCSIFLAGS) parse_tree.prog_item

# RULE opt_date_on_src
parse_tree.prog_item.optdate : prog_item.m
	$(MCOI) $(ALL_GRADEFLAGS) $(ALL_MCOIFLAGS) parse_tree.prog_item

# RULE trans_opt_date_on_src
parse_tree.prog_item.trans_opt_date : prog_item.m
	$(MCTOI) $(ALL_GRADEFLAGS) $(ALL_MCTOIFLAGS) parse_tree.prog_item

# RULE c_date_on_src
parse_tree.prog_item.c_date : prog_item.m
	$(MCG) $(ALL_GRADEFLAGS) $(ALL_MCGFLAGS) parse_tree.prog_item $(ERR_REDIRECT)

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

