Add more bang patterns, needed to fix the 32bit build
[ghc-base.git] / Makefile.nhc98
index 209885b..54aab94 100644 (file)
@@ -28,8 +28,7 @@ SRCS  = \
        System/IO.hs System/IO/Error.hs System/IO/Unsafe.hs \
        System/Environment.hs System/Exit.hs \
        System/Mem.hs System/Info.hs \
-       System/Console/GetOpt.hs \
-       System/CPUTime.hsc System/Timeout.hs \
+       System/CPUTime.hsc \
        Foreign/Ptr.hs Foreign/StablePtr.hs Foreign/Storable.hs \
        Foreign/ForeignPtr.hs Foreign/C/Types.hs \
        Foreign/Marshal/Alloc.hs Foreign/Marshal/Array.hs \
@@ -41,7 +40,7 @@ SRCS  = \
        Text/ParserCombinators/ReadP.hs Data/Version.hs \
        Unsafe/Coerce.hs \
        WCsubst.c \
-       System/Posix/Types.hs \
+       System/Posix/Types.hs System/Posix/Internals.hs \
 
 #      Data/String.hs
 #      Text/ParserCombinators/ReadPrec.hs
@@ -52,7 +51,9 @@ SRCS  = \
 #      System/Directory/Internals.hs \
 #      Text/PrettyPrint/HughesPJ.hs Text/PrettyPrint.hs \
 #      System/Random.hs System/Locale.hs System/Time.hsc \
-#      System/Cmd.hs
+#      System/Cmd.hs \
+#      System/Timeout.hs \
+#      System/Console/GetOpt.hs \
 
 #      Text/Regex/Posix.hsc Text/Regex.hs \
 #      [Data/Dynamic.hs] Data/Generics.hs Data/STRef.hs Data/Unique.hs
@@ -69,9 +70,12 @@ 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)
+       $(INSTALL) include/Nhc98BaseConfig.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
+       $(INSTALL) include/Typeable.h $(INCDIR)/packages/$(THISPKG)
+       $(INSTALL) include/Nhc98BaseConfig.h $(INCDIR)/packages/$(THISPKG)
 
 # Here are any extra dependencies.