aboutsummaryrefslogtreecommitdiff
path: root/libgo/Makefile.am
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2011-01-28 01:44:55 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2011-01-28 01:44:55 +0000
commit51677e03380ffa8b7325c61bed33cbaa659a9a5f (patch)
treee9a6ef2e43d92df415dcfed91d04d672ba58e3b2 /libgo/Makefile.am
parent00472076856c3816104cf9a72130590ec24201d7 (diff)
downloadgcc-51677e03380ffa8b7325c61bed33cbaa659a9a5f.zip
gcc-51677e03380ffa8b7325c61bed33cbaa659a9a5f.tar.gz
gcc-51677e03380ffa8b7325c61bed33cbaa659a9a5f.tar.bz2
Add Solaris version of os.Hostname.
From-SVN: r169350
Diffstat (limited to 'libgo/Makefile.am')
-rw-r--r--libgo/Makefile.am16
1 files changed, 15 insertions, 1 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am
index dd17fff..2faabfc 100644
--- a/libgo/Makefile.am
+++ b/libgo/Makefile.am
@@ -657,6 +657,20 @@ go_netchan_files = \
go/netchan/export.go \
go/netchan/import.go
+if LIBGO_IS_LINUX
+go_os_sys_file = go/os/sys_linux.go
+else
+if LIBGO_IS_SOLARIS
+go_os_sys_file = go/os/sys_uname.go
+else
+if LIBGO_IS_RTEMS
+go_os_sys_file = go/os/sys_uname.go
+else
+go_os_sys_file = go/os/sys_bsd.go
+endif
+endif
+endif
+
go_os_files = \
go/os/dir.go \
go/os/env.go \
@@ -669,7 +683,7 @@ go_os_files = \
go/os/path.go \
go/os/proc.go \
go/os/stat.go \
- go/os/sys_linux.go \
+ $(go_os_sys_file) \
go/os/time.go \
go/os/types.go