1 AUTOMAKE_OPTIONS = foreign
2 L7VS_MODDIR = @l7vs_moddir@
3 L7VS_INCLUDEDIR = @l7vs_includedir@
4 MAX_BUFFER_SIZE = @l7vs_max_buffer_size@
5 PROTOMODURL_SO = protomod_url.so
7 -g -O2 -fno-strict-aliasing -Wall -Werror -fPIC -pthread \
9 -DMAX_BUFFER_SIZE=$(MAX_BUFFER_SIZE)
14 libprotomod_url_la_SOURCES = \
15 protocol_module_base.h \
16 http_protocol_module_base.h \
17 http_protocol_module_base.cpp \
18 protocol_module_url.cpp
20 libprotomod_url_la_LIBADD = -lrt -lboost_thread-mt
22 libdir = $(L7VS_MODDIR)
25 cp ./.libs/libprotomod_url.so ./.libs/${PROTOMODURL_SO} && \
26 $(INSTALL) -m 755 -d $(L7VS_MODDIR)
27 $(INSTALL) -m 755 -D \
28 ./.libs/${PROTOMODURL_SO} $(L7VS_MODDIR)
31 rm -f $(L7VS_MODDIR)/${PROTOMODURL_SO}