743ea1b7b30f30520045ef04a3475f4ec24be030sascha#! /bin/sh
743ea1b7b30f30520045ef04a3475f4ec24be030sascha#
031b91a62d25106ae69d4693475c79618dd5e884fielding# Licensed to the Apache Software Foundation (ASF) under one or more
031b91a62d25106ae69d4693475c79618dd5e884fielding# contributor license agreements. See the NOTICE file distributed with
031b91a62d25106ae69d4693475c79618dd5e884fielding# this work for additional information regarding copyright ownership.
031b91a62d25106ae69d4693475c79618dd5e884fielding# The ASF licenses this file to You under the Apache License, Version 2.0
031b91a62d25106ae69d4693475c79618dd5e884fielding# (the "License"); you may not use this file except in compliance with
031b91a62d25106ae69d4693475c79618dd5e884fielding# the License. You may obtain a copy of the License at
743ea1b7b30f30520045ef04a3475f4ec24be030sascha#
240b85022b73af58a6d971cd3d05d54037d8f682nd# http://www.apache.org/licenses/LICENSE-2.0
743ea1b7b30f30520045ef04a3475f4ec24be030sascha#
240b85022b73af58a6d971cd3d05d54037d8f682nd# Unless required by applicable law or agreed to in writing, software
240b85022b73af58a6d971cd3d05d54037d8f682nd# distributed under the License is distributed on an "AS IS" BASIS,
240b85022b73af58a6d971cd3d05d54037d8f682nd# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
240b85022b73af58a6d971cd3d05d54037d8f682nd# See the License for the specific language governing permissions and
240b85022b73af58a6d971cd3d05d54037d8f682nd# limitations under the License.
743ea1b7b30f30520045ef04a3475f4ec24be030sascha#
743ea1b7b30f30520045ef04a3475f4ec24be030sascha#
743ea1b7b30f30520045ef04a3475f4ec24be030sascha# The build environment was provided by Sascha Schumann.
743ea1b7b30f30520045ef04a3475f4ec24be030sascha
743ea1b7b30f30520045ef04a3475f4ec24be030sascha# cwd must be top_srcdir
743ea1b7b30f30520045ef04a3475f4ec24be030saschatest -f build/sysv_makefile || exit 2
743ea1b7b30f30520045ef04a3475f4ec24be030sascha
743ea1b7b30f30520045ef04a3475f4ec24be030saschatest -f bsd_converted || exit 1
743ea1b7b30f30520045ef04a3475f4ec24be030sascha
d959500c69e2205116ac8db9149055525725c574saschatmpfile=`mktemp /tmp/sysv_makefile.XXXXXX 2>/dev/null` || tmpfile="tmp.$$"
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