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