summaryrefslogtreecommitdiff
path: root/src/pkg/os/user/Makefile
blob: 731f7999ace42ee68ceaa73a3b3fead6a035e8d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 2011 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

include ../../../Make.inc

TARG=os/user
GOFILES=\
	user.go\

ifneq ($(GOARCH),arm)
CGOFILES_linux=\
	lookup_unix.go
CGOFILES_freebsd=\
	lookup_unix.go
CGOFILES_darwin=\
	lookup_unix.go
endif

ifneq ($(CGOFILES_$(GOOS)),)
CGOFILES+=$(CGOFILES_$(GOOS))
else
GOFILES+=lookup_stubs.go
endif

include ../../../Make.pkg