KDE_CXXFLAGS = $(USE_RTTI)
INCLUDES= $(all_includes)
SUBDIRS = . pics4kmail pics4knode 

lib_LTLIBRARIES = libkdenetwork.la

libkdenetwork_la_SOURCES = kscoring.cpp \
                          kscoringeditor.cpp \
			  kregexp3.cpp \
			  qutf7codec.cpp \
			  \
			  kpgpblock.cpp \
                          kpgpui.cpp \
                          kpgpkey.cpp \
                          kpgp.cpp \
                          kpgpbase.cpp \
                          kpgpbaseG.cpp \
                          kpgpbase2.cpp \
                          kpgpbase5.cpp \
                          kpgpbase6.cpp \
			  \
                          kwidgetlister.cpp \
			  kqcstringsplitter.cpp \
			  boolflags.cpp	\
			  \
			  kmime_charfreq.cpp \
			  kmime_util.cpp \
			  kmime_codecs.cpp \
			  kmime_codec_base64.cpp \
			  kmime_codec_uuencode.cpp \
			  kmime_codec_qp.cpp \
			  kmime_parsers.cpp \
			  kmime_header_parsing.cpp \
			  kmime_content.cpp \
			  kmime_headers.cpp \
			  kmime_message.cpp \
			  kmime_newsarticle.cpp \
			  \
			  cryptplugwrapper.cpp \
			  cryptplugwrapperlist.cpp \
			  \
			  kfoldertree.cpp

libkdenetwork_la_LDFLAGS = $(all_libraries) -no-undefined -version-info 2:0
noinst_HEADERS = kpgpbase.h

libkdenetwork_la_LIBADD = $(LIB_KDEUI)

METASOURCES = AUTO

updatedir = $(kde_datadir)/kconf_update
update_DATA = kpgp.upd kpgp-3.1-upgrade-address-data.pl

messages: 
	$(XGETTEXT) *.cpp *.h -o $(podir)/libkdenetwork.pot
