mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 20:10:27 +02:00
lcl: alllclunits using normal syntax
git-svn-id: trunk@29209 -
This commit is contained in:
parent
eae302f5da
commit
84e6c1d086
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -5525,7 +5525,6 @@ packager/pkgoptionsdlg.pas svneol=native#text/pascal
|
||||
packager/pkgvirtualuniteditor.lfm svneol=native#text/plain
|
||||
packager/pkgvirtualuniteditor.pas svneol=native#text/pascal
|
||||
packager/registerfcl.pas svneol=native#text/pascal
|
||||
packager/registerlcl.pas svneol=native#text/pascal
|
||||
packager/registration/README.txt svneol=native#text/plain
|
||||
packager/registration/lazaruspackageintf.pas svneol=native#text/pascal
|
||||
packager/ucomponentmanmain.lfm svneol=native#text/plain
|
||||
|
@ -314,13 +314,13 @@ constructor TMakeModeDefs.Create;
|
||||
begin
|
||||
inherited Create;
|
||||
// Hard-coded build values.
|
||||
// LCL
|
||||
FItemLCL:=TMakeModeDef.Create('LCL',lisLCL,'lcl',mmCleanBuild);
|
||||
Add(FItemLCL);
|
||||
// package registration units
|
||||
FItemPkgReg:=TMakeModeDef.Create(
|
||||
'PackageRegistration',lisPkgReg,'packager/registration', mmBuild);
|
||||
Add(FItemPkgReg);
|
||||
// LCL
|
||||
FItemLCL:=TMakeModeDef.Create('LCL',lisLCL,'lcl',mmCleanBuild);
|
||||
Add(FItemLCL);
|
||||
// IDE
|
||||
FItemIDE:=TMakeModeDef.Create('IDE',lisIDE,'',mmBuild);
|
||||
FItemIDE.Commands[mmBuild]:='ide';
|
||||
|
@ -11604,7 +11604,7 @@ begin
|
||||
EnvironmentOptions.MakeFilename,
|
||||
Flags+[blfWithoutCompilingIDE,blfWithoutLinkingIDE]);
|
||||
if Result<>mrOk then begin
|
||||
DebugLn('TMainIDE.DoBuildLazarus: Building standard components (LCL, SynEdit, CodeTools) failed.');
|
||||
DebugLn('TMainIDE.DoBuildLazarus: Building standard components (package interface, LCL) failed.');
|
||||
Result:=mrIgnore;
|
||||
exit;
|
||||
end;
|
||||
|
124
lcl/Makefile
124
lcl/Makefile
@ -1576,190 +1576,190 @@ ifeq ($(FULL_TARGET),mipsel-linux)
|
||||
override COMPILER_INCLUDEDIR+=include
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-linux)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-go32v2)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-win32)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-os2)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-freebsd)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-beos)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-haiku)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-netbsd)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-solaris)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-qnx)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-netware)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-openbsd)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-wdosx)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-darwin)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-emx)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-watcom)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-netwlibc)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-wince)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-embedded)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-symbian)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-nativent)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-iphonesim)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),m68k-linux)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),m68k-freebsd)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),m68k-netbsd)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),m68k-amiga)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),m68k-atari)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),m68k-openbsd)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),m68k-palmos)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),m68k-embedded)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),powerpc-linux)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),powerpc-netbsd)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),powerpc-amiga)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),powerpc-macos)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),powerpc-darwin)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),powerpc-morphos)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),powerpc-embedded)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),sparc-linux)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),sparc-netbsd)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),sparc-solaris)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),sparc-embedded)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),x86_64-linux)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),x86_64-freebsd)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),x86_64-solaris)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),x86_64-darwin)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),x86_64-win64)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),x86_64-embedded)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),arm-linux)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),arm-palmos)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),arm-darwin)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),arm-wince)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),arm-gba)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),arm-nds)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),arm-embedded)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),arm-symbian)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),powerpc64-linux)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),powerpc64-darwin)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),powerpc64-embedded)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),avr-embedded)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),armeb-linux)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),armeb-embedded)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),mipsel-linux)
|
||||
override COMPILER_UNITDIR+=. $(NONWIN32) forms widgetset
|
||||
override COMPILER_UNITDIR+=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
endif
|
||||
ifeq ($(FULL_TARGET),i386-linux)
|
||||
override COMPILER_UNITTARGETDIR+=units/$(CPU_TARGET)-$(OS_TARGET)
|
||||
|
@ -85,7 +85,7 @@ endif
|
||||
[compiler]
|
||||
options=-gl $(LCL_DISABLE_CHECKS)
|
||||
unittargetdir=units/$(CPU_TARGET)-$(OS_TARGET)
|
||||
unitdir=. $(NONWIN32) forms widgetset
|
||||
unitdir=../packager/units/$(CPU_TARGET)-$(OS_TARGET) . $(NONWIN32) forms widgetset
|
||||
includedir=include
|
||||
|
||||
[install]
|
||||
|
@ -1,79 +1,74 @@
|
||||
{ $Id$ }
|
||||
{
|
||||
*****************************************************************************
|
||||
alllclunits.pp
|
||||
{ This file was automatically created by Lazarus. Do not edit!
|
||||
This source is only used to compile and install the package.
|
||||
}
|
||||
|
||||
dummy unit to compile all units
|
||||
|
||||
*****************************************************************************
|
||||
* *
|
||||
* This file is part of the Lazarus Component Library (LCL) *
|
||||
* *
|
||||
* See the file COPYING.modifiedLGPL.txt, included in this distribution, *
|
||||
* for details about the copyright. *
|
||||
* *
|
||||
* This program is distributed in the hope that it will be useful, *
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
||||
* *
|
||||
*****************************************************************************
|
||||
}
|
||||
unit AllLCLUnits;
|
||||
|
||||
{ At least 2.4.0 is required, except for wince which supports fpc 2.2.0+ too }
|
||||
{$ifdef Wince}
|
||||
{$if defined(ver1) or (defined(ver2) and (fpc_release<2))}
|
||||
{$fatal Lazarus for WinCE requires at least FPC 2.2.0}
|
||||
{$endif}
|
||||
{$else}
|
||||
{$if defined(ver1) or (defined(ver2) and (fpc_release<4))}
|
||||
{$fatal Lazarus requires at least FPC 2.4.0}
|
||||
{$endif}
|
||||
{$endif}
|
||||
{$mode objfpc}{$H+}
|
||||
unit alllclunits;
|
||||
|
||||
interface
|
||||
|
||||
uses
|
||||
// lcl version
|
||||
LCLVersion,
|
||||
// resource strings
|
||||
LCLStrConsts,
|
||||
// base classes
|
||||
FPCAdds, LazLinkedList, DynHashArray, LCLMemManager, AvgLvlTree, DynQueue,
|
||||
StringHashList, ExtendedStrings, DynamicArray, UTrace, TextStrings,
|
||||
// base types and base functions
|
||||
LCLProc, LCLType, LCLResCache, GraphMath, GraphType, GraphUtil,
|
||||
LMessages, LResources, LConvEncoding, LCLUnicodeData, FileUtil, Translations,
|
||||
LazConfigStorage,
|
||||
// the interface base
|
||||
InterfaceBase,
|
||||
IntfGraphics,
|
||||
// components and functions
|
||||
LCLClasses, AsyncProcess, FileCtrl, Maps, HelpIntfs, LazHelpIntf, LazHelpHTML,
|
||||
StdActns, Buttons, Extctrls, Calendar, Clipbrd, Forms, LCLIntf, Spin,
|
||||
Comctrls, Graphics, StdCtrls, Arrow, Controls, ImgList, Menus, Toolwin,
|
||||
Dialogs, Messages, ActnList, Grids, MaskEdit, ButtonPanel,
|
||||
Printers, PostScriptPrinter, PostScriptCanvas, CheckLst, PairSplitter,
|
||||
ExtDlgs, DBCtrls, DBGrids, DBActns, EditBtn, ExtGraphics, ColorBox,
|
||||
PropertyStorage, IniPropStorage, XMLPropStorage, Chart, LDockTree, LDockCtrl,
|
||||
CalendarPopup, Themes, PopupNotifier, ShellCtrls, UTF8Process,
|
||||
LCLMessageGlue,
|
||||
RubberBand,
|
||||
// widgetset skeleton
|
||||
WSArrow, WSButtons, WSCalendar,
|
||||
WSCheckLst, WSComCtrls, WSControls,
|
||||
WSDialogs, WSDesigner, WSExtCtrls,
|
||||
WSExtDlgs, WSForms, WSGrids, WSImgList, WSMenus,
|
||||
WSPairSplitter, WSSpin, WSStdCtrls, WSToolwin,
|
||||
WSProc,
|
||||
// Other units
|
||||
DefaultTranslator;
|
||||
Chart, CheckLst, Clipbrd, ColorBox, ComCtrls, Controls, CustomTimer,
|
||||
DBActns, DbCtrls, DBGrids, DefaultTranslator, Dialogs, DynamicArray,
|
||||
DynHashArray, DynQueue, EditBtn, ExtCtrls, ExtDlgs, ExtendedStrings,
|
||||
extgraphics, FileCtrl, FileUtil, Forms, FPCAdds, Graphics, GraphMath,
|
||||
GraphType, GraphUtil, Grids, HelpIntfs, IcnsTypes, ImageListCache, ImgList,
|
||||
IniPropStorage, InterfaceBase, IntfGraphics, LazConfigStorage, LazHelpHTML,
|
||||
LazHelpIntf, LazLinkedList, LCLClasses, LCLIntf, LCLMemManager,
|
||||
LCLMessageGlue, LCLProc, LCLResCache, LCLStrConsts, LCLType, LCLUnicodeData,
|
||||
LCLVersion, LConvEncoding, LDockCtrl, LDockCtrlEdit, LDockTree, LMessages,
|
||||
LResources, maps, MaskEdit, Masks, Menus, PairSplitter, PopupNotifier,
|
||||
PostScriptCanvas, PostScriptPrinter, postscriptunicode, Printers,
|
||||
PropertyStorage, RubberBand, ShellCtrls, Spin, StdActns, StdCtrls,
|
||||
StringHashList, TextStrings, Themes, TmSchema, Toolwin, Translations,
|
||||
UTF8Process, UTrace, XMLPropStorage, WSArrow, WSButtons, WSCalendar,
|
||||
WSCheckLst, WSComCtrls, WSControls, WSDesigner, WSDialogs, WSExtCtrls,
|
||||
WSExtDlgs, WSFactory, WSForms, WSGrids, WSImgList, WSLCLClasses, WSMenus,
|
||||
WSPairSplitter, WSProc, WSReferences, WSSpin, WSStdCtrls, WSToolwin,
|
||||
ActnList, Arrow, AsyncProcess, AvgLvlTree, ButtonPanel, Buttons, Calendar,
|
||||
LazarusPackageIntf;
|
||||
|
||||
implementation
|
||||
|
||||
procedure Register;
|
||||
begin
|
||||
RegisterUnit('Chart', @Chart.Register);
|
||||
RegisterUnit('CheckLst', @CheckLst.Register);
|
||||
RegisterUnit('ColorBox', @ColorBox.Register);
|
||||
RegisterUnit('ComCtrls', @ComCtrls.Register);
|
||||
RegisterUnit('Controls', @Controls.Register);
|
||||
RegisterUnit('DBActns', @DBActns.Register);
|
||||
RegisterUnit('DbCtrls', @DbCtrls.Register);
|
||||
RegisterUnit('DBGrids', @DBGrids.Register);
|
||||
RegisterUnit('Dialogs', @Dialogs.Register);
|
||||
RegisterUnit('EditBtn', @EditBtn.Register);
|
||||
RegisterUnit('ExtCtrls', @ExtCtrls.Register);
|
||||
RegisterUnit('ExtDlgs', @ExtDlgs.Register);
|
||||
RegisterUnit('FileCtrl', @FileCtrl.Register);
|
||||
RegisterUnit('Forms', @Forms.Register);
|
||||
RegisterUnit('Graphics', @Graphics.Register);
|
||||
RegisterUnit('Grids', @Grids.Register);
|
||||
RegisterUnit('IniPropStorage', @IniPropStorage.Register);
|
||||
RegisterUnit('LazHelpHTML', @LazHelpHTML.Register);
|
||||
RegisterUnit('LDockCtrl', @LDockCtrl.Register);
|
||||
RegisterUnit('LResources', @LResources.Register);
|
||||
RegisterUnit('MaskEdit', @MaskEdit.Register);
|
||||
RegisterUnit('Menus', @Menus.Register);
|
||||
RegisterUnit('PairSplitter', @PairSplitter.Register);
|
||||
RegisterUnit('PopupNotifier', @PopupNotifier.Register);
|
||||
RegisterUnit('ShellCtrls', @ShellCtrls.Register);
|
||||
RegisterUnit('Spin', @Spin.Register);
|
||||
RegisterUnit('StdActns', @StdActns.Register);
|
||||
RegisterUnit('StdCtrls', @StdCtrls.Register);
|
||||
RegisterUnit('UTF8Process', @UTF8Process.Register);
|
||||
RegisterUnit('XMLPropStorage', @XMLPropStorage.Register);
|
||||
RegisterUnit('ActnList', @ActnList.Register);
|
||||
RegisterUnit('Arrow', @Arrow.Register);
|
||||
RegisterUnit('AsyncProcess', @AsyncProcess.Register);
|
||||
RegisterUnit('ButtonPanel', @ButtonPanel.Register);
|
||||
RegisterUnit('Buttons', @Buttons.Register);
|
||||
RegisterUnit('Calendar', @Calendar.Register);
|
||||
end;
|
||||
|
||||
initialization
|
||||
RegisterPackage('LCLBase', @Register);
|
||||
end.
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
<AddToProjectUsesSection Value="False"/>
|
||||
<Author Value="Lazarus"/>
|
||||
<CompilerOptions>
|
||||
<Version Value="9"/>
|
||||
<Version Value="10"/>
|
||||
<SearchPaths>
|
||||
<IncludeFiles Value="include"/>
|
||||
<OtherUnitFiles Value="forms;widgetset"/>
|
||||
@ -28,7 +28,7 @@
|
||||
<License Value="modified LGPL-2
|
||||
"/>
|
||||
<Version Minor="9" Release="31"/>
|
||||
<Files Count="283">
|
||||
<Files Count="291">
|
||||
<Item1>
|
||||
<Filename Value="chart.pp"/>
|
||||
<HasRegisterProc Value="True"/>
|
||||
@ -1195,6 +1195,45 @@
|
||||
<Filename Value="widgetset/wstoolwin.pp"/>
|
||||
<UnitName Value="WSToolwin"/>
|
||||
</Item283>
|
||||
<Item284>
|
||||
<Filename Value="alllclunits.pp"/>
|
||||
<Type Value="Main Unit"/>
|
||||
<UnitName Value="AllLCLUnits"/>
|
||||
</Item284>
|
||||
<Item285>
|
||||
<Filename Value="actnlist.pas"/>
|
||||
<HasRegisterProc Value="True"/>
|
||||
<UnitName Value="ActnList"/>
|
||||
</Item285>
|
||||
<Item286>
|
||||
<Filename Value="arrow.pp"/>
|
||||
<HasRegisterProc Value="True"/>
|
||||
<UnitName Value="Arrow"/>
|
||||
</Item286>
|
||||
<Item287>
|
||||
<Filename Value="asyncprocess.pp"/>
|
||||
<HasRegisterProc Value="True"/>
|
||||
<UnitName Value="AsyncProcess"/>
|
||||
</Item287>
|
||||
<Item288>
|
||||
<Filename Value="avglvltree.pas"/>
|
||||
<UnitName Value="AvgLvlTree"/>
|
||||
</Item288>
|
||||
<Item289>
|
||||
<Filename Value="buttonpanel.pas"/>
|
||||
<HasRegisterProc Value="True"/>
|
||||
<UnitName Value="ButtonPanel"/>
|
||||
</Item289>
|
||||
<Item290>
|
||||
<Filename Value="buttons.pp"/>
|
||||
<HasRegisterProc Value="True"/>
|
||||
<UnitName Value="Buttons"/>
|
||||
</Item290>
|
||||
<Item291>
|
||||
<Filename Value="calendar.pp"/>
|
||||
<HasRegisterProc Value="True"/>
|
||||
<UnitName Value="Calendar"/>
|
||||
</Item291>
|
||||
</Files>
|
||||
<i18n>
|
||||
<EnableI18N Value="True"/>
|
||||
|
@ -31,7 +31,8 @@ unit LCLMessageGlue;
|
||||
|
||||
interface
|
||||
|
||||
uses Classes, Forms, LCLClasses, LCLProc, Controls, LMessages, LCLType;
|
||||
uses
|
||||
Classes, Forms, LCLClasses, LCLProc, Controls, Messages, LMessages, LCLType;
|
||||
|
||||
function DeliverMessage(const Target: TObject; var AMessage): PtrInt;
|
||||
function SendSimpleMessage(const Target: TControl; Msg: Cardinal): PtrInt;
|
||||
|
@ -22,6 +22,17 @@
|
||||
}
|
||||
unit LCLVersion;
|
||||
|
||||
{ At least 2.4.0 is required, except for wince which supports fpc 2.2.0+ too }
|
||||
{$ifdef Wince}
|
||||
{$if defined(ver1) or (defined(ver2) and (fpc_release<2))}
|
||||
{$fatal Lazarus for WinCE requires at least FPC 2.2.0}
|
||||
{$endif}
|
||||
{$else}
|
||||
{$if defined(ver1) or (defined(ver2) and (fpc_release<4))}
|
||||
{$fatal Lazarus requires at least FPC 2.4.0}
|
||||
{$endif}
|
||||
{$endif}
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
||||
interface
|
||||
|
@ -60,7 +60,7 @@ uses
|
||||
LazarusIDEStrConsts, EnvironmentOpts, IDEProcs, LazConf, TransferMacros,
|
||||
DialogProcs, IDETranslations, CompilerOptions, PackageLinks, PackageDefs,
|
||||
ComponentReg, ProjectIntf,
|
||||
RegisterFCL, RegisterLCL, allsynedit;
|
||||
RegisterFCL, AllLCLUnits, allsynedit, LCLVersion;
|
||||
|
||||
type
|
||||
TFindPackageFlag = (
|
||||
@ -4456,7 +4456,6 @@ begin
|
||||
|
||||
// register IDE built-in packages (Note: codetools do not need this)
|
||||
RegisterStaticPackage(FCLPackage,@RegisterFCL.Register);
|
||||
RegisterStaticPackage(LCLPackage,@RegisterLCL.Register);
|
||||
if Assigned(OnTranslatePackage) then OnTranslatePackage(CodeToolsPackage);
|
||||
|
||||
// register custom IDE components
|
||||
|
@ -1,92 +0,0 @@
|
||||
{ $Id$ }
|
||||
{
|
||||
/***************************************************************************
|
||||
registerlcl.pas
|
||||
---------------
|
||||
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
***************************************************************************
|
||||
* *
|
||||
* This source is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU General Public License as published by *
|
||||
* the Free Software Foundation; either version 2 of the License, or *
|
||||
* (at your option) any later version. *
|
||||
* *
|
||||
* This code is distributed in the hope that it will be useful, but *
|
||||
* WITHOUT ANY WARRANTY; without even the implied warranty of *
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
|
||||
* General Public License for more details. *
|
||||
* *
|
||||
* A copy of the GNU General Public License is available on the World *
|
||||
* Wide Web at <http://www.gnu.org/copyleft/gpl.html>. You can also *
|
||||
* obtain it by writing to the Free Software Foundation, *
|
||||
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
|
||||
* *
|
||||
***************************************************************************
|
||||
|
||||
Author: Mattias Gaertner
|
||||
|
||||
Abstract:
|
||||
Registration of the LCL components.
|
||||
}
|
||||
unit RegisterLCL;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
||||
interface
|
||||
|
||||
uses
|
||||
LazarusPackageIntf,
|
||||
Menus, Buttons, StdCtrls, ExtCtrls, ComCtrls, Forms, Grids, Controls,
|
||||
Dialogs, Spin, Arrow, Calendar, MaskEdit, CheckLst, PairSplitter, ExtDlgs,
|
||||
StdActns, DBCtrls, DBGrids, DBActns, EditBtn, ActnList, FileCtrl, ButtonPanel,
|
||||
LResources, XMLPropStorage, IniPropStorage, Graphics, Chart, ColorBox,
|
||||
LazHelpHTML, PopupNotifier, AsyncProcess, UTF8Process, ShellCtrls;
|
||||
|
||||
procedure Register;
|
||||
|
||||
implementation
|
||||
|
||||
procedure Register;
|
||||
begin
|
||||
RegisterUnit('Menus',@Menus.Register);
|
||||
RegisterUnit('Buttons',@Buttons.Register);
|
||||
RegisterUnit('StdCtrls',@StdCtrls.Register);
|
||||
RegisterUnit('ExtCtrls',@ExtCtrls.Register);
|
||||
RegisterUnit('ComCtrls',@ComCtrls.Register);
|
||||
RegisterUnit('MaskEdit',@MaskEdit.Register);
|
||||
RegisterUnit('CheckLst',@CheckLst.Register);
|
||||
RegisterUnit('Forms',@Forms.Register);
|
||||
RegisterUnit('Grids',@Grids.Register);
|
||||
RegisterUnit('Controls',@Controls.Register);
|
||||
RegisterUnit('Dialogs',@Dialogs.Register);
|
||||
RegisterUnit('Spin',@Spin.Register);
|
||||
RegisterUnit('Arrow',@Arrow.Register);
|
||||
RegisterUnit('Calendar',@Calendar.Register);
|
||||
RegisterUnit('PairSplitter',@PairSplitter.Register);
|
||||
RegisterUnit('ExtDlgs',@ExtDlgs.Register);
|
||||
RegisterUnit('StdActns',@StdActns.Register);
|
||||
RegisterUnit('DBCtrls',@DBCtrls.Register);
|
||||
RegisterUnit('DBGrids',@DBGrids.Register);
|
||||
RegisterUnit('DBActns',@DBActns.Register);
|
||||
RegisterUnit('EditBtn',@EditBtn.Register);
|
||||
RegisterUnit('ActnList',@ActnList.Register);
|
||||
RegisterUnit('FileCtrl',@FileCtrl.Register);
|
||||
RegisterUnit('Graphics',@Graphics.Register);
|
||||
RegisterUnit('XMLPropStorage',@XMLPropStorage.Register);
|
||||
RegisterUnit('IniPropStorage',@IniPropStorage.Register);
|
||||
RegisterUnit('Chart',@Chart.Register);
|
||||
RegisterUnit('ColorBox',@ColorBox.Register);
|
||||
RegisterUnit('ButtonPanel',@ButtonPanel.Register);
|
||||
RegisterUnit('LResources',@LResources.Register);
|
||||
RegisterUnit('LazHelpHTML',@LazHelpHTML.Register);
|
||||
RegisterUnit('PopupNotifier', @PopupNotifier.Register);
|
||||
RegisterUnit('AsyncProcess', @AsyncProcess.Register);
|
||||
RegisterUnit('UTF8Process', @UTF8Process.Register);
|
||||
RegisterUnit('ShellCtrls', @ShellCtrls.Register);
|
||||
end;
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user