# $Id: Makefile,v 1.16 2003/04/03 23:45:47 reid Exp $

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

SUBDIRS = base haskell98 network haskell-src

ifeq "$(GhcLibsWithReadline)" "YES"
SUBDIRS += readline
endif

ifeq "$(GhcLibsWithHOpenGL)" "YES"
SUBDIRS += OpenGL GLUT
endif

ifeq "$(GhcLibsWithObjectIO)" "YES"
SUBDIRS += ObjectIO
endif

ifeq "$(GhcLibsWithX11)" "YES"
SUBDIRS += X11
endif

ifneq "$(TARGETPLATFORM)" "i386-unknown-mingw32"
SUBDIRS += unix
endif

include $(TOP)/mk/target.mk
