aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
blob: c555e4cb17dc54628c7a96e10c164185aba229de (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
# 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


Return to:

Send suggestions and report system problems to the System administrator.