Police are searching for a gunman who shot and critically injured a 45-year-old man Sunday night in South Philadelphia in front of the man's 5-year-old child.

The gunman apparently ambushed the victim in the parking lot of a Walgreen's pharmacy on the 2300 block of Oregon Avenue, police said, as the victim's child sat inside a parked car. The assailant followed the man into the lot, got out of his car, fired 17 shots and drove off. The child was not injured.

The victim, whose name has not been released, was shot in the head and arm. He remains in critical condition at an area hospital. Police did not comment on a motive, but they said it appeared that the victim was the target of the attack.

Surveillance footage released Monday shows the victim's car pulling into the parking lot around 8:15 p.m. Sunday, and the victim getting out and standing by the car. A few seconds later, a dark gray car pulls up, and a man gets out of the driver's side and points a gun at the victim.

The suspect can be seen repeatedly firing the handgun, taking a few steps toward the victim, then backing away before getting back into his own car and driving out of the lot.

Seconds after the shooting, people in the area start approaching the victim's car, and the child is seen running from the car toward a woman who reaches out to him.

Police described the suspect as a black male, between 5 feet 10 inches and 6 feet 2 inches, 220 pounds. He was last seen wearing a black jacket, gray hooded sweatshirt and dark jeans. The suspect may have been driving a Ford Taurus or Fusion that has a partial tag of FSH-456, and police believe there was a second man in the car with him.

Anyone with information is asked to call police at (215) 686-8477.