1 # Copyright (C) 2006, 2007 Simon Josefsson.
3 # This file is part of GNU SASL Library.
5 # GNU SASL Library is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Lesser General Public License
7 # as published by the Free Software Foundation; either version 2.1 of
8 # the License, or (at your option) any later version.
10 # GNU SASL Library 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 GNU
13 # 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 SASL Library; if not, write to the Free
17 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20 ifeq ($(.DEFAULT_GOAL
),abort-due-to-no-makefile
)
21 .DEFAULT_GOAL
:= bootstrap
25 test -f .
/configure || autoreconf
--install
26 mv build-aux
/config.rpath
{-,}
29 .
/configure
$(CFGFLAGS
)
31 W32ROOT ?
= $(HOME
)/w32root
34 .
/configure
$(CFGFLAGS
) --host
=i586-mingw32msvc
--build
=`./config.guess` --prefix=$(W32ROOT
)