summaryrefslogtreecommitdiffstats
path: root/kwin/kcmkwin/kwinrules/Makefile.am
blob: 18aef9ccded5db97b32f2a12083f823669e6ded0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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