IDE: lazcontrols: added codetools values, create dummy package if lpk not found, package link, Makefile

git-svn-id: trunk@26245 -
This commit is contained in:
mattias 2010-06-21 22:50:36 +00:00
parent d5dee5bbc3
commit 5b07f80b00
9 changed files with 250 additions and 68 deletions

1
.gitattributes vendored
View File

@ -5183,6 +5183,7 @@ packager/globallinks/imagesforlazarus-1.1.lpl svneol=native#text/plain
packager/globallinks/jcfidelazarus-2.lpl svneol=native#text/plain
packager/globallinks/jumptoimplementation-0.lpl svneol=native#text/plain
packager/globallinks/lazc-0.lpl svneol=native#text/plain
packager/globallinks/lazcontrols-0.lpl svneol=native#text/plain
packager/globallinks/lazcustforms-0.lpl svneol=native#text/plain
packager/globallinks/lazcustomform-0.lpl svneol=native#text/plain
packager/globallinks/lazdaemon-0.lpl svneol=native#text/plain

View File

@ -264,187 +264,187 @@ UNITSDIR:=$(wildcard $(FPCDIR)/units/$(OS_TARGET))
endif
PACKAGESDIR:=$(wildcard $(FPCDIR) $(FPCDIR)/packages $(FPCDIR)/packages/base $(FPCDIR)/packages/extra)
ifeq ($(FULL_TARGET),i386-linux)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),i386-go32v2)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),i386-win32)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),i386-os2)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),i386-freebsd)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),i386-beos)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),i386-haiku)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),i386-netbsd)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),i386-solaris)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),i386-qnx)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),i386-netware)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),i386-openbsd)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),i386-wdosx)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),i386-darwin)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),i386-emx)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),i386-watcom)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),i386-netwlibc)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),i386-wince)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),i386-embedded)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),i386-symbian)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),i386-nativent)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),m68k-linux)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),m68k-freebsd)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),m68k-netbsd)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),m68k-amiga)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),m68k-atari)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),m68k-openbsd)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),m68k-palmos)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),m68k-embedded)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),powerpc-linux)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),powerpc-netbsd)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),powerpc-amiga)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),powerpc-macos)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),powerpc-darwin)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),powerpc-morphos)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),powerpc-embedded)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),sparc-linux)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),sparc-netbsd)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),sparc-solaris)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),sparc-embedded)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),x86_64-linux)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),x86_64-freebsd)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),x86_64-solaris)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),x86_64-darwin)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),x86_64-win64)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),x86_64-embedded)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),arm-linux)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),arm-palmos)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),arm-darwin)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),arm-wince)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),arm-gba)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),arm-nds)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),arm-embedded)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),arm-symbian)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),powerpc64-linux)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),powerpc64-darwin)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),powerpc64-embedded)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),avr-embedded)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),armeb-linux)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),armeb-embedded)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),mipsel-linux)
override TARGET_DIRS+=synedit codetools
override TARGET_DIRS+=synedit codetools lazcontrols
endif
ifeq ($(FULL_TARGET),i386-linux)
override CLEAN_FILES+=$(wildcard ./units/*$(OEXT)) $(wildcard ./units/*$(PPUEXT)) $(wildcard ./units/*$(RSTEXT)) $(wildcard ./units/$(CPU_TARGET)-$(OS_TARGET)/*$(OEXT)) $(wildcard ./units/$(CPU_TARGET)-$(OS_TARGET)/*$(PPUEXT)) $(wildcard ./units/$(CPU_TARGET)-$(OS_TARGET)/*$(RSTEXT)) $(wildcard ./custom/*$(OEXT)) $(wildcard ./custom/*$(PPUEXT)) $(wildcard ./custom/*$(RSTEXT))
@ -1738,246 +1738,307 @@ fpc_makefiles: fpc_makefile fpc_makefile_dirs
ifeq ($(FULL_TARGET),i386-linux)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),i386-go32v2)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),i386-win32)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),i386-os2)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),i386-freebsd)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),i386-beos)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),i386-haiku)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),i386-netbsd)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),i386-solaris)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),i386-qnx)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),i386-netware)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),i386-openbsd)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),i386-wdosx)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),i386-darwin)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),i386-emx)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),i386-watcom)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),i386-netwlibc)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),i386-wince)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),i386-embedded)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),i386-symbian)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),i386-nativent)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),m68k-linux)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),m68k-freebsd)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),m68k-netbsd)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),m68k-amiga)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),m68k-atari)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),m68k-openbsd)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),m68k-palmos)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),m68k-embedded)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),powerpc-linux)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),powerpc-netbsd)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),powerpc-amiga)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),powerpc-macos)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),powerpc-darwin)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),powerpc-morphos)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),powerpc-embedded)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),sparc-linux)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),sparc-netbsd)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),sparc-solaris)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),sparc-embedded)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),x86_64-linux)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),x86_64-freebsd)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),x86_64-solaris)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),x86_64-darwin)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),x86_64-win64)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),x86_64-embedded)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),arm-linux)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),arm-palmos)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),arm-darwin)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),arm-wince)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),arm-gba)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),arm-nds)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),arm-embedded)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),arm-symbian)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),powerpc64-linux)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),powerpc64-darwin)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),powerpc64-embedded)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),avr-embedded)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),armeb-linux)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),armeb-embedded)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifeq ($(FULL_TARGET),mipsel-linux)
TARGET_DIRS_SYNEDIT=1
TARGET_DIRS_CODETOOLS=1
TARGET_DIRS_LAZCONTROLS=1
endif
ifdef TARGET_DIRS_SYNEDIT
synedit_all:
@ -2069,6 +2130,51 @@ codetools:
$(MAKE) -C codetools all
.PHONY: codetools_all codetools_debug codetools_smart codetools_release codetools_units codetools_examples codetools_shared codetools_install codetools_sourceinstall codetools_exampleinstall codetools_distinstall codetools_zipinstall codetools_zipsourceinstall codetools_zipexampleinstall codetools_zipdistinstall codetools_clean codetools_distclean codetools_cleanall codetools_info codetools_makefiles codetools
endif
ifdef TARGET_DIRS_LAZCONTROLS
lazcontrols_all:
$(MAKE) -C lazcontrols all
lazcontrols_debug:
$(MAKE) -C lazcontrols debug
lazcontrols_smart:
$(MAKE) -C lazcontrols smart
lazcontrols_release:
$(MAKE) -C lazcontrols release
lazcontrols_units:
$(MAKE) -C lazcontrols units
lazcontrols_examples:
$(MAKE) -C lazcontrols examples
lazcontrols_shared:
$(MAKE) -C lazcontrols shared
lazcontrols_install:
$(MAKE) -C lazcontrols install
lazcontrols_sourceinstall:
$(MAKE) -C lazcontrols sourceinstall
lazcontrols_exampleinstall:
$(MAKE) -C lazcontrols exampleinstall
lazcontrols_distinstall:
$(MAKE) -C lazcontrols distinstall
lazcontrols_zipinstall:
$(MAKE) -C lazcontrols zipinstall
lazcontrols_zipsourceinstall:
$(MAKE) -C lazcontrols zipsourceinstall
lazcontrols_zipexampleinstall:
$(MAKE) -C lazcontrols zipexampleinstall
lazcontrols_zipdistinstall:
$(MAKE) -C lazcontrols zipdistinstall
lazcontrols_clean:
$(MAKE) -C lazcontrols clean
lazcontrols_distclean:
$(MAKE) -C lazcontrols distclean
lazcontrols_cleanall:
$(MAKE) -C lazcontrols cleanall
lazcontrols_info:
$(MAKE) -C lazcontrols info
lazcontrols_makefiles:
$(MAKE) -C lazcontrols makefiles
lazcontrols:
$(MAKE) -C lazcontrols all
.PHONY: lazcontrols_all lazcontrols_debug lazcontrols_smart lazcontrols_release lazcontrols_units lazcontrols_examples lazcontrols_shared lazcontrols_install lazcontrols_sourceinstall lazcontrols_exampleinstall lazcontrols_distinstall lazcontrols_zipinstall lazcontrols_zipsourceinstall lazcontrols_zipexampleinstall lazcontrols_zipdistinstall lazcontrols_clean lazcontrols_distclean lazcontrols_cleanall lazcontrols_info lazcontrols_makefiles lazcontrols
endif
all: $(addsuffix _all,$(TARGET_DIRS))
debug: $(addsuffix _debug,$(TARGET_DIRS))
smart: $(addsuffix _smart,$(TARGET_DIRS))

View File

@ -4,7 +4,7 @@
#
[target]
dirs=synedit codetools
dirs=synedit codetools lazcontrols
[clean]
files=$(wildcard ./units/*$(OEXT)) \

View File

@ -5254,8 +5254,8 @@ var
IDEIntfDir: TDefineTemplate;
ToolsInstallDirTempl: TDefineTemplate;
CurCPUOS: String;
SynEditDirTempl: TDefineTemplate;
SynEditUnitsDirTempl: TDefineTemplate;
SynEditDirTempl, SynEditUnitsDirTempl: TDefineTemplate;
LazControlsDirTempl, LazControlsUnitsDirTempl: TDefineTemplate;
CodeToolsDirTempl: TDefineTemplate;
CodeToolsUnitsDirTempl: TDefineTemplate;
FPGUIPlatformTempl: TDefineTemplate;
@ -5352,6 +5352,12 @@ begin
d(LazarusSrcDir+'/components/synedit;'
+SrcPath)
,da_DefineRecurse));
DirTempl.AddChild(TDefineTemplate.Create('LazControls path addition',
Format(ctsAddsDirToSourcePath,['lazcontrols']),
ExternalMacroStart+'SrcPath',
d(LazarusSrcDir+'/components/lazcontrols;'
+SrcPath)
,da_DefineRecurse));
DirTempl.AddChild(TDefineTemplate.Create('CodeTools path addition',
Format(ctsAddsDirToSourcePath,['codetools']),
ExternalMacroStart+'SrcPath',
@ -5396,6 +5402,7 @@ begin
d('../ideintf;'
+'../components/synedit;'
+'../components/codetools;'
+'../components/lazcontrols;'
+'../components/custom;'
+'jitform;')
+SrcPath
@ -5457,6 +5464,7 @@ begin
+';../ideintf'
+';../components/codetools'
+';../components/synedit'
+';../components/lazcontrols'
+';../packager'
+';../debugger'
+';../designer'
@ -5471,13 +5479,14 @@ begin
DirTempl:=TDefineTemplate.Create('Packager',ctsDesignerDirectory,
'','packager',da_Directory);
DirTempl.AddChild(TDefineTemplate.Create('src path addition',
Format(ctsAddsDirToSourcePath,['lcl synedit codetools ideintf']),
Format(ctsAddsDirToSourcePath,['lcl synedit codetools lazcontrols ideintf']),
SrcPathMacroName,
d(LazarusSrcDir+'/lcl'
+';'+LazarusSrcDir+'/lcl/interfaces/'+WidgetType
+';'+LazarusSrcDir+'/ide'
+';'+LazarusSrcDir+'/ideintf'
+';'+LazarusSrcDir+'/components/synedit'
+';'+LazarusSrcDir+'/components/lazcontrols'
+';'+LazarusSrcDir+'/components/codetools'
+';'+LazarusSrcDir+'/packager/frames'
+';'+LazarusSrcDir+'/packager/registration'
@ -5746,6 +5755,20 @@ begin
,da_DefineRecurse));
DirTempl.AddChild(SynEditDirTempl);
// <LazarusSrcDir>/components/lazcontrols
LazControlsDirTempl:=TDefineTemplate.Create('lazcontrols',
'LazControls','','lazcontrols',da_Directory);
// <LazarusSrcDir>/components/lazcontrols/lib
LazControlsUnitsDirTempl:=TDefineTemplate.Create('lazcontrols output directory',
'lib','','lib',da_Directory);
LazControlsDirTempl.AddChild(LazControlsUnitsDirTempl);
LazControlsUnitsDirTempl.AddChild(TDefineTemplate.Create('CompiledSrcPath',
ctsSrcPathForCompiledUnits,
ExternalMacroStart+'CompiledSrcPath',
d(LazarusSrcDir+'components/lazcontrols')
,da_DefineRecurse));
DirTempl.AddChild(LazControlsDirTempl);
// <LazarusSrcDir>/components/codetools/units
CodeToolsDirTempl:=TDefineTemplate.Create('codetools',
'CodeTools','','codetools',da_Directory);

View File

@ -1,5 +1,5 @@
#
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2010/06/09]
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2010/06/03]
#
default: all
MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-haiku i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince i386-embedded i386-symbian i386-nativent m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos m68k-embedded powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macos powerpc-darwin powerpc-morphos powerpc-embedded sparc-linux sparc-netbsd sparc-solaris sparc-embedded x86_64-linux x86_64-freebsd x86_64-solaris x86_64-darwin x86_64-win64 x86_64-embedded arm-linux arm-palmos arm-darwin arm-wince arm-gba arm-nds arm-embedded arm-symbian powerpc64-linux powerpc64-darwin powerpc64-embedded avr-embedded armeb-linux armeb-embedded mipsel-linux

View File

@ -16,7 +16,7 @@ unit DividerBevel;
interface
uses
Classes, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls, types,
Classes, LResources, Forms, Controls, Graphics, Dialogs, Types,
LCLType, LCLIntf, LCLProc, math, ExtCtrls;
type
@ -163,6 +163,7 @@ end;
procedure TDividerBevel.CalculatePreferredSize(var PreferredWidth, PreferredHeight: integer;
WithThemeSpace: Boolean);
begin
if WithThemeSpace then ;
FNeedCalcSize := True;
CalcSize;
PreferredWidth := FTextWidth + 2*FLeftIndent + 2*FCaptionSpacing;

View File

@ -902,7 +902,7 @@ begin
ResultsList.Clear;
ResultsWindow:= ListPage;
try
IDEWindowCreators.ShowForm(SearchResultsView,true);
Show; // floating window, not dockable
// update Window Menu, the OnIdle event does not occur while searching
MainIDEInterface.UpdateWindowMenu;
DoSearch;

View File

@ -0,0 +1 @@
$(LazarusDir)/components/lazcontrols/lazcontrols.lpk

View File

@ -128,11 +128,13 @@ type
FRegistrationPackage: TLazPackage;
FRegistrationUnitName: string;
FSynEditPackage: TLazPackage;
FLazControlsPackage: TLazPackage;
FTree: TAVLTree; // sorted tree of TLazPackage
FUpdateLock: integer;
function CreateFCLPackage: TLazPackage;
function CreateLCLPackage: TLazPackage;
function CreateSynEditPackage: TLazPackage;
function CreateLazControlsPackage: TLazPackage;
function CreateCodeToolsPackage: TLazPackage;
function CreateIDEIntfPackage: TLazPackage;
function CreateDefaultPackage: TLazPackage;
@ -339,6 +341,7 @@ type
property FCLPackage: TLazPackage read FFCLPackage;
property LCLPackage: TLazPackage read FLCLPackage;
property SynEditPackage: TLazPackage read FSynEditPackage;
property LazControlsPackage: TLazPackage read FLazControlsPackage;
property CodeToolsPackage: TLazPackage read FCodeToolsPackage;
property IDEIntfPackage: TLazPackage read FIDEIntfPackage;
property LazarusBasePackages: TFPList read FLazarusBasePackages;
@ -584,6 +587,8 @@ begin
FIDEIntfPackage:=nil
else if CurPkg=SynEditPackage then
FSynEditPackage:=nil
else if CurPkg=LazControlsPackage then
FLazControlsPackage:=nil
else if CurPkg=CodeToolsPackage then
FCodeToolsPackage:=nil;
FLazarusBasePackages.Remove(CurPkg);
@ -1522,6 +1527,48 @@ begin
end;
end;
function TLazPackageGraph.CreateLazControlsPackage: TLazPackage;
begin
Result:=TLazPackage.Create;
with Result do begin
AutoCreated:=true;
Name:='LazControls';
Filename:=SetDirSeparators('$(LazarusDir)/components/lazcontrols/lazcontrols.lpk');
Version.SetValues(0,0,0,0);
Author:='Martin Friebe';
License:='modified LGPL-2';
AutoInstall:=pitStatic;
AutoUpdate:=pupManually;
Description:='LCL controls for the Lazarus IDE';
PackageType:=lptRunAndDesignTime;
Installed:=pitStatic;
CompilerOptions.UnitOutputDirectory:='';
POOutputDirectory:='languages';
LazDocPaths:='docs';
Translated:=SystemLanguageID1;
AddToProjectUsesSection:=false;
// add requirements
AddRequiredDependency(LCLPackage.CreateDependencyWithOwner(Result));
// add units
AddFile('dividerbevel.pas','DividerBevel',pftUnit,[],cpBase);
CompilerOptions.CustomOptions:='$(IDEBuildOptions)';
// add unit paths
UsageOptions.UnitPath:=SetDirSeparators(
'$(LazarusDir)/components/lazcontrols/lib/$(TargetCPU)-$(TargetOS)');
// use the components/lazcontrols/lib/..../lazcontrols.o file as indicator,
// if lazcontrols have been recompiled
OutputStateFile:=SetDirSeparators(
'$(LazarusDir)/components/lazcontrols/lib/$(TargetCPU)-$(TargetOS)/lazcontrols.o');
Modified:=false;
end;
end;
function TLazPackageGraph.CreateCodeToolsPackage: TLazPackage;
begin
Result:=TLazPackage.Create;
@ -1711,6 +1758,7 @@ begin
else if PkgName='ideintf' then Result:=CreateIDEIntfPackage
else if PkgName='synedit' then Result:=CreateSynEditPackage
else if PkgName='codetools' then Result:=CreateCodeToolsPackage
else if PkgName='lazcontrols' then Result:=CreateLazControlsPackage
else RaiseGDBException('');
end;
@ -1747,6 +1795,8 @@ begin
SetBasePackage(FIDEIntfPackage)
else if SysUtils.CompareText(APackage.Name,'SynEdit')=0 then
SetBasePackage(FSynEditPackage)
else if SysUtils.CompareText(APackage.Name,'LazControls')=0 then
SetBasePackage(FLazControlsPackage)
else if SysUtils.CompareText(APackage.Name,'CodeTools')=0 then
SetBasePackage(FCodeToolsPackage);
if FLazarusBasePackages.IndexOf(APackage)<0 then