diff --git a/contrib/Makefile b/contrib/Makefile index 961a3f795..6f8b26549 100755 --- a/contrib/Makefile +++ b/contrib/Makefile @@ -1,3 +1,4 @@ all install clean: cd gnu && $(MAKE) $@ + cd bsd && $(MAKE) $@ diff --git a/contrib/bsd/Makefile b/contrib/bsd/Makefile new file mode 100755 index 000000000..a85f02149 --- /dev/null +++ b/contrib/bsd/Makefile @@ -0,0 +1,14 @@ + +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 +