2
0
Fork 0
lighttpd2/src/main/Makefile.am

104 lines
2.5 KiB
Makefile
Raw Normal View History

2009-07-31 18:36:37 +00:00
libexec_PROGRAMS=lighttpd2-worker
2010-01-03 18:47:47 +00:00
lib_LTLIBRARIES=liblighttpd2-shared.la
2009-12-21 20:07:27 +00:00
2013-05-22 15:26:33 +00:00
common_cflags=-I$(top_builddir)/include -I$(top_srcdir)/include
2009-07-31 18:36:37 +00:00
lighttpd_shared_src= \
angel.c \
angel_fake.c \
actions.c \
2013-05-04 11:11:25 +00:00
base_lua.c \
2013-04-09 14:29:39 +00:00
backends.c \
2009-07-31 18:36:37 +00:00
chunk.c \
chunk_parser.c \
collect.c \
condition.c \
connection.c \
environment.c \
etag.c \
2013-05-22 15:26:33 +00:00
filter.c \
2009-07-31 18:36:37 +00:00
filter_chunked.c \
filter_buffer_on_disk.c \
2009-07-31 18:36:37 +00:00
http_headers.c \
lighttpd_glue.c \
2009-07-31 18:36:37 +00:00
log.c \
2010-09-04 12:50:35 +00:00
mimetype.c \
2009-07-31 18:36:37 +00:00
network.c \
network_write.c network_writev.c \
network_sendfile.c \
options.c \
pattern.c \
2009-07-31 18:36:37 +00:00
plugin.c \
request.c \
response.c \
server.c \
stat_cache.c \
stream.c \
stream_http_response.c \
stream_simple_socket.c \
2009-07-31 18:36:37 +00:00
throttle.c \
value.c \
virtualrequest.c \
worker.c \
\
plugin_core.c
parsers= \
config_parser.c \
http_range_parser.c \
http_request_parser.c \
http_response_parser.c \
url_parser.c
nodist_lighttpd_shared_src=$(parsers)
lua_src= \
2009-07-31 18:36:37 +00:00
actions_lua.c \
condition_lua.c \
config_lua.c \
value_lua.c \
\
chunk_lua.c \
core_lua.c \
environment_lua.c \
filters_lua.c \
http_headers_lua.c \
physical_lua.c \
request_lua.c \
response_lua.c \
stat_lua.c \
2010-08-25 22:34:28 +00:00
subrequest_lua.c \
virtualrequest_lua.c
if USE_LUA
lighttpd_shared_src+=$(lua_src)
2009-07-31 18:36:37 +00:00
endif
BUILT_SOURCES=$(parsers)
CLEANFILES=$(parsers)
EXTRA_DIST=config_parser.rl http_range_parser.rl http_request_parser.rl http_response_parser.rl url_parser.rl
2009-07-31 18:36:37 +00:00
config_parser.c: config_parser.rl
$(RAGEL) -C -T0 -o $@ $<
2009-10-09 13:51:29 +00:00
http_range_parser.c: http_range_parser.rl
$(RAGEL) -C -T1 -o $@ $<
2009-07-31 18:36:37 +00:00
http_request_parser.c: http_request_parser.rl
$(RAGEL) -C -T1 -o $@ $<
2009-07-31 18:36:37 +00:00
http_response_parser.c: http_response_parser.rl
$(RAGEL) -C -T1 -o $@ $<
2009-07-31 18:36:37 +00:00
url_parser.c: url_parser.rl
$(RAGEL) -C -T1 -o $@ $<
2009-07-31 18:36:37 +00:00
2010-01-03 18:47:47 +00:00
liblighttpd2_shared_la_SOURCES=$(lighttpd_shared_src)
nodist_liblighttpd2_shared_la_SOURCES=$(nodist_lighttpd_shared_src)
2010-01-03 18:47:47 +00:00
liblighttpd2_shared_la_CPPFLAGS=$(common_cflags) $(GTHREAD_CFLAGS) $(GMODULE_CFLAGS) $(LIBEV_CFLAGS) $(LUA_CFLAGS)
liblighttpd2_shared_la_LDFLAGS=-release $(PACKAGE_VERSION) -export-dynamic $(GTHREAD_LIBS) $(GMODULE_LIBS) $(LIBEV_LIBS) $(LUA_LIBS)
liblighttpd2_shared_la_LIBADD=../common/liblighttpd2-common.la
2009-12-21 20:07:27 +00:00
lighttpd2_worker_SOURCES=lighttpd_worker.c
2009-07-31 18:36:37 +00:00
lighttpd2_worker_CPPFLAGS=$(common_cflags) $(GTHREAD_CFLAGS) $(GMODULE_CFLAGS) $(LIBEV_CFLAGS) $(LUA_CFLAGS) -DDEFAULT_LIBDIR='"$(pkglibdir)"'
lighttpd2_worker_LDFLAGS=-export-dynamic $(GTHREAD_LIBS) $(GMODULE_LIBS) $(LIBEV_LIBS) $(LUA_LIBS)
lighttpd2_worker_LDADD=../common/liblighttpd2-common.la liblighttpd2-shared.la