blob: bd51150028823bcda1af139c4cf2cb9e88fa03c0 [file] [log] [blame]
Brian Waters13d96012017-12-08 16:53:31 -06001# The acl_wl extension
2PROJECT("Access Control / White List" C)
3
4# Parser files
5BISON_FILE(aw_conf.y)
6FLEX_FILE(aw_conf.l)
7SET_SOURCE_FILES_PROPERTIES(lex.aw_conf.c aw_conf.tab.c PROPERTIES COMPILE_FLAGS "-I ${CMAKE_CURRENT_SOURCE_DIR}")
8
9# List of source files
10SET( ACL_WL_SRC
11 acl_wl.h
12 acl_wl.c
13 aw_tree.c
14 lex.aw_conf.c
15 aw_conf.tab.c
16 aw_conf.tab.h
17)
18
19# Compile as a module
20FD_ADD_EXTENSION(acl_wl ${ACL_WL_SRC})
21
22
23####
24## INSTALL section ##
25
26# We install with the daemon component because it is a base feature.
27INSTALL(TARGETS acl_wl
28 LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX}
29 COMPONENT freeDiameter-daemon)