summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
3853629)
Fix install rules for _imp libraries under Windows. They must only be
installed if EnableWin32Dlls is YES, but not in the dll way (otherwise
a spurious _dll is inserted into the library name).
INSTALL_LIBS += $(LIBRARY)
ifeq "$(way)" "dll"
INSTALL_PROGS += $(DLL_NAME)
INSTALL_LIBS += $(LIBRARY)
ifeq "$(way)" "dll"
INSTALL_PROGS += $(DLL_NAME)
-INSTALL_LIBS += PrelMain.dll_o $(patsubst %.a,%_imp.a, $(LIBRARY))
+INSTALL_LIBS += PrelMain.dll_o
+else
+ifeq "$(EnableWin32Dlls)" "YES"
+$(patsubst %.a,%_imp.a, $(LIBRARY))
+endif
endif
INSTALL_DATAS += $(HS_IFACES) PrelGHC.$(way_)hi
ifeq "$(way)" "dll"
endif
INSTALL_DATAS += $(HS_IFACES) PrelGHC.$(way_)hi
ifeq "$(way)" "dll"
-# $Id: Makefile,v 1.18 2000/04/14 16:17:49 rrt Exp $
+# $Id: Makefile,v 1.19 2000/05/12 11:48:30 rrt Exp $
TOP = ../../..
include $(TOP)/mk/boilerplate.mk
TOP = ../../..
include $(TOP)/mk/boilerplate.mk
ifeq "$(EnableWin32DLLs)" "YES"
INSTALL_PROGS += $(DLL_NAME)
ifeq "$(EnableWin32DLLs)" "YES"
INSTALL_PROGS += $(DLL_NAME)
INSTALL_LIBS += $(patsubst %.a, %_imp.a, $(LIBRARY))
endif
INSTALL_LIBS += $(patsubst %.a, %_imp.a, $(LIBRARY))
endif
# install header files for the I/O library. Other code might want to
# plug
# install header files for the I/O library. Other code might want to
# plug