Makefile: BigIde, add DockedFormEditor and AnchorDocking

This commit is contained in:
Martin 2024-08-06 23:33:15 +02:00
parent ca4538b235
commit c455038264
9 changed files with 4424 additions and 6 deletions

View File

@ -1961,6 +1961,9 @@ bigide:
$(MAKE) -C exampleswindow
$(MAKE) -C charactermap
$(MAKE) -C charactermap/design
$(MAKE) -C dockedformeditor
$(MAKE) -C anchordocking
$(MAKE) -C anchordocking/design
all: lazbuildlclpackages idepackages bigide
clean:
$(MAKE) -C lazutils clean
@ -2020,6 +2023,9 @@ clean:
$(MAKE) -C exampleswindow clean
$(MAKE) -C charactermap clean
$(MAKE) -C charactermap/design clean
$(MAKE) -C dockedformeditor clean
$(MAKE) -C anchordocking clean
$(MAKE) -C anchordocking/design clean
cleanall: clean
distclean:
$(MAKE) -C lazutils distclean
@ -2076,8 +2082,9 @@ distclean:
$(MAKE) -C simplewebservergui distclean
$(MAKE) -C projectgroups distclean
$(MAKE) -C pas2js distclean
$(MAKE) -C anchordocking/design distclean
$(MAKE) -C anchordocking distclean
$(MAKE) -C exampleswindow distclean
$(MAKE) -C charactermap distclean
$(MAKE) -C charactermap/design distclean
$(MAKE) -C dockedformeditor distclean
$(MAKE) -C anchordocking distclean
$(MAKE) -C anchordocking/design distclean

View File

@ -106,6 +106,9 @@ bigide:
$(MAKE) -C exampleswindow
$(MAKE) -C charactermap
$(MAKE) -C charactermap/design
$(MAKE) -C dockedformeditor
$(MAKE) -C anchordocking
$(MAKE) -C anchordocking/design
all: lazbuildlclpackages idepackages bigide
@ -167,6 +170,9 @@ clean:
$(MAKE) -C exampleswindow clean
$(MAKE) -C charactermap clean
$(MAKE) -C charactermap/design clean
$(MAKE) -C dockedformeditor clean
$(MAKE) -C anchordocking clean
$(MAKE) -C anchordocking/design clean
cleanall: clean
@ -225,9 +231,10 @@ distclean:
$(MAKE) -C simplewebservergui distclean
$(MAKE) -C projectgroups distclean
$(MAKE) -C pas2js distclean
$(MAKE) -C anchordocking/design distclean
$(MAKE) -C anchordocking distclean
$(MAKE) -C exampleswindow distclean
$(MAKE) -C charactermap distclean
$(MAKE) -C charactermap/design distclean
$(MAKE) -C dockedformeditor distclean
$(MAKE) -C anchordocking distclean
$(MAKE) -C anchordocking/design distclean

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<Makefile Value="2"/>
<Params Value="-Fu.;source;../../packager/units/$(CPU_TARGET)-$(OS_TARGET);../lazdebuggers/lazdebuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET);../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET);../buildintf/units/$(CPU_TARGET)-$(OS_TARGET);../codetools/units/$(CPU_TARGET)-$(OS_TARGET);../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET);../freetype/lib/$(CPU_TARGET)-$(OS_TARGET);../../lcl/units/$(CPU_TARGET)-$(OS_TARGET);../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM);../lazcontrols/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM);../ideintf/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM);../lazcontrols/design/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) -Fisource -MObjFPC -Scghi -O1 -g -gl -gv -Xg -l -vewnhibq -dLCL -dLCL$(LCL_PLATFORM) dockedformeditor.pas"/>
</CONFIG>

View File

