modify makefile so it outputs some java packages