Updating the ChangeLog file
[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 SUBDIRS = tests
26
27 bin_PROGRAMS = enscript mkafmmap
28
29 enscript_SOURCES = main.c psgen.c util.c prt_lpr.c
30
31 enscript_SOURCES_windelta = \
32         -prt_lpr.c      \
33         +prt_dos.c
34
35 mkafmmap_SOURCES = mkafmmap.c
36
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
40
41 noinst_HEADERS = gsint.h
42
43 localedir = $(datadir)/locale
44
45 INCLUDES = -I$(srcdir)/../compat -I$(srcdir)/../afmlib                  \
46 -I$(srcdir)/../intl -I../intl -DLOCALEDIR=\"$(localedir)\"              \
47 -DLIBRARY=\"$(datadir)/enscript\" -DSYSCONFDIR=\"$(sysconfdir)\"
48
49 INCLUDES_windelta = \
50         +-I../w32       \
51         --DLOCALEDIR=\"$(localedir)\"           \
52         --DLIBRARY=\"$(datadir)/enscript\"      \
53         --DSYSCONFDIR=\"$(sysconfdir)\"         \
54         +-DLIBRARY=\"c:\\enscript\"             \
55         +-DSYSCONFDIR=\"c:\\enscript\"
56
57 EXTRA_DIST = ChangeLog.old prt_dos.c