From: Ben Gras Date: Tue, 17 Jan 2006 10:36:53 +0000 (+0000) Subject: Throw away unused dirs, generated Makefiles. X-Git-Tag: v3.1.2a~446 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/static/style.css?a=commitdiff_plain;h=0e9a5612d75b3001496f25e174ac68e24f704b84;p=minix.git Throw away unused dirs, generated Makefiles. Moved some calls back. --- diff --git a/lib/Makefile b/lib/Makefile index 932ed5071..812330e05 100755 --- a/lib/Makefile +++ b/lib/Makefile @@ -5,9 +5,11 @@ all-ack: all-gnu: makefiles: Makefile +Makedepend-ack Makedepend-gnu: + sh generate.sh . obj-ack/ obj-gnu -Makefile: Makefile.in - sh generate.sh . obj-ack obj-gnu +Makefile: Makefile.in Makedepend-ack Makedepend-gnu + sh generate.sh . obj-ack/ obj-gnu @echo @echo *Attention* @echo Makefile is regenerated... rerun command to see changes @@ -15,45 +17,45 @@ Makefile: Makefile.in @echo all-ack: makefiles - mkdir -p obj-ack/./ansi + mkdir -p obj-ack//./ansi cd ansi && $(MAKE) $@ - mkdir -p obj-ack/./curses + mkdir -p obj-ack//./curses cd curses && $(MAKE) $@ - mkdir -p obj-ack/./dummy + mkdir -p obj-ack//./dummy cd dummy && $(MAKE) $@ - mkdir -p obj-ack/./editline + mkdir -p obj-ack//./editline cd editline && $(MAKE) $@ - mkdir -p obj-ack/./end + mkdir -p obj-ack//./end cd end && $(MAKE) $@ - mkdir -p obj-ack/./ip + mkdir -p obj-ack//./ip cd ip && $(MAKE) $@ - mkdir -p obj-ack/./math + mkdir -p obj-ack//./math cd math && $(MAKE) $@ - mkdir -p obj-ack/./other + mkdir -p obj-ack//./other cd other && $(MAKE) $@ - mkdir -p obj-ack/./posix + mkdir -p obj-ack//./posix cd posix && $(MAKE) $@ - mkdir -p obj-ack/./regex + mkdir -p obj-ack//./regex cd regex && $(MAKE) $@ - mkdir -p obj-ack/./stdio + mkdir -p obj-ack//./stdio cd stdio && $(MAKE) $@ - mkdir -p obj-ack/./syscall + mkdir -p obj-ack//./syscall cd syscall && $(MAKE) $@ - mkdir -p obj-ack/./syslib + mkdir -p obj-ack//./syslib cd syslib && $(MAKE) $@ - mkdir -p obj-ack/./util + mkdir -p obj-ack//./util cd util && $(MAKE) $@ - mkdir -p obj-ack/./sysutil + mkdir -p obj-ack//./sysutil cd sysutil && $(MAKE) $@ - mkdir -p obj-ack/./timers + mkdir -p obj-ack//./timers cd timers && $(MAKE) $@ - mkdir -p obj-ack/./i386 + mkdir -p obj-ack//./i386 cd i386 && $(MAKE) $@ - mkdir -p obj-ack/./zlib-1.2.3 + mkdir -p obj-ack//./zlib-1.2.3 cd zlib-1.2.3 && $(MAKE) $@ - mkdir -p obj-ack/./ack + mkdir -p obj-ack//./ack cd ack && $(MAKE) $@ - mkdir -p obj-ack/./gnu + mkdir -p obj-ack//./gnu cd gnu && $(MAKE) $@ all-gnu: makefiles @@ -142,54 +144,54 @@ makefiles: ack/Makefile makefiles: gnu/Makefile ansi/Makefile: ansi/Makefile.in - cd ansi && sh ../generate.sh ./ansi ../obj-ack ../obj-gnu && $(MAKE) makefiles + cd ansi && sh ../generate.sh ./ansi ../obj-ack/ ../obj-gnu && $(MAKE) makefiles curses/Makefile: curses/Makefile.in - cd curses && sh ../generate.sh ./curses ../obj-ack ../obj-gnu && $(MAKE) makefiles + cd curses && sh ../generate.sh ./curses ../obj-ack/ ../obj-gnu && $(MAKE) makefiles dummy/Makefile: dummy/Makefile.in - cd dummy && sh ../generate.sh ./dummy ../obj-ack ../obj-gnu && $(MAKE) makefiles + cd dummy && sh ../generate.sh ./dummy ../obj-ack/ ../obj-gnu && $(MAKE) makefiles editline/Makefile: editline/Makefile.in - cd editline && sh ../generate.sh ./editline ../obj-ack ../obj-gnu && $(MAKE) makefiles + cd editline && sh ../generate.sh ./editline ../obj-ack/ ../obj-gnu && $(MAKE) makefiles end/Makefile: end/Makefile.in - cd end && sh ../generate.sh ./end ../obj-ack ../obj-gnu && $(MAKE) makefiles + cd end && sh ../generate.sh ./end ../obj-ack/ ../obj-gnu && $(MAKE) makefiles ip/Makefile: ip/Makefile.in - cd ip && sh ../generate.sh ./ip ../obj-ack ../obj-gnu && $(MAKE) makefiles + cd ip && sh ../generate.sh ./ip ../obj-ack/ ../obj-gnu && $(MAKE) makefiles math/Makefile: math/Makefile.in - cd math && sh ../generate.sh ./math ../obj-ack ../obj-gnu && $(MAKE) makefiles + cd math && sh ../generate.sh ./math ../obj-ack/ ../obj-gnu && $(MAKE) makefiles other/Makefile: other/Makefile.in - cd other && sh ../generate.sh ./other ../obj-ack ../obj-gnu && $(MAKE) makefiles + cd other && sh ../generate.sh ./other ../obj-ack/ ../obj-gnu && $(MAKE) makefiles posix/Makefile: posix/Makefile.in - cd posix && sh ../generate.sh ./posix ../obj-ack ../obj-gnu && $(MAKE) makefiles + cd posix && sh ../generate.sh ./posix ../obj-ack/ ../obj-gnu && $(MAKE) makefiles regex/Makefile: regex/Makefile.in - cd regex && sh ../generate.sh ./regex ../obj-ack ../obj-gnu && $(MAKE) makefiles + cd regex && sh ../generate.sh ./regex ../obj-ack/ ../obj-gnu && $(MAKE) makefiles stdio/Makefile: stdio/Makefile.in - cd stdio && sh ../generate.sh ./stdio ../obj-ack ../obj-gnu && $(MAKE) makefiles + cd stdio && sh ../generate.sh ./stdio ../obj-ack/ ../obj-gnu && $(MAKE) makefiles syscall/Makefile: syscall/Makefile.in - cd syscall && sh ../generate.sh ./syscall ../obj-ack ../obj-gnu && $(MAKE) makefiles + cd syscall && sh ../generate.sh ./syscall ../obj-ack/ ../obj-gnu && $(MAKE) makefiles syslib/Makefile: syslib/Makefile.in - cd syslib && sh ../generate.sh ./syslib ../obj-ack ../obj-gnu && $(MAKE) makefiles + cd syslib && sh ../generate.sh ./syslib ../obj-ack/ ../obj-gnu && $(MAKE) makefiles util/Makefile: util/Makefile.in - cd util && sh ../generate.sh ./util ../obj-ack ../obj-gnu && $(MAKE) makefiles + cd util && sh ../generate.sh ./util ../obj-ack/ ../obj-gnu && $(MAKE) makefiles sysutil/Makefile: sysutil/Makefile.in - cd sysutil && sh ../generate.sh ./sysutil ../obj-ack ../obj-gnu && $(MAKE) makefiles + cd sysutil && sh ../generate.sh ./sysutil ../obj-ack/ ../obj-gnu && $(MAKE) makefiles timers/Makefile: timers/Makefile.in - cd timers && sh ../generate.sh ./timers ../obj-ack ../obj-gnu && $(MAKE) makefiles + cd timers && sh ../generate.sh ./timers ../obj-ack/ ../obj-gnu && $(MAKE) makefiles i386/Makefile: i386/Makefile.in - cd i386 && sh ../generate.sh ./i386 ../obj-ack ../obj-gnu && $(MAKE) makefiles + cd i386 && sh ../generate.sh ./i386 ../obj-ack/ ../obj-gnu && $(MAKE) makefiles zlib-1.2.3/Makefile: zlib-1.2.3/Makefile.in - cd zlib-1.2.3 && sh ../generate.sh ./zlib-1.2.3 ../obj-ack ../obj-gnu && $(MAKE) makefiles + cd zlib-1.2.3 && sh ../generate.sh ./zlib-1.2.3 ../obj-ack/ ../obj-gnu && $(MAKE) makefiles ack/Makefile: ack/Makefile.in - cd ack && sh ../generate.sh ./ack ../obj-ack ../obj-gnu && $(MAKE) makefiles + cd ack && sh ../generate.sh ./ack ../obj-ack/ ../obj-gnu && $(MAKE) makefiles gnu/Makefile: gnu/Makefile.in - cd gnu && sh ../generate.sh ./gnu ../obj-ack ../obj-gnu && $(MAKE) makefiles + cd gnu && sh ../generate.sh ./gnu ../obj-ack/ ../obj-gnu && $(MAKE) makefiles clean:: - rm -f obj-ack/./* + rm -f obj-ack//./* rm -f obj-gnu/./* install: install-ack install-ack: all-ack - cp obj-ack/*.[ao] /usr/lib/i386 + cp obj-ack//*.[ao] /usr/lib/i386 install-gnu: all-gnu cp obj-gnu/*.[ao] /usr/gnu/lib diff --git a/lib/ack/Makefile b/lib/ack/Makefile deleted file mode 100644 index c0778daa0..000000000 --- a/lib/ack/Makefile +++ /dev/null @@ -1,88 +0,0 @@ -#Generated from ./ack/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../generate.sh ./ack ../obj-ack ../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -all-ack: makefiles - mkdir -p ../obj-ack/./ack/float - cd float && $(MAKE) $@ - mkdir -p ../obj-ack/./ack/fphook - cd fphook && $(MAKE) $@ - mkdir -p ../obj-ack/./ack/i386 - cd i386 && $(MAKE) $@ - mkdir -p ../obj-ack/./ack/libm2 - cd libm2 && $(MAKE) $@ - mkdir -p ../obj-ack/./ack/libp - cd libp && $(MAKE) $@ - mkdir -p ../obj-ack/./ack/liby - cd liby && $(MAKE) $@ - mkdir -p ../obj-ack/./ack/math - cd math && $(MAKE) $@ - mkdir -p ../obj-ack/./ack/rts - cd rts && $(MAKE) $@ - -all-gnu: makefiles - cd float && $(MAKE) $@ - cd fphook && $(MAKE) $@ - cd i386 && $(MAKE) $@ - cd libm2 && $(MAKE) $@ - cd libp && $(MAKE) $@ - cd liby && $(MAKE) $@ - cd math && $(MAKE) $@ - cd rts && $(MAKE) $@ - -clean depend depend-ack depend-gnu:: makefiles - cd float && $(MAKE) $@ - cd fphook && $(MAKE) $@ - cd i386 && $(MAKE) $@ - cd libm2 && $(MAKE) $@ - cd libp && $(MAKE) $@ - cd liby && $(MAKE) $@ - cd math && $(MAKE) $@ - cd rts && $(MAKE) $@ - -makefiles: float/Makefile -makefiles: fphook/Makefile -makefiles: i386/Makefile -makefiles: libm2/Makefile -makefiles: libp/Makefile -makefiles: liby/Makefile -makefiles: math/Makefile -makefiles: rts/Makefile - -float/Makefile: float/Makefile.in - cd float && sh ../../generate.sh ./ack/float ../../obj-ack ../../obj-gnu && $(MAKE) makefiles -fphook/Makefile: fphook/Makefile.in - cd fphook && sh ../../generate.sh ./ack/fphook ../../obj-ack ../../obj-gnu && $(MAKE) makefiles -i386/Makefile: i386/Makefile.in - cd i386 && sh ../../generate.sh ./ack/i386 ../../obj-ack ../../obj-gnu && $(MAKE) makefiles -libm2/Makefile: libm2/Makefile.in - cd libm2 && sh ../../generate.sh ./ack/libm2 ../../obj-ack ../../obj-gnu && $(MAKE) makefiles -libp/Makefile: libp/Makefile.in - cd libp && sh ../../generate.sh ./ack/libp ../../obj-ack ../../obj-gnu && $(MAKE) makefiles -liby/Makefile: liby/Makefile.in - cd liby && sh ../../generate.sh ./ack/liby ../../obj-ack ../../obj-gnu && $(MAKE) makefiles -math/Makefile: math/Makefile.in - cd math && sh ../../generate.sh ./ack/math ../../obj-ack ../../obj-gnu && $(MAKE) makefiles -rts/Makefile: rts/Makefile.in - cd rts && sh ../../generate.sh ./ack/rts ../../obj-ack ../../obj-gnu && $(MAKE) makefiles - -clean:: - rm -f ../obj-ack/./ack/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/ack/float/Makefile b/lib/ack/float/Makefile deleted file mode 100644 index d5c809236..000000000 --- a/lib/ack/float/Makefile +++ /dev/null @@ -1,149 +0,0 @@ -#Generated from ./ack/float/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../../generate.sh ./ack/float ../../obj-ack ../../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../../obj-ack/libfp.a - -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(add_ext.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(adder.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(adf4.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(adf8.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(cff4.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(cff8.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(cfi.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(cfu.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(cif4.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(cif8.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(cmf4.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(cmf8.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(compact.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(cuf4.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(cuf8.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(div_ext.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(dvf4.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(dvf8.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(extend.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(fef4.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(fef8.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(fif4.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(fif8.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(fptrp.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(mlf4.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(mlf8.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(mul_ext.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(ngf4.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(ngf8.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(nrm_ext.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(sbf4.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(sbf8.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(sft_ext.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(shifter.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(sub_ext.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(zrf4.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(zrf8.o) -../../obj-ack/libfp.a: ../../obj-ack/libfp.a(zrf_ext.o) - -../../obj-ack/libfp.a: - ar cr ../../obj-ack/libfp.a ../../obj-ack/./ack/float/*.o - rm ../../obj-ack/./ack/float/*.o - -../../obj-ack/libfp.a(add_ext.o): add_ext.fc - sh ./FP.compile ../../obj-ack/./ack/float/add_ext.o add_ext.fc -../../obj-ack/libfp.a(adder.o): adder.fc - sh ./FP.compile ../../obj-ack/./ack/float/adder.o adder.fc -../../obj-ack/libfp.a(adf4.o): adf4.fc - sh ./FP.compile ../../obj-ack/./ack/float/adf4.o adf4.fc -../../obj-ack/libfp.a(adf8.o): adf8.fc - sh ./FP.compile ../../obj-ack/./ack/float/adf8.o adf8.fc -../../obj-ack/libfp.a(cff4.o): cff4.fc - sh ./FP.compile ../../obj-ack/./ack/float/cff4.o cff4.fc -../../obj-ack/libfp.a(cff8.o): cff8.fc - sh ./FP.compile ../../obj-ack/./ack/float/cff8.o cff8.fc -../../obj-ack/libfp.a(cfi.o): cfi.fc - sh ./FP.compile ../../obj-ack/./ack/float/cfi.o cfi.fc -../../obj-ack/libfp.a(cfu.o): cfu.fc - sh ./FP.compile ../../obj-ack/./ack/float/cfu.o cfu.fc -../../obj-ack/libfp.a(cif4.o): cif4.fc - sh ./FP.compile ../../obj-ack/./ack/float/cif4.o cif4.fc -../../obj-ack/libfp.a(cif8.o): cif8.fc - sh ./FP.compile ../../obj-ack/./ack/float/cif8.o cif8.fc -../../obj-ack/libfp.a(cmf4.o): cmf4.fc - sh ./FP.compile ../../obj-ack/./ack/float/cmf4.o cmf4.fc -../../obj-ack/libfp.a(cmf8.o): cmf8.fc - sh ./FP.compile ../../obj-ack/./ack/float/cmf8.o cmf8.fc -../../obj-ack/libfp.a(compact.o): compact.fc - sh ./FP.compile ../../obj-ack/./ack/float/compact.o compact.fc -../../obj-ack/libfp.a(cuf4.o): cuf4.fc - sh ./FP.compile ../../obj-ack/./ack/float/cuf4.o cuf4.fc -../../obj-ack/libfp.a(cuf8.o): cuf8.fc - sh ./FP.compile ../../obj-ack/./ack/float/cuf8.o cuf8.fc -../../obj-ack/libfp.a(div_ext.o): div_ext.fc - sh ./FP.compile ../../obj-ack/./ack/float/div_ext.o div_ext.fc -../../obj-ack/libfp.a(dvf4.o): dvf4.fc - sh ./FP.compile ../../obj-ack/./ack/float/dvf4.o dvf4.fc -../../obj-ack/libfp.a(dvf8.o): dvf8.fc - sh ./FP.compile ../../obj-ack/./ack/float/dvf8.o dvf8.fc -../../obj-ack/libfp.a(extend.o): extend.fc - sh ./FP.compile ../../obj-ack/./ack/float/extend.o extend.fc -../../obj-ack/libfp.a(fef4.o): fef4.fc - sh ./FP.compile ../../obj-ack/./ack/float/fef4.o fef4.fc -../../obj-ack/libfp.a(fef8.o): fef8.fc - sh ./FP.compile ../../obj-ack/./ack/float/fef8.o fef8.fc -../../obj-ack/libfp.a(fif4.o): fif4.fc - sh ./FP.compile ../../obj-ack/./ack/float/fif4.o fif4.fc -../../obj-ack/libfp.a(fif8.o): fif8.fc - sh ./FP.compile ../../obj-ack/./ack/float/fif8.o fif8.fc -../../obj-ack/libfp.a(fptrp.o): fptrp.s - cc -c -o ../../obj-ack/./ack/float/fptrp.o fptrp.s -../../obj-ack/libfp.a(mlf4.o): mlf4.fc - sh ./FP.compile ../../obj-ack/./ack/float/mlf4.o mlf4.fc -../../obj-ack/libfp.a(mlf8.o): mlf8.fc - sh ./FP.compile ../../obj-ack/./ack/float/mlf8.o mlf8.fc -../../obj-ack/libfp.a(mul_ext.o): mul_ext.fc - sh ./FP.compile ../../obj-ack/./ack/float/mul_ext.o mul_ext.fc -../../obj-ack/libfp.a(ngf4.o): ngf4.fc - sh ./FP.compile ../../obj-ack/./ack/float/ngf4.o ngf4.fc -../../obj-ack/libfp.a(ngf8.o): ngf8.fc - sh ./FP.compile ../../obj-ack/./ack/float/ngf8.o ngf8.fc -../../obj-ack/libfp.a(nrm_ext.o): nrm_ext.fc - sh ./FP.compile ../../obj-ack/./ack/float/nrm_ext.o nrm_ext.fc -../../obj-ack/libfp.a(sbf4.o): sbf4.fc - sh ./FP.compile ../../obj-ack/./ack/float/sbf4.o sbf4.fc -../../obj-ack/libfp.a(sbf8.o): sbf8.fc - sh ./FP.compile ../../obj-ack/./ack/float/sbf8.o sbf8.fc -../../obj-ack/libfp.a(sft_ext.o): sft_ext.fc - sh ./FP.compile ../../obj-ack/./ack/float/sft_ext.o sft_ext.fc -../../obj-ack/libfp.a(shifter.o): shifter.fc - sh ./FP.compile ../../obj-ack/./ack/float/shifter.o shifter.fc -../../obj-ack/libfp.a(sub_ext.o): sub_ext.fc - sh ./FP.compile ../../obj-ack/./ack/float/sub_ext.o sub_ext.fc -../../obj-ack/libfp.a(zrf4.o): zrf4.fc - sh ./FP.compile ../../obj-ack/./ack/float/zrf4.o zrf4.fc -../../obj-ack/libfp.a(zrf8.o): zrf8.fc - sh ./FP.compile ../../obj-ack/./ack/float/zrf8.o zrf8.fc -../../obj-ack/libfp.a(zrf_ext.o): zrf_ext.fc - sh ./FP.compile ../../obj-ack/./ack/float/zrf_ext.o zrf_ext.fc - - - -clean:: - rm -f ../../obj-ack/./ack/float/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/ack/fphook/Makefile b/lib/ack/fphook/Makefile deleted file mode 100644 index 1feae26db..000000000 --- a/lib/ack/fphook/Makefile +++ /dev/null @@ -1,52 +0,0 @@ -#Generated from ./ack/fphook/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../../generate.sh ./ack/fphook ../../obj-ack ../../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../../obj-ack/libd.a - -../../obj-ack/libd.a: ../../obj-ack/libd.a(fphook.o) - -../../obj-ack/libd.a: - ar cr ../../obj-ack/libd.a ../../obj-ack/./ack/fphook/*.o - rm ../../obj-ack/./ack/fphook/*.o - -../../obj-ack/libd.a(fphook.o): fphook.c - cc -O -D_MINIX -D_POSIX_SOURCE -I.. -c -o ../../obj-ack/./ack/fphook/fphook.o fphook.c - -all-ack: ../../obj-ack/libc.a - -../../obj-ack/libc.a: ../../obj-ack/libc.a(fltpr.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(strtod.o) - -../../obj-ack/libc.a: - ar cr ../../obj-ack/libc.a ../../obj-ack/./ack/fphook/*.o - rm ../../obj-ack/./ack/fphook/*.o - -../../obj-ack/libc.a(fltpr.o): fltpr.c - cc -O -D_MINIX -D_POSIX_SOURCE -I.. -c -o ../../obj-ack/./ack/fphook/fltpr.o fltpr.c -../../obj-ack/libc.a(strtod.o): strtod.c - cc -O -D_MINIX -D_POSIX_SOURCE -I.. -c -o ../../obj-ack/./ack/fphook/strtod.o strtod.c - - - -clean:: - rm -f ../../obj-ack/./ack/fphook/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/ack/i386/Makefile b/lib/ack/i386/Makefile deleted file mode 100644 index 43af678f4..000000000 --- a/lib/ack/i386/Makefile +++ /dev/null @@ -1,46 +0,0 @@ -#Generated from ./ack/i386/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../../generate.sh ./ack/i386 ../../obj-ack ../../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -all-ack: makefiles - mkdir -p ../../obj-ack/./ack/i386/em - cd em && $(MAKE) $@ - mkdir -p ../../obj-ack/./ack/i386/head - cd head && $(MAKE) $@ - -all-gnu: makefiles - cd em && $(MAKE) $@ - cd head && $(MAKE) $@ - -clean depend depend-ack depend-gnu:: makefiles - cd em && $(MAKE) $@ - cd head && $(MAKE) $@ - -makefiles: em/Makefile -makefiles: head/Makefile - -em/Makefile: em/Makefile.in - cd em && sh ../../../generate.sh ./ack/i386/em ../../../obj-ack ../../../obj-gnu && $(MAKE) makefiles -head/Makefile: head/Makefile.in - cd head && sh ../../../generate.sh ./ack/i386/head ../../../obj-ack ../../../obj-gnu && $(MAKE) makefiles - -clean:: - rm -f ../../obj-ack/./ack/i386/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/ack/i386/em/Makefile b/lib/ack/i386/em/Makefile deleted file mode 100644 index ad99f1ec1..000000000 --- a/lib/ack/i386/em/Makefile +++ /dev/null @@ -1,242 +0,0 @@ -#Generated from ./ack/i386/em/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../../../generate.sh ./ack/i386/em ../../../obj-ack ../../../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../../../obj-ack/libe.a - -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_adf4.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_adf8.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_adi.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_and.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_blm.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_cff4.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_cff8.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_cfi.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_cfu.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_cif4.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_cif8.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_cii.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_cmf4.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_cmf8.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_cms.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_com.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_csa4.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_csb4.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_cuf4.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_cuf8.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_cuu.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_dup.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_dvf4.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_dvf8.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_dvi.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_dvu.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_error.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_exg.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_fat.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_fef4.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_fef8.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_fif4.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_fif8.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_fp8087.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_gto.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_hol0.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_iaar.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_ilar.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_inn.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_ior.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_isar.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_lar4.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_loi.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_mlf4.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_mlf8.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_mli.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_mon.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_ngf4.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_ngf8.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_ngi.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_nop.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_print.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_rck.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_rmi.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_rmu.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_rol.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_ror.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_sar4.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_sbf4.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_sbf8.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_sbi.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_set.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_sli.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_sri.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_sti.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_stop.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_trp.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_unknown.o) -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_xor.o) - -../../../obj-ack/libe.a: - ar cr ../../../obj-ack/libe.a ../../../obj-ack/./ack/i386/em/*.o - rm ../../../obj-ack/./ack/i386/em/*.o - -../../../obj-ack/libe.a(em_adf4.o): em_adf4.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_adf4.o em_adf4.s -../../../obj-ack/libe.a(em_adf8.o): em_adf8.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_adf8.o em_adf8.s -../../../obj-ack/libe.a(em_adi.o): em_adi.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_adi.o em_adi.s -../../../obj-ack/libe.a(em_and.o): em_and.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_and.o em_and.s -../../../obj-ack/libe.a(em_blm.o): em_blm.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_blm.o em_blm.s -../../../obj-ack/libe.a(em_cff4.o): em_cff4.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_cff4.o em_cff4.s -../../../obj-ack/libe.a(em_cff8.o): em_cff8.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_cff8.o em_cff8.s -../../../obj-ack/libe.a(em_cfi.o): em_cfi.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_cfi.o em_cfi.s -../../../obj-ack/libe.a(em_cfu.o): em_cfu.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_cfu.o em_cfu.s -../../../obj-ack/libe.a(em_cif4.o): em_cif4.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_cif4.o em_cif4.s -../../../obj-ack/libe.a(em_cif8.o): em_cif8.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_cif8.o em_cif8.s -../../../obj-ack/libe.a(em_cii.o): em_cii.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_cii.o em_cii.s -../../../obj-ack/libe.a(em_cmf4.o): em_cmf4.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_cmf4.o em_cmf4.s -../../../obj-ack/libe.a(em_cmf8.o): em_cmf8.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_cmf8.o em_cmf8.s -../../../obj-ack/libe.a(em_cms.o): em_cms.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_cms.o em_cms.s -../../../obj-ack/libe.a(em_com.o): em_com.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_com.o em_com.s -../../../obj-ack/libe.a(em_csa4.o): em_csa4.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_csa4.o em_csa4.s -../../../obj-ack/libe.a(em_csb4.o): em_csb4.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_csb4.o em_csb4.s -../../../obj-ack/libe.a(em_cuf4.o): em_cuf4.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_cuf4.o em_cuf4.s -../../../obj-ack/libe.a(em_cuf8.o): em_cuf8.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_cuf8.o em_cuf8.s -../../../obj-ack/libe.a(em_cuu.o): em_cuu.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_cuu.o em_cuu.s -../../../obj-ack/libe.a(em_dup.o): em_dup.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_dup.o em_dup.s -../../../obj-ack/libe.a(em_dvf4.o): em_dvf4.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_dvf4.o em_dvf4.s -../../../obj-ack/libe.a(em_dvf8.o): em_dvf8.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_dvf8.o em_dvf8.s -../../../obj-ack/libe.a(em_dvi.o): em_dvi.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_dvi.o em_dvi.s -../../../obj-ack/libe.a(em_dvu.o): em_dvu.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_dvu.o em_dvu.s -../../../obj-ack/libe.a(em_error.o): em_error.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_error.o em_error.s -../../../obj-ack/libe.a(em_exg.o): em_exg.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_exg.o em_exg.s -../../../obj-ack/libe.a(em_fat.o): em_fat.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_fat.o em_fat.s -../../../obj-ack/libe.a(em_fef4.o): em_fef4.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_fef4.o em_fef4.s -../../../obj-ack/libe.a(em_fef8.o): em_fef8.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_fef8.o em_fef8.s -../../../obj-ack/libe.a(em_fif4.o): em_fif4.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_fif4.o em_fif4.s -../../../obj-ack/libe.a(em_fif8.o): em_fif8.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_fif8.o em_fif8.s -../../../obj-ack/libe.a(em_fp8087.o): em_fp8087.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_fp8087.o em_fp8087.s -../../../obj-ack/libe.a(em_gto.o): em_gto.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_gto.o em_gto.s -../../../obj-ack/libe.a(em_hol0.o): em_hol0.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_hol0.o em_hol0.s -../../../obj-ack/libe.a(em_iaar.o): em_iaar.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_iaar.o em_iaar.s -../../../obj-ack/libe.a(em_ilar.o): em_ilar.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_ilar.o em_ilar.s -../../../obj-ack/libe.a(em_inn.o): em_inn.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_inn.o em_inn.s -../../../obj-ack/libe.a(em_ior.o): em_ior.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_ior.o em_ior.s -../../../obj-ack/libe.a(em_isar.o): em_isar.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_isar.o em_isar.s -../../../obj-ack/libe.a(em_lar4.o): em_lar4.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_lar4.o em_lar4.s -../../../obj-ack/libe.a(em_loi.o): em_loi.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_loi.o em_loi.s -../../../obj-ack/libe.a(em_mlf4.o): em_mlf4.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_mlf4.o em_mlf4.s -../../../obj-ack/libe.a(em_mlf8.o): em_mlf8.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_mlf8.o em_mlf8.s -../../../obj-ack/libe.a(em_mli.o): em_mli.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_mli.o em_mli.s -../../../obj-ack/libe.a(em_mon.o): em_mon.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_mon.o em_mon.s -../../../obj-ack/libe.a(em_ngf4.o): em_ngf4.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_ngf4.o em_ngf4.s -../../../obj-ack/libe.a(em_ngf8.o): em_ngf8.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_ngf8.o em_ngf8.s -../../../obj-ack/libe.a(em_ngi.o): em_ngi.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_ngi.o em_ngi.s -../../../obj-ack/libe.a(em_nop.o): em_nop.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_nop.o em_nop.s -../../../obj-ack/libe.a(em_print.o): em_print.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_print.o em_print.s -../../../obj-ack/libe.a(em_rck.o): em_rck.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_rck.o em_rck.s -../../../obj-ack/libe.a(em_rmi.o): em_rmi.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_rmi.o em_rmi.s -../../../obj-ack/libe.a(em_rmu.o): em_rmu.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_rmu.o em_rmu.s -../../../obj-ack/libe.a(em_rol.o): em_rol.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_rol.o em_rol.s -../../../obj-ack/libe.a(em_ror.o): em_ror.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_ror.o em_ror.s -../../../obj-ack/libe.a(em_sar4.o): em_sar4.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_sar4.o em_sar4.s -../../../obj-ack/libe.a(em_sbf4.o): em_sbf4.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_sbf4.o em_sbf4.s -../../../obj-ack/libe.a(em_sbf8.o): em_sbf8.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_sbf8.o em_sbf8.s -../../../obj-ack/libe.a(em_sbi.o): em_sbi.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_sbi.o em_sbi.s -../../../obj-ack/libe.a(em_set.o): em_set.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_set.o em_set.s -../../../obj-ack/libe.a(em_sli.o): em_sli.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_sli.o em_sli.s -../../../obj-ack/libe.a(em_sri.o): em_sri.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_sri.o em_sri.s -../../../obj-ack/libe.a(em_sti.o): em_sti.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_sti.o em_sti.s -../../../obj-ack/libe.a(em_stop.o): em_stop.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_stop.o em_stop.s -../../../obj-ack/libe.a(em_trp.o): em_trp.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_trp.o em_trp.s -../../../obj-ack/libe.a(em_unknown.o): em_unknown.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_unknown.o em_unknown.s -../../../obj-ack/libe.a(em_xor.o): em_xor.s - cc -O -D_MINIX -D_POSIX_SOURCE -Was-ack -c -o ../../../obj-ack/./ack/i386/em/em_xor.o em_xor.s - - - -clean:: - rm -f ../../../obj-ack/./ack/i386/em/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/ack/i386/head/Makefile b/lib/ack/i386/head/Makefile deleted file mode 100644 index c65efd888..000000000 --- a/lib/ack/i386/head/Makefile +++ /dev/null @@ -1,38 +0,0 @@ -#Generated from ./ack/i386/head/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../../../generate.sh ./ack/i386/head ../../../obj-ack ../../../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../../../obj-ack/libe.a - -../../../obj-ack/libe.a: ../../../obj-ack/libe.a(em_head.o) - -../../../obj-ack/libe.a: - ar cr ../../../obj-ack/libe.a ../../../obj-ack/./ack/i386/head/*.o - rm ../../../obj-ack/./ack/i386/head/*.o - -../../../obj-ack/libe.a(em_head.o): em_head.s - cc -c -o ../../../obj-ack/./ack/i386/head/em_head.o em_head.s - - - -clean:: - rm -f ../../../obj-ack/./ack/i386/head/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/ack/libm2/Makefile b/lib/ack/libm2/Makefile deleted file mode 100644 index bc9ff2e1b..000000000 --- a/lib/ack/libm2/Makefile +++ /dev/null @@ -1,176 +0,0 @@ -#Generated from ./ack/libm2/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../../generate.sh ./ack/libm2 ../../obj-ack ../../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../../obj-ack/libm2.a - -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(Arguments.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(ArraySort.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(CSP.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(Conversion.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(EM.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(InOut.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(LtoUset.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(MathLib0.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(Mathlib.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(PascalIO.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(Processes.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(RealConver.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(RealInOut.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(SYSTEM.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(Semaphores.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(Storage.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(StrAss.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(Streams.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(Strings.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(Termcap.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(Terminal.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(Traps.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(XXTermcap.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(absd.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(absf.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(absi.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(absl.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(blockmove.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(cap.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(catch.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(confarray.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(dvi.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(halt.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(head_m2.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(init.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(load.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(par_misc.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(random.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(rcka.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(rcki.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(rckil.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(rcku.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(rckul.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(sigtrp.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(stackprio.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(store.o) -../../obj-ack/libm2.a: ../../obj-ack/libm2.a(ucheck.o) - -../../obj-ack/libm2.a: - ar cr ../../obj-ack/libm2.a ../../obj-ack/./ack/libm2/*.o - rm ../../obj-ack/./ack/libm2/*.o - -../../obj-ack/libm2.a(Arguments.o): Arguments.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/Arguments.o Arguments.c -../../obj-ack/libm2.a(ArraySort.o): ArraySort.mod - m2 -O -ws -n -c -o ../../obj-ack/./ack/libm2/ArraySort.o ArraySort.mod -../../obj-ack/libm2.a(CSP.o): CSP.mod - m2 -O -ws -n -c -o ../../obj-ack/./ack/libm2/CSP.o CSP.mod -../../obj-ack/libm2.a(Conversion.o): Conversion.mod - m2 -O -ws -n -c -o ../../obj-ack/./ack/libm2/Conversion.o Conversion.mod -../../obj-ack/libm2.a(EM.o): EM.e - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/EM.o EM.e -../../obj-ack/libm2.a(InOut.o): InOut.mod - m2 -O -ws -n -c -o ../../obj-ack/./ack/libm2/InOut.o InOut.mod -../../obj-ack/libm2.a(LtoUset.o): LtoUset.e - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/LtoUset.o LtoUset.e -../../obj-ack/libm2.a(MathLib0.o): MathLib0.mod - m2 -O -ws -n -c -o ../../obj-ack/./ack/libm2/MathLib0.o MathLib0.mod -../../obj-ack/libm2.a(Mathlib.o): Mathlib.mod - m2 -O -ws -n -c -o ../../obj-ack/./ack/libm2/Mathlib.o Mathlib.mod -../../obj-ack/libm2.a(PascalIO.o): PascalIO.mod - m2 -O -ws -n -c -o ../../obj-ack/./ack/libm2/PascalIO.o PascalIO.mod -../../obj-ack/libm2.a(Processes.o): Processes.mod - m2 -O -ws -n -c -o ../../obj-ack/./ack/libm2/Processes.o Processes.mod -../../obj-ack/libm2.a(RealConver.o): RealConver.mod - m2 -O -ws -n -c -o ../../obj-ack/./ack/libm2/RealConver.o RealConver.mod -../../obj-ack/libm2.a(RealInOut.o): RealInOut.mod - m2 -O -ws -n -c -o ../../obj-ack/./ack/libm2/RealInOut.o RealInOut.mod -../../obj-ack/libm2.a(SYSTEM.o): SYSTEM.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/SYSTEM.o SYSTEM.c -../../obj-ack/libm2.a(Semaphores.o): Semaphores.mod - m2 -O -ws -n -c -o ../../obj-ack/./ack/libm2/Semaphores.o Semaphores.mod -../../obj-ack/libm2.a(Storage.o): Storage.mod - m2 -O -ws -n -c -o ../../obj-ack/./ack/libm2/Storage.o Storage.mod -../../obj-ack/libm2.a(StrAss.o): StrAss.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/StrAss.o StrAss.c -../../obj-ack/libm2.a(Streams.o): Streams.mod - m2 -O -ws -n -c -o ../../obj-ack/./ack/libm2/Streams.o Streams.mod -../../obj-ack/libm2.a(Strings.o): Strings.mod - m2 -O -ws -n -c -o ../../obj-ack/./ack/libm2/Strings.o Strings.mod -../../obj-ack/libm2.a(Termcap.o): Termcap.mod - m2 -O -ws -n -c -o ../../obj-ack/./ack/libm2/Termcap.o Termcap.mod -../../obj-ack/libm2.a(Terminal.o): Terminal.mod - m2 -O -ws -n -c -o ../../obj-ack/./ack/libm2/Terminal.o Terminal.mod -../../obj-ack/libm2.a(Traps.o): Traps.mod - m2 -O -ws -n -c -o ../../obj-ack/./ack/libm2/Traps.o Traps.mod -../../obj-ack/libm2.a(XXTermcap.o): XXTermcap.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/XXTermcap.o XXTermcap.c -../../obj-ack/libm2.a(absd.o): absd.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/absd.o absd.c -../../obj-ack/libm2.a(absf.o): absf.e - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/absf.o absf.e -../../obj-ack/libm2.a(absi.o): absi.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/absi.o absi.c -../../obj-ack/libm2.a(absl.o): absl.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/absl.o absl.c -../../obj-ack/libm2.a(blockmove.o): blockmove.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/blockmove.o blockmove.c -../../obj-ack/libm2.a(cap.o): cap.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/cap.o cap.c -../../obj-ack/libm2.a(catch.o): catch.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/catch.o catch.c -../../obj-ack/libm2.a(confarray.o): confarray.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/confarray.o confarray.c -../../obj-ack/libm2.a(dvi.o): dvi.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/dvi.o dvi.c -../../obj-ack/libm2.a(halt.o): halt.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/halt.o halt.c -../../obj-ack/libm2.a(head_m2.o): head_m2.e - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/head_m2.o head_m2.e -../../obj-ack/libm2.a(init.o): init.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/init.o init.c -../../obj-ack/libm2.a(load.o): load.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/load.o load.c -../../obj-ack/libm2.a(par_misc.o): par_misc.e - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/par_misc.o par_misc.e -../../obj-ack/libm2.a(random.o): random.mod - m2 -O -ws -n -c -o ../../obj-ack/./ack/libm2/random.o random.mod -../../obj-ack/libm2.a(rcka.o): rcka.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/rcka.o rcka.c -../../obj-ack/libm2.a(rcki.o): rcki.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/rcki.o rcki.c -../../obj-ack/libm2.a(rckil.o): rckil.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/rckil.o rckil.c -../../obj-ack/libm2.a(rcku.o): rcku.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/rcku.o rcku.c -../../obj-ack/libm2.a(rckul.o): rckul.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/rckul.o rckul.c -../../obj-ack/libm2.a(sigtrp.o): sigtrp.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/sigtrp.o sigtrp.c -../../obj-ack/libm2.a(stackprio.o): stackprio.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/stackprio.o stackprio.c -../../obj-ack/libm2.a(store.o): store.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/store.o store.c -../../obj-ack/libm2.a(ucheck.o): ucheck.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libm2/ucheck.o ucheck.c - - - -clean:: - rm -f ../../obj-ack/./ack/libm2/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/ack/libp/Makefile b/lib/ack/libp/Makefile deleted file mode 100644 index 561e1eb16..000000000 --- a/lib/ack/libp/Makefile +++ /dev/null @@ -1,254 +0,0 @@ -#Generated from ./ack/libp/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../../generate.sh ./ack/libp ../../obj-ack ../../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../../obj-ack/libp.a - -../../obj-ack/libp.a: ../../obj-ack/libp.a(abi.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(abl.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(abr.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(arg.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(ass.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(asz.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(atn.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(bcp.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(bts.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(buff.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(catch.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(clock.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(cls.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(cvt.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(diag.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(dis.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(efl.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(eln.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(encaps.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(exp.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(fef.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(fif.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(get.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(gto.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(head_pc.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(hlt.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(hol0.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(incpt.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(ini.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(log.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(mdi.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(mdl.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(new.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(nfa.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(nobuff.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(notext.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(opn.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(outcpt.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(pac.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(pclose.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(pcreat.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(pentry.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(perrno.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(pexit.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(popen.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(put.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(rcka.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(rdc.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(rdi.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(rdl.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(rdr.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(rf.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(rln.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(rnd.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(sav.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(sig.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(sin.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(sqt.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(string.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(trap.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(trp.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(unp.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(uread.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(uwrite.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(wdw.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(wf.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(wrc.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(wrf.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(wri.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(wrl.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(wrr.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(wrs.o) -../../obj-ack/libp.a: ../../obj-ack/libp.a(wrz.o) - -../../obj-ack/libp.a: - ar cr ../../obj-ack/libp.a ../../obj-ack/./ack/libp/*.o - rm ../../obj-ack/./ack/libp/*.o - -../../obj-ack/libp.a(abi.o): abi.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/abi.o abi.c -../../obj-ack/libp.a(abl.o): abl.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/abl.o abl.c -../../obj-ack/libp.a(abr.o): abr.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/abr.o abr.c -../../obj-ack/libp.a(arg.o): arg.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/arg.o arg.c -../../obj-ack/libp.a(ass.o): ass.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/ass.o ass.c -../../obj-ack/libp.a(asz.o): asz.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/asz.o asz.c -../../obj-ack/libp.a(atn.o): atn.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/atn.o atn.c -../../obj-ack/libp.a(bcp.o): bcp.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/bcp.o bcp.c -../../obj-ack/libp.a(bts.o): bts.e - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/bts.o bts.e -../../obj-ack/libp.a(buff.o): buff.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/buff.o buff.c -../../obj-ack/libp.a(catch.o): catch.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/catch.o catch.c -../../obj-ack/libp.a(clock.o): clock.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/clock.o clock.c -../../obj-ack/libp.a(cls.o): cls.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/cls.o cls.c -../../obj-ack/libp.a(cvt.o): cvt.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/cvt.o cvt.c -../../obj-ack/libp.a(diag.o): diag.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/diag.o diag.c -../../obj-ack/libp.a(dis.o): dis.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/dis.o dis.c -../../obj-ack/libp.a(efl.o): efl.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/efl.o efl.c -../../obj-ack/libp.a(eln.o): eln.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/eln.o eln.c -../../obj-ack/libp.a(encaps.o): encaps.e - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/encaps.o encaps.e -../../obj-ack/libp.a(exp.o): exp.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/exp.o exp.c -../../obj-ack/libp.a(fef.o): fef.e - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/fef.o fef.e -../../obj-ack/libp.a(fif.o): fif.e - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/fif.o fif.e -../../obj-ack/libp.a(get.o): get.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/get.o get.c -../../obj-ack/libp.a(gto.o): gto.e - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/gto.o gto.e -../../obj-ack/libp.a(head_pc.o): head_pc.e - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/head_pc.o head_pc.e -../../obj-ack/libp.a(hlt.o): hlt.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/hlt.o hlt.c -../../obj-ack/libp.a(hol0.o): hol0.e - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/hol0.o hol0.e -../../obj-ack/libp.a(incpt.o): incpt.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/incpt.o incpt.c -../../obj-ack/libp.a(ini.o): ini.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/ini.o ini.c -../../obj-ack/libp.a(log.o): log.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/log.o log.c -../../obj-ack/libp.a(mdi.o): mdi.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/mdi.o mdi.c -../../obj-ack/libp.a(mdl.o): mdl.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/mdl.o mdl.c -../../obj-ack/libp.a(new.o): new.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/new.o new.c -../../obj-ack/libp.a(nfa.o): nfa.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/nfa.o nfa.c -../../obj-ack/libp.a(nobuff.o): nobuff.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/nobuff.o nobuff.c -../../obj-ack/libp.a(notext.o): notext.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/notext.o notext.c -../../obj-ack/libp.a(opn.o): opn.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/opn.o opn.c -../../obj-ack/libp.a(outcpt.o): outcpt.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/outcpt.o outcpt.c -../../obj-ack/libp.a(pac.o): pac.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/pac.o pac.c -../../obj-ack/libp.a(pclose.o): pclose.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/pclose.o pclose.c -../../obj-ack/libp.a(pcreat.o): pcreat.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/pcreat.o pcreat.c -../../obj-ack/libp.a(pentry.o): pentry.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/pentry.o pentry.c -../../obj-ack/libp.a(perrno.o): perrno.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/perrno.o perrno.c -../../obj-ack/libp.a(pexit.o): pexit.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/pexit.o pexit.c -../../obj-ack/libp.a(popen.o): popen.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/popen.o popen.c -../../obj-ack/libp.a(put.o): put.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/put.o put.c -../../obj-ack/libp.a(rcka.o): rcka.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/rcka.o rcka.c -../../obj-ack/libp.a(rdc.o): rdc.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/rdc.o rdc.c -../../obj-ack/libp.a(rdi.o): rdi.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/rdi.o rdi.c -../../obj-ack/libp.a(rdl.o): rdl.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/rdl.o rdl.c -../../obj-ack/libp.a(rdr.o): rdr.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/rdr.o rdr.c -../../obj-ack/libp.a(rf.o): rf.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/rf.o rf.c -../../obj-ack/libp.a(rln.o): rln.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/rln.o rln.c -../../obj-ack/libp.a(rnd.o): rnd.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/rnd.o rnd.c -../../obj-ack/libp.a(sav.o): sav.e - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/sav.o sav.e -../../obj-ack/libp.a(sig.o): sig.e - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/sig.o sig.e -../../obj-ack/libp.a(sin.o): sin.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/sin.o sin.c -../../obj-ack/libp.a(sqt.o): sqt.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/sqt.o sqt.c -../../obj-ack/libp.a(string.o): string.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/string.o string.c -../../obj-ack/libp.a(trap.o): trap.e - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/trap.o trap.e -../../obj-ack/libp.a(trp.o): trp.e - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/trp.o trp.e -../../obj-ack/libp.a(unp.o): unp.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/unp.o unp.c -../../obj-ack/libp.a(uread.o): uread.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/uread.o uread.c -../../obj-ack/libp.a(uwrite.o): uwrite.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/uwrite.o uwrite.c -../../obj-ack/libp.a(wdw.o): wdw.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/wdw.o wdw.c -../../obj-ack/libp.a(wf.o): wf.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/wf.o wf.c -../../obj-ack/libp.a(wrc.o): wrc.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/wrc.o wrc.c -../../obj-ack/libp.a(wrf.o): wrf.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/wrf.o wrf.c -../../obj-ack/libp.a(wri.o): wri.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/wri.o wri.c -../../obj-ack/libp.a(wrl.o): wrl.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/wrl.o wrl.c -../../obj-ack/libp.a(wrr.o): wrr.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/wrr.o wrr.c -../../obj-ack/libp.a(wrs.o): wrs.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/wrs.o wrs.c -../../obj-ack/libp.a(wrz.o): wrz.c - cc -O -I../h -wo -c -o ../../obj-ack/./ack/libp/wrz.o wrz.c - - - -clean:: - rm -f ../../obj-ack/./ack/libp/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/ack/liby/Makefile b/lib/ack/liby/Makefile deleted file mode 100644 index d7500c456..000000000 --- a/lib/ack/liby/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -#Generated from ./ack/liby/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../../generate.sh ./ack/liby ../../obj-ack ../../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../../obj-ack/liby.a - -../../obj-ack/liby.a: ../../obj-ack/liby.a(main.o) -../../obj-ack/liby.a: ../../obj-ack/liby.a(yyerror.o) - -../../obj-ack/liby.a: - ar cr ../../obj-ack/liby.a ../../obj-ack/./ack/liby/*.o - rm ../../obj-ack/./ack/liby/*.o - -../../obj-ack/liby.a(main.o): main.c - cc -O -D_MINIX -D_POSIX_SOURCE -wo -c -o ../../obj-ack/./ack/liby/main.o main.c -../../obj-ack/liby.a(yyerror.o): yyerror.c - cc -O -D_MINIX -D_POSIX_SOURCE -wo -c -o ../../obj-ack/./ack/liby/yyerror.o yyerror.c - - - -clean:: - rm -f ../../obj-ack/./ack/liby/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/ack/math/Makefile b/lib/ack/math/Makefile deleted file mode 100644 index 53b2dc2ac..000000000 --- a/lib/ack/math/Makefile +++ /dev/null @@ -1,47 +0,0 @@ -#Generated from ./ack/math/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../../generate.sh ./ack/math ../../obj-ack ../../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../../obj-ack/libc.a - -../../obj-ack/libc.a: ../../obj-ack/libc.a(frexp.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(modf.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(isnan.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(ldexp.o) - -../../obj-ack/libc.a: - ar cr ../../obj-ack/libc.a ../../obj-ack/./ack/math/*.o - rm ../../obj-ack/./ack/math/*.o - -../../obj-ack/libc.a(frexp.o): frexp.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./ack/math/frexp.o frexp.s -../../obj-ack/libc.a(modf.o): modf.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./ack/math/modf.o modf.s -../../obj-ack/libc.a(isnan.o): isnan.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./ack/math/isnan.o isnan.c -../../obj-ack/libc.a(ldexp.o): ldexp.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./ack/math/ldexp.o ldexp.c - - - -clean:: - rm -f ../../obj-ack/./ack/math/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/ack/rts/Makefile b/lib/ack/rts/Makefile deleted file mode 100644 index 6c94fbf70..000000000 --- a/lib/ack/rts/Makefile +++ /dev/null @@ -1,38 +0,0 @@ -#Generated from ./ack/rts/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../../generate.sh ./ack/rts ../../obj-ack ../../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../../obj-ack/libc.a - -../../obj-ack/libc.a: ../../obj-ack/libc.a(setjmp.o) - -../../obj-ack/libc.a: - ar cr ../../obj-ack/libc.a ../../obj-ack/./ack/rts/*.o - rm ../../obj-ack/./ack/rts/*.o - -../../obj-ack/libc.a(setjmp.o): setjmp.e - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./ack/rts/setjmp.o setjmp.e - - - -clean:: - rm -f ../../obj-ack/./ack/rts/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/ansi/Makefile b/lib/ansi/Makefile deleted file mode 100755 index 2c2b4f215..000000000 --- a/lib/ansi/Makefile +++ /dev/null @@ -1,491 +0,0 @@ -#Generated from ./ansi/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../generate.sh ./ansi ../obj-ack ../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../obj-ack/libc.a - -../obj-ack/libc.a: ../obj-ack/libc.a(abort.o) -../obj-ack/libc.a: ../obj-ack/libc.a(abs.o) -../obj-ack/libc.a: ../obj-ack/libc.a(asctime.o) -../obj-ack/libc.a: ../obj-ack/libc.a(assert.o) -../obj-ack/libc.a: ../obj-ack/libc.a(atexit.o) -../obj-ack/libc.a: ../obj-ack/libc.a(atof.o) -../obj-ack/libc.a: ../obj-ack/libc.a(atoi.o) -../obj-ack/libc.a: ../obj-ack/libc.a(atol.o) -../obj-ack/libc.a: ../obj-ack/libc.a(bsearch.o) -../obj-ack/libc.a: ../obj-ack/libc.a(calloc.o) -../obj-ack/libc.a: ../obj-ack/libc.a(chartab.o) -../obj-ack/libc.a: ../obj-ack/libc.a(clock.o) -../obj-ack/libc.a: ../obj-ack/libc.a(ctime.o) -../obj-ack/libc.a: ../obj-ack/libc.a(difftime.o) -../obj-ack/libc.a: ../obj-ack/libc.a(div.o) -../obj-ack/libc.a: ../obj-ack/libc.a(errlist.o) -../obj-ack/libc.a: ../obj-ack/libc.a(exit.o) -../obj-ack/libc.a: ../obj-ack/libc.a(ext_comp.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getenv.o) -../obj-ack/libc.a: ../obj-ack/libc.a(gmtime.o) -../obj-ack/libc.a: ../obj-ack/libc.a(isalnum.o) -../obj-ack/libc.a: ../obj-ack/libc.a(isalpha.o) -../obj-ack/libc.a: ../obj-ack/libc.a(isascii.o) -../obj-ack/libc.a: ../obj-ack/libc.a(iscntrl.o) -../obj-ack/libc.a: ../obj-ack/libc.a(isdigit.o) -../obj-ack/libc.a: ../obj-ack/libc.a(isgraph.o) -../obj-ack/libc.a: ../obj-ack/libc.a(islower.o) -../obj-ack/libc.a: ../obj-ack/libc.a(isprint.o) -../obj-ack/libc.a: ../obj-ack/libc.a(ispunct.o) -../obj-ack/libc.a: ../obj-ack/libc.a(isspace.o) -../obj-ack/libc.a: ../obj-ack/libc.a(isupper.o) -../obj-ack/libc.a: ../obj-ack/libc.a(isxdigit.o) -../obj-ack/libc.a: ../obj-ack/libc.a(labs.o) -../obj-ack/libc.a: ../obj-ack/libc.a(ldiv.o) -../obj-ack/libc.a: ../obj-ack/libc.a(localeconv.o) -../obj-ack/libc.a: ../obj-ack/libc.a(localtime.o) -../obj-ack/libc.a: ../obj-ack/libc.a(malloc.o) -../obj-ack/libc.a: ../obj-ack/libc.a(mblen.o) -../obj-ack/libc.a: ../obj-ack/libc.a(mbstowcs.o) -../obj-ack/libc.a: ../obj-ack/libc.a(mbtowc.o) -../obj-ack/libc.a: ../obj-ack/libc.a(misc.o) -../obj-ack/libc.a: ../obj-ack/libc.a(mktime.o) -../obj-ack/libc.a: ../obj-ack/libc.a(qsort.o) -../obj-ack/libc.a: ../obj-ack/libc.a(raise.o) -../obj-ack/libc.a: ../obj-ack/libc.a(rand.o) -../obj-ack/libc.a: ../obj-ack/libc.a(setlocale.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sigmisc.o) -../obj-ack/libc.a: ../obj-ack/libc.a(signal.o) -../obj-ack/libc.a: ../obj-ack/libc.a(strcoll.o) -../obj-ack/libc.a: ../obj-ack/libc.a(strcspn.o) -../obj-ack/libc.a: ../obj-ack/libc.a(strerror.o) -../obj-ack/libc.a: ../obj-ack/libc.a(strftime.o) -../obj-ack/libc.a: ../obj-ack/libc.a(strpbrk.o) -../obj-ack/libc.a: ../obj-ack/libc.a(strspn.o) -../obj-ack/libc.a: ../obj-ack/libc.a(strstr.o) -../obj-ack/libc.a: ../obj-ack/libc.a(strtok.o) -../obj-ack/libc.a: ../obj-ack/libc.a(strtol.o) -../obj-ack/libc.a: ../obj-ack/libc.a(strxfrm.o) -../obj-ack/libc.a: ../obj-ack/libc.a(system.o) -../obj-ack/libc.a: ../obj-ack/libc.a(tolower.o) -../obj-ack/libc.a: ../obj-ack/libc.a(toupper.o) -../obj-ack/libc.a: ../obj-ack/libc.a(tzset.o) -../obj-ack/libc.a: ../obj-ack/libc.a(wcstombs.o) -../obj-ack/libc.a: ../obj-ack/libc.a(wctomb.o) - -../obj-ack/libc.a: - ar cr ../obj-ack/libc.a ../obj-ack/./ansi/*.o - rm ../obj-ack/./ansi/*.o - -../obj-ack/libc.a(abort.o): abort.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/abort.o abort.c -../obj-ack/libc.a(abs.o): abs.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/abs.o abs.c -../obj-ack/libc.a(asctime.o): asctime.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/asctime.o asctime.c -../obj-ack/libc.a(assert.o): assert.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/assert.o assert.c -../obj-ack/libc.a(atexit.o): atexit.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/atexit.o atexit.c -../obj-ack/libc.a(atof.o): atof.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/atof.o atof.c -../obj-ack/libc.a(atoi.o): atoi.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/atoi.o atoi.c -../obj-ack/libc.a(atol.o): atol.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/atol.o atol.c -../obj-ack/libc.a(bsearch.o): bsearch.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/bsearch.o bsearch.c -../obj-ack/libc.a(calloc.o): calloc.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/calloc.o calloc.c -../obj-ack/libc.a(chartab.o): chartab.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/chartab.o chartab.c -../obj-ack/libc.a(clock.o): clock.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/clock.o clock.c -../obj-ack/libc.a(ctime.o): ctime.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/ctime.o ctime.c -../obj-ack/libc.a(difftime.o): difftime.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/difftime.o difftime.c -../obj-ack/libc.a(div.o): div.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/div.o div.c -../obj-ack/libc.a(errlist.o): errlist.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/errlist.o errlist.c -../obj-ack/libc.a(exit.o): exit.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/exit.o exit.c -../obj-ack/libc.a(ext_comp.o): ext_comp.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/ext_comp.o ext_comp.c -../obj-ack/libc.a(getenv.o): getenv.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/getenv.o getenv.c -../obj-ack/libc.a(gmtime.o): gmtime.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/gmtime.o gmtime.c -../obj-ack/libc.a(isalnum.o): isalnum.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/isalnum.o isalnum.c -../obj-ack/libc.a(isalpha.o): isalpha.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/isalpha.o isalpha.c -../obj-ack/libc.a(isascii.o): isascii.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/isascii.o isascii.c -../obj-ack/libc.a(iscntrl.o): iscntrl.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/iscntrl.o iscntrl.c -../obj-ack/libc.a(isdigit.o): isdigit.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/isdigit.o isdigit.c -../obj-ack/libc.a(isgraph.o): isgraph.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/isgraph.o isgraph.c -../obj-ack/libc.a(islower.o): islower.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/islower.o islower.c -../obj-ack/libc.a(isprint.o): isprint.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/isprint.o isprint.c -../obj-ack/libc.a(ispunct.o): ispunct.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/ispunct.o ispunct.c -../obj-ack/libc.a(isspace.o): isspace.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/isspace.o isspace.c -../obj-ack/libc.a(isupper.o): isupper.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/isupper.o isupper.c -../obj-ack/libc.a(isxdigit.o): isxdigit.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/isxdigit.o isxdigit.c -../obj-ack/libc.a(labs.o): labs.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/labs.o labs.c -../obj-ack/libc.a(ldiv.o): ldiv.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/ldiv.o ldiv.c -../obj-ack/libc.a(localeconv.o): localeconv.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/localeconv.o localeconv.c -../obj-ack/libc.a(localtime.o): localtime.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/localtime.o localtime.c -../obj-ack/libc.a(malloc.o): malloc.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/malloc.o malloc.c -../obj-ack/libc.a(mblen.o): mblen.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/mblen.o mblen.c -../obj-ack/libc.a(mbstowcs.o): mbstowcs.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/mbstowcs.o mbstowcs.c -../obj-ack/libc.a(mbtowc.o): mbtowc.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/mbtowc.o mbtowc.c -../obj-ack/libc.a(misc.o): misc.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/misc.o misc.c -../obj-ack/libc.a(mktime.o): mktime.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/mktime.o mktime.c -../obj-ack/libc.a(qsort.o): qsort.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/qsort.o qsort.c -../obj-ack/libc.a(raise.o): raise.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/raise.o raise.c -../obj-ack/libc.a(rand.o): rand.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/rand.o rand.c -../obj-ack/libc.a(setlocale.o): setlocale.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/setlocale.o setlocale.c -../obj-ack/libc.a(sigmisc.o): sigmisc.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/sigmisc.o sigmisc.c -../obj-ack/libc.a(signal.o): signal.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/signal.o signal.c -../obj-ack/libc.a(strcoll.o): strcoll.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/strcoll.o strcoll.c -../obj-ack/libc.a(strcspn.o): strcspn.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/strcspn.o strcspn.c -../obj-ack/libc.a(strerror.o): strerror.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/strerror.o strerror.c -../obj-ack/libc.a(strftime.o): strftime.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/strftime.o strftime.c -../obj-ack/libc.a(strpbrk.o): strpbrk.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/strpbrk.o strpbrk.c -../obj-ack/libc.a(strspn.o): strspn.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/strspn.o strspn.c -../obj-ack/libc.a(strstr.o): strstr.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/strstr.o strstr.c -../obj-ack/libc.a(strtok.o): strtok.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/strtok.o strtok.c -../obj-ack/libc.a(strtol.o): strtol.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/strtol.o strtol.c -../obj-ack/libc.a(strxfrm.o): strxfrm.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/strxfrm.o strxfrm.c -../obj-ack/libc.a(system.o): system.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/system.o system.c -../obj-ack/libc.a(tolower.o): tolower.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/tolower.o tolower.c -../obj-ack/libc.a(toupper.o): toupper.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/toupper.o toupper.c -../obj-ack/libc.a(tzset.o): tzset.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/tzset.o tzset.c -../obj-ack/libc.a(wcstombs.o): wcstombs.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/wcstombs.o wcstombs.c -../obj-ack/libc.a(wctomb.o): wctomb.c - cc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-ack/./ansi/wctomb.o wctomb.c - -all-gnu: ../obj-gnu/libc.a - -../obj-gnu/libc.a: ../obj-gnu/./ansi/abort.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/abs.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/asctime.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/assert.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/atexit.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/atof.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/atoi.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/atol.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/bsearch.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/calloc.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/chartab.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/clock.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/ctime.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/difftime.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/div.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/errlist.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/exit.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/ext_comp.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/getenv.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/gmtime.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/isalnum.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/isalpha.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/isascii.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/iscntrl.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/isdigit.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/isgraph.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/islower.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/isprint.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/ispunct.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/isspace.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/isupper.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/isxdigit.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/labs.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/ldiv.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/localeconv.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/localtime.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/malloc.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/mblen.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/mbstowcs.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/mbtowc.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/misc.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/mktime.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/qsort.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/raise.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/rand.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/setlocale.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/sigmisc.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/signal.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/strcoll.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/strcspn.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/strerror.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/strftime.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/strpbrk.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/strspn.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/strstr.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/strtok.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/strtol.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/strxfrm.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/system.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/tolower.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/toupper.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/tzset.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/wcstombs.o -../obj-gnu/libc.a: ../obj-gnu/./ansi/wctomb.o - -../obj-gnu/libc.a: - gar cr ../obj-gnu/libc.a $? - -../obj-gnu/./ansi/abort.o: abort.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/abort.o abort.c - -../obj-gnu/./ansi/abs.o: abs.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/abs.o abs.c - -../obj-gnu/./ansi/asctime.o: asctime.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/asctime.o asctime.c - -../obj-gnu/./ansi/assert.o: assert.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/assert.o assert.c - -../obj-gnu/./ansi/atexit.o: atexit.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/atexit.o atexit.c - -../obj-gnu/./ansi/atof.o: atof.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/atof.o atof.c - -../obj-gnu/./ansi/atoi.o: atoi.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/atoi.o atoi.c - -../obj-gnu/./ansi/atol.o: atol.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/atol.o atol.c - -../obj-gnu/./ansi/bsearch.o: bsearch.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/bsearch.o bsearch.c - -../obj-gnu/./ansi/calloc.o: calloc.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/calloc.o calloc.c - -../obj-gnu/./ansi/chartab.o: chartab.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/chartab.o chartab.c - -../obj-gnu/./ansi/clock.o: clock.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/clock.o clock.c - -../obj-gnu/./ansi/ctime.o: ctime.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/ctime.o ctime.c - -../obj-gnu/./ansi/difftime.o: difftime.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/difftime.o difftime.c - -../obj-gnu/./ansi/div.o: div.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/div.o div.c - -../obj-gnu/./ansi/errlist.o: errlist.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/errlist.o errlist.c - -../obj-gnu/./ansi/exit.o: exit.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/exit.o exit.c - -../obj-gnu/./ansi/ext_comp.o: ext_comp.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/ext_comp.o ext_comp.c - -../obj-gnu/./ansi/getenv.o: getenv.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/getenv.o getenv.c - -../obj-gnu/./ansi/gmtime.o: gmtime.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/gmtime.o gmtime.c - -../obj-gnu/./ansi/isalnum.o: isalnum.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/isalnum.o isalnum.c - -../obj-gnu/./ansi/isalpha.o: isalpha.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/isalpha.o isalpha.c - -../obj-gnu/./ansi/isascii.o: isascii.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/isascii.o isascii.c - -../obj-gnu/./ansi/iscntrl.o: iscntrl.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/iscntrl.o iscntrl.c - -../obj-gnu/./ansi/isdigit.o: isdigit.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/isdigit.o isdigit.c - -../obj-gnu/./ansi/isgraph.o: isgraph.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/isgraph.o isgraph.c - -../obj-gnu/./ansi/islower.o: islower.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/islower.o islower.c - -../obj-gnu/./ansi/isprint.o: isprint.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/isprint.o isprint.c - -../obj-gnu/./ansi/ispunct.o: ispunct.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/ispunct.o ispunct.c - -../obj-gnu/./ansi/isspace.o: isspace.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/isspace.o isspace.c - -../obj-gnu/./ansi/isupper.o: isupper.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/isupper.o isupper.c - -../obj-gnu/./ansi/isxdigit.o: isxdigit.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/isxdigit.o isxdigit.c - -../obj-gnu/./ansi/labs.o: labs.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/labs.o labs.c - -../obj-gnu/./ansi/ldiv.o: ldiv.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/ldiv.o ldiv.c - -../obj-gnu/./ansi/localeconv.o: localeconv.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/localeconv.o localeconv.c - -../obj-gnu/./ansi/localtime.o: localtime.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/localtime.o localtime.c - -../obj-gnu/./ansi/malloc.o: malloc.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/malloc.o malloc.c - -../obj-gnu/./ansi/mblen.o: mblen.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/mblen.o mblen.c - -../obj-gnu/./ansi/mbstowcs.o: mbstowcs.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/mbstowcs.o mbstowcs.c - -../obj-gnu/./ansi/mbtowc.o: mbtowc.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/mbtowc.o mbtowc.c - -../obj-gnu/./ansi/misc.o: misc.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/misc.o misc.c - -../obj-gnu/./ansi/mktime.o: mktime.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/mktime.o mktime.c - -../obj-gnu/./ansi/qsort.o: qsort.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/qsort.o qsort.c - -../obj-gnu/./ansi/raise.o: raise.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/raise.o raise.c - -../obj-gnu/./ansi/rand.o: rand.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/rand.o rand.c - -../obj-gnu/./ansi/setlocale.o: setlocale.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/setlocale.o setlocale.c - -../obj-gnu/./ansi/sigmisc.o: sigmisc.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/sigmisc.o sigmisc.c - -../obj-gnu/./ansi/signal.o: signal.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/signal.o signal.c - -../obj-gnu/./ansi/strcoll.o: strcoll.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/strcoll.o strcoll.c - -../obj-gnu/./ansi/strcspn.o: strcspn.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/strcspn.o strcspn.c - -../obj-gnu/./ansi/strerror.o: strerror.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/strerror.o strerror.c - -../obj-gnu/./ansi/strftime.o: strftime.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/strftime.o strftime.c - -../obj-gnu/./ansi/strpbrk.o: strpbrk.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/strpbrk.o strpbrk.c - -../obj-gnu/./ansi/strspn.o: strspn.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/strspn.o strspn.c - -../obj-gnu/./ansi/strstr.o: strstr.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/strstr.o strstr.c - -../obj-gnu/./ansi/strtok.o: strtok.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/strtok.o strtok.c - -../obj-gnu/./ansi/strtol.o: strtol.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/strtol.o strtol.c - -../obj-gnu/./ansi/strxfrm.o: strxfrm.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/strxfrm.o strxfrm.c - -../obj-gnu/./ansi/system.o: system.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/system.o system.c - -../obj-gnu/./ansi/tolower.o: tolower.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/tolower.o tolower.c - -../obj-gnu/./ansi/toupper.o: toupper.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/toupper.o toupper.c - -../obj-gnu/./ansi/tzset.o: tzset.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/tzset.o tzset.c - -../obj-gnu/./ansi/wcstombs.o: wcstombs.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/wcstombs.o wcstombs.c - -../obj-gnu/./ansi/wctomb.o: wctomb.c - gcc -O -D_MINIX -D_POSIX_SOURCE -D__USG -c -o ../obj-gnu/./ansi/wctomb.o wctomb.c - - - - -clean:: - rm -f ../obj-ack/./ansi/* - rm -f ../obj-gnu/./ansi/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/curses/Makefile b/lib/curses/Makefile deleted file mode 100755 index 571b765da..000000000 --- a/lib/curses/Makefile +++ /dev/null @@ -1,309 +0,0 @@ -#Generated from ./curses/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../generate.sh ./curses ../obj-ack ../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../obj-ack/libcurses.a - -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(beep.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(charpick.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(curs_set.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(cursesio.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(endwin.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(flash.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(initscr.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(longname.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(move.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(mvcursor.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(newwin.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(options.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(overlay.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(prntscan.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(refresh.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(scrreg.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(setterm.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(tabsize.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(termmisc.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(unctrl.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(update.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(waddch.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(waddstr.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(wbox.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(wclear.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(wclrtobot.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(wclrtoeol.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(wdelch.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(wdeleteln.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(werase.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(wgetch.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(wgetstr.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(windel.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(winmove.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(winsch.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(winscrol.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(winsertln.o) -../obj-ack/libcurses.a: ../obj-ack/libcurses.a(wintouch.o) - -../obj-ack/libcurses.a: - ar cr ../obj-ack/libcurses.a ../obj-ack/./curses/*.o - rm ../obj-ack/./curses/*.o - -../obj-ack/libcurses.a(beep.o): beep.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/beep.o beep.c -../obj-ack/libcurses.a(charpick.o): charpick.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/charpick.o charpick.c -../obj-ack/libcurses.a(curs_set.o): curs_set.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/curs_set.o curs_set.c -../obj-ack/libcurses.a(cursesio.o): cursesio.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/cursesio.o cursesio.c -../obj-ack/libcurses.a(endwin.o): endwin.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/endwin.o endwin.c -../obj-ack/libcurses.a(flash.o): flash.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/flash.o flash.c -../obj-ack/libcurses.a(initscr.o): initscr.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/initscr.o initscr.c -../obj-ack/libcurses.a(longname.o): longname.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/longname.o longname.c -../obj-ack/libcurses.a(move.o): move.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/move.o move.c -../obj-ack/libcurses.a(mvcursor.o): mvcursor.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/mvcursor.o mvcursor.c -../obj-ack/libcurses.a(newwin.o): newwin.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/newwin.o newwin.c -../obj-ack/libcurses.a(options.o): options.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/options.o options.c -../obj-ack/libcurses.a(overlay.o): overlay.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/overlay.o overlay.c -../obj-ack/libcurses.a(prntscan.o): prntscan.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/prntscan.o prntscan.c -../obj-ack/libcurses.a(refresh.o): refresh.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/refresh.o refresh.c -../obj-ack/libcurses.a(scrreg.o): scrreg.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/scrreg.o scrreg.c -../obj-ack/libcurses.a(setterm.o): setterm.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/setterm.o setterm.c -../obj-ack/libcurses.a(tabsize.o): tabsize.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/tabsize.o tabsize.c -../obj-ack/libcurses.a(termmisc.o): termmisc.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/termmisc.o termmisc.c -../obj-ack/libcurses.a(unctrl.o): unctrl.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/unctrl.o unctrl.c -../obj-ack/libcurses.a(update.o): update.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/update.o update.c -../obj-ack/libcurses.a(waddch.o): waddch.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/waddch.o waddch.c -../obj-ack/libcurses.a(waddstr.o): waddstr.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/waddstr.o waddstr.c -../obj-ack/libcurses.a(wbox.o): wbox.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/wbox.o wbox.c -../obj-ack/libcurses.a(wclear.o): wclear.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/wclear.o wclear.c -../obj-ack/libcurses.a(wclrtobot.o): wclrtobot.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/wclrtobot.o wclrtobot.c -../obj-ack/libcurses.a(wclrtoeol.o): wclrtoeol.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/wclrtoeol.o wclrtoeol.c -../obj-ack/libcurses.a(wdelch.o): wdelch.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/wdelch.o wdelch.c -../obj-ack/libcurses.a(wdeleteln.o): wdeleteln.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/wdeleteln.o wdeleteln.c -../obj-ack/libcurses.a(werase.o): werase.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/werase.o werase.c -../obj-ack/libcurses.a(wgetch.o): wgetch.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/wgetch.o wgetch.c -../obj-ack/libcurses.a(wgetstr.o): wgetstr.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/wgetstr.o wgetstr.c -../obj-ack/libcurses.a(windel.o): windel.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/windel.o windel.c -../obj-ack/libcurses.a(winmove.o): winmove.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/winmove.o winmove.c -../obj-ack/libcurses.a(winsch.o): winsch.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/winsch.o winsch.c -../obj-ack/libcurses.a(winscrol.o): winscrol.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/winscrol.o winscrol.c -../obj-ack/libcurses.a(winsertln.o): winsertln.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/winsertln.o winsertln.c -../obj-ack/libcurses.a(wintouch.o): wintouch.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./curses/wintouch.o wintouch.c - -all-gnu: ../obj-gnu/libcurses.a - -../obj-gnu/libcurses.a: ../obj-gnu/./curses/beep.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/charpick.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/curs_set.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/cursesio.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/endwin.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/flash.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/initscr.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/longname.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/move.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/mvcursor.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/newwin.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/options.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/overlay.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/prntscan.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/refresh.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/scrreg.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/setterm.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/tabsize.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/termmisc.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/unctrl.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/update.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/waddch.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/waddstr.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/wbox.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/wclear.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/wclrtobot.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/wclrtoeol.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/wdelch.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/wdeleteln.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/werase.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/wgetch.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/wgetstr.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/windel.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/winmove.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/winsch.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/winscrol.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/winsertln.o -../obj-gnu/libcurses.a: ../obj-gnu/./curses/wintouch.o - -../obj-gnu/libcurses.a: - gar cr ../obj-gnu/libcurses.a $? - -../obj-gnu/./curses/beep.o: beep.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/beep.o beep.c - -../obj-gnu/./curses/charpick.o: charpick.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/charpick.o charpick.c - -../obj-gnu/./curses/curs_set.o: curs_set.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/curs_set.o curs_set.c - -../obj-gnu/./curses/cursesio.o: cursesio.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/cursesio.o cursesio.c - -../obj-gnu/./curses/endwin.o: endwin.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/endwin.o endwin.c - -../obj-gnu/./curses/flash.o: flash.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/flash.o flash.c - -../obj-gnu/./curses/initscr.o: initscr.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/initscr.o initscr.c - -../obj-gnu/./curses/longname.o: longname.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/longname.o longname.c - -../obj-gnu/./curses/move.o: move.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/move.o move.c - -../obj-gnu/./curses/mvcursor.o: mvcursor.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/mvcursor.o mvcursor.c - -../obj-gnu/./curses/newwin.o: newwin.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/newwin.o newwin.c - -../obj-gnu/./curses/options.o: options.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/options.o options.c - -../obj-gnu/./curses/overlay.o: overlay.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/overlay.o overlay.c - -../obj-gnu/./curses/prntscan.o: prntscan.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/prntscan.o prntscan.c - -../obj-gnu/./curses/refresh.o: refresh.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/refresh.o refresh.c - -../obj-gnu/./curses/scrreg.o: scrreg.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/scrreg.o scrreg.c - -../obj-gnu/./curses/setterm.o: setterm.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/setterm.o setterm.c - -../obj-gnu/./curses/tabsize.o: tabsize.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/tabsize.o tabsize.c - -../obj-gnu/./curses/termmisc.o: termmisc.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/termmisc.o termmisc.c - -../obj-gnu/./curses/unctrl.o: unctrl.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/unctrl.o unctrl.c - -../obj-gnu/./curses/update.o: update.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/update.o update.c - -../obj-gnu/./curses/waddch.o: waddch.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/waddch.o waddch.c - -../obj-gnu/./curses/waddstr.o: waddstr.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/waddstr.o waddstr.c - -../obj-gnu/./curses/wbox.o: wbox.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/wbox.o wbox.c - -../obj-gnu/./curses/wclear.o: wclear.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/wclear.o wclear.c - -../obj-gnu/./curses/wclrtobot.o: wclrtobot.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/wclrtobot.o wclrtobot.c - -../obj-gnu/./curses/wclrtoeol.o: wclrtoeol.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/wclrtoeol.o wclrtoeol.c - -../obj-gnu/./curses/wdelch.o: wdelch.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/wdelch.o wdelch.c - -../obj-gnu/./curses/wdeleteln.o: wdeleteln.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/wdeleteln.o wdeleteln.c - -../obj-gnu/./curses/werase.o: werase.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/werase.o werase.c - -../obj-gnu/./curses/wgetch.o: wgetch.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/wgetch.o wgetch.c - -../obj-gnu/./curses/wgetstr.o: wgetstr.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/wgetstr.o wgetstr.c - -../obj-gnu/./curses/windel.o: windel.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/windel.o windel.c - -../obj-gnu/./curses/winmove.o: winmove.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/winmove.o winmove.c - -../obj-gnu/./curses/winsch.o: winsch.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/winsch.o winsch.c - -../obj-gnu/./curses/winscrol.o: winscrol.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/winscrol.o winscrol.c - -../obj-gnu/./curses/winsertln.o: winsertln.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/winsertln.o winsertln.c - -../obj-gnu/./curses/wintouch.o: wintouch.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./curses/wintouch.o wintouch.c - - - - -clean:: - rm -f ../obj-ack/./curses/* - rm -f ../obj-gnu/./curses/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/dummy/Makefile b/lib/dummy/Makefile deleted file mode 100755 index 5c03ce813..000000000 --- a/lib/dummy/Makefile +++ /dev/null @@ -1,50 +0,0 @@ -#Generated from ./dummy/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../generate.sh ./dummy ../obj-ack ../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../obj-ack/libm.a - -../obj-ack/libm.a: ../obj-ack/libm.a(dummy.o) - -../obj-ack/libm.a: - ar cr ../obj-ack/libm.a ../obj-ack/./dummy/*.o - rm ../obj-ack/./dummy/*.o - -../obj-ack/libm.a(dummy.o): dummy.c - cc -c -o ../obj-ack/./dummy/dummy.o dummy.c - -all-gnu: ../obj-gnu/libm.a - -../obj-gnu/libm.a: ../obj-gnu/./dummy/dummy.o - -../obj-gnu/libm.a: - gar cr ../obj-gnu/libm.a $? - -../obj-gnu/./dummy/dummy.o: dummy.c - gcc -c -o ../obj-gnu/./dummy/dummy.o dummy.c - - - - -clean:: - rm -f ../obj-ack/./dummy/* - rm -f ../obj-gnu/./dummy/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/editline/Makefile b/lib/editline/Makefile deleted file mode 100755 index 8e6f0fd98..000000000 --- a/lib/editline/Makefile +++ /dev/null @@ -1,64 +0,0 @@ -#Generated from ./editline/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../generate.sh ./editline ../obj-ack ../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../obj-ack/libedit.a - -../obj-ack/libedit.a: ../obj-ack/libedit.a(editline.o) -../obj-ack/libedit.a: ../obj-ack/libedit.a(complete.o) -../obj-ack/libedit.a: ../obj-ack/libedit.a(sysunix.o) - -../obj-ack/libedit.a: - ar cr ../obj-ack/libedit.a ../obj-ack/./editline/*.o - rm ../obj-ack/./editline/*.o - -../obj-ack/libedit.a(editline.o): editline.c - cc -O -D_MINIX -D_POSIX_SOURCE -DANSI_ARROWS -DHAVE_STDLIB -DHAVE_TCGETATTR -DHIDE -DUSE_DIRENT -DHIST_SIZE=100 -DUSE_TERMCAP -DSYS_UNIX -wo -c -o ../obj-ack/./editline/editline.o editline.c -../obj-ack/libedit.a(complete.o): complete.c - cc -O -D_MINIX -D_POSIX_SOURCE -DANSI_ARROWS -DHAVE_STDLIB -DHAVE_TCGETATTR -DHIDE -DUSE_DIRENT -DHIST_SIZE=100 -DUSE_TERMCAP -DSYS_UNIX -wo -c -o ../obj-ack/./editline/complete.o complete.c -../obj-ack/libedit.a(sysunix.o): sysunix.c - cc -O -D_MINIX -D_POSIX_SOURCE -DANSI_ARROWS -DHAVE_STDLIB -DHAVE_TCGETATTR -DHIDE -DUSE_DIRENT -DHIST_SIZE=100 -DUSE_TERMCAP -DSYS_UNIX -wo -c -o ../obj-ack/./editline/sysunix.o sysunix.c - -all-gnu: ../obj-gnu/libedit.a - -../obj-gnu/libedit.a: ../obj-gnu/./editline/editline.o -../obj-gnu/libedit.a: ../obj-gnu/./editline/complete.o -../obj-gnu/libedit.a: ../obj-gnu/./editline/sysunix.o - -../obj-gnu/libedit.a: - gar cr ../obj-gnu/libedit.a $? - -../obj-gnu/./editline/editline.o: editline.c - gcc -O -D_MINIX -D_POSIX_SOURCE -DANSI_ARROWS -DHAVE_STDLIB -DHAVE_TCGETATTR -DHIDE -DUSE_DIRENT -DHIST_SIZE=100 -DUSE_TERMCAP -DSYS_UNIX -wo -c -o ../obj-gnu/./editline/editline.o editline.c - -../obj-gnu/./editline/complete.o: complete.c - gcc -O -D_MINIX -D_POSIX_SOURCE -DANSI_ARROWS -DHAVE_STDLIB -DHAVE_TCGETATTR -DHIDE -DUSE_DIRENT -DHIST_SIZE=100 -DUSE_TERMCAP -DSYS_UNIX -wo -c -o ../obj-gnu/./editline/complete.o complete.c - -../obj-gnu/./editline/sysunix.o: sysunix.c - gcc -O -D_MINIX -D_POSIX_SOURCE -DANSI_ARROWS -DHAVE_STDLIB -DHAVE_TCGETATTR -DHIDE -DUSE_DIRENT -DHIST_SIZE=100 -DUSE_TERMCAP -DSYS_UNIX -wo -c -o ../obj-gnu/./editline/sysunix.o sysunix.c - - - - -clean:: - rm -f ../obj-ack/./editline/* - rm -f ../obj-gnu/./editline/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/end/Makefile b/lib/end/Makefile deleted file mode 100755 index e13b54067..000000000 --- a/lib/end/Makefile +++ /dev/null @@ -1,75 +0,0 @@ -#Generated from ./end/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../generate.sh ./end ../obj-ack ../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../obj-ack/end.a - -../obj-ack/end.a: ../obj-ack/end.a(edata.o) -../obj-ack/end.a: ../obj-ack/end.a(em_end.o) -../obj-ack/end.a: ../obj-ack/end.a(end.o) -../obj-ack/end.a: ../obj-ack/end.a(etext.o) - -../obj-ack/end.a: - ar cr ../obj-ack/end.a ../obj-ack/./end/*.o - rm ../obj-ack/./end/*.o - -../obj-ack/end.a(edata.o): edata.s - cc -c -o ../obj-ack/./end/edata.o edata.s -../obj-ack/end.a(em_end.o): em_end.s - cc -c -o ../obj-ack/./end/em_end.o em_end.s -../obj-ack/end.a(end.o): end.s - cc -c -o ../obj-ack/./end/end.o end.s -../obj-ack/end.a(etext.o): etext.s - cc -c -o ../obj-ack/./end/etext.o etext.s - -all-gnu: ../obj-gnu/end.a - -../obj-gnu/end.a: ../obj-gnu/./end/edata.o -../obj-gnu/end.a: ../obj-gnu/./end/em_end.o -../obj-gnu/end.a: ../obj-gnu/./end/end.o -../obj-gnu/end.a: ../obj-gnu/./end/etext.o - -../obj-gnu/end.a: - gar cr ../obj-gnu/end.a $? - -../obj-gnu/./end/edata.o: edata.s - gcc -E -x assembler-with-cpp -I. edata.s | asmconv -mi386 ack gnu > ../obj-gnu/./end/edata.s.gnu || true - gas -o ../obj-gnu/./end/edata.o ../obj-gnu/./end/edata.s.gnu - -../obj-gnu/./end/em_end.o: em_end.s - gcc -E -x assembler-with-cpp -I. em_end.s | asmconv -mi386 ack gnu > ../obj-gnu/./end/em_end.s.gnu || true - gas -o ../obj-gnu/./end/em_end.o ../obj-gnu/./end/em_end.s.gnu - -../obj-gnu/./end/end.o: end.s - gcc -E -x assembler-with-cpp -I. end.s | asmconv -mi386 ack gnu > ../obj-gnu/./end/end.s.gnu || true - gas -o ../obj-gnu/./end/end.o ../obj-gnu/./end/end.s.gnu - -../obj-gnu/./end/etext.o: etext.s - gcc -E -x assembler-with-cpp -I. etext.s | asmconv -mi386 ack gnu > ../obj-gnu/./end/etext.s.gnu || true - gas -o ../obj-gnu/./end/etext.o ../obj-gnu/./end/etext.s.gnu - - - - -clean:: - rm -f ../obj-ack/./end/* - rm -f ../obj-gnu/./end/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/generate.sh b/lib/generate.sh index 7016cffee..18c67e867 100644 --- a/lib/generate.sh +++ b/lib/generate.sh @@ -29,13 +29,15 @@ echo "all-ack:" echo "all-gnu:" echo echo "makefiles: Makefile" +echo "Makedepend-ack Makedepend-gnu: " +echo " sh $0 $OBJDIR $ACKBASE $GNUBASE" echo -echo "Makefile: Makefile.in" +echo "Makefile: Makefile.in Makedepend-ack Makedepend-gnu" echo " sh $0 $OBJDIR $ACKBASE $GNUBASE" echo " @echo" -echo " @echo \"*Attention*\"" -echo " @echo \"Makefile is regenerated... rerun command to see changes\"" -echo " @echo \"*Attention*\"" +echo " @echo *Attention*" +echo " @echo Makefile is regenerated... rerun command to see changes" +echo " @echo *Attention*" echo " @echo" echo if [ ! -z "$SUBDIRS" ]; then diff --git a/lib/gnu/Makefile b/lib/gnu/Makefile deleted file mode 100644 index 9ce015336..000000000 --- a/lib/gnu/Makefile +++ /dev/null @@ -1,53 +0,0 @@ -#Generated from ./gnu/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../generate.sh ./gnu ../obj-ack ../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -all-ack: makefiles - cd end && $(MAKE) $@ - cd ieee_float && $(MAKE) $@ - cd rts && $(MAKE) $@ - -all-gnu: makefiles - mkdir -p ../obj-gnu/./gnu/end - cd end && $(MAKE) $@ - mkdir -p ../obj-gnu/./gnu/ieee_float - cd ieee_float && $(MAKE) $@ - mkdir -p ../obj-gnu/./gnu/rts - cd rts && $(MAKE) $@ - -clean depend depend-ack depend-gnu:: makefiles - cd end && $(MAKE) $@ - cd ieee_float && $(MAKE) $@ - cd rts && $(MAKE) $@ - -makefiles: end/Makefile -makefiles: ieee_float/Makefile -makefiles: rts/Makefile - -end/Makefile: end/Makefile.in - cd end && sh ../../generate.sh ./gnu/end ../../obj-ack ../../obj-gnu && $(MAKE) makefiles -ieee_float/Makefile: ieee_float/Makefile.in - cd ieee_float && sh ../../generate.sh ./gnu/ieee_float ../../obj-ack ../../obj-gnu && $(MAKE) makefiles -rts/Makefile: rts/Makefile.in - cd rts && sh ../../generate.sh ./gnu/rts ../../obj-ack ../../obj-gnu && $(MAKE) makefiles - -clean:: - rm -f ../obj-gnu/./gnu/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/gnu/end/Makefile b/lib/gnu/end/Makefile deleted file mode 100644 index ffc1510a9..000000000 --- a/lib/gnu/end/Makefile +++ /dev/null @@ -1,38 +0,0 @@ -#Generated from ./gnu/end/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../../generate.sh ./gnu/end ../../obj-ack ../../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-gnu: ../../obj-gnu/end.a - -../../obj-gnu/end.a: ../../obj-gnu/./gnu/end/gnu_end.o - -../../obj-gnu/end.a: - gar cr ../../obj-gnu/end.a $? - -../../obj-gnu/./gnu/end/gnu_end.o: gnu_end.gs - gas -o ../../obj-gnu/./gnu/end/gnu_end.o gnu_end.gs - - - - -clean:: - rm -f ../../obj-gnu/./gnu/end/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/gnu/ieee_float/Makefile b/lib/gnu/ieee_float/Makefile deleted file mode 100644 index 574fb5f4c..000000000 --- a/lib/gnu/ieee_float/Makefile +++ /dev/null @@ -1,58 +0,0 @@ -#Generated from ./gnu/ieee_float/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../../generate.sh ./gnu/ieee_float ../../obj-ack ../../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-gnu: ../../obj-gnu/libc.a - -../../obj-gnu/libc.a: ../../obj-gnu/./gnu/ieee_float/frexp.o -../../obj-gnu/libc.a: ../../obj-gnu/./gnu/ieee_float/isinf.o -../../obj-gnu/libc.a: ../../obj-gnu/./gnu/ieee_float/isnan.o -../../obj-gnu/libc.a: ../../obj-gnu/./gnu/ieee_float/ldexp.o -../../obj-gnu/libc.a: ../../obj-gnu/./gnu/ieee_float/modf.o -../../obj-gnu/libc.a: ../../obj-gnu/./gnu/ieee_float/fphook.o - -../../obj-gnu/libc.a: - gar cr ../../obj-gnu/libc.a $? - -../../obj-gnu/./gnu/ieee_float/frexp.o: frexp.c - gcc -O -I.. -c -o ../../obj-gnu/./gnu/ieee_float/frexp.o frexp.c - -../../obj-gnu/./gnu/ieee_float/isinf.o: isinf.c - gcc -O -I.. -c -o ../../obj-gnu/./gnu/ieee_float/isinf.o isinf.c - -../../obj-gnu/./gnu/ieee_float/isnan.o: isnan.c - gcc -O -I.. -c -o ../../obj-gnu/./gnu/ieee_float/isnan.o isnan.c - -../../obj-gnu/./gnu/ieee_float/ldexp.o: ldexp.c - gcc -O -I.. -c -o ../../obj-gnu/./gnu/ieee_float/ldexp.o ldexp.c - -../../obj-gnu/./gnu/ieee_float/modf.o: modf.c - gcc -O -I.. -c -o ../../obj-gnu/./gnu/ieee_float/modf.o modf.c - -../../obj-gnu/./gnu/ieee_float/fphook.o: fphook.c - gcc -O -I.. -c -o ../../obj-gnu/./gnu/ieee_float/fphook.o fphook.c - - - - -clean:: - rm -f ../../obj-gnu/./gnu/ieee_float/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/gnu/rts/Makefile b/lib/gnu/rts/Makefile deleted file mode 100644 index 86cec970d..000000000 --- a/lib/gnu/rts/Makefile +++ /dev/null @@ -1,50 +0,0 @@ -#Generated from ./gnu/rts/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../../generate.sh ./gnu/rts ../../obj-ack ../../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-gnu: ../../obj-gnu/libc.a - -../../obj-gnu/libc.a: ../../obj-gnu/./gnu/rts/_longjmp.o -../../obj-gnu/libc.a: ../../obj-gnu/./gnu/rts/_setjmp.o -../../obj-gnu/libc.a: ../../obj-gnu/./gnu/rts/longjmp.o -../../obj-gnu/libc.a: ../../obj-gnu/./gnu/rts/setjmp.o - -../../obj-gnu/libc.a: - gar cr ../../obj-gnu/libc.a $? - -../../obj-gnu/./gnu/rts/_longjmp.o: _longjmp.gs - gas -o ../../obj-gnu/./gnu/rts/_longjmp.o _longjmp.gs - -../../obj-gnu/./gnu/rts/_setjmp.o: _setjmp.gs - gas -o ../../obj-gnu/./gnu/rts/_setjmp.o _setjmp.gs - -../../obj-gnu/./gnu/rts/longjmp.o: longjmp.gs - gas -o ../../obj-gnu/./gnu/rts/longjmp.o longjmp.gs - -../../obj-gnu/./gnu/rts/setjmp.o: setjmp.gs - gas -o ../../obj-gnu/./gnu/rts/setjmp.o setjmp.gs - - - - -clean:: - rm -f ../../obj-gnu/./gnu/rts/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/h/em_abs.h b/lib/h/em_abs.h deleted file mode 100755 index 9855cff5a..000000000 --- a/lib/h/em_abs.h +++ /dev/null @@ -1,35 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - */ -#define LINO_AD 0 -#define FILN_AD 4 - -#define LINO (*(int *)(_hol0()+LINO_AD)) -#define FILN (*(char **)(_hol0()+FILN_AD)) - -#define EARRAY 0 -#define ERANGE 1 -#define ESET 2 -#define EIOVFL 3 -#define EFOVFL 4 -#define EFUNFL 5 -#define EIDIVZ 6 -#define EFDIVZ 7 -#define EIUND 8 -#define EFUND 9 -#define ECONV 10 - -#define ESTACK 16 -#define EHEAP 17 -#define EILLINS 18 -#define EODDZ 19 -#define ECASE 20 -#define EMEMFLT 21 -#define EBADPTR 22 -#define EBADPC 23 -#define EBADLAE 24 -#define EBADMON 25 -#define EBADLIN 26 -#define EBADGTO 27 diff --git a/lib/h/m2_traps.h b/lib/h/m2_traps.h deleted file mode 100755 index 9ea6330f0..000000000 --- a/lib/h/m2_traps.h +++ /dev/null @@ -1,16 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1990 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - */ - -/* Modula-2 runtime errors */ - -#define M2_TOOLARGE 64 /* stack of process too large */ -#define M2_TOOMANY 65 /* too many nested traps & handlers */ -#define M2_NORESULT 66 /* no RETURN from procedure function */ -#define M2_UOVFL 67 /* cardinal overflow */ -#define M2_FORCH 68 /* FOR-loop control variable changed */ -#define M2_UUVFL 69 /* cardinal underflow */ -#define M2_INTERNAL 70 /* internal error, should not happen */ -#define M2_UNIXSIG 71 /* unix signal */ diff --git a/lib/h/pc_err.h b/lib/h/pc_err.h deleted file mode 100755 index bf72386c7..000000000 --- a/lib/h/pc_err.h +++ /dev/null @@ -1,29 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - */ -#define EARGC 64 -#define EEXP 65 -#define ELOG 66 -#define ESQT 67 -#define EASS 68 -#define EPACK 69 -#define EUNPACK 70 -#define EMOD 71 -#define EBADF 72 -#define EFREE 73 -#define EFUNASS 74 -#define EWIDTH 75 - -#define EWRITEF 96 -#define EREADF 97 -#define EEOF 98 -#define EFTRUNC 99 -#define ERESET 100 -#define EREWR 101 -#define ECLOSE 102 -#define EREAD 103 -#define EWRITE 104 -#define EDIGIT 105 -#define EASCII 106 diff --git a/lib/h/pc_file.h b/lib/h/pc_file.h deleted file mode 100755 index 3cd9f9dcd..000000000 --- a/lib/h/pc_file.h +++ /dev/null @@ -1,24 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - */ -#define WRBIT 0100000 -#define TXTBIT 040000 -#define EOFBIT 020000 -#define ELNBIT 010000 -#define WINDOW 04000 -#define MAGIC 0252 - -#define PC_BUFLEN 1024 - -struct file { - char *ptr; - unsigned flags; - char *fname; - int ufd; - int size; - int count; - int buflen; - char bufadr[PC_BUFLEN]; -}; diff --git a/lib/h/pc_math.h b/lib/h/pc_math.h deleted file mode 100755 index 0b2aaea83..000000000 --- a/lib/h/pc_math.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * localmath.h - This header is used by the mathematical library. - */ -/* $Header$ */ - -/* some constants (Hart & Cheney) */ -#define M_PI 3.14159265358979323846264338327950288 -#define M_2PI 6.28318530717958647692528676655900576 -#define M_3PI_4 2.35619449019234492884698253745962716 -#define M_PI_2 1.57079632679489661923132169163975144 -#define M_3PI_8 1.17809724509617246442349126872981358 -#define M_PI_4 0.78539816339744830961566084581987572 -#define M_PI_8 0.39269908169872415480783042290993786 -#define M_1_PI 0.31830988618379067153776752674502872 -#define M_2_PI 0.63661977236758134307553505349005744 -#define M_4_PI 1.27323954473516268615107010698011488 -#define M_E 2.71828182845904523536028747135266250 -#define M_LOG2E 1.44269504088896340735992468100189213 -#define M_LOG10E 0.43429448190325182765112891891660508 -#define M_LN2 0.69314718055994530941723212145817657 -#define M_LN10 2.30258509299404568401799145468436421 -#define M_SQRT2 1.41421356237309504880168872420969808 -#define M_1_SQRT2 0.70710678118654752440084436210484904 -#define M_EULER 0.57721566490153286060651209008240243 - -/* macros for constructing polynomials */ -#define POLYNOM1(x, a) ((a)[1]*(x)+(a)[0]) -#define POLYNOM2(x, a) (POLYNOM1((x),(a)+1)*(x)+(a)[0]) -#define POLYNOM3(x, a) (POLYNOM2((x),(a)+1)*(x)+(a)[0]) -#define POLYNOM4(x, a) (POLYNOM3((x),(a)+1)*(x)+(a)[0]) -#define POLYNOM5(x, a) (POLYNOM4((x),(a)+1)*(x)+(a)[0]) -#define POLYNOM6(x, a) (POLYNOM5((x),(a)+1)*(x)+(a)[0]) -#define POLYNOM7(x, a) (POLYNOM6((x),(a)+1)*(x)+(a)[0]) -#define POLYNOM8(x, a) (POLYNOM7((x),(a)+1)*(x)+(a)[0]) -#define POLYNOM9(x, a) (POLYNOM8((x),(a)+1)*(x)+(a)[0]) -#define POLYNOM10(x, a) (POLYNOM9((x),(a)+1)*(x)+(a)[0]) -#define POLYNOM11(x, a) (POLYNOM10((x),(a)+1)*(x)+(a)[0]) -#define POLYNOM12(x, a) (POLYNOM11((x),(a)+1)*(x)+(a)[0]) -#define POLYNOM13(x, a) (POLYNOM12((x),(a)+1)*(x)+(a)[0]) - -#define M_LN_MAX_D (M_LN2 * DBL_MAX_EXP) -#define M_LN_MIN_D (M_LN2 * (DBL_MIN_EXP - 1)) diff --git a/lib/i386/Makefile b/lib/i386/Makefile deleted file mode 100755 index b34fdd0ce..000000000 --- a/lib/i386/Makefile +++ /dev/null @@ -1,65 +0,0 @@ -#Generated from ./i386/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../generate.sh ./i386 ../obj-ack ../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -all-ack: makefiles - mkdir -p ../obj-ack/./i386/int64 - cd int64 && $(MAKE) $@ - mkdir -p ../obj-ack/./i386/misc - cd misc && $(MAKE) $@ - mkdir -p ../obj-ack/./i386/rts - cd rts && $(MAKE) $@ - mkdir -p ../obj-ack/./i386/string - cd string && $(MAKE) $@ - -all-gnu: makefiles - mkdir -p ../obj-gnu/./i386/int64 - cd int64 && $(MAKE) $@ - mkdir -p ../obj-gnu/./i386/misc - cd misc && $(MAKE) $@ - mkdir -p ../obj-gnu/./i386/rts - cd rts && $(MAKE) $@ - mkdir -p ../obj-gnu/./i386/string - cd string && $(MAKE) $@ - -clean depend depend-ack depend-gnu:: makefiles - cd int64 && $(MAKE) $@ - cd misc && $(MAKE) $@ - cd rts && $(MAKE) $@ - cd string && $(MAKE) $@ - -makefiles: int64/Makefile -makefiles: misc/Makefile -makefiles: rts/Makefile -makefiles: string/Makefile - -int64/Makefile: int64/Makefile.in - cd int64 && sh ../../generate.sh ./i386/int64 ../../obj-ack ../../obj-gnu && $(MAKE) makefiles -misc/Makefile: misc/Makefile.in - cd misc && sh ../../generate.sh ./i386/misc ../../obj-ack ../../obj-gnu && $(MAKE) makefiles -rts/Makefile: rts/Makefile.in - cd rts && sh ../../generate.sh ./i386/rts ../../obj-ack ../../obj-gnu && $(MAKE) makefiles -string/Makefile: string/Makefile.in - cd string && sh ../../generate.sh ./i386/string ../../obj-ack ../../obj-gnu && $(MAKE) makefiles - -clean:: - rm -f ../obj-ack/./i386/* - rm -f ../obj-gnu/./i386/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/i386/int64/Makefile b/lib/i386/int64/Makefile deleted file mode 100755 index 544a697e9..000000000 --- a/lib/i386/int64/Makefile +++ /dev/null @@ -1,139 +0,0 @@ -#Generated from ./i386/int64/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../../generate.sh ./i386/int64 ../../obj-ack ../../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../../obj-ack/libc.a - -../../obj-ack/libc.a: ../../obj-ack/libc.a(add64.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(add64u.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(cmp64.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(cv64u.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(cvu64.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(diff64.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(div64u.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(ex64.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(make64.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(mul64u.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(sub64.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(sub64u.o) - -../../obj-ack/libc.a: - ar cr ../../obj-ack/libc.a ../../obj-ack/./i386/int64/*.o - rm ../../obj-ack/./i386/int64/*.o - -../../obj-ack/libc.a(add64.o): add64.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/int64/add64.o add64.s -../../obj-ack/libc.a(add64u.o): add64u.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/int64/add64u.o add64u.s -../../obj-ack/libc.a(cmp64.o): cmp64.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/int64/cmp64.o cmp64.s -../../obj-ack/libc.a(cv64u.o): cv64u.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/int64/cv64u.o cv64u.s -../../obj-ack/libc.a(cvu64.o): cvu64.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/int64/cvu64.o cvu64.s -../../obj-ack/libc.a(diff64.o): diff64.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/int64/diff64.o diff64.s -../../obj-ack/libc.a(div64u.o): div64u.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/int64/div64u.o div64u.s -../../obj-ack/libc.a(ex64.o): ex64.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/int64/ex64.o ex64.s -../../obj-ack/libc.a(make64.o): make64.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/int64/make64.o make64.s -../../obj-ack/libc.a(mul64u.o): mul64u.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/int64/mul64u.o mul64u.s -../../obj-ack/libc.a(sub64.o): sub64.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/int64/sub64.o sub64.s -../../obj-ack/libc.a(sub64u.o): sub64u.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/int64/sub64u.o sub64u.s - -all-gnu: ../../obj-gnu/libc.a - -../../obj-gnu/libc.a: ../../obj-gnu/./i386/int64/add64.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/int64/add64u.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/int64/cmp64.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/int64/cv64u.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/int64/cvu64.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/int64/diff64.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/int64/div64u.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/int64/ex64.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/int64/make64.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/int64/mul64u.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/int64/sub64.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/int64/sub64u.o - -../../obj-gnu/libc.a: - gar cr ../../obj-gnu/libc.a $? - -../../obj-gnu/./i386/int64/add64.o: add64.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. add64.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/int64/add64.s.gnu || true - gas -o ../../obj-gnu/./i386/int64/add64.o ../../obj-gnu/./i386/int64/add64.s.gnu - -../../obj-gnu/./i386/int64/add64u.o: add64u.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. add64u.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/int64/add64u.s.gnu || true - gas -o ../../obj-gnu/./i386/int64/add64u.o ../../obj-gnu/./i386/int64/add64u.s.gnu - -../../obj-gnu/./i386/int64/cmp64.o: cmp64.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. cmp64.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/int64/cmp64.s.gnu || true - gas -o ../../obj-gnu/./i386/int64/cmp64.o ../../obj-gnu/./i386/int64/cmp64.s.gnu - -../../obj-gnu/./i386/int64/cv64u.o: cv64u.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. cv64u.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/int64/cv64u.s.gnu || true - gas -o ../../obj-gnu/./i386/int64/cv64u.o ../../obj-gnu/./i386/int64/cv64u.s.gnu - -../../obj-gnu/./i386/int64/cvu64.o: cvu64.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. cvu64.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/int64/cvu64.s.gnu || true - gas -o ../../obj-gnu/./i386/int64/cvu64.o ../../obj-gnu/./i386/int64/cvu64.s.gnu - -../../obj-gnu/./i386/int64/diff64.o: diff64.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. diff64.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/int64/diff64.s.gnu || true - gas -o ../../obj-gnu/./i386/int64/diff64.o ../../obj-gnu/./i386/int64/diff64.s.gnu - -../../obj-gnu/./i386/int64/div64u.o: div64u.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. div64u.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/int64/div64u.s.gnu || true - gas -o ../../obj-gnu/./i386/int64/div64u.o ../../obj-gnu/./i386/int64/div64u.s.gnu - -../../obj-gnu/./i386/int64/ex64.o: ex64.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. ex64.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/int64/ex64.s.gnu || true - gas -o ../../obj-gnu/./i386/int64/ex64.o ../../obj-gnu/./i386/int64/ex64.s.gnu - -../../obj-gnu/./i386/int64/make64.o: make64.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. make64.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/int64/make64.s.gnu || true - gas -o ../../obj-gnu/./i386/int64/make64.o ../../obj-gnu/./i386/int64/make64.s.gnu - -../../obj-gnu/./i386/int64/mul64u.o: mul64u.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. mul64u.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/int64/mul64u.s.gnu || true - gas -o ../../obj-gnu/./i386/int64/mul64u.o ../../obj-gnu/./i386/int64/mul64u.s.gnu - -../../obj-gnu/./i386/int64/sub64.o: sub64.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. sub64.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/int64/sub64.s.gnu || true - gas -o ../../obj-gnu/./i386/int64/sub64.o ../../obj-gnu/./i386/int64/sub64.s.gnu - -../../obj-gnu/./i386/int64/sub64u.o: sub64u.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. sub64u.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/int64/sub64u.s.gnu || true - gas -o ../../obj-gnu/./i386/int64/sub64u.o ../../obj-gnu/./i386/int64/sub64u.s.gnu - - - - -clean:: - rm -f ../../obj-ack/./i386/int64/* - rm -f ../../obj-gnu/./i386/int64/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/i386/misc/Makefile b/lib/i386/misc/Makefile deleted file mode 100755 index 94e81cd0f..000000000 --- a/lib/i386/misc/Makefile +++ /dev/null @@ -1,179 +0,0 @@ -#Generated from ./i386/misc/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../../generate.sh ./i386/misc ../../obj-ack ../../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../../obj-ack/libc.a - -../../obj-ack/libc.a: ../../obj-ack/libc.a(alloca.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(get_bp.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(getprocessor.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(io_inb.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(io_inl.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(io_insb.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(io_insl.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(io_insw.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(io_intr.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(io_inw.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(io_outb.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(io_outl.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(io_outsb.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(io_outsl.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(io_outsw.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(io_outw.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(oneC_sum.o) - -../../obj-ack/libc.a: - ar cr ../../obj-ack/libc.a ../../obj-ack/./i386/misc/*.o - rm ../../obj-ack/./i386/misc/*.o - -../../obj-ack/libc.a(alloca.o): alloca.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/misc/alloca.o alloca.s -../../obj-ack/libc.a(get_bp.o): get_bp.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/misc/get_bp.o get_bp.s -../../obj-ack/libc.a(getprocessor.o): getprocessor.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/misc/getprocessor.o getprocessor.s -../../obj-ack/libc.a(io_inb.o): io_inb.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/misc/io_inb.o io_inb.s -../../obj-ack/libc.a(io_inl.o): io_inl.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/misc/io_inl.o io_inl.s -../../obj-ack/libc.a(io_insb.o): io_insb.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/misc/io_insb.o io_insb.s -../../obj-ack/libc.a(io_insl.o): io_insl.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/misc/io_insl.o io_insl.s -../../obj-ack/libc.a(io_insw.o): io_insw.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/misc/io_insw.o io_insw.s -../../obj-ack/libc.a(io_intr.o): io_intr.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/misc/io_intr.o io_intr.s -../../obj-ack/libc.a(io_inw.o): io_inw.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/misc/io_inw.o io_inw.s -../../obj-ack/libc.a(io_outb.o): io_outb.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/misc/io_outb.o io_outb.s -../../obj-ack/libc.a(io_outl.o): io_outl.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/misc/io_outl.o io_outl.s -../../obj-ack/libc.a(io_outsb.o): io_outsb.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/misc/io_outsb.o io_outsb.s -../../obj-ack/libc.a(io_outsl.o): io_outsl.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/misc/io_outsl.o io_outsl.s -../../obj-ack/libc.a(io_outsw.o): io_outsw.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/misc/io_outsw.o io_outsw.s -../../obj-ack/libc.a(io_outw.o): io_outw.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/misc/io_outw.o io_outw.s -../../obj-ack/libc.a(oneC_sum.o): oneC_sum.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/misc/oneC_sum.o oneC_sum.s - -all-gnu: ../../obj-gnu/libc.a - -../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/alloca.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/get_bp.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/getprocessor.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_inb.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_inl.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_insb.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_insl.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_insw.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_intr.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_inw.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_outb.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_outl.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_outsb.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_outsl.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_outsw.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_outw.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/oneC_sum.o - -../../obj-gnu/libc.a: - gar cr ../../obj-gnu/libc.a $? - -../../obj-gnu/./i386/misc/alloca.o: alloca.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. alloca.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/alloca.s.gnu || true - gas -o ../../obj-gnu/./i386/misc/alloca.o ../../obj-gnu/./i386/misc/alloca.s.gnu - -../../obj-gnu/./i386/misc/get_bp.o: get_bp.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. get_bp.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/get_bp.s.gnu || true - gas -o ../../obj-gnu/./i386/misc/get_bp.o ../../obj-gnu/./i386/misc/get_bp.s.gnu - -../../obj-gnu/./i386/misc/getprocessor.o: getprocessor.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. getprocessor.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/getprocessor.s.gnu || true - gas -o ../../obj-gnu/./i386/misc/getprocessor.o ../../obj-gnu/./i386/misc/getprocessor.s.gnu - -../../obj-gnu/./i386/misc/io_inb.o: io_inb.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_inb.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_inb.s.gnu || true - gas -o ../../obj-gnu/./i386/misc/io_inb.o ../../obj-gnu/./i386/misc/io_inb.s.gnu - -../../obj-gnu/./i386/misc/io_inl.o: io_inl.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_inl.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_inl.s.gnu || true - gas -o ../../obj-gnu/./i386/misc/io_inl.o ../../obj-gnu/./i386/misc/io_inl.s.gnu - -../../obj-gnu/./i386/misc/io_insb.o: io_insb.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_insb.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_insb.s.gnu || true - gas -o ../../obj-gnu/./i386/misc/io_insb.o ../../obj-gnu/./i386/misc/io_insb.s.gnu - -../../obj-gnu/./i386/misc/io_insl.o: io_insl.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_insl.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_insl.s.gnu || true - gas -o ../../obj-gnu/./i386/misc/io_insl.o ../../obj-gnu/./i386/misc/io_insl.s.gnu - -../../obj-gnu/./i386/misc/io_insw.o: io_insw.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_insw.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_insw.s.gnu || true - gas -o ../../obj-gnu/./i386/misc/io_insw.o ../../obj-gnu/./i386/misc/io_insw.s.gnu - -../../obj-gnu/./i386/misc/io_intr.o: io_intr.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_intr.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_intr.s.gnu || true - gas -o ../../obj-gnu/./i386/misc/io_intr.o ../../obj-gnu/./i386/misc/io_intr.s.gnu - -../../obj-gnu/./i386/misc/io_inw.o: io_inw.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_inw.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_inw.s.gnu || true - gas -o ../../obj-gnu/./i386/misc/io_inw.o ../../obj-gnu/./i386/misc/io_inw.s.gnu - -../../obj-gnu/./i386/misc/io_outb.o: io_outb.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_outb.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_outb.s.gnu || true - gas -o ../../obj-gnu/./i386/misc/io_outb.o ../../obj-gnu/./i386/misc/io_outb.s.gnu - -../../obj-gnu/./i386/misc/io_outl.o: io_outl.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_outl.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_outl.s.gnu || true - gas -o ../../obj-gnu/./i386/misc/io_outl.o ../../obj-gnu/./i386/misc/io_outl.s.gnu - -../../obj-gnu/./i386/misc/io_outsb.o: io_outsb.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_outsb.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_outsb.s.gnu || true - gas -o ../../obj-gnu/./i386/misc/io_outsb.o ../../obj-gnu/./i386/misc/io_outsb.s.gnu - -../../obj-gnu/./i386/misc/io_outsl.o: io_outsl.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_outsl.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_outsl.s.gnu || true - gas -o ../../obj-gnu/./i386/misc/io_outsl.o ../../obj-gnu/./i386/misc/io_outsl.s.gnu - -../../obj-gnu/./i386/misc/io_outsw.o: io_outsw.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_outsw.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_outsw.s.gnu || true - gas -o ../../obj-gnu/./i386/misc/io_outsw.o ../../obj-gnu/./i386/misc/io_outsw.s.gnu - -../../obj-gnu/./i386/misc/io_outw.o: io_outw.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_outw.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_outw.s.gnu || true - gas -o ../../obj-gnu/./i386/misc/io_outw.o ../../obj-gnu/./i386/misc/io_outw.s.gnu - -../../obj-gnu/./i386/misc/oneC_sum.o: oneC_sum.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. oneC_sum.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/oneC_sum.s.gnu || true - gas -o ../../obj-gnu/./i386/misc/oneC_sum.o ../../obj-gnu/./i386/misc/oneC_sum.s.gnu - - - - -clean:: - rm -f ../../obj-ack/./i386/misc/* - rm -f ../../obj-gnu/./i386/misc/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/i386/rts/Makefile b/lib/i386/rts/Makefile deleted file mode 100755 index bd4acd1ba..000000000 --- a/lib/i386/rts/Makefile +++ /dev/null @@ -1,103 +0,0 @@ -#Generated from ./i386/rts/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../../generate.sh ./i386/rts ../../obj-ack ../../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../../obj-ack/libc.a - -../../obj-ack/libc.a: ../../obj-ack/libc.a(__sigreturn.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(_ipc.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(brksize.o) - -../../obj-ack/libc.a: - ar cr ../../obj-ack/libc.a ../../obj-ack/./i386/rts/*.o - rm ../../obj-ack/./i386/rts/*.o - -../../obj-ack/libc.a(__sigreturn.o): __sigreturn.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/rts/__sigreturn.o __sigreturn.s -../../obj-ack/libc.a(_ipc.o): _ipc.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/rts/_ipc.o _ipc.s -../../obj-ack/libc.a(brksize.o): brksize.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/./i386/rts/brksize.o brksize.s - -all-gnu: ../../obj-gnu/libc.a - -../../obj-gnu/libc.a: ../../obj-gnu/./i386/rts/__sigreturn.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/rts/_ipc.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/rts/brksize.o - -../../obj-gnu/libc.a: - gar cr ../../obj-gnu/libc.a $? - -../../obj-gnu/./i386/rts/__sigreturn.o: __sigreturn.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. __sigreturn.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/rts/__sigreturn.s.gnu || true - gas -o ../../obj-gnu/./i386/rts/__sigreturn.o ../../obj-gnu/./i386/rts/__sigreturn.s.gnu - -../../obj-gnu/./i386/rts/_ipc.o: _ipc.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. _ipc.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/rts/_ipc.s.gnu || true - gas -o ../../obj-gnu/./i386/rts/_ipc.o ../../obj-gnu/./i386/rts/_ipc.s.gnu - -../../obj-gnu/./i386/rts/brksize.o: brksize.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. brksize.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/rts/brksize.s.gnu || true - gas -o ../../obj-gnu/./i386/rts/brksize.o ../../obj-gnu/./i386/rts/brksize.s.gnu - - - -all-ack: ../../obj-ack/crtso.o - -../../obj-ack/crtso.o: crtso.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/crtso.o crtso.s - -all-gnu: ../../obj-gnu/crtso.o - -../../obj-gnu/crtso.o: crtso.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. crtso.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/rts/crtso.s.gnu || true - gas -o ../../obj-gnu/crtso.o ../../obj-gnu/./i386/rts/crtso.s.gnu - - -all-ack: ../../obj-ack/m2rtso.o - -../../obj-ack/m2rtso.o: m2rtso.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/m2rtso.o m2rtso.s - -all-gnu: ../../obj-gnu/m2rtso.o - -../../obj-gnu/m2rtso.o: m2rtso.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. m2rtso.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/rts/m2rtso.s.gnu || true - gas -o ../../obj-gnu/m2rtso.o ../../obj-gnu/./i386/rts/m2rtso.s.gnu - - -all-ack: ../../obj-ack/prtso.o - -../../obj-ack/prtso.o: prtso.s - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack/prtso.o prtso.s - -all-gnu: ../../obj-gnu/prtso.o - -../../obj-gnu/prtso.o: prtso.s - gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. prtso.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/rts/prtso.s.gnu || true - gas -o ../../obj-gnu/prtso.o ../../obj-gnu/./i386/rts/prtso.s.gnu - - - -clean:: - rm -f ../../obj-ack/./i386/rts/* - rm -f ../../obj-gnu/./i386/rts/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/i386/string/Makefile b/lib/i386/string/Makefile deleted file mode 100755 index fda6e6ea6..000000000 --- a/lib/i386/string/Makefile +++ /dev/null @@ -1,243 +0,0 @@ -#Generated from ./i386/string/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../../generate.sh ./i386/string ../../obj-ack ../../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../../obj-ack/libc.a - -../../obj-ack/libc.a: ../../obj-ack/libc.a(_memmove.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(_strncat.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(_strncmp.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(_strncpy.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(_strnlen.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(bcmp.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(bcopy.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(bzero.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(index.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(memchr.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(memcmp.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(memcpy.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(memmove.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(memset.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(rindex.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(strcat.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(strchr.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(strcmp.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(strcpy.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(strlen.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(strncat.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(strncmp.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(strncpy.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(strnlen.o) -../../obj-ack/libc.a: ../../obj-ack/libc.a(strrchr.o) - -../../obj-ack/libc.a: - ar cr ../../obj-ack/libc.a ../../obj-ack/./i386/string/*.o - rm ../../obj-ack/./i386/string/*.o - -../../obj-ack/libc.a(_memmove.o): _memmove.s - cc -c -o ../../obj-ack/./i386/string/_memmove.o _memmove.s -../../obj-ack/libc.a(_strncat.o): _strncat.s - cc -c -o ../../obj-ack/./i386/string/_strncat.o _strncat.s -../../obj-ack/libc.a(_strncmp.o): _strncmp.s - cc -c -o ../../obj-ack/./i386/string/_strncmp.o _strncmp.s -../../obj-ack/libc.a(_strncpy.o): _strncpy.s - cc -c -o ../../obj-ack/./i386/string/_strncpy.o _strncpy.s -../../obj-ack/libc.a(_strnlen.o): _strnlen.s - cc -c -o ../../obj-ack/./i386/string/_strnlen.o _strnlen.s -../../obj-ack/libc.a(bcmp.o): bcmp.s - cc -c -o ../../obj-ack/./i386/string/bcmp.o bcmp.s -../../obj-ack/libc.a(bcopy.o): bcopy.s - cc -c -o ../../obj-ack/./i386/string/bcopy.o bcopy.s -../../obj-ack/libc.a(bzero.o): bzero.s - cc -c -o ../../obj-ack/./i386/string/bzero.o bzero.s -../../obj-ack/libc.a(index.o): index.s - cc -c -o ../../obj-ack/./i386/string/index.o index.s -../../obj-ack/libc.a(memchr.o): memchr.s - cc -c -o ../../obj-ack/./i386/string/memchr.o memchr.s -../../obj-ack/libc.a(memcmp.o): memcmp.s - cc -c -o ../../obj-ack/./i386/string/memcmp.o memcmp.s -../../obj-ack/libc.a(memcpy.o): memcpy.s - cc -c -o ../../obj-ack/./i386/string/memcpy.o memcpy.s -../../obj-ack/libc.a(memmove.o): memmove.s - cc -c -o ../../obj-ack/./i386/string/memmove.o memmove.s -../../obj-ack/libc.a(memset.o): memset.s - cc -c -o ../../obj-ack/./i386/string/memset.o memset.s -../../obj-ack/libc.a(rindex.o): rindex.s - cc -c -o ../../obj-ack/./i386/string/rindex.o rindex.s -../../obj-ack/libc.a(strcat.o): strcat.s - cc -c -o ../../obj-ack/./i386/string/strcat.o strcat.s -../../obj-ack/libc.a(strchr.o): strchr.s - cc -c -o ../../obj-ack/./i386/string/strchr.o strchr.s -../../obj-ack/libc.a(strcmp.o): strcmp.s - cc -c -o ../../obj-ack/./i386/string/strcmp.o strcmp.s -../../obj-ack/libc.a(strcpy.o): strcpy.s - cc -c -o ../../obj-ack/./i386/string/strcpy.o strcpy.s -../../obj-ack/libc.a(strlen.o): strlen.s - cc -c -o ../../obj-ack/./i386/string/strlen.o strlen.s -../../obj-ack/libc.a(strncat.o): strncat.s - cc -c -o ../../obj-ack/./i386/string/strncat.o strncat.s -../../obj-ack/libc.a(strncmp.o): strncmp.s - cc -c -o ../../obj-ack/./i386/string/strncmp.o strncmp.s -../../obj-ack/libc.a(strncpy.o): strncpy.s - cc -c -o ../../obj-ack/./i386/string/strncpy.o strncpy.s -../../obj-ack/libc.a(strnlen.o): strnlen.s - cc -c -o ../../obj-ack/./i386/string/strnlen.o strnlen.s -../../obj-ack/libc.a(strrchr.o): strrchr.s - cc -c -o ../../obj-ack/./i386/string/strrchr.o strrchr.s - -all-gnu: ../../obj-gnu/libc.a - -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/_memmove.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/_strncat.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/_strncmp.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/_strncpy.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/_strnlen.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/bcmp.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/bcopy.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/bzero.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/index.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/memchr.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/memcmp.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/memcpy.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/memmove.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/memset.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/rindex.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/strcat.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/strchr.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/strcmp.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/strcpy.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/strlen.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/strncat.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/strncmp.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/strncpy.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/strnlen.o -../../obj-gnu/libc.a: ../../obj-gnu/./i386/string/strrchr.o - -../../obj-gnu/libc.a: - gar cr ../../obj-gnu/libc.a $? - -../../obj-gnu/./i386/string/_memmove.o: _memmove.s - gcc -E -x assembler-with-cpp -I. _memmove.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/_memmove.s.gnu || true - gas -o ../../obj-gnu/./i386/string/_memmove.o ../../obj-gnu/./i386/string/_memmove.s.gnu - -../../obj-gnu/./i386/string/_strncat.o: _strncat.s - gcc -E -x assembler-with-cpp -I. _strncat.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/_strncat.s.gnu || true - gas -o ../../obj-gnu/./i386/string/_strncat.o ../../obj-gnu/./i386/string/_strncat.s.gnu - -../../obj-gnu/./i386/string/_strncmp.o: _strncmp.s - gcc -E -x assembler-with-cpp -I. _strncmp.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/_strncmp.s.gnu || true - gas -o ../../obj-gnu/./i386/string/_strncmp.o ../../obj-gnu/./i386/string/_strncmp.s.gnu - -../../obj-gnu/./i386/string/_strncpy.o: _strncpy.s - gcc -E -x assembler-with-cpp -I. _strncpy.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/_strncpy.s.gnu || true - gas -o ../../obj-gnu/./i386/string/_strncpy.o ../../obj-gnu/./i386/string/_strncpy.s.gnu - -../../obj-gnu/./i386/string/_strnlen.o: _strnlen.s - gcc -E -x assembler-with-cpp -I. _strnlen.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/_strnlen.s.gnu || true - gas -o ../../obj-gnu/./i386/string/_strnlen.o ../../obj-gnu/./i386/string/_strnlen.s.gnu - -../../obj-gnu/./i386/string/bcmp.o: bcmp.s - gcc -E -x assembler-with-cpp -I. bcmp.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/bcmp.s.gnu || true - gas -o ../../obj-gnu/./i386/string/bcmp.o ../../obj-gnu/./i386/string/bcmp.s.gnu - -../../obj-gnu/./i386/string/bcopy.o: bcopy.s - gcc -E -x assembler-with-cpp -I. bcopy.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/bcopy.s.gnu || true - gas -o ../../obj-gnu/./i386/string/bcopy.o ../../obj-gnu/./i386/string/bcopy.s.gnu - -../../obj-gnu/./i386/string/bzero.o: bzero.s - gcc -E -x assembler-with-cpp -I. bzero.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/bzero.s.gnu || true - gas -o ../../obj-gnu/./i386/string/bzero.o ../../obj-gnu/./i386/string/bzero.s.gnu - -../../obj-gnu/./i386/string/index.o: index.s - gcc -E -x assembler-with-cpp -I. index.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/index.s.gnu || true - gas -o ../../obj-gnu/./i386/string/index.o ../../obj-gnu/./i386/string/index.s.gnu - -../../obj-gnu/./i386/string/memchr.o: memchr.s - gcc -E -x assembler-with-cpp -I. memchr.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/memchr.s.gnu || true - gas -o ../../obj-gnu/./i386/string/memchr.o ../../obj-gnu/./i386/string/memchr.s.gnu - -../../obj-gnu/./i386/string/memcmp.o: memcmp.s - gcc -E -x assembler-with-cpp -I. memcmp.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/memcmp.s.gnu || true - gas -o ../../obj-gnu/./i386/string/memcmp.o ../../obj-gnu/./i386/string/memcmp.s.gnu - -../../obj-gnu/./i386/string/memcpy.o: memcpy.s - gcc -E -x assembler-with-cpp -I. memcpy.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/memcpy.s.gnu || true - gas -o ../../obj-gnu/./i386/string/memcpy.o ../../obj-gnu/./i386/string/memcpy.s.gnu - -../../obj-gnu/./i386/string/memmove.o: memmove.s - gcc -E -x assembler-with-cpp -I. memmove.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/memmove.s.gnu || true - gas -o ../../obj-gnu/./i386/string/memmove.o ../../obj-gnu/./i386/string/memmove.s.gnu - -../../obj-gnu/./i386/string/memset.o: memset.s - gcc -E -x assembler-with-cpp -I. memset.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/memset.s.gnu || true - gas -o ../../obj-gnu/./i386/string/memset.o ../../obj-gnu/./i386/string/memset.s.gnu - -../../obj-gnu/./i386/string/rindex.o: rindex.s - gcc -E -x assembler-with-cpp -I. rindex.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/rindex.s.gnu || true - gas -o ../../obj-gnu/./i386/string/rindex.o ../../obj-gnu/./i386/string/rindex.s.gnu - -../../obj-gnu/./i386/string/strcat.o: strcat.s - gcc -E -x assembler-with-cpp -I. strcat.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/strcat.s.gnu || true - gas -o ../../obj-gnu/./i386/string/strcat.o ../../obj-gnu/./i386/string/strcat.s.gnu - -../../obj-gnu/./i386/string/strchr.o: strchr.s - gcc -E -x assembler-with-cpp -I. strchr.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/strchr.s.gnu || true - gas -o ../../obj-gnu/./i386/string/strchr.o ../../obj-gnu/./i386/string/strchr.s.gnu - -../../obj-gnu/./i386/string/strcmp.o: strcmp.s - gcc -E -x assembler-with-cpp -I. strcmp.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/strcmp.s.gnu || true - gas -o ../../obj-gnu/./i386/string/strcmp.o ../../obj-gnu/./i386/string/strcmp.s.gnu - -../../obj-gnu/./i386/string/strcpy.o: strcpy.s - gcc -E -x assembler-with-cpp -I. strcpy.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/strcpy.s.gnu || true - gas -o ../../obj-gnu/./i386/string/strcpy.o ../../obj-gnu/./i386/string/strcpy.s.gnu - -../../obj-gnu/./i386/string/strlen.o: strlen.s - gcc -E -x assembler-with-cpp -I. strlen.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/strlen.s.gnu || true - gas -o ../../obj-gnu/./i386/string/strlen.o ../../obj-gnu/./i386/string/strlen.s.gnu - -../../obj-gnu/./i386/string/strncat.o: strncat.s - gcc -E -x assembler-with-cpp -I. strncat.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/strncat.s.gnu || true - gas -o ../../obj-gnu/./i386/string/strncat.o ../../obj-gnu/./i386/string/strncat.s.gnu - -../../obj-gnu/./i386/string/strncmp.o: strncmp.s - gcc -E -x assembler-with-cpp -I. strncmp.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/strncmp.s.gnu || true - gas -o ../../obj-gnu/./i386/string/strncmp.o ../../obj-gnu/./i386/string/strncmp.s.gnu - -../../obj-gnu/./i386/string/strncpy.o: strncpy.s - gcc -E -x assembler-with-cpp -I. strncpy.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/strncpy.s.gnu || true - gas -o ../../obj-gnu/./i386/string/strncpy.o ../../obj-gnu/./i386/string/strncpy.s.gnu - -../../obj-gnu/./i386/string/strnlen.o: strnlen.s - gcc -E -x assembler-with-cpp -I. strnlen.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/strnlen.s.gnu || true - gas -o ../../obj-gnu/./i386/string/strnlen.o ../../obj-gnu/./i386/string/strnlen.s.gnu - -../../obj-gnu/./i386/string/strrchr.o: strrchr.s - gcc -E -x assembler-with-cpp -I. strrchr.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/string/strrchr.s.gnu || true - gas -o ../../obj-gnu/./i386/string/strrchr.o ../../obj-gnu/./i386/string/strrchr.s.gnu - - - - -clean:: - rm -f ../../obj-ack/./i386/string/* - rm -f ../../obj-gnu/./i386/string/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/ip/Makefile b/lib/ip/Makefile deleted file mode 100755 index 5ba802aa7..000000000 --- a/lib/ip/Makefile +++ /dev/null @@ -1,393 +0,0 @@ -#Generated from ./ip/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../generate.sh ./ip ../obj-ack ../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../obj-ack/libc.a - -../obj-ack/libc.a: ../obj-ack/libc.a(accept.o) -../obj-ack/libc.a: ../obj-ack/libc.a(bind.o) -../obj-ack/libc.a: ../obj-ack/libc.a(connect.o) -../obj-ack/libc.a: ../obj-ack/libc.a(dhcp_gettag.o) -../obj-ack/libc.a: ../obj-ack/libc.a(dhcp_settag.o) -../obj-ack/libc.a: ../obj-ack/libc.a(ether_line.o) -../obj-ack/libc.a: ../obj-ack/libc.a(ethera2n.o) -../obj-ack/libc.a: ../obj-ack/libc.a(ethere2a.o) -../obj-ack/libc.a: ../obj-ack/libc.a(etherh2n.o) -../obj-ack/libc.a: ../obj-ack/libc.a(ethern2h.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getdomain.o) -../obj-ack/libc.a: ../obj-ack/libc.a(gethnmadr.o) -../obj-ack/libc.a: ../obj-ack/libc.a(gethostent.o) -../obj-ack/libc.a: ../obj-ack/libc.a(gethostname.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getnetbyaddr.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getnetbyname.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getnetent.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getpeername.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getproto.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getprotoent.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getprotoname.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getservent.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getsockname.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getsockopt.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getsrvbyname.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getsrvbyport.o) -../obj-ack/libc.a: ../obj-ack/libc.a(hton.o) -../obj-ack/libc.a: ../obj-ack/libc.a(inet_addr.o) -../obj-ack/libc.a: ../obj-ack/libc.a(inet_network.o) -../obj-ack/libc.a: ../obj-ack/libc.a(inet_ntoa.o) -../obj-ack/libc.a: ../obj-ack/libc.a(listen.o) -../obj-ack/libc.a: ../obj-ack/libc.a(memcspn.o) -../obj-ack/libc.a: ../obj-ack/libc.a(oneC_sum.o) -../obj-ack/libc.a: ../obj-ack/libc.a(rcmd.o) -../obj-ack/libc.a: ../obj-ack/libc.a(recv.o) -../obj-ack/libc.a: ../obj-ack/libc.a(recvfrom.o) -../obj-ack/libc.a: ../obj-ack/libc.a(res_comp.o) -../obj-ack/libc.a: ../obj-ack/libc.a(res_init.o) -../obj-ack/libc.a: ../obj-ack/libc.a(res_mkquery.o) -../obj-ack/libc.a: ../obj-ack/libc.a(res_query.o) -../obj-ack/libc.a: ../obj-ack/libc.a(res_send.o) -../obj-ack/libc.a: ../obj-ack/libc.a(ruserok.o) -../obj-ack/libc.a: ../obj-ack/libc.a(send.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sendto.o) -../obj-ack/libc.a: ../obj-ack/libc.a(servxcheck.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sethostent.o) -../obj-ack/libc.a: ../obj-ack/libc.a(setsockopt.o) -../obj-ack/libc.a: ../obj-ack/libc.a(shutdown.o) -../obj-ack/libc.a: ../obj-ack/libc.a(socket.o) -../obj-ack/libc.a: ../obj-ack/libc.a(strcasecmp.o) - -../obj-ack/libc.a: - ar cr ../obj-ack/libc.a ../obj-ack/./ip/*.o - rm ../obj-ack/./ip/*.o - -../obj-ack/libc.a(accept.o): accept.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/accept.o accept.c -../obj-ack/libc.a(bind.o): bind.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/bind.o bind.c -../obj-ack/libc.a(connect.o): connect.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/connect.o connect.c -../obj-ack/libc.a(dhcp_gettag.o): dhcp_gettag.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/dhcp_gettag.o dhcp_gettag.c -../obj-ack/libc.a(dhcp_settag.o): dhcp_settag.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/dhcp_settag.o dhcp_settag.c -../obj-ack/libc.a(ether_line.o): ether_line.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/ether_line.o ether_line.c -../obj-ack/libc.a(ethera2n.o): ethera2n.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/ethera2n.o ethera2n.c -../obj-ack/libc.a(ethere2a.o): ethere2a.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/ethere2a.o ethere2a.c -../obj-ack/libc.a(etherh2n.o): etherh2n.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/etherh2n.o etherh2n.c -../obj-ack/libc.a(ethern2h.o): ethern2h.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/ethern2h.o ethern2h.c -../obj-ack/libc.a(getdomain.o): getdomain.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/getdomain.o getdomain.c -../obj-ack/libc.a(gethnmadr.o): gethnmadr.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/gethnmadr.o gethnmadr.c -../obj-ack/libc.a(gethostent.o): gethostent.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/gethostent.o gethostent.c -../obj-ack/libc.a(gethostname.o): gethostname.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/gethostname.o gethostname.c -../obj-ack/libc.a(getnetbyaddr.o): getnetbyaddr.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/getnetbyaddr.o getnetbyaddr.c -../obj-ack/libc.a(getnetbyname.o): getnetbyname.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/getnetbyname.o getnetbyname.c -../obj-ack/libc.a(getnetent.o): getnetent.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/getnetent.o getnetent.c -../obj-ack/libc.a(getpeername.o): getpeername.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/getpeername.o getpeername.c -../obj-ack/libc.a(getproto.o): getproto.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/getproto.o getproto.c -../obj-ack/libc.a(getprotoent.o): getprotoent.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/getprotoent.o getprotoent.c -../obj-ack/libc.a(getprotoname.o): getprotoname.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/getprotoname.o getprotoname.c -../obj-ack/libc.a(getservent.o): getservent.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/getservent.o getservent.c -../obj-ack/libc.a(getsockname.o): getsockname.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/getsockname.o getsockname.c -../obj-ack/libc.a(getsockopt.o): getsockopt.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/getsockopt.o getsockopt.c -../obj-ack/libc.a(getsrvbyname.o): getsrvbyname.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/getsrvbyname.o getsrvbyname.c -../obj-ack/libc.a(getsrvbyport.o): getsrvbyport.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/getsrvbyport.o getsrvbyport.c -../obj-ack/libc.a(hton.o): hton.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/hton.o hton.c -../obj-ack/libc.a(inet_addr.o): inet_addr.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/inet_addr.o inet_addr.c -../obj-ack/libc.a(inet_network.o): inet_network.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/inet_network.o inet_network.c -../obj-ack/libc.a(inet_ntoa.o): inet_ntoa.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/inet_ntoa.o inet_ntoa.c -../obj-ack/libc.a(listen.o): listen.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/listen.o listen.c -../obj-ack/libc.a(memcspn.o): memcspn.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/memcspn.o memcspn.c -../obj-ack/libc.a(oneC_sum.o): oneC_sum.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/oneC_sum.o oneC_sum.c -../obj-ack/libc.a(rcmd.o): rcmd.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/rcmd.o rcmd.c -../obj-ack/libc.a(recv.o): recv.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/recv.o recv.c -../obj-ack/libc.a(recvfrom.o): recvfrom.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/recvfrom.o recvfrom.c -../obj-ack/libc.a(res_comp.o): res_comp.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/res_comp.o res_comp.c -../obj-ack/libc.a(res_init.o): res_init.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/res_init.o res_init.c -../obj-ack/libc.a(res_mkquery.o): res_mkquery.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/res_mkquery.o res_mkquery.c -../obj-ack/libc.a(res_query.o): res_query.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/res_query.o res_query.c -../obj-ack/libc.a(res_send.o): res_send.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/res_send.o res_send.c -../obj-ack/libc.a(ruserok.o): ruserok.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/ruserok.o ruserok.c -../obj-ack/libc.a(send.o): send.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/send.o send.c -../obj-ack/libc.a(sendto.o): sendto.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/sendto.o sendto.c -../obj-ack/libc.a(servxcheck.o): servxcheck.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/servxcheck.o servxcheck.c -../obj-ack/libc.a(sethostent.o): sethostent.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/sethostent.o sethostent.c -../obj-ack/libc.a(setsockopt.o): setsockopt.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/setsockopt.o setsockopt.c -../obj-ack/libc.a(shutdown.o): shutdown.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/shutdown.o shutdown.c -../obj-ack/libc.a(socket.o): socket.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/socket.o socket.c -../obj-ack/libc.a(strcasecmp.o): strcasecmp.c - cc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-ack/./ip/strcasecmp.o strcasecmp.c - -all-gnu: ../obj-gnu/libc.a - -../obj-gnu/libc.a: ../obj-gnu/./ip/accept.o -../obj-gnu/libc.a: ../obj-gnu/./ip/bind.o -../obj-gnu/libc.a: ../obj-gnu/./ip/connect.o -../obj-gnu/libc.a: ../obj-gnu/./ip/dhcp_gettag.o -../obj-gnu/libc.a: ../obj-gnu/./ip/dhcp_settag.o -../obj-gnu/libc.a: ../obj-gnu/./ip/ether_line.o -../obj-gnu/libc.a: ../obj-gnu/./ip/ethera2n.o -../obj-gnu/libc.a: ../obj-gnu/./ip/ethere2a.o -../obj-gnu/libc.a: ../obj-gnu/./ip/etherh2n.o -../obj-gnu/libc.a: ../obj-gnu/./ip/ethern2h.o -../obj-gnu/libc.a: ../obj-gnu/./ip/getdomain.o -../obj-gnu/libc.a: ../obj-gnu/./ip/gethnmadr.o -../obj-gnu/libc.a: ../obj-gnu/./ip/gethostent.o -../obj-gnu/libc.a: ../obj-gnu/./ip/gethostname.o -../obj-gnu/libc.a: ../obj-gnu/./ip/getnetbyaddr.o -../obj-gnu/libc.a: ../obj-gnu/./ip/getnetbyname.o -../obj-gnu/libc.a: ../obj-gnu/./ip/getnetent.o -../obj-gnu/libc.a: ../obj-gnu/./ip/getpeername.o -../obj-gnu/libc.a: ../obj-gnu/./ip/getproto.o -../obj-gnu/libc.a: ../obj-gnu/./ip/getprotoent.o -../obj-gnu/libc.a: ../obj-gnu/./ip/getprotoname.o -../obj-gnu/libc.a: ../obj-gnu/./ip/getservent.o -../obj-gnu/libc.a: ../obj-gnu/./ip/getsockname.o -../obj-gnu/libc.a: ../obj-gnu/./ip/getsockopt.o -../obj-gnu/libc.a: ../obj-gnu/./ip/getsrvbyname.o -../obj-gnu/libc.a: ../obj-gnu/./ip/getsrvbyport.o -../obj-gnu/libc.a: ../obj-gnu/./ip/hton.o -../obj-gnu/libc.a: ../obj-gnu/./ip/inet_addr.o -../obj-gnu/libc.a: ../obj-gnu/./ip/inet_network.o -../obj-gnu/libc.a: ../obj-gnu/./ip/inet_ntoa.o -../obj-gnu/libc.a: ../obj-gnu/./ip/listen.o -../obj-gnu/libc.a: ../obj-gnu/./ip/memcspn.o -../obj-gnu/libc.a: ../obj-gnu/./ip/oneC_sum.o -../obj-gnu/libc.a: ../obj-gnu/./ip/rcmd.o -../obj-gnu/libc.a: ../obj-gnu/./ip/recv.o -../obj-gnu/libc.a: ../obj-gnu/./ip/recvfrom.o -../obj-gnu/libc.a: ../obj-gnu/./ip/res_comp.o -../obj-gnu/libc.a: ../obj-gnu/./ip/res_init.o -../obj-gnu/libc.a: ../obj-gnu/./ip/res_mkquery.o -../obj-gnu/libc.a: ../obj-gnu/./ip/res_query.o -../obj-gnu/libc.a: ../obj-gnu/./ip/res_send.o -../obj-gnu/libc.a: ../obj-gnu/./ip/ruserok.o -../obj-gnu/libc.a: ../obj-gnu/./ip/send.o -../obj-gnu/libc.a: ../obj-gnu/./ip/sendto.o -../obj-gnu/libc.a: ../obj-gnu/./ip/servxcheck.o -../obj-gnu/libc.a: ../obj-gnu/./ip/sethostent.o -../obj-gnu/libc.a: ../obj-gnu/./ip/setsockopt.o -../obj-gnu/libc.a: ../obj-gnu/./ip/shutdown.o -../obj-gnu/libc.a: ../obj-gnu/./ip/socket.o -../obj-gnu/libc.a: ../obj-gnu/./ip/strcasecmp.o - -../obj-gnu/libc.a: - gar cr ../obj-gnu/libc.a $? - -../obj-gnu/./ip/accept.o: accept.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/accept.o accept.c - -../obj-gnu/./ip/bind.o: bind.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/bind.o bind.c - -../obj-gnu/./ip/connect.o: connect.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/connect.o connect.c - -../obj-gnu/./ip/dhcp_gettag.o: dhcp_gettag.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/dhcp_gettag.o dhcp_gettag.c - -../obj-gnu/./ip/dhcp_settag.o: dhcp_settag.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/dhcp_settag.o dhcp_settag.c - -../obj-gnu/./ip/ether_line.o: ether_line.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/ether_line.o ether_line.c - -../obj-gnu/./ip/ethera2n.o: ethera2n.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/ethera2n.o ethera2n.c - -../obj-gnu/./ip/ethere2a.o: ethere2a.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/ethere2a.o ethere2a.c - -../obj-gnu/./ip/etherh2n.o: etherh2n.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/etherh2n.o etherh2n.c - -../obj-gnu/./ip/ethern2h.o: ethern2h.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/ethern2h.o ethern2h.c - -../obj-gnu/./ip/getdomain.o: getdomain.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/getdomain.o getdomain.c - -../obj-gnu/./ip/gethnmadr.o: gethnmadr.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/gethnmadr.o gethnmadr.c - -../obj-gnu/./ip/gethostent.o: gethostent.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/gethostent.o gethostent.c - -../obj-gnu/./ip/gethostname.o: gethostname.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/gethostname.o gethostname.c - -../obj-gnu/./ip/getnetbyaddr.o: getnetbyaddr.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/getnetbyaddr.o getnetbyaddr.c - -../obj-gnu/./ip/getnetbyname.o: getnetbyname.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/getnetbyname.o getnetbyname.c - -../obj-gnu/./ip/getnetent.o: getnetent.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/getnetent.o getnetent.c - -../obj-gnu/./ip/getpeername.o: getpeername.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/getpeername.o getpeername.c - -../obj-gnu/./ip/getproto.o: getproto.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/getproto.o getproto.c - -../obj-gnu/./ip/getprotoent.o: getprotoent.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/getprotoent.o getprotoent.c - -../obj-gnu/./ip/getprotoname.o: getprotoname.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/getprotoname.o getprotoname.c - -../obj-gnu/./ip/getservent.o: getservent.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/getservent.o getservent.c - -../obj-gnu/./ip/getsockname.o: getsockname.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/getsockname.o getsockname.c - -../obj-gnu/./ip/getsockopt.o: getsockopt.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/getsockopt.o getsockopt.c - -../obj-gnu/./ip/getsrvbyname.o: getsrvbyname.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/getsrvbyname.o getsrvbyname.c - -../obj-gnu/./ip/getsrvbyport.o: getsrvbyport.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/getsrvbyport.o getsrvbyport.c - -../obj-gnu/./ip/hton.o: hton.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/hton.o hton.c - -../obj-gnu/./ip/inet_addr.o: inet_addr.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/inet_addr.o inet_addr.c - -../obj-gnu/./ip/inet_network.o: inet_network.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/inet_network.o inet_network.c - -../obj-gnu/./ip/inet_ntoa.o: inet_ntoa.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/inet_ntoa.o inet_ntoa.c - -../obj-gnu/./ip/listen.o: listen.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/listen.o listen.c - -../obj-gnu/./ip/memcspn.o: memcspn.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/memcspn.o memcspn.c - -../obj-gnu/./ip/oneC_sum.o: oneC_sum.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/oneC_sum.o oneC_sum.c - -../obj-gnu/./ip/rcmd.o: rcmd.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/rcmd.o rcmd.c - -../obj-gnu/./ip/recv.o: recv.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/recv.o recv.c - -../obj-gnu/./ip/recvfrom.o: recvfrom.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/recvfrom.o recvfrom.c - -../obj-gnu/./ip/res_comp.o: res_comp.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/res_comp.o res_comp.c - -../obj-gnu/./ip/res_init.o: res_init.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/res_init.o res_init.c - -../obj-gnu/./ip/res_mkquery.o: res_mkquery.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/res_mkquery.o res_mkquery.c - -../obj-gnu/./ip/res_query.o: res_query.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/res_query.o res_query.c - -../obj-gnu/./ip/res_send.o: res_send.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/res_send.o res_send.c - -../obj-gnu/./ip/ruserok.o: ruserok.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/ruserok.o ruserok.c - -../obj-gnu/./ip/send.o: send.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/send.o send.c - -../obj-gnu/./ip/sendto.o: sendto.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/sendto.o sendto.c - -../obj-gnu/./ip/servxcheck.o: servxcheck.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/servxcheck.o servxcheck.c - -../obj-gnu/./ip/sethostent.o: sethostent.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/sethostent.o sethostent.c - -../obj-gnu/./ip/setsockopt.o: setsockopt.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/setsockopt.o setsockopt.c - -../obj-gnu/./ip/shutdown.o: shutdown.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/shutdown.o shutdown.c - -../obj-gnu/./ip/socket.o: socket.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/socket.o socket.c - -../obj-gnu/./ip/strcasecmp.o: strcasecmp.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I. -DNDEBUG -c -o ../obj-gnu/./ip/strcasecmp.o strcasecmp.c - - - - -clean:: - rm -f ../obj-ack/./ip/* - rm -f ../obj-gnu/./ip/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/ip/Makefile.in b/lib/ip/Makefile.in index 6550f2bbf..0e8119153 100644 --- a/lib/ip/Makefile.in +++ b/lib/ip/Makefile.in @@ -12,6 +12,7 @@ libc_FILES=" \ connect.c \ dhcp_gettag.c \ dhcp_settag.c \ + domainname.c \ ether_line.c \ ethera2n.c \ ethere2a.c \ diff --git a/lib/libm2/Arguments.c b/lib/libm2/Arguments.c deleted file mode 100755 index eaf696236..000000000 --- a/lib/libm2/Arguments.c +++ /dev/null @@ -1,73 +0,0 @@ -/* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*/ - -/* - Module: Access to program arguments and environment - Author: Ceriel J.H. Jacobs - Version: $Header$ -*/ - -extern char **argv, ***_penviron; -extern int argc; -unsigned int _Arguments__Argc; - -static char * -findname(s1, s2) -register char *s1, *s2; -{ - - while (*s1 == *s2++) s1++; - if (*s1 == '\0' && *(s2-1) == '=') return s2; - return 0; -} - -static unsigned int -scopy(src, dst, max) - register char *src, *dst; - unsigned int max; -{ - register unsigned int i = 0; - - while (*src && i <= max) { - i++; - *dst++ = *src++; - } - if (i <= max) { - *dst = '\0'; - return i+1; - } - while (*src++) i++; - return i + 1; -} - -_Arguments_() -{ - _Arguments__Argc = argc; -} - -unsigned -_Arguments__Argv(n, argument, l, u, s) - unsigned int u; - char *argument; -{ - - if (n >= argc) return 0; - return scopy(argv[n], argument, u); -} - -unsigned -_Arguments__GetEnv(name, nn, nu, ns, value, l, u, s) - char *name, *value; - unsigned int nu, u; -{ - register char **p = *_penviron; - register char *v = 0; - - while (*p && !(v = findname(name, *p++))) { - /* nothing */ - } - if (!v) return 0; - return scopy(v, value, u); -} diff --git a/lib/libm2/ArraySort.mod b/lib/libm2/ArraySort.mod deleted file mode 100755 index 147ca9e60..000000000 --- a/lib/libm2/ArraySort.mod +++ /dev/null @@ -1,155 +0,0 @@ -(* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*) - -(*$R-*) -IMPLEMENTATION MODULE ArraySort; -(* - Module: Array sorting module. - Author: Ceriel J.H. Jacobs - Version: $Header$ -*) - FROM SYSTEM IMPORT ADDRESS, BYTE; (* no generics in Modula-2, sorry *) - - TYPE BytePtr = POINTER TO BYTE; - - VAR compareproc: CompareProc; - - PROCEDURE Sort(base: ADDRESS; (* address of array *) - nel: CARDINAL; (* number of elements in array *) - size: CARDINAL; (* size of each element *) - compar: CompareProc); (* the comparison procedure *) - BEGIN - compareproc := compar; - qsort(base, base+(nel-1)*size, size); - END Sort; - - PROCEDURE qsort(a1, a2: ADDRESS; size: CARDINAL); - (* Implemented with quick-sort, with some extra's *) - VAR left, right, lefteq, righteq: ADDRESS; - cmp: CompareResult; - mainloop: BOOLEAN; - BEGIN - WHILE a2 > a1 DO - left := a1; - right := a2; - lefteq := a1 + size * (((a2 - a1) + size) DIV (2 * size)); - righteq := lefteq; - (* - Pick an element in the middle of the array. - We will collect the equals around it. - "lefteq" and "righteq" indicate the left and right - bounds of the equals respectively. - Smaller elements end up left of it, larger elements end - up right of it. - *) - LOOP - LOOP - IF left >= lefteq THEN EXIT END; - cmp := compareproc(left, lefteq); - IF cmp = greater THEN EXIT END; - IF cmp = less THEN - left := left + size; - ELSE - (* equal, so exchange with the element - to the left of the "equal"-interval. - *) - lefteq := lefteq - size; - exchange(left, lefteq, size); - END; - END; - mainloop := FALSE; - LOOP - IF right <= righteq THEN EXIT END; - cmp := compareproc(right, righteq); - IF cmp = less THEN - IF left < lefteq THEN - (* larger one at the left, - so exchange - *) - exchange(left,right,size); - left := left + size; - right := right - size; - mainloop := TRUE; - EXIT; - END; - (* - no more room at the left part, so we - move the "equal-interval" one place to the - right, and the smaller element to the - left of it. - This is best expressed as a three-way - exchange. - *) - righteq := righteq + size; - threewayexchange(left, righteq, right, - size); - lefteq := lefteq + size; - left := lefteq; - ELSIF cmp = equal THEN - (* equal, zo exchange with the element - to the right of the "equal" - interval - *) - righteq := righteq + size; - exchange(right, righteq, size); - ELSE - (* leave it where it is *) - right := right - size; - END; - END; - IF (NOT mainloop) THEN - IF left >= lefteq THEN - (* sort "smaller" part *) - qsort(a1, lefteq - size, size); - (* and now the "larger" part, saving a - procedure call, because of this big - WHILE loop - *) - a1 := righteq + size; - EXIT; (* from the LOOP *) - END; - (* larger element to the left, but no more room, - so move the "equal-interval" one place to the - left, and the larger element to the right - of it. - *) - lefteq := lefteq - size; - threewayexchange(right, lefteq, left, size); - righteq := righteq - size; - right := righteq; - END; - END; - END; - END qsort; - - PROCEDURE exchange(a,b: BytePtr; size : CARDINAL); - VAR c: BYTE; - BEGIN - WHILE size > 0 DO - DEC(size); - c := a^; - a^ := b^; - a := ADDRESS(a) + 1; - b^ := c; - b := ADDRESS(b) + 1; - END; - END exchange; - - PROCEDURE threewayexchange(p,q,r: BytePtr; size: CARDINAL); - VAR c: BYTE; - BEGIN - WHILE size > 0 DO - DEC(size); - c := p^; - p^ := r^; - p := ADDRESS(p) + 1; - r^ := q^; - r := ADDRESS(r) + 1; - q^ := c; - q := ADDRESS(q) + 1; - END; - END threewayexchange; - -END ArraySort. diff --git a/lib/libm2/CSP.mod b/lib/libm2/CSP.mod deleted file mode 100755 index 7a50df425..000000000 --- a/lib/libm2/CSP.mod +++ /dev/null @@ -1,347 +0,0 @@ -(*$R-*) -IMPLEMENTATION MODULE CSP; -(* - Module: Communicating Sequential Processes - From: "A Modula-2 Implementation of CSP", - M. Collado, R. Morales, J.J. Moreno, - SIGPlan Notices, Volume 22, Number 6, June 1987. - Some modifications by Ceriel J.H. Jacobs - Version: $Header$ - - See this article for an explanation of the use of this module. -*) - - FROM random IMPORT Uniform; - FROM SYSTEM IMPORT BYTE, ADDRESS, NEWPROCESS, TRANSFER; - FROM Storage IMPORT Allocate, Deallocate; - FROM Traps IMPORT Message; - - CONST WorkSpaceSize = 2000; - - TYPE ByteAddress = POINTER TO BYTE; - Channel = POINTER TO ChannelDescriptor; - ProcessType = POINTER TO ProcessDescriptor; - ProcessDescriptor = RECORD - next: ProcessType; - father: ProcessType; - cor: ADDRESS; - wsp: ADDRESS; - guardindex: INTEGER; - guardno: CARDINAL; - guardcount: CARDINAL; - opened: Channel; - sons: CARDINAL; - msgadr: ADDRESS; - msglen: CARDINAL; - END; - - Queue = RECORD - head, tail: ProcessType; - END; - - ChannelDescriptor = RECORD - senders: Queue; - owner: ProcessType; - guardindex: INTEGER; - next: Channel; - END; - - VAR cp: ProcessType; - free, ready: Queue; - -(* ------------ Private modules and procedures ------------- *) - - MODULE ProcessQueue; - - IMPORT ProcessType, Queue; - EXPORT Push, Pop, InitQueue, IsEmpty; - - PROCEDURE InitQueue(VAR q: Queue); - BEGIN - WITH q DO - head := NIL; - tail := NIL - END - END InitQueue; - - PROCEDURE Push(p: ProcessType; VAR q: Queue); - BEGIN - p^.next := NIL; - WITH q DO - IF head = NIL THEN - tail := p - ELSE - head^.next := p - END; - head := p - END - END Push; - - PROCEDURE Pop(VAR q: Queue; VAR p: ProcessType); - BEGIN - WITH q DO - p := tail; - IF p # NIL THEN - tail := tail^.next; - IF head = p THEN - head := NIL - END - END - END - END Pop; - - PROCEDURE IsEmpty(q: Queue): BOOLEAN; - BEGIN - RETURN q.head = NIL - END IsEmpty; - - END ProcessQueue; - - - PROCEDURE DoTransfer; - VAR aux: ProcessType; - BEGIN - aux := cp; - Pop(ready, cp); - IF cp = NIL THEN - HALT - ELSE - TRANSFER(aux^.cor, cp^.cor) - END - END DoTransfer; - - PROCEDURE OpenChannel(ch: Channel; n: INTEGER); - BEGIN - WITH ch^ DO - IF guardindex = 0 THEN - guardindex := n; - next := cp^.opened; - cp^.opened := ch - END - END - END OpenChannel; - - PROCEDURE CloseChannels(p: ProcessType); - BEGIN - WITH p^ DO - WHILE opened # NIL DO - opened^.guardindex := 0; - opened := opened^.next - END - END - END CloseChannels; - - PROCEDURE ThereAreOpenChannels(): BOOLEAN; - BEGIN - RETURN cp^.opened # NIL; - END ThereAreOpenChannels; - - PROCEDURE Sending(ch: Channel): BOOLEAN; - BEGIN - RETURN NOT IsEmpty(ch^.senders) - END Sending; - -(* -------------- Public Procedures ----------------- *) - - PROCEDURE COBEGIN; - (* Beginning of a COBEGIN .. COEND structure *) - BEGIN - END COBEGIN; - - PROCEDURE COEND; - (* End of a COBEGIN .. COEND structure *) - (* VAR aux: ProcessType; *) - BEGIN - IF cp^.sons > 0 THEN - DoTransfer - END - END COEND; - - PROCEDURE StartProcess(P: PROC); - (* Start an anonimous process that executes the procedure P *) - VAR newprocess: ProcessType; - BEGIN - Pop(free, newprocess); - IF newprocess = NIL THEN - Allocate(newprocess,SIZE(ProcessDescriptor)); - Allocate(newprocess^.wsp, WorkSpaceSize) - END; - WITH newprocess^ DO - father := cp; - sons := 0; - msglen := 0; - NEWPROCESS(P, wsp, WorkSpaceSize, cor) - END; - cp^.sons := cp^.sons + 1; - Push(newprocess, ready) - END StartProcess; - - PROCEDURE StopProcess; - (* Terminate a Process (itself) *) - VAR aux: ProcessType; - BEGIN - aux := cp^.father; - aux^.sons := aux^.sons - 1; - IF aux^.sons = 0 THEN - Push(aux, ready) - END; - aux := cp; - Push(aux, free); - Pop(ready, cp); - IF cp = NIL THEN - HALT - ELSE - TRANSFER(aux^.cor, cp^.cor) - END - END StopProcess; - - PROCEDURE InitChannel(VAR ch: Channel); - (* Initialize the channel ch *) - BEGIN - Allocate(ch, SIZE(ChannelDescriptor)); - WITH ch^ DO - InitQueue(senders); - owner := NIL; - next := NIL; - guardindex := 0 - END - END InitChannel; - - PROCEDURE GetChannel(ch: Channel); - (* Assign the channel ch to the process that gets it *) - BEGIN - WITH ch^ DO - IF owner # NIL THEN - Message("Channel already has an owner"); - HALT - END; - owner := cp - END - END GetChannel; - - PROCEDURE Send(data: ARRAY OF BYTE; VAR ch: Channel); - (* Send a message with the data to the cvhannel ch *) - VAR m: ByteAddress; - (* aux: ProcessType; *) - i: CARDINAL; - BEGIN - WITH ch^ DO - Push(cp, senders); - Allocate(cp^.msgadr, SIZE(data)); - m := cp^.msgadr; - cp^.msglen := HIGH(data); - FOR i := 0 TO HIGH(data) DO - m^ := data[i]; - m := ADDRESS(m) + 1 - END; - IF guardindex # 0 THEN - owner^.guardindex := guardindex; - CloseChannels(owner); - Push(owner, ready) - END - END; - DoTransfer - END Send; - - PROCEDURE Receive(VAR ch: Channel; VAR dest: ARRAY OF BYTE); - (* Receive a message from the channel ch into the dest variable *) - VAR aux: ProcessType; - m: ByteAddress; - i: CARDINAL; - BEGIN - WITH ch^ DO - IF cp # owner THEN - Message("Only owner of channel can receive from it"); - HALT - END; - IF Sending(ch) THEN - Pop(senders, aux); - m := aux^.msgadr; - FOR i := 0 TO aux^.msglen DO - dest[i] := m^; - m := ADDRESS(m) + 1 - END; - Push(aux, ready); - Push(cp, ready); - CloseChannels(cp) - ELSE - OpenChannel(ch, -1); - DoTransfer; - Pop(senders, aux); - m := aux^.msgadr; - FOR i := 0 TO aux^.msglen DO - dest[i] := m^; - m := ADDRESS(m) + 1 - END; - Push(cp, ready); - Push(aux, ready) - END; - Deallocate(aux^.msgadr, aux^.msglen+1); - DoTransfer - END - END Receive; - - PROCEDURE SELECT(n: CARDINAL); - (* Beginning of a SELECT structure with n guards *) - BEGIN - cp^.guardindex := Uniform(1,n); - cp^.guardno := n; - cp^.guardcount := n - END SELECT; - - PROCEDURE NEXTGUARD(): CARDINAL; - (* Returns an index to the next guard to be evaluated in a SELECT *) - BEGIN - RETURN cp^.guardindex - END NEXTGUARD; - - PROCEDURE GUARD(cond: BOOLEAN; ch: Channel; - VAR dest: ARRAY OF BYTE): BOOLEAN; - (* Evaluates a guard, including reception management *) - (* VAR aux: ProcessType; *) - BEGIN - IF NOT cond THEN - RETURN FALSE - ELSIF ch = NIL THEN - CloseChannels(cp); - cp^.guardindex := 0; - RETURN TRUE - ELSIF Sending(ch) THEN - Receive(ch, dest); - cp^.guardindex := 0; - RETURN TRUE - ELSE - OpenChannel(ch, cp^.guardindex); - RETURN FALSE - END - END GUARD; - - PROCEDURE ENDSELECT(): BOOLEAN; - (* End of a SELECT structure *) - BEGIN - WITH cp^ DO - IF guardindex <= 0 THEN - RETURN TRUE - END; - guardcount := guardcount - 1; - IF guardcount # 0 THEN - guardindex := (guardindex MOD INTEGER(guardno)) + 1 - ELSIF ThereAreOpenChannels() THEN - DoTransfer - ELSE - guardindex := 0 - END - END; - RETURN FALSE - END ENDSELECT; - -BEGIN - InitQueue(free); - InitQueue(ready); - Allocate(cp,SIZE(ProcessDescriptor)); - WITH cp^ DO - sons := 0; - father := NIL - END -END CSP. - diff --git a/lib/libm2/Conversion.mod b/lib/libm2/Conversion.mod deleted file mode 100755 index b64ebc42c..000000000 --- a/lib/libm2/Conversion.mod +++ /dev/null @@ -1,73 +0,0 @@ -(* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*) - -(*$R-*) -IMPLEMENTATION MODULE Conversions; -(* - Module: numeric-to-string conversions - Author: Ceriel J.H. Jacobs - Version: $Header$ -*) - - PROCEDURE ConvertNum(num, len, base: CARDINAL; - neg: BOOLEAN; - VAR str: ARRAY OF CHAR); - VAR i: CARDINAL; - r: CARDINAL; - tmp: ARRAY [0..20] OF CHAR; - BEGIN - i := 0; - REPEAT - r := num MOD base; - num := num DIV base; - IF r <= 9 THEN - tmp[i] := CHR(r + ORD('0')); - ELSE - tmp[i] := CHR(r - 10 + ORD('A')); - END; - INC(i); - UNTIL num = 0; - IF neg THEN - tmp[i] := '-'; - INC(i) - END; - IF len > HIGH(str) + 1 THEN len := HIGH(str) + 1; END; - IF i > HIGH(str) + 1 THEN i := HIGH(str) + 1; END; - r := 0; - WHILE len > i DO str[r] := ' '; INC(r); DEC(len); END; - WHILE i > 0 DO str[r] := tmp[i-1]; DEC(i); INC(r); END; - WHILE r <= HIGH(str) DO - str[r] := 0C; - INC(r); - END; - END ConvertNum; - - PROCEDURE ConvertOctal(num, len: CARDINAL; VAR str: ARRAY OF CHAR); - BEGIN - ConvertNum(num, len, 8, FALSE, str); - END ConvertOctal; - - PROCEDURE ConvertHex(num, len: CARDINAL; VAR str: ARRAY OF CHAR); - BEGIN - ConvertNum(num, len, 16, FALSE, str); - END ConvertHex; - - PROCEDURE ConvertCardinal(num, len: CARDINAL; VAR str: ARRAY OF CHAR); - BEGIN - ConvertNum(num, len, 10, FALSE, str); - END ConvertCardinal; - - PROCEDURE ConvertInteger(num: INTEGER; - len: CARDINAL; - VAR str: ARRAY OF CHAR); - BEGIN - IF (num < 0) AND (num >= -MAX(INTEGER)) THEN - ConvertNum(-num, len, 10, TRUE, str); - ELSE - ConvertNum(CARDINAL(num), len, 10, num < 0, str); - END; - END ConvertInteger; - -END Conversions. diff --git a/lib/libm2/EM.e b/lib/libm2/EM.e deleted file mode 100755 index ae6f42e62..000000000 --- a/lib/libm2/EM.e +++ /dev/null @@ -1,100 +0,0 @@ -# -; -; (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. -; See the copyright notice in the ACK home directory, in the file "Copyright". -; -; -; Module: Interface to some EM instructions and data -; Author: Ceriel J.H. Jacobs -; Version: $Header$ -; - mes 2,_EM_WSIZE,_EM_PSIZE - -#define ARG1 0 -#define ARG2 _EM_DSIZE -#define IRES 2*_EM_DSIZE - -; FIF is called with three parameters: -; - address of integer part result (IRES) -; - float two (ARG2) -; - float one (ARG1) -; and returns an _EM_DSIZE-byte floating point number -; Definition: -; PROCEDURE FIF(ARG1, ARG2: LONGREAL; VAR IRES: LONGREAL) : LONGREAL; - - exp $FIF - pro $FIF,0 - lal 0 - loi 2*_EM_DSIZE - fif _EM_DSIZE - lal IRES - loi _EM_PSIZE - sti _EM_DSIZE - ret _EM_DSIZE - end ? - -#define FARG 0 -#define ERES _EM_DSIZE - -; FEF is called with two parameters: -; - address of base 2 exponent result (ERES) -; - floating point number to be split (FARG) -; and returns an _EM_DSIZE-byte floating point number (the mantissa) -; Definition: -; PROCEDURE FEF(FARG: LONGREAL; VAR ERES: integer): LONGREAL; - - exp $FEF - pro $FEF,0 - lal FARG - loi _EM_DSIZE - fef _EM_DSIZE - lal ERES - loi _EM_PSIZE - sti _EM_WSIZE - ret _EM_DSIZE - end ? - -#define TRAP 0 - -; TRP is called with one parameter: -; - trap number (TRAP) -; Definition: -; PROCEDURE TRP(trapno: INTEGER); - - exp $TRP - pro $TRP, 0 - lol TRAP - trp - ret 0 - end ? - -#define PROC 0 - -; SIG is called with one parameter: -; - procedure instance identifier (PROC) -; and returns the old traphandler. - - exa handler - exp $SIG - pro $SIG, 0 - lae handler - loi _EM_PSIZE - lal PROC - loi _EM_PSIZE - lae handler - sti _EM_PSIZE - ret _EM_PSIZE - end ? - - exp $LINO - pro $LINO,0 - loe 0 - ret _EM_WSIZE - end ? - - exp $FILN - pro $FILN,0 - lae 4 - loi _EM_PSIZE - ret _EM_PSIZE - end ? diff --git a/lib/libm2/InOut.mod b/lib/libm2/InOut.mod deleted file mode 100755 index 74e56af52..000000000 --- a/lib/libm2/InOut.mod +++ /dev/null @@ -1,371 +0,0 @@ -(* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*) - -(*$R-*) -IMPLEMENTATION MODULE InOut ; -(* - Module: Wirth's Input/Output module - Author: Ceriel J.H. Jacobs - Version: $Header$ -*) - - IMPORT Streams; - FROM Conversions IMPORT - ConvertCardinal, ConvertInteger, - ConvertOctal, ConvertHex; - FROM Traps IMPORT Message; - - CONST TAB = 11C; - - TYPE numbuf = ARRAY[0..255] OF CHAR; - - VAR unread: BOOLEAN; - unreadch: CHAR; - CurrIn, CurrOut: Streams.Stream; - result: Streams.StreamResult; - - PROCEDURE Read(VAR c : CHAR); - - BEGIN - IF unread THEN - unread := FALSE; - c := unreadch; - Done := TRUE; - ELSE - Streams.Read(CurrIn, c, result); - Done := result = Streams.succeeded; - END; - END Read; - - PROCEDURE UnRead(ch: CHAR); - BEGIN - unread := TRUE; - unreadch := ch; - END UnRead; - - PROCEDURE Write(c: CHAR); - BEGIN - Streams.Write(CurrOut, c, result); - END Write; - - PROCEDURE OpenInput(defext: ARRAY OF CHAR); - VAR namebuf : ARRAY [1..128] OF CHAR; - BEGIN - IF CurrIn # Streams.InputStream THEN - Streams.CloseStream(CurrIn, result); - END; - MakeFileName("Name of input file: ", defext, namebuf); - IF NOT Done THEN RETURN; END; - openinput(namebuf); - END OpenInput; - - PROCEDURE OpenInputFile(filename: ARRAY OF CHAR); - BEGIN - IF CurrIn # Streams.InputStream THEN - Streams.CloseStream(CurrIn, result); - END; - openinput(filename); - END OpenInputFile; - - PROCEDURE openinput(namebuf: ARRAY OF CHAR); - BEGIN - IF (namebuf[0] = '-') AND (namebuf[1] = 0C) THEN - CurrIn := Streams.InputStream; - Done := TRUE; - ELSE - Streams.OpenStream(CurrIn, namebuf, Streams.text, - Streams.reading, result); - Done := result = Streams.succeeded; - END; - END openinput; - - PROCEDURE CloseInput; - BEGIN - IF CurrIn # Streams.InputStream THEN - Streams.CloseStream(CurrIn, result); - END; - CurrIn := Streams.InputStream; - END CloseInput; - - PROCEDURE OpenOutput(defext: ARRAY OF CHAR); - VAR namebuf : ARRAY [1..128] OF CHAR; - BEGIN - IF CurrOut # Streams.OutputStream THEN - Streams.CloseStream(CurrOut, result); - END; - MakeFileName("Name of output file: ", defext, namebuf); - IF NOT Done THEN RETURN; END; - openoutput(namebuf); - END OpenOutput; - - PROCEDURE OpenOutputFile(filename: ARRAY OF CHAR); - BEGIN - IF CurrOut # Streams.OutputStream THEN - Streams.CloseStream(CurrOut, result); - END; - openoutput(filename); - END OpenOutputFile; - - PROCEDURE openoutput(namebuf: ARRAY OF CHAR); - BEGIN - IF (namebuf[1] = '-') AND (namebuf[2] = 0C) THEN - CurrOut := Streams.OutputStream; - Done := TRUE; - ELSE - Streams.OpenStream(CurrOut, namebuf, Streams.text, - Streams.writing, result); - Done := result = Streams.succeeded; - END; - END openoutput; - - PROCEDURE CloseOutput; - BEGIN - IF CurrOut # Streams.OutputStream THEN - Streams.CloseStream(CurrOut, result); - END; - CurrOut := Streams.OutputStream; - END CloseOutput; - - PROCEDURE MakeFileName(prompt, defext : ARRAY OF CHAR; - VAR buf : ARRAY OF CHAR); - VAR i : INTEGER; - j : CARDINAL; - BEGIN - Done := TRUE; - IF Streams.isatty(Streams.InputStream, result) THEN - XWriteString(prompt); - END; - XReadString(buf); - i := 0; - WHILE buf[i] # 0C DO i := i + 1 END; - IF i # 0 THEN - i := i - 1; - IF buf[i] = '.' THEN - FOR j := 0 TO HIGH(defext) DO - i := i + 1; - buf[i] := defext[j]; - END; - buf[i+1] := 0C; - END; - RETURN; - END; - Done := FALSE; - END MakeFileName; - - PROCEDURE ReadInt(VAR integ : INTEGER); - CONST - SAFELIMITDIV10 = MAX(INTEGER) DIV 10; - SAFELIMITREM10 = MAX(INTEGER) MOD 10; - TYPE - itype = [0..31]; - ibuf = ARRAY itype OF CHAR; - VAR - int : INTEGER; - neg : BOOLEAN; - safedigit: [0 .. 9]; - chvalue: CARDINAL; - buf : ibuf; - index : itype; - BEGIN - ReadString(buf); - IF NOT Done THEN - RETURN - END; - index := 0; - IF buf[index] = '-' THEN - neg := TRUE; - INC(index); - ELSIF buf[index] = '+' THEN - neg := FALSE; - INC(index); - ELSE - neg := FALSE - END; - - safedigit := SAFELIMITREM10; - IF neg THEN safedigit := safedigit + 1 END; - int := 0; - WHILE (buf[index] >= '0') & (buf[index] <= '9') DO - chvalue := ORD(buf[index]) - ORD('0'); - IF (int > SAFELIMITDIV10) OR - ( (int = SAFELIMITDIV10) AND - (chvalue > safedigit)) THEN - Message("integer too large"); - HALT; - ELSE - int := 10*int + VAL(INTEGER, chvalue); - INC(index) - END; - END; - IF neg THEN - integ := -int - ELSE - integ := int - END; - IF buf[index] > " " THEN - Message("illegal integer"); - HALT; - END; - Done := TRUE; - END ReadInt; - - PROCEDURE ReadCard(VAR card : CARDINAL); - CONST - SAFELIMITDIV10 = MAX(CARDINAL) DIV 10; - SAFELIMITREM10 = MAX(CARDINAL) MOD 10; - - TYPE - itype = [0..31]; - ibuf = ARRAY itype OF CHAR; - - VAR - int : CARDINAL; - index : itype; - buf : ibuf; - safedigit: [0 .. 9]; - chvalue: CARDINAL; - BEGIN - ReadString(buf); - IF NOT Done THEN RETURN; END; - index := 0; - safedigit := SAFELIMITREM10; - int := 0; - WHILE (buf[index] >= '0') & (buf[index] <= '9') DO - chvalue := ORD(buf[index]) - ORD('0'); - IF (int > SAFELIMITDIV10) OR - ( (int = SAFELIMITDIV10) AND - (chvalue > safedigit)) THEN - Message("cardinal too large"); - HALT; - ELSE - int := 10*int + chvalue; - INC(index); - END; - END; - IF buf[index] > " " THEN - Message("illegal cardinal"); - HALT; - END; - card := int; - Done := TRUE; - END ReadCard; - - PROCEDURE ReadString(VAR s : ARRAY OF CHAR); - TYPE charset = SET OF CHAR; - VAR i : CARDINAL; - ch : CHAR; - - BEGIN - i := 0; - REPEAT - Read(ch); - UNTIL NOT (ch IN charset{' ', TAB, 12C, 15C}); - IF NOT Done THEN - RETURN; - END; - UnRead(ch); - REPEAT - Read(ch); - termCH := ch; - IF i <= HIGH(s) THEN - s[i] := ch; - IF (NOT Done) OR (ch <= " ") THEN - s[i] := 0C; - END; - END; - INC(i); - UNTIL (NOT Done) OR (ch <= " "); - IF Done THEN UnRead(ch); END; - END ReadString; - - PROCEDURE XReadString(VAR s : ARRAY OF CHAR); - VAR j : CARDINAL; - ch : CHAR; - - BEGIN - j := 0; - LOOP - Streams.Read(Streams.InputStream, ch, result); - IF result # Streams.succeeded THEN - EXIT; - END; - IF ch <= " " THEN - s[j] := 0C; - EXIT; - END; - IF j < HIGH(s) THEN - s[j] := ch; - INC(j); - END; - END; - END XReadString; - - PROCEDURE XWriteString(s: ARRAY OF CHAR); - VAR i: CARDINAL; - BEGIN - i := 0; - LOOP - IF (i <= HIGH(s)) AND (s[i] # 0C) THEN - Streams.Write(Streams.OutputStream, s[i], result); - INC(i); - ELSE - EXIT; - END; - END; - END XWriteString; - - PROCEDURE WriteCard(card, width : CARDINAL); - VAR - buf : numbuf; - BEGIN - ConvertCardinal(card, width, buf); - WriteString(buf); - END WriteCard; - - PROCEDURE WriteInt(int : INTEGER; width : CARDINAL); - VAR - buf : numbuf; - BEGIN - ConvertInteger(int, width, buf); - WriteString(buf); - END WriteInt; - - PROCEDURE WriteHex(card, width : CARDINAL); - VAR - buf : numbuf; - BEGIN - ConvertHex(card, width, buf); - WriteString(buf); - END WriteHex; - - PROCEDURE WriteLn; - BEGIN - Write(EOL) - END WriteLn; - - PROCEDURE WriteOct(card, width : CARDINAL); - VAR - buf : numbuf; - BEGIN - ConvertOctal(card, width, buf); - WriteString(buf); - END WriteOct; - - PROCEDURE WriteString(str : ARRAY OF CHAR); - VAR - nbytes : CARDINAL; - BEGIN - nbytes := 0; - WHILE (nbytes <= HIGH(str)) AND (str[nbytes] # 0C) DO - Write(str[nbytes]); - INC(nbytes) - END; - END WriteString; - -BEGIN (* InOut initialization *) - CurrIn := Streams.InputStream; - CurrOut := Streams.OutputStream; - unread := FALSE; -END InOut. diff --git a/lib/libm2/LtoUset.e b/lib/libm2/LtoUset.e deleted file mode 100755 index a724aff44..000000000 --- a/lib/libm2/LtoUset.e +++ /dev/null @@ -1,61 +0,0 @@ -# -; -; (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. -; See the copyright notice in the ACK home directory, in the file "Copyright". -; -; -; Module: Compute non-constant set displays -; Author: Ceriel J.H. Jacobs -; Version: $Header$ -; - mes 2,_EM_WSIZE,_EM_PSIZE - - ; LtoUset is called for set displays containing { expr1 .. expr2 }. - ; It has six parameters, of which the caller must pop five: - ; - The set in which bits must be set. - ; - the lower bound of the set type. - ; - The set size in bytes. - ; - The upper bound of set elements, specified by the set-type. - ; - "expr2", the upper bound - ; - "expr1", the lower bound - -#define SETBASE 5*_EM_WSIZE -#define SETLOW 4*_EM_WSIZE -#define SETSIZE 3*_EM_WSIZE -#define USETSIZ 2*_EM_WSIZE -#define LWB _EM_WSIZE -#define UPB 0 - exp $LtoUset - pro $LtoUset,0 - lal SETBASE ; address of initial set - lol SETSIZE - los _EM_WSIZE ; load initial set - lol LWB ; low bound - lol SETLOW - sbu _EM_WSIZE - stl LWB - lol UPB ; high bound - lol SETLOW - sbu _EM_WSIZE - stl UPB -1 - lol LWB - lol UPB - cmu _EM_WSIZE - zgt *2 ; while low <= high - lol LWB - lol SETSIZE - set ? ; create [low] - lol SETSIZE - ior ? ; merge with initial set - lol LWB - loc 1 - adu _EM_WSIZE - stl LWB - bra *1 ; loop back -2 - lal SETBASE - lol SETSIZE - sts _EM_WSIZE ; store result over initial set - ret 0 - end 0 diff --git a/lib/libm2/Makefile b/lib/libm2/Makefile deleted file mode 100755 index 17b2fffdb..000000000 --- a/lib/libm2/Makefile +++ /dev/null @@ -1,204 +0,0 @@ -# Makefile for lib/ack/libm2. - -M2 = m2 -CFLAGS = -O -I../h -wo -CC1 = $(CC) $(CFLAGS) -c -M2FLAGS = -O -ws -n -M21 = $(M2) $(M2FLAGS) -c - -LIBRARY = ../libm2.a -all: $(LIBRARY) - -OBJECTS = \ - $(LIBRARY)(Arguments.o) \ - $(LIBRARY)(ArraySort.o) \ - $(LIBRARY)(CSP.o) \ - $(LIBRARY)(Conversion.o) \ - $(LIBRARY)(EM.o) \ - $(LIBRARY)(InOut.o) \ - $(LIBRARY)(LtoUset.o) \ - $(LIBRARY)(MathLib0.o) \ - $(LIBRARY)(Mathlib.o) \ - $(LIBRARY)(PascalIO.o) \ - $(LIBRARY)(Processes.o) \ - $(LIBRARY)(RealConver.o) \ - $(LIBRARY)(RealInOut.o) \ - $(LIBRARY)(SYSTEM.o) \ - $(LIBRARY)(Semaphores.o) \ - $(LIBRARY)(Storage.o) \ - $(LIBRARY)(StrAss.o) \ - $(LIBRARY)(Streams.o) \ - $(LIBRARY)(Strings.o) \ - $(LIBRARY)(Termcap.o) \ - $(LIBRARY)(Terminal.o) \ - $(LIBRARY)(Traps.o) \ - $(LIBRARY)(XXTermcap.o) \ - $(LIBRARY)(absd.o) \ - $(LIBRARY)(absf.o) \ - $(LIBRARY)(absi.o) \ - $(LIBRARY)(absl.o) \ - $(LIBRARY)(blockmove.o) \ - $(LIBRARY)(cap.o) \ - $(LIBRARY)(catch.o) \ - $(LIBRARY)(confarray.o) \ - $(LIBRARY)(dvi.o) \ - $(LIBRARY)(halt.o) \ - $(LIBRARY)(head_m2.o) \ - $(LIBRARY)(init.o) \ - $(LIBRARY)(load.o) \ - $(LIBRARY)(par_misc.o) \ - $(LIBRARY)(random.o) \ - $(LIBRARY)(rcka.o) \ - $(LIBRARY)(rcki.o) \ - $(LIBRARY)(rckil.o) \ - $(LIBRARY)(rcku.o) \ - $(LIBRARY)(rckul.o) \ - $(LIBRARY)(sigtrp.o) \ - $(LIBRARY)(stackprio.o) \ - $(LIBRARY)(store.o) \ - $(LIBRARY)(ucheck.o) \ - -$(LIBRARY): $(OBJECTS) - aal cr $@ *.o - rm *.o - -$(LIBRARY)(Arguments.o): Arguments.c - $(CC1) Arguments.c - -$(LIBRARY)(ArraySort.o): ArraySort.mod - $(M21) ArraySort.mod - -$(LIBRARY)(CSP.o): CSP.mod - $(M21) CSP.mod - -$(LIBRARY)(Conversion.o): Conversion.mod - $(M21) Conversion.mod - -$(LIBRARY)(EM.o): EM.e - $(CC1) EM.e - -$(LIBRARY)(InOut.o): InOut.mod - $(M21) InOut.mod - -$(LIBRARY)(LtoUset.o): LtoUset.e - $(CC1) LtoUset.e - -$(LIBRARY)(MathLib0.o): MathLib0.mod - $(M21) MathLib0.mod - -$(LIBRARY)(Mathlib.o): Mathlib.mod - $(M21) Mathlib.mod - -$(LIBRARY)(PascalIO.o): PascalIO.mod - $(M21) PascalIO.mod - -$(LIBRARY)(Processes.o): Processes.mod - $(M21) Processes.mod - -$(LIBRARY)(RealConver.o): RealConver.mod - $(M21) RealConver.mod - -$(LIBRARY)(RealInOut.o): RealInOut.mod - $(M21) RealInOut.mod - -$(LIBRARY)(SYSTEM.o): SYSTEM.c - $(CC1) SYSTEM.c - -$(LIBRARY)(Semaphores.o): Semaphores.mod - $(M21) Semaphores.mod - -$(LIBRARY)(Storage.o): Storage.mod - $(M21) Storage.mod - -$(LIBRARY)(StrAss.o): StrAss.c - $(CC1) StrAss.c - -$(LIBRARY)(Streams.o): Streams.mod - $(M21) Streams.mod - -$(LIBRARY)(Strings.o): Strings.mod - $(M21) Strings.mod - -$(LIBRARY)(Termcap.o): Termcap.mod - $(M21) Termcap.mod - -$(LIBRARY)(Terminal.o): Terminal.mod - $(M21) -D__USG Terminal.mod - -$(LIBRARY)(Traps.o): Traps.mod - $(M21) Traps.mod - -$(LIBRARY)(XXTermcap.o): XXTermcap.c - $(CC1) XXTermcap.c - -$(LIBRARY)(absd.o): absd.c - $(CC1) absd.c - -$(LIBRARY)(absf.o): absf.e - $(CC1) absf.e - -$(LIBRARY)(absi.o): absi.c - $(CC1) absi.c - -$(LIBRARY)(absl.o): absl.c - $(CC1) absl.c - -$(LIBRARY)(blockmove.o): blockmove.c - $(CC1) blockmove.c - -$(LIBRARY)(cap.o): cap.c - $(CC1) cap.c - -$(LIBRARY)(catch.o): catch.c - $(CC1) catch.c - -$(LIBRARY)(confarray.o): confarray.c - $(CC1) confarray.c - -$(LIBRARY)(dvi.o): dvi.c - $(CC1) dvi.c - -$(LIBRARY)(halt.o): halt.c - $(CC1) halt.c - -$(LIBRARY)(head_m2.o): head_m2.e - $(CC1) head_m2.e - -$(LIBRARY)(init.o): init.c - $(CC1) init.c - -$(LIBRARY)(load.o): load.c - $(CC1) load.c - -$(LIBRARY)(par_misc.o): par_misc.e - $(CC1) par_misc.e - -$(LIBRARY)(random.o): random.mod - $(M21) random.mod - -$(LIBRARY)(rcka.o): rcka.c - $(CC1) rcka.c - -$(LIBRARY)(rcki.o): rcki.c - $(CC1) rcki.c - -$(LIBRARY)(rckil.o): rckil.c - $(CC1) rckil.c - -$(LIBRARY)(rcku.o): rcku.c - $(CC1) rcku.c - -$(LIBRARY)(rckul.o): rckul.c - $(CC1) rckul.c - -$(LIBRARY)(sigtrp.o): sigtrp.c - $(CC1) sigtrp.c - -$(LIBRARY)(stackprio.o): stackprio.c - $(CC1) stackprio.c - -$(LIBRARY)(store.o): store.c - $(CC1) store.c - -$(LIBRARY)(ucheck.o): ucheck.c - $(CC1) ucheck.c diff --git a/lib/libm2/MathLib0.mod b/lib/libm2/MathLib0.mod deleted file mode 100755 index ba40da625..000000000 --- a/lib/libm2/MathLib0.mod +++ /dev/null @@ -1,69 +0,0 @@ -(* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*) - -(*$R-*) -IMPLEMENTATION MODULE MathLib0; -(* - Module: Some mathematical functions - Author: Ceriel J.H. Jacobs - Version: $Header$ -*) - - IMPORT Mathlib; - - PROCEDURE cos(arg: REAL): REAL; - BEGIN - RETURN Mathlib.cos(arg); - END cos; - - PROCEDURE sin(arg: REAL): REAL; - BEGIN - RETURN Mathlib.sin(arg); - END sin; - - PROCEDURE arctan(arg: REAL): REAL; - BEGIN - RETURN Mathlib.arctan(arg); - END arctan; - - PROCEDURE sqrt(arg: REAL): REAL; - BEGIN - RETURN Mathlib.sqrt(arg); - END sqrt; - - PROCEDURE ln(arg: REAL): REAL; - BEGIN - RETURN Mathlib.ln(arg); - END ln; - - PROCEDURE exp(arg: REAL): REAL; - BEGIN - RETURN Mathlib.exp(arg); - END exp; - - PROCEDURE entier(x: REAL): INTEGER; - VAR i: INTEGER; - BEGIN - IF x < 0.0 THEN - i := TRUNC(-x); - IF FLOAT(i) = -x THEN - RETURN -i; - ELSE - RETURN -i -1; - END; - END; - RETURN TRUNC(x); - END entier; - - PROCEDURE real(x: INTEGER): REAL; - BEGIN - IF x < 0 THEN - RETURN - FLOAT(-x); - END; - RETURN FLOAT(x); - END real; - -BEGIN -END MathLib0. diff --git a/lib/libm2/Mathlib.mod b/lib/libm2/Mathlib.mod deleted file mode 100755 index 31899e8d3..000000000 --- a/lib/libm2/Mathlib.mod +++ /dev/null @@ -1,576 +0,0 @@ -(* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*) - -(*$R-*) -IMPLEMENTATION MODULE Mathlib; -(* - Module: Mathematical functions - Author: Ceriel J.H. Jacobs - Version: $Header$ -*) - - FROM EM IMPORT FIF, FEF; - FROM Traps IMPORT Message; - - CONST - OneRadianInDegrees = 57.295779513082320876798155D; - OneDegreeInRadians = 0.017453292519943295769237D; - OneOverSqrt2 = 0.70710678118654752440084436210484904D; - - (* basic functions *) - - PROCEDURE pow(x: REAL; i: INTEGER): REAL; - BEGIN - RETURN SHORT(longpow(LONG(x), i)); - END pow; - - PROCEDURE longpow(x: LONGREAL; i: INTEGER): LONGREAL; - VAR val: LONGREAL; - ri: LONGREAL; - BEGIN - ri := FLOATD(i); - IF x < 0.0D THEN - val := longexp(longln(-x) * ri); - IF ODD(i) THEN RETURN -val; - ELSE RETURN val; - END; - ELSIF x = 0.0D THEN - RETURN 0.0D; - ELSE - RETURN longexp(longln(x) * ri); - END; - END longpow; - - PROCEDURE sqrt(x: REAL): REAL; - BEGIN - RETURN SHORT(longsqrt(LONG(x))); - END sqrt; - - PROCEDURE longsqrt(x: LONGREAL): LONGREAL; - VAR - temp: LONGREAL; - exp, i: INTEGER; - BEGIN - IF x <= 0.0D THEN - IF x < 0.0D THEN - Message("sqrt: negative argument"); - HALT - END; - RETURN 0.0D; - END; - temp := FEF(x,exp); - (* - * NOTE - * this wont work on 1's comp - *) - IF ODD(exp) THEN - temp := 2.0D * temp; - DEC(exp); - END; - temp := 0.5D*(1.0D + temp); - - WHILE exp > 28 DO - temp := temp * 16384.0D; - exp := exp - 28; - END; - WHILE exp < -28 DO - temp := temp / 16384.0D; - exp := exp + 28; - END; - WHILE exp >= 2 DO - temp := temp * 2.0D; - exp := exp - 2; - END; - WHILE exp <= -2 DO - temp := temp / 2.0D; - exp := exp + 2; - END; - FOR i := 0 TO 5 DO - temp := 0.5D*(temp + x/temp); - END; - RETURN temp; - END longsqrt; - - PROCEDURE ldexp(x:LONGREAL; n: INTEGER): LONGREAL; - BEGIN - WHILE n >= 16 DO - x := x * 65536.0D; - n := n - 16; - END; - WHILE n > 0 DO - x := x * 2.0D; - DEC(n); - END; - WHILE n <= -16 DO - x := x / 65536.0D; - n := n + 16; - END; - WHILE n < 0 DO - x := x / 2.0D; - INC(n); - END; - RETURN x; - END ldexp; - - PROCEDURE exp(x: REAL): REAL; - BEGIN - RETURN SHORT(longexp(LONG(x))); - END exp; - - PROCEDURE longexp(x: LONGREAL): LONGREAL; - (* Algorithm and coefficients from: - "Software manual for the elementary functions" - by W.J. Cody and W. Waite, Prentice-Hall, 1980 - *) - CONST - p0 = 0.25000000000000000000D+00; - p1 = 0.75753180159422776666D-02; - p2 = 0.31555192765684646356D-04; - q0 = 0.50000000000000000000D+00; - q1 = 0.56817302698551221787D-01; - q2 = 0.63121894374398503557D-03; - q3 = 0.75104028399870046114D-06; - - VAR - neg: BOOLEAN; - n: INTEGER; - xn, g, x1, x2: LONGREAL; - BEGIN - neg := x < 0.0D; - IF neg THEN - x := -x; - END; - n := TRUNC(x/longln2 + 0.5D); - xn := FLOATD(n); - x1 := FLOATD(TRUNCD(x)); - x2 := x - x1; - g := ((x1 - xn * 0.693359375D)+x2) - xn * (-2.1219444005469058277D-4); - IF neg THEN - g := -g; - n := -n; - END; - xn := g*g; - x := g*((p2*xn+p1)*xn+p0); - INC(n); - RETURN ldexp(0.5D + x/((((q3*xn+q2)*xn+q1)*xn+q0) - x), n); - END longexp; - - PROCEDURE ln(x: REAL): REAL; (* natural log *) - BEGIN - RETURN SHORT(longln(LONG(x))); - END ln; - - PROCEDURE longln(x: LONGREAL): LONGREAL; (* natural log *) - (* Algorithm and coefficients from: - "Software manual for the elementary functions" - by W.J. Cody and W. Waite, Prentice-Hall, 1980 - *) - CONST - p0 = -0.64124943423745581147D+02; - p1 = 0.16383943563021534222D+02; - p2 = -0.78956112887491257267D+00; - q0 = -0.76949932108494879777D+03; - q1 = 0.31203222091924532844D+03; - q2 = -0.35667977739034646171D+02; - q3 = 1.0D; - VAR - exp: INTEGER; - z, znum, zden, w: LONGREAL; - - BEGIN - IF x <= 0.0D THEN - Message("ln: argument <= 0"); - HALT - END; - x := FEF(x, exp); - IF x > OneOverSqrt2 THEN - znum := (x - 0.5D) - 0.5D; - zden := x * 0.5D + 0.5D; - ELSE - znum := x - 0.5D; - zden := znum * 0.5D + 0.5D; - DEC(exp); - END; - z := znum / zden; - w := z * z; - x := z + z * w * (((p2*w+p1)*w+p0)/(((q3*w+q2)*w+q1)*w+q0)); - z := FLOATD(exp); - x := x + z * (-2.121944400546905827679D-4); - RETURN x + z * 0.693359375D; - END longln; - - PROCEDURE log(x: REAL): REAL; (* log with base 10 *) - BEGIN - RETURN SHORT(longlog(LONG(x))); - END log; - - PROCEDURE longlog(x: LONGREAL): LONGREAL; (* log with base 10 *) - BEGIN - RETURN longln(x)/longln10; - END longlog; - - (* trigonometric functions; arguments in radians *) - - PROCEDURE sin(x: REAL): REAL; - BEGIN - RETURN SHORT(longsin(LONG(x))); - END sin; - - PROCEDURE sinus(x: LONGREAL; cosflag: BOOLEAN) : LONGREAL; - (* Algorithm and coefficients from: - "Software manual for the elementary functions" - by W.J. Cody and W. Waite, Prentice-Hall, 1980 - *) - CONST - r0 = -0.16666666666666665052D+00; - r1 = 0.83333333333331650314D-02; - r2 = -0.19841269841201840457D-03; - r3 = 0.27557319210152756119D-05; - r4 = -0.25052106798274584544D-07; - r5 = 0.16058936490371589114D-09; - r6 = -0.76429178068910467734D-12; - r7 = 0.27204790957888846175D-14; - A1 = 3.1416015625D; - A2 = -8.908910206761537356617D-6; - VAR - x1, x2, y : LONGREAL; - neg : BOOLEAN; - BEGIN - IF x < 0.0D THEN - neg := TRUE; - x := -x - ELSE neg := FALSE - END; - IF cosflag THEN - neg := FALSE; - y := longhalfpi + x - ELSE - y := x - END; - y := y / longpi + 0.5D; - - IF FIF(y, 1.0D, y) < 0.0D THEN ; END; - IF FIF(y, 0.5D, x1) # 0.0D THEN neg := NOT neg END; - IF cosflag THEN y := y - 0.5D END; - x2 := FIF(x, 1.0, x1); - x := x1 - y * A1; - x := x + x2; - x := x - y * A2; - - IF x < 0.0D THEN - neg := NOT neg; - x := -x - END; - y := x * x; - x := x + x * y * (((((((r7*y+r6)*y+r5)*y+r4)*y+r3)*y+r2)*y+r1)*y+r0); - IF neg THEN RETURN -x END; - RETURN x; - END sinus; - - PROCEDURE longsin(x: LONGREAL): LONGREAL; - BEGIN - RETURN sinus(x, FALSE); - END longsin; - - PROCEDURE cos(x: REAL): REAL; - BEGIN - RETURN SHORT(longcos(LONG(x))); - END cos; - - PROCEDURE longcos(x: LONGREAL): LONGREAL; - BEGIN - IF x < 0.0D THEN x := -x; END; - RETURN sinus(x, TRUE); - END longcos; - - PROCEDURE tan(x: REAL): REAL; - BEGIN - RETURN SHORT(longtan(LONG(x))); - END tan; - - PROCEDURE longtan(x: LONGREAL): LONGREAL; - (* Algorithm and coefficients from: - "Software manual for the elementary functions" - by W.J. Cody and W. Waite, Prentice-Hall, 1980 - *) - - CONST - p1 = -0.13338350006421960681D+00; - p2 = 0.34248878235890589960D-02; - p3 = -0.17861707342254426711D-04; - - q0 = 1.0D; - q1 = -0.46671683339755294240D+00; - q2 = 0.25663832289440112864D-01; - q3 = -0.31181531907010027307D-03; - q4 = 0.49819433993786512270D-06; - - A1 = 1.57080078125D; - A2 = -4.454455103380768678308D-06; - - VAR y, x1, x2: LONGREAL; - negative: BOOLEAN; - invert: BOOLEAN; - BEGIN - negative := x < 0.0D; - y := x / longhalfpi + 0.5D; - - (* Use extended precision to calculate reduced argument. - Here we used 12 bits of the mantissa for a1. - Also split x in integer part x1 and fraction part x2. - *) - IF FIF(y, 1.0D, y) < 0.0D THEN ; END; - invert := FIF(y, 0.5D, x1) # 0.0D; - x2 := FIF(x, 1.0D, x1); - x := x1 - y * A1; - x := x + x2; - x := x - y * A2; - - y := x * x; - x := x + x * y * ((p3*y+p2)*y+p1); - y := (((q4*y+q3)*y+q2)*y+q1)*y+q0; - IF negative THEN x := -x END; - IF invert THEN RETURN -y/x END; - RETURN x/y; - END longtan; - - PROCEDURE arcsin(x: REAL): REAL; - BEGIN - RETURN SHORT(longarcsin(LONG(x))); - END arcsin; - - PROCEDURE arcsincos(x: LONGREAL; cosfl: BOOLEAN): LONGREAL; - CONST - p0 = -0.27368494524164255994D+02; - p1 = 0.57208227877891731407D+02; - p2 = -0.39688862997540877339D+02; - p3 = 0.10152522233806463645D+02; - p4 = -0.69674573447350646411D+00; - - q0 = -0.16421096714498560795D+03; - q1 = 0.41714430248260412556D+03; - q2 = -0.38186303361750149284D+03; - q3 = 0.15095270841030604719D+03; - q4 = -0.23823859153670238830D+02; - q5 = 1.0D; - VAR - negative : BOOLEAN; - big: BOOLEAN; - g: LONGREAL; - BEGIN - negative := x < 0.0D; - IF negative THEN x := -x; END; - IF x > 0.5D THEN - big := TRUE; - IF x > 1.0D THEN - Message("arcsin or arccos: argument > 1"); - HALT - END; - g := 0.5D - 0.5D * x; - x := -longsqrt(g); - x := x + x; - ELSE - big := FALSE; - g := x * x; - END; - x := x + x * g * - ((((p4*g+p3)*g+p2)*g+p1)*g+p0)/(((((q5*g+q4)*g+q3)*g+q2)*g+q1)*g+q0); - IF cosfl AND NOT negative THEN x := -x END; - IF cosfl = NOT big THEN - x := (x + longquartpi) + longquartpi; - ELSIF cosfl AND negative AND big THEN - x := (x + longhalfpi) + longhalfpi; - END; - IF negative AND NOT cosfl THEN x := -x END; - RETURN x; - END arcsincos; - - PROCEDURE longarcsin(x: LONGREAL): LONGREAL; - BEGIN - RETURN arcsincos(x, FALSE); - END longarcsin; - - PROCEDURE arccos(x: REAL): REAL; - BEGIN - RETURN SHORT(longarccos(LONG(x))); - END arccos; - - PROCEDURE longarccos(x: LONGREAL): LONGREAL; - BEGIN - RETURN arcsincos(x, TRUE); - END longarccos; - - PROCEDURE arctan(x: REAL): REAL; - BEGIN - RETURN SHORT(longarctan(LONG(x))); - END arctan; - - VAR A: ARRAY[0..3] OF LONGREAL; - arctaninit: BOOLEAN; - - PROCEDURE longarctan(x: LONGREAL): LONGREAL; - (* Algorithm and coefficients from: - "Software manual for the elementary functions" - by W.J. Cody and W. Waite, Prentice-Hall, 1980 - *) - CONST - p0 = -0.13688768894191926929D+02; - p1 = -0.20505855195861651981D+02; - p2 = -0.84946240351320683534D+01; - p3 = -0.83758299368150059274D+00; - q0 = 0.41066306682575781263D+02; - q1 = 0.86157349597130242515D+02; - q2 = 0.59578436142597344465D+02; - q3 = 0.15024001160028576121D+02; - q4 = 1.0D; - VAR - g: LONGREAL; - neg: BOOLEAN; - n: INTEGER; - BEGIN - IF NOT arctaninit THEN - arctaninit := TRUE; - A[0] := 0.0D; - A[1] := 0.52359877559829887307710723554658381D; (* p1/6 *) - A[2] := longhalfpi; - A[3] := 1.04719755119659774615421446109316763D; (* pi/3 *) - END; - neg := FALSE; - IF x < 0.0D THEN - neg := TRUE; - x := -x; - END; - IF x > 1.0D THEN - x := 1.0D/x; - n := 2 - ELSE - n := 0 - END; - IF x > 0.26794919243112270647D (* 2-sqrt(3) *) THEN - INC(n); - x := (((0.73205080756887729353D*x-0.5D)-0.5D)+x)/ - (1.73205080756887729353D + x); - END; - g := x*x; - x := x + x * g * (((p3*g+p2)*g+p1)*g+p0) / ((((q4*g+q3)*g+q2)*g+q1)*g+q0); - IF n > 1 THEN x := -x END; - x := x + A[n]; - IF neg THEN RETURN -x; END; - RETURN x; - END longarctan; - - (* hyperbolic functions *) - (* The C math library has better implementations for some of these, but - they depend on some properties of the floating point implementation, - and, for now, we don't want that in the Modula-2 system. - *) - - PROCEDURE sinh(x: REAL): REAL; - BEGIN - RETURN SHORT(longsinh(LONG(x))); - END sinh; - - PROCEDURE longsinh(x: LONGREAL): LONGREAL; - VAR expx: LONGREAL; - BEGIN - expx := longexp(x); - RETURN (expx - 1.0D/expx)/2.0D; - END longsinh; - - PROCEDURE cosh(x: REAL): REAL; - BEGIN - RETURN SHORT(longcosh(LONG(x))); - END cosh; - - PROCEDURE longcosh(x: LONGREAL): LONGREAL; - VAR expx: LONGREAL; - BEGIN - expx := longexp(x); - RETURN (expx + 1.0D/expx)/2.0D; - END longcosh; - - PROCEDURE tanh(x: REAL): REAL; - BEGIN - RETURN SHORT(longtanh(LONG(x))); - END tanh; - - PROCEDURE longtanh(x: LONGREAL): LONGREAL; - VAR expx: LONGREAL; - BEGIN - expx := longexp(x); - RETURN (expx - 1.0D/expx) / (expx + 1.0D/expx); - END longtanh; - - PROCEDURE arcsinh(x: REAL): REAL; - BEGIN - RETURN SHORT(longarcsinh(LONG(x))); - END arcsinh; - - PROCEDURE longarcsinh(x: LONGREAL): LONGREAL; - VAR neg: BOOLEAN; - BEGIN - neg := FALSE; - IF x < 0.0D THEN - neg := TRUE; - x := -x; - END; - x := longln(x + longsqrt(x*x+1.0D)); - IF neg THEN RETURN -x; END; - RETURN x; - END longarcsinh; - - PROCEDURE arccosh(x: REAL): REAL; - BEGIN - RETURN SHORT(longarccosh(LONG(x))); - END arccosh; - - PROCEDURE longarccosh(x: LONGREAL): LONGREAL; - BEGIN - IF x < 1.0D THEN - Message("arccosh: argument < 1"); - HALT - END; - RETURN longln(x + longsqrt(x*x - 1.0D)); - END longarccosh; - - PROCEDURE arctanh(x: REAL): REAL; - BEGIN - RETURN SHORT(longarctanh(LONG(x))); - END arctanh; - - PROCEDURE longarctanh(x: LONGREAL): LONGREAL; - BEGIN - IF (x <= -1.0D) OR (x >= 1.0D) THEN - Message("arctanh: ABS(argument) >= 1"); - HALT - END; - RETURN longln((1.0D + x)/(1.0D - x)) / 2.0D; - END longarctanh; - - (* conversions *) - - PROCEDURE RadianToDegree(x: REAL): REAL; - BEGIN - RETURN SHORT(longRadianToDegree(LONG(x))); - END RadianToDegree; - - PROCEDURE longRadianToDegree(x: LONGREAL): LONGREAL; - BEGIN - RETURN x * OneRadianInDegrees; - END longRadianToDegree; - - PROCEDURE DegreeToRadian(x: REAL): REAL; - BEGIN - RETURN SHORT(longDegreeToRadian(LONG(x))); - END DegreeToRadian; - - PROCEDURE longDegreeToRadian(x: LONGREAL): LONGREAL; - BEGIN - RETURN x * OneDegreeInRadians; - END longDegreeToRadian; - -BEGIN - arctaninit := FALSE; -END Mathlib. diff --git a/lib/libm2/PascalIO.mod b/lib/libm2/PascalIO.mod deleted file mode 100755 index b29049bd3..000000000 --- a/lib/libm2/PascalIO.mod +++ /dev/null @@ -1,437 +0,0 @@ -(* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*) - -(*$R-*) -IMPLEMENTATION MODULE PascalIO; -(* - Module: Pascal-like Input/Output - Author: Ceriel J.H. Jacobs - Version: $Header$ -*) - - FROM Conversions IMPORT - ConvertInteger, ConvertCardinal; - FROM RealConversions IMPORT - LongRealToString, StringToLongReal; - FROM Traps IMPORT Message; - FROM Streams IMPORT Stream, StreamKind, StreamMode, StreamResult, - InputStream, OutputStream, OpenStream, CloseStream, - EndOfStream, Read, Write, StreamBuffering; - FROM Storage IMPORT Allocate; - FROM SYSTEM IMPORT ADR; - - TYPE charset = SET OF CHAR; - btype = (Preading, Pwriting, free); - - CONST spaces = charset{11C, 12C, 13C, 14C, 15C, ' '}; - - TYPE IOstream = RECORD - type: btype; - done, eof : BOOLEAN; - ch: CHAR; - next: Text; - stream: Stream; - END; - Text = POINTER TO IOstream; - numbuf = ARRAY[0..255] OF CHAR; - - VAR ibuf, obuf: IOstream; - head: Text; - result: StreamResult; - - PROCEDURE Reset(VAR InputText: Text; Filename: ARRAY OF CHAR); - BEGIN - doclose(InputText); - getstruct(InputText); - WITH InputText^ DO - OpenStream(stream, Filename, text, reading, result); - IF result # succeeded THEN - Message("could not open input file"); - HALT; - END; - type := Preading; - done := FALSE; - eof := FALSE; - END; - END Reset; - - PROCEDURE Rewrite(VAR OutputText: Text; Filename: ARRAY OF CHAR); - BEGIN - doclose(OutputText); - getstruct(OutputText); - WITH OutputText^ DO - OpenStream(stream, Filename, text, writing, result); - IF result # succeeded THEN - Message("could not open output file"); - HALT; - END; - type := Pwriting; - END; - END Rewrite; - - PROCEDURE CloseOutput(); - VAR p: Text; - BEGIN - p := head; - WHILE p # NIL DO - doclose(p); - p := p^.next; - END; - END CloseOutput; - - PROCEDURE doclose(Xtext: Text); - BEGIN - IF Xtext # Notext THEN - WITH Xtext^ DO - IF type # free THEN - CloseStream(stream, result); - type := free; - END; - END; - END; - END doclose; - - PROCEDURE getstruct(VAR Xtext: Text); - BEGIN - Xtext := head; - WHILE (Xtext # NIL) AND (Xtext^.type # free) DO - Xtext := Xtext^.next; - END; - IF Xtext = NIL THEN - Allocate(Xtext,SIZE(IOstream)); - Xtext^.next := head; - head := Xtext; - END; - END getstruct; - - PROCEDURE Error(tp: btype); - BEGIN - IF tp = Preading THEN - Message("input text expected"); - ELSE - Message("output text expected"); - END; - HALT; - END Error; - - PROCEDURE ReadChar(InputText: Text; VAR ch : CHAR); - BEGIN - ch := NextChar(InputText); - IF InputText^.eof THEN - Message("unexpected EOF"); - HALT; - END; - InputText^.done := FALSE; - END ReadChar; - - PROCEDURE NextChar(InputText: Text): CHAR; - BEGIN - WITH InputText^ DO - IF type # Preading THEN Error(Preading); END; - IF NOT done THEN - IF EndOfStream(stream, result) THEN - eof := TRUE; - ch := 0C; - ELSE - Read(stream, ch, result); - done := TRUE; - END; - END; - RETURN ch; - END; - END NextChar; - - PROCEDURE Get(InputText: Text); - VAR dummy: CHAR; - BEGIN - ReadChar(InputText, dummy); - END Get; - - PROCEDURE Eoln(InputText: Text): BOOLEAN; - BEGIN - RETURN NextChar(InputText) = 12C; - END Eoln; - - PROCEDURE Eof(InputText: Text): BOOLEAN; - BEGIN - RETURN (NextChar(InputText) = 0C) AND InputText^.eof; - END Eof; - - PROCEDURE ReadLn(InputText: Text); - VAR ch: CHAR; - BEGIN - REPEAT - ReadChar(InputText, ch) - UNTIL ch = 12C; - END ReadLn; - - PROCEDURE WriteChar(OutputText: Text; char: CHAR); - BEGIN - WITH OutputText^ DO - IF type # Pwriting THEN Error(Pwriting); END; - Write(stream, char, result); - END; - END WriteChar; - - PROCEDURE WriteLn(OutputText: Text); - BEGIN - WriteChar(OutputText, 12C); - END WriteLn; - - PROCEDURE Page(OutputText: Text); - BEGIN - WriteChar(OutputText, 14C); - END Page; - - PROCEDURE ReadInteger(InputText: Text; VAR int : INTEGER); - CONST - SAFELIMITDIV10 = MAX(INTEGER) DIV 10; - SAFELIMITREM10 = MAX(INTEGER) MOD 10; - VAR - neg : BOOLEAN; - safedigit: CARDINAL; - ch: CHAR; - chvalue: CARDINAL; - BEGIN - WHILE NextChar(InputText) IN spaces DO - Get(InputText); - END; - ch := NextChar(InputText); - IF ch = '-' THEN - Get(InputText); - ch := NextChar(InputText); - neg := TRUE; - ELSIF ch = '+' THEN - Get(InputText); - ch := NextChar(InputText); - neg := FALSE; - ELSE - neg := FALSE - END; - - safedigit := SAFELIMITREM10; - IF neg THEN safedigit := safedigit + 1 END; - int := 0; - IF (ch >= '0') AND (ch <= '9') THEN - WHILE (ch >= '0') & (ch <= '9') DO - chvalue := ORD(ch) - ORD('0'); - IF (int < -SAFELIMITDIV10) OR - ( (int = -SAFELIMITDIV10) AND - (chvalue > safedigit)) THEN - Message("integer too large"); - HALT; - ELSE - int := 10*int - VAL(INTEGER, chvalue); - Get(InputText); - ch := NextChar(InputText); - END; - END; - IF NOT neg THEN - int := -int - END; - ELSE - Message("integer expected"); - HALT; - END; - END ReadInteger; - - PROCEDURE ReadCardinal(InputText: Text; VAR card : CARDINAL); - CONST - SAFELIMITDIV10 = MAX(CARDINAL) DIV 10; - SAFELIMITREM10 = MAX(CARDINAL) MOD 10; - - VAR - ch : CHAR; - safedigit: CARDINAL; - chvalue: CARDINAL; - BEGIN - WHILE NextChar(InputText) IN spaces DO - Get(InputText); - END; - ch := NextChar(InputText); - safedigit := SAFELIMITREM10; - card := 0; - IF (ch >= '0') AND (ch <= '9') THEN - WHILE (ch >= '0') & (ch <= '9') DO - chvalue := ORD(ch) - ORD('0'); - IF (card > SAFELIMITDIV10) OR - ( (card = SAFELIMITDIV10) AND - (chvalue > safedigit)) THEN - Message("cardinal too large"); - HALT; - ELSE - card := 10*card + chvalue; - Get(InputText); - ch := NextChar(InputText); - END; - END; - ELSE - Message("cardinal expected"); - HALT; - END; - END ReadCardinal; - - PROCEDURE ReadReal(InputText: Text; VAR real: REAL); - VAR x1: LONGREAL; - BEGIN - ReadLongReal(InputText, x1); - real := x1 - END ReadReal; - - PROCEDURE ReadLongReal(InputText: Text; VAR real: LONGREAL); - VAR - buf: numbuf; - ch: CHAR; - ok: BOOLEAN; - index: INTEGER; - - PROCEDURE inch(): CHAR; - BEGIN - buf[index] := ch; - INC(index); - Get(InputText); - RETURN NextChar(InputText); - END inch; - - BEGIN - index := 0; - ok := TRUE; - WHILE NextChar(InputText) IN spaces DO - Get(InputText); - END; - ch := NextChar(InputText); - IF (ch ='+') OR (ch = '-') THEN - ch := inch(); - END; - IF (ch >= '0') AND (ch <= '9') THEN - WHILE (ch >= '0') AND (ch <= '9') DO - ch := inch(); - END; - IF (ch = '.') THEN - ch := inch(); - IF (ch >= '0') AND (ch <= '9') THEN - WHILE (ch >= '0') AND (ch <= '9') DO - ch := inch(); - END; - ELSE - ok := FALSE; - END; - END; - IF ok AND (ch = 'E') THEN - ch := inch(); - IF (ch ='+') OR (ch = '-') THEN - ch := inch(); - END; - IF (ch >= '0') AND (ch <= '9') THEN - WHILE (ch >= '0') AND (ch <= '9') DO - ch := inch(); - END; - ELSE - ok := FALSE; - END; - END; - ELSE - ok := FALSE; - END; - IF ok THEN - buf[index] := 0C; - StringToLongReal(buf, real, ok); - END; - IF NOT ok THEN - Message("Illegal real"); - HALT; - END; - END ReadLongReal; - - PROCEDURE WriteCardinal(OutputText: Text; card: CARDINAL; width: CARDINAL); - VAR - buf : numbuf; - BEGIN - ConvertCardinal(card, 1, buf); - WriteString(OutputText, buf, width); - END WriteCardinal; - - PROCEDURE WriteInteger(OutputText: Text; int: INTEGER; width: CARDINAL); - VAR - buf : numbuf; - BEGIN - ConvertInteger(int, 1, buf); - WriteString(OutputText, buf, width); - END WriteInteger; - - PROCEDURE WriteBoolean(OutputText: Text; bool: BOOLEAN; width: CARDINAL); - BEGIN - IF bool THEN - WriteString(OutputText, " TRUE", width); - ELSE - WriteString(OutputText, "FALSE", width); - END; - END WriteBoolean; - - PROCEDURE WriteReal(OutputText: Text; real: REAL; width, nfrac: CARDINAL); - BEGIN - WriteLongReal(OutputText, LONG(real), width, nfrac) - END WriteReal; - - PROCEDURE WriteLongReal(OutputText: Text; real: LONGREAL; width, nfrac: CARDINAL); - VAR - buf: numbuf; - ok: BOOLEAN; - digits: INTEGER; - BEGIN - IF width > SIZE(buf) THEN - width := SIZE(buf); - END; - IF nfrac > 0 THEN - LongRealToString(real, width, nfrac, buf, ok); - ELSE - IF width < 9 THEN width := 9; END; - IF real < 0.0D THEN - digits := 7 - INTEGER(width); - ELSE - digits := 6 - INTEGER(width); - END; - LongRealToString(real, width, digits, buf, ok); - END; - WriteString(OutputText, buf, 0); - END WriteLongReal; - - PROCEDURE WriteString(OutputText: Text; str: ARRAY OF CHAR; width: CARDINAL); - VAR index: CARDINAL; - BEGIN - index := 0; - WHILE (index <= HIGH(str)) AND (str[index] # Eos) DO - INC(index); - END; - WHILE index < width DO - WriteChar(OutputText, " "); - INC(index); - END; - index := 0; - WHILE (index <= HIGH(str)) AND (str[index] # Eos) DO - WriteChar(OutputText, str[index]); - INC(index); - END; - END WriteString; - -BEGIN (* PascalIO initialization *) - WITH ibuf DO - stream := InputStream; - eof := FALSE; - type := Preading; - done := FALSE; - END; - WITH obuf DO - stream := OutputStream; - eof := FALSE; - type := Pwriting; - END; - Notext := NIL; - Input := ADR(ibuf); - Output := ADR(obuf); - Input^.next := Output; - Output^.next := NIL; - head := Input; -END PascalIO. diff --git a/lib/libm2/Processes.mod b/lib/libm2/Processes.mod deleted file mode 100755 index 152c7e640..000000000 --- a/lib/libm2/Processes.mod +++ /dev/null @@ -1,101 +0,0 @@ -(*$R-*) -IMPLEMENTATION MODULE Processes [1]; -(* - Module: Processes - From: "Programming in Modula-2", 3rd, corrected edition, by N. Wirth - Version: $Header$ -*) - - FROM SYSTEM IMPORT ADDRESS, TSIZE, NEWPROCESS, TRANSFER; - FROM Storage IMPORT Allocate; - FROM Traps IMPORT Message; - - TYPE SIGNAL = POINTER TO ProcessDescriptor; - - ProcessDescriptor = - RECORD next: SIGNAL; (* ring *) - queue: SIGNAL; (* queue of waiting processes *) - cor: ADDRESS; - ready: BOOLEAN; - END; - - VAR cp: SIGNAL; (* current process *) - - PROCEDURE StartProcess(P: PROC; n: CARDINAL); - VAR s0: SIGNAL; - wsp: ADDRESS; - BEGIN - s0 := cp; - Allocate(wsp, n); - Allocate(cp, TSIZE(ProcessDescriptor)); - WITH cp^ DO - next := s0^.next; - s0^.next := cp; - ready := TRUE; - queue := NIL - END; - NEWPROCESS(P, wsp, n, cp^.cor); - TRANSFER(s0^.cor, cp^.cor); - END StartProcess; - - PROCEDURE SEND(VAR s: SIGNAL); - VAR s0: SIGNAL; - BEGIN - IF s # NIL THEN - s0 := cp; - cp := s; - WITH cp^ DO - s := queue; - ready := TRUE; - queue := NIL - END; - TRANSFER(s0^.cor, cp^.cor); - END - END SEND; - - PROCEDURE WAIT(VAR s: SIGNAL); - VAR s0, s1: SIGNAL; - BEGIN - (* insert cp in queue s *) - IF s = NIL THEN - s := cp - ELSE - s0 := s; - s1 := s0^.queue; - WHILE s1 # NIL DO - s0 := s1; - s1 := s0^.queue - END; - s0^.queue := cp - END; - s0 := cp; - REPEAT - cp := cp^.next - UNTIL cp^.ready; - IF cp = s0 THEN - (* deadlock *) - Message("deadlock"); - HALT - END; - s0^.ready := FALSE; - TRANSFER(s0^.cor, cp^.cor) - END WAIT; - - PROCEDURE Awaited(s: SIGNAL): BOOLEAN; - BEGIN - RETURN s # NIL - END Awaited; - - PROCEDURE Init(VAR s: SIGNAL); - BEGIN - s := NIL - END Init; - -BEGIN - Allocate(cp, TSIZE(ProcessDescriptor)); - WITH cp^ DO - next := cp; - ready := TRUE; - queue := NIL - END -END Processes. diff --git a/lib/libm2/RealConver.mod b/lib/libm2/RealConver.mod deleted file mode 100755 index c663f5ed0..000000000 --- a/lib/libm2/RealConver.mod +++ /dev/null @@ -1,337 +0,0 @@ -(* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*) - -(*$R-*) -IMPLEMENTATION MODULE RealConversions; -(* - Module: string-to-real and real-to-string conversions - Author: Ceriel J.H. Jacobs - Version: $Header$ -*) - - - PROCEDURE RealToString(arg: REAL; - width, digits: INTEGER; - VAR str: ARRAY OF CHAR; - VAR ok: BOOLEAN); - BEGIN - LongRealToString(LONG(arg), width, digits, str, ok); - END RealToString; - - TYPE - Powers = RECORD - pval: LONGREAL; - rpval: LONGREAL; - exp: INTEGER - END; - - VAR Powers10: ARRAY[1..6] OF Powers; - - PROCEDURE LongRealToString(arg: LONGREAL; - width, digits: INTEGER; - VAR str: ARRAY OF CHAR; - VAR ok: BOOLEAN); - VAR pointpos: INTEGER; - i: CARDINAL; - ecvtflag: BOOLEAN; - r: LONGREAL; - ind1, ind2 : CARDINAL; - sign: BOOLEAN; - ndigits: CARDINAL; - - BEGIN - r := arg; - IF digits < 0 THEN - ecvtflag := TRUE; - ndigits := -digits; - ELSE - ecvtflag := FALSE; - ndigits := digits; - END; - IF (HIGH(str) < ndigits + 3) THEN - str[0] := 0C; ok := FALSE; RETURN - END; - pointpos := 0; - sign := r < 0.0D; - IF sign THEN r := -r END; - ok := TRUE; - IF NOT (r / 10.0D < r) THEN - (* assume Nan or Infinity *) - r := 0.0D; - ok := FALSE; - END; - IF r # 0.0D THEN - IF r >= 10.0D THEN - FOR i := 1 TO 6 DO - WITH Powers10[i] DO - WHILE r >= pval DO - r := r * rpval; - INC(pointpos, exp) - END; - END; - END; - END; - IF r < 1.0D THEN - FOR i := 1 TO 6 DO - WITH Powers10[i] DO - WHILE r*pval < 10.0D DO - r := r * pval; - DEC(pointpos, exp) - END; - END; - END; - END; - (* Now, we have r in [1.0, 10.0) *) - INC(pointpos); - END; - ind1 := 0; - ind2 := ndigits+1; - - IF NOT ecvtflag THEN - IF INTEGER(ind2) + pointpos <= 0 THEN - ind2 := 1; - ELSE - ind2 := INTEGER(ind2) + pointpos - END; - END; - IF ind2 > HIGH(str) THEN - ok := FALSE; - str[0] := 0C; - RETURN; - END; - WHILE ind1 < ind2 DO - str[ind1] := CHR(TRUNC(r)+ORD('0')); - r := 10.0D * (r - FLOATD(TRUNC(r))); - INC(ind1); - END; - IF ind2 > 0 THEN - DEC(ind2); - ind1 := ind2; - str[ind2] := CHR(ORD(str[ind2])+5); - WHILE str[ind2] > '9' DO - str[ind2] := '0'; - IF ind2 > 0 THEN - DEC(ind2); - str[ind2] := CHR(ORD(str[ind2])+1); - ELSE - str[ind2] := '1'; - INC(pointpos); - IF NOT ecvtflag THEN - IF ind1 > 0 THEN str[ind1] := '0'; END; - INC(ind1); - END; - END; - END; - IF (NOT ecvtflag) AND (ind1 = 0) THEN - str[0] := CHR(ORD(str[0])-5); - INC(ind1); - END; - END; - IF ecvtflag THEN - FOR i := ind1 TO 2 BY -1 DO - str[i] := str[i-1]; - END; - str[1] := '.'; - INC(ind1); - IF sign THEN - FOR i := ind1 TO 1 BY -1 DO - str[i] := str[i-1]; - END; - INC(ind1); - str[0] := '-'; - END; - IF (ind1 + 4) > HIGH(str) THEN - str[0] := 0C; - ok := FALSE; - RETURN; - END; - str[ind1] := 'E'; INC(ind1); - IF arg # 0.0D THEN DEC(pointpos); END; - IF pointpos < 0 THEN - pointpos := -pointpos; - str[ind1] := '-'; - ELSE - str[ind1] := '+'; - END; - INC(ind1); - str[ind1] := CHR(ORD('0') + CARDINAL(pointpos DIV 100)); - pointpos := pointpos MOD 100; - INC(ind1); - str[ind1] := CHR(ORD('0') + CARDINAL(pointpos DIV 10)); - INC(ind1); - str[ind1] := CHR(ORD('0') + CARDINAL(pointpos MOD 10)); - ELSE - IF pointpos <= 0 THEN - FOR i := ind1 TO 1 BY -1 DO - str[i+CARDINAL(-pointpos)] := str[i-1]; - END; - FOR i := 0 TO CARDINAL(-pointpos) DO - str[i] := '0'; - END; - ind1 := ind1 + CARDINAL(1 - pointpos); - pointpos := 1; - END; - FOR i := ind1 TO CARDINAL(pointpos+1) BY -1 DO - str[i] := str[i-1]; - END; - IF ndigits = 0 THEN - str[pointpos] := 0C; - ind1 := pointpos - 1; - ELSE - str[pointpos] := '.'; - IF INTEGER(ind1) > pointpos+INTEGER(ndigits) THEN - ind1 := pointpos+INTEGER(ndigits); - END; - str[pointpos+INTEGER(ndigits)+1] := 0C; - END; - IF sign THEN - FOR i := ind1 TO 0 BY -1 DO - str[i+1] := str[i]; - END; - str[0] := '-'; - INC(ind1); - END; - END; - IF (ind1+1) <= HIGH(str) THEN str[ind1+1] := 0C; END; - IF ind1 >= CARDINAL(width) THEN - ok := FALSE; - RETURN; - END; - IF width > 0 THEN - DEC(width); - END; - IF (width > 0) AND (ind1 < CARDINAL(width)) THEN - FOR i := ind1 TO 0 BY -1 DO - str[i + CARDINAL(width) - ind1] := str[i]; - END; - FOR i := 0 TO CARDINAL(width)-(ind1+1) DO - str[i] := ' '; - END; - ind1 := CARDINAL(width); - IF (ind1+1) <= HIGH(str) THEN - FOR ind1 := ind1+1 TO HIGH(str) DO - str[ind1] := 0C; - END; - END; - END; - - END LongRealToString; - - - PROCEDURE StringToReal(str: ARRAY OF CHAR; - VAR r: REAL; VAR ok: BOOLEAN); - VAR x: LONGREAL; - BEGIN - StringToLongReal(str, x, ok); - IF ok THEN - r := x; - END; - END StringToReal; - - PROCEDURE StringToLongReal(str: ARRAY OF CHAR; - VAR r: LONGREAL; VAR ok: BOOLEAN); - CONST BIG = 1.0D17; - TYPE SETOFCHAR = SET OF CHAR; - VAR pow10 : INTEGER; - i : INTEGER; - e : LONGREAL; - ch : CHAR; - signed: BOOLEAN; - signedexp: BOOLEAN; - iB: CARDINAL; - - BEGIN - r := 0.0D; - pow10 := 0; - iB := 0; - ok := TRUE; - signed := FALSE; - WHILE (str[iB] = ' ') OR (str[iB] = CHR(9)) DO - INC(iB); - IF iB > HIGH(str) THEN - ok := FALSE; - RETURN; - END; - END; - IF str[iB] = '-' THEN signed := TRUE; INC(iB) - ELSIF str[iB] = '+' THEN INC(iB) - END; - ch := str[iB]; INC(iB); - IF NOT (ch IN SETOFCHAR{'0'..'9'}) THEN ok := FALSE; RETURN END; - REPEAT - IF r>BIG THEN INC(pow10) ELSE r:= 10.0D*r+FLOATD(ORD(ch)-ORD('0')) END; - IF iB <= HIGH(str) THEN - ch := str[iB]; INC(iB); - END; - UNTIL (iB > HIGH(str)) OR NOT (ch IN SETOFCHAR{'0'..'9'}); - IF (ch = '.') AND (iB <= HIGH(str)) THEN - ch := str[iB]; INC(iB); - IF NOT (ch IN SETOFCHAR{'0'..'9'}) THEN ok := FALSE; RETURN END; - REPEAT - IF r < BIG THEN - r := 10.0D * r + FLOATD(ORD(ch)-ORD('0')); - DEC(pow10); - END; - IF iB <= HIGH(str) THEN - ch := str[iB]; INC(iB); - END; - UNTIL (iB > HIGH(str)) OR NOT (ch IN SETOFCHAR{'0'..'9'}); - END; - IF (ch = 'E') THEN - IF iB > HIGH(str) THEN - ok := FALSE; - RETURN; - ELSE - ch := str[iB]; INC(iB); - END; - i := 0; - signedexp := FALSE; - IF (ch = '-') OR (ch = '+') THEN - signedexp := ch = '-'; - IF iB > HIGH(str) THEN - ok := FALSE; - RETURN; - ELSE - ch := str[iB]; INC(iB); - END; - END; - IF NOT (ch IN SETOFCHAR{'0'..'9'}) THEN ok := FALSE; RETURN END; - REPEAT - i := i*10 + INTEGER(ORD(ch) - ORD('0')); - IF iB <= HIGH(str) THEN - ch := str[iB]; INC(iB); - END; - UNTIL (iB > HIGH(str)) OR NOT (ch IN SETOFCHAR{'0'..'9'}); - IF signedexp THEN i := -i END; - pow10 := pow10 + i; - END; - IF pow10 < 0 THEN i := -pow10; ELSE i := pow10; END; - e := 1.0D; - DEC(i); - WHILE i >= 10 DO - e := e * 10000000000.0D; - DEC(i,10); - END; - WHILE i >= 0 DO - e := e * 10.0D; - DEC(i) - END; - IF pow10<0 THEN - r := r / e; - ELSE - r := r * e; - END; - IF signed THEN r := -r; END; - IF (iB <= HIGH(str)) AND (ORD(ch) > ORD(' ')) THEN ok := FALSE; END - END StringToLongReal; - -BEGIN - WITH Powers10[1] DO pval := 1.0D32; rpval := 1.0D-32; exp := 32 END; - WITH Powers10[2] DO pval := 1.0D16; rpval := 1.0D-16; exp := 16 END; - WITH Powers10[3] DO pval := 1.0D8; rpval := 1.0D-8; exp := 8 END; - WITH Powers10[4] DO pval := 1.0D4; rpval := 1.0D-4; exp := 4 END; - WITH Powers10[5] DO pval := 1.0D2; rpval := 1.0D-2; exp := 2 END; - WITH Powers10[6] DO pval := 1.0D1; rpval := 1.0D-1; exp := 1 END; -END RealConversions. diff --git a/lib/libm2/RealInOut.mod b/lib/libm2/RealInOut.mod deleted file mode 100755 index e2565cc2f..000000000 --- a/lib/libm2/RealInOut.mod +++ /dev/null @@ -1,97 +0,0 @@ -(* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*) - -(*$R-*) -IMPLEMENTATION MODULE RealInOut; -(* - Module: InOut for REAL numbers - Author: Ceriel J.H. Jacobs - Version: $Header$ -*) - - FROM InOut IMPORT ReadString, WriteString, WriteOct; - FROM Traps IMPORT Message; - FROM SYSTEM IMPORT WORD; - FROM RealConversions IMPORT - LongRealToString, StringToLongReal; - - CONST MAXNDIG = 32; - MAXWIDTH = MAXNDIG+7; - TYPE RBUF = ARRAY [0..MAXWIDTH+1] OF CHAR; - - PROCEDURE WriteReal(arg: REAL; ndigits: CARDINAL); - BEGIN - WriteLongReal(LONG(arg), ndigits) - END WriteReal; - - PROCEDURE WriteLongReal(arg: LONGREAL; ndigits: CARDINAL); - VAR buf : RBUF; - ok : BOOLEAN; - - BEGIN - IF ndigits > MAXWIDTH THEN ndigits := MAXWIDTH; END; - IF ndigits < 10 THEN ndigits := 10; END; - LongRealToString(arg, ndigits, -INTEGER(ndigits - 7), buf, ok); - WriteString(buf); - END WriteLongReal; - - PROCEDURE WriteFixPt(arg: REAL; n, k: CARDINAL); - BEGIN - WriteLongFixPt(LONG(arg), n, k) - END WriteFixPt; - - PROCEDURE WriteLongFixPt(arg: LONGREAL; n, k: CARDINAL); - VAR buf: RBUF; - ok : BOOLEAN; - - BEGIN - IF n > MAXWIDTH THEN n := MAXWIDTH END; - LongRealToString(arg, n, k, buf, ok); - WriteString(buf); - END WriteLongFixPt; - - PROCEDURE ReadReal(VAR x: REAL); - VAR x1: LONGREAL; - BEGIN - ReadLongReal(x1); - x := x1 - END ReadReal; - - PROCEDURE ReadLongReal(VAR x: LONGREAL); - VAR Buf: ARRAY[0..512] OF CHAR; - ok: BOOLEAN; - - BEGIN - ReadString(Buf); - StringToLongReal(Buf, x, ok); - IF NOT ok THEN - Message("real expected"); - HALT; - END; - Done := TRUE; - END ReadLongReal; - - PROCEDURE wroct(x: ARRAY OF WORD); - VAR i: CARDINAL; - BEGIN - FOR i := 0 TO HIGH(x) DO - WriteOct(CARDINAL(x[i]), 0); - WriteString(" "); - END; - END wroct; - - PROCEDURE WriteRealOct(x: REAL); - BEGIN - wroct(x); - END WriteRealOct; - - PROCEDURE WriteLongRealOct(x: LONGREAL); - BEGIN - wroct(x); - END WriteLongRealOct; - -BEGIN - Done := FALSE; -END RealInOut. diff --git a/lib/libm2/SYSTEM.c b/lib/libm2/SYSTEM.c deleted file mode 100755 index 51def5596..000000000 --- a/lib/libm2/SYSTEM.c +++ /dev/null @@ -1,115 +0,0 @@ -/* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*/ - -/* - Module: SYSTEM - Author: Ceriel J.H. Jacobs - Version: $Header$ -*/ - -/* - An implementation of the Modula-2 NEWPROCESS and TRANSFER facilities - using the topsize, topsave, and topload facilities. - For each coroutine, a proc structure is built. For the main routine, - a static space is declared to save its stack. For the other coroutines, - the user specifies this space. -*/ - -#include - -#define MAXMAIN 2048 - -struct proc { - unsigned size; /* size of saved stackframe(s) */ - int (*proc)(); /* address of coroutine procedure */ - char *brk; /* stack break of this coroutine */ -}; - -extern unsigned topsize(); - -static struct proc mainproc[MAXMAIN/sizeof(struct proc) + 1]; - -static struct proc *curproc = 0;/* current coroutine */ -extern char *MainLB; /* stack break of main routine */ - -_SYSTEM__NEWPROCESS(p, a, n, p1) - int (*p)(); /* coroutine procedure */ - struct proc *a; /* pointer to area for saved stack-frame */ - unsigned n; /* size of this area */ - struct proc **p1; /* where to leave coroutine descriptor, - in this implementation the address of - the area for saved stack-frame(s) */ -{ - /* This procedure creates a new coroutine, but does not - transfer control to it. The routine "topsize" will compute the - stack break, which will be the local base of this routine. - Notice that we can do this because we do not need the stack - above this point for this coroutine. In Modula-2, coroutines - must be level 0 procedures without parameters. - */ - char *brk = 0; - unsigned sz = topsize(&brk); - - if (sz + sizeof(struct proc) > n) { - /* not enough space */ - TRP(M2_TOOLARGE); - } - a->size = n; - a->proc = p; - a->brk = brk; - *p1 = a; - if (topsave(brk, a+1)) - /* stack frame saved; now just return */ - ; - else { - /* We get here through the first transfer to the coroutine - created above. - This also means that curproc is now set to this coroutine. - We cannot trust the parameters anymore. - Just call the coroutine procedure. - */ - (*(curproc->proc))(); - _cleanup(); - _exit(0); - } -} - -_SYSTEM__TRANSFER(a, b) - struct proc **a, **b; -{ - /* transfer from one coroutine to another, saving the current - descriptor in the space indicated by "a", and transfering to - the coroutine in descriptor "b". - */ - unsigned size; - - if (! curproc) { - /* the current coroutine is the main process; - initialize a coroutine descriptor for it ... - */ - mainproc[0].brk = MainLB; - mainproc[0].size = sizeof(mainproc); - curproc = &mainproc[0]; - } - *a = curproc; /* save current descriptor in "a" */ - if (*b == curproc) { - /* transfer to itself is a no-op */ - return; - } - size = topsize(&(curproc->brk)); - if (size + sizeof(struct proc) > curproc->size) { - TRP(M2_TOOLARGE); - } - if (topsave(curproc->brk, curproc+1)) { - /* stack top saved. Now restore context of target - coroutine - */ - curproc = *b; - topload(curproc+1); - /* we never get here ... */ - } - /* but we do get here, when a transfer is done to the coroutine in "a". - */ -} diff --git a/lib/libm2/Semaphores.mod b/lib/libm2/Semaphores.mod deleted file mode 100755 index d6c056649..000000000 --- a/lib/libm2/Semaphores.mod +++ /dev/null @@ -1,118 +0,0 @@ -(* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*) - -(*$R-*) -IMPLEMENTATION MODULE Semaphores [1]; -(* - Module: Processes with semaphores - Author: Ceriel J.H. Jacobs - Version: $Header$ - - Quasi-concurrency implementation -*) - - FROM SYSTEM IMPORT ADDRESS, NEWPROCESS, TRANSFER; - FROM Storage IMPORT Allocate; - FROM random IMPORT Uniform; - FROM Traps IMPORT Message; - - TYPE Sema = POINTER TO Semaphore; - Processes = POINTER TO Process; - Semaphore = - RECORD - level: CARDINAL; - END; - Process = - RECORD next: Processes; - proc: ADDRESS; - waiting: Sema; - END; - - VAR cp: Processes; (* current process *) - - PROCEDURE StartProcess(P: PROC; n: CARDINAL); - VAR s0: Processes; - wsp: ADDRESS; - BEGIN - s0 := cp; - Allocate(wsp, n); - Allocate(cp, SIZE(Process)); - WITH cp^ DO - next := s0^.next; - s0^.next := cp; - waiting := NIL; - END; - NEWPROCESS(P, wsp, n, cp^.proc); - TRANSFER(s0^.proc, cp^.proc); - END StartProcess; - - PROCEDURE Up(VAR s: Sema); - BEGIN - s^.level := s^.level + 1; - ReSchedule; - END Up; - - PROCEDURE Down(VAR s: Sema); - BEGIN - IF s^.level = 0 THEN - cp^.waiting := s; - ELSE - s^.level := s^.level - 1; - END; - ReSchedule; - END Down; - - PROCEDURE NewSema(n: CARDINAL): Sema; - VAR s: Sema; - BEGIN - Allocate(s, SIZE(Semaphore)); - s^.level := n; - RETURN s; - END NewSema; - - PROCEDURE Level(s: Sema): CARDINAL; - BEGIN - RETURN s^.level; - END Level; - - PROCEDURE ReSchedule; - VAR s0: Processes; - i, j: CARDINAL; - BEGIN - s0 := cp; - i := Uniform(1, 5); - j := i; - LOOP - cp := cp^.next; - IF Runnable(cp) THEN - DEC(i); - IF i = 0 THEN EXIT END; - END; - IF (cp = s0) AND (j = i) THEN - (* deadlock *) - Message("deadlock"); - HALT - END; - END; - IF cp # s0 THEN TRANSFER(s0^.proc, cp^.proc); END; - END ReSchedule; - - PROCEDURE Runnable(p: Processes): BOOLEAN; - BEGIN - IF p^.waiting = NIL THEN RETURN TRUE; END; - IF p^.waiting^.level > 0 THEN - p^.waiting^.level := p^.waiting^.level - 1; - p^.waiting := NIL; - RETURN TRUE; - END; - RETURN FALSE; - END Runnable; -BEGIN - Allocate(cp, SIZE(Process)); - WITH cp^ DO - next := cp; - waiting := NIL; - END -END Semaphores. diff --git a/lib/libm2/Storage.mod b/lib/libm2/Storage.mod deleted file mode 100755 index a416f4901..000000000 --- a/lib/libm2/Storage.mod +++ /dev/null @@ -1,353 +0,0 @@ -(* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*) - -(*$R-*) -IMPLEMENTATION MODULE Storage; -(* - Module: Dynamic Storage Allocation - Author: Ceriel J.H. Jacobs - Adapted from a version in C by Hans Tebra - Version: $Header$ -*) -(* This storage manager maintains an array of lists of objects with the - same size. Commonly used sizes have their own bucket. The larger ones - are put in a single list. -*) - FROM Unix IMPORT sbrk, ILLBREAK; - FROM SYSTEM IMPORT ADDRESS, ADR; - FROM Traps IMPORT Message; - - CONST - NLISTS = 20; - MAGICW = 0A5A5H; - MAGICC = 175C; - - TYPE - ALIGNTYPE = - RECORD - CASE : INTEGER OF - 1: l: LONGINT | - 2: p: ADDRESS | - 3: d: LONGREAL - END - END; (* A type with high alignment requirements *) - BucketPtr = POINTER TO Bucket; - Bucket = - RECORD - CASE : BOOLEAN OF - FALSE: - BNEXT: BucketPtr; (* next free Bucket *) - BSIZE: CARDINAL; | (* size of user part in UNITs *) - TRUE: BXX: ALIGNTYPE - END; - BSTORE: ALIGNTYPE; - END; - - CONST - UNIT = SIZE(ALIGNTYPE); - - VAR - FreeLists: ARRAY[0..NLISTS] OF BucketPtr; (* small blocks *) - Llist: BucketPtr; (* others *) - Compacted: BOOLEAN; (* avoid recursive reorganization *) - FirstBlock: BucketPtr; - USED: ADDRESS; - - PROCEDURE MyAllocate(size: CARDINAL) : ADDRESS; - VAR nu : CARDINAL; - b : CARDINAL; - p, q: BucketPtr; - pc: POINTER TO CHAR; - brk : ADDRESS; - BEGIN - IF size > CARDINAL(MAX(INTEGER)-2*UNIT + 1) THEN - RETURN NIL; - END; - nu := (size + (UNIT-1)) DIV UNIT; - IF nu = 0 THEN - nu := 1; - END; - IF nu <= NLISTS THEN - b := nu; - IF FreeLists[b] # NIL THEN - (* Exact fit *) - p := FreeLists[b]; - FreeLists[b] := p^.BNEXT; - p^.BNEXT := USED; - IF p^.BSIZE * UNIT # size THEN - pc := ADR(p^.BSTORE) + size; - pc^ := MAGICC; - END; - p^.BSIZE := size; - RETURN ADR(p^.BSTORE); - END; - - (* Search for a block with >= 2 units more than requested. - We pay for an additional header when the block is split. - *) - FOR b := b+2 TO NLISTS DO - IF FreeLists[b] # NIL THEN - q := FreeLists[b]; - FreeLists[b] := q^.BNEXT; - p := ADDRESS(q) + (nu+1)*UNIT; - (* p indicates the block that must be given - back - *) - p^.BSIZE := q^.BSIZE - nu - 1; - p^.BNEXT := FreeLists[p^.BSIZE]; - FreeLists[p^.BSIZE] := p; - q^.BSIZE := nu; - q^.BNEXT := USED; - IF q^.BSIZE * UNIT # size THEN - pc := ADR(q^.BSTORE) + size; - pc^ := MAGICC; - END; - q^.BSIZE := size; - RETURN ADR(q^.BSTORE); - END; - END; - END; - - p := Llist; - IF p # NIL THEN - q := NIL; - WHILE (p # NIL) AND (p^.BSIZE < nu) DO - q := p; - p := p^.BNEXT; - END; - - IF p # NIL THEN - (* p^.BSIZE >= nu *) - IF p^.BSIZE <= nu + NLISTS + 1 THEN - (* Remove p from this list *) - IF q # NIL THEN q^.BNEXT := p^.BNEXT - ELSE Llist := p^.BNEXT; - END; - p^.BNEXT := USED; - IF p^.BSIZE > nu + 1 THEN - (* split block, - tail goes to FreeLists area - *) - q := ADDRESS(p) + (nu+1)*UNIT; - q^.BSIZE := p^.BSIZE -nu -1; - q^.BNEXT := FreeLists[q^.BSIZE]; - FreeLists[q^.BSIZE] := q; - p^.BSIZE := nu; - END; - IF p^.BSIZE * UNIT # size THEN - pc := ADR(p^.BSTORE) + size; - pc^ := MAGICC; - END; - p^.BSIZE := size; - RETURN ADR(p^.BSTORE); - END; - (* Give part of tail of original block. - Block stays in this list. - *) - q := ADDRESS(p) + (p^.BSIZE-nu)*UNIT; - q^.BSIZE := nu; - p^.BSIZE := p^.BSIZE - nu - 1; - q^.BNEXT := USED; - IF q^.BSIZE * UNIT # size THEN - pc := ADR(q^.BSTORE) + size; - pc^ := MAGICC; - END; - q^.BSIZE := size; - RETURN ADR(q^.BSTORE); - END; - END; - - IF Compacted THEN - (* reorganization did not yield sufficient memory *) - RETURN NIL; - END; - - brk := sbrk(UNIT * (nu + 1)); - IF brk = ILLBREAK THEN - ReOrganize(); - Compacted := TRUE; - brk := MyAllocate(size); - Compacted := FALSE; - RETURN brk; - END; - - p := brk; - p^.BSIZE := nu; - p^.BNEXT := USED; - IF p^.BSIZE * UNIT # size THEN - pc := ADR(p^.BSTORE) + size; - pc^ := MAGICC; - END; - p^.BSIZE := size; - RETURN ADR(p^.BSTORE); - END MyAllocate; - - PROCEDURE ALLOCATE(VAR a: ADDRESS; size: CARDINAL); - BEGIN - Allocate(a, size); - END ALLOCATE; - - PROCEDURE Allocate(VAR a: ADDRESS; size: CARDINAL); - BEGIN - a := MyAllocate(size); - IF a = NIL THEN - Message("out of core"); - HALT; - END; - END Allocate; - - PROCEDURE Available(size: CARDINAL): BOOLEAN; - VAR a: ADDRESS; - BEGIN - a:= MyAllocate(size); - IF a # NIL THEN - Deallocate(a, size); - RETURN TRUE; - END; - RETURN FALSE; - END Available; - - PROCEDURE DEALLOCATE(VAR a: ADDRESS; size: CARDINAL); - BEGIN - Deallocate(a, size); - END DEALLOCATE; - - PROCEDURE Deallocate(VAR a: ADDRESS; size: CARDINAL); - VAR p: BucketPtr; - pc: POINTER TO CHAR; - BEGIN - IF (a = NIL) THEN - Message("(Warning) Deallocate: NIL pointer deallocated"); - RETURN; - END; - p := a - UNIT; - IF (p^.BNEXT # BucketPtr(USED)) THEN - Message("(Warning) Deallocate: area already deallocated or heap corrupted"); - a := NIL; - RETURN; - END; - WITH p^ DO - IF BSIZE # size THEN - Message("(Warning) Deallocate: wrong size or heap corrupted"); - END; - BSIZE := (size + (UNIT - 1)) DIV UNIT; - IF (BSIZE*UNIT # size) THEN - pc := a + size; - IF pc^ # MAGICC THEN - Message("(Warning) Deallocate: heap corrupted"); - END; - END; - IF BSIZE <= NLISTS THEN - BNEXT := FreeLists[BSIZE]; - FreeLists[BSIZE] := p; - ELSE - BNEXT := Llist; - Llist := p; - END; - END; - a := NIL - END Deallocate; - - PROCEDURE ReOrganize(); - VAR lastblock: BucketPtr; - b, be: BucketPtr; - i: CARDINAL; - BEGIN - lastblock := NIL; - FOR i := 1 TO NLISTS DO - b := FreeLists[i]; - WHILE b # NIL DO - IF ADDRESS(b) > ADDRESS(lastblock) THEN - lastblock := b; - END; - be := b^.BNEXT; - b^.BNEXT := NIL; (* temporary free mark *) - b := be; - END; - END; - - b := Llist; - WHILE b # NIL DO - IF ADDRESS(b) > ADDRESS(lastblock) THEN - lastblock := b; - END; - be := b^.BNEXT; - b^.BNEXT := NIL; - b := be; - END; - - (* Now, all free blocks have b^.BNEXT = NIL *) - - b := FirstBlock; - WHILE ADDRESS(b) < ADDRESS(lastblock) DO - LOOP - be := ADDRESS(b)+(b^.BSIZE+1)*UNIT; - IF b^.BNEXT # NIL THEN - (* this block is not free *) - EXIT; - END; - IF ADDRESS(be) > ADDRESS(lastblock) THEN - (* no next block *) - EXIT; - END; - IF be^.BNEXT # NIL THEN - (* next block is not free *) - EXIT; - END; - (* this block and the next one are free, - so merge them, but only if it is not too big - *) - IF MAX(CARDINAL) - b^.BSIZE > be^.BSIZE THEN - b^.BSIZE := b^.BSIZE + be^.BSIZE + 1; - ELSE - EXIT; - END; - END; - b := be; - END; - - (* clear all free lists *) - FOR i := 1 TO NLISTS DO FreeLists[i] := NIL; END; - Llist := NIL; - - (* collect free blocks in them again *) - b := FirstBlock; - WHILE ADDRESS(b) <= ADDRESS(lastblock) DO - WITH b^ DO - IF BNEXT = NIL THEN - IF BSIZE <= NLISTS THEN - BNEXT := FreeLists[BSIZE]; - FreeLists[BSIZE] := b; - ELSE - BNEXT := Llist; - Llist := b; - END; - b := ADDRESS(b) + (BSIZE+1) * UNIT; - ELSE - b := ADDRESS(b) + - ((BSIZE + (UNIT - 1)) DIV UNIT + 1) * UNIT; - END; - END; - END; - END ReOrganize; - - PROCEDURE InitStorage(); - VAR i: CARDINAL; - brk: ADDRESS; - BEGIN - FOR i := 1 TO NLISTS DO - FreeLists[i] := NIL; - END; - Llist := NIL; - brk := sbrk(0); - brk := sbrk(UNIT - brk MOD UNIT); - FirstBlock := sbrk(0); - Compacted := FALSE; - USED := MAGICW; - END InitStorage; - -BEGIN - InitStorage(); -END Storage. diff --git a/lib/libm2/StrAss.c b/lib/libm2/StrAss.c deleted file mode 100755 index c8c49f713..000000000 --- a/lib/libm2/StrAss.c +++ /dev/null @@ -1,23 +0,0 @@ -/* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*/ - -/* - Module: assign string to character array, with possible 0-byte - extension - Author: Ceriel J.H. Jacobs - Version: $Header$ -*/ -StringAssign(dstsiz, srcsiz, dstaddr, srcaddr) - register char *dstaddr, *srcaddr; -{ - while (srcsiz > 0) { - *dstaddr++ = *srcaddr++; - srcsiz--; - dstsiz--; - } - if (dstsiz > 0) { - *dstaddr = 0; - } -} diff --git a/lib/libm2/Streams.mod b/lib/libm2/Streams.mod deleted file mode 100755 index 451470149..000000000 --- a/lib/libm2/Streams.mod +++ /dev/null @@ -1,443 +0,0 @@ -# -(* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*) - -(*$R-*) -IMPLEMENTATION MODULE Streams; -(* - Module: Stream Input/Output - Author: Ceriel J.H. Jacobs - Version: $Header$ - - Implementation for Unix -*) - - FROM SYSTEM IMPORT BYTE, ADR; - FROM Epilogue IMPORT CallAtEnd; - FROM Storage IMPORT Allocate, Available; - FROM StripUnix IMPORT - open, close, lseek, read, write, creat; - IMPORT StripUnix; - - CONST BUFSIZ = 1024; (* tunable *) - TYPE IOB = RECORD - kind: StreamKind; - mode: StreamMode; - eof: BOOLEAN; - buffering: StreamBuffering; - next : Stream; - fildes: INTEGER; - cnt, maxcnt: INTEGER; - bufferedcnt: INTEGER; - buf: ARRAY[1..BUFSIZ] OF BYTE; - END; - Stream = POINTER TO IOB; - VAR - ibuf, obuf, ebuf: IOB; - head: Stream; - - PROCEDURE getstruct(VAR stream: Stream); - BEGIN - stream := head; - WHILE (stream # NIL) AND (stream^.kind # none) DO - stream := stream^.next; - END; - IF stream = NIL THEN - IF NOT Available(SIZE(IOB)) THEN - RETURN; - END; - Allocate(stream,SIZE(IOB)); - stream^.next := head; - head := stream; - END; - END getstruct; - - PROCEDURE freestruct(stream: Stream); - BEGIN - stream^.kind := none; - END freestruct; - - PROCEDURE OpenStream(VAR stream: Stream; - filename: ARRAY OF CHAR; - kind: StreamKind; - mode: StreamMode; - VAR result: StreamResult); - VAR fd: INTEGER; - i: CARDINAL; - BEGIN - IF kind = none THEN - result := illegaloperation; - RETURN; - END; - getstruct(stream); - IF stream = NIL THEN - result := nomemory; - RETURN; - END; - WITH stream^ DO - FOR i := 0 TO HIGH(filename) DO - buf[i+1] := BYTE(filename[i]); - END; - buf[HIGH(filename)+2] := BYTE(0C); - END; - IF (mode = reading) THEN - fd := open(ADR(stream^.buf), 0); - ELSE - fd := -1; - IF (mode = appending) THEN - fd := open(ADR(stream^.buf), 1); - IF fd >= 0 THEN - IF (lseek(fd, 0D , 2) < 0D) THEN ; END; - END; - END; - IF fd < 0 THEN - fd := creat(ADR(stream^.buf), 666B); - END; - END; - IF fd < 0 THEN - result := openfailed; - freestruct(stream); - stream := NIL; - RETURN; - END; - result := succeeded; - stream^.fildes := fd; - stream^.kind := kind; - stream^.mode := mode; - stream^.buffering := blockbuffered; - stream^.bufferedcnt := BUFSIZ; - stream^.maxcnt := 0; - stream^.eof := FALSE; - IF mode = reading THEN - stream^.cnt := 1; - ELSE - stream^.cnt := 0; - END; - END OpenStream; - - PROCEDURE SetStreamBuffering( stream: Stream; - b: StreamBuffering; - VAR result: StreamResult); - BEGIN - result := succeeded; - IF (stream = NIL) OR (stream^.kind = none) THEN - result := nostream; - RETURN; - END; - IF (stream^.mode = reading) OR - ((b = linebuffered) AND (stream^.kind = binary)) THEN - result := illegaloperation; - RETURN; - END; - FlushStream(stream, result); - IF b = unbuffered THEN - stream^.bufferedcnt := 1; - END; - stream^.buffering := b; - END SetStreamBuffering; - - PROCEDURE FlushStream(stream: Stream; VAR result: StreamResult); - VAR cnt1: INTEGER; - BEGIN - result := succeeded; - IF (stream = NIL) OR (stream^.kind = none) THEN - result := nostream; - RETURN; - END; - WITH stream^ DO - IF mode = reading THEN - result := illegaloperation; - RETURN; - END; - IF (cnt > 0) THEN - cnt1 := cnt; - cnt := 0; - IF write(fildes, ADR(buf), cnt1) < 0 THEN END; - END; - END; - END FlushStream; - - PROCEDURE CloseStream(VAR stream: Stream; VAR result: StreamResult); - BEGIN - IF (stream # NIL) AND (stream^.kind # none) THEN - result := succeeded; - IF stream^.mode # reading THEN - FlushStream(stream, result); - END; - IF close(stream^.fildes) < 0 THEN ; END; - freestruct(stream); - ELSE - result := nostream; - END; - stream := NIL; - END CloseStream; - - PROCEDURE EndOfStream(stream: Stream; VAR result: StreamResult): BOOLEAN; - BEGIN - result := succeeded; - IF (stream = NIL) OR (stream^.kind = none) THEN - result := nostream; - RETURN FALSE; - END; - IF stream^.mode # reading THEN - result := illegaloperation; - RETURN FALSE; - END; - IF stream^.eof THEN RETURN TRUE; END; - RETURN (CHAR(NextByte(stream)) = 0C) AND stream^.eof; - END EndOfStream; - - PROCEDURE FlushLineBuffers(); - VAR s: Stream; - result: StreamResult; - BEGIN - s := head; - WHILE s # NIL DO - IF (s^.kind # none) AND (s^.buffering = linebuffered) THEN - FlushStream(s, result); - END; - s := s^.next; - END; - END FlushLineBuffers; - - PROCEDURE NextByte(stream: Stream): BYTE; - VAR c: BYTE; - BEGIN - WITH stream^ DO - IF cnt <= maxcnt THEN - c := buf[cnt]; - ELSE - IF eof THEN RETURN BYTE(0C); END; - IF stream = InputStream THEN - FlushLineBuffers(); - END; - maxcnt := read(fildes, ADR(buf), bufferedcnt); - cnt := 1; - IF maxcnt <= 0 THEN - eof := TRUE; - c := BYTE(0C); - ELSE - c := buf[1]; - END; - END; - END; - RETURN c; - END NextByte; - - PROCEDURE Read(stream: Stream; VAR ch: CHAR; VAR result: StreamResult); - VAR EoF: BOOLEAN; - BEGIN - ch := 0C; - EoF := EndOfStream(stream, result); - IF result # succeeded THEN RETURN; END; - IF EoF THEN - result := endoffile; - RETURN; - END; - WITH stream^ DO - ch := CHAR(buf[cnt]); - INC(cnt); - END; - END Read; - - PROCEDURE ReadByte(stream: Stream; VAR byte: BYTE; VAR result: StreamResult); - VAR EoF: BOOLEAN; - BEGIN - byte := BYTE(0C); - EoF := EndOfStream(stream, result); - IF result # succeeded THEN RETURN; END; - IF EoF THEN - result := endoffile; - RETURN; - END; - WITH stream^ DO - byte := buf[cnt]; - INC(cnt); - END; - END ReadByte; - - PROCEDURE ReadBytes(stream: Stream; - VAR bytes: ARRAY OF BYTE; - VAR result: StreamResult); - VAR i: CARDINAL; - BEGIN - FOR i := 0 TO HIGH(bytes) DO - ReadByte(stream, bytes[i], result); - END; - END ReadBytes; - - PROCEDURE Write(stream: Stream; ch: CHAR; VAR result: StreamResult); - BEGIN - IF (stream = NIL) OR (stream^.kind = none) THEN - result := nostream; - RETURN; - END; - IF (stream^.kind # text) OR (stream^.mode = reading) THEN - result := illegaloperation; - RETURN; - END; - WITH stream^ DO - INC(cnt); - buf[cnt] := BYTE(ch); - IF (cnt >= bufferedcnt) OR - ((ch = 12C) AND (buffering = linebuffered)) - THEN - FlushStream(stream, result); - END; - END; - END Write; - - PROCEDURE WriteByte(stream: Stream; byte: BYTE; VAR result: StreamResult); - BEGIN - IF (stream = NIL) OR (stream^.kind = none) THEN - result := nostream; - RETURN; - END; - IF (stream^.kind # binary) OR (stream^.mode = reading) THEN - result := illegaloperation; - RETURN; - END; - WITH stream^ DO - INC(cnt); - buf[cnt] := byte; - IF cnt >= bufferedcnt THEN - FlushStream(stream, result); - END; - END; - END WriteByte; - - PROCEDURE WriteBytes(stream: Stream; bytes: ARRAY OF BYTE; VAR result: StreamResult); - VAR i: CARDINAL; - BEGIN - FOR i := 0 TO HIGH(bytes) DO - WriteByte(stream, bytes[i], result); - END; - END WriteBytes; - - PROCEDURE EndIt; - VAR h, h1 : Stream; - result: StreamResult; - BEGIN - h := head; - WHILE h # NIL DO - h1 := h; - CloseStream(h1, result); - h := h^.next; - END; - END EndIt; - - PROCEDURE GetPosition(s: Stream; VAR position: LONGINT; - VAR result: StreamResult); - BEGIN - IF (s = NIL) OR (s^.kind = none) THEN - result := illegaloperation; - RETURN; - END; - IF (s^.mode # reading) THEN FlushStream(s, result); END; - position := lseek(s^.fildes, 0D, 1); - IF position < 0D THEN - result := illegaloperation; - RETURN; - END; - IF s^.mode = reading THEN - position := position + LONG(s^.maxcnt - s^.cnt + 1); - END; - END GetPosition; - - PROCEDURE SetPosition(s: Stream; position: LONGINT; VAR result: StreamResult); - VAR currpos: LONGINT; - BEGIN - currpos := 0D; - IF (s = NIL) OR (s^.kind = none) THEN - result := nostream; - RETURN; - END; - IF (s^.mode # reading) THEN - FlushStream(s, result); - ELSE - s^.maxcnt := 0; - s^.eof := FALSE; - END; - IF s^.mode = appending THEN - currpos := lseek(s^.fildes, 0D, 1); - IF currpos < 0D THEN - result := illegaloperation; - RETURN; - END; - END; - IF position < currpos THEN - result := illegaloperation; - RETURN; - END; - currpos := lseek(s^.fildes, position, 0); - IF currpos < 0D THEN - result := illegaloperation; - RETURN; - END; - result := succeeded; - END SetPosition; - - PROCEDURE isatty(stream: Stream; VAR result: StreamResult): BOOLEAN; - BEGIN - IF (stream = NIL) OR (stream^.kind = none) THEN - result := nostream; - RETURN FALSE; - END; - RETURN StripUnix.isatty(stream^.fildes); - END isatty; - - PROCEDURE InitStreams; - VAR result: StreamResult; - BEGIN - InputStream := ADR(ibuf); - OutputStream := ADR(obuf); - ErrorStream := ADR(ebuf); - WITH ibuf DO - kind := text; - mode := reading; - eof := FALSE; - next := ADR(obuf); - fildes := 0; - maxcnt := 0; - cnt := 1; - bufferedcnt := BUFSIZ; - END; - WITH obuf DO - kind := text; - mode := writing; - eof := TRUE; - next := ADR(ebuf); - fildes := 1; - maxcnt := 0; - cnt := 0; - bufferedcnt := BUFSIZ; - IF isatty(OutputStream, result) THEN - buffering := linebuffered; - ELSE - buffering := blockbuffered; - END; - END; - WITH ebuf DO - kind := text; - mode := writing; - eof := TRUE; - next := NIL; - fildes := 2; - maxcnt := 0; - cnt := 0; - bufferedcnt := BUFSIZ; - IF isatty(ErrorStream, result) THEN - buffering := linebuffered; - ELSE - buffering := blockbuffered; - END; - END; - head := InputStream; - IF CallAtEnd(EndIt) THEN ; END; - END InitStreams; - -BEGIN - InitStreams -END Streams. diff --git a/lib/libm2/Strings.mod b/lib/libm2/Strings.mod deleted file mode 100755 index 8ae31eea5..000000000 --- a/lib/libm2/Strings.mod +++ /dev/null @@ -1,171 +0,0 @@ -(* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*) - -(*$R-*) -IMPLEMENTATION MODULE Strings; -(* - Module: String manipulations - Author: Ceriel J.H. Jacobs - Version: $Header$ -*) - - PROCEDURE Assign(source: ARRAY OF CHAR; VAR dest: ARRAY OF CHAR); - (* Assign string source to dest - *) - VAR i: CARDINAL; - max: CARDINAL; - BEGIN - max := HIGH(source); - IF HIGH(dest) < max THEN max := HIGH(dest); END; - i := 0; - WHILE (i <= max) AND (source[i] # 0C) DO - dest[i] := source[i]; - INC(i); - END; - IF i < HIGH(dest) THEN dest[i] := 0C; END; - END Assign; - - PROCEDURE Insert(substr: ARRAY OF CHAR; VAR str: ARRAY OF CHAR; inx: CARDINAL); - (* Insert the string substr into str, starting at str[inx]. - If inx is equal to or greater than Length(str) then substr is appended - to the end of str. - *) - VAR sublen, length, i: CARDINAL; - BEGIN - sublen := Length(substr); - IF sublen = 0 THEN RETURN; END; - length := Length(str); - IF inx > length THEN inx := length; END; - i := length; - IF i + sublen - 1 > HIGH(str) THEN i := HIGH(str); END; - WHILE i > inx DO - str[i+sublen-1] := str[i-1]; - DEC(i); - END; - FOR i := 0 TO sublen - 1 DO - IF i + inx <= HIGH(str) THEN - str[i + inx] := substr[i]; - ELSE - RETURN; - END; - END; - IF length + sublen <= HIGH(str) THEN - str[length + sublen] := 0C; - END; - END Insert; - - PROCEDURE Delete(VAR str: ARRAY OF CHAR; inx, len: CARDINAL); - (* Delete len characters from str, starting at str[inx]. - If inx >= Length(str) then nothing happens. - If there are not len characters to delete, characters to the end of the - string are deleted. - *) - VAR length: CARDINAL; - BEGIN - IF len = 0 THEN RETURN; END; - length := Length(str); - IF inx >= length THEN RETURN; END; - WHILE inx + len < length DO - str[inx] := str[inx + len]; - INC(inx); - END; - str[inx] := 0C; - END Delete; - - PROCEDURE Pos(substr, str: ARRAY OF CHAR): CARDINAL; - (* Return the index into str of the first occurrence of substr. - Pos returns a value greater than HIGH(str) of no occurrence is found. - *) - VAR i, j, max, subl: CARDINAL; - BEGIN - max := Length(str); - subl := Length(substr); - IF subl > max THEN RETURN HIGH(str) + 1; END; - IF subl = 0 THEN RETURN 0; END; - max := max - subl; - FOR i := 0 TO max DO - j := 0; - WHILE (j <= subl-1) AND (str[i+j] = substr[j]) DO - INC(j); - END; - IF j = subl THEN RETURN i; END; - END; - RETURN HIGH(str) + 1; - END Pos; - - PROCEDURE Copy(str: ARRAY OF CHAR; - inx, len: CARDINAL; - VAR result: ARRAY OF CHAR); - (* Copy at most len characters from str into result, starting at str[inx]. - *) - VAR i: CARDINAL; - BEGIN - IF Length(str) <= inx THEN RETURN END; - i := 0; - LOOP - IF i > HIGH(result) THEN RETURN; END; - IF len = 0 THEN EXIT; END; - IF inx > HIGH(str) THEN EXIT; END; - result[i] := str[inx]; - INC(i); INC(inx); DEC(len); - END; - IF i <= HIGH(result) THEN result[i] := 0C; END; - END Copy; - - PROCEDURE Concat(s1, s2: ARRAY OF CHAR; VAR result: ARRAY OF CHAR); - (* Concatenate two strings. - *) - VAR i, j: CARDINAL; - BEGIN - i := 0; - WHILE (i <= HIGH(s1)) AND (s1[i] # 0C) DO - IF i > HIGH(result) THEN RETURN END; - result[i] := s1[i]; - INC(i); - END; - j := 0; - WHILE (j <= HIGH(s2)) AND (s2[j] # 0C) DO - IF i > HIGH(result) THEN RETURN END; - result[i] := s2[j]; - INC(i); - INC(j); - END; - IF i <= HIGH(result) THEN result[i] := 0C; END; - END Concat; - - PROCEDURE Length(str: ARRAY OF CHAR): CARDINAL; - (* Return number of characters in str. - *) - VAR i: CARDINAL; - BEGIN - i := 0; - WHILE (i <= HIGH(str)) DO - IF str[i] = 0C THEN RETURN i; END; - INC(i); - END; - RETURN i; - END Length; - - PROCEDURE CompareStr(s1, s2: ARRAY OF CHAR): INTEGER; - (* Compare two strings, return -1 if s1 < s2, 0 if s1 = s2, and 1 if s1 > s2. - *) - VAR i: CARDINAL; - max: CARDINAL; - BEGIN - max := HIGH(s1); - IF HIGH(s2) < max THEN max := HIGH(s2); END; - i := 0; - WHILE (i <= max) DO - IF s1[i] < s2[i] THEN RETURN -1; END; - IF s1[i] > s2[i] THEN RETURN 1; END; - IF s1[i] = 0C THEN RETURN 0; END; - INC(i); - END; - IF (i <= HIGH(s1)) AND (s1[i] # 0C) THEN RETURN 1; END; - IF (i <= HIGH(s2)) AND (s2[i] # 0C) THEN RETURN -1; END; - RETURN 0; - END CompareStr; - -END Strings. diff --git a/lib/libm2/Termcap.mod b/lib/libm2/Termcap.mod deleted file mode 100755 index 1098f7884..000000000 --- a/lib/libm2/Termcap.mod +++ /dev/null @@ -1,99 +0,0 @@ -(* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*) - -(* - Module: Interface to termcap database - From: Unix manual chapter 3 - Version: $Header$ -*) - -(*$R-*) -IMPLEMENTATION MODULE Termcap; - - IMPORT XXTermcap; - FROM SYSTEM IMPORT ADR, ADDRESS; - FROM Unix IMPORT isatty; - FROM Arguments IMPORT - GetEnv; - - TYPE STR = ARRAY[1..32] OF CHAR; - STRCAP = POINTER TO STR; - - VAR Buf, Buf1 : ARRAY [1..1024] OF CHAR; - BufCnt : INTEGER; - - PROCEDURE Tgetent(name: ARRAY OF CHAR) : INTEGER; - VAR i: INTEGER; - x: STRCAP; - BEGIN - i := XXTermcap.tgetent(ADR(Buf), ADR(name)); - BufCnt := 1; - IF isatty(1) THEN - ELSE - (* This used to be something returned by gtty(). To increase - * portability we forget about old terminals needing delays. - * (kjb) - *) - XXTermcap.ospeed := 0; - END; - IF i > 0 THEN - IF Tgetstr("pc", x) THEN - XXTermcap.PC := x^[1]; - ELSE XXTermcap.PC := 0C; - END; - IF Tgetstr("up", x) THEN ; END; XXTermcap.UP := x; - IF Tgetstr("bc", x) THEN ; END; XXTermcap.BC := x; - END; - RETURN i; - END Tgetent; - - PROCEDURE Tgetnum(id: ARRAY OF CHAR): INTEGER; - BEGIN - RETURN XXTermcap.tgetnum(ADR(id)); - END Tgetnum; - - PROCEDURE Tgetflag(id: ARRAY OF CHAR): BOOLEAN; - BEGIN - RETURN XXTermcap.tgetflag(ADR(id)) = 1; - END Tgetflag; - - PROCEDURE Tgoto(cm: STRCAP; col, line: INTEGER): STRCAP; - BEGIN - RETURN XXTermcap.tgoto(cm, col, line); - END Tgoto; - - PROCEDURE Tgetstr(id: ARRAY OF CHAR; VAR res: STRCAP) : BOOLEAN; - VAR a, a2: ADDRESS; - b: CARDINAL; - BEGIN - a := ADR(Buf1[BufCnt]); - a2 := XXTermcap.tgetstr(ADR(id), ADR(a)); - res := a2; - IF a2 = NIL THEN - RETURN FALSE; - END; - b := a - a2; - INC(BufCnt, b); - RETURN TRUE; - END Tgetstr; - - PROCEDURE Tputs(cp: STRCAP; affcnt: INTEGER; p: PUTPROC); - BEGIN - XXTermcap.tputs(cp, affcnt, XXTermcap.PUTPROC(p)); - END Tputs; - - PROCEDURE InitTermcap; - VAR Bf: STR; - BEGIN - IF GetEnv("TERM", Bf) = 0 THEN - Bf := "dumb"; - END; - IF Tgetent(Bf) <= 0 THEN - END; - END InitTermcap; - -BEGIN - InitTermcap; -END Termcap. diff --git a/lib/libm2/Terminal.mod b/lib/libm2/Terminal.mod deleted file mode 100755 index 7a6c0a66f..000000000 --- a/lib/libm2/Terminal.mod +++ /dev/null @@ -1,114 +0,0 @@ -# -(* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*) - -(*$R-*) -IMPLEMENTATION MODULE Terminal; -(* - Module: Input/Output to/from terminals - Author: Ceriel J.H. Jacobs - Version: $Header$ - - Implementation for Unix. -*) - FROM SYSTEM IMPORT ADR; -#ifdef __USG - FROM Unix IMPORT read, write, open, fcntl; -#else - FROM Unix IMPORT read, write, open, ioctl; -#endif - VAR fildes: INTEGER; - unreadch: CHAR; - unread: BOOLEAN; - tty: ARRAY[0..8] OF CHAR; - - PROCEDURE Read(VAR ch: CHAR); - BEGIN - IF unread THEN - ch := unreadch; - unread := FALSE - ELSE - IF read(fildes, ADR(ch), 1) < 0 THEN - ; - END; - END; - unreadch := ch; - END Read; - - PROCEDURE BusyRead(VAR ch: CHAR); - VAR l: INTEGER; - BEGIN - IF unread THEN - ch := unreadch; - unread := FALSE - ELSE -#ifdef __USG - l := fcntl(fildes, (*FGETFL*) 3, 0); - IF fcntl(fildes, - (* FSETFL *) 4, - l + (*ONDELAY*) 2) < 0 THEN - ; - END; - IF read(fildes, ADR(ch), 1) = 0 THEN - ch := 0C; - ELSE - unreadch := ch; - END; - IF fcntl(fildes, (*FSETFL*)4, l) < 0 THEN - ; - END; -#else -#ifdef __BSD4_2 - IF ioctl(fildes, INTEGER(ORD('f')*256+127+4*65536+40000000H), ADR(l)) < 0 THEN -#else - IF ioctl(fildes, INTEGER(ORD('f')*256+127), ADR(l)) < 0 THEN -#endif - ; - END; - - IF l = 0 THEN - ch := 0C; - ELSE - IF read(fildes, ADR(ch), 1) < 0 THEN - ; - END; - unreadch := ch; - END; -#endif - END; - END BusyRead; - - PROCEDURE ReadAgain; - BEGIN - unread := TRUE; - END ReadAgain; - - PROCEDURE Write(ch: CHAR); - BEGIN - IF write(fildes, ADR(ch), 1) < 0 THEN - ; - END; - END Write; - - PROCEDURE WriteLn; - BEGIN - Write(12C); - END WriteLn; - - PROCEDURE WriteString(s: ARRAY OF CHAR); - VAR i: CARDINAL; - BEGIN - i := 0; - WHILE (i <= HIGH(s)) & (s[i] # 0C) DO - Write(s[i]); - INC(i) - END - END WriteString; - -BEGIN - tty := "/dev/tty"; - fildes := open(ADR(tty), 2); - unread := FALSE; -END Terminal. diff --git a/lib/libm2/Traps.mod b/lib/libm2/Traps.mod deleted file mode 100755 index 913ee4a8d..000000000 --- a/lib/libm2/Traps.mod +++ /dev/null @@ -1,96 +0,0 @@ -(* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*) - -(*$R-*) -IMPLEMENTATION MODULE Traps; -(* - Module: Facility for handling traps - Author: Ceriel J.H. Jacobs - Version: $Header$ -*) - - FROM EM IMPORT SIG, LINO, FILN, TRP; - FROM Unix IMPORT write; - FROM SYSTEM IMPORT ADDRESS, ADR; - FROM Arguments IMPORT - Argv; - - PROCEDURE InstallTrapHandler(t: TrapHandler): TrapHandler; - (* Install a new trap handler, and return the previous one. - Parameter of trap handler is the trap number. - *) - BEGIN - RETURN SIG(t); - END InstallTrapHandler; - - PROCEDURE Message(str: ARRAY OF CHAR); - (* Write message "str" on standard error, preceeded by filename and - linenumber if possible - *) - VAR p: POINTER TO CHAR; - l: CARDINAL; - lino: INTEGER; - buf, buf2: ARRAY [0..255] OF CHAR; - i, j: CARDINAL; - BEGIN - p := FILN(); - IF p # NIL THEN - i := 1; - buf[0] := '"'; - WHILE p^ # 0C DO - buf[i] := p^; - INC(i); - p := ADDRESS(p) + 1; - END; - buf[i] := '"'; - INC(i); - IF write(2, ADR(buf), i) < 0 THEN END; - ELSE - l := Argv(0, buf); - IF write(2, ADR(buf), l-1) < 0 THEN END; - END; - lino := LINO(); - i := 0; - IF lino # 0 THEN - i := 7; - buf[0] := ','; buf[1] := ' '; - buf[2] := 'l'; buf[3] := 'i'; buf[4] := 'n'; buf[5] := 'e'; - buf[6] := ' '; - IF lino < 0 THEN - buf[7] := '-'; - i := 8; - lino := - lino; - END; - j := 0; - REPEAT - buf2[j] := CHR(CARDINAL(lino) MOD 10 + ORD('0')); - lino := lino DIV 10; - INC(j); - UNTIL lino = 0; - WHILE j > 0 DO - DEC(j); - buf[i] := buf2[j]; - INC(i); - END; - END; - buf[i] := ':'; - buf[i+1] := ' '; - IF write(2, ADR(buf), i+2) < 0 THEN END; - i := 0; - WHILE (i <= HIGH(str)) AND (str[i] # 0C) DO - INC(i); - END; - IF write(2, ADR(str), i) < 0 THEN END; - buf[0] := 12C; - IF write(2, ADR(buf), 1) < 0 THEN END; - END Message; - - PROCEDURE Trap(n: INTEGER); - (* cause trap number "n" to occur *) - BEGIN - TRP(n); - END Trap; - -END Traps. diff --git a/lib/libm2/XXTermcap.c b/lib/libm2/XXTermcap.c deleted file mode 100755 index 56a4f9c77..000000000 --- a/lib/libm2/XXTermcap.c +++ /dev/null @@ -1,573 +0,0 @@ -/* - * termcap.c 1.1 20/7/87 agc Joypace Ltd - * - * Copyright Joypace Ltd, London, UK, 1987. All rights reserved. - * This file may be freely distributed provided that this notice - * remains attached. - * - * A public domain implementation of the termcap(3) routines. - * - * Made fully functional by Ceriel J.H. Jacobs. - * - * BUGS: - * - does not check termcap entry sizes - * - not fully tested - */ - -#define CAPABLEN 2 - -#define ISSPACE(c) ((c) == ' ' || (c) == '\t' || (c) == '\r' || (c) == '\n') -#define ISDIGIT(x) ((x) >= '0' && (x) <= '9') - -short ospeed = 0; /* output speed */ -char PC = 0; /* padding character */ -char *BC = 0; /* back cursor movement */ -char *UP = 0; /* up cursor movement */ - -static char *capab = 0; /* the capability itself */ -static int check_for_tc(); -static int match_name(); - -#define NULL 0 - -/* Some things from C-library, needed here because the C-library is not - loaded with Modula-2 programs -*/ - -static char * -strcat(s1, s2) -register char *s1, *s2; -{ - /* Append s2 to the end of s1. */ - - char *original = s1; - - /* Find the end of s1. */ - while (*s1 != 0) s1++; - - /* Now copy s2 to the end of s1. */ - while (*s1++ = *s2++) /* nothing */ ; - return(original); -} - -static char * -strcpy(s1, s2) -register char *s1, *s2; -{ -/* Copy s2 to s1. */ - char *original = s1; - - while (*s1++ = *s2++) /* nothing */; - return(original); -} - -static int -strlen(s) -char *s; -{ -/* Return length of s. */ - - char *original = s; - - while (*s != 0) s++; - return(s - original); -} - -static int -strcmp(s1, s2) -register char *s1, *s2; -{ -/* Compare 2 strings. */ - - for(;;) { - if (*s1 != *s2) { - if (!*s1) return -1; - if (!*s2) return 1; - return(*s1 - *s2); - } - if (*s1++ == 0) return(0); - s2++; - } -} - -static int -strncmp(s1, s2, n) - register char *s1, *s2; - int n; -{ -/* Compare two strings, but at most n characters. */ - - while (n-- > 0) { - if (*s1 != *s2) { - if (!*s1) return -1; - if (!*s2) return 1; - return(*s1 - *s2); - } - if (*s1++ == 0) break; - s2++; - } - return 0; -} - -static char * -getenv(name) -register char *name; -{ - extern char ***_penviron; - register char **v = *_penviron, *p, *q; - - if (v == 0 || name == 0) return 0; - while ((p = *v++) != 0) { - q = name; - while (*q && *q++ == *p++) /* nothing */ ; - if (*q || *p != '=') continue; - return(p+1); - } - return(0); -} - -static char * -fgets(buf, count, fd) - char *buf; -{ - static char bf[1024]; - static int cnt = 0; - static char *pbf = &bf[0]; - register char *c = buf; - - - while (--count) { - if (pbf >= &bf[cnt]) { - if ((cnt = read(fd, bf, 1024)) <= 0) { - if (c == buf) return (char *) NULL; - *c = 0; - return buf; - } - pbf = &bf[0]; - } - *c = *pbf++; - if (*c++ == '\n') { - *c = 0; - return buf; - } - } - *c = 0; - return buf; -} - -/* - * tgetent - get the termcap entry for terminal name, and put it - * in bp (which must be an array of 1024 chars). Returns 1 if - * termcap entry found, 0 if not found, and -1 if file not found. - */ -int -tgetent(bp, name) -char *bp; -char *name; -{ - int fp; - char *file; - char *cp; - short len = strlen(name); - char buf[1024]; - - capab = bp; - if ((file = getenv("TERMCAP")) != (char *) NULL) { - if (*file != '/' && - (cp = getenv("TERM")) != NULL && strcmp(name, cp) == 0) { - (void) strcpy(bp, file); - return(1); - } - else file = "/etc/termcap"; - } else - file = "/etc/termcap"; - if ((fp = open(file, 0)) < 0) { - capab = 0; - return(-1); - } - while (fgets(buf, 1024, fp) != NULL) { - if (buf[0] == '#') continue; - while (*(cp = &buf[strlen(buf) - 2]) == '\\') - if (fgets(cp, 1024, fp) == NULL) - return (0); - if (match_name(buf, name)) { - strcpy(bp, buf); - close(fp); - if(check_for_tc() == 0) { - capab = 0; - return 0; - } - return 1; - } - } - capab = 0; - close(fp); - return(0); -} - -/* - * Compare the terminal name with each termcap entry name; Return 1 if a - * match is found. - */ -static int -match_name(buf, name) - char *buf; - char *name; -{ - register char *tp = buf; - register char *np; - - for (;;) { - for (np = name; *np && *tp == *np; np++, tp++) { } - if (*np == 0 && (*tp == '|' || *tp == ':' || *tp == 0)) - return(1); - while (*tp != 0 && *tp != '|' && *tp != ':') tp++; - if (*tp++ != '|') return (0); - } -} - -/* - * Handle tc= definitions recursively. - */ -static int -check_for_tc() -{ - static int count = 0; - char *savcapab = capab; - char buf[1024]; - char terminalname[128]; - register char *p = capab + strlen(capab) - 2, *q; - - while (*p != ':') - if (--p < capab) - return(0); /* no : in termcap entry */ - if (p[1] != 't' || p[2] != 'c') - return(1); - if (count > 16) { - return(0); /* recursion in tc= definitions */ - } - count++; - strcpy(terminalname, &p[4]); - q = terminalname; - while (*q && *q != ':') q++; - *q = 0; - if (tgetent(buf, terminalname) != 1) { - --count; - return(0); - } - --count; - for (q = buf; *q && *q != ':'; q++) { } - strcpy(p, q); - capab = savcapab; - return(1); -} - -/* - * tgetnum - get the numeric terminal capability corresponding - * to id. Returns the value, -1 if invalid. - */ -int -tgetnum(id) -char *id; -{ - char *cp; - int ret; - - if ((cp = capab) == NULL || id == NULL || *cp == 0) - return(-1); - while (*++cp && *cp != ':') - ; - while (*cp) { - cp++; - while (ISSPACE(*cp)) - cp++; - if (strncmp(cp, id, CAPABLEN) == 0) { - while (*cp && *cp != ':' && *cp != '#') - cp++; - if (*cp != '#') - return(-1); - for (ret = 0, cp++ ; *cp && ISDIGIT(*cp) ; cp++) - ret = ret * 10 + *cp - '0'; - return(ret); - } - while (*cp && *cp != ':') - cp++; - } - return(-1); -} - -/* - * tgetflag - get the boolean flag corresponding to id. Returns -1 - * if invalid, 0 if the flag is not in termcap entry, or 1 if it is - * present. - */ -int -tgetflag(id) -char *id; -{ - char *cp; - - if ((cp = capab) == NULL || id == NULL || *cp == 0) - return(-1); - while (*++cp && *cp != ':') - ; - while (*cp) { - cp++; - while (ISSPACE(*cp)) - cp++; - if (strncmp(cp, id, CAPABLEN) == 0) - return(1); - while (*cp && *cp != ':') - cp++; - } - return(0); -} - -/* - * tgetstr - get the string capability corresponding to id and place - * it in area (advancing area at same time). Expand escape sequences - * etc. Returns the string, or NULL if it can't do it. - */ -char * -tgetstr(id, area) -char *id; -char **area; -{ - char *cp; - char *ret; - int i; - - if ((cp = capab) == NULL || id == NULL || *cp == 0) - return(NULL); - while (*++cp != ':') - ; - while (*cp) { - cp++; - while (ISSPACE(*cp)) - cp++; - if (strncmp(cp, id, CAPABLEN) == 0) { - while (*cp && *cp != ':' && *cp != '=') - cp++; - if (*cp != '=') - return(NULL); - for (ret = *area, cp++; *cp && *cp != ':' ; (*area)++, cp++) - switch(*cp) { - case '^' : - **area = *++cp - 'A' + 1; - break; - case '\\' : - switch(*++cp) { - case 'E' : - **area = '\033'; - break; - case 'n' : - **area = '\n'; - break; - case 'r' : - **area = '\r'; - break; - case 't' : - **area = '\t'; - break; - case 'b' : - **area = '\b'; - break; - case 'f' : - **area = '\f'; - break; - case '0' : - case '1' : - case '2' : - case '3' : - for (i=0 ; *cp && ISDIGIT(*cp) ; cp++) - i = i * 8 + *cp - '0'; - **area = i; - cp--; - break; - case '^' : - case '\\' : - **area = *cp; - break; - } - break; - default : - **area = *cp; - } - *(*area)++ = '\0'; - return(ret); - } - while (*cp && *cp != ':') - cp++; - } - return(NULL); -} - -/* - * tgoto - given the cursor motion string cm, make up the string - * for the cursor to go to (destcol, destline), and return the string. - * Returns "OOPS" if something's gone wrong, or the string otherwise. - */ -char * -tgoto(cm, destcol, destline) -char *cm; -int destcol; -int destline; -{ - register char *rp; - static char ret[32]; - char added[16]; - int *dp = &destline; - int numval; - int swapped = 0; - - added[0] = 0; - for (rp = ret ; *cm ; cm++) { - if (*cm == '%') { - switch(*++cm) { - case '>' : - if (dp == NULL) - return("OOPS"); - cm++; - if (*dp > *cm++) { - *dp += *cm; - } - break; - case '+' : - case '.' : - if (dp == NULL) - return("OOPS"); - if (*cm == '+') *dp = *dp + *++cm; - for (;;) { - switch(*dp) { - case 0: - case 04: - case '\t': - case '\n': - /* filter these out */ - if (dp == &destcol || swapped || UP) { - strcat(added, dp == &destcol || swapped ? - (BC ? BC : "\b") : - UP); - (*dp)++; - continue; - } - } - break; - } - *rp++ = *dp; - dp = (dp == &destline) ? &destcol : NULL; - break; - - case 'r' : { - int tmp = destline; - - destline = destcol; - destcol = tmp; - swapped = 1 - swapped; - break; - } - case 'n' : - destcol ^= 0140; - destline ^= 0140; - break; - - case '%' : - *rp++ = '%'; - break; - - case 'i' : - destcol++; - destline++; - break; - - case 'B' : - if (dp == NULL) - return("OOPS"); - *dp = 16 * (*dp / 10) + *dp % 10; - break; - - case 'D' : - if (dp == NULL) - return("OOPS"); - *dp = *dp - 2 * (*dp % 16); - break; - - case 'd' : - case '2' : - case '3' : - if (dp == NULL) - return("OOPS"); - numval = *dp; - dp = (dp == &destline) ? &destcol : NULL; - if (numval >= 100) { - *rp++ = '0' + numval / 100; - } - else if (*cm == '3') { - *rp++ = ' '; - } - if (numval >= 10) { - *rp++ = '0' + ((numval%100)/10); - } - else if (*cm == '3' || *cm == '2') { - *rp++ = ' '; - } - *rp++ = '0' + (numval%10); - break; - default : - return("OOPS"); - } - } - else *rp++ = *cm; - } - *rp = '\0'; - strcpy(rp, added); - return(ret); -} - -static int tens_of_ms_p_char[] = { /* index as returned by gtty */ - /* assume 10 bits per char */ - 0, 2000, 1333, 909, 743, 666, 500, 333, 166, 83, 55, 41, 20, 10, 5, 2 -}; -/* - * tputs - put the string cp out onto the terminal, using the function - * outc. Also handle padding. - */ -int -tputs(cp, affcnt, outc) -register char *cp; -int affcnt; -int (*outc)(); -{ - int delay = 0; - if (cp == NULL) - return(1); - while (ISDIGIT(*cp)) { - delay = delay * 10 + (*cp++ - '0'); - } - delay *= 10; - if (*cp == '.') { - cp++; - if (ISDIGIT(*cp)) { - delay += *cp++ - '0'; - } - while (ISDIGIT(*cp)) cp++; - } - if (*cp == '*') { - delay *= affcnt; - cp++; - } - while (*cp) - (*outc)(*cp++); - if (delay != 0 && - ospeed > 0 && - ospeed < (sizeof tens_of_ms_p_char / sizeof tens_of_ms_p_char[0])) { - delay = (delay + tens_of_ms_p_char[ospeed] - 1) / - tens_of_ms_p_char[ospeed]; - while (delay--) (*outc)(PC); - } - return(1); -} - -/* - * That's all, folks... - */ diff --git a/lib/libm2/absd.c b/lib/libm2/absd.c deleted file mode 100755 index 07aa4d242..000000000 --- a/lib/libm2/absd.c +++ /dev/null @@ -1,18 +0,0 @@ -/* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*/ - -/* - Module: double abs function - Author: Ceriel J.H. Jacobs - Version: $Header$ -*/ -#ifndef NOFLOAT -double -absd(i) - double i; -{ - return i >= 0 ? i : -i; -} -#endif diff --git a/lib/libm2/absf.e b/lib/libm2/absf.e deleted file mode 100755 index c8a9b880a..000000000 --- a/lib/libm2/absf.e +++ /dev/null @@ -1,30 +0,0 @@ -# -; -; (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. -; See the copyright notice in the ACK home directory, in the file "Copyright". -; -; -; Module: REAL abs function -; Author: Ceriel J.H. Jacobs -; Version: $Header$ -; - mes 2,_EM_WSIZE,_EM_PSIZE - exp $absf - pro $absf,0 - mes 5 - mes 9,8 - lal 0 - loi _EM_FSIZE - zrf _EM_FSIZE - cmf _EM_FSIZE - zlt *3 - lal 0 - loi _EM_FSIZE - bra *4 -3 - lal 0 - loi _EM_FSIZE - ngf _EM_FSIZE -4 - ret _EM_FSIZE - end 0 diff --git a/lib/libm2/absi.c b/lib/libm2/absi.c deleted file mode 100755 index 6306dbfb9..000000000 --- a/lib/libm2/absi.c +++ /dev/null @@ -1,15 +0,0 @@ -/* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*/ - -/* - Module: integer abs function - Author: Ceriel J.H. Jacobs - Version: $Header$ -*/ - -absi(i) -{ - return i >= 0 ? i : -i; -} diff --git a/lib/libm2/absl.c b/lib/libm2/absl.c deleted file mode 100755 index 27f5ddb0d..000000000 --- a/lib/libm2/absl.c +++ /dev/null @@ -1,16 +0,0 @@ -/* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*/ - -/* - Module: longint abs function - Author: Ceriel J.H. Jacobs - Version: $Header$ -*/ -long -absl(i) - long i; -{ - return i >= 0 ? i : -i; -} diff --git a/lib/libm2/blockmove.c b/lib/libm2/blockmove.c deleted file mode 100755 index 18f2d3b5c..000000000 --- a/lib/libm2/blockmove.c +++ /dev/null @@ -1,23 +0,0 @@ -/* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*/ - -/* - Module: block moves - Author: Ceriel J.H. Jacobs - Version: $Header$ -*/ - -#if _EM_WSIZE==_EM_PSIZE -typedef unsigned pcnt; -#else -typedef unsigned long pcnt; -#endif - -blockmove(siz, dst, src) - pcnt siz; - register char *dst, *src; -{ - while (siz--) *dst++ = *src++; -} diff --git a/lib/libm2/cap.c b/lib/libm2/cap.c deleted file mode 100755 index 28f03b5e3..000000000 --- a/lib/libm2/cap.c +++ /dev/null @@ -1,18 +0,0 @@ -/* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*/ - -/* - Module: cap; implementation of CAP - Author: Ceriel J.H. Jacobs - Version: $Header$ -*/ - -cap(u) - unsigned u; -{ - register unsigned *p = &u; - - if (*p >= 'a' && *p <= 'z') *p += 'A'-'a'; -} diff --git a/lib/libm2/catch.c b/lib/libm2/catch.c deleted file mode 100755 index 378bac1cc..000000000 --- a/lib/libm2/catch.c +++ /dev/null @@ -1,99 +0,0 @@ -/* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*/ - -/* - Module: default modula-2 trap handler - Author: Ceriel J.H. Jacobs - Version: $Header$ -*/ -#include -#include -#include - -static struct errm { - int errno; - char *errmes; -} errors[] = { - { EARRAY, "array bound error"}, - { ERANGE, "range bound error"}, - { ESET, "set bound error"}, - { EIOVFL, "integer overflow"}, - { EFOVFL, "real overflow"}, - { EFUNFL, "real underflow"}, - { EIDIVZ, "divide by 0"}, - { EFDIVZ, "divide by 0.0"}, - { EIUND, "undefined integer"}, - { EFUND, "undefined real"}, - { ECONV, "conversion error"}, - - { ESTACK, "stack overflow"}, - { EHEAP, "heap overflow"}, - { EILLINS, "illegal instruction"}, - { EODDZ, "illegal size argument"}, - { ECASE, "case error"}, - { EMEMFLT, "addressing non existent memory"}, - { EBADPTR, "bad pointer used"}, - { EBADPC, "program counter out of range"}, - { EBADLAE, "bad argument of lae"}, - { EBADMON, "bad monitor call"}, - { EBADLIN, "argument if LIN too high"}, - { EBADGTO, "GTO descriptor error"}, - - { M2_TOOLARGE, "stack size of process too large"}, - { M2_TOOMANY, "too many nested traps + handlers"}, - { M2_NORESULT, "no RETURN from function procedure"}, - { M2_UOVFL, "cardinal overflow"}, - { M2_FORCH, "(warning) FOR-loop control variable was changed in the body"}, - { M2_UUVFL, "cardinal underflow"}, - { M2_INTERNAL, "internal error; ask an expert for help"}, - { M2_UNIXSIG, "got a unix signal"}, - { -1, 0} -}; - -catch(trapno) - int trapno; -{ - register struct errm *ep = &errors[0]; - char *errmessage; - char buf[20]; - register char *p, *s; - - while (ep->errno != trapno && ep->errmes != 0) ep++; - if (p = ep->errmes) { - while (*p) p++; - _Traps__Message(ep->errmes, 0, (int) (p - ep->errmes), 1); - } - else { - int i = trapno; - static char q[] = "error number xxxxxxxxxxxxx"; - - p = &q[13]; - s = buf; - if (i < 0) { - i = -i; - *p++ = '-'; - } - do - *s++ = i % 10 + '0'; - while (i /= 10); - while (s > buf) *p++ = *--s; - *p = 0; - _Traps__Message(q, 0, (int) (p - q), 1); - } -#if !defined(__em24) && !defined(__em44) && !defined(__em22) - if (trapno == M2_UNIXSIG) { - extern int __signo; - signal(__signo, SIG_DFL); - _cleanup(); - kill(getpid(), __signo); - _exit(trapno); - } -#endif - if (trapno != M2_FORCH) { - _cleanup(); - _exit(trapno); - } - SIG(catch); -} diff --git a/lib/libm2/confarray.c b/lib/libm2/confarray.c deleted file mode 100755 index d282a270c..000000000 --- a/lib/libm2/confarray.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*/ - -/* - Module: runtime support for conformant arrays - Author: Ceriel J.H. Jacobs - Version: $Header$ -*/ -#include - -#ifndef EM_WSIZE -#define EM_WSIZE _EM_WSIZE -#define EM_PSIZE _EM_PSIZE -#endif - -#if EM_WSIZE==EM_PSIZE -typedef unsigned pcnt; -#else -typedef unsigned long pcnt; -#endif - -struct descr { - char *addr; - int low; - unsigned int highminlow; - unsigned int size; -}; - -static struct descr *descrs[10]; -static struct descr **ppdescr = descrs; - -pcnt -new_stackptr(pdscr, a) - struct descr *pdscr; -{ - register struct descr *pdescr = pdscr; - pcnt size = (((pdescr->highminlow + 1) * pdescr->size + - (EM_WSIZE - 1)) & ~(EM_WSIZE - 1)); - - if (ppdescr >= &descrs[10]) { - /* to many nested traps + handlers ! */ - TRP(M2_TOOMANY); - } - *ppdescr++ = pdescr; - if ((char *) &a - (char *) &pdscr > 0) { - /* stack grows downwards */ - return - size; - } - return size; -} - -copy_array(pp, a) - char *pp; -{ - register char *p = pp; - register char *q; - register pcnt sz; - char dummy; - - ppdescr--; - sz = ((*ppdescr)->highminlow + 1) * (*ppdescr)->size; - - if ((char *) &a - (char *) &pp > 0) { - (*ppdescr)->addr = q = (char *) &a; - } - else (*ppdescr)->addr = q = (char *) &a - - ((sz + (EM_WSIZE - 1)) & ~ (EM_WSIZE - 1)); - - while (sz--) *q++ = *p++; -} diff --git a/lib/libm2/dvi.c b/lib/libm2/dvi.c deleted file mode 100755 index d72076def..000000000 --- a/lib/libm2/dvi.c +++ /dev/null @@ -1,68 +0,0 @@ -/* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*/ - -/* - Module: implementation of DIV and MOD - Author: Ceriel J.H. Jacobs - Version: $Header$ - Reason: We cannot use DVI and RMI, because DVI rounds towards 0 - and Modula-2 requires truncation -*/ - -#include - -int -dvi(j,i) - int j,i; -{ - if (j == 0) TRP(EIDIVZ); - if ((i < 0) != (j < 0)) { - if (i < 0) i = -i; - else j = -j; - return -((i+j-1)/j); - } - else return i/j; -} - -long -dvil(j,i) - long j,i; -{ - if (j == 0) TRP(EIDIVZ); - if ((i < 0) != (j < 0)) { - if (i < 0) i = -i; - else j = -j; - return -((i+j-1)/j); - } - else return i/j; -} - -int -rmi(j,i) - int j,i; -{ - if (j == 0) TRP(EIDIVZ); - if (i == 0) return 0; - if ((i < 0) != (j < 0)) { - if (i < 0) i = -i; - else j = -j; - return j*((i+j-1)/j)-i; - } - else return i%j; -} - -long -rmil(j,i) - long j,i; -{ - if (j == 0) TRP(EIDIVZ); - if (i == 0) return 0L; - if ((i < 0) != (j < 0)) { - if (i < 0) i = -i; - else j = -j; - return j*((i+j-1)/j)-i; - } - else return i%j; -} diff --git a/lib/libm2/halt.c b/lib/libm2/halt.c deleted file mode 100755 index 0c257d0db..000000000 --- a/lib/libm2/halt.c +++ /dev/null @@ -1,37 +0,0 @@ -/* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*/ - -/* - Module: program termination routines - Author: Ceriel J.H. Jacobs - Version: $Header$ -*/ -#define MAXPROCS 32 - -static int callindex = 0; -static int (*proclist[MAXPROCS])(); - -_cleanup() -{ - while (--callindex >= 0) - (*proclist[callindex])(); - callindex = 0; -} - -CallAtEnd(p) - int (*p)(); -{ - if (callindex >= MAXPROCS) { - return 0; - } - proclist[callindex++] = p; - return 1; -} - -halt() -{ - _cleanup(); - _exit(0); -} diff --git a/lib/libm2/head_m2.e b/lib/libm2/head_m2.e deleted file mode 100755 index 6de740921..000000000 --- a/lib/libm2/head_m2.e +++ /dev/null @@ -1,63 +0,0 @@ -# -; -; (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. -; See the copyright notice in the ACK home directory, in the file "Copyright". -; -; -; Module: Modula-2 runtime startoff -; Author: Ceriel J.H. Jacobs -; Version: $Header$ -; - - mes 2,_EM_WSIZE,_EM_PSIZE - - exa handler - exa argv - exa argc - exa MainLB - exa bkillbss - exp $catch - exp $init - inp $trap_handler - -bkillbss - bss _EM_PSIZE,0,0 - - exp $_m_a_i_n - pro $_m_a_i_n, 0 - - lor 0 - lae MainLB - sti _EM_PSIZE - - lal _EM_WSIZE - loi _EM_PSIZE - lae argv ; save argument pointer - sti _EM_PSIZE - - lol 0 - ste argc ; save argument count - - lpi $trap_handler - sig - asp _EM_PSIZE - cal $init - cal $__M2M_ - cal $halt - loc 0 ; should not get here - ret _EM_WSIZE - end - - pro $trap_handler,0 - lpi $trap_handler - sig - lol 0 ; trap number - lae handler - loi _EM_PSIZE - lpi $catch - lae handler - sti _EM_PSIZE - cai - asp _EM_PSIZE+_EM_WSIZE - rtt - end 0 diff --git a/lib/libm2/init.c b/lib/libm2/init.c deleted file mode 100755 index 29a0f3d1b..000000000 --- a/lib/libm2/init.c +++ /dev/null @@ -1,47 +0,0 @@ -/* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*/ - -/* - Module: initialization and some global vars - Author: Ceriel J.H. Jacobs - Version: $Header$ -*/ - -#include -#include -#include - -/* map unix signals onto EM traps */ -init() -{ - sigtrp(M2_UNIXSIG, SIGHUP); - sigtrp(M2_UNIXSIG, SIGINT); - sigtrp(M2_UNIXSIG, SIGQUIT); - sigtrp(EILLINS, SIGILL); - sigtrp(M2_UNIXSIG, SIGTRAP); - sigtrp(M2_UNIXSIG, SIGIOT); - sigtrp(M2_UNIXSIG, SIGEMT); - sigtrp(M2_UNIXSIG, SIGFPE); - sigtrp(M2_UNIXSIG, SIGBUS); - sigtrp(M2_UNIXSIG, SIGSEGV); -#ifdef SIGSYS - sigtrp(EBADMON, SIGSYS); -#endif - sigtrp(M2_UNIXSIG, SIGPIPE); - sigtrp(M2_UNIXSIG, SIGALRM); - sigtrp(M2_UNIXSIG, SIGTERM); -} - -killbss() -{ - /* Fill bss with junk? Make lots of VM pages dirty? No way! */ -} - -extern int catch(); - -int (*handler)() = catch; -char **argv; -int argc; -char *MainLB; diff --git a/lib/libm2/load.c b/lib/libm2/load.c deleted file mode 100755 index 3ec6321b2..000000000 --- a/lib/libm2/load.c +++ /dev/null @@ -1,45 +0,0 @@ -/* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*/ - -/* - Module: get value on stack, byte by byte - Author: Ceriel J.H. Jacobs - Version: $Header$ -*/ - -#include - -#ifndef EM_WSIZE -#define EM_WSIZE _EM_WSIZE -#define EM_PSIZE _EM_PSIZE -#endif - -#if EM_WSIZE==EM_PSIZE -typedef unsigned pcnt; -#else -typedef long pcnt; -#endif - -load(siz, addr, p) - register char *addr; - register pcnt siz; -{ - /* Make sure, that a value with a size that could have been - handled by the LOI instruction ends up at the same place, - where it would, were the LOI instruction used. - */ - register char *q = (char *) &p; - char t[4]; - - if (siz < EM_WSIZE && EM_WSIZE % siz == 0) { - /* as long as EM_WSIZE <= 4 ... */ - if (siz != 2) TRP(M2_INTERNAL); /* internal error */ - q = &t[0]; - } - while (siz--) *q++ = *addr++; - if (q - t == 2) { - *((unsigned *)(&p)) = *((unsigned short *) (&t[0])); - } -} diff --git a/lib/libm2/par_misc.e b/lib/libm2/par_misc.e deleted file mode 100755 index b0e86969e..000000000 --- a/lib/libm2/par_misc.e +++ /dev/null @@ -1,175 +0,0 @@ -# -; -; (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. -; See the copyright notice in the ACK home directory, in the file "Copyright". -; - -; -; Module: coroutine primitives -; Author: Kees Bot, Edwin Scheffer, Ceriel Jacobs -; Version: $Header$ -; - - mes 2,_EM_WSIZE,_EM_PSIZE - - ; topsize takes care of two things: - ; - given a stack-break, - ; it computes the size of the chunk of memory needed to save the stack; - ; - also, if this stack-break = 0, it creates one, assuming that caller is - ; the stack-break. - ; - ; This implementation assumes a continuous stack growing downwards - - exp $topsize -#ifdef __sparc - inp $topsize2 - pro $topsize, 0 - mes 11 - zer _EM_PSIZE - lal 0 - loi _EM_PSIZE - cal $topsize2 - asp 2*_EM_PSIZE - lfr _EM_WSIZE - ret _EM_WSIZE - end 0 - pro $topsize2, (3*_EM_WSIZE+3*_EM_PSIZE) -#else - pro $topsize, (3*_EM_WSIZE+3*_EM_PSIZE) -#endif - ; local space for line-number, ignoremask, filename, stack-break, size, - ; and stack-pointer (see the topsave routine) - mes 11 - lal 0 - loi _EM_PSIZE - loi _EM_PSIZE ; stack-break or 0 - zer _EM_PSIZE - cmp - zne *1 - lxl 0 - dch ; local base of caller -#ifdef __sparc - dch ; because of the extra layer -#endif - lal 0 - loi _EM_PSIZE - sti _EM_PSIZE -1 - lal 0 - loi _EM_PSIZE - loi _EM_PSIZE - lpb ; convert this local base to an argument base. - ; An implementation of a sort of "topsize" EM - ; instruction should take a local base, and save - ; the whole frame. - - lor 1 ; stack-break SP - sbs _EM_WSIZE ; stack-break-SP - ret _EM_WSIZE ; return size of block to be saved - end 3*_EM_WSIZE+3*_EM_PSIZE - - exp $topsave -#ifdef __sparc - inp $topsave2 - pro $topsave,0 - mes 11 - lal 0 - loi 2*_EM_PSIZE - cal $topsave2 - asp 2*_EM_PSIZE - lfr _EM_WSIZE - ret _EM_WSIZE - end 0 - pro $topsave2,0 -#else - pro $topsave, 0 -#endif - mes 11 - loe 0 - lae 4 ; load line number and file name - loi _EM_PSIZE - lim ; ignore mask - lor 0 ; LB - lal 0 - loi _EM_PSIZE ; stack-break - lpb - lor 1 - sbs _EM_WSIZE - loc _EM_WSIZE - adu _EM_WSIZE ; gives size - dup _EM_WSIZE - stl 0 ; save size - lor 1 ; SP (the SP BEFORE pushing) - lor 1 ; SP (address of stack top to save) - lal _EM_PSIZE ; area - loi _EM_PSIZE - lol 0 ; size - bls _EM_WSIZE ; move whole block - asp 3*_EM_PSIZE+3*_EM_WSIZE ; remove the lot from the stack - loc 1 - ret _EM_WSIZE ; return 1 - end 0 - -sv - bss _EM_PSIZE,0,0 - - exp $topload -#ifdef __sparc - inp $topload1 - pro $topload,0 - lal 0 - loi _EM_PSIZE - cal $topload1 - asp _EM_PSIZE - lfr _EM_WSIZE - ret _EM_WSIZE - end 0 - pro $topload1, 0 -#else - pro $topload, 0 -#endif - mes 11 - - lal 0 - loi _EM_PSIZE - lae sv - sti _EM_PSIZE ; saved parameter - - lxl 0 -2 - dup _EM_PSIZE - adp -3*_EM_PSIZE - lal 0 - loi _EM_PSIZE ; compare target SP with current LB to see if we must - loi _EM_PSIZE - cmp ; find another LB first - zgt *1 - dch ; just follow dynamic chain to make sure we find - ; a legal one - bra *2 -1 - str 0 - - lae sv - loi _EM_PSIZE - loi _EM_PSIZE ; load indirect to - str 1 ; restore SP - asp 0-_EM_PSIZE ; to stop int from complaining about non-existent memory - lae sv - loi _EM_PSIZE ; source address - lor 1 - adp _EM_PSIZE ; destination address - lae sv - loi _EM_PSIZE - adp _EM_PSIZE - loi _EM_WSIZE ; size of block - bls _EM_WSIZE - asp _EM_PSIZE+_EM_WSIZE ; drop size + SP - str 0 ; restore local base - sim ; ignore mask - lae 4 - sti _EM_PSIZE - ste 0 ; line and file - loc 0 - ret _EM_WSIZE - end 0 diff --git a/lib/libm2/random.mod b/lib/libm2/random.mod deleted file mode 100755 index 826e99f69..000000000 --- a/lib/libm2/random.mod +++ /dev/null @@ -1,58 +0,0 @@ -(* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*) - -(*$R-*) -IMPLEMENTATION MODULE random; -(* - Module: random numbers - Author: Ceriel J.H. Jacobs - Version: $Header$ -*) - - FROM Unix IMPORT getpid, time; - TYPE index = [1..55]; - - VAR X: ARRAY index OF CARDINAL; - j, k: index; - tm: LONGINT; - - PROCEDURE Random(): CARDINAL; - BEGIN - IF k-1 <= 0 THEN k := 55; ELSE DEC(k) END; - IF j-1 <= 0 THEN j := 55; ELSE DEC(j) END; - X[k] := X[k] + X[j]; - RETURN X[k] - END Random; - - PROCEDURE Uniform (lwb, upb: CARDINAL): CARDINAL; - BEGIN - IF upb <= lwb THEN RETURN lwb; END; - RETURN lwb + (Random() MOD (upb - lwb + 1)); - END Uniform; - - PROCEDURE StartSeed(seed: CARDINAL); - VAR v: CARDINAL; - BEGIN - FOR k := 1 TO 55 DO - seed := 1297 * seed + 123; - X[k] := seed; - END; - FOR k := 1 TO 15 DO - j := tm MOD 55D + 1D; - v := X[j]; - tm := tm DIV 7D; - j := tm MOD 55D + 1D; - X[j] := v; - tm := tm * 3D; - END; - k := 1; - j := 25; - END StartSeed; - -BEGIN - tm := time(NIL); - X[1] := tm; - StartSeed(CARDINAL(getpid()) * X[1]); -END random. diff --git a/lib/libm2/rcka.c b/lib/libm2/rcka.c deleted file mode 100755 index 6178bd6fb..000000000 --- a/lib/libm2/rcka.c +++ /dev/null @@ -1,25 +0,0 @@ -/* - * (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - * - * - * Module: range checks for INTEGER, now for array indexing - * Author: Ceriel J.H. Jacobs - * Version: $Header$ -*/ - -#include - -extern TRP(); - -struct array_descr { - int lbound; - int n_elts_min_one; - unsigned size; -}; - -rcka(descr, indx) - struct array_descr *descr; -{ - if (indx < 0 || indx > descr->n_elts_min_one) TRP(EARRAY); -} diff --git a/lib/libm2/rcki.c b/lib/libm2/rcki.c deleted file mode 100755 index 289646170..000000000 --- a/lib/libm2/rcki.c +++ /dev/null @@ -1,23 +0,0 @@ -/* - * (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - * - * - * Module: range checks for INTEGER - * Author: Ceriel J.H. Jacobs - * Version: $Header$ -*/ - -#include - -extern TRP(); - -struct range_descr { - int low, high; -}; - -rcki(descr, val) - struct range_descr *descr; -{ - if (val < descr->low || val > descr->high) TRP(ERANGE); -} diff --git a/lib/libm2/rckil.c b/lib/libm2/rckil.c deleted file mode 100755 index 2c4328d4c..000000000 --- a/lib/libm2/rckil.c +++ /dev/null @@ -1,24 +0,0 @@ -/* - * (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - * - * - * Module: range checks for LONGINT - * Author: Ceriel J.H. Jacobs - * Version: $Header$ -*/ - -#include - -extern TRP(); - -struct range_descr { - long low, high; -}; - -rckil(descr, val) - struct range_descr *descr; - long val; -{ - if (val < descr->low || val > descr->high) TRP(ERANGE); -} diff --git a/lib/libm2/rcku.c b/lib/libm2/rcku.c deleted file mode 100755 index 8dfb3204f..000000000 --- a/lib/libm2/rcku.c +++ /dev/null @@ -1,24 +0,0 @@ -/* - * (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - * - * - * Module: range checks for CARDINAL - * Author: Ceriel J.H. Jacobs - * Version: $Header$ -*/ - -#include - -extern TRP(); - -struct range_descr { - unsigned low, high; -}; - -rcku(descr, val) - struct range_descr *descr; - unsigned val; -{ - if (val < descr->low || val > descr->high) TRP(ERANGE); -} diff --git a/lib/libm2/rckul.c b/lib/libm2/rckul.c deleted file mode 100755 index 86647502c..000000000 --- a/lib/libm2/rckul.c +++ /dev/null @@ -1,24 +0,0 @@ -/* - * (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - * - * - * Module: range checks for LONGCARD - * Author: Ceriel J.H. Jacobs - * Version: $Header$ -*/ - -#include - -extern TRP(); - -struct range_descr { - unsigned long low, high; -}; - -rckul(descr, val) - struct range_descr *descr; - unsigned long val; -{ - if (val < descr->low || val > descr->high) TRP(ERANGE); -} diff --git a/lib/libm2/sigtrp.c b/lib/libm2/sigtrp.c deleted file mode 100755 index 6dc777d69..000000000 --- a/lib/libm2/sigtrp.c +++ /dev/null @@ -1,82 +0,0 @@ -/* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*/ - -/* - Module: Mapping of Unix signals to EM traps - (only when not using the MON instruction) - Author: Ceriel J.H. Jacobs - Version: $Header$ -*/ - -#if !defined(__em22) && !defined(__em24) && !defined(__em44) - -#define EM_trap(n) TRP(n) /* define to whatever is needed to cause the trap */ - -#include -#include - -int __signo; - -static int __traps[] = { - -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, - -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, - -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -}; - -static void -__ctchsig(signo) -{ - signal(signo,__ctchsig); -#ifdef __BSD4_2 - sigsetmask(sigblock(0) & ~(1<<(signo - 1))); -#endif - __signo = signo; - EM_trap(__traps[signo]); -} - -int -sigtrp(trapno, signo) -{ - /* Let Unix signal signo cause EM trap trapno to occur. - If trapno = -2, restore default, - If trapno = -3, ignore. - Return old trapnumber. - Careful, this could be -2 or -3; But return value of -1 - indicates failure, with error number in errno. - */ - extern int errno; - void (*ctch)() = __ctchsig; - void (*oldctch)(); - int oldtrap; - - if (signo <= 0 || signo >= sizeof(__traps)/sizeof(__traps[0])) { - errno = EINVAL; - return -1; - } - - if (trapno == -3) - ctch = SIG_IGN; - else if (trapno == -2) - ctch = SIG_DFL; - else if (trapno >= 0 && trapno <= 252) - ; - else { - errno = EINVAL; - return -1; - } - - oldtrap = __traps[signo]; - - if ((oldctch = signal(signo, ctch)) == (void (*)())-1) /* errno set by signal */ - return -1; - - else if (oldctch == SIG_IGN) { - signal(signo, SIG_IGN); - } - else __traps[signo] = trapno; - - return oldtrap; -} -#endif diff --git a/lib/libm2/stackprio.c b/lib/libm2/stackprio.c deleted file mode 100755 index ecd3fee2a..000000000 --- a/lib/libm2/stackprio.c +++ /dev/null @@ -1,27 +0,0 @@ -/* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*/ - -/* - Module: Dummy priority routines - Author: Ceriel J.H. Jacobs - Version: $Header$ -*/ - -static unsigned prio = 0; - -stackprio(n) - unsigned n; -{ - unsigned old = prio; - - if (n > prio) prio = n; - return old; -} - -unstackprio(n) - unsigned n; -{ - prio = n; -} diff --git a/lib/libm2/store.c b/lib/libm2/store.c deleted file mode 100755 index d69aa4023..000000000 --- a/lib/libm2/store.c +++ /dev/null @@ -1,43 +0,0 @@ -/* - (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - See the copyright notice in the ACK home directory, in the file "Copyright". -*/ - -/* - Module: store values from stack, byte by byte - Author: Ceriel J.H. Jacobs - Version: $Header$ -*/ - -#include - -#ifndef EM_WSIZE -#define EM_WSIZE _EM_WSIZE -#define EM_PSIZE _EM_PSIZE -#endif - -#if EM_WSIZE==EM_PSIZE -typedef unsigned pcnt; -#else -typedef long pcnt; -#endif - -store(siz, addr, p) - register char *addr; - register pcnt siz; -{ - /* Make sure, that a value with a size that could have been - handled by the LOI instruction is handled as if it was - loaded with the LOI instruction. - */ - register char *q = (char *) &p; - char t[4]; - - if (siz < EM_WSIZE && EM_WSIZE % siz == 0) { - /* as long as EM_WSIZE <= 4 ... */ - if (siz != 2) TRP(M2_INTERNAL); /* internal error */ - *((unsigned short *) (&t[0])) = *((unsigned *) q); - q = &t[0]; - } - while (siz--) *addr++ = *q++; -} diff --git a/lib/libm2/ucheck.c b/lib/libm2/ucheck.c deleted file mode 100755 index 411a7ce33..000000000 --- a/lib/libm2/ucheck.c +++ /dev/null @@ -1,65 +0,0 @@ -/* - * (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - * - * - * Module: CARDINAL operations with overflow checking - * Author: Ceriel J.H. Jacobs - * Version: $Header$ -*/ - -#ifndef EM_WSIZE -#define EM_WSIZE _EM_WSIZE -#endif -#ifndef EM_LSIZE -#define EM_LSIZE _EM_LSIZE -#endif - -#include - -#define MAXCARD ((unsigned)-1) -#if EM_WSIZE < EM_LSIZE -#define MAXLONGCARD ((unsigned long) -1L) -#endif - -adduchk(a,b) - unsigned a,b; -{ - if (MAXCARD - a < b) TRP(M2_UOVFL); -} - -#if EM_WSIZE < EM_LSIZE -addulchk(a,b) - unsigned long a,b; -{ - if (MAXLONGCARD - a < b) TRP(M2_UOVFL); -} -#endif - -muluchk(a,b) - unsigned a,b; -{ - if (a != 0 && MAXCARD/a < b) TRP(M2_UOVFL); -} - -#if EM_WSIZE < EM_LSIZE -mululchk(a,b) - unsigned long a,b; -{ - if (a != 0 && MAXLONGCARD/a < b) TRP(M2_UOVFL); -} -#endif - -subuchk(a,b) - unsigned a,b; -{ - if (b < a) TRP(M2_UUVFL); -} - -#if EM_WSIZE < EM_LSIZE -subulchk(a,b) - unsigned long a,b; -{ - if (b < a) TRP(M2_UUVFL); -} -#endif diff --git a/lib/libp/Makefile b/lib/libp/Makefile deleted file mode 100755 index 17e143071..000000000 --- a/lib/libp/Makefile +++ /dev/null @@ -1,305 +0,0 @@ -# Makefile for lib/libp. - -CFLAGS = -O -I../h -wo -CC1 = $(CC) $(CFLAGS) -c - -LIBRARY = ../libp.a -all: $(LIBRARY) - -OBJECTS = \ - $(LIBRARY)(abi.o) \ - $(LIBRARY)(abl.o) \ - $(LIBRARY)(abr.o) \ - $(LIBRARY)(arg.o) \ - $(LIBRARY)(ass.o) \ - $(LIBRARY)(asz.o) \ - $(LIBRARY)(atn.o) \ - $(LIBRARY)(bcp.o) \ - $(LIBRARY)(bts.o) \ - $(LIBRARY)(buff.o) \ - $(LIBRARY)(catch.o) \ - $(LIBRARY)(clock.o) \ - $(LIBRARY)(cls.o) \ - $(LIBRARY)(cvt.o) \ - $(LIBRARY)(diag.o) \ - $(LIBRARY)(dis.o) \ - $(LIBRARY)(efl.o) \ - $(LIBRARY)(eln.o) \ - $(LIBRARY)(encaps.o) \ - $(LIBRARY)(exp.o) \ - $(LIBRARY)(fef.o) \ - $(LIBRARY)(fif.o) \ - $(LIBRARY)(get.o) \ - $(LIBRARY)(gto.o) \ - $(LIBRARY)(head_pc.o) \ - $(LIBRARY)(hlt.o) \ - $(LIBRARY)(hol0.o) \ - $(LIBRARY)(incpt.o) \ - $(LIBRARY)(ini.o) \ - $(LIBRARY)(log.o) \ - $(LIBRARY)(mdi.o) \ - $(LIBRARY)(mdl.o) \ - $(LIBRARY)(new.o) \ - $(LIBRARY)(nfa.o) \ - $(LIBRARY)(nobuff.o) \ - $(LIBRARY)(notext.o) \ - $(LIBRARY)(opn.o) \ - $(LIBRARY)(outcpt.o) \ - $(LIBRARY)(pac.o) \ - $(LIBRARY)(pclose.o) \ - $(LIBRARY)(pcreat.o) \ - $(LIBRARY)(pentry.o) \ - $(LIBRARY)(perrno.o) \ - $(LIBRARY)(pexit.o) \ - $(LIBRARY)(popen.o) \ - $(LIBRARY)(put.o) \ - $(LIBRARY)(rcka.o) \ - $(LIBRARY)(rdc.o) \ - $(LIBRARY)(rdi.o) \ - $(LIBRARY)(rdl.o) \ - $(LIBRARY)(rdr.o) \ - $(LIBRARY)(rf.o) \ - $(LIBRARY)(rln.o) \ - $(LIBRARY)(rnd.o) \ - $(LIBRARY)(sav.o) \ - $(LIBRARY)(sig.o) \ - $(LIBRARY)(sin.o) \ - $(LIBRARY)(sqt.o) \ - $(LIBRARY)(string.o) \ - $(LIBRARY)(trap.o) \ - $(LIBRARY)(trp.o) \ - $(LIBRARY)(unp.o) \ - $(LIBRARY)(uread.o) \ - $(LIBRARY)(uwrite.o) \ - $(LIBRARY)(wdw.o) \ - $(LIBRARY)(wf.o) \ - $(LIBRARY)(wrc.o) \ - $(LIBRARY)(wrf.o) \ - $(LIBRARY)(wri.o) \ - $(LIBRARY)(wrl.o) \ - $(LIBRARY)(wrr.o) \ - $(LIBRARY)(wrs.o) \ - $(LIBRARY)(wrz.o) \ - -$(LIBRARY): $(OBJECTS) - aal cr $@ *.o - rm *.o - -$(LIBRARY)(abi.o): abi.c - $(CC1) abi.c - -$(LIBRARY)(abl.o): abl.c - $(CC1) abl.c - -$(LIBRARY)(abr.o): abr.c - $(CC1) abr.c - -$(LIBRARY)(arg.o): arg.c - $(CC1) arg.c - -$(LIBRARY)(ass.o): ass.c - $(CC1) ass.c - -$(LIBRARY)(asz.o): asz.c - $(CC1) asz.c - -$(LIBRARY)(atn.o): atn.c - $(CC1) atn.c - -$(LIBRARY)(bcp.o): bcp.c - $(CC1) bcp.c - -$(LIBRARY)(bts.o): bts.e - $(CC1) bts.e - -$(LIBRARY)(buff.o): buff.c - $(CC1) buff.c - -$(LIBRARY)(catch.o): catch.c - $(CC1) catch.c - -$(LIBRARY)(clock.o): clock.c - $(CC1) clock.c - -$(LIBRARY)(cls.o): cls.c - $(CC1) cls.c - -$(LIBRARY)(cvt.o): cvt.c - $(CC1) cvt.c - -$(LIBRARY)(diag.o): diag.c - $(CC1) diag.c - -$(LIBRARY)(dis.o): dis.c - $(CC1) dis.c - -$(LIBRARY)(efl.o): efl.c - $(CC1) efl.c - -$(LIBRARY)(eln.o): eln.c - $(CC1) eln.c - -$(LIBRARY)(encaps.o): encaps.e - $(CC1) encaps.e - -$(LIBRARY)(exp.o): exp.c - $(CC1) exp.c - -$(LIBRARY)(fef.o): fef.e - $(CC1) fef.e - -$(LIBRARY)(fif.o): fif.e - $(CC1) fif.e - -$(LIBRARY)(get.o): get.c - $(CC1) get.c - -$(LIBRARY)(gto.o): gto.e - $(CC1) gto.e - -$(LIBRARY)(head_pc.o): head_pc.e - $(CC1) head_pc.e - -$(LIBRARY)(hlt.o): hlt.c - $(CC1) hlt.c - -$(LIBRARY)(hol0.o): hol0.e - $(CC1) hol0.e - -$(LIBRARY)(incpt.o): incpt.c - $(CC1) incpt.c - -$(LIBRARY)(ini.o): ini.c - $(CC1) ini.c - -$(LIBRARY)(log.o): log.c - $(CC1) log.c - -$(LIBRARY)(mdi.o): mdi.c - $(CC1) mdi.c - -$(LIBRARY)(mdl.o): mdl.c - $(CC1) mdl.c - -$(LIBRARY)(new.o): new.c - $(CC1) new.c - -$(LIBRARY)(nfa.o): nfa.c - $(CC1) nfa.c - -$(LIBRARY)(nobuff.o): nobuff.c - $(CC1) nobuff.c - -$(LIBRARY)(notext.o): notext.c - $(CC1) notext.c - -$(LIBRARY)(opn.o): opn.c - $(CC1) opn.c - -$(LIBRARY)(outcpt.o): outcpt.c - $(CC1) outcpt.c - -$(LIBRARY)(pac.o): pac.c - $(CC1) pac.c - -$(LIBRARY)(pclose.o): pclose.c - $(CC1) pclose.c - -$(LIBRARY)(pcreat.o): pcreat.c - $(CC1) pcreat.c - -$(LIBRARY)(pentry.o): pentry.c - $(CC1) pentry.c - -$(LIBRARY)(perrno.o): perrno.c - $(CC1) perrno.c - -$(LIBRARY)(pexit.o): pexit.c - $(CC1) pexit.c - -$(LIBRARY)(popen.o): popen.c - $(CC1) popen.c - -$(LIBRARY)(put.o): put.c - $(CC1) put.c - -$(LIBRARY)(rcka.o): rcka.c - $(CC1) rcka.c - -$(LIBRARY)(rdc.o): rdc.c - $(CC1) rdc.c - -$(LIBRARY)(rdi.o): rdi.c - $(CC1) rdi.c - -$(LIBRARY)(rdl.o): rdl.c - $(CC1) rdl.c - -$(LIBRARY)(rdr.o): rdr.c - $(CC1) rdr.c - -$(LIBRARY)(rf.o): rf.c - $(CC1) rf.c - -$(LIBRARY)(rln.o): rln.c - $(CC1) rln.c - -$(LIBRARY)(rnd.o): rnd.c - $(CC1) rnd.c - -$(LIBRARY)(sav.o): sav.e - $(CC1) sav.e - -$(LIBRARY)(sig.o): sig.e - $(CC1) sig.e - -$(LIBRARY)(sin.o): sin.c - $(CC1) sin.c - -$(LIBRARY)(sqt.o): sqt.c - $(CC1) sqt.c - -$(LIBRARY)(string.o): string.c - $(CC1) string.c - -$(LIBRARY)(trap.o): trap.e - $(CC1) trap.e - -$(LIBRARY)(trp.o): trp.e - $(CC1) trp.e - -$(LIBRARY)(unp.o): unp.c - $(CC1) unp.c - -$(LIBRARY)(uread.o): uread.c - $(CC1) uread.c - -$(LIBRARY)(uwrite.o): uwrite.c - $(CC1) uwrite.c - -$(LIBRARY)(wdw.o): wdw.c - $(CC1) wdw.c - -$(LIBRARY)(wf.o): wf.c - $(CC1) wf.c - -$(LIBRARY)(wrc.o): wrc.c - $(CC1) wrc.c - -$(LIBRARY)(wrf.o): wrf.c - $(CC1) wrf.c - -$(LIBRARY)(wri.o): wri.c - $(CC1) wri.c - -$(LIBRARY)(wrl.o): wrl.c - $(CC1) wrl.c - -$(LIBRARY)(wrr.o): wrr.c - $(CC1) wrr.c - -$(LIBRARY)(wrs.o): wrs.c - $(CC1) wrs.c - -$(LIBRARY)(wrz.o): wrz.c - $(CC1) wrz.c diff --git a/lib/libp/abi.c b/lib/libp/abi.c deleted file mode 100755 index abfe4e9be..000000000 --- a/lib/libp/abi.c +++ /dev/null @@ -1,23 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -int _abi(i) int i; { - return(i>=0 ? i : -i); -} diff --git a/lib/libp/abl.c b/lib/libp/abl.c deleted file mode 100755 index 9ffbfbe96..000000000 --- a/lib/libp/abl.c +++ /dev/null @@ -1,23 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -long _abl(i) long i; { - return(i>=0 ? i : -i); -} diff --git a/lib/libp/abr.c b/lib/libp/abr.c deleted file mode 100755 index 9a8c0bdfd..000000000 --- a/lib/libp/abr.c +++ /dev/null @@ -1,23 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -double _abr(r) double r; { - return(r>=0 ? r : -r); -} diff --git a/lib/libp/arg.c b/lib/libp/arg.c deleted file mode 100755 index fdbf14c3f..000000000 --- a/lib/libp/arg.c +++ /dev/null @@ -1,56 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -/* function argc:integer; extern; */ -/* function argv(i:integer):string; extern; */ -/* procedure argshift; extern; */ -/* function environ(i:integer):string; extern; */ - -extern int _pargc; -extern char **_pargv; -extern char ***_penviron; - -int argc() { - return(_pargc); -} - -char *argv(i) { - if (i >= _pargc) - return(0); - return(_pargv[i]); -} - -argshift() { - - if (_pargc > 1) { - --_pargc; - _pargv++; - } -} - -char *environ(i) { - char **p; char *q; - - if (p = *_penviron) - while (q = *p++) - if (i-- < 0) - return(q); - return(0); -} diff --git a/lib/libp/ass.c b/lib/libp/ass.c deleted file mode 100755 index 8522d9426..000000000 --- a/lib/libp/ass.c +++ /dev/null @@ -1,33 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include -#include - -extern char *_hol0(); -extern _trp(); - -_ass(line,bool) int line,bool; { - - if (bool==0) { - LINO = line; - _trp(EASS); - } -} diff --git a/lib/libp/asz.c b/lib/libp/asz.c deleted file mode 100755 index 271b882da..000000000 --- a/lib/libp/asz.c +++ /dev/null @@ -1,29 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -struct descr { - int low; - int diff; - int size; -}; - -int _asz(dp) struct descr *dp; { - return(dp->size * (dp->diff + 1)); -} diff --git a/lib/libp/atn.c b/lib/libp/atn.c deleted file mode 100755 index 320c18923..000000000 --- a/lib/libp/atn.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - * - * Author: Ceriel J.H. Jacobs - */ - -/* $Header$ */ - -#define __NO_DEFS -#include - -#if __STDC__ -#include -#endif - -double -_atn(x) - double x; -{ - /* Algorithm and coefficients from: - "Software manual for the elementary functions" - by W.J. Cody and W. Waite, Prentice-Hall, 1980 - */ - - static double p[] = { - -0.13688768894191926929e+2, - -0.20505855195861651981e+2, - -0.84946240351320683534e+1, - -0.83758299368150059274e+0 - }; - static double q[] = { - 0.41066306682575781263e+2, - 0.86157349597130242515e+2, - 0.59578436142597344465e+2, - 0.15024001160028576121e+2, - 1.0 - }; - static double a[] = { - 0.0, - 0.52359877559829887307710723554658381, /* pi/6 */ - M_PI_2, - 1.04719755119659774615421446109316763 /* pi/3 */ - }; - - int neg = x < 0; - int n; - double g; - - if (neg) { - x = -x; - } - if (x > 1.0) { - x = 1.0/x; - n = 2; - } - else n = 0; - - if (x > 0.26794919243112270647) { /* 2-sqtr(3) */ - n = n + 1; - x = (((0.73205080756887729353*x-0.5)-0.5)+x)/ - (1.73205080756887729353+x); - } - - /* ??? avoid underflow ??? */ - - g = x * x; - x += x * g * POLYNOM3(g, p) / POLYNOM4(g, q); - if (n > 1) x = -x; - x += a[n]; - return neg ? -x : x; -} diff --git a/lib/libp/bcp.c b/lib/libp/bcp.c deleted file mode 100755 index ef8edf605..000000000 --- a/lib/libp/bcp.c +++ /dev/null @@ -1,30 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -int _bcp(sz,y,x) int sz; unsigned char *y,*x; { - - while (--sz >= 0) { - if (*x < *y) - return(-1); - if (*x++ > *y++) - return(1); - } - return(0); -} diff --git a/lib/libp/bts.e b/lib/libp/bts.e deleted file mode 100755 index adb57f360..000000000 --- a/lib/libp/bts.e +++ /dev/null @@ -1,56 +0,0 @@ -# -; $Header$ -; -; (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. -; -; This product is part of the Amsterdam Compiler Kit. -; -; Permission to use, sell, duplicate or disclose this software must be -; obtained in writing. Requests for such permissions may be sent to -; -; Dr. Andrew S. Tanenbaum -; Wiskundig Seminarium -; Vrije Universiteit -; Postbox 7161 -; 1007 MC Amsterdam -; The Netherlands -; -; - -; Author: J.W. Stevenson */ - - mes 2,_EM_WSIZE,_EM_PSIZE - -#define SIZE 0 -#define HIGH _EM_WSIZE -#define LOWB 2*_EM_WSIZE -#define BASE 3*_EM_WSIZE - -; _bts is called with four parameters: -; - the initial set (BASE) -; - low bound of range of bits (LOWB) -; - high bound of range of bits (HIGH) -; - set size in bytes (SIZE) - - exp $_bts - pro $_bts,0 - lal BASE ; address of initial set - lol SIZE - los _EM_WSIZE ; load initial set -1 - lol LOWB ; low bound - lol HIGH ; high bound - bgt *2 ; while low <= high - lol LOWB - lol SIZE - set ? ; create [low] - lol SIZE - ior ? ; merge with initial set - inl LOWB ; increment low bound - bra *1 ; loop back -2 - lal BASE - lol SIZE - sts _EM_WSIZE ; store result over initial set - ret 0 - end ? diff --git a/lib/libp/buff.c b/lib/libp/buff.c deleted file mode 100755 index 471025c48..000000000 --- a/lib/libp/buff.c +++ /dev/null @@ -1,35 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include - -extern _flush(); - -/* procedure buff(var f:file of ?); */ - -buff(f) struct file *f; { - int sz; - - if ((f->flags & (0377|WRBIT)) != (MAGIC|WRBIT)) - return; - _flush(f); - sz = f->size; - f->count = f->buflen = (sz>PC_BUFLEN ? sz : PC_BUFLEN-PC_BUFLEN%sz); -} diff --git a/lib/libp/catch.c b/lib/libp/catch.c deleted file mode 100755 index 204a8a1cf..000000000 --- a/lib/libp/catch.c +++ /dev/null @@ -1,154 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -#include -#include -#include - -/* to make it easier to patch ... */ -extern struct file *_curfil; - -static struct errm { - int errno; - char *errmes; -} errors[] = { - { EARRAY, "array bound error"}, - { ERANGE, "range bound error"}, - { ESET, "set bound error"}, - { EIOVFL, "integer overflow"}, - { EFOVFL, "real overflow"}, - { EFUNFL, "real underflow"}, - { EIDIVZ, "divide by 0"}, - { EFDIVZ, "divide by 0.0"}, - { EIUND, "undefined integer"}, - { EFUND, "undefined real"}, - { ECONV, "conversion error"}, - - { ESTACK, "stack overflow"}, - { EHEAP, "heap overflow"}, - { EILLINS, "illegal instruction"}, - { EODDZ, "illegal size argument"}, - { ECASE, "case error"}, - { EMEMFLT, "addressing non existent memory"}, - { EBADPTR, "bad pointer used"}, - { EBADPC, "program counter out of range"}, - { EBADLAE, "bad argument of lae"}, - { EBADMON, "bad monitor call"}, - { EBADLIN, "argument if LIN too high"}, - { EBADGTO, "GTO descriptor error"}, - - { EARGC, "more args expected" }, - { EEXP, "error in exp" }, - { ELOG, "error in ln" }, - { ESQT, "error in sqrt" }, - { EASS, "assertion failed" }, - { EPACK, "array bound error in pack" }, - { EUNPACK, "array bound error in unpack" }, - { EMOD, "only positive j in 'i mod j'" }, - { EBADF, "file not yet open" }, - { EFREE, "dispose error" }, - { EFUNASS, "function not assigned" }, - { EWIDTH, "illegal field width" }, - - { EWRITEF, "not writable" }, - { EREADF, "not readable" }, - { EEOF, "end of file" }, - { EFTRUNC, "truncated" }, - { ERESET, "reset error" }, - { EREWR, "rewrite error" }, - { ECLOSE, "close error" }, - { EREAD, "read error" }, - { EWRITE, "write error" }, - { EDIGIT, "digit expected" }, - { EASCII, "non-ASCII char read" }, - { -1, 0} -}; - -extern int _pargc; -extern char **_pargv; -extern char ***_penviron; - -extern char *_hol0(); -extern _trp(); -extern _exit(); -extern int _write(); - -_catch(erno) unsigned erno; { - register struct errm *ep = &errors[0]; - char *p,*q,*s,**qq; - char buf[20]; - unsigned i; - int j = erno; - char *pp[11]; - char xbuf[100]; - - qq = pp; - if (p = FILN) - *qq++ = p; - else - *qq++ = _pargv[0]; - - while (ep->errno != erno && ep->errmes != 0) ep++; - p = buf; - s = xbuf; - if (i = LINO) { - *qq++ = ", "; - do - *p++ = i % 10 + '0'; - while (i /= 10); - while (p > buf) *s++ = *--p; - } - *s++ = ':'; - *s++ = ' '; - *s++ = '\0'; - *qq++ = xbuf; - if ((erno & ~037) == 0140 && (_curfil->flags&0377)==MAGIC) { - /* file error */ - *qq++ = "file "; - *qq++ = _curfil->fname; - *qq++ = ": "; - } - if (ep->errmes) *qq++ = ep->errmes; - else { - *qq++ = "error number "; - *qq++ = s; - p = buf; - if (j < 0) { - j = -j; - *s++ = '-'; - } - do - *p++ = j % 10 + '0'; - while (j /= 10); - while (p > buf) *s++ = *--p; - *s = 0; - } - *qq++ = "\n"; - *qq = 0; - qq = pp; - while (q = *qq++) { - p = q; - while (*p) - p++; - if (_write(2,q,(int)(p-q)) < 0) - ; - } - _exit(erno); -error: - _trp(erno); -} diff --git a/lib/libp/clock.c b/lib/libp/clock.c deleted file mode 100755 index f5847696a..000000000 --- a/lib/libp/clock.c +++ /dev/null @@ -1,47 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -/* function clock:integer; extern; */ - -extern int _times(); - -struct tbuf { - long utime; - long stime; - long cutime; - long cstime; -}; - -#ifndef EM_WSIZE -#define EM_WSIZE _EM_WSIZE -#endif - -int clock() { - struct tbuf t; - - _times(&t); - return( (int)(t.utime + t.stime) & -#if EM_WSIZE <= 2 - 077777 -#else - 0x7fffffffL -#endif - ); -} diff --git a/lib/libp/cls.c b/lib/libp/cls.c deleted file mode 100755 index f891a3658..000000000 --- a/lib/libp/cls.c +++ /dev/null @@ -1,67 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include -#include - -extern struct file *_curfil; -extern _trp(); -extern _flush(); -extern _outcpt(); -extern int _close(); - -_xcls(f) struct file *f; { - - if ((f->flags & WRBIT) == 0) - return; - if ((f->flags & (TXTBIT|ELNBIT)) == TXTBIT) { -#ifdef CPM - *f->ptr = '\r'; - _outcpt(f); -#endif - *f->ptr = '\n'; - _outcpt(f); - } - _flush(f); -} - -_cls(f) struct file *f; { -#ifdef MAYBE - char *p; -#endif - - _curfil = f; - if ((f->flags&0377) != MAGIC) - return; -#ifdef MAYBE - p = f->bufadr; - if (f->ptr < p) - return; - if (f->buflen <= 0) - return; - p += f->buflen; - if (f->ptr >= p) - return; -#endif - _xcls(f); - if (_close(f->ufd) != 0) - _trp(ECLOSE); - f->flags = 0; -} diff --git a/lib/libp/cvt.c b/lib/libp/cvt.c deleted file mode 100755 index d3c2116dc..000000000 --- a/lib/libp/cvt.c +++ /dev/null @@ -1,119 +0,0 @@ -/* $Header$ */ -#ifndef NOFLOAT - -#if __STDC__ -#include -#else -#include -#define DBL_MAX M_MAX_D -#endif - -static char *cvt(); -#define NDIGITS 128 - -char * -_ecvt(value, ndigit, decpt, sign) - double value; - int ndigit, *decpt, *sign; -{ - return cvt(value, ndigit, decpt, sign, 1); -} - -char * -_fcvt(value, ndigit, decpt, sign) - double value; - int ndigit, *decpt, *sign; -{ - return cvt(value, ndigit, decpt, sign, 0); -} - -static struct powers_of_10 { - double pval; - double rpval; - int exp; -} p10[] = { - 1.0e32, 1.0e-32, 32, - 1.0e16, 1.0e-16, 16, - 1.0e8, 1.0e-8, 8, - 1.0e4, 1.0e-4, 4, - 1.0e2, 1.0e-2, 2, - 1.0e1, 1.0e-1, 1, - 1.0e0, 1.0e0, 0 -}; - -static char * -cvt(value, ndigit, decpt, sign, ecvtflag) - double value; - int ndigit, *decpt, *sign; -{ - static char buf[NDIGITS+1]; - register char *p = buf; - register char *pe; - - if (ndigit < 0) ndigit = 0; - if (ndigit > NDIGITS) ndigit = NDIGITS; - pe = &buf[ndigit]; - buf[0] = '\0'; - - *sign = 0; - if (value < 0) { - *sign = 1; - value = -value; - } - - *decpt = 0; - if (value >= DBL_MAX) { - value = DBL_MAX; - } - if (value != 0.0) { - register struct powers_of_10 *pp = &p10[0]; - - if (value >= 10.0) do { - while (value >= pp->pval) { - value *= pp->rpval; - *decpt += pp->exp; - } - } while ((++pp)->exp > 0); - - pp = &p10[0]; - if (value < 1.0) do { - while (value * pp->pval < 10.0) { - value *= pp->pval; - *decpt -= pp->exp; - } - } while ((++pp)->exp > 0); - - (*decpt)++; /* because now value in [1.0, 10.0) */ - } - if (! ecvtflag) { - /* for fcvt() we need ndigit digits behind the dot */ - pe += *decpt; - if (pe > &buf[NDIGITS]) pe = &buf[NDIGITS]; - } - while (p <= pe) { - *p++ = (int)value + '0'; - value = 10.0 * (value - (int)value); - } - if (pe >= buf) { - p = pe; - *p += 5; /* round of at the end */ - while (*p > '9') { - *p = '0'; - if (p > buf) ++*--p; - else { - *p = '1'; - ++*decpt; - if (! ecvtflag) { - /* maybe add another digit at the end, - because the point was shifted right - */ - if (pe > buf) *pe = '0'; - pe++; - } - } - } - *pe = '\0'; - } - return buf; -} -#endif diff --git a/lib/libp/diag.c b/lib/libp/diag.c deleted file mode 100755 index ea16c0b7d..000000000 --- a/lib/libp/diag.c +++ /dev/null @@ -1,34 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include - -/* procedure diag(var f:text); */ - -diag(f) struct file *f; { - - f->ptr = f->bufadr; - f->flags = WRBIT|EOFBIT|ELNBIT|TXTBIT|MAGIC; - f->fname = "DIAG"; - f->ufd = 2; - f->size = 1; - f->count = 1; - f->buflen = 1; -} diff --git a/lib/libp/dis.c b/lib/libp/dis.c deleted file mode 100755 index 7d8c738e2..000000000 --- a/lib/libp/dis.c +++ /dev/null @@ -1,87 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include - -#define assert() /* nothing */ - -/* - * use circular list of free blocks from low to high addresses - * _highp points to free block with highest address - */ -struct adm { - struct adm *next; - int size; -}; - -extern struct adm *_lastp; -extern struct adm *_highp; -extern _trp(); - -static int merge(p1,p2) struct adm *p1,*p2; { - struct adm *p; - - p = (struct adm *)((char *)p1 + p1->size); - if (p > p2) - _trp(EFREE); - if (p != p2) - return(0); - p1->size += p2->size; - p1->next = p2->next; - return(1); -} - -_dis(n,pp) int n; struct adm **pp; { - struct adm *p1,*p2; - - /* - * NOTE: dispose only objects whose size is a multiple of sizeof(*pp). - * this is always true for objects allocated by _new() - */ - n = ((n+sizeof(*p1)-1) / sizeof(*p1)) * sizeof(*p1); - if (n == 0) - return; - if ((p1= *pp) == (struct adm *) 0) - _trp(EFREE); - p1->size = n; - if ((p2 = _highp) == 0) /*p1 is the only free block*/ - p1->next = p1; - else { - if (p2 > p1) { - /*search for the preceding free block*/ - if (_lastp < p1) /*reduce search*/ - p2 = _lastp; - while (p2->next < p1) - p2 = p2->next; - } - /* if p2 preceeds p1 in the circular list, - * try to merge them */ - p1->next = p2->next; p2->next = p1; - if (p2 <= p1 && merge(p2,p1)) - p1 = p2; - p2 = p1->next; - /* p1 preceeds p2 in the circular list */ - if (p2 > p1) merge(p1,p2); - } - if (p1 >= p1->next) - _highp = p1; - _lastp = p1; - *pp = (struct adm *) 0; -} diff --git a/lib/libp/efl.c b/lib/libp/efl.c deleted file mode 100755 index 888de603a..000000000 --- a/lib/libp/efl.c +++ /dev/null @@ -1,36 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include -#include - -extern struct file *_curfil; -extern _trp(); -extern _incpt(); - -int _efl(f) struct file *f; { - - _curfil = f; - if ((f->flags & 0377) != MAGIC) - _trp(EBADF); - if ((f->flags & (WINDOW|WRBIT|EOFBIT)) == 0) - _incpt(f); - return((f->flags & EOFBIT) != 0); -} diff --git a/lib/libp/eln.c b/lib/libp/eln.c deleted file mode 100755 index 08be0a547..000000000 --- a/lib/libp/eln.c +++ /dev/null @@ -1,33 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include -#include - -extern _trp(); -extern _rf(); - -int _eln(f) struct file *f; { - - _rf(f); - if (f->flags & EOFBIT) - _trp(EEOF); - return((f->flags & ELNBIT) != 0); -} diff --git a/lib/libp/encaps.e b/lib/libp/encaps.e deleted file mode 100755 index 43557e904..000000000 --- a/lib/libp/encaps.e +++ /dev/null @@ -1,144 +0,0 @@ -# - - -; $Header$ -; (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. -; -; This product is part of the Amsterdam Compiler Kit. -; -; Permission to use, sell, duplicate or disclose this software must be -; obtained in writing. Requests for such permissions may be sent to -; -; Dr. Andrew S. Tanenbaum -; Wiskundig Seminarium -; Vrije Universiteit -; Postbox 7161 -; 1007 MC Amsterdam -; The Netherlands -; - - mes 2,_EM_WSIZE,_EM_PSIZE - -; procedure encaps(procedure p; procedure(q(n:integer)); -; {call q if a trap occurs during the execution of p} -; {if q returns, continue execution of p} - - - inp $handler - -#define PIISZ 2*_EM_PSIZE - -#define PARG 0 -#define QARG PIISZ -#define E_ELB 0-_EM_PSIZE -#define E_EHA -2*_EM_PSIZE - -; encaps is called with two parameters: -; - procedure instance identifier of q (QARG) -; - procedure instance identifier of p (PARG) -; and two local variables: -; - the lb of the previous encaps (E_ELB) -; - the procedure identifier of the previous handler (E_EHA) -; -; One static variable: -; - the lb of the currently active encaps (enc_lb) - -enc_lb - bss _EM_PSIZE,0,0 - - exp $encaps - pro $encaps,PIISZ - ; save lb of previous encaps - lae enc_lb - loi _EM_PSIZE - lal E_ELB - sti _EM_PSIZE - ; set new lb - lxl 0 - lae enc_lb - sti _EM_PSIZE - ; save old handler id while setting up the new handler - lpi $handler - sig - lal E_EHA - sti _EM_PSIZE - ; handler is ready, p can be called - ; p doesn't expect parameters except possibly the static link - ; always passing the link won't hurt - lal PARG - loi PIISZ - cai - asp _EM_PSIZE - ; reinstate old handler - lal E_ELB - loi _EM_PSIZE - lae enc_lb - sti _EM_PSIZE - lal E_EHA - loi _EM_PSIZE - sig - asp _EM_PSIZE - ret 0 - end ? - -#define TRAP 0 -#define H_ELB 0-_EM_PSIZE - -; handler is called with one parameter: -; - trap number (TRAP) -; one local variable -; - the current LB of the enclosing encaps (H_ELB) - - - pro $handler,_EM_PSIZE - ; save LB of nearest encaps - lae enc_lb - loi _EM_PSIZE - lal H_ELB - sti _EM_PSIZE - ; fetch setting for previous encaps via LB of nearest - lal H_ELB - loi _EM_PSIZE - adp E_ELB - loi _EM_PSIZE ; LB of previous encaps - lae enc_lb - sti _EM_PSIZE - lal H_ELB - loi _EM_PSIZE - adp E_EHA - loi _EM_PSIZE ; previous handler - sig - asp _EM_PSIZE - ; previous handler is re-instated, time to call Q - lol TRAP ; the one and only real parameter - lal H_ELB - loi _EM_PSIZE - lpb ; argument base of enclosing encaps - adp QARG - loi PIISZ - exg _EM_PSIZE - dup _EM_PSIZE ; The static link is now on top - zer _EM_PSIZE - cmp - zeq *1 - ; non-zero LB - exg _EM_PSIZE - cai - asp _EM_WSIZE+_EM_PSIZE - bra *2 -1 - ; zero LB - asp _EM_PSIZE - cai - asp _EM_WSIZE -2 - ; now reinstate handler for continued execution of p - lal H_ELB - loi _EM_PSIZE - lae enc_lb - sti _EM_PSIZE - lpi $handler - sig - asp _EM_PSIZE - rtt - end ? diff --git a/lib/libp/exp.c b/lib/libp/exp.c deleted file mode 100755 index f1f78498a..000000000 --- a/lib/libp/exp.c +++ /dev/null @@ -1,118 +0,0 @@ -/* - * (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - * - * Author: Ceriel J.H. Jacobs - */ - -/* $Header$ */ -#define __NO_DEFS -#include -#include -extern _trp(); - -#if __STDC__ -#include -#include -#define M_MIN_D DBL_MIN -#define M_MAX_D DBL_MAX -#define M_DMINEXP DBL_MIN_EXP -#endif -#undef HUGE -#define HUGE 1e1000 - -static double -Ldexp(fl,exp) - double fl; - int exp; -{ - extern double _fef(); - int sign = 1; - int currexp; - - if (fl<0) { - fl = -fl; - sign = -1; - } - fl = _fef(fl,&currexp); - exp += currexp; - if (exp > 0) { - while (exp>30) { - fl *= (double) (1L << 30); - exp -= 30; - } - fl *= (double) (1L << exp); - } - else { - while (exp<-30) { - fl /= (double) (1L << 30); - exp += 30; - } - fl /= (double) (1L << -exp); - } - return sign * fl; -} - -double -_exp(x) - double x; -{ - /* Algorithm and coefficients from: - "Software manual for the elementary functions" - by W.J. Cody and W. Waite, Prentice-Hall, 1980 - */ - - static double p[] = { - 0.25000000000000000000e+0, - 0.75753180159422776666e-2, - 0.31555192765684646356e-4 - }; - - static double q[] = { - 0.50000000000000000000e+0, - 0.56817302698551221787e-1, - 0.63121894374398503557e-3, - 0.75104028399870046114e-6 - }; - double xn, g; - int n; - int negative = x < 0; - - if (x <= M_LN_MIN_D) { - g = M_MIN_D/4.0; - - if (g != 0.0) { - /* unnormalized numbers apparently exist */ - if (x < (M_LN2 * (M_DMINEXP - 53))) return 0.0; - } - else { - if (x < M_LN_MIN_D) return 0.0; - return M_MIN_D; - } - } - if (x >= M_LN_MAX_D) { - if (x > M_LN_MAX_D) { - _trp(EEXP); - return HUGE; - } - return M_MAX_D; - } - if (negative) x = -x; - - n = x * M_LOG2E + 0.5; /* 1/ln(2) = log2(e), 0.5 added for rounding */ - xn = n; - { - double x1 = (long) x; - double x2 = x - x1; - - g = ((x1-xn*0.693359375)+x2) - xn*(-2.1219444005469058277e-4); - } - if (negative) { - g = -g; - n = -n; - } - xn = g * g; - x = g * POLYNOM2(xn, p); - n += 1; - return (Ldexp(0.5 + x/(POLYNOM3(xn, q) - x), n)); -} diff --git a/lib/libp/fef.e b/lib/libp/fef.e deleted file mode 100755 index 0caaedcd6..000000000 --- a/lib/libp/fef.e +++ /dev/null @@ -1,39 +0,0 @@ -# -; $Header$ -; -; (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. -; -; This product is part of the Amsterdam Compiler Kit. -; -; Permission to use, sell, duplicate or disclose this software must be -; obtained in writing. Requests for such permissions may be sent to -; -; Dr. Andrew S. Tanenbaum -; Wiskundig Seminarium -; Vrije Universiteit -; Postbox 7161 -; 1007 MC Amsterdam -; The Netherlands -; -; - - mes 2,_EM_WSIZE,_EM_PSIZE - -#define FARG 0 -#define ERES _EM_DSIZE - -; _fef is called with two parameters: -; - address of exponent result (ERES) -; - floating point number to be split (FARG) -; and returns an _EM_DSIZE-byte floating point number - - exp $_fef - pro $_fef,0 - lal FARG - loi _EM_DSIZE - fef _EM_DSIZE - lal ERES - loi _EM_PSIZE - sti _EM_WSIZE - ret _EM_DSIZE - end ? diff --git a/lib/libp/fif.e b/lib/libp/fif.e deleted file mode 100755 index 2e11cf3b3..000000000 --- a/lib/libp/fif.e +++ /dev/null @@ -1,41 +0,0 @@ -# -; $Header$ -; -; (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. -; -; This product is part of the Amsterdam Compiler Kit. -; -; Permission to use, sell, duplicate or disclose this software must be -; obtained in writing. Requests for such permissions may be sent to -; -; Dr. Andrew S. Tanenbaum -; Wiskundig Seminarium -; Vrije Universiteit -; Postbox 7161 -; 1007 MC Amsterdam -; The Netherlands -; -; - - mes 2,_EM_WSIZE,_EM_PSIZE - -#define ARG1 0 -#define ARG2 _EM_DSIZE -#define IRES 2*_EM_DSIZE - -; _fif is called with three parameters: -; - address of integer part result (IRES) -; - float two (ARG2) -; - float one (ARG1) -; and returns an _EM_DSIZE-byte floating point number - - exp $_fif - pro $_fif,0 - lal 0 - loi 2*_EM_DSIZE - fif _EM_DSIZE - lal IRES - loi _EM_PSIZE - sti _EM_DSIZE - ret _EM_DSIZE - end ? diff --git a/lib/libp/get.c b/lib/libp/get.c deleted file mode 100755 index ec8420772..000000000 --- a/lib/libp/get.c +++ /dev/null @@ -1,31 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -#include -#include - -extern _rf(); -extern _trp(); - -_get(f) struct file *f; { - - _rf(f); - if (f->flags&EOFBIT) - _trp(EEOF); - f->flags &= ~WINDOW; -} diff --git a/lib/libp/gto.e b/lib/libp/gto.e deleted file mode 100755 index be9efa0ff..000000000 --- a/lib/libp/gto.e +++ /dev/null @@ -1,85 +0,0 @@ -# -; $Header$ -; (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. -; -; This product is part of the Amsterdam Compiler Kit. -; -; Permission to use, sell, duplicate or disclose this software must be -; obtained in writing. Requests for such permissions may be sent to -; -; Dr. Andrew S. Tanenbaum -; Wiskundig Seminarium -; Vrije Universiteit -; Postbox 7161 -; 1007 MC Amsterdam -; The Netherlands -; - -/* Author: J.W. Stevenson */ - - - mes 2,_EM_WSIZE,_EM_PSIZE - -#define TARLB 0 -#define DESCR _EM_PSIZE - -#define NEWPC 0 -#define SAVSP _EM_PSIZE - -#define D_PC 0 -#define D_SP _EM_PSIZE -#define D_LB _EM_PSIZE+_EM_PSIZE - -#define LOCLB 0-_EM_PSIZE - -; _gto is called with two arguments: -; - pointer to the label descriptor (DESCR) -; - local base (LB) of target procedure (TARLB) -; the label descriptor contains two items: -; - label address i.e. new PC (NEWPC) -; - offset in target procedure frame (SAVSP) -; using this offset and the LB of the target procedure, the address of -; of local variable of the target procedure is constructed. -; the target procedure must have stored the correct target SP there. - -descr - bss 3*_EM_PSIZE,0,0 - - exp $_gto - pro $_gto,_EM_PSIZE - lal DESCR - loi _EM_PSIZE - adp NEWPC - loi _EM_PSIZE - lae descr+D_PC - sti _EM_PSIZE - lal TARLB - loi _EM_PSIZE - zer _EM_PSIZE - cmp - zeq *1 - lal TARLB - loi _EM_PSIZE - bra *2 -1 - lae _m_lb - loi _EM_PSIZE -2 - lal LOCLB - sti _EM_PSIZE - lal LOCLB - loi _EM_PSIZE - lal DESCR - loi _EM_PSIZE - adp SAVSP - loi _EM_WSIZE ; or _EM_PSIZE ? - ads _EM_WSIZE ; or _EM_PSIZE ? - loi _EM_PSIZE - lae descr+D_SP - sti _EM_PSIZE - lal LOCLB - loi _EM_PSIZE - lae descr+D_LB - sti _EM_PSIZE - gto descr - end ? diff --git a/lib/libp/head_pc.e b/lib/libp/head_pc.e deleted file mode 100755 index 63ad6ae5d..000000000 --- a/lib/libp/head_pc.e +++ /dev/null @@ -1,3 +0,0 @@ -# -; $Header$ - mes 2,_EM_WSIZE,_EM_PSIZE diff --git a/lib/libp/hlt.c b/lib/libp/hlt.c deleted file mode 100755 index 0c04c592e..000000000 --- a/lib/libp/hlt.c +++ /dev/null @@ -1,35 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include - -extern struct file **_extfl; -extern int _extflc; -extern _cls(); -extern _exit(); - -_hlt(ecode) int ecode; { - int i; - - for (i = 0; i < _extflc; i++) - if (_extfl[i] != (struct file *) 0) - _cls(_extfl[i]); - _exit(ecode); -} diff --git a/lib/libp/hol0.e b/lib/libp/hol0.e deleted file mode 100755 index d84d7731f..000000000 --- a/lib/libp/hol0.e +++ /dev/null @@ -1,29 +0,0 @@ -# - -; $Header$ -; -; (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. -; -; This product is part of the Amsterdam Compiler Kit. -; -; Permission to use, sell, duplicate or disclose this software must be -; obtained in writing. Requests for such permissions may be sent to -; -; Dr. Andrew S. Tanenbaum -; Wiskundig Seminarium -; Vrije Universiteit -; Postbox 7161 -; 1007 MC Amsterdam -; The Netherlands -; -; - - mes 2,_EM_WSIZE,_EM_PSIZE - -; _hol0 return the address of the ABS block (hol0) - - exp $_hol0 - pro $_hol0,0 - lae 0 - ret _EM_PSIZE - end ? diff --git a/lib/libp/incpt.c b/lib/libp/incpt.c deleted file mode 100755 index 5818a8604..000000000 --- a/lib/libp/incpt.c +++ /dev/null @@ -1,75 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include -#include - -#define EINTR 4 - -extern int errno; -extern _trp(); -extern int _read(); - -_incpt(f) struct file *f; { - - if (f->flags & EOFBIT) - _trp(EEOF); - f->flags |= WINDOW; - f->flags &= ~ELNBIT; -#ifdef CPM - do { -#endif - f->ptr += f->size; - if (f->count == 0) { - f->ptr = f->bufadr; - for(;;) { - f->count=_read(f->ufd,f->bufadr,f->buflen); - if ( f->count<0 ) { - if (errno != EINTR) _trp(EREAD) ; - continue ; - } - break ; - } - if (f->count == 0) { - f->flags |= EOFBIT; - *f->ptr = '\0'; - return; - } - } - if ((f->count -= f->size) < 0) - _trp(EFTRUNC); -#ifdef CPM - } while ((f->flags&TXTBIT) && *f->ptr == '\r'); -#endif - if (f->flags & TXTBIT) { - if (*f->ptr & 0200) - _trp(EASCII); - if (*f->ptr == '\n') { - f->flags |= ELNBIT; - *f->ptr = ' '; - } -#ifdef CPM - if (*f->ptr == 26) { - f->flags |= EOFBIT; - *f->ptr = 0; - } -#endif - } -} diff --git a/lib/libp/ini.c b/lib/libp/ini.c deleted file mode 100755 index 149bbe444..000000000 --- a/lib/libp/ini.c +++ /dev/null @@ -1,72 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include -#include - -extern (*_sig())(); -extern _catch(); -#ifndef CPM -extern int _isatty(); -#endif - -struct file **_extfl; -int _extflc; /* number of external files */ -char *_m_lb; /* LB of _m_a_i_n */ -struct file *_curfil; /* points to file struct in case of errors */ -int _pargc; -char **_pargv; -char ***_penviron; -int _fp_hook = 1; /* This is for Minix, but does not harm others */ - -_ini(args,c,p,mainlb) char *args,*mainlb; int c; struct file **p; { - struct file *f; - char buf[128]; - - _pargc= *(int *)args; args += sizeof (int); - _pargv= *(char ***)args; - _sig(_catch); - _extfl = p; - _extflc = c; - if( !c ) return; - _m_lb = mainlb; - if ( (f = _extfl[0]) != (struct file *) 0) { - f->ptr = f->bufadr; - f->flags = MAGIC|TXTBIT; - f->fname = "INPUT"; - f->ufd = 0; - f->size = 1; - f->count = 0; - f->buflen = PC_BUFLEN; - } - if ( (f = _extfl[1]) != (struct file *) 0) { - f->ptr = f->bufadr; - f->flags = MAGIC|TXTBIT|WRBIT|EOFBIT|ELNBIT; - f->fname = "OUTPUT"; - f->ufd = 1; - f->size = 1; -#ifdef CPM - f->count = 1; -#else - f->count = (_isatty(1) ? 1 : PC_BUFLEN); -#endif - f->buflen = f->count; - } -} diff --git a/lib/libp/log.c b/lib/libp/log.c deleted file mode 100755 index d5ba0e4e1..000000000 --- a/lib/libp/log.c +++ /dev/null @@ -1,65 +0,0 @@ -/* - * (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - * - * Author: Ceriel J.H. Jacobs - */ - -/* $Header$ */ - -#define __NO_DEFS -#include -#include - -#if __STDC__ -#include -#include -#endif -#undef HUGE -#define HUGE 1e1000 - -double -_log(x) - double x; -{ - /* Algorithm and coefficients from: - "Software manual for the elementary functions" - by W.J. Cody and W. Waite, Prentice-Hall, 1980 - */ - static double a[] = { - -0.64124943423745581147e2, - 0.16383943563021534222e2, - -0.78956112887491257267e0 - }; - static double b[] = { - -0.76949932108494879777e3, - 0.31203222091924532844e3, - -0.35667977739034646171e2, - 1.0 - }; - - extern double _fef(); - double znum, zden, z, w; - int exponent; - - if (x <= 0) { - _trp(ELOG); - return -HUGE; - } - - x = _fef(x, &exponent); - if (x > M_1_SQRT2) { - znum = (x - 0.5) - 0.5; - zden = x * 0.5 + 0.5; - } - else { - znum = x - 0.5; - zden = znum * 0.5 + 0.5; - exponent--; - } - z = znum/zden; w = z * z; - x = z + z * w * (POLYNOM2(w,a)/POLYNOM3(w,b)); - z = exponent; - x += z * (-2.121944400546905827679e-4); - return x + z * 0.693359375; -} diff --git a/lib/libp/mdi.c b/lib/libp/mdi.c deleted file mode 100755 index af9438d74..000000000 --- a/lib/libp/mdi.c +++ /dev/null @@ -1,71 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include - -extern _trp(); - -int _mdi(j,i) int j,i; { - - if (j <= 0) - _trp(EMOD); - i = i % j; - if (i < 0) - i += j; - return(i); -} - -long _mdil(j,i) long j,i; { - - if (j <= 0) - _trp(EMOD); - i = i % j; - if (i < 0) - i += j; - return(i); -} - -int _dvi(j, i) unsigned int j,i; { - int neg = 0; - - if ((int)j < 0) { - j = -(int)j; neg = 1; - } - if ((int)i < 0) { - i = -(int)i; neg = !neg; - } - i = i / j; - if (neg) return -(int)i; - return i; -} - -long _dvil(j, i) unsigned long j,i; { - int neg = 0; - - if ((long)j < 0) { - j = -(long)j; neg = 1; - } - if ((long)i < 0) { - i = -(long)i; neg = !neg; - } - i = i / j; - if (neg) return -(long)i; - return i; -} diff --git a/lib/libp/mdl.c b/lib/libp/mdl.c deleted file mode 100755 index 8c8272f44..000000000 --- a/lib/libp/mdl.c +++ /dev/null @@ -1,33 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include - -extern _trp(); - -long _mdl(j,i) long j,i; { - - if (j <= 0) - _trp(EMOD); - i = i % j; - if (i < 0) - i += j; - return(i); -} diff --git a/lib/libp/new.c b/lib/libp/new.c deleted file mode 100755 index 6ea6a304a..000000000 --- a/lib/libp/new.c +++ /dev/null @@ -1,69 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -extern _sav(); -extern _rst(); - -#define assert(x) /* nothing */ -#define UNDEF 0x8000 - -struct adm { - struct adm *next; - int size; -}; - -struct adm *_lastp = 0; -struct adm *_highp = 0; - -_new(n,pp) int n; struct adm **pp; { - struct adm *p,*q; - int *ptmp; - - n = ((n+sizeof(*p)-1) / sizeof(*p)) * sizeof(*p); - if ((p = _lastp) != 0) - do { - q = p->next; - if (q->size >= n) { - assert(q->size%sizeof(adm) == 0); - if ((q->size -= n) == 0) { - if (p == q) - p = 0; - else - p->next = q->next; - if (q == _highp) - _highp = p; - } - _lastp = p; - p = (struct adm *)((char *)q + q->size); - q = (struct adm *)((char *)p + n); - goto initialize; - } - p = q; - } while (p != _lastp); - /*no free block big enough*/ - _sav(&p); - q = (struct adm *)((char *)p + n); - _rst(&q); -initialize: - *pp = p; - ptmp = (int *)p; - while (ptmp < (int *)q) - *ptmp++ = UNDEF; -} diff --git a/lib/libp/nfa.c b/lib/libp/nfa.c deleted file mode 100755 index cfdb9af4d..000000000 --- a/lib/libp/nfa.c +++ /dev/null @@ -1,16 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1990 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - */ - -/* Author: Hans van Eck */ - -#include - -extern _trp(); - -_nfa(bool) -{ - if (! bool) _trp(EFUNASS); -} diff --git a/lib/libp/nobuff.c b/lib/libp/nobuff.c deleted file mode 100755 index 10f80cb48..000000000 --- a/lib/libp/nobuff.c +++ /dev/null @@ -1,33 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include - -extern _flush(); - -/* procedure nobuff(var f:file of ?); */ - -nobuff(f) struct file *f; { - - if ((f->flags & (0377|WRBIT)) != (MAGIC|WRBIT)) - return; - _flush(f); - f->count = f->buflen = f->size; -} diff --git a/lib/libp/notext.c b/lib/libp/notext.c deleted file mode 100755 index 8a46e5f35..000000000 --- a/lib/libp/notext.c +++ /dev/null @@ -1,23 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -#include - -notext(f) struct file *f; { - f->flags &= ~TXTBIT; -} diff --git a/lib/libp/opn.c b/lib/libp/opn.c deleted file mode 100755 index 2df6d3834..000000000 --- a/lib/libp/opn.c +++ /dev/null @@ -1,118 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include -#include - -extern struct file **_extfl; -extern int _extflc; -extern struct file *_curfil; -extern int _pargc; -extern char **_pargv; -extern char ***_penviron; - -extern _cls(); -extern _xcls(); -extern _trp(); -extern int _getpid(); -extern int _creat(); -extern int _open(); -extern int _close(); -extern int _unlink(); -extern long _lseek(); - -static int tmpfil() { - static char namebuf[] = "/usr/tmp/plf.xxxxx"; - int i; char *p,*q; - - i = _getpid(); - p = namebuf; - q = p + 13; - do - *q++ = (i & 07) + '0'; - while (i >>= 3); - *q = '\0'; - if ((i = _creat(p,0644)) < 0) - if ((i = _creat(p += 4,0644)) < 0) - if ((i = _creat(p += 5,0644)) < 0) - goto error; - if (_close(i) != 0) - goto error; - if ((i = _open(p,2)) < 0) - goto error; - if (_unlink(p) != 0) -error: _trp(EREWR); - return(i); -} - -static int initfl(descr,sz,f) int descr; int sz; struct file *f; { - int i; - - _curfil = f; - if (sz == 0) { - sz++; - descr |= TXTBIT; - } - for (i=0; i<_extflc; i++) - if (f == _extfl[i]) - break; - if (i >= _extflc) { /* local file */ - f->fname = "LOCAL"; - if ((descr & WRBIT) == 0 && (f->flags & 0377) == MAGIC) { - _xcls(f); - if (_lseek(f->ufd,(long)0,0) == -1) - _trp(ERESET); - } else { - _cls(f); - f->ufd = tmpfil(); - } - } else { /* external file */ - if (--i <= 0) - return(0); - if (i >= _pargc) - _trp(EARGC); - f->fname = _pargv[i]; - _cls(f); - if ((descr & WRBIT) == 0) { - if ((f->ufd = _open(f->fname,0)) < 0) - _trp(ERESET); - } else { - if ((f->ufd = _creat(f->fname,0644)) < 0) - _trp(EREWR); - } - } - f->buflen = (sz>PC_BUFLEN ? sz : PC_BUFLEN-PC_BUFLEN%sz); - f->size = sz; - f->ptr = f->bufadr; - f->flags = descr; - return(1); -} - -_opn(sz,f) int sz; struct file *f; { - - if (initfl(MAGIC,sz,f)) - f->count = 0; -} - -_cre(sz,f) int sz; struct file *f; { - - if (initfl(WRBIT|EOFBIT|ELNBIT|MAGIC,sz,f)) - f->count = f->buflen; -} diff --git a/lib/libp/outcpt.c b/lib/libp/outcpt.c deleted file mode 100755 index 98b02e5b3..000000000 --- a/lib/libp/outcpt.c +++ /dev/null @@ -1,50 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include -#include - -#define EINTR 4 - -extern int errno; -extern _trp(); -extern int _write(); - -_flush(f) struct file *f; { - int i,n; - - f->ptr = f->bufadr; - n = f->buflen - f->count; - if (n <= 0) - return; - f->count = f->buflen; - if ((i = _write(f->ufd,f->bufadr,n)) < 0 && errno == EINTR) - return; - if (i != n) - _trp(EWRITE); -} - -_outcpt(f) struct file *f; { - - f->flags &= ~ELNBIT; - f->ptr += f->size; - if ((f->count -= f->size) <= 0) - _flush(f); -} diff --git a/lib/libp/pac.c b/lib/libp/pac.c deleted file mode 100755 index 6ce3751ff..000000000 --- a/lib/libp/pac.c +++ /dev/null @@ -1,63 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include - -extern _trp(); - -#define assert(x) /* nothing */ - -#ifndef EM_WSIZE -#define EM_WSIZE _EM_WSIZE -#endif - -struct descr { - int low; - int diff; - int size; -}; - -_pac(ad,zd,zp,i,ap) int i; struct descr *ad,*zd; char *zp,*ap; { - - if (zd->diff > ad->diff || - (i -= ad->low) < 0 || - (i+zd->diff) > ad->diff) - _trp(EPACK); - ap += (i * ad->size); - i = (zd->diff + 1) * zd->size; - if (zd->size == 1) { - int *aptmp = (int *)ap; - assert(ad->size == EM_WSIZE); - while (--i >= 0) - *zp++ = *aptmp++; -#if EM_WSIZE > 2 - } else if (zd->size == 2) { - int *aptmp = (int *)ap; - short *zptmp = (short *) zp; - assert(ad->size == EM_WSIZE); - while (--i >= 0) - *zptmp++ = *aptmp++; -#endif - } else { - assert(ad->size == zd->size); - while (--i >= 0) - *zp++ = *ap++; - } -} diff --git a/lib/libp/pclose.c b/lib/libp/pclose.c deleted file mode 100755 index 88ba88aea..000000000 --- a/lib/libp/pclose.c +++ /dev/null @@ -1,27 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -#include - -extern _cls(); - -/* procedure pclose(var f:file of ??); */ - -pclose(f) struct file *f; { - _cls(f); -} diff --git a/lib/libp/pcreat.c b/lib/libp/pcreat.c deleted file mode 100755 index f1190b922..000000000 --- a/lib/libp/pcreat.c +++ /dev/null @@ -1,41 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include -#include - -extern _cls(); -extern _trp(); -extern int _creat(); - -/* procedure pcreat(var f:text; s:string); */ - -pcreat(f,s) struct file *f; char *s; { - - _cls(f); /* initializes _curfil */ - f->ptr = f->bufadr; - f->flags = WRBIT|EOFBIT|ELNBIT|TXTBIT|MAGIC; - f->fname = s; - f->size = 1; - f->count = PC_BUFLEN; - f->buflen = PC_BUFLEN; - if ((f->ufd = _creat(s,0644)) < 0) - _trp(EREWR); -} diff --git a/lib/libp/pentry.c b/lib/libp/pentry.c deleted file mode 100755 index bac8aad0c..000000000 --- a/lib/libp/pentry.c +++ /dev/null @@ -1,35 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include - -extern struct file **_extfl; -extern _wrs(); -extern _wrz(); -extern _wln(); - -procentry(name) char *name; { - struct file *f; - - f = _extfl[1]; - _wrs(5,"call ",f); - _wrz(name,f); - _wln(f); -} diff --git a/lib/libp/perrno.c b/lib/libp/perrno.c deleted file mode 100755 index 3cc6a1b6d..000000000 --- a/lib/libp/perrno.c +++ /dev/null @@ -1,25 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* function perrno:integer; extern; */ - -extern int errno; - -int perrno() { - return(errno); -} diff --git a/lib/libp/pexit.c b/lib/libp/pexit.c deleted file mode 100755 index 2b00a28ac..000000000 --- a/lib/libp/pexit.c +++ /dev/null @@ -1,33 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -#include - -extern struct file **_extfl; -extern _wrs(); -extern _wrz(); -extern _wln(); - -procexit(name) char *name; { - struct file *f; - - f = _extfl[1]; - _wrs(5,"exit ",f); - _wrz(name,f); - _wln(f); -} diff --git a/lib/libp/popen.c b/lib/libp/popen.c deleted file mode 100755 index b542c7ee3..000000000 --- a/lib/libp/popen.c +++ /dev/null @@ -1,41 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include -#include - -extern _cls(); -extern _trp(); -extern int _open(); - -/* procedure popen(var f:text; s:string); */ - -popen(f,s) struct file *f; char *s; { - - _cls(f); /* initializes _curfil */ - f->ptr = f->bufadr; - f->flags = TXTBIT|MAGIC; - f->fname = s; - f->size = 1; - f->count = 0; - f->buflen = PC_BUFLEN; - if ((f->ufd = _open(s,0)) < 0) - _trp(ERESET); -} diff --git a/lib/libp/put.c b/lib/libp/put.c deleted file mode 100755 index dcc86e196..000000000 --- a/lib/libp/put.c +++ /dev/null @@ -1,27 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -#include - -extern _wf(); -extern _outcpt(); - -_put(f) struct file *f; { - _wf(f); - _outcpt(f); -} diff --git a/lib/libp/rcka.c b/lib/libp/rcka.c deleted file mode 100755 index b08b6b0be..000000000 --- a/lib/libp/rcka.c +++ /dev/null @@ -1,25 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1990 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - */ - -/* Author: Hans van Eck */ - -#include - -extern _trp(); - -struct array_descr { - int lbound; - unsigned n_elts_min_one; - unsigned size; /* doesn't really matter */ - }; - -_rcka(descr, index) -struct array_descr *descr; -{ - if( index < descr->lbound || - index > (int) descr->n_elts_min_one + descr->lbound ) - _trp(EARRAY); -} diff --git a/lib/libp/rdc.c b/lib/libp/rdc.c deleted file mode 100755 index 17f0708a8..000000000 --- a/lib/libp/rdc.c +++ /dev/null @@ -1,31 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -#include - -extern _rf(); -extern _incpt(); - -int _rdc(f) struct file *f; { - int c; - - _rf(f); - c = *f->ptr; - _incpt(f); - return(c); -} diff --git a/lib/libp/rdi.c b/lib/libp/rdi.c deleted file mode 100755 index fa1909b81..000000000 --- a/lib/libp/rdi.c +++ /dev/null @@ -1,78 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include -#include - -extern _trp(); -extern _rf(); -extern _incpt(); - -_skipsp(f) struct file *f; { - while ((*f->ptr == ' ') || (*f->ptr == '\t')) - _incpt(f); -} - -int _getsig(f) struct file *f; { - int sign; - - if ((sign = (*f->ptr == '-')) || *f->ptr == '+') - _incpt(f); - return(sign); -} - -int _fstdig(f) struct file *f; { - int ch; - - ch = *f->ptr - '0'; - if ((unsigned) ch > 9) { - _trp(EDIGIT); - ch = 0; - } - return(ch); -} - -int _nxtdig(f) struct file *f; { - int ch; - - _incpt(f); - ch = *f->ptr - '0'; - if ((unsigned) ch > 9) - return(-1); - return(ch); -} - -int _getint(f) struct file *f; { - int is_signed,i,ch; - - is_signed = _getsig(f); - ch = _fstdig(f); - i = 0; - do - i = i*10 - ch; - while ((ch = _nxtdig(f)) >= 0); - return(is_signed ? i : -i); -} - -int _rdi(f) struct file *f; { - _rf(f); - _skipsp(f); - return(_getint(f)); -} diff --git a/lib/libp/rdl.c b/lib/libp/rdl.c deleted file mode 100755 index 76fa6a3f8..000000000 --- a/lib/libp/rdl.c +++ /dev/null @@ -1,41 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include - -extern _rf(); -extern _skipsp(); -extern int _getsig(); -extern int _fstdig(); -extern int _nxtdig(); - -long _rdl(f) struct file *f; { - int is_signed,ch; long l; - - _rf(f); - _skipsp(f); - is_signed = _getsig(f); - ch = _fstdig(f); - l = 0; - do - l = l*10 - ch; - while ((ch = _nxtdig(f)) >= 0); - return(is_signed ? l : -l); -} diff --git a/lib/libp/rdr.c b/lib/libp/rdr.c deleted file mode 100755 index a9ea1c8f3..000000000 --- a/lib/libp/rdr.c +++ /dev/null @@ -1,78 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include - -#define BIG 1e17 - -extern _rf(); -extern _incpt(); -extern _skipsp(); -extern int _getsig(); -extern int _getint(); -extern int _fstdig(); -extern int _nxtdig(); - -static double r; -static int pow10; - -static dig(ch) int ch; { - - if (r>BIG) - pow10++; - else - r = r*10.0 + ch; -} - -double _rdr(f) struct file *f; { - int i; double e; int is_signed,ch; - - r = 0; - pow10 = 0; - _rf(f); - _skipsp(f); - is_signed = _getsig(f); - ch = _fstdig(f); - do - dig(ch); - while ((ch = _nxtdig(f)) >= 0); - if (*f->ptr == '.') { - _incpt(f); - ch = _fstdig(f); - do { - dig(ch); - pow10--; - } while ((ch = _nxtdig(f)) >= 0); - } - if ((*f->ptr == 'e') || (*f->ptr == 'E')) { - _incpt(f); - pow10 += _getint(f); - } - if ((i = pow10) < 0) - i = -i; - e = 1.0; - while (--i >= 0) - e *= 10.0; - if (pow10<0) - r /= e; - else - r *= e; - return(is_signed? -r : r); -} diff --git a/lib/libp/rf.c b/lib/libp/rf.c deleted file mode 100755 index dee966838..000000000 --- a/lib/libp/rf.c +++ /dev/null @@ -1,35 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -#include -#include - -extern struct file *_curfil; -extern _trp(); -extern _incpt(); - -_rf(f) struct file *f; { - - _curfil = f; - if ((f->flags&0377) != MAGIC) - _trp(EBADF); - if (f->flags & WRBIT) - _trp(EREADF); - if ((f->flags & WINDOW) == 0) - _incpt(f); -} diff --git a/lib/libp/rln.c b/lib/libp/rln.c deleted file mode 100755 index 16e93c0ce..000000000 --- a/lib/libp/rln.c +++ /dev/null @@ -1,30 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -#include - -extern _rf(); -extern _incpt(); - -_rln(f) struct file *f; { - - _rf(f); - while ((f->flags & ELNBIT) == 0) - _incpt(f); - f->flags &= ~WINDOW; -} diff --git a/lib/libp/rnd.c b/lib/libp/rnd.c deleted file mode 100755 index 0345caa87..000000000 --- a/lib/libp/rnd.c +++ /dev/null @@ -1,21 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -double _rnd(r) double r; { - return(r + (r<0 ? -0.5 : 0.5)); -} diff --git a/lib/libp/sav.e b/lib/libp/sav.e deleted file mode 100755 index 317567833..000000000 --- a/lib/libp/sav.e +++ /dev/null @@ -1,49 +0,0 @@ -# -; $Header$ -; (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. -; -; This product is part of the Amsterdam Compiler Kit. -; -; Permission to use, sell, duplicate or disclose this software must be -; obtained in writing. Requests for such permissions may be sent to -; -; Dr. Andrew S. Tanenbaum -; Wiskundig Seminarium -; Vrije Universiteit -; Postbox 7161 -; 1007 MC Amsterdam -; The Netherlands -; - -/* Author: J.W. Stevenson */ - - - mes 2,_EM_WSIZE,_EM_PSIZE - -#define PTRAD 0 - -#define HP 2 - -; _sav called with one parameter: -; - address of pointer variable (PTRAD) - - exp $_sav - pro $_sav,0 - lor HP - lal PTRAD - loi _EM_PSIZE - sti _EM_PSIZE - ret 0 - end ? - -; _rst is called with one parameter: -; - address of pointer variable (PTRAD) - - exp $_rst - pro $_rst,0 - lal PTRAD - loi _EM_PSIZE - loi _EM_PSIZE - str HP - ret 0 - end ? diff --git a/lib/libp/sig.e b/lib/libp/sig.e deleted file mode 100755 index 8aec2651e..000000000 --- a/lib/libp/sig.e +++ /dev/null @@ -1,35 +0,0 @@ -#define PROC 0 - -; $Header$ -; -; (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. -; -; This product is part of the Amsterdam Compiler Kit. -; -; Permission to use, sell, duplicate or disclose this software must be -; obtained in writing. Requests for such permissions may be sent to -; -; Dr. Andrew S. Tanenbaum -; Wiskundig Seminarium -; Vrije Universiteit -; Postbox 7161 -; 1007 MC Amsterdam -; The Netherlands -; -; - - mes 2,_EM_WSIZE,_EM_PSIZE - -; _sig is called with one parameter: -; - procedure instance identifier (PROC) -; and returns nothing. -; only the procedure identifier inside the PROC is used. - - exp $_sig - pro $_sig,0 - lal PROC - loi _EM_PSIZE - sig - asp _EM_PSIZE - ret 0 ; ignore the result of sig - end ? diff --git a/lib/libp/sin.c b/lib/libp/sin.c deleted file mode 100755 index 47132a45d..000000000 --- a/lib/libp/sin.c +++ /dev/null @@ -1,101 +0,0 @@ -/* - * (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - * - * Author: Ceriel J.H. Jacobs - */ - -/* $Header$ */ - -#define __NO_DEFS -#include - -#if __STDC__ -#include -#endif - -static double -sinus(x, cos_flag) - double x; -{ - /* Algorithm and coefficients from: - "Software manual for the elementary functions" - by W.J. Cody and W. Waite, Prentice-Hall, 1980 - */ - - static double r[] = { - -0.16666666666666665052e+0, - 0.83333333333331650314e-2, - -0.19841269841201840457e-3, - 0.27557319210152756119e-5, - -0.25052106798274584544e-7, - 0.16058936490371589114e-9, - -0.76429178068910467734e-12, - 0.27204790957888846175e-14 - }; - - double xsqr; - double y; - int neg = 0; - - if (x < 0) { - x = -x; - neg = 1; - } - if (cos_flag) { - neg = 0; - y = M_PI_2 + x; - } - else y = x; - - /* ??? avoid loss of significance, if y is too large, error ??? */ - - y = y * M_1_PI + 0.5; - - /* Use extended precision to calculate reduced argument. - Here we used 12 bits of the mantissa for a1. - Also split x in integer part x1 and fraction part x2. - */ -#define A1 3.1416015625 -#define A2 -8.908910206761537356617e-6 - { - double x1, x2; - extern double _fif(); - - _fif(y, 1.0, &y); - if (_fif(y, 0.5, &x1)) neg = !neg; - if (cos_flag) y -= 0.5; - x2 = _fif(x, 1.0, &x1); - x = x1 - y * A1; - x += x2; - x -= y * A2; -#undef A1 -#undef A2 - } - - if (x < 0) { - neg = !neg; - x = -x; - } - - /* ??? avoid underflow ??? */ - - y = x * x; - x += x * y * POLYNOM7(y, r); - return neg ? -x : x; -} - -double -_sin(x) - double x; -{ - return sinus(x, 0); -} - -double -_cos(x) - double x; -{ - if (x < 0) x = -x; - return sinus(x, 1); -} diff --git a/lib/libp/sqt.c b/lib/libp/sqt.c deleted file mode 100755 index 5f6f1b9d7..000000000 --- a/lib/libp/sqt.c +++ /dev/null @@ -1,72 +0,0 @@ -/* - * (c) copyright 1988 by the Vrije Universiteit, Amsterdam, The Netherlands. - * See the copyright notice in the ACK home directory, in the file "Copyright". - * - * Author: Ceriel J.H. Jacobs - */ - -/* $Header$ */ -#define __NO_DEFS -#include -#include -extern _trp(); - -#define NITER 5 - -static double -Ldexp(fl,exp) - double fl; - int exp; -{ - extern double _fef(); - int sign = 1; - int currexp; - - if (fl<0) { - fl = -fl; - sign = -1; - } - fl = _fef(fl,&currexp); - exp += currexp; - if (exp > 0) { - while (exp>30) { - fl *= (double) (1L << 30); - exp -= 30; - } - fl *= (double) (1L << exp); - } - else { - while (exp<-30) { - fl /= (double) (1L << 30); - exp += 30; - } - fl /= (double) (1L << -exp); - } - return sign * fl; -} - -double -_sqt(x) - double x; -{ - extern double _fef(); - int exponent; - double val; - - if (x <= 0) { - if (x < 0) _trp(ESQT); - return 0; - } - - val = _fef(x, &exponent); - if (exponent & 1) { - exponent--; - val *= 2; - } - val = Ldexp(val + 1.0, exponent/2 - 1); - /* was: val = (val + 1.0)/2.0; val = Ldexp(val, exponent/2); */ - for (exponent = NITER - 1; exponent >= 0; exponent--) { - val = (val + x / val) / 2.0; - } - return val; -} diff --git a/lib/libp/string.c b/lib/libp/string.c deleted file mode 100755 index a36f608a0..000000000 --- a/lib/libp/string.c +++ /dev/null @@ -1,60 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* function strbuf(var b:charbuf):string; */ - -char *strbuf(s) char *s; { - return(s); -} - -/* function strtobuf(s:string; var b:charbuf; blen:integer):integer; */ - -int strtobuf(s,b,l) char *s,*b; { - int i; - - i = 0; - while (--l>=0) { - if ((*b++ = *s++) == 0) - break; - i++; - } - return(i); -} - -/* function strlen(s:string):integer; */ - -int strlen(s) char *s; { - int i; - - i = 0; - while (*s++) - i++; - return(i); -} - -/* function strfetch(s:string; i:integer):char; */ - -int strfetch(s,i) char *s; { - return(s[i-1]); -} - -/* procedure strstore(s:string; i:integer; c:char); */ - -strstore(s,i,c) char *s; { - s[i-1] = c; -} diff --git a/lib/libp/trap.e b/lib/libp/trap.e deleted file mode 100755 index cb4424ba9..000000000 --- a/lib/libp/trap.e +++ /dev/null @@ -1,33 +0,0 @@ -# - -; $Header$ -; -; (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. -; -; This product is part of the Amsterdam Compiler Kit. -; -; Permission to use, sell, duplicate or disclose this software must be -; obtained in writing. Requests for such permissions may be sent to -; -; Dr. Andrew S. Tanenbaum -; Wiskundig Seminarium -; Vrije Universiteit -; Postbox 7161 -; 1007 MC Amsterdam -; The Netherlands -; -; - - mes 2,_EM_WSIZE,_EM_PSIZE - -#define TRAP 0 - -; trap is called with one parameter: -; - trap number (TRAP) - - exp $trap - pro $trap,0 - lol TRAP - trp - ret 0 - end ? diff --git a/lib/libp/trp.e b/lib/libp/trp.e deleted file mode 100755 index 430669aa7..000000000 --- a/lib/libp/trp.e +++ /dev/null @@ -1,38 +0,0 @@ -# - -; $Header$ -; -; (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. -; -; This product is part of the Amsterdam Compiler Kit. -; -; Permission to use, sell, duplicate or disclose this software must be -; obtained in writing. Requests for such permissions may be sent to -; -; Dr. Andrew S. Tanenbaum -; Wiskundig Seminarium -; Vrije Universiteit -; Postbox 7161 -; 1007 MC Amsterdam -; The Netherlands -; -; - - mes 2,_EM_WSIZE,_EM_PSIZE - -#define TRAP 0 - -; _trp() and trap() perform the same function, -; but have to be separate. trap exists to facilitate the user. -; _trp is there for the system, trap cannot be used for that purpose -; because a user might define its own Pascal routine called trap. - -; _trp is called with one parameter: -; - trap number (TRAP) - - exp $_trp - pro $_trp,0 - lol TRAP - trp - ret 0 - end ? diff --git a/lib/libp/unp.c b/lib/libp/unp.c deleted file mode 100755 index d9d5a5fa8..000000000 --- a/lib/libp/unp.c +++ /dev/null @@ -1,65 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include - -extern _trp(); - -#define assert(x) /* nothing */ - -#ifndef EM_WSIZE -#define EM_WSIZE _EM_WSIZE -#endif - -struct descr { - int low; - int diff; - int size; -}; - -_unp(ad,zd,i,ap,zp,noext) int i; struct descr *ad,*zd; char *ap,*zp; int noext; { - - if (zd->diff > ad->diff || - (i -= ad->low) < 0 || - (i+zd->diff) > ad->diff) - _trp(EUNPACK); - ap += (i * ad->size); - i = (zd->diff + 1) * zd->size; - if (zd->size == 1) { - int *aptmp = (int *) ap; - assert(ad->size == EM_WSIZE); - while (--i >= 0) - if (noext) *aptmp++ = *zp++ & 0377; - else *aptmp++ = *zp++; -#if EM_WSIZE > 2 - } else if (zd->size == 2) { - int *aptmp = (int *) ap; - short *zptmp = (short *) zp; - assert(ad->size == EM_WSIZE); - while (--i >= 0) - if (noext) *aptmp++ = *zptmp++ & 0177777; - else *aptmp++ = *zptmp++; -#endif - } else { - assert(ad->size == zd->size); - while (--i >= 0) - *ap++ = *zp++; - } -} diff --git a/lib/libp/uread.c b/lib/libp/uread.c deleted file mode 100755 index ce700470e..000000000 --- a/lib/libp/uread.c +++ /dev/null @@ -1,25 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* function uread(fd:integer; var b:buf; n:integer):integer; */ - -extern int _read(); - -int uread(fd,b,n) char *b; int fd,n; { - return(_read(fd,b,n)); -} diff --git a/lib/libp/uwrite.c b/lib/libp/uwrite.c deleted file mode 100755 index 1a1a20c0a..000000000 --- a/lib/libp/uwrite.c +++ /dev/null @@ -1,25 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* function uwrite(fd:integer; var b:buf; n:integer):integer; */ - -extern int _write(); - -int uwrite(fd,b,n) char *b; int fd,n; { - return(_write(fd,b,n)); -} diff --git a/lib/libp/wdw.c b/lib/libp/wdw.c deleted file mode 100755 index 33ac2f77a..000000000 --- a/lib/libp/wdw.c +++ /dev/null @@ -1,30 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -#include - -extern struct file *_curfil; -extern _incpt(); - -char *_wdw(f) struct file *f; { - - _curfil = f; - if ((f->flags & (WINDOW|WRBIT|0377)) == MAGIC) - _incpt(f); - return(f->ptr); -} diff --git a/lib/libp/wf.c b/lib/libp/wf.c deleted file mode 100755 index cd0f2b9f0..000000000 --- a/lib/libp/wf.c +++ /dev/null @@ -1,32 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -#include -#include - -extern struct file *_curfil; -extern _trp(); - -_wf(f) struct file *f; { - - _curfil = f; - if ((f->flags&0377) != MAGIC) - _trp(EBADF); - if ((f->flags & WRBIT) == 0) - _trp(EWRITEF); -} diff --git a/lib/libp/wrc.c b/lib/libp/wrc.c deleted file mode 100755 index 95b6ea25e..000000000 --- a/lib/libp/wrc.c +++ /dev/null @@ -1,41 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -#include - -extern _wf(); -extern _outcpt(); - -_wrc(c,f) int c; struct file *f; { - *f->ptr = c; - _wf(f); - _outcpt(f); -} - -_wln(f) struct file *f; { -#ifdef CPM - _wrc('\r',f); -#endif - _wrc('\n',f); - f->flags |= ELNBIT; -} - -_pag(f) struct file *f; { - _wrc('\014',f); - f->flags |= ELNBIT; -} diff --git a/lib/libp/wrf.c b/lib/libp/wrf.c deleted file mode 100755 index 5ee6e629a..000000000 --- a/lib/libp/wrf.c +++ /dev/null @@ -1,68 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include -#include - -extern _wstrin(); -extern char *_fcvt(); - -#define assert(x) /* nothing */ - -#if __STDC__ -#include -#define HUGE_DIG DBL_MAX_10_EXP /* log10(maxreal) */ -#else -#define HUGE_DIG 400 /* log10(maxreal) */ -#endif -#define PREC_DIG 80 /* the maximum digits returned by _fcvt() */ -#define FILL_CHAR '0' /* char printed if all of _fcvt() used */ -#define BUFSIZE HUGE_DIG + PREC_DIG + 3 - -_wrf(n,w,r,f) int n,w; double r; struct file *f; { - char *p,*b; int s,d; char buf[BUFSIZE]; - - if ( n < 0 || w < 0) _trp(EWIDTH); - p = buf; - if (n > PREC_DIG) - n = PREC_DIG; - b = _fcvt(r,n,&d,&s); - assert(abs(d) <= HUGE_DIG); - if (s) - *p++ = '-'; - if (d<=0) - *p++ = '0'; - else - do - *p++ = (*b ? *b++ : FILL_CHAR); - while (--d > 0); - if (n > 0) - *p++ = '.'; - while (++d <= 0) { - if (--n < 0) - break; - *p++ = '0'; - } - while (--n >= 0) { - *p++ = (*b ? *b++ : FILL_CHAR); - assert(p <= buf+BUFSIZE); - } - _wstrin(w,(int)(p-buf),buf,f); -} diff --git a/lib/libp/wri.c b/lib/libp/wri.c deleted file mode 100755 index 5c06e5290..000000000 --- a/lib/libp/wri.c +++ /dev/null @@ -1,72 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -#include -#include - -extern _wstrin(); - -#ifndef EM_WSIZE -#ifdef _EM_WSIZE -#define EM_WSIZE _EM_WSIZE -#endif -#endif - -#if EM_WSIZE==4 -#define SZ 11 -#define MININT -2147483648 -#define STRMININT "-2147483648" -#endif -#if EM_WSIZE==2 -#define SZ 6 -#define MININT -32768 -#define STRMININT "-32768" -#endif -#if EM_WSIZE==1 -#define SZ 4 -#define MININT -128 -#define STRMININT "-128" -#endif - -#ifndef STRMININT -Something wrong here! -#endif - -_wsi(w,i,f) int w,i; struct file *f; { - char *p; int j; char buf[SZ]; - - if (w < 0) _trp(EWIDTH); - p = &buf[SZ]; - if ((j=i) < 0) { - if (i == MININT) { - _wstrin(w,SZ,STRMININT,f); - return; - } - j = -j; - } - do - *--p = '0' + j%10; - while (j /= 10); - if (i<0) - *--p = '-'; - _wstrin(w,(int)(&buf[SZ]-p),p,f); -} - -_wri(i,f) int i; struct file *f; { - _wsi(SZ,i,f); -} diff --git a/lib/libp/wrl.c b/lib/libp/wrl.c deleted file mode 100755 index f5a3d67ca..000000000 --- a/lib/libp/wrl.c +++ /dev/null @@ -1,51 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include -#include - -extern _wstrin(); - -#define MAXNEGLONG -2147483648 - -_wsl(w,l,f) int w; long l; struct file *f; { - char *p,c; long j; char buf[11]; - - if (w < 0) _trp(EWIDTH); - p = &buf[11]; - if ((j=l) < 0) { - if (l == MAXNEGLONG) { - _wstrin(w,11,"-2147483648",f); - return; - } - j = -j; - } - do { - c = j%10; - *--p = c + '0'; - } while (j /= 10); - if (l<0) - *--p = '-'; - _wstrin(w,(int)(&buf[11]-p),p,f); -} - -_wrl(l,f) long l; struct file *f; { - _wsl(11,l,f); -} diff --git a/lib/libp/wrr.c b/lib/libp/wrr.c deleted file mode 100755 index 5c2df66e7..000000000 --- a/lib/libp/wrr.c +++ /dev/null @@ -1,67 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include -#include - -extern _wstrin(); -extern char *_ecvt(); - -#define PREC_DIG 80 /* maximum digits produced by _ecvt() */ - -_wsr(w,r,f) int w; double r; struct file *f; { - char *p,*b; int s,d,i; char buf[PREC_DIG+7]; - - if (w < 0) _trp(EWIDTH); - p = buf; - if ((i = w-6) < 2) - i = 2; - b = _ecvt(r,i,&d,&s); - *p++ = s? '-' : ' '; - if (*b == '0') - d++; - *p++ = *b++; - *p++ = '.'; - while (--i > 0) - *p++ = *b++; - *p++ = 'e'; - d--; - if (d < 0) { - d = -d; - *p++ = '-'; - } else - *p++ = '+'; - - if (d >= 1000) { - *p++ = '*'; - *p++ = '*'; - *p++ = '*'; - } - else { - *p++ = '0' + d/100; - *p++ = '0' + (d/10) % 10; - *p++ = '0' + d%10; - } - _wstrin(w,(int)(p-buf),buf,f); -} - -_wrr(r,f) double r; struct file *f; { - _wsr(13,r,f); -} diff --git a/lib/libp/wrs.c b/lib/libp/wrs.c deleted file mode 100755 index a10951c61..000000000 --- a/lib/libp/wrs.c +++ /dev/null @@ -1,68 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -/* Author: J.W. Stevenson */ - -#include -#include - -extern _wf(); -extern _outcpt(); - -_wstrin(width,len,buf,f) int width,len; char *buf; struct file *f; { - - _wf(f); - for (width -= len; width>0; width--) { - *f->ptr = ' '; - _outcpt(f); - } - while (--len >= 0) { - *f->ptr = *buf++; - _outcpt(f); - } -} - -_wsc(w,c,f) int w; char c; struct file *f; { - - if (w < 0) _trp(EWIDTH); - _wss(w,1,&c,f); -} - -_wss(w,len,s,f) int w,len; char *s; struct file *f; { - - if (w < 0 || len < 0) _trp(EWIDTH); - if (w < len) - len = w; - _wstrin(w,len,s,f); -} - -_wrs(len,s,f) int len; char *s; struct file *f; { - if (len < 0) _trp(EWIDTH); - _wss(len,len,s,f); -} - -_wsb(w,b,f) int w,b; struct file *f; { - if (b) - _wss(w,4,"true",f); - else - _wss(w,5,"false",f); -} - -_wrb(b,f) int b; struct file *f; { - _wsb(5,b,f); -} diff --git a/lib/libp/wrz.c b/lib/libp/wrz.c deleted file mode 100755 index 220c66a49..000000000 --- a/lib/libp/wrz.c +++ /dev/null @@ -1,38 +0,0 @@ -/* $Header$ */ -/* - * (c) copyright 1983 by the Vrije Universiteit, Amsterdam, The Netherlands. - * - * This product is part of the Amsterdam Compiler Kit. - * - * Permission to use, sell, duplicate or disclose this software must be - * obtained in writing. Requests for such permissions may be sent to - * - * Dr. Andrew S. Tanenbaum - * Wiskundig Seminarium - * Vrije Universiteit - * Postbox 7161 - * 1007 MC Amsterdam - * The Netherlands - * - */ - -#include -#include - -extern _wss(); -extern _wrs(); - -_wsz(w,s,f) int w; char *s; struct file *f; { - char *p; - - if (w < 0) _trp(EWIDTH); - for (p=s; *p; p++); - _wss(w,(int)(p-s),s,f); -} - -_wrz(s,f) char *s; struct file *f; { - char *p; - - for (p=s; *p; p++); - _wrs((int)(p-s),s,f); -} diff --git a/lib/liby/Makefile b/lib/liby/Makefile deleted file mode 100755 index 55923a48d..000000000 --- a/lib/liby/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for lib/liby. - -CFLAGS = -O -D_MINIX -D_POSIX_SOURCE -wo -CC1 = $(CC) $(CFLAGS) -c - -LIBRARY = ../liby.a -all: $(LIBRARY) - -OBJECTS = \ - $(LIBRARY)(main.o) \ - $(LIBRARY)(yyerror.o) \ - -$(LIBRARY): $(OBJECTS) - aal cr $@ *.o - rm *.o - -$(LIBRARY)(main.o): main.c - $(CC1) main.c - -$(LIBRARY)(yyerror.o): yyerror.c - $(CC1) yyerror.c diff --git a/lib/liby/main.c b/lib/liby/main.c deleted file mode 100755 index bd5041975..000000000 --- a/lib/liby/main.c +++ /dev/null @@ -1,41 +0,0 @@ -/*- - * Copyright (c) 1990 The Regents of the University of California. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ - -#if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)main.c 5.3 (Berkeley) 1/13/91"; -#endif /* not lint */ - -main() -{ - exit(yyparse()); -} diff --git a/lib/liby/yyerror.c b/lib/liby/yyerror.c deleted file mode 100755 index f20628e64..000000000 --- a/lib/liby/yyerror.c +++ /dev/null @@ -1,45 +0,0 @@ -/*- - * Copyright (c) 1990 The Regents of the University of California. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer. - * 2. Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors - * may be used to endorse or promote products derived from this software - * without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND - * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS - * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) - * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT - * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY - * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - */ - -#if defined(LIBC_SCCS) && !defined(lint) -static char sccsid[] = "@(#)yyerror.c 5.2 (Berkeley) 5/15/90"; -#endif /* not lint */ - -#include - -yyerror(msg) -char *msg; -{ - (void)fprintf(stderr, "%s\n", msg); - return(0); -} diff --git a/lib/math/Makefile b/lib/math/Makefile deleted file mode 100755 index bc9b15600..000000000 --- a/lib/math/Makefile +++ /dev/null @@ -1,162 +0,0 @@ -#Generated from ./math/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../generate.sh ./math ../obj-ack ../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../obj-ack/libc.a - -../obj-ack/libc.a: ../obj-ack/libc.a(asin.o) -../obj-ack/libc.a: ../obj-ack/libc.a(atan.o) -../obj-ack/libc.a: ../obj-ack/libc.a(atan2.o) -../obj-ack/libc.a: ../obj-ack/libc.a(ceil.o) -../obj-ack/libc.a: ../obj-ack/libc.a(exp.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fabs.o) -../obj-ack/libc.a: ../obj-ack/libc.a(floor.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fmod.o) -../obj-ack/libc.a: ../obj-ack/libc.a(hugeval.o) -../obj-ack/libc.a: ../obj-ack/libc.a(log.o) -../obj-ack/libc.a: ../obj-ack/libc.a(log10.o) -../obj-ack/libc.a: ../obj-ack/libc.a(pow.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sin.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sinh.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sqrt.o) -../obj-ack/libc.a: ../obj-ack/libc.a(tan.o) -../obj-ack/libc.a: ../obj-ack/libc.a(tanh.o) - -../obj-ack/libc.a: - ar cr ../obj-ack/libc.a ../obj-ack/./math/*.o - rm ../obj-ack/./math/*.o - -../obj-ack/libc.a(asin.o): asin.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./math/asin.o asin.c -../obj-ack/libc.a(atan.o): atan.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./math/atan.o atan.c -../obj-ack/libc.a(atan2.o): atan2.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./math/atan2.o atan2.c -../obj-ack/libc.a(ceil.o): ceil.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./math/ceil.o ceil.c -../obj-ack/libc.a(exp.o): exp.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./math/exp.o exp.c -../obj-ack/libc.a(fabs.o): fabs.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./math/fabs.o fabs.c -../obj-ack/libc.a(floor.o): floor.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./math/floor.o floor.c -../obj-ack/libc.a(fmod.o): fmod.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./math/fmod.o fmod.c -../obj-ack/libc.a(hugeval.o): hugeval.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./math/hugeval.o hugeval.c -../obj-ack/libc.a(log.o): log.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./math/log.o log.c -../obj-ack/libc.a(log10.o): log10.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./math/log10.o log10.c -../obj-ack/libc.a(pow.o): pow.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./math/pow.o pow.c -../obj-ack/libc.a(sin.o): sin.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./math/sin.o sin.c -../obj-ack/libc.a(sinh.o): sinh.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./math/sinh.o sinh.c -../obj-ack/libc.a(sqrt.o): sqrt.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./math/sqrt.o sqrt.c -../obj-ack/libc.a(tan.o): tan.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./math/tan.o tan.c -../obj-ack/libc.a(tanh.o): tanh.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./math/tanh.o tanh.c - -all-gnu: ../obj-gnu/libc.a - -../obj-gnu/libc.a: ../obj-gnu/./math/asin.o -../obj-gnu/libc.a: ../obj-gnu/./math/atan.o -../obj-gnu/libc.a: ../obj-gnu/./math/atan2.o -../obj-gnu/libc.a: ../obj-gnu/./math/ceil.o -../obj-gnu/libc.a: ../obj-gnu/./math/exp.o -../obj-gnu/libc.a: ../obj-gnu/./math/fabs.o -../obj-gnu/libc.a: ../obj-gnu/./math/floor.o -../obj-gnu/libc.a: ../obj-gnu/./math/fmod.o -../obj-gnu/libc.a: ../obj-gnu/./math/hugeval.o -../obj-gnu/libc.a: ../obj-gnu/./math/log.o -../obj-gnu/libc.a: ../obj-gnu/./math/log10.o -../obj-gnu/libc.a: ../obj-gnu/./math/pow.o -../obj-gnu/libc.a: ../obj-gnu/./math/sin.o -../obj-gnu/libc.a: ../obj-gnu/./math/sinh.o -../obj-gnu/libc.a: ../obj-gnu/./math/sqrt.o -../obj-gnu/libc.a: ../obj-gnu/./math/tan.o -../obj-gnu/libc.a: ../obj-gnu/./math/tanh.o - -../obj-gnu/libc.a: - gar cr ../obj-gnu/libc.a $? - -../obj-gnu/./math/asin.o: asin.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./math/asin.o asin.c - -../obj-gnu/./math/atan.o: atan.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./math/atan.o atan.c - -../obj-gnu/./math/atan2.o: atan2.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./math/atan2.o atan2.c - -../obj-gnu/./math/ceil.o: ceil.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./math/ceil.o ceil.c - -../obj-gnu/./math/exp.o: exp.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./math/exp.o exp.c - -../obj-gnu/./math/fabs.o: fabs.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./math/fabs.o fabs.c - -../obj-gnu/./math/floor.o: floor.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./math/floor.o floor.c - -../obj-gnu/./math/fmod.o: fmod.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./math/fmod.o fmod.c - -../obj-gnu/./math/hugeval.o: hugeval.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./math/hugeval.o hugeval.c - -../obj-gnu/./math/log.o: log.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./math/log.o log.c - -../obj-gnu/./math/log10.o: log10.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./math/log10.o log10.c - -../obj-gnu/./math/pow.o: pow.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./math/pow.o pow.c - -../obj-gnu/./math/sin.o: sin.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./math/sin.o sin.c - -../obj-gnu/./math/sinh.o: sinh.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./math/sinh.o sinh.c - -../obj-gnu/./math/sqrt.o: sqrt.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./math/sqrt.o sqrt.c - -../obj-gnu/./math/tan.o: tan.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./math/tan.o tan.c - -../obj-gnu/./math/tanh.o: tanh.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./math/tanh.o tanh.c - - - - -clean:: - rm -f ../obj-ack/./math/* - rm -f ../obj-gnu/./math/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/other/Makefile b/lib/other/Makefile deleted file mode 100755 index e21c8234b..000000000 --- a/lib/other/Makefile +++ /dev/null @@ -1,526 +0,0 @@ -#Generated from ./other/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../generate.sh ./other ../obj-ack ../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../obj-ack/libc.a - -../obj-ack/libc.a: ../obj-ack/libc.a(_allocmem.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_brk.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_devctl.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_findproc.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_freemem.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_getnpid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_getnprocnr.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_getpprocnr.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_getprocnr.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_getsysinfo.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_reboot.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_seekdir.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_svrctl.o) -../obj-ack/libc.a: ../obj-ack/libc.a(asynchio.o) -../obj-ack/libc.a: ../obj-ack/libc.a(basename.o) -../obj-ack/libc.a: ../obj-ack/libc.a(bcmp.o) -../obj-ack/libc.a: ../obj-ack/libc.a(bcopy.o) -../obj-ack/libc.a: ../obj-ack/libc.a(bzero.o) -../obj-ack/libc.a: ../obj-ack/libc.a(configfile.o) -../obj-ack/libc.a: ../obj-ack/libc.a(crypt.o) -../obj-ack/libc.a: ../obj-ack/libc.a(ctermid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(cuserid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(environ.o) -../obj-ack/libc.a: ../obj-ack/libc.a(errno.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fdopen.o) -../obj-ack/libc.a: ../obj-ack/libc.a(ffs.o) -../obj-ack/libc.a: ../obj-ack/libc.a(flock.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fslib.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fsversion.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getgrent.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getlogin.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getpagesize.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getpass.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getpwent.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getttyent.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getw.o) -../obj-ack/libc.a: ../obj-ack/libc.a(hypot.o) -../obj-ack/libc.a: ../obj-ack/libc.a(index.o) -../obj-ack/libc.a: ../obj-ack/libc.a(itoa.o) -../obj-ack/libc.a: ../obj-ack/libc.a(loadname.o) -../obj-ack/libc.a: ../obj-ack/libc.a(lock.o) -../obj-ack/libc.a: ../obj-ack/libc.a(lrand.o) -../obj-ack/libc.a: ../obj-ack/libc.a(lsearch.o) -../obj-ack/libc.a: ../obj-ack/libc.a(memccpy.o) -../obj-ack/libc.a: ../obj-ack/libc.a(mstats.o) -../obj-ack/libc.a: ../obj-ack/libc.a(mtab.o) -../obj-ack/libc.a: ../obj-ack/libc.a(nlist.o) -../obj-ack/libc.a: ../obj-ack/libc.a(paramvalue.o) -../obj-ack/libc.a: ../obj-ack/libc.a(peekpoke.o) -../obj-ack/libc.a: ../obj-ack/libc.a(popen.o) -../obj-ack/libc.a: ../obj-ack/libc.a(putenv.o) -../obj-ack/libc.a: ../obj-ack/libc.a(putw.o) -../obj-ack/libc.a: ../obj-ack/libc.a(random.o) -../obj-ack/libc.a: ../obj-ack/libc.a(rindex.o) -../obj-ack/libc.a: ../obj-ack/libc.a(setgroups.o) -../obj-ack/libc.a: ../obj-ack/libc.a(settimeofday.o) -../obj-ack/libc.a: ../obj-ack/libc.a(stderr.o) -../obj-ack/libc.a: ../obj-ack/libc.a(strdup.o) -../obj-ack/libc.a: ../obj-ack/libc.a(strtok_r.o) -../obj-ack/libc.a: ../obj-ack/libc.a(swab.o) -../obj-ack/libc.a: ../obj-ack/libc.a(syscall.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sysconf.o) -../obj-ack/libc.a: ../obj-ack/libc.a(syslog.o) -../obj-ack/libc.a: ../obj-ack/libc.a(telldir.o) -../obj-ack/libc.a: ../obj-ack/libc.a(termcap.o) -../obj-ack/libc.a: ../obj-ack/libc.a(ttyname.o) -../obj-ack/libc.a: ../obj-ack/libc.a(ttyslot.o) -../obj-ack/libc.a: ../obj-ack/libc.a(v8regexp.o) -../obj-ack/libc.a: ../obj-ack/libc.a(v8regsub.o) - -../obj-ack/libc.a: - ar cr ../obj-ack/libc.a ../obj-ack/./other/*.o - rm ../obj-ack/./other/*.o - -../obj-ack/libc.a(_allocmem.o): _allocmem.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/_allocmem.o _allocmem.c -../obj-ack/libc.a(_brk.o): _brk.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/_brk.o _brk.c -../obj-ack/libc.a(_devctl.o): _devctl.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/_devctl.o _devctl.c -../obj-ack/libc.a(_findproc.o): _findproc.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/_findproc.o _findproc.c -../obj-ack/libc.a(_freemem.o): _freemem.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/_freemem.o _freemem.c -../obj-ack/libc.a(_getnpid.o): _getnpid.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/_getnpid.o _getnpid.c -../obj-ack/libc.a(_getnprocnr.o): _getnprocnr.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/_getnprocnr.o _getnprocnr.c -../obj-ack/libc.a(_getpprocnr.o): _getpprocnr.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/_getpprocnr.o _getpprocnr.c -../obj-ack/libc.a(_getprocnr.o): _getprocnr.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/_getprocnr.o _getprocnr.c -../obj-ack/libc.a(_getsysinfo.o): _getsysinfo.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/_getsysinfo.o _getsysinfo.c -../obj-ack/libc.a(_reboot.o): _reboot.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/_reboot.o _reboot.c -../obj-ack/libc.a(_seekdir.o): _seekdir.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/_seekdir.o _seekdir.c -../obj-ack/libc.a(_svrctl.o): _svrctl.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/_svrctl.o _svrctl.c -../obj-ack/libc.a(asynchio.o): asynchio.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/asynchio.o asynchio.c -../obj-ack/libc.a(basename.o): basename.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/basename.o basename.c -../obj-ack/libc.a(bcmp.o): bcmp.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/bcmp.o bcmp.c -../obj-ack/libc.a(bcopy.o): bcopy.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/bcopy.o bcopy.c -../obj-ack/libc.a(bzero.o): bzero.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/bzero.o bzero.c -../obj-ack/libc.a(configfile.o): configfile.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/configfile.o configfile.c -../obj-ack/libc.a(crypt.o): crypt.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/crypt.o crypt.c -../obj-ack/libc.a(ctermid.o): ctermid.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/ctermid.o ctermid.c -../obj-ack/libc.a(cuserid.o): cuserid.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/cuserid.o cuserid.c -../obj-ack/libc.a(environ.o): environ.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/environ.o environ.c -../obj-ack/libc.a(errno.o): errno.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/errno.o errno.c -../obj-ack/libc.a(fdopen.o): fdopen.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/fdopen.o fdopen.c -../obj-ack/libc.a(ffs.o): ffs.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/ffs.o ffs.c -../obj-ack/libc.a(flock.o): flock.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/flock.o flock.c -../obj-ack/libc.a(fslib.o): fslib.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/fslib.o fslib.c -../obj-ack/libc.a(fsversion.o): fsversion.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/fsversion.o fsversion.c -../obj-ack/libc.a(getgrent.o): getgrent.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/getgrent.o getgrent.c -../obj-ack/libc.a(getlogin.o): getlogin.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/getlogin.o getlogin.c -../obj-ack/libc.a(getpagesize.o): getpagesize.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/getpagesize.o getpagesize.c -../obj-ack/libc.a(getpass.o): getpass.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/getpass.o getpass.c -../obj-ack/libc.a(getpwent.o): getpwent.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/getpwent.o getpwent.c -../obj-ack/libc.a(getttyent.o): getttyent.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/getttyent.o getttyent.c -../obj-ack/libc.a(getw.o): getw.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/getw.o getw.c -../obj-ack/libc.a(hypot.o): hypot.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/hypot.o hypot.c -../obj-ack/libc.a(index.o): index.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/index.o index.c -../obj-ack/libc.a(itoa.o): itoa.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/itoa.o itoa.c -../obj-ack/libc.a(loadname.o): loadname.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/loadname.o loadname.c -../obj-ack/libc.a(lock.o): lock.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/lock.o lock.c -../obj-ack/libc.a(lrand.o): lrand.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/lrand.o lrand.c -../obj-ack/libc.a(lsearch.o): lsearch.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/lsearch.o lsearch.c -../obj-ack/libc.a(memccpy.o): memccpy.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/memccpy.o memccpy.c -../obj-ack/libc.a(mstats.o): mstats.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/mstats.o mstats.c -../obj-ack/libc.a(mtab.o): mtab.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/mtab.o mtab.c -../obj-ack/libc.a(nlist.o): nlist.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/nlist.o nlist.c -../obj-ack/libc.a(paramvalue.o): paramvalue.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/paramvalue.o paramvalue.c -../obj-ack/libc.a(peekpoke.o): peekpoke.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/peekpoke.o peekpoke.c -../obj-ack/libc.a(popen.o): popen.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/popen.o popen.c -../obj-ack/libc.a(putenv.o): putenv.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/putenv.o putenv.c -../obj-ack/libc.a(putw.o): putw.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/putw.o putw.c -../obj-ack/libc.a(random.o): random.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/random.o random.c -../obj-ack/libc.a(rindex.o): rindex.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/rindex.o rindex.c -../obj-ack/libc.a(setgroups.o): setgroups.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/setgroups.o setgroups.c -../obj-ack/libc.a(settimeofday.o): settimeofday.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/settimeofday.o settimeofday.c -../obj-ack/libc.a(stderr.o): stderr.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/stderr.o stderr.c -../obj-ack/libc.a(strdup.o): strdup.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/strdup.o strdup.c -../obj-ack/libc.a(strtok_r.o): strtok_r.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/strtok_r.o strtok_r.c -../obj-ack/libc.a(swab.o): swab.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/swab.o swab.c -../obj-ack/libc.a(syscall.o): syscall.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/syscall.o syscall.c -../obj-ack/libc.a(sysconf.o): sysconf.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/sysconf.o sysconf.c -../obj-ack/libc.a(syslog.o): syslog.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/syslog.o syslog.c -../obj-ack/libc.a(telldir.o): telldir.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/telldir.o telldir.c -../obj-ack/libc.a(termcap.o): termcap.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/termcap.o termcap.c -../obj-ack/libc.a(ttyname.o): ttyname.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/ttyname.o ttyname.c -../obj-ack/libc.a(ttyslot.o): ttyslot.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/ttyslot.o ttyslot.c -../obj-ack/libc.a(v8regexp.o): v8regexp.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/v8regexp.o v8regexp.c -../obj-ack/libc.a(v8regsub.o): v8regsub.c - cc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-ack/./other/v8regsub.o v8regsub.c - -all-gnu: ../obj-gnu/libc.a - -../obj-gnu/libc.a: ../obj-gnu/./other/_allocmem.o -../obj-gnu/libc.a: ../obj-gnu/./other/_brk.o -../obj-gnu/libc.a: ../obj-gnu/./other/_devctl.o -../obj-gnu/libc.a: ../obj-gnu/./other/_findproc.o -../obj-gnu/libc.a: ../obj-gnu/./other/_freemem.o -../obj-gnu/libc.a: ../obj-gnu/./other/_getnpid.o -../obj-gnu/libc.a: ../obj-gnu/./other/_getnprocnr.o -../obj-gnu/libc.a: ../obj-gnu/./other/_getpprocnr.o -../obj-gnu/libc.a: ../obj-gnu/./other/_getprocnr.o -../obj-gnu/libc.a: ../obj-gnu/./other/_getsysinfo.o -../obj-gnu/libc.a: ../obj-gnu/./other/_reboot.o -../obj-gnu/libc.a: ../obj-gnu/./other/_seekdir.o -../obj-gnu/libc.a: ../obj-gnu/./other/_svrctl.o -../obj-gnu/libc.a: ../obj-gnu/./other/asynchio.o -../obj-gnu/libc.a: ../obj-gnu/./other/basename.o -../obj-gnu/libc.a: ../obj-gnu/./other/bcmp.o -../obj-gnu/libc.a: ../obj-gnu/./other/bcopy.o -../obj-gnu/libc.a: ../obj-gnu/./other/bzero.o -../obj-gnu/libc.a: ../obj-gnu/./other/configfile.o -../obj-gnu/libc.a: ../obj-gnu/./other/crypt.o -../obj-gnu/libc.a: ../obj-gnu/./other/ctermid.o -../obj-gnu/libc.a: ../obj-gnu/./other/cuserid.o -../obj-gnu/libc.a: ../obj-gnu/./other/environ.o -../obj-gnu/libc.a: ../obj-gnu/./other/errno.o -../obj-gnu/libc.a: ../obj-gnu/./other/fdopen.o -../obj-gnu/libc.a: ../obj-gnu/./other/ffs.o -../obj-gnu/libc.a: ../obj-gnu/./other/flock.o -../obj-gnu/libc.a: ../obj-gnu/./other/fslib.o -../obj-gnu/libc.a: ../obj-gnu/./other/fsversion.o -../obj-gnu/libc.a: ../obj-gnu/./other/getgrent.o -../obj-gnu/libc.a: ../obj-gnu/./other/getlogin.o -../obj-gnu/libc.a: ../obj-gnu/./other/getpagesize.o -../obj-gnu/libc.a: ../obj-gnu/./other/getpass.o -../obj-gnu/libc.a: ../obj-gnu/./other/getpwent.o -../obj-gnu/libc.a: ../obj-gnu/./other/getttyent.o -../obj-gnu/libc.a: ../obj-gnu/./other/getw.o -../obj-gnu/libc.a: ../obj-gnu/./other/hypot.o -../obj-gnu/libc.a: ../obj-gnu/./other/index.o -../obj-gnu/libc.a: ../obj-gnu/./other/itoa.o -../obj-gnu/libc.a: ../obj-gnu/./other/loadname.o -../obj-gnu/libc.a: ../obj-gnu/./other/lock.o -../obj-gnu/libc.a: ../obj-gnu/./other/lrand.o -../obj-gnu/libc.a: ../obj-gnu/./other/lsearch.o -../obj-gnu/libc.a: ../obj-gnu/./other/memccpy.o -../obj-gnu/libc.a: ../obj-gnu/./other/mstats.o -../obj-gnu/libc.a: ../obj-gnu/./other/mtab.o -../obj-gnu/libc.a: ../obj-gnu/./other/nlist.o -../obj-gnu/libc.a: ../obj-gnu/./other/paramvalue.o -../obj-gnu/libc.a: ../obj-gnu/./other/peekpoke.o -../obj-gnu/libc.a: ../obj-gnu/./other/popen.o -../obj-gnu/libc.a: ../obj-gnu/./other/putenv.o -../obj-gnu/libc.a: ../obj-gnu/./other/putw.o -../obj-gnu/libc.a: ../obj-gnu/./other/random.o -../obj-gnu/libc.a: ../obj-gnu/./other/rindex.o -../obj-gnu/libc.a: ../obj-gnu/./other/setgroups.o -../obj-gnu/libc.a: ../obj-gnu/./other/settimeofday.o -../obj-gnu/libc.a: ../obj-gnu/./other/stderr.o -../obj-gnu/libc.a: ../obj-gnu/./other/strdup.o -../obj-gnu/libc.a: ../obj-gnu/./other/strtok_r.o -../obj-gnu/libc.a: ../obj-gnu/./other/swab.o -../obj-gnu/libc.a: ../obj-gnu/./other/syscall.o -../obj-gnu/libc.a: ../obj-gnu/./other/sysconf.o -../obj-gnu/libc.a: ../obj-gnu/./other/syslog.o -../obj-gnu/libc.a: ../obj-gnu/./other/telldir.o -../obj-gnu/libc.a: ../obj-gnu/./other/termcap.o -../obj-gnu/libc.a: ../obj-gnu/./other/ttyname.o -../obj-gnu/libc.a: ../obj-gnu/./other/ttyslot.o -../obj-gnu/libc.a: ../obj-gnu/./other/v8regexp.o -../obj-gnu/libc.a: ../obj-gnu/./other/v8regsub.o - -../obj-gnu/libc.a: - gar cr ../obj-gnu/libc.a $? - -../obj-gnu/./other/_allocmem.o: _allocmem.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/_allocmem.o _allocmem.c - -../obj-gnu/./other/_brk.o: _brk.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/_brk.o _brk.c - -../obj-gnu/./other/_devctl.o: _devctl.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/_devctl.o _devctl.c - -../obj-gnu/./other/_findproc.o: _findproc.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/_findproc.o _findproc.c - -../obj-gnu/./other/_freemem.o: _freemem.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/_freemem.o _freemem.c - -../obj-gnu/./other/_getnpid.o: _getnpid.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/_getnpid.o _getnpid.c - -../obj-gnu/./other/_getnprocnr.o: _getnprocnr.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/_getnprocnr.o _getnprocnr.c - -../obj-gnu/./other/_getpprocnr.o: _getpprocnr.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/_getpprocnr.o _getpprocnr.c - -../obj-gnu/./other/_getprocnr.o: _getprocnr.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/_getprocnr.o _getprocnr.c - -../obj-gnu/./other/_getsysinfo.o: _getsysinfo.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/_getsysinfo.o _getsysinfo.c - -../obj-gnu/./other/_reboot.o: _reboot.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/_reboot.o _reboot.c - -../obj-gnu/./other/_seekdir.o: _seekdir.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/_seekdir.o _seekdir.c - -../obj-gnu/./other/_svrctl.o: _svrctl.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/_svrctl.o _svrctl.c - -../obj-gnu/./other/asynchio.o: asynchio.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/asynchio.o asynchio.c - -../obj-gnu/./other/basename.o: basename.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/basename.o basename.c - -../obj-gnu/./other/bcmp.o: bcmp.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/bcmp.o bcmp.c - -../obj-gnu/./other/bcopy.o: bcopy.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/bcopy.o bcopy.c - -../obj-gnu/./other/bzero.o: bzero.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/bzero.o bzero.c - -../obj-gnu/./other/configfile.o: configfile.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/configfile.o configfile.c - -../obj-gnu/./other/crypt.o: crypt.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/crypt.o crypt.c - -../obj-gnu/./other/ctermid.o: ctermid.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/ctermid.o ctermid.c - -../obj-gnu/./other/cuserid.o: cuserid.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/cuserid.o cuserid.c - -../obj-gnu/./other/environ.o: environ.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/environ.o environ.c - -../obj-gnu/./other/errno.o: errno.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/errno.o errno.c - -../obj-gnu/./other/fdopen.o: fdopen.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/fdopen.o fdopen.c - -../obj-gnu/./other/ffs.o: ffs.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/ffs.o ffs.c - -../obj-gnu/./other/flock.o: flock.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/flock.o flock.c - -../obj-gnu/./other/fslib.o: fslib.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/fslib.o fslib.c - -../obj-gnu/./other/fsversion.o: fsversion.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/fsversion.o fsversion.c - -../obj-gnu/./other/getgrent.o: getgrent.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/getgrent.o getgrent.c - -../obj-gnu/./other/getlogin.o: getlogin.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/getlogin.o getlogin.c - -../obj-gnu/./other/getpagesize.o: getpagesize.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/getpagesize.o getpagesize.c - -../obj-gnu/./other/getpass.o: getpass.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/getpass.o getpass.c - -../obj-gnu/./other/getpwent.o: getpwent.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/getpwent.o getpwent.c - -../obj-gnu/./other/getttyent.o: getttyent.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/getttyent.o getttyent.c - -../obj-gnu/./other/getw.o: getw.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/getw.o getw.c - -../obj-gnu/./other/hypot.o: hypot.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/hypot.o hypot.c - -../obj-gnu/./other/index.o: index.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/index.o index.c - -../obj-gnu/./other/itoa.o: itoa.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/itoa.o itoa.c - -../obj-gnu/./other/loadname.o: loadname.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/loadname.o loadname.c - -../obj-gnu/./other/lock.o: lock.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/lock.o lock.c - -../obj-gnu/./other/lrand.o: lrand.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/lrand.o lrand.c - -../obj-gnu/./other/lsearch.o: lsearch.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/lsearch.o lsearch.c - -../obj-gnu/./other/memccpy.o: memccpy.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/memccpy.o memccpy.c - -../obj-gnu/./other/mstats.o: mstats.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/mstats.o mstats.c - -../obj-gnu/./other/mtab.o: mtab.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/mtab.o mtab.c - -../obj-gnu/./other/nlist.o: nlist.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/nlist.o nlist.c - -../obj-gnu/./other/paramvalue.o: paramvalue.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/paramvalue.o paramvalue.c - -../obj-gnu/./other/peekpoke.o: peekpoke.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/peekpoke.o peekpoke.c - -../obj-gnu/./other/popen.o: popen.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/popen.o popen.c - -../obj-gnu/./other/putenv.o: putenv.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/putenv.o putenv.c - -../obj-gnu/./other/putw.o: putw.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/putw.o putw.c - -../obj-gnu/./other/random.o: random.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/random.o random.c - -../obj-gnu/./other/rindex.o: rindex.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/rindex.o rindex.c - -../obj-gnu/./other/setgroups.o: setgroups.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/setgroups.o setgroups.c - -../obj-gnu/./other/settimeofday.o: settimeofday.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/settimeofday.o settimeofday.c - -../obj-gnu/./other/stderr.o: stderr.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/stderr.o stderr.c - -../obj-gnu/./other/strdup.o: strdup.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/strdup.o strdup.c - -../obj-gnu/./other/strtok_r.o: strtok_r.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/strtok_r.o strtok_r.c - -../obj-gnu/./other/swab.o: swab.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/swab.o swab.c - -../obj-gnu/./other/syscall.o: syscall.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/syscall.o syscall.c - -../obj-gnu/./other/sysconf.o: sysconf.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/sysconf.o sysconf.c - -../obj-gnu/./other/syslog.o: syslog.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/syslog.o syslog.c - -../obj-gnu/./other/telldir.o: telldir.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/telldir.o telldir.c - -../obj-gnu/./other/termcap.o: termcap.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/termcap.o termcap.c - -../obj-gnu/./other/ttyname.o: ttyname.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/ttyname.o ttyname.c - -../obj-gnu/./other/ttyslot.o: ttyslot.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/ttyslot.o ttyslot.c - -../obj-gnu/./other/v8regexp.o: v8regexp.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/v8regexp.o v8regexp.c - -../obj-gnu/./other/v8regsub.o: v8regsub.c - gcc -O -D_MINIX -D_POSIX_SOURCE -I../../servers -c -o ../obj-gnu/./other/v8regsub.o v8regsub.c - - - - -clean:: - rm -f ../obj-ack/./other/* - rm -f ../obj-gnu/./other/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/other/Makefile.in b/lib/other/Makefile.in index 9f4319421..159f65993 100644 --- a/lib/other/Makefile.in +++ b/lib/other/Makefile.in @@ -65,14 +65,18 @@ libc_FILES=" \ strdup.c \ strtok_r.c \ swab.c \ + sys_eniop.c \ syscall.c \ sysconf.c \ syslog.c \ + taskcall.c \ telldir.c \ termcap.c \ ttyname.c \ ttyslot.c \ + v8regerror.c \ v8regexp.c \ - v8regsub.c" + v8regsub.c \ + writev.c" TYPE=both diff --git a/lib/posix/Makefile b/lib/posix/Makefile deleted file mode 100755 index 70b446414..000000000 --- a/lib/posix/Makefile +++ /dev/null @@ -1,722 +0,0 @@ -#Generated from ./posix/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../generate.sh ./posix ../obj-ack ../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../obj-ack/libc.a - -../obj-ack/libc.a: ../obj-ack/libc.a(__exit.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_access.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_alarm.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_cfgetispeed.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_cfgetospeed.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_cfsetispeed.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_cfsetospeed.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_chdir.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_chmod.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_chown.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_chroot.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_close.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_closedir.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_creat.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_dup.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_dup2.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_execl.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_execle.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_execlp.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_execv.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_execve.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_execvp.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_fcntl.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_fork.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_fpathconf.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_fstat.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_fstatfs.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_fsync.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_getcwd.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_getegid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_geteuid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_getgid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_getgroups.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_getpgrp.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_getpid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_getppid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_getuid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_ioctl.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_isatty.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_kill.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_link.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_lseek.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_lstat.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_mkdir.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_mkfifo.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_mknod.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_mount.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_open.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_opendir.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_pathconf.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_pause.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_pipe.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_ptrace.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_read.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_readdir.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_readlink.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_rename.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_rewinddir.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_rmdir.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_select.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_setgid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_setsid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_setuid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_sigaction.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_sigpending.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_sigprocmask.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_sigreturn.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_sigset.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_sigsetjmp.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_sigsuspend.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_sleep.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_stat.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_stime.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_symlink.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_sync.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_tcdrain.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_tcflow.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_tcflush.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_tcgetattr.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_tcsendbreak.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_tcsetattr.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_time.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_times.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_truncate.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_umask.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_umount.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_uname.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_unlink.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_utime.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_wait.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_waitpid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(_write.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getloadavg.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getopt.o) -../obj-ack/libc.a: ../obj-ack/libc.a(gettimeofday.o) -../obj-ack/libc.a: ../obj-ack/libc.a(priority.o) -../obj-ack/libc.a: ../obj-ack/libc.a(usleep.o) - -../obj-ack/libc.a: - ar cr ../obj-ack/libc.a ../obj-ack/./posix/*.o - rm ../obj-ack/./posix/*.o - -../obj-ack/libc.a(__exit.o): __exit.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/__exit.o __exit.c -../obj-ack/libc.a(_access.o): _access.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_access.o _access.c -../obj-ack/libc.a(_alarm.o): _alarm.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_alarm.o _alarm.c -../obj-ack/libc.a(_cfgetispeed.o): _cfgetispeed.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_cfgetispeed.o _cfgetispeed.c -../obj-ack/libc.a(_cfgetospeed.o): _cfgetospeed.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_cfgetospeed.o _cfgetospeed.c -../obj-ack/libc.a(_cfsetispeed.o): _cfsetispeed.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_cfsetispeed.o _cfsetispeed.c -../obj-ack/libc.a(_cfsetospeed.o): _cfsetospeed.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_cfsetospeed.o _cfsetospeed.c -../obj-ack/libc.a(_chdir.o): _chdir.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_chdir.o _chdir.c -../obj-ack/libc.a(_chmod.o): _chmod.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_chmod.o _chmod.c -../obj-ack/libc.a(_chown.o): _chown.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_chown.o _chown.c -../obj-ack/libc.a(_chroot.o): _chroot.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_chroot.o _chroot.c -../obj-ack/libc.a(_close.o): _close.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_close.o _close.c -../obj-ack/libc.a(_closedir.o): _closedir.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_closedir.o _closedir.c -../obj-ack/libc.a(_creat.o): _creat.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_creat.o _creat.c -../obj-ack/libc.a(_dup.o): _dup.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_dup.o _dup.c -../obj-ack/libc.a(_dup2.o): _dup2.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_dup2.o _dup2.c -../obj-ack/libc.a(_execl.o): _execl.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_execl.o _execl.c -../obj-ack/libc.a(_execle.o): _execle.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_execle.o _execle.c -../obj-ack/libc.a(_execlp.o): _execlp.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_execlp.o _execlp.c -../obj-ack/libc.a(_execv.o): _execv.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_execv.o _execv.c -../obj-ack/libc.a(_execve.o): _execve.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_execve.o _execve.c -../obj-ack/libc.a(_execvp.o): _execvp.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_execvp.o _execvp.c -../obj-ack/libc.a(_fcntl.o): _fcntl.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_fcntl.o _fcntl.c -../obj-ack/libc.a(_fork.o): _fork.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_fork.o _fork.c -../obj-ack/libc.a(_fpathconf.o): _fpathconf.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_fpathconf.o _fpathconf.c -../obj-ack/libc.a(_fstat.o): _fstat.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_fstat.o _fstat.c -../obj-ack/libc.a(_fstatfs.o): _fstatfs.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_fstatfs.o _fstatfs.c -../obj-ack/libc.a(_fsync.o): _fsync.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_fsync.o _fsync.c -../obj-ack/libc.a(_getcwd.o): _getcwd.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_getcwd.o _getcwd.c -../obj-ack/libc.a(_getegid.o): _getegid.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_getegid.o _getegid.c -../obj-ack/libc.a(_geteuid.o): _geteuid.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_geteuid.o _geteuid.c -../obj-ack/libc.a(_getgid.o): _getgid.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_getgid.o _getgid.c -../obj-ack/libc.a(_getgroups.o): _getgroups.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_getgroups.o _getgroups.c -../obj-ack/libc.a(_getpgrp.o): _getpgrp.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_getpgrp.o _getpgrp.c -../obj-ack/libc.a(_getpid.o): _getpid.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_getpid.o _getpid.c -../obj-ack/libc.a(_getppid.o): _getppid.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_getppid.o _getppid.c -../obj-ack/libc.a(_getuid.o): _getuid.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_getuid.o _getuid.c -../obj-ack/libc.a(_ioctl.o): _ioctl.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_ioctl.o _ioctl.c -../obj-ack/libc.a(_isatty.o): _isatty.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_isatty.o _isatty.c -../obj-ack/libc.a(_kill.o): _kill.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_kill.o _kill.c -../obj-ack/libc.a(_link.o): _link.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_link.o _link.c -../obj-ack/libc.a(_lseek.o): _lseek.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_lseek.o _lseek.c -../obj-ack/libc.a(_lstat.o): _lstat.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_lstat.o _lstat.c -../obj-ack/libc.a(_mkdir.o): _mkdir.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_mkdir.o _mkdir.c -../obj-ack/libc.a(_mkfifo.o): _mkfifo.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_mkfifo.o _mkfifo.c -../obj-ack/libc.a(_mknod.o): _mknod.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_mknod.o _mknod.c -../obj-ack/libc.a(_mount.o): _mount.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_mount.o _mount.c -../obj-ack/libc.a(_open.o): _open.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_open.o _open.c -../obj-ack/libc.a(_opendir.o): _opendir.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_opendir.o _opendir.c -../obj-ack/libc.a(_pathconf.o): _pathconf.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_pathconf.o _pathconf.c -../obj-ack/libc.a(_pause.o): _pause.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_pause.o _pause.c -../obj-ack/libc.a(_pipe.o): _pipe.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_pipe.o _pipe.c -../obj-ack/libc.a(_ptrace.o): _ptrace.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_ptrace.o _ptrace.c -../obj-ack/libc.a(_read.o): _read.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_read.o _read.c -../obj-ack/libc.a(_readdir.o): _readdir.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_readdir.o _readdir.c -../obj-ack/libc.a(_readlink.o): _readlink.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_readlink.o _readlink.c -../obj-ack/libc.a(_rename.o): _rename.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_rename.o _rename.c -../obj-ack/libc.a(_rewinddir.o): _rewinddir.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_rewinddir.o _rewinddir.c -../obj-ack/libc.a(_rmdir.o): _rmdir.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_rmdir.o _rmdir.c -../obj-ack/libc.a(_select.o): _select.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_select.o _select.c -../obj-ack/libc.a(_setgid.o): _setgid.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_setgid.o _setgid.c -../obj-ack/libc.a(_setsid.o): _setsid.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_setsid.o _setsid.c -../obj-ack/libc.a(_setuid.o): _setuid.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_setuid.o _setuid.c -../obj-ack/libc.a(_sigaction.o): _sigaction.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_sigaction.o _sigaction.c -../obj-ack/libc.a(_sigpending.o): _sigpending.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_sigpending.o _sigpending.c -../obj-ack/libc.a(_sigprocmask.o): _sigprocmask.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_sigprocmask.o _sigprocmask.c -../obj-ack/libc.a(_sigreturn.o): _sigreturn.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_sigreturn.o _sigreturn.c -../obj-ack/libc.a(_sigset.o): _sigset.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_sigset.o _sigset.c -../obj-ack/libc.a(_sigsetjmp.o): _sigsetjmp.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_sigsetjmp.o _sigsetjmp.c -../obj-ack/libc.a(_sigsuspend.o): _sigsuspend.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_sigsuspend.o _sigsuspend.c -../obj-ack/libc.a(_sleep.o): _sleep.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_sleep.o _sleep.c -../obj-ack/libc.a(_stat.o): _stat.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_stat.o _stat.c -../obj-ack/libc.a(_stime.o): _stime.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_stime.o _stime.c -../obj-ack/libc.a(_symlink.o): _symlink.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_symlink.o _symlink.c -../obj-ack/libc.a(_sync.o): _sync.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_sync.o _sync.c -../obj-ack/libc.a(_tcdrain.o): _tcdrain.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_tcdrain.o _tcdrain.c -../obj-ack/libc.a(_tcflow.o): _tcflow.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_tcflow.o _tcflow.c -../obj-ack/libc.a(_tcflush.o): _tcflush.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_tcflush.o _tcflush.c -../obj-ack/libc.a(_tcgetattr.o): _tcgetattr.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_tcgetattr.o _tcgetattr.c -../obj-ack/libc.a(_tcsendbreak.o): _tcsendbreak.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_tcsendbreak.o _tcsendbreak.c -../obj-ack/libc.a(_tcsetattr.o): _tcsetattr.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_tcsetattr.o _tcsetattr.c -../obj-ack/libc.a(_time.o): _time.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_time.o _time.c -../obj-ack/libc.a(_times.o): _times.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_times.o _times.c -../obj-ack/libc.a(_truncate.o): _truncate.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_truncate.o _truncate.c -../obj-ack/libc.a(_umask.o): _umask.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_umask.o _umask.c -../obj-ack/libc.a(_umount.o): _umount.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_umount.o _umount.c -../obj-ack/libc.a(_uname.o): _uname.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_uname.o _uname.c -../obj-ack/libc.a(_unlink.o): _unlink.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_unlink.o _unlink.c -../obj-ack/libc.a(_utime.o): _utime.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_utime.o _utime.c -../obj-ack/libc.a(_wait.o): _wait.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_wait.o _wait.c -../obj-ack/libc.a(_waitpid.o): _waitpid.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_waitpid.o _waitpid.c -../obj-ack/libc.a(_write.o): _write.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/_write.o _write.c -../obj-ack/libc.a(getloadavg.o): getloadavg.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/getloadavg.o getloadavg.c -../obj-ack/libc.a(getopt.o): getopt.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/getopt.o getopt.c -../obj-ack/libc.a(gettimeofday.o): gettimeofday.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/gettimeofday.o gettimeofday.c -../obj-ack/libc.a(priority.o): priority.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/priority.o priority.c -../obj-ack/libc.a(usleep.o): usleep.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./posix/usleep.o usleep.c - -all-gnu: ../obj-gnu/libc.a - -../obj-gnu/libc.a: ../obj-gnu/./posix/__exit.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_access.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_alarm.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_cfgetispeed.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_cfgetospeed.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_cfsetispeed.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_cfsetospeed.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_chdir.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_chmod.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_chown.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_chroot.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_close.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_closedir.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_creat.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_dup.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_dup2.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_execl.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_execle.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_execlp.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_execv.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_execve.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_execvp.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_fcntl.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_fork.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_fpathconf.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_fstat.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_fstatfs.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_fsync.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_getcwd.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_getegid.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_geteuid.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_getgid.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_getgroups.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_getpgrp.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_getpid.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_getppid.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_getuid.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_ioctl.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_isatty.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_kill.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_link.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_lseek.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_lstat.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_mkdir.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_mkfifo.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_mknod.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_mount.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_open.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_opendir.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_pathconf.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_pause.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_pipe.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_ptrace.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_read.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_readdir.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_readlink.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_rename.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_rewinddir.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_rmdir.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_select.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_setgid.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_setsid.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_setuid.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_sigaction.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_sigpending.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_sigprocmask.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_sigreturn.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_sigset.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_sigsetjmp.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_sigsuspend.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_sleep.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_stat.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_stime.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_symlink.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_sync.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_tcdrain.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_tcflow.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_tcflush.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_tcgetattr.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_tcsendbreak.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_tcsetattr.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_time.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_times.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_truncate.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_umask.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_umount.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_uname.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_unlink.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_utime.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_wait.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_waitpid.o -../obj-gnu/libc.a: ../obj-gnu/./posix/_write.o -../obj-gnu/libc.a: ../obj-gnu/./posix/getloadavg.o -../obj-gnu/libc.a: ../obj-gnu/./posix/getopt.o -../obj-gnu/libc.a: ../obj-gnu/./posix/gettimeofday.o -../obj-gnu/libc.a: ../obj-gnu/./posix/priority.o -../obj-gnu/libc.a: ../obj-gnu/./posix/usleep.o - -../obj-gnu/libc.a: - gar cr ../obj-gnu/libc.a $? - -../obj-gnu/./posix/__exit.o: __exit.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/__exit.o __exit.c - -../obj-gnu/./posix/_access.o: _access.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_access.o _access.c - -../obj-gnu/./posix/_alarm.o: _alarm.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_alarm.o _alarm.c - -../obj-gnu/./posix/_cfgetispeed.o: _cfgetispeed.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_cfgetispeed.o _cfgetispeed.c - -../obj-gnu/./posix/_cfgetospeed.o: _cfgetospeed.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_cfgetospeed.o _cfgetospeed.c - -../obj-gnu/./posix/_cfsetispeed.o: _cfsetispeed.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_cfsetispeed.o _cfsetispeed.c - -../obj-gnu/./posix/_cfsetospeed.o: _cfsetospeed.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_cfsetospeed.o _cfsetospeed.c - -../obj-gnu/./posix/_chdir.o: _chdir.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_chdir.o _chdir.c - -../obj-gnu/./posix/_chmod.o: _chmod.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_chmod.o _chmod.c - -../obj-gnu/./posix/_chown.o: _chown.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_chown.o _chown.c - -../obj-gnu/./posix/_chroot.o: _chroot.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_chroot.o _chroot.c - -../obj-gnu/./posix/_close.o: _close.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_close.o _close.c - -../obj-gnu/./posix/_closedir.o: _closedir.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_closedir.o _closedir.c - -../obj-gnu/./posix/_creat.o: _creat.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_creat.o _creat.c - -../obj-gnu/./posix/_dup.o: _dup.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_dup.o _dup.c - -../obj-gnu/./posix/_dup2.o: _dup2.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_dup2.o _dup2.c - -../obj-gnu/./posix/_execl.o: _execl.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_execl.o _execl.c - -../obj-gnu/./posix/_execle.o: _execle.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_execle.o _execle.c - -../obj-gnu/./posix/_execlp.o: _execlp.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_execlp.o _execlp.c - -../obj-gnu/./posix/_execv.o: _execv.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_execv.o _execv.c - -../obj-gnu/./posix/_execve.o: _execve.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_execve.o _execve.c - -../obj-gnu/./posix/_execvp.o: _execvp.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_execvp.o _execvp.c - -../obj-gnu/./posix/_fcntl.o: _fcntl.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_fcntl.o _fcntl.c - -../obj-gnu/./posix/_fork.o: _fork.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_fork.o _fork.c - -../obj-gnu/./posix/_fpathconf.o: _fpathconf.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_fpathconf.o _fpathconf.c - -../obj-gnu/./posix/_fstat.o: _fstat.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_fstat.o _fstat.c - -../obj-gnu/./posix/_fstatfs.o: _fstatfs.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_fstatfs.o _fstatfs.c - -../obj-gnu/./posix/_fsync.o: _fsync.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_fsync.o _fsync.c - -../obj-gnu/./posix/_getcwd.o: _getcwd.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_getcwd.o _getcwd.c - -../obj-gnu/./posix/_getegid.o: _getegid.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_getegid.o _getegid.c - -../obj-gnu/./posix/_geteuid.o: _geteuid.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_geteuid.o _geteuid.c - -../obj-gnu/./posix/_getgid.o: _getgid.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_getgid.o _getgid.c - -../obj-gnu/./posix/_getgroups.o: _getgroups.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_getgroups.o _getgroups.c - -../obj-gnu/./posix/_getpgrp.o: _getpgrp.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_getpgrp.o _getpgrp.c - -../obj-gnu/./posix/_getpid.o: _getpid.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_getpid.o _getpid.c - -../obj-gnu/./posix/_getppid.o: _getppid.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_getppid.o _getppid.c - -../obj-gnu/./posix/_getuid.o: _getuid.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_getuid.o _getuid.c - -../obj-gnu/./posix/_ioctl.o: _ioctl.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_ioctl.o _ioctl.c - -../obj-gnu/./posix/_isatty.o: _isatty.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_isatty.o _isatty.c - -../obj-gnu/./posix/_kill.o: _kill.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_kill.o _kill.c - -../obj-gnu/./posix/_link.o: _link.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_link.o _link.c - -../obj-gnu/./posix/_lseek.o: _lseek.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_lseek.o _lseek.c - -../obj-gnu/./posix/_lstat.o: _lstat.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_lstat.o _lstat.c - -../obj-gnu/./posix/_mkdir.o: _mkdir.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_mkdir.o _mkdir.c - -../obj-gnu/./posix/_mkfifo.o: _mkfifo.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_mkfifo.o _mkfifo.c - -../obj-gnu/./posix/_mknod.o: _mknod.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_mknod.o _mknod.c - -../obj-gnu/./posix/_mount.o: _mount.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_mount.o _mount.c - -../obj-gnu/./posix/_open.o: _open.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_open.o _open.c - -../obj-gnu/./posix/_opendir.o: _opendir.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_opendir.o _opendir.c - -../obj-gnu/./posix/_pathconf.o: _pathconf.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_pathconf.o _pathconf.c - -../obj-gnu/./posix/_pause.o: _pause.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_pause.o _pause.c - -../obj-gnu/./posix/_pipe.o: _pipe.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_pipe.o _pipe.c - -../obj-gnu/./posix/_ptrace.o: _ptrace.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_ptrace.o _ptrace.c - -../obj-gnu/./posix/_read.o: _read.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_read.o _read.c - -../obj-gnu/./posix/_readdir.o: _readdir.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_readdir.o _readdir.c - -../obj-gnu/./posix/_readlink.o: _readlink.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_readlink.o _readlink.c - -../obj-gnu/./posix/_rename.o: _rename.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_rename.o _rename.c - -../obj-gnu/./posix/_rewinddir.o: _rewinddir.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_rewinddir.o _rewinddir.c - -../obj-gnu/./posix/_rmdir.o: _rmdir.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_rmdir.o _rmdir.c - -../obj-gnu/./posix/_select.o: _select.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_select.o _select.c - -../obj-gnu/./posix/_setgid.o: _setgid.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_setgid.o _setgid.c - -../obj-gnu/./posix/_setsid.o: _setsid.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_setsid.o _setsid.c - -../obj-gnu/./posix/_setuid.o: _setuid.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_setuid.o _setuid.c - -../obj-gnu/./posix/_sigaction.o: _sigaction.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_sigaction.o _sigaction.c - -../obj-gnu/./posix/_sigpending.o: _sigpending.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_sigpending.o _sigpending.c - -../obj-gnu/./posix/_sigprocmask.o: _sigprocmask.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_sigprocmask.o _sigprocmask.c - -../obj-gnu/./posix/_sigreturn.o: _sigreturn.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_sigreturn.o _sigreturn.c - -../obj-gnu/./posix/_sigset.o: _sigset.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_sigset.o _sigset.c - -../obj-gnu/./posix/_sigsetjmp.o: _sigsetjmp.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_sigsetjmp.o _sigsetjmp.c - -../obj-gnu/./posix/_sigsuspend.o: _sigsuspend.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_sigsuspend.o _sigsuspend.c - -../obj-gnu/./posix/_sleep.o: _sleep.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_sleep.o _sleep.c - -../obj-gnu/./posix/_stat.o: _stat.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_stat.o _stat.c - -../obj-gnu/./posix/_stime.o: _stime.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_stime.o _stime.c - -../obj-gnu/./posix/_symlink.o: _symlink.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_symlink.o _symlink.c - -../obj-gnu/./posix/_sync.o: _sync.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_sync.o _sync.c - -../obj-gnu/./posix/_tcdrain.o: _tcdrain.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_tcdrain.o _tcdrain.c - -../obj-gnu/./posix/_tcflow.o: _tcflow.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_tcflow.o _tcflow.c - -../obj-gnu/./posix/_tcflush.o: _tcflush.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_tcflush.o _tcflush.c - -../obj-gnu/./posix/_tcgetattr.o: _tcgetattr.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_tcgetattr.o _tcgetattr.c - -../obj-gnu/./posix/_tcsendbreak.o: _tcsendbreak.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_tcsendbreak.o _tcsendbreak.c - -../obj-gnu/./posix/_tcsetattr.o: _tcsetattr.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_tcsetattr.o _tcsetattr.c - -../obj-gnu/./posix/_time.o: _time.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_time.o _time.c - -../obj-gnu/./posix/_times.o: _times.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_times.o _times.c - -../obj-gnu/./posix/_truncate.o: _truncate.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_truncate.o _truncate.c - -../obj-gnu/./posix/_umask.o: _umask.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_umask.o _umask.c - -../obj-gnu/./posix/_umount.o: _umount.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_umount.o _umount.c - -../obj-gnu/./posix/_uname.o: _uname.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_uname.o _uname.c - -../obj-gnu/./posix/_unlink.o: _unlink.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_unlink.o _unlink.c - -../obj-gnu/./posix/_utime.o: _utime.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_utime.o _utime.c - -../obj-gnu/./posix/_wait.o: _wait.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_wait.o _wait.c - -../obj-gnu/./posix/_waitpid.o: _waitpid.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_waitpid.o _waitpid.c - -../obj-gnu/./posix/_write.o: _write.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/_write.o _write.c - -../obj-gnu/./posix/getloadavg.o: getloadavg.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/getloadavg.o getloadavg.c - -../obj-gnu/./posix/getopt.o: getopt.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/getopt.o getopt.c - -../obj-gnu/./posix/gettimeofday.o: gettimeofday.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/gettimeofday.o gettimeofday.c - -../obj-gnu/./posix/priority.o: priority.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/priority.o priority.c - -../obj-gnu/./posix/usleep.o: usleep.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./posix/usleep.o usleep.c - - - - -clean:: - rm -f ../obj-ack/./posix/* - rm -f ../obj-gnu/./posix/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/regex/Makefile b/lib/regex/Makefile deleted file mode 100755 index 055286e1d..000000000 --- a/lib/regex/Makefile +++ /dev/null @@ -1,71 +0,0 @@ -#Generated from ./regex/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../generate.sh ./regex ../obj-ack ../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../obj-ack/libc.a - -../obj-ack/libc.a: ../obj-ack/libc.a(regcomp.o) -../obj-ack/libc.a: ../obj-ack/libc.a(regerror.o) -../obj-ack/libc.a: ../obj-ack/libc.a(regexec.o) -../obj-ack/libc.a: ../obj-ack/libc.a(regfree.o) - -../obj-ack/libc.a: - ar cr ../obj-ack/libc.a ../obj-ack/./regex/*.o - rm ../obj-ack/./regex/*.o - -../obj-ack/libc.a(regcomp.o): regcomp.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./regex/regcomp.o regcomp.c -../obj-ack/libc.a(regerror.o): regerror.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./regex/regerror.o regerror.c -../obj-ack/libc.a(regexec.o): regexec.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./regex/regexec.o regexec.c -../obj-ack/libc.a(regfree.o): regfree.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./regex/regfree.o regfree.c - -all-gnu: ../obj-gnu/libc.a - -../obj-gnu/libc.a: ../obj-gnu/./regex/regcomp.o -../obj-gnu/libc.a: ../obj-gnu/./regex/regerror.o -../obj-gnu/libc.a: ../obj-gnu/./regex/regexec.o -../obj-gnu/libc.a: ../obj-gnu/./regex/regfree.o - -../obj-gnu/libc.a: - gar cr ../obj-gnu/libc.a $? - -../obj-gnu/./regex/regcomp.o: regcomp.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./regex/regcomp.o regcomp.c - -../obj-gnu/./regex/regerror.o: regerror.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./regex/regerror.o regerror.c - -../obj-gnu/./regex/regexec.o: regexec.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./regex/regexec.o regexec.c - -../obj-gnu/./regex/regfree.o: regfree.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./regex/regfree.o regfree.c - - - - -clean:: - rm -f ../obj-ack/./regex/* - rm -f ../obj-gnu/./regex/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/rts/Makefile b/lib/rts/Makefile deleted file mode 100755 index eb20a01f8..000000000 --- a/lib/rts/Makefile +++ /dev/null @@ -1,19 +0,0 @@ -# Makefile for lib/rts. - -CFLAGS = -O -D_MINIX -D_POSIX_SOURCE -CC1 = $(CC) $(CFLAGS) -c - -LIBRARY = ../libc.a - -all: \ - $(LIBRARY) - -OBJECTS = \ - $(LIBRARY)(setjmp.o) \ - -$(LIBRARY): $(OBJECTS) - aal cr $@ *.o - rm *.o - -$(LIBRARY)(setjmp.o): setjmp.e - $(CC1) setjmp.e diff --git a/lib/rts/setjmp.e b/lib/rts/setjmp.e deleted file mode 100755 index 7036e2418..000000000 --- a/lib/rts/setjmp.e +++ /dev/null @@ -1,112 +0,0 @@ -# - mes 2,_EM_WSIZE,_EM_PSIZE -; -; layout of a setjmp buffer: -; -; ----------------- -; | flag | (!0 when blocked signals saved (POSIX)) -; ----------------- -; | signal mask/set | (for Berkeley 4.[2-] / POSIX) -; ----------------- -; | | -; | GTO descriptor | -; | (SP, LB, PC) | -; | | -; ----------------- -; -; setjmp saves the signalmask, PC, SP, and LB of caller, and creates a -; GTO descriptor from this. -; The big problem here is how to get the return address, i.e. the PC of -; the caller; This problem is solved by the front-end, which must pass -; it as an extra parameter to setjmp. - -; a GTO descriptor must be in the global data area -gtobuf - bss 3*_EM_PSIZE,0,0 - - inp $fill_ret_area - exp $__setjmp - pro $__setjmp,0 -#if defined(_POSIX_SOURCE) -; save mask of currently blocked signals. -; longjmp must restore this mask - lol _EM_PSIZE ; the flag integer at offset _EM_PSIZE - lal 0 - loi _EM_PSIZE - stf 3*_EM_PSIZE+_EM_LSIZE - lol _EM_PSIZE ; the flag integer at offset _EM_PSIZE - zeq *1 - lal 0 - loi _EM_PSIZE - adp 3*_EM_PSIZE - cal $__newsigset - asp _EM_PSIZE -1 -#elif defined(__BSD4_2) - loc 0 - cal $sigblock - asp _EM_WSIZE - lfr _EM_WSIZE - lal 0 - loi _EM_PSIZE - stf 3*_EM_PSIZE -#endif -; create GTO descriptor for longjmp - lxl 0 - dch ; Local Base of caller - lxa 0 ; Stackpointer of caller - lal _EM_PSIZE+_EM_WSIZE - loi _EM_PSIZE ; Return address of caller - lal 0 - loi _EM_PSIZE ; address of jmpbuf - sti 3*_EM_PSIZE ; LB, SP, and PC stored in jmpbuf - loc 0 - ret _EM_WSIZE ; setjmp must return 0 - end 0 - - pro $fill_ret_area,0 -; put argument in function result area - lol 0 - ret _EM_WSIZE - end 0 - - exp $longjmp - pro $longjmp,? -#if defined(_POSIX_SOURCE) -; restore blocked mask - lal 0 - loi _EM_PSIZE - lof 3*_EM_PSIZE+_EM_LSIZE - zeq *2 - lal 0 - loi _EM_PSIZE - adp 3*_EM_PSIZE - cal $__oldsigset - asp _EM_PSIZE -2 -#elif defined(__BSD4_2) -; restore signal mask - lal 0 - loi _EM_PSIZE - lof 3*_EM_PSIZE - cal $_sigsetmask - asp _EM_WSIZE - lfr _EM_WSIZE - asp _EM_WSIZE -#endif - lal 0 - loi _EM_PSIZE ; address of jmpbuf - lae gtobuf - blm 3*_EM_PSIZE ; fill GTO descriptor from jmpbuf - lol _EM_PSIZE ; second parameter of longjmp: the return value - dup _EM_WSIZE - zne *3 -; of course, longjmp may not return 0! - inc -3 -; put return value in function result area - cal $fill_ret_area - asp _EM_WSIZE - gto gtobuf ; there we go ... -; ASP and GTO do not damage function result area - end 0 diff --git a/lib/stdio/Makefile b/lib/stdio/Makefile deleted file mode 100755 index 1a6d06b7c..000000000 --- a/lib/stdio/Makefile +++ /dev/null @@ -1,400 +0,0 @@ -#Generated from ./stdio/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../generate.sh ./stdio ../obj-ack ../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../obj-ack/libc.a - -../obj-ack/libc.a: ../obj-ack/libc.a(clearerr.o) -../obj-ack/libc.a: ../obj-ack/libc.a(data.o) -../obj-ack/libc.a: ../obj-ack/libc.a(doprnt.o) -../obj-ack/libc.a: ../obj-ack/libc.a(doscan.o) -../obj-ack/libc.a: ../obj-ack/libc.a(ecvt.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fclose.o) -../obj-ack/libc.a: ../obj-ack/libc.a(feof.o) -../obj-ack/libc.a: ../obj-ack/libc.a(ferror.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fflush.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fgetc.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fgetpos.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fgets.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fileno.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fillbuf.o) -../obj-ack/libc.a: ../obj-ack/libc.a(flushbuf.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fopen.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fprintf.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fputc.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fputs.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fread.o) -../obj-ack/libc.a: ../obj-ack/libc.a(freopen.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fscanf.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fseek.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fsetpos.o) -../obj-ack/libc.a: ../obj-ack/libc.a(ftell.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fwrite.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getc.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getchar.o) -../obj-ack/libc.a: ../obj-ack/libc.a(gets.o) -../obj-ack/libc.a: ../obj-ack/libc.a(icompute.o) -../obj-ack/libc.a: ../obj-ack/libc.a(mktemp.o) -../obj-ack/libc.a: ../obj-ack/libc.a(perror.o) -../obj-ack/libc.a: ../obj-ack/libc.a(printf.o) -../obj-ack/libc.a: ../obj-ack/libc.a(putc.o) -../obj-ack/libc.a: ../obj-ack/libc.a(putchar.o) -../obj-ack/libc.a: ../obj-ack/libc.a(puts.o) -../obj-ack/libc.a: ../obj-ack/libc.a(remove.o) -../obj-ack/libc.a: ../obj-ack/libc.a(rewind.o) -../obj-ack/libc.a: ../obj-ack/libc.a(scanf.o) -../obj-ack/libc.a: ../obj-ack/libc.a(setbuf.o) -../obj-ack/libc.a: ../obj-ack/libc.a(setvbuf.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sprintf.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sscanf.o) -../obj-ack/libc.a: ../obj-ack/libc.a(tmpfile.o) -../obj-ack/libc.a: ../obj-ack/libc.a(tmpnam.o) -../obj-ack/libc.a: ../obj-ack/libc.a(ungetc.o) -../obj-ack/libc.a: ../obj-ack/libc.a(vfprintf.o) -../obj-ack/libc.a: ../obj-ack/libc.a(vprintf.o) -../obj-ack/libc.a: ../obj-ack/libc.a(vscanf.o) -../obj-ack/libc.a: ../obj-ack/libc.a(vsprintf.o) -../obj-ack/libc.a: ../obj-ack/libc.a(vsscanf.o) - -../obj-ack/libc.a: - ar cr ../obj-ack/libc.a ../obj-ack/./stdio/*.o - rm ../obj-ack/./stdio/*.o - -../obj-ack/libc.a(clearerr.o): clearerr.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/clearerr.o clearerr.c -../obj-ack/libc.a(data.o): data.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/data.o data.c -../obj-ack/libc.a(doprnt.o): doprnt.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/doprnt.o doprnt.c -../obj-ack/libc.a(doscan.o): doscan.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/doscan.o doscan.c -../obj-ack/libc.a(ecvt.o): ecvt.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/ecvt.o ecvt.c -../obj-ack/libc.a(fclose.o): fclose.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/fclose.o fclose.c -../obj-ack/libc.a(feof.o): feof.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/feof.o feof.c -../obj-ack/libc.a(ferror.o): ferror.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/ferror.o ferror.c -../obj-ack/libc.a(fflush.o): fflush.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/fflush.o fflush.c -../obj-ack/libc.a(fgetc.o): fgetc.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/fgetc.o fgetc.c -../obj-ack/libc.a(fgetpos.o): fgetpos.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/fgetpos.o fgetpos.c -../obj-ack/libc.a(fgets.o): fgets.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/fgets.o fgets.c -../obj-ack/libc.a(fileno.o): fileno.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/fileno.o fileno.c -../obj-ack/libc.a(fillbuf.o): fillbuf.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/fillbuf.o fillbuf.c -../obj-ack/libc.a(flushbuf.o): flushbuf.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/flushbuf.o flushbuf.c -../obj-ack/libc.a(fopen.o): fopen.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/fopen.o fopen.c -../obj-ack/libc.a(fprintf.o): fprintf.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/fprintf.o fprintf.c -../obj-ack/libc.a(fputc.o): fputc.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/fputc.o fputc.c -../obj-ack/libc.a(fputs.o): fputs.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/fputs.o fputs.c -../obj-ack/libc.a(fread.o): fread.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/fread.o fread.c -../obj-ack/libc.a(freopen.o): freopen.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/freopen.o freopen.c -../obj-ack/libc.a(fscanf.o): fscanf.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/fscanf.o fscanf.c -../obj-ack/libc.a(fseek.o): fseek.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/fseek.o fseek.c -../obj-ack/libc.a(fsetpos.o): fsetpos.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/fsetpos.o fsetpos.c -../obj-ack/libc.a(ftell.o): ftell.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/ftell.o ftell.c -../obj-ack/libc.a(fwrite.o): fwrite.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/fwrite.o fwrite.c -../obj-ack/libc.a(getc.o): getc.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/getc.o getc.c -../obj-ack/libc.a(getchar.o): getchar.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/getchar.o getchar.c -../obj-ack/libc.a(gets.o): gets.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/gets.o gets.c -../obj-ack/libc.a(icompute.o): icompute.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/icompute.o icompute.c -../obj-ack/libc.a(mktemp.o): mktemp.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/mktemp.o mktemp.c -../obj-ack/libc.a(perror.o): perror.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/perror.o perror.c -../obj-ack/libc.a(printf.o): printf.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/printf.o printf.c -../obj-ack/libc.a(putc.o): putc.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/putc.o putc.c -../obj-ack/libc.a(putchar.o): putchar.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/putchar.o putchar.c -../obj-ack/libc.a(puts.o): puts.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/puts.o puts.c -../obj-ack/libc.a(remove.o): remove.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/remove.o remove.c -../obj-ack/libc.a(rewind.o): rewind.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/rewind.o rewind.c -../obj-ack/libc.a(scanf.o): scanf.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/scanf.o scanf.c -../obj-ack/libc.a(setbuf.o): setbuf.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/setbuf.o setbuf.c -../obj-ack/libc.a(setvbuf.o): setvbuf.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/setvbuf.o setvbuf.c -../obj-ack/libc.a(sprintf.o): sprintf.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/sprintf.o sprintf.c -../obj-ack/libc.a(sscanf.o): sscanf.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/sscanf.o sscanf.c -../obj-ack/libc.a(tmpfile.o): tmpfile.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/tmpfile.o tmpfile.c -../obj-ack/libc.a(tmpnam.o): tmpnam.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/tmpnam.o tmpnam.c -../obj-ack/libc.a(ungetc.o): ungetc.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/ungetc.o ungetc.c -../obj-ack/libc.a(vfprintf.o): vfprintf.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/vfprintf.o vfprintf.c -../obj-ack/libc.a(vprintf.o): vprintf.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/vprintf.o vprintf.c -../obj-ack/libc.a(vscanf.o): vscanf.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/vscanf.o vscanf.c -../obj-ack/libc.a(vsprintf.o): vsprintf.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/vsprintf.o vsprintf.c -../obj-ack/libc.a(vsscanf.o): vsscanf.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./stdio/vsscanf.o vsscanf.c - -all-gnu: ../obj-gnu/libc.a - -../obj-gnu/libc.a: ../obj-gnu/./stdio/clearerr.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/data.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/doprnt.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/doscan.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/ecvt.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/fclose.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/feof.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/ferror.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/fflush.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/fgetc.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/fgetpos.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/fgets.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/fileno.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/fillbuf.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/flushbuf.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/fopen.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/fprintf.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/fputc.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/fputs.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/fread.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/freopen.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/fscanf.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/fseek.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/fsetpos.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/ftell.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/fwrite.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/getc.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/getchar.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/gets.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/icompute.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/mktemp.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/perror.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/printf.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/putc.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/putchar.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/puts.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/remove.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/rewind.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/scanf.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/setbuf.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/setvbuf.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/sprintf.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/sscanf.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/tmpfile.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/tmpnam.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/ungetc.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/vfprintf.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/vprintf.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/vscanf.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/vsprintf.o -../obj-gnu/libc.a: ../obj-gnu/./stdio/vsscanf.o - -../obj-gnu/libc.a: - gar cr ../obj-gnu/libc.a $? - -../obj-gnu/./stdio/clearerr.o: clearerr.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/clearerr.o clearerr.c - -../obj-gnu/./stdio/data.o: data.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/data.o data.c - -../obj-gnu/./stdio/doprnt.o: doprnt.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/doprnt.o doprnt.c - -../obj-gnu/./stdio/doscan.o: doscan.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/doscan.o doscan.c - -../obj-gnu/./stdio/ecvt.o: ecvt.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/ecvt.o ecvt.c - -../obj-gnu/./stdio/fclose.o: fclose.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/fclose.o fclose.c - -../obj-gnu/./stdio/feof.o: feof.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/feof.o feof.c - -../obj-gnu/./stdio/ferror.o: ferror.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/ferror.o ferror.c - -../obj-gnu/./stdio/fflush.o: fflush.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/fflush.o fflush.c - -../obj-gnu/./stdio/fgetc.o: fgetc.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/fgetc.o fgetc.c - -../obj-gnu/./stdio/fgetpos.o: fgetpos.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/fgetpos.o fgetpos.c - -../obj-gnu/./stdio/fgets.o: fgets.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/fgets.o fgets.c - -../obj-gnu/./stdio/fileno.o: fileno.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/fileno.o fileno.c - -../obj-gnu/./stdio/fillbuf.o: fillbuf.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/fillbuf.o fillbuf.c - -../obj-gnu/./stdio/flushbuf.o: flushbuf.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/flushbuf.o flushbuf.c - -../obj-gnu/./stdio/fopen.o: fopen.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/fopen.o fopen.c - -../obj-gnu/./stdio/fprintf.o: fprintf.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/fprintf.o fprintf.c - -../obj-gnu/./stdio/fputc.o: fputc.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/fputc.o fputc.c - -../obj-gnu/./stdio/fputs.o: fputs.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/fputs.o fputs.c - -../obj-gnu/./stdio/fread.o: fread.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/fread.o fread.c - -../obj-gnu/./stdio/freopen.o: freopen.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/freopen.o freopen.c - -../obj-gnu/./stdio/fscanf.o: fscanf.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/fscanf.o fscanf.c - -../obj-gnu/./stdio/fseek.o: fseek.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/fseek.o fseek.c - -../obj-gnu/./stdio/fsetpos.o: fsetpos.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/fsetpos.o fsetpos.c - -../obj-gnu/./stdio/ftell.o: ftell.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/ftell.o ftell.c - -../obj-gnu/./stdio/fwrite.o: fwrite.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/fwrite.o fwrite.c - -../obj-gnu/./stdio/getc.o: getc.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/getc.o getc.c - -../obj-gnu/./stdio/getchar.o: getchar.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/getchar.o getchar.c - -../obj-gnu/./stdio/gets.o: gets.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/gets.o gets.c - -../obj-gnu/./stdio/icompute.o: icompute.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/icompute.o icompute.c - -../obj-gnu/./stdio/mktemp.o: mktemp.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/mktemp.o mktemp.c - -../obj-gnu/./stdio/perror.o: perror.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/perror.o perror.c - -../obj-gnu/./stdio/printf.o: printf.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/printf.o printf.c - -../obj-gnu/./stdio/putc.o: putc.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/putc.o putc.c - -../obj-gnu/./stdio/putchar.o: putchar.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/putchar.o putchar.c - -../obj-gnu/./stdio/puts.o: puts.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/puts.o puts.c - -../obj-gnu/./stdio/remove.o: remove.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/remove.o remove.c - -../obj-gnu/./stdio/rewind.o: rewind.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/rewind.o rewind.c - -../obj-gnu/./stdio/scanf.o: scanf.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/scanf.o scanf.c - -../obj-gnu/./stdio/setbuf.o: setbuf.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/setbuf.o setbuf.c - -../obj-gnu/./stdio/setvbuf.o: setvbuf.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/setvbuf.o setvbuf.c - -../obj-gnu/./stdio/sprintf.o: sprintf.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/sprintf.o sprintf.c - -../obj-gnu/./stdio/sscanf.o: sscanf.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/sscanf.o sscanf.c - -../obj-gnu/./stdio/tmpfile.o: tmpfile.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/tmpfile.o tmpfile.c - -../obj-gnu/./stdio/tmpnam.o: tmpnam.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/tmpnam.o tmpnam.c - -../obj-gnu/./stdio/ungetc.o: ungetc.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/ungetc.o ungetc.c - -../obj-gnu/./stdio/vfprintf.o: vfprintf.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/vfprintf.o vfprintf.c - -../obj-gnu/./stdio/vprintf.o: vprintf.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/vprintf.o vprintf.c - -../obj-gnu/./stdio/vscanf.o: vscanf.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/vscanf.o vscanf.c - -../obj-gnu/./stdio/vsprintf.o: vsprintf.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/vsprintf.o vsprintf.c - -../obj-gnu/./stdio/vsscanf.o: vsscanf.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./stdio/vsscanf.o vsscanf.c - - - - -clean:: - rm -f ../obj-ack/./stdio/* - rm -f ../obj-gnu/./stdio/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/syscall/Makefile b/lib/syscall/Makefile deleted file mode 100755 index a79dd5626..000000000 --- a/lib/syscall/Makefile +++ /dev/null @@ -1,899 +0,0 @@ -#Generated from ./syscall/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../generate.sh ./syscall ../obj-ack ../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../obj-ack/libc.a - -../obj-ack/libc.a: ../obj-ack/libc.a(_exit.o) -../obj-ack/libc.a: ../obj-ack/libc.a(access.o) -../obj-ack/libc.a: ../obj-ack/libc.a(alarm.o) -../obj-ack/libc.a: ../obj-ack/libc.a(allocmem.o) -../obj-ack/libc.a: ../obj-ack/libc.a(brk.o) -../obj-ack/libc.a: ../obj-ack/libc.a(cfgetispeed.o) -../obj-ack/libc.a: ../obj-ack/libc.a(cfgetospeed.o) -../obj-ack/libc.a: ../obj-ack/libc.a(cfsetispeed.o) -../obj-ack/libc.a: ../obj-ack/libc.a(cfsetospeed.o) -../obj-ack/libc.a: ../obj-ack/libc.a(chdir.o) -../obj-ack/libc.a: ../obj-ack/libc.a(chmod.o) -../obj-ack/libc.a: ../obj-ack/libc.a(chown.o) -../obj-ack/libc.a: ../obj-ack/libc.a(chroot.o) -../obj-ack/libc.a: ../obj-ack/libc.a(close.o) -../obj-ack/libc.a: ../obj-ack/libc.a(closedir.o) -../obj-ack/libc.a: ../obj-ack/libc.a(creat.o) -../obj-ack/libc.a: ../obj-ack/libc.a(devctl.o) -../obj-ack/libc.a: ../obj-ack/libc.a(dup.o) -../obj-ack/libc.a: ../obj-ack/libc.a(dup2.o) -../obj-ack/libc.a: ../obj-ack/libc.a(execl.o) -../obj-ack/libc.a: ../obj-ack/libc.a(execle.o) -../obj-ack/libc.a: ../obj-ack/libc.a(execlp.o) -../obj-ack/libc.a: ../obj-ack/libc.a(execv.o) -../obj-ack/libc.a: ../obj-ack/libc.a(execve.o) -../obj-ack/libc.a: ../obj-ack/libc.a(execvp.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fcntl.o) -../obj-ack/libc.a: ../obj-ack/libc.a(findproc.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fork.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fpathconf.o) -../obj-ack/libc.a: ../obj-ack/libc.a(freemem.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fstat.o) -../obj-ack/libc.a: ../obj-ack/libc.a(fstatfs.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getcwd.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getegid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(geteuid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getgid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getgroups.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getnpid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getnprocnr.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getpgrp.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getpid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getppid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getpprocnr.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getprocnr.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getsysinfo.o) -../obj-ack/libc.a: ../obj-ack/libc.a(getuid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(ioctl.o) -../obj-ack/libc.a: ../obj-ack/libc.a(isatty.o) -../obj-ack/libc.a: ../obj-ack/libc.a(kill.o) -../obj-ack/libc.a: ../obj-ack/libc.a(link.o) -../obj-ack/libc.a: ../obj-ack/libc.a(lseek.o) -../obj-ack/libc.a: ../obj-ack/libc.a(lstat.o) -../obj-ack/libc.a: ../obj-ack/libc.a(mkdir.o) -../obj-ack/libc.a: ../obj-ack/libc.a(mkfifo.o) -../obj-ack/libc.a: ../obj-ack/libc.a(mknod.o) -../obj-ack/libc.a: ../obj-ack/libc.a(mount.o) -../obj-ack/libc.a: ../obj-ack/libc.a(open.o) -../obj-ack/libc.a: ../obj-ack/libc.a(opendir.o) -../obj-ack/libc.a: ../obj-ack/libc.a(pathconf.o) -../obj-ack/libc.a: ../obj-ack/libc.a(pause.o) -../obj-ack/libc.a: ../obj-ack/libc.a(pipe.o) -../obj-ack/libc.a: ../obj-ack/libc.a(ptrace.o) -../obj-ack/libc.a: ../obj-ack/libc.a(read.o) -../obj-ack/libc.a: ../obj-ack/libc.a(readdir.o) -../obj-ack/libc.a: ../obj-ack/libc.a(readlink.o) -../obj-ack/libc.a: ../obj-ack/libc.a(reboot.o) -../obj-ack/libc.a: ../obj-ack/libc.a(rename.o) -../obj-ack/libc.a: ../obj-ack/libc.a(rewinddir.o) -../obj-ack/libc.a: ../obj-ack/libc.a(rmdir.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sbrk.o) -../obj-ack/libc.a: ../obj-ack/libc.a(seekdir.o) -../obj-ack/libc.a: ../obj-ack/libc.a(setgid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(setsid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(setuid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sigaction.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sigaddset.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sigdelset.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sigemptyset.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sigfillset.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sigismember.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sigpending.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sigprocmask.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sigreturn.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sigsuspend.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sleep.o) -../obj-ack/libc.a: ../obj-ack/libc.a(stat.o) -../obj-ack/libc.a: ../obj-ack/libc.a(stime.o) -../obj-ack/libc.a: ../obj-ack/libc.a(svrctl.o) -../obj-ack/libc.a: ../obj-ack/libc.a(symlink.o) -../obj-ack/libc.a: ../obj-ack/libc.a(sync.o) -../obj-ack/libc.a: ../obj-ack/libc.a(tcdrain.o) -../obj-ack/libc.a: ../obj-ack/libc.a(tcflow.o) -../obj-ack/libc.a: ../obj-ack/libc.a(tcflush.o) -../obj-ack/libc.a: ../obj-ack/libc.a(tcgetattr.o) -../obj-ack/libc.a: ../obj-ack/libc.a(tcsendbreak.o) -../obj-ack/libc.a: ../obj-ack/libc.a(tcsetattr.o) -../obj-ack/libc.a: ../obj-ack/libc.a(time.o) -../obj-ack/libc.a: ../obj-ack/libc.a(times.o) -../obj-ack/libc.a: ../obj-ack/libc.a(truncate.o) -../obj-ack/libc.a: ../obj-ack/libc.a(umask.o) -../obj-ack/libc.a: ../obj-ack/libc.a(umount.o) -../obj-ack/libc.a: ../obj-ack/libc.a(uname.o) -../obj-ack/libc.a: ../obj-ack/libc.a(unlink.o) -../obj-ack/libc.a: ../obj-ack/libc.a(utime.o) -../obj-ack/libc.a: ../obj-ack/libc.a(wait.o) -../obj-ack/libc.a: ../obj-ack/libc.a(waitpid.o) -../obj-ack/libc.a: ../obj-ack/libc.a(write.o) - -../obj-ack/libc.a: - ar cr ../obj-ack/libc.a ../obj-ack/./syscall/*.o - rm ../obj-ack/./syscall/*.o - -../obj-ack/libc.a(_exit.o): _exit.s - cc -c -o ../obj-ack/./syscall/_exit.o _exit.s -../obj-ack/libc.a(access.o): access.s - cc -c -o ../obj-ack/./syscall/access.o access.s -../obj-ack/libc.a(alarm.o): alarm.s - cc -c -o ../obj-ack/./syscall/alarm.o alarm.s -../obj-ack/libc.a(allocmem.o): allocmem.s - cc -c -o ../obj-ack/./syscall/allocmem.o allocmem.s -../obj-ack/libc.a(brk.o): brk.s - cc -c -o ../obj-ack/./syscall/brk.o brk.s -../obj-ack/libc.a(cfgetispeed.o): cfgetispeed.s - cc -c -o ../obj-ack/./syscall/cfgetispeed.o cfgetispeed.s -../obj-ack/libc.a(cfgetospeed.o): cfgetospeed.s - cc -c -o ../obj-ack/./syscall/cfgetospeed.o cfgetospeed.s -../obj-ack/libc.a(cfsetispeed.o): cfsetispeed.s - cc -c -o ../obj-ack/./syscall/cfsetispeed.o cfsetispeed.s -../obj-ack/libc.a(cfsetospeed.o): cfsetospeed.s - cc -c -o ../obj-ack/./syscall/cfsetospeed.o cfsetospeed.s -../obj-ack/libc.a(chdir.o): chdir.s - cc -c -o ../obj-ack/./syscall/chdir.o chdir.s -../obj-ack/libc.a(chmod.o): chmod.s - cc -c -o ../obj-ack/./syscall/chmod.o chmod.s -../obj-ack/libc.a(chown.o): chown.s - cc -c -o ../obj-ack/./syscall/chown.o chown.s -../obj-ack/libc.a(chroot.o): chroot.s - cc -c -o ../obj-ack/./syscall/chroot.o chroot.s -../obj-ack/libc.a(close.o): close.s - cc -c -o ../obj-ack/./syscall/close.o close.s -../obj-ack/libc.a(closedir.o): closedir.s - cc -c -o ../obj-ack/./syscall/closedir.o closedir.s -../obj-ack/libc.a(creat.o): creat.s - cc -c -o ../obj-ack/./syscall/creat.o creat.s -../obj-ack/libc.a(devctl.o): devctl.s - cc -c -o ../obj-ack/./syscall/devctl.o devctl.s -../obj-ack/libc.a(dup.o): dup.s - cc -c -o ../obj-ack/./syscall/dup.o dup.s -../obj-ack/libc.a(dup2.o): dup2.s - cc -c -o ../obj-ack/./syscall/dup2.o dup2.s -../obj-ack/libc.a(execl.o): execl.s - cc -c -o ../obj-ack/./syscall/execl.o execl.s -../obj-ack/libc.a(execle.o): execle.s - cc -c -o ../obj-ack/./syscall/execle.o execle.s -../obj-ack/libc.a(execlp.o): execlp.s - cc -c -o ../obj-ack/./syscall/execlp.o execlp.s -../obj-ack/libc.a(execv.o): execv.s - cc -c -o ../obj-ack/./syscall/execv.o execv.s -../obj-ack/libc.a(execve.o): execve.s - cc -c -o ../obj-ack/./syscall/execve.o execve.s -../obj-ack/libc.a(execvp.o): execvp.s - cc -c -o ../obj-ack/./syscall/execvp.o execvp.s -../obj-ack/libc.a(fcntl.o): fcntl.s - cc -c -o ../obj-ack/./syscall/fcntl.o fcntl.s -../obj-ack/libc.a(findproc.o): findproc.s - cc -c -o ../obj-ack/./syscall/findproc.o findproc.s -../obj-ack/libc.a(fork.o): fork.s - cc -c -o ../obj-ack/./syscall/fork.o fork.s -../obj-ack/libc.a(fpathconf.o): fpathconf.s - cc -c -o ../obj-ack/./syscall/fpathconf.o fpathconf.s -../obj-ack/libc.a(freemem.o): freemem.s - cc -c -o ../obj-ack/./syscall/freemem.o freemem.s -../obj-ack/libc.a(fstat.o): fstat.s - cc -c -o ../obj-ack/./syscall/fstat.o fstat.s -../obj-ack/libc.a(fstatfs.o): fstatfs.s - cc -c -o ../obj-ack/./syscall/fstatfs.o fstatfs.s -../obj-ack/libc.a(getcwd.o): getcwd.s - cc -c -o ../obj-ack/./syscall/getcwd.o getcwd.s -../obj-ack/libc.a(getegid.o): getegid.s - cc -c -o ../obj-ack/./syscall/getegid.o getegid.s -../obj-ack/libc.a(geteuid.o): geteuid.s - cc -c -o ../obj-ack/./syscall/geteuid.o geteuid.s -../obj-ack/libc.a(getgid.o): getgid.s - cc -c -o ../obj-ack/./syscall/getgid.o getgid.s -../obj-ack/libc.a(getgroups.o): getgroups.s - cc -c -o ../obj-ack/./syscall/getgroups.o getgroups.s -../obj-ack/libc.a(getnpid.o): getnpid.s - cc -c -o ../obj-ack/./syscall/getnpid.o getnpid.s -../obj-ack/libc.a(getnprocnr.o): getnprocnr.s - cc -c -o ../obj-ack/./syscall/getnprocnr.o getnprocnr.s -../obj-ack/libc.a(getpgrp.o): getpgrp.s - cc -c -o ../obj-ack/./syscall/getpgrp.o getpgrp.s -../obj-ack/libc.a(getpid.o): getpid.s - cc -c -o ../obj-ack/./syscall/getpid.o getpid.s -../obj-ack/libc.a(getppid.o): getppid.s - cc -c -o ../obj-ack/./syscall/getppid.o getppid.s -../obj-ack/libc.a(getpprocnr.o): getpprocnr.s - cc -c -o ../obj-ack/./syscall/getpprocnr.o getpprocnr.s -../obj-ack/libc.a(getprocnr.o): getprocnr.s - cc -c -o ../obj-ack/./syscall/getprocnr.o getprocnr.s -../obj-ack/libc.a(getsysinfo.o): getsysinfo.s - cc -c -o ../obj-ack/./syscall/getsysinfo.o getsysinfo.s -../obj-ack/libc.a(getuid.o): getuid.s - cc -c -o ../obj-ack/./syscall/getuid.o getuid.s -../obj-ack/libc.a(ioctl.o): ioctl.s - cc -c -o ../obj-ack/./syscall/ioctl.o ioctl.s -../obj-ack/libc.a(isatty.o): isatty.s - cc -c -o ../obj-ack/./syscall/isatty.o isatty.s -../obj-ack/libc.a(kill.o): kill.s - cc -c -o ../obj-ack/./syscall/kill.o kill.s -../obj-ack/libc.a(link.o): link.s - cc -c -o ../obj-ack/./syscall/link.o link.s -../obj-ack/libc.a(lseek.o): lseek.s - cc -c -o ../obj-ack/./syscall/lseek.o lseek.s -../obj-ack/libc.a(lstat.o): lstat.s - cc -c -o ../obj-ack/./syscall/lstat.o lstat.s -../obj-ack/libc.a(mkdir.o): mkdir.s - cc -c -o ../obj-ack/./syscall/mkdir.o mkdir.s -../obj-ack/libc.a(mkfifo.o): mkfifo.s - cc -c -o ../obj-ack/./syscall/mkfifo.o mkfifo.s -../obj-ack/libc.a(mknod.o): mknod.s - cc -c -o ../obj-ack/./syscall/mknod.o mknod.s -../obj-ack/libc.a(mount.o): mount.s - cc -c -o ../obj-ack/./syscall/mount.o mount.s -../obj-ack/libc.a(open.o): open.s - cc -c -o ../obj-ack/./syscall/open.o open.s -../obj-ack/libc.a(opendir.o): opendir.s - cc -c -o ../obj-ack/./syscall/opendir.o opendir.s -../obj-ack/libc.a(pathconf.o): pathconf.s - cc -c -o ../obj-ack/./syscall/pathconf.o pathconf.s -../obj-ack/libc.a(pause.o): pause.s - cc -c -o ../obj-ack/./syscall/pause.o pause.s -../obj-ack/libc.a(pipe.o): pipe.s - cc -c -o ../obj-ack/./syscall/pipe.o pipe.s -../obj-ack/libc.a(ptrace.o): ptrace.s - cc -c -o ../obj-ack/./syscall/ptrace.o ptrace.s -../obj-ack/libc.a(read.o): read.s - cc -c -o ../obj-ack/./syscall/read.o read.s -../obj-ack/libc.a(readdir.o): readdir.s - cc -c -o ../obj-ack/./syscall/readdir.o readdir.s -../obj-ack/libc.a(readlink.o): readlink.s - cc -c -o ../obj-ack/./syscall/readlink.o readlink.s -../obj-ack/libc.a(reboot.o): reboot.s - cc -c -o ../obj-ack/./syscall/reboot.o reboot.s -../obj-ack/libc.a(rename.o): rename.s - cc -c -o ../obj-ack/./syscall/rename.o rename.s -../obj-ack/libc.a(rewinddir.o): rewinddir.s - cc -c -o ../obj-ack/./syscall/rewinddir.o rewinddir.s -../obj-ack/libc.a(rmdir.o): rmdir.s - cc -c -o ../obj-ack/./syscall/rmdir.o rmdir.s -../obj-ack/libc.a(sbrk.o): sbrk.s - cc -c -o ../obj-ack/./syscall/sbrk.o sbrk.s -../obj-ack/libc.a(seekdir.o): seekdir.s - cc -c -o ../obj-ack/./syscall/seekdir.o seekdir.s -../obj-ack/libc.a(setgid.o): setgid.s - cc -c -o ../obj-ack/./syscall/setgid.o setgid.s -../obj-ack/libc.a(setsid.o): setsid.s - cc -c -o ../obj-ack/./syscall/setsid.o setsid.s -../obj-ack/libc.a(setuid.o): setuid.s - cc -c -o ../obj-ack/./syscall/setuid.o setuid.s -../obj-ack/libc.a(sigaction.o): sigaction.s - cc -c -o ../obj-ack/./syscall/sigaction.o sigaction.s -../obj-ack/libc.a(sigaddset.o): sigaddset.s - cc -c -o ../obj-ack/./syscall/sigaddset.o sigaddset.s -../obj-ack/libc.a(sigdelset.o): sigdelset.s - cc -c -o ../obj-ack/./syscall/sigdelset.o sigdelset.s -../obj-ack/libc.a(sigemptyset.o): sigemptyset.s - cc -c -o ../obj-ack/./syscall/sigemptyset.o sigemptyset.s -../obj-ack/libc.a(sigfillset.o): sigfillset.s - cc -c -o ../obj-ack/./syscall/sigfillset.o sigfillset.s -../obj-ack/libc.a(sigismember.o): sigismember.s - cc -c -o ../obj-ack/./syscall/sigismember.o sigismember.s -../obj-ack/libc.a(sigpending.o): sigpending.s - cc -c -o ../obj-ack/./syscall/sigpending.o sigpending.s -../obj-ack/libc.a(sigprocmask.o): sigprocmask.s - cc -c -o ../obj-ack/./syscall/sigprocmask.o sigprocmask.s -../obj-ack/libc.a(sigreturn.o): sigreturn.s - cc -c -o ../obj-ack/./syscall/sigreturn.o sigreturn.s -../obj-ack/libc.a(sigsuspend.o): sigsuspend.s - cc -c -o ../obj-ack/./syscall/sigsuspend.o sigsuspend.s -../obj-ack/libc.a(sleep.o): sleep.s - cc -c -o ../obj-ack/./syscall/sleep.o sleep.s -../obj-ack/libc.a(stat.o): stat.s - cc -c -o ../obj-ack/./syscall/stat.o stat.s -../obj-ack/libc.a(stime.o): stime.s - cc -c -o ../obj-ack/./syscall/stime.o stime.s -../obj-ack/libc.a(svrctl.o): svrctl.s - cc -c -o ../obj-ack/./syscall/svrctl.o svrctl.s -../obj-ack/libc.a(symlink.o): symlink.s - cc -c -o ../obj-ack/./syscall/symlink.o symlink.s -../obj-ack/libc.a(sync.o): sync.s - cc -c -o ../obj-ack/./syscall/sync.o sync.s -../obj-ack/libc.a(tcdrain.o): tcdrain.s - cc -c -o ../obj-ack/./syscall/tcdrain.o tcdrain.s -../obj-ack/libc.a(tcflow.o): tcflow.s - cc -c -o ../obj-ack/./syscall/tcflow.o tcflow.s -../obj-ack/libc.a(tcflush.o): tcflush.s - cc -c -o ../obj-ack/./syscall/tcflush.o tcflush.s -../obj-ack/libc.a(tcgetattr.o): tcgetattr.s - cc -c -o ../obj-ack/./syscall/tcgetattr.o tcgetattr.s -../obj-ack/libc.a(tcsendbreak.o): tcsendbreak.s - cc -c -o ../obj-ack/./syscall/tcsendbreak.o tcsendbreak.s -../obj-ack/libc.a(tcsetattr.o): tcsetattr.s - cc -c -o ../obj-ack/./syscall/tcsetattr.o tcsetattr.s -../obj-ack/libc.a(time.o): time.s - cc -c -o ../obj-ack/./syscall/time.o time.s -../obj-ack/libc.a(times.o): times.s - cc -c -o ../obj-ack/./syscall/times.o times.s -../obj-ack/libc.a(truncate.o): truncate.s - cc -c -o ../obj-ack/./syscall/truncate.o truncate.s -../obj-ack/libc.a(umask.o): umask.s - cc -c -o ../obj-ack/./syscall/umask.o umask.s -../obj-ack/libc.a(umount.o): umount.s - cc -c -o ../obj-ack/./syscall/umount.o umount.s -../obj-ack/libc.a(uname.o): uname.s - cc -c -o ../obj-ack/./syscall/uname.o uname.s -../obj-ack/libc.a(unlink.o): unlink.s - cc -c -o ../obj-ack/./syscall/unlink.o unlink.s -../obj-ack/libc.a(utime.o): utime.s - cc -c -o ../obj-ack/./syscall/utime.o utime.s -../obj-ack/libc.a(wait.o): wait.s - cc -c -o ../obj-ack/./syscall/wait.o wait.s -../obj-ack/libc.a(waitpid.o): waitpid.s - cc -c -o ../obj-ack/./syscall/waitpid.o waitpid.s -../obj-ack/libc.a(write.o): write.s - cc -c -o ../obj-ack/./syscall/write.o write.s - -all-gnu: ../obj-gnu/libc.a - -../obj-gnu/libc.a: ../obj-gnu/./syscall/_exit.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/access.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/alarm.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/allocmem.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/brk.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/cfgetispeed.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/cfgetospeed.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/cfsetispeed.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/cfsetospeed.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/chdir.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/chmod.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/chown.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/chroot.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/close.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/closedir.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/creat.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/devctl.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/dup.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/dup2.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/execl.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/execle.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/execlp.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/execv.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/execve.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/execvp.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/fcntl.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/findproc.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/fork.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/fpathconf.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/freemem.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/fstat.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/fstatfs.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/getcwd.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/getegid.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/geteuid.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/getgid.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/getgroups.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/getnpid.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/getnprocnr.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/getpgrp.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/getpid.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/getppid.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/getpprocnr.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/getprocnr.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/getsysinfo.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/getuid.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/ioctl.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/isatty.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/kill.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/link.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/lseek.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/lstat.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/mkdir.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/mkfifo.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/mknod.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/mount.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/open.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/opendir.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/pathconf.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/pause.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/pipe.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/ptrace.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/read.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/readdir.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/readlink.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/reboot.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/rename.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/rewinddir.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/rmdir.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/sbrk.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/seekdir.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/setgid.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/setsid.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/setuid.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/sigaction.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/sigaddset.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/sigdelset.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/sigemptyset.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/sigfillset.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/sigismember.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/sigpending.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/sigprocmask.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/sigreturn.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/sigsuspend.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/sleep.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/stat.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/stime.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/svrctl.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/symlink.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/sync.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/tcdrain.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/tcflow.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/tcflush.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/tcgetattr.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/tcsendbreak.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/tcsetattr.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/time.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/times.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/truncate.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/umask.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/umount.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/uname.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/unlink.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/utime.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/wait.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/waitpid.o -../obj-gnu/libc.a: ../obj-gnu/./syscall/write.o - -../obj-gnu/libc.a: - gar cr ../obj-gnu/libc.a $? - -../obj-gnu/./syscall/_exit.o: _exit.s - gcc -E -x assembler-with-cpp -I. _exit.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/_exit.s.gnu || true - gas -o ../obj-gnu/./syscall/_exit.o ../obj-gnu/./syscall/_exit.s.gnu - -../obj-gnu/./syscall/access.o: access.s - gcc -E -x assembler-with-cpp -I. access.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/access.s.gnu || true - gas -o ../obj-gnu/./syscall/access.o ../obj-gnu/./syscall/access.s.gnu - -../obj-gnu/./syscall/alarm.o: alarm.s - gcc -E -x assembler-with-cpp -I. alarm.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/alarm.s.gnu || true - gas -o ../obj-gnu/./syscall/alarm.o ../obj-gnu/./syscall/alarm.s.gnu - -../obj-gnu/./syscall/allocmem.o: allocmem.s - gcc -E -x assembler-with-cpp -I. allocmem.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/allocmem.s.gnu || true - gas -o ../obj-gnu/./syscall/allocmem.o ../obj-gnu/./syscall/allocmem.s.gnu - -../obj-gnu/./syscall/brk.o: brk.s - gcc -E -x assembler-with-cpp -I. brk.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/brk.s.gnu || true - gas -o ../obj-gnu/./syscall/brk.o ../obj-gnu/./syscall/brk.s.gnu - -../obj-gnu/./syscall/cfgetispeed.o: cfgetispeed.s - gcc -E -x assembler-with-cpp -I. cfgetispeed.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/cfgetispeed.s.gnu || true - gas -o ../obj-gnu/./syscall/cfgetispeed.o ../obj-gnu/./syscall/cfgetispeed.s.gnu - -../obj-gnu/./syscall/cfgetospeed.o: cfgetospeed.s - gcc -E -x assembler-with-cpp -I. cfgetospeed.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/cfgetospeed.s.gnu || true - gas -o ../obj-gnu/./syscall/cfgetospeed.o ../obj-gnu/./syscall/cfgetospeed.s.gnu - -../obj-gnu/./syscall/cfsetispeed.o: cfsetispeed.s - gcc -E -x assembler-with-cpp -I. cfsetispeed.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/cfsetispeed.s.gnu || true - gas -o ../obj-gnu/./syscall/cfsetispeed.o ../obj-gnu/./syscall/cfsetispeed.s.gnu - -../obj-gnu/./syscall/cfsetospeed.o: cfsetospeed.s - gcc -E -x assembler-with-cpp -I. cfsetospeed.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/cfsetospeed.s.gnu || true - gas -o ../obj-gnu/./syscall/cfsetospeed.o ../obj-gnu/./syscall/cfsetospeed.s.gnu - -../obj-gnu/./syscall/chdir.o: chdir.s - gcc -E -x assembler-with-cpp -I. chdir.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/chdir.s.gnu || true - gas -o ../obj-gnu/./syscall/chdir.o ../obj-gnu/./syscall/chdir.s.gnu - -../obj-gnu/./syscall/chmod.o: chmod.s - gcc -E -x assembler-with-cpp -I. chmod.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/chmod.s.gnu || true - gas -o ../obj-gnu/./syscall/chmod.o ../obj-gnu/./syscall/chmod.s.gnu - -../obj-gnu/./syscall/chown.o: chown.s - gcc -E -x assembler-with-cpp -I. chown.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/chown.s.gnu || true - gas -o ../obj-gnu/./syscall/chown.o ../obj-gnu/./syscall/chown.s.gnu - -../obj-gnu/./syscall/chroot.o: chroot.s - gcc -E -x assembler-with-cpp -I. chroot.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/chroot.s.gnu || true - gas -o ../obj-gnu/./syscall/chroot.o ../obj-gnu/./syscall/chroot.s.gnu - -../obj-gnu/./syscall/close.o: close.s - gcc -E -x assembler-with-cpp -I. close.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/close.s.gnu || true - gas -o ../obj-gnu/./syscall/close.o ../obj-gnu/./syscall/close.s.gnu - -../obj-gnu/./syscall/closedir.o: closedir.s - gcc -E -x assembler-with-cpp -I. closedir.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/closedir.s.gnu || true - gas -o ../obj-gnu/./syscall/closedir.o ../obj-gnu/./syscall/closedir.s.gnu - -../obj-gnu/./syscall/creat.o: creat.s - gcc -E -x assembler-with-cpp -I. creat.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/creat.s.gnu || true - gas -o ../obj-gnu/./syscall/creat.o ../obj-gnu/./syscall/creat.s.gnu - -../obj-gnu/./syscall/devctl.o: devctl.s - gcc -E -x assembler-with-cpp -I. devctl.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/devctl.s.gnu || true - gas -o ../obj-gnu/./syscall/devctl.o ../obj-gnu/./syscall/devctl.s.gnu - -../obj-gnu/./syscall/dup.o: dup.s - gcc -E -x assembler-with-cpp -I. dup.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/dup.s.gnu || true - gas -o ../obj-gnu/./syscall/dup.o ../obj-gnu/./syscall/dup.s.gnu - -../obj-gnu/./syscall/dup2.o: dup2.s - gcc -E -x assembler-with-cpp -I. dup2.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/dup2.s.gnu || true - gas -o ../obj-gnu/./syscall/dup2.o ../obj-gnu/./syscall/dup2.s.gnu - -../obj-gnu/./syscall/execl.o: execl.s - gcc -E -x assembler-with-cpp -I. execl.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/execl.s.gnu || true - gas -o ../obj-gnu/./syscall/execl.o ../obj-gnu/./syscall/execl.s.gnu - -../obj-gnu/./syscall/execle.o: execle.s - gcc -E -x assembler-with-cpp -I. execle.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/execle.s.gnu || true - gas -o ../obj-gnu/./syscall/execle.o ../obj-gnu/./syscall/execle.s.gnu - -../obj-gnu/./syscall/execlp.o: execlp.s - gcc -E -x assembler-with-cpp -I. execlp.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/execlp.s.gnu || true - gas -o ../obj-gnu/./syscall/execlp.o ../obj-gnu/./syscall/execlp.s.gnu - -../obj-gnu/./syscall/execv.o: execv.s - gcc -E -x assembler-with-cpp -I. execv.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/execv.s.gnu || true - gas -o ../obj-gnu/./syscall/execv.o ../obj-gnu/./syscall/execv.s.gnu - -../obj-gnu/./syscall/execve.o: execve.s - gcc -E -x assembler-with-cpp -I. execve.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/execve.s.gnu || true - gas -o ../obj-gnu/./syscall/execve.o ../obj-gnu/./syscall/execve.s.gnu - -../obj-gnu/./syscall/execvp.o: execvp.s - gcc -E -x assembler-with-cpp -I. execvp.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/execvp.s.gnu || true - gas -o ../obj-gnu/./syscall/execvp.o ../obj-gnu/./syscall/execvp.s.gnu - -../obj-gnu/./syscall/fcntl.o: fcntl.s - gcc -E -x assembler-with-cpp -I. fcntl.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/fcntl.s.gnu || true - gas -o ../obj-gnu/./syscall/fcntl.o ../obj-gnu/./syscall/fcntl.s.gnu - -../obj-gnu/./syscall/findproc.o: findproc.s - gcc -E -x assembler-with-cpp -I. findproc.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/findproc.s.gnu || true - gas -o ../obj-gnu/./syscall/findproc.o ../obj-gnu/./syscall/findproc.s.gnu - -../obj-gnu/./syscall/fork.o: fork.s - gcc -E -x assembler-with-cpp -I. fork.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/fork.s.gnu || true - gas -o ../obj-gnu/./syscall/fork.o ../obj-gnu/./syscall/fork.s.gnu - -../obj-gnu/./syscall/fpathconf.o: fpathconf.s - gcc -E -x assembler-with-cpp -I. fpathconf.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/fpathconf.s.gnu || true - gas -o ../obj-gnu/./syscall/fpathconf.o ../obj-gnu/./syscall/fpathconf.s.gnu - -../obj-gnu/./syscall/freemem.o: freemem.s - gcc -E -x assembler-with-cpp -I. freemem.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/freemem.s.gnu || true - gas -o ../obj-gnu/./syscall/freemem.o ../obj-gnu/./syscall/freemem.s.gnu - -../obj-gnu/./syscall/fstat.o: fstat.s - gcc -E -x assembler-with-cpp -I. fstat.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/fstat.s.gnu || true - gas -o ../obj-gnu/./syscall/fstat.o ../obj-gnu/./syscall/fstat.s.gnu - -../obj-gnu/./syscall/fstatfs.o: fstatfs.s - gcc -E -x assembler-with-cpp -I. fstatfs.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/fstatfs.s.gnu || true - gas -o ../obj-gnu/./syscall/fstatfs.o ../obj-gnu/./syscall/fstatfs.s.gnu - -../obj-gnu/./syscall/getcwd.o: getcwd.s - gcc -E -x assembler-with-cpp -I. getcwd.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/getcwd.s.gnu || true - gas -o ../obj-gnu/./syscall/getcwd.o ../obj-gnu/./syscall/getcwd.s.gnu - -../obj-gnu/./syscall/getegid.o: getegid.s - gcc -E -x assembler-with-cpp -I. getegid.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/getegid.s.gnu || true - gas -o ../obj-gnu/./syscall/getegid.o ../obj-gnu/./syscall/getegid.s.gnu - -../obj-gnu/./syscall/geteuid.o: geteuid.s - gcc -E -x assembler-with-cpp -I. geteuid.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/geteuid.s.gnu || true - gas -o ../obj-gnu/./syscall/geteuid.o ../obj-gnu/./syscall/geteuid.s.gnu - -../obj-gnu/./syscall/getgid.o: getgid.s - gcc -E -x assembler-with-cpp -I. getgid.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/getgid.s.gnu || true - gas -o ../obj-gnu/./syscall/getgid.o ../obj-gnu/./syscall/getgid.s.gnu - -../obj-gnu/./syscall/getgroups.o: getgroups.s - gcc -E -x assembler-with-cpp -I. getgroups.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/getgroups.s.gnu || true - gas -o ../obj-gnu/./syscall/getgroups.o ../obj-gnu/./syscall/getgroups.s.gnu - -../obj-gnu/./syscall/getnpid.o: getnpid.s - gcc -E -x assembler-with-cpp -I. getnpid.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/getnpid.s.gnu || true - gas -o ../obj-gnu/./syscall/getnpid.o ../obj-gnu/./syscall/getnpid.s.gnu - -../obj-gnu/./syscall/getnprocnr.o: getnprocnr.s - gcc -E -x assembler-with-cpp -I. getnprocnr.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/getnprocnr.s.gnu || true - gas -o ../obj-gnu/./syscall/getnprocnr.o ../obj-gnu/./syscall/getnprocnr.s.gnu - -../obj-gnu/./syscall/getpgrp.o: getpgrp.s - gcc -E -x assembler-with-cpp -I. getpgrp.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/getpgrp.s.gnu || true - gas -o ../obj-gnu/./syscall/getpgrp.o ../obj-gnu/./syscall/getpgrp.s.gnu - -../obj-gnu/./syscall/getpid.o: getpid.s - gcc -E -x assembler-with-cpp -I. getpid.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/getpid.s.gnu || true - gas -o ../obj-gnu/./syscall/getpid.o ../obj-gnu/./syscall/getpid.s.gnu - -../obj-gnu/./syscall/getppid.o: getppid.s - gcc -E -x assembler-with-cpp -I. getppid.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/getppid.s.gnu || true - gas -o ../obj-gnu/./syscall/getppid.o ../obj-gnu/./syscall/getppid.s.gnu - -../obj-gnu/./syscall/getpprocnr.o: getpprocnr.s - gcc -E -x assembler-with-cpp -I. getpprocnr.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/getpprocnr.s.gnu || true - gas -o ../obj-gnu/./syscall/getpprocnr.o ../obj-gnu/./syscall/getpprocnr.s.gnu - -../obj-gnu/./syscall/getprocnr.o: getprocnr.s - gcc -E -x assembler-with-cpp -I. getprocnr.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/getprocnr.s.gnu || true - gas -o ../obj-gnu/./syscall/getprocnr.o ../obj-gnu/./syscall/getprocnr.s.gnu - -../obj-gnu/./syscall/getsysinfo.o: getsysinfo.s - gcc -E -x assembler-with-cpp -I. getsysinfo.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/getsysinfo.s.gnu || true - gas -o ../obj-gnu/./syscall/getsysinfo.o ../obj-gnu/./syscall/getsysinfo.s.gnu - -../obj-gnu/./syscall/getuid.o: getuid.s - gcc -E -x assembler-with-cpp -I. getuid.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/getuid.s.gnu || true - gas -o ../obj-gnu/./syscall/getuid.o ../obj-gnu/./syscall/getuid.s.gnu - -../obj-gnu/./syscall/ioctl.o: ioctl.s - gcc -E -x assembler-with-cpp -I. ioctl.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/ioctl.s.gnu || true - gas -o ../obj-gnu/./syscall/ioctl.o ../obj-gnu/./syscall/ioctl.s.gnu - -../obj-gnu/./syscall/isatty.o: isatty.s - gcc -E -x assembler-with-cpp -I. isatty.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/isatty.s.gnu || true - gas -o ../obj-gnu/./syscall/isatty.o ../obj-gnu/./syscall/isatty.s.gnu - -../obj-gnu/./syscall/kill.o: kill.s - gcc -E -x assembler-with-cpp -I. kill.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/kill.s.gnu || true - gas -o ../obj-gnu/./syscall/kill.o ../obj-gnu/./syscall/kill.s.gnu - -../obj-gnu/./syscall/link.o: link.s - gcc -E -x assembler-with-cpp -I. link.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/link.s.gnu || true - gas -o ../obj-gnu/./syscall/link.o ../obj-gnu/./syscall/link.s.gnu - -../obj-gnu/./syscall/lseek.o: lseek.s - gcc -E -x assembler-with-cpp -I. lseek.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/lseek.s.gnu || true - gas -o ../obj-gnu/./syscall/lseek.o ../obj-gnu/./syscall/lseek.s.gnu - -../obj-gnu/./syscall/lstat.o: lstat.s - gcc -E -x assembler-with-cpp -I. lstat.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/lstat.s.gnu || true - gas -o ../obj-gnu/./syscall/lstat.o ../obj-gnu/./syscall/lstat.s.gnu - -../obj-gnu/./syscall/mkdir.o: mkdir.s - gcc -E -x assembler-with-cpp -I. mkdir.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/mkdir.s.gnu || true - gas -o ../obj-gnu/./syscall/mkdir.o ../obj-gnu/./syscall/mkdir.s.gnu - -../obj-gnu/./syscall/mkfifo.o: mkfifo.s - gcc -E -x assembler-with-cpp -I. mkfifo.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/mkfifo.s.gnu || true - gas -o ../obj-gnu/./syscall/mkfifo.o ../obj-gnu/./syscall/mkfifo.s.gnu - -../obj-gnu/./syscall/mknod.o: mknod.s - gcc -E -x assembler-with-cpp -I. mknod.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/mknod.s.gnu || true - gas -o ../obj-gnu/./syscall/mknod.o ../obj-gnu/./syscall/mknod.s.gnu - -../obj-gnu/./syscall/mount.o: mount.s - gcc -E -x assembler-with-cpp -I. mount.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/mount.s.gnu || true - gas -o ../obj-gnu/./syscall/mount.o ../obj-gnu/./syscall/mount.s.gnu - -../obj-gnu/./syscall/open.o: open.s - gcc -E -x assembler-with-cpp -I. open.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/open.s.gnu || true - gas -o ../obj-gnu/./syscall/open.o ../obj-gnu/./syscall/open.s.gnu - -../obj-gnu/./syscall/opendir.o: opendir.s - gcc -E -x assembler-with-cpp -I. opendir.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/opendir.s.gnu || true - gas -o ../obj-gnu/./syscall/opendir.o ../obj-gnu/./syscall/opendir.s.gnu - -../obj-gnu/./syscall/pathconf.o: pathconf.s - gcc -E -x assembler-with-cpp -I. pathconf.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/pathconf.s.gnu || true - gas -o ../obj-gnu/./syscall/pathconf.o ../obj-gnu/./syscall/pathconf.s.gnu - -../obj-gnu/./syscall/pause.o: pause.s - gcc -E -x assembler-with-cpp -I. pause.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/pause.s.gnu || true - gas -o ../obj-gnu/./syscall/pause.o ../obj-gnu/./syscall/pause.s.gnu - -../obj-gnu/./syscall/pipe.o: pipe.s - gcc -E -x assembler-with-cpp -I. pipe.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/pipe.s.gnu || true - gas -o ../obj-gnu/./syscall/pipe.o ../obj-gnu/./syscall/pipe.s.gnu - -../obj-gnu/./syscall/ptrace.o: ptrace.s - gcc -E -x assembler-with-cpp -I. ptrace.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/ptrace.s.gnu || true - gas -o ../obj-gnu/./syscall/ptrace.o ../obj-gnu/./syscall/ptrace.s.gnu - -../obj-gnu/./syscall/read.o: read.s - gcc -E -x assembler-with-cpp -I. read.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/read.s.gnu || true - gas -o ../obj-gnu/./syscall/read.o ../obj-gnu/./syscall/read.s.gnu - -../obj-gnu/./syscall/readdir.o: readdir.s - gcc -E -x assembler-with-cpp -I. readdir.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/readdir.s.gnu || true - gas -o ../obj-gnu/./syscall/readdir.o ../obj-gnu/./syscall/readdir.s.gnu - -../obj-gnu/./syscall/readlink.o: readlink.s - gcc -E -x assembler-with-cpp -I. readlink.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/readlink.s.gnu || true - gas -o ../obj-gnu/./syscall/readlink.o ../obj-gnu/./syscall/readlink.s.gnu - -../obj-gnu/./syscall/reboot.o: reboot.s - gcc -E -x assembler-with-cpp -I. reboot.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/reboot.s.gnu || true - gas -o ../obj-gnu/./syscall/reboot.o ../obj-gnu/./syscall/reboot.s.gnu - -../obj-gnu/./syscall/rename.o: rename.s - gcc -E -x assembler-with-cpp -I. rename.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/rename.s.gnu || true - gas -o ../obj-gnu/./syscall/rename.o ../obj-gnu/./syscall/rename.s.gnu - -../obj-gnu/./syscall/rewinddir.o: rewinddir.s - gcc -E -x assembler-with-cpp -I. rewinddir.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/rewinddir.s.gnu || true - gas -o ../obj-gnu/./syscall/rewinddir.o ../obj-gnu/./syscall/rewinddir.s.gnu - -../obj-gnu/./syscall/rmdir.o: rmdir.s - gcc -E -x assembler-with-cpp -I. rmdir.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/rmdir.s.gnu || true - gas -o ../obj-gnu/./syscall/rmdir.o ../obj-gnu/./syscall/rmdir.s.gnu - -../obj-gnu/./syscall/sbrk.o: sbrk.s - gcc -E -x assembler-with-cpp -I. sbrk.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/sbrk.s.gnu || true - gas -o ../obj-gnu/./syscall/sbrk.o ../obj-gnu/./syscall/sbrk.s.gnu - -../obj-gnu/./syscall/seekdir.o: seekdir.s - gcc -E -x assembler-with-cpp -I. seekdir.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/seekdir.s.gnu || true - gas -o ../obj-gnu/./syscall/seekdir.o ../obj-gnu/./syscall/seekdir.s.gnu - -../obj-gnu/./syscall/setgid.o: setgid.s - gcc -E -x assembler-with-cpp -I. setgid.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/setgid.s.gnu || true - gas -o ../obj-gnu/./syscall/setgid.o ../obj-gnu/./syscall/setgid.s.gnu - -../obj-gnu/./syscall/setsid.o: setsid.s - gcc -E -x assembler-with-cpp -I. setsid.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/setsid.s.gnu || true - gas -o ../obj-gnu/./syscall/setsid.o ../obj-gnu/./syscall/setsid.s.gnu - -../obj-gnu/./syscall/setuid.o: setuid.s - gcc -E -x assembler-with-cpp -I. setuid.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/setuid.s.gnu || true - gas -o ../obj-gnu/./syscall/setuid.o ../obj-gnu/./syscall/setuid.s.gnu - -../obj-gnu/./syscall/sigaction.o: sigaction.s - gcc -E -x assembler-with-cpp -I. sigaction.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/sigaction.s.gnu || true - gas -o ../obj-gnu/./syscall/sigaction.o ../obj-gnu/./syscall/sigaction.s.gnu - -../obj-gnu/./syscall/sigaddset.o: sigaddset.s - gcc -E -x assembler-with-cpp -I. sigaddset.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/sigaddset.s.gnu || true - gas -o ../obj-gnu/./syscall/sigaddset.o ../obj-gnu/./syscall/sigaddset.s.gnu - -../obj-gnu/./syscall/sigdelset.o: sigdelset.s - gcc -E -x assembler-with-cpp -I. sigdelset.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/sigdelset.s.gnu || true - gas -o ../obj-gnu/./syscall/sigdelset.o ../obj-gnu/./syscall/sigdelset.s.gnu - -../obj-gnu/./syscall/sigemptyset.o: sigemptyset.s - gcc -E -x assembler-with-cpp -I. sigemptyset.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/sigemptyset.s.gnu || true - gas -o ../obj-gnu/./syscall/sigemptyset.o ../obj-gnu/./syscall/sigemptyset.s.gnu - -../obj-gnu/./syscall/sigfillset.o: sigfillset.s - gcc -E -x assembler-with-cpp -I. sigfillset.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/sigfillset.s.gnu || true - gas -o ../obj-gnu/./syscall/sigfillset.o ../obj-gnu/./syscall/sigfillset.s.gnu - -../obj-gnu/./syscall/sigismember.o: sigismember.s - gcc -E -x assembler-with-cpp -I. sigismember.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/sigismember.s.gnu || true - gas -o ../obj-gnu/./syscall/sigismember.o ../obj-gnu/./syscall/sigismember.s.gnu - -../obj-gnu/./syscall/sigpending.o: sigpending.s - gcc -E -x assembler-with-cpp -I. sigpending.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/sigpending.s.gnu || true - gas -o ../obj-gnu/./syscall/sigpending.o ../obj-gnu/./syscall/sigpending.s.gnu - -../obj-gnu/./syscall/sigprocmask.o: sigprocmask.s - gcc -E -x assembler-with-cpp -I. sigprocmask.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/sigprocmask.s.gnu || true - gas -o ../obj-gnu/./syscall/sigprocmask.o ../obj-gnu/./syscall/sigprocmask.s.gnu - -../obj-gnu/./syscall/sigreturn.o: sigreturn.s - gcc -E -x assembler-with-cpp -I. sigreturn.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/sigreturn.s.gnu || true - gas -o ../obj-gnu/./syscall/sigreturn.o ../obj-gnu/./syscall/sigreturn.s.gnu - -../obj-gnu/./syscall/sigsuspend.o: sigsuspend.s - gcc -E -x assembler-with-cpp -I. sigsuspend.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/sigsuspend.s.gnu || true - gas -o ../obj-gnu/./syscall/sigsuspend.o ../obj-gnu/./syscall/sigsuspend.s.gnu - -../obj-gnu/./syscall/sleep.o: sleep.s - gcc -E -x assembler-with-cpp -I. sleep.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/sleep.s.gnu || true - gas -o ../obj-gnu/./syscall/sleep.o ../obj-gnu/./syscall/sleep.s.gnu - -../obj-gnu/./syscall/stat.o: stat.s - gcc -E -x assembler-with-cpp -I. stat.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/stat.s.gnu || true - gas -o ../obj-gnu/./syscall/stat.o ../obj-gnu/./syscall/stat.s.gnu - -../obj-gnu/./syscall/stime.o: stime.s - gcc -E -x assembler-with-cpp -I. stime.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/stime.s.gnu || true - gas -o ../obj-gnu/./syscall/stime.o ../obj-gnu/./syscall/stime.s.gnu - -../obj-gnu/./syscall/svrctl.o: svrctl.s - gcc -E -x assembler-with-cpp -I. svrctl.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/svrctl.s.gnu || true - gas -o ../obj-gnu/./syscall/svrctl.o ../obj-gnu/./syscall/svrctl.s.gnu - -../obj-gnu/./syscall/symlink.o: symlink.s - gcc -E -x assembler-with-cpp -I. symlink.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/symlink.s.gnu || true - gas -o ../obj-gnu/./syscall/symlink.o ../obj-gnu/./syscall/symlink.s.gnu - -../obj-gnu/./syscall/sync.o: sync.s - gcc -E -x assembler-with-cpp -I. sync.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/sync.s.gnu || true - gas -o ../obj-gnu/./syscall/sync.o ../obj-gnu/./syscall/sync.s.gnu - -../obj-gnu/./syscall/tcdrain.o: tcdrain.s - gcc -E -x assembler-with-cpp -I. tcdrain.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/tcdrain.s.gnu || true - gas -o ../obj-gnu/./syscall/tcdrain.o ../obj-gnu/./syscall/tcdrain.s.gnu - -../obj-gnu/./syscall/tcflow.o: tcflow.s - gcc -E -x assembler-with-cpp -I. tcflow.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/tcflow.s.gnu || true - gas -o ../obj-gnu/./syscall/tcflow.o ../obj-gnu/./syscall/tcflow.s.gnu - -../obj-gnu/./syscall/tcflush.o: tcflush.s - gcc -E -x assembler-with-cpp -I. tcflush.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/tcflush.s.gnu || true - gas -o ../obj-gnu/./syscall/tcflush.o ../obj-gnu/./syscall/tcflush.s.gnu - -../obj-gnu/./syscall/tcgetattr.o: tcgetattr.s - gcc -E -x assembler-with-cpp -I. tcgetattr.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/tcgetattr.s.gnu || true - gas -o ../obj-gnu/./syscall/tcgetattr.o ../obj-gnu/./syscall/tcgetattr.s.gnu - -../obj-gnu/./syscall/tcsendbreak.o: tcsendbreak.s - gcc -E -x assembler-with-cpp -I. tcsendbreak.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/tcsendbreak.s.gnu || true - gas -o ../obj-gnu/./syscall/tcsendbreak.o ../obj-gnu/./syscall/tcsendbreak.s.gnu - -../obj-gnu/./syscall/tcsetattr.o: tcsetattr.s - gcc -E -x assembler-with-cpp -I. tcsetattr.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/tcsetattr.s.gnu || true - gas -o ../obj-gnu/./syscall/tcsetattr.o ../obj-gnu/./syscall/tcsetattr.s.gnu - -../obj-gnu/./syscall/time.o: time.s - gcc -E -x assembler-with-cpp -I. time.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/time.s.gnu || true - gas -o ../obj-gnu/./syscall/time.o ../obj-gnu/./syscall/time.s.gnu - -../obj-gnu/./syscall/times.o: times.s - gcc -E -x assembler-with-cpp -I. times.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/times.s.gnu || true - gas -o ../obj-gnu/./syscall/times.o ../obj-gnu/./syscall/times.s.gnu - -../obj-gnu/./syscall/truncate.o: truncate.s - gcc -E -x assembler-with-cpp -I. truncate.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/truncate.s.gnu || true - gas -o ../obj-gnu/./syscall/truncate.o ../obj-gnu/./syscall/truncate.s.gnu - -../obj-gnu/./syscall/umask.o: umask.s - gcc -E -x assembler-with-cpp -I. umask.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/umask.s.gnu || true - gas -o ../obj-gnu/./syscall/umask.o ../obj-gnu/./syscall/umask.s.gnu - -../obj-gnu/./syscall/umount.o: umount.s - gcc -E -x assembler-with-cpp -I. umount.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/umount.s.gnu || true - gas -o ../obj-gnu/./syscall/umount.o ../obj-gnu/./syscall/umount.s.gnu - -../obj-gnu/./syscall/uname.o: uname.s - gcc -E -x assembler-with-cpp -I. uname.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/uname.s.gnu || true - gas -o ../obj-gnu/./syscall/uname.o ../obj-gnu/./syscall/uname.s.gnu - -../obj-gnu/./syscall/unlink.o: unlink.s - gcc -E -x assembler-with-cpp -I. unlink.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/unlink.s.gnu || true - gas -o ../obj-gnu/./syscall/unlink.o ../obj-gnu/./syscall/unlink.s.gnu - -../obj-gnu/./syscall/utime.o: utime.s - gcc -E -x assembler-with-cpp -I. utime.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/utime.s.gnu || true - gas -o ../obj-gnu/./syscall/utime.o ../obj-gnu/./syscall/utime.s.gnu - -../obj-gnu/./syscall/wait.o: wait.s - gcc -E -x assembler-with-cpp -I. wait.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/wait.s.gnu || true - gas -o ../obj-gnu/./syscall/wait.o ../obj-gnu/./syscall/wait.s.gnu - -../obj-gnu/./syscall/waitpid.o: waitpid.s - gcc -E -x assembler-with-cpp -I. waitpid.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/waitpid.s.gnu || true - gas -o ../obj-gnu/./syscall/waitpid.o ../obj-gnu/./syscall/waitpid.s.gnu - -../obj-gnu/./syscall/write.o: write.s - gcc -E -x assembler-with-cpp -I. write.s | asmconv -mi386 ack gnu > ../obj-gnu/./syscall/write.s.gnu || true - gas -o ../obj-gnu/./syscall/write.o ../obj-gnu/./syscall/write.s.gnu - - - - -clean:: - rm -f ../obj-ack/./syscall/* - rm -f ../obj-gnu/./syscall/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/syslib/Makefile b/lib/syslib/Makefile deleted file mode 100755 index 4ab3ae84c..000000000 --- a/lib/syslib/Makefile +++ /dev/null @@ -1,407 +0,0 @@ -#Generated from ./syslib/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../generate.sh ./syslib ../obj-ack ../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../obj-ack/libsys.a - -../obj-ack/libsys.a: ../obj-ack/libsys.a(pci_attr_r16.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(pci_attr_r32.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(pci_attr_r8.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(pci_attr_w16.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(pci_attr_w32.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(pci_attr_w8.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(pci_dev_name.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(pci_find_dev.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(pci_first_dev.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(pci_ids.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(pci_init.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(pci_init1.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(pci_next_dev.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(pci_rescan_bus.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(pci_reserve.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(pci_slot_name.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_abort.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_eniop.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_endsig.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_exec.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_exit.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_fork.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_getinfo.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_getsig.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_in.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_int86.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_irqctl.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_kill.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_memset.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_newmap.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_nice.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_out.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_physcopy.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_sdevio.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_segctl.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_setalarm.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_sigreturn.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_sigsend.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_svrctl.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_times.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_trace.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_umap.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_vinb.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_vinl.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_vinw.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_vircopy.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_vm_map.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_vm_setbuf.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_voutb.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_voutl.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(sys_voutw.o) -../obj-ack/libsys.a: ../obj-ack/libsys.a(taskcall.o) - -../obj-ack/libsys.a: - ar cr ../obj-ack/libsys.a ../obj-ack/./syslib/*.o - rm ../obj-ack/./syslib/*.o - -../obj-ack/libsys.a(pci_attr_r16.o): pci_attr_r16.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/pci_attr_r16.o pci_attr_r16.c -../obj-ack/libsys.a(pci_attr_r32.o): pci_attr_r32.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/pci_attr_r32.o pci_attr_r32.c -../obj-ack/libsys.a(pci_attr_r8.o): pci_attr_r8.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/pci_attr_r8.o pci_attr_r8.c -../obj-ack/libsys.a(pci_attr_w16.o): pci_attr_w16.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/pci_attr_w16.o pci_attr_w16.c -../obj-ack/libsys.a(pci_attr_w32.o): pci_attr_w32.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/pci_attr_w32.o pci_attr_w32.c -../obj-ack/libsys.a(pci_attr_w8.o): pci_attr_w8.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/pci_attr_w8.o pci_attr_w8.c -../obj-ack/libsys.a(pci_dev_name.o): pci_dev_name.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/pci_dev_name.o pci_dev_name.c -../obj-ack/libsys.a(pci_find_dev.o): pci_find_dev.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/pci_find_dev.o pci_find_dev.c -../obj-ack/libsys.a(pci_first_dev.o): pci_first_dev.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/pci_first_dev.o pci_first_dev.c -../obj-ack/libsys.a(pci_ids.o): pci_ids.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/pci_ids.o pci_ids.c -../obj-ack/libsys.a(pci_init.o): pci_init.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/pci_init.o pci_init.c -../obj-ack/libsys.a(pci_init1.o): pci_init1.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/pci_init1.o pci_init1.c -../obj-ack/libsys.a(pci_next_dev.o): pci_next_dev.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/pci_next_dev.o pci_next_dev.c -../obj-ack/libsys.a(pci_rescan_bus.o): pci_rescan_bus.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/pci_rescan_bus.o pci_rescan_bus.c -../obj-ack/libsys.a(pci_reserve.o): pci_reserve.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/pci_reserve.o pci_reserve.c -../obj-ack/libsys.a(pci_slot_name.o): pci_slot_name.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/pci_slot_name.o pci_slot_name.c -../obj-ack/libsys.a(sys_abort.o): sys_abort.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_abort.o sys_abort.c -../obj-ack/libsys.a(sys_eniop.o): sys_eniop.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_eniop.o sys_eniop.c -../obj-ack/libsys.a(sys_endsig.o): sys_endsig.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_endsig.o sys_endsig.c -../obj-ack/libsys.a(sys_exec.o): sys_exec.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_exec.o sys_exec.c -../obj-ack/libsys.a(sys_exit.o): sys_exit.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_exit.o sys_exit.c -../obj-ack/libsys.a(sys_fork.o): sys_fork.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_fork.o sys_fork.c -../obj-ack/libsys.a(sys_getinfo.o): sys_getinfo.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_getinfo.o sys_getinfo.c -../obj-ack/libsys.a(sys_getsig.o): sys_getsig.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_getsig.o sys_getsig.c -../obj-ack/libsys.a(sys_in.o): sys_in.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_in.o sys_in.c -../obj-ack/libsys.a(sys_int86.o): sys_int86.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_int86.o sys_int86.c -../obj-ack/libsys.a(sys_irqctl.o): sys_irqctl.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_irqctl.o sys_irqctl.c -../obj-ack/libsys.a(sys_kill.o): sys_kill.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_kill.o sys_kill.c -../obj-ack/libsys.a(sys_memset.o): sys_memset.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_memset.o sys_memset.c -../obj-ack/libsys.a(sys_newmap.o): sys_newmap.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_newmap.o sys_newmap.c -../obj-ack/libsys.a(sys_nice.o): sys_nice.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_nice.o sys_nice.c -../obj-ack/libsys.a(sys_out.o): sys_out.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_out.o sys_out.c -../obj-ack/libsys.a(sys_physcopy.o): sys_physcopy.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_physcopy.o sys_physcopy.c -../obj-ack/libsys.a(sys_sdevio.o): sys_sdevio.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_sdevio.o sys_sdevio.c -../obj-ack/libsys.a(sys_segctl.o): sys_segctl.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_segctl.o sys_segctl.c -../obj-ack/libsys.a(sys_setalarm.o): sys_setalarm.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_setalarm.o sys_setalarm.c -../obj-ack/libsys.a(sys_sigreturn.o): sys_sigreturn.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_sigreturn.o sys_sigreturn.c -../obj-ack/libsys.a(sys_sigsend.o): sys_sigsend.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_sigsend.o sys_sigsend.c -../obj-ack/libsys.a(sys_svrctl.o): sys_svrctl.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_svrctl.o sys_svrctl.c -../obj-ack/libsys.a(sys_times.o): sys_times.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_times.o sys_times.c -../obj-ack/libsys.a(sys_trace.o): sys_trace.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_trace.o sys_trace.c -../obj-ack/libsys.a(sys_umap.o): sys_umap.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_umap.o sys_umap.c -../obj-ack/libsys.a(sys_vinb.o): sys_vinb.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_vinb.o sys_vinb.c -../obj-ack/libsys.a(sys_vinl.o): sys_vinl.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_vinl.o sys_vinl.c -../obj-ack/libsys.a(sys_vinw.o): sys_vinw.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_vinw.o sys_vinw.c -../obj-ack/libsys.a(sys_vircopy.o): sys_vircopy.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_vircopy.o sys_vircopy.c -../obj-ack/libsys.a(sys_vm_map.o): sys_vm_map.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_vm_map.o sys_vm_map.c -../obj-ack/libsys.a(sys_vm_setbuf.o): sys_vm_setbuf.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_vm_setbuf.o sys_vm_setbuf.c -../obj-ack/libsys.a(sys_voutb.o): sys_voutb.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_voutb.o sys_voutb.c -../obj-ack/libsys.a(sys_voutl.o): sys_voutl.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_voutl.o sys_voutl.c -../obj-ack/libsys.a(sys_voutw.o): sys_voutw.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/sys_voutw.o sys_voutw.c -../obj-ack/libsys.a(taskcall.o): taskcall.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./syslib/taskcall.o taskcall.c - -all-gnu: ../obj-gnu/libsys.a - -../obj-gnu/libsys.a: ../obj-gnu/./syslib/pci_attr_r16.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/pci_attr_r32.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/pci_attr_r8.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/pci_attr_w16.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/pci_attr_w32.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/pci_attr_w8.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/pci_dev_name.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/pci_find_dev.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/pci_first_dev.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/pci_ids.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/pci_init.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/pci_init1.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/pci_next_dev.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/pci_rescan_bus.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/pci_reserve.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/pci_slot_name.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_abort.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_eniop.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_endsig.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_exec.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_exit.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_fork.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_getinfo.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_getsig.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_in.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_int86.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_irqctl.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_kill.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_memset.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_newmap.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_nice.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_out.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_physcopy.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_sdevio.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_segctl.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_setalarm.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_sigreturn.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_sigsend.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_svrctl.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_times.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_trace.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_umap.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_vinb.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_vinl.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_vinw.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_vircopy.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_vm_map.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_vm_setbuf.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_voutb.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_voutl.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/sys_voutw.o -../obj-gnu/libsys.a: ../obj-gnu/./syslib/taskcall.o - -../obj-gnu/libsys.a: - gar cr ../obj-gnu/libsys.a $? - -../obj-gnu/./syslib/pci_attr_r16.o: pci_attr_r16.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/pci_attr_r16.o pci_attr_r16.c - -../obj-gnu/./syslib/pci_attr_r32.o: pci_attr_r32.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/pci_attr_r32.o pci_attr_r32.c - -../obj-gnu/./syslib/pci_attr_r8.o: pci_attr_r8.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/pci_attr_r8.o pci_attr_r8.c - -../obj-gnu/./syslib/pci_attr_w16.o: pci_attr_w16.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/pci_attr_w16.o pci_attr_w16.c - -../obj-gnu/./syslib/pci_attr_w32.o: pci_attr_w32.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/pci_attr_w32.o pci_attr_w32.c - -../obj-gnu/./syslib/pci_attr_w8.o: pci_attr_w8.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/pci_attr_w8.o pci_attr_w8.c - -../obj-gnu/./syslib/pci_dev_name.o: pci_dev_name.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/pci_dev_name.o pci_dev_name.c - -../obj-gnu/./syslib/pci_find_dev.o: pci_find_dev.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/pci_find_dev.o pci_find_dev.c - -../obj-gnu/./syslib/pci_first_dev.o: pci_first_dev.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/pci_first_dev.o pci_first_dev.c - -../obj-gnu/./syslib/pci_ids.o: pci_ids.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/pci_ids.o pci_ids.c - -../obj-gnu/./syslib/pci_init.o: pci_init.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/pci_init.o pci_init.c - -../obj-gnu/./syslib/pci_init1.o: pci_init1.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/pci_init1.o pci_init1.c - -../obj-gnu/./syslib/pci_next_dev.o: pci_next_dev.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/pci_next_dev.o pci_next_dev.c - -../obj-gnu/./syslib/pci_rescan_bus.o: pci_rescan_bus.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/pci_rescan_bus.o pci_rescan_bus.c - -../obj-gnu/./syslib/pci_reserve.o: pci_reserve.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/pci_reserve.o pci_reserve.c - -../obj-gnu/./syslib/pci_slot_name.o: pci_slot_name.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/pci_slot_name.o pci_slot_name.c - -../obj-gnu/./syslib/sys_abort.o: sys_abort.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_abort.o sys_abort.c - -../obj-gnu/./syslib/sys_eniop.o: sys_eniop.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_eniop.o sys_eniop.c - -../obj-gnu/./syslib/sys_endsig.o: sys_endsig.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_endsig.o sys_endsig.c - -../obj-gnu/./syslib/sys_exec.o: sys_exec.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_exec.o sys_exec.c - -../obj-gnu/./syslib/sys_exit.o: sys_exit.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_exit.o sys_exit.c - -../obj-gnu/./syslib/sys_fork.o: sys_fork.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_fork.o sys_fork.c - -../obj-gnu/./syslib/sys_getinfo.o: sys_getinfo.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_getinfo.o sys_getinfo.c - -../obj-gnu/./syslib/sys_getsig.o: sys_getsig.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_getsig.o sys_getsig.c - -../obj-gnu/./syslib/sys_in.o: sys_in.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_in.o sys_in.c - -../obj-gnu/./syslib/sys_int86.o: sys_int86.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_int86.o sys_int86.c - -../obj-gnu/./syslib/sys_irqctl.o: sys_irqctl.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_irqctl.o sys_irqctl.c - -../obj-gnu/./syslib/sys_kill.o: sys_kill.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_kill.o sys_kill.c - -../obj-gnu/./syslib/sys_memset.o: sys_memset.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_memset.o sys_memset.c - -../obj-gnu/./syslib/sys_newmap.o: sys_newmap.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_newmap.o sys_newmap.c - -../obj-gnu/./syslib/sys_nice.o: sys_nice.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_nice.o sys_nice.c - -../obj-gnu/./syslib/sys_out.o: sys_out.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_out.o sys_out.c - -../obj-gnu/./syslib/sys_physcopy.o: sys_physcopy.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_physcopy.o sys_physcopy.c - -../obj-gnu/./syslib/sys_sdevio.o: sys_sdevio.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_sdevio.o sys_sdevio.c - -../obj-gnu/./syslib/sys_segctl.o: sys_segctl.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_segctl.o sys_segctl.c - -../obj-gnu/./syslib/sys_setalarm.o: sys_setalarm.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_setalarm.o sys_setalarm.c - -../obj-gnu/./syslib/sys_sigreturn.o: sys_sigreturn.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_sigreturn.o sys_sigreturn.c - -../obj-gnu/./syslib/sys_sigsend.o: sys_sigsend.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_sigsend.o sys_sigsend.c - -../obj-gnu/./syslib/sys_svrctl.o: sys_svrctl.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_svrctl.o sys_svrctl.c - -../obj-gnu/./syslib/sys_times.o: sys_times.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_times.o sys_times.c - -../obj-gnu/./syslib/sys_trace.o: sys_trace.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_trace.o sys_trace.c - -../obj-gnu/./syslib/sys_umap.o: sys_umap.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_umap.o sys_umap.c - -../obj-gnu/./syslib/sys_vinb.o: sys_vinb.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_vinb.o sys_vinb.c - -../obj-gnu/./syslib/sys_vinl.o: sys_vinl.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_vinl.o sys_vinl.c - -../obj-gnu/./syslib/sys_vinw.o: sys_vinw.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_vinw.o sys_vinw.c - -../obj-gnu/./syslib/sys_vircopy.o: sys_vircopy.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_vircopy.o sys_vircopy.c - -../obj-gnu/./syslib/sys_vm_map.o: sys_vm_map.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_vm_map.o sys_vm_map.c - -../obj-gnu/./syslib/sys_vm_setbuf.o: sys_vm_setbuf.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_vm_setbuf.o sys_vm_setbuf.c - -../obj-gnu/./syslib/sys_voutb.o: sys_voutb.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_voutb.o sys_voutb.c - -../obj-gnu/./syslib/sys_voutl.o: sys_voutl.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_voutl.o sys_voutl.c - -../obj-gnu/./syslib/sys_voutw.o: sys_voutw.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/sys_voutw.o sys_voutw.c - -../obj-gnu/./syslib/taskcall.o: taskcall.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./syslib/taskcall.o taskcall.c - - - - -clean:: - rm -f ../obj-ack/./syslib/* - rm -f ../obj-gnu/./syslib/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/syslib/Makefile.in b/lib/syslib/Makefile.in index e83977826..57a069189 100644 --- a/lib/syslib/Makefile.in +++ b/lib/syslib/Makefile.in @@ -5,25 +5,20 @@ CFLAGS="-O -D_MINIX -D_POSIX_SOURCE" LIBRARIES=libsys libsys_FILES=" \ - pci_attr_r16.c \ pci_attr_r32.c \ pci_attr_r8.c \ - pci_attr_w16.c \ pci_attr_w32.c \ - pci_attr_w8.c \ pci_dev_name.c \ pci_find_dev.c \ pci_first_dev.c \ pci_ids.c \ pci_init.c \ - pci_init1.c \ pci_next_dev.c \ - pci_rescan_bus.c \ pci_reserve.c \ pci_slot_name.c \ sys_abort.c \ - sys_eniop.c \ sys_endsig.c \ + sys_eniop.c \ sys_exec.c \ sys_exit.c \ sys_fork.c \ diff --git a/lib/sysutil/Makefile b/lib/sysutil/Makefile deleted file mode 100644 index 645fd32fc..000000000 --- a/lib/sysutil/Makefile +++ /dev/null @@ -1,127 +0,0 @@ -#Generated from ./sysutil/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../generate.sh ./sysutil ../obj-ack ../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../obj-ack/libsysutil.a - -../obj-ack/libsysutil.a: ../obj-ack/libsysutil.a(kmalloc.o) -../obj-ack/libsysutil.a: ../obj-ack/libsysutil.a(kprintf.o) -../obj-ack/libsysutil.a: ../obj-ack/libsysutil.a(kputc.o) -../obj-ack/libsysutil.a: ../obj-ack/libsysutil.a(tickdelay.o) -../obj-ack/libsysutil.a: ../obj-ack/libsysutil.a(getuptime.o) -../obj-ack/libsysutil.a: ../obj-ack/libsysutil.a(env_get_prm.o) -../obj-ack/libsysutil.a: ../obj-ack/libsysutil.a(env_parse.o) -../obj-ack/libsysutil.a: ../obj-ack/libsysutil.a(env_panic.o) -../obj-ack/libsysutil.a: ../obj-ack/libsysutil.a(env_prefix.o) -../obj-ack/libsysutil.a: ../obj-ack/libsysutil.a(fkey_ctl.o) -../obj-ack/libsysutil.a: ../obj-ack/libsysutil.a(panic.o) -../obj-ack/libsysutil.a: ../obj-ack/libsysutil.a(report.o) - -../obj-ack/libsysutil.a: - ar cr ../obj-ack/libsysutil.a ../obj-ack/./sysutil/*.o - rm ../obj-ack/./sysutil/*.o - -../obj-ack/libsysutil.a(kmalloc.o): kmalloc.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./sysutil/kmalloc.o kmalloc.c -../obj-ack/libsysutil.a(kprintf.o): kprintf.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./sysutil/kprintf.o kprintf.c -../obj-ack/libsysutil.a(kputc.o): kputc.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./sysutil/kputc.o kputc.c -../obj-ack/libsysutil.a(tickdelay.o): tickdelay.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./sysutil/tickdelay.o tickdelay.c -../obj-ack/libsysutil.a(getuptime.o): getuptime.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./sysutil/getuptime.o getuptime.c -../obj-ack/libsysutil.a(env_get_prm.o): env_get_prm.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./sysutil/env_get_prm.o env_get_prm.c -../obj-ack/libsysutil.a(env_parse.o): env_parse.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./sysutil/env_parse.o env_parse.c -../obj-ack/libsysutil.a(env_panic.o): env_panic.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./sysutil/env_panic.o env_panic.c -../obj-ack/libsysutil.a(env_prefix.o): env_prefix.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./sysutil/env_prefix.o env_prefix.c -../obj-ack/libsysutil.a(fkey_ctl.o): fkey_ctl.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./sysutil/fkey_ctl.o fkey_ctl.c -../obj-ack/libsysutil.a(panic.o): panic.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./sysutil/panic.o panic.c -../obj-ack/libsysutil.a(report.o): report.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./sysutil/report.o report.c - -all-gnu: ../obj-gnu/libsysutil.a - -../obj-gnu/libsysutil.a: ../obj-gnu/./sysutil/kmalloc.o -../obj-gnu/libsysutil.a: ../obj-gnu/./sysutil/kprintf.o -../obj-gnu/libsysutil.a: ../obj-gnu/./sysutil/kputc.o -../obj-gnu/libsysutil.a: ../obj-gnu/./sysutil/tickdelay.o -../obj-gnu/libsysutil.a: ../obj-gnu/./sysutil/getuptime.o -../obj-gnu/libsysutil.a: ../obj-gnu/./sysutil/env_get_prm.o -../obj-gnu/libsysutil.a: ../obj-gnu/./sysutil/env_parse.o -../obj-gnu/libsysutil.a: ../obj-gnu/./sysutil/env_panic.o -../obj-gnu/libsysutil.a: ../obj-gnu/./sysutil/env_prefix.o -../obj-gnu/libsysutil.a: ../obj-gnu/./sysutil/fkey_ctl.o -../obj-gnu/libsysutil.a: ../obj-gnu/./sysutil/panic.o -../obj-gnu/libsysutil.a: ../obj-gnu/./sysutil/report.o - -../obj-gnu/libsysutil.a: - gar cr ../obj-gnu/libsysutil.a $? - -../obj-gnu/./sysutil/kmalloc.o: kmalloc.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./sysutil/kmalloc.o kmalloc.c - -../obj-gnu/./sysutil/kprintf.o: kprintf.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./sysutil/kprintf.o kprintf.c - -../obj-gnu/./sysutil/kputc.o: kputc.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./sysutil/kputc.o kputc.c - -../obj-gnu/./sysutil/tickdelay.o: tickdelay.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./sysutil/tickdelay.o tickdelay.c - -../obj-gnu/./sysutil/getuptime.o: getuptime.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./sysutil/getuptime.o getuptime.c - -../obj-gnu/./sysutil/env_get_prm.o: env_get_prm.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./sysutil/env_get_prm.o env_get_prm.c - -../obj-gnu/./sysutil/env_parse.o: env_parse.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./sysutil/env_parse.o env_parse.c - -../obj-gnu/./sysutil/env_panic.o: env_panic.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./sysutil/env_panic.o env_panic.c - -../obj-gnu/./sysutil/env_prefix.o: env_prefix.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./sysutil/env_prefix.o env_prefix.c - -../obj-gnu/./sysutil/fkey_ctl.o: fkey_ctl.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./sysutil/fkey_ctl.o fkey_ctl.c - -../obj-gnu/./sysutil/panic.o: panic.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./sysutil/panic.o panic.c - -../obj-gnu/./sysutil/report.o: report.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./sysutil/report.o report.c - - - - -clean:: - rm -f ../obj-ack/./sysutil/* - rm -f ../obj-gnu/./sysutil/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/sysutil/Makefile.in b/lib/sysutil/Makefile.in index 6aa8ef125..c6254554d 100644 --- a/lib/sysutil/Makefile.in +++ b/lib/sysutil/Makefile.in @@ -16,6 +16,7 @@ libsysutil_FILES=" \ env_prefix.c \ fkey_ctl.c \ panic.c \ - report.c" + report.c \ + taskcall.c" TYPE=both diff --git a/lib/timers/Makefile b/lib/timers/Makefile deleted file mode 100644 index e32a742f1..000000000 --- a/lib/timers/Makefile +++ /dev/null @@ -1,64 +0,0 @@ -#Generated from ./timers/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../generate.sh ./timers ../obj-ack ../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../obj-ack/libtimers.a - -../obj-ack/libtimers.a: ../obj-ack/libtimers.a(tmrs_set.o) -../obj-ack/libtimers.a: ../obj-ack/libtimers.a(tmrs_clr.o) -../obj-ack/libtimers.a: ../obj-ack/libtimers.a(tmrs_exp.o) - -../obj-ack/libtimers.a: - ar cr ../obj-ack/libtimers.a ../obj-ack/./timers/*.o - rm ../obj-ack/./timers/*.o - -../obj-ack/libtimers.a(tmrs_set.o): tmrs_set.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./timers/tmrs_set.o tmrs_set.c -../obj-ack/libtimers.a(tmrs_clr.o): tmrs_clr.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./timers/tmrs_clr.o tmrs_clr.c -../obj-ack/libtimers.a(tmrs_exp.o): tmrs_exp.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./timers/tmrs_exp.o tmrs_exp.c - -all-gnu: ../obj-gnu/libtimers.a - -../obj-gnu/libtimers.a: ../obj-gnu/./timers/tmrs_set.o -../obj-gnu/libtimers.a: ../obj-gnu/./timers/tmrs_clr.o -../obj-gnu/libtimers.a: ../obj-gnu/./timers/tmrs_exp.o - -../obj-gnu/libtimers.a: - gar cr ../obj-gnu/libtimers.a $? - -../obj-gnu/./timers/tmrs_set.o: tmrs_set.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./timers/tmrs_set.o tmrs_set.c - -../obj-gnu/./timers/tmrs_clr.o: tmrs_clr.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./timers/tmrs_clr.o tmrs_clr.c - -../obj-gnu/./timers/tmrs_exp.o: tmrs_exp.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./timers/tmrs_exp.o tmrs_exp.c - - - - -clean:: - rm -f ../obj-ack/./timers/* - rm -f ../obj-gnu/./timers/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/util/Makefile b/lib/util/Makefile deleted file mode 100644 index f1cea32fa..000000000 --- a/lib/util/Makefile +++ /dev/null @@ -1,50 +0,0 @@ -#Generated from ./util/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../generate.sh ./util ../obj-ack ../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../obj-ack/libutil.a - -../obj-ack/libutil.a: ../obj-ack/libutil.a(openpty.o) - -../obj-ack/libutil.a: - ar cr ../obj-ack/libutil.a ../obj-ack/./util/*.o - rm ../obj-ack/./util/*.o - -../obj-ack/libutil.a(openpty.o): openpty.c - cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-ack/./util/openpty.o openpty.c - -all-gnu: ../obj-gnu/libutil.a - -../obj-gnu/libutil.a: ../obj-gnu/./util/openpty.o - -../obj-gnu/libutil.a: - gar cr ../obj-gnu/libutil.a $? - -../obj-gnu/./util/openpty.o: openpty.c - gcc -O -D_MINIX -D_POSIX_SOURCE -c -o ../obj-gnu/./util/openpty.o openpty.c - - - - -clean:: - rm -f ../obj-ack/./util/* - rm -f ../obj-gnu/./util/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu diff --git a/lib/zlib-1.2.3/Makefile b/lib/zlib-1.2.3/Makefile deleted file mode 100644 index 5f2120847..000000000 --- a/lib/zlib-1.2.3/Makefile +++ /dev/null @@ -1,127 +0,0 @@ -#Generated from ./zlib-1.2.3/Makefile.in -all: all-ack - -all-ack: -all-gnu: - -makefiles: Makefile - -Makefile: Makefile.in - sh ../generate.sh ./zlib-1.2.3 ../obj-ack ../obj-gnu - @echo - @echo "*Attention*" - @echo "Makefile is regenerated... rerun command to see changes" - @echo "*Attention*" - @echo - -depend: depend-ack -all-ack: ../obj-ack/libz.a - -../obj-ack/libz.a: ../obj-ack/libz.a(adler32.o) -../obj-ack/libz.a: ../obj-ack/libz.a(compress.o) -../obj-ack/libz.a: ../obj-ack/libz.a(crc32.o) -../obj-ack/libz.a: ../obj-ack/libz.a(gzio.o) -../obj-ack/libz.a: ../obj-ack/libz.a(uncompr.o) -../obj-ack/libz.a: ../obj-ack/libz.a(deflate.o) -../obj-ack/libz.a: ../obj-ack/libz.a(trees.o) -../obj-ack/libz.a: ../obj-ack/libz.a(zutil.o) -../obj-ack/libz.a: ../obj-ack/libz.a(inflate.o) -../obj-ack/libz.a: ../obj-ack/libz.a(infback.o) -../obj-ack/libz.a: ../obj-ack/libz.a(inftrees.o) -../obj-ack/libz.a: ../obj-ack/libz.a(inffast.o) - -../obj-ack/libz.a: - ar cr ../obj-ack/libz.a ../obj-ack/./zlib-1.2.3/*.o - rm ../obj-ack/./zlib-1.2.3/*.o - -../obj-ack/libz.a(adler32.o): adler32.c - cc -O -c -o ../obj-ack/./zlib-1.2.3/adler32.o adler32.c -../obj-ack/libz.a(compress.o): compress.c - cc -O -c -o ../obj-ack/./zlib-1.2.3/compress.o compress.c -../obj-ack/libz.a(crc32.o): crc32.c - cc -O -c -o ../obj-ack/./zlib-1.2.3/crc32.o crc32.c -../obj-ack/libz.a(gzio.o): gzio.c - cc -O -c -o ../obj-ack/./zlib-1.2.3/gzio.o gzio.c -../obj-ack/libz.a(uncompr.o): uncompr.c - cc -O -c -o ../obj-ack/./zlib-1.2.3/uncompr.o uncompr.c -../obj-ack/libz.a(deflate.o): deflate.c - cc -O -c -o ../obj-ack/./zlib-1.2.3/deflate.o deflate.c -../obj-ack/libz.a(trees.o): trees.c - cc -O -c -o ../obj-ack/./zlib-1.2.3/trees.o trees.c -../obj-ack/libz.a(zutil.o): zutil.c - cc -O -c -o ../obj-ack/./zlib-1.2.3/zutil.o zutil.c -../obj-ack/libz.a(inflate.o): inflate.c - cc -O -c -o ../obj-ack/./zlib-1.2.3/inflate.o inflate.c -../obj-ack/libz.a(infback.o): infback.c - cc -O -c -o ../obj-ack/./zlib-1.2.3/infback.o infback.c -../obj-ack/libz.a(inftrees.o): inftrees.c - cc -O -c -o ../obj-ack/./zlib-1.2.3/inftrees.o inftrees.c -../obj-ack/libz.a(inffast.o): inffast.c - cc -O -c -o ../obj-ack/./zlib-1.2.3/inffast.o inffast.c - -all-gnu: ../obj-gnu/libz.a - -../obj-gnu/libz.a: ../obj-gnu/./zlib-1.2.3/adler32.o -../obj-gnu/libz.a: ../obj-gnu/./zlib-1.2.3/compress.o -../obj-gnu/libz.a: ../obj-gnu/./zlib-1.2.3/crc32.o -../obj-gnu/libz.a: ../obj-gnu/./zlib-1.2.3/gzio.o -../obj-gnu/libz.a: ../obj-gnu/./zlib-1.2.3/uncompr.o -../obj-gnu/libz.a: ../obj-gnu/./zlib-1.2.3/deflate.o -../obj-gnu/libz.a: ../obj-gnu/./zlib-1.2.3/trees.o -../obj-gnu/libz.a: ../obj-gnu/./zlib-1.2.3/zutil.o -../obj-gnu/libz.a: ../obj-gnu/./zlib-1.2.3/inflate.o -../obj-gnu/libz.a: ../obj-gnu/./zlib-1.2.3/infback.o -../obj-gnu/libz.a: ../obj-gnu/./zlib-1.2.3/inftrees.o -../obj-gnu/libz.a: ../obj-gnu/./zlib-1.2.3/inffast.o - -../obj-gnu/libz.a: - gar cr ../obj-gnu/libz.a $? - -../obj-gnu/./zlib-1.2.3/adler32.o: adler32.c - gcc -O -c -o ../obj-gnu/./zlib-1.2.3/adler32.o adler32.c - -../obj-gnu/./zlib-1.2.3/compress.o: compress.c - gcc -O -c -o ../obj-gnu/./zlib-1.2.3/compress.o compress.c - -../obj-gnu/./zlib-1.2.3/crc32.o: crc32.c - gcc -O -c -o ../obj-gnu/./zlib-1.2.3/crc32.o crc32.c - -../obj-gnu/./zlib-1.2.3/gzio.o: gzio.c - gcc -O -c -o ../obj-gnu/./zlib-1.2.3/gzio.o gzio.c - -../obj-gnu/./zlib-1.2.3/uncompr.o: uncompr.c - gcc -O -c -o ../obj-gnu/./zlib-1.2.3/uncompr.o uncompr.c - -../obj-gnu/./zlib-1.2.3/deflate.o: deflate.c - gcc -O -c -o ../obj-gnu/./zlib-1.2.3/deflate.o deflate.c - -../obj-gnu/./zlib-1.2.3/trees.o: trees.c - gcc -O -c -o ../obj-gnu/./zlib-1.2.3/trees.o trees.c - -../obj-gnu/./zlib-1.2.3/zutil.o: zutil.c - gcc -O -c -o ../obj-gnu/./zlib-1.2.3/zutil.o zutil.c - -../obj-gnu/./zlib-1.2.3/inflate.o: inflate.c - gcc -O -c -o ../obj-gnu/./zlib-1.2.3/inflate.o inflate.c - -../obj-gnu/./zlib-1.2.3/infback.o: infback.c - gcc -O -c -o ../obj-gnu/./zlib-1.2.3/infback.o infback.c - -../obj-gnu/./zlib-1.2.3/inftrees.o: inftrees.c - gcc -O -c -o ../obj-gnu/./zlib-1.2.3/inftrees.o inftrees.c - -../obj-gnu/./zlib-1.2.3/inffast.o: inffast.c - gcc -O -c -o ../obj-gnu/./zlib-1.2.3/inffast.o inffast.c - - - - -clean:: - rm -f ../obj-ack/./zlib-1.2.3/* - rm -f ../obj-gnu/./zlib-1.2.3/* - -include Makedepend-ack -include .depend-ack - -include Makedepend-gnu -include .depend-gnu