summaryrefslogtreecommitdiff
path: root/ghc/interpreter
diff options
context:
space:
mode:
authorandy <unknown>2000-03-06 23:07:09 +0000
committerandy <unknown>2000-03-06 23:07:09 +0000
commit5e2c358fc8f06b10c4893d7fec3c97714c2562b4 (patch)
treef39712a52d72d1278687aae1267f29b13715cc9f /ghc/interpreter
parent7f8f7919fe24b2127939bf786df479ce2be83dac (diff)
downloadhaskell-5e2c358fc8f06b10c4893d7fec3c97714c2562b4.tar.gz
[project @ 2000-03-06 23:07:09 by andy]
Adding latest version of STG Hugs libs makefile.
Diffstat (limited to 'ghc/interpreter')
-rw-r--r--ghc/interpreter/lib/Makefile82
1 files changed, 74 insertions, 8 deletions
diff --git a/ghc/interpreter/lib/Makefile b/ghc/interpreter/lib/Makefile
index 9d192f4dc1..4181e82118 100644
--- a/ghc/interpreter/lib/Makefile
+++ b/ghc/interpreter/lib/Makefile
@@ -1,14 +1,54 @@
# -------------------------------------------------------------------------- #
-# $Id: Makefile,v 1.4 1999/12/01 10:56:25 sewardj Exp $
+# $Id: Makefile,v 1.5 2000/03/06 23:07:09 andy Exp $
# -------------------------------------------------------------------------- #
TOP = ../..
include $(TOP)/mk/boilerplate.mk
-LIBS = List.lhs Ix.lhs Complex.lhs Char.lhs Ratio.lhs Random.lhs \
- Array.lhs Maybe.lhs Monad.lhs Numeric.lhs Directory.lhs \
- System.lhs Locale.lhs CPUTime.lhs IO.lhs Pretty.lhs \
- GetOpt.lhs Bits.lhs Word.lhs Addr.lhs NumExts.lhs Int.lhs
+STD_LIBS = Array.lhs Char.lhs Complex.lhs CPUTime.lhs \
+ Directory.lhs IO.lhs Ix.lhs List.lhs Locale.lhs \
+ Maybe.lhs Monad.lhs Numeric.lhs Ratio.lhs \
+ Random.lhs System.lhs
+
+# To Fix: Time, Directory
+
+DATA_LIBS = FiniteMap.lhs Set.lhs \
+ EdisonPrelude.hs \
+ Assoc.hs AssocDefaults.hs AssocList.hs PatriciaLoMap.hs \
+ Collection.hs CollectionDefaults.hs CollectionUtils.hs \
+ LazyPairingHeap.hs LeftistHeap.hs MinHeap.hs SkewHeap.hs \
+ SplayHeap.hs TestOrdBag.hs TestOrdSet.hs UnbalancedSet.hs \
+ BankersQueue.hs BinaryRandList.hs BraunSeq.hs JoinList.hs \
+ ListSeq.hs MyersStack.hs RandList.hs RevSeq.hs Sequence.hs \
+ SequenceDefaults.hs SimpleQueue.hs SizedSeq.hs TestSeq.hs
+
+TEXT_LIBS = Pretty.lhs Html.lhs HtmlBlockTable.lhs
+
+LANG_LIBS = Addr.lhs Bits.lhs ByteArray.lhs Dynamic.lhs \
+ Exception.lhs Int.lhs IOExts.lhs LazyST.lhs \
+ MonadEither.lhs MonadFix.lhs MonadIdentity.lhs \
+ MonadReader.lhs MonadRWS.lhs MonadState.lhs \
+ MonadTrans.lhs MonadWriter.lhs Monoid.lhs \
+ MutableArray.lhs NumExts.lhs PackedString.lhs \
+ ShowFunctions.lhs ST.lhs Stable.lhs StablePtr.lhs \
+ TimeExts.lhs Weak.lhs Word.lhs
+
+UTIL_LIBS = QuickCheck.hs QuickCheckBatch.hs QuickCheckPoly.hs \
+ QuickCheckUtils.hs GetOpt.lhs \
+ Regex.lhs RegexString.lhs Observe.lhs Memo.lhs Readline.lhs \
+ Select.lhs
+
+
+LIBS = $(STD_LIBS) \
+ $(DATA_LIBS) \
+ $(LANG_LIBS) \
+ $(TEXT_LIBS) \
+ $(UTIL_LIBS)
+
+#List.lhs Ix.lhs Complex.lhs Char.lhs Ratio.lhs Random.lhs \
+# Array.lhs Maybe.lhs Monad.lhs Numeric.lhs Directory.lhs \
+# System.lhs Locale.lhs CPUTime.lhs IO.lhs Pretty.lhs \
+# GetOpt.lhs Bits.lhs Word.lhs Addr.lhs NumExts.lhs Int.lhs \
all :: $(LIBS)
@@ -18,15 +58,41 @@ HUGSCPP = ../../utils/hscpp/hscpp -D__HUGS__ -DUSE_REPORT_PRELUDE
%.lhs :: $(GHC_LIB_DIR)/std/%.lhs
$(HUGSCPP) -I../../includes $< > $*.lhs
-%.lhs :: $(GHC_LIB_DIR)/exts/%.lhs
+%.lhs :: $(FPTOOLS_TOP)/hslibs/concurrent/%.lhs
+ $(HUGSCPP) -I../../includes $< > $*.lhs
+
+%.lhs :: $(FPTOOLS_TOP)/hslibs/data/%.lhs
+ $(HUGSCPP) -I../../includes $< > $*.lhs
+
+%.hs :: $(FPTOOLS_TOP)/hslibs/data/edison/%.hs
+ $(HUGSCPP) -I../../includes $< > $*.hs
+%.hs :: $(FPTOOLS_TOP)/hslibs/data/edison/Seq/%.hs
+ $(HUGSCPP) -I../../includes $< > $*.hs
+%.hs :: $(FPTOOLS_TOP)/hslibs/data/edison/Coll/%.hs
+ $(HUGSCPP) -I../../includes $< > $*.hs
+%.hs :: $(FPTOOLS_TOP)/hslibs/data/edison/Assoc/%.hs
+ $(HUGSCPP) -I../../includes $< > $*.hs
+
+%.lhs :: $(FPTOOLS_TOP)/hslibs/lang/%.lhs
+ $(HUGSCPP) -I../../includes $< > $*.lhs
+%.lhs :: $(FPTOOLS_TOP)/hslibs/lang/monads/%.lhs
+ $(HUGSCPP) -I../../includes $< > $*.lhs
+
+%.lhs :: $(FPTOOLS_TOP)/hslibs/net/%.lhs
+ $(HUGSCPP) -I../../includes $< > $*.lhs
+
+%.lhs :: $(FPTOOLS_TOP)/hslibs/posix/%.lhs
$(HUGSCPP) -I../../includes $< > $*.lhs
%.lhs :: $(FPTOOLS_TOP)/hslibs/text/%.lhs
$(HUGSCPP) -I../../includes $< > $*.lhs
-%.lhs :: $(FPTOOLS_TOP)/hslibs/util/%.lhs
+%.lhs :: $(FPTOOLS_TOP)/hslibs/text/html/%.lhs
$(HUGSCPP) -I../../includes $< > $*.lhs
-%.lhs :: $(FPTOOLS_TOP)/hslibs/lang/%.lhs
+
+%.lhs :: $(FPTOOLS_TOP)/hslibs/util/%.lhs
$(HUGSCPP) -I../../includes $< > $*.lhs
+%.hs :: $(FPTOOLS_TOP)/hslibs/util/check/%.hs
+ $(HUGSCPP) -I../../includes $< > $*.hs
CLEAN_FILES += $(LIBS)