v
4. You may copy and distribute the Library (or a portion or
derivative of it, under Section 2) in object code or executable
formunderthetermsofSections1and2aboveprovidedthat
you accompany it with the complete corresponding machine-
readablesourcecode,whichmustbedistributedundertheterms
of Sections 1 and 2 aboveon a medium customarilyused for
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 the work is 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 with each copy of the work
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
distributed under Sections 1 and 2 above); and, if the work
is an executable linked with the Library, with the complete
machine-readable“workthatusestheLibrary”,asobjectcode
and/orsourcecode,sothattheusercanmodifytheLibrary
andthenrelinktoproduceamodiedexecutablecontaining
the modied Library. (It is understood that the user who
changesthecontentsofdenitionslesintheLibrarywillnot
necessarily be able to recompile the application to use the
modieddenitions.)
b)Useasuitablesharedlibrarymechanismforlinking withthe
Library.Asuitablemechanismisonethat(1)usesatruntime
acopyofthelibraryalreadypresentontheuser'scomputer
system,ratherthancopyinglibraryfunctionsintotheexecutable,
and(2)willoperateproperlywithamodiedversionofthe
library,iftheuserinstallsone,aslongasthemodiedversionis
interface-compatiblewiththeversionthattheworkwasmade
with.
c)Accompany the work with a written offer, valid for at least
threeyears, to givethesame user the materialsspecied in
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 of other proprietary librariesthat do not normally
accompanytheoperatingsystem.Suchacontradictionmeansyou
cannotuseboththemandtheLibrarytogetherinanexecutable
thatyoudistribute.
7. You may place library facilities that are a work based on the
Library side-by-side in a single library together with other
libraryfacilitiesnotcoveredbythisLicense,anddistributesuch
acombinedlibrary,providedthattheseparatedistributionofthe
work basedonthe Libraryand of theother libraryfacilities is
otherwisepermitted,andprovidedthatyoudothesetwothings:
a)Accompany the combined library with a copy 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.
Anyattempt otherwisetocopy,modify,sublicense,linkwith, or
distributetheLibraryisvoid,andwillautomaticallyterminateyour
rights under this License. However, parties who have received
copies, or rights, from you under this License will not have
their licenses terminatedso long as suchparties remain in full
compliance.
9. YouarenotrequiredtoacceptthisLicense,sinceyouhavenot
signedit.However,nothingelsegrantsyoupermissiontomodify
ordistributetheLibraryoritsderivativeworks.Theseactionsare
prohibitedbylawifyoudonotacceptthisLicense.Therefore,by
modifyingordistributingtheLibrary(oranyworkbasedonthe
Library),youindicateyouracceptanceofthisLicensetodoso,and
allitstermsandconditionsforcopying,distributingormodifying
theLibraryorworksbasedonit.
10. EachtimeyouredistributetheLibrary(oranyworkbasedonthe
Library), therecipientautomaticallyreceivesalicense fromthe
originallicensortocopy,distribute,linkwithormodifytheLibrary