summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile.am
blob: 9c8458e3148ae6f190f8d82b45616a3acf762d2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# tinyproxy - A fast light-weight HTTP proxy
# Copyright (C) 2000 Robert James Kaes <rjkaes@users.sourceforge.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

pkgsysconfdir = $(sysconfdir)/$(PACKAGE)

bin_PROGRAMS = tinyproxy

AM_CPPFLAGS = \
	-DSYSCONFDIR=\"${pkgsysconfdir}\" \
	-DLOCALSTATEDIR=\"${localstatedir}\"

tinyproxy_SOURCES = \
	acl.c acl.h \
	anonymous.c anonymous.h \
	buffer.c buffer.h \
	child.c child.h \
	common.h \
	conf-tokens.c conf-tokens.h \
	conf.c conf.h \
	conns.c conns.h \
	daemon.c daemon.h \
	heap.c heap.h \
	html-error.c html-error.h \
	http-message.c http-message.h \
	log.c log.h \
	network.c network.h \
	reqs.c reqs.h \
	sock.c sock.h \
	stats.c stats.h \
	text.c text.h \
	main.c main.h \
	utils.c utils.h \
	upstream.c upstream.h \
	basicauth.c basicauth.h \
	base64.c base64.h \
	sblist.c sblist.h \
	hsearch.c hsearch.h \
	orderedmap.c orderedmap.h \
	loop.c loop.h \
	mypoll.c mypoll.h \
	connect-ports.c connect-ports.h

EXTRA_tinyproxy_SOURCES = filter.c filter.h \
	reverse-proxy.c reverse-proxy.h \
	transparent-proxy.c transparent-proxy.h
tinyproxy_DEPENDENCIES = @ADDITIONAL_OBJECTS@
tinyproxy_LDADD = @ADDITIONAL_OBJECTS@ -lpthread

if HAVE_GPERF
conf-tokens.c: conf-tokens-gperf.inc
conf-tokens-gperf.inc: conf-tokens.gperf
	$(GPERF) $< > $@
endif