Generic drug manufacturers Alpharma Inc. and Perrigo Company agreed to give up a total of 6.25 million in illegal profits to settle Federal Trade Commission allegations that their agreement to limit competition for over-the-counter store-brand children's liquid ibuprofen drove up prices and violated federal law.