Last change
on this file since 612 was
444,
checked in by satin@…, 6 years ago
|
add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc
|
File size:
1.5 KB
|
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 | |
---|
6 | srctrigger=io.c |
---|
7 | srcname="libgloss testsuite" |
---|
8 | target_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 except DOS, which is braindead. |
---|
15 | |
---|
16 | host_makefile_frag=../../config/default.mh |
---|
17 | case "${host}" in |
---|
18 | i[3456]86-*-go32) |
---|
19 | host_makefile_frag=../../config/dos.mh |
---|
20 | ;; |
---|
21 | esac |
---|
22 | |
---|
23 | # per-target: |
---|
24 | case "${target}" in |
---|
25 | m68*-unknown-*) |
---|
26 | target_makefile_frag=../config/m68k.mt |
---|
27 | ;; |
---|
28 | hppa*-*-pro*) |
---|
29 | target_makefile_frag=../config/hppa.mt |
---|
30 | ;; |
---|
31 | sparclite-*-*) |
---|
32 | target_makefile_frag=../config/sparcl.mt |
---|
33 | ;; |
---|
34 | mips*-*-*) |
---|
35 | target_makefile_frag=../config/mips.mt |
---|
36 | ;; |
---|
37 | esac |
---|
38 | |
---|
39 | # post-target: |
---|
40 | |
---|
41 | case ${srcdir} in |
---|
42 | .) |
---|
43 | ;; |
---|
44 | *) |
---|
45 | grep "source ${srcdir}/.gdbinit" .gdbinit >/dev/null 2>/dev/null || \ |
---|
46 | echo "source ${srcdir}/.gdbinit" >> .gdbinit |
---|
47 | esac |
---|
48 | |
---|
49 | objroot=`pwd | sed -e 's@/[^/]*$@@' -e 's@/[^/]*$@@' -e 's@/[^/]*$@@'` |
---|
50 | srcroot=`echo $srcdir | sed -e 's@/[^/]*$@@' -e 's@/[^/]*$@@' -e 's@/[^/]*$@@'` |
---|
51 | sed -e "s:^OBJROOT[ ]*=.*$:OBJROOT = ${objroot}:" -e "s:^SRCROOT[ ]*=.*$:SRCROOT = ${srcroot}:" \ |
---|
52 | ${Makefile} > Makefile.tem |
---|
53 | rm -f ${Makefile} |
---|
54 | mv Makefile.tem ${Makefile} |
---|
Note: See
TracBrowser
for help on using the repository browser.