summaryrefslogtreecommitdiffstats
path: root/twin/kcmtwin/twinrules/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'twin/kcmtwin/twinrules/Makefile.am')
-rw-r--r--twin/kcmtwin/twinrules/Makefile.am29
1 files changed, 29 insertions, 0 deletions
diff --git a/twin/kcmtwin/twinrules/Makefile.am b/twin/kcmtwin/twinrules/Makefile.am
new file mode 100644
index 000000000..c9e7c7beb
--- /dev/null
+++ b/twin/kcmtwin/twinrules/Makefile.am
@@ -0,0 +1,29 @@
+METASOURCES = AUTO
+AM_CPPFLAGS = $(all_includes) -DKCMRULES
+INCLUDES = -I$(top_srcdir)/twin/lib
+
+bin_PROGRAMS =
+lib_LTLIBRARIES =
+tdeinit_LTLIBRARIES = twin_rules_dialog.la
+kde_module_LTLIBRARIES = kcm_twinrules.la
+noinst_LTLIBRARIES = libtwinrules.la
+
+libtwinrules_la_SOURCES = ruleswidget.cpp ruleslist.cpp twinsrc.cpp detectwidget.cpp \
+ ruleswidgetbase.ui ruleslistbase.ui detectwidgetbase.ui editshortcutbase.ui
+libtwinrules_la_LDFLAGS = $(all_libraries) -no-undefined
+libtwinrules_la_LIBADD = $(LIB_TDEUI)
+
+kcm_twinrules_la_SOURCES = kcm.cpp
+kcm_twinrules_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined
+kcm_twinrules_la_LIBADD = libtwinrules.la
+kcm_twinrules_la_COMPILE_FIRST = ruleslistbase.h ruleswidgetbase.h editshortcutbase.h
+
+twin_rules_dialog_la_SOURCES = main.cpp
+twin_rules_dialog_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined
+twin_rules_dialog_la_LIBADD = libtwinrules.la
+twin_rules_dialog_la_COMPILE_FIRST = ruleslistbase.h ruleswidgetbase.h editshortcutbase.h
+
+messages: rc.cpp
+ $(XGETTEXT) *.cpp -o $(podir)/kcmtwinrules.pot
+
+xdg_apps_DATA = twinrules.desktop