Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
be41d742
Commit
be41d742
authored
Jul 16, 2001
by
qrczak
Browse files
[project @ 2001-07-16 06:33:22 by qrczak]
Fix paths in installed hsc2hs driver.
parent
50e701e8
Changes
2
Hide whitespace changes
Inline
Side-by-side
ghc/utils/hsc2hs/Makefile
View file @
be41d742
# -----------------------------------------------------------------------------
# $Id: Makefile,v 1.1
8
2001/07/1
1 13:10:31 rrt
Exp $
# $Id: Makefile,v 1.1
9
2001/07/1
6 06:33:22 qrczak
Exp $
TOP
=
../..
include
$(TOP)/mk/boilerplate.mk
...
...
@@ -25,13 +25,16 @@ endif
ifeq
"$(INSTALLING)" "1"
ifeq
"$(BIN_DIST)" "1"
HSC2HS_BINDIR
=
$$
\"\"
libexecdir
HSC2HS_DIR
=
$$
\"\"
libdir
HSC2HS_EXTRA
=
else
HSC2HS_BINDIR
=
$(libexecdir)
HSC2HS_DIR
=
$(libdir)
HSC2HS_EXTRA
=
--cc
=
$(bindir)
/ghc-
$(ProjectVersion)
endif
# BIN_DIST
else
HSC2HS_BINDIR
=
$(FPTOOLS_TOP_ABS)
/
$(CURRENT_DIR)
HSC2HS_DIR
=
$(FPTOOLS_TOP_ABS)
/
$(CURRENT_DIR)
ifneq
"$(TARGETPLATFORM)" "i386-unknown-mingw32"
HSC2HS_EXTRA
=
"--cc=
$(CC)
--cflag=-D__GLASGOW_HASKELL__=
$(ProjectVersionInt)
-I
$(FPTOOLS_TOP_ABS)
/
$(INCLUDE_DIR)
"
...
...
@@ -44,7 +47,7 @@ endif
$(SCRIPT_PROG)
:
Makefile
$(INSTALLED_SCRIPT_PROG)
:
$(TOP)/mk/config.mk
SCRIPT_SUBST_VARS
=
HSC2HS_DIR HS_PROG HSC2HS_EXTRA
SCRIPT_SUBST_VARS
=
HSC2HS_BINDIR
HSC2HS_DIR HS_PROG HSC2HS_EXTRA
SCRIPT_OBJS
=
hsc2hs.sh
INTERP
=
$(SHELL)
...
...
ghc/utils/hsc2hs/hsc2hs.sh
View file @
be41d742
...
...
@@ -6,4 +6,4 @@ for arg do
esac
done
$HSC2HS_DIR
/
$HS_PROG
-t
$HSC2HS_DIR
/template-hsc.h
$HSC2HS_EXTRA
"
$@
"
$HSC2HS_
BIN
DIR
/
$HS_PROG
-t
$HSC2HS_DIR
/template-hsc.h
$HSC2HS_EXTRA
"
$@
"
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