[project @ 1999-05-05 10:48:03 by sof]
[ghc-hetmet.git] / ghc / lib / concurrent / Makefile
index 5b3c39e..46d0b57 100644 (file)
@@ -1,6 +1,8 @@
+# $Id: Makefile,v 1.6 1999/05/05 10:48:06 sof Exp $
 #
-# Makefile for hslibs subdir
+# Makefile for concurrent libraries.
 #
+
 TOP = ../..
 include $(TOP)/mk/boilerplate.mk
 
@@ -10,17 +12,18 @@ WAYS=$(GhcLibWays)
 #      Setting the standard variables
 #
 
-LIBRARY = libHSconc$(_way).a
+LIBRARY = libHSconcurrent$(_way).a
 HS_SRCS        = $(wildcard *.lhs)
 HS_OBJS = $(HS_SRCS:.lhs=.$(way_)o)
 LIBOBJS = $(HS_OBJS)
-HS_IFACES= $(HS_SRCS:.lhs=.$(way_)hi) GHC.$(way_)hi
+HS_IFACES= $(HS_SRCS:.lhs=.$(way_)hi)
 
 
 #-----------------------------------------------------------------------------
 #      Setting the GHC compile options
 
 SRC_HC_OPTS += -recomp -cpp -fglasgow-exts -fvia-C -Rghc-timing $(GhcLibHcOpts)
+SRC_MKDEPENDHS_OPTS += -optdep--include-prelude
 
 #
 # Profiling options
@@ -41,6 +44,11 @@ Parallel_HC_OPTS  += -fglasgow-exts
 
 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 += -lwinmm -lHSrts_imp -lHS_cbits_imp -lHS_imp -lgmp -L. -L../../rts/gmp -L../../rts -L../std -L../std/cbits
+
 #-----------------------------------------------------------------------------
 #      Installation; need to install .hi files as well as libraries
 #