[project @ 2001-07-31 11:51:09 by simonmar]
[haskell-directory.git] / cbits / Makefile
1 # $Id: Makefile,v 1.2 2001/07/31 11:51:09 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/includes -I../../../ghc/rts
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