summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: 06300a5278c5ec770cc3c44965c3dca99130ab38 (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
49
50
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)/tde/kopete -I$(kde_includes)/kopete/ui -I$(kde_includes)/tde/kopete/ui

kde_module_LTLIBRARIES = kcm_kopete_otr.la kopete_otr.la

kopete_otr_la_SOURCES = otrplugin-factory.cpp


kopete_otr_la_LDFLAGS = -module -no-undefined $(KDE_PLUGIN) $(all_libraries) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) \
	-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_TDECORE) $(LIB_TDEUI) \
	$(all_libraries) -lkopete
kcm_kopete_otr_la_LIBADD = libkotr.la -lotr $(LIB_TDEUTILS)

service_DATA = kopete_otr.desktop
servicedir = $(kde_servicesdir)

kde_kcfg_DATA = kopete_otr.kcfg

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

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_TDECORE) $(LIB_TDEUI)
libkotr_la_SOURCES = \
	kopete_otr.kcfgc otrguiclient.cpp otrplugin.cpp \
	otrlchatinterface.cpp otrlconfinterface.cpp \
	privkeypopup.cpp privkeypopupui.ui smppopup.cpp smppopupui.ui verifypopup.cpp \
	verifypopupui.ui
libkotr_la_LIBADD = -lotr

SUBDIRS = pics