aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am20
1 files changed, 4 insertions, 16 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 5c79dfc..6019c39 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,5 @@
# This file is part of varnish-mib -*- automake -*-
-# Copyright (C) 2014-2018 Sergey Poznyakoff
+# Copyright (C) 2014-2019 Sergey Poznyakoff
#
# varnish-mib is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -14,15 +14,14 @@
# You should have received a copy of the GNU General Public License
# along with varnish-mib. If not, see <http://www.gnu.org/licenses/>.
-dlmoddir=@DLMODDIR@
-dlmod_LTLIBRARIES = varnish-mib.la
-
-varnish_mib_la_SOURCES = \
+sbin_PROGRAMS = varnish-mib
+varnish_mib_SOURCES = \
auth.c\
ban.c\
backend.h\
belex.l\
betab.c\
+ main.c\
modconf.h\
modconf.c\
sha256.c\
@@ -44,18 +43,7 @@ varnish_mib.c varnish_mib.h: varnish_mib.mib2c VARNISH-MIB.txt
PERL5LIB=${top_srcdir}/lib \
mib2c -c $< -f $@ varnish
-#NET_SNMP_INCLUDES = `$(NET_SNMP_CONFIG) --cflags`
-#NET_SNMP_INCLUDES =
-NET_SNMP_LIBS = `$(NET_SNMP_CONFIG) --libs`
-NET_SNMP_EXLIBS = `$(NET_SNMP_CONFIG) --external-libs`
-NET_SNMP_MIBDIRS = `net-snmp-config --mibdirs`
-NET_SNMP_MIBS = `net-snmp-config --default-mibs`
-
AM_LDFLAGS = \
- -module \
- -export-dynamic\
- -avoid-version \
- -rpath '$(dlmoddir)'\
${VARNISHAPI_LIBS}\
$(NET_SNMP_LIBS)\
$(NET_SNMP_EXLIBS)

Return to:

Send suggestions and report system problems to the System administrator.