summaryrefslogtreecommitdiffstats
path: root/kwin/kcmkwin/kwinrules/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'kwin/kcmkwin/kwinrules/Makefile.am')
-rw-r--r--kwin/kcmkwin/kwinrules/Makefile.am29
1 files changed, 29 insertions, 0 deletions
diff --git a/kwin/kcmkwin/kwinrules/Makefile.am b/kwin/kcmkwin/kwinrules/Makefile.am
new file mode 100644
index 000000000..18aef9ccd
--- /dev/null
+++ b/kwin/kcmkwin/kwinrules/Makefile.am
@@ -0,0 +1,29 @@
+METASOURCES = AUTO
+AM_CPPFLAGS = $(all_includes) -DKCMRULES
+INCLUDES = -I$(top_srcdir)/kwin/lib
+
+bin_PROGRAMS =
+lib_LTLIBRARIES =
+kdeinit_LTLIBRARIES = kwin_rules_dialog.la
+kde_module_LTLIBRARIES = kcm_kwinrules.la
+noinst_LTLIBRARIES = libkwinrules.la
+
+libkwinrules_la_SOURCES = ruleswidget.cpp ruleslist.cpp kwinsrc.cpp detectwidget.cpp \
+ ruleswidgetbase.ui ruleslistbase.ui detectwidgetbase.ui editshortcutbase.ui
+libkwinrules_la_LDFLAGS = $(all_libraries) -no-undefined
+libkwinrules_la_LIBADD = $(LIB_KDEUI)
+
+kcm_kwinrules_la_SOURCES = kcm.cpp
+kcm_kwinrules_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined
+kcm_kwinrules_la_LIBADD = libkwinrules.la
+kcm_kwinrules_la_COMPILE_FIRST = ruleslistbase.h ruleswidgetbase.h editshortcutbase.h
+
+kwin_rules_dialog_la_SOURCES = main.cpp
+kwin_rules_dialog_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined
+kwin_rules_dialog_la_LIBADD = libkwinrules.la
+kwin_rules_dialog_la_COMPILE_FIRST = ruleslistbase.h ruleswidgetbase.h editshortcutbase.h
+
+messages: rc.cpp
+ $(XGETTEXT) *.cpp -o $(podir)/kcmkwinrules.pot
+
+xdg_apps_DATA = kwinrules.desktop