2 SEARCH = -I$(TOPDIR)/targets/$(MACHINE) -Iinclude \
3 -I../../prelude/PreludeIO -I../../prelude/`$(LOCAL)harch`
4 EXTRA_H_FLAGS = -H4M -K3M
5 EXTRA_HBC_FLAGS = -H16M -A1M
8 Data Debug Control Control/Monad System System/IO System/Console \
9 Text Text/Html Text/Show Text/ParserCombinators Text/Regex \
10 Foreign Foreign/Marshal Foreign/C NHC Unsafe System/Posix
13 Data/Bits.hs Data/Bool.hs Data/Char.hs Data/Complex.hs \
14 Data/Either.hs Data/IORef.hs Data/Int.hs \
15 Data/Ix.hs Data/List.hs Data/Maybe.hs \
16 Data/Ratio.hs Data/Tuple.hs Data/Word.hs \
17 Data/HashTable.hs Data/Typeable.hs Data/Dynamic.hs \
19 Data/Eq.hs Data/Ord.hs Data/Fixed.hs \
20 Data/Foldable.hs Data/Traversable.hs \
22 Control/Monad.hs Control/Monad/Fix.hs Control/Monad/Instances.hs \
23 Control/Arrow.hs Control/Applicative.hs \
24 Control/Exception.hs Control/Category.hs \
26 NHC/SizedTypes.hs NHC/PosixTypes.hsc \
27 System/IO.hs System/IO/Error.hs System/IO/Unsafe.hs \
28 System/Environment.hs System/Exit.hs \
29 System/Mem.hs System/Info.hs \
30 System/Console/GetOpt.hs \
31 System/CPUTime.hsc System/Timeout.hs \
32 Foreign/Ptr.hs Foreign/StablePtr.hs Foreign/Storable.hs \
33 Foreign/ForeignPtr.hs Foreign/C/Types.hs \
34 Foreign/Marshal/Alloc.hs Foreign/Marshal/Array.hs \
35 Foreign/Marshal/Utils.hs Foreign/Marshal/Error.hs \
36 Foreign/Marshal/Pool.hs Foreign/Marshal.hs \
37 Foreign/C/String.hs Foreign/C/Error.hs Foreign/C.hs Foreign.hs \
39 Text/Read.hs Text/Show.hs Text/Show/Functions.hs \
40 Text/ParserCombinators/ReadP.hs Data/Version.hs \
43 System/Posix/Types.hs \
46 # Text/ParserCombinators/ReadPrec.hs
49 # now moved to separate packages:
50 # System/Directory.hs \
51 # System/Directory/Internals.hs \
52 # Text/PrettyPrint/HughesPJ.hs Text/PrettyPrint.hs \
53 # System/Random.hs System/Locale.hs System/Time.hsc \
56 # Text/Regex/Posix.hsc Text/Regex.hs \
57 # [Data/Dynamic.hs] Data/Generics.hs Data/STRef.hs Data/Unique.hs
58 # System/Mem.hs System/Mem/StableName.hs System/Mem/Weak.hs
59 # System/Posix/Types.hs System/Posix/Signals.hsc
63 # Here are the main rules.
64 include ../Makefile.common
68 if [ -f Prelude.hs ]; then mv Prelude.hs Prelude.hs.unused; fi
69 if [ -f Numeric.hs ]; then mv Numeric.hs Numeric.hs.unused; fi
70 $(INSTALL) include/Typeable.h $(INCDIR)/packages/$(THISPKG)
72 if [ -f Prelude.hs ]; then mv Prelude.hs Prelude.hs.unused; fi
73 if [ -f Numeric.hs ]; then mv Numeric.hs Numeric.hs.unused; fi
75 # Here are any extra dependencies.
77 # C-files dependencies.