v
4. You may copy and distribute the Library (or a portion or
derivativeof it,under Section 2) in object code or executable
formundertheter msofSections1 and2aboveprovided that
youaccompany it with the complete corresponding machine-
readablesourcecode,whichmustbedistributedundertheterms
ofSections 1 and 2 aboveon a medium customar ilyused for
softwareinterchange.
Ifdistributionof objectcodeismade byofferingaccesstocopy
fromadesignatedplace,thenoffering equivalentaccesstocopy
thesourcecode fromthesame placesatisesthe requirement
todistributethesourcecode,even thoughthirdpartiesare not
compelledtocopythesourcealongwiththeobjectcode.
5. AprogramthatcontainsnoderivativeofanyportionoftheLibrary,
butisdesigned toworkwith theLibrary bybeingcompiled or
linkedwithit,iscalleda“workthatusestheLibrary”.Suchawork,
inisolation,isnotaderivativeworkofthe Library,andtherefore
fallsoutsidethescopeofthisLicense.
However,linkinga“workthatusestheLibr ary”withtheLibrar y
createsanexecutablethatisaderivativeoftheLibrary (because
itcontainsportionsoftheLibrary),ratherthana“workthatuses
thelibrary”.Theexecutableisthereforecoveredbythis License.
Section6statesterms��fordistributionofsuchexecutables.
Whena“workthatusestheLibrary”usesmaterialfromaheader
lethatispartof theLibrary,theobjectcodefortheworkmay
beaderivativeworkoftheLibraryeventhoughthesourcecode
isnot.Whetherthisistrueisespeciallysignicantiftheworkcan
belinkedwithouttheLibrary,oriftheworkisitselfalibrar y.The
thresholdforthistobetrueisnotpreciselydenedbylaw.
Ifsuch an object le uses only numerical parameters, data
structurelayoutsandaccessors,andsmallmacrosandsmallinline
functions(tenlinesorless inlength),thentheuseof theobject
leisunrestricted,regardlessof whetheritislegally aderivative
work.(Executablescontainingthis objectcode plusportions of
theLibrarywillstillfallunderSection6.)
Otherwise,if the wor k is a derivative of the Library,you may
distributethe object code for the work under the ter ms of
Section6.Anyexecutables containingthatwork alsofall under
Section6,whetherornottheyarelinkeddirectlywiththeLibrary
itself.
6. AsanexceptiontotheSectionsabove,youmayalsocombineor
linka“workthat usestheLibrary”with theLibrary toproduce
awork containing por tions of the Library,and distribute that
workundertermsofyourchoice,providedthatthetermspermit
modicationoftheworkforthecustomer'sownuseandreverse
engineeringfordebuggingsuchmodications.
Youmust give prominent notice with each copy of the work
thattheLibraryis usedinitandthatthe Libraryanditsuse are
coveredbythisLicense.Youmustsupplyacopy ofthisLicense.
Iftheworkduringexecutiondisplayscopyrightnotices,youmust
includethecopyrightnoticefortheLibrar yamongthem,aswell
asareferencedirectingtheusertothecopyofthisLicense.Also,
youmustdooneofthesethings:
a)Accompany the work with the complete corresponding
machine-readable source code for the Library including
whateverchanges were used in the work (which must be
distributedunder Sections 1 and 2 above);and, if the work
isan executable linked with the Library,with the complete
machine-readable“workthatusestheLibrary”,asobjectcode
and/orsourcecode,so thatthe usercanmodify theLibrary
andthenrelink toproducea modiedexecutablecontaining
themodied Libr ary.(It is understood that the user who
changesthecontentsofdenitionslesinthe Librarywillnot
necessarilybe able to recompile the application to use the
modieddenitions.)
b)Usea suitableshared librarymechanism forlinking withthe
Library.Asuitablemechanismisonethat(1)usesatruntime
acopyofthelibrar yalreadypresenton theuser'scomputer
system,ratherthancopyinglibraryfunctionsintotheexecutable,
and(2)willoperate properlywitha modiedversionof the
library,iftheuserinstallsone,aslongasthemodiedversionis
interface-compatiblewiththeversionthattheworkwasmade
with.
c)Accompanythe work with a wr itten offer,validfor at least
threeyears,to givethe sameuser thematerials speciedin
Subsection6a,above,fora chargenomore thanthecost of
performingthisdistribution.
d)Ifdistributionof theworkismade byofferingaccesstocopy
fromadesignated place,offerequivalent accesstocopy the
abovespeciedmaterialsfromthesameplace.
e)Verifythat the user has already received a copy of these
materialsorthatyouhavealreadysentthisuseracopy.
Foranexecutable,the required for m of the“work that uses
theLibrary”mustinclude anydataand utilityprogramsneeded
forreproducing the executable from it.However,as a special
exception,the materials to be distributed need not include
anythingthatis normallydistributed(in eithersource orbinary
form)withthemajor components(compiler,kernel,andsoon)
oftheoperatingsystemonwhichtheexecutableruns,unlessthat
componentitselfaccompaniestheexecutable.
Itmay happen that this requirement contradicts the license
restrictionsof other proprietary libr aries that do not normally
accompanytheoperatingsystem.Suchacontradictionmeansyou
cannotuseboththemandtheLibrarytogetherin anexecutable
thatyoudistribute.
7. Youmay place library facilities that are a wor k based on the
Library side-by-side in a single library together with other
libraryfacilities notcoveredby thisLicense,anddistr ibutesuch
acombinedlibrary,providedthattheseparatedistributionofthe
workbased ontheLibr aryand ofthe otherlibrary facilitiesis
otherwisepermitted,andprovidedthatyoudothesetwothings:
a)Accompanythe combined librar y with a copy of the same
workbasedontheLibrary,uncombinedwithanyotherlibrary
facilities.This must be distributed under the terms of the
Sectionsabove.
b)Giveprominent noticewiththecombined libraryof thefact
thatpartof itisawor kbasedonthe Library,andexplaining
whereto nd the accompanying uncombined form of the
samework.
8. Youmay not copy, modify,sublicense, link with,or distr ibute
theLibr ary except as expressly provided under this License.
Anyattemptotherwise tocopy,modify,sublicense,linkwith,or
distributetheLibraryisvoid,andwillautomaticallyterminateyour
rightsunder this License. However,parties who have received
copies,or rights, from you under this License will not have
theirlicenses terminated so long as such parties remain in full
compliance.
9. Youarenotrequired toacceptthisLicense,since youhavenot
signedit.However,nothingelsegrantsyoupermissiontomodify
ordistributetheLibraryoritsderivativeworks.Theseactionsare
prohibitedbylawifyoudonotacceptthisLicense.Therefore,by
modifyingordistributingtheLibrar y(oranywork basedonthe
Library),youindicateyouracceptanceofthisLicensetodoso,and
allitstermsandconditions forcopying,distributingormodifying
theLibraryorworksbasedonit.
10. EachtimeyouredistributetheLibrary(oranyworkbasedonthe
Library),therecipient automaticallyreceives alicense fromthe
originallicensortocopy,distribute,linkwithormodifytheLibrary