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
41aff85f
Commit
41aff85f
authored
7 years ago
by
Virgile Prevosto
Browse files
Options
Downloads
Patches
Plain Diff
Make header generation compliant with hdrck
allows `make check-header` to succeed when E-ACSL is compiled in internal mode
parent
077dec34
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/plugins/e-acsl/Makefile.in
+19
-9
19 additions, 9 deletions
src/plugins/e-acsl/Makefile.in
with
19 additions
and
9 deletions
src/plugins/e-acsl/Makefile.in
+
19
−
9
View file @
41aff85f
...
@@ -321,8 +321,24 @@ e-acsl-distrib-check:
...
@@ -321,8 +321,24 @@ e-acsl-distrib-check:
# Header #
# Header #
##########
##########
EACSL_CEA_LGPL_BARE
=
*
.ml
*
.mli Makefile.in configure.ac share/e-acsl/
*
.[ch]
\
share/e-acsl/
*
/
*
.[ch] scripts/
*
.sh
EACSL_CEA_LGPL
=
$(
addprefix
$(
EACSL_PLUGIN_DIR
)
/,
$(
EACSL_CEA_LGPL_BARE
))
EACSL_SPARETIMELABS
=
$(
EACSL_PLUGIN_DIR
)
/share/e-acsl/e_acsl_printf.h
# Files without header. contrib files keep their own header.
EACSL_NOHEADER_BARE
=
INSTALL README VERSION license/
*
\
doc/Changelog doc/doxygen/doxygen.cfg.in .depend tests/test_config.in
\
$(
EACSL_CONTRIB_FILES
)
EACSL_NOHEADER
=
$(
addprefix
$(
EACSL_PLUGIN_DIR
)
/,
$(
EACSL_NOHEADER_BARE
))
ifeq
("$(FRAMAC_INTERNAL)","yes")
ifeq
("$(FRAMAC_INTERNAL)","yes")
CEA_LGPL_HEADER
=
$(
FRAMAC_ROOT_SRCDIR
)
/headers/open-source/CEA_LGPL
CEA_LGPL_HEADER
=
$(
FRAMAC_ROOT_SRCDIR
)
/headers/open-source/CEA_LGPL
# EACSL does not use hdrck mechanism
HEADER_EXCEPTIONS
+=
\
$(
wildcard
$(
EACSL_CEA_LGPL
)
$(
EACSL_SPARETIMELABS
)
$(
EACSL_NOHEADER
))
else
else
CEA_LGPL_HEADER
=
$(
EACSL_PLUGIN_DIR
)
/license/CEA_LGPL
CEA_LGPL_HEADER
=
$(
EACSL_PLUGIN_DIR
)
/license/CEA_LGPL
endif
endif
...
@@ -330,17 +346,11 @@ endif
...
@@ -330,17 +346,11 @@ endif
headers
::
headers
::
@
echo
"Applying Headers..."
@
echo
"Applying Headers..."
headache
-c
$(
EACSL_PLUGIN_DIR
)
/license/headache_config.txt
\
headache
-c
$(
EACSL_PLUGIN_DIR
)
/license/headache_config.txt
\
-h
$(
CEA_LGPL_HEADER
)
\
-h
$(
CEA_LGPL_HEADER
)
$(
EACSL_CEA_LGPL
)
$(
EACSL_PLUGIN_DIR
)
/
*
.ml
\
$(
EACSL_PLUGIN_DIR
)
/
*
.mli
\
$(
EACSL_PLUGIN_DIR
)
/Makefile.in
\
$(
EACSL_PLUGIN_DIR
)
/configure.ac
\
$(
EACSL_PLUGIN_DIR
)
/share/e-acsl/
*
.[ch]
\
$(
EACSL_PLUGIN_DIR
)
/share/e-acsl/
*
/
*
.[ch]
\
$(
EACSL_PLUGIN_DIR
)
/scripts/
*
.sh
headache
-c
$(
EACSL_PLUGIN_DIR
)
/license/headache_config.txt
\
headache
-c
$(
EACSL_PLUGIN_DIR
)
/license/headache_config.txt
\
-h
$(
EACSL_PLUGIN_DIR
)
/license/SPARETIMELABS
\
-h
$(
EACSL_PLUGIN_DIR
)
/license/SPARETIMELABS
\
$(
EACSL_PLUGIN_DIR
)
/share/e-acsl/e_acsl_printf.h
$(
EACSL_SPARETIMELABS
)
################
################
# Generic part #
# Generic part #
...
...
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