2002-10-19 09:55:27 +02:00
|
|
|
# Makefile.am - main makefile for NewPG/GnuPG
|
|
|
|
# Copyright (C) 2001 Free Software Foundation, Inc.
|
|
|
|
#
|
2002-06-29 16:15:02 +02:00
|
|
|
# This file is part of GnuPG.
|
2002-10-19 09:55:27 +02:00
|
|
|
#
|
2002-06-29 16:15:02 +02: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 15:06:00 +01:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2003-04-29 12:37:24 +02:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
|
|
|
|
2003-08-05 19:20:18 +02:00
|
|
|
EXTRA_DIST = scripts/config.rpath autogen.sh README-alpha
|
2003-07-31 17:45:11 +02:00
|
|
|
DISTCLEANFILES = g10defs.h
|
2002-10-19 09:55:27 +02:00
|
|
|
|
2003-06-05 09:14:21 +02:00
|
|
|
if BUILD_GPG
|
|
|
|
gpg = g10
|
|
|
|
else
|
|
|
|
gpg =
|
|
|
|
endif
|
2002-10-19 09:55:27 +02:00
|
|
|
if BUILD_GPGSM
|
|
|
|
sm = sm
|
1999-09-17 12:58:20 +02:00
|
|
|
else
|
2002-10-19 09:55:27 +02:00
|
|
|
sm =
|
|
|
|
endif
|
|
|
|
if BUILD_AGENT
|
|
|
|
agent = agent
|
|
|
|
else
|
|
|
|
agent =
|
|
|
|
endif
|
|
|
|
if BUILD_SCDAEMON
|
|
|
|
scd = scd
|
|
|
|
else
|
|
|
|
scd =
|
1999-09-17 12:58:20 +02:00
|
|
|
endif
|
|
|
|
|
2003-07-04 11:40:19 +02:00
|
|
|
SUBDIRS = m4 intl jnlib common kbx \
|
2003-07-31 17:45:11 +02:00
|
|
|
${gpg} ${sm} ${agent} ${scd} po doc
|
|
|
|
|
|
|
|
#tests
|
2003-07-04 11:40:19 +02:00
|
|
|
|
1998-02-18 19:52:59 +01:00
|
|
|
|
1998-10-17 16:47:14 +02:00
|
|
|
|
2002-10-19 09:55:27 +02:00
|
|
|
dist-hook:
|
2003-07-04 11:40:19 +02: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 16:15:02 +02:00
|
|
|
|
2003-06-05 09:14:21 +02:00
|
|
|
|