GO:0044038: cell wall macromolecule biosynthetic process
The chemical reactions and pathways resulting in the formation of a macromolecule destined to form part of a cell wall.