Commit 1ffc924f authored by sof's avatar sof
Browse files

[project @ 1999-10-29 13:55:40 by sof]

attach version info
parent c6726348
# $Id: Makefile,v 1.8 1999/10/05 10:30:27 simonmar Exp $
# $Id: Makefile,v 1.9 1999/10/29 13:55:40 sof Exp $
#
# Makefile for concurrent libraries.
#
......@@ -48,9 +48,13 @@ SRC_MKDEPENDHS_OPTS += -I$(GHC_INCLUDE_DIR)
DLL_NAME = HSconc.dll
DLL_IMPLIB_NAME = libHSconcurrent_imp.a
SRC_BLD_DLL_OPTS += --export-all --output-def=HSconc.def
SRC_BLD_DLL_OPTS += --export-all --output-def=HSconc.def DllVersionInfo.o
SRC_BLD_DLL_OPTS += -lwinmm -lHSrts_imp -lHScbits_imp -lHS_imp -lgmp -L. -L../../rts/gmp -L../../rts -L../std -L../std/cbits
ifeq "$(way)" "dll"
all :: DllVersionInfo.o
endif
#-----------------------------------------------------------------------------
# Installation; need to install .hi files as well as libraries
#
......
......@@ -63,9 +63,13 @@ SRC_MKDEPENDHS_OPTS += -I$(GHC_INCLUDE_DIR) -optdep--include-prelude -optdep-w $
DLL_NAME = HSexts.dll
DLL_IMPLIB_NAME = libHSexts_imp.a
SRC_BLD_DLL_OPTS += --export-all --output-def=HSexts.def
SRC_BLD_DLL_OPTS += --export-all --output-def=HSexts.def DllVersionInfo.o
SRC_BLD_DLL_OPTS += -lwinmm -lHSrts_imp -lHScbits_imp -lHS_imp -lgmp -L. -L../../rts/gmp -L../../rts -L../std -L../std/cbits
ifeq "$(way)" "dll"
all :: DllVersionInfo.o
endif
#-----------------------------------------------------------------------------
# Installation; need to install .hi files as well as libraries
#
......
# $Id: Makefile,v 1.19 1999/10/05 10:30:28 simonmar Exp $
# $Id: Makefile,v 1.20 1999/10/29 13:57:52 sof Exp $
#
# Makefile for miscellaneous libraries.
#
......@@ -83,9 +83,12 @@ SRC_MKDEPENDHS_OPTS += -I$(GHC_INCLUDE_DIR)
DLL_NAME = HSmisc.dll
DLL_IMPLIB_NAME = libHSmisc_imp.a
SRC_BLD_DLL_OPTS += --export-all --output-def=HSmisc.def
SRC_BLD_DLL_OPTS += --export-all --output-def=HSmisc.def DllVersionInfo.o
SRC_BLD_DLL_OPTS += -lwinmm -lwsock32 -lHSrts_imp -lHScbits_imp -lHSmisc_cbits_imp -lHS_imp -lHSexts_imp -lgmp -L. -L../../rts/gmp -L../../rts -L../std -L../std/cbits -L../exts -Lcbits
ifeq "$(way)" "dll"
all :: DllVersionInfo.o
endif
#-----------------------------------------------------------------------------
# Installation; need to install .hi files as well as libraries
......
......@@ -3,7 +3,12 @@
#
TOP=../../..
include $(TOP)/mk/boilerplate.mk
ifeq "$(filter dll,$(WAYS))" "dll"
override WAYS=dll
else
override WAYS=
endif
CC:=$(GHC)
......@@ -25,14 +30,18 @@ endif
SRC_MKDEPENDC_OPTS += -I$(GHC_INCLUDE_DIR)
SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR) -I$(GHC_LIB_DIR)/std/cbits
LIBRARY=libHSmisc_cbits.a
LIBRARY=libHSmisc_cbits$(_way).a
LIBOBJS=$(C_OBJS)
INSTALL_LIBS += $(LIBRARY)
DLL_NAME = HSmisc_cbits.dll
SRC_BLD_DLL_OPTS += --export-all --output-def=HSmisc_cbits.def
SRC_BLD_DLL_OPTS += --export-all --output-def=HSmisc_cbits.def DllVersionInfo.o
SRC_BLD_DLL_OPTS += -lwinmm -lwsock32 -lHSrts_imp -lHScbits_imp -lgmp -L. -L../../../rts/gmp -L../../../rts -L../../std/cbits
ifeq "$(way)" "dll"
all :: DllVersionInfo.o
endif
ifeq "$(EnableWin32DLLs)" "YES"
INSTALL_PROGS += $(DLL_NAME)
INSTALL_LIBS += $(patsubst %.a, %_imp.a, $(LIBRARY))
......
Markdown is supported
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