The Windows counterpart to 'wrapround of thread delays'
[haskell-directory.git] / cbits / Makefile
index 5eda815..fcdb8e4 100644 (file)
@@ -1,20 +1,18 @@
-# $Id: Makefile,v 1.7 2002/02/14 15:14:02 simonmar Exp $
+# $Id: Makefile,v 1.14 2005/02/01 00:52:22 ross Exp $
 
 TOP = ../..
 include $(TOP)/mk/boilerplate.mk
 
 HC = $(GHC_INPLACE)
 
-ifneq "$(HavePosixRegex)" "YES"
-ALL_DIRS      += regex
-SRC_CC_OPTS   += -Iregex
-EXCLUDED_SRCS += regex/engine.c
-endif
+UseGhcForCc = YES
 
-EXCLUDED_SRCS += ilxstubs.c
+ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
+EXCLUDED_SRCS += consUtils.c
+endif
 
 SRC_CC_OPTS += -Wall -DCOMPILING_STDLIB 
-SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR) -I$(GHC_RUNTIME_DIR) -I../include
+SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR) -I$(GHC_RTS_DIR) -I../include
 
 LIBRARY = libHSbase_cbits.a
 LIBOBJS = $(C_OBJS)