ref: e864dc493153ca5083018c94a3737165613ef0d5
dir: /mkfile/
</$objtype/mkfile INSTALLFILES=\ /sys/man/1/xb \ /sys/man/2/xml \ /sys/man/2/xpath \ /sys/include/xml.h \ /sys/include/xpath.h \ /$objtype/lib/libxml.a \ /$objtype/lib/libxpath.a \ /$objtype/bin/xb \ CFLAGS=$CFLAGS -I.. all:VQ: echo only automatic install possible for now. >[1=2] echo Otherwise, try some manual installation. >[1=2] install:V: $INSTALLFILES /sys/man/1/xb: xb cp $prereq $target /sys/man/2/xml: xml cp $prereq $target /sys/man/2/xpath: xpath cp $prereq $target /sys/include/%.h: %.h cp $prereq $target /$objtype/lib/%.a:V: cd $stem && mk install && cd .. /$objtype/bin/xb: $O.xb cp $prereq $target $O.%: %.$O $LD $LDFLAGS -o $target $prereq %.$O: %.c $CC $CFLAGS $stem.c clean:V: cd libxml && mk clean && cd .. cd libxpath && mk clean && cd .. rm -f [$OS].* *.[$OS] nuke:V: clean rm -f $INSTALLFILES