Make Control.Exception buildable by nhc98.
[haskell-directory.git] / Makefile.nhc98
index 2b21277..2b8f7d0 100644 (file)
@@ -1,5 +1,6 @@
 THISPKG        = base
-SEARCH = -I$(TOPDIR)/targets/$(MACHINE) -Iinclude
+SEARCH = -I$(TOPDIR)/targets/$(MACHINE) -Iinclude \
+         -I../../prelude/PreludeIO -I../../prelude/`harch`
 EXTRA_H_FLAGS   = -H4M -K3M
 EXTRA_HBC_FLAGS = -H16M -A1M
 
@@ -16,8 +17,9 @@ SRCS  = \
        Data/Function.hs Data/Graph.hs \
        Control/Monad.hs Control/Monad/Fix.hs Control/Monad/Instances.hs \
        Control/Arrow.hs Control/Applicative.hs \
+       Control/Exception.hs \
        Debug/Trace.hs \
-       NHC/SizedTypes.hs \
+       NHC/SizedTypes.hs NHC/PosixTypes.hsc \
        System/IO.hs System/IO/Error.hs System/IO/Unsafe.hs \
        System/Environment.hs System/Exit.hs System/Locale.hs \
        System/Directory.hs System/Mem.hs System/Cmd.hs System/Info.hs \
@@ -35,7 +37,8 @@ SRCS  = \
        Text/Read.hs Text/Show.hs Text/Show/Functions.hs \
        Text/ParserCombinators/ReadP.hs Data/Version.hs \
        Unsafe/Coerce.hs \
-       WCsubst.c
+       WCsubst.c \
+       System/Posix/Types.hs \
 
 
 #      Text/Regex/Posix.hsc Text/Regex.hs \