]> git.ipfire.org Git - thirdparty/squid.git/blob - src/http/Makefile.am
Merged from trunk
[thirdparty/squid.git] / src / http / Makefile.am
1 ## Copyright (C) 1996-2015 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
12 DIST_SUBDIRS = one
13
14 noinst_LTLIBRARIES = libsquid-http.la
15
16 libsquid_http_la_SOURCES = \
17 forward.h \
18 MethodType.cc \
19 MethodType.h \
20 ProtocolVersion.h \
21 RegisteredHeaders.h \
22 RegisteredHeaders.cc \
23 RequestMethod.cc \
24 RequestMethod.h \
25 StatusCode.cc \
26 StatusCode.h \
27 StatusLine.cc \
28 StatusLine.h
29
30 libsquid_http_la_LIBADD= one/libhttp1.la
31
32 MethodType.cc: MethodType.h $(top_srcdir)/src/mk-string-arrays.awk
33 ($(AWK) -f $(top_srcdir)/src/mk-string-arrays.awk sbuf=1 < $(srcdir)/MethodType.h | \
34 sed -e 's%METHOD_%%' -e 's%_C%-C%' >$@) || ($(RM) -f $@ && exit 1)
35
36 CLEANFILES += MethodType.cc