[project @ 2002-02-14 14:05:48 by simonmar]
authorsimonmar <unknown>
Thu, 14 Feb 2002 14:05:48 +0000 (14:05 +0000)
committersimonmar <unknown>
Thu, 14 Feb 2002 14:05:48 +0000 (14:05 +0000)
Include regex stuff if $(HavePosixRegex) == "NO"

cbits/Makefile

index 2a98a0d..14b18d4 100644 (file)
@@ -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