Communists do not support "China" or "Pakistan" they are a "Socialist" movement. They have their own school of thought, which is considered a little off-centre...which is why the term "Left-Parties".
The Naxalites today are a different band of miscreants altogether. If you read up on your history a little, you'd understand that Naxalism, started during the Zamindari times, opposing the Zamindars...an Indian outfit like Robinhood. Now these are the guys who were responsible for a lot of reform at the village level...but they're extremist in their philosophy.
Now since Communism was a system of governance which was the opposite pole to the Zamindari system, they became communists.
Now. The Naxals today do not really have a cause...a common cause...they're just revelling in their being brigands...
Naxals are like the Islamic Jehad outfits...create a bad name for everyone else...Naxals give a bad name to communism and Jehadis give a bad name to Islam.