summaryrefslogtreecommitdiffstats
path: root/gmod/Makefile.am
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2016-01-28 09:36:05 -0500
committerDave Barach <dave@barachs.net>2016-01-28 09:36:20 -0500
commitc23f7bc9a1602b069faba8e559e24bb859476276 (patch)
tree0d7d43c9597ccf9eefeb802cafbdc5b6e82e6387 /gmod/Makefile.am
parent2068e983dd699e199f8c920e6b0f94e7847227dc (diff)
vpp metrics upload via gmond plugin
The gmond module (gmod) isn't built by default, pending CentOS packaging work. Change-Id: I78493a60f431cf9924a28d31ba29423a03aa79b3 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'gmod/Makefile.am')
-rw-r--r--gmod/Makefile.am27
1 files changed, 27 insertions, 0 deletions
diff --git a/gmod/Makefile.am b/gmod/Makefile.am
new file mode 100644
index 00000000000..e57f578862a
--- /dev/null
+++ b/gmod/Makefile.am
@@ -0,0 +1,27 @@
+# Copyright (c) 2015 Cisco and/or its affiliates.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at:
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+AUTOMAKE_OPTIONS = foreign subdir-objects
+
+AM_CFLAGS = -Wall
+
+lib_LTLIBRARIES = libgmodvpp.la
+
+libgmodvpp_la_SOURCES = gmod/mod_vpp.c
+
+libgmodvpp_la_LDFLAGS = -module -avoid-version
+
+libgmodvpp_la_LIBADD = -lsvm -lsvmdb -lvppinfra
+
+gconfdir = $(prefix)/etc/conf.d
+gconf_DATA = gmod/vpp.conf