From: simonmar Date: Thu, 14 Feb 2002 14:05:48 +0000 (+0000) Subject: [project @ 2002-02-14 14:05:48 by simonmar] X-Git-Tag: nhc98-1-18-release~1111 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=76fd5f14dd57a2abfd70fa76bd1936c271bdfd9f;p=ghc-base.git [project @ 2002-02-14 14:05:48 by simonmar] Include regex stuff if $(HavePosixRegex) == "NO" --- diff --git a/cbits/Makefile b/cbits/Makefile index 2a98a0d..14b18d4 100644 --- a/cbits/Makefile +++ b/cbits/Makefile @@ -1,10 +1,17 @@ -# $Id: Makefile,v 1.5 2002/02/06 11:50:31 simonmar Exp $ +# $Id: Makefile,v 1.6 2002/02/14 14:05:48 simonmar 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 +INSTALL_DATAS += regex/regex.h +endif + EXCLUDED_SRCS += ilxstubs.c SRC_CC_OPTS += -Wall -DCOMPILING_STDLIB