It depends.
Some casinos apply wagering only to the bonus amount of money, others - to the sum of the bonus and deposit.
Generally, it's better to choose welcome bonus offers that apply low wagering requirements only to the bonus part of the promotion, as this makes you actually wager less.