blob: af24d8109485d96a2a3e56646be2e24e4044b7b7 [file] [log] [blame]
Brian Waters13d96012017-12-08 16:53:31 -06001# The rt_busypeer extension
2PROJECT("Handling of TOO_BUSY messages and relay timeout capability routing extension" C)
3
4# Parser files
5BISON_FILE(rtbusy_conf.y)
6FLEX_FILE(rtbusy_conf.l)
7SET_SOURCE_FILES_PROPERTIES(lex.rtbusy_conf.c rtbusy_conf.tab.c PROPERTIES COMPILE_FLAGS "-I ${CMAKE_CURRENT_SOURCE_DIR}")
8
9# List of source files
10SET( RTBUSY_SRC
11 rtbusy.c
12 rtbusy.h
13 lex.rtbusy_conf.c
14 rtbusy_conf.tab.c
15 rtbusy_conf.tab.h
16)
17
18INCLUDE_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR})
19
20# Compile these files as a freeDiameter extension
21FD_ADD_EXTENSION(rt_busypeers ${RTBUSY_SRC})
22
23
24####
25## INSTALL section ##
26
27# We install with the daemon component because it is a base feature.
28INSTALL(TARGETS rt_busypeers
29 LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX}
30 COMPONENT freeDiameter-daemon)