[project @ 2003-04-17 07:01:27 by simonpj]
[ghc-base.git] / Makefile.nhc98
index d9575d3..d3e39c8 100644 (file)
@@ -1,9 +1,7 @@
 THISPKG        = base
 SEARCH = -I$(TOPDIR)/targets/$(MACHINE)
 
-DIRS   = Data Control Control/Monad Debug System System/IO System/Console \
-         Foreign Foreign/C Foreign/Marshal Text Text/ParserCombinators \
-         Text/ParserCombinators/Parsec Text/PrettyPrint Text/Html
+DIRS   = $(shell ${LOCAL}pkgdirlist ${THISPKG})
 
 SRCS   = \
        Data/Bits.hs Data/Bool.hs Data/Char.hs Data/Complex.hs \
@@ -16,12 +14,13 @@ SRCS        = \
        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 \
-       System/Console/GetOpt.hs \
+       System/Console/GetOpt.hs System/Random.hs \
        Foreign/Ptr.hs Foreign/StablePtr.hs Foreign/Storable.hs \
        Foreign/ForeignPtr.hs Foreign/C/Types.hs Foreign/C/TypesISO.hs \
        Foreign/Marshal/Alloc.hs Foreign/Marshal/Array.hs \
        Foreign/Marshal/Utils.hs Foreign/Marshal/Error.hs \
-       Foreign/C/String.hs Foreign/C/Error.hs Foreign/C.hs \
+       Foreign/Marshal/Pool.hs Foreign/Marshal.hs \
+       Foreign/C/String.hs Foreign/C/Error.hs Foreign/C.hs Foreign.hs \
        Text/ParserCombinators/Parsec/Char.hs \
        Text/ParserCombinators/Parsec/Combinator.hs \
        Text/ParserCombinators/Parsec/Error.hs \
@@ -31,18 +30,19 @@ SRCS        = \
        Text/ParserCombinators/Parsec/Prim.hs \
        Text/ParserCombinators/Parsec.hs \
        Text/PrettyPrint/HughesPJ.hs Text/PrettyPrint.hs \
-       Text/Html/BlockTable.hs Text/Html.hs
+       Text/Html/BlockTable.hs Text/Html.hs \
+       Text/Read.hs Text/Show.hs Text/Show/Functions.hs
 
-
-#      Data/Dynamic.hs Data/Generics.hs Data/STRef.hs Data/Unique.hs
+#      [Data/Dynamic.hs] Data/Generics.hs Data/STRef.hs Data/Unique.hs
 #      Control/Monad/Identity.hs
 #      Debug/QuickCheck.hs
-#      System/CPUTime.hsc System/Random.hs System/Time.hsc
+#      System/CPUTime.hsc System/Time.hsc
 #      System/Mem.hs System/Mem/StableName.hs System/Mem/Weak.hs
 #      System/Posix/Types.hs System/Posix/Signals.hsc
 #      Text/ParserCombinators/Parsec/Token.hs \
 #      Text/ParserCombinators/Parsec/Language.hs \
-#      Text/Read/* Text/Read.hs Text/Show/* Text/Show.hs
+#      Text/ParserCombinators/ReadP.hs Text/ParserCombinators/ReadPrec.hs
+#      Text/Read/Lex.hs
 #      Text/Regex/* Text/Regex.hs
 
 
@@ -116,3 +116,24 @@ Foreign/Marshal/Utils.$C:  Data/Maybe.$C Foreign/Ptr.$C Foreign/Storable.$C \
 Foreign/Marshal/Error.$C:  Foreign/Ptr.$C
 Foreign/C/String.$C:       Data/Word.$C Foreign/Ptr.$C Foreign/C/Types.$C \
        Foreign/Marshal/Array.$C
+Text/ParserCombinators/Parsec/Char.$C: \
+       Text/ParserCombinators/Parsec/Pos.$C \
+       Text/ParserCombinators/Parsec/Prim.$C
+Text/ParserCombinators/Parsec/Combinator.$C: \
+       Text/ParserCombinators/Parsec/Prim.$C
+Text/ParserCombinators/Parsec/Error.$C: \
+       Text/ParserCombinators/Parsec/Pos.$C
+Text/ParserCombinators/Parsec/Expr.$C: \
+       Text/ParserCombinators/Parsec/Prim.$C \
+       Text/ParserCombinators/Parsec/Combinator.$C
+Text/ParserCombinators/Parsec/Language.$C: \
+       Text/ParserCombinators/Parsec.$C \
+       Text/ParserCombinators/Parsec/Token.$C
+Text/ParserCombinators/Parsec/Perm.$C: \
+       Text/ParserCombinators/Parsec.$C
+Text/ParserCombinators/Parsec/Prim.$C: \
+       Text/ParserCombinators/Parsec/Pos.$C \
+       Text/ParserCombinators/Parsec/Error.$C
+Text/ParserCombinators/Parsec/Token.$C: \
+       Text/ParserCombinators/Parsec.$C
+