Release 1.6.5.1
[enscript.git] / src / Makefile.am
1 #
2 # Makefile for enscript.
3 # Copyright (c) 1995-2003 Markku Rossi
4 #
5 # Author: Markku Rossi <mtr@iki.fi>
6 #
7
8 #
9 # This file is part of GNU Enscript.
10 #
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.
15 #
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.
20 #
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/>.
23 #
24
25 AUTOMAKE_OPTIONS = ansi2knr
26
27 SUBDIRS = tests
28
29 bin_PROGRAMS = enscript mkafmmap
30
31 enscript_SOURCES = main.c psgen.c util.c prt_lpr.c
32
33 enscript_SOURCES_windelta = \
34         -prt_lpr.c      \
35         +prt_dos.c
36
37 mkafmmap_SOURCES = mkafmmap.c
38
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
42
43 noinst_HEADERS = gsint.h
44
45 localedir = $(prefix)/share/locale
46
47 INCLUDES = -I$(srcdir)/../compat -I$(srcdir)/../afmlib                  \
48 -I$(srcdir)/../intl -I../intl -DLOCALEDIR=\"$(localedir)\"              \
49 -DLIBRARY=\"$(datadir)/enscript\" -DSYSCONFDIR=\"$(sysconfdir)\"
50
51 INCLUDES_windelta = \
52         +-I../w32       \
53         --DLOCALEDIR=\"$(localedir)\"           \
54         --DLIBRARY=\"$(datadir)/enscript\"      \
55         --DSYSCONFDIR=\"$(sysconfdir)\"         \
56         +-DLIBRARY=\"c:\\enscript\"             \
57         +-DSYSCONFDIR=\"c:\\enscript\"
58
59 EXTRA_DIST = ChangeLog.old prt_dos.c ansi2knr.c ansi2knr.1