Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
df9c4f30
Commit
df9c4f30
authored
5 years ago
by
Andre Maroneze
Committed by
Virgile Prevosto
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[Makefile] do not install native files in bytecode only
Thanks to madroach for spotting the issue and providing a patch.
parent
807a2998
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+15
-8
15 additions, 8 deletions
Makefile
with
15 additions
and
8 deletions
Makefile
+
15
−
8
View file @
df9c4f30
...
...
@@ -1243,12 +1243,15 @@ bin/toplevel.opt$(EXE): $(ALL_BATCH_CMX) $(GEN_OPT_LIBS) \
LIB_KERNEL_CMO
=
$(
filter-out src/kernel_internals/runtime/gui_init.cmo,
$(
CMO
))
LIB_KERNEL_CMX
=
$(
filter-out src/kernel_internals/runtime/gui_init.cmx,
$(
CMX
))
lib/fc/frama-c.cma
:
$(LIB_KERNEL_CMO) $(GEN_
OPT
_LIBS)
$(LIB_KERNEL_CMX)
lib/fc/META.frama-c
$(
PRINT_LINKING
)
$@
and lib/fc/frama-c.cmxa
lib/fc/frama-c.cma
:
$(LIB_KERNEL_CMO) $(GEN_
BYTE
_LIBS) lib/fc/META.frama-c
$(
PRINT_LINKING
)
$@
$(
MKDIR
)
$(
FRAMAC_LIB
)
$(
OCAMLMKLIB
)
-o
lib/fc/frama-c
$(
OPT
_LIBS
)
$(
LIB_KERNEL_CMO
)
$(
LIB_KERNEL_CMX
)
$(
OCAMLMKLIB
)
-o
lib/fc/frama-c
$(
BYTE
_LIBS
)
$(
LIB_KERNEL_CMO
)
lib/fc/frama-c.cmxa
:
lib/fc/frama-c.cma
lib/fc/frama-c.cmxa
:
lib/fc/frama-c.cma $(GEN_OPT_LIBS) $(LIB_KERNEL_CMX)
$(
MKDIR
)
$(
FRAMAC_LIB
)
$(
PRINT_LINKING
)
$@
$(
OCAMLMKLIB
)
-o
lib/fc/frama-c
$(
OPT_LIBS
)
$(
LIB_KERNEL_CMX
)
####################
# (Ocaml) Toplevel #
...
...
@@ -1891,11 +1894,15 @@ clean-install:
$(
PRINT_RM
)
"Installation directory"
$(
RM
)
-r
$(
FRAMAC_LIBDIR
)
install-lib
:
clean-install
install-lib
-byte
:
clean-install
$(
PRINT_INSTALL
)
kernel API
$(
MKDIR
)
$(
FRAMAC_LIBDIR
)
$(
CP
)
$(
LIB_BYTE_TO_INSTALL
)
$(
LIB_OPT_TO_INSTALL
)
$(
FRAMAC_LIBDIR
)
$(
CP
)
$(
addprefix lib/fc/,dllframa-c.so libframa-c.a frama-c.cma frama-c.a frama-c.cmxa META.frama-c
)
$(
FRAMAC_LIBDIR
)
$(
CP
)
$(
LIB_BYTE_TO_INSTALL
)
$(
FRAMAC_LIBDIR
)
$(
CP
)
$(
addprefix lib/fc/,dllframa-c.so libframa-c.a frama-c.cma META.frama-c
)
$(
FRAMAC_LIBDIR
)
install-lib-opt
:
install-lib-byte
$(
CP
)
$(
LIB_OPT_TO_INSTALL
)
$(
FRAMAC_LIBDIR
)
$(
CP
)
$(
addprefix lib/fc/,frama-c.a frama-c.cmxa
)
$(
FRAMAC_LIBDIR
)
install-doc-code
:
$(
PRINT_INSTALL
)
API documentation
...
...
@@ -1907,7 +1914,7 @@ install-doc-code:
|
(
cd
$(
FRAMAC_DATADIR
)
/doc
;
tar
xf -
))
.PHONY
:
install
install
::
install-lib
install
::
install-lib
-$(OCAMLBEST)
$(
PRINT_MAKING
)
destination directories
$(
MKDIR
)
$(
BINDIR
)
$(
MKDIR
)
$(
MANDIR
)
/man1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment