MERGE: fix ugly uses of memcpy foreign import inside ST
[packages/old-time.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 NHC/PosixTypes.hsc \
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         Unsafe/Coerce.hs \
38         WCsubst.c \
39         System/Posix/Types.hs \
40
41
42 #       Text/Regex/Posix.hsc Text/Regex.hs \
43 #       Text/ParserCombinators/ReadPrec.hs
44 #       [Data/Dynamic.hs] Data/Generics.hs Data/STRef.hs Data/Unique.hs
45 #       System/Mem.hs System/Mem/StableName.hs System/Mem/Weak.hs
46 #       System/Posix/Types.hs System/Posix/Signals.hsc
47 #       Text/Read/Lex.hs
48 #       System/FilePath.hs
49
50
51 # Here are the main rules.
52 include ../Makefile.common
53
54 # some extra rules
55 extra:
56         if [ -f Prelude.hs ]; then mv Prelude.hs Prelude.hs.unused; fi
57         if [ -f Numeric.hs ]; then mv Numeric.hs Numeric.hs.unused; fi
58 extracfiles:
59         if [ -f Prelude.hs ]; then mv Prelude.hs Prelude.hs.unused; fi
60         if [ -f Numeric.hs ]; then mv Numeric.hs Numeric.hs.unused; fi
61
62 # Here are any extra dependencies.
63
64 # C-files dependencies.
65