All pastes #511640 Raw Edit

RoyK

public text v1 · immutable
#511640 ·published 2007-05-26 15:42 UTC
rendered paste body
should snmp/agent.c be added more places here? it's not compiled


Makefile

res_snmp_la_DEPENDENCIES =  \
        ${top_builddir}/corelib/libcallweaver.la
am__res_snmp_la_SOURCES_DIST = res_snmp.c snmp/agent.c
am_res_snmp_la_OBJECTS = res_snmp_la-res_snmp.lo \
        res_snmp_la-agent.lo
res_snmp_la_OBJECTS = $(am_res_snmp_la_OBJECTS)
am_res_snmp_la_rpath = -rpath $(opbxmoddir)


and Makefile.am

if WANT_RES_SNMP
opbxmod_LTLIBRARIES             += res_snmp.la
res_snmp_la_SOURCES     = res_snmp.c snmp/agent.c
res_snmp_la_LDFLAGS     = -module -avoid-version -no-undefined
res_snmp_la_CFLAGS      = $(AM_CFLAGS) @ODBC_CFLAGS@
res_snmp_la_LIBADD      = @ODBC_LIBS@ -lnetsnmp -lnetsnmpagent -lnetsnmphelpers ${top_builddir}/corelib/libcallweaver.la
endif WANT_RES_SNMP