A very slight chamfer, applied with a file, to the leading edge of brake shoes and disk brake pads may ease a little of the squeaking.
Some disk brake pad sets come with a liquid rubber type goo for application to the backside of the pads to dampen noise...
Machinery really should not squeak, though. It's probably a sign that inspection is warranted and possible application of lubricant.
redk