diff -u OLD/foreign_import_module.d NEW/foreign_import_module.d
--- OLD/foreign_import_module.d	2022-02-26 07:02:34.871079130 +1100
+++ NEW/foreign_import_module.d	2022-02-26 07:02:56.449786810 +1100
@@ -5,19 +5,13 @@
 # Generated by Mercury compiler version DEV
 # configured for x86_64-pc-linux-gnu.
 
-# RULE trans_opt_deps
-foreign_import_module.trans_opt_date : \
-		builtin.trans_opt \
-		int.trans_opt \
-		io.trans_opt \
-		private_builtin.trans_opt
-
 # RULE date_file_deps
 # target group names:
 #   dates_and_err
 # source group names:
 #   (unnamed)
 #   long deps
+#   short deps
 #   type_repn self dep
 foreign_import_module.optdate foreign_import_module.trans_opt_date foreign_import_module.err foreign_import_module.c_date foreign_import_module.java_date : \
 		foreign_import_module.m \
@@ -27,14 +21,57 @@
 		io.int \
 		private_builtin.int \
 	\
+		array.int2 \
+		assoc_list.int2 \
+		bitmap.int2 \
+		bool.int2 \
+		char.int2 \
+		construct.int2 \
+		deconstruct.int2 \
+		enum.int2 \
+		list.int2 \
+		map.int2 \
+		maybe.int2 \
+		ops.int2 \
+		pair.int2 \
+		pretty_printer.int2 \
+		stream.int2 \
+		string.int2 \
+		term.int2 \
+		time.int2 \
+		tree234.int2 \
+		type_desc.int2 \
+		univ.int2 \
+	\
 		foreign_import_module.int
 
 # RULE objs_on_mihs
 foreign_import_module.pic_o foreign_import_module.$O : \
+		array.mih \
+		assoc_list.mih \
+		bitmap.mih \
+		bool.mih \
 		builtin.mih \
+		char.mih \
+		construct.mih \
+		deconstruct.mih \
+		enum.mih \
 		int.mih \
 		io.mih \
-		private_builtin.mih
+		list.mih \
+		map.mih \
+		maybe.mih \
+		ops.mih \
+		pair.mih \
+		pretty_printer.mih \
+		private_builtin.mih \
+		stream.mih \
+		string.mih \
+		term.mih \
+		time.mih \
+		tree234.mih \
+		type_desc.mih \
+		univ.mih
 
 # RULE mh_and_mih_on_c
 foreign_import_module.mh foreign_import_module.mih : foreign_import_module.c
@@ -55,13 +92,36 @@
 # source group names:
 #   (unnamed)
 #   long dep int3s
+#   short dep int3s
 foreign_import_module.date foreign_import_module.date0 : \
 		foreign_import_module.m \
 	\
 		builtin.int3 \
 		int.int3 \
 		io.int3 \
-		private_builtin.int3
+		private_builtin.int3 \
+	\
+		array.int3 \
+		assoc_list.int3 \
+		bitmap.int3 \
+		bool.int3 \
+		char.int3 \
+		construct.int3 \
+		deconstruct.int3 \
+		enum.int3 \
+		list.int3 \
+		map.int3 \
+		maybe.int3 \
+		ops.int3 \
+		pair.int3 \
+		pretty_printer.int3 \
+		stream.int3 \
+		string.int3 \
+		term.int3 \
+		time.int3 \
+		tree234.int3 \
+		type_desc.int3 \
+		univ.int3
 
 # RULE self_and_parent_date0_deps
 # target group names:
@@ -69,20 +129,46 @@
 # source group names:
 #   (unnamed)
 #   long dep int3s
+#   short dep int3s
 foreign_import_module.date0 : \
 		foreign_import_module.m \
 	\
 		builtin.int3 \
 		int.int3 \
 		io.int3 \
-		private_builtin.int3
+		private_builtin.int3 \
+	\
+		array.int3 \
+		assoc_list.int3 \
+		bitmap.int3 \
+		bool.int3 \
+		char.int3 \
+		construct.int3 \
+		deconstruct.int3 \
+		enum.int3 \
+		list.int3 \
+		map.int3 \
+		maybe.int3 \
+		ops.int3 \
+		pair.int3 \
+		pretty_printer.int3 \
+		stream.int3 \
+		string.int3 \
+		term.int3 \
+		time.int3 \
+		tree234.int3 \
+		type_desc.int3 \
+		univ.int3
 
 # RULE foreign_deps_for_mh
 foreign_import_module.$O foreign_import_module.pic_o : \
-		builtin.mh \
-		int.mh \
+		array.mh \
+		bitmap.mh \
+		foreign_import_module.mh \
+		foreign_import_module_2.mh \
 		io.mh \
-		private_builtin.mh
+		string.mh \
+		time.mh
 
 # RULE int0_on_date0
 foreign_import_module.int0 : foreign_import_module.date0
