1 ## Copyright (C) 1996-2017 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 \
26 RegisteredHeaders.cc \
27 RegisteredHeadersHash.cci \
38 libhttp_la_LIBADD= one/libhttp1.la
40 MethodType.cc: MethodType.h $(top_srcdir)/src/mk-string-arrays.awk
41 ($(AWK) -f $(top_srcdir)/src/mk-string-arrays.awk sbuf=1 < $(srcdir)/MethodType.h | \
42 sed -e 's%METHOD_%%' -e 's%_C%-C%' >$@) || ($(RM) -f $@ && exit 1)
44 CLEANFILES += MethodType.cc
46 gperf-files: RegisteredHeadersHash.gperf
47 if test $(srcdir)/RegisteredHeadersHash.gperf -nt $(srcdir)/RegisteredHeadersHash.cci; then gperf -m 100000 $(srcdir)/RegisteredHeadersHash.gperf | sed 's/register //g' > $(srcdir)/RegisteredHeadersHash.cci; fi
49 EXTRA_DIST = RegisteredHeadersHash.gperf