# Main Makefile for tagr. # # Copyright (C) 2000, 2005, Max Bouglacoff, Sergey Poznyakoff # # 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. # # 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., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. ACLOCAL_AMFLAGS = -I m4 SUBDIRS=lib sbin_PROGRAMS=tagr AM_INSTALLCHECK_STD_OPTIONS_EXEMPT=tagr tagr_SOURCES=\ call_rateup.c\ frateup.c\ html.lex.c\ html.gram.c\ html.gram.h\ log.c\ main.c\ readconfig.c\ report.c\ report.h\ tagr.h tagr_LDADD=lib/libtagr.a -lgd INCLUDES = -I$(top_srcdir)/lib AM_YFLAGS=-vdt YLWRAP = $(SHELL) $(top_srcdir)/config/ylwrap EXTRA_DIST=html.y html.l BUILT_SOURCES=html.lex.c html.gram.c html.gram.h AM_CPPFLAGS=-DSYSCONFDIR=\"$(sysconfdir)\" html.lex.c: $(srcdir)/html.l html.gram.h $(YLWRAP) "$(LEX) $(AM_LEXFLAGS) $(LEXFLAGS)" \ $(srcdir)/html.l lex.yy.c html.lex.c \ -- -yy pp_yy html.gram.c html.gram.h: $(srcdir)/html.y $(YLWRAP) "$(YACC) $(AM_YFLAGS) $(YFLAGS)" $(srcdir)/html.y \ y.tab.c html.gram.c y.tab.h html.gram.h \ y.output y.output \ -- -yy pp_yy