AdS and dS black hole solutions in analogue gravity: The relativistic and nonrelativistic cases