bsd_makefile revision 240b85022b73af58a6d971cd3d05d54037d8f682
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csascha#! /bin/sh
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csascha#
240b85022b73af58a6d971cd3d05d54037d8f682nd# Copyright 2000-2004 Apache Software Foundation
96e6cafca226a8a2a64a7bbdc634b5b2679c9e0csascha#
240b85022b73af58a6d971cd3d05d54037d8f682nd# Licensed under the Apache License, Version 2.0 (the "License");
240b85022b73af58a6d971cd3d05d54037d8f682nd# you may not use this file except in compliance with the License.
240b85022b73af58a6d971cd3d05d54037d8f682nd# 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