mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-08 14:35:58 +02:00
lhelp: added makefile
git-svn-id: trunk@37748 -
This commit is contained in:
parent
5a1f0e4ebe
commit
cc491168f8
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -388,6 +388,8 @@ components/chmhelp/democontrol/project1.lpr svneol=native#text/plain
|
||||
components/chmhelp/democontrol/unit1.lfm svneol=native#text/plain
|
||||
components/chmhelp/democontrol/unit1.lrs svneol=native#text/pascal
|
||||
components/chmhelp/democontrol/unit1.pas svneol=native#text/plain
|
||||
components/chmhelp/lhelp/Makefile svneol=native#text/plain
|
||||
components/chmhelp/lhelp/Makefile.fpc svneol=native#text/plain
|
||||
components/chmhelp/lhelp/back.xpm svneol=native#text/plain
|
||||
components/chmhelp/lhelp/basecontentprovider.pas svneol=native#text/plain
|
||||
components/chmhelp/lhelp/chmcontentprovider.pas svneol=native#text/plain
|
||||
|
3084
components/chmhelp/lhelp/Makefile
Normal file
3084
components/chmhelp/lhelp/Makefile
Normal file
File diff suppressed because it is too large
Load Diff
70
components/chmhelp/lhelp/Makefile.fpc
Normal file
70
components/chmhelp/lhelp/Makefile.fpc
Normal file
@ -0,0 +1,70 @@
|
||||
#
|
||||
# Makefile.fpc for Lazarus for Free Pascal
|
||||
#
|
||||
|
||||
[package]
|
||||
name=lhelp
|
||||
version=1.0
|
||||
|
||||
[target]
|
||||
dirs=
|
||||
programs=lhelp
|
||||
|
||||
[require]
|
||||
libc=y
|
||||
packages=rtl
|
||||
|
||||
[compiler]
|
||||
options=-gs -gl -Sghi -O3 -dlcl$(LCL_PLATFORM)
|
||||
unittargetdir=lib/$(CPU_TARGET)-$(OS_TARGET)
|
||||
unitdir=. $(LAZDIR)/components/lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) \
|
||||
$(LAZDIR)/packager/units/$(CPU_TARGET)-$(OS_TARGET) \
|
||||
$(LAZDIR)/lcl/units/$(CPU_TARGET)-$(OS_TARGET) \
|
||||
$(LAZDIR)/lcl/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
|
||||
$(LAZDIR)/components/turbopower_ipro/units/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
|
||||
$(LAZDIR)/components/printers/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM) \
|
||||
../packages/help/lib/$(CPU_TARGET)-$(OS_TARGET)/$(LCL_PLATFORM)
|
||||
targetdir=.
|
||||
|
||||
[prerules]
|
||||
LAZDIR=../../..
|
||||
LHELP_OPT=
|
||||
|
||||
# LCL Platform
|
||||
ifndef LCL_PLATFORM
|
||||
ifneq ($(findstring $(OS_TARGET),win32 win64),)
|
||||
LCL_PLATFORM=win32
|
||||
else
|
||||
ifeq ($(OS_TARGET),darwin)
|
||||
LCL_PLATFORM=carbon
|
||||
else
|
||||
LCL_PLATFORM=gtk2
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
export LCL_PLATFORM
|
||||
|
||||
# apptype gui
|
||||
ifneq ($(findstring $(OS_TARGET),win32 win64),)
|
||||
LHELP_OPT+= -WG
|
||||
endif
|
||||
|
||||
[clean]
|
||||
files=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) \
|
||||
$(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) \
|
||||
$(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) \
|
||||
$(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) \
|
||||
$(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) \
|
||||
$(wildcard $(COMPILER_UNITTARGETDIR)/*.or) \
|
||||
$(wildcard $(COMPILER_UNITTARGETDIR)/*.res) \
|
||||
$(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
[rules]
|
||||
.PHONY: all clean
|
||||
|
||||
all:
|
||||
$(MAKE) --assume-new=lhelp.lpr lhelp$(EXEEXT)
|
||||
|
||||
# end.
|
||||
|
Loading…
Reference in New Issue
Block a user