summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/pppoe/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/ctrl/pppoe/CMakeLists.txt')
-rw-r--r--accel-pppd/ctrl/pppoe/CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/pppoe/CMakeLists.txt b/accel-pppd/ctrl/pppoe/CMakeLists.txt
new file mode 100644
index 00000000..b2c0584d
--- /dev/null
+++ b/accel-pppd/ctrl/pppoe/CMakeLists.txt
@@ -0,0 +1,17 @@
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
+
+SET(sources
+ pppoe.c
+ mac_filter.c
+ dpado.c
+ cli.c
+)
+
+IF (RADIUS)
+SET(sources ${sources} tr101.c)
+ENDIF(RADIUS)
+
+ADD_LIBRARY(pppoe SHARED ${sources})
+TARGET_LINK_LIBRARIES(pppoe crypto)
+
+INSTALL(TARGETS pppoe LIBRARY DESTINATION lib/accel-ppp)