-# the handles dir doesn't apply to windows
-if PLATFORM_WIN32
-SUBDIRS = utils io-layer monoburg os metadata cil dis \
- arch monograph interpreter mini tests benchmark profiler
+if CROSS_COMPILING
+SUBDIRS = utils io-layer cil metadata arch $(interpreter_dir) mini dis
else
-SUBDIRS = utils io-layer monoburg os metadata cil dis \
- arch monograph interpreter mini tests benchmark handles profiler
+if MOONLIGHT
+SUBDIRS = utils io-layer metadata arch $(interpreter_dir) mini
+else
+SUBDIRS = utils io-layer cil metadata arch $(interpreter_dir) mini dis monograph tests benchmark profiler
+endif
endif
+DIST_SUBDIRS = utils io-layer cil metadata arch interpreter mini dis monograph tests benchmark profiler