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

# Automatically generated module dependencies for
# module `mdbcomp.prim_data' in source file `prim_data.m'.
# Generated by Mercury compiler version rotd-2023-09-20
# 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
mdbcomp.prim_data.optdate mdbcomp.prim_data.trans_opt_date prim_data.err mdbcomp.prim_data.c_date mdbcomp.prim_data.java_date : \
		prim_data.m \
	\
		mdbcomp.int0 \
	\
		builtin.int \
		private_builtin.int \
		mdbcomp.sym_name.int \
	\
		assoc_list.int2 \
		enum.int2 \
		list.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.prim_data.int \
	\
		mdbcomp.int

# RULE objs_on_mihs
mdbcomp.prim_data.pic_o mdbcomp.prim_data.$O : \
		assoc_list.mih \
		builtin.mih \
		enum.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.prim_data.mh mdbcomp.prim_data.mih : mdbcomp.prim_data.c

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

# RULE module_dep_on_java
mdbcomp.prim_data.module_dep : jmercury/mdbcomp__prim_data.java

else

# RULE module_dep_on_c
mdbcomp.prim_data.module_dep : mdbcomp.prim_data.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
mdbcomp.prim_data.date mdbcomp.prim_data.date0 mdbcomp.date : \
		prim_data.m \
	\
		mdbcomp.int0 \
	\
		builtin.int3 \
		private_builtin.int3 \
		mdbcomp.sym_name.int3 \
	\
		assoc_list.int3 \
		enum.int3 \
		list.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
#   long dep int3s
#   short dep int3s
mdbcomp.prim_data.date0 mdbcomp.date0 : \
		prim_data.m \
	\
		builtin.int3 \
		private_builtin.int3 \
		mdbcomp.sym_name.int3 \
	\
		assoc_list.int3 \
		enum.int3 \
		list.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
mdbcomp.prim_data.$O mdbcomp.prim_data.pic_o : mdbcomp.mh

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

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

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

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

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

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

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

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

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

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

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

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

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

