X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=snmp%2FMakefile.am;h=729031a9d949e6393d8de6c6c78b11cdd9fa2b83;hb=9002fabc81f6cb1c467c5b89548161579fcd48f6;hp=c1ee04f4a9e99c666ccd1a7f88278e66c1b11866;hpb=c6bc5eb7d073d5a7b7d0934d92bfd8eab15fc825;p=fs%2Flustre-release.git diff --git a/snmp/Makefile.am b/snmp/Makefile.am index c1ee04f..729031a 100644 --- a/snmp/Makefile.am +++ b/snmp/Makefile.am @@ -1,7 +1,7 @@ -agent_PROGRAMS := lustresnmp.so -mib_DATA := Lustre-MIB.txt +agent_LTLIBRARIES = lustresnmp.la +mib_DATA = Lustre-MIB.txt -lustresnmp_so_SOURCES := \ +lustresnmp_la_SOURCES = \ lustre-snmp.c \ lustre-snmp.h \ lustre-snmp-trap.c \ @@ -9,11 +9,11 @@ lustresnmp_so_SOURCES := \ lustre-snmp-util.c \ lustre-snmp-util.h -lustresnmp_so_LDADD := $(NET_SNMP_LIBS) -lustresnmp_so_CFLAGS := $(NET_SNMP_CFLAGS) -lustresnmp_so_LDFLAGS := -fPIC -shared +lustresnmp_la_LIBADD := $(NET_SNMP_LIBS) +lustresnmp_la_CFLAGS := -fPIC $(NET_SNMP_CFLAGS) +lustresnmp_la_LDFLAGS = -fPIC -shared -module -avoid-version -SUBDIRS := -DIST_SUBDIRS := autoconf +SUBDIRS = +DIST_SUBDIRS = autoconf -EXTRA_DIST := $(mib_DATA) +EXTRA_DIST = $(mib_DATA)