I have written a program for a company. They want the source code.
The program uses code that I've written over time for several projects for a number of clients.
I want to release only the code that is used by this program. So if a shared file called Utils.pas contains ten functions and this program uses only two of them then I want to release a file called Utils.pas with only those two functions in it.
The code is Borland Pascal, written using Delphi.
Anyone know how I can do this?
Clarification: I am not asking about licensing. I want the customer to have only the source code that is used by their program and nothing else.