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_dce2_preproc.la
9
10libsf_dce2_preproc_la_LDFLAGS = -export-dynamic -module @XCCFLAGS@
11if SO_WITH_STATIC_LIB
12libsf_dce2_preproc_la_LIBADD = ../libsf_dynamic_preproc.la
13if BUILD_SNORT_RELOAD
14libsf_dce2_preproc_la_LIBADD += ../libsf_dynamic_utils.la
15endif
16else
17nodist_libsf_dce2_preproc_la_SOURCES = \
18../include/sf_dynamic_preproc_lib.c \
19../include/sf_ip.c \
20../include/sfrt.c \
21../include/sfrt_dir.c \
22../include/sfPolicyUserData.c
23if BUILD_SNORT_RELOAD
24nodist_libsf_dce2_preproc_la_SOURCES += ../include/appdata_adjuster.c ../include/sfxhash.c ../include/sfhashfcn.c ../include/sfmemcap.c ../include/sfprimetable.c ../include/reg_test.h ../include/reg_test.c
25endif
26endif
27
28libsf_dce2_preproc_la_SOURCES = \
29includes/dcerpc.h \
30includes/smb.h \
31dce2_debug.c \
32dce2_debug.h \
33dce2_utils.c \
34dce2_utils.h \
35dce2_list.c \
36dce2_list.h \
37dce2_memory.c \
38dce2_memory.h \
39dce2_stats.c \
40dce2_stats.h \
41dce2_event.c \
42dce2_event.h \
43dce2_config.c \
44dce2_config.h \
45dce2_roptions.c \
46dce2_roptions.h \
47dce2_session.h \
48spp_dce2.c \
49spp_dce2.h \
50snort_dce2.c \
51snort_dce2.h \
52dce2_smb.c \
53dce2_smb.h \
54dce2_smb2.c \
55dce2_smb2.h \
56dce2_tcp.c \
57dce2_tcp.h \
58dce2_co.c \
59dce2_co.h \
60dce2_udp.c \
61dce2_udp.h \
62dce2_cl.c \
63dce2_cl.h \
64dce2_http.c \
65dce2_http.h \
66dce2_paf.c \
67dce2_paf.h
68
69if BUILD_BUFFER_DUMP
70libsf_dce2_preproc_la_SOURCES += \
71dcerpc2_buffer_dump.c \
72dcerpc2_buffer_dump.h
73endif
74
75
76EXTRA_DIST = \
77sf_dce2.vcxproj \
78sf_dce2.dsp
79
80all-local: $(LTLIBRARIES)
81	$(MAKE) DESTDIR=`pwd`/../build install-dynamicpreprocessorLTLIBRARIES
82
83