blob: 5571849f81dccd9bf63f664bc5f1a3d22f1684eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
SET(sources
agent.c
sessionTable.c
sessionTable_data_access.c
sessionTable_data_get.c
sessionTable_data_set.c
sessionTable_interface.c
statCore.c
statL2TP.c
statPPP.c
statPPPOE.c
statPPTP.c
statIPOE.c
terminate.c
shutdown.c
exec_cli.c
)
ADD_LIBRARY(net-snmp SHARED ${sources})
TARGET_LINK_LIBRARIES(net-snmp netsnmpagent netsnmphelpers netsnmpmibs
netsnmp)
IF (NETSNMP_PREFIX)
SET_PROPERTY(TARGET net-snmp PROPERTY COMPILE_FLAGS "-I${NETSNMP_PREFIX}/include")
SET_PROPERTY(TARGET net-snmp PROPERTY LINK_FLAGS "-L${NETSNMP_PREFIX}/lib")
ENDIF (NETSNMP_PREFIX)
INSTALL(TARGETS net-snmp
LIBRARY DESTINATION lib${LIB_SUFFIX}/accel-ppp
)
|