include_directories(
  ${CMAKE_BINARY_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
)


##### smartauthckpasswd (executable)

tde_add_executable( smartauthckpasswd

  SOURCES
        ckpasswd.c
        xmalloc.c
        messages.c
  LINK
     ${CRYPT_LIBRARY}
     ${PAM_LIBRARIES}

  DESTINATION ${BIN_INSTALL_DIR}
)


##### smartauthmon (executable)

tde_add_executable( smartauthmon

  SOURCES
        smartauthmon.cpp
        ckpass.c
        xmalloc.c
        messages.c
  LINK
     ${CRYPT_LIBRARY}
     ${PAM_LIBRARIES}
     ${TQT_LIBRARIES}

  DESTINATION ${BIN_INSTALL_DIR}
)