[project @ 2002-02-14 14:07:16 by simonmar]
[packages/old-time.git] / cbits / Makefile
1 # $Id: Makefile,v 1.6 2002/02/14 14:05:48 simonmar Exp $
2
3 TOP = ../..
4 include $(TOP)/mk/boilerplate.mk
5
6 HC = $(GHC_INPLACE)
7
8 ifneq "$(HavePosixRegex)" "YES"
9 ALL_DIRS += regex
10 SRC_CC_OPTS += -Iregex
11 EXCLUDED_SRCS += regex/engine.c
12 INSTALL_DATAS += regex/regex.h
13 endif
14
15 EXCLUDED_SRCS += ilxstubs.c
16
17 SRC_CC_OPTS += -Wall -DCOMPILING_STDLIB
18 SRC_CC_OPTS += -I$(GHC_INCLUDE_DIR) -I$(GHC_RUNTIME_DIR) -I../include
19
20 LIBRARY = libHSbase_cbits.a
21 LIBOBJS = $(C_OBJS)
22
23 include $(TOP)/mk/target.mk