v
4. You may copy and distribute the Library (or a portion or
derivativeofit,underSection2)inobjectcodeorexecutable
formunderthetermsofSections1and2aboveprovidedthat
you accompany it with the complete corresponding machine-
readablesourcecode,whichmustbedistributedundertheterms
ofSections1and2aboveonamediumcustomarilyusedfor
softwareinterchange.
Ifdistributionofobjectcodeismadebyofferingaccesstocopy
fromadesignatedplace,thenofferingequivalentaccesstocopy
thesourcecodefromthesameplacesatisestherequirement
todistributethesourcecode,eventhoughthirdpartiesarenot
compelledtocopythesourcealongwiththeobjectcode.
5. AprogramthatcontainsnoderivativeofanyportionoftheLibrary,
butisdesignedtoworkwiththeLibrarybybeingcompiledor
linkedwithit,iscalleda“workthatusestheLibrary”.Suchawork,
inisolation,isnotaderivativeworkoftheLibrary,andtherefore
fallsoutsidethescopeofthisLicense.
However,linkinga“workthatusestheLibrary”withtheLibrary
createsanexecutablethatisaderivativeoftheLibrary(because
itcontainsportionsoftheLibrary),ratherthana“workthatuses
thelibrary”.TheexecutableisthereforecoveredbythisLicense.
Section6statestermsfordistributionofsuchexecutables.
Whena“workthatusestheLibrary”usesmaterialfromaheader
lethatispartoftheLibrary,theobjectcodefortheworkmay
beaderivativeworkoftheLibraryeventhoughthesourcecode
isnot.Whetherthisistrueisespeciallysignicantiftheworkcan
belinkedwithouttheLibrary,oriftheworkisitselfalibrary.The
thresholdforthistobetrueisnotpreciselydenedbylaw.
If such an object le uses only numerical parameters, data
structurelayoutsandaccessors,andsmallmacrosandsmallinline
functions(tenlinesorlessinlength),thentheuseoftheobject
leisunrestricted,regardlessofwhetheritislegallyaderivative
work.(Executablescontainingthisobjectcodeplusportionsof
theLibrarywillstillfallunderSection6.)
Otherwise,if theworkis a derivative of the Library,you may
distribute the object code for the work under the terms of
Section6.Anyexecutablescontainingthatworkalsofallunder
Section6,whetherornottheyarelinkeddirectlywiththeLibrary
itself.
6. AsanexceptiontotheSectionsabove,youmayalsocombineor
linka“workthatusestheLibrary”withtheLibrarytoproduce
a work containing portions of the Library, and distribute that
workundertermsofyourchoice,providedthatthetermspermit
modicationoftheworkforthecustomer'sownuseandreverse
engineeringfordebuggingsuchmodications.
You must give prominent notice witheach copy of thework
thattheLibraryisusedinitandthattheLibraryanditsuseare
coveredbythisLicense.YoumustsupplyacopyofthisLicense.
Iftheworkduringexecutiondisplayscopyrightnotices,youmust
includethecopyrightnoticefortheLibraryamongthem,aswell
asareferencedirectingtheusertothecopyofthisLicense.Also,
youmustdooneofthesethings:
a)Accompany the work with the complete corresponding
machine-readable source code for the Library including
whatever changes were used in the work (which must be
distributedunder Sections1 and2 above);and,ifthework
is an executable linked with the Library, withthe complete
machine-readable“workthatusestheLibrary”,asobjectcode
and/orsourcecode,sothattheusercanmodifytheLibrary
andthenrelinktoproduceamodiedexecutablecontaining
the modied Library. (It is understood that the user who
changesthecontentsofdenitionslesintheLibrarywillnot
necessarily be able to recompilethe application touse the
modieddenitions.)
b)Useasuitablesharedlibrarymechanismforlinkingwiththe
Library.Asuitablemechanismisonethat(1)usesatruntime
acopyofthelibraryalreadypresentontheuser'scomputer
system,ratherthancopyinglibraryfunctionsintotheexecutable,
and(2)willoperateproperlywithamodiedversionofthe
library,iftheuserinstallsone,aslongasthemodiedversionis
interface-compatiblewiththeversionthattheworkwasmade
with.
c)Accompanythe work with a written offer,valid for atleast
threeyears,togivethesameuserthematerialsspeciedin
Subsection6a,above,forachargenomorethanthecostof
performingthisdistribution.
d)Ifdistributionoftheworkismadebyofferingaccesstocopy
fromadesignatedplace,offerequivalentaccesstocopythe
abovespeciedmaterialsfromthesameplace.
e)Verify that the user has already received a copy of these
materialsorthatyouhavealreadysentthisuseracopy.
For an executable, the required form of the“work that uses
theLibrary”mustincludeanydataandutilityprogramsneeded
for reproducing the executable from it. However, as a special
exception, the materials to be distributed need not include
anythingthatisnormallydistributed(ineithersourceorbinary
form)withthemajorcomponents(compiler,kernel,andsoon)
oftheoperatingsystemonwhichtheexecutableruns,unlessthat
componentitselfaccompaniestheexecutable.
It may happen that this requirement contradicts the license
restrictions ofother proprietarylibraries thatdonot normally
accompanytheoperatingsystem.Suchacontradictionmeansyou
cannotuseboththemandtheLibrarytogetherinanexecutable
thatyoudistribute.
7. You mayplace library facilitiesthat are aworkbased on the
Library side-by-side in a single library together with other
libraryfacilitiesnotcoveredbythisLicense,anddistributesuch
acombinedlibrary,providedthattheseparatedistributionofthe
workbasedontheLibraryandoftheotherlibraryfacilitiesis
otherwisepermitted,andprovidedthatyoudothesetwothings:
a)Accompanythe combined library with acopy of the same
workbasedontheLibrary,uncombinedwithanyotherlibrary
facilities.This must be distributed under the terms of the
Sectionsabove.
b)Giveprominentnoticewiththecombinedlibraryofthefact
thatpartofitisaworkbasedontheLibrary,andexplaining
where to nd the accompanying uncombined form of the
samework.
8. You may not copy, modify, sublicense, link with, or distribute
the Library except as expressly provided under this License.
Anyattemptotherwisetocopy,modify,sublicense,linkwith,or
distributetheLibraryisvoid,andwillautomaticallyterminateyour
rights under this License.However, parties who havereceived
copies, or rights, from you under this License will not have
theirlicensesterminatedsolongassuchparties remaininfull
compliance.
9. YouarenotrequiredtoacceptthisLicense,sinceyouhavenot
signedit.However,nothingelsegrantsyoupermissiontomodify
ordistributetheLibraryoritsderivativeworks.Theseactionsare
prohibitedbylawifyoudonotacceptthisLicense.Therefore,by
modifyingordistributingtheLibrary(oranyworkbasedonthe
Library),youindicateyouracceptanceofthisLicensetodoso,and
allitstermsandconditionsforcopying,distributingormodifying
theLibraryorworksbasedonit.
10. EachtimeyouredistributetheLibrary(oranyworkbasedonthe
Library),therecipientautomaticallyreceivesalicensefromthe
originallicensortocopy,distribute,linkwithormodifytheLibrary