Nasty situation is because of no ftruncate(), which causes awfulness trying to emulate it. No writev() and fsync() system calls are less serious, but the port will be cleaned up a great deal if and when those system calls appear.
15 lines
321 B
Makefile
Executable file
15 lines
321 B
Makefile
Executable file
|
|
NVI=nvi-1.79
|
|
NVIWORK=$(NVI)/minix
|
|
|
|
all:
|
|
-mkdir $(NVIWORK)
|
|
cd $(NVIWORK) && CFLAGS="-D_MINIX=1 -D_POSIX_SOURCE=1" ../build/configure.minix --prefix=/usr/local --host=minix && make $@
|
|
|
|
install: all
|
|
cd $(NVIWORK) && sh ../build/install.minix
|
|
|
|
clean:
|
|
if [ -f $(NVIWORK)/Makefile ]; then cd $(NVIWORK) && make clean; fi
|
|
|