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