
To add a new plugin subdirectory, add this to Makefile.am: if ENABLE_new_PLUGIN SUBDIRS += new-plugin endif and add this to configure.ac: PLUGIN(new) Change-Id: I770a6f4f8f964fd7318a912be486accf46514b59 Signed-off-by: Dave Barach <dave@barachs.net>
19 lines
474 B
Plaintext
19 lines
474 B
Plaintext
AC_INIT(sixrd_plugin, 1.0)
|
|
LT_INIT
|
|
AM_INIT_AUTOMAKE
|
|
AM_SILENT_RULES([yes])
|
|
|
|
AM_PROG_AS
|
|
AC_PROG_CC
|
|
AM_PROG_CC_C_O
|
|
|
|
AC_ARG_WITH(plugin-toolkit,
|
|
AC_HELP_STRING([--with-plugin-toolkit],
|
|
[build using the vpp toolkit]),
|
|
[with_plugin_toolkit=${prefix}/include],
|
|
[with_plugin_toolkit=.])
|
|
|
|
AC_SUBST(TOOLKIT_INCLUDE,[${with_plugin_toolkit}])
|
|
AM_CONDITIONAL(WITH_PLUGIN_TOOLKIT, test "$with_plugin_toolkit" != ".")
|
|
AC_OUTPUT([Makefile])
|