-
-#if COMPILE_LIBGCRYPT
-#gcrypt = gcrypt
-#my_clean_gcrypt =
-#else
-#gcrypt =
-#my_clean_gcrypt = gcrypt/Makefile
-#endif
-
-gcrypt = gcrypt
-my_clean_gcrypt =
-
-if CROSS_COMPILING
-checks =
-else
-checks = checks
-endif
-
-if COMPILE_AGENT
-agent = agent
-else
-agent =
-endif
-
-SUBDIRS = intl zlib jnlib util mpi cipher ${gcrypt} g10 po tools \
- ${agent} doc ${checks}
-EXTRA_DIST = README-alpha VERSION PROJECTS BUGS
-# gettext never gets it right, so we take here care of deleting the
-# symlink. my_clean_gcrypt is just a kludge until we can include
-# libgcrypt.
-DISTCLEANFILES = gnupg-defs.h intl/libintl.h ${my_clean_gcrypt}
-
+# Copyright (C) 1992, 1999, 2000, 2002 Free Software Foundation, Inc.
+#
+# This file is part of Libgcrypt.
+#
+# Libgcrypt is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of
+# the License, or (at your option) any later version.
+#
+# Libgcrypt 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 Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser 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
+
+
+DIST_SUBDIRS = mpi cipher src doc tests w32-dll
+SUBDIRS = mpi cipher src doc tests
+EXTRA_DIST = README-alpha BUGS autogen.sh COPYING.DOC
+DISTCLEANFILES = gcrypt-defs.h
+
+
+# Add all the files listed in "distfiles" files to the distribution,
+# apply version number s to some files and create a VERSION file which
+# we need for the Prereq: patch file trick.