2003-08-05 19:11:04 +02:00
|
|
|
# Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
|
|
|
|
#
|
|
|
|
# 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
|
2006-06-20 19:21:37 +02:00
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
|
|
|
|
# USA.
|
2003-08-05 19:11:04 +02:00
|
|
|
|
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
|
|
|
|
|
|
|
bin_PROGRAMS = gpgsm
|
|
|
|
|
2005-04-21 09:16:41 +02:00
|
|
|
AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(LIBASSUAN_CFLAGS) $(KSBA_CFLAGS) \
|
|
|
|
$(PTH_CFLAGS)
|
2004-02-12 10:29:42 +01:00
|
|
|
|
* configure.ac (gl_INIT): Add gnulib stuff.
(fseeko, ftello, ttyname, isascii): Replaced the AC_REPLACE_FUNCS
by a simple check.
(putc_unlocked): Removed check. Not used.
(strsep, mkdtemp, asprintf): Replaced checks by gnulib checks.
(xsize): Added will probably come handy soon.
(CFLAGS): Use -Wformat-security instead of
-Wformat-nonliteral. Add --Wno-format-y2k.
* gl/, gl/m4/: New.
* gpg-agent.c: Include setenv.h.
* Makefile.am (AM_CPPFLAGS): Added.
* util.h: Add some includes for gnulib.
(ttyname, isascii): Define them inline.
* fseeko.c, ftello.c: Removed.
* strsep.c, mkdtemp.c: Removed.
* ttyname.c, isascii.c: Removed.
* mkdtemp.c: Removed.
* exec.c: Include mkdtemp.h
* keybox-file.c (ftello) [!HAVE_FSEEKO]: New replacement
function. Copied from ../common/ftello.c.
* keybox-update.c (fseeko) [!HAVE_FSEEKO]: New replacement
function. Copied from ../common/iobuf.c.
* scdaemon.c: Include mkdtemp.h.
* misc.c: Include setenv.h.
* symcryptrun.c: Include mkdtemp.h.
2005-06-01 17:46:01 +02:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/common -I$(top_srcdir)/intl
|
2004-02-12 10:29:42 +01:00
|
|
|
include $(top_srcdir)/am/cmacros.am
|
|
|
|
|
2003-08-05 19:11:04 +02:00
|
|
|
|
|
|
|
gpgsm_SOURCES = \
|
|
|
|
gpgsm.c gpgsm.h \
|
|
|
|
misc.c \
|
|
|
|
keydb.c keydb.h \
|
|
|
|
server.c \
|
|
|
|
call-agent.c \
|
|
|
|
call-dirmngr.c \
|
|
|
|
fingerprint.c \
|
|
|
|
base64.c \
|
|
|
|
certlist.c \
|
|
|
|
certdump.c \
|
|
|
|
certcheck.c \
|
|
|
|
certchain.c \
|
|
|
|
keylist.c \
|
|
|
|
verify.c \
|
|
|
|
sign.c \
|
|
|
|
encrypt.c \
|
|
|
|
decrypt.c \
|
|
|
|
import.c \
|
|
|
|
export.c \
|
|
|
|
delete.c \
|
2005-11-13 20:07:06 +01:00
|
|
|
certreqgen.c \
|
|
|
|
qualified.c
|
2003-08-05 19:11:04 +02:00
|
|
|
|
|
|
|
|
2005-10-08 02:13:27 +02:00
|
|
|
gpgsm_LDADD = ../jnlib/libjnlib.a ../kbx/libkeybox.a \
|
|
|
|
../common/libcommon.a ../gl/libgnu.a \
|
2004-12-15 15:15:54 +01:00
|
|
|
$(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(LIBASSUAN_LIBS) -lgpg-error \
|
2006-05-23 18:19:43 +02:00
|
|
|
$(LIBINTL) $(PTH_LIBS) $(ZLIBS)
|
2004-09-30 16:34:34 +02:00
|
|
|
|
|
|
|
|