1 # Copyright (C) 2006, 2007, 2008 Free Software Foundation
3 # Author: Simon Josefsson
5 # This file is part of GNUTLS.
7 # This file is free software; you can redistribute it and/or modify it
8 # under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 3 of the License, or
10 # (at your option) any later version.
12 # This file is distributed in the hope that it will be useful, but
13 # WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 # General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with this file; if not, write to the Free Software Foundation,
19 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 CFGFLAGS ?
= --enable-developer-mode
--enable-gtk-doc
23 INDENT_SOURCES
= `ls includes/gnutls/*.h{,.in} {lib,lib/x509,libextra,libextra/openpgp,src,tests}/*.{c,h} | grep -v -- -gaa`
25 ifeq ($(.DEFAULT_GOAL
),abort-due-to-no-makefile
)
26 .DEFAULT_GOAL
:= bootstrap
30 for f in po
/*.po.in
; do \
31 cp
$$f `echo $$f | sed 's/.in//'`; \
33 mv build-aux
/config.rpath build-aux
/config.rpath-
34 test -f .
/configure || autoreconf
--install
35 mv build-aux
/config.rpath- build-aux
/config.rpath
38 for f in
`ls po/*.po | grep -v quot.po`; do \
42 git-commit
-m
"Sync with TP." po
/LINGUAS po
/*.po.in
45 .
/configure
$(CFGFLAGS
)
47 LIBGCRYPTROOT ?
= $(HOME
)/w32root
50 .
/configure
$(CFGFLAGS
) --host
=i586-mingw32msvc
--build
=`./config.guess` --with-included-libtasn1
--with-included-opencdk
--with-libgcrypt-prefix
=$(LIBGCRYPTROOT
)
52 .PHONY
: bootstrap autoreconf mingw32