lhelp: added makefile

git-svn-id: trunk@37748 -
This commit is contained in:
mattias 2012-06-23 16:59:11 +00:00
parent 5a1f0e4ebe
commit cc491168f8
3 changed files with 3156 additions and 0 deletions

2
.gitattributes vendored
View File

@ -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

File diff suppressed because it is too large Load Diff

View 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.