[project @ 2001-08-17 12:50:34 by simonmar]
[haskell-directory.git] / cbits / Makefile
1 # $Id: Makefile,v 1.3 2001/08/17 12:50:34 simonmar Exp $
2
3 TOP = ../..
4 include $(TOP)/mk/boilerplate.mk
5
6 PACKAGE = core
7 IS_CBITS_LIB = YES
8
9 SRC_CC_OPTS += -Wall -DCOMPILING_STDLIB -I../include -I$(GHC_INCLUDE_DIR) -I$(GHC_RUNTIME_DIR)
10
11 ifeq "$(ILXized)" "YES"
12 DLLized = YES
13 C_SRCS += $(FPTOOLS_TOP)/ghc/rts/StgPrimFloat.c
14 else
15 C_SRCS := $(filter-out ilxstubs.c,$(C_SRCS))
16 endif
17
18 # -----------------------------------------------------------------------------
19 # Installation
20
21 INSTALL_DATAS += lockFile.h
22
23 include $(TOP)/mk/target.mk