summaryrefslogtreecommitdiff
path: root/accel-pppd/extra/net-snmp/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/extra/net-snmp/CMakeLists.txt')
-rw-r--r--accel-pppd/extra/net-snmp/CMakeLists.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/accel-pppd/extra/net-snmp/CMakeLists.txt b/accel-pppd/extra/net-snmp/CMakeLists.txt
new file mode 100644
index 0000000..4dadb2c
--- /dev/null
+++ b/accel-pppd/extra/net-snmp/CMakeLists.txt
@@ -0,0 +1,23 @@
+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
+ terminate.c
+ shutdown.c
+)
+
+ADD_LIBRARY(net-snmp SHARED ${sources})
+TARGET_LINK_LIBRARIES(net-snmp netsnmpagent netsnmphelpers netsnmpmibs
+netsnmp)
+
+INSTALL(TARGETS net-snmp
+ LIBRARY DESTINATION lib/accel-ppp
+)