96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csascha#! /bin/sh
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csascha#
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
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csascha#
240b85022b73af58a6d971cd3d05d54037d8f682nd# http://www.apache.org/licenses/LICENSE-2.0
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csascha#
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.
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csascha#
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csascha#
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csascha# The build environment was provided by Sascha Schumann.
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csascha
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csascha# cwd must be top_srcdir
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csaschatest -f build/bsd_makefile || exit 2
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csascha
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csaschatest -f bsd_converted && exit 0
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csascha
d959500c69e2205116ac8db9149055525725c574saschatmpfile=`mktemp /tmp/bsd_makefile.XXXXXX 2>/dev/null` || tmpfile="tmp.$$"
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csaschafor i in build/*.mk; do
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csascha sed 's/^include \(.*\)/.include "\1"/' $i >$tmpfile \
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csascha && cp $tmpfile $i
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csaschadone
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csascharm -f $tmpfile
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csascha
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csaschatouch bsd_converted
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csaschaexit 0