Control.OldException: Map exceptions to old exceptions and back properly.
[ghc-base.git] / Makefile.nhc98
index 7da02ac..209885b 100644 (file)
@@ -1,13 +1,14 @@
 THISPKG        = base
 SEARCH = -I$(TOPDIR)/targets/$(MACHINE) -Iinclude \
-         -I../../prelude/PreludeIO -I../../prelude/`harch`
+         -I../../prelude/PreludeIO -I../../prelude/`$(LOCAL)harch`
 EXTRA_H_FLAGS   = -H4M -K3M
 EXTRA_HBC_FLAGS = -H16M -A1M
 
 DIRS   = \
        Data Debug Control Control/Monad System System/IO System/Console \
        Text Text/Html Text/Show Text/ParserCombinators Text/Regex \
-       Foreign Foreign/Marshal Foreign/C NHC Unsafe System/Posix
+       Foreign Foreign/Marshal Foreign/C NHC Unsafe System/Posix \
+       Control/Exception
 
 SRCS   = \
        Data/Bits.hs Data/Bool.hs Data/Char.hs Data/Complex.hs \
@@ -21,7 +22,7 @@ SRCS  = \
        Data/Function.hs \
        Control/Monad.hs Control/Monad/Fix.hs Control/Monad/Instances.hs \
        Control/Arrow.hs Control/Applicative.hs \
-       Control/Exception.hs \
+       Control/Exception.hs Control/Exception/Base.hs Control/Category.hs \
        Debug/Trace.hs \
        NHC/SizedTypes.hs NHC/PosixTypes.hsc \
        System/IO.hs System/IO/Error.hs System/IO/Unsafe.hs \
@@ -67,6 +68,7 @@ include ../Makefile.common
 extra:
        if [ -f Prelude.hs ]; then mv Prelude.hs Prelude.hs.unused; fi
        if [ -f Numeric.hs ]; then mv Numeric.hs Numeric.hs.unused; fi
+       $(INSTALL) include/Typeable.h $(INCDIR)/packages/$(THISPKG)
 extracfiles:
        if [ -f Prelude.hs ]; then mv Prelude.hs Prelude.hs.unused; fi
        if [ -f Numeric.hs ]; then mv Numeric.hs Numeric.hs.unused; fi