* Missing file added to package, and marked some units as specific for a target

git-svn-id: trunk@63214 -
This commit is contained in:
joost 2020-05-23 07:32:45 +00:00
parent 1207fa4fb3
commit 97716ad3a4
3 changed files with 50 additions and 8 deletions

View File

@ -122,11 +122,23 @@ File(s) with other licenses (see also header in file(s):
<Filename Value="fpdbgwinclasses.pas"/>
<AddToUsesPkgSection Value="False"/>
<UnitName Value="FpDbgWinClasses"/>
<CustomOptions Items="FPMake" Version="2">
<_FPMake Items="AllOSes/TargetOSes">
<_AllOSes Value="False"/>
<_TargetOSes Value="win32,win64"/>
</_FPMake>
</CustomOptions>
</Item>
<Item>
<Filename Value="fpdbgdarwinclasses.pas"/>
<AddToUsesPkgSection Value="False"/>
<UnitName Value="FpDbgDarwinClasses"/>
<CustomOptions Items="FPMake" Version="2">
<_FPMake Items="AllOSes/TargetOSes">
<_AllOSes Value="False"/>
<_TargetOSes Value="darwin"/>
</_FPMake>
</CustomOptions>
</Item>
<Item>
<Filename Value="fpdmemorytools.pas"/>
@ -164,11 +176,23 @@ File(s) with other licenses (see also header in file(s):
<Filename Value="fpdbglinuxclasses.pas"/>
<AddToUsesPkgSection Value="False"/>
<UnitName Value="FpDbgLinuxClasses"/>
<CustomOptions Items="FPMake" Version="2">
<_FPMake Items="AllOSes/TargetOSes">
<_AllOSes Value="False"/>
<_TargetOSes Value="linux"/>
</_FPMake>
</CustomOptions>
</Item>
<Item>
<Filename Value="fpdbglinuxextra.pas"/>
<AddToUsesPkgSection Value="False"/>
<UnitName Value="FpDbgLinuxExtra"/>
<CustomOptions Items="FPMake" Version="2">
<_FPMake Items="AllOSes/TargetOSes">
<_AllOSes Value="False"/>
<_TargetOSes Value="linux"/>
</_FPMake>
</CustomOptions>
</Item>
<Item>
<Filename Value="fpdbgavrclasses.pas"/>
@ -186,8 +210,17 @@ File(s) with other licenses (see also header in file(s):
<Filename Value="fpdbgcommon.pas"/>
<UnitName Value="FpDbgCommon"/>
</Item>
<Item>
<Filename Value="fpimgreaderwinpetypes.pas"/>
<UnitName Value="FpImgReaderWinPETypes"/>
</Item>
</Files>
<CompatibilityMode Value="False"/>
<RequiredPkgs>
<Item>
<PackageName Value="fcl-net"/>
<DependencyType Value="FPMake"/>
</Item>
<Item>
<PackageName Value="DebuggerIntf"/>
</Item>

View File

@ -8,14 +8,12 @@ unit fpdebug;
interface
uses
FpDbgClasses, FpDbgDisasX86, FpDbgDwarf, FpDbgDwarfConst, FpDbgLoader,
FpDbgPETypes, FpDbgSymbols, FpDbgUtil, FpImgReaderWinPE, FpImgReaderElf,
FpImgReaderElfTypes, FpImgReaderBase, FpPascalParser, macho,
FpImgReaderMachoFile, FpImgReaderMacho, FpPascalBuilder, FpDbgInfo,
FpdMemoryTools, FpErrorMessages, FPDbgController, FpDbgDwarfVerbosePrinter,
FpDbgDwarfDataClasses, FpDbgDwarfFreePascal, fpDbgSymTableContext,
fpDbgSymTable, FpDbgAvrClasses, FpDbgDisasAvr, FpDbgRsp, FpDbgCommon,
LazarusPackageIntf;
FpDbgClasses, FpDbgDisasX86, FpDbgDwarf, FpDbgDwarfConst, FpDbgLoader, FpDbgPETypes, FpDbgSymbols,
FpDbgUtil, FpImgReaderWinPE, FpImgReaderElf, FpImgReaderElfTypes, FpImgReaderBase, FpPascalParser,
macho, FpImgReaderMachoFile, FpImgReaderMacho, FpPascalBuilder, FpDbgInfo, FpdMemoryTools,
FpErrorMessages, FPDbgController, FpDbgDwarfVerbosePrinter, FpDbgDwarfDataClasses,
FpDbgDwarfFreePascal, fpDbgSymTableContext, fpDbgSymTable, FpDbgAvrClasses, FpDbgDisasAvr,
FpDbgRsp, FpDbgCommon, FpImgReaderWinPETypes, LazarusPackageIntf;
implementation

View File

@ -35,6 +35,7 @@ begin
P.Flags.Add('LazarusDsgnPkg');
D := P.Dependencies.Add('fcl-net');
D := P.Dependencies.Add('debuggerintf');
D := P.Dependencies.Add('lclbase');
D := P.Dependencies.Add('fcl');
@ -69,7 +70,9 @@ begin
D := T.Dependencies.AddUnit('FpPascalBuilder');
D := T.Dependencies.AddUnit('FpDbgInfo');
D := T.Dependencies.AddUnit('FpDbgWinClasses');
D.OSes := [win32,win64];
D := T.Dependencies.AddUnit('FpDbgDarwinClasses');
D.OSes := [darwin];
D := T.Dependencies.AddUnit('FpdMemoryTools');
D := T.Dependencies.AddUnit('FpErrorMessages');
D := T.Dependencies.AddUnit('FPDbgController');
@ -79,11 +82,14 @@ begin
D := T.Dependencies.AddUnit('fpDbgSymTableContext');
D := T.Dependencies.AddUnit('fpDbgSymTable');
D := T.Dependencies.AddUnit('FpDbgLinuxClasses');
D.OSes := [linux];
D := T.Dependencies.AddUnit('FpDbgLinuxExtra');
D.OSes := [linux];
D := T.Dependencies.AddUnit('FpDbgAvrClasses');
D := T.Dependencies.AddUnit('FpDbgDisasAvr');
D := T.Dependencies.AddUnit('FpDbgRsp');
D := T.Dependencies.AddUnit('FpDbgCommon');
D := T.Dependencies.AddUnit('FpImgReaderWinPETypes');
T := P.Targets.AddImplicitUnit('fpdbgclasses.pp');
T := P.Targets.AddImplicitUnit('fpdbgdisasx86.pp');
T := P.Targets.AddImplicitUnit('fpdbgdwarf.pas');
@ -104,7 +110,9 @@ begin
T := P.Targets.AddImplicitUnit('fppascalbuilder.pas');
T := P.Targets.AddImplicitUnit('fpdbginfo.pas');
T := P.Targets.AddImplicitUnit('fpdbgwinclasses.pas');
T.OSes := [win32,win64];
T := P.Targets.AddImplicitUnit('fpdbgdarwinclasses.pas');
T.OSes := [darwin];
T := P.Targets.AddImplicitUnit('fpdmemorytools.pas');
T := P.Targets.AddImplicitUnit('fperrormessages.pas');
T := P.Targets.AddImplicitUnit('fpdbgcontroller.pas');
@ -114,11 +122,14 @@ begin
T := P.Targets.AddImplicitUnit('fpdbgsymtablecontext.pas');
T := P.Targets.AddImplicitUnit('fpdbgsymtable.pas');
T := P.Targets.AddImplicitUnit('fpdbglinuxclasses.pas');
T.OSes := [linux];
T := P.Targets.AddImplicitUnit('fpdbglinuxextra.pas');
T.OSes := [linux];
T := P.Targets.AddImplicitUnit('fpdbgavrclasses.pas');
T := P.Targets.AddImplicitUnit('fpdbgdisasavr.pp');
T := P.Targets.AddImplicitUnit('fpdbgrsp.pas');
T := P.Targets.AddImplicitUnit('fpdbgcommon.pas');
T := P.Targets.AddImplicitUnit('fpimgreaderwinpetypes.pas');
// copy the compiled file, so the IDE knows how the package was compiled
P.Sources.AddSrc('fpdebug.compiled');