The joke is a pun. 'Gave his awl' is a parody of the phrase 'gave his all' which means to put in maximum effort into a task.  An awl is a small pointed tool used for piercing holes, especially in leather, which would be used by a leather shoe maker.
The shoemaker did not deny his apprentice anything he needed . He gave his awl .