orientation of objects

i have some model of a space ship,
and two vectors, one which points to the forward direction of the space ship and one which points to the up direction, and a point, where the center of the space ship should be.

now i have to build a matrix, that rotates and translates the space ship into the right position, but i don’t know how to do that


That all depends upon how the ship is positioned in its object space.