summaryrefslogtreecommitdiff
path: root/sys/src/ape/lib/ap/plan9/mkfile
diff options
context:
space:
mode:
authorTaru Karttunen <taruti@taruti.net>2011-03-30 15:46:40 +0300
committerTaru Karttunen <taruti@taruti.net>2011-03-30 15:46:40 +0300
commite5888a1ffdae813d7575f5fb02275c6bb07e5199 (patch)
treed8d51eac403f07814b9e936eed0c9a79195e2450 /sys/src/ape/lib/ap/plan9/mkfile
Import sources from 2011-03-30 iso image
Diffstat (limited to 'sys/src/ape/lib/ap/plan9/mkfile')
-rwxr-xr-xsys/src/ape/lib/ap/plan9/mkfile110
1 files changed, 110 insertions, 0 deletions
diff --git a/sys/src/ape/lib/ap/plan9/mkfile b/sys/src/ape/lib/ap/plan9/mkfile
new file mode 100755
index 000000000..502d00f8b
--- /dev/null
+++ b/sys/src/ape/lib/ap/plan9/mkfile
@@ -0,0 +1,110 @@
+APE=/sys/src/ape
+<$APE/config
+LIB=/$objtype/lib/ape/libap.a
+OFILES=\
+ _buf.$O\
+ _dirconv.$O\
+ _envsetup.$O\
+ _errno.$O\
+ _exit.$O\
+ _fdinfo.$O\
+ _getpw.$O\
+ _nap.$O\
+ 9mallocz.$O\
+ 9iounit.$O\
+ 9read.$O\
+ 9readn.$O\
+ 9wait.$O\
+ 9write.$O\
+ access.$O\
+ alarm.$O\
+ brk.$O\
+ cfgetospeed.$O\
+ chdir.$O\
+ chmod.$O\
+ chown.$O\
+ close.$O\
+ convM2D.$O\
+ convD2M.$O\
+ creat.$O\
+ ctermid.$O\
+ ctime.$O\
+ cuserid.$O\
+ dirread.$O\
+ dirstat.$O\
+ dirtostat.$O\
+ dup.$O\
+ execl.$O\
+ execle.$O\
+ execlp.$O\
+ execv.$O\
+ execve.$O\
+ execvp.$O\
+ fcntl.$O\
+ fork.$O\
+ frexp.$O\
+ fstat.$O\
+ fsync.$O\
+ ftruncate.$O\
+ getcwd.$O\
+ getgid.$O\
+ getgrgid.$O\
+ getgrnam.$O\
+ getgroups.$O\
+ getlogin.$O\
+ getpgrp.$O\
+ getpid.$O\
+ getppid.$O\
+ getpwnam.$O\
+ getpwuid.$O\
+ getuid.$O\
+ isatty.$O\
+ kill.$O\
+ link.$O\
+ lseek.$O\
+ malloc.$O\
+ mkdir.$O\
+ nan.$O\
+ open.$O\
+ opendir.$O\
+ pause.$O\
+ pipe.$O\
+ profile.$O\
+ qlock.$O\
+ read.$O\
+ rename.$O\
+ rmdir.$O\
+ setgid.$O\
+ setpgid.$O\
+ setsid.$O\
+ setuid.$O\
+ signal.$O\
+ sigpending.$O\
+ sigprocmask.$O\
+ sigsuspend.$O\
+ sleep.$O\
+ sqrt.$O\
+ stat.$O\
+ system.$O\
+ tcgetattr.$O\
+ time.$O\
+ times.$O\
+ tmpfile.$O\
+ ttyname.$O\
+ umask.$O\
+ uname.$O\
+ unlink.$O\
+ utime.$O\
+ wait.$O\
+ write.$O\
+
+UPDATE=\
+ mkfile\
+ /386/lib/ape/libap.a\
+ ${OFILES:%.$O=%.c}\
+
+</sys/src/cmd/mksyslib
+
+CFLAGS=-c -D_POSIX_SOURCE -D_PLAN9_SOURCE -D_BSD_EXTENSION
+
+$OFILES: lib.h