Loading ...
Loading ...
Loading ...
5.AprogramthatcontainsnoderivativeofanyportionoftheLibrary,butisdesignedtoworkwiththeLibrarybybeing
compiledorlinkedwithit,iscalleda"workthatusestheLibrary".Suchawork,inisolation,isnotaderivativeworkofthe
Library,andthereforefallsoutsidethescopeofthisLicense.
However,linkinga"workthatusestheLibrary"withtheLibrarycreatesanexecutablethatisaderivativeoftheLibrary
(becauseitcontainsportionsoftheLibrary),ratherthana"workthatusesthelibrary".Theexecutableisthereforecovered
bythisLicense.Section6statestermsfordistributionofsuchexecutables.
Whena"workthatusestheLibrary"usesmaterialfromaheaderfilethatispartoftheLibrary,theobjectcodeforthework
maybeaderivativeworkoftheLibraryeventhoughthesourcecodeisnot.Whetherthisistrueisespeciallysignificantif
theworkcanbelinkedwithouttheLibrary,oriftheworkisitselfalibrary.Thethresholdforthistobetrueisnotprecisely
definedbylaw.
Ifsuchanobjectfileusesonlynumericalparameters,datastructurelayoutsandaccessors,andsmallmacrosandsmall
inlinefunctions(tenlinesorlessinlength),thentheuseoftheobjectfileisunrestricted,regardlessofwhetheritislegallya
derivativework.(ExecutablescontainingthisobjectcodeplusportionsoftheLibrarywillstillfallunderSection6.)
Otherwise,iftheworkisaderivativeoftheLibrary,youmaydistributetheobjectcodefortheworkunderthetermsof
Section6.AnyexecutablescontainingthatworkalsofallunderSection6,whetherornottheyarelinkeddirectlywiththe
Libraryitself.
6.AsanexceptiontotheSectionsabove,youmayalsocombineorlinka"workthatusestheLibrary"withtheLibraryto
produceaworkcontainingportionsoftheLibrary,anddistributethatworkundertermsofyourchoice,providedthatthe
termspermitmodificationoftheworkforthecustomer'sownuseandreverseengineeringfordebuggingsuchmodifications.
YoumustgiveprominentnoticewitheachcopyoftheworkthattheLibraryisusedinitandthattheLibraryanditsuseare
coveredbythisLicense.YoumustsupplyacopyofthisLicense.Iftheworkduringexecutiondisplayscopyrightnotices,you
mustincludethecopyrightnoticefortheLibraryamongthem,aswellasareferencedirectingtheusertothecopyofthis
License.Also,youmustdooneofthesethings:
a)Accompanytheworkwiththecompletecorrespondingmachine-readablesourcecodefortheLibraryincluding
whateverchangeswereusedinthework(whichmustbedistributedunderSections1and2above);and,ifthework
isanexecutablelinkedwiththeLibrary,withthecompletemachine-readable"workthatusestheLibrary",asobject
codeand/orsourcecode,sothattheusercanmodifytheLibraryandthenrelinktoproduceamodifiedexecutable
containingthemodifiedLibrary.(Itisunderstoodthattheuserwhochangesthecontentsofdefinitionsfilesinthe
Librarywillnotnecessarilybeabletorecompiletheapplicationtousethemodifieddefinitions.)
b)UseasuitablesharedlibrarymechanismforlinkingwiththeLibrary.Asuitablemechanismisonethat(1)usesat
runtimeacopyofthelibraryalreadypresentontheuser'scomputersystem,ratherthancopyinglibraryfunctionsinto
theexecutable,and(2)willoperateproperlywithamodifiedversionofthelibrary,iftheuserinstallsone,aslongas
themodifiedversionisinterface-compatiblewiththeversionthattheworkwasmadewith.
c)Accompanytheworkwithawrittenoffer,validforatleastthreeyears,togivethesameuserthematerialsspecified
inSubsection6a,above,forachargenomorethanthecostofperformingthisdistribution.
d)Ifdistributionoftheworkismadebyofferingaccesstocopyfromadesignatedplace,offerequivalentaccessto
copytheabovespecifiedmaterialsfromthesameplace.
e)Verifythattheuserhasalreadyreceivedacopyofthesematerialsorthatyouhavealreadysentthisuseracopy.
Foranexecutable,therequiredformofthe"workthatusestheLibrary"mustincludeanydataandutilityprogramsneeded
forreproducingtheexecutablefromit.However,asaspecialexception,thematerialstobedistributedneednotinclude
anythingthatisnormallydistributed(ineithersourceorbinaryform)withthemajorcomponents(compiler,kernel,andso
on)oftheoperatingsystemonwhichtheexecutableruns,unlessthatcomponentitselfaccompaniestheexecutable.
Itmayhappenthatthisrequirementcontradictsthelicenserestrictionsofotherproprietarylibrariesthatdonotnormally
accompanytheoperatingsystem.SuchacontradictionmeansyoucannotuseboththemandtheLibrarytogetherinan
executablethatyoudistribute.
7.YoumayplacelibraryfacilitiesthatareaworkbasedontheLibraryside-by-sideinasinglelibrarytogetherwithother
libraryfacilitiesnotcoveredbythisLicense,anddistributesuchacombinedlibrary,providedthattheseparatedistribution
oftheworkbasedontheLibraryandoftheotherlibraryfacilitiesisotherwisepermitted,andprovidedthatyoudothesetwo
things:
a)AccompanythecombinedlibrarywithacopyofthesameworkbasedontheLibrary,uncombinedwithanyother
libraryfacilities.ThismustbedistributedunderthetermsoftheSectionsabove.
b)GiveprominentnoticewiththecombinedlibraryofthefactthatpartofitisaworkbasedontheLibrary,and
explainingwheretofindtheaccompanyinguncombinedformofthesamework.
8.Youmaynotcopy,modify,sublicense,linkwith,ordistributetheLibraryexceptasexpresslyprovidedunderthisLicense.
Anyattemptotherwisetocopy,modify,sublicense,linkwith,ordistributetheLibraryisvoid,andwillautomaticallyterminate
yourrightsunderthisLicense.However,partieswhohavereceivedcopies,orrights,fromyouunderthisLicensewillnot
havetheirlicensesterminatedsolongassuchpartiesremaininfullcompliance.
9.YouarenotrequiredtoacceptthisLicense,sinceyouhavenotsignedit.However,nothingelsegrantsyoupermissionto
modifyordistributetheLibraryoritsderivativeworks.TheseactionsareprohibitedbylawifyoudonotacceptthisLicense.
Therefore,bymodifyingordistributingtheLibrary(oranyworkbasedontheLibrary),youindicateyouracceptanceofthis
Licensetodoso,andallitstermsandconditionsforcopying,distributingormodifyingtheLibraryorworksbasedonit.
Loading ...
Loading ...
Loading ...