summaryrefslogtreecommitdiffhomepage
path: root/src/Makefile.am
blob: 87a5b7d5c9f4bdfc4b8241f986cefd7c7d8f0443 (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
# $Id: Makefile.am,v 1.3 2000-09-11 23:37:01 rjkaes Exp $
#
# 
#
# Copyright (C) 2000  Robert James Kaes (rjkaes@flarenet.com)
#
# 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, 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.
#

YFLAGS = @YFLAGS@

bin_PROGRAMS = tinyproxy

tinyproxy_SOURCES = \
	buffer.c buffer.h \
	dnscache.c dnscache.h \
	log.c log.h \
	reqs.c reqs.h \
	sock.c sock.h \
	tinyproxy.c tinyproxy.h \
	uri.c uri.h \
	utils.c utils.h \
	anonymous.c anonymous.h \
	stats.c stats.h \
	thread.c thread.h \
	grammar.y scanner.l \
	acl.c acl.h \
	ternary.c ternary.h \
	regexp.h

tinyproxy_LDADD = @LIBOBJS@

EXTRA_DIST = gnuregex.c gnuregex.h \
	filter.c filter.h

EXTRA_tinyproxy_SOURCES = grammar.h

scanner.c: scanner.l grammar.h
	$(LEX) $(AM_LFLAGS) $(LFLAGS) -i $< && mv $(LEX_OUTPUT_ROOT).c $@