3 # Copyright (c) 1997-2003 Markku Rossi
5 # Author: Markku Rossi <mtr@iki.fi>
9 # This file is part of GNU Enscript.
11 # Enscript is free software: you can redistribute it and/or modify
12 # it under the terms of the GNU General Public License as published by
13 # the Free Software Foundation, either version 3 of the License, or
14 # (at your option) any later version.
16 # Enscript is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU General Public License for more details.
21 # You should have received a copy of the GNU General Public License
22 # along with Enscript. If not, see <http://www.gnu.org/licenses/>.
31 states_SOURCES = main.c utils.c prims.c process.c gram.y lex.l
32 states_SOURCES_windelta = \
38 LDADD = ../afmlib/libafm.a @LIBINTL@ ../compat/libcompat.a @LEXLIB@
39 states_DEPENDENCIES = ../compat/libcompat.a
41 noinst_HEADERS = defs.h gram.h
43 EXTRA_DIST = ChangeLog.old TODO over.in enscript.el
45 localedir = $(datadir)/locale
48 CLEANFILES = $(bin_SCRIPTS)
50 over: $(srcdir)/over.in
51 sed 's%@LIBRARYDIR@%$(datadir)/enscript%g' \
52 $(srcdir)/over.in > over
56 INCLUDES = -I$(srcdir)/../compat -I$(srcdir)/../afmlib \
57 -I$(srcdir)/../intl -I../intl -DLOCALEDIR=\"$(localedir)\"
61 --DLOCALEDIR=\"$(localedir)\"