+boot :: PrelPrimopWrappers.hs PrelGHC.hi $(foreach way, $(WAYS), PrelGHC.$(way)_hi)
+all :: PrelPrimopWrappers.hs
+
+DLL_DESCRIPTION="GHC-compiled Haskell Prelude"
+
+ifeq "$(DLLized)" "YES"
+HS_SRCS := $(filter-out PrelMain.lhs, $(HS_SRCS))
+# PrelMain.dll_o isn't to be included in the final .a,
+# but it needs to be generated
+all :: PrelMain.dll_o
+endif
+
+CLEAN_FILES += PrelGHC.hi $(foreach way, $(WAYS), PrelGHC.$(way)_hi)
+
+CLEAN_FILES += \
+ $(patsubst %.hsc, %.hs, $(HSC_SRCS)) \
+ $(patsubst %.hsc, %.hs.c, $(HSC_SRCS)) \
+ $(patsubst %.hsc, %.hs.h, $(HSC_SRCS))