Before the availability of sheet products for flashing carpenters used creative methods to minimize water penetration such as angling roof shingles away from the joint, placing chimneys at the ridge, and building steps into the sides of chimneys to throw off water.
Flashing may be exposed or concealed.