Exporting EGL code to a stand-alone EGLAR file