1 ## Copyright (C) 1996-2015 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
14 noinst_LTLIBRARIES = libsquid-http.la
16 libsquid_http_la_SOURCES = \
22 RegisteredHeaders.cc \
23 RegisteredHeadersHash.cci \
24 RegisteredHeadersHash.gperf \
32 libsquid_http_la_LIBADD= one/libhttp1.la
34 MethodType.cc: MethodType.h $(top_srcdir)/src/mk-string-arrays.awk
35 ($(AWK) -f $(top_srcdir)/src/mk-string-arrays.awk sbuf=1 < $(srcdir)/MethodType.h | \
36 sed -e 's%METHOD_%%' -e 's%_C%-C%' >$@) || ($(RM) -f $@ && exit 1)
38 RegisteredHeadersHash.cci: RegisteredHeadersHash.gperf
39 gperf --output-file=$@ -m 100000 $<
41 CLEANFILES += MethodType.cc