HRM is a series of activities which, firstly, enables working people and the organization that uses their skills to agree on the objectives and nature of their working relationship, and secondly, ensures that the agreement is fulfilled. (Torrington, Hall, and Taylor, 2005)
I'm talking about the aim; the definition is there.
If I may refine that idea of Mr. Sinham a bit, with due respect, it would sound something like: "Organizational success through optimal use of people resources."
So why am I not putting an "its" before the "people resources"? Some organizations get customers to do their jobs, for example, some self-service fast-food restaurants. I also want to include subcontractors, consultants, stakeholders, peripheral workforce, etc.
Feel free to disagree or refine :)