Build declaration file