Brian Waters | 13d9601 | 2017-12-08 16:53:31 -0600 | [diff] [blame^] | 1 | # The acl_wl extension |
| 2 | PROJECT("Access Control / White List" C) |
| 3 | |
| 4 | # Parser files |
| 5 | BISON_FILE(aw_conf.y) |
| 6 | FLEX_FILE(aw_conf.l) |
| 7 | SET_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 |
| 10 | SET( 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 |
| 20 | FD_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. |
| 27 | INSTALL(TARGETS acl_wl |
| 28 | LIBRARY DESTINATION ${INSTALL_EXTENSIONS_SUFFIX} |
| 29 | COMPONENT freeDiameter-daemon) |