X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=libraries%2FMakefile;h=a2729dcaf9ec2eb0f2307c447d1a50f3ca29614d;hb=0069a47ad1a539c894f66163cf30c7d98dc9b016;hp=fc329b2b0132287523d716ff0f300fd2f41eb6c1;hpb=d92b83b91324d24a8caf243a1eedd070cc455b6d;p=ghc-hetmet.git diff --git a/libraries/Makefile b/libraries/Makefile index fc329b2..a2729dc 100644 --- a/libraries/Makefile +++ b/libraries/Makefile @@ -41,15 +41,15 @@ include $(TOP)/mk/cabal-flags.mk # Any libraries listed here should also be in ../packages -SUBDIRS = ghc-prim $(INTEGER_LIBRARY) base base3-compat array packedstring -SUBDIRS += containers bytestring old-locale old-time filepath directory +SUBDIRS = ghc-prim $(INTEGER_LIBRARY) base syb concurrent unique timeout st getopt base3-compat array packedstring +SUBDIRS += containers bytestring old-locale old-time filepath ifeq "$(GhcLibsWithUnix)" "YES" SUBDIRS += unix endif ifeq "$(Windows)" "YES" SUBDIRS += $(wildcard Win32) endif -SUBDIRS += process pretty hpc template-haskell editline Cabal random haskell98 +SUBDIRS += directory process pretty hpc template-haskell editline Cabal random haskell98 # Set GhcBootLibs=YES from the command line to work with just the libraries # needed to bootstrap GHC. @@ -387,6 +387,10 @@ BIN_DIST_LIBDIR=$(BIN_DIST_DIR)/libraries BINDIST_EXTRAS += ifBuildable/ifBuildable binary-dist: $(foreach SUBDIR,$(SUBDIRS),binary-dist.library.$(SUBDIR)) +ifeq "$(WHERE_AM_I)" "" + echo "I don't know where I am" >&2 + exit 1 +endif echo $(WHERE_AM_I)/Makefile >> $(BIN_DIST_LIST) # XXX This needs to be changed: This ifBuildable is built with the # bootstrapping compiler, so isn't OS X friendly. It should be made into