1 ## Copyright (C) 1996-2016 The Squid Software Foundation and contributors
3 ## Squid software is distributed under GPLv2+ license and includes
4 ## contributions from numerous individuals and organizations.
5 ## Please see the COPYING and CONTRIBUTORS files for details.
8 include $(top_srcdir)/src/Common.am
9 include $(top_srcdir)/src/TestHeaders.am
11 SUBDIRS = one url_rewriters
12 DIST_SUBDIRS = one url_rewriters
14 noinst_LTLIBRARIES = libhttp.la
16 libhttp_la_SOURCES = \
17 ContentLengthInterpreter.cc \
18 ContentLengthInterpreter.h \
24 RegisteredHeaders.cc \
25 RegisteredHeadersHash.cci \
36 libhttp_la_LIBADD= one/libhttp1.la
38 MethodType.cc: MethodType.h $(top_srcdir)/src/mk-string-arrays.awk
39 ($(AWK) -f $(top_srcdir)/src/mk-string-arrays.awk sbuf=1 < $(srcdir)/MethodType.h | \
40 sed -e 's%METHOD_%%' -e 's%_C%-C%' >$@) || ($(RM) -f $@ && exit 1)
42 CLEANFILES += MethodType.cc
44 gperf-files: RegisteredHeadersHash.gperf
45 if test $(srcdir)/RegisteredHeadersHash.gperf -nt $(srcdir)/RegisteredHeadersHash.cci; then gperf -m 100000 $(srcdir)/RegisteredHeadersHash.gperf | sed 's/register //g' > $(srcdir)/RegisteredHeadersHash.cci; fi
47 EXTRA_DIST = RegisteredHeadersHash.gperf