summaryrefslogtreecommitdiff
path: root/buildlib/ostable
blob: 983bda8af3b7b2c8e0115cfdcd9f90ef44f496fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# This file contains a table of known vendor-os strings, with
# things to map them to. `configure' will take the output of the
# autoconf cannon macros and look in here. This only deals with
# OS names. The right should be a common name like the arch table
# generates
# The final bit to build the Debian Architecture is done in init.cc
# The left side is a regex for awk, and the first match is used.

# These are used by Debian
[^-]*-linux-.*   linux
[^-]*-kfreebsd.*-gnu   freebsd
[^-]*-knetbsd.*-gnu   netbsd
[^-]*-gnu[^-]*   hurd

# These are samples. 
hp-hpux[^-]*	    hp-ux
sun-solaris[^-]*    solaris
[^-]*-openbsd[^-]*  openbsd

# Catch all
.*	unknown