mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 22:39:11 +02:00
lazbuild: added to make all and make install
git-svn-id: trunk@9888 -
This commit is contained in:
parent
4fb7e45034
commit
da9e9ee9af
11
Makefile
11
Makefile
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2006/09/06]
|
# Don't edit, this file is generated by FPCMake Version 2.0.0 [2006/08/20]
|
||||||
#
|
#
|
||||||
default: all
|
default: all
|
||||||
MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macos powerpc-darwin powerpc-morphos sparc-linux sparc-netbsd sparc-solaris x86_64-linux x86_64-freebsd x86_64-win64 arm-linux arm-palmos arm-wince arm-gba powerpc64-linux
|
MAKEFILETARGETS=i386-linux i386-go32v2 i386-win32 i386-os2 i386-freebsd i386-beos i386-netbsd i386-solaris i386-qnx i386-netware i386-openbsd i386-wdosx i386-darwin i386-emx i386-watcom i386-netwlibc i386-wince m68k-linux m68k-freebsd m68k-netbsd m68k-amiga m68k-atari m68k-openbsd m68k-palmos powerpc-linux powerpc-netbsd powerpc-amiga powerpc-macos powerpc-darwin powerpc-morphos sparc-linux sparc-netbsd sparc-solaris x86_64-linux x86_64-freebsd x86_64-win64 arm-linux arm-palmos arm-wince arm-gba powerpc64-linux
|
||||||
@ -233,6 +233,7 @@ override PACKAGE_NAME=lazarus
|
|||||||
override PACKAGE_VERSION=0.9b
|
override PACKAGE_VERSION=0.9b
|
||||||
RCPP?=$(strip $(firstword cpp$(SRCEXEEXT)))
|
RCPP?=$(strip $(firstword cpp$(SRCEXEEXT)))
|
||||||
LAZARUS_INSTALL_DIR=/usr/share/lazarus
|
LAZARUS_INSTALL_DIR=/usr/share/lazarus
|
||||||
|
LAZARUS_MAN_DIR=/usr/share/man
|
||||||
ifneq ($(findstring $(OS_TARGET),win32 win64),)
|
ifneq ($(findstring $(OS_TARGET),win32 win64),)
|
||||||
LAZARUS_INSTALL_DIR=C:\lazarus
|
LAZARUS_INSTALL_DIR=C:\lazarus
|
||||||
endif
|
endif
|
||||||
@ -2473,7 +2474,7 @@ ifeq ($(CPU_TARGET),powerpc)
|
|||||||
FPCCPUOPT:=-O1r
|
FPCCPUOPT:=-O1r
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
FPCCPUOPT:=-O2
|
FPCCPUOPT:=-O1r
|
||||||
endif
|
endif
|
||||||
override FPCOPT+=-Ur -Xs $(FPCCPUOPT) -n
|
override FPCOPT+=-Ur -Xs $(FPCCPUOPT) -n
|
||||||
override FPCOPTDEF+=RELEASE
|
override FPCOPTDEF+=RELEASE
|
||||||
@ -3811,7 +3812,7 @@ tools: lcl components
|
|||||||
$(MAKE) -C tools
|
$(MAKE) -C tools
|
||||||
examples: lcl components
|
examples: lcl components
|
||||||
$(MAKE) -C examples
|
$(MAKE) -C examples
|
||||||
all: lcl components packager/registration ideintf designer packager ide starter
|
all: lcl components packager/registration ideintf designer packager ide starter lazbuilder
|
||||||
cleanide:
|
cleanide:
|
||||||
$(MAKE) -C ide cleanide
|
$(MAKE) -C ide cleanide
|
||||||
cleanlaz: cleanide
|
cleanlaz: cleanide
|
||||||
@ -3831,4 +3832,8 @@ install:
|
|||||||
ifeq ($(OS_TARGET),win32)
|
ifeq ($(OS_TARGET),win32)
|
||||||
else
|
else
|
||||||
ln -sf $(LAZARUS_INSTALL_DIR)/lazarus /usr/bin/lazarus
|
ln -sf $(LAZARUS_INSTALL_DIR)/lazarus /usr/bin/lazarus
|
||||||
|
ln -sf $(LAZARUS_INSTALL_DIR)/startlazarus /usr/bin/startlazarus
|
||||||
|
ln -sf $(LAZARUS_INSTALL_DIR)/lazbuild /usr/bin/lazbuild
|
||||||
|
mkdir -p $(LAZARUS_MAN_DIR)
|
||||||
|
cat $(LAZARUS_INSTALL_DIR)/docs/lazbuild.1 | gzip > $(LAZARUS_MAN_DIR)/man1/lazbuild.1.gz
|
||||||
endif
|
endif
|
||||||
|
@ -30,6 +30,7 @@ destdir=$(BASEDIR)/dist
|
|||||||
RCPP?=$(strip $(firstword cpp$(SRCEXEEXT)))
|
RCPP?=$(strip $(firstword cpp$(SRCEXEEXT)))
|
||||||
#
|
#
|
||||||
LAZARUS_INSTALL_DIR=/usr/share/lazarus
|
LAZARUS_INSTALL_DIR=/usr/share/lazarus
|
||||||
|
LAZARUS_MAN_DIR=/usr/share/man
|
||||||
ifneq ($(findstring $(OS_TARGET),win32 win64),)
|
ifneq ($(findstring $(OS_TARGET),win32 win64),)
|
||||||
LAZARUS_INSTALL_DIR=C:\lazarus
|
LAZARUS_INSTALL_DIR=C:\lazarus
|
||||||
endif
|
endif
|
||||||
@ -77,7 +78,7 @@ examples: lcl components
|
|||||||
$(MAKE) -C examples
|
$(MAKE) -C examples
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
all: lcl components packager/registration ideintf designer packager ide starter
|
all: lcl components packager/registration ideintf designer packager ide starter lazbuilder
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------
|
||||||
cleanide:
|
cleanide:
|
||||||
@ -107,6 +108,10 @@ ifeq ($(OS_TARGET),win32)
|
|||||||
|
|
||||||
else
|
else
|
||||||
ln -sf $(LAZARUS_INSTALL_DIR)/lazarus /usr/bin/lazarus
|
ln -sf $(LAZARUS_INSTALL_DIR)/lazarus /usr/bin/lazarus
|
||||||
|
ln -sf $(LAZARUS_INSTALL_DIR)/startlazarus /usr/bin/startlazarus
|
||||||
|
ln -sf $(LAZARUS_INSTALL_DIR)/lazbuild /usr/bin/lazbuild
|
||||||
|
mkdir -p $(LAZARUS_MAN_DIR)
|
||||||
|
cat $(LAZARUS_INSTALL_DIR)/docs/lazbuild.1 | gzip > $(LAZARUS_MAN_DIR)/man1/lazbuild.1.gz
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
@ -101,6 +101,9 @@ type
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
|
||||||
|
{ TLazarusManager }
|
||||||
|
|
||||||
TLazarusManager = class(TComponent)
|
TLazarusManager = class(TComponent)
|
||||||
private
|
private
|
||||||
FLazarusProcess: TLazarusProcess;
|
FLazarusProcess: TLazarusProcess;
|
||||||
|
Loading…
Reference in New Issue
Block a user