summaryrefslogtreecommitdiff
path: root/src/pkg/exec/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/exec/Makefile')
-rw-r--r--src/pkg/exec/Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/pkg/exec/Makefile b/src/pkg/exec/Makefile
index 9d88b8d8a..262ecac85 100644
--- a/src/pkg/exec/Makefile
+++ b/src/pkg/exec/Makefile
@@ -2,10 +2,24 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
-include ../../Make.$(GOARCH)
+include ../../Make.inc
TARG=exec
GOFILES=\
exec.go\
+GOFILES_freebsd=\
+ lp_unix.go\
+
+GOFILES_darwin=\
+ lp_unix.go\
+
+GOFILES_linux=\
+ lp_unix.go\
+
+GOFILES_windows=\
+ lp_windows.go\
+
+GOFILES+=$(GOFILES_$(GOOS))
+
include ../../Make.pkg