]> git.ipfire.org Git - thirdparty/squid.git/blob - src/http/Makefile.am
Cleanup: replace HTTP Request bitmap flags with boolean
[thirdparty/squid.git] / src / http / Makefile.am
1 ## Copyright (C) 1996-2016 The Squid Software Foundation and contributors
2 ##
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.
6 ##
7
8 include $(top_srcdir)/src/Common.am
9 include $(top_srcdir)/src/TestHeaders.am
10
11 SUBDIRS = one url_rewriters
12 DIST_SUBDIRS = one url_rewriters
13
14 noinst_LTLIBRARIES = libhttp.la
15
16 libhttp_la_SOURCES = \
17 ContentLengthInterpreter.cc \
18 ContentLengthInterpreter.h \
19 forward.h \
20 MethodType.cc \
21 MethodType.h \
22 ProtocolVersion.h \
23 RegisteredHeaders.h \
24 RegisteredHeaders.cc \
25 RegisteredHeadersHash.cci \
26 RequestMethod.cc \
27 RequestMethod.h \
28 StateFlags.h \
29 StatusCode.cc \
30 StatusCode.h \
31 StatusLine.cc \
32 StatusLine.h \
33 Stream.cc \
34 Stream.h
35
36 libhttp_la_LIBADD= one/libhttp1.la
37
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)
41
42 CLEANFILES += MethodType.cc
43
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
46
47 EXTRA_DIST = RegisteredHeadersHash.gperf
48
49 .PHONY: gperf-files