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