add System.Posix.Types to default nhc98 build
[haskell-directory.git] / cbits / Makefile
index d1c450c..fcdb8e4 100644 (file)
@@ -1,20 +1,20 @@
-# $Id: Makefile,v 1.1 2001/06/28 14:15:04 simonmar Exp $
+# $Id: Makefile,v 1.14 2005/02/01 00:52:22 ross Exp $
 
-TOP = ../../..
+TOP = ../..
 include $(TOP)/mk/boilerplate.mk
 
-HSLIB = core
-IS_CBITS_LIB = YES
+HC = $(GHC_INPLACE)
 
-SRC_CC_OPTS += -Wall -DCOMPILING_STDLIB -I../include -I../../../ghc/includes -I../../../ghc/rts
+UseGhcForCc = YES
 
-ifeq "$(DLLized)" "YES"
-SRC_CC_OPTS += -dynamic
+ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
+EXCLUDED_SRCS += consUtils.c
 endif
 
-# -----------------------------------------------------------------------------
-# Installation
+SRC_CC_OPTS += -Wall -DCOMPILING_STDLIB 
+SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR) -I$(GHC_RTS_DIR) -I../include
 
-INSTALL_DATAS += lockFile.h
+LIBRARY = libHSbase_cbits.a
+LIBOBJS = $(C_OBJS)
 
 include $(TOP)/mk/target.mk