# -----------------------------------------------------------------------------=
# $Id: Makefile,v 1.23 2001/08/16 22:54:24 sof Exp $
#
# (c) The GHC Team 1997-1999
#

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

PACKAGE = posix
PACKAGE_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 -Icbits

PosixTTY_HC_OPTS = -monly-2-regs

include $(TOP)/mk/target.mk
