2 # Makefile for enscript.
3 # Copyright (c) 1995-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/>.
25 AUTOMAKE_OPTIONS = ansi2knr
29 bin_PROGRAMS = enscript mkafmmap
31 enscript_SOURCES = main.c psgen.c util.c prt_lpr.c
33 enscript_SOURCES_windelta = \
37 mkafmmap_SOURCES = mkafmmap.c
39 LDADD = ../afmlib/libafm.a @LIBINTL@ ../compat/libcompat.a -lm
40 enscript_DEPENDENCIES = ../afmlib/libafm.a ../compat/libcompat.a
41 mkafmmap_DEPENDENCIES = ../afmlib/libafm.a ../compat/libcompat.a
43 noinst_HEADERS = gsint.h
45 localedir = $(prefix)/share/locale
47 INCLUDES = -I$(srcdir)/../compat -I$(srcdir)/../afmlib \
48 -I$(srcdir)/../intl -I../intl -DLOCALEDIR=\"$(localedir)\" \
49 -DLIBRARY=\"$(datadir)/enscript\" -DSYSCONFDIR=\"$(sysconfdir)\"
53 --DLOCALEDIR=\"$(localedir)\" \
54 --DLIBRARY=\"$(datadir)/enscript\" \
55 --DSYSCONFDIR=\"$(sysconfdir)\" \
56 +-DLIBRARY=\"c:\\enscript\" \
57 +-DSYSCONFDIR=\"c:\\enscript\"
59 EXTRA_DIST = prt_dos.c ansi2knr.c ansi2knr.1