mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 15:47:54 +02:00
* Dotted filenames for package xforms
This commit is contained in:
parent
54d89d43ce
commit
ba290bb358
@ -32,7 +32,7 @@ begin
|
||||
begin
|
||||
AddInclude('cursorfont.inc');
|
||||
end;
|
||||
T:=P.Targets.AddProgram('fd2pascal.pp');
|
||||
// T:=P.Targets.AddProgram('fd2pascal.pp');
|
||||
|
||||
P.Sources.AddSrc('README.txt');
|
||||
|
||||
|
3
packages/xforms/namespaced/Api.Fd2pascal.pp
Normal file
3
packages/xforms/namespaced/Api.Fd2pascal.pp
Normal file
@ -0,0 +1,3 @@
|
||||
unit Api.Fd2pascal;
|
||||
{$DEFINE FPC_DOTTEDUNITS}
|
||||
{$i fd2pascal.pp}
|
3
packages/xforms/namespaced/Api.Xforms.pp
Normal file
3
packages/xforms/namespaced/Api.Xforms.pp
Normal file
@ -0,0 +1,3 @@
|
||||
unit Api.Xforms;
|
||||
{$DEFINE FPC_DOTTEDUNITS}
|
||||
{$i xforms.pp}
|
4
packages/xforms/namespaces.lst
Normal file
4
packages/xforms/namespaces.lst
Normal file
@ -0,0 +1,4 @@
|
||||
src/xforms.pp=namespaced/Api.Xforms.pp
|
||||
{s*:src/}=namespaced/
|
||||
{i+:src/}
|
||||
src/fd2pascal.pp=namespaced/Api.Fd2pascal.pp
|
@ -21,10 +21,17 @@ Program fd2pascal;
|
||||
--------------------------------------------------------------------------- }
|
||||
|
||||
|
||||
{$IFDEF FPC_DOTTEDUNITS}
|
||||
uses
|
||||
UnixApi.Base,
|
||||
UnixApi.Unix,
|
||||
System.SysUtils;
|
||||
{$ELSE FPC_DOTTEDUNITS}
|
||||
uses
|
||||
baseunix,
|
||||
Unix,
|
||||
sysutils;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
Const RevString = '$Revision: 1.5 $';
|
||||
NrOptions = 4;
|
||||
|
@ -1,14 +1,21 @@
|
||||
{
|
||||
}
|
||||
{$IFNDEF FPC_DOTTEDUNITS}
|
||||
Unit xforms;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
Interface
|
||||
|
||||
{$linklib forms}
|
||||
{$linklib c}
|
||||
{$linklib m}
|
||||
|
||||
{$IFDEF FPC_DOTTEDUNITS}
|
||||
uses
|
||||
Api.X11.X,Api.X11.Xlib,Api.X11.Xutil,Api.X11.Xresource;
|
||||
{$ELSE FPC_DOTTEDUNITS}
|
||||
uses
|
||||
x,xlib,xutil,xresource;
|
||||
{$ENDIF FPC_DOTTEDUNITS}
|
||||
|
||||
const
|
||||
FL_VERSION=0;
|
||||
|
Loading…
Reference in New Issue
Block a user