44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
|
|
lib_LTLIBRARIES=liblighttpd2-common.la
|
|
common_cflags=-I$(top_builddir)/include -I$(top_srcdir)/include
|
|
|
|
common_src= \
|
|
angel_connection.c \
|
|
angel_data.c \
|
|
buffer.c \
|
|
encoding.c \
|
|
events.c \
|
|
fetch.c \
|
|
idlist.c \
|
|
jobqueue.c \
|
|
memcached.c \
|
|
mempool.c \
|
|
module.c \
|
|
radix.c \
|
|
sys_memory.c \
|
|
sys_socket.c \
|
|
tasklet.c \
|
|
utils.c \
|
|
value.c \
|
|
waitqueue.c
|
|
|
|
parsers=ip_parsers.c
|
|
nodist_common_src=$(parsers)
|
|
|
|
if WITH_PROFILER
|
|
common_src+= profiler.c
|
|
endif
|
|
EXTRA_liblighttpd2_common_la_SOURCES=profiler.c
|
|
|
|
BUILT_SOURCES=$(parsers)
|
|
CLEANFILES=$(parsers)
|
|
EXTRA_DIST=ip_parsers.rl value_impl.c
|
|
|
|
ip_parsers.c: ip_parsers.rl
|
|
$(RAGEL) -C -T1 -o $@ $<
|
|
|
|
liblighttpd2_common_la_SOURCES=$(common_src)
|
|
nodist_liblighttpd2_common_la_SOURCES=$(nodist_common_src)
|
|
liblighttpd2_common_la_CPPFLAGS=$(common_cflags) $(GTHREAD_CFLAGS) $(GMODULE_CFLAGS) $(LIBEV_CFLAGS) $(LIBUNWIND_CFLAGS)
|
|
liblighttpd2_common_la_LDFLAGS=-release $(PACKAGE_VERSION) -export-dynamic $(GTHREAD_LIBS) $(GMODULE_LIBS) $(LIBEV_LIBS) $(CRYPT_LIB) $(LIBUNWIND_LIBS)
|