01c4731403
initialization. Fetching if/address/index/mac mappings is done only once at program init, so it is done synchronously as an exception to this rule. Rewrite the netlink handling. Now uses NIH code that should be safe, small, and correct. No external deps FTW.
13 lines
379 B
CMake
13 lines
379 B
CMake
project (ndhcp)
|
|
|
|
cmake_minimum_required (VERSION 2.6)
|
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -s -std=gnu99 -pedantic -Wall -lcap -DHAVE_CLEARENV -DLINUX")
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} -s -std=gnu99 -pedantic -Wall -lcap -DHAVE_CLEARENV -DLINUX")
|
|
|
|
include_directories("${PROJECT_SOURCE_DIR}/ncmlib")
|
|
add_subdirectory(ncmlib)
|
|
|
|
add_subdirectory(ifchd)
|
|
add_subdirectory(ndhc)
|