sysv_makefile revision a2652f3451528565db1f85db6953fc30799d7ead
2307N/A#! /bin/sh
2362N/A#
2307N/A# Copyright 2000-2006 The Apache Software Foundation or its licensors, as
2307N/A# applicable.
2307N/A#
2307N/A# Licensed under the Apache License, Version 2.0 (the "License");
2307N/A# you may not use this file except in compliance with the License.
2307N/A# You may obtain a copy of the License at
2307N/A#
2307N/A# http://www.apache.org/licenses/LICENSE-2.0
2307N/A#
2307N/A# Unless required by applicable law or agreed to in writing, software
2307N/A# distributed under the License is distributed on an "AS IS" BASIS,
2307N/A# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2307N/A# See the License for the specific language governing permissions and
2307N/A# limitations under the License.
2307N/A#
2307N/A#
2362N/A# The build environment was provided by Sascha Schumann.
2362N/A
2362N/A# cwd must be top_srcdir
2307N/Atest -f build/sysv_makefile || exit 2
2307N/A
2307N/Atest -f bsd_converted || exit 1
2307N/A
2307N/Atmpfile=`mktemp /tmp/sysv_makefile.XXXXXX 2>/dev/null` || tmpfile="tmp.$$"
2307N/Afor i in build/*.mk; do
2307N/A sed 's/^\.include "\(.*\)"/include \1/' $i >$tmpfile \
2307N/A && cp $tmpfile $i
2307N/Adone
2307N/Arm -f $tmpfile
2307N/A
2307N/Arm bsd_converted
2307N/Aexit 0
2307N/A