Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.2.0 / packages / oracle / fpmake.pp
Size: Mime:
{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;

uses fpmkunit;

Var
  P : TPackage;
  T : TTarget;
begin
  With Installer do
    begin
{$endif ALLPACKAGES}

    P:=AddPackage('oracle');
    P.ShortName:='ora';
{$ifdef ALLPACKAGES}
    P.Directory:=ADirectory;
{$endif ALLPACKAGES}
    P.Version:='3.2.0';
    P.SourcePath.Add('src');
    P.IncludePath.Add('src');
    P.OSes := AllUnixOSes+AllWindowsOSes-[qnx];
    if Defaults.CPU=jvm then
      P.OSes := P.OSes - [java,android];

    T:=P.Targets.AddUnit('ocidyn.pp');
      with T.Dependencies do
        begin
          AddInclude('oci.inc');
          AddInclude('ocidfn.inc');
          AddInclude('oci1.inc');
          AddInclude('oro_interface.inc');
          AddInclude('orl.inc');
          AddInclude('ort.inc');
          AddInclude('ociap.inc');
          AddInclude('nzt.inc');
          AddInclude('nzerror.inc');
          AddInclude('oro_implementation.inc');
          AddUnit('oratypes');
        end;
    T:=P.Targets.AddUnit('oci.pp');
      with T.Dependencies do
        begin
          AddInclude('oci.inc');
          AddInclude('ocidfn.inc');
          AddInclude('oci1.inc');
          AddInclude('oro_interface.inc');
          AddInclude('orl.inc');
          AddInclude('ort.inc');
          AddInclude('ociap.inc');
          AddInclude('nzt.inc');
          AddInclude('nzerror.inc');
          AddInclude('oro_implementation.inc');
          AddUnit('oratypes');
        end;
    T:=P.Targets.AddUnit('oraoci.pp');
    T:=P.Targets.AddUnit('oratypes.pp');

    P.ExamplePath.Add('examples');
    P.Targets.AddExampleProgram('test01.pp');
    P.Targets.AddExampleProgram('oraclew.pp');

{$ifndef ALLPACKAGES}
    Run;
    end;
end.
{$endif ALLPACKAGES}