summaryrefslogtreecommitdiff
path: root/src/lib9/Makefile
diff options
context:
space:
mode:
authorHector Chu <hectorchu@gmail.com>2009-11-30 11:53:11 -0800
committerHector Chu <hectorchu@gmail.com>2009-11-30 11:53:11 -0800
commit24dff2fa7785801a25f1fcac53313e83ae61201b (patch)
tree7ac62e529fdf4675e7449e7171ed7cc0a573e517 /src/lib9/Makefile
parent0106c26c2d751926fc223eee01e6fac8e2b0b1d4 (diff)
downloadgo-24dff2fa7785801a25f1fcac53313e83ae61201b.tar.gz
Ports of lib9, libbio and libmach to Windows.
R=rsc http://codereview.appspot.com/157159 Committer: Russ Cox <rsc@golang.org>
Diffstat (limited to 'src/lib9/Makefile')
-rw-r--r--src/lib9/Makefile20
1 files changed, 14 insertions, 6 deletions
diff --git a/src/lib9/Makefile b/src/lib9/Makefile
index 6f0739d2c..9038730b1 100644
--- a/src/lib9/Makefile
+++ b/src/lib9/Makefile
@@ -54,7 +54,6 @@ LIB9OFILES=\
_exits.$O\
argv0.$O\
atoi.$O\
- await.$O\
cleanname.$O\
create.$O\
dirfstat.$O\
@@ -69,23 +68,32 @@ LIB9OFILES=\
exits.$O\
getenv.$O\
getfields.$O\
- getuser.$O\
getwd.$O\
- jmp.$O\
main.$O\
nan.$O\
- notify.$O\
nulldir.$O\
open.$O\
- pipe.$O\
readn.$O\
- rfork.$O\
seek.$O\
strecpy.$O\
sysfatal.$O\
time.$O\
tokenize.$O\
+ifeq ($(GOOS),mingw)
+LIB9OFILES+=\
+ win32.$O\
+
+else
+LIB9OFILES+=\
+ await.$O\
+ getuser.$O\
+ jmp.$O\
+ notify.$O\
+ rfork.$O\
+
+endif
+
OFILES=\
$(LIB9OFILES)\
$(FMTOFILES)\