[project @ 2005-03-15 12:15:15 by malcolm]
[packages/base.git] / Makefile.nhc98
1 THISPKG = base
2 SEARCH  = -I$(TOPDIR)/targets/$(MACHINE) -Iinclude
3 EXTRA_H_FLAGS   = -H4M -K2M
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/FiniteMap.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/Queue.hs Data/Tree.hs \
13         Data/Map.hs Data/IntMap.hs Data/IntSet.hs Data/FunctorM.hs \
14         Data/Eq.hs Data/Ord.hs \
15         Control/Monad.hs Control/Monad/Fix.hs \
16         Control/Arrow.hs Debug/Trace.hs \
17         NHC/SizedTypes.hs \
18         System/IO.hs System/IO/Error.hs System/IO/Unsafe.hs \
19         System/Environment.hs System/Exit.hs System/Locale.hs \
20         System/Directory.hs System/Mem.hs System/Cmd.hs System/Info.hs \
21         System/Console/GetOpt.hs System/Random.hs \
22         System/CPUTime.hsc System/Time.hsc \
23         System/Directory/Internals.hs \
24         Foreign/Ptr.hs Foreign/StablePtr.hs Foreign/Storable.hs \
25         Foreign/ForeignPtr.hs Foreign/C/Types.hs \
26         Foreign/Marshal/Alloc.hs Foreign/Marshal/Array.hs \
27         Foreign/Marshal/Utils.hs Foreign/Marshal/Error.hs \
28         Foreign/Marshal/Pool.hs Foreign/Marshal.hs \
29         Foreign/C/String.hs Foreign/C/Error.hs Foreign/C.hs Foreign.hs \
30         Text/PrettyPrint/HughesPJ.hs Text/PrettyPrint.hs \
31         Text/Html/BlockTable.hs Text/Html.hs Text/Printf.hs \
32         Text/Read.hs Text/Show.hs Text/Show/Functions.hs \
33         Text/ParserCombinators/ReadP.hs Data/Version.hs \
34         Text/Regex/Posix.hsc Text/Regex.hs \
35         WCsubst.c
36
37
38 #       Text/ParserCombinators/ReadPrec.hs
39 #       [Data/Dynamic.hs] Data/Generics.hs Data/STRef.hs Data/Unique.hs
40 #       System/Mem.hs System/Mem/StableName.hs System/Mem/Weak.hs
41 #       System/Posix/Types.hs System/Posix/Signals.hsc
42 #       Text/Read/Lex.hs
43 #       System/FilePath.hs
44
45
46 # Here are the main rules.
47 include ../Makefile.common
48
49 # some extra rules
50 extra:
51         if [ -f Prelude.hs ]; then mv Prelude.hs Prelude.hs.unused; fi
52         if [ -f Numeric.hs ]; then mv Numeric.hs Numeric.hs.unused; fi
53 extracfiles:
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
57 # Here are any extra dependencies.
58
59 # C-files dependencies.
60