File: fpmake.pp

package info (click to toggle)
lazarus 4.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 275,760 kB
  • sloc: pascal: 2,341,904; xml: 509,420; makefile: 348,726; cpp: 93,608; sh: 3,387; java: 609; perl: 297; sql: 222; ansic: 137
file content (65 lines) | stat: -rw-r--r-- 1,739 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
   File generated automatically by Lazarus Package Manager
   Created with the Fppkgpackagemanager package installed

   fpmake.pp for LazDebuggerIntf 0.0.1

   This file was generated on 27-03-22
}

{$ifndef ALLPACKAGES} 
{$mode objfpc}{$H+}
program fpmake;

uses fpmkunit;
{$endif ALLPACKAGES}

procedure add_LazDebuggerIntf(const ADirectory: string);

var
  P : TPackage;
  T : TTarget;
  D : TDependency;

begin
  with Installer do
    begin
    P:=AddPackage('lazdebuggerintf');
    P.Version:='0.0.1-0';

    P.Directory:=ADirectory;

    P.Author:='Martin Friebe';
    P.License:='LGPL with linking exception'#13#10''#13#10'See LCL license for details.';
    P.Description:='An interface for integrating Debugger-Backends into the IDE';

    D := P.Dependencies.Add('fcl');
    P.Options.Add('-MObjFPC');
    P.Options.Add('-Scghi');
    P.Options.Add('-O1');
    P.Options.Add('-g');
    P.Options.Add('-gl');
    P.Options.Add('-l');
    P.Options.Add('-vewnhibq');
    P.UnitPath.Add('.');
    T:=P.Targets.AddUnit('lazdebuggerintfpackage.pas');
    D := T.Dependencies.AddUnit('LazDebuggerIntf');
    D := T.Dependencies.AddUnit('LazDebuggerTemplate');
    D := T.Dependencies.AddUnit('LazDebuggerIntfBaseTypes');
    T := P.Targets.AddImplicitUnit('lazdebuggerintf.pas');
    T := P.Targets.AddImplicitUnit('lazdebuggertemplate.pas');
    T := P.Targets.AddImplicitUnit('lazdebuggerintfbasetypes.pas');

    // copy the compiled file, so the IDE knows how the package was compiled
    P.Sources.AddSrc('LazDebuggerIntf.compiled');
    P.InstallFiles.Add('LazDebuggerIntf.compiled',AllOSes,'$(unitinstalldir)');

    end;
end;

{$ifndef ALLPACKAGES}
begin
  add_LazDebuggerIntf('');
  Installer.Run;
end.
{$endif ALLPACKAGES}