2005-04-05 19:09:13 +02:00
|
|
|
# Copyright (C) 1998, 1999, 2000, 2001, 2005 Free Software Foundation, Inc.
|
2002-06-29 15:46:34 +02:00
|
|
|
#
|
|
|
|
# This file is part of GnuPG.
|
|
|
|
#
|
|
|
|
# GnuPG is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; either version 2 of the License, or
|
|
|
|
# (at your option) any later version.
|
|
|
|
#
|
|
|
|
# GnuPG is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
2005-05-31 10:39:18 +02:00
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
2002-06-29 15:46:34 +02:00
|
|
|
|
1997-11-18 15:06:00 +01:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2002-06-29 15:46:34 +02:00
|
|
|
INCLUDES = -I.. -I$(top_srcdir)/include -I$(top_srcdir)/intl
|
1997-11-18 15:06:00 +01:00
|
|
|
|
2000-12-19 19:28:36 +01:00
|
|
|
noinst_LIBRARIES = libutil.a
|
1997-11-18 15:06:00 +01:00
|
|
|
|
2005-04-05 19:09:13 +02:00
|
|
|
EXTRA_libutil_a_SOURCES = regcomp.c regex.c regexec.c regex_internal.c \
|
|
|
|
regex_internal.h
|
|
|
|
|
|
|
|
# We build the assuan support only if it has been requested.
|
|
|
|
if ENABLE_AGENT_SUPPORT
|
|
|
|
assuan_source = assuan-buffer.c assuan-client.c assuan-defs.h \
|
|
|
|
assuan-errors.c assuan-logging.c assuan-socket-connect.c \
|
|
|
|
assuan-connect.c assuan-socket.c assuan-util.c
|
|
|
|
else
|
|
|
|
assuan_source =
|
|
|
|
endif
|
|
|
|
|
2002-06-29 15:46:34 +02:00
|
|
|
|
|
|
|
#libutil_a_LDFLAGS =
|
2003-12-30 01:50:32 +01:00
|
|
|
libutil_a_SOURCES = logger.c fileutil.c miscutil.c strgutil.c \
|
2002-06-29 15:46:34 +02:00
|
|
|
ttyio.c argparse.c memory.c secmem.c errors.c iobuf.c \
|
2005-07-28 20:59:36 +02:00
|
|
|
dotlock.c http.c srv.h srv.c pka.c simple-gettext.c \
|
2005-05-21 16:04:32 +02:00
|
|
|
membuf.c w32reg.c $(assuan_source)
|
1997-11-18 15:06:00 +01:00
|
|
|
|
2004-02-20 16:10:36 +01:00
|
|
|
libutil_a_DEPENDENCIES = @LIBOBJS@ @REGEX_O@
|
|
|
|
# LIBOBJS is for the replacement functions
|
|
|
|
libutil_a_LIBADD = @LIBOBJS@ @REGEX_O@
|
1997-11-18 15:06:00 +01:00
|
|
|
|
1999-01-16 09:29:29 +01:00
|
|
|
http-test: http.c
|
2005-07-28 20:59:36 +02:00
|
|
|
cc -DHAVE_CONFIG_H -I. -I. -I.. $(INCLUDES) $(LDFLAGS) -g -Wall \
|
2003-10-25 18:28:15 +02:00
|
|
|
-DTEST -o http-test http.c libutil.a @LIBINTL@ @SRVLIBS@ @CAPLIBS@
|
1997-11-18 15:06:00 +01:00
|
|
|
|
2003-03-11 23:04:53 +01:00
|
|
|
srv-test: srv.c
|
2005-07-28 20:59:36 +02:00
|
|
|
cc -DHAVE_CONFIG_H -I. -I. -I.. $(INCLUDES) $(LDFLAGS) -g -Wall \
|
2003-10-25 18:28:15 +02:00
|
|
|
-DTEST -o srv-test srv.c libutil.a @LIBINTL@ @SRVLIBS@ @CAPLIBS@
|
2005-07-28 20:59:36 +02:00
|
|
|
|
|
|
|
pka-test: pka.c
|
|
|
|
cc -DHAVE_CONFIG_H -I. -I. -I.. $(INCLUDES) $(LDFLAGS) -g -Wall \
|
|
|
|
-DTEST -o pka-test pka.c libutil.a @LIBINTL@ @SRVLIBS@ @CAPLIBS@
|
|
|
|
|