[project @ 2001-07-05 13:01:14 by rrt]
[ghc-hetmet.git] / ghc / lib / std / cbits / Makefile
index 16ec304..6111a9d 100644 (file)
@@ -1,31 +1,20 @@
-# $Id: Makefile,v 1.24 2000/11/07 10:42:57 simonmar Exp $
+# $Id: Makefile,v 1.30 2001/07/05 13:01:16 rrt Exp $
 
 TOP = ../../..
 include $(TOP)/mk/boilerplate.mk
 
-override WAYS=
-
-HSLIB = std
+PACKAGE = std
 IS_CBITS_LIB = YES
 
-C_SRCS= $(wildcard *.c)
+SRC_CC_OPTS += -Wall -DCOMPILING_STDLIB
 
-C_OBJS  = $(C_SRCS:.c=.$(way_)o)
-LIBOBJS = $(C_OBJS)
-SRC_CC_OPTS += -O $(GhcLibCcOpts) -Wall -optc-DCOMPILING_STDLIB
-ifneq "$(DLLized)" "YES"
-SRC_CC_OPTS += -static
+ifeq "$(DLLized)" "YES"
+SRC_CC_OPTS += -dynamic
 endif
 
-#
-# Compile the files using the Haskell compiler (ghc really).
-# 
-CC=$(GHC_INPLACE)
-
 # -----------------------------------------------------------------------------
 # Installation
 
-override datadir:=$(libdir)/includes
-INSTALL_DATAS += HsStd.h stgio.h stgerror.h fileObject.h
+INSTALL_DATAS += lockFile.h
 
 include $(TOP)/mk/target.mk