Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-10177 lfs: support DOM-to-OST migration
[fs/lustre-release.git]
/
snmp
/
Makefile.am
diff --git
a/snmp/Makefile.am
b/snmp/Makefile.am
index
40658ab
..
f7d114c
100644
(file)
--- a/
snmp/Makefile.am
+++ b/
snmp/Makefile.am
@@
-1,7
+1,7
@@
-agent_
PROGRAMS := lustresnmp.so
-mib_DATA
:
= Lustre-MIB.txt
+agent_
LTLIBRARIES = liblustresnmp.la
+mib_DATA = Lustre-MIB.txt
-l
ustresnmp_so_SOURCES :=
\
+l
iblustresnmp_la_SOURCES =
\
lustre-snmp.c \
lustre-snmp.h \
lustre-snmp-trap.c \
lustre-snmp.c \
lustre-snmp.h \
lustre-snmp-trap.c \
@@
-9,11
+9,13
@@
lustresnmp_so_SOURCES := \
lustre-snmp-util.c \
lustre-snmp-util.h
lustre-snmp-util.c \
lustre-snmp-util.h
-lustresnmp_so_LDADD := $(NET_SNMP_LIBS)
-lustresnmp_so_CFLAGS := -fPIC $(NET_SNMP_CFLAGS)
-lustresnmp_so_LDFLAGS := -fPIC -shared
+LIBCFS = $(top_builddir)/libcfs/libcfs/libcfs.la
-SUBDIRS :=
-DIST_SUBDIRS := autoconf
+liblustresnmp_la_CFLAGS := $(NET_SNMP_CFLAGS)
+liblustresnmp_la_LIBADD := $(NET_SNMP_LIBS) $(LIBCFS)
+liblustresnmp_la_LDFLAGS := -version-info 1:0:0
-EXTRA_DIST := $(mib_DATA)
+SUBDIRS =
+DIST_SUBDIRS = autoconf
+
+EXTRA_DIST = $(mib_DATA)