1## $Id
2AUTOMAKE_OPTIONS=foreign no-dependencies
3
4INCLUDES = -I../include -I${srcdir}/../ssl_common -I${srcdir}/../libs
5
6dynamicpreprocessordir = ${libdir}/snort_dynamicpreprocessor
7
8dynamicpreprocessor_LTLIBRARIES = libsf_smtp_preproc.la
9
10libsf_smtp_preproc_la_LDFLAGS = -export-dynamic -module @XCCFLAGS@
11if SO_WITH_STATIC_LIB
12libsf_smtp_preproc_la_LIBADD = ../libsf_dynamic_preproc.la
13else
14nodist_libsf_smtp_preproc_la_SOURCES = \
15../include/sf_dynamic_preproc_lib.c \
16../include/mempool.c \
17../include/sf_sdlist.c \
18../include/sf_base64decode.c \
19../include/util_unfold.c \
20../include/sf_email_attach_decode.c \
21../include/sfPolicyUserData.c \
22../ssl_common/ssl.c \
23../ssl_common/ssl_ha.c \
24../ssl_common/ssl_config.c \
25../ssl_common/ssl_inspect.c \
26../libs/sfparser.c
27
28endif
29
30libsf_smtp_preproc_la_SOURCES = \
31smtp_config.c \
32smtp_config.h \
33smtp_log.c \
34smtp_log.h \
35smtp_normalize.c \
36smtp_normalize.h \
37smtp_util.c \
38smtp_util.h \
39smtp_xlink2state.c \
40smtp_xlink2state.h \
41smtp_paf.c \
42smtp_paf.h \
43snort_smtp.c \
44snort_smtp.h \
45spp_smtp.c \
46spp_smtp.h
47
48if BUILD_BUFFER_DUMP
49libsf_smtp_preproc_la_SOURCES += \
50smtp_buffer_dump.c \
51smtp_buffer_dump.h
52endif
53
54EXTRA_DIST = \
55sf_smtp.vcxproj \
56sf_smtp.dsp
57
58all-local: $(LTLIBRARIES)
59	$(MAKE) DESTDIR=`pwd`/../build install-dynamicpreprocessorLTLIBRARIES
60
61