put 'unsafeCoerce' in a standard location
[haskell-directory.git] / Makefile.nhc98
1 THISPKG = base
2 SEARCH  = -I$(TOPDIR)/targets/$(MACHINE) -Iinclude
3 EXTRA_H_FLAGS   = -H4M -K3M
4 EXTRA_HBC_FLAGS = -H16M -A1M
5
6 SRCS    = \
7         Data/Bits.hs Data/Bool.hs Data/Char.hs Data/Complex.hs \
8         Data/Either.hs Data/IORef.hs Data/Int.hs \
9         Data/Ix.hs Data/List.hs Data/Maybe.hs Data/PackedString.hs \
10         Data/Ratio.hs Data/Set.hs Data/Tuple.hs Data/Word.hs Data/Array.hs \
11         Data/HashTable.hs Data/Typeable.hs Data/Dynamic.hs \
12         Data/Monoid.hs Data/Tree.hs \
13         Data/Map.hs Data/IntMap.hs Data/IntSet.hs \
14         Data/Eq.hs Data/Ord.hs \
15         Data/Foldable.hs Data/Traversable.hs Data/Sequence.hs \
16         Data/Function.hs Data/Graph.hs \
17         Control/Monad.hs Control/Monad/Fix.hs Control/Monad/Instances.hs \
18         Control/Arrow.hs Control/Applicative.hs \
19         Debug/Trace.hs \
20         NHC/SizedTypes.hs \
21         System/IO.hs System/IO/Error.hs System/IO/Unsafe.hs \
22         System/Environment.hs System/Exit.hs System/Locale.hs \
23         System/Directory.hs System/Mem.hs System/Cmd.hs System/Info.hs \
24         System/Console/GetOpt.hs System/Random.hs \
25         System/CPUTime.hsc System/Time.hsc \
26         System/Directory/Internals.hs \
27         Foreign/Ptr.hs Foreign/StablePtr.hs Foreign/Storable.hs \
28         Foreign/ForeignPtr.hs Foreign/C/Types.hs \
29         Foreign/Marshal/Alloc.hs Foreign/Marshal/Array.hs \
30         Foreign/Marshal/Utils.hs Foreign/Marshal/Error.hs \
31         Foreign/Marshal/Pool.hs Foreign/Marshal.hs \
32         Foreign/C/String.hs Foreign/C/Error.hs Foreign/C.hs Foreign.hs \
33         Text/PrettyPrint/HughesPJ.hs Text/PrettyPrint.hs \
34         Text/Printf.hs \
35         Text/Read.hs Text/Show.hs Text/Show/Functions.hs \
36         Text/ParserCombinators/ReadP.hs Data/Version.hs \
37         WCsubst.c
38
39
40 #       Text/Regex/Posix.hsc Text/Regex.hs \
41 #       Text/ParserCombinators/ReadPrec.hs
42 #       [Data/Dynamic.hs] Data/Generics.hs Data/STRef.hs Data/Unique.hs
43 #       System/Mem.hs System/Mem/StableName.hs System/Mem/Weak.hs
44 #       System/Posix/Types.hs System/Posix/Signals.hsc
45 #       Text/Read/Lex.hs
46 #       System/FilePath.hs
47
48
49 # Here are the main rules.
50 include ../Makefile.common
51
52 # some extra rules
53 extra:
54         if [ -f Prelude.hs ]; then mv Prelude.hs Prelude.hs.unused; fi
55         if [ -f Numeric.hs ]; then mv Numeric.hs Numeric.hs.unused; fi
56 extracfiles:
57         if [ -f Prelude.hs ]; then mv Prelude.hs Prelude.hs.unused; fi
58         if [ -f Numeric.hs ]; then mv Numeric.hs Numeric.hs.unused; fi
59
60 # Here are any extra dependencies.
61
62 # C-files dependencies.
63