build source files for massage