X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=cbits%2FMakefile;h=b1bbba6ebc4526169f71a59ffefdda4ad8c4a526;hb=b1f2e321ceac8fcfc1f0756e2f5c2585fbd00b3c;hp=c110e303fd1fcbf6eacd513bc18728ddf110704d;hpb=2f71a076d6210da9fe91641a8bf9787d13c58ee5;p=ghc-base.git diff --git a/cbits/Makefile b/cbits/Makefile index c110e30..b1bbba6 100644 --- a/cbits/Makefile +++ b/cbits/Makefile @@ -1,18 +1,20 @@ -# $Id: Makefile,v 1.8 2002/07/18 22:01:07 sof Exp $ +# $Id: Makefile,v 1.14 2005/02/01 00:52:22 ross Exp $ TOP = ../.. include $(TOP)/mk/boilerplate.mk +-include ../config.mk HC = $(GHC_INPLACE) +UseGhcForCc = YES + +# If there is no system-supplied POSIX regex library, use our own ifneq "$(HavePosixRegex)" "YES" ALL_DIRS += regex SRC_CC_OPTS += -Iregex EXCLUDED_SRCS += regex/engine.c endif -EXCLUDED_SRCS += ilxstubs.c - ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32" EXCLUDED_SRCS += consUtils.c endif