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