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