Add automake logic.