Rather, they are obligated to maximise their shareholder's funds, which says nothing about any externality to that market...like, for example, whether producing open software will make their shareholders (and others) more wealthy.
The only obligation a corporation has to its shareholders is to maximize the funds it is given.
The only obligation a corporation has to its shareholders is to maximize the funds it is given.