it means future generations. or all generations to come Alternatively, since "People" is capitalized the word becomes a proper noun and refers to specific "People", ie; the Signers of the...
its actually "to ourselves and our posterity..."
from the preamble, "we the people of the United States in order to form a more perfect union, establish justice insure domestic tranquility, provide...