1 rizwank 1.1 #
2 # Makefile for enscript.
3 # Copyright (c) 1995-1999 Markku Rossi
4 #
5 # Author: Markku Rossi <mtr@iki.fi>
6 #
7
8 #
9 # This file is part of GNU enscript.
10 #
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)
14 # any later version.
15 #
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.
20 #
21 # You should have received a copy of the GNU General Public License
22 rizwank 1.1 # along with this program; see the file COPYING. If not, write to
23 # the Free Software Foundation, 59 Temple Place - Suite 330,
24 # Boston, MA 02111-1307, USA.
25 #
26
27 AUTOMAKE_OPTIONS = ansi2knr
28
29 SUBDIRS = tests
30
31 bin_PROGRAMS = enscript mkafmmap
32
33 enscript_SOURCES = main.c psgen.c util.c prt_lpr.c
34
35 enscript_SOURCES_windelta = \
36 -prt_lpr.c \
37 +prt_dos.c
38
39 mkafmmap_SOURCES = mkafmmap.c
40
41 LDADD = ../afmlib/libafm.a @INTLLIBS@ ../compat/libcompat.a -lm
42 enscript_DEPENDENCIES = ../afmlib/libafm.a @INTLLIBS@ ../compat/libcompat.a
43 rizwank 1.1 mkafmmap_DEPENDENCIES = ../afmlib/libafm.a @INTLLIBS@ ../compat/libcompat.a
44
45 noinst_HEADERS = gsint.h
46
47 localedir = $(prefix)/@DATADIRNAME@/locale
48
49 INCLUDES = -I$(srcdir)/../compat -I$(srcdir)/../afmlib \
50 -I$(srcdir)/../intl -I../intl -DLOCALEDIR=\"$(localedir)\" \
51 -DLIBRARY=\"$(datadir)/enscript\" -DSYSCONFDIR=\"$(sysconfdir)\"
52
53 INCLUDES_windelta = \
54 +-I../w32 \
55 --DLOCALEDIR=\"$(localedir)\" \
56 --DLIBRARY=\"$(datadir)/enscript\" \
57 --DSYSCONFDIR=\"$(sysconfdir)\" \
58 +-DLIBRARY=\"c:\\enscript\" \
59 +-DSYSCONFDIR=\"c:\\enscript\"
60
61 EXTRA_DIST = prt_dos.c ansi2knr.c ansi2knr.1
|