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

# Automatically generated module dependencies for
# module `counter' in source file `counter.m'.
# Generated by Mercury compiler version rotd-2026-07-10
# configured for x86_64-pc-linux-gnu.

# RULE trans_opt_deps
counter.trans_opt_date : \
		builtin.trans_opt \
		enum.trans_opt \
		int.trans_opt \
		private_builtin.trans_opt \
		require.trans_opt \
		uint.trans_opt

# RULE date_file_deps
# target group names:
#   dates_and_err
# source group names:
#   source
#   direct deps
#   indirect deps
#   type_repn self dep
counter.optdate counter.trans_opt_date counter.err counter.c_date counter.java_date : \
		counter.m \
	\
		builtin.int \
		int.int \
		private_builtin.int \
		uint.int \
	\
		array.int2 \
		assoc_list.int2 \
		enum.int2 \
		list.int2 \
		map.int2 \
		maybe.int2 \
		pair.int2 \
		pretty_printer.int2 \
		term.int2 \
		term_context.int2 \
		tree234.int2 \
		type_desc.int2 \
		univ.int2 \
	\
		counter.int

# RULE dates_on_opts_and_int0s
counter.trans_opt_date counter.err counter.c_date counter.java_date : \
		counter.opt \
		builtin.opt \
		int.opt \
		private_builtin.opt \
		uint.opt

# RULE dates_on_trans_opts
counter.err counter.c_date counter.java_date : \
		counter.trans_opt \
		builtin.trans_opt \
		int.trans_opt \
		private_builtin.trans_opt \
		uint.trans_opt

# RULE objs_on_mihs
counter.$O counter.pic_o : \
		array.mih \
		assoc_list.mih \
		benchmarking.mih \
		bitmap.mih \
		bool.mih \
		builtin.mih \
		calendar.mih \
		char.mih \
		construct.mih \
		cord.mih \
		counter.mih \
		deconstruct.mih \
		dir.mih \
		enum.mih \
		exception.mih \
		fat_sparse_bitset.mih \
		fatter_sparse_bitset.mih \
		float.mih \
		int.mih \
		int16.mih \
		int32.mih \
		int64.mih \
		int8.mih \
		integer.mih \
		io.mih \
		list.mih \
		map.mih \
		maybe.mih \
		mercury_term_lexer.mih \
		mercury_term_parser.mih \
		mutvar.mih \
		one_or_more.mih \
		ops.mih \
		pair.mih \
		pretty_printer.mih \
		private_builtin.mih \
		require.mih \
		rtti_implementation.mih \
		set.mih \
		set_ordlist.mih \
		set_tree234.mih \
		solutions.mih \
		sparse_bitset.mih \
		stack.mih \
		stm_builtin.mih \
		store.mih \
		stream.mih \
		string.mih \
		table_builtin.mih \
		term.mih \
		term_context.mih \
		term_conversion.mih \
		term_int.mih \
		term_io.mih \
		term_subst.mih \
		term_unify.mih \
		term_vars.mih \
		time.mih \
		tree234.mih \
		tree_bitset.mih \
		type_desc.mih \
		uint.mih \
		uint16.mih \
		uint32.mih \
		uint64.mih \
		uint8.mih \
		unit.mih \
		univ.mih \
		varset.mih \
		version_array.mih \
		io.call_system.mih \
		io.environment.mih \
		io.error_util.mih \
		io.file.mih \
		io.primitives_read.mih \
		io.primitives_write.mih \
		io.stream_db.mih \
		io.stream_ops.mih \
		io.text_read.mih \
		stream.string_writer.mih \
		string.builder.mih \
		string.format.mih \
		string.parse_runtime.mih \
		string.parse_util.mih \
		string.to_string.mih

# RULE mh_and_mih_on_c
counter.mh counter.mih : counter.c

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

# RULE module_dep_on_java
counter.module_dep : jmercury/counter.java

else

# RULE module_dep_on_c
counter.module_dep : counter.c

endif # conditional fragment

# RULE self_and_parent_date_deps
# target group names:
#   date files
# source group names:
#   source
#   direct dep int3s
#   indirect dep int3s
counter.date counter.date0 : \
		counter.m \
	\
		builtin.int3 \
		int.int3 \
		private_builtin.int3 \
		uint.int3 \
	\
		array.int3 \
		assoc_list.int3 \
		enum.int3 \
		list.int3 \
		map.int3 \
		maybe.int3 \
		pair.int3 \
		pretty_printer.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
counter.date0 : \
		counter.m \
	\
		builtin.int3 \
		int.int3 \
		private_builtin.int3 \
		uint.int3 \
	\
		array.int3 \
		assoc_list.int3 \
		enum.int3 \
		list.int3 \
		map.int3 \
		maybe.int3 \
		pair.int3 \
		pretty_printer.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
counter.$O counter.pic_o : \
		array.mh \
		assoc_list.mh \
		benchmarking.mh \
		bitmap.mh \
		builtin.mh \
		char.mh \
		construct.mh \
		dir.mh \
		enum.mh \
		exception.mh \
		float.mh \
		int.mh \
		int16.mh \
		int32.mh \
		int64.mh \
		int8.mh \
		io.mh \
		list.mh \
		map.mh \
		maybe.mh \
		pair.mh \
		pretty_printer.mh \
		private_builtin.mh \
		rtti_implementation.mh \
		stm_builtin.mh \
		store.mh \
		string.mh \
		table_builtin.mh \
		term.mh \
		term_context.mh \
		time.mh \
		tree234.mh \
		type_desc.mh \
		uint.mh \
		uint16.mh \
		uint32.mh \
		uint64.mh \
		uint8.mh \
		univ.mh \
		version_array.mh \
		io.environment.mh \
		io.error_util.mh \
		io.file.mh \
		io.primitives_read.mh \
		io.primitives_write.mh \
		io.stream_db.mh \
		io.stream_ops.mh \
		io.text_read.mh

# RULE int0_on_date0
counter.int0 : counter.date0
	@:

# RULE int_on_date
counter.int : counter.date
	@:

# RULE int2_on_date
counter.int2 : counter.date
	@:

# RULE int3_on_date3
counter.int3 : counter.date3
	@:

# RULE opt_on_opt_date
counter.opt : counter.optdate
	@:

# RULE trans_opt_on_trans_opt_date
counter.trans_opt : counter.trans_opt_date
	@:

