A franchise is: products sold or services given by permission of and under the name of a commercial enterprise
So with Star Wars and Harry Potter, the franchises include the toys, games, clothes - anything with the Star Wars or Harry Potter marque attached to them. The same applies to the Age of Empires - the development of commercial aspect of the series is franchised to the "makers".