#!/bin/rc
#this ic compilling script for plan9...
#my demo installation of plan9 don't have
#files required to write real mkfiles
#(I already received one mkfile for XaoS, but I can't use it, since
#include files is missing. I decided to remove it, since it became
#really obsolette after new directory structure was introduced.
#
#(still hope that once I will have full version of plan9)
cd src/include
cp config/aconfig.plan9 aconfig.h
cp config/config.plan9 config.h

cd ../../
pwd
8c -O -D_plan9_ -D_plan9v4_ -D'RESTRICT=' -I src/include src/ui/ui-drv/plan9/*.c
8c -O -D_plan9_ -D_plan9v4_-D'RESTRICT=' -I src/include src/ui/*[~d].c
8c -O -D_plan9_ -D_plan9v4_ -D'RESTRICT=' -I src/include src/ui-hlp/*[~d].c
8c -O -D_plan9_ -D_plan9v4_ -D'RESTRICT=' -I src/include src/util/[~tbx]*.c src/util/timers.c src/util/x[~l]*.c
8c -O  -D_plan9_ -D_plan9v4_ -D'RESTRICT=' -O -I src/include src/filter/[a-f]*.c src/filter/[h-z]*.c src/filter/grlib.c
8c -O -D_plan9_ -D_plan9v4_ -D'RESTRICT=' -O -I src/include src/engine/[~d]*[~d].c src/engine/3d.c src/engine/dither.c
8l *.8 
