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

[project @ 1998-08-14 13:13:52 by sof]

Include and use contents of version.mk
parent 3fe82a9c
No related merge requests found
TOP=../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/version.mk
# Note: might be overridden from cmd-line (see install rule below)
INSTALLING=0
......
......@@ -56,9 +56,8 @@ while ($ARGV[0] =~ /^-./) {
push(@Files, $_);
}
$ghc_version_info = ${ProjectVersionInt};
$DoHsCpp = ( ! $DoCpp ) ? 'cat'
: "$HsCpp -D__HASKELL1__=2 -D__GLASGOW_HASKELL__=$ghc_version_info $Cpp_opts";
: "$HsCpp -D__HASKELL1__=2 -D__GLASGOW_HASKELL__=$ProjectVersionInt $Cpp_opts";
# to find Prelude.hi and friends.
$HsP_opts .= ( $INSTALLING ?
......
TOP=../..
include $(TOP)/mk/boilerplate.mk
include $(TOP)/mk/version.mk
INSTALLING=0
boot :: all
......
......@@ -88,7 +88,6 @@ $Begin_magic_str = "# DO NOT DELETE: Beginning of Haskell dependencies\n";
$End_magic_str = "# DO NOT DELETE: End of Haskell dependencies\n";
@Obj_suffix = ("o");
@File_suffix = ();
$ghc_version_info = ${ProjectVersionInt};
$Import_dirs = '.';
%Syslibs = ();
......@@ -116,7 +115,7 @@ if ( $Status ) {
push(@Defines,
( #OLD: "-D__HASKELL1__=$Haskell_1",
"-D__GLASGOW_HASKELL__=$ghc_version_info"));
"-D__GLASGOW_HASKELL__=$ProjectVersionInt"));
@Import_dirs = split(/:/,$Import_dirs);
@Include_dirs = split(/\s+/,$Include_dirs); # still has -I's in it
......
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