generate sources for license feature