~ubuntu-branches/ubuntu/oneiric/dejagnu/oneiric

« back to all changes in this revision

Viewing changes to site.tmpl

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Jacobowitz
  • Date: 2006-12-11 09:06:59 UTC
  • mfrom: (2.1.6 edgy)
  • Revision ID: james.westby@ubuntu.com-20061211090659-w586kgi3giz84053
Tags: 1.4.4.cvs20060709-3
* Acknowledge previous NMUs.
* Fix permissions on /usr/share/dejagnu when building without fakeroot
  (Closes: #392589, #379809).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# site.tmpl -- Sample template for a global config file.
3
 
#           NOTE: This file contains mostly site specific
4
 
#                 configuration data that is custom to Cygnus
5
 
#                 Support. You'll have to change most of the
6
 
#                 values to work at your site.
7
 
#           Written by manson@cygnus.com
8
 
#
9
 
 
10
 
#
11
 
# transform -- transform a tool name to get the installed name. We only define
12
 
#              this if there wasn't one. This was the global config file can
13
 
#              override how the tool names are calculated.
14
 
#
15
 
 
16
 
#
17
 
# uncomment this if you wish to redefine the transform procedure
18
 
#
19
 
 
20
 
#if ![string match "transform" [info procs transform]] then {
21
 
#        proc transform { name } {
22
 
#       global target_triplet
23
 
#       
24
 
#       if [string match "" $target_triplet] then {
25
 
#           return $name
26
 
#       } else {
27
 
#           return ${target_triplet}-$name
28
 
#       }
29
 
#    }
30
 
#}
31
 
 
32
 
#
 
1
# site.tmpl -- Sample template for a global config file. -*- Tcl -*-
 
2
# Written by Bob Manson <manson@cygnus.com>
 
3
#
 
4
# NOTE: This file contains mostly site specific configuration data
 
5
# that is custom to Cygnus Support. You'll have to change most of the
 
6
# values to work at your site.
 
7
 
 
8
# transform -- transform a tool name to get the installed name. We
 
9
# only define this if there wasn't one. This was the global config
 
10
# file can override how the tool names are calculated.
 
11
 
 
12
# Uncomment this if you wish to redefine the transform procedure.
 
13
#
 
14
# if ![string match "transform" [info procs transform]] then {
 
15
#     proc transform {name} {
 
16
#       global target_triplet
 
17
#       if [string match "" $target_triplet] then {
 
18
#           return $name
 
19
#       } else {
 
20
#           return ${target_triplet}-$name
 
21
#       }
 
22
#     }
 
23
# }
 
24
 
33
25
# Set a default target list for various target triplets.
34
 
#
 
26
 
35
27
case "$target_triplet" in {
36
28
    { "hppa*-*-proelf*" } {
37
29
        set target_list { winbond }
39
31
    { "i386-*-aout" } {
40
32
        set target_list { i386-aout }
41
33
    }
42
 
    { "m68k-mvme135-*" } {     # Motorola MVME135 board running Bug monitor
 
34
    { "m68k-mvme135-*" } {
 
35
        # Motorola MVME135 board running Bug monitor
43
36
        set target_list  { "mvme135-bug" }
44
 
     }
45
 
    { "m68k-idp-*" "m68k-rom68k-*" } {      # Motorola IDP board running rom68k monitor
 
37
    }
 
38
    { "m68k-idp-*" "m68k-rom68k-*" } {
 
39
        # Motorola IDP board running rom68k monitor
46
40
        set target_list "bozo"
47
 
     }
 
41
    }
48
42
}