2006-02-28 08:01:15 +00:00
|
|
|
kde4_header()
|
2006-03-23 19:24:10 +00:00
|
|
|
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} )
|
2006-02-28 08:01:15 +00:00
|
|
|
|
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
|
|
|
|
set(kcm_kwinoptions_PART_SRCS windows.cpp mouse.cpp main.cpp )
|
|
|
|
|
|
|
|
kde4_automoc(${kcm_kwinoptions_PART_SRCS})
|
|
|
|
|
|
|
|
kde4_add_plugin(kcm_kwinoptions ${kcm_kwinoptions_PART_SRCS})
|
|
|
|
|
|
|
|
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kcm_kwinoptions )
|
|
|
|
|
2006-03-24 14:59:45 +00:00
|
|
|
target_link_libraries(kcm_kwinoptions ${KDE4_KDEUI_LIBS} ${QT_QTGUI_LIBRARY} DCOP ${QT_QT3SUPPORT_LIBRARY})
|
2006-02-28 08:01:15 +00:00
|
|
|
|
|
|
|
install_targets(${LIB_INSTALL_DIR}/kde4 kcm_kwinoptions )
|
|
|
|
|
|
|
|
|
|
|
|
########### install files ###############
|
|
|
|
|
|
|
|
install_files( ${XDG_APPS_DIR} FILES kwinoptions.desktop )
|
|
|
|
install_files( ${APPLNK_INSTALL_DIR}/.hidden FILES kwinactions.desktop kwinadvanced.desktop kwinfocus.desktop kwinmoving.desktop kwintranslucency.desktop )
|
|
|
|
|
2006-03-03 14:46:52 +00:00
|
|
|
kde4_install_icons( ${ICON_INSTALL_DIR} crystalsvg )
|
2006-02-28 08:01:15 +00:00
|
|
|
|
|
|
|
kde4_footer()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#original Makefile.am contents follow:
|
|
|
|
|
|
|
|
#METASOURCES = AUTO
|
|
|
|
#INCLUDES = $(all_includes)
|
|
|
|
#
|
|
|
|
#kde_module_LTLIBRARIES = kcm_kwinoptions.la
|
|
|
|
#
|
|
|
|
#kcm_kwinoptions_la_SOURCES = windows.cpp mouse.cpp main.cpp
|
|
|
|
#kcm_kwinoptions_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined
|
|
|
|
#kcm_kwinoptions_la_LIBADD = $(LIB_KDEUI)
|
|
|
|
#
|
|
|
|
#noinst_HEADERS = windows.h mouse.h
|
|
|
|
#
|
|
|
|
#messages:
|
|
|
|
# $(XGETTEXT) *.cpp -o $(podir)/kcmkwm.pot
|
|
|
|
#
|
|
|
|
#kwin_kcmkwin_options_data_DATA = kwinactions.desktop kwinadvanced.desktop kwinfocus.desktop kwinmoving.desktop kwintranslucency.desktop
|
|
|
|
#kwin_kcmkwin_options_datadir = $(kde_appsdir)/.hidden
|
|
|
|
#
|
|
|
|
#xdg_apps_DATA = kwinoptions.desktop
|
|
|
|
#KDE_ICON=AUTO
|