# -----------------------------------------------------------------------------
# $Id: Makefile,v 1.10 2000/11/06 17:36:31 simonmar Exp $
#
# (c) The GHC Team 1997-1999
#

TOP=../..
include $(TOP)/mk/boilerplate.mk

# Omit regex.c if this system has it in libc already, but don't build an
# empty library in this case, because some GNU ld versions would have a
# tendency of dumping core then.  :-P
ifeq "$(HaveRegex)" "YES"
NOT_FOR_ANYONE = regex.c
else
NOT_FOR_ANYONE = Regex__silly_ld.c
endif

HSLIB = text
IS_CBITS_LIB = YES

include $(TOP)/mk/target.mk
