2003-06-05 07:14:21 +00:00
|
|
|
# Copyright (C) 1998, 1999, 2000, 2001, 2002,
|
2006-04-19 11:26:11 +00:00
|
|
|
# 2003, 2006 Free Software Foundation, Inc.
|
2003-06-05 07:14:21 +00: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
|
|
|
|
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
|
|
|
|
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
|
|
|
EXTRA_DIST = options.skel
|
2004-02-12 09:28:52 +00: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 15:46:01 +00:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/common \
|
|
|
|
-I$(top_srcdir)/include -I$(top_srcdir)/intl
|
2004-02-12 09:28:52 +00:00
|
|
|
|
|
|
|
include $(top_srcdir)/am/cmacros.am
|
|
|
|
|
2006-04-19 11:26:11 +00:00
|
|
|
AM_CFLAGS = $(LIBGCRYPT_CFLAGS) -Wno-pointer-sign
|
2004-02-12 09:28:52 +00: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 15:46:01 +00:00
|
|
|
needed_libs = ../gl/libgnu.a ../common/libcommon.a ../jnlib/libjnlib.a
|
2003-06-05 07:14:21 +00:00
|
|
|
|
2003-08-05 17:11:04 +00:00
|
|
|
bin_PROGRAMS = gpg2 gpgv2
|
2003-06-05 07:14:21 +00:00
|
|
|
|
|
|
|
common_source = \
|
2006-04-19 11:26:11 +00:00
|
|
|
gpg.h \
|
2003-06-05 07:14:21 +00:00
|
|
|
build-packet.c \
|
|
|
|
compress.c \
|
2006-04-19 11:26:11 +00:00
|
|
|
compress-bz2.c \
|
2003-06-05 07:14:21 +00:00
|
|
|
filter.h \
|
|
|
|
free-packet.c \
|
|
|
|
getkey.c \
|
|
|
|
keydb.c keydb.h \
|
|
|
|
keyring.c keyring.h \
|
|
|
|
seskey.c \
|
|
|
|
kbnode.c \
|
|
|
|
main.h \
|
|
|
|
mainproc.c \
|
|
|
|
armor.c \
|
|
|
|
mdfilter.c \
|
|
|
|
textfilter.c \
|
|
|
|
progress.c \
|
|
|
|
misc.c \
|
|
|
|
options.h \
|
|
|
|
openfile.c \
|
|
|
|
keyid.c \
|
|
|
|
packet.h \
|
|
|
|
parse-packet.c \
|
|
|
|
status.c \
|
|
|
|
status.h \
|
|
|
|
plaintext.c \
|
|
|
|
sig-check.c \
|
|
|
|
keylist.c \
|
2003-06-27 20:53:09 +00:00
|
|
|
pkglue.c pkglue.h
|
2003-06-05 07:14:21 +00:00
|
|
|
|
2006-04-19 11:26:11 +00:00
|
|
|
gpg2_SOURCES = gpg.c \
|
2003-06-05 07:14:21 +00:00
|
|
|
$(common_source) \
|
|
|
|
pkclist.c \
|
|
|
|
skclist.c \
|
|
|
|
pubkey-enc.c \
|
|
|
|
passphrase.c \
|
|
|
|
seckey-cert.c \
|
|
|
|
encr-data.c \
|
|
|
|
cipher.c \
|
|
|
|
encode.c \
|
|
|
|
sign.c \
|
|
|
|
verify.c \
|
|
|
|
revoke.c \
|
|
|
|
decrypt.c \
|
|
|
|
keyedit.c \
|
|
|
|
dearmor.c \
|
|
|
|
import.c \
|
|
|
|
export.c \
|
|
|
|
trustdb.c \
|
|
|
|
trustdb.h \
|
|
|
|
tdbdump.c \
|
|
|
|
tdbio.c \
|
|
|
|
tdbio.h \
|
|
|
|
delkey.c \
|
|
|
|
keygen.c \
|
|
|
|
helptext.c \
|
|
|
|
keyserver.c \
|
|
|
|
keyserver-internal.h \
|
|
|
|
photoid.c photoid.h \
|
2003-06-05 07:14:21 +00:00
|
|
|
call-agent.c call-agent.h \
|
2003-07-23 07:11:06 +00:00
|
|
|
card-util.c \
|
2003-06-05 07:14:21 +00:00
|
|
|
exec.c exec.h
|
|
|
|
|
2003-08-05 17:11:04 +00:00
|
|
|
gpgv2_SOURCES = gpgv.c \
|
2003-06-05 07:14:21 +00:00
|
|
|
$(common_source) \
|
|
|
|
verify.c
|
|
|
|
|
|
|
|
#gpgd_SOURCES = gpgd.c \
|
|
|
|
# ks-proto.h \
|
|
|
|
# ks-proto.c \
|
|
|
|
# ks-db.c \
|
|
|
|
# ks-db.h \
|
|
|
|
# $(common_source)
|
|
|
|
|
2006-05-23 16:19:43 +00:00
|
|
|
LDADD = $(needed_libs) $(ZLIBS) @LIBINTL@ @CAPLIBS@ @W32LIBS@
|
2003-08-05 17:11:04 +00:00
|
|
|
gpg2_LDADD = $(LIBGCRYPT_LIBS) $(LDADD) -lassuan -lgpg-error
|
|
|
|
gpgv2_LDADD = $(LIBGCRYPT_LIBS) $(LDADD) -lassuan -lgpg-error
|
2003-06-05 07:14:21 +00:00
|
|
|
|
|
|
|
$(PROGRAMS): $(needed_libs)
|
|
|
|
|
|
|
|
install-data-local:
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)
|
|
|
|
$(INSTALL_DATA) $(srcdir)/options.skel \
|
2004-08-31 07:57:33 +00:00
|
|
|
$(DESTDIR)$(pkgdatadir)/gpg-conf.skel
|
2003-08-05 17:11:04 +00:00
|
|
|
|