Starglim |
Yes, you effectively have MWP for every martial weapon, as well as for attacks that count as martial weapons, such as using a bastard sword two-handed or a sawtooth sabre as a one-handed weapon. This counts for prerequisites of feats, prestige classes and so on, as well as in combat.
This doesn't apply to simple weapons, although, as KaeYoss mentioned, almost every ability that grants you proficiency with all martial weapons also gives you all simple weapons.