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 # This program 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 2, or (at your option)
16 # This program 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 this program; see the file COPYING. If not, write to
23 # the Free Software Foundation, 51 Franklin Street, Fifth Floor,
24 # Boston, MA 02110-1301, USA.
27 AUTOMAKE_OPTIONS = ansi2knr
31 bin_PROGRAMS = enscript mkafmmap
33 enscript_SOURCES = main.c psgen.c util.c prt_lpr.c
35 enscript_SOURCES_windelta = \
39 mkafmmap_SOURCES = mkafmmap.c
41 LDADD = ../afmlib/libafm.a @LIBINTL@ ../compat/libcompat.a -lm
42 enscript_DEPENDENCIES = ../afmlib/libafm.a ../compat/libcompat.a
43 mkafmmap_DEPENDENCIES = ../afmlib/libafm.a ../compat/libcompat.a
45 noinst_HEADERS = gsint.h
47 localedir = $(prefix)/share/locale
49 INCLUDES = -I$(srcdir)/../compat -I$(srcdir)/../afmlib \
50 -I$(srcdir)/../intl -I../intl -DLOCALEDIR=\"$(localedir)\" \
51 -DLIBRARY=\"$(datadir)/enscript\" -DSYSCONFDIR=\"$(sysconfdir)\"
55 --DLOCALEDIR=\"$(localedir)\" \
56 --DLIBRARY=\"$(datadir)/enscript\" \
57 --DSYSCONFDIR=\"$(sysconfdir)\" \
58 +-DLIBRARY=\"c:\\enscript\" \
59 +-DSYSCONFDIR=\"c:\\enscript\"
61 EXTRA_DIST = prt_dos.c ansi2knr.c ansi2knr.1