Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex D
GHC
Commits
1cb4b903
Commit
1cb4b903
authored
Mar 03, 2013
by
ian@well-typed.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use unlit_INPLACE rather than UNLIT in the build system
parent
480ad036
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
7 deletions
+5
-7
compiler/ghc.mk
compiler/ghc.mk
+1
-1
ghc/ghc.mk
ghc/ghc.mk
+1
-1
mk/config.mk.in
mk/config.mk.in
+0
-2
rules/build-perl.mk
rules/build-perl.mk
+2
-2
utils/unlit/ghc.mk
utils/unlit/ghc.mk
+1
-1
No files found.
compiler/ghc.mk
View file @
1cb4b903
...
...
@@ -102,7 +102,7 @@ endif
@
echo
'cRAWCPP_FLAGS :: String'
>>
$@
@
echo
'cRAWCPP_FLAGS = "
$(RAWCPP_FLAGS)
"'
>>
$@
@
echo
'cGHC_UNLIT_PGM :: String'
>>
$@
@
echo
'cGHC_UNLIT_PGM = "
$(
GHC_UNLIT_PGM)
"'
>>
$@
@
echo
'cGHC_UNLIT_PGM = "$(
utils/unlit_dist_PROG)"'
>>
$@
@
echo
'cGHC_SPLIT_PGM :: String'
>>
$@
@
echo
'cGHC_SPLIT_PGM = "
$(GHC_SPLIT_PGM)
"'
>>
$@
@
echo
'cLibFFI :: Bool'
>>
$@
...
...
ghc/ghc.mk
View file @
1cb4b903
...
...
@@ -141,7 +141,7 @@ $(INPLACE_LIB)/platformConstants: $(includes_GHCCONSTANTS_HASKELL_VALUE)
# The GHC programs need to depend on all the helper programs they might call,
# and the settings files they use
GHC_DEPENDENCIES
+=
$
(UNLIT
)
GHC_DEPENDENCIES
+=
$
$(unlit_INPLACE
)
GHC_DEPENDENCIES
+=
$(INPLACE_LIB)
/settings
GHC_DEPENDENCIES
+=
$(INPLACE_LIB)
/platformConstants
...
...
mk/config.mk.in
View file @
1cb4b903
...
...
@@ -434,11 +434,9 @@ SRC_FLEX_OPTS += -8
# xxx_PGM the name of an executable, without the path
# xxx the executable relative to the current dir
GHC_UNLIT_PGM
=
unlit
$(exeext)
GHC_SPLIT_PGM
=
ghc-split
SPLIT
=
$(INPLACE_LIB)
/
$(GHC_SPLIT_PGM)
UNLIT
=
$(INPLACE_LIB)
/
$(GHC_UNLIT_PGM)
TOUCHY
=
$(INPLACE_LIB)
/touchy
$(exeext)
MKDIRHIER
=
$(INPLACE_BIN)
/mkdirhier
...
...
rules/build-perl.mk
View file @
1cb4b903
...
...
@@ -39,8 +39,8 @@ clean_$1 : clean_$1_$2
# INPLACE_BIN etc. might be empty if we're cleaning
ifeq
"$(findstring clean,$(MAKECMDGOALS))" ""
ifneq
"$$(BINDIST)" "YES"
$1/$2/$$($1_$2_PROG).prl
:
$1/$$($1_PERL_SRC) $$
(UNLIT
) | $$$$(dir $$$$@)/.
"
$
$(
UNLIT
)
"
$
$(UNLIT_OPTS)
$$
<
$$
@
$1/$2/$$($1_$2_PROG).prl
:
$1/$$($1_PERL_SRC) $$
$$(unlit_INPLACE
) | $$$$(dir $$$$@)/.
"
$
$(
unlit_INPLACE
)
"
$
$(UNLIT_OPTS)
$$
<
$$
@
endif
$1/$2/$$($1_$2_PROG)
:
$1/$2/$$($1_$2_PROG).prl
...
...
utils/unlit/ghc.mk
View file @
1cb4b903
...
...
@@ -11,7 +11,7 @@
# -----------------------------------------------------------------------------
utils/
unlit_dist_C_SRCS
=
unlit.c
utils/
unlit_dist_PROG
=
$(GHC_UNLIT_PGM
)
utils/
unlit_dist_PROG
=
unlit
$(exeext
)
utils/
unlit_dist_TOPDIR
=
YES
utils/
unlit_dist_INSTALL
=
YES
utils/
unlit_dist_INSTALL_INPLACE
=
YES
...
...
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