# -----------------------------------------------------------------------------=
# $Id: Makefile,v 1.21 2001/03/23 16:36:22 simonmar Exp $
#
# (c) The GHC Team 1997-1999
#

TOP=..
include $(TOP)/mk/boilerplate.mk

HSLIB = posix
HSLIB_DEPS = lang
HAS_CBITS = YES

# basically nothing for hugs, until we convert these libraries to use the FFI
NOT_FOR_HUGS = Posix.lhs PosixDB.lhs PosixErr.lhs PosixFiles.lhs PosixIO.lhs \
	       PosixProcEnv.lhs PosixTTY.lhs PosixUtil.lhs

SRC_HC_OPTS += -recomp -cpp -fglasgow-exts -fvia-C -I$(GHC_IO_INCLUDE_DIR) -I$(GHC_INCLUDE_DIR) -Icbits

PosixTTY_HC_OPTS = -monly-2-regs

include $(TOP)/mk/target.mk
