It basically means: all that you've done, or that you have, has resulted in nothing. Eg, "I worked hard for ten years, and all for nothing!"
This sometimes happens in English, where a longer and clearer sentence has been condensed into a short phrase.