@ -0,0 +1,65 @@
# File generated automatically by Lazarus Package Manager
#
# Makefile.fpc for DockedFormEditor 0.0
#
# This file was generated on 06/08/2024
[package]
name=dockedformeditor
version=0.0
[compiler]
unittargetdir=lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
unitdir=. source ../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../lazdebuggers/lazdebuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) ../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) ../buildintf/units/$(CPU_TARGET)-$(OS_TARGET) ../codetools/units/$(CPU_TARGET)-$(OS_TARGET) ../debuggerintf/lib/$(CPU_TARGET)-$(OS_TARGET) ../freetype/lib/$(CPU_TARGET)-$(OS_TARGET) ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET) ../../lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) ../lazcontrols/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) ../ideintf/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) ../lazcontrols/design/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
includedir=source
options=-MObjFPC -Scghi -O1 -g -gl -gv -Xg -l -vewnhibq -dLCL -dLCL$(LCL_PLATFORM) $(DBG_OPTIONS)
[target]
units=dockedformeditor.pas
[clean]
files=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) \
$(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) \
$(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) \
$(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) \
$(wildcard $(COMPILER_UNITTARGETDIR)/*.res) \
$(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) \
$(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
[prerules]
# LCL Platform
ifndef LCL_PLATFORM
ifeq ($(OS_TARGET),win32)
LCL_PLATFORM=win32
else
ifeq ($(OS_TARGET),win64)
LCL_PLATFORM=win32
else
ifeq ($(OS_TARGET),darwin)
LCL_PLATFORM=cocoa
else
LCL_PLATFORM=gtk2
endif
endif
endif
endif
export LCL_PLATFORM
DBG_OPTIONS=
ifeq ($(OS_TARGET),darwin)
DBG_OPTIONS=-gw
endif
[rules]
.PHONY: cleartarget compiled all
cleartarget:
-$(DEL) $(COMPILER_UNITTARGETDIR)/dockedformeditor$(PPUEXT)
compiled:
$(CPPROG) -f Makefile.compiled $(COMPILER_UNITTARGETDIR)/dockedformeditor.compiled
all: cleartarget $(COMPILER_UNITTARGETDIR) dockedformeditor$(PPUEXT) compiled
distclean: clean
${DELTREE} lib/*

View File

@ -0,0 +1,101 @@
{
File generated automatically by Lazarus Package Manager
fpmake.pp for DockedFormEditor 0.0
This file was generated on 06/08/2024
}
{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;
uses fpmkunit;
{$endif ALLPACKAGES}
procedure add_DockedFormEditor(const ADirectory: string);
var
P : TPackage;
T : TTarget;
D : TDependency;
begin
with Installer do
begin
P:=AddPackage('dockedformeditor');
P.Version:='<none>';
P.Directory:=ADirectory;
P.Flags.Add('LazarusDsgnPkg');
D := P.Dependencies.Add('lazcontroldsgn');
D := P.Dependencies.Add('debuggerintf');
D := P.Dependencies.Add('codetools');
D := P.Dependencies.Add('ideintf');
P.Options.Add('-MObjFPC');
P.Options.Add('-Scghi');
P.Options.Add('-O1');
P.Options.Add('-g');
P.Options.Add('-gl');
P.Options.Add('-gv');
P.Options.Add('-Xg');
P.Options.Add('-l');
P.Options.Add('-vewnhibq');
P.Options.Add('-dLCL');
P.Options.Add('-dLCL$(LCLWidgetType)');
P.IncludePath.Add('source');
P.UnitPath.Add('source');
P.UnitPath.Add('.');
T:=P.Targets.AddUnit('dockedformeditor.pas');
t.Dependencies.AddUnit('dockedregister');
t.Dependencies.AddUnit('dockedstrconsts');
t.Dependencies.AddUnit('dockedformaccesses');
t.Dependencies.AddUnit('dockedmainide');
t.Dependencies.AddUnit('dockedresizer');
t.Dependencies.AddUnit('dockedoptionside');
t.Dependencies.AddUnit('dockedoptionsframe');
t.Dependencies.AddUnit('dockedtools');
t.Dependencies.AddUnit('dockeddesignform');
t.Dependencies.AddUnit('dockedsourcepagecontrol');
t.Dependencies.AddUnit('dockedsourcewindow');
t.Dependencies.AddUnit('dockedanchordesigner');
t.Dependencies.AddUnit('dockedbasicanchordesigner');
t.Dependencies.AddUnit('dockedanchorcontrol');
t.Dependencies.AddUnit('dockedgrip');
t.Dependencies.AddUnit('dockedresizecontrol');
t.Dependencies.AddUnit('dockedforminitialsetupframe');
T:=P.Targets.AddUnit('source\dockedregister.pas');
T:=P.Targets.AddUnit('dockedstrconsts.pas');
T:=P.Targets.AddUnit('source\dockedformaccesses.pas');
T:=P.Targets.AddUnit('source\dockedmainide.pas');
T:=P.Targets.AddUnit('source\dockedresizer.pas');
T:=P.Targets.AddUnit('source\dockedoptionside.pas');
T:=P.Targets.AddUnit('source\dockedoptionsframe.pas');
T:=P.Targets.AddUnit('source\dockedtools.pas');
T:=P.Targets.AddUnit('source\dockeddesignform.pas');
T:=P.Targets.AddUnit('source\dockedsourcepagecontrol.pas');
T:=P.Targets.AddUnit('source\dockedsourcewindow.pas');
T:=P.Targets.AddUnit('source\dockedanchordesigner.pas');
T:=P.Targets.AddUnit('source\dockedbasicanchordesigner.pas');
T:=P.Targets.AddUnit('source\dockedanchorcontrol.pas');
T:=P.Targets.AddUnit('source\dockedgrip.pas');
T:=P.Targets.AddUnit('source\dockedresizecontrol.pas');
T:=P.Targets.AddUnit('dockedforminitialsetupframe.pas');
// copy the compiled file, so the IDE knows how the package was compiled
P.Sources.AddSrc('dockedformeditor.compiled');
P.InstallFiles.Add('dockedformeditor.compiled',AllOSes,'$(unitinstalldir)');
end;
end;
{$ifndef ALLPACKAGES}
begin
add_DockedFormEditor('');
Installer.Run;
end.
{$endif ALLPACKAGES}

View File

@ -456,7 +456,10 @@ BIG_IDE_OPTIONS=-dBigIDE $(DEFAULT_IDE_OPTIONS) \
-Fu../components/pas2js/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
-Fu../components/exampleswindow/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
-Fu../components/charactermap/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
-Fu../components/charactermap/design/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
-Fu../components/charactermap/design/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
-Fu../components/dockedformeditor/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
-Fu../components/anchordocking/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
-Fu../components/anchordocking/design/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
LAZBUILD_OPT=$(LAZARUS_LIBPATHS)
ifneq ($(findstring $(OS_TARGET),win32 win64),)
LAZARUS_OPT+= -WG

View File

@ -154,7 +154,10 @@ BIG_IDE_OPTIONS=-dBigIDE $(DEFAULT_IDE_OPTIONS) \
-Fu../components/pas2js/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
-Fu../components/exampleswindow/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
-Fu../components/charactermap/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
-Fu../components/charactermap/design/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
-Fu../components/charactermap/design/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
-Fu../components/dockedformeditor/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
-Fu../components/anchordocking/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
-Fu../components/anchordocking/design/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
#
# Options for compiling lazbuild

View File

@ -80,6 +80,7 @@ uses
EditorMacroScript, ExampleProjects,
OnlinePackageManager,
SimpleWebServerGUI, LazProjectGroups, Pas2jsDsgn, charactermap_ide_pkg,
AnchorDockingDsgn, DockedFormEditor,
{$ENDIF}
MainBase,
ColorTTY;