1 # Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
3 # This file is part of GnuPG.
5 # GnuPG is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3 of the License, or
8 # (at your option) any later version.
10 # GnuPG is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, see <https://www.gnu.org/licenses/>.
18 ## Process this file with automake to produce Makefile.in
20 EXTRA_DIST = ChangeLog-2011 gpgsm-w32info.rc
24 AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(KSBA_CFLAGS) $(LIBASSUAN_CFLAGS)
26 AM_CPPFLAGS = -I$(top_srcdir)/common -DKEYBOX_WITH_X509=1
27 include $(top_srcdir)/am/cmacros.am
30 resource_objs += gpgsm-w32info.o
58 passphrase.c passphrase.h
61 common_libs = ../kbx/libkeybox509.a $(libcommon)
63 gpgsm_LDADD = $(common_libs) ../common/libgpgrl.a \
64 $(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(LIBASSUAN_LIBS) \
65 $(GPG_ERROR_LIBS) $(LIBREADLINE) $(LIBINTL) \
66 $(LIBICONV) $(resource_objs) $(extra_sys_libs)
67 gpgsm_LDFLAGS = $(extra_bin_ldflags)
69 # Make sure that all libs are build before we use them. This is
70 # important for things like make -j2.
71 $(PROGRAMS): $(common_libs)