Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
why3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
126
Issues
126
List
Boards
Labels
Service Desk
Milestones
Merge Requests
16
Merge Requests
16
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Why3
why3
Commits
941cfbaa
Commit
941cfbaa
authored
May 25, 2018
by
MARCHE Claude
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better generation of Makefile.config
parent
fdd385ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
+16
-14
src/config.sh.in
src/config.sh.in
+16
-14
No files found.
src/config.sh.in
View file @
941cfbaa
...
...
@@ -3,9 +3,10 @@
config
=
src/util/config.ml
makefileconfig
=
share/Makefile.config
bindir
=
"
\"
$BINDIR
\"
"
libdir
=
"
\"
$LIBDIR
/why3
\"
"
datadir
=
"
\"
$DATADIR
/why3
\"
"
bindir
=
"
$BINDIR
"
libdir
=
"
$LIBDIR
/why3"
datadir
=
"
$DATADIR
/why3"
ocamllib
=
"@OCAMLINSTALLLIB@/why3"
localdir
=
"None"
if
[
"@enable_relocation@"
=
"yes"
]
;
then
...
...
@@ -15,33 +16,34 @@ if [ "@enable_relocation@" = "yes" ]; then
(Filename.dirname Sys.executable_name)) "share") "why3"'
localdir
=
"None"
elif
[
"@enable_local@"
=
"yes"
]
;
then
bindir
=
"
\"
@LOCALDIR@/bin
\"
"
libdir
=
"
\"
@LOCALDIR@/lib
\"
"
datadir
=
"
\"
@LOCALDIR@/share
\"
"
bindir
=
"@LOCALDIR@/bin"
libdir
=
"@LOCALDIR@/lib"
datadir
=
"@LOCALDIR@/share"
ocamllib
=
"
$libdir
/why3"
localdir
=
"Some
\"
@LOCALDIR@
\"
"
fi
echo
"
let version =
\"
@VERSION@
\"
let libdir =
$libdir
let datadir =
$datadir
let localdir =
$localdir
let libdir =
\"
$libdir
\"
let datadir =
\"
$datadir
\"
let localdir =
\"
$localdir
\"
"
>
$config
echo
"
OCAMLBEST = @OCAMLBEST@
BIGINTLIB = @BIGINTLIB@
INCLUDE = @BIGINTINCLUDE@ -I
@OCAMLINSTALLLIB@/why3
INCLUDEALL = @BIGINTINCLUDE@ @ZIPINCLUDE@ @MENHIRINCLUDE@ -I
@OCAMLINSTALLLIB@/why3
INCLUDE = @BIGINTINCLUDE@ -I
\"
$ocamllib
\"
INCLUDEALL = @BIGINTINCLUDE@ @ZIPINCLUDE@ @MENHIRINCLUDE@ -I
\"
$ocamllib
\"
"
>
$makefileconfig
if
[
"@enable_relocation@"
=
"no"
]
;
then
echo
"
BINDIR =
$bindir
LIBDIR =
$libdir
DATADIR =
$datadir
BINDIR =
\"
$bindir
\"
LIBDIR =
\"
$libdir
\"
DATADIR =
\"
$datadir
\"
"
>>
$makefileconfig
fi
Guillaume Melquiond
@melquion
mentioned in merge request
!398 (merged)
·
Oct 13, 2020
mentioned in merge request
!398 (merged)
mentioned in merge request !398
Toggle commit list
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