When hospitals are contracted to do work in a clinical trial setting they take their costs and multiply it by 10 (at least). This was done in house with in house resources. This hospital has its own pharmacy that can synthesize drugs and give it to the patients. The pharmacy probably charged just the material costs internally and not for the time.
All of those examples are at best pharmacies with compounding capabilities and/or sterile fill capability.
They aren't manufacturing any medicines in those pharmacies. They are buying final product and then preparing it for administration.
GLP and GMP certified don't mean they are manufacturing. GLP are lab best practices and GMP is manufacturing, but it covers a lot of ground, so a basic pharmacy can be GMP and all they do is prepare sterile product.