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

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

# RULE objs_on_mihs
mdbcomp.program_representation.pic_o mdbcomp.program_representation.$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 \
		mdbcomp.mih \
		ops.mih \
		pair.mih \
		pretty_printer.mih \
		private_builtin.mih \
		require.mih \
		rtti_implementation.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 \
		mdbcomp.builtin_modules.mih \
		mdbcomp.goal_path.mih \
		mdbcomp.prim_data.mih \
		mdbcomp.rtti_access.mih \
		mdbcomp.sym_name.mih \
		mdbcomp.trace_counts.mih \
		string.format.mih \
		string.parse_util.mih

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

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

# RULE module_dep_on_java
mdbcomp.program_representation.module_dep : jmercury/mdbcomp__program_representation.java

else

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

