add dependency amdefine