
set(tools-nfdc-objects_SOURCES
    nfdc/available-commands.cpp
    nfdc/channel-module.cpp
    nfdc/command-definition.cpp
    nfdc/command-parser.cpp
    nfdc/cs-module.cpp
    nfdc/execute-command.cpp
    nfdc/face-module.cpp
    nfdc/fib-module.cpp
    nfdc/find-face.cpp
    nfdc/format-helpers.cpp
    nfdc/forwarder-general-module.cpp
    nfdc/help.cpp
    nfdc/rib-module.cpp
    nfdc/status-report.cpp
    nfdc/status.cpp
    nfdc/strategy-choice-module.cpp)

set(tools-nfdc-objects_INCLUDES
    nfdc
    ../build
    ..
    nfdc
    /home/sunny/Documents/NDN/mNFD/build
    /home/sunny/Documents/NDN/mNFD
    /usr/local/include
    /usr/include)

include_directories(${tools-nfdc-objects_INCLUDES})

add_library(tools-nfdc-objects ${tools-nfdc-objects_SOURCES})

target_link_libraries(tools-nfdc-objects core-objects)
target_link_libraries(tools-nfdc-objects NDN_CXX)
target_link_libraries(tools-nfdc-objects BOOST)
target_link_libraries(tools-nfdc-objects LIBRESOLV)
target_link_libraries(tools-nfdc-objects GCOV)

set(nfdc_SOURCES
    nfdc/main.cpp)

set(nfdc_INCLUDES
    nfdc
    ../build
    ..
    nfdc
    /home/sunny/Documents/NDN/mNFD/build
    /home/sunny/Documents/NDN/mNFD
    /usr/local/include
    /usr/include)

include_directories(${nfdc_INCLUDES})

add_executable(nfdc ${nfdc_SOURCES})

target_link_libraries(nfdc core-objects)
target_link_libraries(nfdc NDN_CXX)
target_link_libraries(nfdc BOOST)
target_link_libraries(nfdc LIBRESOLV)
target_link_libraries(nfdc tools-nfdc-objects)
target_link_libraries(nfdc GCOV)

set(tools-ndn-autoconfig-server-objects_SOURCES
    ndn-autoconfig-server/program.cpp)

set(tools-ndn-autoconfig-server-objects_INCLUDES
    ndn-autoconfig-server
    ../build
    ..
    ndn-autoconfig-server
    /home/sunny/Documents/NDN/mNFD/build
    /home/sunny/Documents/NDN/mNFD
    /usr/local/include
    /usr/include)

include_directories(${tools-ndn-autoconfig-server-objects_INCLUDES})

add_library(tools-ndn-autoconfig-server-objects ${tools-ndn-autoconfig-server-objects_SOURCES})

target_link_libraries(tools-ndn-autoconfig-server-objects core-objects)
target_link_libraries(tools-ndn-autoconfig-server-objects NDN_CXX)
target_link_libraries(tools-ndn-autoconfig-server-objects BOOST)
target_link_libraries(tools-ndn-autoconfig-server-objects LIBRESOLV)
target_link_libraries(tools-ndn-autoconfig-server-objects GCOV)

set(tools-ndn-autoconfig-objects_SOURCES
    ndn-autoconfig/dns-srv.cpp
    ndn-autoconfig/guess-from-identity-name.cpp
    ndn-autoconfig/guess-from-search-domains.cpp
    ndn-autoconfig/multicast-discovery.cpp
    ndn-autoconfig/ndn-fch-discovery.cpp
    ndn-autoconfig/procedure.cpp
    ndn-autoconfig/stage.cpp)

set(tools-ndn-autoconfig-objects_INCLUDES
    ndn-autoconfig
    ../build
    ..
    ndn-autoconfig
    /home/sunny/Documents/NDN/mNFD/build
    /home/sunny/Documents/NDN/mNFD
    /usr/local/include
    /usr/include)

include_directories(${tools-ndn-autoconfig-objects_INCLUDES})

add_library(tools-ndn-autoconfig-objects ${tools-ndn-autoconfig-objects_SOURCES})

target_link_libraries(tools-ndn-autoconfig-objects core-objects)
target_link_libraries(tools-ndn-autoconfig-objects NDN_CXX)
target_link_libraries(tools-ndn-autoconfig-objects BOOST)
target_link_libraries(tools-ndn-autoconfig-objects LIBRESOLV)
target_link_libraries(tools-ndn-autoconfig-objects GCOV)

set(ndn-autoconfig-server_SOURCES
    ndn-autoconfig-server/main.cpp)

set(ndn-autoconfig-server_INCLUDES
    ndn-autoconfig-server
    ../build
    ..
    ndn-autoconfig-server
    /home/sunny/Documents/NDN/mNFD/build
    /home/sunny/Documents/NDN/mNFD
    /usr/local/include
    /usr/include)

include_directories(${ndn-autoconfig-server_INCLUDES})

add_executable(ndn-autoconfig-server ${ndn-autoconfig-server_SOURCES})

target_link_libraries(ndn-autoconfig-server core-objects)
target_link_libraries(ndn-autoconfig-server NDN_CXX)
target_link_libraries(ndn-autoconfig-server BOOST)
target_link_libraries(ndn-autoconfig-server LIBRESOLV)
target_link_libraries(ndn-autoconfig-server tools-ndn-autoconfig-server-objects)
target_link_libraries(ndn-autoconfig-server GCOV)

set(nfd-autoreg_SOURCES
    nfd-autoreg.cpp)

set(nfd-autoreg_INCLUDES
    ../build
    ..
    /home/sunny/Documents/NDN/mNFD/build
    /home/sunny/Documents/NDN/mNFD
    /usr/local/include
    /usr/include)

include_directories(${nfd-autoreg_INCLUDES})

add_executable(nfd-autoreg ${nfd-autoreg_SOURCES})

target_link_libraries(nfd-autoreg core-objects)
target_link_libraries(nfd-autoreg NDN_CXX)
target_link_libraries(nfd-autoreg BOOST)
target_link_libraries(nfd-autoreg LIBRESOLV)
target_link_libraries(nfd-autoreg GCOV)

set(ndn-autoconfig_SOURCES
    ndn-autoconfig/main.cpp)

set(ndn-autoconfig_INCLUDES
    ndn-autoconfig
    ../build
    ..
    ndn-autoconfig
    /home/sunny/Documents/NDN/mNFD/build
    /home/sunny/Documents/NDN/mNFD
    /usr/local/include
    /usr/include)

include_directories(${ndn-autoconfig_INCLUDES})

add_executable(ndn-autoconfig ${ndn-autoconfig_SOURCES})

target_link_libraries(ndn-autoconfig core-objects)
target_link_libraries(ndn-autoconfig NDN_CXX)
target_link_libraries(ndn-autoconfig BOOST)
target_link_libraries(ndn-autoconfig LIBRESOLV)
target_link_libraries(ndn-autoconfig tools-ndn-autoconfig-objects)
target_link_libraries(ndn-autoconfig GCOV)

