Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
jberryman
GHC
Commits
90d1a761
Commit
90d1a761
authored
Jul 05, 2009
by
Ian Lynagh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update driver/Makefile for the new build system
parent
dbdac3eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
34 deletions
+12
-34
driver/Makefile
driver/Makefile
+12
-33
ghc.mk
ghc.mk
+0
-1
No files found.
driver/Makefile
View file @
90d1a761
# -----------------------------------------------------------------------------=
# $Id: Makefile,v 1.76 2005/03/02 09:49:11 simonmar Exp $
# -----------------------------------------------------------------------------
#
# (c) The University of Glasgow
2002
# (c)
2009
The University of Glasgow
#
# This file is part of the GHC build system.
#
# To understand how the build system works and how to modify it, see
# http://hackage.haskell.org/trac/ghc/wiki/Building/Architecture
# http://hackage.haskell.org/trac/ghc/wiki/Building/Modifying
#
# -----------------------------------------------------------------------------
TOP
=
..
include
$(TOP)/mk/boilerplate.mk
SUBDIRS
=
mangler
split
ghc ghc-pkg ghci runhaskell
INPLACE_PKG_CONF
=
$(INPLACE_DATA_DIR)
/package.conf
# Used to signal that we are inplace, as opposed to installed:
INPLACE_FILE
=
$(INPLACE_DATA_DIR)
/inplace
boot all
::
$(MKDIRHIER)
$(INPLACE_DATA_DIR)
test
-f
$(INPLACE_PKG_CONF)
||
echo
"[]"
>
$(INPLACE_PKG_CONF)
touch
$(INPLACE_FILE)
INSTALL_DATAS
+=
ghc-usage.txt ghci-usage.txt
# Since cleaning effectively uninstalls all the packages, we must
# remove the stamp files that the build system uses to avoid unnecessarily
# re-installing the RTS
CLEAN_FILES
+=
stamp-pkg-conf-rts
binary-dist
:
ifeq
"$(WHERE_AM_I)" ""
echo
"I don't know where I am"
>
&2
exit
1
endif
for
FILE
in
Makefile
$(INSTALL_DATAS)
;
do
echo
$(WHERE_AM_I)
/
$$
FILE
>>
$(BIN_DIST_LIST)
;
done
set
-e
;
for
d
in
$(SUBDIRS)
;
do
$(MAKE)
-C
$$
d binary-dist
WHERE_AM_I
=
$(WHERE_AM_I)
/
$$
d
;
done
include
$(TOP)/mk/target.mk
dir
=
driver
TOP
=
..
include
$(TOP)/mk/sub-makefile.mk
ghc.mk
View file @
90d1a761
...
...
@@ -27,7 +27,6 @@
# * docs/man/Makefile
# * docs/storage-mgmt/Makefile
# * docs/vh/Makefile
# * driver/Makefile
# * rts/dotnet/Makefile
# * utils/Makefile
# * GhcProfiled
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment