X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=libraries%2FMakefile;h=889d86a281e6a2df1893d87582da1f07172f8d3a;hp=87228836225772bd21fc5b9f1156c544b439fba5;hb=9da4639011348fb6c318e3cba4b08622f811d9c4;hpb=9c1e26118f6dbb0dfb04d08e04eb31fa5c2d1f05 diff --git a/libraries/Makefile b/libraries/Makefile index 8722883..889d86a 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -9,44 +9,45 @@ include $(TOP)/mk/boilerplate.mk # want the Makefile. MFLAGS += -f Makefile -SUBDIRS = base haskell98 template-haskell +SUBDIRS = base haskell98 template-haskell readline \ + regex-base regex-posix regex-compat parsec Cabal ifeq "$(GhcLibsWithUnix)" "YES" SUBDIRS += unix endif - -SUBDIRS += Cabal -SUBDIRS += $(wildcard parsec) +ifeq "$(Windows)" "YES" +SUBDIRS += $(wildcard Win32) +endif # Set GhcBootLibs=YES from the command line to work with just the libraries # needed to bootstrap GHC. ifneq "$(GhcBootLibs)" "YES" SUBDIRS += $(wildcard haskell-src) -SUBDIRS += $(wildcard time) +SUBDIRS += $(wildcard html) SUBDIRS += $(wildcard network) SUBDIRS += $(wildcard QuickCheck) SUBDIRS += $(wildcard HUnit) SUBDIRS += $(wildcard mtl) SUBDIRS += $(wildcard fgl) SUBDIRS += $(wildcard X11) -ifeq "$(Windows)" "YES" -SUBDIRS += $(wildcard Win32) -endif +SUBDIRS += $(wildcard time) +ifeq "$(Windows)" "NO" +# HGL is not working on Win32, so omit it for now. Better not to ship it +# at all than to ship a broken version. SUBDIRS += $(wildcard HGL) +endif SUBDIRS += $(wildcard OpenGL) SUBDIRS += $(wildcard GLUT) SUBDIRS += $(wildcard OpenAL) SUBDIRS += $(wildcard ALUT) SUBDIRS += $(wildcard stm) +SUBDIRS += $(wildcard xhtml) +SUBDIRS += $(wildcard cgi) ifeq "$(GhcLibsWithObjectIO)" "YES" SUBDIRS += $(wildcard ObjectIO) endif endif -ifeq "$(GhcLibsWithReadline)" "YES" -SUBDIRS += $(wildcard readline) -endif - # ----------------------------------------------------------------------------- DIST_CLEAN_FILES += config.cache config.status @@ -58,7 +59,7 @@ include $(TOP)/mk/target.mk ifneq "$(NO_HADDOCK_DOCS)" "YES" -HTML_DIR = html +HTML_DIR = html-docs # ATTENTION, incomprehensible shell stuff ahead: Automagically create the # prologue for the combined index via a header, the package prologues (in