summaryrefslogtreecommitdiff
path: root/sys/src/ape/lib/ap/gen/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/gen/mkfile
Import sources from 2011-03-30 iso image
Diffstat (limited to 'sys/src/ape/lib/ap/gen/mkfile')
-rwxr-xr-xsys/src/ape/lib/ap/gen/mkfile63
1 files changed, 63 insertions, 0 deletions
diff --git a/sys/src/ape/lib/ap/gen/mkfile b/sys/src/ape/lib/ap/gen/mkfile
new file mode 100755
index 000000000..e9653bba1
--- /dev/null
+++ b/sys/src/ape/lib/ap/gen/mkfile
@@ -0,0 +1,63 @@
+APE=/sys/src/ape
+<$APE/config
+LIB=/$objtype/lib/ape/libap.a
+
+ALLOFILES=\
+ _assert.$O\
+ abort.$O\
+ abs.$O\
+ atof.$O\
+ atoi.$O\
+ atol.$O\
+ atoll.$O\
+ bsearch.$O\
+ calloc.$O\
+ clock.$O\
+ ctype.$O\
+ difftime.$O\
+ div.$O\
+ getenv.$O\
+ isalnum.$O\
+ itoa.$O\
+ itol.$O\
+ ldiv.$O\
+ mbwc.$O\
+ memccpy.$O\
+ memchr.$O\
+ memcmp.$O\
+ memmove.$O\
+ memset.$O\
+ mktime.$O\
+ qsort.$O\
+ raise.$O\
+ rand.$O\
+ strcat.$O\
+ strchr.$O\
+ strcmp.$O\
+ strcoll.$O\
+ strcpy.$O\
+ strcspn.$O\
+ strftime.$O\
+ strlen.$O\
+ strncat.$O\
+ strncmp.$O\
+ strncpy.$O\
+ strpbrk.$O\
+ strrchr.$O\
+ strspn.$O\
+ strstr.$O\
+ strtod.$O\
+ strtok.$O\
+ strtol.$O\
+ strtoll.$O\
+ strtoul.$O\
+ strtoull.$O\
+ strxfrm.$O\
+ toupper.$O\
+
+# cull things in the per-machine directories from this list
+OFILES= `{rc ./reduce $O $objtype $ALLOFILES}
+
+</sys/src/cmd/mksyslib
+
+CFLAGS=-c -D_POSIX_SOURCE