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

# Automatically generated module dependencies for
# module `mdbcomp.builtin_modules' in source file `builtin_modules.m'.
# Generated by Mercury compiler version rotd-2026-06-09
# 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.builtin_modules.optdate mdbcomp.builtin_modules.trans_opt_date builtin_modules.err mdbcomp.builtin_modules.c_date mdbcomp.builtin_modules.java_date : \
		builtin_modules.m \
	\
		mdbcomp.int0 \
	\
		builtin.int \
		library.int \
		list.int \
		private_builtin.int \
		mdbcomp.sym_name.int \
	\
		assoc_list.int2 \
		enum.int2 \
		map.int2 \
		maybe.int2 \
		pair.int2 \
		pretty_printer.int2 \
		set.int2 \
		set_ordlist.int2 \
		term.int2 \
		term_context.int2 \
		tree234.int2 \
		type_desc.int2 \
		univ.int2 \
	\
		mdbcomp.builtin_modules.int \
	\
		mdbcomp.int

# RULE objs_on_mihs
mdbcomp.builtin_modules.$O mdbcomp.builtin_modules.pic_o : \
		assoc_list.mih \
		builtin.mih \
		enum.mih \
		library.mih \
		list.mih \
		map.mih \
		maybe.mih \
		mdbcomp.mih \
		pair.mih \
		pretty_printer.mih \
		private_builtin.mih \
		set.mih \
		set_ordlist.mih \
		term.mih \
		term_context.mih \
		tree234.mih \
		type_desc.mih \
		univ.mih \
		mdbcomp.sym_name.mih

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

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

# RULE module_dep_on_java
mdbcomp.builtin_modules.module_dep : jmercury/mdbcomp__builtin_modules.java

else

# RULE module_dep_on_c
mdbcomp.builtin_modules.module_dep : mdbcomp.builtin_modules.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.builtin_modules.date mdbcomp.builtin_modules.date0 mdbcomp.date : \
		builtin_modules.m \
	\
		mdbcomp.int0 \
	\
		builtin.int3 \
		library.int3 \
		list.int3 \
		private_builtin.int3 \
		mdbcomp.sym_name.int3 \
	\
		assoc_list.int3 \
		enum.int3 \
		map.int3 \
		maybe.int3 \
		pair.int3 \
		pretty_printer.int3 \
		set.int3 \
		set_ordlist.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
mdbcomp.builtin_modules.date0 mdbcomp.date0 : \
		builtin_modules.m \
	\
		builtin.int3 \
		library.int3 \
		list.int3 \
		private_builtin.int3 \
		mdbcomp.sym_name.int3 \
	\
		assoc_list.int3 \
		enum.int3 \
		map.int3 \
		maybe.int3 \
		pair.int3 \
		pretty_printer.int3 \
		set.int3 \
		set_ordlist.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
mdbcomp.builtin_modules.$O mdbcomp.builtin_modules.pic_o : \
		assoc_list.mh \
		builtin.mh \
		enum.mh \
		library.mh \
		list.mh \
		map.mh \
		maybe.mh \
		mdbcomp.mh \
		pair.mh \
		pretty_printer.mh \
		private_builtin.mh \
		set.mh \
		set_ordlist.mh \
		term.mh \
		term_context.mh \
		tree234.mh \
		type_desc.mh \
		univ.mh \
		mdbcomp.sym_name.mh

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

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

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

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

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

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

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

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

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

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

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

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

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

