-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfigure.ac
43 lines (32 loc) · 1.33 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
##########################################################################
# License header #
##########################################################################
###########################################################
# Template for a Frama-C plug-in following good practices #
###########################################################
# USAGE
# =====
#
# - Replace all occurrences of 'skeleton' with your plug-in's short name
# (in lowercase)
# - Add plug-in dependencies (plugin_use/plugin_require), one per line
#
# See README.md for more details
m4_define([plugin_file],Makefile.in)
m4_define([FRAMAC_SHARE_ENV],
[m4_normalize(m4_esyscmd([echo $FRAMAC_SHARE]))])
m4_define([FRAMAC_SHARE],
[m4_ifval(FRAMAC_SHARE_ENV,[FRAMAC_SHARE_ENV],
[m4_esyscmd(frama-c -print-path)])])
m4_ifndef([FRAMAC_M4_MACROS], [m4_include(FRAMAC_SHARE/configure.ac)])
# Plug-in short name below
check_plugin(skeleton,PLUGIN_RELATIVE_PATH(plugin_file),
[support for skeleton plug-in],yes)
# Examples of plug-in dependencies (uncomment and modify if needed):
#
# plugin_require(skeleton,value_analysis)
# plugin_use(skeleton,rtegen)
#######################
# Generating Makefile #
#######################
write_plugin_config(Makefile)