Inlcude LIBICONV
[gnupg.git] / tools / Makefile.am
index 2a33a0a..4cb7e74 100644 (file)
@@ -1,20 +1,34 @@
-## Process this file with automake to produce Makefile.in
-
-INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/intl -I../intl
-needed_libs = ../cipher/libcipher.a  ../util/libutil.a \
-             ../mpi/libmpi.a ../util/libutil.a
-
-noinst_PROGRAMS = mpicalc bftest clean-sat
+# Copyright (C) 1998, 1999, 2000, 2001, 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
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
 
-mpicalc_SOURCES = mpicalc.c
-
-bftest_SOURCES = bftest.c
-
-clean_sat_SOURCES  = clean-sat.c
+## Process this file with automake to produce Makefile.in
 
+EXTRA_DIST = lspgpot ring-a-party mail-signed-keys convert-from-106
+INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/intl
+needed_libs = ../cipher/libcipher.a ../mpi/libmpi.a ../util/libutil.a 
+other_libs = $(LIBICONV) $(LIBINTL) $(CAPLIBS)
 
-mpicalc_LDADD = @INTLLIBS@  $(needed_libs)
-bftest_LDADD = @INTLLIBS@  $(needed_libs)
+bin_PROGRAMS    = gpgsplit
+noinst_PROGRAMS = mpicalc bftest clean-sat mk-tdata shmtest
 
-mpicalc bftest: $(needed_libs)
+gpgsplit_LDADD  = $(needed_libs) $(other_libs) @ZLIBS@
+mpicalc_LDADD   = $(needed_libs) $(other_libs) @W32LIBS@
+bftest_LDADD    = $(needed_libs) $(other_libs) @W32LIBS@ @DLLIBS@ @NETLIBS@
+shmtest_LDADD   = $(needed_libs) $(other_libs)
 
+gpgsplit mpicalc bftest shmtest: $(needed_libs)