2002-10-19 07:55:27 +00:00
|
|
|
# Makefile.am - main makefile for NewPG/GnuPG
|
|
|
|
# Copyright (C) 2001 Free Software Foundation, Inc.
|
|
|
|
#
|
2002-06-29 14:15:02 +00:00
|
|
|
# This file is part of GnuPG.
|
2002-10-19 07:55:27 +00:00
|
|
|
#
|
2002-06-29 14:15:02 +00:00
|
|
|
# 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
|
|
|
|
|
1997-11-18 14:06:00 +00:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2003-04-29 10:37:24 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2003-12-23 11:05:19 +00:00
|
|
|
EXTRA_DIST = scripts/config.rpath autogen.sh README.CVS
|
2003-07-31 15:45:11 +00:00
|
|
|
DISTCLEANFILES = g10defs.h
|
2002-10-19 07:55:27 +00:00
|
|
|
|
2004-07-20 18:41:49 +00:00
|
|
|
if BUILD_GPGSM
|
|
|
|
kbx = kbx
|
|
|
|
else
|
|
|
|
kbx =
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
2003-06-05 07:14:21 +00:00
|
|
|
if BUILD_GPG
|
|
|
|
gpg = g10
|
|
|
|
else
|
|
|
|
gpg =
|
|
|
|
endif
|
2002-10-19 07:55:27 +00:00
|
|
|
if BUILD_GPGSM
|
|
|
|
sm = sm
|
1999-09-17 10:58:20 +00:00
|
|
|
else
|
2002-10-19 07:55:27 +00:00
|
|
|
sm =
|
|
|
|
endif
|
|
|
|
if BUILD_AGENT
|
|
|
|
agent = agent
|
|
|
|
else
|
|
|
|
agent =
|
|
|
|
endif
|
|
|
|
if BUILD_SCDAEMON
|
|
|
|
scd = scd
|
|
|
|
else
|
|
|
|
scd =
|
1999-09-17 10:58:20 +00:00
|
|
|
endif
|
|
|
|
|
2004-07-20 18:41:49 +00:00
|
|
|
SUBDIRS = m4 intl jnlib common ${kbx} \
|
2003-12-23 11:05:19 +00:00
|
|
|
${gpg} ${sm} ${agent} ${scd} tools po doc tests
|
1998-10-17 14:47:14 +00:00
|
|
|
|
2002-10-19 07:55:27 +00:00
|
|
|
dist-hook:
|
2003-07-04 09:40:19 +00:00
|
|
|
@set -e; \
|
|
|
|
for file in `cd $(top_srcdir); \
|
|
|
|
find scripts include -type f -name distfiles`; do \
|
|
|
|
dir=`dirname $$file` ; $(mkinstalldirs) $(distdir)/$$dir ; \
|
|
|
|
for i in distfiles `cat $(top_srcdir)/$$file` ; do \
|
|
|
|
ln $(top_srcdir)/$$dir/$$i $(distdir)/$$dir/$$i 2> /dev/null \
|
|
|
|
|| cp -p $(top_srcdir)/$$dir/$$i $(distdir)/$$dir/$$i; \
|
|
|
|
done ; \
|
|
|
|
done
|
|
|
|
echo "$(VERSION)" > $(distdir)/VERSION
|
|
|
|
|
2002-06-29 14:15:02 +00:00
|
|
|
|
2003-06-05 07:14:21 +00:00
|
|
|
|