from: http://cisco.com/en/US/partner/products/hw/vpndevc/ps2030/products_qanda_item09186a0080094874.shtml
PIX Firewall implementation in version 6.3 code supports intra-area, inter-area, and external routes. This release also supports the distribution of static routes to Open Shortest Path First (OSPF) processes and route redistribution between OSPF processes.
for Configuring OSPF on a router see:
http://cisco.com/en/US/partner/products/sw/iosswrel/ps1831/products_configuration_guide_chapter09186a00800b3f2b.html
The pix is basically the same as the IOS commands. We used to use the pix with ospf but have taken it out now due to a network reconfiguration.
Here is what my config was
routing interface WAN
ospf authentication-key XXXXXXX
router ospf 1
network 10.0.16.0 255.255.255.0 area 10.0.16.0
area 10.0.16.0 authentication
log-adj-changes