trafgen: comment out unimplemented functions
[netsniff-ng.git] / src / ifpps / CMakeLists.txt
blob8fa81896647132a011bb27002db35133c6989a69
1 PROJECT(ifpps C)
3 SET(BUILD_STRING "generic")
5 FIND_PACKAGE(Curses)
6 INCLUDE(Pod2Man)
8 IF(CURSES_FOUND)
9         ADD_EXECUTABLE(${PROJECT_NAME}  ../xmalloc.c
10                                         ../xio.c
11                                         ../xutils.c
12                                         ../ifpps.c)
13         ADD_DEFINITIONS(-DPROGNAME_STRING="${PROJECT_NAME}"
14                         -DVERSION_STRING="${VERSION}"
15                         -DBUILD_STRING="${BUILD_STRING}")
16         TARGET_LINK_LIBRARIES(ifpps ${CURSES_NCURSES_LIBRARY})
17         POD2MAN(${CMAKE_SOURCE_DIR}/ifpps.c ifpps 8)
18         INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${EXECUTABLE_INSTALL_PATH})
19 ELSE(CURSES_FOUND)
20         MESSAGE("ncurses is missing on target. Skipping ${PROJECT_NAME} build.")
21 ENDIF(CURSES_FOUND)