c6ea68696dc1e6d8a7ed841392c76895711aa098
[enscript.git] / compat / Makefile.am
1 #
2 # Makefile template for the compat libaray.
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 # 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.
25 #
26
27 AUTOMAKE_OPTIONS = no-dependencies
28
29 noinst_LIBRARIES = libcompat.a
30 libcompat_a_SOURCES = getopt.c getopt1.c xalloc.c regex.c
31 libcompat_a_LIBADD = @LIBOBJS@ @ALLOCA@
32 libcompat_a_DEPENDENCIES = @LIBOBJS@ @ALLOCA@
33
34 libcompat_a_SOURCES_windelta =  \
35         +../w32/gethostname.c   \
36         +../w32/getpwd.c        \
37         +../w32/getuid.c
38
39 noinst_HEADERS = getopt.h regex.h xalloc.h
40
41 EXTRA_DIST = strerror.c memmove.c memcpy.c strtol.c strtoul.c
42
43 INCLUDES = -I$(srcdir)/../intl -I../intl
44
45 INCLUDES_windelta = +-I../w32