Corporate Ethics

Do corporations have a social responsibility to society or just a responsibility for profit to its shareholders? Are those concepts mutually exclusive?