X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=cbits%2FMakefile;h=fcdb8e4690101a85e8ce840d5f77760c891eeaa7;hb=7c0b04fd273621130062418bb764809c79488dd2;hp=b1bbba6ebc4526169f71a59ffefdda4ad8c4a526;hpb=e9e2a5412bb7cda8d13a063ac403d9f18ac97380;p=haskell-directory.git diff --git a/cbits/Makefile b/cbits/Makefile index b1bbba6..fcdb8e4 100644 --- a/cbits/Makefile +++ b/cbits/Makefile @@ -2,25 +2,17 @@ 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 - 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)