trampoline/lib/lib9/lib9.sh.build

170 lines
2.3 KiB
Bash
Executable File

#!/bin/sh
git clean -xdf .
cc \
-I ../../include\
-DPLAN9PORT \
-O0 \
-c \
-g -ggdb \
-Wall \
-Wno-parentheses \
-Wno-missing-braces \
-Wno-switch \
-Wno-comment \
-Wno-sign-compare \
-Wno-unknown-pragmas \
-Wno-misleading-indentation \
-Wno-stringop-truncation \
-Wno-stringop-overflow \
-Wno-format-truncation \
-fno-omit-frame-pointer \
-fsigned-char \
-fcommon \
fmt/dofmt.c\
fmt/fltfmt.c\
fmt/fmt.c\
fmt/fmtfd.c\
fmt/fmtfdflush.c\
fmt/fmtlocale.c\
fmt/fmtnull.c\
fmt/fmtprint.c\
fmt/fmtquote.c\
fmt/fmtrune.c\
fmt/fmtstr.c\
fmt/fmtvprint.c\
fmt/fprint.c\
fmt/nan64.c\
fmt/print.c\
fmt/runefmtstr.c\
fmt/runeseprint.c\
fmt/runesmprint.c\
fmt/runesnprint.c\
fmt/runesprint.c\
fmt/runevseprint.c\
fmt/runevsmprint.c\
fmt/runevsnprint.c\
fmt/seprint.c\
fmt/smprint.c\
fmt/snprint.c\
fmt/sprint.c\
fmt/strtod.c\
fmt/vfprint.c\
fmt/vseprint.c\
fmt/vsmprint.c\
fmt/vsnprint.c\
fmt/charstod.c\
fmt/pow10.c\
fmtlock2.c\
frexp.c\
utf/rune.c\
utf/runestrcat.c\
utf/runestrchr.c\
utf/runestrcmp.c\
utf/runestrcpy.c\
utf/runestrdup.c\
utf/runestrlen.c\
utf/runestrecpy.c\
utf/runestrncat.c\
utf/runestrncmp.c\
utf/runestrncpy.c\
utf/runestrrchr.c\
utf/runestrstr.c\
utf/runetype.c\
utf/utfecpy.c\
utf/utflen.c\
utf/utfnlen.c\
utf/utfrrune.c\
utf/utfrune.c\
utf/utfutf.c\
_exits.c\
_p9dialparse.c\
_p9dir.c\
announce.c\
argv0.c\
atexit.c\
atoi.c\
atol.c\
atoll.c\
atnotify.c\
await.c\
cistrcmp.c\
cistrncmp.c\
cistrstr.c\
cleanname.c\
ctime.c\
dial.c\
dirfstat.c\
dirfwstat.c\
dirmodefmt.c\
dirstat.c\
dirwstat.c\
dup.c\
encodefmt.c\
errstr.c\
exec.c\
execl.c\
exitcode.c\
frand.c\
get9root.c\
getcallerpc.c\
getenv.c\
getfields.c\
getnetconn.c\
getns.c\
getuser.c\
getwd.c\
jmp.c\
lrand.c\
lnrand.c\
main.c\
malloc.c\
malloctag.c\
mallocz.c\
nan.c\
needsrcquote.c\
needstack.c\
netmkaddr.c\
notify.c\
nrand.c\
nulldir.c\
open.c\
opentemp.c\
pin.c\
pipe.c\
post9p.c\
postnote.c\
qlock.c\
quote.c\
rand.c\
readcons.c\
readn.c\
rfork.c\
searchpath.c\
sendfd.c\
sleep.c\
strdup.c\
strecpy.c\
sysfatal.c\
syslog.c\
sysname.c\
time.c\
tm2sec.c\
tokenize.c\
truerand.c\
u16.c\
u32.c\
u64.c\
unsharp.c\
wait.c\
waitpid.c\
write.c\
zoneinfo.c
mkdir -p $JEHANNE/hacking/lib/
ar rcs $JEHANNE/hacking/lib/lib9.a *.o
git clean -xdf .