summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: a914694fb8008874c473bc1d25bc4e289828ebc1 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
METASOURCES = AUTO

messages:
	extractrc `find . -name \*.ui -o -name \*.rc` > rc.cpp
	$(XGETTEXT) --keyword=i18n *.cpp -o $(top_srcdir)/po/kopete_otr.pot

INCLUDES = $(all_includes) -I$(kde_includes)/kopete -I$(kde_includes)/kde/kopete -I$(kde_includes)/kopete/ui -I$(kde_includes)/kde/kopete/ui

kde_module_LTLIBRARIES = kcm_kopete_otr.la kopete_otr.la

kopete_otr_la_SOURCES = kopete_otr.kcfgc otrguiclient.cpp otrplugin.cpp
	

kopete_otr_la_LDFLAGS = -module -no-undefined $(KDE_PLUGIN) $(all_libraries) $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) \
	-lkopete

kcm_kopete_otr_la_SOURCES = kopete_otr.kcfgc otrpreferences.cpp otrprefs.ui

kcm_kopete_otr_la_LDFLAGS = -module -no-undefined $(KDE_PLUGIN) $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI) \
	$(all_libraries) -lkopete
kcm_kopete_otr_la_LIBADD = libkotr.la -lotr $(LIB_KUTILS)

service_DATA = kopete_otr.desktop
servicedir = $(kde_servicesdir)

kde_kcfg_DATA = kopete_otr.kcfg

kcm_DATA = kopete_otr_config.desktop
kcmdir = $(kde_servicesdir)/kconfiguredialog

kopete_otr_la_LIBADD = libkotr.la -lotr

noinst_HEADERS = otrguiclient.h otrlchatinterface.h otrlconfinterface.h \
	otrplugin.h otrpreferences.h otrprefs.h privkeypopup.h smppopup.h verifypopup.h


rcdir = $(kde_datadir)/kopete_otr
rc_DATA = otrchatui.rc otrui.rc

lib_LTLIBRARIES = libkotr.la
libkotr_la_LDFLAGS = $(all_libraries) $(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI)
libkotr_la_SOURCES = otrlchatinterface.cpp otrlconfinterface.cpp \
	privkeypopup.cpp privkeypopupui.ui smppopup.cpp smppopupui.ui verifypopup.cpp \
	verifypopupui.ui
libkotr_la_LIBADD = -lotr

SUBDIRS = pics