• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/gdb/gdb/testsuite/gdb.hp/gdb.base-hp/
1#!/bin/ksh
2
3# so-thresh.sh
4#
5# This script is a "wrapper" to use the so-thresh.mk
6# Makefile.  See the comments in so-thresh.exp
7# regarding why this script exists.
8
9#set -o xtrace
10#set -o verbose
11
12if [ "$srcdir" = "${srcdir#/}" ]
13then
14    srcdir="$PWD/$srcdir"
15fi
16
17if [ "$objdir" = "${objdir#/}" ]
18then
19    objdir="$PWD/$objdir"
20fi
21
22subdir="$1"
23
24HERE=$PWD
25cd $subdir
26
27MAKEFLAGS=
28make -f ${srcdir}/${subdir}/so-thresh.mk clean require_shlibs all SRCDIR=${srcdir}/${subdir} OBJDIR=${objdir}/${subdir} > ${objdir}/${subdir}/so-thresh.make.out 2>&1
29STATUS=$?
30
31cd $HERE
32echo "return STATUS is $STATUS"
33
34exit $STATUS
35