You have to extract Team Fortress 2.gcf Models/Particles/Sprites/Sounds and Team Fortress 2.gcf materials using GFCScape, put them in the other games folder.
Then after compiling, auto-pakrat will do some work, But for all models you use, the materials won't be auto-paked, so you gotta find the materials for all models and manually pakrat them.
But you shouldn't do content-porting to other games. For example, if you make a map using Team Fortress 2 Models/Textures in Counter-Strike: Source, the other players might not own TF2 and they will use "buy-able" (lack of words

) without even purchasing it.