bsd_makefile revision 9e999cd1c94b59f75ed04184c1a4e521c6444d41
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson#! /bin/sh
7d32c065c7bb56f281651ae3dd2888f32ce4f1d9Bob Halley# ====================================================================
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# The Apache Software License, Version 1.1
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson#
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# Copyright (c) 2000 The Apache Software Foundation. All rights
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# reserved.
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson#
15a44745412679c30a6d022733925af70a38b715David Lawrence# Redistribution and use in source and binary forms, with or without
15a44745412679c30a6d022733925af70a38b715David Lawrence# modification, are permitted provided that the following conditions
15a44745412679c30a6d022733925af70a38b715David Lawrence# are met:
15a44745412679c30a6d022733925af70a38b715David Lawrence#
15a44745412679c30a6d022733925af70a38b715David Lawrence# 1. Redistributions of source code must retain the above copyright
15a44745412679c30a6d022733925af70a38b715David Lawrence# notice, this list of conditions and the following disclaimer.
15a44745412679c30a6d022733925af70a38b715David Lawrence#
15a44745412679c30a6d022733925af70a38b715David Lawrence# 2. Redistributions in binary form must reproduce the above copyright
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# notice, this list of conditions and the following disclaimer in
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# the documentation and/or other materials provided with the
15a44745412679c30a6d022733925af70a38b715David Lawrence# distribution.
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence#
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# 3. The end-user documentation included with the redistribution,
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# if any, must include the following acknowledgment:
3e14b69d196a3ebeecc4662c426344dcfd7db678Andreas Gustafsson# "This product includes software developed by the
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence# Apache Software Foundation (http://www.apache.org/)."
d8e34837cd6c88c42b3ecdb9107a43ecf8252e79David Lawrence# Alternately, this acknowledgment may appear in the software itself,
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence# if and wherever such third-party acknowledgments normally appear.
364a82f7c25b62967678027043425201a5e5171aBob Halley#
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# 4. The names "Apache" and "Apache Software Foundation" must
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence# not be used to endorse or promote products derived from this
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence# software without prior written permission. For written
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# permission, please contact apache@apache.org.
3e14b69d196a3ebeecc4662c426344dcfd7db678Andreas Gustafsson#
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence# 5. Products derived from this software may not be called "Apache",
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# nor may "Apache" appear in their name, without prior written
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# permission of the Apache Software Foundation.
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson#
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
1a69a1a78cfaa86f3b68bbc965232b7876d4da2aDavid Lawrence# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
600cfa2ba4c50017581b6c14e3a688a82ecebbe0David Lawrence# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
600cfa2ba4c50017581b6c14e3a688a82ecebbe0David Lawrence# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
600cfa2ba4c50017581b6c14e3a688a82ecebbe0David Lawrence# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# SUCH DAMAGE.
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# ====================================================================
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson#
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# This software consists of voluntary contributions made by many
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# individuals on behalf of the Apache Software Foundation. For more
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# information on the Apache Software Foundation, please see
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# <http://www.apache.org/>.
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson#
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# The build environment was provided by Sascha Schumann.
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson#
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson# cwd must be top_srcdir
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafssontest -f build/bsd_makefile || exit 2
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafssontest -f bsd_converted && exit 0
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafssontmpfile=`mktemp /tmp/bsd_makefile.XXXXXX` || exit 1
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafssonfor i in build/*.mk; do
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson sed 's/^include \(.*\)/.include "\1"/' $i >$tmpfile \
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson && cp $tmpfile $i
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafssondone
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafssonrm -f $tmpfile
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafssontouch bsd_converted
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafssonexit 0
5fc7ba3e1ac5d72239e9971e0f469dd5796738f9Andreas Gustafsson