local BUILD_DIR=Linux_All_OPT.OBJ &&

for i in js jscpucfg jskwgen; do
  install -vm 755 $BUILD_DIR/$i $INSTALL_ROOT/usr/bin
done &&

install -vm 644 $BUILD_DIR/libjs.so $INSTALL_ROOT/usr/lib/libjs.so.${VERSION:0:3} &&
ln -vsf libjs.so.${VERSION:0:3} $INSTALL_ROOT/usr/lib/libjs.so.${VERSION:0:1} &&
ln -vsf libjs.so.${VERSION:0:3} $INSTALL_ROOT/usr/lib/libjs.so &&

install -vm 644 $BUILD_DIR/libjs.a $INSTALL_ROOT/usr/lib &&

install -vm 755 -d $INSTALL_ROOT/usr/include/js &&
install -vm 644 *.h *.tbl *.msg $BUILD_DIR/*.h $INSTALL_ROOT/usr/include/js
