Commit efcd3f2b authored by rrt's avatar rrt
Browse files

[project @ 2000-05-11 19:37:30 by rrt]

Corrected use of patsubst.
parent 38d74b78
...@@ -136,9 +136,9 @@ override datadir:=$(libdir)/imports/std ...@@ -136,9 +136,9 @@ override datadir:=$(libdir)/imports/std
INSTALL_LIBS += $(LIBRARY) INSTALL_LIBS += $(LIBRARY)
ifeq "$(way)" "dll" ifeq "$(way)" "dll"
INSTALL_PROGS += $(DLL_NAME) INSTALL_PROGS += $(DLL_NAME)
INSTALL_LIBS += $(patsubst %.a, $(LIBRARY)) PrelMain.dll_o INSTALL_LIBS += PrelMain.dll_o
else else
INSTALL_LIBS += $(patsubst %_imp.a, $(LIBRARY)) INSTALL_LIBS += $(patsubst %.a,%_imp.a, $(LIBRARY))
endif endif
INSTALL_DATAS += $(HS_IFACES) PrelGHC.$(way_)hi INSTALL_DATAS += $(HS_IFACES) PrelGHC.$(way_)hi
ifeq "$(way)" "dll" ifeq "$(way)" "dll"
......
#----------------------------------------------------------------------------- #-----------------------------------------------------------------------------
# $Id: Makefile,v 1.24 2000/05/11 12:50:51 rrt Exp $ # $Id: Makefile,v 1.25 2000/05/11 19:37:30 rrt Exp $
# #
# This is the Makefile for the runtime-system stuff. # This is the Makefile for the runtime-system stuff.
# This stuff is written in C (and cannot be written in Haskell). # This stuff is written in C (and cannot be written in Haskell).
...@@ -185,9 +185,8 @@ INSTALL_LIBS += $(LIBRARY) ...@@ -185,9 +185,8 @@ INSTALL_LIBS += $(LIBRARY)
ifeq "$(EnableWin32DLLs)" "YES" ifeq "$(EnableWin32DLLs)" "YES"
INSTALL_PROGS += $(DLL_NAME) gmp/gmp.dll INSTALL_PROGS += $(DLL_NAME) gmp/gmp.dll
ifneq "$(way)" "dll" ifneq "$(way)" "dll"
INSTALL_LIBS += $(patsubst %_imp.a, $(LIBARY)) INSTALL_LIBS += $(patsubst %.a, %_imp.a, $(LIBARY))
endif endif
INSTALL_LIBS += $(patsubst %.a, $(LIBRARY))
INSTALL_LIBS += gmp/libgmp_imp.a Main.dll_o INSTALL_LIBS += gmp/libgmp_imp.a Main.dll_o
endif endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment