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 2 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, write to the Free Software
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
20 ## Process this file with automake to produce Makefile.in
25 AM_CFLAGS = $(LIBGCRYPT_CFLAGS) $(KSBA_CFLAGS) $(LIBASSUAN_CFLAGS)
27 AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_srcdir)/common -I$(top_srcdir)/intl
28 include $(top_srcdir)/am/cmacros.am
56 common_libs = ../jnlib/libjnlib.a ../kbx/libkeybox.a \
57 ../common/libcommon.a ../gl/libgnu.a
59 gpgsm_LDADD = $(common_libs) \
60 $(LIBGCRYPT_LIBS) $(KSBA_LIBS) $(LIBASSUAN_LIBS) \
61 $(GPG_ERROR_LIBS) $(LIBINTL) $(ZLIBS)
63 # Make sure that all libs are build before we use them. This is
64 # important for things like make -j2.
65 $(PROGRAMS): $(common_libs)