From: sof Date: Thu, 16 Apr 1998 12:50:50 +0000 (+0000) Subject: [project @ 1998-04-16 12:50:41 by sof] X-Git-Tag: Approx_2487_patches~786 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=1ff5f264634d73821da25156fcc7dd1bf7d89322;p=ghc-hetmet.git [project @ 1998-04-16 12:50:41 by sof] syslibs: generate dependencies on Prelude modules --- diff --git a/ghc/lib/concurrent/Makefile b/ghc/lib/concurrent/Makefile index deb1bff..9fb21cc 100644 --- a/ghc/lib/concurrent/Makefile +++ b/ghc/lib/concurrent/Makefile @@ -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 diff --git a/ghc/lib/exts/Makefile b/ghc/lib/exts/Makefile index 11c33c3..907b8f7 100644 --- a/ghc/lib/exts/Makefile +++ b/ghc/lib/exts/Makefile @@ -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 diff --git a/ghc/lib/misc/Makefile b/ghc/lib/misc/Makefile index 51fa2b2..6d5ddda 100644 --- a/ghc/lib/misc/Makefile +++ b/ghc/lib/misc/Makefile @@ -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 #----------------------------------------------------------------------------- diff --git a/ghc/lib/posix/Makefile b/ghc/lib/posix/Makefile index ed2d5b5..619ff2e 100644 --- a/ghc/lib/posix/Makefile +++ b/ghc/lib/posix/Makefile @@ -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