source: trunk/libs/newlib/src/libgloss/testsuite/configure.in @ 546

Last change on this file since 546 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 904 bytes
Line 
1# This file is a shell script fragment that supplies the information
2# necessary to tailor a template configure script into the configure
3# script appropriate for this directory.  For more information, check
4# any existing configure script.
5
6srctrigger=Makefile.in
7srcname="testing support"
8target_dependent=true
9
10# per-host:
11
12# This is basically a hack so that we don't have to replicate the same
13# defines in all the Makefiles.  We put a standard set of definitions
14# in host/any, and use them everywhere.
15
16host_makefile_frag=../config/default.mh
17
18# per-target:
19
20configdirs="libgloss.all"
21
22# post-target:
23
24objroot=`pwd | sed  -e 's@/[^/]*$@@' -e 's@/[^/]*$@@'`
25srcroot=`echo $srcdir | sed  -e 's@/[^/]*$@@' -e 's@/[^/]*$@@'`
26sed -e "s:^OBJROOT[     ]*=.*$:OBJROOT = ${objroot}:" -e "s:^SRCROOT[   ]*=.*$:SRCROOT = ${srcroot}:" \
27    ${Makefile} > Makefile.tem
28rm -f ${Makefile}
29mv Makefile.tem ${Makefile}
Note: See TracBrowser for help on using the repository browser.