1## $Id
2AUTOMAKE_OPTIONS=foreign no-dependencies
3
4INCLUDES = -I../include -I${srcdir}/../libs -I$(srcdir)/includes
5
6dynamicpreprocessordir = ${libdir}/snort_dynamicpreprocessor
7
8dynamicpreprocessor_LTLIBRARIES = libsf_gtp_preproc.la
9
10libsf_gtp_preproc_la_LDFLAGS = -export-dynamic -module @XCCFLAGS@
11if SO_WITH_STATIC_LIB
12libsf_gtp_preproc_la_LIBADD = ../libsf_dynamic_preproc.la
13else
14nodist_libsf_gtp_preproc_la_SOURCES = \
15../include/sf_dynamic_preproc_lib.c \
16../include/sfPolicyUserData.c
17endif
18
19libsf_gtp_preproc_la_SOURCES = \
20spp_gtp.c \
21spp_gtp.h \
22gtp_config.c \
23gtp_config.h \
24gtp_parser.c \
25gtp_parser.h \
26gtp_roptions.c \
27gtp_roptions.h \
28gtp_debug.h
29
30if BUILD_BUFFER_DUMP
31libsf_gtp_preproc_la_SOURCES += \
32gtp_buffer_dump.h \
33gtp_buffer_dump.c
34endif
35
36EXTRA_DIST = \
37sf_gtp.vcxproj \
38sf_gtp.dsp
39
40
41all-local: $(LTLIBRARIES)
42	$(MAKE) DESTDIR=`pwd`/../build install-dynamicpreprocessorLTLIBRARIES
43