freetype: lpk and makefiles

git-svn-id: trunk@63560 -
This commit is contained in:
mattias 2020-07-14 20:17:43 +00:00
parent 9592ee63e9
commit 0066772559
6 changed files with 3504 additions and 0 deletions

5
.gitattributes vendored
View File

@ -1868,7 +1868,12 @@ components/fpweb/lazweb.pp svneol=native#text/plain
components/fpweb/weblaz.lpk svneol=native#text/plain
components/fpweb/weblaz.pas svneol=native#text/plain
components/fpweb/weblazideintf.pp svneol=native#text/plain
components/freetype/Makefile svneol=native#text/plain
components/freetype/Makefile.compiled svneol=native#text/plain
components/freetype/Makefile.fpc svneol=native#text/plain
components/freetype/easylazfreetype.pas svneol=native#text/pascal
components/freetype/freetype.lpk svneol=native#text/plain
components/freetype/freetype.pas svneol=native#text/plain
components/freetype/lazfreetype.pas svneol=native#text/pascal
components/freetype/lazfreetypefontcollection.pas svneol=native#text/plain
components/freetype/lazfreetypefpimagedrawer.pas svneol=native#text/pascal

3268
components/freetype/Makefile Normal file

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../../packager/units/$(CPU_TARGET)-$(OS_TARGET);../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET);. -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq freetype.pas"/>
</CONFIG>

View File

@ -0,0 +1,64 @@
# File generated automatically by Lazarus Package Manager
#
# Makefile.fpc for freetype 1.0
#
# This file was generated on 14.07.2020
[package]
name=freetype
version=1.0
[compiler]
unittargetdir=lib/$(CPU_TARGET)-$(OS_TARGET)
unitdir=../../packager/units/$(CPU_TARGET)-$(OS_TARGET) ../lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) .
options= -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq $(DBG_OPTIONS)
[target]
units=freetype.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)/freetype$(PPUEXT)
compiled:
$(CPPROG) -f Makefile.compiled $(COMPILER_UNITTARGETDIR)/freetype.compiled
all: cleartarget $(COMPILER_UNITTARGETDIR) freetype$(PPUEXT) compiled
distclean: clean
${DELTREE} lib/*

View File

@ -0,0 +1,138 @@
<?xml version="1.0" encoding="UTF-8"?>
<CONFIG>
<Package Version="5">
<Name Value="freetype"/>
<Type Value="RunAndDesignTime"/>
<Author Value="David Turner, Robert Wilhelm and Werner Lemberg"/>
<CompilerOptions>
<Version Value="11"/>
<SearchPaths>
<UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)/"/>
</SearchPaths>
<Other>
<CustomOptions Value="$(IDEBuildOptions)"/>
</Other>
</CompilerOptions>
<Description Value="FreeType font rendering."/>
<License Value="Modified LGPL-2 or FreeType License"/>
<Version Major="1"/>
<Files>
<Item>
<Filename Value="easylazfreetype.pas"/>
<UnitName Value="EasyLazFreeType"/>
</Item>
<Item>
<Filename Value="lazfreetype.pas"/>
<UnitName Value="LazFreeType"/>
</Item>
<Item>
<Filename Value="lazfreetypefontcollection.pas"/>
<UnitName Value="LazFreeTypeFontCollection"/>
</Item>
<Item>
<Filename Value="lazfreetypefpimagedrawer.pas"/>
<UnitName Value="LazFreeTypeFPImageDrawer"/>
</Item>
<Item>
<Filename Value="ttcache.pas"/>
<UnitName Value="TTCache"/>
</Item>
<Item>
<Filename Value="ttcalc.pas"/>
<UnitName Value="TTCalc"/>
</Item>
<Item>
<Filename Value="ttcalc1.inc"/>
<Type Value="Include"/>
</Item>
<Item>
<Filename Value="ttcalc2.inc"/>
<Type Value="Include"/>
</Item>
<Item>
<Filename Value="ttcalc3.inc"/>
<Type Value="Include"/>
</Item>
<Item>
<Filename Value="ttcalc4.inc"/>
<Type Value="Include"/>
</Item>
<Item>
<Filename Value="ttcmap.pas"/>
<UnitName Value="TTCMap"/>
</Item>
<Item>
<Filename Value="ttconfig.inc"/>
<Type Value="Include"/>
</Item>
<Item>
<Filename Value="ttdebug.pas"/>
<UnitName Value="TTDebug"/>
</Item>
<Item>
<Filename Value="tterror.pas"/>
<UnitName Value="TTError"/>
</Item>
<Item>
<Filename Value="ttfile.pas"/>
<UnitName Value="TTFile"/>
</Item>
<Item>
<Filename Value="ttgload.pas"/>
<UnitName Value="TTGLoad"/>
</Item>
<Item>
<Filename Value="ttinterp.pas"/>
<UnitName Value="TTInterp"/>
</Item>
<Item>
<Filename Value="ttkern.pas"/>
<UnitName Value="TTKern"/>
</Item>
<Item>
<Filename Value="ttload.pas"/>
<UnitName Value="TTLoad"/>
</Item>
<Item>
<Filename Value="ttmemory.pas"/>
<UnitName Value="TTMemory"/>
</Item>
<Item>
<Filename Value="ttobjs.pas"/>
<UnitName Value="TTObjs"/>
</Item>
<Item>
<Filename Value="ttprofile.pas"/>
<UnitName Value="TTProfile"/>
</Item>
<Item>
<Filename Value="ttraster.pas"/>
<UnitName Value="TTRASTER"/>
</Item>
<Item>
<Filename Value="ttraster_sweep.inc"/>
<Type Value="Include"/>
</Item>
<Item>
<Filename Value="tttables.pas"/>
<UnitName Value="TTTables"/>
</Item>
<Item>
<Filename Value="tttypes.pas"/>
<UnitName Value="TTTypes"/>
</Item>
</Files>
<RequiredPkgs>
<Item>
<PackageName Value="LazUtils"/>
</Item>
</RequiredPkgs>
<UsageOptions>
<UnitPath Value="$(PkgOutDir)"/>
</UsageOptions>
<PublishOptions>
<Version Value="2"/>
<UseFileFilters Value="True"/>
</PublishOptions>
</Package>
</CONFIG>

View File

@ -0,0 +1,24 @@
{ This file was automatically created by Lazarus. Do not edit!
This source is only used to compile and install the package.
}
unit freetype;
{$warn 5023 off : no warning about unused units}
interface
uses
EasyLazFreeType, LazFreeType, LazFreeTypeFontCollection,
LazFreeTypeFPImageDrawer, TTCache, TTCalc, TTCMap, TTDebug, TTError, TTFile,
TTGLoad, TTInterp, TTKern, TTLoad, TTMemory, TTObjs, TTProfile, TTRASTER,
TTTables, TTTypes, LazarusPackageIntf;
implementation
procedure Register;
begin
end;
initialization
RegisterPackage('freetype', @Register);
end.