summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/pppoe/CMakeLists.txt
blob: fad9efd0818db23413972be24f2c9492f2fba5ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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_lib})

INSTALL(TARGETS pppoe LIBRARY DESTINATION lib${LIB_SUFFIX}/accel-ppp)