[project @ 1998-04-16 12:50:41 by sof]
authorsof <unknown>
Thu, 16 Apr 1998 12:50:50 +0000 (12:50 +0000)
committersof <unknown>
Thu, 16 Apr 1998 12:50:50 +0000 (12:50 +0000)
syslibs: generate dependencies on Prelude modules

ghc/lib/concurrent/Makefile
ghc/lib/exts/Makefile
ghc/lib/misc/Makefile
ghc/lib/posix/Makefile

index deb1bff..9fb21cc 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.3 1998/02/25 16:03:04 simonm Exp $
+# $Id: Makefile,v 1.4 1998/04/16 12:50:50 sof Exp $
 #
 # Makefile for concurrent libraries.
 #
@@ -23,6 +23,7 @@ HS_IFACES= $(HS_SRCS:.lhs=.$(way_)hi)
 #      Setting the GHC compile options
 
 SRC_HC_OPTS += -recomp -cpp -fglasgow-exts -fvia-C -Rghc-timing $(GhcLibHcOpts)
+SRC_MKDEPENDHS_OPTS += -optdep--include-prelude
 
 #
 # Profiling options
index 11c33c3..907b8f7 100644 (file)
@@ -45,7 +45,7 @@ Word_HC_OPTS         += -H8m
 #-----------------------------------------------------------------------------
 #      Dependency generation
 
-SRC_MKDEPENDHS_OPTS += -i../std -I$(GHC_INCLUDE_DIR)
+SRC_MKDEPENDHS_OPTS += -I$(GHC_INCLUDE_DIR) -optdep--include-prelude -optdep-w
 
 #-----------------------------------------------------------------------------
 #      Installation; need to install .hi files as well as libraries
index 51fa2b2..6d5ddda 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.6 1998/02/25 16:02:20 simonm Exp $
+# $Id: Makefile,v 1.7 1998/04/16 12:50:41 sof Exp $
 #
 # Makefile for miscellaneous libraries.
 #
@@ -31,6 +31,7 @@ endif
 HS_OBJS = $(HS_SRCS:.lhs=.$(way_)o)
 LIBOBJS = $(HS_OBJS)
 HS_IFACES= $(HS_SRCS:.lhs=.$(way_)hi)
+SRC_MKDEPENDHS_OPTS += -optdep--include-prelude
 
 
 #-----------------------------------------------------------------------------
index ed2d5b5..619ff2e 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.3 1998/02/25 16:02:11 simonm Exp $
+# $Id: Makefile,v 1.4 1998/04/16 12:50:44 sof Exp $
 #
 # Makefile for POSIX library
 #
@@ -22,6 +22,7 @@ LIBRARY = libHSposix$(_way).a
 HS_SRCS        = $(wildcard *.lhs)
 LIBOBJS = $(HS_OBJS)
 HS_IFACES= $(HS_SRCS:.lhs=.$(way_)hi)
+SRC_MKDEPENDHS_OPTS += -optdep--include-prelude
 
 #-----------------------------------------------------------------------------
 #      Setting the GHC compile options