Skip to content
Snippets Groups Projects
Commit 142889f4 authored by sof's avatar sof
Browse files

[project @ 1997-05-19 05:48:50 by sof]

ghc-2-03-p1 merged onto main trunk
parent e9ea88c4
No related merge requests found
......@@ -15,10 +15,11 @@ SUBDIRS = hp2ps \
hscpp \
hstags \
mkdependHS \
parallel \
parallel \
stat2resid \
ugen \
unlit
endif
# "heap-view" is not in the list because (a) it requires
......
......@@ -6,6 +6,7 @@
# TMPDIR
# TOP_PWD
# libdir
# libexecdir
# PROJECTVERSION
# HSP_IMPORTS
......@@ -18,20 +19,21 @@ if ( $ENV{'TMPDIR'} ) { # where to make tmp file names
$TopPwd = "${TOP_PWD}"; # *Only* needed when using it in-situ (i.e., INSTALLING=0).
$InstLibDirGhc = "${libdir}";
$InstLibExecDirGhc = "${libexecdir}";
$Unlit = ( $INSTALLING ?
"${InstLibDirGhc}/unlit" :
"${InstLibExecDirGhc}/unlit" :
"${TopPwd}/ghc/utils/unlit/unlit" );
# but this is re-set to "cat" (after options) if -cpp not seen
$HsCpp = ( $INSTALLING ?
"${InstLibDirGhc}/hscpp" :
"${TopPwd}/ghc/utils/hscpp/hscpp" );
$HsP = ( $INSTALLING ?
"${InstLibDirGhc}/hsp" :
"${InstLibExecDirGhc}/hsp" :
"${TopPwd}/ghc/compiler/hsp" );
$HsTagsHelp =
( $INSTALLING ?
"${InstLibDirGhc}/hstags-help" :
"${InstLibExecDirGhc}/hstags-help" :
"${TopPwd}/ghc/utils/hstags/hstags-help" );
$Verbose = 0;
......
......@@ -2,7 +2,7 @@
# perl script expect the following variables to be prepended:
#
# RAWCPP TMPDIR TOP_PWD
# libdir datadir INSTALLING
# libdir libexecdir datadir INSTALLING
# PROJECTVERSION SED
#
# tries to work like mkdependC - capable of dealing with:
......@@ -87,12 +87,14 @@ if ( $ENV{'TMPDIR'} ) { # where to make tmp file names
$ENV{'TMPDIR'} = "${TMPDIR}"; # set the env var as well
}
$TopPwd = "${TOP_PWD}";
$InstLibDirGhc = "${libdir}";
$InstHsLibDirGhc = "${libdir}/hslibs";
$InstDataDirGhc = "${datadir}";
$TopPwd = "${TOP_PWD}";
$InstLibDirGhc = "${libdir}";
$InstLibExecDirGhc = "${libexecdir}";
$InstHsLibDirGhc = "${libdir}/hslibs";
$InstDataDirGhc = "${datadir}";
$Unlit = ($INSTALLING) ? "${InstLibDirGhc}/unlit" : "${TopPwd}/ghc/utils/unlit/unlit";
$Unlit = ($INSTALLING) ? "${InstLibExecDirGhc}/unlit"
: "${TopPwd}/ghc/utils/unlit/unlit";
$Begin_magic_str = "# DO NOT DELETE: Beginning of Haskell dependencies\n";
$End_magic_str = "# DO NOT DELETE: End of Haskell dependencies\n";
......
......@@ -35,7 +35,18 @@ $(BASH_PROGS) :
@cat $@.bash >> $@
@chmod a+x $@
INSTALL_PROGS += $(BASH_PROGS) $(PERL_PROGS)
CLEAN_FILES += $(BASH_PROGS) $(PERL_PROGS)
#
# You'll only get this with Parallel Haskell or
# GranSim..
#
ifeq "$(BuildingParallel)" "YES"
INSTALL_SCRIPTS += $(BASH_PROGS) $(PERL_PROGS)
else
ifeq "$(BuildingGranSim)" "YES"
INSTALL_SCRIPTS += $(BASH_PROGS) $(PERL_PROGS)
endif
endif
CLEAN_FILES += $(BASH_PROGS) $(PERL_PROGS)
include $(TOP)/mk/target.mk
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment