9d04667848
conffile.h.) The new system is intended to replace the existing grammar.y and scanner.l files. I don't want to depend on flex/bison any longer.
55 lines
1.4 KiB
Makefile
55 lines
1.4 KiB
Makefile
# $Id: Makefile.am,v 1.19 2004-08-13 20:19:50 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@
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
sbin_PROGRAMS = tinyproxy
|
|
|
|
tinyproxy_SOURCES = \
|
|
acl.c acl.h \
|
|
anonymous.c anonymous.h \
|
|
buffer.c buffer.h \
|
|
child.c child.h \
|
|
common.h \
|
|
conffile.c conffile.h \
|
|
conns.c conns.h \
|
|
daemon.c daemon.h \
|
|
hashmap.c hashmap.h \
|
|
heap.c heap.h \
|
|
htmlerror.c htmlerror.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 \
|
|
tinyproxy.c tinyproxy.h \
|
|
utils.c utils.h \
|
|
vector.c vector.h \
|
|
grammar.y scanner.l
|
|
|
|
EXTRA_tinyproxy_SOURCES = filter.c filter.h grammar.h
|
|
tinyproxy_DEPENDENCIES = @ADDITIONAL_OBJECTS@
|
|
tinyproxy_LDADD = @ADDITIONAL_OBJECTS@
|
|
|
|
scanner.c: scanner.l grammar.h
|
|
$(LEX) $(LEX_FLAGS) $(LFLAGS) -i $< && mv $(LEX_OUTPUT_ROOT).c $@
|
|
|
|
clean:
|
|
rm -f *.da
|
|
rm -f gmon.out
|