#################################################
#
#  (C) 2010-2011 Serghei Amelian
#  serghei (DOT) amelian (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

include_directories(
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_BINARY_DIR}/kicker/libkicker
  ${CMAKE_BINARY_DIR}
  ${CMAKE_SOURCE_DIR}/kicker/libkicker
  ${CMAKE_SOURCE_DIR}/kicker/kicker/core
  ${CMAKE_SOURCE_DIR}/kicker/kicker/ui
  ${CMAKE_SOURCE_DIR}/libkonq
  ${DBUS_TQT_INCLUDE_DIRS}
  ${TDE_INCLUDE_DIR}
  ${TQT_INCLUDE_DIRS}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
)


##### other data ################################

tde_create_translated_desktop(
  SOURCE
    bookmarks.desktop browser.desktop desktop.desktop
    exec.desktop kmenu.desktop windowlist.desktop
  DESTINATION ${DATA_INSTALL_DIR}/kicker/builtins
  PO_DIR kicker-desktops
)


##### kicker_buttons (static) ###################

set( target kicker_buttons )

set( ${target}_SRCS
  servicebutton.cpp bookmarksbutton.cpp browserbutton.cpp
  knewbutton.cpp desktopbutton.cpp extensionbutton.cpp
  kbutton.cpp nontdeappbutton.cpp servicemenubutton.cpp
  urlbutton.cpp windowlistbutton.cpp
)

tde_add_library( ${target} STATIC_PIC AUTOMOC
  SOURCES ${${target}_SRCS}
  DEPENDENCIES kicker_core-static kicker+libkicker+kickerSettings.cpp
)
