From: rrt Date: Fri, 13 Jul 2001 13:40:26 +0000 (+0000) Subject: [project @ 2001-07-13 13:40:26 by rrt] X-Git-Tag: Approximately_9120_patches~1561 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=61bfc851db99891681cefcaa0cfdd2bb1dae591c;hp=d4e38936bf64bcd3dc301ec404406bbff20f01d5;p=ghc-hetmet.git [project @ 2001-07-13 13:40:26 by rrt] Add StgPrimFloat.c for ILX --- diff --git a/ghc/lib/std/cbits/Makefile b/ghc/lib/std/cbits/Makefile index 6111a9d..d1f55fb 100644 --- a/ghc/lib/std/cbits/Makefile +++ b/ghc/lib/std/cbits/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.30 2001/07/05 13:01:16 rrt Exp $ +# $Id: Makefile,v 1.31 2001/07/13 13:40:26 rrt Exp $ TOP = ../../.. include $(TOP)/mk/boilerplate.mk @@ -8,8 +8,11 @@ IS_CBITS_LIB = YES SRC_CC_OPTS += -Wall -DCOMPILING_STDLIB -ifeq "$(DLLized)" "YES" -SRC_CC_OPTS += -dynamic +ifeq "$(ILXized)" "YES" +DLLized = YES +C_SRCS += $(FPTOOLS_TOP)/ghc/rts/StgPrimFloat.c +else +C_SRCS := $(filter-out ilxstubs.c,$(C_SRCS)) endif # -----------------------------------------------------------------------------