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