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/>.
27 bin_PROGRAMS = enscript mkafmmap
29 enscript_SOURCES = main.c psgen.c util.c prt_lpr.c
31 enscript_SOURCES_windelta = \
35 mkafmmap_SOURCES = mkafmmap.c
37 LDADD = ../afmlib/libafm.a @LIBINTL@ ../compat/libcompat.a -lm
38 enscript_DEPENDENCIES = ../afmlib/libafm.a ../compat/libcompat.a
39 mkafmmap_DEPENDENCIES = ../afmlib/libafm.a ../compat/libcompat.a
41 noinst_HEADERS = gsint.h
43 localedir = $(prefix)/share/locale
45 INCLUDES = -I$(srcdir)/../compat -I$(srcdir)/../afmlib \
46 -I$(srcdir)/../intl -I../intl -DLOCALEDIR=\"$(localedir)\" \
47 -DLIBRARY=\"$(datadir)/enscript\" -DSYSCONFDIR=\"$(sysconfdir)\"
51 --DLOCALEDIR=\"$(localedir)\" \
52 --DLIBRARY=\"$(datadir)/enscript\" \
53 --DSYSCONFDIR=\"$(sysconfdir)\" \
54 +-DLIBRARY=\"c:\\enscript\" \
55 +-DSYSCONFDIR=\"c:\\enscript\"
57 EXTRA_DIST = ChangeLog.old prt_dos.c