OSDN Git Service

Edit spec file for generate devel package. And add module sample files.
[ultramonkey-l7/ultramonkey-l7-v3.git] / doc / moduledevel / sample / protocol / Makefile.am
1 AUTOMAKE_OPTIONS = foreign
2 L7VS_MODDIR      = @l7vs_moddir@
3 L7VS_INCLUDEDIR  = @l7vs_includedir@
4 MAX_BUFFER_SIZE  = @l7vs_max_buffer_size@
5
6 AM_CPPFLAGS      = \
7         -g -O2 -fno-strict-aliasing -Wall -Werror -fPIC -pthread \
8         -I$(L7VS_INCLUDEDIR) \
9         -DMAX_BUFFER_SIZE=$(MAX_BUFFER_SIZE)
10
11 lib_LTLIBRARIES = \
12         libprotomod_simple.la
13
14 libprotomod_simple_la_SOURCES = \
15         protocol_module_base.h \
16         http_protocol_module_base.h \
17         http_protocol_module_base.cpp \
18         protocol_module_simple.cpp
19
20 install:
21         cp ./.libs/libprotomod_simple.so ./.libs/protomod_simple.so && \
22         $(INSTALL) -m 755 -d $(L7VS_MODDIR)
23         $(INSTALL) -m 755 -D \
24                 ./.libs/protomod_simple.so $(L7VS_MODDIR)