[project @ 2000-05-11 19:37:30 by rrt]
[ghc-hetmet.git] / ghc / lib / std / Makefile
index 6c1f5ac..08e1696 100644 (file)
@@ -134,11 +134,15 @@ override datadir:=$(libdir)/imports/std
 # Files to install from here
 # 
 INSTALL_LIBS  += $(LIBRARY)
-ifeq "$(EnableWin32DLLs)" "YES"
+ifeq "$(way)" "dll"
 INSTALL_PROGS += $(DLL_NAME)
-INSTALL_LIBS  += $(patsubst %.a, %_imp.a, $(LIBRARY)) PrelMain.dll_o
-INSTALL_DATAS += dLL_ifs.hi
+INSTALL_LIBS  += PrelMain.dll_o
+else
+INSTALL_LIBS  += $(patsubst %.a,%_imp.a, $(LIBRARY))
 endif
 INSTALL_DATAS += $(HS_IFACES) PrelGHC.$(way_)hi
+ifeq "$(way)" "dll"
+INSTALL_DATAS := $(filter-out PrelHugs.$(way_)hi,$(INSTALL_DATAS))
+endif
 
 include $(TOP)/mk/target.mk