That seems an uncharitable way to put it. People only make friends in general by putting themselves out there and making an effort. Is the difference between those two groups merely that the 'actual friends' are the ones who you ended up liking rather than having to pretend to like?
I don't mind people trying to make friends at work, and often I don't even dislike the people who annoy me like this, I just don't like them as much as they seem to like the idea of spending time with me. There's a gap between people I like making smalltalk with before a meeting or while I'm taking a break to get coffee, and people I want to have a dedicated social time with.
If you want to make friends at work, don't use the mechanisms of my employment to coerce me into spending time with you.
Which leads to the other side of this. I want my time in the office to be about work. I don't mind socializing some, and I like my coworkers well enough, but we hired them because they were good at their jobs and didn't seem like bad people to be around. Not because I thought they'd be good friends, or have similar hobbies to me. Because of that, given the choice, I'd rather spend social time with the group of friends I have cultivated myself, instead of having my coworkers try to force a connection just because we sit near each other at the office.
I don't go to work to support someone's else's lack of a social life outside of work, and just because I was required by my job to be in the same room as you doesn't mean you can/should expect me to like you as more than someone I work with. There's plenty of coworkers I like and some I'm actually friends with, but also plenty of people who try to use the conditions of our mutual employment to fill in for friendships they didn't develop outside of work.