summaryrefslogtreecommitdiffstats
path: root/tdeioslave/smtp/Makefile.am
blob: 7522aed904bea42646140ac0e121f191eda686bc (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

INCLUDES= -I$(srcdir)/../.. -I$(srcdir)/.. $(SSL_INCLUDES) $(all_includes)

kde_module_LTLIBRARIES = tdeio_smtp.la

tdeio_smtp_la_SOURCES = smtp.cpp request.cpp response.cpp capabilities.cpp command.cpp transactionstate.cpp
tdeio_smtp_la_LIBADD  = $(LIB_TDEIO) $(SASL2_LIBS)
tdeio_smtp_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)

noinst_HEADERS = smtp.h request.h response.h capabilities.h command.h transactionstate.h

kdelnk_DATA = smtp.protocol smtps.protocol
kdelnkdir = $(kde_servicesdir)

TESTS = test_headergeneration test_responseparser test_commands

check_PROGRAMS = $(TESTS) interactivesmtpserver

test_headergeneration_SOURCES = test_headergeneration.cpp
test_headergeneration_LDADD =  $(LIB_TDECORE)
test_headergeneration_LDFLAGS = $(all_libraries)

test_responseparser_SOURCES = test_responseparser.cpp
test_responseparser_LDADD =  $(LIB_TDECORE)
test_responseparser_LDFLAGS = $(all_libraries)

test_commands_SOURCES = test_commands.cpp
test_commands_LDADD =  $(tdeio_smtp_la_LIBADD)
test_commands_LDFLAGS = $(all_libraries)

interactivesmtpserver_SOURCES = interactivesmtpserver.cpp
interactivesmtpserver_LDADD = $(LIB_QT)
interactivesmtpserver_LDFLAGS = $(all_libraries)
interactivesmtpserver_METASOURCES = AUTO

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