package=expat-$objtype
version=2.2.6
depends=
basename=expat
all:V: nuke
@{
cd /sys/src/ape/lib/$basename && mk install
}
clean:V:
@{
cd /sys/src/ape/lib/$basename && mk clean
}
nuke:V:
@{
cd /sys/src/ape/lib/$basename && mk nuke
}
contrib:V:
@{
dopts=()
for(d in $depends)
dopts=($dopts -d $d)
sed -e 's/VERSION/'$version'/;s/OBJTYPE/'$objtype'/' inf |
contrib/create $dopts $package proto
}
|