System.Timeout is no longer part of base
[packages/base.git] / Makefile.nhc98
1 THISPKG = base
2 SEARCH  = -I$(TOPDIR)/targets/$(MACHINE) -Iinclude \
3           -I../../prelude/PreludeIO -I../../prelude/`$(LOCAL)harch`
4 EXTRA_H_FLAGS   = -H4M -K3M
5 EXTRA_HBC_FLAGS = -H16M -A1M
6
7 DIRS    = \
8         Data Debug Control Control/Monad System System/IO System/Console \
9         Text Text/Html Text/Show Text/ParserCombinators Text/Regex \
10         Foreign Foreign/Marshal Foreign/C NHC Unsafe System/Posix \
11         Control/Exception
12
13 SRCS    = \
14         Data/Bits.hs Data/Bool.hs Data/Char.hs Data/Complex.hs \
15         Data/Either.hs Data/IORef.hs Data/Int.hs \
16         Data/Ix.hs Data/List.hs Data/Maybe.hs \
17         Data/Ratio.hs Data/Tuple.hs Data/Word.hs \
18         Data/HashTable.hs Data/Typeable.hs Data/Dynamic.hs \
19         Data/Monoid.hs \
20         Data/Eq.hs Data/Ord.hs Data/Fixed.hs \
21         Data/Foldable.hs Data/Traversable.hs \
22         Data/Function.hs \
23         Control/Monad.hs Control/Monad/Fix.hs Control/Monad/Instances.hs \
24         Control/Arrow.hs Control/Applicative.hs \
25         Control/Exception.hs Control/Exception/Base.hs Control/Category.hs \
26         Debug/Trace.hs \
27         NHC/SizedTypes.hs NHC/PosixTypes.hsc \
28         System/IO.hs System/IO/Error.hs System/IO/Unsafe.hs \
29         System/Environment.hs System/Exit.hs \
30         System/Mem.hs System/Info.hs \
31         System/CPUTime.hsc \
32         Foreign/Ptr.hs Foreign/StablePtr.hs Foreign/Storable.hs \
33         Foreign/ForeignPtr.hs Foreign/C/Types.hs \
34         Foreign/Marshal/Alloc.hs Foreign/Marshal/Array.hs \
35         Foreign/Marshal/Utils.hs Foreign/Marshal/Error.hs \
36         Foreign/Marshal/Pool.hs Foreign/Marshal.hs \
37         Foreign/C/String.hs Foreign/C/Error.hs Foreign/C.hs Foreign.hs \
38         Text/Printf.hs \
39         Text/Read.hs Text/Show.hs Text/Show/Functions.hs \
40         Text/ParserCombinators/ReadP.hs Data/Version.hs \
41         Unsafe/Coerce.hs \
42         WCsubst.c \
43         System/Posix/Types.hs \
44
45 #       Data/String.hs
46 #       Text/ParserCombinators/ReadPrec.hs
47 #       Text/Read/Lex.hs
48
49 # now moved to separate packages:
50 #       System/Directory.hs \
51 #       System/Directory/Internals.hs \
52 #       Text/PrettyPrint/HughesPJ.hs Text/PrettyPrint.hs \
53 #       System/Random.hs System/Locale.hs System/Time.hsc \
54 #       System/Cmd.hs \
55 #       System/Timeout.hs \
56 #       System/Console/GetOpt.hs \
57
58 #       Text/Regex/Posix.hsc Text/Regex.hs \
59 #       [Data/Dynamic.hs] Data/Generics.hs Data/STRef.hs Data/Unique.hs
60 #       System/Mem.hs System/Mem/StableName.hs System/Mem/Weak.hs
61 #       System/Posix/Types.hs System/Posix/Signals.hsc
62 #       System/FilePath.hs
63
64
65 # Here are the main rules.
66 include ../Makefile.common
67
68 # some extra rules
69 extra:
70         if [ -f Prelude.hs ]; then mv Prelude.hs Prelude.hs.unused; fi
71         if [ -f Numeric.hs ]; then mv Numeric.hs Numeric.hs.unused; fi
72         $(INSTALL) include/Typeable.h $(INCDIR)/packages/$(THISPKG)
73 extracfiles:
74         if [ -f Prelude.hs ]; then mv Prelude.hs Prelude.hs.unused; fi
75         if [ -f Numeric.hs ]; then mv Numeric.hs Numeric.hs.unused; fi
76
77 # Here are any extra dependencies.
78
79 # C-files dependencies.
80