[project @ 2005-02-13 10:53:13 by malcolm]
[packages/old-time.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         Control/Monad.hs Control/Monad/Fix.hs \
15         Control/Arrow.hs Debug/Trace.hs \
16         NHC/SizedTypes.hs \
17         System/IO.hs System/IO/Error.hs System/IO/Unsafe.hs \
18         System/Environment.hs System/Exit.hs System/Locale.hs \
19         System/Directory.hs System/Mem.hs System/Cmd.hs System/Info.hs \
20         System/Console/GetOpt.hs System/Random.hs \
21         System/CPUTime.hsc System/Time.hsc \
22         System/Directory/Internals.hs \
23         Foreign/Ptr.hs Foreign/StablePtr.hs Foreign/Storable.hs \
24         Foreign/ForeignPtr.hs Foreign/C/Types.hs \
25         Foreign/Marshal/Alloc.hs Foreign/Marshal/Array.hs \
26         Foreign/Marshal/Utils.hs Foreign/Marshal/Error.hs \
27         Foreign/Marshal/Pool.hs Foreign/Marshal.hs \
28         Foreign/C/String.hs Foreign/C/Error.hs Foreign/C.hs Foreign.hs \
29         Text/PrettyPrint/HughesPJ.hs Text/PrettyPrint.hs \
30         Text/Html/BlockTable.hs Text/Html.hs Text/Printf.hs \
31         Text/Read.hs Text/Show.hs Text/Show/Functions.hs \
32         Text/ParserCombinators/ReadP.hs Data/Version.hs \
33         Text/Regex/Posix.hsc Text/Regex.hs
34
35
36 #       Text/ParserCombinators/ReadPrec.hs
37 #       [Data/Dynamic.hs] Data/Generics.hs Data/STRef.hs Data/Unique.hs
38 #       System/Mem.hs System/Mem/StableName.hs System/Mem/Weak.hs
39 #       System/Posix/Types.hs System/Posix/Signals.hsc
40 #       Text/Read/Lex.hs
41 #       System/FilePath.hs
42
43
44 # Here are the main rules.
45 include ../Makefile.common
46
47 # some extra rules
48 extra:
49         if [ -f Prelude.hs ]; then mv Prelude.hs Prelude.hs.unused; fi
50         if [ -f Numeric.hs ]; then mv Numeric.hs Numeric.hs.unused; fi
51 extracfiles:
52         if [ -f Prelude.hs ]; then mv Prelude.hs Prelude.hs.unused; fi
53         if [ -f Numeric.hs ]; then mv Numeric.hs Numeric.hs.unused; fi
54
55 # Here are any extra dependencies.
56
57 # C-files dependencies.
58