1 # Copyright (C) 2006, 2007 Simon Josefsson.
3 # This file is part of GNU Libidn.
5 # GNU Libidn is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU Lesser General Public License as
7 # published by the Free Software Foundation; either version 2.1 of
8 # the License, or (at your option) any later version.
10 # GNU Libidn is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU Lesser General Public License for more details.
15 # You should have received a copy of the GNU Lesser General Public
16 # License along with GNU Libidn; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20 CFGFLAGS ?
= --enable-java
--enable-gtk-doc
22 ifeq ($(.DEFAULT_GOAL
),abort-due-to-no-makefile
)
23 .DEFAULT_GOAL
:= bootstrap
27 printf
"gdoc_MANS =\ngdoc_TEXINFOS =\n" > doc
/Makefile.gdoc
29 autoreconf
: doc
/Makefile.gdoc
30 test -f .
/configure || autoreconf
--install
31 mv build-aux
/config.rpath
{-,}
34 .
/configure
$(CFGFLAGS
)
36 W32ROOT ?
= $(HOME
)/w32root
39 .
/configure
--enable-gtk-doc
--host
=i586-mingw32msvc
--build
=`./config.guess` --prefix=$(W32ROOT
)