2006-02-28 08:01:15 +00:00
|
|
|
kde4_header()
|
|
|
|
|
|
|
|
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
|
|
|
|
|
|
|
|
2006-03-12 17:36:40 +00:00
|
|
|
########### next target ###############
|
|
|
|
set(kwin_update_window_settings_SRCS update_window_settings.cpp)
|
|
|
|
|
|
|
|
kde4_automoc(${kwin_update_window_settings_SRCS})
|
|
|
|
|
|
|
|
kde4_add_executable( kwin_update_window_settings ${kwin_update_window_settings_SRCS})
|
|
|
|
|
|
|
|
target_link_libraries( kwin_update_window_settings ${LIB_KDECORE} )
|
|
|
|
|
|
|
|
install_targets(/lib/kconf_update_bin/ kwin_update_window_settings )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
########### next target ###############
|
|
|
|
set(kwin_update_default_rules_SRCS update_default_rules.cpp)
|
|
|
|
|
|
|
|
kde4_automoc(${kwin_update_default_rules})
|
|
|
|
|
|
|
|
kde4_add_executable( kwin_update_default_rules ${kwin_update_default_rules_SRCS})
|
|
|
|
|
|
|
|
target_link_libraries( kwin_update_default_rules ${LIB_KDECORE} )
|
|
|
|
|
|
|
|
install_targets(/lib/kconf_update_bin/ kwin_update_default_rules )
|
|
|
|
|
|
|
|
|
2006-02-28 08:01:15 +00:00
|
|
|
########### install files ###############
|
|
|
|
|
|
|
|
install_files( ${DATA_INSTALL_DIR}/kwin/default_rules FILES fsp_workarounds_1 )
|
|
|
|
install_files( ${SOUND_INSTALL_DIR} FILES pop.wav )
|
2006-03-14 11:14:14 +00:00
|
|
|
install_files( ${KCONF_UPDATE_INSTALL_DIR} FILES kwin.upd kwinsticky.upd kwiniconify.upd kwin3_plugin.upd kwin_focus1.upd kwinupdatewindowsettings.upd kwin_focus2.upd kwin_fsp_workarounds_1.upd )
|
|
|
|
install_files( ${KCONF_UPDATE_INSTALL_DIR} FILES pluginlibFix.pl kwin3_plugin.pl kwin_focus1.sh kwin_focus2.sh )
|
2006-02-28 08:01:15 +00:00
|
|
|
|
|
|
|
kde4_footer()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#original Makefile.am contents follow:
|
|
|
|
|
|
|
|
#kconf_PROGRAMS = kwin_update_window_settings kwin_update_default_rules
|
|
|
|
#kconfdir = $(libdir)/kconf_update_bin
|
|
|
|
#
|
|
|
|
#kwin_update_window_settings_SOURCES = update_window_settings.cpp
|
|
|
|
#kwin_update_window_settings_LDADD = $(LIB_KDECORE) $(KDE_RPATH)
|
|
|
|
#kwin_update_window_settings_LDFLAGS = $(all_libraries)
|
|
|
|
#
|
|
|
|
#kwin_update_default_rules_SOURCES = update_default_rules.cpp
|
|
|
|
#kwin_update_default_rules_LDADD = $(LIB_KDECORE) $(KDE_RPATH)
|
|
|
|
#kwin_update_default_rules_LDFLAGS = $(all_libraries)
|
|
|
|
#
|
|
|
|
#INCLUDES = $(all_includes)
|
|
|
|
#
|
|
|
|
#METASOURCES = AUTO
|
|
|
|
#
|
|
|
|
#sounddir= $(kde_sounddir)
|
|
|
|
#sound_DATA = pop.wav
|
|
|
|
#
|
|
|
|
#update_DATA = kwin.upd kwinsticky.upd kwiniconify.upd kwin3_plugin.upd kwin_focus1.upd \
|
|
|
|
# kwinupdatewindowsettings.upd kwin_focus2.upd kwin_fsp_workarounds_1.upd
|
|
|
|
#update_SCRIPTS = pluginlibFix.pl kwin3_plugin.pl kwin_focus1.sh kwin_focus2.sh
|
|
|
|
#updatedir = $(kde_datadir)/kconf_update
|
|
|
|
#
|
|
|
|
#kwin_default_rules_DATA = fsp_workarounds_1
|
|
|
|
#kwin_default_rulesdir = $(kde_datadir)/kwin/default_rules
|