2003-08-05 17:11:04 +00: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
|
2007-07-04 19:49:40 +00:00
|
|
|
# the Free Software Foundation; either version 3 of the License, or
|
2003-08-05 17:11:04 +00:00
|
|
|
# (at your option) any later version.
|
2011-12-02 19:28:02 +01:00
|
|
|
#
|
2003-08-05 17:11:04 +00:00
|
|
|
# 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.
|
2011-12-02 19:28:02 +01:00
|
|
|
#
|
2003-08-05 17:11:04 +00:00
|
|
|
# You should have received a copy of the GNU General Public License
|
2007-07-04 19:49:40 +00:00
|
|
|
# along with this program; if not, see <http://www.gnu.org/licenses/>.
|
2003-08-05 17:11:04 +00:00
|
|
|
|
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
|
|
|
|
|
|
|
bin_PROGRAMS = gpgsm
|
|
|
|
|
2013-04-25 12:00:16 +01:00
|
|
|
EXTRA_DIST = ChangeLog-2011 gpgsm-w32info.rc
|
2011-12-02 19:28:02 +01:00
|
|
|
|
|
|
|
AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(KSBA_CFLAGS) $(LIBASSUAN_CFLAGS)
|
2004-02-12 09:29:42 +00:00
|
|
|
|
2011-12-02 19:28:02 +01:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/common -I$(top_srcdir)/intl
|
2004-02-12 09:29:42 +00:00
|
|
|
include $(top_srcdir)/am/cmacros.am
|
|
|
|
|
2013-04-25 12:00:16 +01:00
|
|
|
if HAVE_W32_SYSTEM
|
|
|
|
resource_objs += gpgsm-w32info.o
|
|
|
|
endif
|
2003-08-05 17:11:04 +00: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 19:07:06 +00:00
|
|
|
certreqgen.c \
|
2007-06-21 18:44:48 +00:00
|
|
|
certreqgen-ui.c \
|
2005-11-13 19:07:06 +00:00
|
|
|
qualified.c
|
2003-08-05 17:11:04 +00:00
|
|
|
|
|
|
|
|
2007-08-27 18:10:27 +00:00
|
|
|
common_libs = $(libcommon) ../kbx/libkeybox.a ../jnlib/libjnlib.a \
|
2007-07-05 20:11:11 +00:00
|
|
|
../gl/libgnu.a
|
2006-09-20 11:01:49 +00:00
|
|
|
|
2010-05-12 10:35:58 +00:00
|
|
|
gpgsm_LDADD = $(common_libs) ../common/libgpgrl.a $(NETLIBS) \
|
2006-10-17 14:34:42 +00:00
|
|
|
$(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(LIBASSUAN_LIBS) \
|
2013-04-25 12:00:16 +01:00
|
|
|
$(GPG_ERROR_LIBS) $(LIBREADLINE) $(LIBINTL) $(ZLIBS) \
|
|
|
|
$(LIBICONV) $(resource_objs)
|
2004-09-30 14:34:34 +00:00
|
|
|
|
2006-09-20 11:01:49 +00:00
|
|
|
# Make sure that all libs are build before we use them. This is
|
|
|
|
# important for things like make -j2.
|
|
|
|
$(PROGRAMS): $(common_libs)
|