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
76625e1a
Commit
76625e1a
authored
5 years ago
by
Andre Maroneze
Browse files
Options
Downloads
Patches
Plain Diff
[Markdown-report] normalize Makefile.in/configure.ac from template
parent
dad20225
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/plugins/markdown-report/Makefile.in
+38
-3
38 additions, 3 deletions
src/plugins/markdown-report/Makefile.in
src/plugins/markdown-report/configure.ac
+23
-1
23 additions, 1 deletion
src/plugins/markdown-report/configure.ac
with
61 additions
and
4 deletions
src/plugins/markdown-report/Makefile.in
+
38
−
3
View file @
76625e1a
##########################################################################
# #
# This file is part of Frama-C. #
# #
# Copyright (C) 2007-2019 #
# CEA (Commissariat à l'énergie atomique et aux énergies #
# alternatives) #
# #
# you can redistribute it and/or modify it under the terms of the GNU #
# Lesser General Public License as published by the Free Software #
# Foundation, version 2.1. #
# #
# It is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU Lesser General Public License for more details. #
# #
# See the GNU Lesser General Public License version 2.1 #
# for more details (enclosed in the file licenses/LGPLv2.1). #
# #
##########################################################################
# Do not use ?= to initialize both below variables
# (fixed efficiency issue, see GNU Make manual, Section 8.11)
ifndef
FRAMAC_SHARE
FRAMAC_SHARE
:=
$(
shell frama-c
-print-share-path
)
FRAMAC_SHARE
:=
$(
shell frama-c-config
-print-share-path
)
endif
ifndef
FRAMAC_LIBDIR
FRAMAC_LIBDIR
:=
$(
shell frama-c-config
-print-libpath
)
endif
PLUGIN_DIR
?=
.
PLUGIN_ENABLE
:=
@ENABLE_MDR@
PLUGIN_NAME
:=
Markdown_report
PLUGIN_GENERATED
:=
$(
PLUGIN_DIR
)
/Markdown_report.mli
PLUGIN_CMO
:=
\
sarif mdr_params parse_remarks
\
eva_coverage md_gen sarif_gen mdr_register
PLUGIN_DISTRIBUTED
:=
$(
PLUGIN_ENABLE
)
PLUGIN_REQUIRES
:=
ppx_deriving ppx_deriving_yojson yojson
PLUGIN_DISTRIB_EXTERNAL
:=
share/acsl.xml
PLUGIN_DISTRIB_EXTERNAL
:=
Makefile.in configure.ac configure
share/acsl.xml
PLUGIN_TESTS_DIRS
:=
eva
PLUGIN_ENABLE
:=
@ENABLE_MDR@
include
$(FRAMAC_SHARE)/Makefile.dynamic
...
...
@@ -25,6 +54,12 @@ $(Markdown_report_DIR)/Markdown_report.mli: \
cat
$(
Markdown_report_DIR
)
/md_gen.mli
>>
$@
echo
"end"
>>
$@
ifeq
("$(FRAMAC_INTERNAL)","yes")
CONFIG_STATUS_DIR
=
$(
FRAMAC_SRC
)
else
CONFIG_STATUS_DIR
=
.
endif
ifeq
("@ENABLE_MDR@","yes")
install
::
$(
PRINT_CP
)
$(
FRAMAC_DATADIR
)
/Markdown_report
...
...
This diff is collapsed.
Click to expand it.
src/plugins/markdown-report/configure.ac
+
23
−
1
View file @
76625e1a
##########################################################################
# #
# This file is part of Frama-C. #
# #
# Copyright (C) 2007-2019 #
# CEA (Commissariat à l'énergie atomique et aux énergies #
# alternatives) #
# #
# you can redistribute it and/or modify it under the terms of the GNU #
# Lesser General Public License as published by the Free Software #
# Foundation, version 2.1. #
# #
# It is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU Lesser General Public License for more details. #
# #
# See the GNU Lesser General Public License version 2.1 #
# for more details (enclosed in the file licenses/LGPLv2.1). #
# #
##########################################################################
m4_define([plugin_file],Makefile.in)
m4_define([FRAMAC_SHARE_ENV],
...
...
@@ -11,7 +33,7 @@ m4_ifndef([FRAMAC_M4_MACROS],
[m4_include(FRAMAC_SHARE/configure.ac)]
)
check_plugin(mdr,PLUGIN_RELATIVE_PATH(plugin_file),[Mardown/SARIF report plug-in],yes)
check_plugin(mdr,PLUGIN_RELATIVE_PATH(plugin_file),[Mar
k
down/SARIF report plug-in],yes)
plugin_require_pkg(mdr,ppx_deriving)
plugin_require_pkg(mdr,ppx_deriving_yojson)
...
...
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