Makefile.in 1.6 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292452934529445295452964529745298452994530045301453024530345304453054530645307453084530945310453114531245313453144531545316453174531845319453204532145322453234532445325453264532745328453294533045331453324533345334453354533645337453384533945340453414534245343453444534545346453474534845349453504535145352453534535445355453564535745358453594536045361453624536345364453654536645367453684536945370453714537245373453744537545376453774537845379453804538145382453834538445385453864538745388453894539045391453924539345394453954539645397453984539945400454014540245403454044540545406454074540845409454104541145412454134541445415454164541745418454194542045421454224542345424454254542645427454284542945430454314543245433454344543545436454374543845439454404544145442454434544445445454464544745448454494545045451454524545345454454554545645457454584545945460454614546245463454644546545466454674546845469454704547145472454734547445475454764547745478454794548045481454824548345484454854548645487454884548945490454914549245493454944549545496454974549845499455004550145502455034550445505455064550745508455094551045511455124551345514455154551645517455184551945520455214552245523455244552545526455274552845529455304553145532455334553445535455364553745538455394554045541455424554345544455454554645547455484554945550455514555245553455544555545556455574555845559455604556145562455634556445565455664556745568455694557045571455724557345574455754557645577455784557945580455814558245583455844558545586455874558845589455904559145592455934559445595455964559745598455994560045601456024560345604456054560645607456084560945610456114561245613456144561545616456174561845619456204562145622456234562445625456264562745628456294563045631456324563345634456354563645637456384563945640456414564245643456444564545646456474564845649456504565145652456534565445655456564565745658456594566045661456624566345664456654566645667456684566945670456714567245673456744567545676456774567845679456804568145682456834568445685456864568745688456894569045691456924569345694456954569645697456984569945700457014570245703457044570545706457074570845709457104571145712457134571445715457164571745718457194572045721457224572345724457254572645727457284572945730457314573245733457344573545736457374573845739457404574145742457434574445745457464574745748457494575045751457524575345754457554575645757457584575945760457614576245763457644576545766457674576845769457704577145772457734577445775457764577745778457794578045781457824578345784457854578645787457884578945790457914579245793457944579545796457974579845799458004580145802458034580445805458064580745808458094581045811458124581345814458154581645817458184581945820458214582245823458244582545826458274582845829458304583145832458334583445835458364583745838458394584045841458424584345844458454584645847458484584945850458514585245853458544585545856458574585845859458604586145862458634586445865458664586745868458694587045871458724587345874458754587645877458784587945880458814588245883458844588545886458874588845889458904589145892458934589445895458964589745898458994590045901459024590345904459054590645907459084590945910459114591245913459144591545916459174591845919459204592145922459234592445925459264592745928459294593045931459324593345934459354593645937459384593945940459414594245943459444594545946459474594845949459504595145952459534595445955459564595745958459594596045961459624596345964459654596645967459684596945970459714597245973459744597545976459774597845979459804598145982459834598445985459864598745988459894599045991459924599345994459954599645997459984599946000460014600246003460044600546006460074600846009460104601146012460134601446015460164601746018460194602046021460224602346024460254602646027460284602946030460314603246033460344603546036460374603846039460404604146042460434604446045460464604746048460494605046051460524605346054460554605646057460584605946060460614606246063460644606546066460674606846069460704607146072460734607446075460764607746078460794608046081460824608346084460854608646087460884608946090460914609246093460944609546096460974609846099461004610146102461034610446105461064610746108461094611046111461124611346114461154611646117461184611946120461214612246123461244612546126461274612846129461304613146132461334613446135461364613746138461394614046141461424614346144461454614646147461484614946150461514615246153461544615546156461574615846159461604616146162461634616446165461664616746168461694617046171461724617346174461754617646177461784617946180461814618246183461844618546186461874618846189461904619146192461934619446195461964619746198461994620046201462024620346204462054620646207462084620946210462114621246213462144621546216462174621846219462204622146222462234622446225462264622746228462294623046231462324623346234462354623646237462384623946240462414624246243462444624546246462474624846249462504625146252462534625446255462564625746258462594626046261462624626346264462654626646267462684626946270462714627246273462744627546276462774627846279462804628146282462834628446285462864628746288462894629046291462924629346294462954629646297462984629946300463014630246303463044630546306463074630846309463104631146312463134631446315463164631746318463194632046321463224632346324463254632646327463284632946330463314633246333463344633546336463374633846339463404634146342463434634446345463464634746348463494635046351463524635346354463554635646357463584635946360463614636246363463644636546366463674636846369463704637146372463734637446375463764637746378463794638046381463824638346384463854638646387463884638946390463914639246393463944639546396463974639846399464004640146402464034640446405464064640746408464094641046411464124641346414464154641646417464184641946420464214642246423464244642546426464274642846429464304643146432464334643446435464364643746438464394644046441464424644346444464454644646447464484644946450464514645246453464544645546456464574645846459464604646146462464634646446465464664646746468464694647046471464724647346474464754647646477464784647946480464814648246483464844648546486464874648846489464904649146492464934649446495464964649746498464994650046501465024650346504465054650646507465084650946510465114651246513465144651546516465174651846519465204652146522465234652446525465264652746528465294653046531465324653346534465354653646537465384653946540465414654246543465444654546546465474654846549465504655146552465534655446555465564655746558465594656046561465624656346564465654656646567465684656946570465714657246573465744657546576465774657846579465804658146582465834658446585465864658746588465894659046591465924659346594465954659646597465984659946600466014660246603466044660546606466074660846609466104661146612466134661446615466164661746618466194662046621466224662346624466254662646627466284662946630466314663246633466344663546636466374663846639466404664146642466434664446645466464664746648466494665046651466524665346654466554665646657466584665946660466614666246663466644666546666466674666846669466704667146672466734667446675466764667746678466794668046681466824668346684466854668646687466884668946690466914669246693466944669546696466974669846699467004670146702467034670446705467064670746708467094671046711467124671346714467154671646717467184671946720467214672246723467244672546726467274672846729467304673146732467334673446735467364673746738467394674046741467424674346744467454674646747467484674946750467514675246753467544675546756467574675846759467604676146762467634676446765467664676746768467694677046771467724677346774467754677646777467784677946780467814678246783467844678546786467874678846789467904679146792467934679446795467964679746798467994680046801468024680346804468054680646807468084680946810468114681246813468144681546816468174681846819468204682146822468234682446825468264682746828468294683046831468324683346834468354683646837468384683946840468414684246843468444684546846468474684846849468504685146852468534685446855468564685746858468594686046861468624686346864468654686646867468684686946870468714687246873468744687546876468774687846879468804688146882468834688446885468864688746888468894689046891468924689346894468954689646897468984689946900469014690246903469044690546906469074690846909469104691146912469134691446915469164691746918469194692046921469224692346924469254692646927469284692946930469314693246933469344693546936469374693846939469404694146942469434694446945469464694746948469494695046951469524695346954469554695646957469584695946960469614696246963469644696546966469674696846969469704697146972469734697446975469764697746978469794698046981469824698346984469854698646987469884698946990469914699246993469944699546996469974699846999470004700147002470034700447005470064700747008470094701047011470124701347014470154701647017470184701947020470214702247023470244702547026470274702847029470304703147032470334703447035470364703747038470394704047041470424704347044470454704647047470484704947050470514705247053470544705547056470574705847059470604706147062470634706447065470664706747068470694707047071470724707347074470754707647077470784707947080470814708247083470844708547086470874708847089470904709147092470934709447095470964709747098470994710047101471024710347104471054710647107471084710947110471114711247113471144711547116471174711847119471204712147122471234712447125471264712747128471294713047131471324713347134471354713647137471384713947140471414714247143471444714547146471474714847149471504715147152471534715447155471564715747158471594716047161471624716347164471654716647167471684716947170471714717247173471744717547176471774717847179471804718147182471834718447185471864718747188471894719047191471924719347194471954719647197471984719947200472014720247203472044720547206472074720847209472104721147212472134721447215472164721747218472194722047221472224722347224472254722647227472284722947230472314723247233472344723547236472374723847239472404724147242472434724447245472464724747248472494725047251472524725347254472554725647257472584725947260472614726247263472644726547266472674726847269472704727147272472734727447275472764727747278472794728047281472824728347284472854728647287472884728947290472914729247293472944729547296472974729847299473004730147302473034730447305473064730747308473094731047311473124731347314473154731647317473184731947320473214732247323473244732547326473274732847329473304733147332473334733447335473364733747338473394734047341473424734347344473454734647347473484734947350473514735247353473544735547356473574735847359473604736147362473634736447365473664736747368473694737047371473724737347374473754737647377473784737947380473814738247383473844738547386473874738847389473904739147392473934739447395473964739747398473994740047401474024740347404474054740647407474084740947410474114741247413474144741547416474174741847419474204742147422474234742447425474264742747428474294743047431474324743347434474354743647437474384743947440474414744247443474444744547446474474744847449474504745147452474534745447455474564745747458474594746047461474624746347464474654746647467474684746947470474714747247473474744747547476474774747847479474804748147482474834748447485474864748747488474894749047491474924749347494474954749647497474984749947500475014750247503475044750547506475074750847509475104751147512475134751447515475164751747518475194752047521475224752347524475254752647527475284752947530475314753247533475344753547536475374753847539475404754147542475434754447545475464754747548475494755047551475524755347554475554755647557475584755947560475614756247563475644756547566475674756847569475704757147572475734757447575475764757747578475794758047581475824758347584475854758647587475884758947590475914759247593475944759547596475974759847599476004760147602476034760447605476064760747608476094761047611476124761347614476154761647617476184761947620476214762247623476244762547626476274762847629476304763147632476334763447635476364763747638476394764047641476424764347644476454764647647476484764947650476514765247653476544765547656476574765847659476604766147662476634766447665476664766747668476694767047671476724767347674476754767647677476784767947680476814768247683476844768547686476874768847689476904769147692476934769447695476964769747698476994770047701477024770347704477054770647707477084770947710477114771247713477144771547716477174771847719477204772147722477234772447725477264772747728477294773047731477324773347734477354773647737477384773947740477414774247743477444774547746477474774847749477504775147752477534775447755477564775747758477594776047761477624776347764477654776647767477684776947770477714777247773477744777547776477774777847779477804778147782477834778447785477864778747788477894779047791477924779347794477954779647797477984779947800478014780247803478044780547806478074780847809478104781147812478134781447815478164781747818478194782047821478224782347824478254782647827478284782947830478314783247833478344783547836478374783847839478404784147842478434784447845478464784747848478494785047851478524785347854478554785647857478584785947860478614786247863478644786547866478674786847869478704787147872478734787447875478764787747878478794788047881478824788347884478854788647887478884788947890478914789247893478944789547896478974789847899479004790147902479034790447905479064790747908479094791047911479124791347914479154791647917479184791947920479214792247923479244792547926479274792847929479304793147932479334793447935479364793747938479394794047941479424794347944479454794647947479484794947950479514795247953479544795547956479574795847959479604796147962479634796447965479664796747968479694797047971479724797347974479754797647977479784797947980479814798247983479844798547986479874798847989479904799147992479934799447995479964799747998479994800048001480024800348004480054800648007480084800948010480114801248013480144801548016480174801848019480204802148022480234802448025480264802748028480294803048031480324803348034480354803648037480384803948040480414804248043480444804548046480474804848049480504805148052480534805448055480564805748058480594806048061480624806348064480654806648067480684806948070480714807248073480744807548076480774807848079480804808148082480834808448085480864808748088480894809048091480924809348094480954809648097480984809948100481014810248103481044810548106481074810848109481104811148112481134811448115481164811748118481194812048121481224812348124481254812648127481284812948130481314813248133481344813548136481374813848139481404814148142481434814448145481464814748148481494815048151481524815348154481554815648157481584815948160481614816248163481644816548166481674816848169481704817148172481734817448175481764817748178481794818048181481824818348184481854818648187481884818948190481914819248193481944819548196481974819848199482004820148202482034820448205482064820748208482094821048211482124821348214482154821648217482184821948220482214822248223482244822548226482274822848229482304823148232482334823448235482364823748238482394824048241482424824348244482454824648247482484824948250482514825248253482544825548256482574825848259482604826148262482634826448265482664826748268482694827048271482724827348274482754827648277482784827948280482814828248283482844828548286482874828848289482904829148292482934829448295482964829748298482994830048301483024830348304483054830648307483084830948310483114831248313483144831548316483174831848319483204832148322483234832448325483264832748328483294833048331483324833348334483354833648337483384833948340483414834248343483444834548346483474834848349483504835148352483534835448355483564835748358483594836048361483624836348364483654836648367483684836948370483714837248373483744837548376483774837848379483804838148382483834838448385483864838748388483894839048391483924839348394483954839648397483984839948400484014840248403484044840548406484074840848409484104841148412484134841448415484164841748418484194842048421484224842348424484254842648427484284842948430484314843248433484344843548436484374843848439484404844148442484434844448445484464844748448484494845048451484524845348454484554845648457484584845948460484614846248463484644846548466484674846848469484704847148472484734847448475484764847748478484794848048481484824848348484484854848648487484884848948490484914849248493484944849548496484974849848499485004850148502485034850448505485064850748508485094851048511485124851348514485154851648517485184851948520485214852248523485244852548526485274852848529485304853148532485334853448535485364853748538485394854048541485424854348544485454854648547485484854948550485514855248553485544855548556485574855848559485604856148562485634856448565485664856748568485694857048571485724857348574485754857648577485784857948580485814858248583485844858548586485874858848589485904859148592485934859448595485964859748598485994860048601486024860348604486054860648607486084860948610486114861248613486144861548616486174861848619486204862148622486234862448625486264862748628486294863048631486324863348634486354863648637486384863948640486414864248643486444864548646486474864848649486504865148652486534865448655486564865748658486594866048661486624866348664486654866648667486684866948670486714867248673486744867548676486774867848679486804868148682486834868448685486864868748688486894869048691486924869348694486954869648697486984869948700487014870248703487044870548706487074870848709487104871148712487134871448715487164871748718487194872048721487224872348724487254872648727487284872948730487314873248733487344873548736487374873848739487404874148742487434874448745487464874748748487494875048751487524875348754487554875648757487584875948760487614876248763487644876548766487674876848769487704877148772487734877448775487764877748778487794878048781487824878348784487854878648787487884878948790487914879248793487944879548796487974879848799488004880148802488034880448805488064880748808488094881048811488124881348814488154881648817488184881948820488214882248823488244882548826488274882848829488304883148832488334883448835488364883748838488394884048841488424884348844488454884648847488484884948850488514885248853488544885548856488574885848859488604886148862488634886448865488664886748868488694887048871488724887348874488754887648877488784887948880488814888248883488844888548886488874888848889488904889148892488934889448895488964889748898488994890048901489024890348904489054890648907489084890948910489114891248913489144891548916489174891848919489204892148922489234892448925489264892748928489294893048931489324893348934489354893648937489384893948940489414894248943489444894548946489474894848949489504895148952489534895448955489564895748958489594896048961489624896348964489654896648967489684896948970489714897248973489744897548976489774897848979489804898148982489834898448985489864898748988489894899048991489924899348994489954899648997489984899949000490014900249003490044900549006490074900849009490104901149012490134901449015490164901749018490194902049021490224902349024490254902649027490284902949030490314903249033490344903549036490374903849039490404904149042490434904449045490464904749048490494905049051490524905349054490554905649057490584905949060490614906249063490644906549066490674906849069490704907149072490734907449075490764907749078490794908049081490824908349084490854908649087490884908949090490914909249093490944909549096490974909849099491004910149102491034910449105491064910749108491094911049111491124911349114491154911649117491184911949120491214912249123491244912549126491274912849129491304913149132491334913449135491364913749138491394914049141491424914349144491454914649147491484914949150491514915249153491544915549156491574915849159491604916149162491634916449165491664916749168491694917049171491724917349174491754917649177491784917949180491814918249183491844918549186491874918849189491904919149192491934919449195491964919749198491994920049201492024920349204492054920649207492084920949210492114921249213492144921549216492174921849219492204922149222492234922449225492264922749228492294923049231492324923349234492354923649237492384923949240492414924249243492444924549246492474924849249492504925149252492534925449255492564925749258492594926049261492624926349264492654926649267492684926949270492714927249273492744927549276492774927849279492804928149282492834928449285492864928749288492894929049291492924929349294492954929649297492984929949300493014930249303493044930549306493074930849309493104931149312493134931449315493164931749318493194932049321493224932349324493254932649327493284932949330493314933249333493344933549336493374933849339493404934149342493434934449345493464934749348493494935049351493524935349354493554935649357493584935949360493614936249363493644936549366493674936849369493704937149372493734937449375493764937749378493794938049381493824938349384493854938649387493884938949390493914939249393493944939549396493974939849399494004940149402494034940449405494064940749408494094941049411494124941349414494154941649417494184941949420494214942249423494244942549426494274942849429494304943149432494334943449435494364943749438494394944049441494424944349444494454944649447494484944949450494514945249453494544945549456494574945849459494604946149462494634946449465494664946749468494694947049471494724947349474494754947649477494784947949480494814948249483494844948549486494874948849489494904949149492494934949449495494964949749498494994950049501495024950349504495054950649507495084950949510495114951249513495144951549516495174951849519495204952149522495234952449525495264952749528495294953049531495324953349534495354953649537495384953949540495414954249543495444954549546495474954849549495504955149552495534955449555495564955749558495594956049561495624956349564495654956649567495684956949570495714957249573495744957549576495774957849579495804958149582495834958449585495864958749588495894959049591495924959349594495954959649597495984959949600496014960249603496044960549606496074960849609496104961149612496134961449615496164961749618496194962049621496224962349624496254962649627496284962949630496314963249633496344963549636496374963849639496404964149642496434964449645496464964749648496494965049651496524965349654496554965649657496584965949660496614966249663496644966549666496674966849669496704967149672496734967449675496764967749678496794968049681496824968349684496854968649687496884968949690496914969249693496944969549696496974969849699497004970149702497034970449705497064970749708497094971049711497124971349714497154971649717497184971949720497214972249723497244972549726497274972849729497304973149732497334973449735497364973749738497394974049741497424974349744497454974649747497484974949750497514975249753497544975549756497574975849759497604976149762497634976449765497664976749768497694977049771497724977349774497754977649777497784977949780497814978249783497844978549786497874978849789497904979149792497934979449795497964979749798497994980049801498024980349804498054980649807498084980949810498114981249813498144981549816498174981849819498204982149822498234982449825498264982749828498294983049831498324983349834498354983649837498384983949840498414984249843498444984549846498474984849849498504985149852498534985449855498564985749858498594986049861498624986349864498654986649867498684986949870498714987249873498744987549876498774987849879498804988149882498834988449885498864988749888498894989049891498924989349894498954989649897498984989949900499014990249903499044990549906499074990849909499104991149912499134991449915499164991749918499194992049921499224992349924499254992649927499284992949930499314993249933499344993549936499374993849939499404994149942499434994449945499464994749948499494995049951499524995349954499554995649957499584995949960499614996249963499644996549966499674996849969499704997149972499734997449975499764997749978499794998049981499824998349984499854998649987499884998949990499914999249993499944999549996499974999849999500005000150002500035000450005500065000750008500095001050011500125001350014500155001650017500185001950020500215002250023500245002550026500275002850029500305003150032500335003450035500365003750038500395004050041500425004350044500455004650047500485004950050500515005250053500545005550056500575005850059500605006150062500635006450065500665006750068500695007050071500725007350074500755007650077500785007950080500815008250083500845008550086500875008850089500905009150092500935009450095500965009750098500995010050101501025010350104501055010650107501085010950110501115011250113501145011550116501175011850119501205012150122501235012450125501265012750128501295013050131501325013350134501355013650137501385013950140501415014250143501445014550146501475014850149501505015150152501535015450155501565015750158501595016050161501625016350164501655016650167501685016950170501715017250173501745017550176501775017850179501805018150182501835018450185501865018750188501895019050191501925019350194501955019650197501985019950200502015020250203502045020550206502075020850209502105021150212502135021450215502165021750218502195022050221502225022350224502255022650227502285022950230502315023250233502345023550236502375023850239502405024150242502435024450245502465024750248502495025050251502525025350254502555025650257502585025950260502615026250263502645026550266502675026850269502705027150272502735027450275502765027750278502795028050281502825028350284502855028650287502885028950290502915029250293502945029550296502975029850299503005030150302503035030450305503065030750308503095031050311503125031350314503155031650317503185031950320503215032250323503245032550326503275032850329503305033150332503335033450335503365033750338503395034050341503425034350344503455034650347503485034950350503515035250353503545035550356503575035850359503605036150362503635036450365503665036750368503695037050371503725037350374503755037650377503785037950380503815038250383503845038550386503875038850389503905039150392503935039450395503965039750398503995040050401504025040350404504055040650407504085040950410504115041250413504145041550416504175041850419504205042150422504235042450425504265042750428504295043050431504325043350434504355043650437504385043950440504415044250443504445044550446504475044850449504505045150452504535045450455504565045750458504595046050461504625046350464504655046650467504685046950470504715047250473504745047550476504775047850479504805048150482504835048450485504865048750488504895049050491504925049350494504955049650497504985049950500505015050250503505045050550506505075050850509505105051150512505135051450515505165051750518505195052050521505225052350524505255052650527505285052950530505315053250533505345053550536505375053850539505405054150542505435054450545505465054750548505495055050551
  1. # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
  2. #
  3. # Makefile for directory with subdirs to build.
  4. # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
  5. # 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
  6. # Free Software Foundation
  7. #
  8. # This file is free software; you can redistribute it and/or modify
  9. # it under the terms of the GNU General Public License as published by
  10. # the Free Software Foundation; either version 3 of the License, or
  11. # (at your option) any later version.
  12. #
  13. # This program is distributed in the hope that it will be useful,
  14. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. # GNU General Public License for more details.
  17. #
  18. # You should have received a copy of the GNU General Public License
  19. # along with this program; see the file COPYING3. If not see
  20. # <http://www.gnu.org/licenses/>.
  21. #
  22. # First, test for a proper version of make, but only where one is required.
  23. @if gcc
  24. ifeq (,$(.VARIABLES)) # The variable .VARIABLES, new with 3.80, is never empty.
  25. $(error GNU make version 3.80 or newer is required.)
  26. endif
  27. @endif gcc
  28. # -------------------------------
  29. # Standard Autoconf-set variables
  30. # -------------------------------
  31. VPATH=@srcdir@
  32. build_alias=@build_noncanonical@
  33. build_vendor=@build_vendor@
  34. build_os=@build_os@
  35. build=@build@
  36. host_alias=@host_noncanonical@
  37. host_vendor=@host_vendor@
  38. host_os=@host_os@
  39. host=@host@
  40. target_alias=@target_noncanonical@
  41. target_vendor=@target_vendor@
  42. target_os=@target_os@
  43. target=@target@
  44. program_transform_name = @program_transform_name@
  45. prefix = @prefix@
  46. exec_prefix = @exec_prefix@
  47. srcdir = @srcdir@
  48. bindir = @bindir@
  49. sbindir = @sbindir@
  50. libexecdir = @libexecdir@
  51. datadir = @datadir@
  52. sysconfdir = @sysconfdir@
  53. sharedstatedir = @sharedstatedir@
  54. localstatedir = @localstatedir@
  55. libdir = @libdir@
  56. includedir = @includedir@
  57. oldincludedir = @oldincludedir@
  58. infodir = @infodir@
  59. datarootdir = @datarootdir@
  60. docdir = @docdir@
  61. pdfdir = @pdfdir@
  62. htmldir = @htmldir@
  63. mandir = @mandir@
  64. man1dir = $(mandir)/man1
  65. man2dir = $(mandir)/man2
  66. man3dir = $(mandir)/man3
  67. man4dir = $(mandir)/man4
  68. man5dir = $(mandir)/man5
  69. man6dir = $(mandir)/man6
  70. man7dir = $(mandir)/man7
  71. man8dir = $(mandir)/man8
  72. man9dir = $(mandir)/man9
  73. INSTALL = @INSTALL@
  74. INSTALL_PROGRAM = @INSTALL_PROGRAM@
  75. INSTALL_SCRIPT = @INSTALL_SCRIPT@
  76. INSTALL_DATA = @INSTALL_DATA@
  77. LN = @LN@
  78. LN_S = @LN_S@
  79. MAINT = @MAINT@
  80. MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
  81. MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
  82. # -------------------------------------------------
  83. # Miscellaneous non-standard autoconf-set variables
  84. # -------------------------------------------------
  85. # The gcc driver likes to know the arguments it was configured with.
  86. TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
  87. tooldir = @tooldir@
  88. build_tooldir = @build_tooldir@
  89. # This is the name of the environment variable used for the path to
  90. # the libraries.
  91. RPATH_ENVVAR = @RPATH_ENVVAR@
  92. # On targets where RPATH_ENVVAR is PATH, a subdirectory of the GCC build path
  93. # is used instead of the directory itself to avoid including built
  94. # executables in PATH.
  95. GCC_SHLIB_SUBDIR = @GCC_SHLIB_SUBDIR@
  96. # Build programs are put under this directory.
  97. BUILD_SUBDIR = @build_subdir@
  98. # This is set by the configure script to the arguments to use when configuring
  99. # directories built for the build system.
  100. BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
  101. # Linker flags to use on the host, for stage1 or when not
  102. # bootstrapping.
  103. STAGE1_LDFLAGS = @stage1_ldflags@
  104. # Libraries to use on the host, for stage1 or when not bootstrapping.
  105. STAGE1_LIBS = @stage1_libs@
  106. # Linker flags to use for stage2 and later.
  107. POSTSTAGE1_LDFLAGS = @poststage1_ldflags@
  108. # Libraries to use for stage2 and later.
  109. POSTSTAGE1_LIBS = @poststage1_libs@
  110. # This is the list of variables to export in the environment when
  111. # configuring any subdirectory. It must also be exported whenever
  112. # recursing into a build directory in case that directory's Makefile
  113. # re-runs configure.
  114. BASE_EXPORTS = \
  115. FLEX="$(FLEX)"; export FLEX; \
  116. LEX="$(LEX)"; export LEX; \
  117. BISON="$(BISON)"; export BISON; \
  118. YACC="$(YACC)"; export YACC; \
  119. M4="$(M4)"; export M4; \
  120. SED="$(SED)"; export SED; \
  121. AWK="$(AWK)"; export AWK; \
  122. MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
  123. # This is the list of variables to export in the environment when
  124. # configuring subdirectories for the build system.
  125. BUILD_EXPORTS = \
  126. $(BASE_EXPORTS) \
  127. AR="$(AR_FOR_BUILD)"; export AR; \
  128. AS="$(AS_FOR_BUILD)"; export AS; \
  129. CC="$(CC_FOR_BUILD)"; export CC; \
  130. CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
  131. CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
  132. CXX="$(CXX_FOR_BUILD)"; export CXX; \
  133. CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
  134. GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
  135. GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
  136. GOC="$(GOC_FOR_BUILD)"; export GOC; \
  137. GOCFLAGS="$(GOCFLAGS_FOR_BUILD)"; export GOCFLAGS; \
  138. DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
  139. LD="$(LD_FOR_BUILD)"; export LD; \
  140. LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
  141. NM="$(NM_FOR_BUILD)"; export NM; \
  142. RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
  143. WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
  144. WINDMC="$(WINDMC_FOR_BUILD)"; export WINDMC;
  145. # These variables must be set on the make command line for directories
  146. # built for the build system to override those in BASE_FLAGS_TO_PASS.
  147. EXTRA_BUILD_FLAGS = \
  148. CFLAGS="$(CFLAGS_FOR_BUILD)" \
  149. LDFLAGS="$(LDFLAGS_FOR_BUILD)"
  150. # This is the list of directories to built for the host system.
  151. SUBDIRS = @configdirs@
  152. TARGET_CONFIGDIRS = @target_configdirs@
  153. # This is set by the configure script to the arguments to use when configuring
  154. # directories built for the host system.
  155. HOST_CONFIGARGS = @host_configargs@
  156. # Host programs are put under this directory, which is . except if building
  157. # with srcdir=..
  158. HOST_SUBDIR = @host_subdir@
  159. # This is the list of variables to export in the environment when
  160. # configuring subdirectories for the host system. We need to pass
  161. # some to the GCC configure because of its hybrid host/target nature.
  162. HOST_EXPORTS = \
  163. $(BASE_EXPORTS) \
  164. CC="$(CC)"; export CC; \
  165. ADA_CFLAGS="$(ADA_CFLAGS)"; export ADA_CFLAGS; \
  166. CFLAGS="$(CFLAGS)"; export CFLAGS; \
  167. CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
  168. CXX="$(CXX)"; export CXX; \
  169. CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
  170. GCJ="$(GCJ)"; export GCJ; \
  171. GFORTRAN="$(GFORTRAN)"; export GFORTRAN; \
  172. GOC="$(GOC)"; export GOC; \
  173. AR="$(AR)"; export AR; \
  174. AS="$(AS)"; export AS; \
  175. CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
  176. DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
  177. LD="$(LD)"; export LD; \
  178. LDFLAGS="$(STAGE1_LDFLAGS) $(LDFLAGS)"; export LDFLAGS; \
  179. NM="$(NM)"; export NM; \
  180. RANLIB="$(RANLIB)"; export RANLIB; \
  181. WINDRES="$(WINDRES)"; export WINDRES; \
  182. WINDMC="$(WINDMC)"; export WINDMC; \
  183. OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
  184. OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
  185. READELF="$(READELF)"; export READELF; \
  186. AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
  187. AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
  188. GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
  189. LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
  190. NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
  191. OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
  192. OBJCOPY_FOR_TARGET="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY_FOR_TARGET; \
  193. RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
  194. READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
  195. TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
  196. HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
  197. GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
  198. GMPINC="$(HOST_GMPINC)"; export GMPINC; \
  199. ISLLIBS="$(HOST_ISLLIBS)"; export ISLLIBS; \
  200. ISLINC="$(HOST_ISLINC)"; export ISLINC; \
  201. LIBELFLIBS="$(HOST_LIBELFLIBS)" ; export LIBELFLIBS; \
  202. LIBELFINC="$(HOST_LIBELFINC)" ; export LIBELFINC; \
  203. @if gcc-bootstrap
  204. $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
  205. @endif gcc-bootstrap
  206. $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
  207. POSTSTAGE1_CXX_EXPORT = \
  208. CXX='$(CXX)'; export CXX; \
  209. CXX_FOR_BUILD='$(CXX_FOR_BUILD)'; export CXX_FOR_BUILD;
  210. @if target-libstdc++-v3-bootstrap
  211. # Override the above if we're bootstrapping C++.
  212. POSTSTAGE1_CXX_EXPORT = \
  213. CXX="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xg++$(exeext) \
  214. -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ -nostdinc++ \
  215. -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
  216. -B$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
  217. `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include/$(TARGET_SUBDIR) \
  218. `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/include \
  219. `if $(LEAN); then echo ' -isystem '; else echo ' -I'; fi`$$s/libstdc++-v3/libsupc++ \
  220. -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
  221. -L$$r/prev-$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs"; \
  222. export CXX; \
  223. CXX_FOR_BUILD="$$CXX"; export CXX_FOR_BUILD;
  224. @endif target-libstdc++-v3-bootstrap
  225. # Similar, for later GCC stages.
  226. POSTSTAGE1_HOST_EXPORTS = \
  227. $(HOST_EXPORTS) \
  228. CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
  229. -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/ \
  230. $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
  231. CC_FOR_BUILD="$$CC"; export CC_FOR_BUILD; \
  232. $(POSTSTAGE1_CXX_EXPORT) \
  233. $(LTO_EXPORTS) \
  234. GNATBIND="$$r/$(HOST_SUBDIR)/prev-gcc/gnatbind"; export GNATBIND; \
  235. LDFLAGS="$(POSTSTAGE1_LDFLAGS) $(BOOT_LDFLAGS)"; export LDFLAGS; \
  236. HOST_LIBS="$(POSTSTAGE1_LIBS)"; export HOST_LIBS;
  237. # Target libraries are put under this directory:
  238. TARGET_SUBDIR = @target_subdir@
  239. # This is set by the configure script to the arguments to use when configuring
  240. # directories built for the target.
  241. TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
  242. # This is the list of variables to export in the environment when
  243. # configuring subdirectories for the target system.
  244. BASE_TARGET_EXPORTS = \
  245. $(BASE_EXPORTS) \
  246. AR="$(AR_FOR_TARGET)"; export AR; \
  247. AS="$(COMPILER_AS_FOR_TARGET)"; export AS; \
  248. CC="$(CC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CC; \
  249. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  250. CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
  251. CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
  252. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  253. GCJ="$(GCJ_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GCJ; \
  254. GFORTRAN="$(GFORTRAN_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GFORTRAN; \
  255. GOC="$(GOC_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export GOC; \
  256. DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
  257. LD="$(COMPILER_LD_FOR_TARGET)"; export LD; \
  258. LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
  259. LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
  260. NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
  261. OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
  262. OBJCOPY="$(OBJCOPY_FOR_TARGET)"; export OBJCOPY; \
  263. RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
  264. READELF="$(READELF_FOR_TARGET)"; export READELF; \
  265. STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
  266. WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
  267. WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
  268. @if gcc-bootstrap
  269. $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
  270. @endif gcc-bootstrap
  271. $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
  272. TARGET_CONFIGDIRS="$(TARGET_CONFIGDIRS)"; export TARGET_CONFIGDIRS;
  273. RAW_CXX_TARGET_EXPORTS = \
  274. $(BASE_TARGET_EXPORTS) \
  275. CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
  276. CXX="$(RAW_CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
  277. NORMAL_TARGET_EXPORTS = \
  278. $(BASE_TARGET_EXPORTS) \
  279. CXX="$(CXX_FOR_TARGET) $(XGCC_FLAGS_FOR_TARGET) $$TFLAGS"; export CXX;
  280. # Where to find GMP
  281. HOST_GMPLIBS = @gmplibs@
  282. HOST_GMPINC = @gmpinc@
  283. # Where to find ISL
  284. HOST_ISLLIBS = @isllibs@
  285. HOST_ISLINC = @islinc@
  286. # Where to find libelf
  287. HOST_LIBELFLIBS = @libelflibs@
  288. HOST_LIBELFINC = @libelfinc@
  289. EXTRA_CONFIGARGS_LIBJAVA = @EXTRA_CONFIGARGS_LIBJAVA@
  290. # ----------------------------------------------
  291. # Programs producing files for the BUILD machine
  292. # ----------------------------------------------
  293. SHELL = @SHELL@
  294. # pwd command to use. Allow user to override default by setting PWDCMD in
  295. # the environment to account for automounters. The make variable must not
  296. # be called PWDCMD, otherwise the value set here is passed to make
  297. # subprocesses and overrides the setting from the user's environment.
  298. # Don't use PWD since it is a common shell environment variable and we
  299. # don't want to corrupt it.
  300. PWD_COMMAND = $${PWDCMD-pwd}
  301. # compilers to use to create programs which must be run in the build
  302. # environment.
  303. AR_FOR_BUILD = @AR_FOR_BUILD@
  304. AS_FOR_BUILD = @AS_FOR_BUILD@
  305. CC_FOR_BUILD = @CC_FOR_BUILD@
  306. CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
  307. CXXFLAGS_FOR_BUILD = @CXXFLAGS_FOR_BUILD@
  308. CXX_FOR_BUILD = @CXX_FOR_BUILD@
  309. DLLTOOL_FOR_BUILD = @DLLTOOL_FOR_BUILD@
  310. GCJ_FOR_BUILD = @GCJ_FOR_BUILD@
  311. GFORTRAN_FOR_BUILD = @GFORTRAN_FOR_BUILD@
  312. GOC_FOR_BUILD = @GOC_FOR_BUILD@
  313. LDFLAGS_FOR_BUILD = @LDFLAGS_FOR_BUILD@
  314. LD_FOR_BUILD = @LD_FOR_BUILD@
  315. NM_FOR_BUILD = @NM_FOR_BUILD@
  316. RANLIB_FOR_BUILD = @RANLIB_FOR_BUILD@
  317. WINDMC_FOR_BUILD = @WINDMC_FOR_BUILD@
  318. WINDRES_FOR_BUILD = @WINDRES_FOR_BUILD@
  319. # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
  320. # here so that they can be overridden by Makefile fragments.
  321. BUILD_PREFIX = @BUILD_PREFIX@
  322. BUILD_PREFIX_1 = @BUILD_PREFIX_1@
  323. # Flags to pass to stage2 and later makes. They are defined
  324. # here so that they can be overridden by Makefile fragments.
  325. BOOT_CFLAGS= -g -O2
  326. BOOT_LDFLAGS=
  327. BOOT_ADAFLAGS= -gnatpg
  328. AWK = @AWK@
  329. SED = @SED@
  330. BISON = @BISON@
  331. YACC = @YACC@
  332. FLEX = @FLEX@
  333. LEX = @LEX@
  334. M4 = @M4@
  335. MAKEINFO = @MAKEINFO@
  336. EXPECT = @EXPECT@
  337. RUNTEST = @RUNTEST@
  338. # This just becomes part of the MAKEINFO definition passed down to
  339. # sub-makes. It lets flags be given on the command line while still
  340. # using the makeinfo from the object tree.
  341. # (Default to avoid splitting info files by setting the threshold high.)
  342. MAKEINFOFLAGS = --split-size=5000000
  343. # ---------------------------------------------
  344. # Programs producing files for the HOST machine
  345. # ---------------------------------------------
  346. AS = @AS@
  347. AR = @AR@
  348. AR_FLAGS = rc
  349. CC = @CC@
  350. CXX = @CXX@
  351. DLLTOOL = @DLLTOOL@
  352. LD = @LD@
  353. LIPO = @LIPO@
  354. NM = @NM@
  355. OBJDUMP = @OBJDUMP@
  356. RANLIB = @RANLIB@
  357. READELF = @READELF@
  358. STRIP = @STRIP@
  359. WINDRES = @WINDRES@
  360. WINDMC = @WINDMC@
  361. GNATBIND = @GNATBIND@
  362. GNATMAKE = @GNATMAKE@
  363. CFLAGS = @CFLAGS@
  364. LDFLAGS = @LDFLAGS@
  365. LIBCFLAGS = $(CFLAGS)
  366. CXXFLAGS = @CXXFLAGS@
  367. LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
  368. GOCFLAGS = $(CFLAGS)
  369. TFLAGS =
  370. # Defaults for all stages; some are overridden below.
  371. STAGE_CFLAGS = $(BOOT_CFLAGS)
  372. STAGE_TFLAGS = $(TFLAGS)
  373. STAGE_CONFIGURE_FLAGS=@stage2_werror_flag@
  374. # Defaults for stage 1; some are overridden below.
  375. STAGE1_CFLAGS = $(STAGE_CFLAGS)
  376. STAGE1_CXXFLAGS = $(CXXFLAGS)
  377. @if target-libstdc++-v3-bootstrap
  378. # Override the above if we're bootstrapping C++.
  379. STAGE1_CXXFLAGS = $(STAGE1_CFLAGS)
  380. @endif target-libstdc++-v3-bootstrap
  381. STAGE1_TFLAGS = $(STAGE_TFLAGS)
  382. STAGE1_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
  383. # Defaults for stage 2; some are overridden below.
  384. STAGE2_CFLAGS = $(STAGE_CFLAGS)
  385. STAGE2_CXXFLAGS = $(CXXFLAGS)
  386. @if target-libstdc++-v3-bootstrap
  387. # Override the above if we're bootstrapping C++.
  388. STAGE2_CXXFLAGS = $(STAGE2_CFLAGS)
  389. @endif target-libstdc++-v3-bootstrap
  390. STAGE2_TFLAGS = $(STAGE_TFLAGS)
  391. STAGE2_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
  392. # Defaults for stage 3; some are overridden below.
  393. STAGE3_CFLAGS = $(STAGE_CFLAGS)
  394. STAGE3_CXXFLAGS = $(CXXFLAGS)
  395. @if target-libstdc++-v3-bootstrap
  396. # Override the above if we're bootstrapping C++.
  397. STAGE3_CXXFLAGS = $(STAGE3_CFLAGS)
  398. @endif target-libstdc++-v3-bootstrap
  399. STAGE3_TFLAGS = $(STAGE_TFLAGS)
  400. STAGE3_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
  401. # Defaults for stage 4; some are overridden below.
  402. STAGE4_CFLAGS = $(STAGE_CFLAGS)
  403. STAGE4_CXXFLAGS = $(CXXFLAGS)
  404. @if target-libstdc++-v3-bootstrap
  405. # Override the above if we're bootstrapping C++.
  406. STAGE4_CXXFLAGS = $(STAGE4_CFLAGS)
  407. @endif target-libstdc++-v3-bootstrap
  408. STAGE4_TFLAGS = $(STAGE_TFLAGS)
  409. STAGE4_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
  410. # Defaults for stage profile; some are overridden below.
  411. STAGEprofile_CFLAGS = $(STAGE_CFLAGS)
  412. STAGEprofile_CXXFLAGS = $(CXXFLAGS)
  413. @if target-libstdc++-v3-bootstrap
  414. # Override the above if we're bootstrapping C++.
  415. STAGEprofile_CXXFLAGS = $(STAGEprofile_CFLAGS)
  416. @endif target-libstdc++-v3-bootstrap
  417. STAGEprofile_TFLAGS = $(STAGE_TFLAGS)
  418. STAGEprofile_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
  419. # Defaults for stage feedback; some are overridden below.
  420. STAGEfeedback_CFLAGS = $(STAGE_CFLAGS)
  421. STAGEfeedback_CXXFLAGS = $(CXXFLAGS)
  422. @if target-libstdc++-v3-bootstrap
  423. # Override the above if we're bootstrapping C++.
  424. STAGEfeedback_CXXFLAGS = $(STAGEfeedback_CFLAGS)
  425. @endif target-libstdc++-v3-bootstrap
  426. STAGEfeedback_TFLAGS = $(STAGE_TFLAGS)
  427. STAGEfeedback_CONFIGURE_FLAGS = $(STAGE_CONFIGURE_FLAGS)
  428. # Only build the C compiler for stage1, because that is the only one that
  429. # we can guarantee will build with the native compiler, and also it is the
  430. # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
  431. # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
  432. # overrideable (for a bootstrap build stage1 also builds gcc.info).
  433. STAGE1_CFLAGS = @stage1_cflags@
  434. STAGE1_CHECKING = @stage1_checking@
  435. STAGE1_LANGUAGES = @stage1_languages@
  436. # * We force-disable intermodule optimizations, even if
  437. # --enable-intermodule was passed, since the installed compiler
  438. # probably can't handle them. Luckily, autoconf always respects
  439. # the last argument when conflicting --enable arguments are passed.
  440. # * Likewise, we force-disable coverage flags, since the installed
  441. # compiler probably has never heard of them.
  442. # * We also disable -Wformat, since older GCCs don't understand newer %s.
  443. STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \
  444. --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \
  445. --disable-build-format-warnings
  446. STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate
  447. STAGEprofile_TFLAGS = $(STAGE2_TFLAGS)
  448. STAGEfeedback_CFLAGS = $(STAGE3_CFLAGS) -fprofile-use
  449. STAGEfeedback_TFLAGS = $(STAGE3_TFLAGS)
  450. do-compare = @do_compare@
  451. do-compare3 = $(do-compare)
  452. # -----------------------------------------------
  453. # Programs producing files for the TARGET machine
  454. # -----------------------------------------------
  455. AR_FOR_TARGET=@AR_FOR_TARGET@
  456. AS_FOR_TARGET=@AS_FOR_TARGET@
  457. CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@
  458. # If GCC_FOR_TARGET is not overriden on the command line, then this
  459. # variable is passed down to the gcc Makefile, where it is used to
  460. # build libgcc2.a. We define it here so that it can itself be
  461. # overridden on the command line.
  462. GCC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCC_FOR_TARGET@
  463. CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@
  464. RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@
  465. GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@
  466. GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@
  467. GOC_FOR_TARGET=$(STAGE_CC_WRAPPER) @GOC_FOR_TARGET@
  468. DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
  469. LD_FOR_TARGET=@LD_FOR_TARGET@
  470. LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
  471. NM_FOR_TARGET=@NM_FOR_TARGET@
  472. OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
  473. OBJCOPY_FOR_TARGET=@OBJCOPY_FOR_TARGET@
  474. RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
  475. READELF_FOR_TARGET=@READELF_FOR_TARGET@
  476. STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
  477. WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
  478. WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
  479. COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
  480. COMPILER_LD_FOR_TARGET=@COMPILER_LD_FOR_TARGET@
  481. COMPILER_NM_FOR_TARGET=@COMPILER_NM_FOR_TARGET@
  482. CFLAGS_FOR_TARGET = @CFLAGS_FOR_TARGET@
  483. CXXFLAGS_FOR_TARGET = @CXXFLAGS_FOR_TARGET@
  484. LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
  485. LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
  486. LDFLAGS_FOR_TARGET = @LDFLAGS_FOR_TARGET@
  487. GOCFLAGS_FOR_TARGET = -O2 -g
  488. FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
  489. SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
  490. DEBUG_PREFIX_CFLAGS_FOR_TARGET = @DEBUG_PREFIX_CFLAGS_FOR_TARGET@
  491. XGCC_FLAGS_FOR_TARGET = $(FLAGS_FOR_TARGET) $(SYSROOT_CFLAGS_FOR_TARGET) $(DEBUG_PREFIX_CFLAGS_FOR_TARGET)
  492. # ------------------------------------
  493. # Miscellaneous targets and flag lists
  494. # ------------------------------------
  495. # The first rule in the file had better be this one. Don't put any above it.
  496. # This lives here to allow makefile fragments to contain dependencies.
  497. all:
  498. #### host and target specific makefile fragments come in here.
  499. @target_makefile_frag@
  500. @alphaieee_frag@
  501. @ospace_frag@
  502. @host_makefile_frag@
  503. ###
  504. # This is the list of directories that may be needed in RPATH_ENVVAR
  505. # so that programs built for the target machine work.
  506. TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libsanitizer)$(TARGET_LIB_PATH_libmpx)$(TARGET_LIB_PATH_libvtv)$(TARGET_LIB_PATH_libcilkrts)$(TARGET_LIB_PATH_liboffloadmic)$(TARGET_LIB_PATH_libssp)$(TARGET_LIB_PATH_libgomp)$(TARGET_LIB_PATH_libitm)$(TARGET_LIB_PATH_libatomic)$(HOST_LIB_PATH_gcc)
  507. @if target-libstdc++-v3
  508. TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
  509. @endif target-libstdc++-v3
  510. @if target-libsanitizer
  511. TARGET_LIB_PATH_libsanitizer = $$r/$(TARGET_SUBDIR)/libsanitizer/.libs:
  512. @endif target-libsanitizer
  513. @if target-libmpx
  514. TARGET_LIB_PATH_libmpx = $$r/$(TARGET_SUBDIR)/libmpx/.libs:
  515. @endif target-libmpx
  516. @if target-libvtv
  517. TARGET_LIB_PATH_libvtv = $$r/$(TARGET_SUBDIR)/libvtv/.libs:
  518. @endif target-libvtv
  519. @if target-libcilkrts
  520. TARGET_LIB_PATH_libcilkrts = $$r/$(TARGET_SUBDIR)/libcilkrts/.libs:
  521. @endif target-libcilkrts
  522. @if target-liboffloadmic
  523. TARGET_LIB_PATH_liboffloadmic = $$r/$(TARGET_SUBDIR)/liboffloadmic/.libs:
  524. @endif target-liboffloadmic
  525. @if target-libssp
  526. TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
  527. @endif target-libssp
  528. @if target-libgomp
  529. TARGET_LIB_PATH_libgomp = $$r/$(TARGET_SUBDIR)/libgomp/.libs:
  530. @endif target-libgomp
  531. @if target-libitm
  532. TARGET_LIB_PATH_libitm = $$r/$(TARGET_SUBDIR)/libitm/.libs:
  533. @endif target-libitm
  534. @if target-libatomic
  535. TARGET_LIB_PATH_libatomic = $$r/$(TARGET_SUBDIR)/libatomic/.libs:
  536. @endif target-libatomic
  537. # This is the list of directories that may be needed in RPATH_ENVVAR
  538. # so that programs built for the host machine work.
  539. HOST_LIB_PATH = $(HOST_LIB_PATH_gmp)$(HOST_LIB_PATH_mpfr)$(HOST_LIB_PATH_mpc)$(HOST_LIB_PATH_isl)$(HOST_LIB_PATH_libelf)
  540. # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
  541. @if gcc
  542. HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc$(GCC_SHLIB_SUBDIR):$$r/$(HOST_SUBDIR)/prev-gcc$(GCC_SHLIB_SUBDIR):
  543. @endif gcc
  544. @if gmp
  545. HOST_LIB_PATH_gmp = \
  546. $$r/$(HOST_SUBDIR)/gmp/.libs:$$r/$(HOST_SUBDIR)/prev-gmp/.libs:
  547. @endif gmp
  548. @if mpfr
  549. HOST_LIB_PATH_mpfr = \
  550. $$r/$(HOST_SUBDIR)/mpfr/.libs:$$r/$(HOST_SUBDIR)/prev-mpfr/.libs:
  551. @endif mpfr
  552. @if mpc
  553. HOST_LIB_PATH_mpc = \
  554. $$r/$(HOST_SUBDIR)/mpc/.libs:$$r/$(HOST_SUBDIR)/prev-mpc/.libs:
  555. @endif mpc
  556. @if isl
  557. HOST_LIB_PATH_isl = \
  558. $$r/$(HOST_SUBDIR)/isl/.libs:$$r/$(HOST_SUBDIR)/prev-isl/.libs:
  559. @endif isl
  560. @if libelf
  561. HOST_LIB_PATH_libelf = \
  562. $$r/$(HOST_SUBDIR)/libelf/.libs:$$r/$(HOST_SUBDIR)/prev-libelf/.libs:
  563. @endif libelf
  564. CXX_FOR_TARGET_FLAG_TO_PASS = \
  565. "CXX_FOR_TARGET=$(CXX_FOR_TARGET)"
  566. @if target-libstdc++-v3
  567. # CXX_FOR_TARGET is tricky to get right for target libs that require a
  568. # functional C++ compiler. When we recurse, if we expand
  569. # CXX_FOR_TARGET before configuring libstdc++-v3, we won't get
  570. # libstdc++ include flags from the script. Instead, we get an
  571. # -funconfigured-* word, so that we'll get errors if this invalid C++
  572. # command line is used for anything, but also so that we can use the
  573. # word to decide whether or not to pass on this CXX_FOR_TARGET. If we
  574. # don't pass it on, sub-make will use the default definition, that
  575. # re-expands it at the time of use, so we'll get it right when we need
  576. # it. One potential exception is the expansion of CXX_FOR_TARGET
  577. # passed down as part of CXX within TARGET_FLAGS, but this wouldn't
  578. # really work, for C++ host programs can't depend on the current-stage
  579. # C++ target library.
  580. CXX_FOR_TARGET_FLAG_TO_PASS = \
  581. $(shell if echo "$(CXX_FOR_TARGET)" | grep " -funconfigured-" > /dev/null; then :; else echo '"CXX_FOR_TARGET=$(CXX_FOR_TARGET)"'; fi)
  582. @endif target-libstdc++-v3
  583. # Flags to pass down to all sub-makes.
  584. BASE_FLAGS_TO_PASS = \
  585. "DESTDIR=$(DESTDIR)" \
  586. "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
  587. "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
  588. "bindir=$(bindir)" \
  589. "datadir=$(datadir)" \
  590. "exec_prefix=$(exec_prefix)" \
  591. "includedir=$(includedir)" \
  592. "datarootdir=$(datarootdir)" \
  593. "docdir=$(docdir)" \
  594. "infodir=$(infodir)" \
  595. "pdfdir=$(pdfdir)" \
  596. "htmldir=$(htmldir)" \
  597. "libdir=$(libdir)" \
  598. "libexecdir=$(libexecdir)" \
  599. "lispdir=$(lispdir)" \
  600. "localstatedir=$(localstatedir)" \
  601. "mandir=$(mandir)" \
  602. "oldincludedir=$(oldincludedir)" \
  603. "prefix=$(prefix)" \
  604. "sbindir=$(sbindir)" \
  605. "sharedstatedir=$(sharedstatedir)" \
  606. "sysconfdir=$(sysconfdir)" \
  607. "tooldir=$(tooldir)" \
  608. "build_tooldir=$(build_tooldir)" \
  609. "target_alias=$(target_alias)" \
  610. "AWK=$(AWK)" \
  611. "BISON=$(BISON)" \
  612. "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
  613. "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
  614. "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
  615. "EXPECT=$(EXPECT)" \
  616. "FLEX=$(FLEX)" \
  617. "INSTALL=$(INSTALL)" \
  618. "INSTALL_DATA=$(INSTALL_DATA)" \
  619. "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
  620. "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
  621. "LDFLAGS_FOR_BUILD=$(LDFLAGS_FOR_BUILD)" \
  622. "LEX=$(LEX)" \
  623. "M4=$(M4)" \
  624. "MAKE=$(MAKE)" \
  625. "RUNTEST=$(RUNTEST)" \
  626. "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
  627. "SED=$(SED)" \
  628. "SHELL=$(SHELL)" \
  629. "YACC=$(YACC)" \
  630. "`echo 'ADAFLAGS=$(ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
  631. "ADA_CFLAGS=$(ADA_CFLAGS)" \
  632. "AR_FLAGS=$(AR_FLAGS)" \
  633. "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
  634. "BOOT_CFLAGS=$(BOOT_CFLAGS)" \
  635. "BOOT_LDFLAGS=$(BOOT_LDFLAGS)" \
  636. "CFLAGS=$(CFLAGS)" \
  637. "CXXFLAGS=$(CXXFLAGS)" \
  638. "LDFLAGS=$(LDFLAGS)" \
  639. "LIBCFLAGS=$(LIBCFLAGS)" \
  640. "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
  641. "STAGE1_CHECKING=$(STAGE1_CHECKING)" \
  642. "STAGE1_LANGUAGES=$(STAGE1_LANGUAGES)" \
  643. "GNATBIND=$(GNATBIND)" \
  644. "GNATMAKE=$(GNATMAKE)" \
  645. "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
  646. "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
  647. "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
  648. "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
  649. "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
  650. "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
  651. "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
  652. "FLAGS_FOR_TARGET=$(FLAGS_FOR_TARGET)" \
  653. "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
  654. "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
  655. "GOC_FOR_TARGET=$(GOC_FOR_TARGET)" \
  656. "GOCFLAGS_FOR_TARGET=$(GOCFLAGS_FOR_TARGET)" \
  657. "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
  658. "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
  659. "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
  660. "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
  661. "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
  662. "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
  663. "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
  664. "OBJCOPY_FOR_TARGET=$(OBJCOPY_FOR_TARGET)" \
  665. "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
  666. "READELF_FOR_TARGET=$(READELF_FOR_TARGET)" \
  667. "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
  668. "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
  669. "WINDMC_FOR_TARGET=$(WINDMC_FOR_TARGET)" \
  670. "BUILD_CONFIG=$(BUILD_CONFIG)" \
  671. "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
  672. "LEAN=$(LEAN)" \
  673. "STAGE1_CFLAGS=$(STAGE1_CFLAGS)" \
  674. "STAGE1_CXXFLAGS=$(STAGE1_CXXFLAGS)" \
  675. "STAGE1_TFLAGS=$(STAGE1_TFLAGS)" \
  676. "STAGE2_CFLAGS=$(STAGE2_CFLAGS)" \
  677. "STAGE2_CXXFLAGS=$(STAGE2_CXXFLAGS)" \
  678. "STAGE2_TFLAGS=$(STAGE2_TFLAGS)" \
  679. "STAGE3_CFLAGS=$(STAGE3_CFLAGS)" \
  680. "STAGE3_CXXFLAGS=$(STAGE3_CXXFLAGS)" \
  681. "STAGE3_TFLAGS=$(STAGE3_TFLAGS)" \
  682. "STAGE4_CFLAGS=$(STAGE4_CFLAGS)" \
  683. "STAGE4_CXXFLAGS=$(STAGE4_CXXFLAGS)" \
  684. "STAGE4_TFLAGS=$(STAGE4_TFLAGS)" \
  685. "STAGEprofile_CFLAGS=$(STAGEprofile_CFLAGS)" \
  686. "STAGEprofile_CXXFLAGS=$(STAGEprofile_CXXFLAGS)" \
  687. "STAGEprofile_TFLAGS=$(STAGEprofile_TFLAGS)" \
  688. "STAGEfeedback_CFLAGS=$(STAGEfeedback_CFLAGS)" \
  689. "STAGEfeedback_CXXFLAGS=$(STAGEfeedback_CXXFLAGS)" \
  690. "STAGEfeedback_TFLAGS=$(STAGEfeedback_TFLAGS)" \
  691. $(CXX_FOR_TARGET_FLAG_TO_PASS) \
  692. "TFLAGS=$(TFLAGS)" \
  693. "CONFIG_SHELL=$(SHELL)" \
  694. "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
  695. # We leave this in just in case, but it is not needed anymore.
  696. RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
  697. # Flags to pass down to most sub-makes, in which we're building with
  698. # the host environment.
  699. EXTRA_HOST_FLAGS = \
  700. 'AR=$(AR)' \
  701. 'AS=$(AS)' \
  702. 'CC=$(CC)' \
  703. 'CXX=$(CXX)' \
  704. 'DLLTOOL=$(DLLTOOL)' \
  705. 'GCJ=$(GCJ)' \
  706. 'GFORTRAN=$(GFORTRAN)' \
  707. 'GOC=$(GOC)' \
  708. 'LD=$(LD)' \
  709. 'LIPO=$(LIPO)' \
  710. 'NM=$(NM)' \
  711. 'OBJDUMP=$(OBJDUMP)' \
  712. 'RANLIB=$(RANLIB)' \
  713. 'READELF=$(READELF)' \
  714. 'STRIP=$(STRIP)' \
  715. 'WINDRES=$(WINDRES)' \
  716. 'WINDMC=$(WINDMC)'
  717. FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
  718. # Flags to pass to stage1 or when not bootstrapping.
  719. STAGE1_FLAGS_TO_PASS = \
  720. LDFLAGS="$${LDFLAGS}" \
  721. HOST_LIBS="$${HOST_LIBS}"
  722. # Flags to pass to stage2 and later makes.
  723. POSTSTAGE1_FLAGS_TO_PASS = \
  724. CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
  725. CXX="$${CXX}" CXX_FOR_BUILD="$${CXX_FOR_BUILD}" \
  726. GNATBIND="$${GNATBIND}" \
  727. LDFLAGS="$${LDFLAGS}" \
  728. HOST_LIBS="$${HOST_LIBS}" \
  729. $(LTO_FLAGS_TO_PASS) \
  730. "`echo 'ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
  731. # Flags to pass down to makes which are built with the target environment.
  732. # The double $ decreases the length of the command line; those variables
  733. # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them. The
  734. # *_CFLAGS_FOR_TARGET variables are not passed down and most often empty,
  735. # so we expand them here.
  736. EXTRA_TARGET_FLAGS = \
  737. 'AR=$$(AR_FOR_TARGET)' \
  738. 'AS=$(COMPILER_AS_FOR_TARGET)' \
  739. 'CC=$$(CC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
  740. 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
  741. 'CXX=$$(CXX_FOR_TARGET) -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/src/.libs \
  742. -B$$r/$$(TARGET_SUBDIR)/libstdc++-v3/libsupc++/.libs \
  743. $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
  744. 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
  745. 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
  746. 'GCJ=$$(GCJ_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
  747. 'GFORTRAN=$$(GFORTRAN_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
  748. 'GOC=$$(GOC_FOR_TARGET) $$(XGCC_FLAGS_FOR_TARGET) $$(TFLAGS)' \
  749. 'GOCFLAGS=$$(GOCFLAGS_FOR_TARGET)' \
  750. 'LD=$(COMPILER_LD_FOR_TARGET)' \
  751. 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
  752. 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
  753. 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
  754. 'NM=$(COMPILER_NM_FOR_TARGET)' \
  755. 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
  756. 'OBJCOPY=$$(OBJCOPY_FOR_TARGET)' \
  757. 'RANLIB=$$(RANLIB_FOR_TARGET)' \
  758. 'READELF=$$(READELF_FOR_TARGET)' \
  759. 'WINDRES=$$(WINDRES_FOR_TARGET)' \
  760. 'WINDMC=$$(WINDMC_FOR_TARGET)' \
  761. 'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
  762. 'STAGE1_LDFLAGS=$$(POSTSTAGE1_LDFLAGS)' \
  763. 'STAGE1_LIBS=$$(POSTSTAGE1_LIBS)' \
  764. "TFLAGS=$$TFLAGS"
  765. TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
  766. # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
  767. # unfortunately needs the native compiler and the target ar and
  768. # ranlib.
  769. # If any variables are added here, they must be added to do-*, below.
  770. # The BUILD_* variables are a special case, which are used for the gcc
  771. # cross-building scheme.
  772. EXTRA_GCC_FLAGS = \
  773. "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
  774. "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
  775. "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
  776. GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
  777. @if gcc
  778. BUILD_CONFIG = @BUILD_CONFIG@
  779. ifneq ($(BUILD_CONFIG),)
  780. include $(foreach CONFIG, $(BUILD_CONFIG), $(srcdir)/config/$(CONFIG).mk)
  781. endif
  782. @endif gcc
  783. .PHONY: configure-host
  784. configure-host: \
  785. maybe-configure-bfd \
  786. maybe-configure-opcodes \
  787. maybe-configure-binutils \
  788. maybe-configure-bison \
  789. maybe-configure-cgen \
  790. maybe-configure-dejagnu \
  791. maybe-configure-etc \
  792. maybe-configure-fastjar \
  793. maybe-configure-fixincludes \
  794. maybe-configure-flex \
  795. maybe-configure-gas \
  796. maybe-configure-gcc \
  797. maybe-configure-gmp \
  798. maybe-configure-mpfr \
  799. maybe-configure-mpc \
  800. maybe-configure-isl \
  801. maybe-configure-libelf \
  802. maybe-configure-gold \
  803. maybe-configure-gprof \
  804. maybe-configure-intl \
  805. maybe-configure-tcl \
  806. maybe-configure-itcl \
  807. maybe-configure-ld \
  808. maybe-configure-libbacktrace \
  809. maybe-configure-libcpp \
  810. maybe-configure-libdecnumber \
  811. maybe-configure-libgui \
  812. maybe-configure-libiberty \
  813. maybe-configure-libiberty-linker-plugin \
  814. maybe-configure-libiconv \
  815. maybe-configure-m4 \
  816. maybe-configure-readline \
  817. maybe-configure-sid \
  818. maybe-configure-sim \
  819. maybe-configure-texinfo \
  820. maybe-configure-zlib \
  821. maybe-configure-gdb \
  822. maybe-configure-expect \
  823. maybe-configure-guile \
  824. maybe-configure-tk \
  825. maybe-configure-libtermcap \
  826. maybe-configure-utils \
  827. maybe-configure-gnattools \
  828. maybe-configure-lto-plugin \
  829. maybe-configure-libcc1 \
  830. maybe-configure-gotools
  831. .PHONY: configure-target
  832. configure-target: \
  833. maybe-configure-target-libstdc++-v3 \
  834. maybe-configure-target-libsanitizer \
  835. maybe-configure-target-libmpx \
  836. maybe-configure-target-libvtv \
  837. maybe-configure-target-libcilkrts \
  838. maybe-configure-target-liboffloadmic \
  839. maybe-configure-target-libssp \
  840. maybe-configure-target-newlib \
  841. maybe-configure-target-libgcc \
  842. maybe-configure-target-libbacktrace \
  843. maybe-configure-target-libquadmath \
  844. maybe-configure-target-libgfortran \
  845. maybe-configure-target-libobjc \
  846. maybe-configure-target-libgo \
  847. maybe-configure-target-libtermcap \
  848. maybe-configure-target-winsup \
  849. maybe-configure-target-libgloss \
  850. maybe-configure-target-libffi \
  851. maybe-configure-target-libjava \
  852. maybe-configure-target-zlib \
  853. maybe-configure-target-boehm-gc \
  854. maybe-configure-target-rda \
  855. maybe-configure-target-libada \
  856. maybe-configure-target-libgomp \
  857. maybe-configure-target-libitm \
  858. maybe-configure-target-libatomic
  859. # The target built for a native non-bootstrap build.
  860. .PHONY: all
  861. all:
  862. @if gcc-bootstrap
  863. [ -f stage_final ] || echo stage3 > stage_final
  864. @r=`${PWD_COMMAND}`; export r; \
  865. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  866. $(MAKE) $(RECURSE_FLAGS_TO_PASS) `cat stage_final`-bubble
  867. @endif gcc-bootstrap
  868. @: $(MAKE); $(unstage)
  869. @r=`${PWD_COMMAND}`; export r; \
  870. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  871. @if gcc-bootstrap
  872. if [ -f stage_last ]; then \
  873. TFLAGS="$(STAGE$(shell test ! -f stage_last || sed s,^stage,, stage_last)_TFLAGS)"; \
  874. $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target; \
  875. else \
  876. @endif gcc-bootstrap
  877. $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host all-target \
  878. @if gcc-bootstrap
  879. ; \
  880. fi \
  881. @endif gcc-bootstrap
  882. && :
  883. .PHONY: all-build
  884. all-build: maybe-all-build-libiberty
  885. all-build: maybe-all-build-bison
  886. all-build: maybe-all-build-flex
  887. all-build: maybe-all-build-m4
  888. all-build: maybe-all-build-texinfo
  889. all-build: maybe-all-build-fixincludes
  890. all-build: maybe-all-build-libcpp
  891. .PHONY: all-host
  892. @if bfd-no-bootstrap
  893. all-host: maybe-all-bfd
  894. @endif bfd-no-bootstrap
  895. @if opcodes-no-bootstrap
  896. all-host: maybe-all-opcodes
  897. @endif opcodes-no-bootstrap
  898. @if binutils-no-bootstrap
  899. all-host: maybe-all-binutils
  900. @endif binutils-no-bootstrap
  901. all-host: maybe-all-bison
  902. all-host: maybe-all-cgen
  903. all-host: maybe-all-dejagnu
  904. all-host: maybe-all-etc
  905. all-host: maybe-all-fastjar
  906. @if fixincludes-no-bootstrap
  907. all-host: maybe-all-fixincludes
  908. @endif fixincludes-no-bootstrap
  909. all-host: maybe-all-flex
  910. @if gas-no-bootstrap
  911. all-host: maybe-all-gas
  912. @endif gas-no-bootstrap
  913. @if gcc-no-bootstrap
  914. all-host: maybe-all-gcc
  915. @endif gcc-no-bootstrap
  916. @if gmp-no-bootstrap
  917. all-host: maybe-all-gmp
  918. @endif gmp-no-bootstrap
  919. @if mpfr-no-bootstrap
  920. all-host: maybe-all-mpfr
  921. @endif mpfr-no-bootstrap
  922. @if mpc-no-bootstrap
  923. all-host: maybe-all-mpc
  924. @endif mpc-no-bootstrap
  925. @if isl-no-bootstrap
  926. all-host: maybe-all-isl
  927. @endif isl-no-bootstrap
  928. @if libelf-no-bootstrap
  929. all-host: maybe-all-libelf
  930. @endif libelf-no-bootstrap
  931. @if gold-no-bootstrap
  932. all-host: maybe-all-gold
  933. @endif gold-no-bootstrap
  934. all-host: maybe-all-gprof
  935. @if intl-no-bootstrap
  936. all-host: maybe-all-intl
  937. @endif intl-no-bootstrap
  938. all-host: maybe-all-tcl
  939. all-host: maybe-all-itcl
  940. @if ld-no-bootstrap
  941. all-host: maybe-all-ld
  942. @endif ld-no-bootstrap
  943. @if libbacktrace-no-bootstrap
  944. all-host: maybe-all-libbacktrace
  945. @endif libbacktrace-no-bootstrap
  946. @if libcpp-no-bootstrap
  947. all-host: maybe-all-libcpp
  948. @endif libcpp-no-bootstrap
  949. @if libdecnumber-no-bootstrap
  950. all-host: maybe-all-libdecnumber
  951. @endif libdecnumber-no-bootstrap
  952. all-host: maybe-all-libgui
  953. @if libiberty-no-bootstrap
  954. all-host: maybe-all-libiberty
  955. @endif libiberty-no-bootstrap
  956. @if libiberty-linker-plugin-no-bootstrap
  957. all-host: maybe-all-libiberty-linker-plugin
  958. @endif libiberty-linker-plugin-no-bootstrap
  959. all-host: maybe-all-libiconv
  960. all-host: maybe-all-m4
  961. all-host: maybe-all-readline
  962. all-host: maybe-all-sid
  963. all-host: maybe-all-sim
  964. all-host: maybe-all-texinfo
  965. @if zlib-no-bootstrap
  966. all-host: maybe-all-zlib
  967. @endif zlib-no-bootstrap
  968. all-host: maybe-all-gdb
  969. all-host: maybe-all-expect
  970. all-host: maybe-all-guile
  971. all-host: maybe-all-tk
  972. all-host: maybe-all-libtermcap
  973. all-host: maybe-all-utils
  974. all-host: maybe-all-gnattools
  975. @if lto-plugin-no-bootstrap
  976. all-host: maybe-all-lto-plugin
  977. @endif lto-plugin-no-bootstrap
  978. all-host: maybe-all-libcc1
  979. all-host: maybe-all-gotools
  980. .PHONY: all-target
  981. @if target-libstdc++-v3-no-bootstrap
  982. all-target: maybe-all-target-libstdc++-v3
  983. @endif target-libstdc++-v3-no-bootstrap
  984. @if target-libsanitizer-no-bootstrap
  985. all-target: maybe-all-target-libsanitizer
  986. @endif target-libsanitizer-no-bootstrap
  987. @if target-libmpx-no-bootstrap
  988. all-target: maybe-all-target-libmpx
  989. @endif target-libmpx-no-bootstrap
  990. @if target-libvtv-no-bootstrap
  991. all-target: maybe-all-target-libvtv
  992. @endif target-libvtv-no-bootstrap
  993. all-target: maybe-all-target-libcilkrts
  994. all-target: maybe-all-target-liboffloadmic
  995. all-target: maybe-all-target-libssp
  996. all-target: maybe-all-target-newlib
  997. @if target-libgcc-no-bootstrap
  998. all-target: maybe-all-target-libgcc
  999. @endif target-libgcc-no-bootstrap
  1000. all-target: maybe-all-target-libbacktrace
  1001. all-target: maybe-all-target-libquadmath
  1002. all-target: maybe-all-target-libgfortran
  1003. all-target: maybe-all-target-libobjc
  1004. all-target: maybe-all-target-libgo
  1005. all-target: maybe-all-target-libtermcap
  1006. all-target: maybe-all-target-winsup
  1007. all-target: maybe-all-target-libgloss
  1008. all-target: maybe-all-target-libffi
  1009. all-target: maybe-all-target-libjava
  1010. all-target: maybe-all-target-zlib
  1011. all-target: maybe-all-target-boehm-gc
  1012. all-target: maybe-all-target-rda
  1013. all-target: maybe-all-target-libada
  1014. @if target-libgomp-no-bootstrap
  1015. all-target: maybe-all-target-libgomp
  1016. @endif target-libgomp-no-bootstrap
  1017. all-target: maybe-all-target-libitm
  1018. all-target: maybe-all-target-libatomic
  1019. # Do a target for all the subdirectories. A ``make do-X'' will do a
  1020. # ``make X'' in all subdirectories (because, in general, there is a
  1021. # dependency (below) of X upon do-X, a ``make X'' will also do this,
  1022. # but it may do additional work as well).
  1023. .PHONY: do-info
  1024. do-info:
  1025. @: $(MAKE); $(unstage)
  1026. @r=`${PWD_COMMAND}`; export r; \
  1027. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  1028. $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
  1029. info-target
  1030. .PHONY: info-host
  1031. info-host: maybe-info-bfd
  1032. info-host: maybe-info-opcodes
  1033. info-host: maybe-info-binutils
  1034. info-host: maybe-info-bison
  1035. info-host: maybe-info-cgen
  1036. info-host: maybe-info-dejagnu
  1037. info-host: maybe-info-etc
  1038. info-host: maybe-info-fastjar
  1039. info-host: maybe-info-fixincludes
  1040. info-host: maybe-info-flex
  1041. info-host: maybe-info-gas
  1042. info-host: maybe-info-gcc
  1043. info-host: maybe-info-gmp
  1044. info-host: maybe-info-mpfr
  1045. info-host: maybe-info-mpc
  1046. info-host: maybe-info-isl
  1047. info-host: maybe-info-libelf
  1048. info-host: maybe-info-gold
  1049. info-host: maybe-info-gprof
  1050. info-host: maybe-info-intl
  1051. info-host: maybe-info-tcl
  1052. info-host: maybe-info-itcl
  1053. info-host: maybe-info-ld
  1054. info-host: maybe-info-libbacktrace
  1055. info-host: maybe-info-libcpp
  1056. info-host: maybe-info-libdecnumber
  1057. info-host: maybe-info-libgui
  1058. info-host: maybe-info-libiberty
  1059. info-host: maybe-info-libiberty-linker-plugin
  1060. info-host: maybe-info-libiconv
  1061. info-host: maybe-info-m4
  1062. info-host: maybe-info-readline
  1063. info-host: maybe-info-sid
  1064. info-host: maybe-info-sim
  1065. info-host: maybe-info-texinfo
  1066. info-host: maybe-info-zlib
  1067. info-host: maybe-info-gdb
  1068. info-host: maybe-info-expect
  1069. info-host: maybe-info-guile
  1070. info-host: maybe-info-tk
  1071. info-host: maybe-info-libtermcap
  1072. info-host: maybe-info-utils
  1073. info-host: maybe-info-gnattools
  1074. info-host: maybe-info-lto-plugin
  1075. info-host: maybe-info-libcc1
  1076. info-host: maybe-info-gotools
  1077. .PHONY: info-target
  1078. info-target: maybe-info-target-libstdc++-v3
  1079. info-target: maybe-info-target-libsanitizer
  1080. info-target: maybe-info-target-libmpx
  1081. info-target: maybe-info-target-libvtv
  1082. info-target: maybe-info-target-libcilkrts
  1083. info-target: maybe-info-target-liboffloadmic
  1084. info-target: maybe-info-target-libssp
  1085. info-target: maybe-info-target-newlib
  1086. info-target: maybe-info-target-libgcc
  1087. info-target: maybe-info-target-libbacktrace
  1088. info-target: maybe-info-target-libquadmath
  1089. info-target: maybe-info-target-libgfortran
  1090. info-target: maybe-info-target-libobjc
  1091. info-target: maybe-info-target-libgo
  1092. info-target: maybe-info-target-libtermcap
  1093. info-target: maybe-info-target-winsup
  1094. info-target: maybe-info-target-libgloss
  1095. info-target: maybe-info-target-libffi
  1096. info-target: maybe-info-target-libjava
  1097. info-target: maybe-info-target-zlib
  1098. info-target: maybe-info-target-boehm-gc
  1099. info-target: maybe-info-target-rda
  1100. info-target: maybe-info-target-libada
  1101. info-target: maybe-info-target-libgomp
  1102. info-target: maybe-info-target-libitm
  1103. info-target: maybe-info-target-libatomic
  1104. .PHONY: do-dvi
  1105. do-dvi:
  1106. @: $(MAKE); $(unstage)
  1107. @r=`${PWD_COMMAND}`; export r; \
  1108. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  1109. $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
  1110. dvi-target
  1111. .PHONY: dvi-host
  1112. dvi-host: maybe-dvi-bfd
  1113. dvi-host: maybe-dvi-opcodes
  1114. dvi-host: maybe-dvi-binutils
  1115. dvi-host: maybe-dvi-bison
  1116. dvi-host: maybe-dvi-cgen
  1117. dvi-host: maybe-dvi-dejagnu
  1118. dvi-host: maybe-dvi-etc
  1119. dvi-host: maybe-dvi-fastjar
  1120. dvi-host: maybe-dvi-fixincludes
  1121. dvi-host: maybe-dvi-flex
  1122. dvi-host: maybe-dvi-gas
  1123. dvi-host: maybe-dvi-gcc
  1124. dvi-host: maybe-dvi-gmp
  1125. dvi-host: maybe-dvi-mpfr
  1126. dvi-host: maybe-dvi-mpc
  1127. dvi-host: maybe-dvi-isl
  1128. dvi-host: maybe-dvi-libelf
  1129. dvi-host: maybe-dvi-gold
  1130. dvi-host: maybe-dvi-gprof
  1131. dvi-host: maybe-dvi-intl
  1132. dvi-host: maybe-dvi-tcl
  1133. dvi-host: maybe-dvi-itcl
  1134. dvi-host: maybe-dvi-ld
  1135. dvi-host: maybe-dvi-libbacktrace
  1136. dvi-host: maybe-dvi-libcpp
  1137. dvi-host: maybe-dvi-libdecnumber
  1138. dvi-host: maybe-dvi-libgui
  1139. dvi-host: maybe-dvi-libiberty
  1140. dvi-host: maybe-dvi-libiberty-linker-plugin
  1141. dvi-host: maybe-dvi-libiconv
  1142. dvi-host: maybe-dvi-m4
  1143. dvi-host: maybe-dvi-readline
  1144. dvi-host: maybe-dvi-sid
  1145. dvi-host: maybe-dvi-sim
  1146. dvi-host: maybe-dvi-texinfo
  1147. dvi-host: maybe-dvi-zlib
  1148. dvi-host: maybe-dvi-gdb
  1149. dvi-host: maybe-dvi-expect
  1150. dvi-host: maybe-dvi-guile
  1151. dvi-host: maybe-dvi-tk
  1152. dvi-host: maybe-dvi-libtermcap
  1153. dvi-host: maybe-dvi-utils
  1154. dvi-host: maybe-dvi-gnattools
  1155. dvi-host: maybe-dvi-lto-plugin
  1156. dvi-host: maybe-dvi-libcc1
  1157. dvi-host: maybe-dvi-gotools
  1158. .PHONY: dvi-target
  1159. dvi-target: maybe-dvi-target-libstdc++-v3
  1160. dvi-target: maybe-dvi-target-libsanitizer
  1161. dvi-target: maybe-dvi-target-libmpx
  1162. dvi-target: maybe-dvi-target-libvtv
  1163. dvi-target: maybe-dvi-target-libcilkrts
  1164. dvi-target: maybe-dvi-target-liboffloadmic
  1165. dvi-target: maybe-dvi-target-libssp
  1166. dvi-target: maybe-dvi-target-newlib
  1167. dvi-target: maybe-dvi-target-libgcc
  1168. dvi-target: maybe-dvi-target-libbacktrace
  1169. dvi-target: maybe-dvi-target-libquadmath
  1170. dvi-target: maybe-dvi-target-libgfortran
  1171. dvi-target: maybe-dvi-target-libobjc
  1172. dvi-target: maybe-dvi-target-libgo
  1173. dvi-target: maybe-dvi-target-libtermcap
  1174. dvi-target: maybe-dvi-target-winsup
  1175. dvi-target: maybe-dvi-target-libgloss
  1176. dvi-target: maybe-dvi-target-libffi
  1177. dvi-target: maybe-dvi-target-libjava
  1178. dvi-target: maybe-dvi-target-zlib
  1179. dvi-target: maybe-dvi-target-boehm-gc
  1180. dvi-target: maybe-dvi-target-rda
  1181. dvi-target: maybe-dvi-target-libada
  1182. dvi-target: maybe-dvi-target-libgomp
  1183. dvi-target: maybe-dvi-target-libitm
  1184. dvi-target: maybe-dvi-target-libatomic
  1185. .PHONY: do-pdf
  1186. do-pdf:
  1187. @: $(MAKE); $(unstage)
  1188. @r=`${PWD_COMMAND}`; export r; \
  1189. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  1190. $(MAKE) $(RECURSE_FLAGS_TO_PASS) pdf-host \
  1191. pdf-target
  1192. .PHONY: pdf-host
  1193. pdf-host: maybe-pdf-bfd
  1194. pdf-host: maybe-pdf-opcodes
  1195. pdf-host: maybe-pdf-binutils
  1196. pdf-host: maybe-pdf-bison
  1197. pdf-host: maybe-pdf-cgen
  1198. pdf-host: maybe-pdf-dejagnu
  1199. pdf-host: maybe-pdf-etc
  1200. pdf-host: maybe-pdf-fastjar
  1201. pdf-host: maybe-pdf-fixincludes
  1202. pdf-host: maybe-pdf-flex
  1203. pdf-host: maybe-pdf-gas
  1204. pdf-host: maybe-pdf-gcc
  1205. pdf-host: maybe-pdf-gmp
  1206. pdf-host: maybe-pdf-mpfr
  1207. pdf-host: maybe-pdf-mpc
  1208. pdf-host: maybe-pdf-isl
  1209. pdf-host: maybe-pdf-libelf
  1210. pdf-host: maybe-pdf-gold
  1211. pdf-host: maybe-pdf-gprof
  1212. pdf-host: maybe-pdf-intl
  1213. pdf-host: maybe-pdf-tcl
  1214. pdf-host: maybe-pdf-itcl
  1215. pdf-host: maybe-pdf-ld
  1216. pdf-host: maybe-pdf-libbacktrace
  1217. pdf-host: maybe-pdf-libcpp
  1218. pdf-host: maybe-pdf-libdecnumber
  1219. pdf-host: maybe-pdf-libgui
  1220. pdf-host: maybe-pdf-libiberty
  1221. pdf-host: maybe-pdf-libiberty-linker-plugin
  1222. pdf-host: maybe-pdf-libiconv
  1223. pdf-host: maybe-pdf-m4
  1224. pdf-host: maybe-pdf-readline
  1225. pdf-host: maybe-pdf-sid
  1226. pdf-host: maybe-pdf-sim
  1227. pdf-host: maybe-pdf-texinfo
  1228. pdf-host: maybe-pdf-zlib
  1229. pdf-host: maybe-pdf-gdb
  1230. pdf-host: maybe-pdf-expect
  1231. pdf-host: maybe-pdf-guile
  1232. pdf-host: maybe-pdf-tk
  1233. pdf-host: maybe-pdf-libtermcap
  1234. pdf-host: maybe-pdf-utils
  1235. pdf-host: maybe-pdf-gnattools
  1236. pdf-host: maybe-pdf-lto-plugin
  1237. pdf-host: maybe-pdf-libcc1
  1238. pdf-host: maybe-pdf-gotools
  1239. .PHONY: pdf-target
  1240. pdf-target: maybe-pdf-target-libstdc++-v3
  1241. pdf-target: maybe-pdf-target-libsanitizer
  1242. pdf-target: maybe-pdf-target-libmpx
  1243. pdf-target: maybe-pdf-target-libvtv
  1244. pdf-target: maybe-pdf-target-libcilkrts
  1245. pdf-target: maybe-pdf-target-liboffloadmic
  1246. pdf-target: maybe-pdf-target-libssp
  1247. pdf-target: maybe-pdf-target-newlib
  1248. pdf-target: maybe-pdf-target-libgcc
  1249. pdf-target: maybe-pdf-target-libbacktrace
  1250. pdf-target: maybe-pdf-target-libquadmath
  1251. pdf-target: maybe-pdf-target-libgfortran
  1252. pdf-target: maybe-pdf-target-libobjc
  1253. pdf-target: maybe-pdf-target-libgo
  1254. pdf-target: maybe-pdf-target-libtermcap
  1255. pdf-target: maybe-pdf-target-winsup
  1256. pdf-target: maybe-pdf-target-libgloss
  1257. pdf-target: maybe-pdf-target-libffi
  1258. pdf-target: maybe-pdf-target-libjava
  1259. pdf-target: maybe-pdf-target-zlib
  1260. pdf-target: maybe-pdf-target-boehm-gc
  1261. pdf-target: maybe-pdf-target-rda
  1262. pdf-target: maybe-pdf-target-libada
  1263. pdf-target: maybe-pdf-target-libgomp
  1264. pdf-target: maybe-pdf-target-libitm
  1265. pdf-target: maybe-pdf-target-libatomic
  1266. .PHONY: do-html
  1267. do-html:
  1268. @: $(MAKE); $(unstage)
  1269. @r=`${PWD_COMMAND}`; export r; \
  1270. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  1271. $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
  1272. html-target
  1273. .PHONY: html-host
  1274. html-host: maybe-html-bfd
  1275. html-host: maybe-html-opcodes
  1276. html-host: maybe-html-binutils
  1277. html-host: maybe-html-bison
  1278. html-host: maybe-html-cgen
  1279. html-host: maybe-html-dejagnu
  1280. html-host: maybe-html-etc
  1281. html-host: maybe-html-fastjar
  1282. html-host: maybe-html-fixincludes
  1283. html-host: maybe-html-flex
  1284. html-host: maybe-html-gas
  1285. html-host: maybe-html-gcc
  1286. html-host: maybe-html-gmp
  1287. html-host: maybe-html-mpfr
  1288. html-host: maybe-html-mpc
  1289. html-host: maybe-html-isl
  1290. html-host: maybe-html-libelf
  1291. html-host: maybe-html-gold
  1292. html-host: maybe-html-gprof
  1293. html-host: maybe-html-intl
  1294. html-host: maybe-html-tcl
  1295. html-host: maybe-html-itcl
  1296. html-host: maybe-html-ld
  1297. html-host: maybe-html-libbacktrace
  1298. html-host: maybe-html-libcpp
  1299. html-host: maybe-html-libdecnumber
  1300. html-host: maybe-html-libgui
  1301. html-host: maybe-html-libiberty
  1302. html-host: maybe-html-libiberty-linker-plugin
  1303. html-host: maybe-html-libiconv
  1304. html-host: maybe-html-m4
  1305. html-host: maybe-html-readline
  1306. html-host: maybe-html-sid
  1307. html-host: maybe-html-sim
  1308. html-host: maybe-html-texinfo
  1309. html-host: maybe-html-zlib
  1310. html-host: maybe-html-gdb
  1311. html-host: maybe-html-expect
  1312. html-host: maybe-html-guile
  1313. html-host: maybe-html-tk
  1314. html-host: maybe-html-libtermcap
  1315. html-host: maybe-html-utils
  1316. html-host: maybe-html-gnattools
  1317. html-host: maybe-html-lto-plugin
  1318. html-host: maybe-html-libcc1
  1319. html-host: maybe-html-gotools
  1320. .PHONY: html-target
  1321. html-target: maybe-html-target-libstdc++-v3
  1322. html-target: maybe-html-target-libsanitizer
  1323. html-target: maybe-html-target-libmpx
  1324. html-target: maybe-html-target-libvtv
  1325. html-target: maybe-html-target-libcilkrts
  1326. html-target: maybe-html-target-liboffloadmic
  1327. html-target: maybe-html-target-libssp
  1328. html-target: maybe-html-target-newlib
  1329. html-target: maybe-html-target-libgcc
  1330. html-target: maybe-html-target-libbacktrace
  1331. html-target: maybe-html-target-libquadmath
  1332. html-target: maybe-html-target-libgfortran
  1333. html-target: maybe-html-target-libobjc
  1334. html-target: maybe-html-target-libgo
  1335. html-target: maybe-html-target-libtermcap
  1336. html-target: maybe-html-target-winsup
  1337. html-target: maybe-html-target-libgloss
  1338. html-target: maybe-html-target-libffi
  1339. html-target: maybe-html-target-libjava
  1340. html-target: maybe-html-target-zlib
  1341. html-target: maybe-html-target-boehm-gc
  1342. html-target: maybe-html-target-rda
  1343. html-target: maybe-html-target-libada
  1344. html-target: maybe-html-target-libgomp
  1345. html-target: maybe-html-target-libitm
  1346. html-target: maybe-html-target-libatomic
  1347. .PHONY: do-TAGS
  1348. do-TAGS:
  1349. @: $(MAKE); $(unstage)
  1350. @r=`${PWD_COMMAND}`; export r; \
  1351. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  1352. $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
  1353. TAGS-target
  1354. .PHONY: TAGS-host
  1355. TAGS-host: maybe-TAGS-bfd
  1356. TAGS-host: maybe-TAGS-opcodes
  1357. TAGS-host: maybe-TAGS-binutils
  1358. TAGS-host: maybe-TAGS-bison
  1359. TAGS-host: maybe-TAGS-cgen
  1360. TAGS-host: maybe-TAGS-dejagnu
  1361. TAGS-host: maybe-TAGS-etc
  1362. TAGS-host: maybe-TAGS-fastjar
  1363. TAGS-host: maybe-TAGS-fixincludes
  1364. TAGS-host: maybe-TAGS-flex
  1365. TAGS-host: maybe-TAGS-gas
  1366. TAGS-host: maybe-TAGS-gcc
  1367. TAGS-host: maybe-TAGS-gmp
  1368. TAGS-host: maybe-TAGS-mpfr
  1369. TAGS-host: maybe-TAGS-mpc
  1370. TAGS-host: maybe-TAGS-isl
  1371. TAGS-host: maybe-TAGS-libelf
  1372. TAGS-host: maybe-TAGS-gold
  1373. TAGS-host: maybe-TAGS-gprof
  1374. TAGS-host: maybe-TAGS-intl
  1375. TAGS-host: maybe-TAGS-tcl
  1376. TAGS-host: maybe-TAGS-itcl
  1377. TAGS-host: maybe-TAGS-ld
  1378. TAGS-host: maybe-TAGS-libbacktrace
  1379. TAGS-host: maybe-TAGS-libcpp
  1380. TAGS-host: maybe-TAGS-libdecnumber
  1381. TAGS-host: maybe-TAGS-libgui
  1382. TAGS-host: maybe-TAGS-libiberty
  1383. TAGS-host: maybe-TAGS-libiberty-linker-plugin
  1384. TAGS-host: maybe-TAGS-libiconv
  1385. TAGS-host: maybe-TAGS-m4
  1386. TAGS-host: maybe-TAGS-readline
  1387. TAGS-host: maybe-TAGS-sid
  1388. TAGS-host: maybe-TAGS-sim
  1389. TAGS-host: maybe-TAGS-texinfo
  1390. TAGS-host: maybe-TAGS-zlib
  1391. TAGS-host: maybe-TAGS-gdb
  1392. TAGS-host: maybe-TAGS-expect
  1393. TAGS-host: maybe-TAGS-guile
  1394. TAGS-host: maybe-TAGS-tk
  1395. TAGS-host: maybe-TAGS-libtermcap
  1396. TAGS-host: maybe-TAGS-utils
  1397. TAGS-host: maybe-TAGS-gnattools
  1398. TAGS-host: maybe-TAGS-lto-plugin
  1399. TAGS-host: maybe-TAGS-libcc1
  1400. TAGS-host: maybe-TAGS-gotools
  1401. .PHONY: TAGS-target
  1402. TAGS-target: maybe-TAGS-target-libstdc++-v3
  1403. TAGS-target: maybe-TAGS-target-libsanitizer
  1404. TAGS-target: maybe-TAGS-target-libmpx
  1405. TAGS-target: maybe-TAGS-target-libvtv
  1406. TAGS-target: maybe-TAGS-target-libcilkrts
  1407. TAGS-target: maybe-TAGS-target-liboffloadmic
  1408. TAGS-target: maybe-TAGS-target-libssp
  1409. TAGS-target: maybe-TAGS-target-newlib
  1410. TAGS-target: maybe-TAGS-target-libgcc
  1411. TAGS-target: maybe-TAGS-target-libbacktrace
  1412. TAGS-target: maybe-TAGS-target-libquadmath
  1413. TAGS-target: maybe-TAGS-target-libgfortran
  1414. TAGS-target: maybe-TAGS-target-libobjc
  1415. TAGS-target: maybe-TAGS-target-libgo
  1416. TAGS-target: maybe-TAGS-target-libtermcap
  1417. TAGS-target: maybe-TAGS-target-winsup
  1418. TAGS-target: maybe-TAGS-target-libgloss
  1419. TAGS-target: maybe-TAGS-target-libffi
  1420. TAGS-target: maybe-TAGS-target-libjava
  1421. TAGS-target: maybe-TAGS-target-zlib
  1422. TAGS-target: maybe-TAGS-target-boehm-gc
  1423. TAGS-target: maybe-TAGS-target-rda
  1424. TAGS-target: maybe-TAGS-target-libada
  1425. TAGS-target: maybe-TAGS-target-libgomp
  1426. TAGS-target: maybe-TAGS-target-libitm
  1427. TAGS-target: maybe-TAGS-target-libatomic
  1428. .PHONY: do-install-info
  1429. do-install-info:
  1430. @: $(MAKE); $(unstage)
  1431. @r=`${PWD_COMMAND}`; export r; \
  1432. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  1433. $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
  1434. install-info-target
  1435. .PHONY: install-info-host
  1436. install-info-host: maybe-install-info-bfd
  1437. install-info-host: maybe-install-info-opcodes
  1438. install-info-host: maybe-install-info-binutils
  1439. install-info-host: maybe-install-info-bison
  1440. install-info-host: maybe-install-info-cgen
  1441. install-info-host: maybe-install-info-dejagnu
  1442. install-info-host: maybe-install-info-etc
  1443. install-info-host: maybe-install-info-fastjar
  1444. install-info-host: maybe-install-info-fixincludes
  1445. install-info-host: maybe-install-info-flex
  1446. install-info-host: maybe-install-info-gas
  1447. install-info-host: maybe-install-info-gcc
  1448. install-info-host: maybe-install-info-gmp
  1449. install-info-host: maybe-install-info-mpfr
  1450. install-info-host: maybe-install-info-mpc
  1451. install-info-host: maybe-install-info-isl
  1452. install-info-host: maybe-install-info-libelf
  1453. install-info-host: maybe-install-info-gold
  1454. install-info-host: maybe-install-info-gprof
  1455. install-info-host: maybe-install-info-intl
  1456. install-info-host: maybe-install-info-tcl
  1457. install-info-host: maybe-install-info-itcl
  1458. install-info-host: maybe-install-info-ld
  1459. install-info-host: maybe-install-info-libbacktrace
  1460. install-info-host: maybe-install-info-libcpp
  1461. install-info-host: maybe-install-info-libdecnumber
  1462. install-info-host: maybe-install-info-libgui
  1463. install-info-host: maybe-install-info-libiberty
  1464. install-info-host: maybe-install-info-libiberty-linker-plugin
  1465. install-info-host: maybe-install-info-libiconv
  1466. install-info-host: maybe-install-info-m4
  1467. install-info-host: maybe-install-info-readline
  1468. install-info-host: maybe-install-info-sid
  1469. install-info-host: maybe-install-info-sim
  1470. install-info-host: maybe-install-info-texinfo
  1471. install-info-host: maybe-install-info-zlib
  1472. install-info-host: maybe-install-info-gdb
  1473. install-info-host: maybe-install-info-expect
  1474. install-info-host: maybe-install-info-guile
  1475. install-info-host: maybe-install-info-tk
  1476. install-info-host: maybe-install-info-libtermcap
  1477. install-info-host: maybe-install-info-utils
  1478. install-info-host: maybe-install-info-gnattools
  1479. install-info-host: maybe-install-info-lto-plugin
  1480. install-info-host: maybe-install-info-libcc1
  1481. install-info-host: maybe-install-info-gotools
  1482. .PHONY: install-info-target
  1483. install-info-target: maybe-install-info-target-libstdc++-v3
  1484. install-info-target: maybe-install-info-target-libsanitizer
  1485. install-info-target: maybe-install-info-target-libmpx
  1486. install-info-target: maybe-install-info-target-libvtv
  1487. install-info-target: maybe-install-info-target-libcilkrts
  1488. install-info-target: maybe-install-info-target-liboffloadmic
  1489. install-info-target: maybe-install-info-target-libssp
  1490. install-info-target: maybe-install-info-target-newlib
  1491. install-info-target: maybe-install-info-target-libgcc
  1492. install-info-target: maybe-install-info-target-libbacktrace
  1493. install-info-target: maybe-install-info-target-libquadmath
  1494. install-info-target: maybe-install-info-target-libgfortran
  1495. install-info-target: maybe-install-info-target-libobjc
  1496. install-info-target: maybe-install-info-target-libgo
  1497. install-info-target: maybe-install-info-target-libtermcap
  1498. install-info-target: maybe-install-info-target-winsup
  1499. install-info-target: maybe-install-info-target-libgloss
  1500. install-info-target: maybe-install-info-target-libffi
  1501. install-info-target: maybe-install-info-target-libjava
  1502. install-info-target: maybe-install-info-target-zlib
  1503. install-info-target: maybe-install-info-target-boehm-gc
  1504. install-info-target: maybe-install-info-target-rda
  1505. install-info-target: maybe-install-info-target-libada
  1506. install-info-target: maybe-install-info-target-libgomp
  1507. install-info-target: maybe-install-info-target-libitm
  1508. install-info-target: maybe-install-info-target-libatomic
  1509. .PHONY: do-install-pdf
  1510. do-install-pdf:
  1511. @: $(MAKE); $(unstage)
  1512. @r=`${PWD_COMMAND}`; export r; \
  1513. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  1514. $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-pdf-host \
  1515. install-pdf-target
  1516. .PHONY: install-pdf-host
  1517. install-pdf-host: maybe-install-pdf-bfd
  1518. install-pdf-host: maybe-install-pdf-opcodes
  1519. install-pdf-host: maybe-install-pdf-binutils
  1520. install-pdf-host: maybe-install-pdf-bison
  1521. install-pdf-host: maybe-install-pdf-cgen
  1522. install-pdf-host: maybe-install-pdf-dejagnu
  1523. install-pdf-host: maybe-install-pdf-etc
  1524. install-pdf-host: maybe-install-pdf-fastjar
  1525. install-pdf-host: maybe-install-pdf-fixincludes
  1526. install-pdf-host: maybe-install-pdf-flex
  1527. install-pdf-host: maybe-install-pdf-gas
  1528. install-pdf-host: maybe-install-pdf-gcc
  1529. install-pdf-host: maybe-install-pdf-gmp
  1530. install-pdf-host: maybe-install-pdf-mpfr
  1531. install-pdf-host: maybe-install-pdf-mpc
  1532. install-pdf-host: maybe-install-pdf-isl
  1533. install-pdf-host: maybe-install-pdf-libelf
  1534. install-pdf-host: maybe-install-pdf-gold
  1535. install-pdf-host: maybe-install-pdf-gprof
  1536. install-pdf-host: maybe-install-pdf-intl
  1537. install-pdf-host: maybe-install-pdf-tcl
  1538. install-pdf-host: maybe-install-pdf-itcl
  1539. install-pdf-host: maybe-install-pdf-ld
  1540. install-pdf-host: maybe-install-pdf-libbacktrace
  1541. install-pdf-host: maybe-install-pdf-libcpp
  1542. install-pdf-host: maybe-install-pdf-libdecnumber
  1543. install-pdf-host: maybe-install-pdf-libgui
  1544. install-pdf-host: maybe-install-pdf-libiberty
  1545. install-pdf-host: maybe-install-pdf-libiberty-linker-plugin
  1546. install-pdf-host: maybe-install-pdf-libiconv
  1547. install-pdf-host: maybe-install-pdf-m4
  1548. install-pdf-host: maybe-install-pdf-readline
  1549. install-pdf-host: maybe-install-pdf-sid
  1550. install-pdf-host: maybe-install-pdf-sim
  1551. install-pdf-host: maybe-install-pdf-texinfo
  1552. install-pdf-host: maybe-install-pdf-zlib
  1553. install-pdf-host: maybe-install-pdf-gdb
  1554. install-pdf-host: maybe-install-pdf-expect
  1555. install-pdf-host: maybe-install-pdf-guile
  1556. install-pdf-host: maybe-install-pdf-tk
  1557. install-pdf-host: maybe-install-pdf-libtermcap
  1558. install-pdf-host: maybe-install-pdf-utils
  1559. install-pdf-host: maybe-install-pdf-gnattools
  1560. install-pdf-host: maybe-install-pdf-lto-plugin
  1561. install-pdf-host: maybe-install-pdf-libcc1
  1562. install-pdf-host: maybe-install-pdf-gotools
  1563. .PHONY: install-pdf-target
  1564. install-pdf-target: maybe-install-pdf-target-libstdc++-v3
  1565. install-pdf-target: maybe-install-pdf-target-libsanitizer
  1566. install-pdf-target: maybe-install-pdf-target-libmpx
  1567. install-pdf-target: maybe-install-pdf-target-libvtv
  1568. install-pdf-target: maybe-install-pdf-target-libcilkrts
  1569. install-pdf-target: maybe-install-pdf-target-liboffloadmic
  1570. install-pdf-target: maybe-install-pdf-target-libssp
  1571. install-pdf-target: maybe-install-pdf-target-newlib
  1572. install-pdf-target: maybe-install-pdf-target-libgcc
  1573. install-pdf-target: maybe-install-pdf-target-libbacktrace
  1574. install-pdf-target: maybe-install-pdf-target-libquadmath
  1575. install-pdf-target: maybe-install-pdf-target-libgfortran
  1576. install-pdf-target: maybe-install-pdf-target-libobjc
  1577. install-pdf-target: maybe-install-pdf-target-libgo
  1578. install-pdf-target: maybe-install-pdf-target-libtermcap
  1579. install-pdf-target: maybe-install-pdf-target-winsup
  1580. install-pdf-target: maybe-install-pdf-target-libgloss
  1581. install-pdf-target: maybe-install-pdf-target-libffi
  1582. install-pdf-target: maybe-install-pdf-target-libjava
  1583. install-pdf-target: maybe-install-pdf-target-zlib
  1584. install-pdf-target: maybe-install-pdf-target-boehm-gc
  1585. install-pdf-target: maybe-install-pdf-target-rda
  1586. install-pdf-target: maybe-install-pdf-target-libada
  1587. install-pdf-target: maybe-install-pdf-target-libgomp
  1588. install-pdf-target: maybe-install-pdf-target-libitm
  1589. install-pdf-target: maybe-install-pdf-target-libatomic
  1590. .PHONY: do-install-html
  1591. do-install-html:
  1592. @: $(MAKE); $(unstage)
  1593. @r=`${PWD_COMMAND}`; export r; \
  1594. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  1595. $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-html-host \
  1596. install-html-target
  1597. .PHONY: install-html-host
  1598. install-html-host: maybe-install-html-bfd
  1599. install-html-host: maybe-install-html-opcodes
  1600. install-html-host: maybe-install-html-binutils
  1601. install-html-host: maybe-install-html-bison
  1602. install-html-host: maybe-install-html-cgen
  1603. install-html-host: maybe-install-html-dejagnu
  1604. install-html-host: maybe-install-html-etc
  1605. install-html-host: maybe-install-html-fastjar
  1606. install-html-host: maybe-install-html-fixincludes
  1607. install-html-host: maybe-install-html-flex
  1608. install-html-host: maybe-install-html-gas
  1609. install-html-host: maybe-install-html-gcc
  1610. install-html-host: maybe-install-html-gmp
  1611. install-html-host: maybe-install-html-mpfr
  1612. install-html-host: maybe-install-html-mpc
  1613. install-html-host: maybe-install-html-isl
  1614. install-html-host: maybe-install-html-libelf
  1615. install-html-host: maybe-install-html-gold
  1616. install-html-host: maybe-install-html-gprof
  1617. install-html-host: maybe-install-html-intl
  1618. install-html-host: maybe-install-html-tcl
  1619. install-html-host: maybe-install-html-itcl
  1620. install-html-host: maybe-install-html-ld
  1621. install-html-host: maybe-install-html-libbacktrace
  1622. install-html-host: maybe-install-html-libcpp
  1623. install-html-host: maybe-install-html-libdecnumber
  1624. install-html-host: maybe-install-html-libgui
  1625. install-html-host: maybe-install-html-libiberty
  1626. install-html-host: maybe-install-html-libiberty-linker-plugin
  1627. install-html-host: maybe-install-html-libiconv
  1628. install-html-host: maybe-install-html-m4
  1629. install-html-host: maybe-install-html-readline
  1630. install-html-host: maybe-install-html-sid
  1631. install-html-host: maybe-install-html-sim
  1632. install-html-host: maybe-install-html-texinfo
  1633. install-html-host: maybe-install-html-zlib
  1634. install-html-host: maybe-install-html-gdb
  1635. install-html-host: maybe-install-html-expect
  1636. install-html-host: maybe-install-html-guile
  1637. install-html-host: maybe-install-html-tk
  1638. install-html-host: maybe-install-html-libtermcap
  1639. install-html-host: maybe-install-html-utils
  1640. install-html-host: maybe-install-html-gnattools
  1641. install-html-host: maybe-install-html-lto-plugin
  1642. install-html-host: maybe-install-html-libcc1
  1643. install-html-host: maybe-install-html-gotools
  1644. .PHONY: install-html-target
  1645. install-html-target: maybe-install-html-target-libstdc++-v3
  1646. install-html-target: maybe-install-html-target-libsanitizer
  1647. install-html-target: maybe-install-html-target-libmpx
  1648. install-html-target: maybe-install-html-target-libvtv
  1649. install-html-target: maybe-install-html-target-libcilkrts
  1650. install-html-target: maybe-install-html-target-liboffloadmic
  1651. install-html-target: maybe-install-html-target-libssp
  1652. install-html-target: maybe-install-html-target-newlib
  1653. install-html-target: maybe-install-html-target-libgcc
  1654. install-html-target: maybe-install-html-target-libbacktrace
  1655. install-html-target: maybe-install-html-target-libquadmath
  1656. install-html-target: maybe-install-html-target-libgfortran
  1657. install-html-target: maybe-install-html-target-libobjc
  1658. install-html-target: maybe-install-html-target-libgo
  1659. install-html-target: maybe-install-html-target-libtermcap
  1660. install-html-target: maybe-install-html-target-winsup
  1661. install-html-target: maybe-install-html-target-libgloss
  1662. install-html-target: maybe-install-html-target-libffi
  1663. install-html-target: maybe-install-html-target-libjava
  1664. install-html-target: maybe-install-html-target-zlib
  1665. install-html-target: maybe-install-html-target-boehm-gc
  1666. install-html-target: maybe-install-html-target-rda
  1667. install-html-target: maybe-install-html-target-libada
  1668. install-html-target: maybe-install-html-target-libgomp
  1669. install-html-target: maybe-install-html-target-libitm
  1670. install-html-target: maybe-install-html-target-libatomic
  1671. .PHONY: do-installcheck
  1672. do-installcheck:
  1673. @: $(MAKE); $(unstage)
  1674. @r=`${PWD_COMMAND}`; export r; \
  1675. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  1676. $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
  1677. installcheck-target
  1678. .PHONY: installcheck-host
  1679. installcheck-host: maybe-installcheck-bfd
  1680. installcheck-host: maybe-installcheck-opcodes
  1681. installcheck-host: maybe-installcheck-binutils
  1682. installcheck-host: maybe-installcheck-bison
  1683. installcheck-host: maybe-installcheck-cgen
  1684. installcheck-host: maybe-installcheck-dejagnu
  1685. installcheck-host: maybe-installcheck-etc
  1686. installcheck-host: maybe-installcheck-fastjar
  1687. installcheck-host: maybe-installcheck-fixincludes
  1688. installcheck-host: maybe-installcheck-flex
  1689. installcheck-host: maybe-installcheck-gas
  1690. installcheck-host: maybe-installcheck-gcc
  1691. installcheck-host: maybe-installcheck-gmp
  1692. installcheck-host: maybe-installcheck-mpfr
  1693. installcheck-host: maybe-installcheck-mpc
  1694. installcheck-host: maybe-installcheck-isl
  1695. installcheck-host: maybe-installcheck-libelf
  1696. installcheck-host: maybe-installcheck-gold
  1697. installcheck-host: maybe-installcheck-gprof
  1698. installcheck-host: maybe-installcheck-intl
  1699. installcheck-host: maybe-installcheck-tcl
  1700. installcheck-host: maybe-installcheck-itcl
  1701. installcheck-host: maybe-installcheck-ld
  1702. installcheck-host: maybe-installcheck-libbacktrace
  1703. installcheck-host: maybe-installcheck-libcpp
  1704. installcheck-host: maybe-installcheck-libdecnumber
  1705. installcheck-host: maybe-installcheck-libgui
  1706. installcheck-host: maybe-installcheck-libiberty
  1707. installcheck-host: maybe-installcheck-libiberty-linker-plugin
  1708. installcheck-host: maybe-installcheck-libiconv
  1709. installcheck-host: maybe-installcheck-m4
  1710. installcheck-host: maybe-installcheck-readline
  1711. installcheck-host: maybe-installcheck-sid
  1712. installcheck-host: maybe-installcheck-sim
  1713. installcheck-host: maybe-installcheck-texinfo
  1714. installcheck-host: maybe-installcheck-zlib
  1715. installcheck-host: maybe-installcheck-gdb
  1716. installcheck-host: maybe-installcheck-expect
  1717. installcheck-host: maybe-installcheck-guile
  1718. installcheck-host: maybe-installcheck-tk
  1719. installcheck-host: maybe-installcheck-libtermcap
  1720. installcheck-host: maybe-installcheck-utils
  1721. installcheck-host: maybe-installcheck-gnattools
  1722. installcheck-host: maybe-installcheck-lto-plugin
  1723. installcheck-host: maybe-installcheck-libcc1
  1724. installcheck-host: maybe-installcheck-gotools
  1725. .PHONY: installcheck-target
  1726. installcheck-target: maybe-installcheck-target-libstdc++-v3
  1727. installcheck-target: maybe-installcheck-target-libsanitizer
  1728. installcheck-target: maybe-installcheck-target-libmpx
  1729. installcheck-target: maybe-installcheck-target-libvtv
  1730. installcheck-target: maybe-installcheck-target-libcilkrts
  1731. installcheck-target: maybe-installcheck-target-liboffloadmic
  1732. installcheck-target: maybe-installcheck-target-libssp
  1733. installcheck-target: maybe-installcheck-target-newlib
  1734. installcheck-target: maybe-installcheck-target-libgcc
  1735. installcheck-target: maybe-installcheck-target-libbacktrace
  1736. installcheck-target: maybe-installcheck-target-libquadmath
  1737. installcheck-target: maybe-installcheck-target-libgfortran
  1738. installcheck-target: maybe-installcheck-target-libobjc
  1739. installcheck-target: maybe-installcheck-target-libgo
  1740. installcheck-target: maybe-installcheck-target-libtermcap
  1741. installcheck-target: maybe-installcheck-target-winsup
  1742. installcheck-target: maybe-installcheck-target-libgloss
  1743. installcheck-target: maybe-installcheck-target-libffi
  1744. installcheck-target: maybe-installcheck-target-libjava
  1745. installcheck-target: maybe-installcheck-target-zlib
  1746. installcheck-target: maybe-installcheck-target-boehm-gc
  1747. installcheck-target: maybe-installcheck-target-rda
  1748. installcheck-target: maybe-installcheck-target-libada
  1749. installcheck-target: maybe-installcheck-target-libgomp
  1750. installcheck-target: maybe-installcheck-target-libitm
  1751. installcheck-target: maybe-installcheck-target-libatomic
  1752. .PHONY: do-mostlyclean
  1753. do-mostlyclean:
  1754. @: $(MAKE); $(unstage)
  1755. @r=`${PWD_COMMAND}`; export r; \
  1756. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  1757. $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
  1758. mostlyclean-target
  1759. .PHONY: mostlyclean-host
  1760. mostlyclean-host: maybe-mostlyclean-bfd
  1761. mostlyclean-host: maybe-mostlyclean-opcodes
  1762. mostlyclean-host: maybe-mostlyclean-binutils
  1763. mostlyclean-host: maybe-mostlyclean-bison
  1764. mostlyclean-host: maybe-mostlyclean-cgen
  1765. mostlyclean-host: maybe-mostlyclean-dejagnu
  1766. mostlyclean-host: maybe-mostlyclean-etc
  1767. mostlyclean-host: maybe-mostlyclean-fastjar
  1768. mostlyclean-host: maybe-mostlyclean-fixincludes
  1769. mostlyclean-host: maybe-mostlyclean-flex
  1770. mostlyclean-host: maybe-mostlyclean-gas
  1771. mostlyclean-host: maybe-mostlyclean-gcc
  1772. mostlyclean-host: maybe-mostlyclean-gmp
  1773. mostlyclean-host: maybe-mostlyclean-mpfr
  1774. mostlyclean-host: maybe-mostlyclean-mpc
  1775. mostlyclean-host: maybe-mostlyclean-isl
  1776. mostlyclean-host: maybe-mostlyclean-libelf
  1777. mostlyclean-host: maybe-mostlyclean-gold
  1778. mostlyclean-host: maybe-mostlyclean-gprof
  1779. mostlyclean-host: maybe-mostlyclean-intl
  1780. mostlyclean-host: maybe-mostlyclean-tcl
  1781. mostlyclean-host: maybe-mostlyclean-itcl
  1782. mostlyclean-host: maybe-mostlyclean-ld
  1783. mostlyclean-host: maybe-mostlyclean-libbacktrace
  1784. mostlyclean-host: maybe-mostlyclean-libcpp
  1785. mostlyclean-host: maybe-mostlyclean-libdecnumber
  1786. mostlyclean-host: maybe-mostlyclean-libgui
  1787. mostlyclean-host: maybe-mostlyclean-libiberty
  1788. mostlyclean-host: maybe-mostlyclean-libiberty-linker-plugin
  1789. mostlyclean-host: maybe-mostlyclean-libiconv
  1790. mostlyclean-host: maybe-mostlyclean-m4
  1791. mostlyclean-host: maybe-mostlyclean-readline
  1792. mostlyclean-host: maybe-mostlyclean-sid
  1793. mostlyclean-host: maybe-mostlyclean-sim
  1794. mostlyclean-host: maybe-mostlyclean-texinfo
  1795. mostlyclean-host: maybe-mostlyclean-zlib
  1796. mostlyclean-host: maybe-mostlyclean-gdb
  1797. mostlyclean-host: maybe-mostlyclean-expect
  1798. mostlyclean-host: maybe-mostlyclean-guile
  1799. mostlyclean-host: maybe-mostlyclean-tk
  1800. mostlyclean-host: maybe-mostlyclean-libtermcap
  1801. mostlyclean-host: maybe-mostlyclean-utils
  1802. mostlyclean-host: maybe-mostlyclean-gnattools
  1803. mostlyclean-host: maybe-mostlyclean-lto-plugin
  1804. mostlyclean-host: maybe-mostlyclean-libcc1
  1805. mostlyclean-host: maybe-mostlyclean-gotools
  1806. .PHONY: mostlyclean-target
  1807. mostlyclean-target: maybe-mostlyclean-target-libstdc++-v3
  1808. mostlyclean-target: maybe-mostlyclean-target-libsanitizer
  1809. mostlyclean-target: maybe-mostlyclean-target-libmpx
  1810. mostlyclean-target: maybe-mostlyclean-target-libvtv
  1811. mostlyclean-target: maybe-mostlyclean-target-libcilkrts
  1812. mostlyclean-target: maybe-mostlyclean-target-liboffloadmic
  1813. mostlyclean-target: maybe-mostlyclean-target-libssp
  1814. mostlyclean-target: maybe-mostlyclean-target-newlib
  1815. mostlyclean-target: maybe-mostlyclean-target-libgcc
  1816. mostlyclean-target: maybe-mostlyclean-target-libbacktrace
  1817. mostlyclean-target: maybe-mostlyclean-target-libquadmath
  1818. mostlyclean-target: maybe-mostlyclean-target-libgfortran
  1819. mostlyclean-target: maybe-mostlyclean-target-libobjc
  1820. mostlyclean-target: maybe-mostlyclean-target-libgo
  1821. mostlyclean-target: maybe-mostlyclean-target-libtermcap
  1822. mostlyclean-target: maybe-mostlyclean-target-winsup
  1823. mostlyclean-target: maybe-mostlyclean-target-libgloss
  1824. mostlyclean-target: maybe-mostlyclean-target-libffi
  1825. mostlyclean-target: maybe-mostlyclean-target-libjava
  1826. mostlyclean-target: maybe-mostlyclean-target-zlib
  1827. mostlyclean-target: maybe-mostlyclean-target-boehm-gc
  1828. mostlyclean-target: maybe-mostlyclean-target-rda
  1829. mostlyclean-target: maybe-mostlyclean-target-libada
  1830. mostlyclean-target: maybe-mostlyclean-target-libgomp
  1831. mostlyclean-target: maybe-mostlyclean-target-libitm
  1832. mostlyclean-target: maybe-mostlyclean-target-libatomic
  1833. .PHONY: do-clean
  1834. do-clean:
  1835. @: $(MAKE); $(unstage)
  1836. @r=`${PWD_COMMAND}`; export r; \
  1837. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  1838. $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
  1839. clean-target
  1840. .PHONY: clean-host
  1841. clean-host: maybe-clean-bfd
  1842. clean-host: maybe-clean-opcodes
  1843. clean-host: maybe-clean-binutils
  1844. clean-host: maybe-clean-bison
  1845. clean-host: maybe-clean-cgen
  1846. clean-host: maybe-clean-dejagnu
  1847. clean-host: maybe-clean-etc
  1848. clean-host: maybe-clean-fastjar
  1849. clean-host: maybe-clean-fixincludes
  1850. clean-host: maybe-clean-flex
  1851. clean-host: maybe-clean-gas
  1852. clean-host: maybe-clean-gcc
  1853. clean-host: maybe-clean-gmp
  1854. clean-host: maybe-clean-mpfr
  1855. clean-host: maybe-clean-mpc
  1856. clean-host: maybe-clean-isl
  1857. clean-host: maybe-clean-libelf
  1858. clean-host: maybe-clean-gold
  1859. clean-host: maybe-clean-gprof
  1860. clean-host: maybe-clean-intl
  1861. clean-host: maybe-clean-tcl
  1862. clean-host: maybe-clean-itcl
  1863. clean-host: maybe-clean-ld
  1864. clean-host: maybe-clean-libbacktrace
  1865. clean-host: maybe-clean-libcpp
  1866. clean-host: maybe-clean-libdecnumber
  1867. clean-host: maybe-clean-libgui
  1868. clean-host: maybe-clean-libiberty
  1869. clean-host: maybe-clean-libiberty-linker-plugin
  1870. clean-host: maybe-clean-libiconv
  1871. clean-host: maybe-clean-m4
  1872. clean-host: maybe-clean-readline
  1873. clean-host: maybe-clean-sid
  1874. clean-host: maybe-clean-sim
  1875. clean-host: maybe-clean-texinfo
  1876. clean-host: maybe-clean-zlib
  1877. clean-host: maybe-clean-gdb
  1878. clean-host: maybe-clean-expect
  1879. clean-host: maybe-clean-guile
  1880. clean-host: maybe-clean-tk
  1881. clean-host: maybe-clean-libtermcap
  1882. clean-host: maybe-clean-utils
  1883. clean-host: maybe-clean-gnattools
  1884. clean-host: maybe-clean-lto-plugin
  1885. clean-host: maybe-clean-libcc1
  1886. clean-host: maybe-clean-gotools
  1887. .PHONY: clean-target
  1888. clean-target: maybe-clean-target-libstdc++-v3
  1889. clean-target: maybe-clean-target-libsanitizer
  1890. clean-target: maybe-clean-target-libmpx
  1891. clean-target: maybe-clean-target-libvtv
  1892. clean-target: maybe-clean-target-libcilkrts
  1893. clean-target: maybe-clean-target-liboffloadmic
  1894. clean-target: maybe-clean-target-libssp
  1895. clean-target: maybe-clean-target-newlib
  1896. clean-target: maybe-clean-target-libgcc
  1897. clean-target: maybe-clean-target-libbacktrace
  1898. clean-target: maybe-clean-target-libquadmath
  1899. clean-target: maybe-clean-target-libgfortran
  1900. clean-target: maybe-clean-target-libobjc
  1901. clean-target: maybe-clean-target-libgo
  1902. clean-target: maybe-clean-target-libtermcap
  1903. clean-target: maybe-clean-target-winsup
  1904. clean-target: maybe-clean-target-libgloss
  1905. clean-target: maybe-clean-target-libffi
  1906. clean-target: maybe-clean-target-libjava
  1907. clean-target: maybe-clean-target-zlib
  1908. clean-target: maybe-clean-target-boehm-gc
  1909. clean-target: maybe-clean-target-rda
  1910. clean-target: maybe-clean-target-libada
  1911. clean-target: maybe-clean-target-libgomp
  1912. clean-target: maybe-clean-target-libitm
  1913. clean-target: maybe-clean-target-libatomic
  1914. .PHONY: do-distclean
  1915. do-distclean:
  1916. @: $(MAKE); $(unstage)
  1917. @r=`${PWD_COMMAND}`; export r; \
  1918. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  1919. $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
  1920. distclean-target
  1921. .PHONY: distclean-host
  1922. distclean-host: maybe-distclean-bfd
  1923. distclean-host: maybe-distclean-opcodes
  1924. distclean-host: maybe-distclean-binutils
  1925. distclean-host: maybe-distclean-bison
  1926. distclean-host: maybe-distclean-cgen
  1927. distclean-host: maybe-distclean-dejagnu
  1928. distclean-host: maybe-distclean-etc
  1929. distclean-host: maybe-distclean-fastjar
  1930. distclean-host: maybe-distclean-fixincludes
  1931. distclean-host: maybe-distclean-flex
  1932. distclean-host: maybe-distclean-gas
  1933. distclean-host: maybe-distclean-gcc
  1934. distclean-host: maybe-distclean-gmp
  1935. distclean-host: maybe-distclean-mpfr
  1936. distclean-host: maybe-distclean-mpc
  1937. distclean-host: maybe-distclean-isl
  1938. distclean-host: maybe-distclean-libelf
  1939. distclean-host: maybe-distclean-gold
  1940. distclean-host: maybe-distclean-gprof
  1941. distclean-host: maybe-distclean-intl
  1942. distclean-host: maybe-distclean-tcl
  1943. distclean-host: maybe-distclean-itcl
  1944. distclean-host: maybe-distclean-ld
  1945. distclean-host: maybe-distclean-libbacktrace
  1946. distclean-host: maybe-distclean-libcpp
  1947. distclean-host: maybe-distclean-libdecnumber
  1948. distclean-host: maybe-distclean-libgui
  1949. distclean-host: maybe-distclean-libiberty
  1950. distclean-host: maybe-distclean-libiberty-linker-plugin
  1951. distclean-host: maybe-distclean-libiconv
  1952. distclean-host: maybe-distclean-m4
  1953. distclean-host: maybe-distclean-readline
  1954. distclean-host: maybe-distclean-sid
  1955. distclean-host: maybe-distclean-sim
  1956. distclean-host: maybe-distclean-texinfo
  1957. distclean-host: maybe-distclean-zlib
  1958. distclean-host: maybe-distclean-gdb
  1959. distclean-host: maybe-distclean-expect
  1960. distclean-host: maybe-distclean-guile
  1961. distclean-host: maybe-distclean-tk
  1962. distclean-host: maybe-distclean-libtermcap
  1963. distclean-host: maybe-distclean-utils
  1964. distclean-host: maybe-distclean-gnattools
  1965. distclean-host: maybe-distclean-lto-plugin
  1966. distclean-host: maybe-distclean-libcc1
  1967. distclean-host: maybe-distclean-gotools
  1968. .PHONY: distclean-target
  1969. distclean-target: maybe-distclean-target-libstdc++-v3
  1970. distclean-target: maybe-distclean-target-libsanitizer
  1971. distclean-target: maybe-distclean-target-libmpx
  1972. distclean-target: maybe-distclean-target-libvtv
  1973. distclean-target: maybe-distclean-target-libcilkrts
  1974. distclean-target: maybe-distclean-target-liboffloadmic
  1975. distclean-target: maybe-distclean-target-libssp
  1976. distclean-target: maybe-distclean-target-newlib
  1977. distclean-target: maybe-distclean-target-libgcc
  1978. distclean-target: maybe-distclean-target-libbacktrace
  1979. distclean-target: maybe-distclean-target-libquadmath
  1980. distclean-target: maybe-distclean-target-libgfortran
  1981. distclean-target: maybe-distclean-target-libobjc
  1982. distclean-target: maybe-distclean-target-libgo
  1983. distclean-target: maybe-distclean-target-libtermcap
  1984. distclean-target: maybe-distclean-target-winsup
  1985. distclean-target: maybe-distclean-target-libgloss
  1986. distclean-target: maybe-distclean-target-libffi
  1987. distclean-target: maybe-distclean-target-libjava
  1988. distclean-target: maybe-distclean-target-zlib
  1989. distclean-target: maybe-distclean-target-boehm-gc
  1990. distclean-target: maybe-distclean-target-rda
  1991. distclean-target: maybe-distclean-target-libada
  1992. distclean-target: maybe-distclean-target-libgomp
  1993. distclean-target: maybe-distclean-target-libitm
  1994. distclean-target: maybe-distclean-target-libatomic
  1995. .PHONY: do-maintainer-clean
  1996. do-maintainer-clean:
  1997. @: $(MAKE); $(unstage)
  1998. @r=`${PWD_COMMAND}`; export r; \
  1999. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2000. $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
  2001. maintainer-clean-target
  2002. .PHONY: maintainer-clean-host
  2003. maintainer-clean-host: maybe-maintainer-clean-bfd
  2004. maintainer-clean-host: maybe-maintainer-clean-opcodes
  2005. maintainer-clean-host: maybe-maintainer-clean-binutils
  2006. maintainer-clean-host: maybe-maintainer-clean-bison
  2007. maintainer-clean-host: maybe-maintainer-clean-cgen
  2008. maintainer-clean-host: maybe-maintainer-clean-dejagnu
  2009. maintainer-clean-host: maybe-maintainer-clean-etc
  2010. maintainer-clean-host: maybe-maintainer-clean-fastjar
  2011. maintainer-clean-host: maybe-maintainer-clean-fixincludes
  2012. maintainer-clean-host: maybe-maintainer-clean-flex
  2013. maintainer-clean-host: maybe-maintainer-clean-gas
  2014. maintainer-clean-host: maybe-maintainer-clean-gcc
  2015. maintainer-clean-host: maybe-maintainer-clean-gmp
  2016. maintainer-clean-host: maybe-maintainer-clean-mpfr
  2017. maintainer-clean-host: maybe-maintainer-clean-mpc
  2018. maintainer-clean-host: maybe-maintainer-clean-isl
  2019. maintainer-clean-host: maybe-maintainer-clean-libelf
  2020. maintainer-clean-host: maybe-maintainer-clean-gold
  2021. maintainer-clean-host: maybe-maintainer-clean-gprof
  2022. maintainer-clean-host: maybe-maintainer-clean-intl
  2023. maintainer-clean-host: maybe-maintainer-clean-tcl
  2024. maintainer-clean-host: maybe-maintainer-clean-itcl
  2025. maintainer-clean-host: maybe-maintainer-clean-ld
  2026. maintainer-clean-host: maybe-maintainer-clean-libbacktrace
  2027. maintainer-clean-host: maybe-maintainer-clean-libcpp
  2028. maintainer-clean-host: maybe-maintainer-clean-libdecnumber
  2029. maintainer-clean-host: maybe-maintainer-clean-libgui
  2030. maintainer-clean-host: maybe-maintainer-clean-libiberty
  2031. maintainer-clean-host: maybe-maintainer-clean-libiberty-linker-plugin
  2032. maintainer-clean-host: maybe-maintainer-clean-libiconv
  2033. maintainer-clean-host: maybe-maintainer-clean-m4
  2034. maintainer-clean-host: maybe-maintainer-clean-readline
  2035. maintainer-clean-host: maybe-maintainer-clean-sid
  2036. maintainer-clean-host: maybe-maintainer-clean-sim
  2037. maintainer-clean-host: maybe-maintainer-clean-texinfo
  2038. maintainer-clean-host: maybe-maintainer-clean-zlib
  2039. maintainer-clean-host: maybe-maintainer-clean-gdb
  2040. maintainer-clean-host: maybe-maintainer-clean-expect
  2041. maintainer-clean-host: maybe-maintainer-clean-guile
  2042. maintainer-clean-host: maybe-maintainer-clean-tk
  2043. maintainer-clean-host: maybe-maintainer-clean-libtermcap
  2044. maintainer-clean-host: maybe-maintainer-clean-utils
  2045. maintainer-clean-host: maybe-maintainer-clean-gnattools
  2046. maintainer-clean-host: maybe-maintainer-clean-lto-plugin
  2047. maintainer-clean-host: maybe-maintainer-clean-libcc1
  2048. maintainer-clean-host: maybe-maintainer-clean-gotools
  2049. .PHONY: maintainer-clean-target
  2050. maintainer-clean-target: maybe-maintainer-clean-target-libstdc++-v3
  2051. maintainer-clean-target: maybe-maintainer-clean-target-libsanitizer
  2052. maintainer-clean-target: maybe-maintainer-clean-target-libmpx
  2053. maintainer-clean-target: maybe-maintainer-clean-target-libvtv
  2054. maintainer-clean-target: maybe-maintainer-clean-target-libcilkrts
  2055. maintainer-clean-target: maybe-maintainer-clean-target-liboffloadmic
  2056. maintainer-clean-target: maybe-maintainer-clean-target-libssp
  2057. maintainer-clean-target: maybe-maintainer-clean-target-newlib
  2058. maintainer-clean-target: maybe-maintainer-clean-target-libgcc
  2059. maintainer-clean-target: maybe-maintainer-clean-target-libbacktrace
  2060. maintainer-clean-target: maybe-maintainer-clean-target-libquadmath
  2061. maintainer-clean-target: maybe-maintainer-clean-target-libgfortran
  2062. maintainer-clean-target: maybe-maintainer-clean-target-libobjc
  2063. maintainer-clean-target: maybe-maintainer-clean-target-libgo
  2064. maintainer-clean-target: maybe-maintainer-clean-target-libtermcap
  2065. maintainer-clean-target: maybe-maintainer-clean-target-winsup
  2066. maintainer-clean-target: maybe-maintainer-clean-target-libgloss
  2067. maintainer-clean-target: maybe-maintainer-clean-target-libffi
  2068. maintainer-clean-target: maybe-maintainer-clean-target-libjava
  2069. maintainer-clean-target: maybe-maintainer-clean-target-zlib
  2070. maintainer-clean-target: maybe-maintainer-clean-target-boehm-gc
  2071. maintainer-clean-target: maybe-maintainer-clean-target-rda
  2072. maintainer-clean-target: maybe-maintainer-clean-target-libada
  2073. maintainer-clean-target: maybe-maintainer-clean-target-libgomp
  2074. maintainer-clean-target: maybe-maintainer-clean-target-libitm
  2075. maintainer-clean-target: maybe-maintainer-clean-target-libatomic
  2076. # Here are the targets which correspond to the do-X targets.
  2077. .PHONY: info installcheck dvi pdf html
  2078. .PHONY: install-info install-pdf install-html
  2079. .PHONY: clean distclean mostlyclean maintainer-clean realclean
  2080. .PHONY: local-clean local-distclean local-maintainer-clean
  2081. info: do-info
  2082. installcheck: do-installcheck
  2083. dvi: do-dvi
  2084. pdf: do-pdf
  2085. html: do-html
  2086. # Make sure makeinfo is built before we do a `make info', if we're
  2087. # in fact building texinfo.
  2088. do-info: maybe-all-texinfo
  2089. install-info: do-install-info dir.info
  2090. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2091. if [ -f dir.info ] ; then \
  2092. $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
  2093. else true ; fi
  2094. install-pdf: do-install-pdf
  2095. install-html: do-install-html
  2096. local-clean:
  2097. -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
  2098. local-distclean:
  2099. -rm -f Makefile config.status config.cache mh-frag mt-frag
  2100. -rm -f maybedep.tmp serdep.tmp
  2101. -if [ "$(TARGET_SUBDIR)" != "." ]; then \
  2102. rm -rf $(TARGET_SUBDIR); \
  2103. else true; fi
  2104. -rm -rf $(BUILD_SUBDIR)
  2105. -if [ "$(HOST_SUBDIR)" != "." ]; then \
  2106. rm -rf $(HOST_SUBDIR); \
  2107. else true; fi
  2108. -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
  2109. -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
  2110. -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
  2111. -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
  2112. -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
  2113. -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
  2114. local-maintainer-clean:
  2115. @echo "This command is intended for maintainers to use;"
  2116. @echo "it deletes files that may require special tools to rebuild."
  2117. clean: do-clean local-clean
  2118. mostlyclean: do-mostlyclean local-clean
  2119. distclean: do-distclean local-clean local-distclean
  2120. maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
  2121. maintainer-clean: local-distclean
  2122. realclean: maintainer-clean
  2123. # Check target.
  2124. .PHONY: check do-check
  2125. check: do-check
  2126. # Only include modules actually being configured and built.
  2127. .PHONY: check-host
  2128. check-host: \
  2129. maybe-check-bfd \
  2130. maybe-check-opcodes \
  2131. maybe-check-binutils \
  2132. maybe-check-bison \
  2133. maybe-check-cgen \
  2134. maybe-check-dejagnu \
  2135. maybe-check-etc \
  2136. maybe-check-fastjar \
  2137. maybe-check-fixincludes \
  2138. maybe-check-flex \
  2139. maybe-check-gas \
  2140. maybe-check-gcc \
  2141. maybe-check-gmp \
  2142. maybe-check-mpfr \
  2143. maybe-check-mpc \
  2144. maybe-check-isl \
  2145. maybe-check-libelf \
  2146. maybe-check-gold \
  2147. maybe-check-gprof \
  2148. maybe-check-intl \
  2149. maybe-check-tcl \
  2150. maybe-check-itcl \
  2151. maybe-check-ld \
  2152. maybe-check-libbacktrace \
  2153. maybe-check-libcpp \
  2154. maybe-check-libdecnumber \
  2155. maybe-check-libgui \
  2156. maybe-check-libiberty \
  2157. maybe-check-libiberty-linker-plugin \
  2158. maybe-check-libiconv \
  2159. maybe-check-m4 \
  2160. maybe-check-readline \
  2161. maybe-check-sid \
  2162. maybe-check-sim \
  2163. maybe-check-texinfo \
  2164. maybe-check-zlib \
  2165. maybe-check-gdb \
  2166. maybe-check-expect \
  2167. maybe-check-guile \
  2168. maybe-check-tk \
  2169. maybe-check-libtermcap \
  2170. maybe-check-utils \
  2171. maybe-check-gnattools \
  2172. maybe-check-lto-plugin \
  2173. maybe-check-libcc1 \
  2174. maybe-check-gotools
  2175. .PHONY: check-target
  2176. check-target: \
  2177. maybe-check-target-libstdc++-v3 \
  2178. maybe-check-target-libsanitizer \
  2179. maybe-check-target-libmpx \
  2180. maybe-check-target-libvtv \
  2181. maybe-check-target-libcilkrts \
  2182. maybe-check-target-liboffloadmic \
  2183. maybe-check-target-libssp \
  2184. maybe-check-target-newlib \
  2185. maybe-check-target-libgcc \
  2186. maybe-check-target-libbacktrace \
  2187. maybe-check-target-libquadmath \
  2188. maybe-check-target-libgfortran \
  2189. maybe-check-target-libobjc \
  2190. maybe-check-target-libgo \
  2191. maybe-check-target-libtermcap \
  2192. maybe-check-target-winsup \
  2193. maybe-check-target-libgloss \
  2194. maybe-check-target-libffi \
  2195. maybe-check-target-libjava \
  2196. maybe-check-target-zlib \
  2197. maybe-check-target-boehm-gc \
  2198. maybe-check-target-rda \
  2199. maybe-check-target-libada \
  2200. maybe-check-target-libgomp \
  2201. maybe-check-target-libitm \
  2202. maybe-check-target-libatomic
  2203. do-check:
  2204. @: $(MAKE); $(unstage)
  2205. @r=`${PWD_COMMAND}`; export r; \
  2206. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2207. $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
  2208. # Automated reporting of test results.
  2209. warning.log: build.log
  2210. $(srcdir)/contrib/warn_summary build.log > $@
  2211. mail-report.log:
  2212. if test x'$(BOOT_CFLAGS)' != x''; then \
  2213. BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
  2214. fi; \
  2215. $(srcdir)/contrib/test_summary -t >$@
  2216. chmod +x $@
  2217. echo If you really want to send e-mail, run ./$@ now
  2218. mail-report-with-warnings.log: warning.log
  2219. if test x'$(BOOT_CFLAGS)' != x''; then \
  2220. BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
  2221. fi; \
  2222. $(srcdir)/contrib/test_summary -t -i warning.log >$@
  2223. chmod +x $@
  2224. echo If you really want to send e-mail, run ./$@ now
  2225. # Local Vim config
  2226. $(srcdir)/.local.vimrc:
  2227. $(LN_S) contrib/vimrc $@
  2228. $(srcdir)/.lvimrc:
  2229. $(LN_S) contrib/vimrc $@
  2230. vimrc: $(srcdir)/.local.vimrc $(srcdir)/.lvimrc
  2231. .PHONY: vimrc
  2232. # Installation targets.
  2233. .PHONY: install uninstall
  2234. install:
  2235. @: $(MAKE); $(unstage)
  2236. @r=`${PWD_COMMAND}`; export r; \
  2237. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2238. $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
  2239. .PHONY: install-host-nogcc
  2240. install-host-nogcc: \
  2241. maybe-install-bfd \
  2242. maybe-install-opcodes \
  2243. maybe-install-binutils \
  2244. maybe-install-bison \
  2245. maybe-install-cgen \
  2246. maybe-install-dejagnu \
  2247. maybe-install-etc \
  2248. maybe-install-fastjar \
  2249. maybe-install-fixincludes \
  2250. maybe-install-flex \
  2251. maybe-install-gas \
  2252. maybe-install-gmp \
  2253. maybe-install-mpfr \
  2254. maybe-install-mpc \
  2255. maybe-install-isl \
  2256. maybe-install-libelf \
  2257. maybe-install-gold \
  2258. maybe-install-gprof \
  2259. maybe-install-intl \
  2260. maybe-install-tcl \
  2261. maybe-install-itcl \
  2262. maybe-install-ld \
  2263. maybe-install-libbacktrace \
  2264. maybe-install-libcpp \
  2265. maybe-install-libdecnumber \
  2266. maybe-install-libgui \
  2267. maybe-install-libiberty \
  2268. maybe-install-libiberty-linker-plugin \
  2269. maybe-install-libiconv \
  2270. maybe-install-m4 \
  2271. maybe-install-readline \
  2272. maybe-install-sid \
  2273. maybe-install-sim \
  2274. maybe-install-texinfo \
  2275. maybe-install-zlib \
  2276. maybe-install-gdb \
  2277. maybe-install-expect \
  2278. maybe-install-guile \
  2279. maybe-install-tk \
  2280. maybe-install-libtermcap \
  2281. maybe-install-utils \
  2282. maybe-install-gnattools \
  2283. maybe-install-lto-plugin \
  2284. maybe-install-libcc1 \
  2285. maybe-install-gotools
  2286. .PHONY: install-host
  2287. install-host: \
  2288. maybe-install-bfd \
  2289. maybe-install-opcodes \
  2290. maybe-install-binutils \
  2291. maybe-install-bison \
  2292. maybe-install-cgen \
  2293. maybe-install-dejagnu \
  2294. maybe-install-etc \
  2295. maybe-install-fastjar \
  2296. maybe-install-fixincludes \
  2297. maybe-install-flex \
  2298. maybe-install-gas \
  2299. maybe-install-gcc \
  2300. maybe-install-gmp \
  2301. maybe-install-mpfr \
  2302. maybe-install-mpc \
  2303. maybe-install-isl \
  2304. maybe-install-libelf \
  2305. maybe-install-gold \
  2306. maybe-install-gprof \
  2307. maybe-install-intl \
  2308. maybe-install-tcl \
  2309. maybe-install-itcl \
  2310. maybe-install-ld \
  2311. maybe-install-libbacktrace \
  2312. maybe-install-libcpp \
  2313. maybe-install-libdecnumber \
  2314. maybe-install-libgui \
  2315. maybe-install-libiberty \
  2316. maybe-install-libiberty-linker-plugin \
  2317. maybe-install-libiconv \
  2318. maybe-install-m4 \
  2319. maybe-install-readline \
  2320. maybe-install-sid \
  2321. maybe-install-sim \
  2322. maybe-install-texinfo \
  2323. maybe-install-zlib \
  2324. maybe-install-gdb \
  2325. maybe-install-expect \
  2326. maybe-install-guile \
  2327. maybe-install-tk \
  2328. maybe-install-libtermcap \
  2329. maybe-install-utils \
  2330. maybe-install-gnattools \
  2331. maybe-install-lto-plugin \
  2332. maybe-install-libcc1 \
  2333. maybe-install-gotools
  2334. .PHONY: install-target
  2335. install-target: \
  2336. maybe-install-target-libstdc++-v3 \
  2337. maybe-install-target-libsanitizer \
  2338. maybe-install-target-libmpx \
  2339. maybe-install-target-libvtv \
  2340. maybe-install-target-libcilkrts \
  2341. maybe-install-target-liboffloadmic \
  2342. maybe-install-target-libssp \
  2343. maybe-install-target-newlib \
  2344. maybe-install-target-libgcc \
  2345. maybe-install-target-libbacktrace \
  2346. maybe-install-target-libquadmath \
  2347. maybe-install-target-libgfortran \
  2348. maybe-install-target-libobjc \
  2349. maybe-install-target-libgo \
  2350. maybe-install-target-libtermcap \
  2351. maybe-install-target-winsup \
  2352. maybe-install-target-libgloss \
  2353. maybe-install-target-libffi \
  2354. maybe-install-target-libjava \
  2355. maybe-install-target-zlib \
  2356. maybe-install-target-boehm-gc \
  2357. maybe-install-target-rda \
  2358. maybe-install-target-libada \
  2359. maybe-install-target-libgomp \
  2360. maybe-install-target-libitm \
  2361. maybe-install-target-libatomic
  2362. uninstall:
  2363. @echo "the uninstall target is not supported in this tree"
  2364. .PHONY: install.all
  2365. install.all: install-no-fixedincludes
  2366. @if [ -f ./gcc/Makefile ] ; then \
  2367. r=`${PWD_COMMAND}` ; export r ; \
  2368. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2369. $(HOST_EXPORTS) \
  2370. (cd ./gcc && \
  2371. $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
  2372. else \
  2373. true ; \
  2374. fi
  2375. # install-no-fixedincludes is used to allow the elaboration of binary packages
  2376. # suitable for distribution, where we cannot include the fixed system header
  2377. # files.
  2378. .PHONY: install-no-fixedincludes
  2379. install-no-fixedincludes: installdirs install-host-nogcc \
  2380. install-target gcc-install-no-fixedincludes
  2381. .PHONY: install-strip
  2382. install-strip:
  2383. @: $(MAKE); $(unstage)
  2384. @r=`${PWD_COMMAND}`; export r; \
  2385. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2386. $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-strip-host install-strip-target
  2387. .PHONY: install-strip-host
  2388. install-strip-host: \
  2389. maybe-install-strip-bfd \
  2390. maybe-install-strip-opcodes \
  2391. maybe-install-strip-binutils \
  2392. maybe-install-strip-bison \
  2393. maybe-install-strip-cgen \
  2394. maybe-install-strip-dejagnu \
  2395. maybe-install-strip-etc \
  2396. maybe-install-strip-fastjar \
  2397. maybe-install-strip-fixincludes \
  2398. maybe-install-strip-flex \
  2399. maybe-install-strip-gas \
  2400. maybe-install-strip-gcc \
  2401. maybe-install-strip-gmp \
  2402. maybe-install-strip-mpfr \
  2403. maybe-install-strip-mpc \
  2404. maybe-install-strip-isl \
  2405. maybe-install-strip-libelf \
  2406. maybe-install-strip-gold \
  2407. maybe-install-strip-gprof \
  2408. maybe-install-strip-intl \
  2409. maybe-install-strip-tcl \
  2410. maybe-install-strip-itcl \
  2411. maybe-install-strip-ld \
  2412. maybe-install-strip-libbacktrace \
  2413. maybe-install-strip-libcpp \
  2414. maybe-install-strip-libdecnumber \
  2415. maybe-install-strip-libgui \
  2416. maybe-install-strip-libiberty \
  2417. maybe-install-strip-libiberty-linker-plugin \
  2418. maybe-install-strip-libiconv \
  2419. maybe-install-strip-m4 \
  2420. maybe-install-strip-readline \
  2421. maybe-install-strip-sid \
  2422. maybe-install-strip-sim \
  2423. maybe-install-strip-texinfo \
  2424. maybe-install-strip-zlib \
  2425. maybe-install-strip-gdb \
  2426. maybe-install-strip-expect \
  2427. maybe-install-strip-guile \
  2428. maybe-install-strip-tk \
  2429. maybe-install-strip-libtermcap \
  2430. maybe-install-strip-utils \
  2431. maybe-install-strip-gnattools \
  2432. maybe-install-strip-lto-plugin \
  2433. maybe-install-strip-libcc1 \
  2434. maybe-install-strip-gotools
  2435. .PHONY: install-strip-target
  2436. install-strip-target: \
  2437. maybe-install-strip-target-libstdc++-v3 \
  2438. maybe-install-strip-target-libsanitizer \
  2439. maybe-install-strip-target-libmpx \
  2440. maybe-install-strip-target-libvtv \
  2441. maybe-install-strip-target-libcilkrts \
  2442. maybe-install-strip-target-liboffloadmic \
  2443. maybe-install-strip-target-libssp \
  2444. maybe-install-strip-target-newlib \
  2445. maybe-install-strip-target-libgcc \
  2446. maybe-install-strip-target-libbacktrace \
  2447. maybe-install-strip-target-libquadmath \
  2448. maybe-install-strip-target-libgfortran \
  2449. maybe-install-strip-target-libobjc \
  2450. maybe-install-strip-target-libgo \
  2451. maybe-install-strip-target-libtermcap \
  2452. maybe-install-strip-target-winsup \
  2453. maybe-install-strip-target-libgloss \
  2454. maybe-install-strip-target-libffi \
  2455. maybe-install-strip-target-libjava \
  2456. maybe-install-strip-target-zlib \
  2457. maybe-install-strip-target-boehm-gc \
  2458. maybe-install-strip-target-rda \
  2459. maybe-install-strip-target-libada \
  2460. maybe-install-strip-target-libgomp \
  2461. maybe-install-strip-target-libitm \
  2462. maybe-install-strip-target-libatomic
  2463. ### other supporting targets
  2464. MAKEDIRS= \
  2465. $(DESTDIR)$(prefix) \
  2466. $(DESTDIR)$(exec_prefix)
  2467. .PHONY: installdirs
  2468. installdirs: mkinstalldirs
  2469. $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
  2470. dir.info: do-install-info
  2471. if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
  2472. $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
  2473. mv -f dir.info.new dir.info ; \
  2474. else true ; \
  2475. fi
  2476. dist:
  2477. @echo "Building a full distribution of this tree isn't done"
  2478. @echo "via 'make dist'. Check out the etc/ subdirectory"
  2479. etags tags: TAGS
  2480. # Right now this just builds TAGS in each subdirectory. emacs19 has the
  2481. # ability to use several tags files at once, so there is probably no need
  2482. # to combine them into one big TAGS file (like CVS 1.3 does). We could
  2483. # (if we felt like it) have this Makefile write a piece of elisp which
  2484. # the user could load to tell emacs19 where all the TAGS files we just
  2485. # built are.
  2486. TAGS: do-TAGS
  2487. # ------------------------------------
  2488. # Macros for configure and all targets
  2489. # ------------------------------------
  2490. # --------------------------------------
  2491. # Modules which run on the build machine
  2492. # --------------------------------------
  2493. .PHONY: configure-build-libiberty maybe-configure-build-libiberty
  2494. maybe-configure-build-libiberty:
  2495. @if gcc-bootstrap
  2496. configure-build-libiberty: stage_current
  2497. @endif gcc-bootstrap
  2498. @if build-libiberty
  2499. maybe-configure-build-libiberty: configure-build-libiberty
  2500. configure-build-libiberty:
  2501. @: $(MAKE); $(unstage)
  2502. @r=`${PWD_COMMAND}`; export r; \
  2503. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2504. test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
  2505. $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
  2506. $(BUILD_EXPORTS) \
  2507. echo Configuring in $(BUILD_SUBDIR)/libiberty; \
  2508. cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
  2509. case $(srcdir) in \
  2510. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  2511. *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
  2512. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  2513. esac; \
  2514. module_srcdir=libiberty; \
  2515. rm -f no-such-file || : ; \
  2516. CONFIG_SITE=no-such-file $(SHELL) \
  2517. $$s/$$module_srcdir/configure \
  2518. --srcdir=$${topdir}/$$module_srcdir \
  2519. $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
  2520. --target=${target_alias} \
  2521. || exit 1
  2522. @endif build-libiberty
  2523. .PHONY: all-build-libiberty maybe-all-build-libiberty
  2524. maybe-all-build-libiberty:
  2525. @if gcc-bootstrap
  2526. all-build-libiberty: stage_current
  2527. @endif gcc-bootstrap
  2528. @if build-libiberty
  2529. TARGET-build-libiberty=all
  2530. maybe-all-build-libiberty: all-build-libiberty
  2531. all-build-libiberty: configure-build-libiberty
  2532. @: $(MAKE); $(unstage)
  2533. @r=`${PWD_COMMAND}`; export r; \
  2534. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2535. $(BUILD_EXPORTS) \
  2536. (cd $(BUILD_SUBDIR)/libiberty && \
  2537. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
  2538. $(TARGET-build-libiberty))
  2539. @endif build-libiberty
  2540. .PHONY: configure-build-bison maybe-configure-build-bison
  2541. maybe-configure-build-bison:
  2542. @if gcc-bootstrap
  2543. configure-build-bison: stage_current
  2544. @endif gcc-bootstrap
  2545. @if build-bison
  2546. maybe-configure-build-bison: configure-build-bison
  2547. configure-build-bison:
  2548. @: $(MAKE); $(unstage)
  2549. @r=`${PWD_COMMAND}`; export r; \
  2550. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2551. test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
  2552. $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
  2553. $(BUILD_EXPORTS) \
  2554. echo Configuring in $(BUILD_SUBDIR)/bison; \
  2555. cd "$(BUILD_SUBDIR)/bison" || exit 1; \
  2556. case $(srcdir) in \
  2557. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  2558. *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
  2559. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  2560. esac; \
  2561. module_srcdir=bison; \
  2562. rm -f no-such-file || : ; \
  2563. CONFIG_SITE=no-such-file $(SHELL) \
  2564. $$s/$$module_srcdir/configure \
  2565. --srcdir=$${topdir}/$$module_srcdir \
  2566. $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
  2567. --target=${target_alias} \
  2568. || exit 1
  2569. @endif build-bison
  2570. .PHONY: all-build-bison maybe-all-build-bison
  2571. maybe-all-build-bison:
  2572. @if gcc-bootstrap
  2573. all-build-bison: stage_current
  2574. @endif gcc-bootstrap
  2575. @if build-bison
  2576. TARGET-build-bison=all
  2577. maybe-all-build-bison: all-build-bison
  2578. all-build-bison: configure-build-bison
  2579. @: $(MAKE); $(unstage)
  2580. @r=`${PWD_COMMAND}`; export r; \
  2581. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2582. $(BUILD_EXPORTS) \
  2583. (cd $(BUILD_SUBDIR)/bison && \
  2584. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
  2585. $(TARGET-build-bison))
  2586. @endif build-bison
  2587. .PHONY: configure-build-flex maybe-configure-build-flex
  2588. maybe-configure-build-flex:
  2589. @if gcc-bootstrap
  2590. configure-build-flex: stage_current
  2591. @endif gcc-bootstrap
  2592. @if build-flex
  2593. maybe-configure-build-flex: configure-build-flex
  2594. configure-build-flex:
  2595. @: $(MAKE); $(unstage)
  2596. @r=`${PWD_COMMAND}`; export r; \
  2597. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2598. test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
  2599. $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
  2600. $(BUILD_EXPORTS) \
  2601. echo Configuring in $(BUILD_SUBDIR)/flex; \
  2602. cd "$(BUILD_SUBDIR)/flex" || exit 1; \
  2603. case $(srcdir) in \
  2604. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  2605. *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
  2606. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  2607. esac; \
  2608. module_srcdir=flex; \
  2609. rm -f no-such-file || : ; \
  2610. CONFIG_SITE=no-such-file $(SHELL) \
  2611. $$s/$$module_srcdir/configure \
  2612. --srcdir=$${topdir}/$$module_srcdir \
  2613. $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
  2614. --target=${target_alias} \
  2615. || exit 1
  2616. @endif build-flex
  2617. .PHONY: all-build-flex maybe-all-build-flex
  2618. maybe-all-build-flex:
  2619. @if gcc-bootstrap
  2620. all-build-flex: stage_current
  2621. @endif gcc-bootstrap
  2622. @if build-flex
  2623. TARGET-build-flex=all
  2624. maybe-all-build-flex: all-build-flex
  2625. all-build-flex: configure-build-flex
  2626. @: $(MAKE); $(unstage)
  2627. @r=`${PWD_COMMAND}`; export r; \
  2628. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2629. $(BUILD_EXPORTS) \
  2630. (cd $(BUILD_SUBDIR)/flex && \
  2631. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
  2632. $(TARGET-build-flex))
  2633. @endif build-flex
  2634. .PHONY: configure-build-m4 maybe-configure-build-m4
  2635. maybe-configure-build-m4:
  2636. @if gcc-bootstrap
  2637. configure-build-m4: stage_current
  2638. @endif gcc-bootstrap
  2639. @if build-m4
  2640. maybe-configure-build-m4: configure-build-m4
  2641. configure-build-m4:
  2642. @: $(MAKE); $(unstage)
  2643. @r=`${PWD_COMMAND}`; export r; \
  2644. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2645. test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
  2646. $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
  2647. $(BUILD_EXPORTS) \
  2648. echo Configuring in $(BUILD_SUBDIR)/m4; \
  2649. cd "$(BUILD_SUBDIR)/m4" || exit 1; \
  2650. case $(srcdir) in \
  2651. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  2652. *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
  2653. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  2654. esac; \
  2655. module_srcdir=m4; \
  2656. rm -f no-such-file || : ; \
  2657. CONFIG_SITE=no-such-file $(SHELL) \
  2658. $$s/$$module_srcdir/configure \
  2659. --srcdir=$${topdir}/$$module_srcdir \
  2660. $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
  2661. --target=${target_alias} \
  2662. || exit 1
  2663. @endif build-m4
  2664. .PHONY: all-build-m4 maybe-all-build-m4
  2665. maybe-all-build-m4:
  2666. @if gcc-bootstrap
  2667. all-build-m4: stage_current
  2668. @endif gcc-bootstrap
  2669. @if build-m4
  2670. TARGET-build-m4=all
  2671. maybe-all-build-m4: all-build-m4
  2672. all-build-m4: configure-build-m4
  2673. @: $(MAKE); $(unstage)
  2674. @r=`${PWD_COMMAND}`; export r; \
  2675. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2676. $(BUILD_EXPORTS) \
  2677. (cd $(BUILD_SUBDIR)/m4 && \
  2678. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
  2679. $(TARGET-build-m4))
  2680. @endif build-m4
  2681. .PHONY: configure-build-texinfo maybe-configure-build-texinfo
  2682. maybe-configure-build-texinfo:
  2683. @if gcc-bootstrap
  2684. configure-build-texinfo: stage_current
  2685. @endif gcc-bootstrap
  2686. @if build-texinfo
  2687. maybe-configure-build-texinfo: configure-build-texinfo
  2688. configure-build-texinfo:
  2689. @: $(MAKE); $(unstage)
  2690. @r=`${PWD_COMMAND}`; export r; \
  2691. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2692. test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
  2693. $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
  2694. $(BUILD_EXPORTS) \
  2695. echo Configuring in $(BUILD_SUBDIR)/texinfo; \
  2696. cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
  2697. case $(srcdir) in \
  2698. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  2699. *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
  2700. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  2701. esac; \
  2702. module_srcdir=texinfo; \
  2703. rm -f no-such-file || : ; \
  2704. CONFIG_SITE=no-such-file $(SHELL) \
  2705. $$s/$$module_srcdir/configure \
  2706. --srcdir=$${topdir}/$$module_srcdir \
  2707. $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
  2708. --target=${target_alias} \
  2709. || exit 1
  2710. @endif build-texinfo
  2711. .PHONY: all-build-texinfo maybe-all-build-texinfo
  2712. maybe-all-build-texinfo:
  2713. @if gcc-bootstrap
  2714. all-build-texinfo: stage_current
  2715. @endif gcc-bootstrap
  2716. @if build-texinfo
  2717. TARGET-build-texinfo=all
  2718. maybe-all-build-texinfo: all-build-texinfo
  2719. all-build-texinfo: configure-build-texinfo
  2720. @: $(MAKE); $(unstage)
  2721. @r=`${PWD_COMMAND}`; export r; \
  2722. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2723. $(BUILD_EXPORTS) \
  2724. (cd $(BUILD_SUBDIR)/texinfo && \
  2725. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
  2726. $(TARGET-build-texinfo))
  2727. @endif build-texinfo
  2728. .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
  2729. maybe-configure-build-fixincludes:
  2730. @if gcc-bootstrap
  2731. configure-build-fixincludes: stage_current
  2732. @endif gcc-bootstrap
  2733. @if build-fixincludes
  2734. maybe-configure-build-fixincludes: configure-build-fixincludes
  2735. configure-build-fixincludes:
  2736. @: $(MAKE); $(unstage)
  2737. @r=`${PWD_COMMAND}`; export r; \
  2738. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2739. test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
  2740. $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
  2741. $(BUILD_EXPORTS) \
  2742. echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
  2743. cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
  2744. case $(srcdir) in \
  2745. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  2746. *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
  2747. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  2748. esac; \
  2749. module_srcdir=fixincludes; \
  2750. rm -f no-such-file || : ; \
  2751. CONFIG_SITE=no-such-file $(SHELL) \
  2752. $$s/$$module_srcdir/configure \
  2753. --srcdir=$${topdir}/$$module_srcdir \
  2754. $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
  2755. --target=${target_alias} \
  2756. || exit 1
  2757. @endif build-fixincludes
  2758. .PHONY: all-build-fixincludes maybe-all-build-fixincludes
  2759. maybe-all-build-fixincludes:
  2760. @if gcc-bootstrap
  2761. all-build-fixincludes: stage_current
  2762. @endif gcc-bootstrap
  2763. @if build-fixincludes
  2764. TARGET-build-fixincludes=all
  2765. maybe-all-build-fixincludes: all-build-fixincludes
  2766. all-build-fixincludes: configure-build-fixincludes
  2767. @: $(MAKE); $(unstage)
  2768. @r=`${PWD_COMMAND}`; export r; \
  2769. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2770. $(BUILD_EXPORTS) \
  2771. (cd $(BUILD_SUBDIR)/fixincludes && \
  2772. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
  2773. $(TARGET-build-fixincludes))
  2774. @endif build-fixincludes
  2775. .PHONY: configure-build-libcpp maybe-configure-build-libcpp
  2776. maybe-configure-build-libcpp:
  2777. @if gcc-bootstrap
  2778. configure-build-libcpp: stage_current
  2779. @endif gcc-bootstrap
  2780. @if build-libcpp
  2781. maybe-configure-build-libcpp: configure-build-libcpp
  2782. configure-build-libcpp:
  2783. @: $(MAKE); $(unstage)
  2784. @r=`${PWD_COMMAND}`; export r; \
  2785. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2786. test ! -f $(BUILD_SUBDIR)/libcpp/Makefile || exit 0; \
  2787. $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libcpp ; \
  2788. $(BUILD_EXPORTS) \
  2789. echo Configuring in $(BUILD_SUBDIR)/libcpp; \
  2790. cd "$(BUILD_SUBDIR)/libcpp" || exit 1; \
  2791. case $(srcdir) in \
  2792. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  2793. *) topdir=`echo $(BUILD_SUBDIR)/libcpp/ | \
  2794. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  2795. esac; \
  2796. module_srcdir=libcpp; \
  2797. rm -f no-such-file || : ; \
  2798. CONFIG_SITE=no-such-file $(SHELL) \
  2799. $$s/$$module_srcdir/configure \
  2800. --srcdir=$${topdir}/$$module_srcdir \
  2801. $(BUILD_CONFIGARGS) --build=${build_alias} --host=${build_alias} \
  2802. --target=${target_alias} --disable-nls am_cv_func_iconv=no \
  2803. || exit 1
  2804. @endif build-libcpp
  2805. .PHONY: all-build-libcpp maybe-all-build-libcpp
  2806. maybe-all-build-libcpp:
  2807. @if gcc-bootstrap
  2808. all-build-libcpp: stage_current
  2809. @endif gcc-bootstrap
  2810. @if build-libcpp
  2811. TARGET-build-libcpp=all
  2812. maybe-all-build-libcpp: all-build-libcpp
  2813. all-build-libcpp: configure-build-libcpp
  2814. @: $(MAKE); $(unstage)
  2815. @r=`${PWD_COMMAND}`; export r; \
  2816. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2817. $(BUILD_EXPORTS) \
  2818. (cd $(BUILD_SUBDIR)/libcpp && \
  2819. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_BUILD_FLAGS) \
  2820. $(TARGET-build-libcpp))
  2821. @endif build-libcpp
  2822. # --------------------------------------
  2823. # Modules which run on the host machine
  2824. # --------------------------------------
  2825. .PHONY: configure-bfd maybe-configure-bfd
  2826. maybe-configure-bfd:
  2827. @if gcc-bootstrap
  2828. configure-bfd: stage_current
  2829. @endif gcc-bootstrap
  2830. @if bfd
  2831. maybe-configure-bfd: configure-bfd
  2832. configure-bfd:
  2833. @r=`${PWD_COMMAND}`; export r; \
  2834. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2835. test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
  2836. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
  2837. $(HOST_EXPORTS) \
  2838. echo Configuring in $(HOST_SUBDIR)/bfd; \
  2839. cd "$(HOST_SUBDIR)/bfd" || exit 1; \
  2840. case $(srcdir) in \
  2841. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  2842. *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
  2843. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  2844. esac; \
  2845. module_srcdir=bfd; \
  2846. $(SHELL) \
  2847. $$s/$$module_srcdir/configure \
  2848. --srcdir=$${topdir}/$$module_srcdir \
  2849. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  2850. --target=${target_alias} \
  2851. || exit 1
  2852. @endif bfd
  2853. .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
  2854. maybe-configure-stage1-bfd:
  2855. @if bfd-bootstrap
  2856. maybe-configure-stage1-bfd: configure-stage1-bfd
  2857. configure-stage1-bfd:
  2858. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  2859. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
  2860. @r=`${PWD_COMMAND}`; export r; \
  2861. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2862. TFLAGS="$(STAGE1_TFLAGS)"; \
  2863. test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
  2864. $(HOST_EXPORTS) \
  2865. CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
  2866. CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
  2867. LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
  2868. echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
  2869. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
  2870. cd $(HOST_SUBDIR)/bfd || exit 1; \
  2871. case $(srcdir) in \
  2872. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  2873. *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
  2874. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  2875. esac; \
  2876. module_srcdir=bfd; \
  2877. $(SHELL) $$s/$$module_srcdir/configure \
  2878. --srcdir=$${topdir}/$$module_srcdir \
  2879. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  2880. --target=${target_alias} \
  2881. \
  2882. $(STAGE1_CONFIGURE_FLAGS)
  2883. @endif bfd-bootstrap
  2884. .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
  2885. maybe-configure-stage2-bfd:
  2886. @if bfd-bootstrap
  2887. maybe-configure-stage2-bfd: configure-stage2-bfd
  2888. configure-stage2-bfd:
  2889. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  2890. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
  2891. @r=`${PWD_COMMAND}`; export r; \
  2892. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2893. TFLAGS="$(STAGE2_TFLAGS)"; \
  2894. test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
  2895. $(HOST_EXPORTS) \
  2896. $(POSTSTAGE1_HOST_EXPORTS) \
  2897. CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
  2898. CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
  2899. LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
  2900. echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
  2901. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
  2902. cd $(HOST_SUBDIR)/bfd || exit 1; \
  2903. case $(srcdir) in \
  2904. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  2905. *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
  2906. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  2907. esac; \
  2908. module_srcdir=bfd; \
  2909. $(SHELL) $$s/$$module_srcdir/configure \
  2910. --srcdir=$${topdir}/$$module_srcdir \
  2911. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  2912. --target=${target_alias} \
  2913. --with-build-libsubdir=$(HOST_SUBDIR) \
  2914. $(STAGE2_CONFIGURE_FLAGS)
  2915. @endif bfd-bootstrap
  2916. .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
  2917. maybe-configure-stage3-bfd:
  2918. @if bfd-bootstrap
  2919. maybe-configure-stage3-bfd: configure-stage3-bfd
  2920. configure-stage3-bfd:
  2921. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  2922. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
  2923. @r=`${PWD_COMMAND}`; export r; \
  2924. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2925. TFLAGS="$(STAGE3_TFLAGS)"; \
  2926. test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
  2927. $(HOST_EXPORTS) \
  2928. $(POSTSTAGE1_HOST_EXPORTS) \
  2929. CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
  2930. CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
  2931. LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
  2932. echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
  2933. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
  2934. cd $(HOST_SUBDIR)/bfd || exit 1; \
  2935. case $(srcdir) in \
  2936. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  2937. *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
  2938. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  2939. esac; \
  2940. module_srcdir=bfd; \
  2941. $(SHELL) $$s/$$module_srcdir/configure \
  2942. --srcdir=$${topdir}/$$module_srcdir \
  2943. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  2944. --target=${target_alias} \
  2945. --with-build-libsubdir=$(HOST_SUBDIR) \
  2946. $(STAGE3_CONFIGURE_FLAGS)
  2947. @endif bfd-bootstrap
  2948. .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
  2949. maybe-configure-stage4-bfd:
  2950. @if bfd-bootstrap
  2951. maybe-configure-stage4-bfd: configure-stage4-bfd
  2952. configure-stage4-bfd:
  2953. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  2954. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
  2955. @r=`${PWD_COMMAND}`; export r; \
  2956. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2957. TFLAGS="$(STAGE4_TFLAGS)"; \
  2958. test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
  2959. $(HOST_EXPORTS) \
  2960. $(POSTSTAGE1_HOST_EXPORTS) \
  2961. CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
  2962. CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
  2963. LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
  2964. echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
  2965. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
  2966. cd $(HOST_SUBDIR)/bfd || exit 1; \
  2967. case $(srcdir) in \
  2968. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  2969. *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
  2970. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  2971. esac; \
  2972. module_srcdir=bfd; \
  2973. $(SHELL) $$s/$$module_srcdir/configure \
  2974. --srcdir=$${topdir}/$$module_srcdir \
  2975. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  2976. --target=${target_alias} \
  2977. --with-build-libsubdir=$(HOST_SUBDIR) \
  2978. $(STAGE4_CONFIGURE_FLAGS)
  2979. @endif bfd-bootstrap
  2980. .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
  2981. maybe-configure-stageprofile-bfd:
  2982. @if bfd-bootstrap
  2983. maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
  2984. configure-stageprofile-bfd:
  2985. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  2986. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
  2987. @r=`${PWD_COMMAND}`; export r; \
  2988. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  2989. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  2990. test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
  2991. $(HOST_EXPORTS) \
  2992. $(POSTSTAGE1_HOST_EXPORTS) \
  2993. CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
  2994. CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
  2995. LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
  2996. echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
  2997. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
  2998. cd $(HOST_SUBDIR)/bfd || exit 1; \
  2999. case $(srcdir) in \
  3000. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  3001. *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
  3002. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  3003. esac; \
  3004. module_srcdir=bfd; \
  3005. $(SHELL) $$s/$$module_srcdir/configure \
  3006. --srcdir=$${topdir}/$$module_srcdir \
  3007. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  3008. --target=${target_alias} \
  3009. --with-build-libsubdir=$(HOST_SUBDIR) \
  3010. $(STAGEprofile_CONFIGURE_FLAGS)
  3011. @endif bfd-bootstrap
  3012. .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
  3013. maybe-configure-stagefeedback-bfd:
  3014. @if bfd-bootstrap
  3015. maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
  3016. configure-stagefeedback-bfd:
  3017. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  3018. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd
  3019. @r=`${PWD_COMMAND}`; export r; \
  3020. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3021. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  3022. test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
  3023. $(HOST_EXPORTS) \
  3024. $(POSTSTAGE1_HOST_EXPORTS) \
  3025. CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
  3026. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
  3027. LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
  3028. echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
  3029. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
  3030. cd $(HOST_SUBDIR)/bfd || exit 1; \
  3031. case $(srcdir) in \
  3032. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  3033. *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
  3034. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  3035. esac; \
  3036. module_srcdir=bfd; \
  3037. $(SHELL) $$s/$$module_srcdir/configure \
  3038. --srcdir=$${topdir}/$$module_srcdir \
  3039. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  3040. --target=${target_alias} \
  3041. --with-build-libsubdir=$(HOST_SUBDIR) \
  3042. $(STAGEfeedback_CONFIGURE_FLAGS)
  3043. @endif bfd-bootstrap
  3044. .PHONY: all-bfd maybe-all-bfd
  3045. maybe-all-bfd:
  3046. @if gcc-bootstrap
  3047. all-bfd: stage_current
  3048. @endif gcc-bootstrap
  3049. @if bfd
  3050. TARGET-bfd=all
  3051. maybe-all-bfd: all-bfd
  3052. all-bfd: configure-bfd
  3053. @r=`${PWD_COMMAND}`; export r; \
  3054. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3055. $(HOST_EXPORTS) \
  3056. (cd $(HOST_SUBDIR)/bfd && \
  3057. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  3058. $(TARGET-bfd))
  3059. @endif bfd
  3060. .PHONY: all-stage1-bfd maybe-all-stage1-bfd
  3061. .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
  3062. maybe-all-stage1-bfd:
  3063. maybe-clean-stage1-bfd:
  3064. @if bfd-bootstrap
  3065. maybe-all-stage1-bfd: all-stage1-bfd
  3066. all-stage1: all-stage1-bfd
  3067. TARGET-stage1-bfd = $(TARGET-bfd)
  3068. all-stage1-bfd: configure-stage1-bfd
  3069. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  3070. @r=`${PWD_COMMAND}`; export r; \
  3071. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3072. TFLAGS="$(STAGE1_TFLAGS)"; \
  3073. $(HOST_EXPORTS) \
  3074. cd $(HOST_SUBDIR)/bfd && \
  3075. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  3076. CFLAGS="$(STAGE1_CFLAGS)" \
  3077. CXXFLAGS="$(STAGE1_CXXFLAGS)" \
  3078. LIBCFLAGS="$(LIBCFLAGS)" \
  3079. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  3080. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  3081. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  3082. $(EXTRA_HOST_FLAGS) \
  3083. $(STAGE1_FLAGS_TO_PASS) \
  3084. TFLAGS="$(STAGE1_TFLAGS)" \
  3085. $(TARGET-stage1-bfd)
  3086. maybe-clean-stage1-bfd: clean-stage1-bfd
  3087. clean-stage1: clean-stage1-bfd
  3088. clean-stage1-bfd:
  3089. @if [ $(current_stage) = stage1 ]; then \
  3090. [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
  3091. else \
  3092. [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] || exit 0; \
  3093. $(MAKE) stage1-start; \
  3094. fi; \
  3095. cd $(HOST_SUBDIR)/bfd && \
  3096. $(MAKE) $(EXTRA_HOST_FLAGS) \
  3097. $(STAGE1_FLAGS_TO_PASS) clean
  3098. @endif bfd-bootstrap
  3099. .PHONY: all-stage2-bfd maybe-all-stage2-bfd
  3100. .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
  3101. maybe-all-stage2-bfd:
  3102. maybe-clean-stage2-bfd:
  3103. @if bfd-bootstrap
  3104. maybe-all-stage2-bfd: all-stage2-bfd
  3105. all-stage2: all-stage2-bfd
  3106. TARGET-stage2-bfd = $(TARGET-bfd)
  3107. all-stage2-bfd: configure-stage2-bfd
  3108. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  3109. @r=`${PWD_COMMAND}`; export r; \
  3110. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3111. TFLAGS="$(STAGE2_TFLAGS)"; \
  3112. $(HOST_EXPORTS) \
  3113. $(POSTSTAGE1_HOST_EXPORTS) \
  3114. cd $(HOST_SUBDIR)/bfd && \
  3115. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  3116. CFLAGS="$(STAGE2_CFLAGS)" \
  3117. CXXFLAGS="$(STAGE2_CXXFLAGS)" \
  3118. LIBCFLAGS="$(STAGE2_CFLAGS)" \
  3119. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  3120. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  3121. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  3122. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  3123. TFLAGS="$(STAGE2_TFLAGS)" \
  3124. $(TARGET-stage2-bfd)
  3125. maybe-clean-stage2-bfd: clean-stage2-bfd
  3126. clean-stage2: clean-stage2-bfd
  3127. clean-stage2-bfd:
  3128. @if [ $(current_stage) = stage2 ]; then \
  3129. [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
  3130. else \
  3131. [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] || exit 0; \
  3132. $(MAKE) stage2-start; \
  3133. fi; \
  3134. cd $(HOST_SUBDIR)/bfd && \
  3135. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  3136. @endif bfd-bootstrap
  3137. .PHONY: all-stage3-bfd maybe-all-stage3-bfd
  3138. .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
  3139. maybe-all-stage3-bfd:
  3140. maybe-clean-stage3-bfd:
  3141. @if bfd-bootstrap
  3142. maybe-all-stage3-bfd: all-stage3-bfd
  3143. all-stage3: all-stage3-bfd
  3144. TARGET-stage3-bfd = $(TARGET-bfd)
  3145. all-stage3-bfd: configure-stage3-bfd
  3146. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  3147. @r=`${PWD_COMMAND}`; export r; \
  3148. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3149. TFLAGS="$(STAGE3_TFLAGS)"; \
  3150. $(HOST_EXPORTS) \
  3151. $(POSTSTAGE1_HOST_EXPORTS) \
  3152. cd $(HOST_SUBDIR)/bfd && \
  3153. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  3154. CFLAGS="$(STAGE3_CFLAGS)" \
  3155. CXXFLAGS="$(STAGE3_CXXFLAGS)" \
  3156. LIBCFLAGS="$(STAGE3_CFLAGS)" \
  3157. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  3158. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  3159. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  3160. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  3161. TFLAGS="$(STAGE3_TFLAGS)" \
  3162. $(TARGET-stage3-bfd)
  3163. maybe-clean-stage3-bfd: clean-stage3-bfd
  3164. clean-stage3: clean-stage3-bfd
  3165. clean-stage3-bfd:
  3166. @if [ $(current_stage) = stage3 ]; then \
  3167. [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
  3168. else \
  3169. [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] || exit 0; \
  3170. $(MAKE) stage3-start; \
  3171. fi; \
  3172. cd $(HOST_SUBDIR)/bfd && \
  3173. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  3174. @endif bfd-bootstrap
  3175. .PHONY: all-stage4-bfd maybe-all-stage4-bfd
  3176. .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
  3177. maybe-all-stage4-bfd:
  3178. maybe-clean-stage4-bfd:
  3179. @if bfd-bootstrap
  3180. maybe-all-stage4-bfd: all-stage4-bfd
  3181. all-stage4: all-stage4-bfd
  3182. TARGET-stage4-bfd = $(TARGET-bfd)
  3183. all-stage4-bfd: configure-stage4-bfd
  3184. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  3185. @r=`${PWD_COMMAND}`; export r; \
  3186. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3187. TFLAGS="$(STAGE4_TFLAGS)"; \
  3188. $(HOST_EXPORTS) \
  3189. $(POSTSTAGE1_HOST_EXPORTS) \
  3190. cd $(HOST_SUBDIR)/bfd && \
  3191. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  3192. CFLAGS="$(STAGE4_CFLAGS)" \
  3193. CXXFLAGS="$(STAGE4_CXXFLAGS)" \
  3194. LIBCFLAGS="$(STAGE4_CFLAGS)" \
  3195. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  3196. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  3197. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  3198. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  3199. TFLAGS="$(STAGE4_TFLAGS)" \
  3200. $(TARGET-stage4-bfd)
  3201. maybe-clean-stage4-bfd: clean-stage4-bfd
  3202. clean-stage4: clean-stage4-bfd
  3203. clean-stage4-bfd:
  3204. @if [ $(current_stage) = stage4 ]; then \
  3205. [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
  3206. else \
  3207. [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] || exit 0; \
  3208. $(MAKE) stage4-start; \
  3209. fi; \
  3210. cd $(HOST_SUBDIR)/bfd && \
  3211. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  3212. @endif bfd-bootstrap
  3213. .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
  3214. .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
  3215. maybe-all-stageprofile-bfd:
  3216. maybe-clean-stageprofile-bfd:
  3217. @if bfd-bootstrap
  3218. maybe-all-stageprofile-bfd: all-stageprofile-bfd
  3219. all-stageprofile: all-stageprofile-bfd
  3220. TARGET-stageprofile-bfd = $(TARGET-bfd)
  3221. all-stageprofile-bfd: configure-stageprofile-bfd
  3222. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  3223. @r=`${PWD_COMMAND}`; export r; \
  3224. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3225. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  3226. $(HOST_EXPORTS) \
  3227. $(POSTSTAGE1_HOST_EXPORTS) \
  3228. cd $(HOST_SUBDIR)/bfd && \
  3229. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  3230. CFLAGS="$(STAGEprofile_CFLAGS)" \
  3231. CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
  3232. LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
  3233. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  3234. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  3235. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  3236. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  3237. TFLAGS="$(STAGEprofile_TFLAGS)" \
  3238. $(TARGET-stageprofile-bfd)
  3239. maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
  3240. clean-stageprofile: clean-stageprofile-bfd
  3241. clean-stageprofile-bfd:
  3242. @if [ $(current_stage) = stageprofile ]; then \
  3243. [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
  3244. else \
  3245. [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] || exit 0; \
  3246. $(MAKE) stageprofile-start; \
  3247. fi; \
  3248. cd $(HOST_SUBDIR)/bfd && \
  3249. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  3250. @endif bfd-bootstrap
  3251. .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
  3252. .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
  3253. maybe-all-stagefeedback-bfd:
  3254. maybe-clean-stagefeedback-bfd:
  3255. @if bfd-bootstrap
  3256. maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
  3257. all-stagefeedback: all-stagefeedback-bfd
  3258. TARGET-stagefeedback-bfd = $(TARGET-bfd)
  3259. all-stagefeedback-bfd: configure-stagefeedback-bfd
  3260. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  3261. @r=`${PWD_COMMAND}`; export r; \
  3262. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3263. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  3264. $(HOST_EXPORTS) \
  3265. $(POSTSTAGE1_HOST_EXPORTS) \
  3266. cd $(HOST_SUBDIR)/bfd && \
  3267. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  3268. CFLAGS="$(STAGEfeedback_CFLAGS)" \
  3269. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
  3270. LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
  3271. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  3272. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  3273. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  3274. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  3275. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  3276. $(TARGET-stagefeedback-bfd)
  3277. maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
  3278. clean-stagefeedback: clean-stagefeedback-bfd
  3279. clean-stagefeedback-bfd:
  3280. @if [ $(current_stage) = stagefeedback ]; then \
  3281. [ -f $(HOST_SUBDIR)/bfd/Makefile ] || exit 0; \
  3282. else \
  3283. [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] || exit 0; \
  3284. $(MAKE) stagefeedback-start; \
  3285. fi; \
  3286. cd $(HOST_SUBDIR)/bfd && \
  3287. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  3288. @endif bfd-bootstrap
  3289. .PHONY: check-bfd maybe-check-bfd
  3290. maybe-check-bfd:
  3291. @if bfd
  3292. maybe-check-bfd: check-bfd
  3293. check-bfd:
  3294. @: $(MAKE); $(unstage)
  3295. @r=`${PWD_COMMAND}`; export r; \
  3296. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3297. $(HOST_EXPORTS) \
  3298. (cd $(HOST_SUBDIR)/bfd && \
  3299. $(MAKE) $(FLAGS_TO_PASS) check)
  3300. @endif bfd
  3301. .PHONY: install-bfd maybe-install-bfd
  3302. maybe-install-bfd:
  3303. @if bfd
  3304. maybe-install-bfd: install-bfd
  3305. install-bfd: installdirs
  3306. @: $(MAKE); $(unstage)
  3307. @r=`${PWD_COMMAND}`; export r; \
  3308. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3309. $(HOST_EXPORTS) \
  3310. (cd $(HOST_SUBDIR)/bfd && \
  3311. $(MAKE) $(FLAGS_TO_PASS) install)
  3312. @endif bfd
  3313. .PHONY: install-strip-bfd maybe-install-strip-bfd
  3314. maybe-install-strip-bfd:
  3315. @if bfd
  3316. maybe-install-strip-bfd: install-strip-bfd
  3317. install-strip-bfd: installdirs
  3318. @: $(MAKE); $(unstage)
  3319. @r=`${PWD_COMMAND}`; export r; \
  3320. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3321. $(HOST_EXPORTS) \
  3322. (cd $(HOST_SUBDIR)/bfd && \
  3323. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  3324. @endif bfd
  3325. # Other targets (info, dvi, pdf, etc.)
  3326. .PHONY: maybe-info-bfd info-bfd
  3327. maybe-info-bfd:
  3328. @if bfd
  3329. maybe-info-bfd: info-bfd
  3330. info-bfd: \
  3331. configure-bfd
  3332. @[ -f ./bfd/Makefile ] || exit 0; \
  3333. r=`${PWD_COMMAND}`; export r; \
  3334. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3335. $(HOST_EXPORTS) \
  3336. for flag in $(EXTRA_HOST_FLAGS) ; do \
  3337. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  3338. done; \
  3339. echo "Doing info in bfd" ; \
  3340. (cd $(HOST_SUBDIR)/bfd && \
  3341. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  3342. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  3343. "RANLIB=$${RANLIB}" \
  3344. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  3345. info) \
  3346. || exit 1
  3347. @endif bfd
  3348. .PHONY: maybe-dvi-bfd dvi-bfd
  3349. maybe-dvi-bfd:
  3350. @if bfd
  3351. maybe-dvi-bfd: dvi-bfd
  3352. dvi-bfd: \
  3353. configure-bfd
  3354. @[ -f ./bfd/Makefile ] || exit 0; \
  3355. r=`${PWD_COMMAND}`; export r; \
  3356. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3357. $(HOST_EXPORTS) \
  3358. for flag in $(EXTRA_HOST_FLAGS) ; do \
  3359. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  3360. done; \
  3361. echo "Doing dvi in bfd" ; \
  3362. (cd $(HOST_SUBDIR)/bfd && \
  3363. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  3364. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  3365. "RANLIB=$${RANLIB}" \
  3366. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  3367. dvi) \
  3368. || exit 1
  3369. @endif bfd
  3370. .PHONY: maybe-pdf-bfd pdf-bfd
  3371. maybe-pdf-bfd:
  3372. @if bfd
  3373. maybe-pdf-bfd: pdf-bfd
  3374. pdf-bfd: \
  3375. configure-bfd
  3376. @[ -f ./bfd/Makefile ] || exit 0; \
  3377. r=`${PWD_COMMAND}`; export r; \
  3378. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3379. $(HOST_EXPORTS) \
  3380. for flag in $(EXTRA_HOST_FLAGS) ; do \
  3381. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  3382. done; \
  3383. echo "Doing pdf in bfd" ; \
  3384. (cd $(HOST_SUBDIR)/bfd && \
  3385. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  3386. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  3387. "RANLIB=$${RANLIB}" \
  3388. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  3389. pdf) \
  3390. || exit 1
  3391. @endif bfd
  3392. .PHONY: maybe-html-bfd html-bfd
  3393. maybe-html-bfd:
  3394. @if bfd
  3395. maybe-html-bfd: html-bfd
  3396. html-bfd: \
  3397. configure-bfd
  3398. @[ -f ./bfd/Makefile ] || exit 0; \
  3399. r=`${PWD_COMMAND}`; export r; \
  3400. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3401. $(HOST_EXPORTS) \
  3402. for flag in $(EXTRA_HOST_FLAGS) ; do \
  3403. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  3404. done; \
  3405. echo "Doing html in bfd" ; \
  3406. (cd $(HOST_SUBDIR)/bfd && \
  3407. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  3408. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  3409. "RANLIB=$${RANLIB}" \
  3410. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  3411. html) \
  3412. || exit 1
  3413. @endif bfd
  3414. .PHONY: maybe-TAGS-bfd TAGS-bfd
  3415. maybe-TAGS-bfd:
  3416. @if bfd
  3417. maybe-TAGS-bfd: TAGS-bfd
  3418. TAGS-bfd: \
  3419. configure-bfd
  3420. @[ -f ./bfd/Makefile ] || exit 0; \
  3421. r=`${PWD_COMMAND}`; export r; \
  3422. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3423. $(HOST_EXPORTS) \
  3424. for flag in $(EXTRA_HOST_FLAGS) ; do \
  3425. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  3426. done; \
  3427. echo "Doing TAGS in bfd" ; \
  3428. (cd $(HOST_SUBDIR)/bfd && \
  3429. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  3430. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  3431. "RANLIB=$${RANLIB}" \
  3432. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  3433. TAGS) \
  3434. || exit 1
  3435. @endif bfd
  3436. .PHONY: maybe-install-info-bfd install-info-bfd
  3437. maybe-install-info-bfd:
  3438. @if bfd
  3439. maybe-install-info-bfd: install-info-bfd
  3440. install-info-bfd: \
  3441. configure-bfd \
  3442. info-bfd
  3443. @[ -f ./bfd/Makefile ] || exit 0; \
  3444. r=`${PWD_COMMAND}`; export r; \
  3445. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3446. $(HOST_EXPORTS) \
  3447. for flag in $(EXTRA_HOST_FLAGS) ; do \
  3448. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  3449. done; \
  3450. echo "Doing install-info in bfd" ; \
  3451. (cd $(HOST_SUBDIR)/bfd && \
  3452. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  3453. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  3454. "RANLIB=$${RANLIB}" \
  3455. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  3456. install-info) \
  3457. || exit 1
  3458. @endif bfd
  3459. .PHONY: maybe-install-pdf-bfd install-pdf-bfd
  3460. maybe-install-pdf-bfd:
  3461. @if bfd
  3462. maybe-install-pdf-bfd: install-pdf-bfd
  3463. install-pdf-bfd: \
  3464. configure-bfd \
  3465. pdf-bfd
  3466. @[ -f ./bfd/Makefile ] || exit 0; \
  3467. r=`${PWD_COMMAND}`; export r; \
  3468. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3469. $(HOST_EXPORTS) \
  3470. for flag in $(EXTRA_HOST_FLAGS) ; do \
  3471. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  3472. done; \
  3473. echo "Doing install-pdf in bfd" ; \
  3474. (cd $(HOST_SUBDIR)/bfd && \
  3475. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  3476. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  3477. "RANLIB=$${RANLIB}" \
  3478. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  3479. install-pdf) \
  3480. || exit 1
  3481. @endif bfd
  3482. .PHONY: maybe-install-html-bfd install-html-bfd
  3483. maybe-install-html-bfd:
  3484. @if bfd
  3485. maybe-install-html-bfd: install-html-bfd
  3486. install-html-bfd: \
  3487. configure-bfd \
  3488. html-bfd
  3489. @[ -f ./bfd/Makefile ] || exit 0; \
  3490. r=`${PWD_COMMAND}`; export r; \
  3491. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3492. $(HOST_EXPORTS) \
  3493. for flag in $(EXTRA_HOST_FLAGS) ; do \
  3494. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  3495. done; \
  3496. echo "Doing install-html in bfd" ; \
  3497. (cd $(HOST_SUBDIR)/bfd && \
  3498. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  3499. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  3500. "RANLIB=$${RANLIB}" \
  3501. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  3502. install-html) \
  3503. || exit 1
  3504. @endif bfd
  3505. .PHONY: maybe-installcheck-bfd installcheck-bfd
  3506. maybe-installcheck-bfd:
  3507. @if bfd
  3508. maybe-installcheck-bfd: installcheck-bfd
  3509. installcheck-bfd: \
  3510. configure-bfd
  3511. @[ -f ./bfd/Makefile ] || exit 0; \
  3512. r=`${PWD_COMMAND}`; export r; \
  3513. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3514. $(HOST_EXPORTS) \
  3515. for flag in $(EXTRA_HOST_FLAGS) ; do \
  3516. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  3517. done; \
  3518. echo "Doing installcheck in bfd" ; \
  3519. (cd $(HOST_SUBDIR)/bfd && \
  3520. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  3521. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  3522. "RANLIB=$${RANLIB}" \
  3523. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  3524. installcheck) \
  3525. || exit 1
  3526. @endif bfd
  3527. .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
  3528. maybe-mostlyclean-bfd:
  3529. @if bfd
  3530. maybe-mostlyclean-bfd: mostlyclean-bfd
  3531. mostlyclean-bfd:
  3532. @[ -f ./bfd/Makefile ] || exit 0; \
  3533. r=`${PWD_COMMAND}`; export r; \
  3534. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3535. $(HOST_EXPORTS) \
  3536. for flag in $(EXTRA_HOST_FLAGS) ; do \
  3537. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  3538. done; \
  3539. echo "Doing mostlyclean in bfd" ; \
  3540. (cd $(HOST_SUBDIR)/bfd && \
  3541. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  3542. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  3543. "RANLIB=$${RANLIB}" \
  3544. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  3545. mostlyclean) \
  3546. || exit 1
  3547. @endif bfd
  3548. .PHONY: maybe-clean-bfd clean-bfd
  3549. maybe-clean-bfd:
  3550. @if bfd
  3551. maybe-clean-bfd: clean-bfd
  3552. clean-bfd:
  3553. @[ -f ./bfd/Makefile ] || exit 0; \
  3554. r=`${PWD_COMMAND}`; export r; \
  3555. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3556. $(HOST_EXPORTS) \
  3557. for flag in $(EXTRA_HOST_FLAGS) ; do \
  3558. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  3559. done; \
  3560. echo "Doing clean in bfd" ; \
  3561. (cd $(HOST_SUBDIR)/bfd && \
  3562. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  3563. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  3564. "RANLIB=$${RANLIB}" \
  3565. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  3566. clean) \
  3567. || exit 1
  3568. @endif bfd
  3569. .PHONY: maybe-distclean-bfd distclean-bfd
  3570. maybe-distclean-bfd:
  3571. @if bfd
  3572. maybe-distclean-bfd: distclean-bfd
  3573. distclean-bfd:
  3574. @[ -f ./bfd/Makefile ] || exit 0; \
  3575. r=`${PWD_COMMAND}`; export r; \
  3576. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3577. $(HOST_EXPORTS) \
  3578. for flag in $(EXTRA_HOST_FLAGS) ; do \
  3579. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  3580. done; \
  3581. echo "Doing distclean in bfd" ; \
  3582. (cd $(HOST_SUBDIR)/bfd && \
  3583. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  3584. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  3585. "RANLIB=$${RANLIB}" \
  3586. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  3587. distclean) \
  3588. || exit 1
  3589. @endif bfd
  3590. .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
  3591. maybe-maintainer-clean-bfd:
  3592. @if bfd
  3593. maybe-maintainer-clean-bfd: maintainer-clean-bfd
  3594. maintainer-clean-bfd:
  3595. @[ -f ./bfd/Makefile ] || exit 0; \
  3596. r=`${PWD_COMMAND}`; export r; \
  3597. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3598. $(HOST_EXPORTS) \
  3599. for flag in $(EXTRA_HOST_FLAGS) ; do \
  3600. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  3601. done; \
  3602. echo "Doing maintainer-clean in bfd" ; \
  3603. (cd $(HOST_SUBDIR)/bfd && \
  3604. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  3605. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  3606. "RANLIB=$${RANLIB}" \
  3607. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  3608. maintainer-clean) \
  3609. || exit 1
  3610. @endif bfd
  3611. .PHONY: configure-opcodes maybe-configure-opcodes
  3612. maybe-configure-opcodes:
  3613. @if gcc-bootstrap
  3614. configure-opcodes: stage_current
  3615. @endif gcc-bootstrap
  3616. @if opcodes
  3617. maybe-configure-opcodes: configure-opcodes
  3618. configure-opcodes:
  3619. @r=`${PWD_COMMAND}`; export r; \
  3620. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3621. test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
  3622. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
  3623. $(HOST_EXPORTS) \
  3624. echo Configuring in $(HOST_SUBDIR)/opcodes; \
  3625. cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
  3626. case $(srcdir) in \
  3627. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  3628. *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
  3629. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  3630. esac; \
  3631. module_srcdir=opcodes; \
  3632. $(SHELL) \
  3633. $$s/$$module_srcdir/configure \
  3634. --srcdir=$${topdir}/$$module_srcdir \
  3635. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  3636. --target=${target_alias} \
  3637. || exit 1
  3638. @endif opcodes
  3639. .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
  3640. maybe-configure-stage1-opcodes:
  3641. @if opcodes-bootstrap
  3642. maybe-configure-stage1-opcodes: configure-stage1-opcodes
  3643. configure-stage1-opcodes:
  3644. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  3645. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
  3646. @r=`${PWD_COMMAND}`; export r; \
  3647. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3648. TFLAGS="$(STAGE1_TFLAGS)"; \
  3649. test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
  3650. $(HOST_EXPORTS) \
  3651. CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
  3652. CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
  3653. LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
  3654. echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
  3655. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
  3656. cd $(HOST_SUBDIR)/opcodes || exit 1; \
  3657. case $(srcdir) in \
  3658. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  3659. *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
  3660. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  3661. esac; \
  3662. module_srcdir=opcodes; \
  3663. $(SHELL) $$s/$$module_srcdir/configure \
  3664. --srcdir=$${topdir}/$$module_srcdir \
  3665. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  3666. --target=${target_alias} \
  3667. \
  3668. $(STAGE1_CONFIGURE_FLAGS)
  3669. @endif opcodes-bootstrap
  3670. .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
  3671. maybe-configure-stage2-opcodes:
  3672. @if opcodes-bootstrap
  3673. maybe-configure-stage2-opcodes: configure-stage2-opcodes
  3674. configure-stage2-opcodes:
  3675. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  3676. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
  3677. @r=`${PWD_COMMAND}`; export r; \
  3678. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3679. TFLAGS="$(STAGE2_TFLAGS)"; \
  3680. test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
  3681. $(HOST_EXPORTS) \
  3682. $(POSTSTAGE1_HOST_EXPORTS) \
  3683. CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
  3684. CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
  3685. LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
  3686. echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
  3687. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
  3688. cd $(HOST_SUBDIR)/opcodes || exit 1; \
  3689. case $(srcdir) in \
  3690. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  3691. *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
  3692. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  3693. esac; \
  3694. module_srcdir=opcodes; \
  3695. $(SHELL) $$s/$$module_srcdir/configure \
  3696. --srcdir=$${topdir}/$$module_srcdir \
  3697. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  3698. --target=${target_alias} \
  3699. --with-build-libsubdir=$(HOST_SUBDIR) \
  3700. $(STAGE2_CONFIGURE_FLAGS)
  3701. @endif opcodes-bootstrap
  3702. .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
  3703. maybe-configure-stage3-opcodes:
  3704. @if opcodes-bootstrap
  3705. maybe-configure-stage3-opcodes: configure-stage3-opcodes
  3706. configure-stage3-opcodes:
  3707. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  3708. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
  3709. @r=`${PWD_COMMAND}`; export r; \
  3710. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3711. TFLAGS="$(STAGE3_TFLAGS)"; \
  3712. test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
  3713. $(HOST_EXPORTS) \
  3714. $(POSTSTAGE1_HOST_EXPORTS) \
  3715. CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
  3716. CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
  3717. LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
  3718. echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
  3719. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
  3720. cd $(HOST_SUBDIR)/opcodes || exit 1; \
  3721. case $(srcdir) in \
  3722. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  3723. *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
  3724. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  3725. esac; \
  3726. module_srcdir=opcodes; \
  3727. $(SHELL) $$s/$$module_srcdir/configure \
  3728. --srcdir=$${topdir}/$$module_srcdir \
  3729. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  3730. --target=${target_alias} \
  3731. --with-build-libsubdir=$(HOST_SUBDIR) \
  3732. $(STAGE3_CONFIGURE_FLAGS)
  3733. @endif opcodes-bootstrap
  3734. .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
  3735. maybe-configure-stage4-opcodes:
  3736. @if opcodes-bootstrap
  3737. maybe-configure-stage4-opcodes: configure-stage4-opcodes
  3738. configure-stage4-opcodes:
  3739. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  3740. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
  3741. @r=`${PWD_COMMAND}`; export r; \
  3742. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3743. TFLAGS="$(STAGE4_TFLAGS)"; \
  3744. test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
  3745. $(HOST_EXPORTS) \
  3746. $(POSTSTAGE1_HOST_EXPORTS) \
  3747. CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
  3748. CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
  3749. LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
  3750. echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
  3751. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
  3752. cd $(HOST_SUBDIR)/opcodes || exit 1; \
  3753. case $(srcdir) in \
  3754. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  3755. *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
  3756. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  3757. esac; \
  3758. module_srcdir=opcodes; \
  3759. $(SHELL) $$s/$$module_srcdir/configure \
  3760. --srcdir=$${topdir}/$$module_srcdir \
  3761. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  3762. --target=${target_alias} \
  3763. --with-build-libsubdir=$(HOST_SUBDIR) \
  3764. $(STAGE4_CONFIGURE_FLAGS)
  3765. @endif opcodes-bootstrap
  3766. .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
  3767. maybe-configure-stageprofile-opcodes:
  3768. @if opcodes-bootstrap
  3769. maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
  3770. configure-stageprofile-opcodes:
  3771. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  3772. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
  3773. @r=`${PWD_COMMAND}`; export r; \
  3774. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3775. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  3776. test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
  3777. $(HOST_EXPORTS) \
  3778. $(POSTSTAGE1_HOST_EXPORTS) \
  3779. CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
  3780. CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
  3781. LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
  3782. echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
  3783. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
  3784. cd $(HOST_SUBDIR)/opcodes || exit 1; \
  3785. case $(srcdir) in \
  3786. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  3787. *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
  3788. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  3789. esac; \
  3790. module_srcdir=opcodes; \
  3791. $(SHELL) $$s/$$module_srcdir/configure \
  3792. --srcdir=$${topdir}/$$module_srcdir \
  3793. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  3794. --target=${target_alias} \
  3795. --with-build-libsubdir=$(HOST_SUBDIR) \
  3796. $(STAGEprofile_CONFIGURE_FLAGS)
  3797. @endif opcodes-bootstrap
  3798. .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
  3799. maybe-configure-stagefeedback-opcodes:
  3800. @if opcodes-bootstrap
  3801. maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
  3802. configure-stagefeedback-opcodes:
  3803. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  3804. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes
  3805. @r=`${PWD_COMMAND}`; export r; \
  3806. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3807. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  3808. test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
  3809. $(HOST_EXPORTS) \
  3810. $(POSTSTAGE1_HOST_EXPORTS) \
  3811. CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
  3812. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
  3813. LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
  3814. echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
  3815. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
  3816. cd $(HOST_SUBDIR)/opcodes || exit 1; \
  3817. case $(srcdir) in \
  3818. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  3819. *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
  3820. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  3821. esac; \
  3822. module_srcdir=opcodes; \
  3823. $(SHELL) $$s/$$module_srcdir/configure \
  3824. --srcdir=$${topdir}/$$module_srcdir \
  3825. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  3826. --target=${target_alias} \
  3827. --with-build-libsubdir=$(HOST_SUBDIR) \
  3828. $(STAGEfeedback_CONFIGURE_FLAGS)
  3829. @endif opcodes-bootstrap
  3830. .PHONY: all-opcodes maybe-all-opcodes
  3831. maybe-all-opcodes:
  3832. @if gcc-bootstrap
  3833. all-opcodes: stage_current
  3834. @endif gcc-bootstrap
  3835. @if opcodes
  3836. TARGET-opcodes=all
  3837. maybe-all-opcodes: all-opcodes
  3838. all-opcodes: configure-opcodes
  3839. @r=`${PWD_COMMAND}`; export r; \
  3840. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3841. $(HOST_EXPORTS) \
  3842. (cd $(HOST_SUBDIR)/opcodes && \
  3843. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  3844. $(TARGET-opcodes))
  3845. @endif opcodes
  3846. .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
  3847. .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
  3848. maybe-all-stage1-opcodes:
  3849. maybe-clean-stage1-opcodes:
  3850. @if opcodes-bootstrap
  3851. maybe-all-stage1-opcodes: all-stage1-opcodes
  3852. all-stage1: all-stage1-opcodes
  3853. TARGET-stage1-opcodes = $(TARGET-opcodes)
  3854. all-stage1-opcodes: configure-stage1-opcodes
  3855. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  3856. @r=`${PWD_COMMAND}`; export r; \
  3857. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3858. TFLAGS="$(STAGE1_TFLAGS)"; \
  3859. $(HOST_EXPORTS) \
  3860. cd $(HOST_SUBDIR)/opcodes && \
  3861. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  3862. CFLAGS="$(STAGE1_CFLAGS)" \
  3863. CXXFLAGS="$(STAGE1_CXXFLAGS)" \
  3864. LIBCFLAGS="$(LIBCFLAGS)" \
  3865. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  3866. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  3867. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  3868. $(EXTRA_HOST_FLAGS) \
  3869. $(STAGE1_FLAGS_TO_PASS) \
  3870. TFLAGS="$(STAGE1_TFLAGS)" \
  3871. $(TARGET-stage1-opcodes)
  3872. maybe-clean-stage1-opcodes: clean-stage1-opcodes
  3873. clean-stage1: clean-stage1-opcodes
  3874. clean-stage1-opcodes:
  3875. @if [ $(current_stage) = stage1 ]; then \
  3876. [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
  3877. else \
  3878. [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] || exit 0; \
  3879. $(MAKE) stage1-start; \
  3880. fi; \
  3881. cd $(HOST_SUBDIR)/opcodes && \
  3882. $(MAKE) $(EXTRA_HOST_FLAGS) \
  3883. $(STAGE1_FLAGS_TO_PASS) clean
  3884. @endif opcodes-bootstrap
  3885. .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
  3886. .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
  3887. maybe-all-stage2-opcodes:
  3888. maybe-clean-stage2-opcodes:
  3889. @if opcodes-bootstrap
  3890. maybe-all-stage2-opcodes: all-stage2-opcodes
  3891. all-stage2: all-stage2-opcodes
  3892. TARGET-stage2-opcodes = $(TARGET-opcodes)
  3893. all-stage2-opcodes: configure-stage2-opcodes
  3894. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  3895. @r=`${PWD_COMMAND}`; export r; \
  3896. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3897. TFLAGS="$(STAGE2_TFLAGS)"; \
  3898. $(HOST_EXPORTS) \
  3899. $(POSTSTAGE1_HOST_EXPORTS) \
  3900. cd $(HOST_SUBDIR)/opcodes && \
  3901. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  3902. CFLAGS="$(STAGE2_CFLAGS)" \
  3903. CXXFLAGS="$(STAGE2_CXXFLAGS)" \
  3904. LIBCFLAGS="$(STAGE2_CFLAGS)" \
  3905. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  3906. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  3907. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  3908. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  3909. TFLAGS="$(STAGE2_TFLAGS)" \
  3910. $(TARGET-stage2-opcodes)
  3911. maybe-clean-stage2-opcodes: clean-stage2-opcodes
  3912. clean-stage2: clean-stage2-opcodes
  3913. clean-stage2-opcodes:
  3914. @if [ $(current_stage) = stage2 ]; then \
  3915. [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
  3916. else \
  3917. [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] || exit 0; \
  3918. $(MAKE) stage2-start; \
  3919. fi; \
  3920. cd $(HOST_SUBDIR)/opcodes && \
  3921. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  3922. @endif opcodes-bootstrap
  3923. .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
  3924. .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
  3925. maybe-all-stage3-opcodes:
  3926. maybe-clean-stage3-opcodes:
  3927. @if opcodes-bootstrap
  3928. maybe-all-stage3-opcodes: all-stage3-opcodes
  3929. all-stage3: all-stage3-opcodes
  3930. TARGET-stage3-opcodes = $(TARGET-opcodes)
  3931. all-stage3-opcodes: configure-stage3-opcodes
  3932. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  3933. @r=`${PWD_COMMAND}`; export r; \
  3934. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3935. TFLAGS="$(STAGE3_TFLAGS)"; \
  3936. $(HOST_EXPORTS) \
  3937. $(POSTSTAGE1_HOST_EXPORTS) \
  3938. cd $(HOST_SUBDIR)/opcodes && \
  3939. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  3940. CFLAGS="$(STAGE3_CFLAGS)" \
  3941. CXXFLAGS="$(STAGE3_CXXFLAGS)" \
  3942. LIBCFLAGS="$(STAGE3_CFLAGS)" \
  3943. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  3944. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  3945. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  3946. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  3947. TFLAGS="$(STAGE3_TFLAGS)" \
  3948. $(TARGET-stage3-opcodes)
  3949. maybe-clean-stage3-opcodes: clean-stage3-opcodes
  3950. clean-stage3: clean-stage3-opcodes
  3951. clean-stage3-opcodes:
  3952. @if [ $(current_stage) = stage3 ]; then \
  3953. [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
  3954. else \
  3955. [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] || exit 0; \
  3956. $(MAKE) stage3-start; \
  3957. fi; \
  3958. cd $(HOST_SUBDIR)/opcodes && \
  3959. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  3960. @endif opcodes-bootstrap
  3961. .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
  3962. .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
  3963. maybe-all-stage4-opcodes:
  3964. maybe-clean-stage4-opcodes:
  3965. @if opcodes-bootstrap
  3966. maybe-all-stage4-opcodes: all-stage4-opcodes
  3967. all-stage4: all-stage4-opcodes
  3968. TARGET-stage4-opcodes = $(TARGET-opcodes)
  3969. all-stage4-opcodes: configure-stage4-opcodes
  3970. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  3971. @r=`${PWD_COMMAND}`; export r; \
  3972. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  3973. TFLAGS="$(STAGE4_TFLAGS)"; \
  3974. $(HOST_EXPORTS) \
  3975. $(POSTSTAGE1_HOST_EXPORTS) \
  3976. cd $(HOST_SUBDIR)/opcodes && \
  3977. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  3978. CFLAGS="$(STAGE4_CFLAGS)" \
  3979. CXXFLAGS="$(STAGE4_CXXFLAGS)" \
  3980. LIBCFLAGS="$(STAGE4_CFLAGS)" \
  3981. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  3982. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  3983. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  3984. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  3985. TFLAGS="$(STAGE4_TFLAGS)" \
  3986. $(TARGET-stage4-opcodes)
  3987. maybe-clean-stage4-opcodes: clean-stage4-opcodes
  3988. clean-stage4: clean-stage4-opcodes
  3989. clean-stage4-opcodes:
  3990. @if [ $(current_stage) = stage4 ]; then \
  3991. [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
  3992. else \
  3993. [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] || exit 0; \
  3994. $(MAKE) stage4-start; \
  3995. fi; \
  3996. cd $(HOST_SUBDIR)/opcodes && \
  3997. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  3998. @endif opcodes-bootstrap
  3999. .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
  4000. .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
  4001. maybe-all-stageprofile-opcodes:
  4002. maybe-clean-stageprofile-opcodes:
  4003. @if opcodes-bootstrap
  4004. maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
  4005. all-stageprofile: all-stageprofile-opcodes
  4006. TARGET-stageprofile-opcodes = $(TARGET-opcodes)
  4007. all-stageprofile-opcodes: configure-stageprofile-opcodes
  4008. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  4009. @r=`${PWD_COMMAND}`; export r; \
  4010. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4011. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  4012. $(HOST_EXPORTS) \
  4013. $(POSTSTAGE1_HOST_EXPORTS) \
  4014. cd $(HOST_SUBDIR)/opcodes && \
  4015. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  4016. CFLAGS="$(STAGEprofile_CFLAGS)" \
  4017. CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
  4018. LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
  4019. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  4020. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  4021. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  4022. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  4023. TFLAGS="$(STAGEprofile_TFLAGS)" \
  4024. $(TARGET-stageprofile-opcodes)
  4025. maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
  4026. clean-stageprofile: clean-stageprofile-opcodes
  4027. clean-stageprofile-opcodes:
  4028. @if [ $(current_stage) = stageprofile ]; then \
  4029. [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
  4030. else \
  4031. [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] || exit 0; \
  4032. $(MAKE) stageprofile-start; \
  4033. fi; \
  4034. cd $(HOST_SUBDIR)/opcodes && \
  4035. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  4036. @endif opcodes-bootstrap
  4037. .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
  4038. .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
  4039. maybe-all-stagefeedback-opcodes:
  4040. maybe-clean-stagefeedback-opcodes:
  4041. @if opcodes-bootstrap
  4042. maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
  4043. all-stagefeedback: all-stagefeedback-opcodes
  4044. TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
  4045. all-stagefeedback-opcodes: configure-stagefeedback-opcodes
  4046. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  4047. @r=`${PWD_COMMAND}`; export r; \
  4048. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4049. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  4050. $(HOST_EXPORTS) \
  4051. $(POSTSTAGE1_HOST_EXPORTS) \
  4052. cd $(HOST_SUBDIR)/opcodes && \
  4053. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  4054. CFLAGS="$(STAGEfeedback_CFLAGS)" \
  4055. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
  4056. LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
  4057. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  4058. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  4059. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  4060. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  4061. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  4062. $(TARGET-stagefeedback-opcodes)
  4063. maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
  4064. clean-stagefeedback: clean-stagefeedback-opcodes
  4065. clean-stagefeedback-opcodes:
  4066. @if [ $(current_stage) = stagefeedback ]; then \
  4067. [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || exit 0; \
  4068. else \
  4069. [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] || exit 0; \
  4070. $(MAKE) stagefeedback-start; \
  4071. fi; \
  4072. cd $(HOST_SUBDIR)/opcodes && \
  4073. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  4074. @endif opcodes-bootstrap
  4075. .PHONY: check-opcodes maybe-check-opcodes
  4076. maybe-check-opcodes:
  4077. @if opcodes
  4078. maybe-check-opcodes: check-opcodes
  4079. check-opcodes:
  4080. @: $(MAKE); $(unstage)
  4081. @r=`${PWD_COMMAND}`; export r; \
  4082. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4083. $(HOST_EXPORTS) \
  4084. (cd $(HOST_SUBDIR)/opcodes && \
  4085. $(MAKE) $(FLAGS_TO_PASS) check)
  4086. @endif opcodes
  4087. .PHONY: install-opcodes maybe-install-opcodes
  4088. maybe-install-opcodes:
  4089. @if opcodes
  4090. maybe-install-opcodes: install-opcodes
  4091. install-opcodes: installdirs
  4092. @: $(MAKE); $(unstage)
  4093. @r=`${PWD_COMMAND}`; export r; \
  4094. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4095. $(HOST_EXPORTS) \
  4096. (cd $(HOST_SUBDIR)/opcodes && \
  4097. $(MAKE) $(FLAGS_TO_PASS) install)
  4098. @endif opcodes
  4099. .PHONY: install-strip-opcodes maybe-install-strip-opcodes
  4100. maybe-install-strip-opcodes:
  4101. @if opcodes
  4102. maybe-install-strip-opcodes: install-strip-opcodes
  4103. install-strip-opcodes: installdirs
  4104. @: $(MAKE); $(unstage)
  4105. @r=`${PWD_COMMAND}`; export r; \
  4106. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4107. $(HOST_EXPORTS) \
  4108. (cd $(HOST_SUBDIR)/opcodes && \
  4109. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  4110. @endif opcodes
  4111. # Other targets (info, dvi, pdf, etc.)
  4112. .PHONY: maybe-info-opcodes info-opcodes
  4113. maybe-info-opcodes:
  4114. @if opcodes
  4115. maybe-info-opcodes: info-opcodes
  4116. info-opcodes: \
  4117. configure-opcodes
  4118. @[ -f ./opcodes/Makefile ] || exit 0; \
  4119. r=`${PWD_COMMAND}`; export r; \
  4120. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4121. $(HOST_EXPORTS) \
  4122. for flag in $(EXTRA_HOST_FLAGS) ; do \
  4123. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  4124. done; \
  4125. echo "Doing info in opcodes" ; \
  4126. (cd $(HOST_SUBDIR)/opcodes && \
  4127. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  4128. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  4129. "RANLIB=$${RANLIB}" \
  4130. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  4131. info) \
  4132. || exit 1
  4133. @endif opcodes
  4134. .PHONY: maybe-dvi-opcodes dvi-opcodes
  4135. maybe-dvi-opcodes:
  4136. @if opcodes
  4137. maybe-dvi-opcodes: dvi-opcodes
  4138. dvi-opcodes: \
  4139. configure-opcodes
  4140. @[ -f ./opcodes/Makefile ] || exit 0; \
  4141. r=`${PWD_COMMAND}`; export r; \
  4142. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4143. $(HOST_EXPORTS) \
  4144. for flag in $(EXTRA_HOST_FLAGS) ; do \
  4145. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  4146. done; \
  4147. echo "Doing dvi in opcodes" ; \
  4148. (cd $(HOST_SUBDIR)/opcodes && \
  4149. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  4150. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  4151. "RANLIB=$${RANLIB}" \
  4152. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  4153. dvi) \
  4154. || exit 1
  4155. @endif opcodes
  4156. .PHONY: maybe-pdf-opcodes pdf-opcodes
  4157. maybe-pdf-opcodes:
  4158. @if opcodes
  4159. maybe-pdf-opcodes: pdf-opcodes
  4160. pdf-opcodes: \
  4161. configure-opcodes
  4162. @[ -f ./opcodes/Makefile ] || exit 0; \
  4163. r=`${PWD_COMMAND}`; export r; \
  4164. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4165. $(HOST_EXPORTS) \
  4166. for flag in $(EXTRA_HOST_FLAGS) ; do \
  4167. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  4168. done; \
  4169. echo "Doing pdf in opcodes" ; \
  4170. (cd $(HOST_SUBDIR)/opcodes && \
  4171. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  4172. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  4173. "RANLIB=$${RANLIB}" \
  4174. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  4175. pdf) \
  4176. || exit 1
  4177. @endif opcodes
  4178. .PHONY: maybe-html-opcodes html-opcodes
  4179. maybe-html-opcodes:
  4180. @if opcodes
  4181. maybe-html-opcodes: html-opcodes
  4182. html-opcodes: \
  4183. configure-opcodes
  4184. @[ -f ./opcodes/Makefile ] || exit 0; \
  4185. r=`${PWD_COMMAND}`; export r; \
  4186. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4187. $(HOST_EXPORTS) \
  4188. for flag in $(EXTRA_HOST_FLAGS) ; do \
  4189. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  4190. done; \
  4191. echo "Doing html in opcodes" ; \
  4192. (cd $(HOST_SUBDIR)/opcodes && \
  4193. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  4194. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  4195. "RANLIB=$${RANLIB}" \
  4196. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  4197. html) \
  4198. || exit 1
  4199. @endif opcodes
  4200. .PHONY: maybe-TAGS-opcodes TAGS-opcodes
  4201. maybe-TAGS-opcodes:
  4202. @if opcodes
  4203. maybe-TAGS-opcodes: TAGS-opcodes
  4204. TAGS-opcodes: \
  4205. configure-opcodes
  4206. @[ -f ./opcodes/Makefile ] || exit 0; \
  4207. r=`${PWD_COMMAND}`; export r; \
  4208. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4209. $(HOST_EXPORTS) \
  4210. for flag in $(EXTRA_HOST_FLAGS) ; do \
  4211. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  4212. done; \
  4213. echo "Doing TAGS in opcodes" ; \
  4214. (cd $(HOST_SUBDIR)/opcodes && \
  4215. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  4216. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  4217. "RANLIB=$${RANLIB}" \
  4218. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  4219. TAGS) \
  4220. || exit 1
  4221. @endif opcodes
  4222. .PHONY: maybe-install-info-opcodes install-info-opcodes
  4223. maybe-install-info-opcodes:
  4224. @if opcodes
  4225. maybe-install-info-opcodes: install-info-opcodes
  4226. install-info-opcodes: \
  4227. configure-opcodes \
  4228. info-opcodes
  4229. @[ -f ./opcodes/Makefile ] || exit 0; \
  4230. r=`${PWD_COMMAND}`; export r; \
  4231. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4232. $(HOST_EXPORTS) \
  4233. for flag in $(EXTRA_HOST_FLAGS) ; do \
  4234. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  4235. done; \
  4236. echo "Doing install-info in opcodes" ; \
  4237. (cd $(HOST_SUBDIR)/opcodes && \
  4238. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  4239. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  4240. "RANLIB=$${RANLIB}" \
  4241. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  4242. install-info) \
  4243. || exit 1
  4244. @endif opcodes
  4245. .PHONY: maybe-install-pdf-opcodes install-pdf-opcodes
  4246. maybe-install-pdf-opcodes:
  4247. @if opcodes
  4248. maybe-install-pdf-opcodes: install-pdf-opcodes
  4249. install-pdf-opcodes: \
  4250. configure-opcodes \
  4251. pdf-opcodes
  4252. @[ -f ./opcodes/Makefile ] || exit 0; \
  4253. r=`${PWD_COMMAND}`; export r; \
  4254. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4255. $(HOST_EXPORTS) \
  4256. for flag in $(EXTRA_HOST_FLAGS) ; do \
  4257. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  4258. done; \
  4259. echo "Doing install-pdf in opcodes" ; \
  4260. (cd $(HOST_SUBDIR)/opcodes && \
  4261. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  4262. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  4263. "RANLIB=$${RANLIB}" \
  4264. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  4265. install-pdf) \
  4266. || exit 1
  4267. @endif opcodes
  4268. .PHONY: maybe-install-html-opcodes install-html-opcodes
  4269. maybe-install-html-opcodes:
  4270. @if opcodes
  4271. maybe-install-html-opcodes: install-html-opcodes
  4272. install-html-opcodes: \
  4273. configure-opcodes \
  4274. html-opcodes
  4275. @[ -f ./opcodes/Makefile ] || exit 0; \
  4276. r=`${PWD_COMMAND}`; export r; \
  4277. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4278. $(HOST_EXPORTS) \
  4279. for flag in $(EXTRA_HOST_FLAGS) ; do \
  4280. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  4281. done; \
  4282. echo "Doing install-html in opcodes" ; \
  4283. (cd $(HOST_SUBDIR)/opcodes && \
  4284. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  4285. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  4286. "RANLIB=$${RANLIB}" \
  4287. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  4288. install-html) \
  4289. || exit 1
  4290. @endif opcodes
  4291. .PHONY: maybe-installcheck-opcodes installcheck-opcodes
  4292. maybe-installcheck-opcodes:
  4293. @if opcodes
  4294. maybe-installcheck-opcodes: installcheck-opcodes
  4295. installcheck-opcodes: \
  4296. configure-opcodes
  4297. @[ -f ./opcodes/Makefile ] || exit 0; \
  4298. r=`${PWD_COMMAND}`; export r; \
  4299. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4300. $(HOST_EXPORTS) \
  4301. for flag in $(EXTRA_HOST_FLAGS) ; do \
  4302. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  4303. done; \
  4304. echo "Doing installcheck in opcodes" ; \
  4305. (cd $(HOST_SUBDIR)/opcodes && \
  4306. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  4307. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  4308. "RANLIB=$${RANLIB}" \
  4309. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  4310. installcheck) \
  4311. || exit 1
  4312. @endif opcodes
  4313. .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
  4314. maybe-mostlyclean-opcodes:
  4315. @if opcodes
  4316. maybe-mostlyclean-opcodes: mostlyclean-opcodes
  4317. mostlyclean-opcodes:
  4318. @[ -f ./opcodes/Makefile ] || exit 0; \
  4319. r=`${PWD_COMMAND}`; export r; \
  4320. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4321. $(HOST_EXPORTS) \
  4322. for flag in $(EXTRA_HOST_FLAGS) ; do \
  4323. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  4324. done; \
  4325. echo "Doing mostlyclean in opcodes" ; \
  4326. (cd $(HOST_SUBDIR)/opcodes && \
  4327. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  4328. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  4329. "RANLIB=$${RANLIB}" \
  4330. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  4331. mostlyclean) \
  4332. || exit 1
  4333. @endif opcodes
  4334. .PHONY: maybe-clean-opcodes clean-opcodes
  4335. maybe-clean-opcodes:
  4336. @if opcodes
  4337. maybe-clean-opcodes: clean-opcodes
  4338. clean-opcodes:
  4339. @[ -f ./opcodes/Makefile ] || exit 0; \
  4340. r=`${PWD_COMMAND}`; export r; \
  4341. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4342. $(HOST_EXPORTS) \
  4343. for flag in $(EXTRA_HOST_FLAGS) ; do \
  4344. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  4345. done; \
  4346. echo "Doing clean in opcodes" ; \
  4347. (cd $(HOST_SUBDIR)/opcodes && \
  4348. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  4349. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  4350. "RANLIB=$${RANLIB}" \
  4351. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  4352. clean) \
  4353. || exit 1
  4354. @endif opcodes
  4355. .PHONY: maybe-distclean-opcodes distclean-opcodes
  4356. maybe-distclean-opcodes:
  4357. @if opcodes
  4358. maybe-distclean-opcodes: distclean-opcodes
  4359. distclean-opcodes:
  4360. @[ -f ./opcodes/Makefile ] || exit 0; \
  4361. r=`${PWD_COMMAND}`; export r; \
  4362. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4363. $(HOST_EXPORTS) \
  4364. for flag in $(EXTRA_HOST_FLAGS) ; do \
  4365. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  4366. done; \
  4367. echo "Doing distclean in opcodes" ; \
  4368. (cd $(HOST_SUBDIR)/opcodes && \
  4369. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  4370. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  4371. "RANLIB=$${RANLIB}" \
  4372. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  4373. distclean) \
  4374. || exit 1
  4375. @endif opcodes
  4376. .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
  4377. maybe-maintainer-clean-opcodes:
  4378. @if opcodes
  4379. maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
  4380. maintainer-clean-opcodes:
  4381. @[ -f ./opcodes/Makefile ] || exit 0; \
  4382. r=`${PWD_COMMAND}`; export r; \
  4383. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4384. $(HOST_EXPORTS) \
  4385. for flag in $(EXTRA_HOST_FLAGS) ; do \
  4386. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  4387. done; \
  4388. echo "Doing maintainer-clean in opcodes" ; \
  4389. (cd $(HOST_SUBDIR)/opcodes && \
  4390. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  4391. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  4392. "RANLIB=$${RANLIB}" \
  4393. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  4394. maintainer-clean) \
  4395. || exit 1
  4396. @endif opcodes
  4397. .PHONY: configure-binutils maybe-configure-binutils
  4398. maybe-configure-binutils:
  4399. @if gcc-bootstrap
  4400. configure-binutils: stage_current
  4401. @endif gcc-bootstrap
  4402. @if binutils
  4403. maybe-configure-binutils: configure-binutils
  4404. configure-binutils:
  4405. @r=`${PWD_COMMAND}`; export r; \
  4406. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4407. test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
  4408. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
  4409. $(HOST_EXPORTS) \
  4410. echo Configuring in $(HOST_SUBDIR)/binutils; \
  4411. cd "$(HOST_SUBDIR)/binutils" || exit 1; \
  4412. case $(srcdir) in \
  4413. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  4414. *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
  4415. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  4416. esac; \
  4417. module_srcdir=binutils; \
  4418. $(SHELL) \
  4419. $$s/$$module_srcdir/configure \
  4420. --srcdir=$${topdir}/$$module_srcdir \
  4421. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  4422. --target=${target_alias} \
  4423. || exit 1
  4424. @endif binutils
  4425. .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
  4426. maybe-configure-stage1-binutils:
  4427. @if binutils-bootstrap
  4428. maybe-configure-stage1-binutils: configure-stage1-binutils
  4429. configure-stage1-binutils:
  4430. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  4431. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
  4432. @r=`${PWD_COMMAND}`; export r; \
  4433. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4434. TFLAGS="$(STAGE1_TFLAGS)"; \
  4435. test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
  4436. $(HOST_EXPORTS) \
  4437. CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
  4438. CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
  4439. LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
  4440. echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
  4441. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
  4442. cd $(HOST_SUBDIR)/binutils || exit 1; \
  4443. case $(srcdir) in \
  4444. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  4445. *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
  4446. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  4447. esac; \
  4448. module_srcdir=binutils; \
  4449. $(SHELL) $$s/$$module_srcdir/configure \
  4450. --srcdir=$${topdir}/$$module_srcdir \
  4451. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  4452. --target=${target_alias} \
  4453. \
  4454. $(STAGE1_CONFIGURE_FLAGS)
  4455. @endif binutils-bootstrap
  4456. .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
  4457. maybe-configure-stage2-binutils:
  4458. @if binutils-bootstrap
  4459. maybe-configure-stage2-binutils: configure-stage2-binutils
  4460. configure-stage2-binutils:
  4461. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  4462. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
  4463. @r=`${PWD_COMMAND}`; export r; \
  4464. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4465. TFLAGS="$(STAGE2_TFLAGS)"; \
  4466. test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
  4467. $(HOST_EXPORTS) \
  4468. $(POSTSTAGE1_HOST_EXPORTS) \
  4469. CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
  4470. CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
  4471. LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
  4472. echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
  4473. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
  4474. cd $(HOST_SUBDIR)/binutils || exit 1; \
  4475. case $(srcdir) in \
  4476. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  4477. *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
  4478. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  4479. esac; \
  4480. module_srcdir=binutils; \
  4481. $(SHELL) $$s/$$module_srcdir/configure \
  4482. --srcdir=$${topdir}/$$module_srcdir \
  4483. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  4484. --target=${target_alias} \
  4485. --with-build-libsubdir=$(HOST_SUBDIR) \
  4486. $(STAGE2_CONFIGURE_FLAGS)
  4487. @endif binutils-bootstrap
  4488. .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
  4489. maybe-configure-stage3-binutils:
  4490. @if binutils-bootstrap
  4491. maybe-configure-stage3-binutils: configure-stage3-binutils
  4492. configure-stage3-binutils:
  4493. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  4494. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
  4495. @r=`${PWD_COMMAND}`; export r; \
  4496. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4497. TFLAGS="$(STAGE3_TFLAGS)"; \
  4498. test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
  4499. $(HOST_EXPORTS) \
  4500. $(POSTSTAGE1_HOST_EXPORTS) \
  4501. CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
  4502. CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
  4503. LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
  4504. echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
  4505. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
  4506. cd $(HOST_SUBDIR)/binutils || exit 1; \
  4507. case $(srcdir) in \
  4508. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  4509. *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
  4510. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  4511. esac; \
  4512. module_srcdir=binutils; \
  4513. $(SHELL) $$s/$$module_srcdir/configure \
  4514. --srcdir=$${topdir}/$$module_srcdir \
  4515. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  4516. --target=${target_alias} \
  4517. --with-build-libsubdir=$(HOST_SUBDIR) \
  4518. $(STAGE3_CONFIGURE_FLAGS)
  4519. @endif binutils-bootstrap
  4520. .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
  4521. maybe-configure-stage4-binutils:
  4522. @if binutils-bootstrap
  4523. maybe-configure-stage4-binutils: configure-stage4-binutils
  4524. configure-stage4-binutils:
  4525. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  4526. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
  4527. @r=`${PWD_COMMAND}`; export r; \
  4528. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4529. TFLAGS="$(STAGE4_TFLAGS)"; \
  4530. test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
  4531. $(HOST_EXPORTS) \
  4532. $(POSTSTAGE1_HOST_EXPORTS) \
  4533. CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
  4534. CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
  4535. LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
  4536. echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
  4537. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
  4538. cd $(HOST_SUBDIR)/binutils || exit 1; \
  4539. case $(srcdir) in \
  4540. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  4541. *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
  4542. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  4543. esac; \
  4544. module_srcdir=binutils; \
  4545. $(SHELL) $$s/$$module_srcdir/configure \
  4546. --srcdir=$${topdir}/$$module_srcdir \
  4547. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  4548. --target=${target_alias} \
  4549. --with-build-libsubdir=$(HOST_SUBDIR) \
  4550. $(STAGE4_CONFIGURE_FLAGS)
  4551. @endif binutils-bootstrap
  4552. .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
  4553. maybe-configure-stageprofile-binutils:
  4554. @if binutils-bootstrap
  4555. maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
  4556. configure-stageprofile-binutils:
  4557. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  4558. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
  4559. @r=`${PWD_COMMAND}`; export r; \
  4560. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4561. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  4562. test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
  4563. $(HOST_EXPORTS) \
  4564. $(POSTSTAGE1_HOST_EXPORTS) \
  4565. CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
  4566. CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
  4567. LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
  4568. echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
  4569. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
  4570. cd $(HOST_SUBDIR)/binutils || exit 1; \
  4571. case $(srcdir) in \
  4572. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  4573. *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
  4574. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  4575. esac; \
  4576. module_srcdir=binutils; \
  4577. $(SHELL) $$s/$$module_srcdir/configure \
  4578. --srcdir=$${topdir}/$$module_srcdir \
  4579. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  4580. --target=${target_alias} \
  4581. --with-build-libsubdir=$(HOST_SUBDIR) \
  4582. $(STAGEprofile_CONFIGURE_FLAGS)
  4583. @endif binutils-bootstrap
  4584. .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
  4585. maybe-configure-stagefeedback-binutils:
  4586. @if binutils-bootstrap
  4587. maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
  4588. configure-stagefeedback-binutils:
  4589. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  4590. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils
  4591. @r=`${PWD_COMMAND}`; export r; \
  4592. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4593. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  4594. test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
  4595. $(HOST_EXPORTS) \
  4596. $(POSTSTAGE1_HOST_EXPORTS) \
  4597. CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
  4598. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
  4599. LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
  4600. echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
  4601. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
  4602. cd $(HOST_SUBDIR)/binutils || exit 1; \
  4603. case $(srcdir) in \
  4604. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  4605. *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
  4606. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  4607. esac; \
  4608. module_srcdir=binutils; \
  4609. $(SHELL) $$s/$$module_srcdir/configure \
  4610. --srcdir=$${topdir}/$$module_srcdir \
  4611. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  4612. --target=${target_alias} \
  4613. --with-build-libsubdir=$(HOST_SUBDIR) \
  4614. $(STAGEfeedback_CONFIGURE_FLAGS)
  4615. @endif binutils-bootstrap
  4616. .PHONY: all-binutils maybe-all-binutils
  4617. maybe-all-binutils:
  4618. @if gcc-bootstrap
  4619. all-binutils: stage_current
  4620. @endif gcc-bootstrap
  4621. @if binutils
  4622. TARGET-binutils=all
  4623. maybe-all-binutils: all-binutils
  4624. all-binutils: configure-binutils
  4625. @r=`${PWD_COMMAND}`; export r; \
  4626. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4627. $(HOST_EXPORTS) \
  4628. (cd $(HOST_SUBDIR)/binutils && \
  4629. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  4630. $(TARGET-binutils))
  4631. @endif binutils
  4632. .PHONY: all-stage1-binutils maybe-all-stage1-binutils
  4633. .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
  4634. maybe-all-stage1-binutils:
  4635. maybe-clean-stage1-binutils:
  4636. @if binutils-bootstrap
  4637. maybe-all-stage1-binutils: all-stage1-binutils
  4638. all-stage1: all-stage1-binutils
  4639. TARGET-stage1-binutils = $(TARGET-binutils)
  4640. all-stage1-binutils: configure-stage1-binutils
  4641. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  4642. @r=`${PWD_COMMAND}`; export r; \
  4643. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4644. TFLAGS="$(STAGE1_TFLAGS)"; \
  4645. $(HOST_EXPORTS) \
  4646. cd $(HOST_SUBDIR)/binutils && \
  4647. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  4648. CFLAGS="$(STAGE1_CFLAGS)" \
  4649. CXXFLAGS="$(STAGE1_CXXFLAGS)" \
  4650. LIBCFLAGS="$(LIBCFLAGS)" \
  4651. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  4652. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  4653. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  4654. $(EXTRA_HOST_FLAGS) \
  4655. $(STAGE1_FLAGS_TO_PASS) \
  4656. TFLAGS="$(STAGE1_TFLAGS)" \
  4657. $(TARGET-stage1-binutils)
  4658. maybe-clean-stage1-binutils: clean-stage1-binutils
  4659. clean-stage1: clean-stage1-binutils
  4660. clean-stage1-binutils:
  4661. @if [ $(current_stage) = stage1 ]; then \
  4662. [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
  4663. else \
  4664. [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] || exit 0; \
  4665. $(MAKE) stage1-start; \
  4666. fi; \
  4667. cd $(HOST_SUBDIR)/binutils && \
  4668. $(MAKE) $(EXTRA_HOST_FLAGS) \
  4669. $(STAGE1_FLAGS_TO_PASS) clean
  4670. @endif binutils-bootstrap
  4671. .PHONY: all-stage2-binutils maybe-all-stage2-binutils
  4672. .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
  4673. maybe-all-stage2-binutils:
  4674. maybe-clean-stage2-binutils:
  4675. @if binutils-bootstrap
  4676. maybe-all-stage2-binutils: all-stage2-binutils
  4677. all-stage2: all-stage2-binutils
  4678. TARGET-stage2-binutils = $(TARGET-binutils)
  4679. all-stage2-binutils: configure-stage2-binutils
  4680. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  4681. @r=`${PWD_COMMAND}`; export r; \
  4682. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4683. TFLAGS="$(STAGE2_TFLAGS)"; \
  4684. $(HOST_EXPORTS) \
  4685. $(POSTSTAGE1_HOST_EXPORTS) \
  4686. cd $(HOST_SUBDIR)/binutils && \
  4687. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  4688. CFLAGS="$(STAGE2_CFLAGS)" \
  4689. CXXFLAGS="$(STAGE2_CXXFLAGS)" \
  4690. LIBCFLAGS="$(STAGE2_CFLAGS)" \
  4691. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  4692. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  4693. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  4694. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  4695. TFLAGS="$(STAGE2_TFLAGS)" \
  4696. $(TARGET-stage2-binutils)
  4697. maybe-clean-stage2-binutils: clean-stage2-binutils
  4698. clean-stage2: clean-stage2-binutils
  4699. clean-stage2-binutils:
  4700. @if [ $(current_stage) = stage2 ]; then \
  4701. [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
  4702. else \
  4703. [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] || exit 0; \
  4704. $(MAKE) stage2-start; \
  4705. fi; \
  4706. cd $(HOST_SUBDIR)/binutils && \
  4707. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  4708. @endif binutils-bootstrap
  4709. .PHONY: all-stage3-binutils maybe-all-stage3-binutils
  4710. .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
  4711. maybe-all-stage3-binutils:
  4712. maybe-clean-stage3-binutils:
  4713. @if binutils-bootstrap
  4714. maybe-all-stage3-binutils: all-stage3-binutils
  4715. all-stage3: all-stage3-binutils
  4716. TARGET-stage3-binutils = $(TARGET-binutils)
  4717. all-stage3-binutils: configure-stage3-binutils
  4718. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  4719. @r=`${PWD_COMMAND}`; export r; \
  4720. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4721. TFLAGS="$(STAGE3_TFLAGS)"; \
  4722. $(HOST_EXPORTS) \
  4723. $(POSTSTAGE1_HOST_EXPORTS) \
  4724. cd $(HOST_SUBDIR)/binutils && \
  4725. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  4726. CFLAGS="$(STAGE3_CFLAGS)" \
  4727. CXXFLAGS="$(STAGE3_CXXFLAGS)" \
  4728. LIBCFLAGS="$(STAGE3_CFLAGS)" \
  4729. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  4730. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  4731. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  4732. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  4733. TFLAGS="$(STAGE3_TFLAGS)" \
  4734. $(TARGET-stage3-binutils)
  4735. maybe-clean-stage3-binutils: clean-stage3-binutils
  4736. clean-stage3: clean-stage3-binutils
  4737. clean-stage3-binutils:
  4738. @if [ $(current_stage) = stage3 ]; then \
  4739. [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
  4740. else \
  4741. [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] || exit 0; \
  4742. $(MAKE) stage3-start; \
  4743. fi; \
  4744. cd $(HOST_SUBDIR)/binutils && \
  4745. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  4746. @endif binutils-bootstrap
  4747. .PHONY: all-stage4-binutils maybe-all-stage4-binutils
  4748. .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
  4749. maybe-all-stage4-binutils:
  4750. maybe-clean-stage4-binutils:
  4751. @if binutils-bootstrap
  4752. maybe-all-stage4-binutils: all-stage4-binutils
  4753. all-stage4: all-stage4-binutils
  4754. TARGET-stage4-binutils = $(TARGET-binutils)
  4755. all-stage4-binutils: configure-stage4-binutils
  4756. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  4757. @r=`${PWD_COMMAND}`; export r; \
  4758. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4759. TFLAGS="$(STAGE4_TFLAGS)"; \
  4760. $(HOST_EXPORTS) \
  4761. $(POSTSTAGE1_HOST_EXPORTS) \
  4762. cd $(HOST_SUBDIR)/binutils && \
  4763. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  4764. CFLAGS="$(STAGE4_CFLAGS)" \
  4765. CXXFLAGS="$(STAGE4_CXXFLAGS)" \
  4766. LIBCFLAGS="$(STAGE4_CFLAGS)" \
  4767. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  4768. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  4769. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  4770. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  4771. TFLAGS="$(STAGE4_TFLAGS)" \
  4772. $(TARGET-stage4-binutils)
  4773. maybe-clean-stage4-binutils: clean-stage4-binutils
  4774. clean-stage4: clean-stage4-binutils
  4775. clean-stage4-binutils:
  4776. @if [ $(current_stage) = stage4 ]; then \
  4777. [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
  4778. else \
  4779. [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] || exit 0; \
  4780. $(MAKE) stage4-start; \
  4781. fi; \
  4782. cd $(HOST_SUBDIR)/binutils && \
  4783. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  4784. @endif binutils-bootstrap
  4785. .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
  4786. .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
  4787. maybe-all-stageprofile-binutils:
  4788. maybe-clean-stageprofile-binutils:
  4789. @if binutils-bootstrap
  4790. maybe-all-stageprofile-binutils: all-stageprofile-binutils
  4791. all-stageprofile: all-stageprofile-binutils
  4792. TARGET-stageprofile-binutils = $(TARGET-binutils)
  4793. all-stageprofile-binutils: configure-stageprofile-binutils
  4794. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  4795. @r=`${PWD_COMMAND}`; export r; \
  4796. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4797. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  4798. $(HOST_EXPORTS) \
  4799. $(POSTSTAGE1_HOST_EXPORTS) \
  4800. cd $(HOST_SUBDIR)/binutils && \
  4801. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  4802. CFLAGS="$(STAGEprofile_CFLAGS)" \
  4803. CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
  4804. LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
  4805. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  4806. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  4807. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  4808. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  4809. TFLAGS="$(STAGEprofile_TFLAGS)" \
  4810. $(TARGET-stageprofile-binutils)
  4811. maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
  4812. clean-stageprofile: clean-stageprofile-binutils
  4813. clean-stageprofile-binutils:
  4814. @if [ $(current_stage) = stageprofile ]; then \
  4815. [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
  4816. else \
  4817. [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] || exit 0; \
  4818. $(MAKE) stageprofile-start; \
  4819. fi; \
  4820. cd $(HOST_SUBDIR)/binutils && \
  4821. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  4822. @endif binutils-bootstrap
  4823. .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
  4824. .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
  4825. maybe-all-stagefeedback-binutils:
  4826. maybe-clean-stagefeedback-binutils:
  4827. @if binutils-bootstrap
  4828. maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
  4829. all-stagefeedback: all-stagefeedback-binutils
  4830. TARGET-stagefeedback-binutils = $(TARGET-binutils)
  4831. all-stagefeedback-binutils: configure-stagefeedback-binutils
  4832. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  4833. @r=`${PWD_COMMAND}`; export r; \
  4834. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4835. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  4836. $(HOST_EXPORTS) \
  4837. $(POSTSTAGE1_HOST_EXPORTS) \
  4838. cd $(HOST_SUBDIR)/binutils && \
  4839. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  4840. CFLAGS="$(STAGEfeedback_CFLAGS)" \
  4841. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
  4842. LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
  4843. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  4844. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  4845. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  4846. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  4847. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  4848. $(TARGET-stagefeedback-binutils)
  4849. maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
  4850. clean-stagefeedback: clean-stagefeedback-binutils
  4851. clean-stagefeedback-binutils:
  4852. @if [ $(current_stage) = stagefeedback ]; then \
  4853. [ -f $(HOST_SUBDIR)/binutils/Makefile ] || exit 0; \
  4854. else \
  4855. [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] || exit 0; \
  4856. $(MAKE) stagefeedback-start; \
  4857. fi; \
  4858. cd $(HOST_SUBDIR)/binutils && \
  4859. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  4860. @endif binutils-bootstrap
  4861. .PHONY: check-binutils maybe-check-binutils
  4862. maybe-check-binutils:
  4863. @if binutils
  4864. maybe-check-binutils: check-binutils
  4865. check-binutils:
  4866. @: $(MAKE); $(unstage)
  4867. @r=`${PWD_COMMAND}`; export r; \
  4868. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4869. $(HOST_EXPORTS) \
  4870. (cd $(HOST_SUBDIR)/binutils && \
  4871. $(MAKE) $(FLAGS_TO_PASS) check)
  4872. @endif binutils
  4873. .PHONY: install-binutils maybe-install-binutils
  4874. maybe-install-binutils:
  4875. @if binutils
  4876. maybe-install-binutils: install-binutils
  4877. install-binutils: installdirs
  4878. @: $(MAKE); $(unstage)
  4879. @r=`${PWD_COMMAND}`; export r; \
  4880. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4881. $(HOST_EXPORTS) \
  4882. (cd $(HOST_SUBDIR)/binutils && \
  4883. $(MAKE) $(FLAGS_TO_PASS) install)
  4884. @endif binutils
  4885. .PHONY: install-strip-binutils maybe-install-strip-binutils
  4886. maybe-install-strip-binutils:
  4887. @if binutils
  4888. maybe-install-strip-binutils: install-strip-binutils
  4889. install-strip-binutils: installdirs
  4890. @: $(MAKE); $(unstage)
  4891. @r=`${PWD_COMMAND}`; export r; \
  4892. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4893. $(HOST_EXPORTS) \
  4894. (cd $(HOST_SUBDIR)/binutils && \
  4895. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  4896. @endif binutils
  4897. # Other targets (info, dvi, pdf, etc.)
  4898. .PHONY: maybe-info-binutils info-binutils
  4899. maybe-info-binutils:
  4900. @if binutils
  4901. maybe-info-binutils: info-binutils
  4902. info-binutils: \
  4903. configure-binutils
  4904. @[ -f ./binutils/Makefile ] || exit 0; \
  4905. r=`${PWD_COMMAND}`; export r; \
  4906. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4907. $(HOST_EXPORTS) \
  4908. for flag in $(EXTRA_HOST_FLAGS) ; do \
  4909. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  4910. done; \
  4911. echo "Doing info in binutils" ; \
  4912. (cd $(HOST_SUBDIR)/binutils && \
  4913. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  4914. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  4915. "RANLIB=$${RANLIB}" \
  4916. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  4917. info) \
  4918. || exit 1
  4919. @endif binutils
  4920. .PHONY: maybe-dvi-binutils dvi-binutils
  4921. maybe-dvi-binutils:
  4922. @if binutils
  4923. maybe-dvi-binutils: dvi-binutils
  4924. dvi-binutils: \
  4925. configure-binutils
  4926. @[ -f ./binutils/Makefile ] || exit 0; \
  4927. r=`${PWD_COMMAND}`; export r; \
  4928. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4929. $(HOST_EXPORTS) \
  4930. for flag in $(EXTRA_HOST_FLAGS) ; do \
  4931. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  4932. done; \
  4933. echo "Doing dvi in binutils" ; \
  4934. (cd $(HOST_SUBDIR)/binutils && \
  4935. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  4936. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  4937. "RANLIB=$${RANLIB}" \
  4938. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  4939. dvi) \
  4940. || exit 1
  4941. @endif binutils
  4942. .PHONY: maybe-pdf-binutils pdf-binutils
  4943. maybe-pdf-binutils:
  4944. @if binutils
  4945. maybe-pdf-binutils: pdf-binutils
  4946. pdf-binutils: \
  4947. configure-binutils
  4948. @[ -f ./binutils/Makefile ] || exit 0; \
  4949. r=`${PWD_COMMAND}`; export r; \
  4950. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4951. $(HOST_EXPORTS) \
  4952. for flag in $(EXTRA_HOST_FLAGS) ; do \
  4953. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  4954. done; \
  4955. echo "Doing pdf in binutils" ; \
  4956. (cd $(HOST_SUBDIR)/binutils && \
  4957. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  4958. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  4959. "RANLIB=$${RANLIB}" \
  4960. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  4961. pdf) \
  4962. || exit 1
  4963. @endif binutils
  4964. .PHONY: maybe-html-binutils html-binutils
  4965. maybe-html-binutils:
  4966. @if binutils
  4967. maybe-html-binutils: html-binutils
  4968. html-binutils: \
  4969. configure-binutils
  4970. @[ -f ./binutils/Makefile ] || exit 0; \
  4971. r=`${PWD_COMMAND}`; export r; \
  4972. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4973. $(HOST_EXPORTS) \
  4974. for flag in $(EXTRA_HOST_FLAGS) ; do \
  4975. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  4976. done; \
  4977. echo "Doing html in binutils" ; \
  4978. (cd $(HOST_SUBDIR)/binutils && \
  4979. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  4980. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  4981. "RANLIB=$${RANLIB}" \
  4982. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  4983. html) \
  4984. || exit 1
  4985. @endif binutils
  4986. .PHONY: maybe-TAGS-binutils TAGS-binutils
  4987. maybe-TAGS-binutils:
  4988. @if binutils
  4989. maybe-TAGS-binutils: TAGS-binutils
  4990. TAGS-binutils: \
  4991. configure-binutils
  4992. @[ -f ./binutils/Makefile ] || exit 0; \
  4993. r=`${PWD_COMMAND}`; export r; \
  4994. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  4995. $(HOST_EXPORTS) \
  4996. for flag in $(EXTRA_HOST_FLAGS) ; do \
  4997. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  4998. done; \
  4999. echo "Doing TAGS in binutils" ; \
  5000. (cd $(HOST_SUBDIR)/binutils && \
  5001. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5002. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5003. "RANLIB=$${RANLIB}" \
  5004. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5005. TAGS) \
  5006. || exit 1
  5007. @endif binutils
  5008. .PHONY: maybe-install-info-binutils install-info-binutils
  5009. maybe-install-info-binutils:
  5010. @if binutils
  5011. maybe-install-info-binutils: install-info-binutils
  5012. install-info-binutils: \
  5013. configure-binutils \
  5014. info-binutils
  5015. @[ -f ./binutils/Makefile ] || exit 0; \
  5016. r=`${PWD_COMMAND}`; export r; \
  5017. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5018. $(HOST_EXPORTS) \
  5019. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5020. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5021. done; \
  5022. echo "Doing install-info in binutils" ; \
  5023. (cd $(HOST_SUBDIR)/binutils && \
  5024. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5025. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5026. "RANLIB=$${RANLIB}" \
  5027. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5028. install-info) \
  5029. || exit 1
  5030. @endif binutils
  5031. .PHONY: maybe-install-pdf-binutils install-pdf-binutils
  5032. maybe-install-pdf-binutils:
  5033. @if binutils
  5034. maybe-install-pdf-binutils: install-pdf-binutils
  5035. install-pdf-binutils: \
  5036. configure-binutils \
  5037. pdf-binutils
  5038. @[ -f ./binutils/Makefile ] || exit 0; \
  5039. r=`${PWD_COMMAND}`; export r; \
  5040. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5041. $(HOST_EXPORTS) \
  5042. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5043. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5044. done; \
  5045. echo "Doing install-pdf in binutils" ; \
  5046. (cd $(HOST_SUBDIR)/binutils && \
  5047. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5048. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5049. "RANLIB=$${RANLIB}" \
  5050. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5051. install-pdf) \
  5052. || exit 1
  5053. @endif binutils
  5054. .PHONY: maybe-install-html-binutils install-html-binutils
  5055. maybe-install-html-binutils:
  5056. @if binutils
  5057. maybe-install-html-binutils: install-html-binutils
  5058. install-html-binutils: \
  5059. configure-binutils \
  5060. html-binutils
  5061. @[ -f ./binutils/Makefile ] || exit 0; \
  5062. r=`${PWD_COMMAND}`; export r; \
  5063. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5064. $(HOST_EXPORTS) \
  5065. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5066. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5067. done; \
  5068. echo "Doing install-html in binutils" ; \
  5069. (cd $(HOST_SUBDIR)/binutils && \
  5070. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5071. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5072. "RANLIB=$${RANLIB}" \
  5073. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5074. install-html) \
  5075. || exit 1
  5076. @endif binutils
  5077. .PHONY: maybe-installcheck-binutils installcheck-binutils
  5078. maybe-installcheck-binutils:
  5079. @if binutils
  5080. maybe-installcheck-binutils: installcheck-binutils
  5081. installcheck-binutils: \
  5082. configure-binutils
  5083. @[ -f ./binutils/Makefile ] || exit 0; \
  5084. r=`${PWD_COMMAND}`; export r; \
  5085. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5086. $(HOST_EXPORTS) \
  5087. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5088. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5089. done; \
  5090. echo "Doing installcheck in binutils" ; \
  5091. (cd $(HOST_SUBDIR)/binutils && \
  5092. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5093. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5094. "RANLIB=$${RANLIB}" \
  5095. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5096. installcheck) \
  5097. || exit 1
  5098. @endif binutils
  5099. .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
  5100. maybe-mostlyclean-binutils:
  5101. @if binutils
  5102. maybe-mostlyclean-binutils: mostlyclean-binutils
  5103. mostlyclean-binutils:
  5104. @[ -f ./binutils/Makefile ] || exit 0; \
  5105. r=`${PWD_COMMAND}`; export r; \
  5106. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5107. $(HOST_EXPORTS) \
  5108. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5109. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5110. done; \
  5111. echo "Doing mostlyclean in binutils" ; \
  5112. (cd $(HOST_SUBDIR)/binutils && \
  5113. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5114. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5115. "RANLIB=$${RANLIB}" \
  5116. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5117. mostlyclean) \
  5118. || exit 1
  5119. @endif binutils
  5120. .PHONY: maybe-clean-binutils clean-binutils
  5121. maybe-clean-binutils:
  5122. @if binutils
  5123. maybe-clean-binutils: clean-binutils
  5124. clean-binutils:
  5125. @[ -f ./binutils/Makefile ] || exit 0; \
  5126. r=`${PWD_COMMAND}`; export r; \
  5127. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5128. $(HOST_EXPORTS) \
  5129. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5130. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5131. done; \
  5132. echo "Doing clean in binutils" ; \
  5133. (cd $(HOST_SUBDIR)/binutils && \
  5134. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5135. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5136. "RANLIB=$${RANLIB}" \
  5137. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5138. clean) \
  5139. || exit 1
  5140. @endif binutils
  5141. .PHONY: maybe-distclean-binutils distclean-binutils
  5142. maybe-distclean-binutils:
  5143. @if binutils
  5144. maybe-distclean-binutils: distclean-binutils
  5145. distclean-binutils:
  5146. @[ -f ./binutils/Makefile ] || exit 0; \
  5147. r=`${PWD_COMMAND}`; export r; \
  5148. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5149. $(HOST_EXPORTS) \
  5150. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5151. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5152. done; \
  5153. echo "Doing distclean in binutils" ; \
  5154. (cd $(HOST_SUBDIR)/binutils && \
  5155. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5156. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5157. "RANLIB=$${RANLIB}" \
  5158. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5159. distclean) \
  5160. || exit 1
  5161. @endif binutils
  5162. .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
  5163. maybe-maintainer-clean-binutils:
  5164. @if binutils
  5165. maybe-maintainer-clean-binutils: maintainer-clean-binutils
  5166. maintainer-clean-binutils:
  5167. @[ -f ./binutils/Makefile ] || exit 0; \
  5168. r=`${PWD_COMMAND}`; export r; \
  5169. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5170. $(HOST_EXPORTS) \
  5171. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5172. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5173. done; \
  5174. echo "Doing maintainer-clean in binutils" ; \
  5175. (cd $(HOST_SUBDIR)/binutils && \
  5176. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5177. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5178. "RANLIB=$${RANLIB}" \
  5179. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5180. maintainer-clean) \
  5181. || exit 1
  5182. @endif binutils
  5183. .PHONY: configure-bison maybe-configure-bison
  5184. maybe-configure-bison:
  5185. @if gcc-bootstrap
  5186. configure-bison: stage_current
  5187. @endif gcc-bootstrap
  5188. @if bison
  5189. maybe-configure-bison: configure-bison
  5190. configure-bison:
  5191. @: $(MAKE); $(unstage)
  5192. @r=`${PWD_COMMAND}`; export r; \
  5193. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5194. test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
  5195. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
  5196. $(HOST_EXPORTS) \
  5197. echo Configuring in $(HOST_SUBDIR)/bison; \
  5198. cd "$(HOST_SUBDIR)/bison" || exit 1; \
  5199. case $(srcdir) in \
  5200. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  5201. *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
  5202. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  5203. esac; \
  5204. module_srcdir=bison; \
  5205. $(SHELL) \
  5206. $$s/$$module_srcdir/configure \
  5207. --srcdir=$${topdir}/$$module_srcdir \
  5208. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  5209. --target=${target_alias} \
  5210. || exit 1
  5211. @endif bison
  5212. .PHONY: all-bison maybe-all-bison
  5213. maybe-all-bison:
  5214. @if gcc-bootstrap
  5215. all-bison: stage_current
  5216. @endif gcc-bootstrap
  5217. @if bison
  5218. TARGET-bison=all
  5219. maybe-all-bison: all-bison
  5220. all-bison: configure-bison
  5221. @: $(MAKE); $(unstage)
  5222. @r=`${PWD_COMMAND}`; export r; \
  5223. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5224. $(HOST_EXPORTS) \
  5225. (cd $(HOST_SUBDIR)/bison && \
  5226. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  5227. $(TARGET-bison))
  5228. @endif bison
  5229. .PHONY: check-bison maybe-check-bison
  5230. maybe-check-bison:
  5231. @if bison
  5232. maybe-check-bison: check-bison
  5233. # This module is only tested in a native toolchain.
  5234. check-bison:
  5235. @: $(MAKE); $(unstage)
  5236. @if [ '$(host)' = '$(target)' ] ; then \
  5237. r=`${PWD_COMMAND}`; export r; \
  5238. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5239. $(HOST_EXPORTS) \
  5240. (cd $(HOST_SUBDIR)/bison && \
  5241. $(MAKE) $(FLAGS_TO_PASS) check); \
  5242. fi
  5243. @endif bison
  5244. .PHONY: install-bison maybe-install-bison
  5245. maybe-install-bison:
  5246. @if bison
  5247. maybe-install-bison: install-bison
  5248. install-bison: installdirs
  5249. @: $(MAKE); $(unstage)
  5250. @r=`${PWD_COMMAND}`; export r; \
  5251. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5252. $(HOST_EXPORTS) \
  5253. (cd $(HOST_SUBDIR)/bison && \
  5254. $(MAKE) $(FLAGS_TO_PASS) install)
  5255. @endif bison
  5256. .PHONY: install-strip-bison maybe-install-strip-bison
  5257. maybe-install-strip-bison:
  5258. @if bison
  5259. maybe-install-strip-bison: install-strip-bison
  5260. install-strip-bison: installdirs
  5261. @: $(MAKE); $(unstage)
  5262. @r=`${PWD_COMMAND}`; export r; \
  5263. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5264. $(HOST_EXPORTS) \
  5265. (cd $(HOST_SUBDIR)/bison && \
  5266. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  5267. @endif bison
  5268. # Other targets (info, dvi, pdf, etc.)
  5269. .PHONY: maybe-info-bison info-bison
  5270. maybe-info-bison:
  5271. @if bison
  5272. maybe-info-bison: info-bison
  5273. info-bison: \
  5274. configure-bison
  5275. @: $(MAKE); $(unstage)
  5276. @[ -f ./bison/Makefile ] || exit 0; \
  5277. r=`${PWD_COMMAND}`; export r; \
  5278. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5279. $(HOST_EXPORTS) \
  5280. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5281. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5282. done; \
  5283. echo "Doing info in bison" ; \
  5284. (cd $(HOST_SUBDIR)/bison && \
  5285. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5286. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5287. "RANLIB=$${RANLIB}" \
  5288. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5289. info) \
  5290. || exit 1
  5291. @endif bison
  5292. .PHONY: maybe-dvi-bison dvi-bison
  5293. maybe-dvi-bison:
  5294. @if bison
  5295. maybe-dvi-bison: dvi-bison
  5296. dvi-bison: \
  5297. configure-bison
  5298. @: $(MAKE); $(unstage)
  5299. @[ -f ./bison/Makefile ] || exit 0; \
  5300. r=`${PWD_COMMAND}`; export r; \
  5301. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5302. $(HOST_EXPORTS) \
  5303. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5304. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5305. done; \
  5306. echo "Doing dvi in bison" ; \
  5307. (cd $(HOST_SUBDIR)/bison && \
  5308. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5309. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5310. "RANLIB=$${RANLIB}" \
  5311. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5312. dvi) \
  5313. || exit 1
  5314. @endif bison
  5315. .PHONY: maybe-pdf-bison pdf-bison
  5316. maybe-pdf-bison:
  5317. @if bison
  5318. maybe-pdf-bison: pdf-bison
  5319. pdf-bison: \
  5320. configure-bison
  5321. @: $(MAKE); $(unstage)
  5322. @[ -f ./bison/Makefile ] || exit 0; \
  5323. r=`${PWD_COMMAND}`; export r; \
  5324. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5325. $(HOST_EXPORTS) \
  5326. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5327. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5328. done; \
  5329. echo "Doing pdf in bison" ; \
  5330. (cd $(HOST_SUBDIR)/bison && \
  5331. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5332. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5333. "RANLIB=$${RANLIB}" \
  5334. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5335. pdf) \
  5336. || exit 1
  5337. @endif bison
  5338. .PHONY: maybe-html-bison html-bison
  5339. maybe-html-bison:
  5340. @if bison
  5341. maybe-html-bison: html-bison
  5342. html-bison: \
  5343. configure-bison
  5344. @: $(MAKE); $(unstage)
  5345. @[ -f ./bison/Makefile ] || exit 0; \
  5346. r=`${PWD_COMMAND}`; export r; \
  5347. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5348. $(HOST_EXPORTS) \
  5349. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5350. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5351. done; \
  5352. echo "Doing html in bison" ; \
  5353. (cd $(HOST_SUBDIR)/bison && \
  5354. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5355. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5356. "RANLIB=$${RANLIB}" \
  5357. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5358. html) \
  5359. || exit 1
  5360. @endif bison
  5361. .PHONY: maybe-TAGS-bison TAGS-bison
  5362. maybe-TAGS-bison:
  5363. @if bison
  5364. maybe-TAGS-bison: TAGS-bison
  5365. TAGS-bison: \
  5366. configure-bison
  5367. @: $(MAKE); $(unstage)
  5368. @[ -f ./bison/Makefile ] || exit 0; \
  5369. r=`${PWD_COMMAND}`; export r; \
  5370. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5371. $(HOST_EXPORTS) \
  5372. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5373. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5374. done; \
  5375. echo "Doing TAGS in bison" ; \
  5376. (cd $(HOST_SUBDIR)/bison && \
  5377. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5378. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5379. "RANLIB=$${RANLIB}" \
  5380. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5381. TAGS) \
  5382. || exit 1
  5383. @endif bison
  5384. .PHONY: maybe-install-info-bison install-info-bison
  5385. maybe-install-info-bison:
  5386. @if bison
  5387. maybe-install-info-bison: install-info-bison
  5388. install-info-bison: \
  5389. configure-bison \
  5390. info-bison
  5391. @: $(MAKE); $(unstage)
  5392. @[ -f ./bison/Makefile ] || exit 0; \
  5393. r=`${PWD_COMMAND}`; export r; \
  5394. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5395. $(HOST_EXPORTS) \
  5396. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5397. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5398. done; \
  5399. echo "Doing install-info in bison" ; \
  5400. (cd $(HOST_SUBDIR)/bison && \
  5401. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5402. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5403. "RANLIB=$${RANLIB}" \
  5404. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5405. install-info) \
  5406. || exit 1
  5407. @endif bison
  5408. .PHONY: maybe-install-pdf-bison install-pdf-bison
  5409. maybe-install-pdf-bison:
  5410. @if bison
  5411. maybe-install-pdf-bison: install-pdf-bison
  5412. install-pdf-bison: \
  5413. configure-bison \
  5414. pdf-bison
  5415. @: $(MAKE); $(unstage)
  5416. @[ -f ./bison/Makefile ] || exit 0; \
  5417. r=`${PWD_COMMAND}`; export r; \
  5418. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5419. $(HOST_EXPORTS) \
  5420. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5421. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5422. done; \
  5423. echo "Doing install-pdf in bison" ; \
  5424. (cd $(HOST_SUBDIR)/bison && \
  5425. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5426. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5427. "RANLIB=$${RANLIB}" \
  5428. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5429. install-pdf) \
  5430. || exit 1
  5431. @endif bison
  5432. .PHONY: maybe-install-html-bison install-html-bison
  5433. maybe-install-html-bison:
  5434. @if bison
  5435. maybe-install-html-bison: install-html-bison
  5436. install-html-bison: \
  5437. configure-bison \
  5438. html-bison
  5439. @: $(MAKE); $(unstage)
  5440. @[ -f ./bison/Makefile ] || exit 0; \
  5441. r=`${PWD_COMMAND}`; export r; \
  5442. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5443. $(HOST_EXPORTS) \
  5444. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5445. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5446. done; \
  5447. echo "Doing install-html in bison" ; \
  5448. (cd $(HOST_SUBDIR)/bison && \
  5449. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5450. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5451. "RANLIB=$${RANLIB}" \
  5452. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5453. install-html) \
  5454. || exit 1
  5455. @endif bison
  5456. .PHONY: maybe-installcheck-bison installcheck-bison
  5457. maybe-installcheck-bison:
  5458. @if bison
  5459. maybe-installcheck-bison: installcheck-bison
  5460. installcheck-bison: \
  5461. configure-bison
  5462. @: $(MAKE); $(unstage)
  5463. @[ -f ./bison/Makefile ] || exit 0; \
  5464. r=`${PWD_COMMAND}`; export r; \
  5465. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5466. $(HOST_EXPORTS) \
  5467. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5468. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5469. done; \
  5470. echo "Doing installcheck in bison" ; \
  5471. (cd $(HOST_SUBDIR)/bison && \
  5472. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5473. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5474. "RANLIB=$${RANLIB}" \
  5475. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5476. installcheck) \
  5477. || exit 1
  5478. @endif bison
  5479. .PHONY: maybe-mostlyclean-bison mostlyclean-bison
  5480. maybe-mostlyclean-bison:
  5481. @if bison
  5482. maybe-mostlyclean-bison: mostlyclean-bison
  5483. mostlyclean-bison:
  5484. @: $(MAKE); $(unstage)
  5485. @[ -f ./bison/Makefile ] || exit 0; \
  5486. r=`${PWD_COMMAND}`; export r; \
  5487. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5488. $(HOST_EXPORTS) \
  5489. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5490. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5491. done; \
  5492. echo "Doing mostlyclean in bison" ; \
  5493. (cd $(HOST_SUBDIR)/bison && \
  5494. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5495. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5496. "RANLIB=$${RANLIB}" \
  5497. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5498. mostlyclean) \
  5499. || exit 1
  5500. @endif bison
  5501. .PHONY: maybe-clean-bison clean-bison
  5502. maybe-clean-bison:
  5503. @if bison
  5504. maybe-clean-bison: clean-bison
  5505. clean-bison:
  5506. @: $(MAKE); $(unstage)
  5507. @[ -f ./bison/Makefile ] || exit 0; \
  5508. r=`${PWD_COMMAND}`; export r; \
  5509. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5510. $(HOST_EXPORTS) \
  5511. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5512. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5513. done; \
  5514. echo "Doing clean in bison" ; \
  5515. (cd $(HOST_SUBDIR)/bison && \
  5516. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5517. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5518. "RANLIB=$${RANLIB}" \
  5519. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5520. clean) \
  5521. || exit 1
  5522. @endif bison
  5523. .PHONY: maybe-distclean-bison distclean-bison
  5524. maybe-distclean-bison:
  5525. @if bison
  5526. maybe-distclean-bison: distclean-bison
  5527. distclean-bison:
  5528. @: $(MAKE); $(unstage)
  5529. @[ -f ./bison/Makefile ] || exit 0; \
  5530. r=`${PWD_COMMAND}`; export r; \
  5531. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5532. $(HOST_EXPORTS) \
  5533. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5534. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5535. done; \
  5536. echo "Doing distclean in bison" ; \
  5537. (cd $(HOST_SUBDIR)/bison && \
  5538. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5539. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5540. "RANLIB=$${RANLIB}" \
  5541. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5542. distclean) \
  5543. || exit 1
  5544. @endif bison
  5545. .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
  5546. maybe-maintainer-clean-bison:
  5547. @if bison
  5548. maybe-maintainer-clean-bison: maintainer-clean-bison
  5549. maintainer-clean-bison:
  5550. @: $(MAKE); $(unstage)
  5551. @[ -f ./bison/Makefile ] || exit 0; \
  5552. r=`${PWD_COMMAND}`; export r; \
  5553. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5554. $(HOST_EXPORTS) \
  5555. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5556. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5557. done; \
  5558. echo "Doing maintainer-clean in bison" ; \
  5559. (cd $(HOST_SUBDIR)/bison && \
  5560. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5561. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5562. "RANLIB=$${RANLIB}" \
  5563. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5564. maintainer-clean) \
  5565. || exit 1
  5566. @endif bison
  5567. .PHONY: configure-cgen maybe-configure-cgen
  5568. maybe-configure-cgen:
  5569. @if gcc-bootstrap
  5570. configure-cgen: stage_current
  5571. @endif gcc-bootstrap
  5572. @if cgen
  5573. maybe-configure-cgen: configure-cgen
  5574. configure-cgen:
  5575. @: $(MAKE); $(unstage)
  5576. @r=`${PWD_COMMAND}`; export r; \
  5577. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5578. test ! -f $(HOST_SUBDIR)/cgen/Makefile || exit 0; \
  5579. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/cgen ; \
  5580. $(HOST_EXPORTS) \
  5581. echo Configuring in $(HOST_SUBDIR)/cgen; \
  5582. cd "$(HOST_SUBDIR)/cgen" || exit 1; \
  5583. case $(srcdir) in \
  5584. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  5585. *) topdir=`echo $(HOST_SUBDIR)/cgen/ | \
  5586. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  5587. esac; \
  5588. module_srcdir=cgen; \
  5589. $(SHELL) \
  5590. $$s/$$module_srcdir/configure \
  5591. --srcdir=$${topdir}/$$module_srcdir \
  5592. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  5593. --target=${target_alias} \
  5594. || exit 1
  5595. @endif cgen
  5596. .PHONY: all-cgen maybe-all-cgen
  5597. maybe-all-cgen:
  5598. @if gcc-bootstrap
  5599. all-cgen: stage_current
  5600. @endif gcc-bootstrap
  5601. @if cgen
  5602. TARGET-cgen=all
  5603. maybe-all-cgen: all-cgen
  5604. all-cgen: configure-cgen
  5605. @: $(MAKE); $(unstage)
  5606. @r=`${PWD_COMMAND}`; export r; \
  5607. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5608. $(HOST_EXPORTS) \
  5609. (cd $(HOST_SUBDIR)/cgen && \
  5610. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  5611. $(TARGET-cgen))
  5612. @endif cgen
  5613. .PHONY: check-cgen maybe-check-cgen
  5614. maybe-check-cgen:
  5615. @if cgen
  5616. maybe-check-cgen: check-cgen
  5617. check-cgen:
  5618. @: $(MAKE); $(unstage)
  5619. @r=`${PWD_COMMAND}`; export r; \
  5620. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5621. $(HOST_EXPORTS) \
  5622. (cd $(HOST_SUBDIR)/cgen && \
  5623. $(MAKE) $(FLAGS_TO_PASS) check)
  5624. @endif cgen
  5625. .PHONY: install-cgen maybe-install-cgen
  5626. maybe-install-cgen:
  5627. @if cgen
  5628. maybe-install-cgen: install-cgen
  5629. install-cgen: installdirs
  5630. @: $(MAKE); $(unstage)
  5631. @r=`${PWD_COMMAND}`; export r; \
  5632. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5633. $(HOST_EXPORTS) \
  5634. (cd $(HOST_SUBDIR)/cgen && \
  5635. $(MAKE) $(FLAGS_TO_PASS) install)
  5636. @endif cgen
  5637. .PHONY: install-strip-cgen maybe-install-strip-cgen
  5638. maybe-install-strip-cgen:
  5639. @if cgen
  5640. maybe-install-strip-cgen: install-strip-cgen
  5641. install-strip-cgen: installdirs
  5642. @: $(MAKE); $(unstage)
  5643. @r=`${PWD_COMMAND}`; export r; \
  5644. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5645. $(HOST_EXPORTS) \
  5646. (cd $(HOST_SUBDIR)/cgen && \
  5647. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  5648. @endif cgen
  5649. # Other targets (info, dvi, pdf, etc.)
  5650. .PHONY: maybe-info-cgen info-cgen
  5651. maybe-info-cgen:
  5652. @if cgen
  5653. maybe-info-cgen: info-cgen
  5654. info-cgen: \
  5655. configure-cgen
  5656. @: $(MAKE); $(unstage)
  5657. @[ -f ./cgen/Makefile ] || exit 0; \
  5658. r=`${PWD_COMMAND}`; export r; \
  5659. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5660. $(HOST_EXPORTS) \
  5661. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5662. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5663. done; \
  5664. echo "Doing info in cgen" ; \
  5665. (cd $(HOST_SUBDIR)/cgen && \
  5666. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5667. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5668. "RANLIB=$${RANLIB}" \
  5669. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5670. info) \
  5671. || exit 1
  5672. @endif cgen
  5673. .PHONY: maybe-dvi-cgen dvi-cgen
  5674. maybe-dvi-cgen:
  5675. @if cgen
  5676. maybe-dvi-cgen: dvi-cgen
  5677. dvi-cgen: \
  5678. configure-cgen
  5679. @: $(MAKE); $(unstage)
  5680. @[ -f ./cgen/Makefile ] || exit 0; \
  5681. r=`${PWD_COMMAND}`; export r; \
  5682. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5683. $(HOST_EXPORTS) \
  5684. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5685. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5686. done; \
  5687. echo "Doing dvi in cgen" ; \
  5688. (cd $(HOST_SUBDIR)/cgen && \
  5689. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5690. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5691. "RANLIB=$${RANLIB}" \
  5692. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5693. dvi) \
  5694. || exit 1
  5695. @endif cgen
  5696. .PHONY: maybe-pdf-cgen pdf-cgen
  5697. maybe-pdf-cgen:
  5698. @if cgen
  5699. maybe-pdf-cgen: pdf-cgen
  5700. pdf-cgen: \
  5701. configure-cgen
  5702. @: $(MAKE); $(unstage)
  5703. @[ -f ./cgen/Makefile ] || exit 0; \
  5704. r=`${PWD_COMMAND}`; export r; \
  5705. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5706. $(HOST_EXPORTS) \
  5707. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5708. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5709. done; \
  5710. echo "Doing pdf in cgen" ; \
  5711. (cd $(HOST_SUBDIR)/cgen && \
  5712. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5713. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5714. "RANLIB=$${RANLIB}" \
  5715. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5716. pdf) \
  5717. || exit 1
  5718. @endif cgen
  5719. .PHONY: maybe-html-cgen html-cgen
  5720. maybe-html-cgen:
  5721. @if cgen
  5722. maybe-html-cgen: html-cgen
  5723. html-cgen: \
  5724. configure-cgen
  5725. @: $(MAKE); $(unstage)
  5726. @[ -f ./cgen/Makefile ] || exit 0; \
  5727. r=`${PWD_COMMAND}`; export r; \
  5728. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5729. $(HOST_EXPORTS) \
  5730. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5731. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5732. done; \
  5733. echo "Doing html in cgen" ; \
  5734. (cd $(HOST_SUBDIR)/cgen && \
  5735. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5736. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5737. "RANLIB=$${RANLIB}" \
  5738. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5739. html) \
  5740. || exit 1
  5741. @endif cgen
  5742. .PHONY: maybe-TAGS-cgen TAGS-cgen
  5743. maybe-TAGS-cgen:
  5744. @if cgen
  5745. maybe-TAGS-cgen: TAGS-cgen
  5746. TAGS-cgen: \
  5747. configure-cgen
  5748. @: $(MAKE); $(unstage)
  5749. @[ -f ./cgen/Makefile ] || exit 0; \
  5750. r=`${PWD_COMMAND}`; export r; \
  5751. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5752. $(HOST_EXPORTS) \
  5753. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5754. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5755. done; \
  5756. echo "Doing TAGS in cgen" ; \
  5757. (cd $(HOST_SUBDIR)/cgen && \
  5758. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5759. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5760. "RANLIB=$${RANLIB}" \
  5761. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5762. TAGS) \
  5763. || exit 1
  5764. @endif cgen
  5765. .PHONY: maybe-install-info-cgen install-info-cgen
  5766. maybe-install-info-cgen:
  5767. @if cgen
  5768. maybe-install-info-cgen: install-info-cgen
  5769. install-info-cgen: \
  5770. configure-cgen \
  5771. info-cgen
  5772. @: $(MAKE); $(unstage)
  5773. @[ -f ./cgen/Makefile ] || exit 0; \
  5774. r=`${PWD_COMMAND}`; export r; \
  5775. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5776. $(HOST_EXPORTS) \
  5777. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5778. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5779. done; \
  5780. echo "Doing install-info in cgen" ; \
  5781. (cd $(HOST_SUBDIR)/cgen && \
  5782. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5783. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5784. "RANLIB=$${RANLIB}" \
  5785. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5786. install-info) \
  5787. || exit 1
  5788. @endif cgen
  5789. .PHONY: maybe-install-pdf-cgen install-pdf-cgen
  5790. maybe-install-pdf-cgen:
  5791. @if cgen
  5792. maybe-install-pdf-cgen: install-pdf-cgen
  5793. install-pdf-cgen: \
  5794. configure-cgen \
  5795. pdf-cgen
  5796. @: $(MAKE); $(unstage)
  5797. @[ -f ./cgen/Makefile ] || exit 0; \
  5798. r=`${PWD_COMMAND}`; export r; \
  5799. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5800. $(HOST_EXPORTS) \
  5801. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5802. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5803. done; \
  5804. echo "Doing install-pdf in cgen" ; \
  5805. (cd $(HOST_SUBDIR)/cgen && \
  5806. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5807. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5808. "RANLIB=$${RANLIB}" \
  5809. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5810. install-pdf) \
  5811. || exit 1
  5812. @endif cgen
  5813. .PHONY: maybe-install-html-cgen install-html-cgen
  5814. maybe-install-html-cgen:
  5815. @if cgen
  5816. maybe-install-html-cgen: install-html-cgen
  5817. install-html-cgen: \
  5818. configure-cgen \
  5819. html-cgen
  5820. @: $(MAKE); $(unstage)
  5821. @[ -f ./cgen/Makefile ] || exit 0; \
  5822. r=`${PWD_COMMAND}`; export r; \
  5823. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5824. $(HOST_EXPORTS) \
  5825. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5826. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5827. done; \
  5828. echo "Doing install-html in cgen" ; \
  5829. (cd $(HOST_SUBDIR)/cgen && \
  5830. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5831. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5832. "RANLIB=$${RANLIB}" \
  5833. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5834. install-html) \
  5835. || exit 1
  5836. @endif cgen
  5837. .PHONY: maybe-installcheck-cgen installcheck-cgen
  5838. maybe-installcheck-cgen:
  5839. @if cgen
  5840. maybe-installcheck-cgen: installcheck-cgen
  5841. installcheck-cgen: \
  5842. configure-cgen
  5843. @: $(MAKE); $(unstage)
  5844. @[ -f ./cgen/Makefile ] || exit 0; \
  5845. r=`${PWD_COMMAND}`; export r; \
  5846. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5847. $(HOST_EXPORTS) \
  5848. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5849. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5850. done; \
  5851. echo "Doing installcheck in cgen" ; \
  5852. (cd $(HOST_SUBDIR)/cgen && \
  5853. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5854. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5855. "RANLIB=$${RANLIB}" \
  5856. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5857. installcheck) \
  5858. || exit 1
  5859. @endif cgen
  5860. .PHONY: maybe-mostlyclean-cgen mostlyclean-cgen
  5861. maybe-mostlyclean-cgen:
  5862. @if cgen
  5863. maybe-mostlyclean-cgen: mostlyclean-cgen
  5864. mostlyclean-cgen:
  5865. @: $(MAKE); $(unstage)
  5866. @[ -f ./cgen/Makefile ] || exit 0; \
  5867. r=`${PWD_COMMAND}`; export r; \
  5868. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5869. $(HOST_EXPORTS) \
  5870. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5871. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5872. done; \
  5873. echo "Doing mostlyclean in cgen" ; \
  5874. (cd $(HOST_SUBDIR)/cgen && \
  5875. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5876. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5877. "RANLIB=$${RANLIB}" \
  5878. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5879. mostlyclean) \
  5880. || exit 1
  5881. @endif cgen
  5882. .PHONY: maybe-clean-cgen clean-cgen
  5883. maybe-clean-cgen:
  5884. @if cgen
  5885. maybe-clean-cgen: clean-cgen
  5886. clean-cgen:
  5887. @: $(MAKE); $(unstage)
  5888. @[ -f ./cgen/Makefile ] || exit 0; \
  5889. r=`${PWD_COMMAND}`; export r; \
  5890. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5891. $(HOST_EXPORTS) \
  5892. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5893. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5894. done; \
  5895. echo "Doing clean in cgen" ; \
  5896. (cd $(HOST_SUBDIR)/cgen && \
  5897. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5898. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5899. "RANLIB=$${RANLIB}" \
  5900. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5901. clean) \
  5902. || exit 1
  5903. @endif cgen
  5904. .PHONY: maybe-distclean-cgen distclean-cgen
  5905. maybe-distclean-cgen:
  5906. @if cgen
  5907. maybe-distclean-cgen: distclean-cgen
  5908. distclean-cgen:
  5909. @: $(MAKE); $(unstage)
  5910. @[ -f ./cgen/Makefile ] || exit 0; \
  5911. r=`${PWD_COMMAND}`; export r; \
  5912. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5913. $(HOST_EXPORTS) \
  5914. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5915. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5916. done; \
  5917. echo "Doing distclean in cgen" ; \
  5918. (cd $(HOST_SUBDIR)/cgen && \
  5919. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5920. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5921. "RANLIB=$${RANLIB}" \
  5922. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5923. distclean) \
  5924. || exit 1
  5925. @endif cgen
  5926. .PHONY: maybe-maintainer-clean-cgen maintainer-clean-cgen
  5927. maybe-maintainer-clean-cgen:
  5928. @if cgen
  5929. maybe-maintainer-clean-cgen: maintainer-clean-cgen
  5930. maintainer-clean-cgen:
  5931. @: $(MAKE); $(unstage)
  5932. @[ -f ./cgen/Makefile ] || exit 0; \
  5933. r=`${PWD_COMMAND}`; export r; \
  5934. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5935. $(HOST_EXPORTS) \
  5936. for flag in $(EXTRA_HOST_FLAGS) ; do \
  5937. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  5938. done; \
  5939. echo "Doing maintainer-clean in cgen" ; \
  5940. (cd $(HOST_SUBDIR)/cgen && \
  5941. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  5942. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  5943. "RANLIB=$${RANLIB}" \
  5944. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  5945. maintainer-clean) \
  5946. || exit 1
  5947. @endif cgen
  5948. .PHONY: configure-dejagnu maybe-configure-dejagnu
  5949. maybe-configure-dejagnu:
  5950. @if gcc-bootstrap
  5951. configure-dejagnu: stage_current
  5952. @endif gcc-bootstrap
  5953. @if dejagnu
  5954. maybe-configure-dejagnu: configure-dejagnu
  5955. configure-dejagnu:
  5956. @: $(MAKE); $(unstage)
  5957. @r=`${PWD_COMMAND}`; export r; \
  5958. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5959. test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
  5960. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
  5961. $(HOST_EXPORTS) \
  5962. echo Configuring in $(HOST_SUBDIR)/dejagnu; \
  5963. cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
  5964. case $(srcdir) in \
  5965. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  5966. *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
  5967. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  5968. esac; \
  5969. module_srcdir=dejagnu; \
  5970. $(SHELL) \
  5971. $$s/$$module_srcdir/configure \
  5972. --srcdir=$${topdir}/$$module_srcdir \
  5973. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  5974. --target=${target_alias} \
  5975. || exit 1
  5976. @endif dejagnu
  5977. .PHONY: all-dejagnu maybe-all-dejagnu
  5978. maybe-all-dejagnu:
  5979. @if gcc-bootstrap
  5980. all-dejagnu: stage_current
  5981. @endif gcc-bootstrap
  5982. @if dejagnu
  5983. TARGET-dejagnu=all
  5984. maybe-all-dejagnu: all-dejagnu
  5985. all-dejagnu: configure-dejagnu
  5986. @: $(MAKE); $(unstage)
  5987. @r=`${PWD_COMMAND}`; export r; \
  5988. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  5989. $(HOST_EXPORTS) \
  5990. (cd $(HOST_SUBDIR)/dejagnu && \
  5991. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  5992. $(TARGET-dejagnu))
  5993. @endif dejagnu
  5994. .PHONY: check-dejagnu maybe-check-dejagnu
  5995. maybe-check-dejagnu:
  5996. @if dejagnu
  5997. maybe-check-dejagnu: check-dejagnu
  5998. check-dejagnu:
  5999. @: $(MAKE); $(unstage)
  6000. @r=`${PWD_COMMAND}`; export r; \
  6001. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6002. $(HOST_EXPORTS) \
  6003. (cd $(HOST_SUBDIR)/dejagnu && \
  6004. $(MAKE) $(FLAGS_TO_PASS) check)
  6005. @endif dejagnu
  6006. .PHONY: install-dejagnu maybe-install-dejagnu
  6007. maybe-install-dejagnu:
  6008. @if dejagnu
  6009. maybe-install-dejagnu: install-dejagnu
  6010. install-dejagnu: installdirs
  6011. @: $(MAKE); $(unstage)
  6012. @r=`${PWD_COMMAND}`; export r; \
  6013. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6014. $(HOST_EXPORTS) \
  6015. (cd $(HOST_SUBDIR)/dejagnu && \
  6016. $(MAKE) $(FLAGS_TO_PASS) install)
  6017. @endif dejagnu
  6018. .PHONY: install-strip-dejagnu maybe-install-strip-dejagnu
  6019. maybe-install-strip-dejagnu:
  6020. @if dejagnu
  6021. maybe-install-strip-dejagnu: install-strip-dejagnu
  6022. install-strip-dejagnu: installdirs
  6023. @: $(MAKE); $(unstage)
  6024. @r=`${PWD_COMMAND}`; export r; \
  6025. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6026. $(HOST_EXPORTS) \
  6027. (cd $(HOST_SUBDIR)/dejagnu && \
  6028. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  6029. @endif dejagnu
  6030. # Other targets (info, dvi, pdf, etc.)
  6031. .PHONY: maybe-info-dejagnu info-dejagnu
  6032. maybe-info-dejagnu:
  6033. @if dejagnu
  6034. maybe-info-dejagnu: info-dejagnu
  6035. info-dejagnu: \
  6036. configure-dejagnu
  6037. @: $(MAKE); $(unstage)
  6038. @[ -f ./dejagnu/Makefile ] || exit 0; \
  6039. r=`${PWD_COMMAND}`; export r; \
  6040. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6041. $(HOST_EXPORTS) \
  6042. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6043. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6044. done; \
  6045. echo "Doing info in dejagnu" ; \
  6046. (cd $(HOST_SUBDIR)/dejagnu && \
  6047. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6048. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6049. "RANLIB=$${RANLIB}" \
  6050. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6051. info) \
  6052. || exit 1
  6053. @endif dejagnu
  6054. .PHONY: maybe-dvi-dejagnu dvi-dejagnu
  6055. maybe-dvi-dejagnu:
  6056. @if dejagnu
  6057. maybe-dvi-dejagnu: dvi-dejagnu
  6058. dvi-dejagnu: \
  6059. configure-dejagnu
  6060. @: $(MAKE); $(unstage)
  6061. @[ -f ./dejagnu/Makefile ] || exit 0; \
  6062. r=`${PWD_COMMAND}`; export r; \
  6063. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6064. $(HOST_EXPORTS) \
  6065. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6066. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6067. done; \
  6068. echo "Doing dvi in dejagnu" ; \
  6069. (cd $(HOST_SUBDIR)/dejagnu && \
  6070. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6071. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6072. "RANLIB=$${RANLIB}" \
  6073. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6074. dvi) \
  6075. || exit 1
  6076. @endif dejagnu
  6077. .PHONY: maybe-pdf-dejagnu pdf-dejagnu
  6078. maybe-pdf-dejagnu:
  6079. @if dejagnu
  6080. maybe-pdf-dejagnu: pdf-dejagnu
  6081. pdf-dejagnu: \
  6082. configure-dejagnu
  6083. @: $(MAKE); $(unstage)
  6084. @[ -f ./dejagnu/Makefile ] || exit 0; \
  6085. r=`${PWD_COMMAND}`; export r; \
  6086. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6087. $(HOST_EXPORTS) \
  6088. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6089. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6090. done; \
  6091. echo "Doing pdf in dejagnu" ; \
  6092. (cd $(HOST_SUBDIR)/dejagnu && \
  6093. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6094. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6095. "RANLIB=$${RANLIB}" \
  6096. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6097. pdf) \
  6098. || exit 1
  6099. @endif dejagnu
  6100. .PHONY: maybe-html-dejagnu html-dejagnu
  6101. maybe-html-dejagnu:
  6102. @if dejagnu
  6103. maybe-html-dejagnu: html-dejagnu
  6104. html-dejagnu: \
  6105. configure-dejagnu
  6106. @: $(MAKE); $(unstage)
  6107. @[ -f ./dejagnu/Makefile ] || exit 0; \
  6108. r=`${PWD_COMMAND}`; export r; \
  6109. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6110. $(HOST_EXPORTS) \
  6111. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6112. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6113. done; \
  6114. echo "Doing html in dejagnu" ; \
  6115. (cd $(HOST_SUBDIR)/dejagnu && \
  6116. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6117. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6118. "RANLIB=$${RANLIB}" \
  6119. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6120. html) \
  6121. || exit 1
  6122. @endif dejagnu
  6123. .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
  6124. maybe-TAGS-dejagnu:
  6125. @if dejagnu
  6126. maybe-TAGS-dejagnu: TAGS-dejagnu
  6127. TAGS-dejagnu: \
  6128. configure-dejagnu
  6129. @: $(MAKE); $(unstage)
  6130. @[ -f ./dejagnu/Makefile ] || exit 0; \
  6131. r=`${PWD_COMMAND}`; export r; \
  6132. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6133. $(HOST_EXPORTS) \
  6134. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6135. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6136. done; \
  6137. echo "Doing TAGS in dejagnu" ; \
  6138. (cd $(HOST_SUBDIR)/dejagnu && \
  6139. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6140. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6141. "RANLIB=$${RANLIB}" \
  6142. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6143. TAGS) \
  6144. || exit 1
  6145. @endif dejagnu
  6146. .PHONY: maybe-install-info-dejagnu install-info-dejagnu
  6147. maybe-install-info-dejagnu:
  6148. @if dejagnu
  6149. maybe-install-info-dejagnu: install-info-dejagnu
  6150. install-info-dejagnu: \
  6151. configure-dejagnu \
  6152. info-dejagnu
  6153. @: $(MAKE); $(unstage)
  6154. @[ -f ./dejagnu/Makefile ] || exit 0; \
  6155. r=`${PWD_COMMAND}`; export r; \
  6156. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6157. $(HOST_EXPORTS) \
  6158. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6159. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6160. done; \
  6161. echo "Doing install-info in dejagnu" ; \
  6162. (cd $(HOST_SUBDIR)/dejagnu && \
  6163. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6164. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6165. "RANLIB=$${RANLIB}" \
  6166. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6167. install-info) \
  6168. || exit 1
  6169. @endif dejagnu
  6170. .PHONY: maybe-install-pdf-dejagnu install-pdf-dejagnu
  6171. maybe-install-pdf-dejagnu:
  6172. @if dejagnu
  6173. maybe-install-pdf-dejagnu: install-pdf-dejagnu
  6174. install-pdf-dejagnu: \
  6175. configure-dejagnu \
  6176. pdf-dejagnu
  6177. @: $(MAKE); $(unstage)
  6178. @[ -f ./dejagnu/Makefile ] || exit 0; \
  6179. r=`${PWD_COMMAND}`; export r; \
  6180. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6181. $(HOST_EXPORTS) \
  6182. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6183. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6184. done; \
  6185. echo "Doing install-pdf in dejagnu" ; \
  6186. (cd $(HOST_SUBDIR)/dejagnu && \
  6187. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6188. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6189. "RANLIB=$${RANLIB}" \
  6190. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6191. install-pdf) \
  6192. || exit 1
  6193. @endif dejagnu
  6194. .PHONY: maybe-install-html-dejagnu install-html-dejagnu
  6195. maybe-install-html-dejagnu:
  6196. @if dejagnu
  6197. maybe-install-html-dejagnu: install-html-dejagnu
  6198. install-html-dejagnu: \
  6199. configure-dejagnu \
  6200. html-dejagnu
  6201. @: $(MAKE); $(unstage)
  6202. @[ -f ./dejagnu/Makefile ] || exit 0; \
  6203. r=`${PWD_COMMAND}`; export r; \
  6204. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6205. $(HOST_EXPORTS) \
  6206. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6207. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6208. done; \
  6209. echo "Doing install-html in dejagnu" ; \
  6210. (cd $(HOST_SUBDIR)/dejagnu && \
  6211. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6212. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6213. "RANLIB=$${RANLIB}" \
  6214. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6215. install-html) \
  6216. || exit 1
  6217. @endif dejagnu
  6218. .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
  6219. maybe-installcheck-dejagnu:
  6220. @if dejagnu
  6221. maybe-installcheck-dejagnu: installcheck-dejagnu
  6222. installcheck-dejagnu: \
  6223. configure-dejagnu
  6224. @: $(MAKE); $(unstage)
  6225. @[ -f ./dejagnu/Makefile ] || exit 0; \
  6226. r=`${PWD_COMMAND}`; export r; \
  6227. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6228. $(HOST_EXPORTS) \
  6229. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6230. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6231. done; \
  6232. echo "Doing installcheck in dejagnu" ; \
  6233. (cd $(HOST_SUBDIR)/dejagnu && \
  6234. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6235. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6236. "RANLIB=$${RANLIB}" \
  6237. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6238. installcheck) \
  6239. || exit 1
  6240. @endif dejagnu
  6241. .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
  6242. maybe-mostlyclean-dejagnu:
  6243. @if dejagnu
  6244. maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
  6245. mostlyclean-dejagnu:
  6246. @: $(MAKE); $(unstage)
  6247. @[ -f ./dejagnu/Makefile ] || exit 0; \
  6248. r=`${PWD_COMMAND}`; export r; \
  6249. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6250. $(HOST_EXPORTS) \
  6251. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6252. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6253. done; \
  6254. echo "Doing mostlyclean in dejagnu" ; \
  6255. (cd $(HOST_SUBDIR)/dejagnu && \
  6256. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6257. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6258. "RANLIB=$${RANLIB}" \
  6259. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6260. mostlyclean) \
  6261. || exit 1
  6262. @endif dejagnu
  6263. .PHONY: maybe-clean-dejagnu clean-dejagnu
  6264. maybe-clean-dejagnu:
  6265. @if dejagnu
  6266. maybe-clean-dejagnu: clean-dejagnu
  6267. clean-dejagnu:
  6268. @: $(MAKE); $(unstage)
  6269. @[ -f ./dejagnu/Makefile ] || exit 0; \
  6270. r=`${PWD_COMMAND}`; export r; \
  6271. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6272. $(HOST_EXPORTS) \
  6273. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6274. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6275. done; \
  6276. echo "Doing clean in dejagnu" ; \
  6277. (cd $(HOST_SUBDIR)/dejagnu && \
  6278. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6279. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6280. "RANLIB=$${RANLIB}" \
  6281. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6282. clean) \
  6283. || exit 1
  6284. @endif dejagnu
  6285. .PHONY: maybe-distclean-dejagnu distclean-dejagnu
  6286. maybe-distclean-dejagnu:
  6287. @if dejagnu
  6288. maybe-distclean-dejagnu: distclean-dejagnu
  6289. distclean-dejagnu:
  6290. @: $(MAKE); $(unstage)
  6291. @[ -f ./dejagnu/Makefile ] || exit 0; \
  6292. r=`${PWD_COMMAND}`; export r; \
  6293. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6294. $(HOST_EXPORTS) \
  6295. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6296. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6297. done; \
  6298. echo "Doing distclean in dejagnu" ; \
  6299. (cd $(HOST_SUBDIR)/dejagnu && \
  6300. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6301. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6302. "RANLIB=$${RANLIB}" \
  6303. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6304. distclean) \
  6305. || exit 1
  6306. @endif dejagnu
  6307. .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
  6308. maybe-maintainer-clean-dejagnu:
  6309. @if dejagnu
  6310. maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
  6311. maintainer-clean-dejagnu:
  6312. @: $(MAKE); $(unstage)
  6313. @[ -f ./dejagnu/Makefile ] || exit 0; \
  6314. r=`${PWD_COMMAND}`; export r; \
  6315. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6316. $(HOST_EXPORTS) \
  6317. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6318. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6319. done; \
  6320. echo "Doing maintainer-clean in dejagnu" ; \
  6321. (cd $(HOST_SUBDIR)/dejagnu && \
  6322. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6323. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6324. "RANLIB=$${RANLIB}" \
  6325. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6326. maintainer-clean) \
  6327. || exit 1
  6328. @endif dejagnu
  6329. .PHONY: configure-etc maybe-configure-etc
  6330. maybe-configure-etc:
  6331. @if gcc-bootstrap
  6332. configure-etc: stage_current
  6333. @endif gcc-bootstrap
  6334. @if etc
  6335. maybe-configure-etc: configure-etc
  6336. configure-etc:
  6337. @: $(MAKE); $(unstage)
  6338. @r=`${PWD_COMMAND}`; export r; \
  6339. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6340. test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
  6341. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
  6342. $(HOST_EXPORTS) \
  6343. echo Configuring in $(HOST_SUBDIR)/etc; \
  6344. cd "$(HOST_SUBDIR)/etc" || exit 1; \
  6345. case $(srcdir) in \
  6346. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  6347. *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
  6348. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  6349. esac; \
  6350. module_srcdir=etc; \
  6351. $(SHELL) \
  6352. $$s/$$module_srcdir/configure \
  6353. --srcdir=$${topdir}/$$module_srcdir \
  6354. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  6355. --target=${target_alias} \
  6356. || exit 1
  6357. @endif etc
  6358. .PHONY: all-etc maybe-all-etc
  6359. maybe-all-etc:
  6360. @if gcc-bootstrap
  6361. all-etc: stage_current
  6362. @endif gcc-bootstrap
  6363. @if etc
  6364. TARGET-etc=all
  6365. maybe-all-etc: all-etc
  6366. all-etc: configure-etc
  6367. @: $(MAKE); $(unstage)
  6368. @r=`${PWD_COMMAND}`; export r; \
  6369. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6370. $(HOST_EXPORTS) \
  6371. (cd $(HOST_SUBDIR)/etc && \
  6372. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  6373. $(TARGET-etc))
  6374. @endif etc
  6375. .PHONY: check-etc maybe-check-etc
  6376. maybe-check-etc:
  6377. @if etc
  6378. maybe-check-etc: check-etc
  6379. check-etc:
  6380. @: $(MAKE); $(unstage)
  6381. @r=`${PWD_COMMAND}`; export r; \
  6382. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6383. $(HOST_EXPORTS) \
  6384. (cd $(HOST_SUBDIR)/etc && \
  6385. $(MAKE) $(FLAGS_TO_PASS) check)
  6386. @endif etc
  6387. .PHONY: install-etc maybe-install-etc
  6388. maybe-install-etc:
  6389. @if etc
  6390. maybe-install-etc: install-etc
  6391. install-etc: installdirs
  6392. @: $(MAKE); $(unstage)
  6393. @r=`${PWD_COMMAND}`; export r; \
  6394. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6395. $(HOST_EXPORTS) \
  6396. (cd $(HOST_SUBDIR)/etc && \
  6397. $(MAKE) $(FLAGS_TO_PASS) install)
  6398. @endif etc
  6399. .PHONY: install-strip-etc maybe-install-strip-etc
  6400. maybe-install-strip-etc:
  6401. @if etc
  6402. maybe-install-strip-etc: install-strip-etc
  6403. install-strip-etc: installdirs
  6404. @: $(MAKE); $(unstage)
  6405. @r=`${PWD_COMMAND}`; export r; \
  6406. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6407. $(HOST_EXPORTS) \
  6408. (cd $(HOST_SUBDIR)/etc && \
  6409. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  6410. @endif etc
  6411. # Other targets (info, dvi, pdf, etc.)
  6412. .PHONY: maybe-info-etc info-etc
  6413. maybe-info-etc:
  6414. @if etc
  6415. maybe-info-etc: info-etc
  6416. info-etc: \
  6417. configure-etc
  6418. @: $(MAKE); $(unstage)
  6419. @[ -f ./etc/Makefile ] || exit 0; \
  6420. r=`${PWD_COMMAND}`; export r; \
  6421. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6422. $(HOST_EXPORTS) \
  6423. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6424. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6425. done; \
  6426. echo "Doing info in etc" ; \
  6427. (cd $(HOST_SUBDIR)/etc && \
  6428. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6429. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6430. "RANLIB=$${RANLIB}" \
  6431. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6432. info) \
  6433. || exit 1
  6434. @endif etc
  6435. .PHONY: maybe-dvi-etc dvi-etc
  6436. maybe-dvi-etc:
  6437. @if etc
  6438. maybe-dvi-etc: dvi-etc
  6439. dvi-etc: \
  6440. configure-etc
  6441. @: $(MAKE); $(unstage)
  6442. @[ -f ./etc/Makefile ] || exit 0; \
  6443. r=`${PWD_COMMAND}`; export r; \
  6444. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6445. $(HOST_EXPORTS) \
  6446. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6447. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6448. done; \
  6449. echo "Doing dvi in etc" ; \
  6450. (cd $(HOST_SUBDIR)/etc && \
  6451. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6452. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6453. "RANLIB=$${RANLIB}" \
  6454. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6455. dvi) \
  6456. || exit 1
  6457. @endif etc
  6458. .PHONY: maybe-pdf-etc pdf-etc
  6459. maybe-pdf-etc:
  6460. @if etc
  6461. maybe-pdf-etc: pdf-etc
  6462. pdf-etc: \
  6463. configure-etc
  6464. @: $(MAKE); $(unstage)
  6465. @[ -f ./etc/Makefile ] || exit 0; \
  6466. r=`${PWD_COMMAND}`; export r; \
  6467. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6468. $(HOST_EXPORTS) \
  6469. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6470. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6471. done; \
  6472. echo "Doing pdf in etc" ; \
  6473. (cd $(HOST_SUBDIR)/etc && \
  6474. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6475. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6476. "RANLIB=$${RANLIB}" \
  6477. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6478. pdf) \
  6479. || exit 1
  6480. @endif etc
  6481. .PHONY: maybe-html-etc html-etc
  6482. maybe-html-etc:
  6483. @if etc
  6484. maybe-html-etc: html-etc
  6485. html-etc: \
  6486. configure-etc
  6487. @: $(MAKE); $(unstage)
  6488. @[ -f ./etc/Makefile ] || exit 0; \
  6489. r=`${PWD_COMMAND}`; export r; \
  6490. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6491. $(HOST_EXPORTS) \
  6492. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6493. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6494. done; \
  6495. echo "Doing html in etc" ; \
  6496. (cd $(HOST_SUBDIR)/etc && \
  6497. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6498. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6499. "RANLIB=$${RANLIB}" \
  6500. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6501. html) \
  6502. || exit 1
  6503. @endif etc
  6504. .PHONY: maybe-TAGS-etc TAGS-etc
  6505. maybe-TAGS-etc:
  6506. @if etc
  6507. maybe-TAGS-etc: TAGS-etc
  6508. TAGS-etc: \
  6509. configure-etc
  6510. @: $(MAKE); $(unstage)
  6511. @[ -f ./etc/Makefile ] || exit 0; \
  6512. r=`${PWD_COMMAND}`; export r; \
  6513. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6514. $(HOST_EXPORTS) \
  6515. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6516. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6517. done; \
  6518. echo "Doing TAGS in etc" ; \
  6519. (cd $(HOST_SUBDIR)/etc && \
  6520. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6521. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6522. "RANLIB=$${RANLIB}" \
  6523. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6524. TAGS) \
  6525. || exit 1
  6526. @endif etc
  6527. .PHONY: maybe-install-info-etc install-info-etc
  6528. maybe-install-info-etc:
  6529. @if etc
  6530. maybe-install-info-etc: install-info-etc
  6531. install-info-etc: \
  6532. configure-etc \
  6533. info-etc
  6534. @: $(MAKE); $(unstage)
  6535. @[ -f ./etc/Makefile ] || exit 0; \
  6536. r=`${PWD_COMMAND}`; export r; \
  6537. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6538. $(HOST_EXPORTS) \
  6539. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6540. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6541. done; \
  6542. echo "Doing install-info in etc" ; \
  6543. (cd $(HOST_SUBDIR)/etc && \
  6544. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6545. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6546. "RANLIB=$${RANLIB}" \
  6547. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6548. install-info) \
  6549. || exit 1
  6550. @endif etc
  6551. .PHONY: maybe-install-pdf-etc install-pdf-etc
  6552. maybe-install-pdf-etc:
  6553. @if etc
  6554. maybe-install-pdf-etc: install-pdf-etc
  6555. install-pdf-etc: \
  6556. configure-etc \
  6557. pdf-etc
  6558. @: $(MAKE); $(unstage)
  6559. @[ -f ./etc/Makefile ] || exit 0; \
  6560. r=`${PWD_COMMAND}`; export r; \
  6561. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6562. $(HOST_EXPORTS) \
  6563. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6564. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6565. done; \
  6566. echo "Doing install-pdf in etc" ; \
  6567. (cd $(HOST_SUBDIR)/etc && \
  6568. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6569. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6570. "RANLIB=$${RANLIB}" \
  6571. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6572. install-pdf) \
  6573. || exit 1
  6574. @endif etc
  6575. .PHONY: maybe-install-html-etc install-html-etc
  6576. maybe-install-html-etc:
  6577. @if etc
  6578. maybe-install-html-etc: install-html-etc
  6579. install-html-etc: \
  6580. configure-etc \
  6581. html-etc
  6582. @: $(MAKE); $(unstage)
  6583. @[ -f ./etc/Makefile ] || exit 0; \
  6584. r=`${PWD_COMMAND}`; export r; \
  6585. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6586. $(HOST_EXPORTS) \
  6587. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6588. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6589. done; \
  6590. echo "Doing install-html in etc" ; \
  6591. (cd $(HOST_SUBDIR)/etc && \
  6592. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6593. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6594. "RANLIB=$${RANLIB}" \
  6595. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6596. install-html) \
  6597. || exit 1
  6598. @endif etc
  6599. .PHONY: maybe-installcheck-etc installcheck-etc
  6600. maybe-installcheck-etc:
  6601. @if etc
  6602. maybe-installcheck-etc: installcheck-etc
  6603. installcheck-etc: \
  6604. configure-etc
  6605. @: $(MAKE); $(unstage)
  6606. @[ -f ./etc/Makefile ] || exit 0; \
  6607. r=`${PWD_COMMAND}`; export r; \
  6608. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6609. $(HOST_EXPORTS) \
  6610. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6611. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6612. done; \
  6613. echo "Doing installcheck in etc" ; \
  6614. (cd $(HOST_SUBDIR)/etc && \
  6615. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6616. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6617. "RANLIB=$${RANLIB}" \
  6618. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6619. installcheck) \
  6620. || exit 1
  6621. @endif etc
  6622. .PHONY: maybe-mostlyclean-etc mostlyclean-etc
  6623. maybe-mostlyclean-etc:
  6624. @if etc
  6625. maybe-mostlyclean-etc: mostlyclean-etc
  6626. mostlyclean-etc:
  6627. @: $(MAKE); $(unstage)
  6628. @[ -f ./etc/Makefile ] || exit 0; \
  6629. r=`${PWD_COMMAND}`; export r; \
  6630. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6631. $(HOST_EXPORTS) \
  6632. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6633. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6634. done; \
  6635. echo "Doing mostlyclean in etc" ; \
  6636. (cd $(HOST_SUBDIR)/etc && \
  6637. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6638. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6639. "RANLIB=$${RANLIB}" \
  6640. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6641. mostlyclean) \
  6642. || exit 1
  6643. @endif etc
  6644. .PHONY: maybe-clean-etc clean-etc
  6645. maybe-clean-etc:
  6646. @if etc
  6647. maybe-clean-etc: clean-etc
  6648. clean-etc:
  6649. @: $(MAKE); $(unstage)
  6650. @[ -f ./etc/Makefile ] || exit 0; \
  6651. r=`${PWD_COMMAND}`; export r; \
  6652. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6653. $(HOST_EXPORTS) \
  6654. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6655. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6656. done; \
  6657. echo "Doing clean in etc" ; \
  6658. (cd $(HOST_SUBDIR)/etc && \
  6659. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6660. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6661. "RANLIB=$${RANLIB}" \
  6662. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6663. clean) \
  6664. || exit 1
  6665. @endif etc
  6666. .PHONY: maybe-distclean-etc distclean-etc
  6667. maybe-distclean-etc:
  6668. @if etc
  6669. maybe-distclean-etc: distclean-etc
  6670. distclean-etc:
  6671. @: $(MAKE); $(unstage)
  6672. @[ -f ./etc/Makefile ] || exit 0; \
  6673. r=`${PWD_COMMAND}`; export r; \
  6674. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6675. $(HOST_EXPORTS) \
  6676. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6677. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6678. done; \
  6679. echo "Doing distclean in etc" ; \
  6680. (cd $(HOST_SUBDIR)/etc && \
  6681. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6682. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6683. "RANLIB=$${RANLIB}" \
  6684. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6685. distclean) \
  6686. || exit 1
  6687. @endif etc
  6688. .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
  6689. maybe-maintainer-clean-etc:
  6690. @if etc
  6691. maybe-maintainer-clean-etc: maintainer-clean-etc
  6692. maintainer-clean-etc:
  6693. @: $(MAKE); $(unstage)
  6694. @[ -f ./etc/Makefile ] || exit 0; \
  6695. r=`${PWD_COMMAND}`; export r; \
  6696. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6697. $(HOST_EXPORTS) \
  6698. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6699. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6700. done; \
  6701. echo "Doing maintainer-clean in etc" ; \
  6702. (cd $(HOST_SUBDIR)/etc && \
  6703. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6704. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6705. "RANLIB=$${RANLIB}" \
  6706. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6707. maintainer-clean) \
  6708. || exit 1
  6709. @endif etc
  6710. .PHONY: configure-fastjar maybe-configure-fastjar
  6711. maybe-configure-fastjar:
  6712. @if gcc-bootstrap
  6713. configure-fastjar: stage_current
  6714. @endif gcc-bootstrap
  6715. @if fastjar
  6716. maybe-configure-fastjar: configure-fastjar
  6717. configure-fastjar:
  6718. @: $(MAKE); $(unstage)
  6719. @r=`${PWD_COMMAND}`; export r; \
  6720. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6721. test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
  6722. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
  6723. $(HOST_EXPORTS) \
  6724. echo Configuring in $(HOST_SUBDIR)/fastjar; \
  6725. cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
  6726. case $(srcdir) in \
  6727. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  6728. *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
  6729. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  6730. esac; \
  6731. module_srcdir=fastjar; \
  6732. $(SHELL) \
  6733. $$s/$$module_srcdir/configure \
  6734. --srcdir=$${topdir}/$$module_srcdir \
  6735. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  6736. --target=${target_alias} \
  6737. || exit 1
  6738. @endif fastjar
  6739. .PHONY: all-fastjar maybe-all-fastjar
  6740. maybe-all-fastjar:
  6741. @if gcc-bootstrap
  6742. all-fastjar: stage_current
  6743. @endif gcc-bootstrap
  6744. @if fastjar
  6745. TARGET-fastjar=all
  6746. maybe-all-fastjar: all-fastjar
  6747. all-fastjar: configure-fastjar
  6748. @: $(MAKE); $(unstage)
  6749. @r=`${PWD_COMMAND}`; export r; \
  6750. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6751. $(HOST_EXPORTS) \
  6752. (cd $(HOST_SUBDIR)/fastjar && \
  6753. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  6754. $(TARGET-fastjar))
  6755. @endif fastjar
  6756. .PHONY: check-fastjar maybe-check-fastjar
  6757. maybe-check-fastjar:
  6758. @if fastjar
  6759. maybe-check-fastjar: check-fastjar
  6760. # This module is only tested in a native toolchain.
  6761. check-fastjar:
  6762. @: $(MAKE); $(unstage)
  6763. @if [ '$(host)' = '$(target)' ] ; then \
  6764. r=`${PWD_COMMAND}`; export r; \
  6765. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6766. $(HOST_EXPORTS) \
  6767. (cd $(HOST_SUBDIR)/fastjar && \
  6768. $(MAKE) $(FLAGS_TO_PASS) check); \
  6769. fi
  6770. @endif fastjar
  6771. .PHONY: install-fastjar maybe-install-fastjar
  6772. maybe-install-fastjar:
  6773. @if fastjar
  6774. maybe-install-fastjar: install-fastjar
  6775. install-fastjar: installdirs
  6776. @: $(MAKE); $(unstage)
  6777. @r=`${PWD_COMMAND}`; export r; \
  6778. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6779. $(HOST_EXPORTS) \
  6780. (cd $(HOST_SUBDIR)/fastjar && \
  6781. $(MAKE) $(FLAGS_TO_PASS) install)
  6782. @endif fastjar
  6783. .PHONY: install-strip-fastjar maybe-install-strip-fastjar
  6784. maybe-install-strip-fastjar:
  6785. @if fastjar
  6786. maybe-install-strip-fastjar: install-strip-fastjar
  6787. install-strip-fastjar: installdirs
  6788. @: $(MAKE); $(unstage)
  6789. @r=`${PWD_COMMAND}`; export r; \
  6790. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6791. $(HOST_EXPORTS) \
  6792. (cd $(HOST_SUBDIR)/fastjar && \
  6793. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  6794. @endif fastjar
  6795. # Other targets (info, dvi, pdf, etc.)
  6796. .PHONY: maybe-info-fastjar info-fastjar
  6797. maybe-info-fastjar:
  6798. @if fastjar
  6799. maybe-info-fastjar: info-fastjar
  6800. info-fastjar: \
  6801. configure-fastjar
  6802. @: $(MAKE); $(unstage)
  6803. @[ -f ./fastjar/Makefile ] || exit 0; \
  6804. r=`${PWD_COMMAND}`; export r; \
  6805. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6806. $(HOST_EXPORTS) \
  6807. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6808. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6809. done; \
  6810. echo "Doing info in fastjar" ; \
  6811. (cd $(HOST_SUBDIR)/fastjar && \
  6812. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6813. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6814. "RANLIB=$${RANLIB}" \
  6815. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6816. info) \
  6817. || exit 1
  6818. @endif fastjar
  6819. .PHONY: maybe-dvi-fastjar dvi-fastjar
  6820. maybe-dvi-fastjar:
  6821. @if fastjar
  6822. maybe-dvi-fastjar: dvi-fastjar
  6823. dvi-fastjar: \
  6824. configure-fastjar
  6825. @: $(MAKE); $(unstage)
  6826. @[ -f ./fastjar/Makefile ] || exit 0; \
  6827. r=`${PWD_COMMAND}`; export r; \
  6828. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6829. $(HOST_EXPORTS) \
  6830. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6831. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6832. done; \
  6833. echo "Doing dvi in fastjar" ; \
  6834. (cd $(HOST_SUBDIR)/fastjar && \
  6835. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6836. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6837. "RANLIB=$${RANLIB}" \
  6838. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6839. dvi) \
  6840. || exit 1
  6841. @endif fastjar
  6842. .PHONY: maybe-pdf-fastjar pdf-fastjar
  6843. maybe-pdf-fastjar:
  6844. @if fastjar
  6845. maybe-pdf-fastjar: pdf-fastjar
  6846. pdf-fastjar: \
  6847. configure-fastjar
  6848. @: $(MAKE); $(unstage)
  6849. @[ -f ./fastjar/Makefile ] || exit 0; \
  6850. r=`${PWD_COMMAND}`; export r; \
  6851. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6852. $(HOST_EXPORTS) \
  6853. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6854. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6855. done; \
  6856. echo "Doing pdf in fastjar" ; \
  6857. (cd $(HOST_SUBDIR)/fastjar && \
  6858. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6859. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6860. "RANLIB=$${RANLIB}" \
  6861. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6862. pdf) \
  6863. || exit 1
  6864. @endif fastjar
  6865. .PHONY: maybe-html-fastjar html-fastjar
  6866. maybe-html-fastjar:
  6867. @if fastjar
  6868. maybe-html-fastjar: html-fastjar
  6869. html-fastjar: \
  6870. configure-fastjar
  6871. @: $(MAKE); $(unstage)
  6872. @[ -f ./fastjar/Makefile ] || exit 0; \
  6873. r=`${PWD_COMMAND}`; export r; \
  6874. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6875. $(HOST_EXPORTS) \
  6876. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6877. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6878. done; \
  6879. echo "Doing html in fastjar" ; \
  6880. (cd $(HOST_SUBDIR)/fastjar && \
  6881. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6882. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6883. "RANLIB=$${RANLIB}" \
  6884. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6885. html) \
  6886. || exit 1
  6887. @endif fastjar
  6888. .PHONY: maybe-TAGS-fastjar TAGS-fastjar
  6889. maybe-TAGS-fastjar:
  6890. @if fastjar
  6891. maybe-TAGS-fastjar: TAGS-fastjar
  6892. TAGS-fastjar: \
  6893. configure-fastjar
  6894. @: $(MAKE); $(unstage)
  6895. @[ -f ./fastjar/Makefile ] || exit 0; \
  6896. r=`${PWD_COMMAND}`; export r; \
  6897. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6898. $(HOST_EXPORTS) \
  6899. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6900. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6901. done; \
  6902. echo "Doing TAGS in fastjar" ; \
  6903. (cd $(HOST_SUBDIR)/fastjar && \
  6904. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6905. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6906. "RANLIB=$${RANLIB}" \
  6907. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6908. TAGS) \
  6909. || exit 1
  6910. @endif fastjar
  6911. .PHONY: maybe-install-info-fastjar install-info-fastjar
  6912. maybe-install-info-fastjar:
  6913. @if fastjar
  6914. maybe-install-info-fastjar: install-info-fastjar
  6915. install-info-fastjar: \
  6916. configure-fastjar \
  6917. info-fastjar
  6918. @: $(MAKE); $(unstage)
  6919. @[ -f ./fastjar/Makefile ] || exit 0; \
  6920. r=`${PWD_COMMAND}`; export r; \
  6921. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6922. $(HOST_EXPORTS) \
  6923. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6924. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6925. done; \
  6926. echo "Doing install-info in fastjar" ; \
  6927. (cd $(HOST_SUBDIR)/fastjar && \
  6928. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6929. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6930. "RANLIB=$${RANLIB}" \
  6931. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6932. install-info) \
  6933. || exit 1
  6934. @endif fastjar
  6935. .PHONY: maybe-install-pdf-fastjar install-pdf-fastjar
  6936. maybe-install-pdf-fastjar:
  6937. @if fastjar
  6938. maybe-install-pdf-fastjar: install-pdf-fastjar
  6939. install-pdf-fastjar: \
  6940. configure-fastjar \
  6941. pdf-fastjar
  6942. @: $(MAKE); $(unstage)
  6943. @[ -f ./fastjar/Makefile ] || exit 0; \
  6944. r=`${PWD_COMMAND}`; export r; \
  6945. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6946. $(HOST_EXPORTS) \
  6947. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6948. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6949. done; \
  6950. echo "Doing install-pdf in fastjar" ; \
  6951. (cd $(HOST_SUBDIR)/fastjar && \
  6952. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6953. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6954. "RANLIB=$${RANLIB}" \
  6955. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6956. install-pdf) \
  6957. || exit 1
  6958. @endif fastjar
  6959. .PHONY: maybe-install-html-fastjar install-html-fastjar
  6960. maybe-install-html-fastjar:
  6961. @if fastjar
  6962. maybe-install-html-fastjar: install-html-fastjar
  6963. install-html-fastjar: \
  6964. configure-fastjar \
  6965. html-fastjar
  6966. @: $(MAKE); $(unstage)
  6967. @[ -f ./fastjar/Makefile ] || exit 0; \
  6968. r=`${PWD_COMMAND}`; export r; \
  6969. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6970. $(HOST_EXPORTS) \
  6971. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6972. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6973. done; \
  6974. echo "Doing install-html in fastjar" ; \
  6975. (cd $(HOST_SUBDIR)/fastjar && \
  6976. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  6977. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  6978. "RANLIB=$${RANLIB}" \
  6979. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  6980. install-html) \
  6981. || exit 1
  6982. @endif fastjar
  6983. .PHONY: maybe-installcheck-fastjar installcheck-fastjar
  6984. maybe-installcheck-fastjar:
  6985. @if fastjar
  6986. maybe-installcheck-fastjar: installcheck-fastjar
  6987. installcheck-fastjar: \
  6988. configure-fastjar
  6989. @: $(MAKE); $(unstage)
  6990. @[ -f ./fastjar/Makefile ] || exit 0; \
  6991. r=`${PWD_COMMAND}`; export r; \
  6992. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  6993. $(HOST_EXPORTS) \
  6994. for flag in $(EXTRA_HOST_FLAGS) ; do \
  6995. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  6996. done; \
  6997. echo "Doing installcheck in fastjar" ; \
  6998. (cd $(HOST_SUBDIR)/fastjar && \
  6999. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  7000. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  7001. "RANLIB=$${RANLIB}" \
  7002. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  7003. installcheck) \
  7004. || exit 1
  7005. @endif fastjar
  7006. .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
  7007. maybe-mostlyclean-fastjar:
  7008. @if fastjar
  7009. maybe-mostlyclean-fastjar: mostlyclean-fastjar
  7010. mostlyclean-fastjar:
  7011. @: $(MAKE); $(unstage)
  7012. @[ -f ./fastjar/Makefile ] || exit 0; \
  7013. r=`${PWD_COMMAND}`; export r; \
  7014. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7015. $(HOST_EXPORTS) \
  7016. for flag in $(EXTRA_HOST_FLAGS) ; do \
  7017. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  7018. done; \
  7019. echo "Doing mostlyclean in fastjar" ; \
  7020. (cd $(HOST_SUBDIR)/fastjar && \
  7021. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  7022. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  7023. "RANLIB=$${RANLIB}" \
  7024. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  7025. mostlyclean) \
  7026. || exit 1
  7027. @endif fastjar
  7028. .PHONY: maybe-clean-fastjar clean-fastjar
  7029. maybe-clean-fastjar:
  7030. @if fastjar
  7031. maybe-clean-fastjar: clean-fastjar
  7032. clean-fastjar:
  7033. @: $(MAKE); $(unstage)
  7034. @[ -f ./fastjar/Makefile ] || exit 0; \
  7035. r=`${PWD_COMMAND}`; export r; \
  7036. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7037. $(HOST_EXPORTS) \
  7038. for flag in $(EXTRA_HOST_FLAGS) ; do \
  7039. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  7040. done; \
  7041. echo "Doing clean in fastjar" ; \
  7042. (cd $(HOST_SUBDIR)/fastjar && \
  7043. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  7044. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  7045. "RANLIB=$${RANLIB}" \
  7046. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  7047. clean) \
  7048. || exit 1
  7049. @endif fastjar
  7050. .PHONY: maybe-distclean-fastjar distclean-fastjar
  7051. maybe-distclean-fastjar:
  7052. @if fastjar
  7053. maybe-distclean-fastjar: distclean-fastjar
  7054. distclean-fastjar:
  7055. @: $(MAKE); $(unstage)
  7056. @[ -f ./fastjar/Makefile ] || exit 0; \
  7057. r=`${PWD_COMMAND}`; export r; \
  7058. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7059. $(HOST_EXPORTS) \
  7060. for flag in $(EXTRA_HOST_FLAGS) ; do \
  7061. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  7062. done; \
  7063. echo "Doing distclean in fastjar" ; \
  7064. (cd $(HOST_SUBDIR)/fastjar && \
  7065. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  7066. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  7067. "RANLIB=$${RANLIB}" \
  7068. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  7069. distclean) \
  7070. || exit 1
  7071. @endif fastjar
  7072. .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
  7073. maybe-maintainer-clean-fastjar:
  7074. @if fastjar
  7075. maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
  7076. maintainer-clean-fastjar:
  7077. @: $(MAKE); $(unstage)
  7078. @[ -f ./fastjar/Makefile ] || exit 0; \
  7079. r=`${PWD_COMMAND}`; export r; \
  7080. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7081. $(HOST_EXPORTS) \
  7082. for flag in $(EXTRA_HOST_FLAGS) ; do \
  7083. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  7084. done; \
  7085. echo "Doing maintainer-clean in fastjar" ; \
  7086. (cd $(HOST_SUBDIR)/fastjar && \
  7087. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  7088. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  7089. "RANLIB=$${RANLIB}" \
  7090. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  7091. maintainer-clean) \
  7092. || exit 1
  7093. @endif fastjar
  7094. .PHONY: configure-fixincludes maybe-configure-fixincludes
  7095. maybe-configure-fixincludes:
  7096. @if gcc-bootstrap
  7097. configure-fixincludes: stage_current
  7098. @endif gcc-bootstrap
  7099. @if fixincludes
  7100. maybe-configure-fixincludes: configure-fixincludes
  7101. configure-fixincludes:
  7102. @r=`${PWD_COMMAND}`; export r; \
  7103. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7104. test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
  7105. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
  7106. $(HOST_EXPORTS) \
  7107. echo Configuring in $(HOST_SUBDIR)/fixincludes; \
  7108. cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
  7109. case $(srcdir) in \
  7110. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  7111. *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
  7112. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  7113. esac; \
  7114. module_srcdir=fixincludes; \
  7115. $(SHELL) \
  7116. $$s/$$module_srcdir/configure \
  7117. --srcdir=$${topdir}/$$module_srcdir \
  7118. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  7119. --target=${target_alias} \
  7120. || exit 1
  7121. @endif fixincludes
  7122. .PHONY: configure-stage1-fixincludes maybe-configure-stage1-fixincludes
  7123. maybe-configure-stage1-fixincludes:
  7124. @if fixincludes-bootstrap
  7125. maybe-configure-stage1-fixincludes: configure-stage1-fixincludes
  7126. configure-stage1-fixincludes:
  7127. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  7128. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
  7129. @r=`${PWD_COMMAND}`; export r; \
  7130. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7131. TFLAGS="$(STAGE1_TFLAGS)"; \
  7132. test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
  7133. $(HOST_EXPORTS) \
  7134. CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
  7135. CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
  7136. LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
  7137. echo Configuring stage 1 in $(HOST_SUBDIR)/fixincludes ; \
  7138. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
  7139. cd $(HOST_SUBDIR)/fixincludes || exit 1; \
  7140. case $(srcdir) in \
  7141. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  7142. *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
  7143. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  7144. esac; \
  7145. module_srcdir=fixincludes; \
  7146. $(SHELL) $$s/$$module_srcdir/configure \
  7147. --srcdir=$${topdir}/$$module_srcdir \
  7148. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  7149. --target=${target_alias} \
  7150. \
  7151. $(STAGE1_CONFIGURE_FLAGS)
  7152. @endif fixincludes-bootstrap
  7153. .PHONY: configure-stage2-fixincludes maybe-configure-stage2-fixincludes
  7154. maybe-configure-stage2-fixincludes:
  7155. @if fixincludes-bootstrap
  7156. maybe-configure-stage2-fixincludes: configure-stage2-fixincludes
  7157. configure-stage2-fixincludes:
  7158. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  7159. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
  7160. @r=`${PWD_COMMAND}`; export r; \
  7161. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7162. TFLAGS="$(STAGE2_TFLAGS)"; \
  7163. test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
  7164. $(HOST_EXPORTS) \
  7165. $(POSTSTAGE1_HOST_EXPORTS) \
  7166. CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
  7167. CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
  7168. LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
  7169. echo Configuring stage 2 in $(HOST_SUBDIR)/fixincludes ; \
  7170. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
  7171. cd $(HOST_SUBDIR)/fixincludes || exit 1; \
  7172. case $(srcdir) in \
  7173. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  7174. *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
  7175. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  7176. esac; \
  7177. module_srcdir=fixincludes; \
  7178. $(SHELL) $$s/$$module_srcdir/configure \
  7179. --srcdir=$${topdir}/$$module_srcdir \
  7180. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  7181. --target=${target_alias} \
  7182. --with-build-libsubdir=$(HOST_SUBDIR) \
  7183. $(STAGE2_CONFIGURE_FLAGS)
  7184. @endif fixincludes-bootstrap
  7185. .PHONY: configure-stage3-fixincludes maybe-configure-stage3-fixincludes
  7186. maybe-configure-stage3-fixincludes:
  7187. @if fixincludes-bootstrap
  7188. maybe-configure-stage3-fixincludes: configure-stage3-fixincludes
  7189. configure-stage3-fixincludes:
  7190. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  7191. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
  7192. @r=`${PWD_COMMAND}`; export r; \
  7193. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7194. TFLAGS="$(STAGE3_TFLAGS)"; \
  7195. test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
  7196. $(HOST_EXPORTS) \
  7197. $(POSTSTAGE1_HOST_EXPORTS) \
  7198. CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
  7199. CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
  7200. LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
  7201. echo Configuring stage 3 in $(HOST_SUBDIR)/fixincludes ; \
  7202. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
  7203. cd $(HOST_SUBDIR)/fixincludes || exit 1; \
  7204. case $(srcdir) in \
  7205. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  7206. *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
  7207. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  7208. esac; \
  7209. module_srcdir=fixincludes; \
  7210. $(SHELL) $$s/$$module_srcdir/configure \
  7211. --srcdir=$${topdir}/$$module_srcdir \
  7212. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  7213. --target=${target_alias} \
  7214. --with-build-libsubdir=$(HOST_SUBDIR) \
  7215. $(STAGE3_CONFIGURE_FLAGS)
  7216. @endif fixincludes-bootstrap
  7217. .PHONY: configure-stage4-fixincludes maybe-configure-stage4-fixincludes
  7218. maybe-configure-stage4-fixincludes:
  7219. @if fixincludes-bootstrap
  7220. maybe-configure-stage4-fixincludes: configure-stage4-fixincludes
  7221. configure-stage4-fixincludes:
  7222. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  7223. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
  7224. @r=`${PWD_COMMAND}`; export r; \
  7225. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7226. TFLAGS="$(STAGE4_TFLAGS)"; \
  7227. test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
  7228. $(HOST_EXPORTS) \
  7229. $(POSTSTAGE1_HOST_EXPORTS) \
  7230. CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
  7231. CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
  7232. LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
  7233. echo Configuring stage 4 in $(HOST_SUBDIR)/fixincludes ; \
  7234. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
  7235. cd $(HOST_SUBDIR)/fixincludes || exit 1; \
  7236. case $(srcdir) in \
  7237. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  7238. *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
  7239. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  7240. esac; \
  7241. module_srcdir=fixincludes; \
  7242. $(SHELL) $$s/$$module_srcdir/configure \
  7243. --srcdir=$${topdir}/$$module_srcdir \
  7244. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  7245. --target=${target_alias} \
  7246. --with-build-libsubdir=$(HOST_SUBDIR) \
  7247. $(STAGE4_CONFIGURE_FLAGS)
  7248. @endif fixincludes-bootstrap
  7249. .PHONY: configure-stageprofile-fixincludes maybe-configure-stageprofile-fixincludes
  7250. maybe-configure-stageprofile-fixincludes:
  7251. @if fixincludes-bootstrap
  7252. maybe-configure-stageprofile-fixincludes: configure-stageprofile-fixincludes
  7253. configure-stageprofile-fixincludes:
  7254. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  7255. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
  7256. @r=`${PWD_COMMAND}`; export r; \
  7257. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7258. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  7259. test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
  7260. $(HOST_EXPORTS) \
  7261. $(POSTSTAGE1_HOST_EXPORTS) \
  7262. CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
  7263. CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
  7264. LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
  7265. echo Configuring stage profile in $(HOST_SUBDIR)/fixincludes ; \
  7266. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
  7267. cd $(HOST_SUBDIR)/fixincludes || exit 1; \
  7268. case $(srcdir) in \
  7269. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  7270. *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
  7271. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  7272. esac; \
  7273. module_srcdir=fixincludes; \
  7274. $(SHELL) $$s/$$module_srcdir/configure \
  7275. --srcdir=$${topdir}/$$module_srcdir \
  7276. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  7277. --target=${target_alias} \
  7278. --with-build-libsubdir=$(HOST_SUBDIR) \
  7279. $(STAGEprofile_CONFIGURE_FLAGS)
  7280. @endif fixincludes-bootstrap
  7281. .PHONY: configure-stagefeedback-fixincludes maybe-configure-stagefeedback-fixincludes
  7282. maybe-configure-stagefeedback-fixincludes:
  7283. @if fixincludes-bootstrap
  7284. maybe-configure-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
  7285. configure-stagefeedback-fixincludes:
  7286. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  7287. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes
  7288. @r=`${PWD_COMMAND}`; export r; \
  7289. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7290. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  7291. test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
  7292. $(HOST_EXPORTS) \
  7293. $(POSTSTAGE1_HOST_EXPORTS) \
  7294. CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
  7295. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
  7296. LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
  7297. echo Configuring stage feedback in $(HOST_SUBDIR)/fixincludes ; \
  7298. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
  7299. cd $(HOST_SUBDIR)/fixincludes || exit 1; \
  7300. case $(srcdir) in \
  7301. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  7302. *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
  7303. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  7304. esac; \
  7305. module_srcdir=fixincludes; \
  7306. $(SHELL) $$s/$$module_srcdir/configure \
  7307. --srcdir=$${topdir}/$$module_srcdir \
  7308. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  7309. --target=${target_alias} \
  7310. --with-build-libsubdir=$(HOST_SUBDIR) \
  7311. $(STAGEfeedback_CONFIGURE_FLAGS)
  7312. @endif fixincludes-bootstrap
  7313. .PHONY: all-fixincludes maybe-all-fixincludes
  7314. maybe-all-fixincludes:
  7315. @if gcc-bootstrap
  7316. all-fixincludes: stage_current
  7317. @endif gcc-bootstrap
  7318. @if fixincludes
  7319. TARGET-fixincludes=all
  7320. maybe-all-fixincludes: all-fixincludes
  7321. all-fixincludes: configure-fixincludes
  7322. @r=`${PWD_COMMAND}`; export r; \
  7323. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7324. $(HOST_EXPORTS) \
  7325. (cd $(HOST_SUBDIR)/fixincludes && \
  7326. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  7327. $(TARGET-fixincludes))
  7328. @endif fixincludes
  7329. .PHONY: all-stage1-fixincludes maybe-all-stage1-fixincludes
  7330. .PHONY: clean-stage1-fixincludes maybe-clean-stage1-fixincludes
  7331. maybe-all-stage1-fixincludes:
  7332. maybe-clean-stage1-fixincludes:
  7333. @if fixincludes-bootstrap
  7334. maybe-all-stage1-fixincludes: all-stage1-fixincludes
  7335. all-stage1: all-stage1-fixincludes
  7336. TARGET-stage1-fixincludes = $(TARGET-fixincludes)
  7337. all-stage1-fixincludes: configure-stage1-fixincludes
  7338. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  7339. @r=`${PWD_COMMAND}`; export r; \
  7340. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7341. TFLAGS="$(STAGE1_TFLAGS)"; \
  7342. $(HOST_EXPORTS) \
  7343. cd $(HOST_SUBDIR)/fixincludes && \
  7344. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  7345. CFLAGS="$(STAGE1_CFLAGS)" \
  7346. CXXFLAGS="$(STAGE1_CXXFLAGS)" \
  7347. LIBCFLAGS="$(LIBCFLAGS)" \
  7348. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  7349. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  7350. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  7351. $(EXTRA_HOST_FLAGS) \
  7352. $(STAGE1_FLAGS_TO_PASS) \
  7353. TFLAGS="$(STAGE1_TFLAGS)" \
  7354. $(TARGET-stage1-fixincludes)
  7355. maybe-clean-stage1-fixincludes: clean-stage1-fixincludes
  7356. clean-stage1: clean-stage1-fixincludes
  7357. clean-stage1-fixincludes:
  7358. @if [ $(current_stage) = stage1 ]; then \
  7359. [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
  7360. else \
  7361. [ -f $(HOST_SUBDIR)/stage1-fixincludes/Makefile ] || exit 0; \
  7362. $(MAKE) stage1-start; \
  7363. fi; \
  7364. cd $(HOST_SUBDIR)/fixincludes && \
  7365. $(MAKE) $(EXTRA_HOST_FLAGS) \
  7366. $(STAGE1_FLAGS_TO_PASS) clean
  7367. @endif fixincludes-bootstrap
  7368. .PHONY: all-stage2-fixincludes maybe-all-stage2-fixincludes
  7369. .PHONY: clean-stage2-fixincludes maybe-clean-stage2-fixincludes
  7370. maybe-all-stage2-fixincludes:
  7371. maybe-clean-stage2-fixincludes:
  7372. @if fixincludes-bootstrap
  7373. maybe-all-stage2-fixincludes: all-stage2-fixincludes
  7374. all-stage2: all-stage2-fixincludes
  7375. TARGET-stage2-fixincludes = $(TARGET-fixincludes)
  7376. all-stage2-fixincludes: configure-stage2-fixincludes
  7377. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  7378. @r=`${PWD_COMMAND}`; export r; \
  7379. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7380. TFLAGS="$(STAGE2_TFLAGS)"; \
  7381. $(HOST_EXPORTS) \
  7382. $(POSTSTAGE1_HOST_EXPORTS) \
  7383. cd $(HOST_SUBDIR)/fixincludes && \
  7384. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  7385. CFLAGS="$(STAGE2_CFLAGS)" \
  7386. CXXFLAGS="$(STAGE2_CXXFLAGS)" \
  7387. LIBCFLAGS="$(STAGE2_CFLAGS)" \
  7388. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  7389. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  7390. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  7391. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  7392. TFLAGS="$(STAGE2_TFLAGS)" \
  7393. $(TARGET-stage2-fixincludes)
  7394. maybe-clean-stage2-fixincludes: clean-stage2-fixincludes
  7395. clean-stage2: clean-stage2-fixincludes
  7396. clean-stage2-fixincludes:
  7397. @if [ $(current_stage) = stage2 ]; then \
  7398. [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
  7399. else \
  7400. [ -f $(HOST_SUBDIR)/stage2-fixincludes/Makefile ] || exit 0; \
  7401. $(MAKE) stage2-start; \
  7402. fi; \
  7403. cd $(HOST_SUBDIR)/fixincludes && \
  7404. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  7405. @endif fixincludes-bootstrap
  7406. .PHONY: all-stage3-fixincludes maybe-all-stage3-fixincludes
  7407. .PHONY: clean-stage3-fixincludes maybe-clean-stage3-fixincludes
  7408. maybe-all-stage3-fixincludes:
  7409. maybe-clean-stage3-fixincludes:
  7410. @if fixincludes-bootstrap
  7411. maybe-all-stage3-fixincludes: all-stage3-fixincludes
  7412. all-stage3: all-stage3-fixincludes
  7413. TARGET-stage3-fixincludes = $(TARGET-fixincludes)
  7414. all-stage3-fixincludes: configure-stage3-fixincludes
  7415. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  7416. @r=`${PWD_COMMAND}`; export r; \
  7417. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7418. TFLAGS="$(STAGE3_TFLAGS)"; \
  7419. $(HOST_EXPORTS) \
  7420. $(POSTSTAGE1_HOST_EXPORTS) \
  7421. cd $(HOST_SUBDIR)/fixincludes && \
  7422. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  7423. CFLAGS="$(STAGE3_CFLAGS)" \
  7424. CXXFLAGS="$(STAGE3_CXXFLAGS)" \
  7425. LIBCFLAGS="$(STAGE3_CFLAGS)" \
  7426. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  7427. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  7428. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  7429. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  7430. TFLAGS="$(STAGE3_TFLAGS)" \
  7431. $(TARGET-stage3-fixincludes)
  7432. maybe-clean-stage3-fixincludes: clean-stage3-fixincludes
  7433. clean-stage3: clean-stage3-fixincludes
  7434. clean-stage3-fixincludes:
  7435. @if [ $(current_stage) = stage3 ]; then \
  7436. [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
  7437. else \
  7438. [ -f $(HOST_SUBDIR)/stage3-fixincludes/Makefile ] || exit 0; \
  7439. $(MAKE) stage3-start; \
  7440. fi; \
  7441. cd $(HOST_SUBDIR)/fixincludes && \
  7442. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  7443. @endif fixincludes-bootstrap
  7444. .PHONY: all-stage4-fixincludes maybe-all-stage4-fixincludes
  7445. .PHONY: clean-stage4-fixincludes maybe-clean-stage4-fixincludes
  7446. maybe-all-stage4-fixincludes:
  7447. maybe-clean-stage4-fixincludes:
  7448. @if fixincludes-bootstrap
  7449. maybe-all-stage4-fixincludes: all-stage4-fixincludes
  7450. all-stage4: all-stage4-fixincludes
  7451. TARGET-stage4-fixincludes = $(TARGET-fixincludes)
  7452. all-stage4-fixincludes: configure-stage4-fixincludes
  7453. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  7454. @r=`${PWD_COMMAND}`; export r; \
  7455. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7456. TFLAGS="$(STAGE4_TFLAGS)"; \
  7457. $(HOST_EXPORTS) \
  7458. $(POSTSTAGE1_HOST_EXPORTS) \
  7459. cd $(HOST_SUBDIR)/fixincludes && \
  7460. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  7461. CFLAGS="$(STAGE4_CFLAGS)" \
  7462. CXXFLAGS="$(STAGE4_CXXFLAGS)" \
  7463. LIBCFLAGS="$(STAGE4_CFLAGS)" \
  7464. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  7465. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  7466. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  7467. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  7468. TFLAGS="$(STAGE4_TFLAGS)" \
  7469. $(TARGET-stage4-fixincludes)
  7470. maybe-clean-stage4-fixincludes: clean-stage4-fixincludes
  7471. clean-stage4: clean-stage4-fixincludes
  7472. clean-stage4-fixincludes:
  7473. @if [ $(current_stage) = stage4 ]; then \
  7474. [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
  7475. else \
  7476. [ -f $(HOST_SUBDIR)/stage4-fixincludes/Makefile ] || exit 0; \
  7477. $(MAKE) stage4-start; \
  7478. fi; \
  7479. cd $(HOST_SUBDIR)/fixincludes && \
  7480. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  7481. @endif fixincludes-bootstrap
  7482. .PHONY: all-stageprofile-fixincludes maybe-all-stageprofile-fixincludes
  7483. .PHONY: clean-stageprofile-fixincludes maybe-clean-stageprofile-fixincludes
  7484. maybe-all-stageprofile-fixincludes:
  7485. maybe-clean-stageprofile-fixincludes:
  7486. @if fixincludes-bootstrap
  7487. maybe-all-stageprofile-fixincludes: all-stageprofile-fixincludes
  7488. all-stageprofile: all-stageprofile-fixincludes
  7489. TARGET-stageprofile-fixincludes = $(TARGET-fixincludes)
  7490. all-stageprofile-fixincludes: configure-stageprofile-fixincludes
  7491. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  7492. @r=`${PWD_COMMAND}`; export r; \
  7493. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7494. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  7495. $(HOST_EXPORTS) \
  7496. $(POSTSTAGE1_HOST_EXPORTS) \
  7497. cd $(HOST_SUBDIR)/fixincludes && \
  7498. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  7499. CFLAGS="$(STAGEprofile_CFLAGS)" \
  7500. CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
  7501. LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
  7502. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  7503. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  7504. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  7505. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  7506. TFLAGS="$(STAGEprofile_TFLAGS)" \
  7507. $(TARGET-stageprofile-fixincludes)
  7508. maybe-clean-stageprofile-fixincludes: clean-stageprofile-fixincludes
  7509. clean-stageprofile: clean-stageprofile-fixincludes
  7510. clean-stageprofile-fixincludes:
  7511. @if [ $(current_stage) = stageprofile ]; then \
  7512. [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
  7513. else \
  7514. [ -f $(HOST_SUBDIR)/stageprofile-fixincludes/Makefile ] || exit 0; \
  7515. $(MAKE) stageprofile-start; \
  7516. fi; \
  7517. cd $(HOST_SUBDIR)/fixincludes && \
  7518. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  7519. @endif fixincludes-bootstrap
  7520. .PHONY: all-stagefeedback-fixincludes maybe-all-stagefeedback-fixincludes
  7521. .PHONY: clean-stagefeedback-fixincludes maybe-clean-stagefeedback-fixincludes
  7522. maybe-all-stagefeedback-fixincludes:
  7523. maybe-clean-stagefeedback-fixincludes:
  7524. @if fixincludes-bootstrap
  7525. maybe-all-stagefeedback-fixincludes: all-stagefeedback-fixincludes
  7526. all-stagefeedback: all-stagefeedback-fixincludes
  7527. TARGET-stagefeedback-fixincludes = $(TARGET-fixincludes)
  7528. all-stagefeedback-fixincludes: configure-stagefeedback-fixincludes
  7529. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  7530. @r=`${PWD_COMMAND}`; export r; \
  7531. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7532. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  7533. $(HOST_EXPORTS) \
  7534. $(POSTSTAGE1_HOST_EXPORTS) \
  7535. cd $(HOST_SUBDIR)/fixincludes && \
  7536. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  7537. CFLAGS="$(STAGEfeedback_CFLAGS)" \
  7538. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
  7539. LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
  7540. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  7541. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  7542. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  7543. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  7544. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  7545. $(TARGET-stagefeedback-fixincludes)
  7546. maybe-clean-stagefeedback-fixincludes: clean-stagefeedback-fixincludes
  7547. clean-stagefeedback: clean-stagefeedback-fixincludes
  7548. clean-stagefeedback-fixincludes:
  7549. @if [ $(current_stage) = stagefeedback ]; then \
  7550. [ -f $(HOST_SUBDIR)/fixincludes/Makefile ] || exit 0; \
  7551. else \
  7552. [ -f $(HOST_SUBDIR)/stagefeedback-fixincludes/Makefile ] || exit 0; \
  7553. $(MAKE) stagefeedback-start; \
  7554. fi; \
  7555. cd $(HOST_SUBDIR)/fixincludes && \
  7556. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  7557. @endif fixincludes-bootstrap
  7558. .PHONY: check-fixincludes maybe-check-fixincludes
  7559. maybe-check-fixincludes:
  7560. @if fixincludes
  7561. maybe-check-fixincludes: check-fixincludes
  7562. check-fixincludes:
  7563. @: $(MAKE); $(unstage)
  7564. @r=`${PWD_COMMAND}`; export r; \
  7565. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7566. $(HOST_EXPORTS) \
  7567. (cd $(HOST_SUBDIR)/fixincludes && \
  7568. $(MAKE) $(FLAGS_TO_PASS) check)
  7569. @endif fixincludes
  7570. .PHONY: install-fixincludes maybe-install-fixincludes
  7571. maybe-install-fixincludes:
  7572. @if fixincludes
  7573. maybe-install-fixincludes: install-fixincludes
  7574. install-fixincludes: installdirs
  7575. @: $(MAKE); $(unstage)
  7576. @r=`${PWD_COMMAND}`; export r; \
  7577. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7578. $(HOST_EXPORTS) \
  7579. (cd $(HOST_SUBDIR)/fixincludes && \
  7580. $(MAKE) $(FLAGS_TO_PASS) install)
  7581. @endif fixincludes
  7582. .PHONY: install-strip-fixincludes maybe-install-strip-fixincludes
  7583. maybe-install-strip-fixincludes:
  7584. @if fixincludes
  7585. maybe-install-strip-fixincludes: install-strip-fixincludes
  7586. install-strip-fixincludes: installdirs
  7587. @: $(MAKE); $(unstage)
  7588. @r=`${PWD_COMMAND}`; export r; \
  7589. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7590. $(HOST_EXPORTS) \
  7591. (cd $(HOST_SUBDIR)/fixincludes && \
  7592. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  7593. @endif fixincludes
  7594. # Other targets (info, dvi, pdf, etc.)
  7595. .PHONY: maybe-info-fixincludes info-fixincludes
  7596. maybe-info-fixincludes:
  7597. @if fixincludes
  7598. maybe-info-fixincludes: info-fixincludes
  7599. info-fixincludes: \
  7600. configure-fixincludes
  7601. @[ -f ./fixincludes/Makefile ] || exit 0; \
  7602. r=`${PWD_COMMAND}`; export r; \
  7603. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7604. $(HOST_EXPORTS) \
  7605. for flag in $(EXTRA_HOST_FLAGS) ; do \
  7606. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  7607. done; \
  7608. echo "Doing info in fixincludes" ; \
  7609. (cd $(HOST_SUBDIR)/fixincludes && \
  7610. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  7611. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  7612. "RANLIB=$${RANLIB}" \
  7613. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  7614. info) \
  7615. || exit 1
  7616. @endif fixincludes
  7617. .PHONY: maybe-dvi-fixincludes dvi-fixincludes
  7618. maybe-dvi-fixincludes:
  7619. @if fixincludes
  7620. maybe-dvi-fixincludes: dvi-fixincludes
  7621. dvi-fixincludes: \
  7622. configure-fixincludes
  7623. @[ -f ./fixincludes/Makefile ] || exit 0; \
  7624. r=`${PWD_COMMAND}`; export r; \
  7625. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7626. $(HOST_EXPORTS) \
  7627. for flag in $(EXTRA_HOST_FLAGS) ; do \
  7628. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  7629. done; \
  7630. echo "Doing dvi in fixincludes" ; \
  7631. (cd $(HOST_SUBDIR)/fixincludes && \
  7632. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  7633. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  7634. "RANLIB=$${RANLIB}" \
  7635. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  7636. dvi) \
  7637. || exit 1
  7638. @endif fixincludes
  7639. .PHONY: maybe-pdf-fixincludes pdf-fixincludes
  7640. maybe-pdf-fixincludes:
  7641. @if fixincludes
  7642. maybe-pdf-fixincludes: pdf-fixincludes
  7643. pdf-fixincludes: \
  7644. configure-fixincludes
  7645. @[ -f ./fixincludes/Makefile ] || exit 0; \
  7646. r=`${PWD_COMMAND}`; export r; \
  7647. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7648. $(HOST_EXPORTS) \
  7649. for flag in $(EXTRA_HOST_FLAGS) ; do \
  7650. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  7651. done; \
  7652. echo "Doing pdf in fixincludes" ; \
  7653. (cd $(HOST_SUBDIR)/fixincludes && \
  7654. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  7655. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  7656. "RANLIB=$${RANLIB}" \
  7657. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  7658. pdf) \
  7659. || exit 1
  7660. @endif fixincludes
  7661. .PHONY: maybe-html-fixincludes html-fixincludes
  7662. maybe-html-fixincludes:
  7663. @if fixincludes
  7664. maybe-html-fixincludes: html-fixincludes
  7665. html-fixincludes: \
  7666. configure-fixincludes
  7667. @[ -f ./fixincludes/Makefile ] || exit 0; \
  7668. r=`${PWD_COMMAND}`; export r; \
  7669. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7670. $(HOST_EXPORTS) \
  7671. for flag in $(EXTRA_HOST_FLAGS) ; do \
  7672. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  7673. done; \
  7674. echo "Doing html in fixincludes" ; \
  7675. (cd $(HOST_SUBDIR)/fixincludes && \
  7676. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  7677. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  7678. "RANLIB=$${RANLIB}" \
  7679. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  7680. html) \
  7681. || exit 1
  7682. @endif fixincludes
  7683. .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
  7684. maybe-TAGS-fixincludes:
  7685. @if fixincludes
  7686. maybe-TAGS-fixincludes: TAGS-fixincludes
  7687. # fixincludes doesn't support TAGS.
  7688. TAGS-fixincludes:
  7689. @endif fixincludes
  7690. .PHONY: maybe-install-info-fixincludes install-info-fixincludes
  7691. maybe-install-info-fixincludes:
  7692. @if fixincludes
  7693. maybe-install-info-fixincludes: install-info-fixincludes
  7694. install-info-fixincludes: \
  7695. configure-fixincludes \
  7696. info-fixincludes
  7697. @[ -f ./fixincludes/Makefile ] || exit 0; \
  7698. r=`${PWD_COMMAND}`; export r; \
  7699. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7700. $(HOST_EXPORTS) \
  7701. for flag in $(EXTRA_HOST_FLAGS) ; do \
  7702. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  7703. done; \
  7704. echo "Doing install-info in fixincludes" ; \
  7705. (cd $(HOST_SUBDIR)/fixincludes && \
  7706. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  7707. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  7708. "RANLIB=$${RANLIB}" \
  7709. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  7710. install-info) \
  7711. || exit 1
  7712. @endif fixincludes
  7713. .PHONY: maybe-install-pdf-fixincludes install-pdf-fixincludes
  7714. maybe-install-pdf-fixincludes:
  7715. @if fixincludes
  7716. maybe-install-pdf-fixincludes: install-pdf-fixincludes
  7717. install-pdf-fixincludes: \
  7718. configure-fixincludes \
  7719. pdf-fixincludes
  7720. @[ -f ./fixincludes/Makefile ] || exit 0; \
  7721. r=`${PWD_COMMAND}`; export r; \
  7722. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7723. $(HOST_EXPORTS) \
  7724. for flag in $(EXTRA_HOST_FLAGS) ; do \
  7725. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  7726. done; \
  7727. echo "Doing install-pdf in fixincludes" ; \
  7728. (cd $(HOST_SUBDIR)/fixincludes && \
  7729. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  7730. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  7731. "RANLIB=$${RANLIB}" \
  7732. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  7733. install-pdf) \
  7734. || exit 1
  7735. @endif fixincludes
  7736. .PHONY: maybe-install-html-fixincludes install-html-fixincludes
  7737. maybe-install-html-fixincludes:
  7738. @if fixincludes
  7739. maybe-install-html-fixincludes: install-html-fixincludes
  7740. install-html-fixincludes: \
  7741. configure-fixincludes \
  7742. html-fixincludes
  7743. @[ -f ./fixincludes/Makefile ] || exit 0; \
  7744. r=`${PWD_COMMAND}`; export r; \
  7745. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7746. $(HOST_EXPORTS) \
  7747. for flag in $(EXTRA_HOST_FLAGS) ; do \
  7748. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  7749. done; \
  7750. echo "Doing install-html in fixincludes" ; \
  7751. (cd $(HOST_SUBDIR)/fixincludes && \
  7752. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  7753. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  7754. "RANLIB=$${RANLIB}" \
  7755. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  7756. install-html) \
  7757. || exit 1
  7758. @endif fixincludes
  7759. .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
  7760. maybe-installcheck-fixincludes:
  7761. @if fixincludes
  7762. maybe-installcheck-fixincludes: installcheck-fixincludes
  7763. installcheck-fixincludes: \
  7764. configure-fixincludes
  7765. @[ -f ./fixincludes/Makefile ] || exit 0; \
  7766. r=`${PWD_COMMAND}`; export r; \
  7767. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7768. $(HOST_EXPORTS) \
  7769. for flag in $(EXTRA_HOST_FLAGS) ; do \
  7770. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  7771. done; \
  7772. echo "Doing installcheck in fixincludes" ; \
  7773. (cd $(HOST_SUBDIR)/fixincludes && \
  7774. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  7775. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  7776. "RANLIB=$${RANLIB}" \
  7777. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  7778. installcheck) \
  7779. || exit 1
  7780. @endif fixincludes
  7781. .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
  7782. maybe-mostlyclean-fixincludes:
  7783. @if fixincludes
  7784. maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
  7785. mostlyclean-fixincludes:
  7786. @[ -f ./fixincludes/Makefile ] || exit 0; \
  7787. r=`${PWD_COMMAND}`; export r; \
  7788. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7789. $(HOST_EXPORTS) \
  7790. for flag in $(EXTRA_HOST_FLAGS) ; do \
  7791. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  7792. done; \
  7793. echo "Doing mostlyclean in fixincludes" ; \
  7794. (cd $(HOST_SUBDIR)/fixincludes && \
  7795. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  7796. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  7797. "RANLIB=$${RANLIB}" \
  7798. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  7799. mostlyclean) \
  7800. || exit 1
  7801. @endif fixincludes
  7802. .PHONY: maybe-clean-fixincludes clean-fixincludes
  7803. maybe-clean-fixincludes:
  7804. @if fixincludes
  7805. maybe-clean-fixincludes: clean-fixincludes
  7806. clean-fixincludes:
  7807. @[ -f ./fixincludes/Makefile ] || exit 0; \
  7808. r=`${PWD_COMMAND}`; export r; \
  7809. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7810. $(HOST_EXPORTS) \
  7811. for flag in $(EXTRA_HOST_FLAGS) ; do \
  7812. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  7813. done; \
  7814. echo "Doing clean in fixincludes" ; \
  7815. (cd $(HOST_SUBDIR)/fixincludes && \
  7816. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  7817. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  7818. "RANLIB=$${RANLIB}" \
  7819. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  7820. clean) \
  7821. || exit 1
  7822. @endif fixincludes
  7823. .PHONY: maybe-distclean-fixincludes distclean-fixincludes
  7824. maybe-distclean-fixincludes:
  7825. @if fixincludes
  7826. maybe-distclean-fixincludes: distclean-fixincludes
  7827. distclean-fixincludes:
  7828. @[ -f ./fixincludes/Makefile ] || exit 0; \
  7829. r=`${PWD_COMMAND}`; export r; \
  7830. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7831. $(HOST_EXPORTS) \
  7832. for flag in $(EXTRA_HOST_FLAGS) ; do \
  7833. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  7834. done; \
  7835. echo "Doing distclean in fixincludes" ; \
  7836. (cd $(HOST_SUBDIR)/fixincludes && \
  7837. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  7838. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  7839. "RANLIB=$${RANLIB}" \
  7840. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  7841. distclean) \
  7842. || exit 1
  7843. @endif fixincludes
  7844. .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
  7845. maybe-maintainer-clean-fixincludes:
  7846. @if fixincludes
  7847. maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
  7848. maintainer-clean-fixincludes:
  7849. @[ -f ./fixincludes/Makefile ] || exit 0; \
  7850. r=`${PWD_COMMAND}`; export r; \
  7851. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7852. $(HOST_EXPORTS) \
  7853. for flag in $(EXTRA_HOST_FLAGS) ; do \
  7854. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  7855. done; \
  7856. echo "Doing maintainer-clean in fixincludes" ; \
  7857. (cd $(HOST_SUBDIR)/fixincludes && \
  7858. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  7859. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  7860. "RANLIB=$${RANLIB}" \
  7861. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  7862. maintainer-clean) \
  7863. || exit 1
  7864. @endif fixincludes
  7865. .PHONY: configure-flex maybe-configure-flex
  7866. maybe-configure-flex:
  7867. @if gcc-bootstrap
  7868. configure-flex: stage_current
  7869. @endif gcc-bootstrap
  7870. @if flex
  7871. maybe-configure-flex: configure-flex
  7872. configure-flex:
  7873. @: $(MAKE); $(unstage)
  7874. @r=`${PWD_COMMAND}`; export r; \
  7875. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7876. test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
  7877. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
  7878. $(HOST_EXPORTS) \
  7879. echo Configuring in $(HOST_SUBDIR)/flex; \
  7880. cd "$(HOST_SUBDIR)/flex" || exit 1; \
  7881. case $(srcdir) in \
  7882. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  7883. *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
  7884. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  7885. esac; \
  7886. module_srcdir=flex; \
  7887. $(SHELL) \
  7888. $$s/$$module_srcdir/configure \
  7889. --srcdir=$${topdir}/$$module_srcdir \
  7890. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  7891. --target=${target_alias} \
  7892. || exit 1
  7893. @endif flex
  7894. .PHONY: all-flex maybe-all-flex
  7895. maybe-all-flex:
  7896. @if gcc-bootstrap
  7897. all-flex: stage_current
  7898. @endif gcc-bootstrap
  7899. @if flex
  7900. TARGET-flex=all
  7901. maybe-all-flex: all-flex
  7902. all-flex: configure-flex
  7903. @: $(MAKE); $(unstage)
  7904. @r=`${PWD_COMMAND}`; export r; \
  7905. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7906. $(HOST_EXPORTS) \
  7907. (cd $(HOST_SUBDIR)/flex && \
  7908. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  7909. $(TARGET-flex))
  7910. @endif flex
  7911. .PHONY: check-flex maybe-check-flex
  7912. maybe-check-flex:
  7913. @if flex
  7914. maybe-check-flex: check-flex
  7915. # This module is only tested in a native toolchain.
  7916. check-flex:
  7917. @: $(MAKE); $(unstage)
  7918. @if [ '$(host)' = '$(target)' ] ; then \
  7919. r=`${PWD_COMMAND}`; export r; \
  7920. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7921. $(HOST_EXPORTS) \
  7922. (cd $(HOST_SUBDIR)/flex && \
  7923. $(MAKE) $(FLAGS_TO_PASS) check); \
  7924. fi
  7925. @endif flex
  7926. .PHONY: install-flex maybe-install-flex
  7927. maybe-install-flex:
  7928. @if flex
  7929. maybe-install-flex: install-flex
  7930. install-flex: installdirs
  7931. @: $(MAKE); $(unstage)
  7932. @r=`${PWD_COMMAND}`; export r; \
  7933. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7934. $(HOST_EXPORTS) \
  7935. (cd $(HOST_SUBDIR)/flex && \
  7936. $(MAKE) $(FLAGS_TO_PASS) install)
  7937. @endif flex
  7938. .PHONY: install-strip-flex maybe-install-strip-flex
  7939. maybe-install-strip-flex:
  7940. @if flex
  7941. maybe-install-strip-flex: install-strip-flex
  7942. install-strip-flex: installdirs
  7943. @: $(MAKE); $(unstage)
  7944. @r=`${PWD_COMMAND}`; export r; \
  7945. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7946. $(HOST_EXPORTS) \
  7947. (cd $(HOST_SUBDIR)/flex && \
  7948. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  7949. @endif flex
  7950. # Other targets (info, dvi, pdf, etc.)
  7951. .PHONY: maybe-info-flex info-flex
  7952. maybe-info-flex:
  7953. @if flex
  7954. maybe-info-flex: info-flex
  7955. info-flex: \
  7956. configure-flex
  7957. @: $(MAKE); $(unstage)
  7958. @[ -f ./flex/Makefile ] || exit 0; \
  7959. r=`${PWD_COMMAND}`; export r; \
  7960. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7961. $(HOST_EXPORTS) \
  7962. for flag in $(EXTRA_HOST_FLAGS) ; do \
  7963. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  7964. done; \
  7965. echo "Doing info in flex" ; \
  7966. (cd $(HOST_SUBDIR)/flex && \
  7967. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  7968. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  7969. "RANLIB=$${RANLIB}" \
  7970. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  7971. info) \
  7972. || exit 1
  7973. @endif flex
  7974. .PHONY: maybe-dvi-flex dvi-flex
  7975. maybe-dvi-flex:
  7976. @if flex
  7977. maybe-dvi-flex: dvi-flex
  7978. dvi-flex: \
  7979. configure-flex
  7980. @: $(MAKE); $(unstage)
  7981. @[ -f ./flex/Makefile ] || exit 0; \
  7982. r=`${PWD_COMMAND}`; export r; \
  7983. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  7984. $(HOST_EXPORTS) \
  7985. for flag in $(EXTRA_HOST_FLAGS) ; do \
  7986. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  7987. done; \
  7988. echo "Doing dvi in flex" ; \
  7989. (cd $(HOST_SUBDIR)/flex && \
  7990. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  7991. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  7992. "RANLIB=$${RANLIB}" \
  7993. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  7994. dvi) \
  7995. || exit 1
  7996. @endif flex
  7997. .PHONY: maybe-pdf-flex pdf-flex
  7998. maybe-pdf-flex:
  7999. @if flex
  8000. maybe-pdf-flex: pdf-flex
  8001. pdf-flex: \
  8002. configure-flex
  8003. @: $(MAKE); $(unstage)
  8004. @[ -f ./flex/Makefile ] || exit 0; \
  8005. r=`${PWD_COMMAND}`; export r; \
  8006. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8007. $(HOST_EXPORTS) \
  8008. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8009. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8010. done; \
  8011. echo "Doing pdf in flex" ; \
  8012. (cd $(HOST_SUBDIR)/flex && \
  8013. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8014. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8015. "RANLIB=$${RANLIB}" \
  8016. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8017. pdf) \
  8018. || exit 1
  8019. @endif flex
  8020. .PHONY: maybe-html-flex html-flex
  8021. maybe-html-flex:
  8022. @if flex
  8023. maybe-html-flex: html-flex
  8024. html-flex: \
  8025. configure-flex
  8026. @: $(MAKE); $(unstage)
  8027. @[ -f ./flex/Makefile ] || exit 0; \
  8028. r=`${PWD_COMMAND}`; export r; \
  8029. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8030. $(HOST_EXPORTS) \
  8031. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8032. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8033. done; \
  8034. echo "Doing html in flex" ; \
  8035. (cd $(HOST_SUBDIR)/flex && \
  8036. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8037. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8038. "RANLIB=$${RANLIB}" \
  8039. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8040. html) \
  8041. || exit 1
  8042. @endif flex
  8043. .PHONY: maybe-TAGS-flex TAGS-flex
  8044. maybe-TAGS-flex:
  8045. @if flex
  8046. maybe-TAGS-flex: TAGS-flex
  8047. TAGS-flex: \
  8048. configure-flex
  8049. @: $(MAKE); $(unstage)
  8050. @[ -f ./flex/Makefile ] || exit 0; \
  8051. r=`${PWD_COMMAND}`; export r; \
  8052. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8053. $(HOST_EXPORTS) \
  8054. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8055. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8056. done; \
  8057. echo "Doing TAGS in flex" ; \
  8058. (cd $(HOST_SUBDIR)/flex && \
  8059. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8060. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8061. "RANLIB=$${RANLIB}" \
  8062. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8063. TAGS) \
  8064. || exit 1
  8065. @endif flex
  8066. .PHONY: maybe-install-info-flex install-info-flex
  8067. maybe-install-info-flex:
  8068. @if flex
  8069. maybe-install-info-flex: install-info-flex
  8070. install-info-flex: \
  8071. configure-flex \
  8072. info-flex
  8073. @: $(MAKE); $(unstage)
  8074. @[ -f ./flex/Makefile ] || exit 0; \
  8075. r=`${PWD_COMMAND}`; export r; \
  8076. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8077. $(HOST_EXPORTS) \
  8078. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8079. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8080. done; \
  8081. echo "Doing install-info in flex" ; \
  8082. (cd $(HOST_SUBDIR)/flex && \
  8083. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8084. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8085. "RANLIB=$${RANLIB}" \
  8086. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8087. install-info) \
  8088. || exit 1
  8089. @endif flex
  8090. .PHONY: maybe-install-pdf-flex install-pdf-flex
  8091. maybe-install-pdf-flex:
  8092. @if flex
  8093. maybe-install-pdf-flex: install-pdf-flex
  8094. install-pdf-flex: \
  8095. configure-flex \
  8096. pdf-flex
  8097. @: $(MAKE); $(unstage)
  8098. @[ -f ./flex/Makefile ] || exit 0; \
  8099. r=`${PWD_COMMAND}`; export r; \
  8100. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8101. $(HOST_EXPORTS) \
  8102. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8103. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8104. done; \
  8105. echo "Doing install-pdf in flex" ; \
  8106. (cd $(HOST_SUBDIR)/flex && \
  8107. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8108. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8109. "RANLIB=$${RANLIB}" \
  8110. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8111. install-pdf) \
  8112. || exit 1
  8113. @endif flex
  8114. .PHONY: maybe-install-html-flex install-html-flex
  8115. maybe-install-html-flex:
  8116. @if flex
  8117. maybe-install-html-flex: install-html-flex
  8118. install-html-flex: \
  8119. configure-flex \
  8120. html-flex
  8121. @: $(MAKE); $(unstage)
  8122. @[ -f ./flex/Makefile ] || exit 0; \
  8123. r=`${PWD_COMMAND}`; export r; \
  8124. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8125. $(HOST_EXPORTS) \
  8126. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8127. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8128. done; \
  8129. echo "Doing install-html in flex" ; \
  8130. (cd $(HOST_SUBDIR)/flex && \
  8131. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8132. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8133. "RANLIB=$${RANLIB}" \
  8134. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8135. install-html) \
  8136. || exit 1
  8137. @endif flex
  8138. .PHONY: maybe-installcheck-flex installcheck-flex
  8139. maybe-installcheck-flex:
  8140. @if flex
  8141. maybe-installcheck-flex: installcheck-flex
  8142. installcheck-flex: \
  8143. configure-flex
  8144. @: $(MAKE); $(unstage)
  8145. @[ -f ./flex/Makefile ] || exit 0; \
  8146. r=`${PWD_COMMAND}`; export r; \
  8147. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8148. $(HOST_EXPORTS) \
  8149. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8150. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8151. done; \
  8152. echo "Doing installcheck in flex" ; \
  8153. (cd $(HOST_SUBDIR)/flex && \
  8154. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8155. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8156. "RANLIB=$${RANLIB}" \
  8157. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8158. installcheck) \
  8159. || exit 1
  8160. @endif flex
  8161. .PHONY: maybe-mostlyclean-flex mostlyclean-flex
  8162. maybe-mostlyclean-flex:
  8163. @if flex
  8164. maybe-mostlyclean-flex: mostlyclean-flex
  8165. mostlyclean-flex:
  8166. @: $(MAKE); $(unstage)
  8167. @[ -f ./flex/Makefile ] || exit 0; \
  8168. r=`${PWD_COMMAND}`; export r; \
  8169. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8170. $(HOST_EXPORTS) \
  8171. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8172. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8173. done; \
  8174. echo "Doing mostlyclean in flex" ; \
  8175. (cd $(HOST_SUBDIR)/flex && \
  8176. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8177. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8178. "RANLIB=$${RANLIB}" \
  8179. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8180. mostlyclean) \
  8181. || exit 1
  8182. @endif flex
  8183. .PHONY: maybe-clean-flex clean-flex
  8184. maybe-clean-flex:
  8185. @if flex
  8186. maybe-clean-flex: clean-flex
  8187. clean-flex:
  8188. @: $(MAKE); $(unstage)
  8189. @[ -f ./flex/Makefile ] || exit 0; \
  8190. r=`${PWD_COMMAND}`; export r; \
  8191. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8192. $(HOST_EXPORTS) \
  8193. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8194. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8195. done; \
  8196. echo "Doing clean in flex" ; \
  8197. (cd $(HOST_SUBDIR)/flex && \
  8198. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8199. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8200. "RANLIB=$${RANLIB}" \
  8201. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8202. clean) \
  8203. || exit 1
  8204. @endif flex
  8205. .PHONY: maybe-distclean-flex distclean-flex
  8206. maybe-distclean-flex:
  8207. @if flex
  8208. maybe-distclean-flex: distclean-flex
  8209. distclean-flex:
  8210. @: $(MAKE); $(unstage)
  8211. @[ -f ./flex/Makefile ] || exit 0; \
  8212. r=`${PWD_COMMAND}`; export r; \
  8213. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8214. $(HOST_EXPORTS) \
  8215. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8216. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8217. done; \
  8218. echo "Doing distclean in flex" ; \
  8219. (cd $(HOST_SUBDIR)/flex && \
  8220. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8221. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8222. "RANLIB=$${RANLIB}" \
  8223. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8224. distclean) \
  8225. || exit 1
  8226. @endif flex
  8227. .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
  8228. maybe-maintainer-clean-flex:
  8229. @if flex
  8230. maybe-maintainer-clean-flex: maintainer-clean-flex
  8231. maintainer-clean-flex:
  8232. @: $(MAKE); $(unstage)
  8233. @[ -f ./flex/Makefile ] || exit 0; \
  8234. r=`${PWD_COMMAND}`; export r; \
  8235. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8236. $(HOST_EXPORTS) \
  8237. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8238. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8239. done; \
  8240. echo "Doing maintainer-clean in flex" ; \
  8241. (cd $(HOST_SUBDIR)/flex && \
  8242. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8243. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8244. "RANLIB=$${RANLIB}" \
  8245. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8246. maintainer-clean) \
  8247. || exit 1
  8248. @endif flex
  8249. .PHONY: configure-gas maybe-configure-gas
  8250. maybe-configure-gas:
  8251. @if gcc-bootstrap
  8252. configure-gas: stage_current
  8253. @endif gcc-bootstrap
  8254. @if gas
  8255. maybe-configure-gas: configure-gas
  8256. configure-gas:
  8257. @r=`${PWD_COMMAND}`; export r; \
  8258. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8259. test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
  8260. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
  8261. $(HOST_EXPORTS) \
  8262. echo Configuring in $(HOST_SUBDIR)/gas; \
  8263. cd "$(HOST_SUBDIR)/gas" || exit 1; \
  8264. case $(srcdir) in \
  8265. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  8266. *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
  8267. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  8268. esac; \
  8269. module_srcdir=gas; \
  8270. $(SHELL) \
  8271. $$s/$$module_srcdir/configure \
  8272. --srcdir=$${topdir}/$$module_srcdir \
  8273. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  8274. --target=${target_alias} \
  8275. || exit 1
  8276. @endif gas
  8277. .PHONY: configure-stage1-gas maybe-configure-stage1-gas
  8278. maybe-configure-stage1-gas:
  8279. @if gas-bootstrap
  8280. maybe-configure-stage1-gas: configure-stage1-gas
  8281. configure-stage1-gas:
  8282. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  8283. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
  8284. @r=`${PWD_COMMAND}`; export r; \
  8285. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8286. TFLAGS="$(STAGE1_TFLAGS)"; \
  8287. test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
  8288. $(HOST_EXPORTS) \
  8289. CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
  8290. CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
  8291. LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
  8292. echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
  8293. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
  8294. cd $(HOST_SUBDIR)/gas || exit 1; \
  8295. case $(srcdir) in \
  8296. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  8297. *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
  8298. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  8299. esac; \
  8300. module_srcdir=gas; \
  8301. $(SHELL) $$s/$$module_srcdir/configure \
  8302. --srcdir=$${topdir}/$$module_srcdir \
  8303. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  8304. --target=${target_alias} \
  8305. \
  8306. $(STAGE1_CONFIGURE_FLAGS)
  8307. @endif gas-bootstrap
  8308. .PHONY: configure-stage2-gas maybe-configure-stage2-gas
  8309. maybe-configure-stage2-gas:
  8310. @if gas-bootstrap
  8311. maybe-configure-stage2-gas: configure-stage2-gas
  8312. configure-stage2-gas:
  8313. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  8314. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
  8315. @r=`${PWD_COMMAND}`; export r; \
  8316. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8317. TFLAGS="$(STAGE2_TFLAGS)"; \
  8318. test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
  8319. $(HOST_EXPORTS) \
  8320. $(POSTSTAGE1_HOST_EXPORTS) \
  8321. CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
  8322. CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
  8323. LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
  8324. echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
  8325. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
  8326. cd $(HOST_SUBDIR)/gas || exit 1; \
  8327. case $(srcdir) in \
  8328. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  8329. *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
  8330. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  8331. esac; \
  8332. module_srcdir=gas; \
  8333. $(SHELL) $$s/$$module_srcdir/configure \
  8334. --srcdir=$${topdir}/$$module_srcdir \
  8335. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  8336. --target=${target_alias} \
  8337. --with-build-libsubdir=$(HOST_SUBDIR) \
  8338. $(STAGE2_CONFIGURE_FLAGS)
  8339. @endif gas-bootstrap
  8340. .PHONY: configure-stage3-gas maybe-configure-stage3-gas
  8341. maybe-configure-stage3-gas:
  8342. @if gas-bootstrap
  8343. maybe-configure-stage3-gas: configure-stage3-gas
  8344. configure-stage3-gas:
  8345. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  8346. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
  8347. @r=`${PWD_COMMAND}`; export r; \
  8348. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8349. TFLAGS="$(STAGE3_TFLAGS)"; \
  8350. test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
  8351. $(HOST_EXPORTS) \
  8352. $(POSTSTAGE1_HOST_EXPORTS) \
  8353. CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
  8354. CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
  8355. LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
  8356. echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
  8357. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
  8358. cd $(HOST_SUBDIR)/gas || exit 1; \
  8359. case $(srcdir) in \
  8360. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  8361. *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
  8362. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  8363. esac; \
  8364. module_srcdir=gas; \
  8365. $(SHELL) $$s/$$module_srcdir/configure \
  8366. --srcdir=$${topdir}/$$module_srcdir \
  8367. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  8368. --target=${target_alias} \
  8369. --with-build-libsubdir=$(HOST_SUBDIR) \
  8370. $(STAGE3_CONFIGURE_FLAGS)
  8371. @endif gas-bootstrap
  8372. .PHONY: configure-stage4-gas maybe-configure-stage4-gas
  8373. maybe-configure-stage4-gas:
  8374. @if gas-bootstrap
  8375. maybe-configure-stage4-gas: configure-stage4-gas
  8376. configure-stage4-gas:
  8377. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  8378. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
  8379. @r=`${PWD_COMMAND}`; export r; \
  8380. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8381. TFLAGS="$(STAGE4_TFLAGS)"; \
  8382. test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
  8383. $(HOST_EXPORTS) \
  8384. $(POSTSTAGE1_HOST_EXPORTS) \
  8385. CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
  8386. CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
  8387. LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
  8388. echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
  8389. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
  8390. cd $(HOST_SUBDIR)/gas || exit 1; \
  8391. case $(srcdir) in \
  8392. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  8393. *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
  8394. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  8395. esac; \
  8396. module_srcdir=gas; \
  8397. $(SHELL) $$s/$$module_srcdir/configure \
  8398. --srcdir=$${topdir}/$$module_srcdir \
  8399. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  8400. --target=${target_alias} \
  8401. --with-build-libsubdir=$(HOST_SUBDIR) \
  8402. $(STAGE4_CONFIGURE_FLAGS)
  8403. @endif gas-bootstrap
  8404. .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
  8405. maybe-configure-stageprofile-gas:
  8406. @if gas-bootstrap
  8407. maybe-configure-stageprofile-gas: configure-stageprofile-gas
  8408. configure-stageprofile-gas:
  8409. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  8410. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
  8411. @r=`${PWD_COMMAND}`; export r; \
  8412. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8413. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  8414. test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
  8415. $(HOST_EXPORTS) \
  8416. $(POSTSTAGE1_HOST_EXPORTS) \
  8417. CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
  8418. CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
  8419. LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
  8420. echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
  8421. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
  8422. cd $(HOST_SUBDIR)/gas || exit 1; \
  8423. case $(srcdir) in \
  8424. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  8425. *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
  8426. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  8427. esac; \
  8428. module_srcdir=gas; \
  8429. $(SHELL) $$s/$$module_srcdir/configure \
  8430. --srcdir=$${topdir}/$$module_srcdir \
  8431. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  8432. --target=${target_alias} \
  8433. --with-build-libsubdir=$(HOST_SUBDIR) \
  8434. $(STAGEprofile_CONFIGURE_FLAGS)
  8435. @endif gas-bootstrap
  8436. .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
  8437. maybe-configure-stagefeedback-gas:
  8438. @if gas-bootstrap
  8439. maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
  8440. configure-stagefeedback-gas:
  8441. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  8442. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas
  8443. @r=`${PWD_COMMAND}`; export r; \
  8444. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8445. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  8446. test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
  8447. $(HOST_EXPORTS) \
  8448. $(POSTSTAGE1_HOST_EXPORTS) \
  8449. CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
  8450. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
  8451. LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
  8452. echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
  8453. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
  8454. cd $(HOST_SUBDIR)/gas || exit 1; \
  8455. case $(srcdir) in \
  8456. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  8457. *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
  8458. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  8459. esac; \
  8460. module_srcdir=gas; \
  8461. $(SHELL) $$s/$$module_srcdir/configure \
  8462. --srcdir=$${topdir}/$$module_srcdir \
  8463. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  8464. --target=${target_alias} \
  8465. --with-build-libsubdir=$(HOST_SUBDIR) \
  8466. $(STAGEfeedback_CONFIGURE_FLAGS)
  8467. @endif gas-bootstrap
  8468. .PHONY: all-gas maybe-all-gas
  8469. maybe-all-gas:
  8470. @if gcc-bootstrap
  8471. all-gas: stage_current
  8472. @endif gcc-bootstrap
  8473. @if gas
  8474. TARGET-gas=all
  8475. maybe-all-gas: all-gas
  8476. all-gas: configure-gas
  8477. @r=`${PWD_COMMAND}`; export r; \
  8478. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8479. $(HOST_EXPORTS) \
  8480. (cd $(HOST_SUBDIR)/gas && \
  8481. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  8482. $(TARGET-gas))
  8483. @endif gas
  8484. .PHONY: all-stage1-gas maybe-all-stage1-gas
  8485. .PHONY: clean-stage1-gas maybe-clean-stage1-gas
  8486. maybe-all-stage1-gas:
  8487. maybe-clean-stage1-gas:
  8488. @if gas-bootstrap
  8489. maybe-all-stage1-gas: all-stage1-gas
  8490. all-stage1: all-stage1-gas
  8491. TARGET-stage1-gas = $(TARGET-gas)
  8492. all-stage1-gas: configure-stage1-gas
  8493. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  8494. @r=`${PWD_COMMAND}`; export r; \
  8495. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8496. TFLAGS="$(STAGE1_TFLAGS)"; \
  8497. $(HOST_EXPORTS) \
  8498. cd $(HOST_SUBDIR)/gas && \
  8499. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  8500. CFLAGS="$(STAGE1_CFLAGS)" \
  8501. CXXFLAGS="$(STAGE1_CXXFLAGS)" \
  8502. LIBCFLAGS="$(LIBCFLAGS)" \
  8503. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  8504. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  8505. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  8506. $(EXTRA_HOST_FLAGS) \
  8507. $(STAGE1_FLAGS_TO_PASS) \
  8508. TFLAGS="$(STAGE1_TFLAGS)" \
  8509. $(TARGET-stage1-gas)
  8510. maybe-clean-stage1-gas: clean-stage1-gas
  8511. clean-stage1: clean-stage1-gas
  8512. clean-stage1-gas:
  8513. @if [ $(current_stage) = stage1 ]; then \
  8514. [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
  8515. else \
  8516. [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] || exit 0; \
  8517. $(MAKE) stage1-start; \
  8518. fi; \
  8519. cd $(HOST_SUBDIR)/gas && \
  8520. $(MAKE) $(EXTRA_HOST_FLAGS) \
  8521. $(STAGE1_FLAGS_TO_PASS) clean
  8522. @endif gas-bootstrap
  8523. .PHONY: all-stage2-gas maybe-all-stage2-gas
  8524. .PHONY: clean-stage2-gas maybe-clean-stage2-gas
  8525. maybe-all-stage2-gas:
  8526. maybe-clean-stage2-gas:
  8527. @if gas-bootstrap
  8528. maybe-all-stage2-gas: all-stage2-gas
  8529. all-stage2: all-stage2-gas
  8530. TARGET-stage2-gas = $(TARGET-gas)
  8531. all-stage2-gas: configure-stage2-gas
  8532. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  8533. @r=`${PWD_COMMAND}`; export r; \
  8534. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8535. TFLAGS="$(STAGE2_TFLAGS)"; \
  8536. $(HOST_EXPORTS) \
  8537. $(POSTSTAGE1_HOST_EXPORTS) \
  8538. cd $(HOST_SUBDIR)/gas && \
  8539. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  8540. CFLAGS="$(STAGE2_CFLAGS)" \
  8541. CXXFLAGS="$(STAGE2_CXXFLAGS)" \
  8542. LIBCFLAGS="$(STAGE2_CFLAGS)" \
  8543. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  8544. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  8545. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  8546. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  8547. TFLAGS="$(STAGE2_TFLAGS)" \
  8548. $(TARGET-stage2-gas)
  8549. maybe-clean-stage2-gas: clean-stage2-gas
  8550. clean-stage2: clean-stage2-gas
  8551. clean-stage2-gas:
  8552. @if [ $(current_stage) = stage2 ]; then \
  8553. [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
  8554. else \
  8555. [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] || exit 0; \
  8556. $(MAKE) stage2-start; \
  8557. fi; \
  8558. cd $(HOST_SUBDIR)/gas && \
  8559. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  8560. @endif gas-bootstrap
  8561. .PHONY: all-stage3-gas maybe-all-stage3-gas
  8562. .PHONY: clean-stage3-gas maybe-clean-stage3-gas
  8563. maybe-all-stage3-gas:
  8564. maybe-clean-stage3-gas:
  8565. @if gas-bootstrap
  8566. maybe-all-stage3-gas: all-stage3-gas
  8567. all-stage3: all-stage3-gas
  8568. TARGET-stage3-gas = $(TARGET-gas)
  8569. all-stage3-gas: configure-stage3-gas
  8570. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  8571. @r=`${PWD_COMMAND}`; export r; \
  8572. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8573. TFLAGS="$(STAGE3_TFLAGS)"; \
  8574. $(HOST_EXPORTS) \
  8575. $(POSTSTAGE1_HOST_EXPORTS) \
  8576. cd $(HOST_SUBDIR)/gas && \
  8577. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  8578. CFLAGS="$(STAGE3_CFLAGS)" \
  8579. CXXFLAGS="$(STAGE3_CXXFLAGS)" \
  8580. LIBCFLAGS="$(STAGE3_CFLAGS)" \
  8581. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  8582. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  8583. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  8584. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  8585. TFLAGS="$(STAGE3_TFLAGS)" \
  8586. $(TARGET-stage3-gas)
  8587. maybe-clean-stage3-gas: clean-stage3-gas
  8588. clean-stage3: clean-stage3-gas
  8589. clean-stage3-gas:
  8590. @if [ $(current_stage) = stage3 ]; then \
  8591. [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
  8592. else \
  8593. [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] || exit 0; \
  8594. $(MAKE) stage3-start; \
  8595. fi; \
  8596. cd $(HOST_SUBDIR)/gas && \
  8597. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  8598. @endif gas-bootstrap
  8599. .PHONY: all-stage4-gas maybe-all-stage4-gas
  8600. .PHONY: clean-stage4-gas maybe-clean-stage4-gas
  8601. maybe-all-stage4-gas:
  8602. maybe-clean-stage4-gas:
  8603. @if gas-bootstrap
  8604. maybe-all-stage4-gas: all-stage4-gas
  8605. all-stage4: all-stage4-gas
  8606. TARGET-stage4-gas = $(TARGET-gas)
  8607. all-stage4-gas: configure-stage4-gas
  8608. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  8609. @r=`${PWD_COMMAND}`; export r; \
  8610. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8611. TFLAGS="$(STAGE4_TFLAGS)"; \
  8612. $(HOST_EXPORTS) \
  8613. $(POSTSTAGE1_HOST_EXPORTS) \
  8614. cd $(HOST_SUBDIR)/gas && \
  8615. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  8616. CFLAGS="$(STAGE4_CFLAGS)" \
  8617. CXXFLAGS="$(STAGE4_CXXFLAGS)" \
  8618. LIBCFLAGS="$(STAGE4_CFLAGS)" \
  8619. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  8620. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  8621. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  8622. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  8623. TFLAGS="$(STAGE4_TFLAGS)" \
  8624. $(TARGET-stage4-gas)
  8625. maybe-clean-stage4-gas: clean-stage4-gas
  8626. clean-stage4: clean-stage4-gas
  8627. clean-stage4-gas:
  8628. @if [ $(current_stage) = stage4 ]; then \
  8629. [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
  8630. else \
  8631. [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] || exit 0; \
  8632. $(MAKE) stage4-start; \
  8633. fi; \
  8634. cd $(HOST_SUBDIR)/gas && \
  8635. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  8636. @endif gas-bootstrap
  8637. .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
  8638. .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
  8639. maybe-all-stageprofile-gas:
  8640. maybe-clean-stageprofile-gas:
  8641. @if gas-bootstrap
  8642. maybe-all-stageprofile-gas: all-stageprofile-gas
  8643. all-stageprofile: all-stageprofile-gas
  8644. TARGET-stageprofile-gas = $(TARGET-gas)
  8645. all-stageprofile-gas: configure-stageprofile-gas
  8646. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  8647. @r=`${PWD_COMMAND}`; export r; \
  8648. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8649. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  8650. $(HOST_EXPORTS) \
  8651. $(POSTSTAGE1_HOST_EXPORTS) \
  8652. cd $(HOST_SUBDIR)/gas && \
  8653. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  8654. CFLAGS="$(STAGEprofile_CFLAGS)" \
  8655. CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
  8656. LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
  8657. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  8658. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  8659. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  8660. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  8661. TFLAGS="$(STAGEprofile_TFLAGS)" \
  8662. $(TARGET-stageprofile-gas)
  8663. maybe-clean-stageprofile-gas: clean-stageprofile-gas
  8664. clean-stageprofile: clean-stageprofile-gas
  8665. clean-stageprofile-gas:
  8666. @if [ $(current_stage) = stageprofile ]; then \
  8667. [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
  8668. else \
  8669. [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] || exit 0; \
  8670. $(MAKE) stageprofile-start; \
  8671. fi; \
  8672. cd $(HOST_SUBDIR)/gas && \
  8673. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  8674. @endif gas-bootstrap
  8675. .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
  8676. .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
  8677. maybe-all-stagefeedback-gas:
  8678. maybe-clean-stagefeedback-gas:
  8679. @if gas-bootstrap
  8680. maybe-all-stagefeedback-gas: all-stagefeedback-gas
  8681. all-stagefeedback: all-stagefeedback-gas
  8682. TARGET-stagefeedback-gas = $(TARGET-gas)
  8683. all-stagefeedback-gas: configure-stagefeedback-gas
  8684. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  8685. @r=`${PWD_COMMAND}`; export r; \
  8686. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8687. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  8688. $(HOST_EXPORTS) \
  8689. $(POSTSTAGE1_HOST_EXPORTS) \
  8690. cd $(HOST_SUBDIR)/gas && \
  8691. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  8692. CFLAGS="$(STAGEfeedback_CFLAGS)" \
  8693. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
  8694. LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
  8695. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  8696. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  8697. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  8698. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  8699. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  8700. $(TARGET-stagefeedback-gas)
  8701. maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
  8702. clean-stagefeedback: clean-stagefeedback-gas
  8703. clean-stagefeedback-gas:
  8704. @if [ $(current_stage) = stagefeedback ]; then \
  8705. [ -f $(HOST_SUBDIR)/gas/Makefile ] || exit 0; \
  8706. else \
  8707. [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] || exit 0; \
  8708. $(MAKE) stagefeedback-start; \
  8709. fi; \
  8710. cd $(HOST_SUBDIR)/gas && \
  8711. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  8712. @endif gas-bootstrap
  8713. .PHONY: check-gas maybe-check-gas
  8714. maybe-check-gas:
  8715. @if gas
  8716. maybe-check-gas: check-gas
  8717. check-gas:
  8718. @: $(MAKE); $(unstage)
  8719. @r=`${PWD_COMMAND}`; export r; \
  8720. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8721. $(HOST_EXPORTS) \
  8722. (cd $(HOST_SUBDIR)/gas && \
  8723. $(MAKE) $(FLAGS_TO_PASS) check)
  8724. @endif gas
  8725. .PHONY: install-gas maybe-install-gas
  8726. maybe-install-gas:
  8727. @if gas
  8728. maybe-install-gas: install-gas
  8729. install-gas: installdirs
  8730. @: $(MAKE); $(unstage)
  8731. @r=`${PWD_COMMAND}`; export r; \
  8732. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8733. $(HOST_EXPORTS) \
  8734. (cd $(HOST_SUBDIR)/gas && \
  8735. $(MAKE) $(FLAGS_TO_PASS) install)
  8736. @endif gas
  8737. .PHONY: install-strip-gas maybe-install-strip-gas
  8738. maybe-install-strip-gas:
  8739. @if gas
  8740. maybe-install-strip-gas: install-strip-gas
  8741. install-strip-gas: installdirs
  8742. @: $(MAKE); $(unstage)
  8743. @r=`${PWD_COMMAND}`; export r; \
  8744. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8745. $(HOST_EXPORTS) \
  8746. (cd $(HOST_SUBDIR)/gas && \
  8747. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  8748. @endif gas
  8749. # Other targets (info, dvi, pdf, etc.)
  8750. .PHONY: maybe-info-gas info-gas
  8751. maybe-info-gas:
  8752. @if gas
  8753. maybe-info-gas: info-gas
  8754. info-gas: \
  8755. configure-gas
  8756. @[ -f ./gas/Makefile ] || exit 0; \
  8757. r=`${PWD_COMMAND}`; export r; \
  8758. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8759. $(HOST_EXPORTS) \
  8760. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8761. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8762. done; \
  8763. echo "Doing info in gas" ; \
  8764. (cd $(HOST_SUBDIR)/gas && \
  8765. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8766. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8767. "RANLIB=$${RANLIB}" \
  8768. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8769. info) \
  8770. || exit 1
  8771. @endif gas
  8772. .PHONY: maybe-dvi-gas dvi-gas
  8773. maybe-dvi-gas:
  8774. @if gas
  8775. maybe-dvi-gas: dvi-gas
  8776. dvi-gas: \
  8777. configure-gas
  8778. @[ -f ./gas/Makefile ] || exit 0; \
  8779. r=`${PWD_COMMAND}`; export r; \
  8780. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8781. $(HOST_EXPORTS) \
  8782. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8783. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8784. done; \
  8785. echo "Doing dvi in gas" ; \
  8786. (cd $(HOST_SUBDIR)/gas && \
  8787. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8788. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8789. "RANLIB=$${RANLIB}" \
  8790. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8791. dvi) \
  8792. || exit 1
  8793. @endif gas
  8794. .PHONY: maybe-pdf-gas pdf-gas
  8795. maybe-pdf-gas:
  8796. @if gas
  8797. maybe-pdf-gas: pdf-gas
  8798. pdf-gas: \
  8799. configure-gas
  8800. @[ -f ./gas/Makefile ] || exit 0; \
  8801. r=`${PWD_COMMAND}`; export r; \
  8802. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8803. $(HOST_EXPORTS) \
  8804. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8805. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8806. done; \
  8807. echo "Doing pdf in gas" ; \
  8808. (cd $(HOST_SUBDIR)/gas && \
  8809. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8810. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8811. "RANLIB=$${RANLIB}" \
  8812. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8813. pdf) \
  8814. || exit 1
  8815. @endif gas
  8816. .PHONY: maybe-html-gas html-gas
  8817. maybe-html-gas:
  8818. @if gas
  8819. maybe-html-gas: html-gas
  8820. html-gas: \
  8821. configure-gas
  8822. @[ -f ./gas/Makefile ] || exit 0; \
  8823. r=`${PWD_COMMAND}`; export r; \
  8824. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8825. $(HOST_EXPORTS) \
  8826. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8827. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8828. done; \
  8829. echo "Doing html in gas" ; \
  8830. (cd $(HOST_SUBDIR)/gas && \
  8831. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8832. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8833. "RANLIB=$${RANLIB}" \
  8834. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8835. html) \
  8836. || exit 1
  8837. @endif gas
  8838. .PHONY: maybe-TAGS-gas TAGS-gas
  8839. maybe-TAGS-gas:
  8840. @if gas
  8841. maybe-TAGS-gas: TAGS-gas
  8842. TAGS-gas: \
  8843. configure-gas
  8844. @[ -f ./gas/Makefile ] || exit 0; \
  8845. r=`${PWD_COMMAND}`; export r; \
  8846. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8847. $(HOST_EXPORTS) \
  8848. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8849. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8850. done; \
  8851. echo "Doing TAGS in gas" ; \
  8852. (cd $(HOST_SUBDIR)/gas && \
  8853. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8854. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8855. "RANLIB=$${RANLIB}" \
  8856. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8857. TAGS) \
  8858. || exit 1
  8859. @endif gas
  8860. .PHONY: maybe-install-info-gas install-info-gas
  8861. maybe-install-info-gas:
  8862. @if gas
  8863. maybe-install-info-gas: install-info-gas
  8864. install-info-gas: \
  8865. configure-gas \
  8866. info-gas
  8867. @[ -f ./gas/Makefile ] || exit 0; \
  8868. r=`${PWD_COMMAND}`; export r; \
  8869. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8870. $(HOST_EXPORTS) \
  8871. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8872. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8873. done; \
  8874. echo "Doing install-info in gas" ; \
  8875. (cd $(HOST_SUBDIR)/gas && \
  8876. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8877. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8878. "RANLIB=$${RANLIB}" \
  8879. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8880. install-info) \
  8881. || exit 1
  8882. @endif gas
  8883. .PHONY: maybe-install-pdf-gas install-pdf-gas
  8884. maybe-install-pdf-gas:
  8885. @if gas
  8886. maybe-install-pdf-gas: install-pdf-gas
  8887. install-pdf-gas: \
  8888. configure-gas \
  8889. pdf-gas
  8890. @[ -f ./gas/Makefile ] || exit 0; \
  8891. r=`${PWD_COMMAND}`; export r; \
  8892. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8893. $(HOST_EXPORTS) \
  8894. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8895. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8896. done; \
  8897. echo "Doing install-pdf in gas" ; \
  8898. (cd $(HOST_SUBDIR)/gas && \
  8899. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8900. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8901. "RANLIB=$${RANLIB}" \
  8902. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8903. install-pdf) \
  8904. || exit 1
  8905. @endif gas
  8906. .PHONY: maybe-install-html-gas install-html-gas
  8907. maybe-install-html-gas:
  8908. @if gas
  8909. maybe-install-html-gas: install-html-gas
  8910. install-html-gas: \
  8911. configure-gas \
  8912. html-gas
  8913. @[ -f ./gas/Makefile ] || exit 0; \
  8914. r=`${PWD_COMMAND}`; export r; \
  8915. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8916. $(HOST_EXPORTS) \
  8917. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8918. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8919. done; \
  8920. echo "Doing install-html in gas" ; \
  8921. (cd $(HOST_SUBDIR)/gas && \
  8922. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8923. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8924. "RANLIB=$${RANLIB}" \
  8925. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8926. install-html) \
  8927. || exit 1
  8928. @endif gas
  8929. .PHONY: maybe-installcheck-gas installcheck-gas
  8930. maybe-installcheck-gas:
  8931. @if gas
  8932. maybe-installcheck-gas: installcheck-gas
  8933. installcheck-gas: \
  8934. configure-gas
  8935. @[ -f ./gas/Makefile ] || exit 0; \
  8936. r=`${PWD_COMMAND}`; export r; \
  8937. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8938. $(HOST_EXPORTS) \
  8939. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8940. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8941. done; \
  8942. echo "Doing installcheck in gas" ; \
  8943. (cd $(HOST_SUBDIR)/gas && \
  8944. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8945. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8946. "RANLIB=$${RANLIB}" \
  8947. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8948. installcheck) \
  8949. || exit 1
  8950. @endif gas
  8951. .PHONY: maybe-mostlyclean-gas mostlyclean-gas
  8952. maybe-mostlyclean-gas:
  8953. @if gas
  8954. maybe-mostlyclean-gas: mostlyclean-gas
  8955. mostlyclean-gas:
  8956. @[ -f ./gas/Makefile ] || exit 0; \
  8957. r=`${PWD_COMMAND}`; export r; \
  8958. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8959. $(HOST_EXPORTS) \
  8960. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8961. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8962. done; \
  8963. echo "Doing mostlyclean in gas" ; \
  8964. (cd $(HOST_SUBDIR)/gas && \
  8965. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8966. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8967. "RANLIB=$${RANLIB}" \
  8968. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8969. mostlyclean) \
  8970. || exit 1
  8971. @endif gas
  8972. .PHONY: maybe-clean-gas clean-gas
  8973. maybe-clean-gas:
  8974. @if gas
  8975. maybe-clean-gas: clean-gas
  8976. clean-gas:
  8977. @[ -f ./gas/Makefile ] || exit 0; \
  8978. r=`${PWD_COMMAND}`; export r; \
  8979. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  8980. $(HOST_EXPORTS) \
  8981. for flag in $(EXTRA_HOST_FLAGS) ; do \
  8982. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  8983. done; \
  8984. echo "Doing clean in gas" ; \
  8985. (cd $(HOST_SUBDIR)/gas && \
  8986. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  8987. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  8988. "RANLIB=$${RANLIB}" \
  8989. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  8990. clean) \
  8991. || exit 1
  8992. @endif gas
  8993. .PHONY: maybe-distclean-gas distclean-gas
  8994. maybe-distclean-gas:
  8995. @if gas
  8996. maybe-distclean-gas: distclean-gas
  8997. distclean-gas:
  8998. @[ -f ./gas/Makefile ] || exit 0; \
  8999. r=`${PWD_COMMAND}`; export r; \
  9000. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9001. $(HOST_EXPORTS) \
  9002. for flag in $(EXTRA_HOST_FLAGS) ; do \
  9003. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  9004. done; \
  9005. echo "Doing distclean in gas" ; \
  9006. (cd $(HOST_SUBDIR)/gas && \
  9007. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  9008. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  9009. "RANLIB=$${RANLIB}" \
  9010. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  9011. distclean) \
  9012. || exit 1
  9013. @endif gas
  9014. .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
  9015. maybe-maintainer-clean-gas:
  9016. @if gas
  9017. maybe-maintainer-clean-gas: maintainer-clean-gas
  9018. maintainer-clean-gas:
  9019. @[ -f ./gas/Makefile ] || exit 0; \
  9020. r=`${PWD_COMMAND}`; export r; \
  9021. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9022. $(HOST_EXPORTS) \
  9023. for flag in $(EXTRA_HOST_FLAGS) ; do \
  9024. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  9025. done; \
  9026. echo "Doing maintainer-clean in gas" ; \
  9027. (cd $(HOST_SUBDIR)/gas && \
  9028. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  9029. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  9030. "RANLIB=$${RANLIB}" \
  9031. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  9032. maintainer-clean) \
  9033. || exit 1
  9034. @endif gas
  9035. .PHONY: configure-gcc maybe-configure-gcc
  9036. maybe-configure-gcc:
  9037. @if gcc-bootstrap
  9038. configure-gcc: stage_current
  9039. @endif gcc-bootstrap
  9040. @if gcc
  9041. maybe-configure-gcc: configure-gcc
  9042. configure-gcc:
  9043. @r=`${PWD_COMMAND}`; export r; \
  9044. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9045. test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
  9046. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
  9047. $(HOST_EXPORTS) \
  9048. echo Configuring in $(HOST_SUBDIR)/gcc; \
  9049. cd "$(HOST_SUBDIR)/gcc" || exit 1; \
  9050. case $(srcdir) in \
  9051. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  9052. *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
  9053. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  9054. esac; \
  9055. module_srcdir=gcc; \
  9056. $(SHELL) \
  9057. $$s/$$module_srcdir/configure \
  9058. --srcdir=$${topdir}/$$module_srcdir \
  9059. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  9060. --target=${target_alias} \
  9061. || exit 1
  9062. @endif gcc
  9063. .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
  9064. maybe-configure-stage1-gcc:
  9065. @if gcc-bootstrap
  9066. maybe-configure-stage1-gcc: configure-stage1-gcc
  9067. configure-stage1-gcc:
  9068. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  9069. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
  9070. @r=`${PWD_COMMAND}`; export r; \
  9071. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9072. TFLAGS="$(STAGE1_TFLAGS)"; \
  9073. test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
  9074. $(HOST_EXPORTS) \
  9075. CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
  9076. CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
  9077. LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
  9078. echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
  9079. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
  9080. cd $(HOST_SUBDIR)/gcc || exit 1; \
  9081. case $(srcdir) in \
  9082. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  9083. *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
  9084. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  9085. esac; \
  9086. module_srcdir=gcc; \
  9087. $(SHELL) $$s/$$module_srcdir/configure \
  9088. --srcdir=$${topdir}/$$module_srcdir \
  9089. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  9090. --target=${target_alias} \
  9091. \
  9092. $(STAGE1_CONFIGURE_FLAGS)
  9093. @endif gcc-bootstrap
  9094. .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
  9095. maybe-configure-stage2-gcc:
  9096. @if gcc-bootstrap
  9097. maybe-configure-stage2-gcc: configure-stage2-gcc
  9098. configure-stage2-gcc:
  9099. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  9100. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
  9101. @r=`${PWD_COMMAND}`; export r; \
  9102. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9103. TFLAGS="$(STAGE2_TFLAGS)"; \
  9104. test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
  9105. $(HOST_EXPORTS) \
  9106. $(POSTSTAGE1_HOST_EXPORTS) \
  9107. CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
  9108. CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
  9109. LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
  9110. echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
  9111. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
  9112. cd $(HOST_SUBDIR)/gcc || exit 1; \
  9113. case $(srcdir) in \
  9114. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  9115. *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
  9116. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  9117. esac; \
  9118. module_srcdir=gcc; \
  9119. $(SHELL) $$s/$$module_srcdir/configure \
  9120. --srcdir=$${topdir}/$$module_srcdir \
  9121. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  9122. --target=${target_alias} \
  9123. --with-build-libsubdir=$(HOST_SUBDIR) \
  9124. $(STAGE2_CONFIGURE_FLAGS)
  9125. @endif gcc-bootstrap
  9126. .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
  9127. maybe-configure-stage3-gcc:
  9128. @if gcc-bootstrap
  9129. maybe-configure-stage3-gcc: configure-stage3-gcc
  9130. configure-stage3-gcc:
  9131. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  9132. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
  9133. @r=`${PWD_COMMAND}`; export r; \
  9134. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9135. TFLAGS="$(STAGE3_TFLAGS)"; \
  9136. test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
  9137. $(HOST_EXPORTS) \
  9138. $(POSTSTAGE1_HOST_EXPORTS) \
  9139. CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
  9140. CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
  9141. LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
  9142. echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
  9143. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
  9144. cd $(HOST_SUBDIR)/gcc || exit 1; \
  9145. case $(srcdir) in \
  9146. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  9147. *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
  9148. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  9149. esac; \
  9150. module_srcdir=gcc; \
  9151. $(SHELL) $$s/$$module_srcdir/configure \
  9152. --srcdir=$${topdir}/$$module_srcdir \
  9153. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  9154. --target=${target_alias} \
  9155. --with-build-libsubdir=$(HOST_SUBDIR) \
  9156. $(STAGE3_CONFIGURE_FLAGS)
  9157. @endif gcc-bootstrap
  9158. .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
  9159. maybe-configure-stage4-gcc:
  9160. @if gcc-bootstrap
  9161. maybe-configure-stage4-gcc: configure-stage4-gcc
  9162. configure-stage4-gcc:
  9163. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  9164. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
  9165. @r=`${PWD_COMMAND}`; export r; \
  9166. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9167. TFLAGS="$(STAGE4_TFLAGS)"; \
  9168. test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
  9169. $(HOST_EXPORTS) \
  9170. $(POSTSTAGE1_HOST_EXPORTS) \
  9171. CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
  9172. CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
  9173. LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
  9174. echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
  9175. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
  9176. cd $(HOST_SUBDIR)/gcc || exit 1; \
  9177. case $(srcdir) in \
  9178. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  9179. *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
  9180. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  9181. esac; \
  9182. module_srcdir=gcc; \
  9183. $(SHELL) $$s/$$module_srcdir/configure \
  9184. --srcdir=$${topdir}/$$module_srcdir \
  9185. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  9186. --target=${target_alias} \
  9187. --with-build-libsubdir=$(HOST_SUBDIR) \
  9188. $(STAGE4_CONFIGURE_FLAGS)
  9189. @endif gcc-bootstrap
  9190. .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
  9191. maybe-configure-stageprofile-gcc:
  9192. @if gcc-bootstrap
  9193. maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
  9194. configure-stageprofile-gcc:
  9195. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  9196. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
  9197. @r=`${PWD_COMMAND}`; export r; \
  9198. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9199. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  9200. test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
  9201. $(HOST_EXPORTS) \
  9202. $(POSTSTAGE1_HOST_EXPORTS) \
  9203. CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
  9204. CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
  9205. LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
  9206. echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
  9207. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
  9208. cd $(HOST_SUBDIR)/gcc || exit 1; \
  9209. case $(srcdir) in \
  9210. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  9211. *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
  9212. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  9213. esac; \
  9214. module_srcdir=gcc; \
  9215. $(SHELL) $$s/$$module_srcdir/configure \
  9216. --srcdir=$${topdir}/$$module_srcdir \
  9217. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  9218. --target=${target_alias} \
  9219. --with-build-libsubdir=$(HOST_SUBDIR) \
  9220. $(STAGEprofile_CONFIGURE_FLAGS)
  9221. @endif gcc-bootstrap
  9222. .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
  9223. maybe-configure-stagefeedback-gcc:
  9224. @if gcc-bootstrap
  9225. maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
  9226. configure-stagefeedback-gcc:
  9227. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  9228. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc
  9229. @r=`${PWD_COMMAND}`; export r; \
  9230. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9231. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  9232. test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
  9233. $(HOST_EXPORTS) \
  9234. $(POSTSTAGE1_HOST_EXPORTS) \
  9235. CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
  9236. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
  9237. LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
  9238. echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
  9239. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
  9240. cd $(HOST_SUBDIR)/gcc || exit 1; \
  9241. case $(srcdir) in \
  9242. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  9243. *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
  9244. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  9245. esac; \
  9246. module_srcdir=gcc; \
  9247. $(SHELL) $$s/$$module_srcdir/configure \
  9248. --srcdir=$${topdir}/$$module_srcdir \
  9249. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  9250. --target=${target_alias} \
  9251. --with-build-libsubdir=$(HOST_SUBDIR) \
  9252. $(STAGEfeedback_CONFIGURE_FLAGS)
  9253. @endif gcc-bootstrap
  9254. .PHONY: all-gcc maybe-all-gcc
  9255. maybe-all-gcc:
  9256. @if gcc-bootstrap
  9257. all-gcc: stage_current
  9258. @endif gcc-bootstrap
  9259. @if gcc
  9260. TARGET-gcc=all
  9261. maybe-all-gcc: all-gcc
  9262. all-gcc: configure-gcc
  9263. @r=`${PWD_COMMAND}`; export r; \
  9264. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9265. $(HOST_EXPORTS) \
  9266. (cd $(HOST_SUBDIR)/gcc && \
  9267. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
  9268. $(TARGET-gcc))
  9269. @endif gcc
  9270. .PHONY: all-stage1-gcc maybe-all-stage1-gcc
  9271. .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
  9272. maybe-all-stage1-gcc:
  9273. maybe-clean-stage1-gcc:
  9274. @if gcc-bootstrap
  9275. maybe-all-stage1-gcc: all-stage1-gcc
  9276. all-stage1: all-stage1-gcc
  9277. TARGET-stage1-gcc = $(TARGET-gcc)
  9278. all-stage1-gcc: configure-stage1-gcc
  9279. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  9280. @r=`${PWD_COMMAND}`; export r; \
  9281. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9282. TFLAGS="$(STAGE1_TFLAGS)"; \
  9283. $(HOST_EXPORTS) \
  9284. cd $(HOST_SUBDIR)/gcc && \
  9285. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  9286. CFLAGS="$(STAGE1_CFLAGS)" \
  9287. CXXFLAGS="$(STAGE1_CXXFLAGS)" \
  9288. LIBCFLAGS="$(LIBCFLAGS)" \
  9289. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  9290. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  9291. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  9292. $(EXTRA_HOST_FLAGS) \
  9293. $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
  9294. TFLAGS="$(STAGE1_TFLAGS)" \
  9295. $(TARGET-stage1-gcc)
  9296. maybe-clean-stage1-gcc: clean-stage1-gcc
  9297. clean-stage1: clean-stage1-gcc
  9298. clean-stage1-gcc:
  9299. @if [ $(current_stage) = stage1 ]; then \
  9300. [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
  9301. else \
  9302. [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] || exit 0; \
  9303. $(MAKE) stage1-start; \
  9304. fi; \
  9305. cd $(HOST_SUBDIR)/gcc && \
  9306. $(MAKE) $(EXTRA_HOST_FLAGS) \
  9307. $(STAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
  9308. @endif gcc-bootstrap
  9309. .PHONY: all-stage2-gcc maybe-all-stage2-gcc
  9310. .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
  9311. maybe-all-stage2-gcc:
  9312. maybe-clean-stage2-gcc:
  9313. @if gcc-bootstrap
  9314. maybe-all-stage2-gcc: all-stage2-gcc
  9315. all-stage2: all-stage2-gcc
  9316. TARGET-stage2-gcc = $(TARGET-gcc)
  9317. all-stage2-gcc: configure-stage2-gcc
  9318. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  9319. @r=`${PWD_COMMAND}`; export r; \
  9320. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9321. TFLAGS="$(STAGE2_TFLAGS)"; \
  9322. $(HOST_EXPORTS) \
  9323. $(POSTSTAGE1_HOST_EXPORTS) \
  9324. cd $(HOST_SUBDIR)/gcc && \
  9325. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  9326. CFLAGS="$(STAGE2_CFLAGS)" \
  9327. CXXFLAGS="$(STAGE2_CXXFLAGS)" \
  9328. LIBCFLAGS="$(STAGE2_CFLAGS)" \
  9329. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  9330. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  9331. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  9332. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
  9333. TFLAGS="$(STAGE2_TFLAGS)" \
  9334. $(TARGET-stage2-gcc)
  9335. maybe-clean-stage2-gcc: clean-stage2-gcc
  9336. clean-stage2: clean-stage2-gcc
  9337. clean-stage2-gcc:
  9338. @if [ $(current_stage) = stage2 ]; then \
  9339. [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
  9340. else \
  9341. [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] || exit 0; \
  9342. $(MAKE) stage2-start; \
  9343. fi; \
  9344. cd $(HOST_SUBDIR)/gcc && \
  9345. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
  9346. @endif gcc-bootstrap
  9347. .PHONY: all-stage3-gcc maybe-all-stage3-gcc
  9348. .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
  9349. maybe-all-stage3-gcc:
  9350. maybe-clean-stage3-gcc:
  9351. @if gcc-bootstrap
  9352. maybe-all-stage3-gcc: all-stage3-gcc
  9353. all-stage3: all-stage3-gcc
  9354. TARGET-stage3-gcc = $(TARGET-gcc)
  9355. all-stage3-gcc: configure-stage3-gcc
  9356. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  9357. @r=`${PWD_COMMAND}`; export r; \
  9358. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9359. TFLAGS="$(STAGE3_TFLAGS)"; \
  9360. $(HOST_EXPORTS) \
  9361. $(POSTSTAGE1_HOST_EXPORTS) \
  9362. cd $(HOST_SUBDIR)/gcc && \
  9363. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  9364. CFLAGS="$(STAGE3_CFLAGS)" \
  9365. CXXFLAGS="$(STAGE3_CXXFLAGS)" \
  9366. LIBCFLAGS="$(STAGE3_CFLAGS)" \
  9367. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  9368. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  9369. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  9370. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
  9371. TFLAGS="$(STAGE3_TFLAGS)" \
  9372. $(TARGET-stage3-gcc)
  9373. maybe-clean-stage3-gcc: clean-stage3-gcc
  9374. clean-stage3: clean-stage3-gcc
  9375. clean-stage3-gcc:
  9376. @if [ $(current_stage) = stage3 ]; then \
  9377. [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
  9378. else \
  9379. [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] || exit 0; \
  9380. $(MAKE) stage3-start; \
  9381. fi; \
  9382. cd $(HOST_SUBDIR)/gcc && \
  9383. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
  9384. @endif gcc-bootstrap
  9385. .PHONY: all-stage4-gcc maybe-all-stage4-gcc
  9386. .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
  9387. maybe-all-stage4-gcc:
  9388. maybe-clean-stage4-gcc:
  9389. @if gcc-bootstrap
  9390. maybe-all-stage4-gcc: all-stage4-gcc
  9391. all-stage4: all-stage4-gcc
  9392. TARGET-stage4-gcc = $(TARGET-gcc)
  9393. all-stage4-gcc: configure-stage4-gcc
  9394. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  9395. @r=`${PWD_COMMAND}`; export r; \
  9396. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9397. TFLAGS="$(STAGE4_TFLAGS)"; \
  9398. $(HOST_EXPORTS) \
  9399. $(POSTSTAGE1_HOST_EXPORTS) \
  9400. cd $(HOST_SUBDIR)/gcc && \
  9401. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  9402. CFLAGS="$(STAGE4_CFLAGS)" \
  9403. CXXFLAGS="$(STAGE4_CXXFLAGS)" \
  9404. LIBCFLAGS="$(STAGE4_CFLAGS)" \
  9405. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  9406. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  9407. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  9408. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
  9409. TFLAGS="$(STAGE4_TFLAGS)" \
  9410. $(TARGET-stage4-gcc)
  9411. maybe-clean-stage4-gcc: clean-stage4-gcc
  9412. clean-stage4: clean-stage4-gcc
  9413. clean-stage4-gcc:
  9414. @if [ $(current_stage) = stage4 ]; then \
  9415. [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
  9416. else \
  9417. [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] || exit 0; \
  9418. $(MAKE) stage4-start; \
  9419. fi; \
  9420. cd $(HOST_SUBDIR)/gcc && \
  9421. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
  9422. @endif gcc-bootstrap
  9423. .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
  9424. .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
  9425. maybe-all-stageprofile-gcc:
  9426. maybe-clean-stageprofile-gcc:
  9427. @if gcc-bootstrap
  9428. maybe-all-stageprofile-gcc: all-stageprofile-gcc
  9429. all-stageprofile: all-stageprofile-gcc
  9430. TARGET-stageprofile-gcc = $(TARGET-gcc)
  9431. all-stageprofile-gcc: configure-stageprofile-gcc
  9432. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  9433. @r=`${PWD_COMMAND}`; export r; \
  9434. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9435. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  9436. $(HOST_EXPORTS) \
  9437. $(POSTSTAGE1_HOST_EXPORTS) \
  9438. cd $(HOST_SUBDIR)/gcc && \
  9439. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  9440. CFLAGS="$(STAGEprofile_CFLAGS)" \
  9441. CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
  9442. LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
  9443. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  9444. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  9445. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  9446. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
  9447. TFLAGS="$(STAGEprofile_TFLAGS)" \
  9448. $(TARGET-stageprofile-gcc)
  9449. maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
  9450. clean-stageprofile: clean-stageprofile-gcc
  9451. clean-stageprofile-gcc:
  9452. @if [ $(current_stage) = stageprofile ]; then \
  9453. [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
  9454. else \
  9455. [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] || exit 0; \
  9456. $(MAKE) stageprofile-start; \
  9457. fi; \
  9458. cd $(HOST_SUBDIR)/gcc && \
  9459. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
  9460. @endif gcc-bootstrap
  9461. .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
  9462. .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
  9463. maybe-all-stagefeedback-gcc:
  9464. maybe-clean-stagefeedback-gcc:
  9465. @if gcc-bootstrap
  9466. maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
  9467. all-stagefeedback: all-stagefeedback-gcc
  9468. TARGET-stagefeedback-gcc = $(TARGET-gcc)
  9469. all-stagefeedback-gcc: configure-stagefeedback-gcc
  9470. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  9471. @r=`${PWD_COMMAND}`; export r; \
  9472. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9473. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  9474. $(HOST_EXPORTS) \
  9475. $(POSTSTAGE1_HOST_EXPORTS) \
  9476. cd $(HOST_SUBDIR)/gcc && \
  9477. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  9478. CFLAGS="$(STAGEfeedback_CFLAGS)" \
  9479. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
  9480. LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
  9481. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  9482. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  9483. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  9484. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
  9485. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  9486. $(TARGET-stagefeedback-gcc)
  9487. maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
  9488. clean-stagefeedback: clean-stagefeedback-gcc
  9489. clean-stagefeedback-gcc:
  9490. @if [ $(current_stage) = stagefeedback ]; then \
  9491. [ -f $(HOST_SUBDIR)/gcc/Makefile ] || exit 0; \
  9492. else \
  9493. [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] || exit 0; \
  9494. $(MAKE) stagefeedback-start; \
  9495. fi; \
  9496. cd $(HOST_SUBDIR)/gcc && \
  9497. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) clean
  9498. @endif gcc-bootstrap
  9499. .PHONY: check-gcc maybe-check-gcc
  9500. maybe-check-gcc:
  9501. @if gcc
  9502. maybe-check-gcc: check-gcc
  9503. check-gcc:
  9504. @: $(MAKE); $(unstage)
  9505. @r=`${PWD_COMMAND}`; export r; \
  9506. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9507. $(HOST_EXPORTS) \
  9508. (cd $(HOST_SUBDIR)/gcc && \
  9509. $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
  9510. @endif gcc
  9511. .PHONY: install-gcc maybe-install-gcc
  9512. maybe-install-gcc:
  9513. @if gcc
  9514. maybe-install-gcc: install-gcc
  9515. install-gcc: installdirs
  9516. @: $(MAKE); $(unstage)
  9517. @r=`${PWD_COMMAND}`; export r; \
  9518. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9519. $(HOST_EXPORTS) \
  9520. (cd $(HOST_SUBDIR)/gcc && \
  9521. $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
  9522. @endif gcc
  9523. .PHONY: install-strip-gcc maybe-install-strip-gcc
  9524. maybe-install-strip-gcc:
  9525. @if gcc
  9526. maybe-install-strip-gcc: install-strip-gcc
  9527. install-strip-gcc: installdirs
  9528. @: $(MAKE); $(unstage)
  9529. @r=`${PWD_COMMAND}`; export r; \
  9530. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9531. $(HOST_EXPORTS) \
  9532. (cd $(HOST_SUBDIR)/gcc && \
  9533. $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install-strip)
  9534. @endif gcc
  9535. # Other targets (info, dvi, pdf, etc.)
  9536. .PHONY: maybe-info-gcc info-gcc
  9537. maybe-info-gcc:
  9538. @if gcc
  9539. maybe-info-gcc: info-gcc
  9540. info-gcc: \
  9541. configure-gcc
  9542. @[ -f ./gcc/Makefile ] || exit 0; \
  9543. r=`${PWD_COMMAND}`; export r; \
  9544. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9545. $(HOST_EXPORTS) \
  9546. for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
  9547. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  9548. done; \
  9549. echo "Doing info in gcc" ; \
  9550. (cd $(HOST_SUBDIR)/gcc && \
  9551. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  9552. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  9553. "RANLIB=$${RANLIB}" \
  9554. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  9555. info) \
  9556. || exit 1
  9557. @endif gcc
  9558. .PHONY: maybe-dvi-gcc dvi-gcc
  9559. maybe-dvi-gcc:
  9560. @if gcc
  9561. maybe-dvi-gcc: dvi-gcc
  9562. dvi-gcc: \
  9563. configure-gcc
  9564. @[ -f ./gcc/Makefile ] || exit 0; \
  9565. r=`${PWD_COMMAND}`; export r; \
  9566. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9567. $(HOST_EXPORTS) \
  9568. for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
  9569. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  9570. done; \
  9571. echo "Doing dvi in gcc" ; \
  9572. (cd $(HOST_SUBDIR)/gcc && \
  9573. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  9574. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  9575. "RANLIB=$${RANLIB}" \
  9576. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  9577. dvi) \
  9578. || exit 1
  9579. @endif gcc
  9580. .PHONY: maybe-pdf-gcc pdf-gcc
  9581. maybe-pdf-gcc:
  9582. @if gcc
  9583. maybe-pdf-gcc: pdf-gcc
  9584. pdf-gcc: \
  9585. configure-gcc
  9586. @[ -f ./gcc/Makefile ] || exit 0; \
  9587. r=`${PWD_COMMAND}`; export r; \
  9588. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9589. $(HOST_EXPORTS) \
  9590. for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
  9591. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  9592. done; \
  9593. echo "Doing pdf in gcc" ; \
  9594. (cd $(HOST_SUBDIR)/gcc && \
  9595. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  9596. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  9597. "RANLIB=$${RANLIB}" \
  9598. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  9599. pdf) \
  9600. || exit 1
  9601. @endif gcc
  9602. .PHONY: maybe-html-gcc html-gcc
  9603. maybe-html-gcc:
  9604. @if gcc
  9605. maybe-html-gcc: html-gcc
  9606. html-gcc: \
  9607. configure-gcc
  9608. @[ -f ./gcc/Makefile ] || exit 0; \
  9609. r=`${PWD_COMMAND}`; export r; \
  9610. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9611. $(HOST_EXPORTS) \
  9612. for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
  9613. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  9614. done; \
  9615. echo "Doing html in gcc" ; \
  9616. (cd $(HOST_SUBDIR)/gcc && \
  9617. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  9618. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  9619. "RANLIB=$${RANLIB}" \
  9620. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  9621. html) \
  9622. || exit 1
  9623. @endif gcc
  9624. .PHONY: maybe-TAGS-gcc TAGS-gcc
  9625. maybe-TAGS-gcc:
  9626. @if gcc
  9627. maybe-TAGS-gcc: TAGS-gcc
  9628. TAGS-gcc: \
  9629. configure-gcc
  9630. @[ -f ./gcc/Makefile ] || exit 0; \
  9631. r=`${PWD_COMMAND}`; export r; \
  9632. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9633. $(HOST_EXPORTS) \
  9634. for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
  9635. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  9636. done; \
  9637. echo "Doing TAGS in gcc" ; \
  9638. (cd $(HOST_SUBDIR)/gcc && \
  9639. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  9640. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  9641. "RANLIB=$${RANLIB}" \
  9642. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  9643. TAGS) \
  9644. || exit 1
  9645. @endif gcc
  9646. .PHONY: maybe-install-info-gcc install-info-gcc
  9647. maybe-install-info-gcc:
  9648. @if gcc
  9649. maybe-install-info-gcc: install-info-gcc
  9650. install-info-gcc: \
  9651. configure-gcc \
  9652. info-gcc
  9653. @[ -f ./gcc/Makefile ] || exit 0; \
  9654. r=`${PWD_COMMAND}`; export r; \
  9655. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9656. $(HOST_EXPORTS) \
  9657. for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
  9658. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  9659. done; \
  9660. echo "Doing install-info in gcc" ; \
  9661. (cd $(HOST_SUBDIR)/gcc && \
  9662. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  9663. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  9664. "RANLIB=$${RANLIB}" \
  9665. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  9666. install-info) \
  9667. || exit 1
  9668. @endif gcc
  9669. .PHONY: maybe-install-pdf-gcc install-pdf-gcc
  9670. maybe-install-pdf-gcc:
  9671. @if gcc
  9672. maybe-install-pdf-gcc: install-pdf-gcc
  9673. install-pdf-gcc: \
  9674. configure-gcc \
  9675. pdf-gcc
  9676. @[ -f ./gcc/Makefile ] || exit 0; \
  9677. r=`${PWD_COMMAND}`; export r; \
  9678. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9679. $(HOST_EXPORTS) \
  9680. for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
  9681. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  9682. done; \
  9683. echo "Doing install-pdf in gcc" ; \
  9684. (cd $(HOST_SUBDIR)/gcc && \
  9685. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  9686. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  9687. "RANLIB=$${RANLIB}" \
  9688. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  9689. install-pdf) \
  9690. || exit 1
  9691. @endif gcc
  9692. .PHONY: maybe-install-html-gcc install-html-gcc
  9693. maybe-install-html-gcc:
  9694. @if gcc
  9695. maybe-install-html-gcc: install-html-gcc
  9696. install-html-gcc: \
  9697. configure-gcc \
  9698. html-gcc
  9699. @[ -f ./gcc/Makefile ] || exit 0; \
  9700. r=`${PWD_COMMAND}`; export r; \
  9701. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9702. $(HOST_EXPORTS) \
  9703. for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
  9704. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  9705. done; \
  9706. echo "Doing install-html in gcc" ; \
  9707. (cd $(HOST_SUBDIR)/gcc && \
  9708. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  9709. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  9710. "RANLIB=$${RANLIB}" \
  9711. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  9712. install-html) \
  9713. || exit 1
  9714. @endif gcc
  9715. .PHONY: maybe-installcheck-gcc installcheck-gcc
  9716. maybe-installcheck-gcc:
  9717. @if gcc
  9718. maybe-installcheck-gcc: installcheck-gcc
  9719. installcheck-gcc: \
  9720. configure-gcc
  9721. @[ -f ./gcc/Makefile ] || exit 0; \
  9722. r=`${PWD_COMMAND}`; export r; \
  9723. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9724. $(HOST_EXPORTS) \
  9725. for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
  9726. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  9727. done; \
  9728. echo "Doing installcheck in gcc" ; \
  9729. (cd $(HOST_SUBDIR)/gcc && \
  9730. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  9731. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  9732. "RANLIB=$${RANLIB}" \
  9733. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  9734. installcheck) \
  9735. || exit 1
  9736. @endif gcc
  9737. .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
  9738. maybe-mostlyclean-gcc:
  9739. @if gcc
  9740. maybe-mostlyclean-gcc: mostlyclean-gcc
  9741. mostlyclean-gcc:
  9742. @[ -f ./gcc/Makefile ] || exit 0; \
  9743. r=`${PWD_COMMAND}`; export r; \
  9744. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9745. $(HOST_EXPORTS) \
  9746. for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
  9747. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  9748. done; \
  9749. echo "Doing mostlyclean in gcc" ; \
  9750. (cd $(HOST_SUBDIR)/gcc && \
  9751. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  9752. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  9753. "RANLIB=$${RANLIB}" \
  9754. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  9755. mostlyclean) \
  9756. || exit 1
  9757. @endif gcc
  9758. .PHONY: maybe-clean-gcc clean-gcc
  9759. maybe-clean-gcc:
  9760. @if gcc
  9761. maybe-clean-gcc: clean-gcc
  9762. clean-gcc:
  9763. @[ -f ./gcc/Makefile ] || exit 0; \
  9764. r=`${PWD_COMMAND}`; export r; \
  9765. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9766. $(HOST_EXPORTS) \
  9767. for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
  9768. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  9769. done; \
  9770. echo "Doing clean in gcc" ; \
  9771. (cd $(HOST_SUBDIR)/gcc && \
  9772. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  9773. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  9774. "RANLIB=$${RANLIB}" \
  9775. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  9776. clean) \
  9777. || exit 1
  9778. @endif gcc
  9779. .PHONY: maybe-distclean-gcc distclean-gcc
  9780. maybe-distclean-gcc:
  9781. @if gcc
  9782. maybe-distclean-gcc: distclean-gcc
  9783. distclean-gcc:
  9784. @[ -f ./gcc/Makefile ] || exit 0; \
  9785. r=`${PWD_COMMAND}`; export r; \
  9786. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9787. $(HOST_EXPORTS) \
  9788. for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
  9789. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  9790. done; \
  9791. echo "Doing distclean in gcc" ; \
  9792. (cd $(HOST_SUBDIR)/gcc && \
  9793. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  9794. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  9795. "RANLIB=$${RANLIB}" \
  9796. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  9797. distclean) \
  9798. || exit 1
  9799. @endif gcc
  9800. .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
  9801. maybe-maintainer-clean-gcc:
  9802. @if gcc
  9803. maybe-maintainer-clean-gcc: maintainer-clean-gcc
  9804. maintainer-clean-gcc:
  9805. @[ -f ./gcc/Makefile ] || exit 0; \
  9806. r=`${PWD_COMMAND}`; export r; \
  9807. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9808. $(HOST_EXPORTS) \
  9809. for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
  9810. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  9811. done; \
  9812. echo "Doing maintainer-clean in gcc" ; \
  9813. (cd $(HOST_SUBDIR)/gcc && \
  9814. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  9815. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  9816. "RANLIB=$${RANLIB}" \
  9817. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  9818. maintainer-clean) \
  9819. || exit 1
  9820. @endif gcc
  9821. .PHONY: configure-gmp maybe-configure-gmp
  9822. maybe-configure-gmp:
  9823. @if gcc-bootstrap
  9824. configure-gmp: stage_current
  9825. @endif gcc-bootstrap
  9826. @if gmp
  9827. maybe-configure-gmp: configure-gmp
  9828. configure-gmp:
  9829. @r=`${PWD_COMMAND}`; export r; \
  9830. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9831. test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
  9832. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
  9833. $(HOST_EXPORTS) \
  9834. echo Configuring in $(HOST_SUBDIR)/gmp; \
  9835. cd "$(HOST_SUBDIR)/gmp" || exit 1; \
  9836. case $(srcdir) in \
  9837. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  9838. *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
  9839. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  9840. esac; \
  9841. module_srcdir=gmp; \
  9842. $(SHELL) \
  9843. $$s/$$module_srcdir/configure \
  9844. --srcdir=$${topdir}/$$module_srcdir \
  9845. $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
  9846. --target=none-${host_vendor}-${host_os} --disable-shared LEX="touch lex.yy.c" \
  9847. || exit 1
  9848. @endif gmp
  9849. .PHONY: configure-stage1-gmp maybe-configure-stage1-gmp
  9850. maybe-configure-stage1-gmp:
  9851. @if gmp-bootstrap
  9852. maybe-configure-stage1-gmp: configure-stage1-gmp
  9853. configure-stage1-gmp:
  9854. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  9855. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
  9856. @r=`${PWD_COMMAND}`; export r; \
  9857. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9858. TFLAGS="$(STAGE1_TFLAGS)"; \
  9859. test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
  9860. $(HOST_EXPORTS) \
  9861. CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
  9862. CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
  9863. LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
  9864. echo Configuring stage 1 in $(HOST_SUBDIR)/gmp ; \
  9865. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
  9866. cd $(HOST_SUBDIR)/gmp || exit 1; \
  9867. case $(srcdir) in \
  9868. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  9869. *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
  9870. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  9871. esac; \
  9872. module_srcdir=gmp; \
  9873. $(SHELL) $$s/$$module_srcdir/configure \
  9874. --srcdir=$${topdir}/$$module_srcdir \
  9875. $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
  9876. --target=none-${host_vendor}-${host_os} \
  9877. \
  9878. $(STAGE1_CONFIGURE_FLAGS) \
  9879. --disable-shared LEX="touch lex.yy.c"
  9880. @endif gmp-bootstrap
  9881. .PHONY: configure-stage2-gmp maybe-configure-stage2-gmp
  9882. maybe-configure-stage2-gmp:
  9883. @if gmp-bootstrap
  9884. maybe-configure-stage2-gmp: configure-stage2-gmp
  9885. configure-stage2-gmp:
  9886. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  9887. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
  9888. @r=`${PWD_COMMAND}`; export r; \
  9889. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9890. TFLAGS="$(STAGE2_TFLAGS)"; \
  9891. test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
  9892. $(HOST_EXPORTS) \
  9893. $(POSTSTAGE1_HOST_EXPORTS) \
  9894. CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
  9895. CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
  9896. LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
  9897. echo Configuring stage 2 in $(HOST_SUBDIR)/gmp ; \
  9898. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
  9899. cd $(HOST_SUBDIR)/gmp || exit 1; \
  9900. case $(srcdir) in \
  9901. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  9902. *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
  9903. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  9904. esac; \
  9905. module_srcdir=gmp; \
  9906. $(SHELL) $$s/$$module_srcdir/configure \
  9907. --srcdir=$${topdir}/$$module_srcdir \
  9908. $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
  9909. --target=none-${host_vendor}-${host_os} \
  9910. --with-build-libsubdir=$(HOST_SUBDIR) \
  9911. $(STAGE2_CONFIGURE_FLAGS) \
  9912. --disable-shared LEX="touch lex.yy.c"
  9913. @endif gmp-bootstrap
  9914. .PHONY: configure-stage3-gmp maybe-configure-stage3-gmp
  9915. maybe-configure-stage3-gmp:
  9916. @if gmp-bootstrap
  9917. maybe-configure-stage3-gmp: configure-stage3-gmp
  9918. configure-stage3-gmp:
  9919. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  9920. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
  9921. @r=`${PWD_COMMAND}`; export r; \
  9922. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9923. TFLAGS="$(STAGE3_TFLAGS)"; \
  9924. test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
  9925. $(HOST_EXPORTS) \
  9926. $(POSTSTAGE1_HOST_EXPORTS) \
  9927. CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
  9928. CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
  9929. LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
  9930. echo Configuring stage 3 in $(HOST_SUBDIR)/gmp ; \
  9931. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
  9932. cd $(HOST_SUBDIR)/gmp || exit 1; \
  9933. case $(srcdir) in \
  9934. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  9935. *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
  9936. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  9937. esac; \
  9938. module_srcdir=gmp; \
  9939. $(SHELL) $$s/$$module_srcdir/configure \
  9940. --srcdir=$${topdir}/$$module_srcdir \
  9941. $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
  9942. --target=none-${host_vendor}-${host_os} \
  9943. --with-build-libsubdir=$(HOST_SUBDIR) \
  9944. $(STAGE3_CONFIGURE_FLAGS) \
  9945. --disable-shared LEX="touch lex.yy.c"
  9946. @endif gmp-bootstrap
  9947. .PHONY: configure-stage4-gmp maybe-configure-stage4-gmp
  9948. maybe-configure-stage4-gmp:
  9949. @if gmp-bootstrap
  9950. maybe-configure-stage4-gmp: configure-stage4-gmp
  9951. configure-stage4-gmp:
  9952. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  9953. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
  9954. @r=`${PWD_COMMAND}`; export r; \
  9955. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9956. TFLAGS="$(STAGE4_TFLAGS)"; \
  9957. test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
  9958. $(HOST_EXPORTS) \
  9959. $(POSTSTAGE1_HOST_EXPORTS) \
  9960. CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
  9961. CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
  9962. LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
  9963. echo Configuring stage 4 in $(HOST_SUBDIR)/gmp ; \
  9964. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
  9965. cd $(HOST_SUBDIR)/gmp || exit 1; \
  9966. case $(srcdir) in \
  9967. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  9968. *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
  9969. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  9970. esac; \
  9971. module_srcdir=gmp; \
  9972. $(SHELL) $$s/$$module_srcdir/configure \
  9973. --srcdir=$${topdir}/$$module_srcdir \
  9974. $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
  9975. --target=none-${host_vendor}-${host_os} \
  9976. --with-build-libsubdir=$(HOST_SUBDIR) \
  9977. $(STAGE4_CONFIGURE_FLAGS) \
  9978. --disable-shared LEX="touch lex.yy.c"
  9979. @endif gmp-bootstrap
  9980. .PHONY: configure-stageprofile-gmp maybe-configure-stageprofile-gmp
  9981. maybe-configure-stageprofile-gmp:
  9982. @if gmp-bootstrap
  9983. maybe-configure-stageprofile-gmp: configure-stageprofile-gmp
  9984. configure-stageprofile-gmp:
  9985. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  9986. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
  9987. @r=`${PWD_COMMAND}`; export r; \
  9988. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  9989. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  9990. test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
  9991. $(HOST_EXPORTS) \
  9992. $(POSTSTAGE1_HOST_EXPORTS) \
  9993. CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
  9994. CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
  9995. LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
  9996. echo Configuring stage profile in $(HOST_SUBDIR)/gmp ; \
  9997. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
  9998. cd $(HOST_SUBDIR)/gmp || exit 1; \
  9999. case $(srcdir) in \
  10000. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  10001. *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
  10002. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  10003. esac; \
  10004. module_srcdir=gmp; \
  10005. $(SHELL) $$s/$$module_srcdir/configure \
  10006. --srcdir=$${topdir}/$$module_srcdir \
  10007. $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
  10008. --target=none-${host_vendor}-${host_os} \
  10009. --with-build-libsubdir=$(HOST_SUBDIR) \
  10010. $(STAGEprofile_CONFIGURE_FLAGS) \
  10011. --disable-shared LEX="touch lex.yy.c"
  10012. @endif gmp-bootstrap
  10013. .PHONY: configure-stagefeedback-gmp maybe-configure-stagefeedback-gmp
  10014. maybe-configure-stagefeedback-gmp:
  10015. @if gmp-bootstrap
  10016. maybe-configure-stagefeedback-gmp: configure-stagefeedback-gmp
  10017. configure-stagefeedback-gmp:
  10018. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  10019. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp
  10020. @r=`${PWD_COMMAND}`; export r; \
  10021. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10022. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  10023. test ! -f $(HOST_SUBDIR)/gmp/Makefile || exit 0; \
  10024. $(HOST_EXPORTS) \
  10025. $(POSTSTAGE1_HOST_EXPORTS) \
  10026. CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
  10027. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
  10028. LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
  10029. echo Configuring stage feedback in $(HOST_SUBDIR)/gmp ; \
  10030. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gmp ; \
  10031. cd $(HOST_SUBDIR)/gmp || exit 1; \
  10032. case $(srcdir) in \
  10033. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  10034. *) topdir=`echo $(HOST_SUBDIR)/gmp/ | \
  10035. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  10036. esac; \
  10037. module_srcdir=gmp; \
  10038. $(SHELL) $$s/$$module_srcdir/configure \
  10039. --srcdir=$${topdir}/$$module_srcdir \
  10040. $(HOST_CONFIGARGS) --build=${build_alias} --host=none-${host_vendor}-${host_os} \
  10041. --target=none-${host_vendor}-${host_os} \
  10042. --with-build-libsubdir=$(HOST_SUBDIR) \
  10043. $(STAGEfeedback_CONFIGURE_FLAGS) \
  10044. --disable-shared LEX="touch lex.yy.c"
  10045. @endif gmp-bootstrap
  10046. .PHONY: all-gmp maybe-all-gmp
  10047. maybe-all-gmp:
  10048. @if gcc-bootstrap
  10049. all-gmp: stage_current
  10050. @endif gcc-bootstrap
  10051. @if gmp
  10052. TARGET-gmp=all
  10053. maybe-all-gmp: all-gmp
  10054. all-gmp: configure-gmp
  10055. @r=`${PWD_COMMAND}`; export r; \
  10056. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10057. $(HOST_EXPORTS) \
  10058. (cd $(HOST_SUBDIR)/gmp && \
  10059. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  10060. $(TARGET-gmp))
  10061. @endif gmp
  10062. .PHONY: all-stage1-gmp maybe-all-stage1-gmp
  10063. .PHONY: clean-stage1-gmp maybe-clean-stage1-gmp
  10064. maybe-all-stage1-gmp:
  10065. maybe-clean-stage1-gmp:
  10066. @if gmp-bootstrap
  10067. maybe-all-stage1-gmp: all-stage1-gmp
  10068. all-stage1: all-stage1-gmp
  10069. TARGET-stage1-gmp = $(TARGET-gmp)
  10070. all-stage1-gmp: configure-stage1-gmp
  10071. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  10072. @r=`${PWD_COMMAND}`; export r; \
  10073. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10074. TFLAGS="$(STAGE1_TFLAGS)"; \
  10075. $(HOST_EXPORTS) \
  10076. cd $(HOST_SUBDIR)/gmp && \
  10077. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  10078. CFLAGS="$(STAGE1_CFLAGS)" \
  10079. CXXFLAGS="$(STAGE1_CXXFLAGS)" \
  10080. LIBCFLAGS="$(LIBCFLAGS)" \
  10081. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  10082. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  10083. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  10084. $(EXTRA_HOST_FLAGS) \
  10085. $(STAGE1_FLAGS_TO_PASS) \
  10086. TFLAGS="$(STAGE1_TFLAGS)" \
  10087. $(TARGET-stage1-gmp)
  10088. maybe-clean-stage1-gmp: clean-stage1-gmp
  10089. clean-stage1: clean-stage1-gmp
  10090. clean-stage1-gmp:
  10091. @if [ $(current_stage) = stage1 ]; then \
  10092. [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
  10093. else \
  10094. [ -f $(HOST_SUBDIR)/stage1-gmp/Makefile ] || exit 0; \
  10095. $(MAKE) stage1-start; \
  10096. fi; \
  10097. cd $(HOST_SUBDIR)/gmp && \
  10098. $(MAKE) $(EXTRA_HOST_FLAGS) \
  10099. $(STAGE1_FLAGS_TO_PASS) clean
  10100. @endif gmp-bootstrap
  10101. .PHONY: all-stage2-gmp maybe-all-stage2-gmp
  10102. .PHONY: clean-stage2-gmp maybe-clean-stage2-gmp
  10103. maybe-all-stage2-gmp:
  10104. maybe-clean-stage2-gmp:
  10105. @if gmp-bootstrap
  10106. maybe-all-stage2-gmp: all-stage2-gmp
  10107. all-stage2: all-stage2-gmp
  10108. TARGET-stage2-gmp = $(TARGET-gmp)
  10109. all-stage2-gmp: configure-stage2-gmp
  10110. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  10111. @r=`${PWD_COMMAND}`; export r; \
  10112. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10113. TFLAGS="$(STAGE2_TFLAGS)"; \
  10114. $(HOST_EXPORTS) \
  10115. $(POSTSTAGE1_HOST_EXPORTS) \
  10116. cd $(HOST_SUBDIR)/gmp && \
  10117. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  10118. CFLAGS="$(STAGE2_CFLAGS)" \
  10119. CXXFLAGS="$(STAGE2_CXXFLAGS)" \
  10120. LIBCFLAGS="$(STAGE2_CFLAGS)" \
  10121. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  10122. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  10123. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  10124. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  10125. TFLAGS="$(STAGE2_TFLAGS)" \
  10126. $(TARGET-stage2-gmp)
  10127. maybe-clean-stage2-gmp: clean-stage2-gmp
  10128. clean-stage2: clean-stage2-gmp
  10129. clean-stage2-gmp:
  10130. @if [ $(current_stage) = stage2 ]; then \
  10131. [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
  10132. else \
  10133. [ -f $(HOST_SUBDIR)/stage2-gmp/Makefile ] || exit 0; \
  10134. $(MAKE) stage2-start; \
  10135. fi; \
  10136. cd $(HOST_SUBDIR)/gmp && \
  10137. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  10138. @endif gmp-bootstrap
  10139. .PHONY: all-stage3-gmp maybe-all-stage3-gmp
  10140. .PHONY: clean-stage3-gmp maybe-clean-stage3-gmp
  10141. maybe-all-stage3-gmp:
  10142. maybe-clean-stage3-gmp:
  10143. @if gmp-bootstrap
  10144. maybe-all-stage3-gmp: all-stage3-gmp
  10145. all-stage3: all-stage3-gmp
  10146. TARGET-stage3-gmp = $(TARGET-gmp)
  10147. all-stage3-gmp: configure-stage3-gmp
  10148. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  10149. @r=`${PWD_COMMAND}`; export r; \
  10150. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10151. TFLAGS="$(STAGE3_TFLAGS)"; \
  10152. $(HOST_EXPORTS) \
  10153. $(POSTSTAGE1_HOST_EXPORTS) \
  10154. cd $(HOST_SUBDIR)/gmp && \
  10155. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  10156. CFLAGS="$(STAGE3_CFLAGS)" \
  10157. CXXFLAGS="$(STAGE3_CXXFLAGS)" \
  10158. LIBCFLAGS="$(STAGE3_CFLAGS)" \
  10159. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  10160. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  10161. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  10162. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  10163. TFLAGS="$(STAGE3_TFLAGS)" \
  10164. $(TARGET-stage3-gmp)
  10165. maybe-clean-stage3-gmp: clean-stage3-gmp
  10166. clean-stage3: clean-stage3-gmp
  10167. clean-stage3-gmp:
  10168. @if [ $(current_stage) = stage3 ]; then \
  10169. [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
  10170. else \
  10171. [ -f $(HOST_SUBDIR)/stage3-gmp/Makefile ] || exit 0; \
  10172. $(MAKE) stage3-start; \
  10173. fi; \
  10174. cd $(HOST_SUBDIR)/gmp && \
  10175. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  10176. @endif gmp-bootstrap
  10177. .PHONY: all-stage4-gmp maybe-all-stage4-gmp
  10178. .PHONY: clean-stage4-gmp maybe-clean-stage4-gmp
  10179. maybe-all-stage4-gmp:
  10180. maybe-clean-stage4-gmp:
  10181. @if gmp-bootstrap
  10182. maybe-all-stage4-gmp: all-stage4-gmp
  10183. all-stage4: all-stage4-gmp
  10184. TARGET-stage4-gmp = $(TARGET-gmp)
  10185. all-stage4-gmp: configure-stage4-gmp
  10186. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  10187. @r=`${PWD_COMMAND}`; export r; \
  10188. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10189. TFLAGS="$(STAGE4_TFLAGS)"; \
  10190. $(HOST_EXPORTS) \
  10191. $(POSTSTAGE1_HOST_EXPORTS) \
  10192. cd $(HOST_SUBDIR)/gmp && \
  10193. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  10194. CFLAGS="$(STAGE4_CFLAGS)" \
  10195. CXXFLAGS="$(STAGE4_CXXFLAGS)" \
  10196. LIBCFLAGS="$(STAGE4_CFLAGS)" \
  10197. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  10198. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  10199. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  10200. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  10201. TFLAGS="$(STAGE4_TFLAGS)" \
  10202. $(TARGET-stage4-gmp)
  10203. maybe-clean-stage4-gmp: clean-stage4-gmp
  10204. clean-stage4: clean-stage4-gmp
  10205. clean-stage4-gmp:
  10206. @if [ $(current_stage) = stage4 ]; then \
  10207. [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
  10208. else \
  10209. [ -f $(HOST_SUBDIR)/stage4-gmp/Makefile ] || exit 0; \
  10210. $(MAKE) stage4-start; \
  10211. fi; \
  10212. cd $(HOST_SUBDIR)/gmp && \
  10213. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  10214. @endif gmp-bootstrap
  10215. .PHONY: all-stageprofile-gmp maybe-all-stageprofile-gmp
  10216. .PHONY: clean-stageprofile-gmp maybe-clean-stageprofile-gmp
  10217. maybe-all-stageprofile-gmp:
  10218. maybe-clean-stageprofile-gmp:
  10219. @if gmp-bootstrap
  10220. maybe-all-stageprofile-gmp: all-stageprofile-gmp
  10221. all-stageprofile: all-stageprofile-gmp
  10222. TARGET-stageprofile-gmp = $(TARGET-gmp)
  10223. all-stageprofile-gmp: configure-stageprofile-gmp
  10224. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  10225. @r=`${PWD_COMMAND}`; export r; \
  10226. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10227. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  10228. $(HOST_EXPORTS) \
  10229. $(POSTSTAGE1_HOST_EXPORTS) \
  10230. cd $(HOST_SUBDIR)/gmp && \
  10231. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  10232. CFLAGS="$(STAGEprofile_CFLAGS)" \
  10233. CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
  10234. LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
  10235. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  10236. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  10237. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  10238. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  10239. TFLAGS="$(STAGEprofile_TFLAGS)" \
  10240. $(TARGET-stageprofile-gmp)
  10241. maybe-clean-stageprofile-gmp: clean-stageprofile-gmp
  10242. clean-stageprofile: clean-stageprofile-gmp
  10243. clean-stageprofile-gmp:
  10244. @if [ $(current_stage) = stageprofile ]; then \
  10245. [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
  10246. else \
  10247. [ -f $(HOST_SUBDIR)/stageprofile-gmp/Makefile ] || exit 0; \
  10248. $(MAKE) stageprofile-start; \
  10249. fi; \
  10250. cd $(HOST_SUBDIR)/gmp && \
  10251. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  10252. @endif gmp-bootstrap
  10253. .PHONY: all-stagefeedback-gmp maybe-all-stagefeedback-gmp
  10254. .PHONY: clean-stagefeedback-gmp maybe-clean-stagefeedback-gmp
  10255. maybe-all-stagefeedback-gmp:
  10256. maybe-clean-stagefeedback-gmp:
  10257. @if gmp-bootstrap
  10258. maybe-all-stagefeedback-gmp: all-stagefeedback-gmp
  10259. all-stagefeedback: all-stagefeedback-gmp
  10260. TARGET-stagefeedback-gmp = $(TARGET-gmp)
  10261. all-stagefeedback-gmp: configure-stagefeedback-gmp
  10262. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  10263. @r=`${PWD_COMMAND}`; export r; \
  10264. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10265. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  10266. $(HOST_EXPORTS) \
  10267. $(POSTSTAGE1_HOST_EXPORTS) \
  10268. cd $(HOST_SUBDIR)/gmp && \
  10269. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  10270. CFLAGS="$(STAGEfeedback_CFLAGS)" \
  10271. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
  10272. LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
  10273. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  10274. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  10275. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  10276. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  10277. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  10278. $(TARGET-stagefeedback-gmp)
  10279. maybe-clean-stagefeedback-gmp: clean-stagefeedback-gmp
  10280. clean-stagefeedback: clean-stagefeedback-gmp
  10281. clean-stagefeedback-gmp:
  10282. @if [ $(current_stage) = stagefeedback ]; then \
  10283. [ -f $(HOST_SUBDIR)/gmp/Makefile ] || exit 0; \
  10284. else \
  10285. [ -f $(HOST_SUBDIR)/stagefeedback-gmp/Makefile ] || exit 0; \
  10286. $(MAKE) stagefeedback-start; \
  10287. fi; \
  10288. cd $(HOST_SUBDIR)/gmp && \
  10289. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  10290. @endif gmp-bootstrap
  10291. .PHONY: check-gmp maybe-check-gmp
  10292. maybe-check-gmp:
  10293. @if gmp
  10294. maybe-check-gmp: check-gmp
  10295. check-gmp:
  10296. @: $(MAKE); $(unstage)
  10297. @r=`${PWD_COMMAND}`; export r; \
  10298. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10299. $(HOST_EXPORTS) \
  10300. (cd $(HOST_SUBDIR)/gmp && \
  10301. $(MAKE) $(FLAGS_TO_PASS) check)
  10302. @endif gmp
  10303. .PHONY: install-gmp maybe-install-gmp
  10304. maybe-install-gmp:
  10305. @if gmp
  10306. maybe-install-gmp: install-gmp
  10307. install-gmp:
  10308. @endif gmp
  10309. .PHONY: install-strip-gmp maybe-install-strip-gmp
  10310. maybe-install-strip-gmp:
  10311. @if gmp
  10312. maybe-install-strip-gmp: install-strip-gmp
  10313. install-strip-gmp:
  10314. @endif gmp
  10315. # Other targets (info, dvi, pdf, etc.)
  10316. .PHONY: maybe-info-gmp info-gmp
  10317. maybe-info-gmp:
  10318. @if gmp
  10319. maybe-info-gmp: info-gmp
  10320. info-gmp: \
  10321. configure-gmp
  10322. @[ -f ./gmp/Makefile ] || exit 0; \
  10323. r=`${PWD_COMMAND}`; export r; \
  10324. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10325. $(HOST_EXPORTS) \
  10326. for flag in $(EXTRA_HOST_FLAGS) ; do \
  10327. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  10328. done; \
  10329. echo "Doing info in gmp" ; \
  10330. (cd $(HOST_SUBDIR)/gmp && \
  10331. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  10332. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  10333. "RANLIB=$${RANLIB}" \
  10334. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  10335. info) \
  10336. || exit 1
  10337. @endif gmp
  10338. .PHONY: maybe-dvi-gmp dvi-gmp
  10339. maybe-dvi-gmp:
  10340. @if gmp
  10341. maybe-dvi-gmp: dvi-gmp
  10342. dvi-gmp: \
  10343. configure-gmp
  10344. @[ -f ./gmp/Makefile ] || exit 0; \
  10345. r=`${PWD_COMMAND}`; export r; \
  10346. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10347. $(HOST_EXPORTS) \
  10348. for flag in $(EXTRA_HOST_FLAGS) ; do \
  10349. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  10350. done; \
  10351. echo "Doing dvi in gmp" ; \
  10352. (cd $(HOST_SUBDIR)/gmp && \
  10353. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  10354. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  10355. "RANLIB=$${RANLIB}" \
  10356. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  10357. dvi) \
  10358. || exit 1
  10359. @endif gmp
  10360. .PHONY: maybe-pdf-gmp pdf-gmp
  10361. maybe-pdf-gmp:
  10362. @if gmp
  10363. maybe-pdf-gmp: pdf-gmp
  10364. pdf-gmp: \
  10365. configure-gmp
  10366. @[ -f ./gmp/Makefile ] || exit 0; \
  10367. r=`${PWD_COMMAND}`; export r; \
  10368. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10369. $(HOST_EXPORTS) \
  10370. for flag in $(EXTRA_HOST_FLAGS) ; do \
  10371. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  10372. done; \
  10373. echo "Doing pdf in gmp" ; \
  10374. (cd $(HOST_SUBDIR)/gmp && \
  10375. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  10376. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  10377. "RANLIB=$${RANLIB}" \
  10378. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  10379. pdf) \
  10380. || exit 1
  10381. @endif gmp
  10382. .PHONY: maybe-html-gmp html-gmp
  10383. maybe-html-gmp:
  10384. @if gmp
  10385. maybe-html-gmp: html-gmp
  10386. html-gmp: \
  10387. configure-gmp
  10388. @[ -f ./gmp/Makefile ] || exit 0; \
  10389. r=`${PWD_COMMAND}`; export r; \
  10390. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10391. $(HOST_EXPORTS) \
  10392. for flag in $(EXTRA_HOST_FLAGS) ; do \
  10393. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  10394. done; \
  10395. echo "Doing html in gmp" ; \
  10396. (cd $(HOST_SUBDIR)/gmp && \
  10397. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  10398. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  10399. "RANLIB=$${RANLIB}" \
  10400. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  10401. html) \
  10402. || exit 1
  10403. @endif gmp
  10404. .PHONY: maybe-TAGS-gmp TAGS-gmp
  10405. maybe-TAGS-gmp:
  10406. @if gmp
  10407. maybe-TAGS-gmp: TAGS-gmp
  10408. TAGS-gmp: \
  10409. configure-gmp
  10410. @[ -f ./gmp/Makefile ] || exit 0; \
  10411. r=`${PWD_COMMAND}`; export r; \
  10412. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10413. $(HOST_EXPORTS) \
  10414. for flag in $(EXTRA_HOST_FLAGS) ; do \
  10415. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  10416. done; \
  10417. echo "Doing TAGS in gmp" ; \
  10418. (cd $(HOST_SUBDIR)/gmp && \
  10419. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  10420. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  10421. "RANLIB=$${RANLIB}" \
  10422. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  10423. TAGS) \
  10424. || exit 1
  10425. @endif gmp
  10426. .PHONY: maybe-install-info-gmp install-info-gmp
  10427. maybe-install-info-gmp:
  10428. @if gmp
  10429. maybe-install-info-gmp: install-info-gmp
  10430. install-info-gmp: \
  10431. configure-gmp \
  10432. info-gmp
  10433. @[ -f ./gmp/Makefile ] || exit 0; \
  10434. r=`${PWD_COMMAND}`; export r; \
  10435. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10436. $(HOST_EXPORTS) \
  10437. for flag in $(EXTRA_HOST_FLAGS) ; do \
  10438. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  10439. done; \
  10440. echo "Doing install-info in gmp" ; \
  10441. (cd $(HOST_SUBDIR)/gmp && \
  10442. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  10443. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  10444. "RANLIB=$${RANLIB}" \
  10445. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  10446. install-info) \
  10447. || exit 1
  10448. @endif gmp
  10449. .PHONY: maybe-install-pdf-gmp install-pdf-gmp
  10450. maybe-install-pdf-gmp:
  10451. @if gmp
  10452. maybe-install-pdf-gmp: install-pdf-gmp
  10453. install-pdf-gmp: \
  10454. configure-gmp \
  10455. pdf-gmp
  10456. @[ -f ./gmp/Makefile ] || exit 0; \
  10457. r=`${PWD_COMMAND}`; export r; \
  10458. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10459. $(HOST_EXPORTS) \
  10460. for flag in $(EXTRA_HOST_FLAGS) ; do \
  10461. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  10462. done; \
  10463. echo "Doing install-pdf in gmp" ; \
  10464. (cd $(HOST_SUBDIR)/gmp && \
  10465. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  10466. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  10467. "RANLIB=$${RANLIB}" \
  10468. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  10469. install-pdf) \
  10470. || exit 1
  10471. @endif gmp
  10472. .PHONY: maybe-install-html-gmp install-html-gmp
  10473. maybe-install-html-gmp:
  10474. @if gmp
  10475. maybe-install-html-gmp: install-html-gmp
  10476. install-html-gmp: \
  10477. configure-gmp \
  10478. html-gmp
  10479. @[ -f ./gmp/Makefile ] || exit 0; \
  10480. r=`${PWD_COMMAND}`; export r; \
  10481. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10482. $(HOST_EXPORTS) \
  10483. for flag in $(EXTRA_HOST_FLAGS) ; do \
  10484. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  10485. done; \
  10486. echo "Doing install-html in gmp" ; \
  10487. (cd $(HOST_SUBDIR)/gmp && \
  10488. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  10489. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  10490. "RANLIB=$${RANLIB}" \
  10491. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  10492. install-html) \
  10493. || exit 1
  10494. @endif gmp
  10495. .PHONY: maybe-installcheck-gmp installcheck-gmp
  10496. maybe-installcheck-gmp:
  10497. @if gmp
  10498. maybe-installcheck-gmp: installcheck-gmp
  10499. installcheck-gmp: \
  10500. configure-gmp
  10501. @[ -f ./gmp/Makefile ] || exit 0; \
  10502. r=`${PWD_COMMAND}`; export r; \
  10503. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10504. $(HOST_EXPORTS) \
  10505. for flag in $(EXTRA_HOST_FLAGS) ; do \
  10506. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  10507. done; \
  10508. echo "Doing installcheck in gmp" ; \
  10509. (cd $(HOST_SUBDIR)/gmp && \
  10510. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  10511. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  10512. "RANLIB=$${RANLIB}" \
  10513. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  10514. installcheck) \
  10515. || exit 1
  10516. @endif gmp
  10517. .PHONY: maybe-mostlyclean-gmp mostlyclean-gmp
  10518. maybe-mostlyclean-gmp:
  10519. @if gmp
  10520. maybe-mostlyclean-gmp: mostlyclean-gmp
  10521. mostlyclean-gmp:
  10522. @[ -f ./gmp/Makefile ] || exit 0; \
  10523. r=`${PWD_COMMAND}`; export r; \
  10524. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10525. $(HOST_EXPORTS) \
  10526. for flag in $(EXTRA_HOST_FLAGS) ; do \
  10527. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  10528. done; \
  10529. echo "Doing mostlyclean in gmp" ; \
  10530. (cd $(HOST_SUBDIR)/gmp && \
  10531. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  10532. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  10533. "RANLIB=$${RANLIB}" \
  10534. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  10535. mostlyclean) \
  10536. || exit 1
  10537. @endif gmp
  10538. .PHONY: maybe-clean-gmp clean-gmp
  10539. maybe-clean-gmp:
  10540. @if gmp
  10541. maybe-clean-gmp: clean-gmp
  10542. clean-gmp:
  10543. @[ -f ./gmp/Makefile ] || exit 0; \
  10544. r=`${PWD_COMMAND}`; export r; \
  10545. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10546. $(HOST_EXPORTS) \
  10547. for flag in $(EXTRA_HOST_FLAGS) ; do \
  10548. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  10549. done; \
  10550. echo "Doing clean in gmp" ; \
  10551. (cd $(HOST_SUBDIR)/gmp && \
  10552. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  10553. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  10554. "RANLIB=$${RANLIB}" \
  10555. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  10556. clean) \
  10557. || exit 1
  10558. @endif gmp
  10559. .PHONY: maybe-distclean-gmp distclean-gmp
  10560. maybe-distclean-gmp:
  10561. @if gmp
  10562. maybe-distclean-gmp: distclean-gmp
  10563. distclean-gmp:
  10564. @[ -f ./gmp/Makefile ] || exit 0; \
  10565. r=`${PWD_COMMAND}`; export r; \
  10566. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10567. $(HOST_EXPORTS) \
  10568. for flag in $(EXTRA_HOST_FLAGS) ; do \
  10569. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  10570. done; \
  10571. echo "Doing distclean in gmp" ; \
  10572. (cd $(HOST_SUBDIR)/gmp && \
  10573. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  10574. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  10575. "RANLIB=$${RANLIB}" \
  10576. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  10577. distclean) \
  10578. || exit 1
  10579. @endif gmp
  10580. .PHONY: maybe-maintainer-clean-gmp maintainer-clean-gmp
  10581. maybe-maintainer-clean-gmp:
  10582. @if gmp
  10583. maybe-maintainer-clean-gmp: maintainer-clean-gmp
  10584. maintainer-clean-gmp:
  10585. @[ -f ./gmp/Makefile ] || exit 0; \
  10586. r=`${PWD_COMMAND}`; export r; \
  10587. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10588. $(HOST_EXPORTS) \
  10589. for flag in $(EXTRA_HOST_FLAGS) ; do \
  10590. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  10591. done; \
  10592. echo "Doing maintainer-clean in gmp" ; \
  10593. (cd $(HOST_SUBDIR)/gmp && \
  10594. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  10595. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  10596. "RANLIB=$${RANLIB}" \
  10597. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  10598. maintainer-clean) \
  10599. || exit 1
  10600. @endif gmp
  10601. .PHONY: configure-mpfr maybe-configure-mpfr
  10602. maybe-configure-mpfr:
  10603. @if gcc-bootstrap
  10604. configure-mpfr: stage_current
  10605. @endif gcc-bootstrap
  10606. @if mpfr
  10607. maybe-configure-mpfr: configure-mpfr
  10608. configure-mpfr:
  10609. @r=`${PWD_COMMAND}`; export r; \
  10610. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10611. test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
  10612. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
  10613. $(HOST_EXPORTS) \
  10614. echo Configuring in $(HOST_SUBDIR)/mpfr; \
  10615. cd "$(HOST_SUBDIR)/mpfr" || exit 1; \
  10616. case $(srcdir) in \
  10617. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  10618. *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
  10619. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  10620. esac; \
  10621. module_srcdir=mpfr; \
  10622. $(SHELL) \
  10623. $$s/$$module_srcdir/configure \
  10624. --srcdir=$${topdir}/$$module_srcdir \
  10625. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  10626. --target=${target_alias} --disable-shared @extra_mpfr_configure_flags@ \
  10627. || exit 1
  10628. @endif mpfr
  10629. .PHONY: configure-stage1-mpfr maybe-configure-stage1-mpfr
  10630. maybe-configure-stage1-mpfr:
  10631. @if mpfr-bootstrap
  10632. maybe-configure-stage1-mpfr: configure-stage1-mpfr
  10633. configure-stage1-mpfr:
  10634. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  10635. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
  10636. @r=`${PWD_COMMAND}`; export r; \
  10637. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10638. TFLAGS="$(STAGE1_TFLAGS)"; \
  10639. test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
  10640. $(HOST_EXPORTS) \
  10641. CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
  10642. CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
  10643. LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
  10644. echo Configuring stage 1 in $(HOST_SUBDIR)/mpfr ; \
  10645. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
  10646. cd $(HOST_SUBDIR)/mpfr || exit 1; \
  10647. case $(srcdir) in \
  10648. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  10649. *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
  10650. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  10651. esac; \
  10652. module_srcdir=mpfr; \
  10653. $(SHELL) $$s/$$module_srcdir/configure \
  10654. --srcdir=$${topdir}/$$module_srcdir \
  10655. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  10656. --target=${target_alias} \
  10657. \
  10658. $(STAGE1_CONFIGURE_FLAGS) \
  10659. --disable-shared @extra_mpfr_configure_flags@
  10660. @endif mpfr-bootstrap
  10661. .PHONY: configure-stage2-mpfr maybe-configure-stage2-mpfr
  10662. maybe-configure-stage2-mpfr:
  10663. @if mpfr-bootstrap
  10664. maybe-configure-stage2-mpfr: configure-stage2-mpfr
  10665. configure-stage2-mpfr:
  10666. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  10667. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
  10668. @r=`${PWD_COMMAND}`; export r; \
  10669. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10670. TFLAGS="$(STAGE2_TFLAGS)"; \
  10671. test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
  10672. $(HOST_EXPORTS) \
  10673. $(POSTSTAGE1_HOST_EXPORTS) \
  10674. CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
  10675. CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
  10676. LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
  10677. echo Configuring stage 2 in $(HOST_SUBDIR)/mpfr ; \
  10678. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
  10679. cd $(HOST_SUBDIR)/mpfr || exit 1; \
  10680. case $(srcdir) in \
  10681. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  10682. *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
  10683. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  10684. esac; \
  10685. module_srcdir=mpfr; \
  10686. $(SHELL) $$s/$$module_srcdir/configure \
  10687. --srcdir=$${topdir}/$$module_srcdir \
  10688. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  10689. --target=${target_alias} \
  10690. --with-build-libsubdir=$(HOST_SUBDIR) \
  10691. $(STAGE2_CONFIGURE_FLAGS) \
  10692. --disable-shared @extra_mpfr_configure_flags@
  10693. @endif mpfr-bootstrap
  10694. .PHONY: configure-stage3-mpfr maybe-configure-stage3-mpfr
  10695. maybe-configure-stage3-mpfr:
  10696. @if mpfr-bootstrap
  10697. maybe-configure-stage3-mpfr: configure-stage3-mpfr
  10698. configure-stage3-mpfr:
  10699. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  10700. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
  10701. @r=`${PWD_COMMAND}`; export r; \
  10702. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10703. TFLAGS="$(STAGE3_TFLAGS)"; \
  10704. test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
  10705. $(HOST_EXPORTS) \
  10706. $(POSTSTAGE1_HOST_EXPORTS) \
  10707. CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
  10708. CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
  10709. LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
  10710. echo Configuring stage 3 in $(HOST_SUBDIR)/mpfr ; \
  10711. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
  10712. cd $(HOST_SUBDIR)/mpfr || exit 1; \
  10713. case $(srcdir) in \
  10714. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  10715. *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
  10716. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  10717. esac; \
  10718. module_srcdir=mpfr; \
  10719. $(SHELL) $$s/$$module_srcdir/configure \
  10720. --srcdir=$${topdir}/$$module_srcdir \
  10721. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  10722. --target=${target_alias} \
  10723. --with-build-libsubdir=$(HOST_SUBDIR) \
  10724. $(STAGE3_CONFIGURE_FLAGS) \
  10725. --disable-shared @extra_mpfr_configure_flags@
  10726. @endif mpfr-bootstrap
  10727. .PHONY: configure-stage4-mpfr maybe-configure-stage4-mpfr
  10728. maybe-configure-stage4-mpfr:
  10729. @if mpfr-bootstrap
  10730. maybe-configure-stage4-mpfr: configure-stage4-mpfr
  10731. configure-stage4-mpfr:
  10732. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  10733. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
  10734. @r=`${PWD_COMMAND}`; export r; \
  10735. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10736. TFLAGS="$(STAGE4_TFLAGS)"; \
  10737. test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
  10738. $(HOST_EXPORTS) \
  10739. $(POSTSTAGE1_HOST_EXPORTS) \
  10740. CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
  10741. CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
  10742. LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
  10743. echo Configuring stage 4 in $(HOST_SUBDIR)/mpfr ; \
  10744. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
  10745. cd $(HOST_SUBDIR)/mpfr || exit 1; \
  10746. case $(srcdir) in \
  10747. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  10748. *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
  10749. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  10750. esac; \
  10751. module_srcdir=mpfr; \
  10752. $(SHELL) $$s/$$module_srcdir/configure \
  10753. --srcdir=$${topdir}/$$module_srcdir \
  10754. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  10755. --target=${target_alias} \
  10756. --with-build-libsubdir=$(HOST_SUBDIR) \
  10757. $(STAGE4_CONFIGURE_FLAGS) \
  10758. --disable-shared @extra_mpfr_configure_flags@
  10759. @endif mpfr-bootstrap
  10760. .PHONY: configure-stageprofile-mpfr maybe-configure-stageprofile-mpfr
  10761. maybe-configure-stageprofile-mpfr:
  10762. @if mpfr-bootstrap
  10763. maybe-configure-stageprofile-mpfr: configure-stageprofile-mpfr
  10764. configure-stageprofile-mpfr:
  10765. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  10766. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
  10767. @r=`${PWD_COMMAND}`; export r; \
  10768. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10769. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  10770. test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
  10771. $(HOST_EXPORTS) \
  10772. $(POSTSTAGE1_HOST_EXPORTS) \
  10773. CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
  10774. CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
  10775. LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
  10776. echo Configuring stage profile in $(HOST_SUBDIR)/mpfr ; \
  10777. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
  10778. cd $(HOST_SUBDIR)/mpfr || exit 1; \
  10779. case $(srcdir) in \
  10780. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  10781. *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
  10782. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  10783. esac; \
  10784. module_srcdir=mpfr; \
  10785. $(SHELL) $$s/$$module_srcdir/configure \
  10786. --srcdir=$${topdir}/$$module_srcdir \
  10787. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  10788. --target=${target_alias} \
  10789. --with-build-libsubdir=$(HOST_SUBDIR) \
  10790. $(STAGEprofile_CONFIGURE_FLAGS) \
  10791. --disable-shared @extra_mpfr_configure_flags@
  10792. @endif mpfr-bootstrap
  10793. .PHONY: configure-stagefeedback-mpfr maybe-configure-stagefeedback-mpfr
  10794. maybe-configure-stagefeedback-mpfr:
  10795. @if mpfr-bootstrap
  10796. maybe-configure-stagefeedback-mpfr: configure-stagefeedback-mpfr
  10797. configure-stagefeedback-mpfr:
  10798. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  10799. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr
  10800. @r=`${PWD_COMMAND}`; export r; \
  10801. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10802. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  10803. test ! -f $(HOST_SUBDIR)/mpfr/Makefile || exit 0; \
  10804. $(HOST_EXPORTS) \
  10805. $(POSTSTAGE1_HOST_EXPORTS) \
  10806. CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
  10807. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
  10808. LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
  10809. echo Configuring stage feedback in $(HOST_SUBDIR)/mpfr ; \
  10810. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpfr ; \
  10811. cd $(HOST_SUBDIR)/mpfr || exit 1; \
  10812. case $(srcdir) in \
  10813. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  10814. *) topdir=`echo $(HOST_SUBDIR)/mpfr/ | \
  10815. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  10816. esac; \
  10817. module_srcdir=mpfr; \
  10818. $(SHELL) $$s/$$module_srcdir/configure \
  10819. --srcdir=$${topdir}/$$module_srcdir \
  10820. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  10821. --target=${target_alias} \
  10822. --with-build-libsubdir=$(HOST_SUBDIR) \
  10823. $(STAGEfeedback_CONFIGURE_FLAGS) \
  10824. --disable-shared @extra_mpfr_configure_flags@
  10825. @endif mpfr-bootstrap
  10826. .PHONY: all-mpfr maybe-all-mpfr
  10827. maybe-all-mpfr:
  10828. @if gcc-bootstrap
  10829. all-mpfr: stage_current
  10830. @endif gcc-bootstrap
  10831. @if mpfr
  10832. TARGET-mpfr=all
  10833. maybe-all-mpfr: all-mpfr
  10834. all-mpfr: configure-mpfr
  10835. @r=`${PWD_COMMAND}`; export r; \
  10836. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10837. $(HOST_EXPORTS) \
  10838. (cd $(HOST_SUBDIR)/mpfr && \
  10839. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  10840. $(TARGET-mpfr))
  10841. @endif mpfr
  10842. .PHONY: all-stage1-mpfr maybe-all-stage1-mpfr
  10843. .PHONY: clean-stage1-mpfr maybe-clean-stage1-mpfr
  10844. maybe-all-stage1-mpfr:
  10845. maybe-clean-stage1-mpfr:
  10846. @if mpfr-bootstrap
  10847. maybe-all-stage1-mpfr: all-stage1-mpfr
  10848. all-stage1: all-stage1-mpfr
  10849. TARGET-stage1-mpfr = $(TARGET-mpfr)
  10850. all-stage1-mpfr: configure-stage1-mpfr
  10851. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  10852. @r=`${PWD_COMMAND}`; export r; \
  10853. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10854. TFLAGS="$(STAGE1_TFLAGS)"; \
  10855. $(HOST_EXPORTS) \
  10856. cd $(HOST_SUBDIR)/mpfr && \
  10857. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  10858. CFLAGS="$(STAGE1_CFLAGS)" \
  10859. CXXFLAGS="$(STAGE1_CXXFLAGS)" \
  10860. LIBCFLAGS="$(LIBCFLAGS)" \
  10861. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  10862. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  10863. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  10864. $(EXTRA_HOST_FLAGS) \
  10865. $(STAGE1_FLAGS_TO_PASS) \
  10866. TFLAGS="$(STAGE1_TFLAGS)" \
  10867. $(TARGET-stage1-mpfr)
  10868. maybe-clean-stage1-mpfr: clean-stage1-mpfr
  10869. clean-stage1: clean-stage1-mpfr
  10870. clean-stage1-mpfr:
  10871. @if [ $(current_stage) = stage1 ]; then \
  10872. [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
  10873. else \
  10874. [ -f $(HOST_SUBDIR)/stage1-mpfr/Makefile ] || exit 0; \
  10875. $(MAKE) stage1-start; \
  10876. fi; \
  10877. cd $(HOST_SUBDIR)/mpfr && \
  10878. $(MAKE) $(EXTRA_HOST_FLAGS) \
  10879. $(STAGE1_FLAGS_TO_PASS) clean
  10880. @endif mpfr-bootstrap
  10881. .PHONY: all-stage2-mpfr maybe-all-stage2-mpfr
  10882. .PHONY: clean-stage2-mpfr maybe-clean-stage2-mpfr
  10883. maybe-all-stage2-mpfr:
  10884. maybe-clean-stage2-mpfr:
  10885. @if mpfr-bootstrap
  10886. maybe-all-stage2-mpfr: all-stage2-mpfr
  10887. all-stage2: all-stage2-mpfr
  10888. TARGET-stage2-mpfr = $(TARGET-mpfr)
  10889. all-stage2-mpfr: configure-stage2-mpfr
  10890. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  10891. @r=`${PWD_COMMAND}`; export r; \
  10892. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10893. TFLAGS="$(STAGE2_TFLAGS)"; \
  10894. $(HOST_EXPORTS) \
  10895. $(POSTSTAGE1_HOST_EXPORTS) \
  10896. cd $(HOST_SUBDIR)/mpfr && \
  10897. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  10898. CFLAGS="$(STAGE2_CFLAGS)" \
  10899. CXXFLAGS="$(STAGE2_CXXFLAGS)" \
  10900. LIBCFLAGS="$(STAGE2_CFLAGS)" \
  10901. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  10902. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  10903. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  10904. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  10905. TFLAGS="$(STAGE2_TFLAGS)" \
  10906. $(TARGET-stage2-mpfr)
  10907. maybe-clean-stage2-mpfr: clean-stage2-mpfr
  10908. clean-stage2: clean-stage2-mpfr
  10909. clean-stage2-mpfr:
  10910. @if [ $(current_stage) = stage2 ]; then \
  10911. [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
  10912. else \
  10913. [ -f $(HOST_SUBDIR)/stage2-mpfr/Makefile ] || exit 0; \
  10914. $(MAKE) stage2-start; \
  10915. fi; \
  10916. cd $(HOST_SUBDIR)/mpfr && \
  10917. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  10918. @endif mpfr-bootstrap
  10919. .PHONY: all-stage3-mpfr maybe-all-stage3-mpfr
  10920. .PHONY: clean-stage3-mpfr maybe-clean-stage3-mpfr
  10921. maybe-all-stage3-mpfr:
  10922. maybe-clean-stage3-mpfr:
  10923. @if mpfr-bootstrap
  10924. maybe-all-stage3-mpfr: all-stage3-mpfr
  10925. all-stage3: all-stage3-mpfr
  10926. TARGET-stage3-mpfr = $(TARGET-mpfr)
  10927. all-stage3-mpfr: configure-stage3-mpfr
  10928. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  10929. @r=`${PWD_COMMAND}`; export r; \
  10930. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10931. TFLAGS="$(STAGE3_TFLAGS)"; \
  10932. $(HOST_EXPORTS) \
  10933. $(POSTSTAGE1_HOST_EXPORTS) \
  10934. cd $(HOST_SUBDIR)/mpfr && \
  10935. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  10936. CFLAGS="$(STAGE3_CFLAGS)" \
  10937. CXXFLAGS="$(STAGE3_CXXFLAGS)" \
  10938. LIBCFLAGS="$(STAGE3_CFLAGS)" \
  10939. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  10940. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  10941. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  10942. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  10943. TFLAGS="$(STAGE3_TFLAGS)" \
  10944. $(TARGET-stage3-mpfr)
  10945. maybe-clean-stage3-mpfr: clean-stage3-mpfr
  10946. clean-stage3: clean-stage3-mpfr
  10947. clean-stage3-mpfr:
  10948. @if [ $(current_stage) = stage3 ]; then \
  10949. [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
  10950. else \
  10951. [ -f $(HOST_SUBDIR)/stage3-mpfr/Makefile ] || exit 0; \
  10952. $(MAKE) stage3-start; \
  10953. fi; \
  10954. cd $(HOST_SUBDIR)/mpfr && \
  10955. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  10956. @endif mpfr-bootstrap
  10957. .PHONY: all-stage4-mpfr maybe-all-stage4-mpfr
  10958. .PHONY: clean-stage4-mpfr maybe-clean-stage4-mpfr
  10959. maybe-all-stage4-mpfr:
  10960. maybe-clean-stage4-mpfr:
  10961. @if mpfr-bootstrap
  10962. maybe-all-stage4-mpfr: all-stage4-mpfr
  10963. all-stage4: all-stage4-mpfr
  10964. TARGET-stage4-mpfr = $(TARGET-mpfr)
  10965. all-stage4-mpfr: configure-stage4-mpfr
  10966. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  10967. @r=`${PWD_COMMAND}`; export r; \
  10968. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  10969. TFLAGS="$(STAGE4_TFLAGS)"; \
  10970. $(HOST_EXPORTS) \
  10971. $(POSTSTAGE1_HOST_EXPORTS) \
  10972. cd $(HOST_SUBDIR)/mpfr && \
  10973. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  10974. CFLAGS="$(STAGE4_CFLAGS)" \
  10975. CXXFLAGS="$(STAGE4_CXXFLAGS)" \
  10976. LIBCFLAGS="$(STAGE4_CFLAGS)" \
  10977. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  10978. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  10979. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  10980. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  10981. TFLAGS="$(STAGE4_TFLAGS)" \
  10982. $(TARGET-stage4-mpfr)
  10983. maybe-clean-stage4-mpfr: clean-stage4-mpfr
  10984. clean-stage4: clean-stage4-mpfr
  10985. clean-stage4-mpfr:
  10986. @if [ $(current_stage) = stage4 ]; then \
  10987. [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
  10988. else \
  10989. [ -f $(HOST_SUBDIR)/stage4-mpfr/Makefile ] || exit 0; \
  10990. $(MAKE) stage4-start; \
  10991. fi; \
  10992. cd $(HOST_SUBDIR)/mpfr && \
  10993. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  10994. @endif mpfr-bootstrap
  10995. .PHONY: all-stageprofile-mpfr maybe-all-stageprofile-mpfr
  10996. .PHONY: clean-stageprofile-mpfr maybe-clean-stageprofile-mpfr
  10997. maybe-all-stageprofile-mpfr:
  10998. maybe-clean-stageprofile-mpfr:
  10999. @if mpfr-bootstrap
  11000. maybe-all-stageprofile-mpfr: all-stageprofile-mpfr
  11001. all-stageprofile: all-stageprofile-mpfr
  11002. TARGET-stageprofile-mpfr = $(TARGET-mpfr)
  11003. all-stageprofile-mpfr: configure-stageprofile-mpfr
  11004. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  11005. @r=`${PWD_COMMAND}`; export r; \
  11006. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11007. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  11008. $(HOST_EXPORTS) \
  11009. $(POSTSTAGE1_HOST_EXPORTS) \
  11010. cd $(HOST_SUBDIR)/mpfr && \
  11011. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  11012. CFLAGS="$(STAGEprofile_CFLAGS)" \
  11013. CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
  11014. LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
  11015. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  11016. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  11017. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  11018. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  11019. TFLAGS="$(STAGEprofile_TFLAGS)" \
  11020. $(TARGET-stageprofile-mpfr)
  11021. maybe-clean-stageprofile-mpfr: clean-stageprofile-mpfr
  11022. clean-stageprofile: clean-stageprofile-mpfr
  11023. clean-stageprofile-mpfr:
  11024. @if [ $(current_stage) = stageprofile ]; then \
  11025. [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
  11026. else \
  11027. [ -f $(HOST_SUBDIR)/stageprofile-mpfr/Makefile ] || exit 0; \
  11028. $(MAKE) stageprofile-start; \
  11029. fi; \
  11030. cd $(HOST_SUBDIR)/mpfr && \
  11031. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  11032. @endif mpfr-bootstrap
  11033. .PHONY: all-stagefeedback-mpfr maybe-all-stagefeedback-mpfr
  11034. .PHONY: clean-stagefeedback-mpfr maybe-clean-stagefeedback-mpfr
  11035. maybe-all-stagefeedback-mpfr:
  11036. maybe-clean-stagefeedback-mpfr:
  11037. @if mpfr-bootstrap
  11038. maybe-all-stagefeedback-mpfr: all-stagefeedback-mpfr
  11039. all-stagefeedback: all-stagefeedback-mpfr
  11040. TARGET-stagefeedback-mpfr = $(TARGET-mpfr)
  11041. all-stagefeedback-mpfr: configure-stagefeedback-mpfr
  11042. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  11043. @r=`${PWD_COMMAND}`; export r; \
  11044. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11045. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  11046. $(HOST_EXPORTS) \
  11047. $(POSTSTAGE1_HOST_EXPORTS) \
  11048. cd $(HOST_SUBDIR)/mpfr && \
  11049. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  11050. CFLAGS="$(STAGEfeedback_CFLAGS)" \
  11051. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
  11052. LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
  11053. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  11054. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  11055. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  11056. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  11057. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  11058. $(TARGET-stagefeedback-mpfr)
  11059. maybe-clean-stagefeedback-mpfr: clean-stagefeedback-mpfr
  11060. clean-stagefeedback: clean-stagefeedback-mpfr
  11061. clean-stagefeedback-mpfr:
  11062. @if [ $(current_stage) = stagefeedback ]; then \
  11063. [ -f $(HOST_SUBDIR)/mpfr/Makefile ] || exit 0; \
  11064. else \
  11065. [ -f $(HOST_SUBDIR)/stagefeedback-mpfr/Makefile ] || exit 0; \
  11066. $(MAKE) stagefeedback-start; \
  11067. fi; \
  11068. cd $(HOST_SUBDIR)/mpfr && \
  11069. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  11070. @endif mpfr-bootstrap
  11071. .PHONY: check-mpfr maybe-check-mpfr
  11072. maybe-check-mpfr:
  11073. @if mpfr
  11074. maybe-check-mpfr: check-mpfr
  11075. check-mpfr:
  11076. @: $(MAKE); $(unstage)
  11077. @r=`${PWD_COMMAND}`; export r; \
  11078. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11079. $(HOST_EXPORTS) \
  11080. (cd $(HOST_SUBDIR)/mpfr && \
  11081. $(MAKE) $(FLAGS_TO_PASS) check)
  11082. @endif mpfr
  11083. .PHONY: install-mpfr maybe-install-mpfr
  11084. maybe-install-mpfr:
  11085. @if mpfr
  11086. maybe-install-mpfr: install-mpfr
  11087. install-mpfr:
  11088. @endif mpfr
  11089. .PHONY: install-strip-mpfr maybe-install-strip-mpfr
  11090. maybe-install-strip-mpfr:
  11091. @if mpfr
  11092. maybe-install-strip-mpfr: install-strip-mpfr
  11093. install-strip-mpfr:
  11094. @endif mpfr
  11095. # Other targets (info, dvi, pdf, etc.)
  11096. .PHONY: maybe-info-mpfr info-mpfr
  11097. maybe-info-mpfr:
  11098. @if mpfr
  11099. maybe-info-mpfr: info-mpfr
  11100. info-mpfr: \
  11101. configure-mpfr
  11102. @[ -f ./mpfr/Makefile ] || exit 0; \
  11103. r=`${PWD_COMMAND}`; export r; \
  11104. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11105. $(HOST_EXPORTS) \
  11106. for flag in $(EXTRA_HOST_FLAGS) ; do \
  11107. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  11108. done; \
  11109. echo "Doing info in mpfr" ; \
  11110. (cd $(HOST_SUBDIR)/mpfr && \
  11111. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  11112. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  11113. "RANLIB=$${RANLIB}" \
  11114. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  11115. info) \
  11116. || exit 1
  11117. @endif mpfr
  11118. .PHONY: maybe-dvi-mpfr dvi-mpfr
  11119. maybe-dvi-mpfr:
  11120. @if mpfr
  11121. maybe-dvi-mpfr: dvi-mpfr
  11122. dvi-mpfr: \
  11123. configure-mpfr
  11124. @[ -f ./mpfr/Makefile ] || exit 0; \
  11125. r=`${PWD_COMMAND}`; export r; \
  11126. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11127. $(HOST_EXPORTS) \
  11128. for flag in $(EXTRA_HOST_FLAGS) ; do \
  11129. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  11130. done; \
  11131. echo "Doing dvi in mpfr" ; \
  11132. (cd $(HOST_SUBDIR)/mpfr && \
  11133. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  11134. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  11135. "RANLIB=$${RANLIB}" \
  11136. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  11137. dvi) \
  11138. || exit 1
  11139. @endif mpfr
  11140. .PHONY: maybe-pdf-mpfr pdf-mpfr
  11141. maybe-pdf-mpfr:
  11142. @if mpfr
  11143. maybe-pdf-mpfr: pdf-mpfr
  11144. pdf-mpfr: \
  11145. configure-mpfr
  11146. @[ -f ./mpfr/Makefile ] || exit 0; \
  11147. r=`${PWD_COMMAND}`; export r; \
  11148. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11149. $(HOST_EXPORTS) \
  11150. for flag in $(EXTRA_HOST_FLAGS) ; do \
  11151. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  11152. done; \
  11153. echo "Doing pdf in mpfr" ; \
  11154. (cd $(HOST_SUBDIR)/mpfr && \
  11155. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  11156. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  11157. "RANLIB=$${RANLIB}" \
  11158. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  11159. pdf) \
  11160. || exit 1
  11161. @endif mpfr
  11162. .PHONY: maybe-html-mpfr html-mpfr
  11163. maybe-html-mpfr:
  11164. @if mpfr
  11165. maybe-html-mpfr: html-mpfr
  11166. html-mpfr: \
  11167. configure-mpfr
  11168. @[ -f ./mpfr/Makefile ] || exit 0; \
  11169. r=`${PWD_COMMAND}`; export r; \
  11170. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11171. $(HOST_EXPORTS) \
  11172. for flag in $(EXTRA_HOST_FLAGS) ; do \
  11173. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  11174. done; \
  11175. echo "Doing html in mpfr" ; \
  11176. (cd $(HOST_SUBDIR)/mpfr && \
  11177. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  11178. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  11179. "RANLIB=$${RANLIB}" \
  11180. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  11181. html) \
  11182. || exit 1
  11183. @endif mpfr
  11184. .PHONY: maybe-TAGS-mpfr TAGS-mpfr
  11185. maybe-TAGS-mpfr:
  11186. @if mpfr
  11187. maybe-TAGS-mpfr: TAGS-mpfr
  11188. TAGS-mpfr: \
  11189. configure-mpfr
  11190. @[ -f ./mpfr/Makefile ] || exit 0; \
  11191. r=`${PWD_COMMAND}`; export r; \
  11192. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11193. $(HOST_EXPORTS) \
  11194. for flag in $(EXTRA_HOST_FLAGS) ; do \
  11195. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  11196. done; \
  11197. echo "Doing TAGS in mpfr" ; \
  11198. (cd $(HOST_SUBDIR)/mpfr && \
  11199. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  11200. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  11201. "RANLIB=$${RANLIB}" \
  11202. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  11203. TAGS) \
  11204. || exit 1
  11205. @endif mpfr
  11206. .PHONY: maybe-install-info-mpfr install-info-mpfr
  11207. maybe-install-info-mpfr:
  11208. @if mpfr
  11209. maybe-install-info-mpfr: install-info-mpfr
  11210. install-info-mpfr: \
  11211. configure-mpfr \
  11212. info-mpfr
  11213. @[ -f ./mpfr/Makefile ] || exit 0; \
  11214. r=`${PWD_COMMAND}`; export r; \
  11215. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11216. $(HOST_EXPORTS) \
  11217. for flag in $(EXTRA_HOST_FLAGS) ; do \
  11218. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  11219. done; \
  11220. echo "Doing install-info in mpfr" ; \
  11221. (cd $(HOST_SUBDIR)/mpfr && \
  11222. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  11223. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  11224. "RANLIB=$${RANLIB}" \
  11225. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  11226. install-info) \
  11227. || exit 1
  11228. @endif mpfr
  11229. .PHONY: maybe-install-pdf-mpfr install-pdf-mpfr
  11230. maybe-install-pdf-mpfr:
  11231. @if mpfr
  11232. maybe-install-pdf-mpfr: install-pdf-mpfr
  11233. install-pdf-mpfr: \
  11234. configure-mpfr \
  11235. pdf-mpfr
  11236. @[ -f ./mpfr/Makefile ] || exit 0; \
  11237. r=`${PWD_COMMAND}`; export r; \
  11238. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11239. $(HOST_EXPORTS) \
  11240. for flag in $(EXTRA_HOST_FLAGS) ; do \
  11241. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  11242. done; \
  11243. echo "Doing install-pdf in mpfr" ; \
  11244. (cd $(HOST_SUBDIR)/mpfr && \
  11245. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  11246. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  11247. "RANLIB=$${RANLIB}" \
  11248. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  11249. install-pdf) \
  11250. || exit 1
  11251. @endif mpfr
  11252. .PHONY: maybe-install-html-mpfr install-html-mpfr
  11253. maybe-install-html-mpfr:
  11254. @if mpfr
  11255. maybe-install-html-mpfr: install-html-mpfr
  11256. install-html-mpfr: \
  11257. configure-mpfr \
  11258. html-mpfr
  11259. @[ -f ./mpfr/Makefile ] || exit 0; \
  11260. r=`${PWD_COMMAND}`; export r; \
  11261. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11262. $(HOST_EXPORTS) \
  11263. for flag in $(EXTRA_HOST_FLAGS) ; do \
  11264. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  11265. done; \
  11266. echo "Doing install-html in mpfr" ; \
  11267. (cd $(HOST_SUBDIR)/mpfr && \
  11268. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  11269. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  11270. "RANLIB=$${RANLIB}" \
  11271. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  11272. install-html) \
  11273. || exit 1
  11274. @endif mpfr
  11275. .PHONY: maybe-installcheck-mpfr installcheck-mpfr
  11276. maybe-installcheck-mpfr:
  11277. @if mpfr
  11278. maybe-installcheck-mpfr: installcheck-mpfr
  11279. installcheck-mpfr: \
  11280. configure-mpfr
  11281. @[ -f ./mpfr/Makefile ] || exit 0; \
  11282. r=`${PWD_COMMAND}`; export r; \
  11283. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11284. $(HOST_EXPORTS) \
  11285. for flag in $(EXTRA_HOST_FLAGS) ; do \
  11286. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  11287. done; \
  11288. echo "Doing installcheck in mpfr" ; \
  11289. (cd $(HOST_SUBDIR)/mpfr && \
  11290. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  11291. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  11292. "RANLIB=$${RANLIB}" \
  11293. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  11294. installcheck) \
  11295. || exit 1
  11296. @endif mpfr
  11297. .PHONY: maybe-mostlyclean-mpfr mostlyclean-mpfr
  11298. maybe-mostlyclean-mpfr:
  11299. @if mpfr
  11300. maybe-mostlyclean-mpfr: mostlyclean-mpfr
  11301. mostlyclean-mpfr:
  11302. @[ -f ./mpfr/Makefile ] || exit 0; \
  11303. r=`${PWD_COMMAND}`; export r; \
  11304. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11305. $(HOST_EXPORTS) \
  11306. for flag in $(EXTRA_HOST_FLAGS) ; do \
  11307. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  11308. done; \
  11309. echo "Doing mostlyclean in mpfr" ; \
  11310. (cd $(HOST_SUBDIR)/mpfr && \
  11311. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  11312. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  11313. "RANLIB=$${RANLIB}" \
  11314. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  11315. mostlyclean) \
  11316. || exit 1
  11317. @endif mpfr
  11318. .PHONY: maybe-clean-mpfr clean-mpfr
  11319. maybe-clean-mpfr:
  11320. @if mpfr
  11321. maybe-clean-mpfr: clean-mpfr
  11322. clean-mpfr:
  11323. @[ -f ./mpfr/Makefile ] || exit 0; \
  11324. r=`${PWD_COMMAND}`; export r; \
  11325. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11326. $(HOST_EXPORTS) \
  11327. for flag in $(EXTRA_HOST_FLAGS) ; do \
  11328. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  11329. done; \
  11330. echo "Doing clean in mpfr" ; \
  11331. (cd $(HOST_SUBDIR)/mpfr && \
  11332. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  11333. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  11334. "RANLIB=$${RANLIB}" \
  11335. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  11336. clean) \
  11337. || exit 1
  11338. @endif mpfr
  11339. .PHONY: maybe-distclean-mpfr distclean-mpfr
  11340. maybe-distclean-mpfr:
  11341. @if mpfr
  11342. maybe-distclean-mpfr: distclean-mpfr
  11343. distclean-mpfr:
  11344. @[ -f ./mpfr/Makefile ] || exit 0; \
  11345. r=`${PWD_COMMAND}`; export r; \
  11346. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11347. $(HOST_EXPORTS) \
  11348. for flag in $(EXTRA_HOST_FLAGS) ; do \
  11349. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  11350. done; \
  11351. echo "Doing distclean in mpfr" ; \
  11352. (cd $(HOST_SUBDIR)/mpfr && \
  11353. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  11354. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  11355. "RANLIB=$${RANLIB}" \
  11356. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  11357. distclean) \
  11358. || exit 1
  11359. @endif mpfr
  11360. .PHONY: maybe-maintainer-clean-mpfr maintainer-clean-mpfr
  11361. maybe-maintainer-clean-mpfr:
  11362. @if mpfr
  11363. maybe-maintainer-clean-mpfr: maintainer-clean-mpfr
  11364. maintainer-clean-mpfr:
  11365. @[ -f ./mpfr/Makefile ] || exit 0; \
  11366. r=`${PWD_COMMAND}`; export r; \
  11367. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11368. $(HOST_EXPORTS) \
  11369. for flag in $(EXTRA_HOST_FLAGS) ; do \
  11370. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  11371. done; \
  11372. echo "Doing maintainer-clean in mpfr" ; \
  11373. (cd $(HOST_SUBDIR)/mpfr && \
  11374. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  11375. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  11376. "RANLIB=$${RANLIB}" \
  11377. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  11378. maintainer-clean) \
  11379. || exit 1
  11380. @endif mpfr
  11381. .PHONY: configure-mpc maybe-configure-mpc
  11382. maybe-configure-mpc:
  11383. @if gcc-bootstrap
  11384. configure-mpc: stage_current
  11385. @endif gcc-bootstrap
  11386. @if mpc
  11387. maybe-configure-mpc: configure-mpc
  11388. configure-mpc:
  11389. @r=`${PWD_COMMAND}`; export r; \
  11390. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11391. test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
  11392. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
  11393. $(HOST_EXPORTS) \
  11394. echo Configuring in $(HOST_SUBDIR)/mpc; \
  11395. cd "$(HOST_SUBDIR)/mpc" || exit 1; \
  11396. case $(srcdir) in \
  11397. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  11398. *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
  11399. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  11400. esac; \
  11401. module_srcdir=mpc; \
  11402. $(SHELL) \
  11403. $$s/$$module_srcdir/configure \
  11404. --srcdir=$${topdir}/$$module_srcdir \
  11405. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  11406. --target=${target_alias} --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@ \
  11407. || exit 1
  11408. @endif mpc
  11409. .PHONY: configure-stage1-mpc maybe-configure-stage1-mpc
  11410. maybe-configure-stage1-mpc:
  11411. @if mpc-bootstrap
  11412. maybe-configure-stage1-mpc: configure-stage1-mpc
  11413. configure-stage1-mpc:
  11414. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  11415. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
  11416. @r=`${PWD_COMMAND}`; export r; \
  11417. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11418. TFLAGS="$(STAGE1_TFLAGS)"; \
  11419. test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
  11420. $(HOST_EXPORTS) \
  11421. CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
  11422. CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
  11423. LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
  11424. echo Configuring stage 1 in $(HOST_SUBDIR)/mpc ; \
  11425. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
  11426. cd $(HOST_SUBDIR)/mpc || exit 1; \
  11427. case $(srcdir) in \
  11428. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  11429. *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
  11430. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  11431. esac; \
  11432. module_srcdir=mpc; \
  11433. $(SHELL) $$s/$$module_srcdir/configure \
  11434. --srcdir=$${topdir}/$$module_srcdir \
  11435. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  11436. --target=${target_alias} \
  11437. \
  11438. $(STAGE1_CONFIGURE_FLAGS) \
  11439. --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
  11440. @endif mpc-bootstrap
  11441. .PHONY: configure-stage2-mpc maybe-configure-stage2-mpc
  11442. maybe-configure-stage2-mpc:
  11443. @if mpc-bootstrap
  11444. maybe-configure-stage2-mpc: configure-stage2-mpc
  11445. configure-stage2-mpc:
  11446. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  11447. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
  11448. @r=`${PWD_COMMAND}`; export r; \
  11449. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11450. TFLAGS="$(STAGE2_TFLAGS)"; \
  11451. test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
  11452. $(HOST_EXPORTS) \
  11453. $(POSTSTAGE1_HOST_EXPORTS) \
  11454. CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
  11455. CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
  11456. LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
  11457. echo Configuring stage 2 in $(HOST_SUBDIR)/mpc ; \
  11458. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
  11459. cd $(HOST_SUBDIR)/mpc || exit 1; \
  11460. case $(srcdir) in \
  11461. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  11462. *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
  11463. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  11464. esac; \
  11465. module_srcdir=mpc; \
  11466. $(SHELL) $$s/$$module_srcdir/configure \
  11467. --srcdir=$${topdir}/$$module_srcdir \
  11468. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  11469. --target=${target_alias} \
  11470. --with-build-libsubdir=$(HOST_SUBDIR) \
  11471. $(STAGE2_CONFIGURE_FLAGS) \
  11472. --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
  11473. @endif mpc-bootstrap
  11474. .PHONY: configure-stage3-mpc maybe-configure-stage3-mpc
  11475. maybe-configure-stage3-mpc:
  11476. @if mpc-bootstrap
  11477. maybe-configure-stage3-mpc: configure-stage3-mpc
  11478. configure-stage3-mpc:
  11479. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  11480. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
  11481. @r=`${PWD_COMMAND}`; export r; \
  11482. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11483. TFLAGS="$(STAGE3_TFLAGS)"; \
  11484. test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
  11485. $(HOST_EXPORTS) \
  11486. $(POSTSTAGE1_HOST_EXPORTS) \
  11487. CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
  11488. CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
  11489. LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
  11490. echo Configuring stage 3 in $(HOST_SUBDIR)/mpc ; \
  11491. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
  11492. cd $(HOST_SUBDIR)/mpc || exit 1; \
  11493. case $(srcdir) in \
  11494. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  11495. *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
  11496. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  11497. esac; \
  11498. module_srcdir=mpc; \
  11499. $(SHELL) $$s/$$module_srcdir/configure \
  11500. --srcdir=$${topdir}/$$module_srcdir \
  11501. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  11502. --target=${target_alias} \
  11503. --with-build-libsubdir=$(HOST_SUBDIR) \
  11504. $(STAGE3_CONFIGURE_FLAGS) \
  11505. --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
  11506. @endif mpc-bootstrap
  11507. .PHONY: configure-stage4-mpc maybe-configure-stage4-mpc
  11508. maybe-configure-stage4-mpc:
  11509. @if mpc-bootstrap
  11510. maybe-configure-stage4-mpc: configure-stage4-mpc
  11511. configure-stage4-mpc:
  11512. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  11513. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
  11514. @r=`${PWD_COMMAND}`; export r; \
  11515. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11516. TFLAGS="$(STAGE4_TFLAGS)"; \
  11517. test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
  11518. $(HOST_EXPORTS) \
  11519. $(POSTSTAGE1_HOST_EXPORTS) \
  11520. CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
  11521. CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
  11522. LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
  11523. echo Configuring stage 4 in $(HOST_SUBDIR)/mpc ; \
  11524. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
  11525. cd $(HOST_SUBDIR)/mpc || exit 1; \
  11526. case $(srcdir) in \
  11527. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  11528. *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
  11529. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  11530. esac; \
  11531. module_srcdir=mpc; \
  11532. $(SHELL) $$s/$$module_srcdir/configure \
  11533. --srcdir=$${topdir}/$$module_srcdir \
  11534. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  11535. --target=${target_alias} \
  11536. --with-build-libsubdir=$(HOST_SUBDIR) \
  11537. $(STAGE4_CONFIGURE_FLAGS) \
  11538. --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
  11539. @endif mpc-bootstrap
  11540. .PHONY: configure-stageprofile-mpc maybe-configure-stageprofile-mpc
  11541. maybe-configure-stageprofile-mpc:
  11542. @if mpc-bootstrap
  11543. maybe-configure-stageprofile-mpc: configure-stageprofile-mpc
  11544. configure-stageprofile-mpc:
  11545. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  11546. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
  11547. @r=`${PWD_COMMAND}`; export r; \
  11548. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11549. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  11550. test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
  11551. $(HOST_EXPORTS) \
  11552. $(POSTSTAGE1_HOST_EXPORTS) \
  11553. CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
  11554. CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
  11555. LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
  11556. echo Configuring stage profile in $(HOST_SUBDIR)/mpc ; \
  11557. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
  11558. cd $(HOST_SUBDIR)/mpc || exit 1; \
  11559. case $(srcdir) in \
  11560. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  11561. *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
  11562. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  11563. esac; \
  11564. module_srcdir=mpc; \
  11565. $(SHELL) $$s/$$module_srcdir/configure \
  11566. --srcdir=$${topdir}/$$module_srcdir \
  11567. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  11568. --target=${target_alias} \
  11569. --with-build-libsubdir=$(HOST_SUBDIR) \
  11570. $(STAGEprofile_CONFIGURE_FLAGS) \
  11571. --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
  11572. @endif mpc-bootstrap
  11573. .PHONY: configure-stagefeedback-mpc maybe-configure-stagefeedback-mpc
  11574. maybe-configure-stagefeedback-mpc:
  11575. @if mpc-bootstrap
  11576. maybe-configure-stagefeedback-mpc: configure-stagefeedback-mpc
  11577. configure-stagefeedback-mpc:
  11578. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  11579. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc
  11580. @r=`${PWD_COMMAND}`; export r; \
  11581. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11582. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  11583. test ! -f $(HOST_SUBDIR)/mpc/Makefile || exit 0; \
  11584. $(HOST_EXPORTS) \
  11585. $(POSTSTAGE1_HOST_EXPORTS) \
  11586. CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
  11587. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
  11588. LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
  11589. echo Configuring stage feedback in $(HOST_SUBDIR)/mpc ; \
  11590. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mpc ; \
  11591. cd $(HOST_SUBDIR)/mpc || exit 1; \
  11592. case $(srcdir) in \
  11593. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  11594. *) topdir=`echo $(HOST_SUBDIR)/mpc/ | \
  11595. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  11596. esac; \
  11597. module_srcdir=mpc; \
  11598. $(SHELL) $$s/$$module_srcdir/configure \
  11599. --srcdir=$${topdir}/$$module_srcdir \
  11600. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  11601. --target=${target_alias} \
  11602. --with-build-libsubdir=$(HOST_SUBDIR) \
  11603. $(STAGEfeedback_CONFIGURE_FLAGS) \
  11604. --disable-shared @extra_mpc_gmp_configure_flags@ @extra_mpc_mpfr_configure_flags@
  11605. @endif mpc-bootstrap
  11606. .PHONY: all-mpc maybe-all-mpc
  11607. maybe-all-mpc:
  11608. @if gcc-bootstrap
  11609. all-mpc: stage_current
  11610. @endif gcc-bootstrap
  11611. @if mpc
  11612. TARGET-mpc=all
  11613. maybe-all-mpc: all-mpc
  11614. all-mpc: configure-mpc
  11615. @r=`${PWD_COMMAND}`; export r; \
  11616. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11617. $(HOST_EXPORTS) \
  11618. (cd $(HOST_SUBDIR)/mpc && \
  11619. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  11620. $(TARGET-mpc))
  11621. @endif mpc
  11622. .PHONY: all-stage1-mpc maybe-all-stage1-mpc
  11623. .PHONY: clean-stage1-mpc maybe-clean-stage1-mpc
  11624. maybe-all-stage1-mpc:
  11625. maybe-clean-stage1-mpc:
  11626. @if mpc-bootstrap
  11627. maybe-all-stage1-mpc: all-stage1-mpc
  11628. all-stage1: all-stage1-mpc
  11629. TARGET-stage1-mpc = $(TARGET-mpc)
  11630. all-stage1-mpc: configure-stage1-mpc
  11631. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  11632. @r=`${PWD_COMMAND}`; export r; \
  11633. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11634. TFLAGS="$(STAGE1_TFLAGS)"; \
  11635. $(HOST_EXPORTS) \
  11636. cd $(HOST_SUBDIR)/mpc && \
  11637. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  11638. CFLAGS="$(STAGE1_CFLAGS)" \
  11639. CXXFLAGS="$(STAGE1_CXXFLAGS)" \
  11640. LIBCFLAGS="$(LIBCFLAGS)" \
  11641. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  11642. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  11643. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  11644. $(EXTRA_HOST_FLAGS) \
  11645. $(STAGE1_FLAGS_TO_PASS) \
  11646. TFLAGS="$(STAGE1_TFLAGS)" \
  11647. $(TARGET-stage1-mpc)
  11648. maybe-clean-stage1-mpc: clean-stage1-mpc
  11649. clean-stage1: clean-stage1-mpc
  11650. clean-stage1-mpc:
  11651. @if [ $(current_stage) = stage1 ]; then \
  11652. [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
  11653. else \
  11654. [ -f $(HOST_SUBDIR)/stage1-mpc/Makefile ] || exit 0; \
  11655. $(MAKE) stage1-start; \
  11656. fi; \
  11657. cd $(HOST_SUBDIR)/mpc && \
  11658. $(MAKE) $(EXTRA_HOST_FLAGS) \
  11659. $(STAGE1_FLAGS_TO_PASS) clean
  11660. @endif mpc-bootstrap
  11661. .PHONY: all-stage2-mpc maybe-all-stage2-mpc
  11662. .PHONY: clean-stage2-mpc maybe-clean-stage2-mpc
  11663. maybe-all-stage2-mpc:
  11664. maybe-clean-stage2-mpc:
  11665. @if mpc-bootstrap
  11666. maybe-all-stage2-mpc: all-stage2-mpc
  11667. all-stage2: all-stage2-mpc
  11668. TARGET-stage2-mpc = $(TARGET-mpc)
  11669. all-stage2-mpc: configure-stage2-mpc
  11670. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  11671. @r=`${PWD_COMMAND}`; export r; \
  11672. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11673. TFLAGS="$(STAGE2_TFLAGS)"; \
  11674. $(HOST_EXPORTS) \
  11675. $(POSTSTAGE1_HOST_EXPORTS) \
  11676. cd $(HOST_SUBDIR)/mpc && \
  11677. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  11678. CFLAGS="$(STAGE2_CFLAGS)" \
  11679. CXXFLAGS="$(STAGE2_CXXFLAGS)" \
  11680. LIBCFLAGS="$(STAGE2_CFLAGS)" \
  11681. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  11682. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  11683. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  11684. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  11685. TFLAGS="$(STAGE2_TFLAGS)" \
  11686. $(TARGET-stage2-mpc)
  11687. maybe-clean-stage2-mpc: clean-stage2-mpc
  11688. clean-stage2: clean-stage2-mpc
  11689. clean-stage2-mpc:
  11690. @if [ $(current_stage) = stage2 ]; then \
  11691. [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
  11692. else \
  11693. [ -f $(HOST_SUBDIR)/stage2-mpc/Makefile ] || exit 0; \
  11694. $(MAKE) stage2-start; \
  11695. fi; \
  11696. cd $(HOST_SUBDIR)/mpc && \
  11697. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  11698. @endif mpc-bootstrap
  11699. .PHONY: all-stage3-mpc maybe-all-stage3-mpc
  11700. .PHONY: clean-stage3-mpc maybe-clean-stage3-mpc
  11701. maybe-all-stage3-mpc:
  11702. maybe-clean-stage3-mpc:
  11703. @if mpc-bootstrap
  11704. maybe-all-stage3-mpc: all-stage3-mpc
  11705. all-stage3: all-stage3-mpc
  11706. TARGET-stage3-mpc = $(TARGET-mpc)
  11707. all-stage3-mpc: configure-stage3-mpc
  11708. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  11709. @r=`${PWD_COMMAND}`; export r; \
  11710. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11711. TFLAGS="$(STAGE3_TFLAGS)"; \
  11712. $(HOST_EXPORTS) \
  11713. $(POSTSTAGE1_HOST_EXPORTS) \
  11714. cd $(HOST_SUBDIR)/mpc && \
  11715. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  11716. CFLAGS="$(STAGE3_CFLAGS)" \
  11717. CXXFLAGS="$(STAGE3_CXXFLAGS)" \
  11718. LIBCFLAGS="$(STAGE3_CFLAGS)" \
  11719. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  11720. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  11721. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  11722. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  11723. TFLAGS="$(STAGE3_TFLAGS)" \
  11724. $(TARGET-stage3-mpc)
  11725. maybe-clean-stage3-mpc: clean-stage3-mpc
  11726. clean-stage3: clean-stage3-mpc
  11727. clean-stage3-mpc:
  11728. @if [ $(current_stage) = stage3 ]; then \
  11729. [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
  11730. else \
  11731. [ -f $(HOST_SUBDIR)/stage3-mpc/Makefile ] || exit 0; \
  11732. $(MAKE) stage3-start; \
  11733. fi; \
  11734. cd $(HOST_SUBDIR)/mpc && \
  11735. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  11736. @endif mpc-bootstrap
  11737. .PHONY: all-stage4-mpc maybe-all-stage4-mpc
  11738. .PHONY: clean-stage4-mpc maybe-clean-stage4-mpc
  11739. maybe-all-stage4-mpc:
  11740. maybe-clean-stage4-mpc:
  11741. @if mpc-bootstrap
  11742. maybe-all-stage4-mpc: all-stage4-mpc
  11743. all-stage4: all-stage4-mpc
  11744. TARGET-stage4-mpc = $(TARGET-mpc)
  11745. all-stage4-mpc: configure-stage4-mpc
  11746. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  11747. @r=`${PWD_COMMAND}`; export r; \
  11748. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11749. TFLAGS="$(STAGE4_TFLAGS)"; \
  11750. $(HOST_EXPORTS) \
  11751. $(POSTSTAGE1_HOST_EXPORTS) \
  11752. cd $(HOST_SUBDIR)/mpc && \
  11753. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  11754. CFLAGS="$(STAGE4_CFLAGS)" \
  11755. CXXFLAGS="$(STAGE4_CXXFLAGS)" \
  11756. LIBCFLAGS="$(STAGE4_CFLAGS)" \
  11757. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  11758. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  11759. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  11760. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  11761. TFLAGS="$(STAGE4_TFLAGS)" \
  11762. $(TARGET-stage4-mpc)
  11763. maybe-clean-stage4-mpc: clean-stage4-mpc
  11764. clean-stage4: clean-stage4-mpc
  11765. clean-stage4-mpc:
  11766. @if [ $(current_stage) = stage4 ]; then \
  11767. [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
  11768. else \
  11769. [ -f $(HOST_SUBDIR)/stage4-mpc/Makefile ] || exit 0; \
  11770. $(MAKE) stage4-start; \
  11771. fi; \
  11772. cd $(HOST_SUBDIR)/mpc && \
  11773. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  11774. @endif mpc-bootstrap
  11775. .PHONY: all-stageprofile-mpc maybe-all-stageprofile-mpc
  11776. .PHONY: clean-stageprofile-mpc maybe-clean-stageprofile-mpc
  11777. maybe-all-stageprofile-mpc:
  11778. maybe-clean-stageprofile-mpc:
  11779. @if mpc-bootstrap
  11780. maybe-all-stageprofile-mpc: all-stageprofile-mpc
  11781. all-stageprofile: all-stageprofile-mpc
  11782. TARGET-stageprofile-mpc = $(TARGET-mpc)
  11783. all-stageprofile-mpc: configure-stageprofile-mpc
  11784. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  11785. @r=`${PWD_COMMAND}`; export r; \
  11786. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11787. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  11788. $(HOST_EXPORTS) \
  11789. $(POSTSTAGE1_HOST_EXPORTS) \
  11790. cd $(HOST_SUBDIR)/mpc && \
  11791. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  11792. CFLAGS="$(STAGEprofile_CFLAGS)" \
  11793. CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
  11794. LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
  11795. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  11796. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  11797. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  11798. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  11799. TFLAGS="$(STAGEprofile_TFLAGS)" \
  11800. $(TARGET-stageprofile-mpc)
  11801. maybe-clean-stageprofile-mpc: clean-stageprofile-mpc
  11802. clean-stageprofile: clean-stageprofile-mpc
  11803. clean-stageprofile-mpc:
  11804. @if [ $(current_stage) = stageprofile ]; then \
  11805. [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
  11806. else \
  11807. [ -f $(HOST_SUBDIR)/stageprofile-mpc/Makefile ] || exit 0; \
  11808. $(MAKE) stageprofile-start; \
  11809. fi; \
  11810. cd $(HOST_SUBDIR)/mpc && \
  11811. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  11812. @endif mpc-bootstrap
  11813. .PHONY: all-stagefeedback-mpc maybe-all-stagefeedback-mpc
  11814. .PHONY: clean-stagefeedback-mpc maybe-clean-stagefeedback-mpc
  11815. maybe-all-stagefeedback-mpc:
  11816. maybe-clean-stagefeedback-mpc:
  11817. @if mpc-bootstrap
  11818. maybe-all-stagefeedback-mpc: all-stagefeedback-mpc
  11819. all-stagefeedback: all-stagefeedback-mpc
  11820. TARGET-stagefeedback-mpc = $(TARGET-mpc)
  11821. all-stagefeedback-mpc: configure-stagefeedback-mpc
  11822. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  11823. @r=`${PWD_COMMAND}`; export r; \
  11824. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11825. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  11826. $(HOST_EXPORTS) \
  11827. $(POSTSTAGE1_HOST_EXPORTS) \
  11828. cd $(HOST_SUBDIR)/mpc && \
  11829. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  11830. CFLAGS="$(STAGEfeedback_CFLAGS)" \
  11831. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
  11832. LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
  11833. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  11834. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  11835. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  11836. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  11837. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  11838. $(TARGET-stagefeedback-mpc)
  11839. maybe-clean-stagefeedback-mpc: clean-stagefeedback-mpc
  11840. clean-stagefeedback: clean-stagefeedback-mpc
  11841. clean-stagefeedback-mpc:
  11842. @if [ $(current_stage) = stagefeedback ]; then \
  11843. [ -f $(HOST_SUBDIR)/mpc/Makefile ] || exit 0; \
  11844. else \
  11845. [ -f $(HOST_SUBDIR)/stagefeedback-mpc/Makefile ] || exit 0; \
  11846. $(MAKE) stagefeedback-start; \
  11847. fi; \
  11848. cd $(HOST_SUBDIR)/mpc && \
  11849. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  11850. @endif mpc-bootstrap
  11851. .PHONY: check-mpc maybe-check-mpc
  11852. maybe-check-mpc:
  11853. @if mpc
  11854. maybe-check-mpc: check-mpc
  11855. check-mpc:
  11856. @: $(MAKE); $(unstage)
  11857. @r=`${PWD_COMMAND}`; export r; \
  11858. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11859. $(HOST_EXPORTS) \
  11860. (cd $(HOST_SUBDIR)/mpc && \
  11861. $(MAKE) $(FLAGS_TO_PASS) check)
  11862. @endif mpc
  11863. .PHONY: install-mpc maybe-install-mpc
  11864. maybe-install-mpc:
  11865. @if mpc
  11866. maybe-install-mpc: install-mpc
  11867. install-mpc:
  11868. @endif mpc
  11869. .PHONY: install-strip-mpc maybe-install-strip-mpc
  11870. maybe-install-strip-mpc:
  11871. @if mpc
  11872. maybe-install-strip-mpc: install-strip-mpc
  11873. install-strip-mpc:
  11874. @endif mpc
  11875. # Other targets (info, dvi, pdf, etc.)
  11876. .PHONY: maybe-info-mpc info-mpc
  11877. maybe-info-mpc:
  11878. @if mpc
  11879. maybe-info-mpc: info-mpc
  11880. info-mpc: \
  11881. configure-mpc
  11882. @[ -f ./mpc/Makefile ] || exit 0; \
  11883. r=`${PWD_COMMAND}`; export r; \
  11884. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11885. $(HOST_EXPORTS) \
  11886. for flag in $(EXTRA_HOST_FLAGS) ; do \
  11887. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  11888. done; \
  11889. echo "Doing info in mpc" ; \
  11890. (cd $(HOST_SUBDIR)/mpc && \
  11891. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  11892. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  11893. "RANLIB=$${RANLIB}" \
  11894. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  11895. info) \
  11896. || exit 1
  11897. @endif mpc
  11898. .PHONY: maybe-dvi-mpc dvi-mpc
  11899. maybe-dvi-mpc:
  11900. @if mpc
  11901. maybe-dvi-mpc: dvi-mpc
  11902. dvi-mpc: \
  11903. configure-mpc
  11904. @[ -f ./mpc/Makefile ] || exit 0; \
  11905. r=`${PWD_COMMAND}`; export r; \
  11906. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11907. $(HOST_EXPORTS) \
  11908. for flag in $(EXTRA_HOST_FLAGS) ; do \
  11909. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  11910. done; \
  11911. echo "Doing dvi in mpc" ; \
  11912. (cd $(HOST_SUBDIR)/mpc && \
  11913. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  11914. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  11915. "RANLIB=$${RANLIB}" \
  11916. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  11917. dvi) \
  11918. || exit 1
  11919. @endif mpc
  11920. .PHONY: maybe-pdf-mpc pdf-mpc
  11921. maybe-pdf-mpc:
  11922. @if mpc
  11923. maybe-pdf-mpc: pdf-mpc
  11924. pdf-mpc: \
  11925. configure-mpc
  11926. @[ -f ./mpc/Makefile ] || exit 0; \
  11927. r=`${PWD_COMMAND}`; export r; \
  11928. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11929. $(HOST_EXPORTS) \
  11930. for flag in $(EXTRA_HOST_FLAGS) ; do \
  11931. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  11932. done; \
  11933. echo "Doing pdf in mpc" ; \
  11934. (cd $(HOST_SUBDIR)/mpc && \
  11935. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  11936. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  11937. "RANLIB=$${RANLIB}" \
  11938. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  11939. pdf) \
  11940. || exit 1
  11941. @endif mpc
  11942. .PHONY: maybe-html-mpc html-mpc
  11943. maybe-html-mpc:
  11944. @if mpc
  11945. maybe-html-mpc: html-mpc
  11946. html-mpc: \
  11947. configure-mpc
  11948. @[ -f ./mpc/Makefile ] || exit 0; \
  11949. r=`${PWD_COMMAND}`; export r; \
  11950. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11951. $(HOST_EXPORTS) \
  11952. for flag in $(EXTRA_HOST_FLAGS) ; do \
  11953. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  11954. done; \
  11955. echo "Doing html in mpc" ; \
  11956. (cd $(HOST_SUBDIR)/mpc && \
  11957. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  11958. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  11959. "RANLIB=$${RANLIB}" \
  11960. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  11961. html) \
  11962. || exit 1
  11963. @endif mpc
  11964. .PHONY: maybe-TAGS-mpc TAGS-mpc
  11965. maybe-TAGS-mpc:
  11966. @if mpc
  11967. maybe-TAGS-mpc: TAGS-mpc
  11968. TAGS-mpc: \
  11969. configure-mpc
  11970. @[ -f ./mpc/Makefile ] || exit 0; \
  11971. r=`${PWD_COMMAND}`; export r; \
  11972. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11973. $(HOST_EXPORTS) \
  11974. for flag in $(EXTRA_HOST_FLAGS) ; do \
  11975. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  11976. done; \
  11977. echo "Doing TAGS in mpc" ; \
  11978. (cd $(HOST_SUBDIR)/mpc && \
  11979. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  11980. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  11981. "RANLIB=$${RANLIB}" \
  11982. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  11983. TAGS) \
  11984. || exit 1
  11985. @endif mpc
  11986. .PHONY: maybe-install-info-mpc install-info-mpc
  11987. maybe-install-info-mpc:
  11988. @if mpc
  11989. maybe-install-info-mpc: install-info-mpc
  11990. install-info-mpc: \
  11991. configure-mpc \
  11992. info-mpc
  11993. @[ -f ./mpc/Makefile ] || exit 0; \
  11994. r=`${PWD_COMMAND}`; export r; \
  11995. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  11996. $(HOST_EXPORTS) \
  11997. for flag in $(EXTRA_HOST_FLAGS) ; do \
  11998. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  11999. done; \
  12000. echo "Doing install-info in mpc" ; \
  12001. (cd $(HOST_SUBDIR)/mpc && \
  12002. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  12003. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  12004. "RANLIB=$${RANLIB}" \
  12005. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  12006. install-info) \
  12007. || exit 1
  12008. @endif mpc
  12009. .PHONY: maybe-install-pdf-mpc install-pdf-mpc
  12010. maybe-install-pdf-mpc:
  12011. @if mpc
  12012. maybe-install-pdf-mpc: install-pdf-mpc
  12013. install-pdf-mpc: \
  12014. configure-mpc \
  12015. pdf-mpc
  12016. @[ -f ./mpc/Makefile ] || exit 0; \
  12017. r=`${PWD_COMMAND}`; export r; \
  12018. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12019. $(HOST_EXPORTS) \
  12020. for flag in $(EXTRA_HOST_FLAGS) ; do \
  12021. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  12022. done; \
  12023. echo "Doing install-pdf in mpc" ; \
  12024. (cd $(HOST_SUBDIR)/mpc && \
  12025. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  12026. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  12027. "RANLIB=$${RANLIB}" \
  12028. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  12029. install-pdf) \
  12030. || exit 1
  12031. @endif mpc
  12032. .PHONY: maybe-install-html-mpc install-html-mpc
  12033. maybe-install-html-mpc:
  12034. @if mpc
  12035. maybe-install-html-mpc: install-html-mpc
  12036. install-html-mpc: \
  12037. configure-mpc \
  12038. html-mpc
  12039. @[ -f ./mpc/Makefile ] || exit 0; \
  12040. r=`${PWD_COMMAND}`; export r; \
  12041. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12042. $(HOST_EXPORTS) \
  12043. for flag in $(EXTRA_HOST_FLAGS) ; do \
  12044. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  12045. done; \
  12046. echo "Doing install-html in mpc" ; \
  12047. (cd $(HOST_SUBDIR)/mpc && \
  12048. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  12049. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  12050. "RANLIB=$${RANLIB}" \
  12051. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  12052. install-html) \
  12053. || exit 1
  12054. @endif mpc
  12055. .PHONY: maybe-installcheck-mpc installcheck-mpc
  12056. maybe-installcheck-mpc:
  12057. @if mpc
  12058. maybe-installcheck-mpc: installcheck-mpc
  12059. installcheck-mpc: \
  12060. configure-mpc
  12061. @[ -f ./mpc/Makefile ] || exit 0; \
  12062. r=`${PWD_COMMAND}`; export r; \
  12063. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12064. $(HOST_EXPORTS) \
  12065. for flag in $(EXTRA_HOST_FLAGS) ; do \
  12066. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  12067. done; \
  12068. echo "Doing installcheck in mpc" ; \
  12069. (cd $(HOST_SUBDIR)/mpc && \
  12070. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  12071. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  12072. "RANLIB=$${RANLIB}" \
  12073. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  12074. installcheck) \
  12075. || exit 1
  12076. @endif mpc
  12077. .PHONY: maybe-mostlyclean-mpc mostlyclean-mpc
  12078. maybe-mostlyclean-mpc:
  12079. @if mpc
  12080. maybe-mostlyclean-mpc: mostlyclean-mpc
  12081. mostlyclean-mpc:
  12082. @[ -f ./mpc/Makefile ] || exit 0; \
  12083. r=`${PWD_COMMAND}`; export r; \
  12084. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12085. $(HOST_EXPORTS) \
  12086. for flag in $(EXTRA_HOST_FLAGS) ; do \
  12087. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  12088. done; \
  12089. echo "Doing mostlyclean in mpc" ; \
  12090. (cd $(HOST_SUBDIR)/mpc && \
  12091. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  12092. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  12093. "RANLIB=$${RANLIB}" \
  12094. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  12095. mostlyclean) \
  12096. || exit 1
  12097. @endif mpc
  12098. .PHONY: maybe-clean-mpc clean-mpc
  12099. maybe-clean-mpc:
  12100. @if mpc
  12101. maybe-clean-mpc: clean-mpc
  12102. clean-mpc:
  12103. @[ -f ./mpc/Makefile ] || exit 0; \
  12104. r=`${PWD_COMMAND}`; export r; \
  12105. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12106. $(HOST_EXPORTS) \
  12107. for flag in $(EXTRA_HOST_FLAGS) ; do \
  12108. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  12109. done; \
  12110. echo "Doing clean in mpc" ; \
  12111. (cd $(HOST_SUBDIR)/mpc && \
  12112. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  12113. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  12114. "RANLIB=$${RANLIB}" \
  12115. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  12116. clean) \
  12117. || exit 1
  12118. @endif mpc
  12119. .PHONY: maybe-distclean-mpc distclean-mpc
  12120. maybe-distclean-mpc:
  12121. @if mpc
  12122. maybe-distclean-mpc: distclean-mpc
  12123. distclean-mpc:
  12124. @[ -f ./mpc/Makefile ] || exit 0; \
  12125. r=`${PWD_COMMAND}`; export r; \
  12126. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12127. $(HOST_EXPORTS) \
  12128. for flag in $(EXTRA_HOST_FLAGS) ; do \
  12129. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  12130. done; \
  12131. echo "Doing distclean in mpc" ; \
  12132. (cd $(HOST_SUBDIR)/mpc && \
  12133. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  12134. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  12135. "RANLIB=$${RANLIB}" \
  12136. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  12137. distclean) \
  12138. || exit 1
  12139. @endif mpc
  12140. .PHONY: maybe-maintainer-clean-mpc maintainer-clean-mpc
  12141. maybe-maintainer-clean-mpc:
  12142. @if mpc
  12143. maybe-maintainer-clean-mpc: maintainer-clean-mpc
  12144. maintainer-clean-mpc:
  12145. @[ -f ./mpc/Makefile ] || exit 0; \
  12146. r=`${PWD_COMMAND}`; export r; \
  12147. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12148. $(HOST_EXPORTS) \
  12149. for flag in $(EXTRA_HOST_FLAGS) ; do \
  12150. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  12151. done; \
  12152. echo "Doing maintainer-clean in mpc" ; \
  12153. (cd $(HOST_SUBDIR)/mpc && \
  12154. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  12155. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  12156. "RANLIB=$${RANLIB}" \
  12157. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  12158. maintainer-clean) \
  12159. || exit 1
  12160. @endif mpc
  12161. .PHONY: configure-isl maybe-configure-isl
  12162. maybe-configure-isl:
  12163. @if gcc-bootstrap
  12164. configure-isl: stage_current
  12165. @endif gcc-bootstrap
  12166. @if isl
  12167. maybe-configure-isl: configure-isl
  12168. configure-isl:
  12169. @r=`${PWD_COMMAND}`; export r; \
  12170. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12171. test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
  12172. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
  12173. $(HOST_EXPORTS) \
  12174. echo Configuring in $(HOST_SUBDIR)/isl; \
  12175. cd "$(HOST_SUBDIR)/isl" || exit 1; \
  12176. case $(srcdir) in \
  12177. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  12178. *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
  12179. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  12180. esac; \
  12181. module_srcdir=isl; \
  12182. $(SHELL) \
  12183. $$s/$$module_srcdir/configure \
  12184. --srcdir=$${topdir}/$$module_srcdir \
  12185. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  12186. --target=${target_alias} --disable-shared @extra_isl_gmp_configure_flags@ \
  12187. || exit 1
  12188. @endif isl
  12189. .PHONY: configure-stage1-isl maybe-configure-stage1-isl
  12190. maybe-configure-stage1-isl:
  12191. @if isl-bootstrap
  12192. maybe-configure-stage1-isl: configure-stage1-isl
  12193. configure-stage1-isl:
  12194. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  12195. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
  12196. @r=`${PWD_COMMAND}`; export r; \
  12197. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12198. TFLAGS="$(STAGE1_TFLAGS)"; \
  12199. test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
  12200. $(HOST_EXPORTS) \
  12201. CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
  12202. CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
  12203. LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
  12204. echo Configuring stage 1 in $(HOST_SUBDIR)/isl ; \
  12205. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
  12206. cd $(HOST_SUBDIR)/isl || exit 1; \
  12207. case $(srcdir) in \
  12208. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  12209. *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
  12210. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  12211. esac; \
  12212. module_srcdir=isl; \
  12213. $(SHELL) $$s/$$module_srcdir/configure \
  12214. --srcdir=$${topdir}/$$module_srcdir \
  12215. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  12216. --target=${target_alias} \
  12217. \
  12218. $(STAGE1_CONFIGURE_FLAGS) \
  12219. --disable-shared @extra_isl_gmp_configure_flags@
  12220. @endif isl-bootstrap
  12221. .PHONY: configure-stage2-isl maybe-configure-stage2-isl
  12222. maybe-configure-stage2-isl:
  12223. @if isl-bootstrap
  12224. maybe-configure-stage2-isl: configure-stage2-isl
  12225. configure-stage2-isl:
  12226. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  12227. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
  12228. @r=`${PWD_COMMAND}`; export r; \
  12229. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12230. TFLAGS="$(STAGE2_TFLAGS)"; \
  12231. test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
  12232. $(HOST_EXPORTS) \
  12233. $(POSTSTAGE1_HOST_EXPORTS) \
  12234. CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
  12235. CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
  12236. LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
  12237. echo Configuring stage 2 in $(HOST_SUBDIR)/isl ; \
  12238. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
  12239. cd $(HOST_SUBDIR)/isl || exit 1; \
  12240. case $(srcdir) in \
  12241. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  12242. *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
  12243. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  12244. esac; \
  12245. module_srcdir=isl; \
  12246. $(SHELL) $$s/$$module_srcdir/configure \
  12247. --srcdir=$${topdir}/$$module_srcdir \
  12248. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  12249. --target=${target_alias} \
  12250. --with-build-libsubdir=$(HOST_SUBDIR) \
  12251. $(STAGE2_CONFIGURE_FLAGS) \
  12252. --disable-shared @extra_isl_gmp_configure_flags@
  12253. @endif isl-bootstrap
  12254. .PHONY: configure-stage3-isl maybe-configure-stage3-isl
  12255. maybe-configure-stage3-isl:
  12256. @if isl-bootstrap
  12257. maybe-configure-stage3-isl: configure-stage3-isl
  12258. configure-stage3-isl:
  12259. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  12260. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
  12261. @r=`${PWD_COMMAND}`; export r; \
  12262. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12263. TFLAGS="$(STAGE3_TFLAGS)"; \
  12264. test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
  12265. $(HOST_EXPORTS) \
  12266. $(POSTSTAGE1_HOST_EXPORTS) \
  12267. CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
  12268. CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
  12269. LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
  12270. echo Configuring stage 3 in $(HOST_SUBDIR)/isl ; \
  12271. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
  12272. cd $(HOST_SUBDIR)/isl || exit 1; \
  12273. case $(srcdir) in \
  12274. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  12275. *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
  12276. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  12277. esac; \
  12278. module_srcdir=isl; \
  12279. $(SHELL) $$s/$$module_srcdir/configure \
  12280. --srcdir=$${topdir}/$$module_srcdir \
  12281. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  12282. --target=${target_alias} \
  12283. --with-build-libsubdir=$(HOST_SUBDIR) \
  12284. $(STAGE3_CONFIGURE_FLAGS) \
  12285. --disable-shared @extra_isl_gmp_configure_flags@
  12286. @endif isl-bootstrap
  12287. .PHONY: configure-stage4-isl maybe-configure-stage4-isl
  12288. maybe-configure-stage4-isl:
  12289. @if isl-bootstrap
  12290. maybe-configure-stage4-isl: configure-stage4-isl
  12291. configure-stage4-isl:
  12292. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  12293. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
  12294. @r=`${PWD_COMMAND}`; export r; \
  12295. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12296. TFLAGS="$(STAGE4_TFLAGS)"; \
  12297. test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
  12298. $(HOST_EXPORTS) \
  12299. $(POSTSTAGE1_HOST_EXPORTS) \
  12300. CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
  12301. CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
  12302. LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
  12303. echo Configuring stage 4 in $(HOST_SUBDIR)/isl ; \
  12304. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
  12305. cd $(HOST_SUBDIR)/isl || exit 1; \
  12306. case $(srcdir) in \
  12307. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  12308. *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
  12309. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  12310. esac; \
  12311. module_srcdir=isl; \
  12312. $(SHELL) $$s/$$module_srcdir/configure \
  12313. --srcdir=$${topdir}/$$module_srcdir \
  12314. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  12315. --target=${target_alias} \
  12316. --with-build-libsubdir=$(HOST_SUBDIR) \
  12317. $(STAGE4_CONFIGURE_FLAGS) \
  12318. --disable-shared @extra_isl_gmp_configure_flags@
  12319. @endif isl-bootstrap
  12320. .PHONY: configure-stageprofile-isl maybe-configure-stageprofile-isl
  12321. maybe-configure-stageprofile-isl:
  12322. @if isl-bootstrap
  12323. maybe-configure-stageprofile-isl: configure-stageprofile-isl
  12324. configure-stageprofile-isl:
  12325. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  12326. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
  12327. @r=`${PWD_COMMAND}`; export r; \
  12328. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12329. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  12330. test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
  12331. $(HOST_EXPORTS) \
  12332. $(POSTSTAGE1_HOST_EXPORTS) \
  12333. CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
  12334. CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
  12335. LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
  12336. echo Configuring stage profile in $(HOST_SUBDIR)/isl ; \
  12337. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
  12338. cd $(HOST_SUBDIR)/isl || exit 1; \
  12339. case $(srcdir) in \
  12340. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  12341. *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
  12342. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  12343. esac; \
  12344. module_srcdir=isl; \
  12345. $(SHELL) $$s/$$module_srcdir/configure \
  12346. --srcdir=$${topdir}/$$module_srcdir \
  12347. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  12348. --target=${target_alias} \
  12349. --with-build-libsubdir=$(HOST_SUBDIR) \
  12350. $(STAGEprofile_CONFIGURE_FLAGS) \
  12351. --disable-shared @extra_isl_gmp_configure_flags@
  12352. @endif isl-bootstrap
  12353. .PHONY: configure-stagefeedback-isl maybe-configure-stagefeedback-isl
  12354. maybe-configure-stagefeedback-isl:
  12355. @if isl-bootstrap
  12356. maybe-configure-stagefeedback-isl: configure-stagefeedback-isl
  12357. configure-stagefeedback-isl:
  12358. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  12359. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl
  12360. @r=`${PWD_COMMAND}`; export r; \
  12361. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12362. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  12363. test ! -f $(HOST_SUBDIR)/isl/Makefile || exit 0; \
  12364. $(HOST_EXPORTS) \
  12365. $(POSTSTAGE1_HOST_EXPORTS) \
  12366. CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
  12367. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
  12368. LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
  12369. echo Configuring stage feedback in $(HOST_SUBDIR)/isl ; \
  12370. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/isl ; \
  12371. cd $(HOST_SUBDIR)/isl || exit 1; \
  12372. case $(srcdir) in \
  12373. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  12374. *) topdir=`echo $(HOST_SUBDIR)/isl/ | \
  12375. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  12376. esac; \
  12377. module_srcdir=isl; \
  12378. $(SHELL) $$s/$$module_srcdir/configure \
  12379. --srcdir=$${topdir}/$$module_srcdir \
  12380. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  12381. --target=${target_alias} \
  12382. --with-build-libsubdir=$(HOST_SUBDIR) \
  12383. $(STAGEfeedback_CONFIGURE_FLAGS) \
  12384. --disable-shared @extra_isl_gmp_configure_flags@
  12385. @endif isl-bootstrap
  12386. .PHONY: all-isl maybe-all-isl
  12387. maybe-all-isl:
  12388. @if gcc-bootstrap
  12389. all-isl: stage_current
  12390. @endif gcc-bootstrap
  12391. @if isl
  12392. TARGET-isl=all
  12393. maybe-all-isl: all-isl
  12394. all-isl: configure-isl
  12395. @r=`${PWD_COMMAND}`; export r; \
  12396. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12397. $(HOST_EXPORTS) \
  12398. (cd $(HOST_SUBDIR)/isl && \
  12399. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) V=1 \
  12400. $(TARGET-isl))
  12401. @endif isl
  12402. .PHONY: all-stage1-isl maybe-all-stage1-isl
  12403. .PHONY: clean-stage1-isl maybe-clean-stage1-isl
  12404. maybe-all-stage1-isl:
  12405. maybe-clean-stage1-isl:
  12406. @if isl-bootstrap
  12407. maybe-all-stage1-isl: all-stage1-isl
  12408. all-stage1: all-stage1-isl
  12409. TARGET-stage1-isl = $(TARGET-isl)
  12410. all-stage1-isl: configure-stage1-isl
  12411. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  12412. @r=`${PWD_COMMAND}`; export r; \
  12413. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12414. TFLAGS="$(STAGE1_TFLAGS)"; \
  12415. $(HOST_EXPORTS) \
  12416. cd $(HOST_SUBDIR)/isl && \
  12417. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  12418. CFLAGS="$(STAGE1_CFLAGS)" \
  12419. CXXFLAGS="$(STAGE1_CXXFLAGS)" \
  12420. LIBCFLAGS="$(LIBCFLAGS)" \
  12421. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  12422. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  12423. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  12424. $(EXTRA_HOST_FLAGS) \
  12425. $(STAGE1_FLAGS_TO_PASS) V=1 \
  12426. TFLAGS="$(STAGE1_TFLAGS)" \
  12427. $(TARGET-stage1-isl)
  12428. maybe-clean-stage1-isl: clean-stage1-isl
  12429. clean-stage1: clean-stage1-isl
  12430. clean-stage1-isl:
  12431. @if [ $(current_stage) = stage1 ]; then \
  12432. [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
  12433. else \
  12434. [ -f $(HOST_SUBDIR)/stage1-isl/Makefile ] || exit 0; \
  12435. $(MAKE) stage1-start; \
  12436. fi; \
  12437. cd $(HOST_SUBDIR)/isl && \
  12438. $(MAKE) $(EXTRA_HOST_FLAGS) \
  12439. $(STAGE1_FLAGS_TO_PASS) V=1 clean
  12440. @endif isl-bootstrap
  12441. .PHONY: all-stage2-isl maybe-all-stage2-isl
  12442. .PHONY: clean-stage2-isl maybe-clean-stage2-isl
  12443. maybe-all-stage2-isl:
  12444. maybe-clean-stage2-isl:
  12445. @if isl-bootstrap
  12446. maybe-all-stage2-isl: all-stage2-isl
  12447. all-stage2: all-stage2-isl
  12448. TARGET-stage2-isl = $(TARGET-isl)
  12449. all-stage2-isl: configure-stage2-isl
  12450. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  12451. @r=`${PWD_COMMAND}`; export r; \
  12452. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12453. TFLAGS="$(STAGE2_TFLAGS)"; \
  12454. $(HOST_EXPORTS) \
  12455. $(POSTSTAGE1_HOST_EXPORTS) \
  12456. cd $(HOST_SUBDIR)/isl && \
  12457. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  12458. CFLAGS="$(STAGE2_CFLAGS)" \
  12459. CXXFLAGS="$(STAGE2_CXXFLAGS)" \
  12460. LIBCFLAGS="$(STAGE2_CFLAGS)" \
  12461. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  12462. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  12463. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  12464. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
  12465. TFLAGS="$(STAGE2_TFLAGS)" \
  12466. $(TARGET-stage2-isl)
  12467. maybe-clean-stage2-isl: clean-stage2-isl
  12468. clean-stage2: clean-stage2-isl
  12469. clean-stage2-isl:
  12470. @if [ $(current_stage) = stage2 ]; then \
  12471. [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
  12472. else \
  12473. [ -f $(HOST_SUBDIR)/stage2-isl/Makefile ] || exit 0; \
  12474. $(MAKE) stage2-start; \
  12475. fi; \
  12476. cd $(HOST_SUBDIR)/isl && \
  12477. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
  12478. @endif isl-bootstrap
  12479. .PHONY: all-stage3-isl maybe-all-stage3-isl
  12480. .PHONY: clean-stage3-isl maybe-clean-stage3-isl
  12481. maybe-all-stage3-isl:
  12482. maybe-clean-stage3-isl:
  12483. @if isl-bootstrap
  12484. maybe-all-stage3-isl: all-stage3-isl
  12485. all-stage3: all-stage3-isl
  12486. TARGET-stage3-isl = $(TARGET-isl)
  12487. all-stage3-isl: configure-stage3-isl
  12488. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  12489. @r=`${PWD_COMMAND}`; export r; \
  12490. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12491. TFLAGS="$(STAGE3_TFLAGS)"; \
  12492. $(HOST_EXPORTS) \
  12493. $(POSTSTAGE1_HOST_EXPORTS) \
  12494. cd $(HOST_SUBDIR)/isl && \
  12495. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  12496. CFLAGS="$(STAGE3_CFLAGS)" \
  12497. CXXFLAGS="$(STAGE3_CXXFLAGS)" \
  12498. LIBCFLAGS="$(STAGE3_CFLAGS)" \
  12499. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  12500. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  12501. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  12502. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
  12503. TFLAGS="$(STAGE3_TFLAGS)" \
  12504. $(TARGET-stage3-isl)
  12505. maybe-clean-stage3-isl: clean-stage3-isl
  12506. clean-stage3: clean-stage3-isl
  12507. clean-stage3-isl:
  12508. @if [ $(current_stage) = stage3 ]; then \
  12509. [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
  12510. else \
  12511. [ -f $(HOST_SUBDIR)/stage3-isl/Makefile ] || exit 0; \
  12512. $(MAKE) stage3-start; \
  12513. fi; \
  12514. cd $(HOST_SUBDIR)/isl && \
  12515. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
  12516. @endif isl-bootstrap
  12517. .PHONY: all-stage4-isl maybe-all-stage4-isl
  12518. .PHONY: clean-stage4-isl maybe-clean-stage4-isl
  12519. maybe-all-stage4-isl:
  12520. maybe-clean-stage4-isl:
  12521. @if isl-bootstrap
  12522. maybe-all-stage4-isl: all-stage4-isl
  12523. all-stage4: all-stage4-isl
  12524. TARGET-stage4-isl = $(TARGET-isl)
  12525. all-stage4-isl: configure-stage4-isl
  12526. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  12527. @r=`${PWD_COMMAND}`; export r; \
  12528. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12529. TFLAGS="$(STAGE4_TFLAGS)"; \
  12530. $(HOST_EXPORTS) \
  12531. $(POSTSTAGE1_HOST_EXPORTS) \
  12532. cd $(HOST_SUBDIR)/isl && \
  12533. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  12534. CFLAGS="$(STAGE4_CFLAGS)" \
  12535. CXXFLAGS="$(STAGE4_CXXFLAGS)" \
  12536. LIBCFLAGS="$(STAGE4_CFLAGS)" \
  12537. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  12538. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  12539. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  12540. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
  12541. TFLAGS="$(STAGE4_TFLAGS)" \
  12542. $(TARGET-stage4-isl)
  12543. maybe-clean-stage4-isl: clean-stage4-isl
  12544. clean-stage4: clean-stage4-isl
  12545. clean-stage4-isl:
  12546. @if [ $(current_stage) = stage4 ]; then \
  12547. [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
  12548. else \
  12549. [ -f $(HOST_SUBDIR)/stage4-isl/Makefile ] || exit 0; \
  12550. $(MAKE) stage4-start; \
  12551. fi; \
  12552. cd $(HOST_SUBDIR)/isl && \
  12553. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
  12554. @endif isl-bootstrap
  12555. .PHONY: all-stageprofile-isl maybe-all-stageprofile-isl
  12556. .PHONY: clean-stageprofile-isl maybe-clean-stageprofile-isl
  12557. maybe-all-stageprofile-isl:
  12558. maybe-clean-stageprofile-isl:
  12559. @if isl-bootstrap
  12560. maybe-all-stageprofile-isl: all-stageprofile-isl
  12561. all-stageprofile: all-stageprofile-isl
  12562. TARGET-stageprofile-isl = $(TARGET-isl)
  12563. all-stageprofile-isl: configure-stageprofile-isl
  12564. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  12565. @r=`${PWD_COMMAND}`; export r; \
  12566. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12567. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  12568. $(HOST_EXPORTS) \
  12569. $(POSTSTAGE1_HOST_EXPORTS) \
  12570. cd $(HOST_SUBDIR)/isl && \
  12571. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  12572. CFLAGS="$(STAGEprofile_CFLAGS)" \
  12573. CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
  12574. LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
  12575. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  12576. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  12577. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  12578. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
  12579. TFLAGS="$(STAGEprofile_TFLAGS)" \
  12580. $(TARGET-stageprofile-isl)
  12581. maybe-clean-stageprofile-isl: clean-stageprofile-isl
  12582. clean-stageprofile: clean-stageprofile-isl
  12583. clean-stageprofile-isl:
  12584. @if [ $(current_stage) = stageprofile ]; then \
  12585. [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
  12586. else \
  12587. [ -f $(HOST_SUBDIR)/stageprofile-isl/Makefile ] || exit 0; \
  12588. $(MAKE) stageprofile-start; \
  12589. fi; \
  12590. cd $(HOST_SUBDIR)/isl && \
  12591. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
  12592. @endif isl-bootstrap
  12593. .PHONY: all-stagefeedback-isl maybe-all-stagefeedback-isl
  12594. .PHONY: clean-stagefeedback-isl maybe-clean-stagefeedback-isl
  12595. maybe-all-stagefeedback-isl:
  12596. maybe-clean-stagefeedback-isl:
  12597. @if isl-bootstrap
  12598. maybe-all-stagefeedback-isl: all-stagefeedback-isl
  12599. all-stagefeedback: all-stagefeedback-isl
  12600. TARGET-stagefeedback-isl = $(TARGET-isl)
  12601. all-stagefeedback-isl: configure-stagefeedback-isl
  12602. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  12603. @r=`${PWD_COMMAND}`; export r; \
  12604. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12605. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  12606. $(HOST_EXPORTS) \
  12607. $(POSTSTAGE1_HOST_EXPORTS) \
  12608. cd $(HOST_SUBDIR)/isl && \
  12609. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  12610. CFLAGS="$(STAGEfeedback_CFLAGS)" \
  12611. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
  12612. LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
  12613. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  12614. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  12615. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  12616. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 \
  12617. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  12618. $(TARGET-stagefeedback-isl)
  12619. maybe-clean-stagefeedback-isl: clean-stagefeedback-isl
  12620. clean-stagefeedback: clean-stagefeedback-isl
  12621. clean-stagefeedback-isl:
  12622. @if [ $(current_stage) = stagefeedback ]; then \
  12623. [ -f $(HOST_SUBDIR)/isl/Makefile ] || exit 0; \
  12624. else \
  12625. [ -f $(HOST_SUBDIR)/stagefeedback-isl/Makefile ] || exit 0; \
  12626. $(MAKE) stagefeedback-start; \
  12627. fi; \
  12628. cd $(HOST_SUBDIR)/isl && \
  12629. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) V=1 clean
  12630. @endif isl-bootstrap
  12631. .PHONY: check-isl maybe-check-isl
  12632. maybe-check-isl:
  12633. @if isl
  12634. maybe-check-isl: check-isl
  12635. check-isl:
  12636. @: $(MAKE); $(unstage)
  12637. @r=`${PWD_COMMAND}`; export r; \
  12638. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12639. $(HOST_EXPORTS) \
  12640. (cd $(HOST_SUBDIR)/isl && \
  12641. $(MAKE) $(FLAGS_TO_PASS) V=1 check)
  12642. @endif isl
  12643. .PHONY: install-isl maybe-install-isl
  12644. maybe-install-isl:
  12645. @if isl
  12646. maybe-install-isl: install-isl
  12647. install-isl:
  12648. @endif isl
  12649. .PHONY: install-strip-isl maybe-install-strip-isl
  12650. maybe-install-strip-isl:
  12651. @if isl
  12652. maybe-install-strip-isl: install-strip-isl
  12653. install-strip-isl:
  12654. @endif isl
  12655. # Other targets (info, dvi, pdf, etc.)
  12656. .PHONY: maybe-info-isl info-isl
  12657. maybe-info-isl:
  12658. @if isl
  12659. maybe-info-isl: info-isl
  12660. info-isl: \
  12661. configure-isl
  12662. @[ -f ./isl/Makefile ] || exit 0; \
  12663. r=`${PWD_COMMAND}`; export r; \
  12664. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12665. $(HOST_EXPORTS) \
  12666. for flag in $(EXTRA_HOST_FLAGS) V=1; do \
  12667. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  12668. done; \
  12669. echo "Doing info in isl" ; \
  12670. (cd $(HOST_SUBDIR)/isl && \
  12671. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  12672. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  12673. "RANLIB=$${RANLIB}" \
  12674. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  12675. info) \
  12676. || exit 1
  12677. @endif isl
  12678. .PHONY: maybe-dvi-isl dvi-isl
  12679. maybe-dvi-isl:
  12680. @if isl
  12681. maybe-dvi-isl: dvi-isl
  12682. dvi-isl: \
  12683. configure-isl
  12684. @[ -f ./isl/Makefile ] || exit 0; \
  12685. r=`${PWD_COMMAND}`; export r; \
  12686. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12687. $(HOST_EXPORTS) \
  12688. for flag in $(EXTRA_HOST_FLAGS) V=1; do \
  12689. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  12690. done; \
  12691. echo "Doing dvi in isl" ; \
  12692. (cd $(HOST_SUBDIR)/isl && \
  12693. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  12694. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  12695. "RANLIB=$${RANLIB}" \
  12696. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  12697. dvi) \
  12698. || exit 1
  12699. @endif isl
  12700. .PHONY: maybe-pdf-isl pdf-isl
  12701. maybe-pdf-isl:
  12702. @if isl
  12703. maybe-pdf-isl: pdf-isl
  12704. pdf-isl: \
  12705. configure-isl
  12706. @[ -f ./isl/Makefile ] || exit 0; \
  12707. r=`${PWD_COMMAND}`; export r; \
  12708. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12709. $(HOST_EXPORTS) \
  12710. for flag in $(EXTRA_HOST_FLAGS) V=1; do \
  12711. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  12712. done; \
  12713. echo "Doing pdf in isl" ; \
  12714. (cd $(HOST_SUBDIR)/isl && \
  12715. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  12716. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  12717. "RANLIB=$${RANLIB}" \
  12718. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  12719. pdf) \
  12720. || exit 1
  12721. @endif isl
  12722. .PHONY: maybe-html-isl html-isl
  12723. maybe-html-isl:
  12724. @if isl
  12725. maybe-html-isl: html-isl
  12726. html-isl: \
  12727. configure-isl
  12728. @[ -f ./isl/Makefile ] || exit 0; \
  12729. r=`${PWD_COMMAND}`; export r; \
  12730. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12731. $(HOST_EXPORTS) \
  12732. for flag in $(EXTRA_HOST_FLAGS) V=1; do \
  12733. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  12734. done; \
  12735. echo "Doing html in isl" ; \
  12736. (cd $(HOST_SUBDIR)/isl && \
  12737. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  12738. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  12739. "RANLIB=$${RANLIB}" \
  12740. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  12741. html) \
  12742. || exit 1
  12743. @endif isl
  12744. .PHONY: maybe-TAGS-isl TAGS-isl
  12745. maybe-TAGS-isl:
  12746. @if isl
  12747. maybe-TAGS-isl: TAGS-isl
  12748. TAGS-isl: \
  12749. configure-isl
  12750. @[ -f ./isl/Makefile ] || exit 0; \
  12751. r=`${PWD_COMMAND}`; export r; \
  12752. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12753. $(HOST_EXPORTS) \
  12754. for flag in $(EXTRA_HOST_FLAGS) V=1; do \
  12755. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  12756. done; \
  12757. echo "Doing TAGS in isl" ; \
  12758. (cd $(HOST_SUBDIR)/isl && \
  12759. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  12760. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  12761. "RANLIB=$${RANLIB}" \
  12762. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  12763. TAGS) \
  12764. || exit 1
  12765. @endif isl
  12766. .PHONY: maybe-install-info-isl install-info-isl
  12767. maybe-install-info-isl:
  12768. @if isl
  12769. maybe-install-info-isl: install-info-isl
  12770. install-info-isl: \
  12771. configure-isl \
  12772. info-isl
  12773. @[ -f ./isl/Makefile ] || exit 0; \
  12774. r=`${PWD_COMMAND}`; export r; \
  12775. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12776. $(HOST_EXPORTS) \
  12777. for flag in $(EXTRA_HOST_FLAGS) V=1; do \
  12778. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  12779. done; \
  12780. echo "Doing install-info in isl" ; \
  12781. (cd $(HOST_SUBDIR)/isl && \
  12782. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  12783. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  12784. "RANLIB=$${RANLIB}" \
  12785. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  12786. install-info) \
  12787. || exit 1
  12788. @endif isl
  12789. .PHONY: maybe-install-pdf-isl install-pdf-isl
  12790. maybe-install-pdf-isl:
  12791. @if isl
  12792. maybe-install-pdf-isl: install-pdf-isl
  12793. install-pdf-isl: \
  12794. configure-isl \
  12795. pdf-isl
  12796. @[ -f ./isl/Makefile ] || exit 0; \
  12797. r=`${PWD_COMMAND}`; export r; \
  12798. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12799. $(HOST_EXPORTS) \
  12800. for flag in $(EXTRA_HOST_FLAGS) V=1; do \
  12801. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  12802. done; \
  12803. echo "Doing install-pdf in isl" ; \
  12804. (cd $(HOST_SUBDIR)/isl && \
  12805. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  12806. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  12807. "RANLIB=$${RANLIB}" \
  12808. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  12809. install-pdf) \
  12810. || exit 1
  12811. @endif isl
  12812. .PHONY: maybe-install-html-isl install-html-isl
  12813. maybe-install-html-isl:
  12814. @if isl
  12815. maybe-install-html-isl: install-html-isl
  12816. install-html-isl: \
  12817. configure-isl \
  12818. html-isl
  12819. @[ -f ./isl/Makefile ] || exit 0; \
  12820. r=`${PWD_COMMAND}`; export r; \
  12821. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12822. $(HOST_EXPORTS) \
  12823. for flag in $(EXTRA_HOST_FLAGS) V=1; do \
  12824. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  12825. done; \
  12826. echo "Doing install-html in isl" ; \
  12827. (cd $(HOST_SUBDIR)/isl && \
  12828. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  12829. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  12830. "RANLIB=$${RANLIB}" \
  12831. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  12832. install-html) \
  12833. || exit 1
  12834. @endif isl
  12835. .PHONY: maybe-installcheck-isl installcheck-isl
  12836. maybe-installcheck-isl:
  12837. @if isl
  12838. maybe-installcheck-isl: installcheck-isl
  12839. installcheck-isl: \
  12840. configure-isl
  12841. @[ -f ./isl/Makefile ] || exit 0; \
  12842. r=`${PWD_COMMAND}`; export r; \
  12843. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12844. $(HOST_EXPORTS) \
  12845. for flag in $(EXTRA_HOST_FLAGS) V=1; do \
  12846. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  12847. done; \
  12848. echo "Doing installcheck in isl" ; \
  12849. (cd $(HOST_SUBDIR)/isl && \
  12850. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  12851. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  12852. "RANLIB=$${RANLIB}" \
  12853. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  12854. installcheck) \
  12855. || exit 1
  12856. @endif isl
  12857. .PHONY: maybe-mostlyclean-isl mostlyclean-isl
  12858. maybe-mostlyclean-isl:
  12859. @if isl
  12860. maybe-mostlyclean-isl: mostlyclean-isl
  12861. mostlyclean-isl:
  12862. @[ -f ./isl/Makefile ] || exit 0; \
  12863. r=`${PWD_COMMAND}`; export r; \
  12864. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12865. $(HOST_EXPORTS) \
  12866. for flag in $(EXTRA_HOST_FLAGS) V=1; do \
  12867. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  12868. done; \
  12869. echo "Doing mostlyclean in isl" ; \
  12870. (cd $(HOST_SUBDIR)/isl && \
  12871. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  12872. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  12873. "RANLIB=$${RANLIB}" \
  12874. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  12875. mostlyclean) \
  12876. || exit 1
  12877. @endif isl
  12878. .PHONY: maybe-clean-isl clean-isl
  12879. maybe-clean-isl:
  12880. @if isl
  12881. maybe-clean-isl: clean-isl
  12882. clean-isl:
  12883. @[ -f ./isl/Makefile ] || exit 0; \
  12884. r=`${PWD_COMMAND}`; export r; \
  12885. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12886. $(HOST_EXPORTS) \
  12887. for flag in $(EXTRA_HOST_FLAGS) V=1; do \
  12888. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  12889. done; \
  12890. echo "Doing clean in isl" ; \
  12891. (cd $(HOST_SUBDIR)/isl && \
  12892. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  12893. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  12894. "RANLIB=$${RANLIB}" \
  12895. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  12896. clean) \
  12897. || exit 1
  12898. @endif isl
  12899. .PHONY: maybe-distclean-isl distclean-isl
  12900. maybe-distclean-isl:
  12901. @if isl
  12902. maybe-distclean-isl: distclean-isl
  12903. distclean-isl:
  12904. @[ -f ./isl/Makefile ] || exit 0; \
  12905. r=`${PWD_COMMAND}`; export r; \
  12906. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12907. $(HOST_EXPORTS) \
  12908. for flag in $(EXTRA_HOST_FLAGS) V=1; do \
  12909. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  12910. done; \
  12911. echo "Doing distclean in isl" ; \
  12912. (cd $(HOST_SUBDIR)/isl && \
  12913. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  12914. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  12915. "RANLIB=$${RANLIB}" \
  12916. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  12917. distclean) \
  12918. || exit 1
  12919. @endif isl
  12920. .PHONY: maybe-maintainer-clean-isl maintainer-clean-isl
  12921. maybe-maintainer-clean-isl:
  12922. @if isl
  12923. maybe-maintainer-clean-isl: maintainer-clean-isl
  12924. maintainer-clean-isl:
  12925. @[ -f ./isl/Makefile ] || exit 0; \
  12926. r=`${PWD_COMMAND}`; export r; \
  12927. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12928. $(HOST_EXPORTS) \
  12929. for flag in $(EXTRA_HOST_FLAGS) V=1; do \
  12930. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  12931. done; \
  12932. echo "Doing maintainer-clean in isl" ; \
  12933. (cd $(HOST_SUBDIR)/isl && \
  12934. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  12935. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  12936. "RANLIB=$${RANLIB}" \
  12937. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  12938. maintainer-clean) \
  12939. || exit 1
  12940. @endif isl
  12941. .PHONY: configure-libelf maybe-configure-libelf
  12942. maybe-configure-libelf:
  12943. @if gcc-bootstrap
  12944. configure-libelf: stage_current
  12945. @endif gcc-bootstrap
  12946. @if libelf
  12947. maybe-configure-libelf: configure-libelf
  12948. configure-libelf:
  12949. @r=`${PWD_COMMAND}`; export r; \
  12950. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12951. test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
  12952. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
  12953. $(HOST_EXPORTS) \
  12954. echo Configuring in $(HOST_SUBDIR)/libelf; \
  12955. cd "$(HOST_SUBDIR)/libelf" || exit 1; \
  12956. case $(srcdir) in \
  12957. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  12958. *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
  12959. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  12960. esac; \
  12961. module_srcdir=libelf; \
  12962. $(SHELL) \
  12963. $$s/$$module_srcdir/configure \
  12964. --srcdir=$${topdir}/$$module_srcdir \
  12965. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  12966. --target=${target_alias} --disable-shared \
  12967. || exit 1
  12968. @endif libelf
  12969. .PHONY: configure-stage1-libelf maybe-configure-stage1-libelf
  12970. maybe-configure-stage1-libelf:
  12971. @if libelf-bootstrap
  12972. maybe-configure-stage1-libelf: configure-stage1-libelf
  12973. configure-stage1-libelf:
  12974. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  12975. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
  12976. @r=`${PWD_COMMAND}`; export r; \
  12977. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  12978. TFLAGS="$(STAGE1_TFLAGS)"; \
  12979. test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
  12980. $(HOST_EXPORTS) \
  12981. CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
  12982. CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
  12983. LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
  12984. echo Configuring stage 1 in $(HOST_SUBDIR)/libelf ; \
  12985. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
  12986. cd $(HOST_SUBDIR)/libelf || exit 1; \
  12987. case $(srcdir) in \
  12988. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  12989. *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
  12990. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  12991. esac; \
  12992. module_srcdir=libelf; \
  12993. $(SHELL) $$s/$$module_srcdir/configure \
  12994. --srcdir=$${topdir}/$$module_srcdir \
  12995. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  12996. --target=${target_alias} \
  12997. \
  12998. $(STAGE1_CONFIGURE_FLAGS) \
  12999. --disable-shared
  13000. @endif libelf-bootstrap
  13001. .PHONY: configure-stage2-libelf maybe-configure-stage2-libelf
  13002. maybe-configure-stage2-libelf:
  13003. @if libelf-bootstrap
  13004. maybe-configure-stage2-libelf: configure-stage2-libelf
  13005. configure-stage2-libelf:
  13006. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  13007. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
  13008. @r=`${PWD_COMMAND}`; export r; \
  13009. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13010. TFLAGS="$(STAGE2_TFLAGS)"; \
  13011. test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
  13012. $(HOST_EXPORTS) \
  13013. $(POSTSTAGE1_HOST_EXPORTS) \
  13014. CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
  13015. CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
  13016. LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
  13017. echo Configuring stage 2 in $(HOST_SUBDIR)/libelf ; \
  13018. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
  13019. cd $(HOST_SUBDIR)/libelf || exit 1; \
  13020. case $(srcdir) in \
  13021. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  13022. *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
  13023. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  13024. esac; \
  13025. module_srcdir=libelf; \
  13026. $(SHELL) $$s/$$module_srcdir/configure \
  13027. --srcdir=$${topdir}/$$module_srcdir \
  13028. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  13029. --target=${target_alias} \
  13030. --with-build-libsubdir=$(HOST_SUBDIR) \
  13031. $(STAGE2_CONFIGURE_FLAGS) \
  13032. --disable-shared
  13033. @endif libelf-bootstrap
  13034. .PHONY: configure-stage3-libelf maybe-configure-stage3-libelf
  13035. maybe-configure-stage3-libelf:
  13036. @if libelf-bootstrap
  13037. maybe-configure-stage3-libelf: configure-stage3-libelf
  13038. configure-stage3-libelf:
  13039. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  13040. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
  13041. @r=`${PWD_COMMAND}`; export r; \
  13042. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13043. TFLAGS="$(STAGE3_TFLAGS)"; \
  13044. test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
  13045. $(HOST_EXPORTS) \
  13046. $(POSTSTAGE1_HOST_EXPORTS) \
  13047. CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
  13048. CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
  13049. LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
  13050. echo Configuring stage 3 in $(HOST_SUBDIR)/libelf ; \
  13051. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
  13052. cd $(HOST_SUBDIR)/libelf || exit 1; \
  13053. case $(srcdir) in \
  13054. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  13055. *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
  13056. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  13057. esac; \
  13058. module_srcdir=libelf; \
  13059. $(SHELL) $$s/$$module_srcdir/configure \
  13060. --srcdir=$${topdir}/$$module_srcdir \
  13061. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  13062. --target=${target_alias} \
  13063. --with-build-libsubdir=$(HOST_SUBDIR) \
  13064. $(STAGE3_CONFIGURE_FLAGS) \
  13065. --disable-shared
  13066. @endif libelf-bootstrap
  13067. .PHONY: configure-stage4-libelf maybe-configure-stage4-libelf
  13068. maybe-configure-stage4-libelf:
  13069. @if libelf-bootstrap
  13070. maybe-configure-stage4-libelf: configure-stage4-libelf
  13071. configure-stage4-libelf:
  13072. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  13073. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
  13074. @r=`${PWD_COMMAND}`; export r; \
  13075. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13076. TFLAGS="$(STAGE4_TFLAGS)"; \
  13077. test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
  13078. $(HOST_EXPORTS) \
  13079. $(POSTSTAGE1_HOST_EXPORTS) \
  13080. CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
  13081. CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
  13082. LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
  13083. echo Configuring stage 4 in $(HOST_SUBDIR)/libelf ; \
  13084. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
  13085. cd $(HOST_SUBDIR)/libelf || exit 1; \
  13086. case $(srcdir) in \
  13087. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  13088. *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
  13089. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  13090. esac; \
  13091. module_srcdir=libelf; \
  13092. $(SHELL) $$s/$$module_srcdir/configure \
  13093. --srcdir=$${topdir}/$$module_srcdir \
  13094. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  13095. --target=${target_alias} \
  13096. --with-build-libsubdir=$(HOST_SUBDIR) \
  13097. $(STAGE4_CONFIGURE_FLAGS) \
  13098. --disable-shared
  13099. @endif libelf-bootstrap
  13100. .PHONY: configure-stageprofile-libelf maybe-configure-stageprofile-libelf
  13101. maybe-configure-stageprofile-libelf:
  13102. @if libelf-bootstrap
  13103. maybe-configure-stageprofile-libelf: configure-stageprofile-libelf
  13104. configure-stageprofile-libelf:
  13105. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  13106. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
  13107. @r=`${PWD_COMMAND}`; export r; \
  13108. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13109. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  13110. test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
  13111. $(HOST_EXPORTS) \
  13112. $(POSTSTAGE1_HOST_EXPORTS) \
  13113. CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
  13114. CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
  13115. LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
  13116. echo Configuring stage profile in $(HOST_SUBDIR)/libelf ; \
  13117. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
  13118. cd $(HOST_SUBDIR)/libelf || exit 1; \
  13119. case $(srcdir) in \
  13120. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  13121. *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
  13122. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  13123. esac; \
  13124. module_srcdir=libelf; \
  13125. $(SHELL) $$s/$$module_srcdir/configure \
  13126. --srcdir=$${topdir}/$$module_srcdir \
  13127. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  13128. --target=${target_alias} \
  13129. --with-build-libsubdir=$(HOST_SUBDIR) \
  13130. $(STAGEprofile_CONFIGURE_FLAGS) \
  13131. --disable-shared
  13132. @endif libelf-bootstrap
  13133. .PHONY: configure-stagefeedback-libelf maybe-configure-stagefeedback-libelf
  13134. maybe-configure-stagefeedback-libelf:
  13135. @if libelf-bootstrap
  13136. maybe-configure-stagefeedback-libelf: configure-stagefeedback-libelf
  13137. configure-stagefeedback-libelf:
  13138. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  13139. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf
  13140. @r=`${PWD_COMMAND}`; export r; \
  13141. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13142. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  13143. test ! -f $(HOST_SUBDIR)/libelf/Makefile || exit 0; \
  13144. $(HOST_EXPORTS) \
  13145. $(POSTSTAGE1_HOST_EXPORTS) \
  13146. CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
  13147. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
  13148. LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
  13149. echo Configuring stage feedback in $(HOST_SUBDIR)/libelf ; \
  13150. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libelf ; \
  13151. cd $(HOST_SUBDIR)/libelf || exit 1; \
  13152. case $(srcdir) in \
  13153. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  13154. *) topdir=`echo $(HOST_SUBDIR)/libelf/ | \
  13155. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  13156. esac; \
  13157. module_srcdir=libelf; \
  13158. $(SHELL) $$s/$$module_srcdir/configure \
  13159. --srcdir=$${topdir}/$$module_srcdir \
  13160. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  13161. --target=${target_alias} \
  13162. --with-build-libsubdir=$(HOST_SUBDIR) \
  13163. $(STAGEfeedback_CONFIGURE_FLAGS) \
  13164. --disable-shared
  13165. @endif libelf-bootstrap
  13166. .PHONY: all-libelf maybe-all-libelf
  13167. maybe-all-libelf:
  13168. @if gcc-bootstrap
  13169. all-libelf: stage_current
  13170. @endif gcc-bootstrap
  13171. @if libelf
  13172. TARGET-libelf=all
  13173. maybe-all-libelf: all-libelf
  13174. all-libelf: configure-libelf
  13175. @r=`${PWD_COMMAND}`; export r; \
  13176. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13177. $(HOST_EXPORTS) \
  13178. (cd $(HOST_SUBDIR)/libelf && \
  13179. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  13180. $(TARGET-libelf))
  13181. @endif libelf
  13182. .PHONY: all-stage1-libelf maybe-all-stage1-libelf
  13183. .PHONY: clean-stage1-libelf maybe-clean-stage1-libelf
  13184. maybe-all-stage1-libelf:
  13185. maybe-clean-stage1-libelf:
  13186. @if libelf-bootstrap
  13187. maybe-all-stage1-libelf: all-stage1-libelf
  13188. all-stage1: all-stage1-libelf
  13189. TARGET-stage1-libelf = $(TARGET-libelf)
  13190. all-stage1-libelf: configure-stage1-libelf
  13191. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  13192. @r=`${PWD_COMMAND}`; export r; \
  13193. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13194. TFLAGS="$(STAGE1_TFLAGS)"; \
  13195. $(HOST_EXPORTS) \
  13196. cd $(HOST_SUBDIR)/libelf && \
  13197. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  13198. CFLAGS="$(STAGE1_CFLAGS)" \
  13199. CXXFLAGS="$(STAGE1_CXXFLAGS)" \
  13200. LIBCFLAGS="$(LIBCFLAGS)" \
  13201. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  13202. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  13203. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  13204. $(EXTRA_HOST_FLAGS) \
  13205. $(STAGE1_FLAGS_TO_PASS) \
  13206. TFLAGS="$(STAGE1_TFLAGS)" \
  13207. $(TARGET-stage1-libelf)
  13208. maybe-clean-stage1-libelf: clean-stage1-libelf
  13209. clean-stage1: clean-stage1-libelf
  13210. clean-stage1-libelf:
  13211. @if [ $(current_stage) = stage1 ]; then \
  13212. [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
  13213. else \
  13214. [ -f $(HOST_SUBDIR)/stage1-libelf/Makefile ] || exit 0; \
  13215. $(MAKE) stage1-start; \
  13216. fi; \
  13217. cd $(HOST_SUBDIR)/libelf && \
  13218. $(MAKE) $(EXTRA_HOST_FLAGS) \
  13219. $(STAGE1_FLAGS_TO_PASS) clean
  13220. @endif libelf-bootstrap
  13221. .PHONY: all-stage2-libelf maybe-all-stage2-libelf
  13222. .PHONY: clean-stage2-libelf maybe-clean-stage2-libelf
  13223. maybe-all-stage2-libelf:
  13224. maybe-clean-stage2-libelf:
  13225. @if libelf-bootstrap
  13226. maybe-all-stage2-libelf: all-stage2-libelf
  13227. all-stage2: all-stage2-libelf
  13228. TARGET-stage2-libelf = $(TARGET-libelf)
  13229. all-stage2-libelf: configure-stage2-libelf
  13230. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  13231. @r=`${PWD_COMMAND}`; export r; \
  13232. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13233. TFLAGS="$(STAGE2_TFLAGS)"; \
  13234. $(HOST_EXPORTS) \
  13235. $(POSTSTAGE1_HOST_EXPORTS) \
  13236. cd $(HOST_SUBDIR)/libelf && \
  13237. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  13238. CFLAGS="$(STAGE2_CFLAGS)" \
  13239. CXXFLAGS="$(STAGE2_CXXFLAGS)" \
  13240. LIBCFLAGS="$(STAGE2_CFLAGS)" \
  13241. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  13242. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  13243. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  13244. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  13245. TFLAGS="$(STAGE2_TFLAGS)" \
  13246. $(TARGET-stage2-libelf)
  13247. maybe-clean-stage2-libelf: clean-stage2-libelf
  13248. clean-stage2: clean-stage2-libelf
  13249. clean-stage2-libelf:
  13250. @if [ $(current_stage) = stage2 ]; then \
  13251. [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
  13252. else \
  13253. [ -f $(HOST_SUBDIR)/stage2-libelf/Makefile ] || exit 0; \
  13254. $(MAKE) stage2-start; \
  13255. fi; \
  13256. cd $(HOST_SUBDIR)/libelf && \
  13257. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  13258. @endif libelf-bootstrap
  13259. .PHONY: all-stage3-libelf maybe-all-stage3-libelf
  13260. .PHONY: clean-stage3-libelf maybe-clean-stage3-libelf
  13261. maybe-all-stage3-libelf:
  13262. maybe-clean-stage3-libelf:
  13263. @if libelf-bootstrap
  13264. maybe-all-stage3-libelf: all-stage3-libelf
  13265. all-stage3: all-stage3-libelf
  13266. TARGET-stage3-libelf = $(TARGET-libelf)
  13267. all-stage3-libelf: configure-stage3-libelf
  13268. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  13269. @r=`${PWD_COMMAND}`; export r; \
  13270. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13271. TFLAGS="$(STAGE3_TFLAGS)"; \
  13272. $(HOST_EXPORTS) \
  13273. $(POSTSTAGE1_HOST_EXPORTS) \
  13274. cd $(HOST_SUBDIR)/libelf && \
  13275. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  13276. CFLAGS="$(STAGE3_CFLAGS)" \
  13277. CXXFLAGS="$(STAGE3_CXXFLAGS)" \
  13278. LIBCFLAGS="$(STAGE3_CFLAGS)" \
  13279. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  13280. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  13281. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  13282. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  13283. TFLAGS="$(STAGE3_TFLAGS)" \
  13284. $(TARGET-stage3-libelf)
  13285. maybe-clean-stage3-libelf: clean-stage3-libelf
  13286. clean-stage3: clean-stage3-libelf
  13287. clean-stage3-libelf:
  13288. @if [ $(current_stage) = stage3 ]; then \
  13289. [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
  13290. else \
  13291. [ -f $(HOST_SUBDIR)/stage3-libelf/Makefile ] || exit 0; \
  13292. $(MAKE) stage3-start; \
  13293. fi; \
  13294. cd $(HOST_SUBDIR)/libelf && \
  13295. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  13296. @endif libelf-bootstrap
  13297. .PHONY: all-stage4-libelf maybe-all-stage4-libelf
  13298. .PHONY: clean-stage4-libelf maybe-clean-stage4-libelf
  13299. maybe-all-stage4-libelf:
  13300. maybe-clean-stage4-libelf:
  13301. @if libelf-bootstrap
  13302. maybe-all-stage4-libelf: all-stage4-libelf
  13303. all-stage4: all-stage4-libelf
  13304. TARGET-stage4-libelf = $(TARGET-libelf)
  13305. all-stage4-libelf: configure-stage4-libelf
  13306. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  13307. @r=`${PWD_COMMAND}`; export r; \
  13308. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13309. TFLAGS="$(STAGE4_TFLAGS)"; \
  13310. $(HOST_EXPORTS) \
  13311. $(POSTSTAGE1_HOST_EXPORTS) \
  13312. cd $(HOST_SUBDIR)/libelf && \
  13313. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  13314. CFLAGS="$(STAGE4_CFLAGS)" \
  13315. CXXFLAGS="$(STAGE4_CXXFLAGS)" \
  13316. LIBCFLAGS="$(STAGE4_CFLAGS)" \
  13317. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  13318. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  13319. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  13320. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  13321. TFLAGS="$(STAGE4_TFLAGS)" \
  13322. $(TARGET-stage4-libelf)
  13323. maybe-clean-stage4-libelf: clean-stage4-libelf
  13324. clean-stage4: clean-stage4-libelf
  13325. clean-stage4-libelf:
  13326. @if [ $(current_stage) = stage4 ]; then \
  13327. [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
  13328. else \
  13329. [ -f $(HOST_SUBDIR)/stage4-libelf/Makefile ] || exit 0; \
  13330. $(MAKE) stage4-start; \
  13331. fi; \
  13332. cd $(HOST_SUBDIR)/libelf && \
  13333. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  13334. @endif libelf-bootstrap
  13335. .PHONY: all-stageprofile-libelf maybe-all-stageprofile-libelf
  13336. .PHONY: clean-stageprofile-libelf maybe-clean-stageprofile-libelf
  13337. maybe-all-stageprofile-libelf:
  13338. maybe-clean-stageprofile-libelf:
  13339. @if libelf-bootstrap
  13340. maybe-all-stageprofile-libelf: all-stageprofile-libelf
  13341. all-stageprofile: all-stageprofile-libelf
  13342. TARGET-stageprofile-libelf = $(TARGET-libelf)
  13343. all-stageprofile-libelf: configure-stageprofile-libelf
  13344. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  13345. @r=`${PWD_COMMAND}`; export r; \
  13346. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13347. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  13348. $(HOST_EXPORTS) \
  13349. $(POSTSTAGE1_HOST_EXPORTS) \
  13350. cd $(HOST_SUBDIR)/libelf && \
  13351. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  13352. CFLAGS="$(STAGEprofile_CFLAGS)" \
  13353. CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
  13354. LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
  13355. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  13356. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  13357. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  13358. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  13359. TFLAGS="$(STAGEprofile_TFLAGS)" \
  13360. $(TARGET-stageprofile-libelf)
  13361. maybe-clean-stageprofile-libelf: clean-stageprofile-libelf
  13362. clean-stageprofile: clean-stageprofile-libelf
  13363. clean-stageprofile-libelf:
  13364. @if [ $(current_stage) = stageprofile ]; then \
  13365. [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
  13366. else \
  13367. [ -f $(HOST_SUBDIR)/stageprofile-libelf/Makefile ] || exit 0; \
  13368. $(MAKE) stageprofile-start; \
  13369. fi; \
  13370. cd $(HOST_SUBDIR)/libelf && \
  13371. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  13372. @endif libelf-bootstrap
  13373. .PHONY: all-stagefeedback-libelf maybe-all-stagefeedback-libelf
  13374. .PHONY: clean-stagefeedback-libelf maybe-clean-stagefeedback-libelf
  13375. maybe-all-stagefeedback-libelf:
  13376. maybe-clean-stagefeedback-libelf:
  13377. @if libelf-bootstrap
  13378. maybe-all-stagefeedback-libelf: all-stagefeedback-libelf
  13379. all-stagefeedback: all-stagefeedback-libelf
  13380. TARGET-stagefeedback-libelf = $(TARGET-libelf)
  13381. all-stagefeedback-libelf: configure-stagefeedback-libelf
  13382. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  13383. @r=`${PWD_COMMAND}`; export r; \
  13384. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13385. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  13386. $(HOST_EXPORTS) \
  13387. $(POSTSTAGE1_HOST_EXPORTS) \
  13388. cd $(HOST_SUBDIR)/libelf && \
  13389. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  13390. CFLAGS="$(STAGEfeedback_CFLAGS)" \
  13391. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
  13392. LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
  13393. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  13394. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  13395. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  13396. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  13397. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  13398. $(TARGET-stagefeedback-libelf)
  13399. maybe-clean-stagefeedback-libelf: clean-stagefeedback-libelf
  13400. clean-stagefeedback: clean-stagefeedback-libelf
  13401. clean-stagefeedback-libelf:
  13402. @if [ $(current_stage) = stagefeedback ]; then \
  13403. [ -f $(HOST_SUBDIR)/libelf/Makefile ] || exit 0; \
  13404. else \
  13405. [ -f $(HOST_SUBDIR)/stagefeedback-libelf/Makefile ] || exit 0; \
  13406. $(MAKE) stagefeedback-start; \
  13407. fi; \
  13408. cd $(HOST_SUBDIR)/libelf && \
  13409. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  13410. @endif libelf-bootstrap
  13411. .PHONY: check-libelf maybe-check-libelf
  13412. maybe-check-libelf:
  13413. @if libelf
  13414. maybe-check-libelf: check-libelf
  13415. check-libelf:
  13416. @: $(MAKE); $(unstage)
  13417. @r=`${PWD_COMMAND}`; export r; \
  13418. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13419. $(HOST_EXPORTS) \
  13420. (cd $(HOST_SUBDIR)/libelf && \
  13421. $(MAKE) $(FLAGS_TO_PASS) check)
  13422. @endif libelf
  13423. .PHONY: install-libelf maybe-install-libelf
  13424. maybe-install-libelf:
  13425. @if libelf
  13426. maybe-install-libelf: install-libelf
  13427. install-libelf:
  13428. @endif libelf
  13429. .PHONY: install-strip-libelf maybe-install-strip-libelf
  13430. maybe-install-strip-libelf:
  13431. @if libelf
  13432. maybe-install-strip-libelf: install-strip-libelf
  13433. install-strip-libelf:
  13434. @endif libelf
  13435. # Other targets (info, dvi, pdf, etc.)
  13436. .PHONY: maybe-info-libelf info-libelf
  13437. maybe-info-libelf:
  13438. @if libelf
  13439. maybe-info-libelf: info-libelf
  13440. info-libelf: \
  13441. configure-libelf
  13442. @[ -f ./libelf/Makefile ] || exit 0; \
  13443. r=`${PWD_COMMAND}`; export r; \
  13444. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13445. $(HOST_EXPORTS) \
  13446. for flag in $(EXTRA_HOST_FLAGS) ; do \
  13447. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  13448. done; \
  13449. echo "Doing info in libelf" ; \
  13450. (cd $(HOST_SUBDIR)/libelf && \
  13451. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  13452. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  13453. "RANLIB=$${RANLIB}" \
  13454. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  13455. info) \
  13456. || exit 1
  13457. @endif libelf
  13458. .PHONY: maybe-dvi-libelf dvi-libelf
  13459. maybe-dvi-libelf:
  13460. @if libelf
  13461. maybe-dvi-libelf: dvi-libelf
  13462. dvi-libelf: \
  13463. configure-libelf
  13464. @[ -f ./libelf/Makefile ] || exit 0; \
  13465. r=`${PWD_COMMAND}`; export r; \
  13466. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13467. $(HOST_EXPORTS) \
  13468. for flag in $(EXTRA_HOST_FLAGS) ; do \
  13469. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  13470. done; \
  13471. echo "Doing dvi in libelf" ; \
  13472. (cd $(HOST_SUBDIR)/libelf && \
  13473. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  13474. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  13475. "RANLIB=$${RANLIB}" \
  13476. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  13477. dvi) \
  13478. || exit 1
  13479. @endif libelf
  13480. .PHONY: maybe-pdf-libelf pdf-libelf
  13481. maybe-pdf-libelf:
  13482. @if libelf
  13483. maybe-pdf-libelf: pdf-libelf
  13484. pdf-libelf: \
  13485. configure-libelf
  13486. @[ -f ./libelf/Makefile ] || exit 0; \
  13487. r=`${PWD_COMMAND}`; export r; \
  13488. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13489. $(HOST_EXPORTS) \
  13490. for flag in $(EXTRA_HOST_FLAGS) ; do \
  13491. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  13492. done; \
  13493. echo "Doing pdf in libelf" ; \
  13494. (cd $(HOST_SUBDIR)/libelf && \
  13495. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  13496. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  13497. "RANLIB=$${RANLIB}" \
  13498. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  13499. pdf) \
  13500. || exit 1
  13501. @endif libelf
  13502. .PHONY: maybe-html-libelf html-libelf
  13503. maybe-html-libelf:
  13504. @if libelf
  13505. maybe-html-libelf: html-libelf
  13506. html-libelf: \
  13507. configure-libelf
  13508. @[ -f ./libelf/Makefile ] || exit 0; \
  13509. r=`${PWD_COMMAND}`; export r; \
  13510. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13511. $(HOST_EXPORTS) \
  13512. for flag in $(EXTRA_HOST_FLAGS) ; do \
  13513. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  13514. done; \
  13515. echo "Doing html in libelf" ; \
  13516. (cd $(HOST_SUBDIR)/libelf && \
  13517. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  13518. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  13519. "RANLIB=$${RANLIB}" \
  13520. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  13521. html) \
  13522. || exit 1
  13523. @endif libelf
  13524. .PHONY: maybe-TAGS-libelf TAGS-libelf
  13525. maybe-TAGS-libelf:
  13526. @if libelf
  13527. maybe-TAGS-libelf: TAGS-libelf
  13528. TAGS-libelf: \
  13529. configure-libelf
  13530. @[ -f ./libelf/Makefile ] || exit 0; \
  13531. r=`${PWD_COMMAND}`; export r; \
  13532. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13533. $(HOST_EXPORTS) \
  13534. for flag in $(EXTRA_HOST_FLAGS) ; do \
  13535. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  13536. done; \
  13537. echo "Doing TAGS in libelf" ; \
  13538. (cd $(HOST_SUBDIR)/libelf && \
  13539. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  13540. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  13541. "RANLIB=$${RANLIB}" \
  13542. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  13543. TAGS) \
  13544. || exit 1
  13545. @endif libelf
  13546. .PHONY: maybe-install-info-libelf install-info-libelf
  13547. maybe-install-info-libelf:
  13548. @if libelf
  13549. maybe-install-info-libelf: install-info-libelf
  13550. install-info-libelf: \
  13551. configure-libelf \
  13552. info-libelf
  13553. @[ -f ./libelf/Makefile ] || exit 0; \
  13554. r=`${PWD_COMMAND}`; export r; \
  13555. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13556. $(HOST_EXPORTS) \
  13557. for flag in $(EXTRA_HOST_FLAGS) ; do \
  13558. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  13559. done; \
  13560. echo "Doing install-info in libelf" ; \
  13561. (cd $(HOST_SUBDIR)/libelf && \
  13562. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  13563. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  13564. "RANLIB=$${RANLIB}" \
  13565. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  13566. install-info) \
  13567. || exit 1
  13568. @endif libelf
  13569. .PHONY: maybe-install-pdf-libelf install-pdf-libelf
  13570. maybe-install-pdf-libelf:
  13571. @if libelf
  13572. maybe-install-pdf-libelf: install-pdf-libelf
  13573. install-pdf-libelf: \
  13574. configure-libelf \
  13575. pdf-libelf
  13576. @[ -f ./libelf/Makefile ] || exit 0; \
  13577. r=`${PWD_COMMAND}`; export r; \
  13578. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13579. $(HOST_EXPORTS) \
  13580. for flag in $(EXTRA_HOST_FLAGS) ; do \
  13581. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  13582. done; \
  13583. echo "Doing install-pdf in libelf" ; \
  13584. (cd $(HOST_SUBDIR)/libelf && \
  13585. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  13586. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  13587. "RANLIB=$${RANLIB}" \
  13588. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  13589. install-pdf) \
  13590. || exit 1
  13591. @endif libelf
  13592. .PHONY: maybe-install-html-libelf install-html-libelf
  13593. maybe-install-html-libelf:
  13594. @if libelf
  13595. maybe-install-html-libelf: install-html-libelf
  13596. install-html-libelf: \
  13597. configure-libelf \
  13598. html-libelf
  13599. @[ -f ./libelf/Makefile ] || exit 0; \
  13600. r=`${PWD_COMMAND}`; export r; \
  13601. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13602. $(HOST_EXPORTS) \
  13603. for flag in $(EXTRA_HOST_FLAGS) ; do \
  13604. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  13605. done; \
  13606. echo "Doing install-html in libelf" ; \
  13607. (cd $(HOST_SUBDIR)/libelf && \
  13608. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  13609. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  13610. "RANLIB=$${RANLIB}" \
  13611. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  13612. install-html) \
  13613. || exit 1
  13614. @endif libelf
  13615. .PHONY: maybe-installcheck-libelf installcheck-libelf
  13616. maybe-installcheck-libelf:
  13617. @if libelf
  13618. maybe-installcheck-libelf: installcheck-libelf
  13619. installcheck-libelf: \
  13620. configure-libelf
  13621. @[ -f ./libelf/Makefile ] || exit 0; \
  13622. r=`${PWD_COMMAND}`; export r; \
  13623. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13624. $(HOST_EXPORTS) \
  13625. for flag in $(EXTRA_HOST_FLAGS) ; do \
  13626. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  13627. done; \
  13628. echo "Doing installcheck in libelf" ; \
  13629. (cd $(HOST_SUBDIR)/libelf && \
  13630. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  13631. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  13632. "RANLIB=$${RANLIB}" \
  13633. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  13634. installcheck) \
  13635. || exit 1
  13636. @endif libelf
  13637. .PHONY: maybe-mostlyclean-libelf mostlyclean-libelf
  13638. maybe-mostlyclean-libelf:
  13639. @if libelf
  13640. maybe-mostlyclean-libelf: mostlyclean-libelf
  13641. mostlyclean-libelf:
  13642. @[ -f ./libelf/Makefile ] || exit 0; \
  13643. r=`${PWD_COMMAND}`; export r; \
  13644. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13645. $(HOST_EXPORTS) \
  13646. for flag in $(EXTRA_HOST_FLAGS) ; do \
  13647. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  13648. done; \
  13649. echo "Doing mostlyclean in libelf" ; \
  13650. (cd $(HOST_SUBDIR)/libelf && \
  13651. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  13652. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  13653. "RANLIB=$${RANLIB}" \
  13654. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  13655. mostlyclean) \
  13656. || exit 1
  13657. @endif libelf
  13658. .PHONY: maybe-clean-libelf clean-libelf
  13659. maybe-clean-libelf:
  13660. @if libelf
  13661. maybe-clean-libelf: clean-libelf
  13662. clean-libelf:
  13663. @[ -f ./libelf/Makefile ] || exit 0; \
  13664. r=`${PWD_COMMAND}`; export r; \
  13665. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13666. $(HOST_EXPORTS) \
  13667. for flag in $(EXTRA_HOST_FLAGS) ; do \
  13668. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  13669. done; \
  13670. echo "Doing clean in libelf" ; \
  13671. (cd $(HOST_SUBDIR)/libelf && \
  13672. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  13673. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  13674. "RANLIB=$${RANLIB}" \
  13675. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  13676. clean) \
  13677. || exit 1
  13678. @endif libelf
  13679. .PHONY: maybe-distclean-libelf distclean-libelf
  13680. maybe-distclean-libelf:
  13681. @if libelf
  13682. maybe-distclean-libelf: distclean-libelf
  13683. distclean-libelf:
  13684. @[ -f ./libelf/Makefile ] || exit 0; \
  13685. r=`${PWD_COMMAND}`; export r; \
  13686. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13687. $(HOST_EXPORTS) \
  13688. for flag in $(EXTRA_HOST_FLAGS) ; do \
  13689. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  13690. done; \
  13691. echo "Doing distclean in libelf" ; \
  13692. (cd $(HOST_SUBDIR)/libelf && \
  13693. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  13694. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  13695. "RANLIB=$${RANLIB}" \
  13696. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  13697. distclean) \
  13698. || exit 1
  13699. @endif libelf
  13700. .PHONY: maybe-maintainer-clean-libelf maintainer-clean-libelf
  13701. maybe-maintainer-clean-libelf:
  13702. @if libelf
  13703. maybe-maintainer-clean-libelf: maintainer-clean-libelf
  13704. maintainer-clean-libelf:
  13705. @[ -f ./libelf/Makefile ] || exit 0; \
  13706. r=`${PWD_COMMAND}`; export r; \
  13707. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13708. $(HOST_EXPORTS) \
  13709. for flag in $(EXTRA_HOST_FLAGS) ; do \
  13710. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  13711. done; \
  13712. echo "Doing maintainer-clean in libelf" ; \
  13713. (cd $(HOST_SUBDIR)/libelf && \
  13714. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  13715. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  13716. "RANLIB=$${RANLIB}" \
  13717. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  13718. maintainer-clean) \
  13719. || exit 1
  13720. @endif libelf
  13721. .PHONY: configure-gold maybe-configure-gold
  13722. maybe-configure-gold:
  13723. @if gcc-bootstrap
  13724. configure-gold: stage_current
  13725. @endif gcc-bootstrap
  13726. @if gold
  13727. maybe-configure-gold: configure-gold
  13728. configure-gold:
  13729. @r=`${PWD_COMMAND}`; export r; \
  13730. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13731. test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
  13732. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
  13733. $(HOST_EXPORTS) \
  13734. echo Configuring in $(HOST_SUBDIR)/gold; \
  13735. cd "$(HOST_SUBDIR)/gold" || exit 1; \
  13736. case $(srcdir) in \
  13737. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  13738. *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
  13739. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  13740. esac; \
  13741. module_srcdir=gold; \
  13742. $(SHELL) \
  13743. $$s/$$module_srcdir/configure \
  13744. --srcdir=$${topdir}/$$module_srcdir \
  13745. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  13746. --target=${target_alias} \
  13747. || exit 1
  13748. @endif gold
  13749. .PHONY: configure-stage1-gold maybe-configure-stage1-gold
  13750. maybe-configure-stage1-gold:
  13751. @if gold-bootstrap
  13752. maybe-configure-stage1-gold: configure-stage1-gold
  13753. configure-stage1-gold:
  13754. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  13755. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
  13756. @r=`${PWD_COMMAND}`; export r; \
  13757. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13758. TFLAGS="$(STAGE1_TFLAGS)"; \
  13759. test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
  13760. $(HOST_EXPORTS) \
  13761. CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
  13762. CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
  13763. LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
  13764. echo Configuring stage 1 in $(HOST_SUBDIR)/gold ; \
  13765. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
  13766. cd $(HOST_SUBDIR)/gold || exit 1; \
  13767. case $(srcdir) in \
  13768. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  13769. *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
  13770. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  13771. esac; \
  13772. module_srcdir=gold; \
  13773. $(SHELL) $$s/$$module_srcdir/configure \
  13774. --srcdir=$${topdir}/$$module_srcdir \
  13775. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  13776. --target=${target_alias} \
  13777. \
  13778. $(STAGE1_CONFIGURE_FLAGS)
  13779. @endif gold-bootstrap
  13780. .PHONY: configure-stage2-gold maybe-configure-stage2-gold
  13781. maybe-configure-stage2-gold:
  13782. @if gold-bootstrap
  13783. maybe-configure-stage2-gold: configure-stage2-gold
  13784. configure-stage2-gold:
  13785. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  13786. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
  13787. @r=`${PWD_COMMAND}`; export r; \
  13788. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13789. TFLAGS="$(STAGE2_TFLAGS)"; \
  13790. test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
  13791. $(HOST_EXPORTS) \
  13792. $(POSTSTAGE1_HOST_EXPORTS) \
  13793. CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
  13794. CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
  13795. LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
  13796. echo Configuring stage 2 in $(HOST_SUBDIR)/gold ; \
  13797. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
  13798. cd $(HOST_SUBDIR)/gold || exit 1; \
  13799. case $(srcdir) in \
  13800. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  13801. *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
  13802. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  13803. esac; \
  13804. module_srcdir=gold; \
  13805. $(SHELL) $$s/$$module_srcdir/configure \
  13806. --srcdir=$${topdir}/$$module_srcdir \
  13807. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  13808. --target=${target_alias} \
  13809. --with-build-libsubdir=$(HOST_SUBDIR) \
  13810. $(STAGE2_CONFIGURE_FLAGS)
  13811. @endif gold-bootstrap
  13812. .PHONY: configure-stage3-gold maybe-configure-stage3-gold
  13813. maybe-configure-stage3-gold:
  13814. @if gold-bootstrap
  13815. maybe-configure-stage3-gold: configure-stage3-gold
  13816. configure-stage3-gold:
  13817. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  13818. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
  13819. @r=`${PWD_COMMAND}`; export r; \
  13820. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13821. TFLAGS="$(STAGE3_TFLAGS)"; \
  13822. test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
  13823. $(HOST_EXPORTS) \
  13824. $(POSTSTAGE1_HOST_EXPORTS) \
  13825. CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
  13826. CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
  13827. LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
  13828. echo Configuring stage 3 in $(HOST_SUBDIR)/gold ; \
  13829. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
  13830. cd $(HOST_SUBDIR)/gold || exit 1; \
  13831. case $(srcdir) in \
  13832. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  13833. *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
  13834. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  13835. esac; \
  13836. module_srcdir=gold; \
  13837. $(SHELL) $$s/$$module_srcdir/configure \
  13838. --srcdir=$${topdir}/$$module_srcdir \
  13839. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  13840. --target=${target_alias} \
  13841. --with-build-libsubdir=$(HOST_SUBDIR) \
  13842. $(STAGE3_CONFIGURE_FLAGS)
  13843. @endif gold-bootstrap
  13844. .PHONY: configure-stage4-gold maybe-configure-stage4-gold
  13845. maybe-configure-stage4-gold:
  13846. @if gold-bootstrap
  13847. maybe-configure-stage4-gold: configure-stage4-gold
  13848. configure-stage4-gold:
  13849. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  13850. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
  13851. @r=`${PWD_COMMAND}`; export r; \
  13852. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13853. TFLAGS="$(STAGE4_TFLAGS)"; \
  13854. test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
  13855. $(HOST_EXPORTS) \
  13856. $(POSTSTAGE1_HOST_EXPORTS) \
  13857. CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
  13858. CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
  13859. LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
  13860. echo Configuring stage 4 in $(HOST_SUBDIR)/gold ; \
  13861. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
  13862. cd $(HOST_SUBDIR)/gold || exit 1; \
  13863. case $(srcdir) in \
  13864. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  13865. *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
  13866. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  13867. esac; \
  13868. module_srcdir=gold; \
  13869. $(SHELL) $$s/$$module_srcdir/configure \
  13870. --srcdir=$${topdir}/$$module_srcdir \
  13871. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  13872. --target=${target_alias} \
  13873. --with-build-libsubdir=$(HOST_SUBDIR) \
  13874. $(STAGE4_CONFIGURE_FLAGS)
  13875. @endif gold-bootstrap
  13876. .PHONY: configure-stageprofile-gold maybe-configure-stageprofile-gold
  13877. maybe-configure-stageprofile-gold:
  13878. @if gold-bootstrap
  13879. maybe-configure-stageprofile-gold: configure-stageprofile-gold
  13880. configure-stageprofile-gold:
  13881. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  13882. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
  13883. @r=`${PWD_COMMAND}`; export r; \
  13884. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13885. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  13886. test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
  13887. $(HOST_EXPORTS) \
  13888. $(POSTSTAGE1_HOST_EXPORTS) \
  13889. CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
  13890. CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
  13891. LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
  13892. echo Configuring stage profile in $(HOST_SUBDIR)/gold ; \
  13893. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
  13894. cd $(HOST_SUBDIR)/gold || exit 1; \
  13895. case $(srcdir) in \
  13896. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  13897. *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
  13898. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  13899. esac; \
  13900. module_srcdir=gold; \
  13901. $(SHELL) $$s/$$module_srcdir/configure \
  13902. --srcdir=$${topdir}/$$module_srcdir \
  13903. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  13904. --target=${target_alias} \
  13905. --with-build-libsubdir=$(HOST_SUBDIR) \
  13906. $(STAGEprofile_CONFIGURE_FLAGS)
  13907. @endif gold-bootstrap
  13908. .PHONY: configure-stagefeedback-gold maybe-configure-stagefeedback-gold
  13909. maybe-configure-stagefeedback-gold:
  13910. @if gold-bootstrap
  13911. maybe-configure-stagefeedback-gold: configure-stagefeedback-gold
  13912. configure-stagefeedback-gold:
  13913. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  13914. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold
  13915. @r=`${PWD_COMMAND}`; export r; \
  13916. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13917. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  13918. test ! -f $(HOST_SUBDIR)/gold/Makefile || exit 0; \
  13919. $(HOST_EXPORTS) \
  13920. $(POSTSTAGE1_HOST_EXPORTS) \
  13921. CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
  13922. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
  13923. LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
  13924. echo Configuring stage feedback in $(HOST_SUBDIR)/gold ; \
  13925. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gold ; \
  13926. cd $(HOST_SUBDIR)/gold || exit 1; \
  13927. case $(srcdir) in \
  13928. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  13929. *) topdir=`echo $(HOST_SUBDIR)/gold/ | \
  13930. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  13931. esac; \
  13932. module_srcdir=gold; \
  13933. $(SHELL) $$s/$$module_srcdir/configure \
  13934. --srcdir=$${topdir}/$$module_srcdir \
  13935. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  13936. --target=${target_alias} \
  13937. --with-build-libsubdir=$(HOST_SUBDIR) \
  13938. $(STAGEfeedback_CONFIGURE_FLAGS)
  13939. @endif gold-bootstrap
  13940. .PHONY: all-gold maybe-all-gold
  13941. maybe-all-gold:
  13942. @if gcc-bootstrap
  13943. all-gold: stage_current
  13944. @endif gcc-bootstrap
  13945. @if gold
  13946. TARGET-gold=all
  13947. maybe-all-gold: all-gold
  13948. all-gold: configure-gold
  13949. @r=`${PWD_COMMAND}`; export r; \
  13950. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13951. $(HOST_EXPORTS) \
  13952. (cd $(HOST_SUBDIR)/gold && \
  13953. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  13954. $(TARGET-gold))
  13955. @endif gold
  13956. .PHONY: all-stage1-gold maybe-all-stage1-gold
  13957. .PHONY: clean-stage1-gold maybe-clean-stage1-gold
  13958. maybe-all-stage1-gold:
  13959. maybe-clean-stage1-gold:
  13960. @if gold-bootstrap
  13961. maybe-all-stage1-gold: all-stage1-gold
  13962. all-stage1: all-stage1-gold
  13963. TARGET-stage1-gold = $(TARGET-gold)
  13964. all-stage1-gold: configure-stage1-gold
  13965. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  13966. @r=`${PWD_COMMAND}`; export r; \
  13967. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  13968. TFLAGS="$(STAGE1_TFLAGS)"; \
  13969. $(HOST_EXPORTS) \
  13970. cd $(HOST_SUBDIR)/gold && \
  13971. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  13972. CFLAGS="$(STAGE1_CFLAGS)" \
  13973. CXXFLAGS="$(STAGE1_CXXFLAGS)" \
  13974. LIBCFLAGS="$(LIBCFLAGS)" \
  13975. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  13976. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  13977. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  13978. $(EXTRA_HOST_FLAGS) \
  13979. $(STAGE1_FLAGS_TO_PASS) \
  13980. TFLAGS="$(STAGE1_TFLAGS)" \
  13981. $(TARGET-stage1-gold)
  13982. maybe-clean-stage1-gold: clean-stage1-gold
  13983. clean-stage1: clean-stage1-gold
  13984. clean-stage1-gold:
  13985. @if [ $(current_stage) = stage1 ]; then \
  13986. [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
  13987. else \
  13988. [ -f $(HOST_SUBDIR)/stage1-gold/Makefile ] || exit 0; \
  13989. $(MAKE) stage1-start; \
  13990. fi; \
  13991. cd $(HOST_SUBDIR)/gold && \
  13992. $(MAKE) $(EXTRA_HOST_FLAGS) \
  13993. $(STAGE1_FLAGS_TO_PASS) clean
  13994. @endif gold-bootstrap
  13995. .PHONY: all-stage2-gold maybe-all-stage2-gold
  13996. .PHONY: clean-stage2-gold maybe-clean-stage2-gold
  13997. maybe-all-stage2-gold:
  13998. maybe-clean-stage2-gold:
  13999. @if gold-bootstrap
  14000. maybe-all-stage2-gold: all-stage2-gold
  14001. all-stage2: all-stage2-gold
  14002. TARGET-stage2-gold = $(TARGET-gold)
  14003. all-stage2-gold: configure-stage2-gold
  14004. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  14005. @r=`${PWD_COMMAND}`; export r; \
  14006. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14007. TFLAGS="$(STAGE2_TFLAGS)"; \
  14008. $(HOST_EXPORTS) \
  14009. $(POSTSTAGE1_HOST_EXPORTS) \
  14010. cd $(HOST_SUBDIR)/gold && \
  14011. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  14012. CFLAGS="$(STAGE2_CFLAGS)" \
  14013. CXXFLAGS="$(STAGE2_CXXFLAGS)" \
  14014. LIBCFLAGS="$(STAGE2_CFLAGS)" \
  14015. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  14016. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  14017. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  14018. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  14019. TFLAGS="$(STAGE2_TFLAGS)" \
  14020. $(TARGET-stage2-gold)
  14021. maybe-clean-stage2-gold: clean-stage2-gold
  14022. clean-stage2: clean-stage2-gold
  14023. clean-stage2-gold:
  14024. @if [ $(current_stage) = stage2 ]; then \
  14025. [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
  14026. else \
  14027. [ -f $(HOST_SUBDIR)/stage2-gold/Makefile ] || exit 0; \
  14028. $(MAKE) stage2-start; \
  14029. fi; \
  14030. cd $(HOST_SUBDIR)/gold && \
  14031. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  14032. @endif gold-bootstrap
  14033. .PHONY: all-stage3-gold maybe-all-stage3-gold
  14034. .PHONY: clean-stage3-gold maybe-clean-stage3-gold
  14035. maybe-all-stage3-gold:
  14036. maybe-clean-stage3-gold:
  14037. @if gold-bootstrap
  14038. maybe-all-stage3-gold: all-stage3-gold
  14039. all-stage3: all-stage3-gold
  14040. TARGET-stage3-gold = $(TARGET-gold)
  14041. all-stage3-gold: configure-stage3-gold
  14042. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  14043. @r=`${PWD_COMMAND}`; export r; \
  14044. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14045. TFLAGS="$(STAGE3_TFLAGS)"; \
  14046. $(HOST_EXPORTS) \
  14047. $(POSTSTAGE1_HOST_EXPORTS) \
  14048. cd $(HOST_SUBDIR)/gold && \
  14049. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  14050. CFLAGS="$(STAGE3_CFLAGS)" \
  14051. CXXFLAGS="$(STAGE3_CXXFLAGS)" \
  14052. LIBCFLAGS="$(STAGE3_CFLAGS)" \
  14053. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  14054. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  14055. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  14056. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  14057. TFLAGS="$(STAGE3_TFLAGS)" \
  14058. $(TARGET-stage3-gold)
  14059. maybe-clean-stage3-gold: clean-stage3-gold
  14060. clean-stage3: clean-stage3-gold
  14061. clean-stage3-gold:
  14062. @if [ $(current_stage) = stage3 ]; then \
  14063. [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
  14064. else \
  14065. [ -f $(HOST_SUBDIR)/stage3-gold/Makefile ] || exit 0; \
  14066. $(MAKE) stage3-start; \
  14067. fi; \
  14068. cd $(HOST_SUBDIR)/gold && \
  14069. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  14070. @endif gold-bootstrap
  14071. .PHONY: all-stage4-gold maybe-all-stage4-gold
  14072. .PHONY: clean-stage4-gold maybe-clean-stage4-gold
  14073. maybe-all-stage4-gold:
  14074. maybe-clean-stage4-gold:
  14075. @if gold-bootstrap
  14076. maybe-all-stage4-gold: all-stage4-gold
  14077. all-stage4: all-stage4-gold
  14078. TARGET-stage4-gold = $(TARGET-gold)
  14079. all-stage4-gold: configure-stage4-gold
  14080. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  14081. @r=`${PWD_COMMAND}`; export r; \
  14082. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14083. TFLAGS="$(STAGE4_TFLAGS)"; \
  14084. $(HOST_EXPORTS) \
  14085. $(POSTSTAGE1_HOST_EXPORTS) \
  14086. cd $(HOST_SUBDIR)/gold && \
  14087. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  14088. CFLAGS="$(STAGE4_CFLAGS)" \
  14089. CXXFLAGS="$(STAGE4_CXXFLAGS)" \
  14090. LIBCFLAGS="$(STAGE4_CFLAGS)" \
  14091. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  14092. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  14093. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  14094. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  14095. TFLAGS="$(STAGE4_TFLAGS)" \
  14096. $(TARGET-stage4-gold)
  14097. maybe-clean-stage4-gold: clean-stage4-gold
  14098. clean-stage4: clean-stage4-gold
  14099. clean-stage4-gold:
  14100. @if [ $(current_stage) = stage4 ]; then \
  14101. [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
  14102. else \
  14103. [ -f $(HOST_SUBDIR)/stage4-gold/Makefile ] || exit 0; \
  14104. $(MAKE) stage4-start; \
  14105. fi; \
  14106. cd $(HOST_SUBDIR)/gold && \
  14107. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  14108. @endif gold-bootstrap
  14109. .PHONY: all-stageprofile-gold maybe-all-stageprofile-gold
  14110. .PHONY: clean-stageprofile-gold maybe-clean-stageprofile-gold
  14111. maybe-all-stageprofile-gold:
  14112. maybe-clean-stageprofile-gold:
  14113. @if gold-bootstrap
  14114. maybe-all-stageprofile-gold: all-stageprofile-gold
  14115. all-stageprofile: all-stageprofile-gold
  14116. TARGET-stageprofile-gold = $(TARGET-gold)
  14117. all-stageprofile-gold: configure-stageprofile-gold
  14118. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  14119. @r=`${PWD_COMMAND}`; export r; \
  14120. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14121. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  14122. $(HOST_EXPORTS) \
  14123. $(POSTSTAGE1_HOST_EXPORTS) \
  14124. cd $(HOST_SUBDIR)/gold && \
  14125. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  14126. CFLAGS="$(STAGEprofile_CFLAGS)" \
  14127. CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
  14128. LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
  14129. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  14130. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  14131. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  14132. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  14133. TFLAGS="$(STAGEprofile_TFLAGS)" \
  14134. $(TARGET-stageprofile-gold)
  14135. maybe-clean-stageprofile-gold: clean-stageprofile-gold
  14136. clean-stageprofile: clean-stageprofile-gold
  14137. clean-stageprofile-gold:
  14138. @if [ $(current_stage) = stageprofile ]; then \
  14139. [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
  14140. else \
  14141. [ -f $(HOST_SUBDIR)/stageprofile-gold/Makefile ] || exit 0; \
  14142. $(MAKE) stageprofile-start; \
  14143. fi; \
  14144. cd $(HOST_SUBDIR)/gold && \
  14145. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  14146. @endif gold-bootstrap
  14147. .PHONY: all-stagefeedback-gold maybe-all-stagefeedback-gold
  14148. .PHONY: clean-stagefeedback-gold maybe-clean-stagefeedback-gold
  14149. maybe-all-stagefeedback-gold:
  14150. maybe-clean-stagefeedback-gold:
  14151. @if gold-bootstrap
  14152. maybe-all-stagefeedback-gold: all-stagefeedback-gold
  14153. all-stagefeedback: all-stagefeedback-gold
  14154. TARGET-stagefeedback-gold = $(TARGET-gold)
  14155. all-stagefeedback-gold: configure-stagefeedback-gold
  14156. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  14157. @r=`${PWD_COMMAND}`; export r; \
  14158. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14159. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  14160. $(HOST_EXPORTS) \
  14161. $(POSTSTAGE1_HOST_EXPORTS) \
  14162. cd $(HOST_SUBDIR)/gold && \
  14163. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  14164. CFLAGS="$(STAGEfeedback_CFLAGS)" \
  14165. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
  14166. LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
  14167. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  14168. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  14169. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  14170. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  14171. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  14172. $(TARGET-stagefeedback-gold)
  14173. maybe-clean-stagefeedback-gold: clean-stagefeedback-gold
  14174. clean-stagefeedback: clean-stagefeedback-gold
  14175. clean-stagefeedback-gold:
  14176. @if [ $(current_stage) = stagefeedback ]; then \
  14177. [ -f $(HOST_SUBDIR)/gold/Makefile ] || exit 0; \
  14178. else \
  14179. [ -f $(HOST_SUBDIR)/stagefeedback-gold/Makefile ] || exit 0; \
  14180. $(MAKE) stagefeedback-start; \
  14181. fi; \
  14182. cd $(HOST_SUBDIR)/gold && \
  14183. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  14184. @endif gold-bootstrap
  14185. .PHONY: check-gold maybe-check-gold
  14186. maybe-check-gold:
  14187. @if gold
  14188. maybe-check-gold: check-gold
  14189. check-gold:
  14190. @: $(MAKE); $(unstage)
  14191. @r=`${PWD_COMMAND}`; export r; \
  14192. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14193. $(HOST_EXPORTS) \
  14194. (cd $(HOST_SUBDIR)/gold && \
  14195. $(MAKE) $(FLAGS_TO_PASS) check)
  14196. @endif gold
  14197. .PHONY: install-gold maybe-install-gold
  14198. maybe-install-gold:
  14199. @if gold
  14200. maybe-install-gold: install-gold
  14201. install-gold: installdirs
  14202. @: $(MAKE); $(unstage)
  14203. @r=`${PWD_COMMAND}`; export r; \
  14204. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14205. $(HOST_EXPORTS) \
  14206. (cd $(HOST_SUBDIR)/gold && \
  14207. $(MAKE) $(FLAGS_TO_PASS) install)
  14208. @endif gold
  14209. .PHONY: install-strip-gold maybe-install-strip-gold
  14210. maybe-install-strip-gold:
  14211. @if gold
  14212. maybe-install-strip-gold: install-strip-gold
  14213. install-strip-gold: installdirs
  14214. @: $(MAKE); $(unstage)
  14215. @r=`${PWD_COMMAND}`; export r; \
  14216. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14217. $(HOST_EXPORTS) \
  14218. (cd $(HOST_SUBDIR)/gold && \
  14219. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  14220. @endif gold
  14221. # Other targets (info, dvi, pdf, etc.)
  14222. .PHONY: maybe-info-gold info-gold
  14223. maybe-info-gold:
  14224. @if gold
  14225. maybe-info-gold: info-gold
  14226. info-gold: \
  14227. configure-gold
  14228. @[ -f ./gold/Makefile ] || exit 0; \
  14229. r=`${PWD_COMMAND}`; export r; \
  14230. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14231. $(HOST_EXPORTS) \
  14232. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14233. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14234. done; \
  14235. echo "Doing info in gold" ; \
  14236. (cd $(HOST_SUBDIR)/gold && \
  14237. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14238. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14239. "RANLIB=$${RANLIB}" \
  14240. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14241. info) \
  14242. || exit 1
  14243. @endif gold
  14244. .PHONY: maybe-dvi-gold dvi-gold
  14245. maybe-dvi-gold:
  14246. @if gold
  14247. maybe-dvi-gold: dvi-gold
  14248. dvi-gold: \
  14249. configure-gold
  14250. @[ -f ./gold/Makefile ] || exit 0; \
  14251. r=`${PWD_COMMAND}`; export r; \
  14252. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14253. $(HOST_EXPORTS) \
  14254. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14255. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14256. done; \
  14257. echo "Doing dvi in gold" ; \
  14258. (cd $(HOST_SUBDIR)/gold && \
  14259. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14260. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14261. "RANLIB=$${RANLIB}" \
  14262. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14263. dvi) \
  14264. || exit 1
  14265. @endif gold
  14266. .PHONY: maybe-pdf-gold pdf-gold
  14267. maybe-pdf-gold:
  14268. @if gold
  14269. maybe-pdf-gold: pdf-gold
  14270. pdf-gold: \
  14271. configure-gold
  14272. @[ -f ./gold/Makefile ] || exit 0; \
  14273. r=`${PWD_COMMAND}`; export r; \
  14274. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14275. $(HOST_EXPORTS) \
  14276. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14277. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14278. done; \
  14279. echo "Doing pdf in gold" ; \
  14280. (cd $(HOST_SUBDIR)/gold && \
  14281. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14282. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14283. "RANLIB=$${RANLIB}" \
  14284. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14285. pdf) \
  14286. || exit 1
  14287. @endif gold
  14288. .PHONY: maybe-html-gold html-gold
  14289. maybe-html-gold:
  14290. @if gold
  14291. maybe-html-gold: html-gold
  14292. html-gold: \
  14293. configure-gold
  14294. @[ -f ./gold/Makefile ] || exit 0; \
  14295. r=`${PWD_COMMAND}`; export r; \
  14296. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14297. $(HOST_EXPORTS) \
  14298. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14299. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14300. done; \
  14301. echo "Doing html in gold" ; \
  14302. (cd $(HOST_SUBDIR)/gold && \
  14303. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14304. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14305. "RANLIB=$${RANLIB}" \
  14306. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14307. html) \
  14308. || exit 1
  14309. @endif gold
  14310. .PHONY: maybe-TAGS-gold TAGS-gold
  14311. maybe-TAGS-gold:
  14312. @if gold
  14313. maybe-TAGS-gold: TAGS-gold
  14314. TAGS-gold: \
  14315. configure-gold
  14316. @[ -f ./gold/Makefile ] || exit 0; \
  14317. r=`${PWD_COMMAND}`; export r; \
  14318. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14319. $(HOST_EXPORTS) \
  14320. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14321. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14322. done; \
  14323. echo "Doing TAGS in gold" ; \
  14324. (cd $(HOST_SUBDIR)/gold && \
  14325. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14326. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14327. "RANLIB=$${RANLIB}" \
  14328. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14329. TAGS) \
  14330. || exit 1
  14331. @endif gold
  14332. .PHONY: maybe-install-info-gold install-info-gold
  14333. maybe-install-info-gold:
  14334. @if gold
  14335. maybe-install-info-gold: install-info-gold
  14336. install-info-gold: \
  14337. configure-gold \
  14338. info-gold
  14339. @[ -f ./gold/Makefile ] || exit 0; \
  14340. r=`${PWD_COMMAND}`; export r; \
  14341. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14342. $(HOST_EXPORTS) \
  14343. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14344. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14345. done; \
  14346. echo "Doing install-info in gold" ; \
  14347. (cd $(HOST_SUBDIR)/gold && \
  14348. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14349. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14350. "RANLIB=$${RANLIB}" \
  14351. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14352. install-info) \
  14353. || exit 1
  14354. @endif gold
  14355. .PHONY: maybe-install-pdf-gold install-pdf-gold
  14356. maybe-install-pdf-gold:
  14357. @if gold
  14358. maybe-install-pdf-gold: install-pdf-gold
  14359. install-pdf-gold: \
  14360. configure-gold \
  14361. pdf-gold
  14362. @[ -f ./gold/Makefile ] || exit 0; \
  14363. r=`${PWD_COMMAND}`; export r; \
  14364. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14365. $(HOST_EXPORTS) \
  14366. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14367. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14368. done; \
  14369. echo "Doing install-pdf in gold" ; \
  14370. (cd $(HOST_SUBDIR)/gold && \
  14371. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14372. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14373. "RANLIB=$${RANLIB}" \
  14374. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14375. install-pdf) \
  14376. || exit 1
  14377. @endif gold
  14378. .PHONY: maybe-install-html-gold install-html-gold
  14379. maybe-install-html-gold:
  14380. @if gold
  14381. maybe-install-html-gold: install-html-gold
  14382. install-html-gold: \
  14383. configure-gold \
  14384. html-gold
  14385. @[ -f ./gold/Makefile ] || exit 0; \
  14386. r=`${PWD_COMMAND}`; export r; \
  14387. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14388. $(HOST_EXPORTS) \
  14389. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14390. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14391. done; \
  14392. echo "Doing install-html in gold" ; \
  14393. (cd $(HOST_SUBDIR)/gold && \
  14394. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14395. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14396. "RANLIB=$${RANLIB}" \
  14397. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14398. install-html) \
  14399. || exit 1
  14400. @endif gold
  14401. .PHONY: maybe-installcheck-gold installcheck-gold
  14402. maybe-installcheck-gold:
  14403. @if gold
  14404. maybe-installcheck-gold: installcheck-gold
  14405. installcheck-gold: \
  14406. configure-gold
  14407. @[ -f ./gold/Makefile ] || exit 0; \
  14408. r=`${PWD_COMMAND}`; export r; \
  14409. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14410. $(HOST_EXPORTS) \
  14411. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14412. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14413. done; \
  14414. echo "Doing installcheck in gold" ; \
  14415. (cd $(HOST_SUBDIR)/gold && \
  14416. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14417. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14418. "RANLIB=$${RANLIB}" \
  14419. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14420. installcheck) \
  14421. || exit 1
  14422. @endif gold
  14423. .PHONY: maybe-mostlyclean-gold mostlyclean-gold
  14424. maybe-mostlyclean-gold:
  14425. @if gold
  14426. maybe-mostlyclean-gold: mostlyclean-gold
  14427. mostlyclean-gold:
  14428. @[ -f ./gold/Makefile ] || exit 0; \
  14429. r=`${PWD_COMMAND}`; export r; \
  14430. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14431. $(HOST_EXPORTS) \
  14432. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14433. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14434. done; \
  14435. echo "Doing mostlyclean in gold" ; \
  14436. (cd $(HOST_SUBDIR)/gold && \
  14437. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14438. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14439. "RANLIB=$${RANLIB}" \
  14440. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14441. mostlyclean) \
  14442. || exit 1
  14443. @endif gold
  14444. .PHONY: maybe-clean-gold clean-gold
  14445. maybe-clean-gold:
  14446. @if gold
  14447. maybe-clean-gold: clean-gold
  14448. clean-gold:
  14449. @[ -f ./gold/Makefile ] || exit 0; \
  14450. r=`${PWD_COMMAND}`; export r; \
  14451. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14452. $(HOST_EXPORTS) \
  14453. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14454. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14455. done; \
  14456. echo "Doing clean in gold" ; \
  14457. (cd $(HOST_SUBDIR)/gold && \
  14458. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14459. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14460. "RANLIB=$${RANLIB}" \
  14461. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14462. clean) \
  14463. || exit 1
  14464. @endif gold
  14465. .PHONY: maybe-distclean-gold distclean-gold
  14466. maybe-distclean-gold:
  14467. @if gold
  14468. maybe-distclean-gold: distclean-gold
  14469. distclean-gold:
  14470. @[ -f ./gold/Makefile ] || exit 0; \
  14471. r=`${PWD_COMMAND}`; export r; \
  14472. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14473. $(HOST_EXPORTS) \
  14474. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14475. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14476. done; \
  14477. echo "Doing distclean in gold" ; \
  14478. (cd $(HOST_SUBDIR)/gold && \
  14479. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14480. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14481. "RANLIB=$${RANLIB}" \
  14482. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14483. distclean) \
  14484. || exit 1
  14485. @endif gold
  14486. .PHONY: maybe-maintainer-clean-gold maintainer-clean-gold
  14487. maybe-maintainer-clean-gold:
  14488. @if gold
  14489. maybe-maintainer-clean-gold: maintainer-clean-gold
  14490. maintainer-clean-gold:
  14491. @[ -f ./gold/Makefile ] || exit 0; \
  14492. r=`${PWD_COMMAND}`; export r; \
  14493. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14494. $(HOST_EXPORTS) \
  14495. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14496. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14497. done; \
  14498. echo "Doing maintainer-clean in gold" ; \
  14499. (cd $(HOST_SUBDIR)/gold && \
  14500. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14501. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14502. "RANLIB=$${RANLIB}" \
  14503. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14504. maintainer-clean) \
  14505. || exit 1
  14506. @endif gold
  14507. .PHONY: configure-gprof maybe-configure-gprof
  14508. maybe-configure-gprof:
  14509. @if gcc-bootstrap
  14510. configure-gprof: stage_current
  14511. @endif gcc-bootstrap
  14512. @if gprof
  14513. maybe-configure-gprof: configure-gprof
  14514. configure-gprof:
  14515. @: $(MAKE); $(unstage)
  14516. @r=`${PWD_COMMAND}`; export r; \
  14517. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14518. test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
  14519. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
  14520. $(HOST_EXPORTS) \
  14521. echo Configuring in $(HOST_SUBDIR)/gprof; \
  14522. cd "$(HOST_SUBDIR)/gprof" || exit 1; \
  14523. case $(srcdir) in \
  14524. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  14525. *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
  14526. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  14527. esac; \
  14528. module_srcdir=gprof; \
  14529. $(SHELL) \
  14530. $$s/$$module_srcdir/configure \
  14531. --srcdir=$${topdir}/$$module_srcdir \
  14532. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  14533. --target=${target_alias} \
  14534. || exit 1
  14535. @endif gprof
  14536. .PHONY: all-gprof maybe-all-gprof
  14537. maybe-all-gprof:
  14538. @if gcc-bootstrap
  14539. all-gprof: stage_current
  14540. @endif gcc-bootstrap
  14541. @if gprof
  14542. TARGET-gprof=all
  14543. maybe-all-gprof: all-gprof
  14544. all-gprof: configure-gprof
  14545. @: $(MAKE); $(unstage)
  14546. @r=`${PWD_COMMAND}`; export r; \
  14547. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14548. $(HOST_EXPORTS) \
  14549. (cd $(HOST_SUBDIR)/gprof && \
  14550. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  14551. $(TARGET-gprof))
  14552. @endif gprof
  14553. .PHONY: check-gprof maybe-check-gprof
  14554. maybe-check-gprof:
  14555. @if gprof
  14556. maybe-check-gprof: check-gprof
  14557. check-gprof:
  14558. @: $(MAKE); $(unstage)
  14559. @r=`${PWD_COMMAND}`; export r; \
  14560. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14561. $(HOST_EXPORTS) \
  14562. (cd $(HOST_SUBDIR)/gprof && \
  14563. $(MAKE) $(FLAGS_TO_PASS) check)
  14564. @endif gprof
  14565. .PHONY: install-gprof maybe-install-gprof
  14566. maybe-install-gprof:
  14567. @if gprof
  14568. maybe-install-gprof: install-gprof
  14569. install-gprof: installdirs
  14570. @: $(MAKE); $(unstage)
  14571. @r=`${PWD_COMMAND}`; export r; \
  14572. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14573. $(HOST_EXPORTS) \
  14574. (cd $(HOST_SUBDIR)/gprof && \
  14575. $(MAKE) $(FLAGS_TO_PASS) install)
  14576. @endif gprof
  14577. .PHONY: install-strip-gprof maybe-install-strip-gprof
  14578. maybe-install-strip-gprof:
  14579. @if gprof
  14580. maybe-install-strip-gprof: install-strip-gprof
  14581. install-strip-gprof: installdirs
  14582. @: $(MAKE); $(unstage)
  14583. @r=`${PWD_COMMAND}`; export r; \
  14584. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14585. $(HOST_EXPORTS) \
  14586. (cd $(HOST_SUBDIR)/gprof && \
  14587. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  14588. @endif gprof
  14589. # Other targets (info, dvi, pdf, etc.)
  14590. .PHONY: maybe-info-gprof info-gprof
  14591. maybe-info-gprof:
  14592. @if gprof
  14593. maybe-info-gprof: info-gprof
  14594. info-gprof: \
  14595. configure-gprof
  14596. @: $(MAKE); $(unstage)
  14597. @[ -f ./gprof/Makefile ] || exit 0; \
  14598. r=`${PWD_COMMAND}`; export r; \
  14599. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14600. $(HOST_EXPORTS) \
  14601. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14602. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14603. done; \
  14604. echo "Doing info in gprof" ; \
  14605. (cd $(HOST_SUBDIR)/gprof && \
  14606. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14607. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14608. "RANLIB=$${RANLIB}" \
  14609. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14610. info) \
  14611. || exit 1
  14612. @endif gprof
  14613. .PHONY: maybe-dvi-gprof dvi-gprof
  14614. maybe-dvi-gprof:
  14615. @if gprof
  14616. maybe-dvi-gprof: dvi-gprof
  14617. dvi-gprof: \
  14618. configure-gprof
  14619. @: $(MAKE); $(unstage)
  14620. @[ -f ./gprof/Makefile ] || exit 0; \
  14621. r=`${PWD_COMMAND}`; export r; \
  14622. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14623. $(HOST_EXPORTS) \
  14624. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14625. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14626. done; \
  14627. echo "Doing dvi in gprof" ; \
  14628. (cd $(HOST_SUBDIR)/gprof && \
  14629. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14630. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14631. "RANLIB=$${RANLIB}" \
  14632. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14633. dvi) \
  14634. || exit 1
  14635. @endif gprof
  14636. .PHONY: maybe-pdf-gprof pdf-gprof
  14637. maybe-pdf-gprof:
  14638. @if gprof
  14639. maybe-pdf-gprof: pdf-gprof
  14640. pdf-gprof: \
  14641. configure-gprof
  14642. @: $(MAKE); $(unstage)
  14643. @[ -f ./gprof/Makefile ] || exit 0; \
  14644. r=`${PWD_COMMAND}`; export r; \
  14645. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14646. $(HOST_EXPORTS) \
  14647. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14648. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14649. done; \
  14650. echo "Doing pdf in gprof" ; \
  14651. (cd $(HOST_SUBDIR)/gprof && \
  14652. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14653. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14654. "RANLIB=$${RANLIB}" \
  14655. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14656. pdf) \
  14657. || exit 1
  14658. @endif gprof
  14659. .PHONY: maybe-html-gprof html-gprof
  14660. maybe-html-gprof:
  14661. @if gprof
  14662. maybe-html-gprof: html-gprof
  14663. html-gprof: \
  14664. configure-gprof
  14665. @: $(MAKE); $(unstage)
  14666. @[ -f ./gprof/Makefile ] || exit 0; \
  14667. r=`${PWD_COMMAND}`; export r; \
  14668. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14669. $(HOST_EXPORTS) \
  14670. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14671. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14672. done; \
  14673. echo "Doing html in gprof" ; \
  14674. (cd $(HOST_SUBDIR)/gprof && \
  14675. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14676. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14677. "RANLIB=$${RANLIB}" \
  14678. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14679. html) \
  14680. || exit 1
  14681. @endif gprof
  14682. .PHONY: maybe-TAGS-gprof TAGS-gprof
  14683. maybe-TAGS-gprof:
  14684. @if gprof
  14685. maybe-TAGS-gprof: TAGS-gprof
  14686. TAGS-gprof: \
  14687. configure-gprof
  14688. @: $(MAKE); $(unstage)
  14689. @[ -f ./gprof/Makefile ] || exit 0; \
  14690. r=`${PWD_COMMAND}`; export r; \
  14691. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14692. $(HOST_EXPORTS) \
  14693. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14694. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14695. done; \
  14696. echo "Doing TAGS in gprof" ; \
  14697. (cd $(HOST_SUBDIR)/gprof && \
  14698. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14699. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14700. "RANLIB=$${RANLIB}" \
  14701. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14702. TAGS) \
  14703. || exit 1
  14704. @endif gprof
  14705. .PHONY: maybe-install-info-gprof install-info-gprof
  14706. maybe-install-info-gprof:
  14707. @if gprof
  14708. maybe-install-info-gprof: install-info-gprof
  14709. install-info-gprof: \
  14710. configure-gprof \
  14711. info-gprof
  14712. @: $(MAKE); $(unstage)
  14713. @[ -f ./gprof/Makefile ] || exit 0; \
  14714. r=`${PWD_COMMAND}`; export r; \
  14715. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14716. $(HOST_EXPORTS) \
  14717. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14718. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14719. done; \
  14720. echo "Doing install-info in gprof" ; \
  14721. (cd $(HOST_SUBDIR)/gprof && \
  14722. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14723. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14724. "RANLIB=$${RANLIB}" \
  14725. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14726. install-info) \
  14727. || exit 1
  14728. @endif gprof
  14729. .PHONY: maybe-install-pdf-gprof install-pdf-gprof
  14730. maybe-install-pdf-gprof:
  14731. @if gprof
  14732. maybe-install-pdf-gprof: install-pdf-gprof
  14733. install-pdf-gprof: \
  14734. configure-gprof \
  14735. pdf-gprof
  14736. @: $(MAKE); $(unstage)
  14737. @[ -f ./gprof/Makefile ] || exit 0; \
  14738. r=`${PWD_COMMAND}`; export r; \
  14739. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14740. $(HOST_EXPORTS) \
  14741. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14742. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14743. done; \
  14744. echo "Doing install-pdf in gprof" ; \
  14745. (cd $(HOST_SUBDIR)/gprof && \
  14746. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14747. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14748. "RANLIB=$${RANLIB}" \
  14749. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14750. install-pdf) \
  14751. || exit 1
  14752. @endif gprof
  14753. .PHONY: maybe-install-html-gprof install-html-gprof
  14754. maybe-install-html-gprof:
  14755. @if gprof
  14756. maybe-install-html-gprof: install-html-gprof
  14757. install-html-gprof: \
  14758. configure-gprof \
  14759. html-gprof
  14760. @: $(MAKE); $(unstage)
  14761. @[ -f ./gprof/Makefile ] || exit 0; \
  14762. r=`${PWD_COMMAND}`; export r; \
  14763. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14764. $(HOST_EXPORTS) \
  14765. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14766. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14767. done; \
  14768. echo "Doing install-html in gprof" ; \
  14769. (cd $(HOST_SUBDIR)/gprof && \
  14770. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14771. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14772. "RANLIB=$${RANLIB}" \
  14773. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14774. install-html) \
  14775. || exit 1
  14776. @endif gprof
  14777. .PHONY: maybe-installcheck-gprof installcheck-gprof
  14778. maybe-installcheck-gprof:
  14779. @if gprof
  14780. maybe-installcheck-gprof: installcheck-gprof
  14781. installcheck-gprof: \
  14782. configure-gprof
  14783. @: $(MAKE); $(unstage)
  14784. @[ -f ./gprof/Makefile ] || exit 0; \
  14785. r=`${PWD_COMMAND}`; export r; \
  14786. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14787. $(HOST_EXPORTS) \
  14788. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14789. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14790. done; \
  14791. echo "Doing installcheck in gprof" ; \
  14792. (cd $(HOST_SUBDIR)/gprof && \
  14793. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14794. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14795. "RANLIB=$${RANLIB}" \
  14796. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14797. installcheck) \
  14798. || exit 1
  14799. @endif gprof
  14800. .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
  14801. maybe-mostlyclean-gprof:
  14802. @if gprof
  14803. maybe-mostlyclean-gprof: mostlyclean-gprof
  14804. mostlyclean-gprof:
  14805. @: $(MAKE); $(unstage)
  14806. @[ -f ./gprof/Makefile ] || exit 0; \
  14807. r=`${PWD_COMMAND}`; export r; \
  14808. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14809. $(HOST_EXPORTS) \
  14810. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14811. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14812. done; \
  14813. echo "Doing mostlyclean in gprof" ; \
  14814. (cd $(HOST_SUBDIR)/gprof && \
  14815. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14816. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14817. "RANLIB=$${RANLIB}" \
  14818. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14819. mostlyclean) \
  14820. || exit 1
  14821. @endif gprof
  14822. .PHONY: maybe-clean-gprof clean-gprof
  14823. maybe-clean-gprof:
  14824. @if gprof
  14825. maybe-clean-gprof: clean-gprof
  14826. clean-gprof:
  14827. @: $(MAKE); $(unstage)
  14828. @[ -f ./gprof/Makefile ] || exit 0; \
  14829. r=`${PWD_COMMAND}`; export r; \
  14830. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14831. $(HOST_EXPORTS) \
  14832. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14833. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14834. done; \
  14835. echo "Doing clean in gprof" ; \
  14836. (cd $(HOST_SUBDIR)/gprof && \
  14837. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14838. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14839. "RANLIB=$${RANLIB}" \
  14840. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14841. clean) \
  14842. || exit 1
  14843. @endif gprof
  14844. .PHONY: maybe-distclean-gprof distclean-gprof
  14845. maybe-distclean-gprof:
  14846. @if gprof
  14847. maybe-distclean-gprof: distclean-gprof
  14848. distclean-gprof:
  14849. @: $(MAKE); $(unstage)
  14850. @[ -f ./gprof/Makefile ] || exit 0; \
  14851. r=`${PWD_COMMAND}`; export r; \
  14852. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14853. $(HOST_EXPORTS) \
  14854. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14855. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14856. done; \
  14857. echo "Doing distclean in gprof" ; \
  14858. (cd $(HOST_SUBDIR)/gprof && \
  14859. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14860. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14861. "RANLIB=$${RANLIB}" \
  14862. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14863. distclean) \
  14864. || exit 1
  14865. @endif gprof
  14866. .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
  14867. maybe-maintainer-clean-gprof:
  14868. @if gprof
  14869. maybe-maintainer-clean-gprof: maintainer-clean-gprof
  14870. maintainer-clean-gprof:
  14871. @: $(MAKE); $(unstage)
  14872. @[ -f ./gprof/Makefile ] || exit 0; \
  14873. r=`${PWD_COMMAND}`; export r; \
  14874. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14875. $(HOST_EXPORTS) \
  14876. for flag in $(EXTRA_HOST_FLAGS) ; do \
  14877. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  14878. done; \
  14879. echo "Doing maintainer-clean in gprof" ; \
  14880. (cd $(HOST_SUBDIR)/gprof && \
  14881. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  14882. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  14883. "RANLIB=$${RANLIB}" \
  14884. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  14885. maintainer-clean) \
  14886. || exit 1
  14887. @endif gprof
  14888. .PHONY: configure-intl maybe-configure-intl
  14889. maybe-configure-intl:
  14890. @if gcc-bootstrap
  14891. configure-intl: stage_current
  14892. @endif gcc-bootstrap
  14893. @if intl
  14894. maybe-configure-intl: configure-intl
  14895. configure-intl:
  14896. @r=`${PWD_COMMAND}`; export r; \
  14897. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14898. test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
  14899. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
  14900. $(HOST_EXPORTS) \
  14901. echo Configuring in $(HOST_SUBDIR)/intl; \
  14902. cd "$(HOST_SUBDIR)/intl" || exit 1; \
  14903. case $(srcdir) in \
  14904. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  14905. *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
  14906. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  14907. esac; \
  14908. module_srcdir=intl; \
  14909. $(SHELL) \
  14910. $$s/$$module_srcdir/configure \
  14911. --srcdir=$${topdir}/$$module_srcdir \
  14912. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  14913. --target=${target_alias} \
  14914. || exit 1
  14915. @endif intl
  14916. .PHONY: configure-stage1-intl maybe-configure-stage1-intl
  14917. maybe-configure-stage1-intl:
  14918. @if intl-bootstrap
  14919. maybe-configure-stage1-intl: configure-stage1-intl
  14920. configure-stage1-intl:
  14921. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  14922. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
  14923. @r=`${PWD_COMMAND}`; export r; \
  14924. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14925. TFLAGS="$(STAGE1_TFLAGS)"; \
  14926. test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
  14927. $(HOST_EXPORTS) \
  14928. CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
  14929. CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
  14930. LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
  14931. echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
  14932. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
  14933. cd $(HOST_SUBDIR)/intl || exit 1; \
  14934. case $(srcdir) in \
  14935. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  14936. *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
  14937. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  14938. esac; \
  14939. module_srcdir=intl; \
  14940. $(SHELL) $$s/$$module_srcdir/configure \
  14941. --srcdir=$${topdir}/$$module_srcdir \
  14942. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  14943. --target=${target_alias} \
  14944. \
  14945. $(STAGE1_CONFIGURE_FLAGS)
  14946. @endif intl-bootstrap
  14947. .PHONY: configure-stage2-intl maybe-configure-stage2-intl
  14948. maybe-configure-stage2-intl:
  14949. @if intl-bootstrap
  14950. maybe-configure-stage2-intl: configure-stage2-intl
  14951. configure-stage2-intl:
  14952. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  14953. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
  14954. @r=`${PWD_COMMAND}`; export r; \
  14955. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14956. TFLAGS="$(STAGE2_TFLAGS)"; \
  14957. test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
  14958. $(HOST_EXPORTS) \
  14959. $(POSTSTAGE1_HOST_EXPORTS) \
  14960. CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
  14961. CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
  14962. LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
  14963. echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
  14964. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
  14965. cd $(HOST_SUBDIR)/intl || exit 1; \
  14966. case $(srcdir) in \
  14967. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  14968. *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
  14969. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  14970. esac; \
  14971. module_srcdir=intl; \
  14972. $(SHELL) $$s/$$module_srcdir/configure \
  14973. --srcdir=$${topdir}/$$module_srcdir \
  14974. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  14975. --target=${target_alias} \
  14976. --with-build-libsubdir=$(HOST_SUBDIR) \
  14977. $(STAGE2_CONFIGURE_FLAGS)
  14978. @endif intl-bootstrap
  14979. .PHONY: configure-stage3-intl maybe-configure-stage3-intl
  14980. maybe-configure-stage3-intl:
  14981. @if intl-bootstrap
  14982. maybe-configure-stage3-intl: configure-stage3-intl
  14983. configure-stage3-intl:
  14984. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  14985. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
  14986. @r=`${PWD_COMMAND}`; export r; \
  14987. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  14988. TFLAGS="$(STAGE3_TFLAGS)"; \
  14989. test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
  14990. $(HOST_EXPORTS) \
  14991. $(POSTSTAGE1_HOST_EXPORTS) \
  14992. CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
  14993. CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
  14994. LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
  14995. echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
  14996. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
  14997. cd $(HOST_SUBDIR)/intl || exit 1; \
  14998. case $(srcdir) in \
  14999. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  15000. *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
  15001. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  15002. esac; \
  15003. module_srcdir=intl; \
  15004. $(SHELL) $$s/$$module_srcdir/configure \
  15005. --srcdir=$${topdir}/$$module_srcdir \
  15006. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  15007. --target=${target_alias} \
  15008. --with-build-libsubdir=$(HOST_SUBDIR) \
  15009. $(STAGE3_CONFIGURE_FLAGS)
  15010. @endif intl-bootstrap
  15011. .PHONY: configure-stage4-intl maybe-configure-stage4-intl
  15012. maybe-configure-stage4-intl:
  15013. @if intl-bootstrap
  15014. maybe-configure-stage4-intl: configure-stage4-intl
  15015. configure-stage4-intl:
  15016. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  15017. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
  15018. @r=`${PWD_COMMAND}`; export r; \
  15019. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15020. TFLAGS="$(STAGE4_TFLAGS)"; \
  15021. test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
  15022. $(HOST_EXPORTS) \
  15023. $(POSTSTAGE1_HOST_EXPORTS) \
  15024. CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
  15025. CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
  15026. LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
  15027. echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
  15028. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
  15029. cd $(HOST_SUBDIR)/intl || exit 1; \
  15030. case $(srcdir) in \
  15031. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  15032. *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
  15033. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  15034. esac; \
  15035. module_srcdir=intl; \
  15036. $(SHELL) $$s/$$module_srcdir/configure \
  15037. --srcdir=$${topdir}/$$module_srcdir \
  15038. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  15039. --target=${target_alias} \
  15040. --with-build-libsubdir=$(HOST_SUBDIR) \
  15041. $(STAGE4_CONFIGURE_FLAGS)
  15042. @endif intl-bootstrap
  15043. .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
  15044. maybe-configure-stageprofile-intl:
  15045. @if intl-bootstrap
  15046. maybe-configure-stageprofile-intl: configure-stageprofile-intl
  15047. configure-stageprofile-intl:
  15048. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  15049. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
  15050. @r=`${PWD_COMMAND}`; export r; \
  15051. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15052. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  15053. test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
  15054. $(HOST_EXPORTS) \
  15055. $(POSTSTAGE1_HOST_EXPORTS) \
  15056. CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
  15057. CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
  15058. LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
  15059. echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
  15060. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
  15061. cd $(HOST_SUBDIR)/intl || exit 1; \
  15062. case $(srcdir) in \
  15063. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  15064. *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
  15065. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  15066. esac; \
  15067. module_srcdir=intl; \
  15068. $(SHELL) $$s/$$module_srcdir/configure \
  15069. --srcdir=$${topdir}/$$module_srcdir \
  15070. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  15071. --target=${target_alias} \
  15072. --with-build-libsubdir=$(HOST_SUBDIR) \
  15073. $(STAGEprofile_CONFIGURE_FLAGS)
  15074. @endif intl-bootstrap
  15075. .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
  15076. maybe-configure-stagefeedback-intl:
  15077. @if intl-bootstrap
  15078. maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
  15079. configure-stagefeedback-intl:
  15080. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  15081. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl
  15082. @r=`${PWD_COMMAND}`; export r; \
  15083. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15084. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  15085. test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
  15086. $(HOST_EXPORTS) \
  15087. $(POSTSTAGE1_HOST_EXPORTS) \
  15088. CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
  15089. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
  15090. LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
  15091. echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
  15092. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
  15093. cd $(HOST_SUBDIR)/intl || exit 1; \
  15094. case $(srcdir) in \
  15095. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  15096. *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
  15097. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  15098. esac; \
  15099. module_srcdir=intl; \
  15100. $(SHELL) $$s/$$module_srcdir/configure \
  15101. --srcdir=$${topdir}/$$module_srcdir \
  15102. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  15103. --target=${target_alias} \
  15104. --with-build-libsubdir=$(HOST_SUBDIR) \
  15105. $(STAGEfeedback_CONFIGURE_FLAGS)
  15106. @endif intl-bootstrap
  15107. .PHONY: all-intl maybe-all-intl
  15108. maybe-all-intl:
  15109. @if gcc-bootstrap
  15110. all-intl: stage_current
  15111. @endif gcc-bootstrap
  15112. @if intl
  15113. TARGET-intl=all
  15114. maybe-all-intl: all-intl
  15115. all-intl: configure-intl
  15116. @r=`${PWD_COMMAND}`; export r; \
  15117. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15118. $(HOST_EXPORTS) \
  15119. (cd $(HOST_SUBDIR)/intl && \
  15120. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  15121. $(TARGET-intl))
  15122. @endif intl
  15123. .PHONY: all-stage1-intl maybe-all-stage1-intl
  15124. .PHONY: clean-stage1-intl maybe-clean-stage1-intl
  15125. maybe-all-stage1-intl:
  15126. maybe-clean-stage1-intl:
  15127. @if intl-bootstrap
  15128. maybe-all-stage1-intl: all-stage1-intl
  15129. all-stage1: all-stage1-intl
  15130. TARGET-stage1-intl = $(TARGET-intl)
  15131. all-stage1-intl: configure-stage1-intl
  15132. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  15133. @r=`${PWD_COMMAND}`; export r; \
  15134. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15135. TFLAGS="$(STAGE1_TFLAGS)"; \
  15136. $(HOST_EXPORTS) \
  15137. cd $(HOST_SUBDIR)/intl && \
  15138. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  15139. CFLAGS="$(STAGE1_CFLAGS)" \
  15140. CXXFLAGS="$(STAGE1_CXXFLAGS)" \
  15141. LIBCFLAGS="$(LIBCFLAGS)" \
  15142. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  15143. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  15144. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  15145. $(EXTRA_HOST_FLAGS) \
  15146. $(STAGE1_FLAGS_TO_PASS) \
  15147. TFLAGS="$(STAGE1_TFLAGS)" \
  15148. $(TARGET-stage1-intl)
  15149. maybe-clean-stage1-intl: clean-stage1-intl
  15150. clean-stage1: clean-stage1-intl
  15151. clean-stage1-intl:
  15152. @if [ $(current_stage) = stage1 ]; then \
  15153. [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
  15154. else \
  15155. [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] || exit 0; \
  15156. $(MAKE) stage1-start; \
  15157. fi; \
  15158. cd $(HOST_SUBDIR)/intl && \
  15159. $(MAKE) $(EXTRA_HOST_FLAGS) \
  15160. $(STAGE1_FLAGS_TO_PASS) clean
  15161. @endif intl-bootstrap
  15162. .PHONY: all-stage2-intl maybe-all-stage2-intl
  15163. .PHONY: clean-stage2-intl maybe-clean-stage2-intl
  15164. maybe-all-stage2-intl:
  15165. maybe-clean-stage2-intl:
  15166. @if intl-bootstrap
  15167. maybe-all-stage2-intl: all-stage2-intl
  15168. all-stage2: all-stage2-intl
  15169. TARGET-stage2-intl = $(TARGET-intl)
  15170. all-stage2-intl: configure-stage2-intl
  15171. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  15172. @r=`${PWD_COMMAND}`; export r; \
  15173. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15174. TFLAGS="$(STAGE2_TFLAGS)"; \
  15175. $(HOST_EXPORTS) \
  15176. $(POSTSTAGE1_HOST_EXPORTS) \
  15177. cd $(HOST_SUBDIR)/intl && \
  15178. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  15179. CFLAGS="$(STAGE2_CFLAGS)" \
  15180. CXXFLAGS="$(STAGE2_CXXFLAGS)" \
  15181. LIBCFLAGS="$(STAGE2_CFLAGS)" \
  15182. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  15183. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  15184. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  15185. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  15186. TFLAGS="$(STAGE2_TFLAGS)" \
  15187. $(TARGET-stage2-intl)
  15188. maybe-clean-stage2-intl: clean-stage2-intl
  15189. clean-stage2: clean-stage2-intl
  15190. clean-stage2-intl:
  15191. @if [ $(current_stage) = stage2 ]; then \
  15192. [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
  15193. else \
  15194. [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] || exit 0; \
  15195. $(MAKE) stage2-start; \
  15196. fi; \
  15197. cd $(HOST_SUBDIR)/intl && \
  15198. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  15199. @endif intl-bootstrap
  15200. .PHONY: all-stage3-intl maybe-all-stage3-intl
  15201. .PHONY: clean-stage3-intl maybe-clean-stage3-intl
  15202. maybe-all-stage3-intl:
  15203. maybe-clean-stage3-intl:
  15204. @if intl-bootstrap
  15205. maybe-all-stage3-intl: all-stage3-intl
  15206. all-stage3: all-stage3-intl
  15207. TARGET-stage3-intl = $(TARGET-intl)
  15208. all-stage3-intl: configure-stage3-intl
  15209. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  15210. @r=`${PWD_COMMAND}`; export r; \
  15211. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15212. TFLAGS="$(STAGE3_TFLAGS)"; \
  15213. $(HOST_EXPORTS) \
  15214. $(POSTSTAGE1_HOST_EXPORTS) \
  15215. cd $(HOST_SUBDIR)/intl && \
  15216. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  15217. CFLAGS="$(STAGE3_CFLAGS)" \
  15218. CXXFLAGS="$(STAGE3_CXXFLAGS)" \
  15219. LIBCFLAGS="$(STAGE3_CFLAGS)" \
  15220. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  15221. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  15222. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  15223. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  15224. TFLAGS="$(STAGE3_TFLAGS)" \
  15225. $(TARGET-stage3-intl)
  15226. maybe-clean-stage3-intl: clean-stage3-intl
  15227. clean-stage3: clean-stage3-intl
  15228. clean-stage3-intl:
  15229. @if [ $(current_stage) = stage3 ]; then \
  15230. [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
  15231. else \
  15232. [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] || exit 0; \
  15233. $(MAKE) stage3-start; \
  15234. fi; \
  15235. cd $(HOST_SUBDIR)/intl && \
  15236. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  15237. @endif intl-bootstrap
  15238. .PHONY: all-stage4-intl maybe-all-stage4-intl
  15239. .PHONY: clean-stage4-intl maybe-clean-stage4-intl
  15240. maybe-all-stage4-intl:
  15241. maybe-clean-stage4-intl:
  15242. @if intl-bootstrap
  15243. maybe-all-stage4-intl: all-stage4-intl
  15244. all-stage4: all-stage4-intl
  15245. TARGET-stage4-intl = $(TARGET-intl)
  15246. all-stage4-intl: configure-stage4-intl
  15247. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  15248. @r=`${PWD_COMMAND}`; export r; \
  15249. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15250. TFLAGS="$(STAGE4_TFLAGS)"; \
  15251. $(HOST_EXPORTS) \
  15252. $(POSTSTAGE1_HOST_EXPORTS) \
  15253. cd $(HOST_SUBDIR)/intl && \
  15254. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  15255. CFLAGS="$(STAGE4_CFLAGS)" \
  15256. CXXFLAGS="$(STAGE4_CXXFLAGS)" \
  15257. LIBCFLAGS="$(STAGE4_CFLAGS)" \
  15258. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  15259. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  15260. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  15261. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  15262. TFLAGS="$(STAGE4_TFLAGS)" \
  15263. $(TARGET-stage4-intl)
  15264. maybe-clean-stage4-intl: clean-stage4-intl
  15265. clean-stage4: clean-stage4-intl
  15266. clean-stage4-intl:
  15267. @if [ $(current_stage) = stage4 ]; then \
  15268. [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
  15269. else \
  15270. [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] || exit 0; \
  15271. $(MAKE) stage4-start; \
  15272. fi; \
  15273. cd $(HOST_SUBDIR)/intl && \
  15274. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  15275. @endif intl-bootstrap
  15276. .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
  15277. .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
  15278. maybe-all-stageprofile-intl:
  15279. maybe-clean-stageprofile-intl:
  15280. @if intl-bootstrap
  15281. maybe-all-stageprofile-intl: all-stageprofile-intl
  15282. all-stageprofile: all-stageprofile-intl
  15283. TARGET-stageprofile-intl = $(TARGET-intl)
  15284. all-stageprofile-intl: configure-stageprofile-intl
  15285. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  15286. @r=`${PWD_COMMAND}`; export r; \
  15287. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15288. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  15289. $(HOST_EXPORTS) \
  15290. $(POSTSTAGE1_HOST_EXPORTS) \
  15291. cd $(HOST_SUBDIR)/intl && \
  15292. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  15293. CFLAGS="$(STAGEprofile_CFLAGS)" \
  15294. CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
  15295. LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
  15296. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  15297. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  15298. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  15299. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  15300. TFLAGS="$(STAGEprofile_TFLAGS)" \
  15301. $(TARGET-stageprofile-intl)
  15302. maybe-clean-stageprofile-intl: clean-stageprofile-intl
  15303. clean-stageprofile: clean-stageprofile-intl
  15304. clean-stageprofile-intl:
  15305. @if [ $(current_stage) = stageprofile ]; then \
  15306. [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
  15307. else \
  15308. [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] || exit 0; \
  15309. $(MAKE) stageprofile-start; \
  15310. fi; \
  15311. cd $(HOST_SUBDIR)/intl && \
  15312. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  15313. @endif intl-bootstrap
  15314. .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
  15315. .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
  15316. maybe-all-stagefeedback-intl:
  15317. maybe-clean-stagefeedback-intl:
  15318. @if intl-bootstrap
  15319. maybe-all-stagefeedback-intl: all-stagefeedback-intl
  15320. all-stagefeedback: all-stagefeedback-intl
  15321. TARGET-stagefeedback-intl = $(TARGET-intl)
  15322. all-stagefeedback-intl: configure-stagefeedback-intl
  15323. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  15324. @r=`${PWD_COMMAND}`; export r; \
  15325. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15326. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  15327. $(HOST_EXPORTS) \
  15328. $(POSTSTAGE1_HOST_EXPORTS) \
  15329. cd $(HOST_SUBDIR)/intl && \
  15330. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  15331. CFLAGS="$(STAGEfeedback_CFLAGS)" \
  15332. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
  15333. LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
  15334. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  15335. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  15336. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  15337. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  15338. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  15339. $(TARGET-stagefeedback-intl)
  15340. maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
  15341. clean-stagefeedback: clean-stagefeedback-intl
  15342. clean-stagefeedback-intl:
  15343. @if [ $(current_stage) = stagefeedback ]; then \
  15344. [ -f $(HOST_SUBDIR)/intl/Makefile ] || exit 0; \
  15345. else \
  15346. [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] || exit 0; \
  15347. $(MAKE) stagefeedback-start; \
  15348. fi; \
  15349. cd $(HOST_SUBDIR)/intl && \
  15350. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  15351. @endif intl-bootstrap
  15352. .PHONY: check-intl maybe-check-intl
  15353. maybe-check-intl:
  15354. @if intl
  15355. maybe-check-intl: check-intl
  15356. check-intl:
  15357. @: $(MAKE); $(unstage)
  15358. @r=`${PWD_COMMAND}`; export r; \
  15359. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15360. $(HOST_EXPORTS) \
  15361. (cd $(HOST_SUBDIR)/intl && \
  15362. $(MAKE) $(FLAGS_TO_PASS) check)
  15363. @endif intl
  15364. .PHONY: install-intl maybe-install-intl
  15365. maybe-install-intl:
  15366. @if intl
  15367. maybe-install-intl: install-intl
  15368. install-intl: installdirs
  15369. @: $(MAKE); $(unstage)
  15370. @r=`${PWD_COMMAND}`; export r; \
  15371. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15372. $(HOST_EXPORTS) \
  15373. (cd $(HOST_SUBDIR)/intl && \
  15374. $(MAKE) $(FLAGS_TO_PASS) install)
  15375. @endif intl
  15376. .PHONY: install-strip-intl maybe-install-strip-intl
  15377. maybe-install-strip-intl:
  15378. @if intl
  15379. maybe-install-strip-intl: install-strip-intl
  15380. install-strip-intl: installdirs
  15381. @: $(MAKE); $(unstage)
  15382. @r=`${PWD_COMMAND}`; export r; \
  15383. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15384. $(HOST_EXPORTS) \
  15385. (cd $(HOST_SUBDIR)/intl && \
  15386. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  15387. @endif intl
  15388. # Other targets (info, dvi, pdf, etc.)
  15389. .PHONY: maybe-info-intl info-intl
  15390. maybe-info-intl:
  15391. @if intl
  15392. maybe-info-intl: info-intl
  15393. info-intl: \
  15394. configure-intl
  15395. @[ -f ./intl/Makefile ] || exit 0; \
  15396. r=`${PWD_COMMAND}`; export r; \
  15397. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15398. $(HOST_EXPORTS) \
  15399. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15400. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15401. done; \
  15402. echo "Doing info in intl" ; \
  15403. (cd $(HOST_SUBDIR)/intl && \
  15404. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15405. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15406. "RANLIB=$${RANLIB}" \
  15407. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15408. info) \
  15409. || exit 1
  15410. @endif intl
  15411. .PHONY: maybe-dvi-intl dvi-intl
  15412. maybe-dvi-intl:
  15413. @if intl
  15414. maybe-dvi-intl: dvi-intl
  15415. dvi-intl: \
  15416. configure-intl
  15417. @[ -f ./intl/Makefile ] || exit 0; \
  15418. r=`${PWD_COMMAND}`; export r; \
  15419. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15420. $(HOST_EXPORTS) \
  15421. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15422. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15423. done; \
  15424. echo "Doing dvi in intl" ; \
  15425. (cd $(HOST_SUBDIR)/intl && \
  15426. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15427. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15428. "RANLIB=$${RANLIB}" \
  15429. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15430. dvi) \
  15431. || exit 1
  15432. @endif intl
  15433. .PHONY: maybe-pdf-intl pdf-intl
  15434. maybe-pdf-intl:
  15435. @if intl
  15436. maybe-pdf-intl: pdf-intl
  15437. pdf-intl: \
  15438. configure-intl
  15439. @[ -f ./intl/Makefile ] || exit 0; \
  15440. r=`${PWD_COMMAND}`; export r; \
  15441. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15442. $(HOST_EXPORTS) \
  15443. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15444. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15445. done; \
  15446. echo "Doing pdf in intl" ; \
  15447. (cd $(HOST_SUBDIR)/intl && \
  15448. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15449. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15450. "RANLIB=$${RANLIB}" \
  15451. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15452. pdf) \
  15453. || exit 1
  15454. @endif intl
  15455. .PHONY: maybe-html-intl html-intl
  15456. maybe-html-intl:
  15457. @if intl
  15458. maybe-html-intl: html-intl
  15459. html-intl: \
  15460. configure-intl
  15461. @[ -f ./intl/Makefile ] || exit 0; \
  15462. r=`${PWD_COMMAND}`; export r; \
  15463. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15464. $(HOST_EXPORTS) \
  15465. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15466. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15467. done; \
  15468. echo "Doing html in intl" ; \
  15469. (cd $(HOST_SUBDIR)/intl && \
  15470. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15471. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15472. "RANLIB=$${RANLIB}" \
  15473. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15474. html) \
  15475. || exit 1
  15476. @endif intl
  15477. .PHONY: maybe-TAGS-intl TAGS-intl
  15478. maybe-TAGS-intl:
  15479. @if intl
  15480. maybe-TAGS-intl: TAGS-intl
  15481. TAGS-intl: \
  15482. configure-intl
  15483. @[ -f ./intl/Makefile ] || exit 0; \
  15484. r=`${PWD_COMMAND}`; export r; \
  15485. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15486. $(HOST_EXPORTS) \
  15487. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15488. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15489. done; \
  15490. echo "Doing TAGS in intl" ; \
  15491. (cd $(HOST_SUBDIR)/intl && \
  15492. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15493. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15494. "RANLIB=$${RANLIB}" \
  15495. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15496. TAGS) \
  15497. || exit 1
  15498. @endif intl
  15499. .PHONY: maybe-install-info-intl install-info-intl
  15500. maybe-install-info-intl:
  15501. @if intl
  15502. maybe-install-info-intl: install-info-intl
  15503. install-info-intl: \
  15504. configure-intl \
  15505. info-intl
  15506. @[ -f ./intl/Makefile ] || exit 0; \
  15507. r=`${PWD_COMMAND}`; export r; \
  15508. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15509. $(HOST_EXPORTS) \
  15510. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15511. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15512. done; \
  15513. echo "Doing install-info in intl" ; \
  15514. (cd $(HOST_SUBDIR)/intl && \
  15515. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15516. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15517. "RANLIB=$${RANLIB}" \
  15518. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15519. install-info) \
  15520. || exit 1
  15521. @endif intl
  15522. .PHONY: maybe-install-pdf-intl install-pdf-intl
  15523. maybe-install-pdf-intl:
  15524. @if intl
  15525. maybe-install-pdf-intl: install-pdf-intl
  15526. install-pdf-intl: \
  15527. configure-intl \
  15528. pdf-intl
  15529. @[ -f ./intl/Makefile ] || exit 0; \
  15530. r=`${PWD_COMMAND}`; export r; \
  15531. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15532. $(HOST_EXPORTS) \
  15533. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15534. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15535. done; \
  15536. echo "Doing install-pdf in intl" ; \
  15537. (cd $(HOST_SUBDIR)/intl && \
  15538. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15539. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15540. "RANLIB=$${RANLIB}" \
  15541. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15542. install-pdf) \
  15543. || exit 1
  15544. @endif intl
  15545. .PHONY: maybe-install-html-intl install-html-intl
  15546. maybe-install-html-intl:
  15547. @if intl
  15548. maybe-install-html-intl: install-html-intl
  15549. install-html-intl: \
  15550. configure-intl \
  15551. html-intl
  15552. @[ -f ./intl/Makefile ] || exit 0; \
  15553. r=`${PWD_COMMAND}`; export r; \
  15554. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15555. $(HOST_EXPORTS) \
  15556. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15557. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15558. done; \
  15559. echo "Doing install-html in intl" ; \
  15560. (cd $(HOST_SUBDIR)/intl && \
  15561. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15562. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15563. "RANLIB=$${RANLIB}" \
  15564. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15565. install-html) \
  15566. || exit 1
  15567. @endif intl
  15568. .PHONY: maybe-installcheck-intl installcheck-intl
  15569. maybe-installcheck-intl:
  15570. @if intl
  15571. maybe-installcheck-intl: installcheck-intl
  15572. installcheck-intl: \
  15573. configure-intl
  15574. @[ -f ./intl/Makefile ] || exit 0; \
  15575. r=`${PWD_COMMAND}`; export r; \
  15576. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15577. $(HOST_EXPORTS) \
  15578. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15579. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15580. done; \
  15581. echo "Doing installcheck in intl" ; \
  15582. (cd $(HOST_SUBDIR)/intl && \
  15583. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15584. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15585. "RANLIB=$${RANLIB}" \
  15586. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15587. installcheck) \
  15588. || exit 1
  15589. @endif intl
  15590. .PHONY: maybe-mostlyclean-intl mostlyclean-intl
  15591. maybe-mostlyclean-intl:
  15592. @if intl
  15593. maybe-mostlyclean-intl: mostlyclean-intl
  15594. mostlyclean-intl:
  15595. @[ -f ./intl/Makefile ] || exit 0; \
  15596. r=`${PWD_COMMAND}`; export r; \
  15597. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15598. $(HOST_EXPORTS) \
  15599. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15600. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15601. done; \
  15602. echo "Doing mostlyclean in intl" ; \
  15603. (cd $(HOST_SUBDIR)/intl && \
  15604. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15605. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15606. "RANLIB=$${RANLIB}" \
  15607. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15608. mostlyclean) \
  15609. || exit 1
  15610. @endif intl
  15611. .PHONY: maybe-clean-intl clean-intl
  15612. maybe-clean-intl:
  15613. @if intl
  15614. maybe-clean-intl: clean-intl
  15615. clean-intl:
  15616. @[ -f ./intl/Makefile ] || exit 0; \
  15617. r=`${PWD_COMMAND}`; export r; \
  15618. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15619. $(HOST_EXPORTS) \
  15620. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15621. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15622. done; \
  15623. echo "Doing clean in intl" ; \
  15624. (cd $(HOST_SUBDIR)/intl && \
  15625. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15626. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15627. "RANLIB=$${RANLIB}" \
  15628. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15629. clean) \
  15630. || exit 1
  15631. @endif intl
  15632. .PHONY: maybe-distclean-intl distclean-intl
  15633. maybe-distclean-intl:
  15634. @if intl
  15635. maybe-distclean-intl: distclean-intl
  15636. distclean-intl:
  15637. @[ -f ./intl/Makefile ] || exit 0; \
  15638. r=`${PWD_COMMAND}`; export r; \
  15639. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15640. $(HOST_EXPORTS) \
  15641. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15642. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15643. done; \
  15644. echo "Doing distclean in intl" ; \
  15645. (cd $(HOST_SUBDIR)/intl && \
  15646. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15647. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15648. "RANLIB=$${RANLIB}" \
  15649. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15650. distclean) \
  15651. || exit 1
  15652. @endif intl
  15653. .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
  15654. maybe-maintainer-clean-intl:
  15655. @if intl
  15656. maybe-maintainer-clean-intl: maintainer-clean-intl
  15657. maintainer-clean-intl:
  15658. @[ -f ./intl/Makefile ] || exit 0; \
  15659. r=`${PWD_COMMAND}`; export r; \
  15660. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15661. $(HOST_EXPORTS) \
  15662. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15663. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15664. done; \
  15665. echo "Doing maintainer-clean in intl" ; \
  15666. (cd $(HOST_SUBDIR)/intl && \
  15667. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15668. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15669. "RANLIB=$${RANLIB}" \
  15670. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15671. maintainer-clean) \
  15672. || exit 1
  15673. @endif intl
  15674. .PHONY: configure-tcl maybe-configure-tcl
  15675. maybe-configure-tcl:
  15676. @if gcc-bootstrap
  15677. configure-tcl: stage_current
  15678. @endif gcc-bootstrap
  15679. @if tcl
  15680. maybe-configure-tcl: configure-tcl
  15681. configure-tcl:
  15682. @: $(MAKE); $(unstage)
  15683. @r=`${PWD_COMMAND}`; export r; \
  15684. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15685. test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
  15686. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
  15687. $(HOST_EXPORTS) \
  15688. echo Configuring in $(HOST_SUBDIR)/tcl; \
  15689. cd "$(HOST_SUBDIR)/tcl" || exit 1; \
  15690. case $(srcdir) in \
  15691. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  15692. *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
  15693. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  15694. esac; \
  15695. module_srcdir=tcl; \
  15696. $(SHELL) \
  15697. $$s/$$module_srcdir/configure \
  15698. --srcdir=$${topdir}/$$module_srcdir \
  15699. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  15700. --target=${target_alias} \
  15701. || exit 1
  15702. @endif tcl
  15703. .PHONY: all-tcl maybe-all-tcl
  15704. maybe-all-tcl:
  15705. @if gcc-bootstrap
  15706. all-tcl: stage_current
  15707. @endif gcc-bootstrap
  15708. @if tcl
  15709. TARGET-tcl=all
  15710. maybe-all-tcl: all-tcl
  15711. all-tcl: configure-tcl
  15712. @: $(MAKE); $(unstage)
  15713. @r=`${PWD_COMMAND}`; export r; \
  15714. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15715. $(HOST_EXPORTS) \
  15716. (cd $(HOST_SUBDIR)/tcl && \
  15717. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  15718. $(TARGET-tcl))
  15719. @endif tcl
  15720. .PHONY: check-tcl maybe-check-tcl
  15721. maybe-check-tcl:
  15722. @if tcl
  15723. maybe-check-tcl: check-tcl
  15724. check-tcl:
  15725. @: $(MAKE); $(unstage)
  15726. @r=`${PWD_COMMAND}`; export r; \
  15727. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15728. $(HOST_EXPORTS) \
  15729. (cd $(HOST_SUBDIR)/tcl && \
  15730. $(MAKE) $(FLAGS_TO_PASS) check)
  15731. @endif tcl
  15732. .PHONY: install-tcl maybe-install-tcl
  15733. maybe-install-tcl:
  15734. @if tcl
  15735. maybe-install-tcl: install-tcl
  15736. install-tcl: installdirs
  15737. @: $(MAKE); $(unstage)
  15738. @r=`${PWD_COMMAND}`; export r; \
  15739. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15740. $(HOST_EXPORTS) \
  15741. (cd $(HOST_SUBDIR)/tcl && \
  15742. $(MAKE) $(FLAGS_TO_PASS) install)
  15743. @endif tcl
  15744. .PHONY: install-strip-tcl maybe-install-strip-tcl
  15745. maybe-install-strip-tcl:
  15746. @if tcl
  15747. maybe-install-strip-tcl: install-strip-tcl
  15748. install-strip-tcl: installdirs
  15749. @: $(MAKE); $(unstage)
  15750. @r=`${PWD_COMMAND}`; export r; \
  15751. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15752. $(HOST_EXPORTS) \
  15753. (cd $(HOST_SUBDIR)/tcl && \
  15754. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  15755. @endif tcl
  15756. # Other targets (info, dvi, pdf, etc.)
  15757. .PHONY: maybe-info-tcl info-tcl
  15758. maybe-info-tcl:
  15759. @if tcl
  15760. maybe-info-tcl: info-tcl
  15761. info-tcl: \
  15762. configure-tcl
  15763. @: $(MAKE); $(unstage)
  15764. @[ -f ./tcl/Makefile ] || exit 0; \
  15765. r=`${PWD_COMMAND}`; export r; \
  15766. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15767. $(HOST_EXPORTS) \
  15768. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15769. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15770. done; \
  15771. echo "Doing info in tcl" ; \
  15772. (cd $(HOST_SUBDIR)/tcl && \
  15773. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15774. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15775. "RANLIB=$${RANLIB}" \
  15776. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15777. info) \
  15778. || exit 1
  15779. @endif tcl
  15780. .PHONY: maybe-dvi-tcl dvi-tcl
  15781. maybe-dvi-tcl:
  15782. @if tcl
  15783. maybe-dvi-tcl: dvi-tcl
  15784. dvi-tcl: \
  15785. configure-tcl
  15786. @: $(MAKE); $(unstage)
  15787. @[ -f ./tcl/Makefile ] || exit 0; \
  15788. r=`${PWD_COMMAND}`; export r; \
  15789. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15790. $(HOST_EXPORTS) \
  15791. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15792. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15793. done; \
  15794. echo "Doing dvi in tcl" ; \
  15795. (cd $(HOST_SUBDIR)/tcl && \
  15796. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15797. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15798. "RANLIB=$${RANLIB}" \
  15799. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15800. dvi) \
  15801. || exit 1
  15802. @endif tcl
  15803. .PHONY: maybe-pdf-tcl pdf-tcl
  15804. maybe-pdf-tcl:
  15805. @if tcl
  15806. maybe-pdf-tcl: pdf-tcl
  15807. pdf-tcl: \
  15808. configure-tcl
  15809. @: $(MAKE); $(unstage)
  15810. @[ -f ./tcl/Makefile ] || exit 0; \
  15811. r=`${PWD_COMMAND}`; export r; \
  15812. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15813. $(HOST_EXPORTS) \
  15814. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15815. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15816. done; \
  15817. echo "Doing pdf in tcl" ; \
  15818. (cd $(HOST_SUBDIR)/tcl && \
  15819. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15820. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15821. "RANLIB=$${RANLIB}" \
  15822. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15823. pdf) \
  15824. || exit 1
  15825. @endif tcl
  15826. .PHONY: maybe-html-tcl html-tcl
  15827. maybe-html-tcl:
  15828. @if tcl
  15829. maybe-html-tcl: html-tcl
  15830. html-tcl: \
  15831. configure-tcl
  15832. @: $(MAKE); $(unstage)
  15833. @[ -f ./tcl/Makefile ] || exit 0; \
  15834. r=`${PWD_COMMAND}`; export r; \
  15835. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15836. $(HOST_EXPORTS) \
  15837. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15838. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15839. done; \
  15840. echo "Doing html in tcl" ; \
  15841. (cd $(HOST_SUBDIR)/tcl && \
  15842. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15843. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15844. "RANLIB=$${RANLIB}" \
  15845. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15846. html) \
  15847. || exit 1
  15848. @endif tcl
  15849. .PHONY: maybe-TAGS-tcl TAGS-tcl
  15850. maybe-TAGS-tcl:
  15851. @if tcl
  15852. maybe-TAGS-tcl: TAGS-tcl
  15853. TAGS-tcl: \
  15854. configure-tcl
  15855. @: $(MAKE); $(unstage)
  15856. @[ -f ./tcl/Makefile ] || exit 0; \
  15857. r=`${PWD_COMMAND}`; export r; \
  15858. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15859. $(HOST_EXPORTS) \
  15860. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15861. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15862. done; \
  15863. echo "Doing TAGS in tcl" ; \
  15864. (cd $(HOST_SUBDIR)/tcl && \
  15865. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15866. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15867. "RANLIB=$${RANLIB}" \
  15868. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15869. TAGS) \
  15870. || exit 1
  15871. @endif tcl
  15872. .PHONY: maybe-install-info-tcl install-info-tcl
  15873. maybe-install-info-tcl:
  15874. @if tcl
  15875. maybe-install-info-tcl: install-info-tcl
  15876. install-info-tcl: \
  15877. configure-tcl \
  15878. info-tcl
  15879. @: $(MAKE); $(unstage)
  15880. @[ -f ./tcl/Makefile ] || exit 0; \
  15881. r=`${PWD_COMMAND}`; export r; \
  15882. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15883. $(HOST_EXPORTS) \
  15884. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15885. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15886. done; \
  15887. echo "Doing install-info in tcl" ; \
  15888. (cd $(HOST_SUBDIR)/tcl && \
  15889. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15890. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15891. "RANLIB=$${RANLIB}" \
  15892. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15893. install-info) \
  15894. || exit 1
  15895. @endif tcl
  15896. .PHONY: maybe-install-pdf-tcl install-pdf-tcl
  15897. maybe-install-pdf-tcl:
  15898. @if tcl
  15899. maybe-install-pdf-tcl: install-pdf-tcl
  15900. install-pdf-tcl: \
  15901. configure-tcl \
  15902. pdf-tcl
  15903. @: $(MAKE); $(unstage)
  15904. @[ -f ./tcl/Makefile ] || exit 0; \
  15905. r=`${PWD_COMMAND}`; export r; \
  15906. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15907. $(HOST_EXPORTS) \
  15908. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15909. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15910. done; \
  15911. echo "Doing install-pdf in tcl" ; \
  15912. (cd $(HOST_SUBDIR)/tcl && \
  15913. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15914. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15915. "RANLIB=$${RANLIB}" \
  15916. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15917. install-pdf) \
  15918. || exit 1
  15919. @endif tcl
  15920. .PHONY: maybe-install-html-tcl install-html-tcl
  15921. maybe-install-html-tcl:
  15922. @if tcl
  15923. maybe-install-html-tcl: install-html-tcl
  15924. install-html-tcl: \
  15925. configure-tcl \
  15926. html-tcl
  15927. @: $(MAKE); $(unstage)
  15928. @[ -f ./tcl/Makefile ] || exit 0; \
  15929. r=`${PWD_COMMAND}`; export r; \
  15930. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15931. $(HOST_EXPORTS) \
  15932. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15933. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15934. done; \
  15935. echo "Doing install-html in tcl" ; \
  15936. (cd $(HOST_SUBDIR)/tcl && \
  15937. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15938. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15939. "RANLIB=$${RANLIB}" \
  15940. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15941. install-html) \
  15942. || exit 1
  15943. @endif tcl
  15944. .PHONY: maybe-installcheck-tcl installcheck-tcl
  15945. maybe-installcheck-tcl:
  15946. @if tcl
  15947. maybe-installcheck-tcl: installcheck-tcl
  15948. installcheck-tcl: \
  15949. configure-tcl
  15950. @: $(MAKE); $(unstage)
  15951. @[ -f ./tcl/Makefile ] || exit 0; \
  15952. r=`${PWD_COMMAND}`; export r; \
  15953. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15954. $(HOST_EXPORTS) \
  15955. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15956. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15957. done; \
  15958. echo "Doing installcheck in tcl" ; \
  15959. (cd $(HOST_SUBDIR)/tcl && \
  15960. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15961. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15962. "RANLIB=$${RANLIB}" \
  15963. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15964. installcheck) \
  15965. || exit 1
  15966. @endif tcl
  15967. .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
  15968. maybe-mostlyclean-tcl:
  15969. @if tcl
  15970. maybe-mostlyclean-tcl: mostlyclean-tcl
  15971. # tcl doesn't support mostlyclean.
  15972. mostlyclean-tcl:
  15973. @endif tcl
  15974. .PHONY: maybe-clean-tcl clean-tcl
  15975. maybe-clean-tcl:
  15976. @if tcl
  15977. maybe-clean-tcl: clean-tcl
  15978. clean-tcl:
  15979. @: $(MAKE); $(unstage)
  15980. @[ -f ./tcl/Makefile ] || exit 0; \
  15981. r=`${PWD_COMMAND}`; export r; \
  15982. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  15983. $(HOST_EXPORTS) \
  15984. for flag in $(EXTRA_HOST_FLAGS) ; do \
  15985. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  15986. done; \
  15987. echo "Doing clean in tcl" ; \
  15988. (cd $(HOST_SUBDIR)/tcl && \
  15989. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  15990. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  15991. "RANLIB=$${RANLIB}" \
  15992. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  15993. clean) \
  15994. || exit 1
  15995. @endif tcl
  15996. .PHONY: maybe-distclean-tcl distclean-tcl
  15997. maybe-distclean-tcl:
  15998. @if tcl
  15999. maybe-distclean-tcl: distclean-tcl
  16000. distclean-tcl:
  16001. @: $(MAKE); $(unstage)
  16002. @[ -f ./tcl/Makefile ] || exit 0; \
  16003. r=`${PWD_COMMAND}`; export r; \
  16004. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16005. $(HOST_EXPORTS) \
  16006. for flag in $(EXTRA_HOST_FLAGS) ; do \
  16007. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  16008. done; \
  16009. echo "Doing distclean in tcl" ; \
  16010. (cd $(HOST_SUBDIR)/tcl && \
  16011. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  16012. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  16013. "RANLIB=$${RANLIB}" \
  16014. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  16015. distclean) \
  16016. || exit 1
  16017. @endif tcl
  16018. .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
  16019. maybe-maintainer-clean-tcl:
  16020. @if tcl
  16021. maybe-maintainer-clean-tcl: maintainer-clean-tcl
  16022. maintainer-clean-tcl:
  16023. @: $(MAKE); $(unstage)
  16024. @[ -f ./tcl/Makefile ] || exit 0; \
  16025. r=`${PWD_COMMAND}`; export r; \
  16026. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16027. $(HOST_EXPORTS) \
  16028. for flag in $(EXTRA_HOST_FLAGS) ; do \
  16029. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  16030. done; \
  16031. echo "Doing maintainer-clean in tcl" ; \
  16032. (cd $(HOST_SUBDIR)/tcl && \
  16033. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  16034. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  16035. "RANLIB=$${RANLIB}" \
  16036. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  16037. maintainer-clean) \
  16038. || exit 1
  16039. @endif tcl
  16040. .PHONY: configure-itcl maybe-configure-itcl
  16041. maybe-configure-itcl:
  16042. @if gcc-bootstrap
  16043. configure-itcl: stage_current
  16044. @endif gcc-bootstrap
  16045. @if itcl
  16046. maybe-configure-itcl: configure-itcl
  16047. configure-itcl:
  16048. @: $(MAKE); $(unstage)
  16049. @r=`${PWD_COMMAND}`; export r; \
  16050. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16051. test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
  16052. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
  16053. $(HOST_EXPORTS) \
  16054. echo Configuring in $(HOST_SUBDIR)/itcl; \
  16055. cd "$(HOST_SUBDIR)/itcl" || exit 1; \
  16056. case $(srcdir) in \
  16057. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  16058. *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
  16059. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  16060. esac; \
  16061. module_srcdir=itcl; \
  16062. $(SHELL) \
  16063. $$s/$$module_srcdir/configure \
  16064. --srcdir=$${topdir}/$$module_srcdir \
  16065. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  16066. --target=${target_alias} \
  16067. || exit 1
  16068. @endif itcl
  16069. .PHONY: all-itcl maybe-all-itcl
  16070. maybe-all-itcl:
  16071. @if gcc-bootstrap
  16072. all-itcl: stage_current
  16073. @endif gcc-bootstrap
  16074. @if itcl
  16075. TARGET-itcl=all
  16076. maybe-all-itcl: all-itcl
  16077. all-itcl: configure-itcl
  16078. @: $(MAKE); $(unstage)
  16079. @r=`${PWD_COMMAND}`; export r; \
  16080. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16081. $(HOST_EXPORTS) \
  16082. (cd $(HOST_SUBDIR)/itcl && \
  16083. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  16084. $(TARGET-itcl))
  16085. @endif itcl
  16086. .PHONY: check-itcl maybe-check-itcl
  16087. maybe-check-itcl:
  16088. @if itcl
  16089. maybe-check-itcl: check-itcl
  16090. check-itcl:
  16091. @: $(MAKE); $(unstage)
  16092. @r=`${PWD_COMMAND}`; export r; \
  16093. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16094. $(HOST_EXPORTS) \
  16095. (cd $(HOST_SUBDIR)/itcl && \
  16096. $(MAKE) $(FLAGS_TO_PASS) check)
  16097. @endif itcl
  16098. .PHONY: install-itcl maybe-install-itcl
  16099. maybe-install-itcl:
  16100. @if itcl
  16101. maybe-install-itcl: install-itcl
  16102. install-itcl: installdirs
  16103. @: $(MAKE); $(unstage)
  16104. @r=`${PWD_COMMAND}`; export r; \
  16105. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16106. $(HOST_EXPORTS) \
  16107. (cd $(HOST_SUBDIR)/itcl && \
  16108. $(MAKE) $(FLAGS_TO_PASS) install)
  16109. @endif itcl
  16110. .PHONY: install-strip-itcl maybe-install-strip-itcl
  16111. maybe-install-strip-itcl:
  16112. @if itcl
  16113. maybe-install-strip-itcl: install-strip-itcl
  16114. install-strip-itcl: installdirs
  16115. @: $(MAKE); $(unstage)
  16116. @r=`${PWD_COMMAND}`; export r; \
  16117. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16118. $(HOST_EXPORTS) \
  16119. (cd $(HOST_SUBDIR)/itcl && \
  16120. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  16121. @endif itcl
  16122. # Other targets (info, dvi, pdf, etc.)
  16123. .PHONY: maybe-info-itcl info-itcl
  16124. maybe-info-itcl:
  16125. @if itcl
  16126. maybe-info-itcl: info-itcl
  16127. info-itcl: \
  16128. configure-itcl
  16129. @: $(MAKE); $(unstage)
  16130. @[ -f ./itcl/Makefile ] || exit 0; \
  16131. r=`${PWD_COMMAND}`; export r; \
  16132. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16133. $(HOST_EXPORTS) \
  16134. for flag in $(EXTRA_HOST_FLAGS) ; do \
  16135. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  16136. done; \
  16137. echo "Doing info in itcl" ; \
  16138. (cd $(HOST_SUBDIR)/itcl && \
  16139. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  16140. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  16141. "RANLIB=$${RANLIB}" \
  16142. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  16143. info) \
  16144. || exit 1
  16145. @endif itcl
  16146. .PHONY: maybe-dvi-itcl dvi-itcl
  16147. maybe-dvi-itcl:
  16148. @if itcl
  16149. maybe-dvi-itcl: dvi-itcl
  16150. dvi-itcl: \
  16151. configure-itcl
  16152. @: $(MAKE); $(unstage)
  16153. @[ -f ./itcl/Makefile ] || exit 0; \
  16154. r=`${PWD_COMMAND}`; export r; \
  16155. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16156. $(HOST_EXPORTS) \
  16157. for flag in $(EXTRA_HOST_FLAGS) ; do \
  16158. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  16159. done; \
  16160. echo "Doing dvi in itcl" ; \
  16161. (cd $(HOST_SUBDIR)/itcl && \
  16162. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  16163. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  16164. "RANLIB=$${RANLIB}" \
  16165. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  16166. dvi) \
  16167. || exit 1
  16168. @endif itcl
  16169. .PHONY: maybe-pdf-itcl pdf-itcl
  16170. maybe-pdf-itcl:
  16171. @if itcl
  16172. maybe-pdf-itcl: pdf-itcl
  16173. pdf-itcl: \
  16174. configure-itcl
  16175. @: $(MAKE); $(unstage)
  16176. @[ -f ./itcl/Makefile ] || exit 0; \
  16177. r=`${PWD_COMMAND}`; export r; \
  16178. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16179. $(HOST_EXPORTS) \
  16180. for flag in $(EXTRA_HOST_FLAGS) ; do \
  16181. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  16182. done; \
  16183. echo "Doing pdf in itcl" ; \
  16184. (cd $(HOST_SUBDIR)/itcl && \
  16185. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  16186. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  16187. "RANLIB=$${RANLIB}" \
  16188. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  16189. pdf) \
  16190. || exit 1
  16191. @endif itcl
  16192. .PHONY: maybe-html-itcl html-itcl
  16193. maybe-html-itcl:
  16194. @if itcl
  16195. maybe-html-itcl: html-itcl
  16196. html-itcl: \
  16197. configure-itcl
  16198. @: $(MAKE); $(unstage)
  16199. @[ -f ./itcl/Makefile ] || exit 0; \
  16200. r=`${PWD_COMMAND}`; export r; \
  16201. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16202. $(HOST_EXPORTS) \
  16203. for flag in $(EXTRA_HOST_FLAGS) ; do \
  16204. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  16205. done; \
  16206. echo "Doing html in itcl" ; \
  16207. (cd $(HOST_SUBDIR)/itcl && \
  16208. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  16209. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  16210. "RANLIB=$${RANLIB}" \
  16211. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  16212. html) \
  16213. || exit 1
  16214. @endif itcl
  16215. .PHONY: maybe-TAGS-itcl TAGS-itcl
  16216. maybe-TAGS-itcl:
  16217. @if itcl
  16218. maybe-TAGS-itcl: TAGS-itcl
  16219. TAGS-itcl: \
  16220. configure-itcl
  16221. @: $(MAKE); $(unstage)
  16222. @[ -f ./itcl/Makefile ] || exit 0; \
  16223. r=`${PWD_COMMAND}`; export r; \
  16224. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16225. $(HOST_EXPORTS) \
  16226. for flag in $(EXTRA_HOST_FLAGS) ; do \
  16227. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  16228. done; \
  16229. echo "Doing TAGS in itcl" ; \
  16230. (cd $(HOST_SUBDIR)/itcl && \
  16231. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  16232. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  16233. "RANLIB=$${RANLIB}" \
  16234. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  16235. TAGS) \
  16236. || exit 1
  16237. @endif itcl
  16238. .PHONY: maybe-install-info-itcl install-info-itcl
  16239. maybe-install-info-itcl:
  16240. @if itcl
  16241. maybe-install-info-itcl: install-info-itcl
  16242. install-info-itcl: \
  16243. configure-itcl \
  16244. info-itcl
  16245. @: $(MAKE); $(unstage)
  16246. @[ -f ./itcl/Makefile ] || exit 0; \
  16247. r=`${PWD_COMMAND}`; export r; \
  16248. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16249. $(HOST_EXPORTS) \
  16250. for flag in $(EXTRA_HOST_FLAGS) ; do \
  16251. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  16252. done; \
  16253. echo "Doing install-info in itcl" ; \
  16254. (cd $(HOST_SUBDIR)/itcl && \
  16255. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  16256. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  16257. "RANLIB=$${RANLIB}" \
  16258. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  16259. install-info) \
  16260. || exit 1
  16261. @endif itcl
  16262. .PHONY: maybe-install-pdf-itcl install-pdf-itcl
  16263. maybe-install-pdf-itcl:
  16264. @if itcl
  16265. maybe-install-pdf-itcl: install-pdf-itcl
  16266. install-pdf-itcl: \
  16267. configure-itcl \
  16268. pdf-itcl
  16269. @: $(MAKE); $(unstage)
  16270. @[ -f ./itcl/Makefile ] || exit 0; \
  16271. r=`${PWD_COMMAND}`; export r; \
  16272. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16273. $(HOST_EXPORTS) \
  16274. for flag in $(EXTRA_HOST_FLAGS) ; do \
  16275. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  16276. done; \
  16277. echo "Doing install-pdf in itcl" ; \
  16278. (cd $(HOST_SUBDIR)/itcl && \
  16279. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  16280. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  16281. "RANLIB=$${RANLIB}" \
  16282. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  16283. install-pdf) \
  16284. || exit 1
  16285. @endif itcl
  16286. .PHONY: maybe-install-html-itcl install-html-itcl
  16287. maybe-install-html-itcl:
  16288. @if itcl
  16289. maybe-install-html-itcl: install-html-itcl
  16290. install-html-itcl: \
  16291. configure-itcl \
  16292. html-itcl
  16293. @: $(MAKE); $(unstage)
  16294. @[ -f ./itcl/Makefile ] || exit 0; \
  16295. r=`${PWD_COMMAND}`; export r; \
  16296. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16297. $(HOST_EXPORTS) \
  16298. for flag in $(EXTRA_HOST_FLAGS) ; do \
  16299. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  16300. done; \
  16301. echo "Doing install-html in itcl" ; \
  16302. (cd $(HOST_SUBDIR)/itcl && \
  16303. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  16304. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  16305. "RANLIB=$${RANLIB}" \
  16306. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  16307. install-html) \
  16308. || exit 1
  16309. @endif itcl
  16310. .PHONY: maybe-installcheck-itcl installcheck-itcl
  16311. maybe-installcheck-itcl:
  16312. @if itcl
  16313. maybe-installcheck-itcl: installcheck-itcl
  16314. installcheck-itcl: \
  16315. configure-itcl
  16316. @: $(MAKE); $(unstage)
  16317. @[ -f ./itcl/Makefile ] || exit 0; \
  16318. r=`${PWD_COMMAND}`; export r; \
  16319. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16320. $(HOST_EXPORTS) \
  16321. for flag in $(EXTRA_HOST_FLAGS) ; do \
  16322. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  16323. done; \
  16324. echo "Doing installcheck in itcl" ; \
  16325. (cd $(HOST_SUBDIR)/itcl && \
  16326. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  16327. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  16328. "RANLIB=$${RANLIB}" \
  16329. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  16330. installcheck) \
  16331. || exit 1
  16332. @endif itcl
  16333. .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
  16334. maybe-mostlyclean-itcl:
  16335. @if itcl
  16336. maybe-mostlyclean-itcl: mostlyclean-itcl
  16337. mostlyclean-itcl:
  16338. @: $(MAKE); $(unstage)
  16339. @[ -f ./itcl/Makefile ] || exit 0; \
  16340. r=`${PWD_COMMAND}`; export r; \
  16341. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16342. $(HOST_EXPORTS) \
  16343. for flag in $(EXTRA_HOST_FLAGS) ; do \
  16344. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  16345. done; \
  16346. echo "Doing mostlyclean in itcl" ; \
  16347. (cd $(HOST_SUBDIR)/itcl && \
  16348. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  16349. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  16350. "RANLIB=$${RANLIB}" \
  16351. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  16352. mostlyclean) \
  16353. || exit 1
  16354. @endif itcl
  16355. .PHONY: maybe-clean-itcl clean-itcl
  16356. maybe-clean-itcl:
  16357. @if itcl
  16358. maybe-clean-itcl: clean-itcl
  16359. clean-itcl:
  16360. @: $(MAKE); $(unstage)
  16361. @[ -f ./itcl/Makefile ] || exit 0; \
  16362. r=`${PWD_COMMAND}`; export r; \
  16363. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16364. $(HOST_EXPORTS) \
  16365. for flag in $(EXTRA_HOST_FLAGS) ; do \
  16366. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  16367. done; \
  16368. echo "Doing clean in itcl" ; \
  16369. (cd $(HOST_SUBDIR)/itcl && \
  16370. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  16371. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  16372. "RANLIB=$${RANLIB}" \
  16373. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  16374. clean) \
  16375. || exit 1
  16376. @endif itcl
  16377. .PHONY: maybe-distclean-itcl distclean-itcl
  16378. maybe-distclean-itcl:
  16379. @if itcl
  16380. maybe-distclean-itcl: distclean-itcl
  16381. distclean-itcl:
  16382. @: $(MAKE); $(unstage)
  16383. @[ -f ./itcl/Makefile ] || exit 0; \
  16384. r=`${PWD_COMMAND}`; export r; \
  16385. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16386. $(HOST_EXPORTS) \
  16387. for flag in $(EXTRA_HOST_FLAGS) ; do \
  16388. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  16389. done; \
  16390. echo "Doing distclean in itcl" ; \
  16391. (cd $(HOST_SUBDIR)/itcl && \
  16392. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  16393. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  16394. "RANLIB=$${RANLIB}" \
  16395. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  16396. distclean) \
  16397. || exit 1
  16398. @endif itcl
  16399. .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
  16400. maybe-maintainer-clean-itcl:
  16401. @if itcl
  16402. maybe-maintainer-clean-itcl: maintainer-clean-itcl
  16403. maintainer-clean-itcl:
  16404. @: $(MAKE); $(unstage)
  16405. @[ -f ./itcl/Makefile ] || exit 0; \
  16406. r=`${PWD_COMMAND}`; export r; \
  16407. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16408. $(HOST_EXPORTS) \
  16409. for flag in $(EXTRA_HOST_FLAGS) ; do \
  16410. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  16411. done; \
  16412. echo "Doing maintainer-clean in itcl" ; \
  16413. (cd $(HOST_SUBDIR)/itcl && \
  16414. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  16415. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  16416. "RANLIB=$${RANLIB}" \
  16417. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  16418. maintainer-clean) \
  16419. || exit 1
  16420. @endif itcl
  16421. .PHONY: configure-ld maybe-configure-ld
  16422. maybe-configure-ld:
  16423. @if gcc-bootstrap
  16424. configure-ld: stage_current
  16425. @endif gcc-bootstrap
  16426. @if ld
  16427. maybe-configure-ld: configure-ld
  16428. configure-ld:
  16429. @r=`${PWD_COMMAND}`; export r; \
  16430. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16431. test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
  16432. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
  16433. $(HOST_EXPORTS) \
  16434. echo Configuring in $(HOST_SUBDIR)/ld; \
  16435. cd "$(HOST_SUBDIR)/ld" || exit 1; \
  16436. case $(srcdir) in \
  16437. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  16438. *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
  16439. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  16440. esac; \
  16441. module_srcdir=ld; \
  16442. $(SHELL) \
  16443. $$s/$$module_srcdir/configure \
  16444. --srcdir=$${topdir}/$$module_srcdir \
  16445. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  16446. --target=${target_alias} \
  16447. || exit 1
  16448. @endif ld
  16449. .PHONY: configure-stage1-ld maybe-configure-stage1-ld
  16450. maybe-configure-stage1-ld:
  16451. @if ld-bootstrap
  16452. maybe-configure-stage1-ld: configure-stage1-ld
  16453. configure-stage1-ld:
  16454. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  16455. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
  16456. @r=`${PWD_COMMAND}`; export r; \
  16457. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16458. TFLAGS="$(STAGE1_TFLAGS)"; \
  16459. test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
  16460. $(HOST_EXPORTS) \
  16461. CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
  16462. CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
  16463. LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
  16464. echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
  16465. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
  16466. cd $(HOST_SUBDIR)/ld || exit 1; \
  16467. case $(srcdir) in \
  16468. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  16469. *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
  16470. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  16471. esac; \
  16472. module_srcdir=ld; \
  16473. $(SHELL) $$s/$$module_srcdir/configure \
  16474. --srcdir=$${topdir}/$$module_srcdir \
  16475. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  16476. --target=${target_alias} \
  16477. \
  16478. $(STAGE1_CONFIGURE_FLAGS)
  16479. @endif ld-bootstrap
  16480. .PHONY: configure-stage2-ld maybe-configure-stage2-ld
  16481. maybe-configure-stage2-ld:
  16482. @if ld-bootstrap
  16483. maybe-configure-stage2-ld: configure-stage2-ld
  16484. configure-stage2-ld:
  16485. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  16486. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
  16487. @r=`${PWD_COMMAND}`; export r; \
  16488. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16489. TFLAGS="$(STAGE2_TFLAGS)"; \
  16490. test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
  16491. $(HOST_EXPORTS) \
  16492. $(POSTSTAGE1_HOST_EXPORTS) \
  16493. CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
  16494. CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
  16495. LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
  16496. echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
  16497. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
  16498. cd $(HOST_SUBDIR)/ld || exit 1; \
  16499. case $(srcdir) in \
  16500. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  16501. *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
  16502. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  16503. esac; \
  16504. module_srcdir=ld; \
  16505. $(SHELL) $$s/$$module_srcdir/configure \
  16506. --srcdir=$${topdir}/$$module_srcdir \
  16507. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  16508. --target=${target_alias} \
  16509. --with-build-libsubdir=$(HOST_SUBDIR) \
  16510. $(STAGE2_CONFIGURE_FLAGS)
  16511. @endif ld-bootstrap
  16512. .PHONY: configure-stage3-ld maybe-configure-stage3-ld
  16513. maybe-configure-stage3-ld:
  16514. @if ld-bootstrap
  16515. maybe-configure-stage3-ld: configure-stage3-ld
  16516. configure-stage3-ld:
  16517. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  16518. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
  16519. @r=`${PWD_COMMAND}`; export r; \
  16520. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16521. TFLAGS="$(STAGE3_TFLAGS)"; \
  16522. test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
  16523. $(HOST_EXPORTS) \
  16524. $(POSTSTAGE1_HOST_EXPORTS) \
  16525. CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
  16526. CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
  16527. LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
  16528. echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
  16529. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
  16530. cd $(HOST_SUBDIR)/ld || exit 1; \
  16531. case $(srcdir) in \
  16532. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  16533. *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
  16534. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  16535. esac; \
  16536. module_srcdir=ld; \
  16537. $(SHELL) $$s/$$module_srcdir/configure \
  16538. --srcdir=$${topdir}/$$module_srcdir \
  16539. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  16540. --target=${target_alias} \
  16541. --with-build-libsubdir=$(HOST_SUBDIR) \
  16542. $(STAGE3_CONFIGURE_FLAGS)
  16543. @endif ld-bootstrap
  16544. .PHONY: configure-stage4-ld maybe-configure-stage4-ld
  16545. maybe-configure-stage4-ld:
  16546. @if ld-bootstrap
  16547. maybe-configure-stage4-ld: configure-stage4-ld
  16548. configure-stage4-ld:
  16549. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  16550. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
  16551. @r=`${PWD_COMMAND}`; export r; \
  16552. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16553. TFLAGS="$(STAGE4_TFLAGS)"; \
  16554. test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
  16555. $(HOST_EXPORTS) \
  16556. $(POSTSTAGE1_HOST_EXPORTS) \
  16557. CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
  16558. CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
  16559. LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
  16560. echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
  16561. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
  16562. cd $(HOST_SUBDIR)/ld || exit 1; \
  16563. case $(srcdir) in \
  16564. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  16565. *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
  16566. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  16567. esac; \
  16568. module_srcdir=ld; \
  16569. $(SHELL) $$s/$$module_srcdir/configure \
  16570. --srcdir=$${topdir}/$$module_srcdir \
  16571. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  16572. --target=${target_alias} \
  16573. --with-build-libsubdir=$(HOST_SUBDIR) \
  16574. $(STAGE4_CONFIGURE_FLAGS)
  16575. @endif ld-bootstrap
  16576. .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
  16577. maybe-configure-stageprofile-ld:
  16578. @if ld-bootstrap
  16579. maybe-configure-stageprofile-ld: configure-stageprofile-ld
  16580. configure-stageprofile-ld:
  16581. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  16582. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
  16583. @r=`${PWD_COMMAND}`; export r; \
  16584. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16585. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  16586. test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
  16587. $(HOST_EXPORTS) \
  16588. $(POSTSTAGE1_HOST_EXPORTS) \
  16589. CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
  16590. CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
  16591. LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
  16592. echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
  16593. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
  16594. cd $(HOST_SUBDIR)/ld || exit 1; \
  16595. case $(srcdir) in \
  16596. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  16597. *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
  16598. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  16599. esac; \
  16600. module_srcdir=ld; \
  16601. $(SHELL) $$s/$$module_srcdir/configure \
  16602. --srcdir=$${topdir}/$$module_srcdir \
  16603. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  16604. --target=${target_alias} \
  16605. --with-build-libsubdir=$(HOST_SUBDIR) \
  16606. $(STAGEprofile_CONFIGURE_FLAGS)
  16607. @endif ld-bootstrap
  16608. .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
  16609. maybe-configure-stagefeedback-ld:
  16610. @if ld-bootstrap
  16611. maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
  16612. configure-stagefeedback-ld:
  16613. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  16614. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld
  16615. @r=`${PWD_COMMAND}`; export r; \
  16616. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16617. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  16618. test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
  16619. $(HOST_EXPORTS) \
  16620. $(POSTSTAGE1_HOST_EXPORTS) \
  16621. CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
  16622. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
  16623. LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
  16624. echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
  16625. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
  16626. cd $(HOST_SUBDIR)/ld || exit 1; \
  16627. case $(srcdir) in \
  16628. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  16629. *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
  16630. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  16631. esac; \
  16632. module_srcdir=ld; \
  16633. $(SHELL) $$s/$$module_srcdir/configure \
  16634. --srcdir=$${topdir}/$$module_srcdir \
  16635. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  16636. --target=${target_alias} \
  16637. --with-build-libsubdir=$(HOST_SUBDIR) \
  16638. $(STAGEfeedback_CONFIGURE_FLAGS)
  16639. @endif ld-bootstrap
  16640. .PHONY: all-ld maybe-all-ld
  16641. maybe-all-ld:
  16642. @if gcc-bootstrap
  16643. all-ld: stage_current
  16644. @endif gcc-bootstrap
  16645. @if ld
  16646. TARGET-ld=all
  16647. maybe-all-ld: all-ld
  16648. all-ld: configure-ld
  16649. @r=`${PWD_COMMAND}`; export r; \
  16650. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16651. $(HOST_EXPORTS) \
  16652. (cd $(HOST_SUBDIR)/ld && \
  16653. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  16654. $(TARGET-ld))
  16655. @endif ld
  16656. .PHONY: all-stage1-ld maybe-all-stage1-ld
  16657. .PHONY: clean-stage1-ld maybe-clean-stage1-ld
  16658. maybe-all-stage1-ld:
  16659. maybe-clean-stage1-ld:
  16660. @if ld-bootstrap
  16661. maybe-all-stage1-ld: all-stage1-ld
  16662. all-stage1: all-stage1-ld
  16663. TARGET-stage1-ld = $(TARGET-ld)
  16664. all-stage1-ld: configure-stage1-ld
  16665. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  16666. @r=`${PWD_COMMAND}`; export r; \
  16667. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16668. TFLAGS="$(STAGE1_TFLAGS)"; \
  16669. $(HOST_EXPORTS) \
  16670. cd $(HOST_SUBDIR)/ld && \
  16671. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  16672. CFLAGS="$(STAGE1_CFLAGS)" \
  16673. CXXFLAGS="$(STAGE1_CXXFLAGS)" \
  16674. LIBCFLAGS="$(LIBCFLAGS)" \
  16675. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  16676. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  16677. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  16678. $(EXTRA_HOST_FLAGS) \
  16679. $(STAGE1_FLAGS_TO_PASS) \
  16680. TFLAGS="$(STAGE1_TFLAGS)" \
  16681. $(TARGET-stage1-ld)
  16682. maybe-clean-stage1-ld: clean-stage1-ld
  16683. clean-stage1: clean-stage1-ld
  16684. clean-stage1-ld:
  16685. @if [ $(current_stage) = stage1 ]; then \
  16686. [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
  16687. else \
  16688. [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] || exit 0; \
  16689. $(MAKE) stage1-start; \
  16690. fi; \
  16691. cd $(HOST_SUBDIR)/ld && \
  16692. $(MAKE) $(EXTRA_HOST_FLAGS) \
  16693. $(STAGE1_FLAGS_TO_PASS) clean
  16694. @endif ld-bootstrap
  16695. .PHONY: all-stage2-ld maybe-all-stage2-ld
  16696. .PHONY: clean-stage2-ld maybe-clean-stage2-ld
  16697. maybe-all-stage2-ld:
  16698. maybe-clean-stage2-ld:
  16699. @if ld-bootstrap
  16700. maybe-all-stage2-ld: all-stage2-ld
  16701. all-stage2: all-stage2-ld
  16702. TARGET-stage2-ld = $(TARGET-ld)
  16703. all-stage2-ld: configure-stage2-ld
  16704. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  16705. @r=`${PWD_COMMAND}`; export r; \
  16706. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16707. TFLAGS="$(STAGE2_TFLAGS)"; \
  16708. $(HOST_EXPORTS) \
  16709. $(POSTSTAGE1_HOST_EXPORTS) \
  16710. cd $(HOST_SUBDIR)/ld && \
  16711. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  16712. CFLAGS="$(STAGE2_CFLAGS)" \
  16713. CXXFLAGS="$(STAGE2_CXXFLAGS)" \
  16714. LIBCFLAGS="$(STAGE2_CFLAGS)" \
  16715. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  16716. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  16717. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  16718. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  16719. TFLAGS="$(STAGE2_TFLAGS)" \
  16720. $(TARGET-stage2-ld)
  16721. maybe-clean-stage2-ld: clean-stage2-ld
  16722. clean-stage2: clean-stage2-ld
  16723. clean-stage2-ld:
  16724. @if [ $(current_stage) = stage2 ]; then \
  16725. [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
  16726. else \
  16727. [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] || exit 0; \
  16728. $(MAKE) stage2-start; \
  16729. fi; \
  16730. cd $(HOST_SUBDIR)/ld && \
  16731. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  16732. @endif ld-bootstrap
  16733. .PHONY: all-stage3-ld maybe-all-stage3-ld
  16734. .PHONY: clean-stage3-ld maybe-clean-stage3-ld
  16735. maybe-all-stage3-ld:
  16736. maybe-clean-stage3-ld:
  16737. @if ld-bootstrap
  16738. maybe-all-stage3-ld: all-stage3-ld
  16739. all-stage3: all-stage3-ld
  16740. TARGET-stage3-ld = $(TARGET-ld)
  16741. all-stage3-ld: configure-stage3-ld
  16742. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  16743. @r=`${PWD_COMMAND}`; export r; \
  16744. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16745. TFLAGS="$(STAGE3_TFLAGS)"; \
  16746. $(HOST_EXPORTS) \
  16747. $(POSTSTAGE1_HOST_EXPORTS) \
  16748. cd $(HOST_SUBDIR)/ld && \
  16749. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  16750. CFLAGS="$(STAGE3_CFLAGS)" \
  16751. CXXFLAGS="$(STAGE3_CXXFLAGS)" \
  16752. LIBCFLAGS="$(STAGE3_CFLAGS)" \
  16753. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  16754. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  16755. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  16756. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  16757. TFLAGS="$(STAGE3_TFLAGS)" \
  16758. $(TARGET-stage3-ld)
  16759. maybe-clean-stage3-ld: clean-stage3-ld
  16760. clean-stage3: clean-stage3-ld
  16761. clean-stage3-ld:
  16762. @if [ $(current_stage) = stage3 ]; then \
  16763. [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
  16764. else \
  16765. [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] || exit 0; \
  16766. $(MAKE) stage3-start; \
  16767. fi; \
  16768. cd $(HOST_SUBDIR)/ld && \
  16769. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  16770. @endif ld-bootstrap
  16771. .PHONY: all-stage4-ld maybe-all-stage4-ld
  16772. .PHONY: clean-stage4-ld maybe-clean-stage4-ld
  16773. maybe-all-stage4-ld:
  16774. maybe-clean-stage4-ld:
  16775. @if ld-bootstrap
  16776. maybe-all-stage4-ld: all-stage4-ld
  16777. all-stage4: all-stage4-ld
  16778. TARGET-stage4-ld = $(TARGET-ld)
  16779. all-stage4-ld: configure-stage4-ld
  16780. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  16781. @r=`${PWD_COMMAND}`; export r; \
  16782. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16783. TFLAGS="$(STAGE4_TFLAGS)"; \
  16784. $(HOST_EXPORTS) \
  16785. $(POSTSTAGE1_HOST_EXPORTS) \
  16786. cd $(HOST_SUBDIR)/ld && \
  16787. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  16788. CFLAGS="$(STAGE4_CFLAGS)" \
  16789. CXXFLAGS="$(STAGE4_CXXFLAGS)" \
  16790. LIBCFLAGS="$(STAGE4_CFLAGS)" \
  16791. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  16792. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  16793. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  16794. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  16795. TFLAGS="$(STAGE4_TFLAGS)" \
  16796. $(TARGET-stage4-ld)
  16797. maybe-clean-stage4-ld: clean-stage4-ld
  16798. clean-stage4: clean-stage4-ld
  16799. clean-stage4-ld:
  16800. @if [ $(current_stage) = stage4 ]; then \
  16801. [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
  16802. else \
  16803. [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] || exit 0; \
  16804. $(MAKE) stage4-start; \
  16805. fi; \
  16806. cd $(HOST_SUBDIR)/ld && \
  16807. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  16808. @endif ld-bootstrap
  16809. .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
  16810. .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
  16811. maybe-all-stageprofile-ld:
  16812. maybe-clean-stageprofile-ld:
  16813. @if ld-bootstrap
  16814. maybe-all-stageprofile-ld: all-stageprofile-ld
  16815. all-stageprofile: all-stageprofile-ld
  16816. TARGET-stageprofile-ld = $(TARGET-ld)
  16817. all-stageprofile-ld: configure-stageprofile-ld
  16818. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  16819. @r=`${PWD_COMMAND}`; export r; \
  16820. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16821. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  16822. $(HOST_EXPORTS) \
  16823. $(POSTSTAGE1_HOST_EXPORTS) \
  16824. cd $(HOST_SUBDIR)/ld && \
  16825. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  16826. CFLAGS="$(STAGEprofile_CFLAGS)" \
  16827. CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
  16828. LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
  16829. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  16830. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  16831. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  16832. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  16833. TFLAGS="$(STAGEprofile_TFLAGS)" \
  16834. $(TARGET-stageprofile-ld)
  16835. maybe-clean-stageprofile-ld: clean-stageprofile-ld
  16836. clean-stageprofile: clean-stageprofile-ld
  16837. clean-stageprofile-ld:
  16838. @if [ $(current_stage) = stageprofile ]; then \
  16839. [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
  16840. else \
  16841. [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] || exit 0; \
  16842. $(MAKE) stageprofile-start; \
  16843. fi; \
  16844. cd $(HOST_SUBDIR)/ld && \
  16845. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  16846. @endif ld-bootstrap
  16847. .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
  16848. .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
  16849. maybe-all-stagefeedback-ld:
  16850. maybe-clean-stagefeedback-ld:
  16851. @if ld-bootstrap
  16852. maybe-all-stagefeedback-ld: all-stagefeedback-ld
  16853. all-stagefeedback: all-stagefeedback-ld
  16854. TARGET-stagefeedback-ld = $(TARGET-ld)
  16855. all-stagefeedback-ld: configure-stagefeedback-ld
  16856. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  16857. @r=`${PWD_COMMAND}`; export r; \
  16858. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16859. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  16860. $(HOST_EXPORTS) \
  16861. $(POSTSTAGE1_HOST_EXPORTS) \
  16862. cd $(HOST_SUBDIR)/ld && \
  16863. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  16864. CFLAGS="$(STAGEfeedback_CFLAGS)" \
  16865. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
  16866. LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
  16867. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  16868. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  16869. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  16870. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  16871. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  16872. $(TARGET-stagefeedback-ld)
  16873. maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
  16874. clean-stagefeedback: clean-stagefeedback-ld
  16875. clean-stagefeedback-ld:
  16876. @if [ $(current_stage) = stagefeedback ]; then \
  16877. [ -f $(HOST_SUBDIR)/ld/Makefile ] || exit 0; \
  16878. else \
  16879. [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] || exit 0; \
  16880. $(MAKE) stagefeedback-start; \
  16881. fi; \
  16882. cd $(HOST_SUBDIR)/ld && \
  16883. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  16884. @endif ld-bootstrap
  16885. .PHONY: check-ld maybe-check-ld
  16886. maybe-check-ld:
  16887. @if ld
  16888. maybe-check-ld: check-ld
  16889. check-ld:
  16890. @: $(MAKE); $(unstage)
  16891. @r=`${PWD_COMMAND}`; export r; \
  16892. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16893. $(HOST_EXPORTS) \
  16894. (cd $(HOST_SUBDIR)/ld && \
  16895. $(MAKE) $(FLAGS_TO_PASS) check)
  16896. @endif ld
  16897. .PHONY: install-ld maybe-install-ld
  16898. maybe-install-ld:
  16899. @if ld
  16900. maybe-install-ld: install-ld
  16901. install-ld: installdirs
  16902. @: $(MAKE); $(unstage)
  16903. @r=`${PWD_COMMAND}`; export r; \
  16904. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16905. $(HOST_EXPORTS) \
  16906. (cd $(HOST_SUBDIR)/ld && \
  16907. $(MAKE) $(FLAGS_TO_PASS) install)
  16908. @endif ld
  16909. .PHONY: install-strip-ld maybe-install-strip-ld
  16910. maybe-install-strip-ld:
  16911. @if ld
  16912. maybe-install-strip-ld: install-strip-ld
  16913. install-strip-ld: installdirs
  16914. @: $(MAKE); $(unstage)
  16915. @r=`${PWD_COMMAND}`; export r; \
  16916. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16917. $(HOST_EXPORTS) \
  16918. (cd $(HOST_SUBDIR)/ld && \
  16919. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  16920. @endif ld
  16921. # Other targets (info, dvi, pdf, etc.)
  16922. .PHONY: maybe-info-ld info-ld
  16923. maybe-info-ld:
  16924. @if ld
  16925. maybe-info-ld: info-ld
  16926. info-ld: \
  16927. configure-ld
  16928. @[ -f ./ld/Makefile ] || exit 0; \
  16929. r=`${PWD_COMMAND}`; export r; \
  16930. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16931. $(HOST_EXPORTS) \
  16932. for flag in $(EXTRA_HOST_FLAGS) ; do \
  16933. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  16934. done; \
  16935. echo "Doing info in ld" ; \
  16936. (cd $(HOST_SUBDIR)/ld && \
  16937. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  16938. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  16939. "RANLIB=$${RANLIB}" \
  16940. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  16941. info) \
  16942. || exit 1
  16943. @endif ld
  16944. .PHONY: maybe-dvi-ld dvi-ld
  16945. maybe-dvi-ld:
  16946. @if ld
  16947. maybe-dvi-ld: dvi-ld
  16948. dvi-ld: \
  16949. configure-ld
  16950. @[ -f ./ld/Makefile ] || exit 0; \
  16951. r=`${PWD_COMMAND}`; export r; \
  16952. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16953. $(HOST_EXPORTS) \
  16954. for flag in $(EXTRA_HOST_FLAGS) ; do \
  16955. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  16956. done; \
  16957. echo "Doing dvi in ld" ; \
  16958. (cd $(HOST_SUBDIR)/ld && \
  16959. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  16960. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  16961. "RANLIB=$${RANLIB}" \
  16962. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  16963. dvi) \
  16964. || exit 1
  16965. @endif ld
  16966. .PHONY: maybe-pdf-ld pdf-ld
  16967. maybe-pdf-ld:
  16968. @if ld
  16969. maybe-pdf-ld: pdf-ld
  16970. pdf-ld: \
  16971. configure-ld
  16972. @[ -f ./ld/Makefile ] || exit 0; \
  16973. r=`${PWD_COMMAND}`; export r; \
  16974. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16975. $(HOST_EXPORTS) \
  16976. for flag in $(EXTRA_HOST_FLAGS) ; do \
  16977. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  16978. done; \
  16979. echo "Doing pdf in ld" ; \
  16980. (cd $(HOST_SUBDIR)/ld && \
  16981. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  16982. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  16983. "RANLIB=$${RANLIB}" \
  16984. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  16985. pdf) \
  16986. || exit 1
  16987. @endif ld
  16988. .PHONY: maybe-html-ld html-ld
  16989. maybe-html-ld:
  16990. @if ld
  16991. maybe-html-ld: html-ld
  16992. html-ld: \
  16993. configure-ld
  16994. @[ -f ./ld/Makefile ] || exit 0; \
  16995. r=`${PWD_COMMAND}`; export r; \
  16996. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  16997. $(HOST_EXPORTS) \
  16998. for flag in $(EXTRA_HOST_FLAGS) ; do \
  16999. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17000. done; \
  17001. echo "Doing html in ld" ; \
  17002. (cd $(HOST_SUBDIR)/ld && \
  17003. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17004. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17005. "RANLIB=$${RANLIB}" \
  17006. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17007. html) \
  17008. || exit 1
  17009. @endif ld
  17010. .PHONY: maybe-TAGS-ld TAGS-ld
  17011. maybe-TAGS-ld:
  17012. @if ld
  17013. maybe-TAGS-ld: TAGS-ld
  17014. TAGS-ld: \
  17015. configure-ld
  17016. @[ -f ./ld/Makefile ] || exit 0; \
  17017. r=`${PWD_COMMAND}`; export r; \
  17018. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17019. $(HOST_EXPORTS) \
  17020. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17021. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17022. done; \
  17023. echo "Doing TAGS in ld" ; \
  17024. (cd $(HOST_SUBDIR)/ld && \
  17025. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17026. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17027. "RANLIB=$${RANLIB}" \
  17028. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17029. TAGS) \
  17030. || exit 1
  17031. @endif ld
  17032. .PHONY: maybe-install-info-ld install-info-ld
  17033. maybe-install-info-ld:
  17034. @if ld
  17035. maybe-install-info-ld: install-info-ld
  17036. install-info-ld: \
  17037. configure-ld \
  17038. info-ld
  17039. @[ -f ./ld/Makefile ] || exit 0; \
  17040. r=`${PWD_COMMAND}`; export r; \
  17041. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17042. $(HOST_EXPORTS) \
  17043. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17044. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17045. done; \
  17046. echo "Doing install-info in ld" ; \
  17047. (cd $(HOST_SUBDIR)/ld && \
  17048. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17049. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17050. "RANLIB=$${RANLIB}" \
  17051. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17052. install-info) \
  17053. || exit 1
  17054. @endif ld
  17055. .PHONY: maybe-install-pdf-ld install-pdf-ld
  17056. maybe-install-pdf-ld:
  17057. @if ld
  17058. maybe-install-pdf-ld: install-pdf-ld
  17059. install-pdf-ld: \
  17060. configure-ld \
  17061. pdf-ld
  17062. @[ -f ./ld/Makefile ] || exit 0; \
  17063. r=`${PWD_COMMAND}`; export r; \
  17064. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17065. $(HOST_EXPORTS) \
  17066. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17067. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17068. done; \
  17069. echo "Doing install-pdf in ld" ; \
  17070. (cd $(HOST_SUBDIR)/ld && \
  17071. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17072. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17073. "RANLIB=$${RANLIB}" \
  17074. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17075. install-pdf) \
  17076. || exit 1
  17077. @endif ld
  17078. .PHONY: maybe-install-html-ld install-html-ld
  17079. maybe-install-html-ld:
  17080. @if ld
  17081. maybe-install-html-ld: install-html-ld
  17082. install-html-ld: \
  17083. configure-ld \
  17084. html-ld
  17085. @[ -f ./ld/Makefile ] || exit 0; \
  17086. r=`${PWD_COMMAND}`; export r; \
  17087. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17088. $(HOST_EXPORTS) \
  17089. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17090. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17091. done; \
  17092. echo "Doing install-html in ld" ; \
  17093. (cd $(HOST_SUBDIR)/ld && \
  17094. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17095. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17096. "RANLIB=$${RANLIB}" \
  17097. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17098. install-html) \
  17099. || exit 1
  17100. @endif ld
  17101. .PHONY: maybe-installcheck-ld installcheck-ld
  17102. maybe-installcheck-ld:
  17103. @if ld
  17104. maybe-installcheck-ld: installcheck-ld
  17105. installcheck-ld: \
  17106. configure-ld
  17107. @[ -f ./ld/Makefile ] || exit 0; \
  17108. r=`${PWD_COMMAND}`; export r; \
  17109. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17110. $(HOST_EXPORTS) \
  17111. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17112. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17113. done; \
  17114. echo "Doing installcheck in ld" ; \
  17115. (cd $(HOST_SUBDIR)/ld && \
  17116. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17117. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17118. "RANLIB=$${RANLIB}" \
  17119. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17120. installcheck) \
  17121. || exit 1
  17122. @endif ld
  17123. .PHONY: maybe-mostlyclean-ld mostlyclean-ld
  17124. maybe-mostlyclean-ld:
  17125. @if ld
  17126. maybe-mostlyclean-ld: mostlyclean-ld
  17127. mostlyclean-ld:
  17128. @[ -f ./ld/Makefile ] || exit 0; \
  17129. r=`${PWD_COMMAND}`; export r; \
  17130. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17131. $(HOST_EXPORTS) \
  17132. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17133. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17134. done; \
  17135. echo "Doing mostlyclean in ld" ; \
  17136. (cd $(HOST_SUBDIR)/ld && \
  17137. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17138. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17139. "RANLIB=$${RANLIB}" \
  17140. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17141. mostlyclean) \
  17142. || exit 1
  17143. @endif ld
  17144. .PHONY: maybe-clean-ld clean-ld
  17145. maybe-clean-ld:
  17146. @if ld
  17147. maybe-clean-ld: clean-ld
  17148. clean-ld:
  17149. @[ -f ./ld/Makefile ] || exit 0; \
  17150. r=`${PWD_COMMAND}`; export r; \
  17151. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17152. $(HOST_EXPORTS) \
  17153. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17154. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17155. done; \
  17156. echo "Doing clean in ld" ; \
  17157. (cd $(HOST_SUBDIR)/ld && \
  17158. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17159. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17160. "RANLIB=$${RANLIB}" \
  17161. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17162. clean) \
  17163. || exit 1
  17164. @endif ld
  17165. .PHONY: maybe-distclean-ld distclean-ld
  17166. maybe-distclean-ld:
  17167. @if ld
  17168. maybe-distclean-ld: distclean-ld
  17169. distclean-ld:
  17170. @[ -f ./ld/Makefile ] || exit 0; \
  17171. r=`${PWD_COMMAND}`; export r; \
  17172. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17173. $(HOST_EXPORTS) \
  17174. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17175. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17176. done; \
  17177. echo "Doing distclean in ld" ; \
  17178. (cd $(HOST_SUBDIR)/ld && \
  17179. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17180. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17181. "RANLIB=$${RANLIB}" \
  17182. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17183. distclean) \
  17184. || exit 1
  17185. @endif ld
  17186. .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
  17187. maybe-maintainer-clean-ld:
  17188. @if ld
  17189. maybe-maintainer-clean-ld: maintainer-clean-ld
  17190. maintainer-clean-ld:
  17191. @[ -f ./ld/Makefile ] || exit 0; \
  17192. r=`${PWD_COMMAND}`; export r; \
  17193. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17194. $(HOST_EXPORTS) \
  17195. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17196. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17197. done; \
  17198. echo "Doing maintainer-clean in ld" ; \
  17199. (cd $(HOST_SUBDIR)/ld && \
  17200. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17201. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17202. "RANLIB=$${RANLIB}" \
  17203. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17204. maintainer-clean) \
  17205. || exit 1
  17206. @endif ld
  17207. .PHONY: configure-libbacktrace maybe-configure-libbacktrace
  17208. maybe-configure-libbacktrace:
  17209. @if gcc-bootstrap
  17210. configure-libbacktrace: stage_current
  17211. @endif gcc-bootstrap
  17212. @if libbacktrace
  17213. maybe-configure-libbacktrace: configure-libbacktrace
  17214. configure-libbacktrace:
  17215. @r=`${PWD_COMMAND}`; export r; \
  17216. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17217. test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
  17218. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
  17219. $(HOST_EXPORTS) \
  17220. echo Configuring in $(HOST_SUBDIR)/libbacktrace; \
  17221. cd "$(HOST_SUBDIR)/libbacktrace" || exit 1; \
  17222. case $(srcdir) in \
  17223. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  17224. *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
  17225. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  17226. esac; \
  17227. module_srcdir=libbacktrace; \
  17228. $(SHELL) \
  17229. $$s/$$module_srcdir/configure \
  17230. --srcdir=$${topdir}/$$module_srcdir \
  17231. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  17232. --target=${target_alias} \
  17233. || exit 1
  17234. @endif libbacktrace
  17235. .PHONY: configure-stage1-libbacktrace maybe-configure-stage1-libbacktrace
  17236. maybe-configure-stage1-libbacktrace:
  17237. @if libbacktrace-bootstrap
  17238. maybe-configure-stage1-libbacktrace: configure-stage1-libbacktrace
  17239. configure-stage1-libbacktrace:
  17240. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  17241. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
  17242. @r=`${PWD_COMMAND}`; export r; \
  17243. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17244. TFLAGS="$(STAGE1_TFLAGS)"; \
  17245. test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
  17246. $(HOST_EXPORTS) \
  17247. CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
  17248. CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
  17249. LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
  17250. echo Configuring stage 1 in $(HOST_SUBDIR)/libbacktrace ; \
  17251. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
  17252. cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
  17253. case $(srcdir) in \
  17254. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  17255. *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
  17256. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  17257. esac; \
  17258. module_srcdir=libbacktrace; \
  17259. $(SHELL) $$s/$$module_srcdir/configure \
  17260. --srcdir=$${topdir}/$$module_srcdir \
  17261. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  17262. --target=${target_alias} \
  17263. \
  17264. $(STAGE1_CONFIGURE_FLAGS)
  17265. @endif libbacktrace-bootstrap
  17266. .PHONY: configure-stage2-libbacktrace maybe-configure-stage2-libbacktrace
  17267. maybe-configure-stage2-libbacktrace:
  17268. @if libbacktrace-bootstrap
  17269. maybe-configure-stage2-libbacktrace: configure-stage2-libbacktrace
  17270. configure-stage2-libbacktrace:
  17271. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  17272. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
  17273. @r=`${PWD_COMMAND}`; export r; \
  17274. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17275. TFLAGS="$(STAGE2_TFLAGS)"; \
  17276. test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
  17277. $(HOST_EXPORTS) \
  17278. $(POSTSTAGE1_HOST_EXPORTS) \
  17279. CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
  17280. CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
  17281. LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
  17282. echo Configuring stage 2 in $(HOST_SUBDIR)/libbacktrace ; \
  17283. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
  17284. cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
  17285. case $(srcdir) in \
  17286. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  17287. *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
  17288. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  17289. esac; \
  17290. module_srcdir=libbacktrace; \
  17291. $(SHELL) $$s/$$module_srcdir/configure \
  17292. --srcdir=$${topdir}/$$module_srcdir \
  17293. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  17294. --target=${target_alias} \
  17295. --with-build-libsubdir=$(HOST_SUBDIR) \
  17296. $(STAGE2_CONFIGURE_FLAGS)
  17297. @endif libbacktrace-bootstrap
  17298. .PHONY: configure-stage3-libbacktrace maybe-configure-stage3-libbacktrace
  17299. maybe-configure-stage3-libbacktrace:
  17300. @if libbacktrace-bootstrap
  17301. maybe-configure-stage3-libbacktrace: configure-stage3-libbacktrace
  17302. configure-stage3-libbacktrace:
  17303. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  17304. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
  17305. @r=`${PWD_COMMAND}`; export r; \
  17306. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17307. TFLAGS="$(STAGE3_TFLAGS)"; \
  17308. test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
  17309. $(HOST_EXPORTS) \
  17310. $(POSTSTAGE1_HOST_EXPORTS) \
  17311. CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
  17312. CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
  17313. LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
  17314. echo Configuring stage 3 in $(HOST_SUBDIR)/libbacktrace ; \
  17315. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
  17316. cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
  17317. case $(srcdir) in \
  17318. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  17319. *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
  17320. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  17321. esac; \
  17322. module_srcdir=libbacktrace; \
  17323. $(SHELL) $$s/$$module_srcdir/configure \
  17324. --srcdir=$${topdir}/$$module_srcdir \
  17325. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  17326. --target=${target_alias} \
  17327. --with-build-libsubdir=$(HOST_SUBDIR) \
  17328. $(STAGE3_CONFIGURE_FLAGS)
  17329. @endif libbacktrace-bootstrap
  17330. .PHONY: configure-stage4-libbacktrace maybe-configure-stage4-libbacktrace
  17331. maybe-configure-stage4-libbacktrace:
  17332. @if libbacktrace-bootstrap
  17333. maybe-configure-stage4-libbacktrace: configure-stage4-libbacktrace
  17334. configure-stage4-libbacktrace:
  17335. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  17336. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
  17337. @r=`${PWD_COMMAND}`; export r; \
  17338. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17339. TFLAGS="$(STAGE4_TFLAGS)"; \
  17340. test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
  17341. $(HOST_EXPORTS) \
  17342. $(POSTSTAGE1_HOST_EXPORTS) \
  17343. CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
  17344. CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
  17345. LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
  17346. echo Configuring stage 4 in $(HOST_SUBDIR)/libbacktrace ; \
  17347. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
  17348. cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
  17349. case $(srcdir) in \
  17350. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  17351. *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
  17352. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  17353. esac; \
  17354. module_srcdir=libbacktrace; \
  17355. $(SHELL) $$s/$$module_srcdir/configure \
  17356. --srcdir=$${topdir}/$$module_srcdir \
  17357. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  17358. --target=${target_alias} \
  17359. --with-build-libsubdir=$(HOST_SUBDIR) \
  17360. $(STAGE4_CONFIGURE_FLAGS)
  17361. @endif libbacktrace-bootstrap
  17362. .PHONY: configure-stageprofile-libbacktrace maybe-configure-stageprofile-libbacktrace
  17363. maybe-configure-stageprofile-libbacktrace:
  17364. @if libbacktrace-bootstrap
  17365. maybe-configure-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
  17366. configure-stageprofile-libbacktrace:
  17367. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  17368. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
  17369. @r=`${PWD_COMMAND}`; export r; \
  17370. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17371. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  17372. test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
  17373. $(HOST_EXPORTS) \
  17374. $(POSTSTAGE1_HOST_EXPORTS) \
  17375. CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
  17376. CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
  17377. LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
  17378. echo Configuring stage profile in $(HOST_SUBDIR)/libbacktrace ; \
  17379. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
  17380. cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
  17381. case $(srcdir) in \
  17382. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  17383. *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
  17384. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  17385. esac; \
  17386. module_srcdir=libbacktrace; \
  17387. $(SHELL) $$s/$$module_srcdir/configure \
  17388. --srcdir=$${topdir}/$$module_srcdir \
  17389. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  17390. --target=${target_alias} \
  17391. --with-build-libsubdir=$(HOST_SUBDIR) \
  17392. $(STAGEprofile_CONFIGURE_FLAGS)
  17393. @endif libbacktrace-bootstrap
  17394. .PHONY: configure-stagefeedback-libbacktrace maybe-configure-stagefeedback-libbacktrace
  17395. maybe-configure-stagefeedback-libbacktrace:
  17396. @if libbacktrace-bootstrap
  17397. maybe-configure-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
  17398. configure-stagefeedback-libbacktrace:
  17399. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  17400. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace
  17401. @r=`${PWD_COMMAND}`; export r; \
  17402. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17403. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  17404. test ! -f $(HOST_SUBDIR)/libbacktrace/Makefile || exit 0; \
  17405. $(HOST_EXPORTS) \
  17406. $(POSTSTAGE1_HOST_EXPORTS) \
  17407. CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
  17408. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
  17409. LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
  17410. echo Configuring stage feedback in $(HOST_SUBDIR)/libbacktrace ; \
  17411. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libbacktrace ; \
  17412. cd $(HOST_SUBDIR)/libbacktrace || exit 1; \
  17413. case $(srcdir) in \
  17414. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  17415. *) topdir=`echo $(HOST_SUBDIR)/libbacktrace/ | \
  17416. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  17417. esac; \
  17418. module_srcdir=libbacktrace; \
  17419. $(SHELL) $$s/$$module_srcdir/configure \
  17420. --srcdir=$${topdir}/$$module_srcdir \
  17421. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  17422. --target=${target_alias} \
  17423. --with-build-libsubdir=$(HOST_SUBDIR) \
  17424. $(STAGEfeedback_CONFIGURE_FLAGS)
  17425. @endif libbacktrace-bootstrap
  17426. .PHONY: all-libbacktrace maybe-all-libbacktrace
  17427. maybe-all-libbacktrace:
  17428. @if gcc-bootstrap
  17429. all-libbacktrace: stage_current
  17430. @endif gcc-bootstrap
  17431. @if libbacktrace
  17432. TARGET-libbacktrace=all
  17433. maybe-all-libbacktrace: all-libbacktrace
  17434. all-libbacktrace: configure-libbacktrace
  17435. @r=`${PWD_COMMAND}`; export r; \
  17436. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17437. $(HOST_EXPORTS) \
  17438. (cd $(HOST_SUBDIR)/libbacktrace && \
  17439. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  17440. $(TARGET-libbacktrace))
  17441. @endif libbacktrace
  17442. .PHONY: all-stage1-libbacktrace maybe-all-stage1-libbacktrace
  17443. .PHONY: clean-stage1-libbacktrace maybe-clean-stage1-libbacktrace
  17444. maybe-all-stage1-libbacktrace:
  17445. maybe-clean-stage1-libbacktrace:
  17446. @if libbacktrace-bootstrap
  17447. maybe-all-stage1-libbacktrace: all-stage1-libbacktrace
  17448. all-stage1: all-stage1-libbacktrace
  17449. TARGET-stage1-libbacktrace = $(TARGET-libbacktrace)
  17450. all-stage1-libbacktrace: configure-stage1-libbacktrace
  17451. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  17452. @r=`${PWD_COMMAND}`; export r; \
  17453. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17454. TFLAGS="$(STAGE1_TFLAGS)"; \
  17455. $(HOST_EXPORTS) \
  17456. cd $(HOST_SUBDIR)/libbacktrace && \
  17457. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  17458. CFLAGS="$(STAGE1_CFLAGS)" \
  17459. CXXFLAGS="$(STAGE1_CXXFLAGS)" \
  17460. LIBCFLAGS="$(LIBCFLAGS)" \
  17461. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  17462. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  17463. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  17464. $(EXTRA_HOST_FLAGS) \
  17465. $(STAGE1_FLAGS_TO_PASS) \
  17466. TFLAGS="$(STAGE1_TFLAGS)" \
  17467. $(TARGET-stage1-libbacktrace)
  17468. maybe-clean-stage1-libbacktrace: clean-stage1-libbacktrace
  17469. clean-stage1: clean-stage1-libbacktrace
  17470. clean-stage1-libbacktrace:
  17471. @if [ $(current_stage) = stage1 ]; then \
  17472. [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
  17473. else \
  17474. [ -f $(HOST_SUBDIR)/stage1-libbacktrace/Makefile ] || exit 0; \
  17475. $(MAKE) stage1-start; \
  17476. fi; \
  17477. cd $(HOST_SUBDIR)/libbacktrace && \
  17478. $(MAKE) $(EXTRA_HOST_FLAGS) \
  17479. $(STAGE1_FLAGS_TO_PASS) clean
  17480. @endif libbacktrace-bootstrap
  17481. .PHONY: all-stage2-libbacktrace maybe-all-stage2-libbacktrace
  17482. .PHONY: clean-stage2-libbacktrace maybe-clean-stage2-libbacktrace
  17483. maybe-all-stage2-libbacktrace:
  17484. maybe-clean-stage2-libbacktrace:
  17485. @if libbacktrace-bootstrap
  17486. maybe-all-stage2-libbacktrace: all-stage2-libbacktrace
  17487. all-stage2: all-stage2-libbacktrace
  17488. TARGET-stage2-libbacktrace = $(TARGET-libbacktrace)
  17489. all-stage2-libbacktrace: configure-stage2-libbacktrace
  17490. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  17491. @r=`${PWD_COMMAND}`; export r; \
  17492. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17493. TFLAGS="$(STAGE2_TFLAGS)"; \
  17494. $(HOST_EXPORTS) \
  17495. $(POSTSTAGE1_HOST_EXPORTS) \
  17496. cd $(HOST_SUBDIR)/libbacktrace && \
  17497. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  17498. CFLAGS="$(STAGE2_CFLAGS)" \
  17499. CXXFLAGS="$(STAGE2_CXXFLAGS)" \
  17500. LIBCFLAGS="$(STAGE2_CFLAGS)" \
  17501. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  17502. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  17503. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  17504. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  17505. TFLAGS="$(STAGE2_TFLAGS)" \
  17506. $(TARGET-stage2-libbacktrace)
  17507. maybe-clean-stage2-libbacktrace: clean-stage2-libbacktrace
  17508. clean-stage2: clean-stage2-libbacktrace
  17509. clean-stage2-libbacktrace:
  17510. @if [ $(current_stage) = stage2 ]; then \
  17511. [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
  17512. else \
  17513. [ -f $(HOST_SUBDIR)/stage2-libbacktrace/Makefile ] || exit 0; \
  17514. $(MAKE) stage2-start; \
  17515. fi; \
  17516. cd $(HOST_SUBDIR)/libbacktrace && \
  17517. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  17518. @endif libbacktrace-bootstrap
  17519. .PHONY: all-stage3-libbacktrace maybe-all-stage3-libbacktrace
  17520. .PHONY: clean-stage3-libbacktrace maybe-clean-stage3-libbacktrace
  17521. maybe-all-stage3-libbacktrace:
  17522. maybe-clean-stage3-libbacktrace:
  17523. @if libbacktrace-bootstrap
  17524. maybe-all-stage3-libbacktrace: all-stage3-libbacktrace
  17525. all-stage3: all-stage3-libbacktrace
  17526. TARGET-stage3-libbacktrace = $(TARGET-libbacktrace)
  17527. all-stage3-libbacktrace: configure-stage3-libbacktrace
  17528. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  17529. @r=`${PWD_COMMAND}`; export r; \
  17530. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17531. TFLAGS="$(STAGE3_TFLAGS)"; \
  17532. $(HOST_EXPORTS) \
  17533. $(POSTSTAGE1_HOST_EXPORTS) \
  17534. cd $(HOST_SUBDIR)/libbacktrace && \
  17535. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  17536. CFLAGS="$(STAGE3_CFLAGS)" \
  17537. CXXFLAGS="$(STAGE3_CXXFLAGS)" \
  17538. LIBCFLAGS="$(STAGE3_CFLAGS)" \
  17539. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  17540. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  17541. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  17542. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  17543. TFLAGS="$(STAGE3_TFLAGS)" \
  17544. $(TARGET-stage3-libbacktrace)
  17545. maybe-clean-stage3-libbacktrace: clean-stage3-libbacktrace
  17546. clean-stage3: clean-stage3-libbacktrace
  17547. clean-stage3-libbacktrace:
  17548. @if [ $(current_stage) = stage3 ]; then \
  17549. [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
  17550. else \
  17551. [ -f $(HOST_SUBDIR)/stage3-libbacktrace/Makefile ] || exit 0; \
  17552. $(MAKE) stage3-start; \
  17553. fi; \
  17554. cd $(HOST_SUBDIR)/libbacktrace && \
  17555. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  17556. @endif libbacktrace-bootstrap
  17557. .PHONY: all-stage4-libbacktrace maybe-all-stage4-libbacktrace
  17558. .PHONY: clean-stage4-libbacktrace maybe-clean-stage4-libbacktrace
  17559. maybe-all-stage4-libbacktrace:
  17560. maybe-clean-stage4-libbacktrace:
  17561. @if libbacktrace-bootstrap
  17562. maybe-all-stage4-libbacktrace: all-stage4-libbacktrace
  17563. all-stage4: all-stage4-libbacktrace
  17564. TARGET-stage4-libbacktrace = $(TARGET-libbacktrace)
  17565. all-stage4-libbacktrace: configure-stage4-libbacktrace
  17566. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  17567. @r=`${PWD_COMMAND}`; export r; \
  17568. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17569. TFLAGS="$(STAGE4_TFLAGS)"; \
  17570. $(HOST_EXPORTS) \
  17571. $(POSTSTAGE1_HOST_EXPORTS) \
  17572. cd $(HOST_SUBDIR)/libbacktrace && \
  17573. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  17574. CFLAGS="$(STAGE4_CFLAGS)" \
  17575. CXXFLAGS="$(STAGE4_CXXFLAGS)" \
  17576. LIBCFLAGS="$(STAGE4_CFLAGS)" \
  17577. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  17578. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  17579. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  17580. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  17581. TFLAGS="$(STAGE4_TFLAGS)" \
  17582. $(TARGET-stage4-libbacktrace)
  17583. maybe-clean-stage4-libbacktrace: clean-stage4-libbacktrace
  17584. clean-stage4: clean-stage4-libbacktrace
  17585. clean-stage4-libbacktrace:
  17586. @if [ $(current_stage) = stage4 ]; then \
  17587. [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
  17588. else \
  17589. [ -f $(HOST_SUBDIR)/stage4-libbacktrace/Makefile ] || exit 0; \
  17590. $(MAKE) stage4-start; \
  17591. fi; \
  17592. cd $(HOST_SUBDIR)/libbacktrace && \
  17593. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  17594. @endif libbacktrace-bootstrap
  17595. .PHONY: all-stageprofile-libbacktrace maybe-all-stageprofile-libbacktrace
  17596. .PHONY: clean-stageprofile-libbacktrace maybe-clean-stageprofile-libbacktrace
  17597. maybe-all-stageprofile-libbacktrace:
  17598. maybe-clean-stageprofile-libbacktrace:
  17599. @if libbacktrace-bootstrap
  17600. maybe-all-stageprofile-libbacktrace: all-stageprofile-libbacktrace
  17601. all-stageprofile: all-stageprofile-libbacktrace
  17602. TARGET-stageprofile-libbacktrace = $(TARGET-libbacktrace)
  17603. all-stageprofile-libbacktrace: configure-stageprofile-libbacktrace
  17604. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  17605. @r=`${PWD_COMMAND}`; export r; \
  17606. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17607. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  17608. $(HOST_EXPORTS) \
  17609. $(POSTSTAGE1_HOST_EXPORTS) \
  17610. cd $(HOST_SUBDIR)/libbacktrace && \
  17611. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  17612. CFLAGS="$(STAGEprofile_CFLAGS)" \
  17613. CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
  17614. LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
  17615. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  17616. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  17617. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  17618. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  17619. TFLAGS="$(STAGEprofile_TFLAGS)" \
  17620. $(TARGET-stageprofile-libbacktrace)
  17621. maybe-clean-stageprofile-libbacktrace: clean-stageprofile-libbacktrace
  17622. clean-stageprofile: clean-stageprofile-libbacktrace
  17623. clean-stageprofile-libbacktrace:
  17624. @if [ $(current_stage) = stageprofile ]; then \
  17625. [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
  17626. else \
  17627. [ -f $(HOST_SUBDIR)/stageprofile-libbacktrace/Makefile ] || exit 0; \
  17628. $(MAKE) stageprofile-start; \
  17629. fi; \
  17630. cd $(HOST_SUBDIR)/libbacktrace && \
  17631. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  17632. @endif libbacktrace-bootstrap
  17633. .PHONY: all-stagefeedback-libbacktrace maybe-all-stagefeedback-libbacktrace
  17634. .PHONY: clean-stagefeedback-libbacktrace maybe-clean-stagefeedback-libbacktrace
  17635. maybe-all-stagefeedback-libbacktrace:
  17636. maybe-clean-stagefeedback-libbacktrace:
  17637. @if libbacktrace-bootstrap
  17638. maybe-all-stagefeedback-libbacktrace: all-stagefeedback-libbacktrace
  17639. all-stagefeedback: all-stagefeedback-libbacktrace
  17640. TARGET-stagefeedback-libbacktrace = $(TARGET-libbacktrace)
  17641. all-stagefeedback-libbacktrace: configure-stagefeedback-libbacktrace
  17642. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  17643. @r=`${PWD_COMMAND}`; export r; \
  17644. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17645. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  17646. $(HOST_EXPORTS) \
  17647. $(POSTSTAGE1_HOST_EXPORTS) \
  17648. cd $(HOST_SUBDIR)/libbacktrace && \
  17649. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  17650. CFLAGS="$(STAGEfeedback_CFLAGS)" \
  17651. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
  17652. LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
  17653. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  17654. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  17655. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  17656. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  17657. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  17658. $(TARGET-stagefeedback-libbacktrace)
  17659. maybe-clean-stagefeedback-libbacktrace: clean-stagefeedback-libbacktrace
  17660. clean-stagefeedback: clean-stagefeedback-libbacktrace
  17661. clean-stagefeedback-libbacktrace:
  17662. @if [ $(current_stage) = stagefeedback ]; then \
  17663. [ -f $(HOST_SUBDIR)/libbacktrace/Makefile ] || exit 0; \
  17664. else \
  17665. [ -f $(HOST_SUBDIR)/stagefeedback-libbacktrace/Makefile ] || exit 0; \
  17666. $(MAKE) stagefeedback-start; \
  17667. fi; \
  17668. cd $(HOST_SUBDIR)/libbacktrace && \
  17669. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  17670. @endif libbacktrace-bootstrap
  17671. .PHONY: check-libbacktrace maybe-check-libbacktrace
  17672. maybe-check-libbacktrace:
  17673. @if libbacktrace
  17674. maybe-check-libbacktrace: check-libbacktrace
  17675. check-libbacktrace:
  17676. @: $(MAKE); $(unstage)
  17677. @r=`${PWD_COMMAND}`; export r; \
  17678. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17679. $(HOST_EXPORTS) \
  17680. (cd $(HOST_SUBDIR)/libbacktrace && \
  17681. $(MAKE) $(FLAGS_TO_PASS) check)
  17682. @endif libbacktrace
  17683. .PHONY: install-libbacktrace maybe-install-libbacktrace
  17684. maybe-install-libbacktrace:
  17685. @if libbacktrace
  17686. maybe-install-libbacktrace: install-libbacktrace
  17687. install-libbacktrace: installdirs
  17688. @: $(MAKE); $(unstage)
  17689. @r=`${PWD_COMMAND}`; export r; \
  17690. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17691. $(HOST_EXPORTS) \
  17692. (cd $(HOST_SUBDIR)/libbacktrace && \
  17693. $(MAKE) $(FLAGS_TO_PASS) install)
  17694. @endif libbacktrace
  17695. .PHONY: install-strip-libbacktrace maybe-install-strip-libbacktrace
  17696. maybe-install-strip-libbacktrace:
  17697. @if libbacktrace
  17698. maybe-install-strip-libbacktrace: install-strip-libbacktrace
  17699. install-strip-libbacktrace: installdirs
  17700. @: $(MAKE); $(unstage)
  17701. @r=`${PWD_COMMAND}`; export r; \
  17702. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17703. $(HOST_EXPORTS) \
  17704. (cd $(HOST_SUBDIR)/libbacktrace && \
  17705. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  17706. @endif libbacktrace
  17707. # Other targets (info, dvi, pdf, etc.)
  17708. .PHONY: maybe-info-libbacktrace info-libbacktrace
  17709. maybe-info-libbacktrace:
  17710. @if libbacktrace
  17711. maybe-info-libbacktrace: info-libbacktrace
  17712. info-libbacktrace: \
  17713. configure-libbacktrace
  17714. @[ -f ./libbacktrace/Makefile ] || exit 0; \
  17715. r=`${PWD_COMMAND}`; export r; \
  17716. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17717. $(HOST_EXPORTS) \
  17718. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17719. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17720. done; \
  17721. echo "Doing info in libbacktrace" ; \
  17722. (cd $(HOST_SUBDIR)/libbacktrace && \
  17723. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17724. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17725. "RANLIB=$${RANLIB}" \
  17726. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17727. info) \
  17728. || exit 1
  17729. @endif libbacktrace
  17730. .PHONY: maybe-dvi-libbacktrace dvi-libbacktrace
  17731. maybe-dvi-libbacktrace:
  17732. @if libbacktrace
  17733. maybe-dvi-libbacktrace: dvi-libbacktrace
  17734. dvi-libbacktrace: \
  17735. configure-libbacktrace
  17736. @[ -f ./libbacktrace/Makefile ] || exit 0; \
  17737. r=`${PWD_COMMAND}`; export r; \
  17738. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17739. $(HOST_EXPORTS) \
  17740. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17741. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17742. done; \
  17743. echo "Doing dvi in libbacktrace" ; \
  17744. (cd $(HOST_SUBDIR)/libbacktrace && \
  17745. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17746. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17747. "RANLIB=$${RANLIB}" \
  17748. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17749. dvi) \
  17750. || exit 1
  17751. @endif libbacktrace
  17752. .PHONY: maybe-pdf-libbacktrace pdf-libbacktrace
  17753. maybe-pdf-libbacktrace:
  17754. @if libbacktrace
  17755. maybe-pdf-libbacktrace: pdf-libbacktrace
  17756. pdf-libbacktrace: \
  17757. configure-libbacktrace
  17758. @[ -f ./libbacktrace/Makefile ] || exit 0; \
  17759. r=`${PWD_COMMAND}`; export r; \
  17760. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17761. $(HOST_EXPORTS) \
  17762. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17763. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17764. done; \
  17765. echo "Doing pdf in libbacktrace" ; \
  17766. (cd $(HOST_SUBDIR)/libbacktrace && \
  17767. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17768. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17769. "RANLIB=$${RANLIB}" \
  17770. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17771. pdf) \
  17772. || exit 1
  17773. @endif libbacktrace
  17774. .PHONY: maybe-html-libbacktrace html-libbacktrace
  17775. maybe-html-libbacktrace:
  17776. @if libbacktrace
  17777. maybe-html-libbacktrace: html-libbacktrace
  17778. html-libbacktrace: \
  17779. configure-libbacktrace
  17780. @[ -f ./libbacktrace/Makefile ] || exit 0; \
  17781. r=`${PWD_COMMAND}`; export r; \
  17782. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17783. $(HOST_EXPORTS) \
  17784. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17785. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17786. done; \
  17787. echo "Doing html in libbacktrace" ; \
  17788. (cd $(HOST_SUBDIR)/libbacktrace && \
  17789. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17790. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17791. "RANLIB=$${RANLIB}" \
  17792. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17793. html) \
  17794. || exit 1
  17795. @endif libbacktrace
  17796. .PHONY: maybe-TAGS-libbacktrace TAGS-libbacktrace
  17797. maybe-TAGS-libbacktrace:
  17798. @if libbacktrace
  17799. maybe-TAGS-libbacktrace: TAGS-libbacktrace
  17800. TAGS-libbacktrace: \
  17801. configure-libbacktrace
  17802. @[ -f ./libbacktrace/Makefile ] || exit 0; \
  17803. r=`${PWD_COMMAND}`; export r; \
  17804. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17805. $(HOST_EXPORTS) \
  17806. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17807. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17808. done; \
  17809. echo "Doing TAGS in libbacktrace" ; \
  17810. (cd $(HOST_SUBDIR)/libbacktrace && \
  17811. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17812. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17813. "RANLIB=$${RANLIB}" \
  17814. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17815. TAGS) \
  17816. || exit 1
  17817. @endif libbacktrace
  17818. .PHONY: maybe-install-info-libbacktrace install-info-libbacktrace
  17819. maybe-install-info-libbacktrace:
  17820. @if libbacktrace
  17821. maybe-install-info-libbacktrace: install-info-libbacktrace
  17822. install-info-libbacktrace: \
  17823. configure-libbacktrace \
  17824. info-libbacktrace
  17825. @[ -f ./libbacktrace/Makefile ] || exit 0; \
  17826. r=`${PWD_COMMAND}`; export r; \
  17827. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17828. $(HOST_EXPORTS) \
  17829. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17830. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17831. done; \
  17832. echo "Doing install-info in libbacktrace" ; \
  17833. (cd $(HOST_SUBDIR)/libbacktrace && \
  17834. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17835. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17836. "RANLIB=$${RANLIB}" \
  17837. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17838. install-info) \
  17839. || exit 1
  17840. @endif libbacktrace
  17841. .PHONY: maybe-install-pdf-libbacktrace install-pdf-libbacktrace
  17842. maybe-install-pdf-libbacktrace:
  17843. @if libbacktrace
  17844. maybe-install-pdf-libbacktrace: install-pdf-libbacktrace
  17845. install-pdf-libbacktrace: \
  17846. configure-libbacktrace \
  17847. pdf-libbacktrace
  17848. @[ -f ./libbacktrace/Makefile ] || exit 0; \
  17849. r=`${PWD_COMMAND}`; export r; \
  17850. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17851. $(HOST_EXPORTS) \
  17852. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17853. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17854. done; \
  17855. echo "Doing install-pdf in libbacktrace" ; \
  17856. (cd $(HOST_SUBDIR)/libbacktrace && \
  17857. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17858. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17859. "RANLIB=$${RANLIB}" \
  17860. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17861. install-pdf) \
  17862. || exit 1
  17863. @endif libbacktrace
  17864. .PHONY: maybe-install-html-libbacktrace install-html-libbacktrace
  17865. maybe-install-html-libbacktrace:
  17866. @if libbacktrace
  17867. maybe-install-html-libbacktrace: install-html-libbacktrace
  17868. install-html-libbacktrace: \
  17869. configure-libbacktrace \
  17870. html-libbacktrace
  17871. @[ -f ./libbacktrace/Makefile ] || exit 0; \
  17872. r=`${PWD_COMMAND}`; export r; \
  17873. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17874. $(HOST_EXPORTS) \
  17875. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17876. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17877. done; \
  17878. echo "Doing install-html in libbacktrace" ; \
  17879. (cd $(HOST_SUBDIR)/libbacktrace && \
  17880. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17881. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17882. "RANLIB=$${RANLIB}" \
  17883. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17884. install-html) \
  17885. || exit 1
  17886. @endif libbacktrace
  17887. .PHONY: maybe-installcheck-libbacktrace installcheck-libbacktrace
  17888. maybe-installcheck-libbacktrace:
  17889. @if libbacktrace
  17890. maybe-installcheck-libbacktrace: installcheck-libbacktrace
  17891. installcheck-libbacktrace: \
  17892. configure-libbacktrace
  17893. @[ -f ./libbacktrace/Makefile ] || exit 0; \
  17894. r=`${PWD_COMMAND}`; export r; \
  17895. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17896. $(HOST_EXPORTS) \
  17897. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17898. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17899. done; \
  17900. echo "Doing installcheck in libbacktrace" ; \
  17901. (cd $(HOST_SUBDIR)/libbacktrace && \
  17902. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17903. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17904. "RANLIB=$${RANLIB}" \
  17905. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17906. installcheck) \
  17907. || exit 1
  17908. @endif libbacktrace
  17909. .PHONY: maybe-mostlyclean-libbacktrace mostlyclean-libbacktrace
  17910. maybe-mostlyclean-libbacktrace:
  17911. @if libbacktrace
  17912. maybe-mostlyclean-libbacktrace: mostlyclean-libbacktrace
  17913. mostlyclean-libbacktrace:
  17914. @[ -f ./libbacktrace/Makefile ] || exit 0; \
  17915. r=`${PWD_COMMAND}`; export r; \
  17916. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17917. $(HOST_EXPORTS) \
  17918. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17919. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17920. done; \
  17921. echo "Doing mostlyclean in libbacktrace" ; \
  17922. (cd $(HOST_SUBDIR)/libbacktrace && \
  17923. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17924. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17925. "RANLIB=$${RANLIB}" \
  17926. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17927. mostlyclean) \
  17928. || exit 1
  17929. @endif libbacktrace
  17930. .PHONY: maybe-clean-libbacktrace clean-libbacktrace
  17931. maybe-clean-libbacktrace:
  17932. @if libbacktrace
  17933. maybe-clean-libbacktrace: clean-libbacktrace
  17934. clean-libbacktrace:
  17935. @[ -f ./libbacktrace/Makefile ] || exit 0; \
  17936. r=`${PWD_COMMAND}`; export r; \
  17937. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17938. $(HOST_EXPORTS) \
  17939. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17940. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17941. done; \
  17942. echo "Doing clean in libbacktrace" ; \
  17943. (cd $(HOST_SUBDIR)/libbacktrace && \
  17944. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17945. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17946. "RANLIB=$${RANLIB}" \
  17947. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17948. clean) \
  17949. || exit 1
  17950. @endif libbacktrace
  17951. .PHONY: maybe-distclean-libbacktrace distclean-libbacktrace
  17952. maybe-distclean-libbacktrace:
  17953. @if libbacktrace
  17954. maybe-distclean-libbacktrace: distclean-libbacktrace
  17955. distclean-libbacktrace:
  17956. @[ -f ./libbacktrace/Makefile ] || exit 0; \
  17957. r=`${PWD_COMMAND}`; export r; \
  17958. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17959. $(HOST_EXPORTS) \
  17960. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17961. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17962. done; \
  17963. echo "Doing distclean in libbacktrace" ; \
  17964. (cd $(HOST_SUBDIR)/libbacktrace && \
  17965. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17966. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17967. "RANLIB=$${RANLIB}" \
  17968. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17969. distclean) \
  17970. || exit 1
  17971. @endif libbacktrace
  17972. .PHONY: maybe-maintainer-clean-libbacktrace maintainer-clean-libbacktrace
  17973. maybe-maintainer-clean-libbacktrace:
  17974. @if libbacktrace
  17975. maybe-maintainer-clean-libbacktrace: maintainer-clean-libbacktrace
  17976. maintainer-clean-libbacktrace:
  17977. @[ -f ./libbacktrace/Makefile ] || exit 0; \
  17978. r=`${PWD_COMMAND}`; export r; \
  17979. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  17980. $(HOST_EXPORTS) \
  17981. for flag in $(EXTRA_HOST_FLAGS) ; do \
  17982. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  17983. done; \
  17984. echo "Doing maintainer-clean in libbacktrace" ; \
  17985. (cd $(HOST_SUBDIR)/libbacktrace && \
  17986. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  17987. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  17988. "RANLIB=$${RANLIB}" \
  17989. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  17990. maintainer-clean) \
  17991. || exit 1
  17992. @endif libbacktrace
  17993. .PHONY: configure-libcpp maybe-configure-libcpp
  17994. maybe-configure-libcpp:
  17995. @if gcc-bootstrap
  17996. configure-libcpp: stage_current
  17997. @endif gcc-bootstrap
  17998. @if libcpp
  17999. maybe-configure-libcpp: configure-libcpp
  18000. configure-libcpp:
  18001. @r=`${PWD_COMMAND}`; export r; \
  18002. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18003. test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
  18004. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
  18005. $(HOST_EXPORTS) \
  18006. echo Configuring in $(HOST_SUBDIR)/libcpp; \
  18007. cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
  18008. case $(srcdir) in \
  18009. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  18010. *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
  18011. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  18012. esac; \
  18013. module_srcdir=libcpp; \
  18014. $(SHELL) \
  18015. $$s/$$module_srcdir/configure \
  18016. --srcdir=$${topdir}/$$module_srcdir \
  18017. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  18018. --target=${target_alias} \
  18019. || exit 1
  18020. @endif libcpp
  18021. .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
  18022. maybe-configure-stage1-libcpp:
  18023. @if libcpp-bootstrap
  18024. maybe-configure-stage1-libcpp: configure-stage1-libcpp
  18025. configure-stage1-libcpp:
  18026. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  18027. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
  18028. @r=`${PWD_COMMAND}`; export r; \
  18029. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18030. TFLAGS="$(STAGE1_TFLAGS)"; \
  18031. test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
  18032. $(HOST_EXPORTS) \
  18033. CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
  18034. CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
  18035. LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
  18036. echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
  18037. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
  18038. cd $(HOST_SUBDIR)/libcpp || exit 1; \
  18039. case $(srcdir) in \
  18040. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  18041. *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
  18042. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  18043. esac; \
  18044. module_srcdir=libcpp; \
  18045. $(SHELL) $$s/$$module_srcdir/configure \
  18046. --srcdir=$${topdir}/$$module_srcdir \
  18047. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  18048. --target=${target_alias} \
  18049. \
  18050. $(STAGE1_CONFIGURE_FLAGS)
  18051. @endif libcpp-bootstrap
  18052. .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
  18053. maybe-configure-stage2-libcpp:
  18054. @if libcpp-bootstrap
  18055. maybe-configure-stage2-libcpp: configure-stage2-libcpp
  18056. configure-stage2-libcpp:
  18057. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  18058. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
  18059. @r=`${PWD_COMMAND}`; export r; \
  18060. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18061. TFLAGS="$(STAGE2_TFLAGS)"; \
  18062. test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
  18063. $(HOST_EXPORTS) \
  18064. $(POSTSTAGE1_HOST_EXPORTS) \
  18065. CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
  18066. CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
  18067. LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
  18068. echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
  18069. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
  18070. cd $(HOST_SUBDIR)/libcpp || exit 1; \
  18071. case $(srcdir) in \
  18072. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  18073. *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
  18074. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  18075. esac; \
  18076. module_srcdir=libcpp; \
  18077. $(SHELL) $$s/$$module_srcdir/configure \
  18078. --srcdir=$${topdir}/$$module_srcdir \
  18079. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  18080. --target=${target_alias} \
  18081. --with-build-libsubdir=$(HOST_SUBDIR) \
  18082. $(STAGE2_CONFIGURE_FLAGS)
  18083. @endif libcpp-bootstrap
  18084. .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
  18085. maybe-configure-stage3-libcpp:
  18086. @if libcpp-bootstrap
  18087. maybe-configure-stage3-libcpp: configure-stage3-libcpp
  18088. configure-stage3-libcpp:
  18089. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  18090. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
  18091. @r=`${PWD_COMMAND}`; export r; \
  18092. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18093. TFLAGS="$(STAGE3_TFLAGS)"; \
  18094. test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
  18095. $(HOST_EXPORTS) \
  18096. $(POSTSTAGE1_HOST_EXPORTS) \
  18097. CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
  18098. CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
  18099. LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
  18100. echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
  18101. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
  18102. cd $(HOST_SUBDIR)/libcpp || exit 1; \
  18103. case $(srcdir) in \
  18104. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  18105. *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
  18106. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  18107. esac; \
  18108. module_srcdir=libcpp; \
  18109. $(SHELL) $$s/$$module_srcdir/configure \
  18110. --srcdir=$${topdir}/$$module_srcdir \
  18111. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  18112. --target=${target_alias} \
  18113. --with-build-libsubdir=$(HOST_SUBDIR) \
  18114. $(STAGE3_CONFIGURE_FLAGS)
  18115. @endif libcpp-bootstrap
  18116. .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
  18117. maybe-configure-stage4-libcpp:
  18118. @if libcpp-bootstrap
  18119. maybe-configure-stage4-libcpp: configure-stage4-libcpp
  18120. configure-stage4-libcpp:
  18121. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  18122. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
  18123. @r=`${PWD_COMMAND}`; export r; \
  18124. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18125. TFLAGS="$(STAGE4_TFLAGS)"; \
  18126. test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
  18127. $(HOST_EXPORTS) \
  18128. $(POSTSTAGE1_HOST_EXPORTS) \
  18129. CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
  18130. CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
  18131. LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
  18132. echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
  18133. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
  18134. cd $(HOST_SUBDIR)/libcpp || exit 1; \
  18135. case $(srcdir) in \
  18136. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  18137. *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
  18138. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  18139. esac; \
  18140. module_srcdir=libcpp; \
  18141. $(SHELL) $$s/$$module_srcdir/configure \
  18142. --srcdir=$${topdir}/$$module_srcdir \
  18143. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  18144. --target=${target_alias} \
  18145. --with-build-libsubdir=$(HOST_SUBDIR) \
  18146. $(STAGE4_CONFIGURE_FLAGS)
  18147. @endif libcpp-bootstrap
  18148. .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
  18149. maybe-configure-stageprofile-libcpp:
  18150. @if libcpp-bootstrap
  18151. maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
  18152. configure-stageprofile-libcpp:
  18153. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  18154. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
  18155. @r=`${PWD_COMMAND}`; export r; \
  18156. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18157. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  18158. test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
  18159. $(HOST_EXPORTS) \
  18160. $(POSTSTAGE1_HOST_EXPORTS) \
  18161. CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
  18162. CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
  18163. LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
  18164. echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
  18165. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
  18166. cd $(HOST_SUBDIR)/libcpp || exit 1; \
  18167. case $(srcdir) in \
  18168. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  18169. *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
  18170. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  18171. esac; \
  18172. module_srcdir=libcpp; \
  18173. $(SHELL) $$s/$$module_srcdir/configure \
  18174. --srcdir=$${topdir}/$$module_srcdir \
  18175. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  18176. --target=${target_alias} \
  18177. --with-build-libsubdir=$(HOST_SUBDIR) \
  18178. $(STAGEprofile_CONFIGURE_FLAGS)
  18179. @endif libcpp-bootstrap
  18180. .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
  18181. maybe-configure-stagefeedback-libcpp:
  18182. @if libcpp-bootstrap
  18183. maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
  18184. configure-stagefeedback-libcpp:
  18185. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  18186. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp
  18187. @r=`${PWD_COMMAND}`; export r; \
  18188. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18189. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  18190. test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
  18191. $(HOST_EXPORTS) \
  18192. $(POSTSTAGE1_HOST_EXPORTS) \
  18193. CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
  18194. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
  18195. LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
  18196. echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
  18197. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
  18198. cd $(HOST_SUBDIR)/libcpp || exit 1; \
  18199. case $(srcdir) in \
  18200. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  18201. *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
  18202. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  18203. esac; \
  18204. module_srcdir=libcpp; \
  18205. $(SHELL) $$s/$$module_srcdir/configure \
  18206. --srcdir=$${topdir}/$$module_srcdir \
  18207. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  18208. --target=${target_alias} \
  18209. --with-build-libsubdir=$(HOST_SUBDIR) \
  18210. $(STAGEfeedback_CONFIGURE_FLAGS)
  18211. @endif libcpp-bootstrap
  18212. .PHONY: all-libcpp maybe-all-libcpp
  18213. maybe-all-libcpp:
  18214. @if gcc-bootstrap
  18215. all-libcpp: stage_current
  18216. @endif gcc-bootstrap
  18217. @if libcpp
  18218. TARGET-libcpp=all
  18219. maybe-all-libcpp: all-libcpp
  18220. all-libcpp: configure-libcpp
  18221. @r=`${PWD_COMMAND}`; export r; \
  18222. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18223. $(HOST_EXPORTS) \
  18224. (cd $(HOST_SUBDIR)/libcpp && \
  18225. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  18226. $(TARGET-libcpp))
  18227. @endif libcpp
  18228. .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
  18229. .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
  18230. maybe-all-stage1-libcpp:
  18231. maybe-clean-stage1-libcpp:
  18232. @if libcpp-bootstrap
  18233. maybe-all-stage1-libcpp: all-stage1-libcpp
  18234. all-stage1: all-stage1-libcpp
  18235. TARGET-stage1-libcpp = $(TARGET-libcpp)
  18236. all-stage1-libcpp: configure-stage1-libcpp
  18237. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  18238. @r=`${PWD_COMMAND}`; export r; \
  18239. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18240. TFLAGS="$(STAGE1_TFLAGS)"; \
  18241. $(HOST_EXPORTS) \
  18242. cd $(HOST_SUBDIR)/libcpp && \
  18243. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  18244. CFLAGS="$(STAGE1_CFLAGS)" \
  18245. CXXFLAGS="$(STAGE1_CXXFLAGS)" \
  18246. LIBCFLAGS="$(LIBCFLAGS)" \
  18247. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  18248. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  18249. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  18250. $(EXTRA_HOST_FLAGS) \
  18251. $(STAGE1_FLAGS_TO_PASS) \
  18252. TFLAGS="$(STAGE1_TFLAGS)" \
  18253. $(TARGET-stage1-libcpp)
  18254. maybe-clean-stage1-libcpp: clean-stage1-libcpp
  18255. clean-stage1: clean-stage1-libcpp
  18256. clean-stage1-libcpp:
  18257. @if [ $(current_stage) = stage1 ]; then \
  18258. [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
  18259. else \
  18260. [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] || exit 0; \
  18261. $(MAKE) stage1-start; \
  18262. fi; \
  18263. cd $(HOST_SUBDIR)/libcpp && \
  18264. $(MAKE) $(EXTRA_HOST_FLAGS) \
  18265. $(STAGE1_FLAGS_TO_PASS) clean
  18266. @endif libcpp-bootstrap
  18267. .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
  18268. .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
  18269. maybe-all-stage2-libcpp:
  18270. maybe-clean-stage2-libcpp:
  18271. @if libcpp-bootstrap
  18272. maybe-all-stage2-libcpp: all-stage2-libcpp
  18273. all-stage2: all-stage2-libcpp
  18274. TARGET-stage2-libcpp = $(TARGET-libcpp)
  18275. all-stage2-libcpp: configure-stage2-libcpp
  18276. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  18277. @r=`${PWD_COMMAND}`; export r; \
  18278. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18279. TFLAGS="$(STAGE2_TFLAGS)"; \
  18280. $(HOST_EXPORTS) \
  18281. $(POSTSTAGE1_HOST_EXPORTS) \
  18282. cd $(HOST_SUBDIR)/libcpp && \
  18283. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  18284. CFLAGS="$(STAGE2_CFLAGS)" \
  18285. CXXFLAGS="$(STAGE2_CXXFLAGS)" \
  18286. LIBCFLAGS="$(STAGE2_CFLAGS)" \
  18287. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  18288. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  18289. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  18290. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  18291. TFLAGS="$(STAGE2_TFLAGS)" \
  18292. $(TARGET-stage2-libcpp)
  18293. maybe-clean-stage2-libcpp: clean-stage2-libcpp
  18294. clean-stage2: clean-stage2-libcpp
  18295. clean-stage2-libcpp:
  18296. @if [ $(current_stage) = stage2 ]; then \
  18297. [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
  18298. else \
  18299. [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] || exit 0; \
  18300. $(MAKE) stage2-start; \
  18301. fi; \
  18302. cd $(HOST_SUBDIR)/libcpp && \
  18303. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  18304. @endif libcpp-bootstrap
  18305. .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
  18306. .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
  18307. maybe-all-stage3-libcpp:
  18308. maybe-clean-stage3-libcpp:
  18309. @if libcpp-bootstrap
  18310. maybe-all-stage3-libcpp: all-stage3-libcpp
  18311. all-stage3: all-stage3-libcpp
  18312. TARGET-stage3-libcpp = $(TARGET-libcpp)
  18313. all-stage3-libcpp: configure-stage3-libcpp
  18314. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  18315. @r=`${PWD_COMMAND}`; export r; \
  18316. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18317. TFLAGS="$(STAGE3_TFLAGS)"; \
  18318. $(HOST_EXPORTS) \
  18319. $(POSTSTAGE1_HOST_EXPORTS) \
  18320. cd $(HOST_SUBDIR)/libcpp && \
  18321. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  18322. CFLAGS="$(STAGE3_CFLAGS)" \
  18323. CXXFLAGS="$(STAGE3_CXXFLAGS)" \
  18324. LIBCFLAGS="$(STAGE3_CFLAGS)" \
  18325. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  18326. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  18327. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  18328. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  18329. TFLAGS="$(STAGE3_TFLAGS)" \
  18330. $(TARGET-stage3-libcpp)
  18331. maybe-clean-stage3-libcpp: clean-stage3-libcpp
  18332. clean-stage3: clean-stage3-libcpp
  18333. clean-stage3-libcpp:
  18334. @if [ $(current_stage) = stage3 ]; then \
  18335. [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
  18336. else \
  18337. [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] || exit 0; \
  18338. $(MAKE) stage3-start; \
  18339. fi; \
  18340. cd $(HOST_SUBDIR)/libcpp && \
  18341. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  18342. @endif libcpp-bootstrap
  18343. .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
  18344. .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
  18345. maybe-all-stage4-libcpp:
  18346. maybe-clean-stage4-libcpp:
  18347. @if libcpp-bootstrap
  18348. maybe-all-stage4-libcpp: all-stage4-libcpp
  18349. all-stage4: all-stage4-libcpp
  18350. TARGET-stage4-libcpp = $(TARGET-libcpp)
  18351. all-stage4-libcpp: configure-stage4-libcpp
  18352. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  18353. @r=`${PWD_COMMAND}`; export r; \
  18354. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18355. TFLAGS="$(STAGE4_TFLAGS)"; \
  18356. $(HOST_EXPORTS) \
  18357. $(POSTSTAGE1_HOST_EXPORTS) \
  18358. cd $(HOST_SUBDIR)/libcpp && \
  18359. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  18360. CFLAGS="$(STAGE4_CFLAGS)" \
  18361. CXXFLAGS="$(STAGE4_CXXFLAGS)" \
  18362. LIBCFLAGS="$(STAGE4_CFLAGS)" \
  18363. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  18364. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  18365. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  18366. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  18367. TFLAGS="$(STAGE4_TFLAGS)" \
  18368. $(TARGET-stage4-libcpp)
  18369. maybe-clean-stage4-libcpp: clean-stage4-libcpp
  18370. clean-stage4: clean-stage4-libcpp
  18371. clean-stage4-libcpp:
  18372. @if [ $(current_stage) = stage4 ]; then \
  18373. [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
  18374. else \
  18375. [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] || exit 0; \
  18376. $(MAKE) stage4-start; \
  18377. fi; \
  18378. cd $(HOST_SUBDIR)/libcpp && \
  18379. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  18380. @endif libcpp-bootstrap
  18381. .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
  18382. .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
  18383. maybe-all-stageprofile-libcpp:
  18384. maybe-clean-stageprofile-libcpp:
  18385. @if libcpp-bootstrap
  18386. maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
  18387. all-stageprofile: all-stageprofile-libcpp
  18388. TARGET-stageprofile-libcpp = $(TARGET-libcpp)
  18389. all-stageprofile-libcpp: configure-stageprofile-libcpp
  18390. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  18391. @r=`${PWD_COMMAND}`; export r; \
  18392. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18393. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  18394. $(HOST_EXPORTS) \
  18395. $(POSTSTAGE1_HOST_EXPORTS) \
  18396. cd $(HOST_SUBDIR)/libcpp && \
  18397. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  18398. CFLAGS="$(STAGEprofile_CFLAGS)" \
  18399. CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
  18400. LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
  18401. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  18402. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  18403. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  18404. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  18405. TFLAGS="$(STAGEprofile_TFLAGS)" \
  18406. $(TARGET-stageprofile-libcpp)
  18407. maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
  18408. clean-stageprofile: clean-stageprofile-libcpp
  18409. clean-stageprofile-libcpp:
  18410. @if [ $(current_stage) = stageprofile ]; then \
  18411. [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
  18412. else \
  18413. [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] || exit 0; \
  18414. $(MAKE) stageprofile-start; \
  18415. fi; \
  18416. cd $(HOST_SUBDIR)/libcpp && \
  18417. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  18418. @endif libcpp-bootstrap
  18419. .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
  18420. .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
  18421. maybe-all-stagefeedback-libcpp:
  18422. maybe-clean-stagefeedback-libcpp:
  18423. @if libcpp-bootstrap
  18424. maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
  18425. all-stagefeedback: all-stagefeedback-libcpp
  18426. TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
  18427. all-stagefeedback-libcpp: configure-stagefeedback-libcpp
  18428. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  18429. @r=`${PWD_COMMAND}`; export r; \
  18430. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18431. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  18432. $(HOST_EXPORTS) \
  18433. $(POSTSTAGE1_HOST_EXPORTS) \
  18434. cd $(HOST_SUBDIR)/libcpp && \
  18435. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  18436. CFLAGS="$(STAGEfeedback_CFLAGS)" \
  18437. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
  18438. LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
  18439. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  18440. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  18441. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  18442. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  18443. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  18444. $(TARGET-stagefeedback-libcpp)
  18445. maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
  18446. clean-stagefeedback: clean-stagefeedback-libcpp
  18447. clean-stagefeedback-libcpp:
  18448. @if [ $(current_stage) = stagefeedback ]; then \
  18449. [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || exit 0; \
  18450. else \
  18451. [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] || exit 0; \
  18452. $(MAKE) stagefeedback-start; \
  18453. fi; \
  18454. cd $(HOST_SUBDIR)/libcpp && \
  18455. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  18456. @endif libcpp-bootstrap
  18457. .PHONY: check-libcpp maybe-check-libcpp
  18458. maybe-check-libcpp:
  18459. @if libcpp
  18460. maybe-check-libcpp: check-libcpp
  18461. check-libcpp:
  18462. @: $(MAKE); $(unstage)
  18463. @r=`${PWD_COMMAND}`; export r; \
  18464. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18465. $(HOST_EXPORTS) \
  18466. (cd $(HOST_SUBDIR)/libcpp && \
  18467. $(MAKE) $(FLAGS_TO_PASS) check)
  18468. @endif libcpp
  18469. .PHONY: install-libcpp maybe-install-libcpp
  18470. maybe-install-libcpp:
  18471. @if libcpp
  18472. maybe-install-libcpp: install-libcpp
  18473. install-libcpp: installdirs
  18474. @: $(MAKE); $(unstage)
  18475. @r=`${PWD_COMMAND}`; export r; \
  18476. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18477. $(HOST_EXPORTS) \
  18478. (cd $(HOST_SUBDIR)/libcpp && \
  18479. $(MAKE) $(FLAGS_TO_PASS) install)
  18480. @endif libcpp
  18481. .PHONY: install-strip-libcpp maybe-install-strip-libcpp
  18482. maybe-install-strip-libcpp:
  18483. @if libcpp
  18484. maybe-install-strip-libcpp: install-strip-libcpp
  18485. install-strip-libcpp: installdirs
  18486. @: $(MAKE); $(unstage)
  18487. @r=`${PWD_COMMAND}`; export r; \
  18488. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18489. $(HOST_EXPORTS) \
  18490. (cd $(HOST_SUBDIR)/libcpp && \
  18491. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  18492. @endif libcpp
  18493. # Other targets (info, dvi, pdf, etc.)
  18494. .PHONY: maybe-info-libcpp info-libcpp
  18495. maybe-info-libcpp:
  18496. @if libcpp
  18497. maybe-info-libcpp: info-libcpp
  18498. info-libcpp: \
  18499. configure-libcpp
  18500. @[ -f ./libcpp/Makefile ] || exit 0; \
  18501. r=`${PWD_COMMAND}`; export r; \
  18502. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18503. $(HOST_EXPORTS) \
  18504. for flag in $(EXTRA_HOST_FLAGS) ; do \
  18505. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  18506. done; \
  18507. echo "Doing info in libcpp" ; \
  18508. (cd $(HOST_SUBDIR)/libcpp && \
  18509. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  18510. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  18511. "RANLIB=$${RANLIB}" \
  18512. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  18513. info) \
  18514. || exit 1
  18515. @endif libcpp
  18516. .PHONY: maybe-dvi-libcpp dvi-libcpp
  18517. maybe-dvi-libcpp:
  18518. @if libcpp
  18519. maybe-dvi-libcpp: dvi-libcpp
  18520. dvi-libcpp: \
  18521. configure-libcpp
  18522. @[ -f ./libcpp/Makefile ] || exit 0; \
  18523. r=`${PWD_COMMAND}`; export r; \
  18524. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18525. $(HOST_EXPORTS) \
  18526. for flag in $(EXTRA_HOST_FLAGS) ; do \
  18527. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  18528. done; \
  18529. echo "Doing dvi in libcpp" ; \
  18530. (cd $(HOST_SUBDIR)/libcpp && \
  18531. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  18532. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  18533. "RANLIB=$${RANLIB}" \
  18534. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  18535. dvi) \
  18536. || exit 1
  18537. @endif libcpp
  18538. .PHONY: maybe-pdf-libcpp pdf-libcpp
  18539. maybe-pdf-libcpp:
  18540. @if libcpp
  18541. maybe-pdf-libcpp: pdf-libcpp
  18542. pdf-libcpp: \
  18543. configure-libcpp
  18544. @[ -f ./libcpp/Makefile ] || exit 0; \
  18545. r=`${PWD_COMMAND}`; export r; \
  18546. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18547. $(HOST_EXPORTS) \
  18548. for flag in $(EXTRA_HOST_FLAGS) ; do \
  18549. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  18550. done; \
  18551. echo "Doing pdf in libcpp" ; \
  18552. (cd $(HOST_SUBDIR)/libcpp && \
  18553. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  18554. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  18555. "RANLIB=$${RANLIB}" \
  18556. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  18557. pdf) \
  18558. || exit 1
  18559. @endif libcpp
  18560. .PHONY: maybe-html-libcpp html-libcpp
  18561. maybe-html-libcpp:
  18562. @if libcpp
  18563. maybe-html-libcpp: html-libcpp
  18564. html-libcpp: \
  18565. configure-libcpp
  18566. @[ -f ./libcpp/Makefile ] || exit 0; \
  18567. r=`${PWD_COMMAND}`; export r; \
  18568. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18569. $(HOST_EXPORTS) \
  18570. for flag in $(EXTRA_HOST_FLAGS) ; do \
  18571. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  18572. done; \
  18573. echo "Doing html in libcpp" ; \
  18574. (cd $(HOST_SUBDIR)/libcpp && \
  18575. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  18576. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  18577. "RANLIB=$${RANLIB}" \
  18578. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  18579. html) \
  18580. || exit 1
  18581. @endif libcpp
  18582. .PHONY: maybe-TAGS-libcpp TAGS-libcpp
  18583. maybe-TAGS-libcpp:
  18584. @if libcpp
  18585. maybe-TAGS-libcpp: TAGS-libcpp
  18586. TAGS-libcpp: \
  18587. configure-libcpp
  18588. @[ -f ./libcpp/Makefile ] || exit 0; \
  18589. r=`${PWD_COMMAND}`; export r; \
  18590. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18591. $(HOST_EXPORTS) \
  18592. for flag in $(EXTRA_HOST_FLAGS) ; do \
  18593. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  18594. done; \
  18595. echo "Doing TAGS in libcpp" ; \
  18596. (cd $(HOST_SUBDIR)/libcpp && \
  18597. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  18598. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  18599. "RANLIB=$${RANLIB}" \
  18600. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  18601. TAGS) \
  18602. || exit 1
  18603. @endif libcpp
  18604. .PHONY: maybe-install-info-libcpp install-info-libcpp
  18605. maybe-install-info-libcpp:
  18606. @if libcpp
  18607. maybe-install-info-libcpp: install-info-libcpp
  18608. install-info-libcpp: \
  18609. configure-libcpp \
  18610. info-libcpp
  18611. @[ -f ./libcpp/Makefile ] || exit 0; \
  18612. r=`${PWD_COMMAND}`; export r; \
  18613. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18614. $(HOST_EXPORTS) \
  18615. for flag in $(EXTRA_HOST_FLAGS) ; do \
  18616. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  18617. done; \
  18618. echo "Doing install-info in libcpp" ; \
  18619. (cd $(HOST_SUBDIR)/libcpp && \
  18620. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  18621. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  18622. "RANLIB=$${RANLIB}" \
  18623. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  18624. install-info) \
  18625. || exit 1
  18626. @endif libcpp
  18627. .PHONY: maybe-install-pdf-libcpp install-pdf-libcpp
  18628. maybe-install-pdf-libcpp:
  18629. @if libcpp
  18630. maybe-install-pdf-libcpp: install-pdf-libcpp
  18631. install-pdf-libcpp: \
  18632. configure-libcpp \
  18633. pdf-libcpp
  18634. @[ -f ./libcpp/Makefile ] || exit 0; \
  18635. r=`${PWD_COMMAND}`; export r; \
  18636. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18637. $(HOST_EXPORTS) \
  18638. for flag in $(EXTRA_HOST_FLAGS) ; do \
  18639. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  18640. done; \
  18641. echo "Doing install-pdf in libcpp" ; \
  18642. (cd $(HOST_SUBDIR)/libcpp && \
  18643. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  18644. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  18645. "RANLIB=$${RANLIB}" \
  18646. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  18647. install-pdf) \
  18648. || exit 1
  18649. @endif libcpp
  18650. .PHONY: maybe-install-html-libcpp install-html-libcpp
  18651. maybe-install-html-libcpp:
  18652. @if libcpp
  18653. maybe-install-html-libcpp: install-html-libcpp
  18654. install-html-libcpp: \
  18655. configure-libcpp \
  18656. html-libcpp
  18657. @[ -f ./libcpp/Makefile ] || exit 0; \
  18658. r=`${PWD_COMMAND}`; export r; \
  18659. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18660. $(HOST_EXPORTS) \
  18661. for flag in $(EXTRA_HOST_FLAGS) ; do \
  18662. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  18663. done; \
  18664. echo "Doing install-html in libcpp" ; \
  18665. (cd $(HOST_SUBDIR)/libcpp && \
  18666. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  18667. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  18668. "RANLIB=$${RANLIB}" \
  18669. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  18670. install-html) \
  18671. || exit 1
  18672. @endif libcpp
  18673. .PHONY: maybe-installcheck-libcpp installcheck-libcpp
  18674. maybe-installcheck-libcpp:
  18675. @if libcpp
  18676. maybe-installcheck-libcpp: installcheck-libcpp
  18677. installcheck-libcpp: \
  18678. configure-libcpp
  18679. @[ -f ./libcpp/Makefile ] || exit 0; \
  18680. r=`${PWD_COMMAND}`; export r; \
  18681. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18682. $(HOST_EXPORTS) \
  18683. for flag in $(EXTRA_HOST_FLAGS) ; do \
  18684. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  18685. done; \
  18686. echo "Doing installcheck in libcpp" ; \
  18687. (cd $(HOST_SUBDIR)/libcpp && \
  18688. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  18689. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  18690. "RANLIB=$${RANLIB}" \
  18691. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  18692. installcheck) \
  18693. || exit 1
  18694. @endif libcpp
  18695. .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
  18696. maybe-mostlyclean-libcpp:
  18697. @if libcpp
  18698. maybe-mostlyclean-libcpp: mostlyclean-libcpp
  18699. mostlyclean-libcpp:
  18700. @[ -f ./libcpp/Makefile ] || exit 0; \
  18701. r=`${PWD_COMMAND}`; export r; \
  18702. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18703. $(HOST_EXPORTS) \
  18704. for flag in $(EXTRA_HOST_FLAGS) ; do \
  18705. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  18706. done; \
  18707. echo "Doing mostlyclean in libcpp" ; \
  18708. (cd $(HOST_SUBDIR)/libcpp && \
  18709. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  18710. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  18711. "RANLIB=$${RANLIB}" \
  18712. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  18713. mostlyclean) \
  18714. || exit 1
  18715. @endif libcpp
  18716. .PHONY: maybe-clean-libcpp clean-libcpp
  18717. maybe-clean-libcpp:
  18718. @if libcpp
  18719. maybe-clean-libcpp: clean-libcpp
  18720. clean-libcpp:
  18721. @[ -f ./libcpp/Makefile ] || exit 0; \
  18722. r=`${PWD_COMMAND}`; export r; \
  18723. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18724. $(HOST_EXPORTS) \
  18725. for flag in $(EXTRA_HOST_FLAGS) ; do \
  18726. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  18727. done; \
  18728. echo "Doing clean in libcpp" ; \
  18729. (cd $(HOST_SUBDIR)/libcpp && \
  18730. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  18731. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  18732. "RANLIB=$${RANLIB}" \
  18733. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  18734. clean) \
  18735. || exit 1
  18736. @endif libcpp
  18737. .PHONY: maybe-distclean-libcpp distclean-libcpp
  18738. maybe-distclean-libcpp:
  18739. @if libcpp
  18740. maybe-distclean-libcpp: distclean-libcpp
  18741. distclean-libcpp:
  18742. @[ -f ./libcpp/Makefile ] || exit 0; \
  18743. r=`${PWD_COMMAND}`; export r; \
  18744. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18745. $(HOST_EXPORTS) \
  18746. for flag in $(EXTRA_HOST_FLAGS) ; do \
  18747. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  18748. done; \
  18749. echo "Doing distclean in libcpp" ; \
  18750. (cd $(HOST_SUBDIR)/libcpp && \
  18751. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  18752. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  18753. "RANLIB=$${RANLIB}" \
  18754. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  18755. distclean) \
  18756. || exit 1
  18757. @endif libcpp
  18758. .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
  18759. maybe-maintainer-clean-libcpp:
  18760. @if libcpp
  18761. maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
  18762. maintainer-clean-libcpp:
  18763. @[ -f ./libcpp/Makefile ] || exit 0; \
  18764. r=`${PWD_COMMAND}`; export r; \
  18765. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18766. $(HOST_EXPORTS) \
  18767. for flag in $(EXTRA_HOST_FLAGS) ; do \
  18768. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  18769. done; \
  18770. echo "Doing maintainer-clean in libcpp" ; \
  18771. (cd $(HOST_SUBDIR)/libcpp && \
  18772. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  18773. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  18774. "RANLIB=$${RANLIB}" \
  18775. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  18776. maintainer-clean) \
  18777. || exit 1
  18778. @endif libcpp
  18779. .PHONY: configure-libdecnumber maybe-configure-libdecnumber
  18780. maybe-configure-libdecnumber:
  18781. @if gcc-bootstrap
  18782. configure-libdecnumber: stage_current
  18783. @endif gcc-bootstrap
  18784. @if libdecnumber
  18785. maybe-configure-libdecnumber: configure-libdecnumber
  18786. configure-libdecnumber:
  18787. @r=`${PWD_COMMAND}`; export r; \
  18788. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18789. test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
  18790. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
  18791. $(HOST_EXPORTS) \
  18792. echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
  18793. cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
  18794. case $(srcdir) in \
  18795. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  18796. *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
  18797. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  18798. esac; \
  18799. module_srcdir=libdecnumber; \
  18800. $(SHELL) \
  18801. $$s/$$module_srcdir/configure \
  18802. --srcdir=$${topdir}/$$module_srcdir \
  18803. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  18804. --target=${target_alias} \
  18805. || exit 1
  18806. @endif libdecnumber
  18807. .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
  18808. maybe-configure-stage1-libdecnumber:
  18809. @if libdecnumber-bootstrap
  18810. maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
  18811. configure-stage1-libdecnumber:
  18812. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  18813. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
  18814. @r=`${PWD_COMMAND}`; export r; \
  18815. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18816. TFLAGS="$(STAGE1_TFLAGS)"; \
  18817. test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
  18818. $(HOST_EXPORTS) \
  18819. CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
  18820. CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
  18821. LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
  18822. echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
  18823. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
  18824. cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
  18825. case $(srcdir) in \
  18826. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  18827. *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
  18828. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  18829. esac; \
  18830. module_srcdir=libdecnumber; \
  18831. $(SHELL) $$s/$$module_srcdir/configure \
  18832. --srcdir=$${topdir}/$$module_srcdir \
  18833. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  18834. --target=${target_alias} \
  18835. \
  18836. $(STAGE1_CONFIGURE_FLAGS)
  18837. @endif libdecnumber-bootstrap
  18838. .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
  18839. maybe-configure-stage2-libdecnumber:
  18840. @if libdecnumber-bootstrap
  18841. maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
  18842. configure-stage2-libdecnumber:
  18843. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  18844. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
  18845. @r=`${PWD_COMMAND}`; export r; \
  18846. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18847. TFLAGS="$(STAGE2_TFLAGS)"; \
  18848. test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
  18849. $(HOST_EXPORTS) \
  18850. $(POSTSTAGE1_HOST_EXPORTS) \
  18851. CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
  18852. CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
  18853. LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
  18854. echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
  18855. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
  18856. cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
  18857. case $(srcdir) in \
  18858. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  18859. *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
  18860. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  18861. esac; \
  18862. module_srcdir=libdecnumber; \
  18863. $(SHELL) $$s/$$module_srcdir/configure \
  18864. --srcdir=$${topdir}/$$module_srcdir \
  18865. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  18866. --target=${target_alias} \
  18867. --with-build-libsubdir=$(HOST_SUBDIR) \
  18868. $(STAGE2_CONFIGURE_FLAGS)
  18869. @endif libdecnumber-bootstrap
  18870. .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
  18871. maybe-configure-stage3-libdecnumber:
  18872. @if libdecnumber-bootstrap
  18873. maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
  18874. configure-stage3-libdecnumber:
  18875. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  18876. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
  18877. @r=`${PWD_COMMAND}`; export r; \
  18878. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18879. TFLAGS="$(STAGE3_TFLAGS)"; \
  18880. test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
  18881. $(HOST_EXPORTS) \
  18882. $(POSTSTAGE1_HOST_EXPORTS) \
  18883. CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
  18884. CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
  18885. LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
  18886. echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
  18887. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
  18888. cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
  18889. case $(srcdir) in \
  18890. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  18891. *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
  18892. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  18893. esac; \
  18894. module_srcdir=libdecnumber; \
  18895. $(SHELL) $$s/$$module_srcdir/configure \
  18896. --srcdir=$${topdir}/$$module_srcdir \
  18897. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  18898. --target=${target_alias} \
  18899. --with-build-libsubdir=$(HOST_SUBDIR) \
  18900. $(STAGE3_CONFIGURE_FLAGS)
  18901. @endif libdecnumber-bootstrap
  18902. .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
  18903. maybe-configure-stage4-libdecnumber:
  18904. @if libdecnumber-bootstrap
  18905. maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
  18906. configure-stage4-libdecnumber:
  18907. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  18908. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
  18909. @r=`${PWD_COMMAND}`; export r; \
  18910. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18911. TFLAGS="$(STAGE4_TFLAGS)"; \
  18912. test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
  18913. $(HOST_EXPORTS) \
  18914. $(POSTSTAGE1_HOST_EXPORTS) \
  18915. CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
  18916. CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
  18917. LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
  18918. echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
  18919. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
  18920. cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
  18921. case $(srcdir) in \
  18922. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  18923. *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
  18924. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  18925. esac; \
  18926. module_srcdir=libdecnumber; \
  18927. $(SHELL) $$s/$$module_srcdir/configure \
  18928. --srcdir=$${topdir}/$$module_srcdir \
  18929. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  18930. --target=${target_alias} \
  18931. --with-build-libsubdir=$(HOST_SUBDIR) \
  18932. $(STAGE4_CONFIGURE_FLAGS)
  18933. @endif libdecnumber-bootstrap
  18934. .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
  18935. maybe-configure-stageprofile-libdecnumber:
  18936. @if libdecnumber-bootstrap
  18937. maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
  18938. configure-stageprofile-libdecnumber:
  18939. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  18940. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
  18941. @r=`${PWD_COMMAND}`; export r; \
  18942. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18943. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  18944. test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
  18945. $(HOST_EXPORTS) \
  18946. $(POSTSTAGE1_HOST_EXPORTS) \
  18947. CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
  18948. CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
  18949. LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
  18950. echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
  18951. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
  18952. cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
  18953. case $(srcdir) in \
  18954. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  18955. *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
  18956. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  18957. esac; \
  18958. module_srcdir=libdecnumber; \
  18959. $(SHELL) $$s/$$module_srcdir/configure \
  18960. --srcdir=$${topdir}/$$module_srcdir \
  18961. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  18962. --target=${target_alias} \
  18963. --with-build-libsubdir=$(HOST_SUBDIR) \
  18964. $(STAGEprofile_CONFIGURE_FLAGS)
  18965. @endif libdecnumber-bootstrap
  18966. .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
  18967. maybe-configure-stagefeedback-libdecnumber:
  18968. @if libdecnumber-bootstrap
  18969. maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
  18970. configure-stagefeedback-libdecnumber:
  18971. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  18972. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber
  18973. @r=`${PWD_COMMAND}`; export r; \
  18974. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  18975. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  18976. test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
  18977. $(HOST_EXPORTS) \
  18978. $(POSTSTAGE1_HOST_EXPORTS) \
  18979. CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
  18980. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
  18981. LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
  18982. echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
  18983. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
  18984. cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
  18985. case $(srcdir) in \
  18986. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  18987. *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
  18988. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  18989. esac; \
  18990. module_srcdir=libdecnumber; \
  18991. $(SHELL) $$s/$$module_srcdir/configure \
  18992. --srcdir=$${topdir}/$$module_srcdir \
  18993. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  18994. --target=${target_alias} \
  18995. --with-build-libsubdir=$(HOST_SUBDIR) \
  18996. $(STAGEfeedback_CONFIGURE_FLAGS)
  18997. @endif libdecnumber-bootstrap
  18998. .PHONY: all-libdecnumber maybe-all-libdecnumber
  18999. maybe-all-libdecnumber:
  19000. @if gcc-bootstrap
  19001. all-libdecnumber: stage_current
  19002. @endif gcc-bootstrap
  19003. @if libdecnumber
  19004. TARGET-libdecnumber=all
  19005. maybe-all-libdecnumber: all-libdecnumber
  19006. all-libdecnumber: configure-libdecnumber
  19007. @r=`${PWD_COMMAND}`; export r; \
  19008. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19009. $(HOST_EXPORTS) \
  19010. (cd $(HOST_SUBDIR)/libdecnumber && \
  19011. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  19012. $(TARGET-libdecnumber))
  19013. @endif libdecnumber
  19014. .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
  19015. .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
  19016. maybe-all-stage1-libdecnumber:
  19017. maybe-clean-stage1-libdecnumber:
  19018. @if libdecnumber-bootstrap
  19019. maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
  19020. all-stage1: all-stage1-libdecnumber
  19021. TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
  19022. all-stage1-libdecnumber: configure-stage1-libdecnumber
  19023. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  19024. @r=`${PWD_COMMAND}`; export r; \
  19025. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19026. TFLAGS="$(STAGE1_TFLAGS)"; \
  19027. $(HOST_EXPORTS) \
  19028. cd $(HOST_SUBDIR)/libdecnumber && \
  19029. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  19030. CFLAGS="$(STAGE1_CFLAGS)" \
  19031. CXXFLAGS="$(STAGE1_CXXFLAGS)" \
  19032. LIBCFLAGS="$(LIBCFLAGS)" \
  19033. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  19034. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  19035. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  19036. $(EXTRA_HOST_FLAGS) \
  19037. $(STAGE1_FLAGS_TO_PASS) \
  19038. TFLAGS="$(STAGE1_TFLAGS)" \
  19039. $(TARGET-stage1-libdecnumber)
  19040. maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
  19041. clean-stage1: clean-stage1-libdecnumber
  19042. clean-stage1-libdecnumber:
  19043. @if [ $(current_stage) = stage1 ]; then \
  19044. [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
  19045. else \
  19046. [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] || exit 0; \
  19047. $(MAKE) stage1-start; \
  19048. fi; \
  19049. cd $(HOST_SUBDIR)/libdecnumber && \
  19050. $(MAKE) $(EXTRA_HOST_FLAGS) \
  19051. $(STAGE1_FLAGS_TO_PASS) clean
  19052. @endif libdecnumber-bootstrap
  19053. .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
  19054. .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
  19055. maybe-all-stage2-libdecnumber:
  19056. maybe-clean-stage2-libdecnumber:
  19057. @if libdecnumber-bootstrap
  19058. maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
  19059. all-stage2: all-stage2-libdecnumber
  19060. TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
  19061. all-stage2-libdecnumber: configure-stage2-libdecnumber
  19062. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  19063. @r=`${PWD_COMMAND}`; export r; \
  19064. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19065. TFLAGS="$(STAGE2_TFLAGS)"; \
  19066. $(HOST_EXPORTS) \
  19067. $(POSTSTAGE1_HOST_EXPORTS) \
  19068. cd $(HOST_SUBDIR)/libdecnumber && \
  19069. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  19070. CFLAGS="$(STAGE2_CFLAGS)" \
  19071. CXXFLAGS="$(STAGE2_CXXFLAGS)" \
  19072. LIBCFLAGS="$(STAGE2_CFLAGS)" \
  19073. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  19074. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  19075. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  19076. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  19077. TFLAGS="$(STAGE2_TFLAGS)" \
  19078. $(TARGET-stage2-libdecnumber)
  19079. maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
  19080. clean-stage2: clean-stage2-libdecnumber
  19081. clean-stage2-libdecnumber:
  19082. @if [ $(current_stage) = stage2 ]; then \
  19083. [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
  19084. else \
  19085. [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] || exit 0; \
  19086. $(MAKE) stage2-start; \
  19087. fi; \
  19088. cd $(HOST_SUBDIR)/libdecnumber && \
  19089. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  19090. @endif libdecnumber-bootstrap
  19091. .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
  19092. .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
  19093. maybe-all-stage3-libdecnumber:
  19094. maybe-clean-stage3-libdecnumber:
  19095. @if libdecnumber-bootstrap
  19096. maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
  19097. all-stage3: all-stage3-libdecnumber
  19098. TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
  19099. all-stage3-libdecnumber: configure-stage3-libdecnumber
  19100. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  19101. @r=`${PWD_COMMAND}`; export r; \
  19102. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19103. TFLAGS="$(STAGE3_TFLAGS)"; \
  19104. $(HOST_EXPORTS) \
  19105. $(POSTSTAGE1_HOST_EXPORTS) \
  19106. cd $(HOST_SUBDIR)/libdecnumber && \
  19107. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  19108. CFLAGS="$(STAGE3_CFLAGS)" \
  19109. CXXFLAGS="$(STAGE3_CXXFLAGS)" \
  19110. LIBCFLAGS="$(STAGE3_CFLAGS)" \
  19111. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  19112. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  19113. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  19114. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  19115. TFLAGS="$(STAGE3_TFLAGS)" \
  19116. $(TARGET-stage3-libdecnumber)
  19117. maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
  19118. clean-stage3: clean-stage3-libdecnumber
  19119. clean-stage3-libdecnumber:
  19120. @if [ $(current_stage) = stage3 ]; then \
  19121. [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
  19122. else \
  19123. [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] || exit 0; \
  19124. $(MAKE) stage3-start; \
  19125. fi; \
  19126. cd $(HOST_SUBDIR)/libdecnumber && \
  19127. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  19128. @endif libdecnumber-bootstrap
  19129. .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
  19130. .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
  19131. maybe-all-stage4-libdecnumber:
  19132. maybe-clean-stage4-libdecnumber:
  19133. @if libdecnumber-bootstrap
  19134. maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
  19135. all-stage4: all-stage4-libdecnumber
  19136. TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
  19137. all-stage4-libdecnumber: configure-stage4-libdecnumber
  19138. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  19139. @r=`${PWD_COMMAND}`; export r; \
  19140. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19141. TFLAGS="$(STAGE4_TFLAGS)"; \
  19142. $(HOST_EXPORTS) \
  19143. $(POSTSTAGE1_HOST_EXPORTS) \
  19144. cd $(HOST_SUBDIR)/libdecnumber && \
  19145. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  19146. CFLAGS="$(STAGE4_CFLAGS)" \
  19147. CXXFLAGS="$(STAGE4_CXXFLAGS)" \
  19148. LIBCFLAGS="$(STAGE4_CFLAGS)" \
  19149. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  19150. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  19151. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  19152. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  19153. TFLAGS="$(STAGE4_TFLAGS)" \
  19154. $(TARGET-stage4-libdecnumber)
  19155. maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
  19156. clean-stage4: clean-stage4-libdecnumber
  19157. clean-stage4-libdecnumber:
  19158. @if [ $(current_stage) = stage4 ]; then \
  19159. [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
  19160. else \
  19161. [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] || exit 0; \
  19162. $(MAKE) stage4-start; \
  19163. fi; \
  19164. cd $(HOST_SUBDIR)/libdecnumber && \
  19165. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  19166. @endif libdecnumber-bootstrap
  19167. .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
  19168. .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
  19169. maybe-all-stageprofile-libdecnumber:
  19170. maybe-clean-stageprofile-libdecnumber:
  19171. @if libdecnumber-bootstrap
  19172. maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
  19173. all-stageprofile: all-stageprofile-libdecnumber
  19174. TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
  19175. all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
  19176. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  19177. @r=`${PWD_COMMAND}`; export r; \
  19178. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19179. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  19180. $(HOST_EXPORTS) \
  19181. $(POSTSTAGE1_HOST_EXPORTS) \
  19182. cd $(HOST_SUBDIR)/libdecnumber && \
  19183. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  19184. CFLAGS="$(STAGEprofile_CFLAGS)" \
  19185. CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
  19186. LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
  19187. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  19188. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  19189. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  19190. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  19191. TFLAGS="$(STAGEprofile_TFLAGS)" \
  19192. $(TARGET-stageprofile-libdecnumber)
  19193. maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
  19194. clean-stageprofile: clean-stageprofile-libdecnumber
  19195. clean-stageprofile-libdecnumber:
  19196. @if [ $(current_stage) = stageprofile ]; then \
  19197. [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
  19198. else \
  19199. [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] || exit 0; \
  19200. $(MAKE) stageprofile-start; \
  19201. fi; \
  19202. cd $(HOST_SUBDIR)/libdecnumber && \
  19203. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  19204. @endif libdecnumber-bootstrap
  19205. .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
  19206. .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
  19207. maybe-all-stagefeedback-libdecnumber:
  19208. maybe-clean-stagefeedback-libdecnumber:
  19209. @if libdecnumber-bootstrap
  19210. maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
  19211. all-stagefeedback: all-stagefeedback-libdecnumber
  19212. TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
  19213. all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
  19214. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  19215. @r=`${PWD_COMMAND}`; export r; \
  19216. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19217. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  19218. $(HOST_EXPORTS) \
  19219. $(POSTSTAGE1_HOST_EXPORTS) \
  19220. cd $(HOST_SUBDIR)/libdecnumber && \
  19221. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  19222. CFLAGS="$(STAGEfeedback_CFLAGS)" \
  19223. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
  19224. LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
  19225. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  19226. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  19227. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  19228. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  19229. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  19230. $(TARGET-stagefeedback-libdecnumber)
  19231. maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
  19232. clean-stagefeedback: clean-stagefeedback-libdecnumber
  19233. clean-stagefeedback-libdecnumber:
  19234. @if [ $(current_stage) = stagefeedback ]; then \
  19235. [ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || exit 0; \
  19236. else \
  19237. [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] || exit 0; \
  19238. $(MAKE) stagefeedback-start; \
  19239. fi; \
  19240. cd $(HOST_SUBDIR)/libdecnumber && \
  19241. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  19242. @endif libdecnumber-bootstrap
  19243. .PHONY: check-libdecnumber maybe-check-libdecnumber
  19244. maybe-check-libdecnumber:
  19245. @if libdecnumber
  19246. maybe-check-libdecnumber: check-libdecnumber
  19247. check-libdecnumber:
  19248. @: $(MAKE); $(unstage)
  19249. @r=`${PWD_COMMAND}`; export r; \
  19250. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19251. $(HOST_EXPORTS) \
  19252. (cd $(HOST_SUBDIR)/libdecnumber && \
  19253. $(MAKE) $(FLAGS_TO_PASS) check)
  19254. @endif libdecnumber
  19255. .PHONY: install-libdecnumber maybe-install-libdecnumber
  19256. maybe-install-libdecnumber:
  19257. @if libdecnumber
  19258. maybe-install-libdecnumber: install-libdecnumber
  19259. install-libdecnumber: installdirs
  19260. @: $(MAKE); $(unstage)
  19261. @r=`${PWD_COMMAND}`; export r; \
  19262. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19263. $(HOST_EXPORTS) \
  19264. (cd $(HOST_SUBDIR)/libdecnumber && \
  19265. $(MAKE) $(FLAGS_TO_PASS) install)
  19266. @endif libdecnumber
  19267. .PHONY: install-strip-libdecnumber maybe-install-strip-libdecnumber
  19268. maybe-install-strip-libdecnumber:
  19269. @if libdecnumber
  19270. maybe-install-strip-libdecnumber: install-strip-libdecnumber
  19271. install-strip-libdecnumber: installdirs
  19272. @: $(MAKE); $(unstage)
  19273. @r=`${PWD_COMMAND}`; export r; \
  19274. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19275. $(HOST_EXPORTS) \
  19276. (cd $(HOST_SUBDIR)/libdecnumber && \
  19277. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  19278. @endif libdecnumber
  19279. # Other targets (info, dvi, pdf, etc.)
  19280. .PHONY: maybe-info-libdecnumber info-libdecnumber
  19281. maybe-info-libdecnumber:
  19282. @if libdecnumber
  19283. maybe-info-libdecnumber: info-libdecnumber
  19284. info-libdecnumber: \
  19285. configure-libdecnumber
  19286. @[ -f ./libdecnumber/Makefile ] || exit 0; \
  19287. r=`${PWD_COMMAND}`; export r; \
  19288. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19289. $(HOST_EXPORTS) \
  19290. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19291. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19292. done; \
  19293. echo "Doing info in libdecnumber" ; \
  19294. (cd $(HOST_SUBDIR)/libdecnumber && \
  19295. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19296. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19297. "RANLIB=$${RANLIB}" \
  19298. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19299. info) \
  19300. || exit 1
  19301. @endif libdecnumber
  19302. .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
  19303. maybe-dvi-libdecnumber:
  19304. @if libdecnumber
  19305. maybe-dvi-libdecnumber: dvi-libdecnumber
  19306. dvi-libdecnumber: \
  19307. configure-libdecnumber
  19308. @[ -f ./libdecnumber/Makefile ] || exit 0; \
  19309. r=`${PWD_COMMAND}`; export r; \
  19310. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19311. $(HOST_EXPORTS) \
  19312. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19313. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19314. done; \
  19315. echo "Doing dvi in libdecnumber" ; \
  19316. (cd $(HOST_SUBDIR)/libdecnumber && \
  19317. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19318. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19319. "RANLIB=$${RANLIB}" \
  19320. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19321. dvi) \
  19322. || exit 1
  19323. @endif libdecnumber
  19324. .PHONY: maybe-pdf-libdecnumber pdf-libdecnumber
  19325. maybe-pdf-libdecnumber:
  19326. @if libdecnumber
  19327. maybe-pdf-libdecnumber: pdf-libdecnumber
  19328. pdf-libdecnumber: \
  19329. configure-libdecnumber
  19330. @[ -f ./libdecnumber/Makefile ] || exit 0; \
  19331. r=`${PWD_COMMAND}`; export r; \
  19332. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19333. $(HOST_EXPORTS) \
  19334. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19335. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19336. done; \
  19337. echo "Doing pdf in libdecnumber" ; \
  19338. (cd $(HOST_SUBDIR)/libdecnumber && \
  19339. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19340. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19341. "RANLIB=$${RANLIB}" \
  19342. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19343. pdf) \
  19344. || exit 1
  19345. @endif libdecnumber
  19346. .PHONY: maybe-html-libdecnumber html-libdecnumber
  19347. maybe-html-libdecnumber:
  19348. @if libdecnumber
  19349. maybe-html-libdecnumber: html-libdecnumber
  19350. html-libdecnumber: \
  19351. configure-libdecnumber
  19352. @[ -f ./libdecnumber/Makefile ] || exit 0; \
  19353. r=`${PWD_COMMAND}`; export r; \
  19354. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19355. $(HOST_EXPORTS) \
  19356. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19357. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19358. done; \
  19359. echo "Doing html in libdecnumber" ; \
  19360. (cd $(HOST_SUBDIR)/libdecnumber && \
  19361. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19362. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19363. "RANLIB=$${RANLIB}" \
  19364. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19365. html) \
  19366. || exit 1
  19367. @endif libdecnumber
  19368. .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
  19369. maybe-TAGS-libdecnumber:
  19370. @if libdecnumber
  19371. maybe-TAGS-libdecnumber: TAGS-libdecnumber
  19372. TAGS-libdecnumber: \
  19373. configure-libdecnumber
  19374. @[ -f ./libdecnumber/Makefile ] || exit 0; \
  19375. r=`${PWD_COMMAND}`; export r; \
  19376. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19377. $(HOST_EXPORTS) \
  19378. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19379. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19380. done; \
  19381. echo "Doing TAGS in libdecnumber" ; \
  19382. (cd $(HOST_SUBDIR)/libdecnumber && \
  19383. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19384. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19385. "RANLIB=$${RANLIB}" \
  19386. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19387. TAGS) \
  19388. || exit 1
  19389. @endif libdecnumber
  19390. .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
  19391. maybe-install-info-libdecnumber:
  19392. @if libdecnumber
  19393. maybe-install-info-libdecnumber: install-info-libdecnumber
  19394. install-info-libdecnumber: \
  19395. configure-libdecnumber \
  19396. info-libdecnumber
  19397. @[ -f ./libdecnumber/Makefile ] || exit 0; \
  19398. r=`${PWD_COMMAND}`; export r; \
  19399. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19400. $(HOST_EXPORTS) \
  19401. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19402. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19403. done; \
  19404. echo "Doing install-info in libdecnumber" ; \
  19405. (cd $(HOST_SUBDIR)/libdecnumber && \
  19406. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19407. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19408. "RANLIB=$${RANLIB}" \
  19409. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19410. install-info) \
  19411. || exit 1
  19412. @endif libdecnumber
  19413. .PHONY: maybe-install-pdf-libdecnumber install-pdf-libdecnumber
  19414. maybe-install-pdf-libdecnumber:
  19415. @if libdecnumber
  19416. maybe-install-pdf-libdecnumber: install-pdf-libdecnumber
  19417. install-pdf-libdecnumber: \
  19418. configure-libdecnumber \
  19419. pdf-libdecnumber
  19420. @[ -f ./libdecnumber/Makefile ] || exit 0; \
  19421. r=`${PWD_COMMAND}`; export r; \
  19422. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19423. $(HOST_EXPORTS) \
  19424. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19425. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19426. done; \
  19427. echo "Doing install-pdf in libdecnumber" ; \
  19428. (cd $(HOST_SUBDIR)/libdecnumber && \
  19429. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19430. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19431. "RANLIB=$${RANLIB}" \
  19432. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19433. install-pdf) \
  19434. || exit 1
  19435. @endif libdecnumber
  19436. .PHONY: maybe-install-html-libdecnumber install-html-libdecnumber
  19437. maybe-install-html-libdecnumber:
  19438. @if libdecnumber
  19439. maybe-install-html-libdecnumber: install-html-libdecnumber
  19440. install-html-libdecnumber: \
  19441. configure-libdecnumber \
  19442. html-libdecnumber
  19443. @[ -f ./libdecnumber/Makefile ] || exit 0; \
  19444. r=`${PWD_COMMAND}`; export r; \
  19445. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19446. $(HOST_EXPORTS) \
  19447. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19448. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19449. done; \
  19450. echo "Doing install-html in libdecnumber" ; \
  19451. (cd $(HOST_SUBDIR)/libdecnumber && \
  19452. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19453. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19454. "RANLIB=$${RANLIB}" \
  19455. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19456. install-html) \
  19457. || exit 1
  19458. @endif libdecnumber
  19459. .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
  19460. maybe-installcheck-libdecnumber:
  19461. @if libdecnumber
  19462. maybe-installcheck-libdecnumber: installcheck-libdecnumber
  19463. installcheck-libdecnumber: \
  19464. configure-libdecnumber
  19465. @[ -f ./libdecnumber/Makefile ] || exit 0; \
  19466. r=`${PWD_COMMAND}`; export r; \
  19467. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19468. $(HOST_EXPORTS) \
  19469. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19470. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19471. done; \
  19472. echo "Doing installcheck in libdecnumber" ; \
  19473. (cd $(HOST_SUBDIR)/libdecnumber && \
  19474. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19475. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19476. "RANLIB=$${RANLIB}" \
  19477. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19478. installcheck) \
  19479. || exit 1
  19480. @endif libdecnumber
  19481. .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
  19482. maybe-mostlyclean-libdecnumber:
  19483. @if libdecnumber
  19484. maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
  19485. mostlyclean-libdecnumber:
  19486. @[ -f ./libdecnumber/Makefile ] || exit 0; \
  19487. r=`${PWD_COMMAND}`; export r; \
  19488. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19489. $(HOST_EXPORTS) \
  19490. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19491. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19492. done; \
  19493. echo "Doing mostlyclean in libdecnumber" ; \
  19494. (cd $(HOST_SUBDIR)/libdecnumber && \
  19495. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19496. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19497. "RANLIB=$${RANLIB}" \
  19498. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19499. mostlyclean) \
  19500. || exit 1
  19501. @endif libdecnumber
  19502. .PHONY: maybe-clean-libdecnumber clean-libdecnumber
  19503. maybe-clean-libdecnumber:
  19504. @if libdecnumber
  19505. maybe-clean-libdecnumber: clean-libdecnumber
  19506. clean-libdecnumber:
  19507. @[ -f ./libdecnumber/Makefile ] || exit 0; \
  19508. r=`${PWD_COMMAND}`; export r; \
  19509. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19510. $(HOST_EXPORTS) \
  19511. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19512. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19513. done; \
  19514. echo "Doing clean in libdecnumber" ; \
  19515. (cd $(HOST_SUBDIR)/libdecnumber && \
  19516. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19517. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19518. "RANLIB=$${RANLIB}" \
  19519. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19520. clean) \
  19521. || exit 1
  19522. @endif libdecnumber
  19523. .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
  19524. maybe-distclean-libdecnumber:
  19525. @if libdecnumber
  19526. maybe-distclean-libdecnumber: distclean-libdecnumber
  19527. distclean-libdecnumber:
  19528. @[ -f ./libdecnumber/Makefile ] || exit 0; \
  19529. r=`${PWD_COMMAND}`; export r; \
  19530. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19531. $(HOST_EXPORTS) \
  19532. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19533. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19534. done; \
  19535. echo "Doing distclean in libdecnumber" ; \
  19536. (cd $(HOST_SUBDIR)/libdecnumber && \
  19537. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19538. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19539. "RANLIB=$${RANLIB}" \
  19540. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19541. distclean) \
  19542. || exit 1
  19543. @endif libdecnumber
  19544. .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
  19545. maybe-maintainer-clean-libdecnumber:
  19546. @if libdecnumber
  19547. maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
  19548. maintainer-clean-libdecnumber:
  19549. @[ -f ./libdecnumber/Makefile ] || exit 0; \
  19550. r=`${PWD_COMMAND}`; export r; \
  19551. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19552. $(HOST_EXPORTS) \
  19553. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19554. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19555. done; \
  19556. echo "Doing maintainer-clean in libdecnumber" ; \
  19557. (cd $(HOST_SUBDIR)/libdecnumber && \
  19558. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19559. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19560. "RANLIB=$${RANLIB}" \
  19561. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19562. maintainer-clean) \
  19563. || exit 1
  19564. @endif libdecnumber
  19565. .PHONY: configure-libgui maybe-configure-libgui
  19566. maybe-configure-libgui:
  19567. @if gcc-bootstrap
  19568. configure-libgui: stage_current
  19569. @endif gcc-bootstrap
  19570. @if libgui
  19571. maybe-configure-libgui: configure-libgui
  19572. configure-libgui:
  19573. @: $(MAKE); $(unstage)
  19574. @r=`${PWD_COMMAND}`; export r; \
  19575. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19576. test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
  19577. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
  19578. $(HOST_EXPORTS) \
  19579. echo Configuring in $(HOST_SUBDIR)/libgui; \
  19580. cd "$(HOST_SUBDIR)/libgui" || exit 1; \
  19581. case $(srcdir) in \
  19582. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  19583. *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
  19584. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  19585. esac; \
  19586. module_srcdir=libgui; \
  19587. $(SHELL) \
  19588. $$s/$$module_srcdir/configure \
  19589. --srcdir=$${topdir}/$$module_srcdir \
  19590. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  19591. --target=${target_alias} \
  19592. || exit 1
  19593. @endif libgui
  19594. .PHONY: all-libgui maybe-all-libgui
  19595. maybe-all-libgui:
  19596. @if gcc-bootstrap
  19597. all-libgui: stage_current
  19598. @endif gcc-bootstrap
  19599. @if libgui
  19600. TARGET-libgui=all
  19601. maybe-all-libgui: all-libgui
  19602. all-libgui: configure-libgui
  19603. @: $(MAKE); $(unstage)
  19604. @r=`${PWD_COMMAND}`; export r; \
  19605. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19606. $(HOST_EXPORTS) \
  19607. (cd $(HOST_SUBDIR)/libgui && \
  19608. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  19609. $(TARGET-libgui))
  19610. @endif libgui
  19611. .PHONY: check-libgui maybe-check-libgui
  19612. maybe-check-libgui:
  19613. @if libgui
  19614. maybe-check-libgui: check-libgui
  19615. check-libgui:
  19616. @: $(MAKE); $(unstage)
  19617. @r=`${PWD_COMMAND}`; export r; \
  19618. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19619. $(HOST_EXPORTS) \
  19620. (cd $(HOST_SUBDIR)/libgui && \
  19621. $(MAKE) $(FLAGS_TO_PASS) check)
  19622. @endif libgui
  19623. .PHONY: install-libgui maybe-install-libgui
  19624. maybe-install-libgui:
  19625. @if libgui
  19626. maybe-install-libgui: install-libgui
  19627. install-libgui: installdirs
  19628. @: $(MAKE); $(unstage)
  19629. @r=`${PWD_COMMAND}`; export r; \
  19630. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19631. $(HOST_EXPORTS) \
  19632. (cd $(HOST_SUBDIR)/libgui && \
  19633. $(MAKE) $(FLAGS_TO_PASS) install)
  19634. @endif libgui
  19635. .PHONY: install-strip-libgui maybe-install-strip-libgui
  19636. maybe-install-strip-libgui:
  19637. @if libgui
  19638. maybe-install-strip-libgui: install-strip-libgui
  19639. install-strip-libgui: installdirs
  19640. @: $(MAKE); $(unstage)
  19641. @r=`${PWD_COMMAND}`; export r; \
  19642. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19643. $(HOST_EXPORTS) \
  19644. (cd $(HOST_SUBDIR)/libgui && \
  19645. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  19646. @endif libgui
  19647. # Other targets (info, dvi, pdf, etc.)
  19648. .PHONY: maybe-info-libgui info-libgui
  19649. maybe-info-libgui:
  19650. @if libgui
  19651. maybe-info-libgui: info-libgui
  19652. info-libgui: \
  19653. configure-libgui
  19654. @: $(MAKE); $(unstage)
  19655. @[ -f ./libgui/Makefile ] || exit 0; \
  19656. r=`${PWD_COMMAND}`; export r; \
  19657. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19658. $(HOST_EXPORTS) \
  19659. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19660. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19661. done; \
  19662. echo "Doing info in libgui" ; \
  19663. (cd $(HOST_SUBDIR)/libgui && \
  19664. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19665. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19666. "RANLIB=$${RANLIB}" \
  19667. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19668. info) \
  19669. || exit 1
  19670. @endif libgui
  19671. .PHONY: maybe-dvi-libgui dvi-libgui
  19672. maybe-dvi-libgui:
  19673. @if libgui
  19674. maybe-dvi-libgui: dvi-libgui
  19675. dvi-libgui: \
  19676. configure-libgui
  19677. @: $(MAKE); $(unstage)
  19678. @[ -f ./libgui/Makefile ] || exit 0; \
  19679. r=`${PWD_COMMAND}`; export r; \
  19680. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19681. $(HOST_EXPORTS) \
  19682. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19683. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19684. done; \
  19685. echo "Doing dvi in libgui" ; \
  19686. (cd $(HOST_SUBDIR)/libgui && \
  19687. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19688. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19689. "RANLIB=$${RANLIB}" \
  19690. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19691. dvi) \
  19692. || exit 1
  19693. @endif libgui
  19694. .PHONY: maybe-pdf-libgui pdf-libgui
  19695. maybe-pdf-libgui:
  19696. @if libgui
  19697. maybe-pdf-libgui: pdf-libgui
  19698. pdf-libgui: \
  19699. configure-libgui
  19700. @: $(MAKE); $(unstage)
  19701. @[ -f ./libgui/Makefile ] || exit 0; \
  19702. r=`${PWD_COMMAND}`; export r; \
  19703. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19704. $(HOST_EXPORTS) \
  19705. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19706. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19707. done; \
  19708. echo "Doing pdf in libgui" ; \
  19709. (cd $(HOST_SUBDIR)/libgui && \
  19710. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19711. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19712. "RANLIB=$${RANLIB}" \
  19713. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19714. pdf) \
  19715. || exit 1
  19716. @endif libgui
  19717. .PHONY: maybe-html-libgui html-libgui
  19718. maybe-html-libgui:
  19719. @if libgui
  19720. maybe-html-libgui: html-libgui
  19721. html-libgui: \
  19722. configure-libgui
  19723. @: $(MAKE); $(unstage)
  19724. @[ -f ./libgui/Makefile ] || exit 0; \
  19725. r=`${PWD_COMMAND}`; export r; \
  19726. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19727. $(HOST_EXPORTS) \
  19728. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19729. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19730. done; \
  19731. echo "Doing html in libgui" ; \
  19732. (cd $(HOST_SUBDIR)/libgui && \
  19733. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19734. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19735. "RANLIB=$${RANLIB}" \
  19736. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19737. html) \
  19738. || exit 1
  19739. @endif libgui
  19740. .PHONY: maybe-TAGS-libgui TAGS-libgui
  19741. maybe-TAGS-libgui:
  19742. @if libgui
  19743. maybe-TAGS-libgui: TAGS-libgui
  19744. TAGS-libgui: \
  19745. configure-libgui
  19746. @: $(MAKE); $(unstage)
  19747. @[ -f ./libgui/Makefile ] || exit 0; \
  19748. r=`${PWD_COMMAND}`; export r; \
  19749. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19750. $(HOST_EXPORTS) \
  19751. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19752. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19753. done; \
  19754. echo "Doing TAGS in libgui" ; \
  19755. (cd $(HOST_SUBDIR)/libgui && \
  19756. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19757. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19758. "RANLIB=$${RANLIB}" \
  19759. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19760. TAGS) \
  19761. || exit 1
  19762. @endif libgui
  19763. .PHONY: maybe-install-info-libgui install-info-libgui
  19764. maybe-install-info-libgui:
  19765. @if libgui
  19766. maybe-install-info-libgui: install-info-libgui
  19767. install-info-libgui: \
  19768. configure-libgui \
  19769. info-libgui
  19770. @: $(MAKE); $(unstage)
  19771. @[ -f ./libgui/Makefile ] || exit 0; \
  19772. r=`${PWD_COMMAND}`; export r; \
  19773. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19774. $(HOST_EXPORTS) \
  19775. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19776. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19777. done; \
  19778. echo "Doing install-info in libgui" ; \
  19779. (cd $(HOST_SUBDIR)/libgui && \
  19780. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19781. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19782. "RANLIB=$${RANLIB}" \
  19783. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19784. install-info) \
  19785. || exit 1
  19786. @endif libgui
  19787. .PHONY: maybe-install-pdf-libgui install-pdf-libgui
  19788. maybe-install-pdf-libgui:
  19789. @if libgui
  19790. maybe-install-pdf-libgui: install-pdf-libgui
  19791. install-pdf-libgui: \
  19792. configure-libgui \
  19793. pdf-libgui
  19794. @: $(MAKE); $(unstage)
  19795. @[ -f ./libgui/Makefile ] || exit 0; \
  19796. r=`${PWD_COMMAND}`; export r; \
  19797. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19798. $(HOST_EXPORTS) \
  19799. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19800. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19801. done; \
  19802. echo "Doing install-pdf in libgui" ; \
  19803. (cd $(HOST_SUBDIR)/libgui && \
  19804. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19805. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19806. "RANLIB=$${RANLIB}" \
  19807. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19808. install-pdf) \
  19809. || exit 1
  19810. @endif libgui
  19811. .PHONY: maybe-install-html-libgui install-html-libgui
  19812. maybe-install-html-libgui:
  19813. @if libgui
  19814. maybe-install-html-libgui: install-html-libgui
  19815. install-html-libgui: \
  19816. configure-libgui \
  19817. html-libgui
  19818. @: $(MAKE); $(unstage)
  19819. @[ -f ./libgui/Makefile ] || exit 0; \
  19820. r=`${PWD_COMMAND}`; export r; \
  19821. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19822. $(HOST_EXPORTS) \
  19823. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19824. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19825. done; \
  19826. echo "Doing install-html in libgui" ; \
  19827. (cd $(HOST_SUBDIR)/libgui && \
  19828. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19829. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19830. "RANLIB=$${RANLIB}" \
  19831. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19832. install-html) \
  19833. || exit 1
  19834. @endif libgui
  19835. .PHONY: maybe-installcheck-libgui installcheck-libgui
  19836. maybe-installcheck-libgui:
  19837. @if libgui
  19838. maybe-installcheck-libgui: installcheck-libgui
  19839. installcheck-libgui: \
  19840. configure-libgui
  19841. @: $(MAKE); $(unstage)
  19842. @[ -f ./libgui/Makefile ] || exit 0; \
  19843. r=`${PWD_COMMAND}`; export r; \
  19844. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19845. $(HOST_EXPORTS) \
  19846. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19847. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19848. done; \
  19849. echo "Doing installcheck in libgui" ; \
  19850. (cd $(HOST_SUBDIR)/libgui && \
  19851. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19852. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19853. "RANLIB=$${RANLIB}" \
  19854. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19855. installcheck) \
  19856. || exit 1
  19857. @endif libgui
  19858. .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
  19859. maybe-mostlyclean-libgui:
  19860. @if libgui
  19861. maybe-mostlyclean-libgui: mostlyclean-libgui
  19862. mostlyclean-libgui:
  19863. @: $(MAKE); $(unstage)
  19864. @[ -f ./libgui/Makefile ] || exit 0; \
  19865. r=`${PWD_COMMAND}`; export r; \
  19866. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19867. $(HOST_EXPORTS) \
  19868. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19869. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19870. done; \
  19871. echo "Doing mostlyclean in libgui" ; \
  19872. (cd $(HOST_SUBDIR)/libgui && \
  19873. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19874. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19875. "RANLIB=$${RANLIB}" \
  19876. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19877. mostlyclean) \
  19878. || exit 1
  19879. @endif libgui
  19880. .PHONY: maybe-clean-libgui clean-libgui
  19881. maybe-clean-libgui:
  19882. @if libgui
  19883. maybe-clean-libgui: clean-libgui
  19884. clean-libgui:
  19885. @: $(MAKE); $(unstage)
  19886. @[ -f ./libgui/Makefile ] || exit 0; \
  19887. r=`${PWD_COMMAND}`; export r; \
  19888. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19889. $(HOST_EXPORTS) \
  19890. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19891. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19892. done; \
  19893. echo "Doing clean in libgui" ; \
  19894. (cd $(HOST_SUBDIR)/libgui && \
  19895. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19896. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19897. "RANLIB=$${RANLIB}" \
  19898. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19899. clean) \
  19900. || exit 1
  19901. @endif libgui
  19902. .PHONY: maybe-distclean-libgui distclean-libgui
  19903. maybe-distclean-libgui:
  19904. @if libgui
  19905. maybe-distclean-libgui: distclean-libgui
  19906. distclean-libgui:
  19907. @: $(MAKE); $(unstage)
  19908. @[ -f ./libgui/Makefile ] || exit 0; \
  19909. r=`${PWD_COMMAND}`; export r; \
  19910. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19911. $(HOST_EXPORTS) \
  19912. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19913. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19914. done; \
  19915. echo "Doing distclean in libgui" ; \
  19916. (cd $(HOST_SUBDIR)/libgui && \
  19917. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19918. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19919. "RANLIB=$${RANLIB}" \
  19920. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19921. distclean) \
  19922. || exit 1
  19923. @endif libgui
  19924. .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
  19925. maybe-maintainer-clean-libgui:
  19926. @if libgui
  19927. maybe-maintainer-clean-libgui: maintainer-clean-libgui
  19928. maintainer-clean-libgui:
  19929. @: $(MAKE); $(unstage)
  19930. @[ -f ./libgui/Makefile ] || exit 0; \
  19931. r=`${PWD_COMMAND}`; export r; \
  19932. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19933. $(HOST_EXPORTS) \
  19934. for flag in $(EXTRA_HOST_FLAGS) ; do \
  19935. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  19936. done; \
  19937. echo "Doing maintainer-clean in libgui" ; \
  19938. (cd $(HOST_SUBDIR)/libgui && \
  19939. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  19940. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  19941. "RANLIB=$${RANLIB}" \
  19942. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  19943. maintainer-clean) \
  19944. || exit 1
  19945. @endif libgui
  19946. .PHONY: configure-libiberty maybe-configure-libiberty
  19947. maybe-configure-libiberty:
  19948. @if gcc-bootstrap
  19949. configure-libiberty: stage_current
  19950. @endif gcc-bootstrap
  19951. @if libiberty
  19952. maybe-configure-libiberty: configure-libiberty
  19953. configure-libiberty:
  19954. @r=`${PWD_COMMAND}`; export r; \
  19955. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19956. test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
  19957. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
  19958. $(HOST_EXPORTS) \
  19959. echo Configuring in $(HOST_SUBDIR)/libiberty; \
  19960. cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
  19961. case $(srcdir) in \
  19962. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  19963. *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
  19964. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  19965. esac; \
  19966. module_srcdir=libiberty; \
  19967. $(SHELL) \
  19968. $$s/$$module_srcdir/configure \
  19969. --srcdir=$${topdir}/$$module_srcdir \
  19970. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  19971. --target=${target_alias} @extra_host_libiberty_configure_flags@ \
  19972. || exit 1
  19973. @endif libiberty
  19974. .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
  19975. maybe-configure-stage1-libiberty:
  19976. @if libiberty-bootstrap
  19977. maybe-configure-stage1-libiberty: configure-stage1-libiberty
  19978. configure-stage1-libiberty:
  19979. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  19980. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
  19981. @r=`${PWD_COMMAND}`; export r; \
  19982. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  19983. TFLAGS="$(STAGE1_TFLAGS)"; \
  19984. test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
  19985. $(HOST_EXPORTS) \
  19986. CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
  19987. CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
  19988. LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
  19989. echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
  19990. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
  19991. cd $(HOST_SUBDIR)/libiberty || exit 1; \
  19992. case $(srcdir) in \
  19993. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  19994. *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
  19995. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  19996. esac; \
  19997. module_srcdir=libiberty; \
  19998. $(SHELL) $$s/$$module_srcdir/configure \
  19999. --srcdir=$${topdir}/$$module_srcdir \
  20000. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  20001. --target=${target_alias} \
  20002. \
  20003. $(STAGE1_CONFIGURE_FLAGS) \
  20004. @extra_host_libiberty_configure_flags@
  20005. @endif libiberty-bootstrap
  20006. .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
  20007. maybe-configure-stage2-libiberty:
  20008. @if libiberty-bootstrap
  20009. maybe-configure-stage2-libiberty: configure-stage2-libiberty
  20010. configure-stage2-libiberty:
  20011. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  20012. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
  20013. @r=`${PWD_COMMAND}`; export r; \
  20014. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20015. TFLAGS="$(STAGE2_TFLAGS)"; \
  20016. test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
  20017. $(HOST_EXPORTS) \
  20018. $(POSTSTAGE1_HOST_EXPORTS) \
  20019. CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
  20020. CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
  20021. LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
  20022. echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
  20023. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
  20024. cd $(HOST_SUBDIR)/libiberty || exit 1; \
  20025. case $(srcdir) in \
  20026. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  20027. *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
  20028. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  20029. esac; \
  20030. module_srcdir=libiberty; \
  20031. $(SHELL) $$s/$$module_srcdir/configure \
  20032. --srcdir=$${topdir}/$$module_srcdir \
  20033. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  20034. --target=${target_alias} \
  20035. --with-build-libsubdir=$(HOST_SUBDIR) \
  20036. $(STAGE2_CONFIGURE_FLAGS) \
  20037. @extra_host_libiberty_configure_flags@
  20038. @endif libiberty-bootstrap
  20039. .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
  20040. maybe-configure-stage3-libiberty:
  20041. @if libiberty-bootstrap
  20042. maybe-configure-stage3-libiberty: configure-stage3-libiberty
  20043. configure-stage3-libiberty:
  20044. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  20045. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
  20046. @r=`${PWD_COMMAND}`; export r; \
  20047. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20048. TFLAGS="$(STAGE3_TFLAGS)"; \
  20049. test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
  20050. $(HOST_EXPORTS) \
  20051. $(POSTSTAGE1_HOST_EXPORTS) \
  20052. CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
  20053. CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
  20054. LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
  20055. echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
  20056. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
  20057. cd $(HOST_SUBDIR)/libiberty || exit 1; \
  20058. case $(srcdir) in \
  20059. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  20060. *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
  20061. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  20062. esac; \
  20063. module_srcdir=libiberty; \
  20064. $(SHELL) $$s/$$module_srcdir/configure \
  20065. --srcdir=$${topdir}/$$module_srcdir \
  20066. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  20067. --target=${target_alias} \
  20068. --with-build-libsubdir=$(HOST_SUBDIR) \
  20069. $(STAGE3_CONFIGURE_FLAGS) \
  20070. @extra_host_libiberty_configure_flags@
  20071. @endif libiberty-bootstrap
  20072. .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
  20073. maybe-configure-stage4-libiberty:
  20074. @if libiberty-bootstrap
  20075. maybe-configure-stage4-libiberty: configure-stage4-libiberty
  20076. configure-stage4-libiberty:
  20077. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  20078. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
  20079. @r=`${PWD_COMMAND}`; export r; \
  20080. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20081. TFLAGS="$(STAGE4_TFLAGS)"; \
  20082. test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
  20083. $(HOST_EXPORTS) \
  20084. $(POSTSTAGE1_HOST_EXPORTS) \
  20085. CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
  20086. CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
  20087. LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
  20088. echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
  20089. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
  20090. cd $(HOST_SUBDIR)/libiberty || exit 1; \
  20091. case $(srcdir) in \
  20092. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  20093. *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
  20094. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  20095. esac; \
  20096. module_srcdir=libiberty; \
  20097. $(SHELL) $$s/$$module_srcdir/configure \
  20098. --srcdir=$${topdir}/$$module_srcdir \
  20099. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  20100. --target=${target_alias} \
  20101. --with-build-libsubdir=$(HOST_SUBDIR) \
  20102. $(STAGE4_CONFIGURE_FLAGS) \
  20103. @extra_host_libiberty_configure_flags@
  20104. @endif libiberty-bootstrap
  20105. .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
  20106. maybe-configure-stageprofile-libiberty:
  20107. @if libiberty-bootstrap
  20108. maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
  20109. configure-stageprofile-libiberty:
  20110. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  20111. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
  20112. @r=`${PWD_COMMAND}`; export r; \
  20113. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20114. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  20115. test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
  20116. $(HOST_EXPORTS) \
  20117. $(POSTSTAGE1_HOST_EXPORTS) \
  20118. CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
  20119. CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
  20120. LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
  20121. echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
  20122. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
  20123. cd $(HOST_SUBDIR)/libiberty || exit 1; \
  20124. case $(srcdir) in \
  20125. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  20126. *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
  20127. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  20128. esac; \
  20129. module_srcdir=libiberty; \
  20130. $(SHELL) $$s/$$module_srcdir/configure \
  20131. --srcdir=$${topdir}/$$module_srcdir \
  20132. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  20133. --target=${target_alias} \
  20134. --with-build-libsubdir=$(HOST_SUBDIR) \
  20135. $(STAGEprofile_CONFIGURE_FLAGS) \
  20136. @extra_host_libiberty_configure_flags@
  20137. @endif libiberty-bootstrap
  20138. .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
  20139. maybe-configure-stagefeedback-libiberty:
  20140. @if libiberty-bootstrap
  20141. maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
  20142. configure-stagefeedback-libiberty:
  20143. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  20144. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty
  20145. @r=`${PWD_COMMAND}`; export r; \
  20146. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20147. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  20148. test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
  20149. $(HOST_EXPORTS) \
  20150. $(POSTSTAGE1_HOST_EXPORTS) \
  20151. CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
  20152. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
  20153. LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
  20154. echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
  20155. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
  20156. cd $(HOST_SUBDIR)/libiberty || exit 1; \
  20157. case $(srcdir) in \
  20158. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  20159. *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
  20160. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  20161. esac; \
  20162. module_srcdir=libiberty; \
  20163. $(SHELL) $$s/$$module_srcdir/configure \
  20164. --srcdir=$${topdir}/$$module_srcdir \
  20165. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  20166. --target=${target_alias} \
  20167. --with-build-libsubdir=$(HOST_SUBDIR) \
  20168. $(STAGEfeedback_CONFIGURE_FLAGS) \
  20169. @extra_host_libiberty_configure_flags@
  20170. @endif libiberty-bootstrap
  20171. .PHONY: all-libiberty maybe-all-libiberty
  20172. maybe-all-libiberty:
  20173. @if gcc-bootstrap
  20174. all-libiberty: stage_current
  20175. @endif gcc-bootstrap
  20176. @if libiberty
  20177. TARGET-libiberty=all
  20178. maybe-all-libiberty: all-libiberty
  20179. all-libiberty: configure-libiberty
  20180. @r=`${PWD_COMMAND}`; export r; \
  20181. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20182. $(HOST_EXPORTS) \
  20183. (cd $(HOST_SUBDIR)/libiberty && \
  20184. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  20185. $(TARGET-libiberty))
  20186. @endif libiberty
  20187. .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
  20188. .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
  20189. maybe-all-stage1-libiberty:
  20190. maybe-clean-stage1-libiberty:
  20191. @if libiberty-bootstrap
  20192. maybe-all-stage1-libiberty: all-stage1-libiberty
  20193. all-stage1: all-stage1-libiberty
  20194. TARGET-stage1-libiberty = $(TARGET-libiberty)
  20195. all-stage1-libiberty: configure-stage1-libiberty
  20196. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  20197. @r=`${PWD_COMMAND}`; export r; \
  20198. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20199. TFLAGS="$(STAGE1_TFLAGS)"; \
  20200. $(HOST_EXPORTS) \
  20201. cd $(HOST_SUBDIR)/libiberty && \
  20202. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  20203. CFLAGS="$(STAGE1_CFLAGS)" \
  20204. CXXFLAGS="$(STAGE1_CXXFLAGS)" \
  20205. LIBCFLAGS="$(LIBCFLAGS)" \
  20206. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  20207. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  20208. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  20209. $(EXTRA_HOST_FLAGS) \
  20210. $(STAGE1_FLAGS_TO_PASS) \
  20211. TFLAGS="$(STAGE1_TFLAGS)" \
  20212. $(TARGET-stage1-libiberty)
  20213. maybe-clean-stage1-libiberty: clean-stage1-libiberty
  20214. clean-stage1: clean-stage1-libiberty
  20215. clean-stage1-libiberty:
  20216. @if [ $(current_stage) = stage1 ]; then \
  20217. [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
  20218. else \
  20219. [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] || exit 0; \
  20220. $(MAKE) stage1-start; \
  20221. fi; \
  20222. cd $(HOST_SUBDIR)/libiberty && \
  20223. $(MAKE) $(EXTRA_HOST_FLAGS) \
  20224. $(STAGE1_FLAGS_TO_PASS) clean
  20225. @endif libiberty-bootstrap
  20226. .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
  20227. .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
  20228. maybe-all-stage2-libiberty:
  20229. maybe-clean-stage2-libiberty:
  20230. @if libiberty-bootstrap
  20231. maybe-all-stage2-libiberty: all-stage2-libiberty
  20232. all-stage2: all-stage2-libiberty
  20233. TARGET-stage2-libiberty = $(TARGET-libiberty)
  20234. all-stage2-libiberty: configure-stage2-libiberty
  20235. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  20236. @r=`${PWD_COMMAND}`; export r; \
  20237. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20238. TFLAGS="$(STAGE2_TFLAGS)"; \
  20239. $(HOST_EXPORTS) \
  20240. $(POSTSTAGE1_HOST_EXPORTS) \
  20241. cd $(HOST_SUBDIR)/libiberty && \
  20242. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  20243. CFLAGS="$(STAGE2_CFLAGS)" \
  20244. CXXFLAGS="$(STAGE2_CXXFLAGS)" \
  20245. LIBCFLAGS="$(STAGE2_CFLAGS)" \
  20246. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  20247. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  20248. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  20249. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  20250. TFLAGS="$(STAGE2_TFLAGS)" \
  20251. $(TARGET-stage2-libiberty)
  20252. maybe-clean-stage2-libiberty: clean-stage2-libiberty
  20253. clean-stage2: clean-stage2-libiberty
  20254. clean-stage2-libiberty:
  20255. @if [ $(current_stage) = stage2 ]; then \
  20256. [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
  20257. else \
  20258. [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] || exit 0; \
  20259. $(MAKE) stage2-start; \
  20260. fi; \
  20261. cd $(HOST_SUBDIR)/libiberty && \
  20262. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  20263. @endif libiberty-bootstrap
  20264. .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
  20265. .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
  20266. maybe-all-stage3-libiberty:
  20267. maybe-clean-stage3-libiberty:
  20268. @if libiberty-bootstrap
  20269. maybe-all-stage3-libiberty: all-stage3-libiberty
  20270. all-stage3: all-stage3-libiberty
  20271. TARGET-stage3-libiberty = $(TARGET-libiberty)
  20272. all-stage3-libiberty: configure-stage3-libiberty
  20273. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  20274. @r=`${PWD_COMMAND}`; export r; \
  20275. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20276. TFLAGS="$(STAGE3_TFLAGS)"; \
  20277. $(HOST_EXPORTS) \
  20278. $(POSTSTAGE1_HOST_EXPORTS) \
  20279. cd $(HOST_SUBDIR)/libiberty && \
  20280. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  20281. CFLAGS="$(STAGE3_CFLAGS)" \
  20282. CXXFLAGS="$(STAGE3_CXXFLAGS)" \
  20283. LIBCFLAGS="$(STAGE3_CFLAGS)" \
  20284. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  20285. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  20286. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  20287. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  20288. TFLAGS="$(STAGE3_TFLAGS)" \
  20289. $(TARGET-stage3-libiberty)
  20290. maybe-clean-stage3-libiberty: clean-stage3-libiberty
  20291. clean-stage3: clean-stage3-libiberty
  20292. clean-stage3-libiberty:
  20293. @if [ $(current_stage) = stage3 ]; then \
  20294. [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
  20295. else \
  20296. [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] || exit 0; \
  20297. $(MAKE) stage3-start; \
  20298. fi; \
  20299. cd $(HOST_SUBDIR)/libiberty && \
  20300. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  20301. @endif libiberty-bootstrap
  20302. .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
  20303. .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
  20304. maybe-all-stage4-libiberty:
  20305. maybe-clean-stage4-libiberty:
  20306. @if libiberty-bootstrap
  20307. maybe-all-stage4-libiberty: all-stage4-libiberty
  20308. all-stage4: all-stage4-libiberty
  20309. TARGET-stage4-libiberty = $(TARGET-libiberty)
  20310. all-stage4-libiberty: configure-stage4-libiberty
  20311. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  20312. @r=`${PWD_COMMAND}`; export r; \
  20313. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20314. TFLAGS="$(STAGE4_TFLAGS)"; \
  20315. $(HOST_EXPORTS) \
  20316. $(POSTSTAGE1_HOST_EXPORTS) \
  20317. cd $(HOST_SUBDIR)/libiberty && \
  20318. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  20319. CFLAGS="$(STAGE4_CFLAGS)" \
  20320. CXXFLAGS="$(STAGE4_CXXFLAGS)" \
  20321. LIBCFLAGS="$(STAGE4_CFLAGS)" \
  20322. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  20323. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  20324. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  20325. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  20326. TFLAGS="$(STAGE4_TFLAGS)" \
  20327. $(TARGET-stage4-libiberty)
  20328. maybe-clean-stage4-libiberty: clean-stage4-libiberty
  20329. clean-stage4: clean-stage4-libiberty
  20330. clean-stage4-libiberty:
  20331. @if [ $(current_stage) = stage4 ]; then \
  20332. [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
  20333. else \
  20334. [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] || exit 0; \
  20335. $(MAKE) stage4-start; \
  20336. fi; \
  20337. cd $(HOST_SUBDIR)/libiberty && \
  20338. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  20339. @endif libiberty-bootstrap
  20340. .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
  20341. .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
  20342. maybe-all-stageprofile-libiberty:
  20343. maybe-clean-stageprofile-libiberty:
  20344. @if libiberty-bootstrap
  20345. maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
  20346. all-stageprofile: all-stageprofile-libiberty
  20347. TARGET-stageprofile-libiberty = $(TARGET-libiberty)
  20348. all-stageprofile-libiberty: configure-stageprofile-libiberty
  20349. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  20350. @r=`${PWD_COMMAND}`; export r; \
  20351. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20352. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  20353. $(HOST_EXPORTS) \
  20354. $(POSTSTAGE1_HOST_EXPORTS) \
  20355. cd $(HOST_SUBDIR)/libiberty && \
  20356. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  20357. CFLAGS="$(STAGEprofile_CFLAGS)" \
  20358. CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
  20359. LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
  20360. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  20361. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  20362. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  20363. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  20364. TFLAGS="$(STAGEprofile_TFLAGS)" \
  20365. $(TARGET-stageprofile-libiberty)
  20366. maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
  20367. clean-stageprofile: clean-stageprofile-libiberty
  20368. clean-stageprofile-libiberty:
  20369. @if [ $(current_stage) = stageprofile ]; then \
  20370. [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
  20371. else \
  20372. [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] || exit 0; \
  20373. $(MAKE) stageprofile-start; \
  20374. fi; \
  20375. cd $(HOST_SUBDIR)/libiberty && \
  20376. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  20377. @endif libiberty-bootstrap
  20378. .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
  20379. .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
  20380. maybe-all-stagefeedback-libiberty:
  20381. maybe-clean-stagefeedback-libiberty:
  20382. @if libiberty-bootstrap
  20383. maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
  20384. all-stagefeedback: all-stagefeedback-libiberty
  20385. TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
  20386. all-stagefeedback-libiberty: configure-stagefeedback-libiberty
  20387. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  20388. @r=`${PWD_COMMAND}`; export r; \
  20389. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20390. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  20391. $(HOST_EXPORTS) \
  20392. $(POSTSTAGE1_HOST_EXPORTS) \
  20393. cd $(HOST_SUBDIR)/libiberty && \
  20394. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  20395. CFLAGS="$(STAGEfeedback_CFLAGS)" \
  20396. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
  20397. LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
  20398. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  20399. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  20400. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  20401. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  20402. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  20403. $(TARGET-stagefeedback-libiberty)
  20404. maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
  20405. clean-stagefeedback: clean-stagefeedback-libiberty
  20406. clean-stagefeedback-libiberty:
  20407. @if [ $(current_stage) = stagefeedback ]; then \
  20408. [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || exit 0; \
  20409. else \
  20410. [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] || exit 0; \
  20411. $(MAKE) stagefeedback-start; \
  20412. fi; \
  20413. cd $(HOST_SUBDIR)/libiberty && \
  20414. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  20415. @endif libiberty-bootstrap
  20416. .PHONY: check-libiberty maybe-check-libiberty
  20417. maybe-check-libiberty:
  20418. @if libiberty
  20419. maybe-check-libiberty: check-libiberty
  20420. check-libiberty:
  20421. @: $(MAKE); $(unstage)
  20422. @r=`${PWD_COMMAND}`; export r; \
  20423. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20424. $(HOST_EXPORTS) \
  20425. (cd $(HOST_SUBDIR)/libiberty && \
  20426. $(MAKE) $(FLAGS_TO_PASS) check)
  20427. @endif libiberty
  20428. .PHONY: install-libiberty maybe-install-libiberty
  20429. maybe-install-libiberty:
  20430. @if libiberty
  20431. maybe-install-libiberty: install-libiberty
  20432. install-libiberty: installdirs
  20433. @: $(MAKE); $(unstage)
  20434. @r=`${PWD_COMMAND}`; export r; \
  20435. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20436. $(HOST_EXPORTS) \
  20437. (cd $(HOST_SUBDIR)/libiberty && \
  20438. $(MAKE) $(FLAGS_TO_PASS) install)
  20439. @endif libiberty
  20440. .PHONY: install-strip-libiberty maybe-install-strip-libiberty
  20441. maybe-install-strip-libiberty:
  20442. @if libiberty
  20443. maybe-install-strip-libiberty: install-strip-libiberty
  20444. install-strip-libiberty: installdirs
  20445. @: $(MAKE); $(unstage)
  20446. @r=`${PWD_COMMAND}`; export r; \
  20447. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20448. $(HOST_EXPORTS) \
  20449. (cd $(HOST_SUBDIR)/libiberty && \
  20450. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  20451. @endif libiberty
  20452. # Other targets (info, dvi, pdf, etc.)
  20453. .PHONY: maybe-info-libiberty info-libiberty
  20454. maybe-info-libiberty:
  20455. @if libiberty
  20456. maybe-info-libiberty: info-libiberty
  20457. info-libiberty: \
  20458. configure-libiberty
  20459. @[ -f ./libiberty/Makefile ] || exit 0; \
  20460. r=`${PWD_COMMAND}`; export r; \
  20461. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20462. $(HOST_EXPORTS) \
  20463. for flag in $(EXTRA_HOST_FLAGS) ; do \
  20464. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  20465. done; \
  20466. echo "Doing info in libiberty" ; \
  20467. (cd $(HOST_SUBDIR)/libiberty && \
  20468. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  20469. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  20470. "RANLIB=$${RANLIB}" \
  20471. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  20472. info) \
  20473. || exit 1
  20474. @endif libiberty
  20475. .PHONY: maybe-dvi-libiberty dvi-libiberty
  20476. maybe-dvi-libiberty:
  20477. @if libiberty
  20478. maybe-dvi-libiberty: dvi-libiberty
  20479. dvi-libiberty: \
  20480. configure-libiberty
  20481. @[ -f ./libiberty/Makefile ] || exit 0; \
  20482. r=`${PWD_COMMAND}`; export r; \
  20483. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20484. $(HOST_EXPORTS) \
  20485. for flag in $(EXTRA_HOST_FLAGS) ; do \
  20486. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  20487. done; \
  20488. echo "Doing dvi in libiberty" ; \
  20489. (cd $(HOST_SUBDIR)/libiberty && \
  20490. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  20491. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  20492. "RANLIB=$${RANLIB}" \
  20493. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  20494. dvi) \
  20495. || exit 1
  20496. @endif libiberty
  20497. .PHONY: maybe-pdf-libiberty pdf-libiberty
  20498. maybe-pdf-libiberty:
  20499. @if libiberty
  20500. maybe-pdf-libiberty: pdf-libiberty
  20501. pdf-libiberty: \
  20502. configure-libiberty
  20503. @[ -f ./libiberty/Makefile ] || exit 0; \
  20504. r=`${PWD_COMMAND}`; export r; \
  20505. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20506. $(HOST_EXPORTS) \
  20507. for flag in $(EXTRA_HOST_FLAGS) ; do \
  20508. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  20509. done; \
  20510. echo "Doing pdf in libiberty" ; \
  20511. (cd $(HOST_SUBDIR)/libiberty && \
  20512. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  20513. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  20514. "RANLIB=$${RANLIB}" \
  20515. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  20516. pdf) \
  20517. || exit 1
  20518. @endif libiberty
  20519. .PHONY: maybe-html-libiberty html-libiberty
  20520. maybe-html-libiberty:
  20521. @if libiberty
  20522. maybe-html-libiberty: html-libiberty
  20523. html-libiberty: \
  20524. configure-libiberty
  20525. @[ -f ./libiberty/Makefile ] || exit 0; \
  20526. r=`${PWD_COMMAND}`; export r; \
  20527. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20528. $(HOST_EXPORTS) \
  20529. for flag in $(EXTRA_HOST_FLAGS) ; do \
  20530. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  20531. done; \
  20532. echo "Doing html in libiberty" ; \
  20533. (cd $(HOST_SUBDIR)/libiberty && \
  20534. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  20535. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  20536. "RANLIB=$${RANLIB}" \
  20537. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  20538. html) \
  20539. || exit 1
  20540. @endif libiberty
  20541. .PHONY: maybe-TAGS-libiberty TAGS-libiberty
  20542. maybe-TAGS-libiberty:
  20543. @if libiberty
  20544. maybe-TAGS-libiberty: TAGS-libiberty
  20545. TAGS-libiberty: \
  20546. configure-libiberty
  20547. @[ -f ./libiberty/Makefile ] || exit 0; \
  20548. r=`${PWD_COMMAND}`; export r; \
  20549. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20550. $(HOST_EXPORTS) \
  20551. for flag in $(EXTRA_HOST_FLAGS) ; do \
  20552. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  20553. done; \
  20554. echo "Doing TAGS in libiberty" ; \
  20555. (cd $(HOST_SUBDIR)/libiberty && \
  20556. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  20557. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  20558. "RANLIB=$${RANLIB}" \
  20559. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  20560. TAGS) \
  20561. || exit 1
  20562. @endif libiberty
  20563. .PHONY: maybe-install-info-libiberty install-info-libiberty
  20564. maybe-install-info-libiberty:
  20565. @if libiberty
  20566. maybe-install-info-libiberty: install-info-libiberty
  20567. install-info-libiberty: \
  20568. configure-libiberty \
  20569. info-libiberty
  20570. @[ -f ./libiberty/Makefile ] || exit 0; \
  20571. r=`${PWD_COMMAND}`; export r; \
  20572. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20573. $(HOST_EXPORTS) \
  20574. for flag in $(EXTRA_HOST_FLAGS) ; do \
  20575. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  20576. done; \
  20577. echo "Doing install-info in libiberty" ; \
  20578. (cd $(HOST_SUBDIR)/libiberty && \
  20579. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  20580. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  20581. "RANLIB=$${RANLIB}" \
  20582. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  20583. install-info) \
  20584. || exit 1
  20585. @endif libiberty
  20586. .PHONY: maybe-install-pdf-libiberty install-pdf-libiberty
  20587. maybe-install-pdf-libiberty:
  20588. @if libiberty
  20589. maybe-install-pdf-libiberty: install-pdf-libiberty
  20590. install-pdf-libiberty: \
  20591. configure-libiberty \
  20592. pdf-libiberty
  20593. @[ -f ./libiberty/Makefile ] || exit 0; \
  20594. r=`${PWD_COMMAND}`; export r; \
  20595. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20596. $(HOST_EXPORTS) \
  20597. for flag in $(EXTRA_HOST_FLAGS) ; do \
  20598. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  20599. done; \
  20600. echo "Doing install-pdf in libiberty" ; \
  20601. (cd $(HOST_SUBDIR)/libiberty && \
  20602. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  20603. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  20604. "RANLIB=$${RANLIB}" \
  20605. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  20606. install-pdf) \
  20607. || exit 1
  20608. @endif libiberty
  20609. .PHONY: maybe-install-html-libiberty install-html-libiberty
  20610. maybe-install-html-libiberty:
  20611. @if libiberty
  20612. maybe-install-html-libiberty: install-html-libiberty
  20613. install-html-libiberty: \
  20614. configure-libiberty \
  20615. html-libiberty
  20616. @[ -f ./libiberty/Makefile ] || exit 0; \
  20617. r=`${PWD_COMMAND}`; export r; \
  20618. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20619. $(HOST_EXPORTS) \
  20620. for flag in $(EXTRA_HOST_FLAGS) ; do \
  20621. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  20622. done; \
  20623. echo "Doing install-html in libiberty" ; \
  20624. (cd $(HOST_SUBDIR)/libiberty && \
  20625. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  20626. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  20627. "RANLIB=$${RANLIB}" \
  20628. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  20629. install-html) \
  20630. || exit 1
  20631. @endif libiberty
  20632. .PHONY: maybe-installcheck-libiberty installcheck-libiberty
  20633. maybe-installcheck-libiberty:
  20634. @if libiberty
  20635. maybe-installcheck-libiberty: installcheck-libiberty
  20636. installcheck-libiberty: \
  20637. configure-libiberty
  20638. @[ -f ./libiberty/Makefile ] || exit 0; \
  20639. r=`${PWD_COMMAND}`; export r; \
  20640. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20641. $(HOST_EXPORTS) \
  20642. for flag in $(EXTRA_HOST_FLAGS) ; do \
  20643. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  20644. done; \
  20645. echo "Doing installcheck in libiberty" ; \
  20646. (cd $(HOST_SUBDIR)/libiberty && \
  20647. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  20648. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  20649. "RANLIB=$${RANLIB}" \
  20650. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  20651. installcheck) \
  20652. || exit 1
  20653. @endif libiberty
  20654. .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
  20655. maybe-mostlyclean-libiberty:
  20656. @if libiberty
  20657. maybe-mostlyclean-libiberty: mostlyclean-libiberty
  20658. mostlyclean-libiberty:
  20659. @[ -f ./libiberty/Makefile ] || exit 0; \
  20660. r=`${PWD_COMMAND}`; export r; \
  20661. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20662. $(HOST_EXPORTS) \
  20663. for flag in $(EXTRA_HOST_FLAGS) ; do \
  20664. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  20665. done; \
  20666. echo "Doing mostlyclean in libiberty" ; \
  20667. (cd $(HOST_SUBDIR)/libiberty && \
  20668. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  20669. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  20670. "RANLIB=$${RANLIB}" \
  20671. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  20672. mostlyclean) \
  20673. || exit 1
  20674. @endif libiberty
  20675. .PHONY: maybe-clean-libiberty clean-libiberty
  20676. maybe-clean-libiberty:
  20677. @if libiberty
  20678. maybe-clean-libiberty: clean-libiberty
  20679. clean-libiberty:
  20680. @[ -f ./libiberty/Makefile ] || exit 0; \
  20681. r=`${PWD_COMMAND}`; export r; \
  20682. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20683. $(HOST_EXPORTS) \
  20684. for flag in $(EXTRA_HOST_FLAGS) ; do \
  20685. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  20686. done; \
  20687. echo "Doing clean in libiberty" ; \
  20688. (cd $(HOST_SUBDIR)/libiberty && \
  20689. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  20690. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  20691. "RANLIB=$${RANLIB}" \
  20692. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  20693. clean) \
  20694. || exit 1
  20695. @endif libiberty
  20696. .PHONY: maybe-distclean-libiberty distclean-libiberty
  20697. maybe-distclean-libiberty:
  20698. @if libiberty
  20699. maybe-distclean-libiberty: distclean-libiberty
  20700. distclean-libiberty:
  20701. @[ -f ./libiberty/Makefile ] || exit 0; \
  20702. r=`${PWD_COMMAND}`; export r; \
  20703. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20704. $(HOST_EXPORTS) \
  20705. for flag in $(EXTRA_HOST_FLAGS) ; do \
  20706. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  20707. done; \
  20708. echo "Doing distclean in libiberty" ; \
  20709. (cd $(HOST_SUBDIR)/libiberty && \
  20710. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  20711. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  20712. "RANLIB=$${RANLIB}" \
  20713. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  20714. distclean) \
  20715. || exit 1
  20716. @endif libiberty
  20717. .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
  20718. maybe-maintainer-clean-libiberty:
  20719. @if libiberty
  20720. maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
  20721. maintainer-clean-libiberty:
  20722. @[ -f ./libiberty/Makefile ] || exit 0; \
  20723. r=`${PWD_COMMAND}`; export r; \
  20724. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20725. $(HOST_EXPORTS) \
  20726. for flag in $(EXTRA_HOST_FLAGS) ; do \
  20727. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  20728. done; \
  20729. echo "Doing maintainer-clean in libiberty" ; \
  20730. (cd $(HOST_SUBDIR)/libiberty && \
  20731. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  20732. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  20733. "RANLIB=$${RANLIB}" \
  20734. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  20735. maintainer-clean) \
  20736. || exit 1
  20737. @endif libiberty
  20738. .PHONY: configure-libiberty-linker-plugin maybe-configure-libiberty-linker-plugin
  20739. maybe-configure-libiberty-linker-plugin:
  20740. @if gcc-bootstrap
  20741. configure-libiberty-linker-plugin: stage_current
  20742. @endif gcc-bootstrap
  20743. @if libiberty-linker-plugin
  20744. maybe-configure-libiberty-linker-plugin: configure-libiberty-linker-plugin
  20745. configure-libiberty-linker-plugin:
  20746. @r=`${PWD_COMMAND}`; export r; \
  20747. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20748. test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
  20749. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
  20750. $(HOST_EXPORTS) \
  20751. echo Configuring in $(HOST_SUBDIR)/libiberty-linker-plugin; \
  20752. cd "$(HOST_SUBDIR)/libiberty-linker-plugin" || exit 1; \
  20753. case $(srcdir) in \
  20754. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  20755. *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
  20756. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  20757. esac; \
  20758. module_srcdir=libiberty; \
  20759. $(SHELL) \
  20760. $$s/$$module_srcdir/configure \
  20761. --srcdir=$${topdir}/$$module_srcdir \
  20762. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  20763. --target=${target_alias} @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
  20764. || exit 1
  20765. @endif libiberty-linker-plugin
  20766. .PHONY: configure-stage1-libiberty-linker-plugin maybe-configure-stage1-libiberty-linker-plugin
  20767. maybe-configure-stage1-libiberty-linker-plugin:
  20768. @if libiberty-linker-plugin-bootstrap
  20769. maybe-configure-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
  20770. configure-stage1-libiberty-linker-plugin:
  20771. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  20772. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
  20773. @r=`${PWD_COMMAND}`; export r; \
  20774. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20775. TFLAGS="$(STAGE1_TFLAGS)"; \
  20776. test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
  20777. $(HOST_EXPORTS) \
  20778. CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
  20779. CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
  20780. LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
  20781. echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
  20782. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
  20783. cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
  20784. case $(srcdir) in \
  20785. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  20786. *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
  20787. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  20788. esac; \
  20789. module_srcdir=libiberty; \
  20790. $(SHELL) $$s/$$module_srcdir/configure \
  20791. --srcdir=$${topdir}/$$module_srcdir \
  20792. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  20793. --target=${target_alias} \
  20794. \
  20795. $(STAGE1_CONFIGURE_FLAGS) \
  20796. @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
  20797. @endif libiberty-linker-plugin-bootstrap
  20798. .PHONY: configure-stage2-libiberty-linker-plugin maybe-configure-stage2-libiberty-linker-plugin
  20799. maybe-configure-stage2-libiberty-linker-plugin:
  20800. @if libiberty-linker-plugin-bootstrap
  20801. maybe-configure-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
  20802. configure-stage2-libiberty-linker-plugin:
  20803. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  20804. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
  20805. @r=`${PWD_COMMAND}`; export r; \
  20806. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20807. TFLAGS="$(STAGE2_TFLAGS)"; \
  20808. test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
  20809. $(HOST_EXPORTS) \
  20810. $(POSTSTAGE1_HOST_EXPORTS) \
  20811. CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
  20812. CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
  20813. LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
  20814. echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
  20815. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
  20816. cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
  20817. case $(srcdir) in \
  20818. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  20819. *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
  20820. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  20821. esac; \
  20822. module_srcdir=libiberty; \
  20823. $(SHELL) $$s/$$module_srcdir/configure \
  20824. --srcdir=$${topdir}/$$module_srcdir \
  20825. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  20826. --target=${target_alias} \
  20827. --with-build-libsubdir=$(HOST_SUBDIR) \
  20828. $(STAGE2_CONFIGURE_FLAGS) \
  20829. @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
  20830. @endif libiberty-linker-plugin-bootstrap
  20831. .PHONY: configure-stage3-libiberty-linker-plugin maybe-configure-stage3-libiberty-linker-plugin
  20832. maybe-configure-stage3-libiberty-linker-plugin:
  20833. @if libiberty-linker-plugin-bootstrap
  20834. maybe-configure-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
  20835. configure-stage3-libiberty-linker-plugin:
  20836. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  20837. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
  20838. @r=`${PWD_COMMAND}`; export r; \
  20839. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20840. TFLAGS="$(STAGE3_TFLAGS)"; \
  20841. test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
  20842. $(HOST_EXPORTS) \
  20843. $(POSTSTAGE1_HOST_EXPORTS) \
  20844. CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
  20845. CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
  20846. LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
  20847. echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
  20848. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
  20849. cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
  20850. case $(srcdir) in \
  20851. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  20852. *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
  20853. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  20854. esac; \
  20855. module_srcdir=libiberty; \
  20856. $(SHELL) $$s/$$module_srcdir/configure \
  20857. --srcdir=$${topdir}/$$module_srcdir \
  20858. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  20859. --target=${target_alias} \
  20860. --with-build-libsubdir=$(HOST_SUBDIR) \
  20861. $(STAGE3_CONFIGURE_FLAGS) \
  20862. @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
  20863. @endif libiberty-linker-plugin-bootstrap
  20864. .PHONY: configure-stage4-libiberty-linker-plugin maybe-configure-stage4-libiberty-linker-plugin
  20865. maybe-configure-stage4-libiberty-linker-plugin:
  20866. @if libiberty-linker-plugin-bootstrap
  20867. maybe-configure-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
  20868. configure-stage4-libiberty-linker-plugin:
  20869. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  20870. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
  20871. @r=`${PWD_COMMAND}`; export r; \
  20872. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20873. TFLAGS="$(STAGE4_TFLAGS)"; \
  20874. test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
  20875. $(HOST_EXPORTS) \
  20876. $(POSTSTAGE1_HOST_EXPORTS) \
  20877. CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
  20878. CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
  20879. LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
  20880. echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
  20881. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
  20882. cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
  20883. case $(srcdir) in \
  20884. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  20885. *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
  20886. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  20887. esac; \
  20888. module_srcdir=libiberty; \
  20889. $(SHELL) $$s/$$module_srcdir/configure \
  20890. --srcdir=$${topdir}/$$module_srcdir \
  20891. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  20892. --target=${target_alias} \
  20893. --with-build-libsubdir=$(HOST_SUBDIR) \
  20894. $(STAGE4_CONFIGURE_FLAGS) \
  20895. @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
  20896. @endif libiberty-linker-plugin-bootstrap
  20897. .PHONY: configure-stageprofile-libiberty-linker-plugin maybe-configure-stageprofile-libiberty-linker-plugin
  20898. maybe-configure-stageprofile-libiberty-linker-plugin:
  20899. @if libiberty-linker-plugin-bootstrap
  20900. maybe-configure-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
  20901. configure-stageprofile-libiberty-linker-plugin:
  20902. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  20903. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
  20904. @r=`${PWD_COMMAND}`; export r; \
  20905. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20906. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  20907. test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
  20908. $(HOST_EXPORTS) \
  20909. $(POSTSTAGE1_HOST_EXPORTS) \
  20910. CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
  20911. CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
  20912. LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
  20913. echo Configuring stage profile in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
  20914. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
  20915. cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
  20916. case $(srcdir) in \
  20917. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  20918. *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
  20919. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  20920. esac; \
  20921. module_srcdir=libiberty; \
  20922. $(SHELL) $$s/$$module_srcdir/configure \
  20923. --srcdir=$${topdir}/$$module_srcdir \
  20924. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  20925. --target=${target_alias} \
  20926. --with-build-libsubdir=$(HOST_SUBDIR) \
  20927. $(STAGEprofile_CONFIGURE_FLAGS) \
  20928. @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
  20929. @endif libiberty-linker-plugin-bootstrap
  20930. .PHONY: configure-stagefeedback-libiberty-linker-plugin maybe-configure-stagefeedback-libiberty-linker-plugin
  20931. maybe-configure-stagefeedback-libiberty-linker-plugin:
  20932. @if libiberty-linker-plugin-bootstrap
  20933. maybe-configure-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
  20934. configure-stagefeedback-libiberty-linker-plugin:
  20935. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  20936. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin
  20937. @r=`${PWD_COMMAND}`; export r; \
  20938. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20939. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  20940. test ! -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile || exit 0; \
  20941. $(HOST_EXPORTS) \
  20942. $(POSTSTAGE1_HOST_EXPORTS) \
  20943. CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
  20944. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
  20945. LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
  20946. echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty-linker-plugin ; \
  20947. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty-linker-plugin ; \
  20948. cd $(HOST_SUBDIR)/libiberty-linker-plugin || exit 1; \
  20949. case $(srcdir) in \
  20950. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  20951. *) topdir=`echo $(HOST_SUBDIR)/libiberty-linker-plugin/ | \
  20952. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  20953. esac; \
  20954. module_srcdir=libiberty; \
  20955. $(SHELL) $$s/$$module_srcdir/configure \
  20956. --srcdir=$${topdir}/$$module_srcdir \
  20957. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  20958. --target=${target_alias} \
  20959. --with-build-libsubdir=$(HOST_SUBDIR) \
  20960. $(STAGEfeedback_CONFIGURE_FLAGS) \
  20961. @extra_host_libiberty_configure_flags@ --disable-install-libiberty @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
  20962. @endif libiberty-linker-plugin-bootstrap
  20963. .PHONY: all-libiberty-linker-plugin maybe-all-libiberty-linker-plugin
  20964. maybe-all-libiberty-linker-plugin:
  20965. @if gcc-bootstrap
  20966. all-libiberty-linker-plugin: stage_current
  20967. @endif gcc-bootstrap
  20968. @if libiberty-linker-plugin
  20969. TARGET-libiberty-linker-plugin=all
  20970. maybe-all-libiberty-linker-plugin: all-libiberty-linker-plugin
  20971. all-libiberty-linker-plugin: configure-libiberty-linker-plugin
  20972. @r=`${PWD_COMMAND}`; export r; \
  20973. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20974. $(HOST_EXPORTS) \
  20975. (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  20976. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
  20977. $(TARGET-libiberty-linker-plugin))
  20978. @endif libiberty-linker-plugin
  20979. .PHONY: all-stage1-libiberty-linker-plugin maybe-all-stage1-libiberty-linker-plugin
  20980. .PHONY: clean-stage1-libiberty-linker-plugin maybe-clean-stage1-libiberty-linker-plugin
  20981. maybe-all-stage1-libiberty-linker-plugin:
  20982. maybe-clean-stage1-libiberty-linker-plugin:
  20983. @if libiberty-linker-plugin-bootstrap
  20984. maybe-all-stage1-libiberty-linker-plugin: all-stage1-libiberty-linker-plugin
  20985. all-stage1: all-stage1-libiberty-linker-plugin
  20986. TARGET-stage1-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
  20987. all-stage1-libiberty-linker-plugin: configure-stage1-libiberty-linker-plugin
  20988. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  20989. @r=`${PWD_COMMAND}`; export r; \
  20990. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  20991. TFLAGS="$(STAGE1_TFLAGS)"; \
  20992. $(HOST_EXPORTS) \
  20993. cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  20994. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  20995. CFLAGS="$(STAGE1_CFLAGS)" \
  20996. CXXFLAGS="$(STAGE1_CXXFLAGS)" \
  20997. LIBCFLAGS="$(LIBCFLAGS)" \
  20998. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  20999. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  21000. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  21001. $(EXTRA_HOST_FLAGS) \
  21002. $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
  21003. TFLAGS="$(STAGE1_TFLAGS)" \
  21004. $(TARGET-stage1-libiberty-linker-plugin)
  21005. maybe-clean-stage1-libiberty-linker-plugin: clean-stage1-libiberty-linker-plugin
  21006. clean-stage1: clean-stage1-libiberty-linker-plugin
  21007. clean-stage1-libiberty-linker-plugin:
  21008. @if [ $(current_stage) = stage1 ]; then \
  21009. [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
  21010. else \
  21011. [ -f $(HOST_SUBDIR)/stage1-libiberty-linker-plugin/Makefile ] || exit 0; \
  21012. $(MAKE) stage1-start; \
  21013. fi; \
  21014. cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21015. $(MAKE) $(EXTRA_HOST_FLAGS) \
  21016. $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
  21017. @endif libiberty-linker-plugin-bootstrap
  21018. .PHONY: all-stage2-libiberty-linker-plugin maybe-all-stage2-libiberty-linker-plugin
  21019. .PHONY: clean-stage2-libiberty-linker-plugin maybe-clean-stage2-libiberty-linker-plugin
  21020. maybe-all-stage2-libiberty-linker-plugin:
  21021. maybe-clean-stage2-libiberty-linker-plugin:
  21022. @if libiberty-linker-plugin-bootstrap
  21023. maybe-all-stage2-libiberty-linker-plugin: all-stage2-libiberty-linker-plugin
  21024. all-stage2: all-stage2-libiberty-linker-plugin
  21025. TARGET-stage2-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
  21026. all-stage2-libiberty-linker-plugin: configure-stage2-libiberty-linker-plugin
  21027. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  21028. @r=`${PWD_COMMAND}`; export r; \
  21029. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21030. TFLAGS="$(STAGE2_TFLAGS)"; \
  21031. $(HOST_EXPORTS) \
  21032. $(POSTSTAGE1_HOST_EXPORTS) \
  21033. cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21034. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  21035. CFLAGS="$(STAGE2_CFLAGS)" \
  21036. CXXFLAGS="$(STAGE2_CXXFLAGS)" \
  21037. LIBCFLAGS="$(STAGE2_CFLAGS)" \
  21038. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  21039. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  21040. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  21041. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
  21042. TFLAGS="$(STAGE2_TFLAGS)" \
  21043. $(TARGET-stage2-libiberty-linker-plugin)
  21044. maybe-clean-stage2-libiberty-linker-plugin: clean-stage2-libiberty-linker-plugin
  21045. clean-stage2: clean-stage2-libiberty-linker-plugin
  21046. clean-stage2-libiberty-linker-plugin:
  21047. @if [ $(current_stage) = stage2 ]; then \
  21048. [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
  21049. else \
  21050. [ -f $(HOST_SUBDIR)/stage2-libiberty-linker-plugin/Makefile ] || exit 0; \
  21051. $(MAKE) stage2-start; \
  21052. fi; \
  21053. cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21054. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
  21055. @endif libiberty-linker-plugin-bootstrap
  21056. .PHONY: all-stage3-libiberty-linker-plugin maybe-all-stage3-libiberty-linker-plugin
  21057. .PHONY: clean-stage3-libiberty-linker-plugin maybe-clean-stage3-libiberty-linker-plugin
  21058. maybe-all-stage3-libiberty-linker-plugin:
  21059. maybe-clean-stage3-libiberty-linker-plugin:
  21060. @if libiberty-linker-plugin-bootstrap
  21061. maybe-all-stage3-libiberty-linker-plugin: all-stage3-libiberty-linker-plugin
  21062. all-stage3: all-stage3-libiberty-linker-plugin
  21063. TARGET-stage3-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
  21064. all-stage3-libiberty-linker-plugin: configure-stage3-libiberty-linker-plugin
  21065. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  21066. @r=`${PWD_COMMAND}`; export r; \
  21067. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21068. TFLAGS="$(STAGE3_TFLAGS)"; \
  21069. $(HOST_EXPORTS) \
  21070. $(POSTSTAGE1_HOST_EXPORTS) \
  21071. cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21072. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  21073. CFLAGS="$(STAGE3_CFLAGS)" \
  21074. CXXFLAGS="$(STAGE3_CXXFLAGS)" \
  21075. LIBCFLAGS="$(STAGE3_CFLAGS)" \
  21076. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  21077. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  21078. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  21079. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
  21080. TFLAGS="$(STAGE3_TFLAGS)" \
  21081. $(TARGET-stage3-libiberty-linker-plugin)
  21082. maybe-clean-stage3-libiberty-linker-plugin: clean-stage3-libiberty-linker-plugin
  21083. clean-stage3: clean-stage3-libiberty-linker-plugin
  21084. clean-stage3-libiberty-linker-plugin:
  21085. @if [ $(current_stage) = stage3 ]; then \
  21086. [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
  21087. else \
  21088. [ -f $(HOST_SUBDIR)/stage3-libiberty-linker-plugin/Makefile ] || exit 0; \
  21089. $(MAKE) stage3-start; \
  21090. fi; \
  21091. cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21092. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
  21093. @endif libiberty-linker-plugin-bootstrap
  21094. .PHONY: all-stage4-libiberty-linker-plugin maybe-all-stage4-libiberty-linker-plugin
  21095. .PHONY: clean-stage4-libiberty-linker-plugin maybe-clean-stage4-libiberty-linker-plugin
  21096. maybe-all-stage4-libiberty-linker-plugin:
  21097. maybe-clean-stage4-libiberty-linker-plugin:
  21098. @if libiberty-linker-plugin-bootstrap
  21099. maybe-all-stage4-libiberty-linker-plugin: all-stage4-libiberty-linker-plugin
  21100. all-stage4: all-stage4-libiberty-linker-plugin
  21101. TARGET-stage4-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
  21102. all-stage4-libiberty-linker-plugin: configure-stage4-libiberty-linker-plugin
  21103. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  21104. @r=`${PWD_COMMAND}`; export r; \
  21105. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21106. TFLAGS="$(STAGE4_TFLAGS)"; \
  21107. $(HOST_EXPORTS) \
  21108. $(POSTSTAGE1_HOST_EXPORTS) \
  21109. cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21110. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  21111. CFLAGS="$(STAGE4_CFLAGS)" \
  21112. CXXFLAGS="$(STAGE4_CXXFLAGS)" \
  21113. LIBCFLAGS="$(STAGE4_CFLAGS)" \
  21114. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  21115. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  21116. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  21117. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
  21118. TFLAGS="$(STAGE4_TFLAGS)" \
  21119. $(TARGET-stage4-libiberty-linker-plugin)
  21120. maybe-clean-stage4-libiberty-linker-plugin: clean-stage4-libiberty-linker-plugin
  21121. clean-stage4: clean-stage4-libiberty-linker-plugin
  21122. clean-stage4-libiberty-linker-plugin:
  21123. @if [ $(current_stage) = stage4 ]; then \
  21124. [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
  21125. else \
  21126. [ -f $(HOST_SUBDIR)/stage4-libiberty-linker-plugin/Makefile ] || exit 0; \
  21127. $(MAKE) stage4-start; \
  21128. fi; \
  21129. cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21130. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
  21131. @endif libiberty-linker-plugin-bootstrap
  21132. .PHONY: all-stageprofile-libiberty-linker-plugin maybe-all-stageprofile-libiberty-linker-plugin
  21133. .PHONY: clean-stageprofile-libiberty-linker-plugin maybe-clean-stageprofile-libiberty-linker-plugin
  21134. maybe-all-stageprofile-libiberty-linker-plugin:
  21135. maybe-clean-stageprofile-libiberty-linker-plugin:
  21136. @if libiberty-linker-plugin-bootstrap
  21137. maybe-all-stageprofile-libiberty-linker-plugin: all-stageprofile-libiberty-linker-plugin
  21138. all-stageprofile: all-stageprofile-libiberty-linker-plugin
  21139. TARGET-stageprofile-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
  21140. all-stageprofile-libiberty-linker-plugin: configure-stageprofile-libiberty-linker-plugin
  21141. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  21142. @r=`${PWD_COMMAND}`; export r; \
  21143. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21144. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  21145. $(HOST_EXPORTS) \
  21146. $(POSTSTAGE1_HOST_EXPORTS) \
  21147. cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21148. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  21149. CFLAGS="$(STAGEprofile_CFLAGS)" \
  21150. CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
  21151. LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
  21152. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  21153. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  21154. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  21155. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
  21156. TFLAGS="$(STAGEprofile_TFLAGS)" \
  21157. $(TARGET-stageprofile-libiberty-linker-plugin)
  21158. maybe-clean-stageprofile-libiberty-linker-plugin: clean-stageprofile-libiberty-linker-plugin
  21159. clean-stageprofile: clean-stageprofile-libiberty-linker-plugin
  21160. clean-stageprofile-libiberty-linker-plugin:
  21161. @if [ $(current_stage) = stageprofile ]; then \
  21162. [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
  21163. else \
  21164. [ -f $(HOST_SUBDIR)/stageprofile-libiberty-linker-plugin/Makefile ] || exit 0; \
  21165. $(MAKE) stageprofile-start; \
  21166. fi; \
  21167. cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21168. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
  21169. @endif libiberty-linker-plugin-bootstrap
  21170. .PHONY: all-stagefeedback-libiberty-linker-plugin maybe-all-stagefeedback-libiberty-linker-plugin
  21171. .PHONY: clean-stagefeedback-libiberty-linker-plugin maybe-clean-stagefeedback-libiberty-linker-plugin
  21172. maybe-all-stagefeedback-libiberty-linker-plugin:
  21173. maybe-clean-stagefeedback-libiberty-linker-plugin:
  21174. @if libiberty-linker-plugin-bootstrap
  21175. maybe-all-stagefeedback-libiberty-linker-plugin: all-stagefeedback-libiberty-linker-plugin
  21176. all-stagefeedback: all-stagefeedback-libiberty-linker-plugin
  21177. TARGET-stagefeedback-libiberty-linker-plugin = $(TARGET-libiberty-linker-plugin)
  21178. all-stagefeedback-libiberty-linker-plugin: configure-stagefeedback-libiberty-linker-plugin
  21179. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  21180. @r=`${PWD_COMMAND}`; export r; \
  21181. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21182. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  21183. $(HOST_EXPORTS) \
  21184. $(POSTSTAGE1_HOST_EXPORTS) \
  21185. cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21186. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  21187. CFLAGS="$(STAGEfeedback_CFLAGS)" \
  21188. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
  21189. LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
  21190. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  21191. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  21192. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  21193. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
  21194. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  21195. $(TARGET-stagefeedback-libiberty-linker-plugin)
  21196. maybe-clean-stagefeedback-libiberty-linker-plugin: clean-stagefeedback-libiberty-linker-plugin
  21197. clean-stagefeedback: clean-stagefeedback-libiberty-linker-plugin
  21198. clean-stagefeedback-libiberty-linker-plugin:
  21199. @if [ $(current_stage) = stagefeedback ]; then \
  21200. [ -f $(HOST_SUBDIR)/libiberty-linker-plugin/Makefile ] || exit 0; \
  21201. else \
  21202. [ -f $(HOST_SUBDIR)/stagefeedback-libiberty-linker-plugin/Makefile ] || exit 0; \
  21203. $(MAKE) stagefeedback-start; \
  21204. fi; \
  21205. cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21206. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
  21207. @endif libiberty-linker-plugin-bootstrap
  21208. .PHONY: check-libiberty-linker-plugin maybe-check-libiberty-linker-plugin
  21209. maybe-check-libiberty-linker-plugin:
  21210. @if libiberty-linker-plugin
  21211. maybe-check-libiberty-linker-plugin: check-libiberty-linker-plugin
  21212. check-libiberty-linker-plugin:
  21213. @: $(MAKE); $(unstage)
  21214. @r=`${PWD_COMMAND}`; export r; \
  21215. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21216. $(HOST_EXPORTS) \
  21217. (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21218. $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ check)
  21219. @endif libiberty-linker-plugin
  21220. .PHONY: install-libiberty-linker-plugin maybe-install-libiberty-linker-plugin
  21221. maybe-install-libiberty-linker-plugin:
  21222. @if libiberty-linker-plugin
  21223. maybe-install-libiberty-linker-plugin: install-libiberty-linker-plugin
  21224. install-libiberty-linker-plugin: installdirs
  21225. @: $(MAKE); $(unstage)
  21226. @r=`${PWD_COMMAND}`; export r; \
  21227. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21228. $(HOST_EXPORTS) \
  21229. (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21230. $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
  21231. @endif libiberty-linker-plugin
  21232. .PHONY: install-strip-libiberty-linker-plugin maybe-install-strip-libiberty-linker-plugin
  21233. maybe-install-strip-libiberty-linker-plugin:
  21234. @if libiberty-linker-plugin
  21235. maybe-install-strip-libiberty-linker-plugin: install-strip-libiberty-linker-plugin
  21236. install-strip-libiberty-linker-plugin: installdirs
  21237. @: $(MAKE); $(unstage)
  21238. @r=`${PWD_COMMAND}`; export r; \
  21239. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21240. $(HOST_EXPORTS) \
  21241. (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21242. $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
  21243. @endif libiberty-linker-plugin
  21244. # Other targets (info, dvi, pdf, etc.)
  21245. .PHONY: maybe-info-libiberty-linker-plugin info-libiberty-linker-plugin
  21246. maybe-info-libiberty-linker-plugin:
  21247. @if libiberty-linker-plugin
  21248. maybe-info-libiberty-linker-plugin: info-libiberty-linker-plugin
  21249. info-libiberty-linker-plugin: \
  21250. configure-libiberty-linker-plugin
  21251. @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
  21252. r=`${PWD_COMMAND}`; export r; \
  21253. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21254. $(HOST_EXPORTS) \
  21255. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  21256. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21257. done; \
  21258. echo "Doing info in libiberty-linker-plugin" ; \
  21259. (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21260. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21261. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21262. "RANLIB=$${RANLIB}" \
  21263. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21264. info) \
  21265. || exit 1
  21266. @endif libiberty-linker-plugin
  21267. .PHONY: maybe-dvi-libiberty-linker-plugin dvi-libiberty-linker-plugin
  21268. maybe-dvi-libiberty-linker-plugin:
  21269. @if libiberty-linker-plugin
  21270. maybe-dvi-libiberty-linker-plugin: dvi-libiberty-linker-plugin
  21271. dvi-libiberty-linker-plugin: \
  21272. configure-libiberty-linker-plugin
  21273. @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
  21274. r=`${PWD_COMMAND}`; export r; \
  21275. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21276. $(HOST_EXPORTS) \
  21277. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  21278. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21279. done; \
  21280. echo "Doing dvi in libiberty-linker-plugin" ; \
  21281. (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21282. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21283. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21284. "RANLIB=$${RANLIB}" \
  21285. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21286. dvi) \
  21287. || exit 1
  21288. @endif libiberty-linker-plugin
  21289. .PHONY: maybe-pdf-libiberty-linker-plugin pdf-libiberty-linker-plugin
  21290. maybe-pdf-libiberty-linker-plugin:
  21291. @if libiberty-linker-plugin
  21292. maybe-pdf-libiberty-linker-plugin: pdf-libiberty-linker-plugin
  21293. pdf-libiberty-linker-plugin: \
  21294. configure-libiberty-linker-plugin
  21295. @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
  21296. r=`${PWD_COMMAND}`; export r; \
  21297. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21298. $(HOST_EXPORTS) \
  21299. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  21300. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21301. done; \
  21302. echo "Doing pdf in libiberty-linker-plugin" ; \
  21303. (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21304. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21305. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21306. "RANLIB=$${RANLIB}" \
  21307. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21308. pdf) \
  21309. || exit 1
  21310. @endif libiberty-linker-plugin
  21311. .PHONY: maybe-html-libiberty-linker-plugin html-libiberty-linker-plugin
  21312. maybe-html-libiberty-linker-plugin:
  21313. @if libiberty-linker-plugin
  21314. maybe-html-libiberty-linker-plugin: html-libiberty-linker-plugin
  21315. html-libiberty-linker-plugin: \
  21316. configure-libiberty-linker-plugin
  21317. @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
  21318. r=`${PWD_COMMAND}`; export r; \
  21319. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21320. $(HOST_EXPORTS) \
  21321. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  21322. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21323. done; \
  21324. echo "Doing html in libiberty-linker-plugin" ; \
  21325. (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21326. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21327. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21328. "RANLIB=$${RANLIB}" \
  21329. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21330. html) \
  21331. || exit 1
  21332. @endif libiberty-linker-plugin
  21333. .PHONY: maybe-TAGS-libiberty-linker-plugin TAGS-libiberty-linker-plugin
  21334. maybe-TAGS-libiberty-linker-plugin:
  21335. @if libiberty-linker-plugin
  21336. maybe-TAGS-libiberty-linker-plugin: TAGS-libiberty-linker-plugin
  21337. TAGS-libiberty-linker-plugin: \
  21338. configure-libiberty-linker-plugin
  21339. @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
  21340. r=`${PWD_COMMAND}`; export r; \
  21341. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21342. $(HOST_EXPORTS) \
  21343. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  21344. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21345. done; \
  21346. echo "Doing TAGS in libiberty-linker-plugin" ; \
  21347. (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21348. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21349. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21350. "RANLIB=$${RANLIB}" \
  21351. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21352. TAGS) \
  21353. || exit 1
  21354. @endif libiberty-linker-plugin
  21355. .PHONY: maybe-install-info-libiberty-linker-plugin install-info-libiberty-linker-plugin
  21356. maybe-install-info-libiberty-linker-plugin:
  21357. @if libiberty-linker-plugin
  21358. maybe-install-info-libiberty-linker-plugin: install-info-libiberty-linker-plugin
  21359. install-info-libiberty-linker-plugin: \
  21360. configure-libiberty-linker-plugin \
  21361. info-libiberty-linker-plugin
  21362. @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
  21363. r=`${PWD_COMMAND}`; export r; \
  21364. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21365. $(HOST_EXPORTS) \
  21366. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  21367. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21368. done; \
  21369. echo "Doing install-info in libiberty-linker-plugin" ; \
  21370. (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21371. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21372. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21373. "RANLIB=$${RANLIB}" \
  21374. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21375. install-info) \
  21376. || exit 1
  21377. @endif libiberty-linker-plugin
  21378. .PHONY: maybe-install-pdf-libiberty-linker-plugin install-pdf-libiberty-linker-plugin
  21379. maybe-install-pdf-libiberty-linker-plugin:
  21380. @if libiberty-linker-plugin
  21381. maybe-install-pdf-libiberty-linker-plugin: install-pdf-libiberty-linker-plugin
  21382. install-pdf-libiberty-linker-plugin: \
  21383. configure-libiberty-linker-plugin \
  21384. pdf-libiberty-linker-plugin
  21385. @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
  21386. r=`${PWD_COMMAND}`; export r; \
  21387. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21388. $(HOST_EXPORTS) \
  21389. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  21390. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21391. done; \
  21392. echo "Doing install-pdf in libiberty-linker-plugin" ; \
  21393. (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21394. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21395. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21396. "RANLIB=$${RANLIB}" \
  21397. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21398. install-pdf) \
  21399. || exit 1
  21400. @endif libiberty-linker-plugin
  21401. .PHONY: maybe-install-html-libiberty-linker-plugin install-html-libiberty-linker-plugin
  21402. maybe-install-html-libiberty-linker-plugin:
  21403. @if libiberty-linker-plugin
  21404. maybe-install-html-libiberty-linker-plugin: install-html-libiberty-linker-plugin
  21405. install-html-libiberty-linker-plugin: \
  21406. configure-libiberty-linker-plugin \
  21407. html-libiberty-linker-plugin
  21408. @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
  21409. r=`${PWD_COMMAND}`; export r; \
  21410. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21411. $(HOST_EXPORTS) \
  21412. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  21413. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21414. done; \
  21415. echo "Doing install-html in libiberty-linker-plugin" ; \
  21416. (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21417. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21418. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21419. "RANLIB=$${RANLIB}" \
  21420. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21421. install-html) \
  21422. || exit 1
  21423. @endif libiberty-linker-plugin
  21424. .PHONY: maybe-installcheck-libiberty-linker-plugin installcheck-libiberty-linker-plugin
  21425. maybe-installcheck-libiberty-linker-plugin:
  21426. @if libiberty-linker-plugin
  21427. maybe-installcheck-libiberty-linker-plugin: installcheck-libiberty-linker-plugin
  21428. installcheck-libiberty-linker-plugin: \
  21429. configure-libiberty-linker-plugin
  21430. @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
  21431. r=`${PWD_COMMAND}`; export r; \
  21432. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21433. $(HOST_EXPORTS) \
  21434. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  21435. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21436. done; \
  21437. echo "Doing installcheck in libiberty-linker-plugin" ; \
  21438. (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21439. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21440. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21441. "RANLIB=$${RANLIB}" \
  21442. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21443. installcheck) \
  21444. || exit 1
  21445. @endif libiberty-linker-plugin
  21446. .PHONY: maybe-mostlyclean-libiberty-linker-plugin mostlyclean-libiberty-linker-plugin
  21447. maybe-mostlyclean-libiberty-linker-plugin:
  21448. @if libiberty-linker-plugin
  21449. maybe-mostlyclean-libiberty-linker-plugin: mostlyclean-libiberty-linker-plugin
  21450. mostlyclean-libiberty-linker-plugin:
  21451. @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
  21452. r=`${PWD_COMMAND}`; export r; \
  21453. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21454. $(HOST_EXPORTS) \
  21455. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  21456. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21457. done; \
  21458. echo "Doing mostlyclean in libiberty-linker-plugin" ; \
  21459. (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21460. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21461. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21462. "RANLIB=$${RANLIB}" \
  21463. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21464. mostlyclean) \
  21465. || exit 1
  21466. @endif libiberty-linker-plugin
  21467. .PHONY: maybe-clean-libiberty-linker-plugin clean-libiberty-linker-plugin
  21468. maybe-clean-libiberty-linker-plugin:
  21469. @if libiberty-linker-plugin
  21470. maybe-clean-libiberty-linker-plugin: clean-libiberty-linker-plugin
  21471. clean-libiberty-linker-plugin:
  21472. @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
  21473. r=`${PWD_COMMAND}`; export r; \
  21474. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21475. $(HOST_EXPORTS) \
  21476. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  21477. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21478. done; \
  21479. echo "Doing clean in libiberty-linker-plugin" ; \
  21480. (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21481. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21482. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21483. "RANLIB=$${RANLIB}" \
  21484. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21485. clean) \
  21486. || exit 1
  21487. @endif libiberty-linker-plugin
  21488. .PHONY: maybe-distclean-libiberty-linker-plugin distclean-libiberty-linker-plugin
  21489. maybe-distclean-libiberty-linker-plugin:
  21490. @if libiberty-linker-plugin
  21491. maybe-distclean-libiberty-linker-plugin: distclean-libiberty-linker-plugin
  21492. distclean-libiberty-linker-plugin:
  21493. @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
  21494. r=`${PWD_COMMAND}`; export r; \
  21495. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21496. $(HOST_EXPORTS) \
  21497. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  21498. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21499. done; \
  21500. echo "Doing distclean in libiberty-linker-plugin" ; \
  21501. (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21502. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21503. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21504. "RANLIB=$${RANLIB}" \
  21505. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21506. distclean) \
  21507. || exit 1
  21508. @endif libiberty-linker-plugin
  21509. .PHONY: maybe-maintainer-clean-libiberty-linker-plugin maintainer-clean-libiberty-linker-plugin
  21510. maybe-maintainer-clean-libiberty-linker-plugin:
  21511. @if libiberty-linker-plugin
  21512. maybe-maintainer-clean-libiberty-linker-plugin: maintainer-clean-libiberty-linker-plugin
  21513. maintainer-clean-libiberty-linker-plugin:
  21514. @[ -f ./libiberty-linker-plugin/Makefile ] || exit 0; \
  21515. r=`${PWD_COMMAND}`; export r; \
  21516. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21517. $(HOST_EXPORTS) \
  21518. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  21519. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21520. done; \
  21521. echo "Doing maintainer-clean in libiberty-linker-plugin" ; \
  21522. (cd $(HOST_SUBDIR)/libiberty-linker-plugin && \
  21523. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21524. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21525. "RANLIB=$${RANLIB}" \
  21526. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21527. maintainer-clean) \
  21528. || exit 1
  21529. @endif libiberty-linker-plugin
  21530. .PHONY: configure-libiconv maybe-configure-libiconv
  21531. maybe-configure-libiconv:
  21532. @if gcc-bootstrap
  21533. configure-libiconv: stage_current
  21534. @endif gcc-bootstrap
  21535. @if libiconv
  21536. maybe-configure-libiconv: configure-libiconv
  21537. configure-libiconv:
  21538. @: $(MAKE); $(unstage)
  21539. @r=`${PWD_COMMAND}`; export r; \
  21540. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21541. test ! -f $(HOST_SUBDIR)/libiconv/Makefile || exit 0; \
  21542. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiconv ; \
  21543. $(HOST_EXPORTS) \
  21544. echo Configuring in $(HOST_SUBDIR)/libiconv; \
  21545. cd "$(HOST_SUBDIR)/libiconv" || exit 1; \
  21546. case $(srcdir) in \
  21547. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  21548. *) topdir=`echo $(HOST_SUBDIR)/libiconv/ | \
  21549. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  21550. esac; \
  21551. module_srcdir=libiconv; \
  21552. $(SHELL) \
  21553. $$s/$$module_srcdir/configure \
  21554. --srcdir=$${topdir}/$$module_srcdir \
  21555. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  21556. --target=${target_alias} --disable-shared \
  21557. || exit 1
  21558. @endif libiconv
  21559. .PHONY: all-libiconv maybe-all-libiconv
  21560. maybe-all-libiconv:
  21561. @if gcc-bootstrap
  21562. all-libiconv: stage_current
  21563. @endif gcc-bootstrap
  21564. @if libiconv
  21565. TARGET-libiconv=all
  21566. maybe-all-libiconv: all-libiconv
  21567. all-libiconv: configure-libiconv
  21568. @: $(MAKE); $(unstage)
  21569. @r=`${PWD_COMMAND}`; export r; \
  21570. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21571. $(HOST_EXPORTS) \
  21572. (cd $(HOST_SUBDIR)/libiconv && \
  21573. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  21574. $(TARGET-libiconv))
  21575. @endif libiconv
  21576. .PHONY: check-libiconv maybe-check-libiconv
  21577. maybe-check-libiconv:
  21578. @if libiconv
  21579. maybe-check-libiconv: check-libiconv
  21580. check-libiconv:
  21581. @: $(MAKE); $(unstage)
  21582. @r=`${PWD_COMMAND}`; export r; \
  21583. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21584. $(HOST_EXPORTS) \
  21585. (cd $(HOST_SUBDIR)/libiconv && \
  21586. $(MAKE) $(FLAGS_TO_PASS) check)
  21587. @endif libiconv
  21588. .PHONY: install-libiconv maybe-install-libiconv
  21589. maybe-install-libiconv:
  21590. @if libiconv
  21591. maybe-install-libiconv: install-libiconv
  21592. install-libiconv:
  21593. @endif libiconv
  21594. .PHONY: install-strip-libiconv maybe-install-strip-libiconv
  21595. maybe-install-strip-libiconv:
  21596. @if libiconv
  21597. maybe-install-strip-libiconv: install-strip-libiconv
  21598. install-strip-libiconv:
  21599. @endif libiconv
  21600. # Other targets (info, dvi, pdf, etc.)
  21601. .PHONY: maybe-info-libiconv info-libiconv
  21602. maybe-info-libiconv:
  21603. @if libiconv
  21604. maybe-info-libiconv: info-libiconv
  21605. info-libiconv: \
  21606. configure-libiconv
  21607. @: $(MAKE); $(unstage)
  21608. @[ -f ./libiconv/Makefile ] || exit 0; \
  21609. r=`${PWD_COMMAND}`; export r; \
  21610. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21611. $(HOST_EXPORTS) \
  21612. for flag in $(EXTRA_HOST_FLAGS) ; do \
  21613. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21614. done; \
  21615. echo "Doing info in libiconv" ; \
  21616. (cd $(HOST_SUBDIR)/libiconv && \
  21617. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21618. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21619. "RANLIB=$${RANLIB}" \
  21620. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21621. info) \
  21622. || exit 1
  21623. @endif libiconv
  21624. .PHONY: maybe-dvi-libiconv dvi-libiconv
  21625. maybe-dvi-libiconv:
  21626. @if libiconv
  21627. maybe-dvi-libiconv: dvi-libiconv
  21628. dvi-libiconv: \
  21629. configure-libiconv
  21630. @: $(MAKE); $(unstage)
  21631. @[ -f ./libiconv/Makefile ] || exit 0; \
  21632. r=`${PWD_COMMAND}`; export r; \
  21633. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21634. $(HOST_EXPORTS) \
  21635. for flag in $(EXTRA_HOST_FLAGS) ; do \
  21636. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21637. done; \
  21638. echo "Doing dvi in libiconv" ; \
  21639. (cd $(HOST_SUBDIR)/libiconv && \
  21640. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21641. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21642. "RANLIB=$${RANLIB}" \
  21643. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21644. dvi) \
  21645. || exit 1
  21646. @endif libiconv
  21647. .PHONY: maybe-pdf-libiconv pdf-libiconv
  21648. maybe-pdf-libiconv:
  21649. @if libiconv
  21650. maybe-pdf-libiconv: pdf-libiconv
  21651. pdf-libiconv: \
  21652. configure-libiconv
  21653. @: $(MAKE); $(unstage)
  21654. @[ -f ./libiconv/Makefile ] || exit 0; \
  21655. r=`${PWD_COMMAND}`; export r; \
  21656. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21657. $(HOST_EXPORTS) \
  21658. for flag in $(EXTRA_HOST_FLAGS) ; do \
  21659. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21660. done; \
  21661. echo "Doing pdf in libiconv" ; \
  21662. (cd $(HOST_SUBDIR)/libiconv && \
  21663. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21664. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21665. "RANLIB=$${RANLIB}" \
  21666. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21667. pdf) \
  21668. || exit 1
  21669. @endif libiconv
  21670. .PHONY: maybe-html-libiconv html-libiconv
  21671. maybe-html-libiconv:
  21672. @if libiconv
  21673. maybe-html-libiconv: html-libiconv
  21674. html-libiconv: \
  21675. configure-libiconv
  21676. @: $(MAKE); $(unstage)
  21677. @[ -f ./libiconv/Makefile ] || exit 0; \
  21678. r=`${PWD_COMMAND}`; export r; \
  21679. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21680. $(HOST_EXPORTS) \
  21681. for flag in $(EXTRA_HOST_FLAGS) ; do \
  21682. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21683. done; \
  21684. echo "Doing html in libiconv" ; \
  21685. (cd $(HOST_SUBDIR)/libiconv && \
  21686. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21687. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21688. "RANLIB=$${RANLIB}" \
  21689. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21690. html) \
  21691. || exit 1
  21692. @endif libiconv
  21693. .PHONY: maybe-TAGS-libiconv TAGS-libiconv
  21694. maybe-TAGS-libiconv:
  21695. @if libiconv
  21696. maybe-TAGS-libiconv: TAGS-libiconv
  21697. TAGS-libiconv: \
  21698. configure-libiconv
  21699. @: $(MAKE); $(unstage)
  21700. @[ -f ./libiconv/Makefile ] || exit 0; \
  21701. r=`${PWD_COMMAND}`; export r; \
  21702. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21703. $(HOST_EXPORTS) \
  21704. for flag in $(EXTRA_HOST_FLAGS) ; do \
  21705. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21706. done; \
  21707. echo "Doing TAGS in libiconv" ; \
  21708. (cd $(HOST_SUBDIR)/libiconv && \
  21709. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21710. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21711. "RANLIB=$${RANLIB}" \
  21712. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21713. TAGS) \
  21714. || exit 1
  21715. @endif libiconv
  21716. .PHONY: maybe-install-info-libiconv install-info-libiconv
  21717. maybe-install-info-libiconv:
  21718. @if libiconv
  21719. maybe-install-info-libiconv: install-info-libiconv
  21720. # libiconv doesn't support install-info.
  21721. install-info-libiconv:
  21722. @endif libiconv
  21723. .PHONY: maybe-install-pdf-libiconv install-pdf-libiconv
  21724. maybe-install-pdf-libiconv:
  21725. @if libiconv
  21726. maybe-install-pdf-libiconv: install-pdf-libiconv
  21727. # libiconv doesn't support install-pdf.
  21728. install-pdf-libiconv:
  21729. @endif libiconv
  21730. .PHONY: maybe-install-html-libiconv install-html-libiconv
  21731. maybe-install-html-libiconv:
  21732. @if libiconv
  21733. maybe-install-html-libiconv: install-html-libiconv
  21734. # libiconv doesn't support install-html.
  21735. install-html-libiconv:
  21736. @endif libiconv
  21737. .PHONY: maybe-installcheck-libiconv installcheck-libiconv
  21738. maybe-installcheck-libiconv:
  21739. @if libiconv
  21740. maybe-installcheck-libiconv: installcheck-libiconv
  21741. installcheck-libiconv: \
  21742. configure-libiconv
  21743. @: $(MAKE); $(unstage)
  21744. @[ -f ./libiconv/Makefile ] || exit 0; \
  21745. r=`${PWD_COMMAND}`; export r; \
  21746. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21747. $(HOST_EXPORTS) \
  21748. for flag in $(EXTRA_HOST_FLAGS) ; do \
  21749. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21750. done; \
  21751. echo "Doing installcheck in libiconv" ; \
  21752. (cd $(HOST_SUBDIR)/libiconv && \
  21753. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21754. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21755. "RANLIB=$${RANLIB}" \
  21756. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21757. installcheck) \
  21758. || exit 1
  21759. @endif libiconv
  21760. .PHONY: maybe-mostlyclean-libiconv mostlyclean-libiconv
  21761. maybe-mostlyclean-libiconv:
  21762. @if libiconv
  21763. maybe-mostlyclean-libiconv: mostlyclean-libiconv
  21764. mostlyclean-libiconv:
  21765. @: $(MAKE); $(unstage)
  21766. @[ -f ./libiconv/Makefile ] || exit 0; \
  21767. r=`${PWD_COMMAND}`; export r; \
  21768. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21769. $(HOST_EXPORTS) \
  21770. for flag in $(EXTRA_HOST_FLAGS) ; do \
  21771. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21772. done; \
  21773. echo "Doing mostlyclean in libiconv" ; \
  21774. (cd $(HOST_SUBDIR)/libiconv && \
  21775. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21776. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21777. "RANLIB=$${RANLIB}" \
  21778. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21779. mostlyclean) \
  21780. || exit 1
  21781. @endif libiconv
  21782. .PHONY: maybe-clean-libiconv clean-libiconv
  21783. maybe-clean-libiconv:
  21784. @if libiconv
  21785. maybe-clean-libiconv: clean-libiconv
  21786. clean-libiconv:
  21787. @: $(MAKE); $(unstage)
  21788. @[ -f ./libiconv/Makefile ] || exit 0; \
  21789. r=`${PWD_COMMAND}`; export r; \
  21790. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21791. $(HOST_EXPORTS) \
  21792. for flag in $(EXTRA_HOST_FLAGS) ; do \
  21793. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21794. done; \
  21795. echo "Doing clean in libiconv" ; \
  21796. (cd $(HOST_SUBDIR)/libiconv && \
  21797. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21798. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21799. "RANLIB=$${RANLIB}" \
  21800. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21801. clean) \
  21802. || exit 1
  21803. @endif libiconv
  21804. .PHONY: maybe-distclean-libiconv distclean-libiconv
  21805. maybe-distclean-libiconv:
  21806. @if libiconv
  21807. maybe-distclean-libiconv: distclean-libiconv
  21808. distclean-libiconv:
  21809. @: $(MAKE); $(unstage)
  21810. @[ -f ./libiconv/Makefile ] || exit 0; \
  21811. r=`${PWD_COMMAND}`; export r; \
  21812. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21813. $(HOST_EXPORTS) \
  21814. for flag in $(EXTRA_HOST_FLAGS) ; do \
  21815. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21816. done; \
  21817. echo "Doing distclean in libiconv" ; \
  21818. (cd $(HOST_SUBDIR)/libiconv && \
  21819. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21820. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21821. "RANLIB=$${RANLIB}" \
  21822. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21823. distclean) \
  21824. || exit 1
  21825. @endif libiconv
  21826. .PHONY: maybe-maintainer-clean-libiconv maintainer-clean-libiconv
  21827. maybe-maintainer-clean-libiconv:
  21828. @if libiconv
  21829. maybe-maintainer-clean-libiconv: maintainer-clean-libiconv
  21830. maintainer-clean-libiconv:
  21831. @: $(MAKE); $(unstage)
  21832. @[ -f ./libiconv/Makefile ] || exit 0; \
  21833. r=`${PWD_COMMAND}`; export r; \
  21834. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21835. $(HOST_EXPORTS) \
  21836. for flag in $(EXTRA_HOST_FLAGS) ; do \
  21837. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21838. done; \
  21839. echo "Doing maintainer-clean in libiconv" ; \
  21840. (cd $(HOST_SUBDIR)/libiconv && \
  21841. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21842. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21843. "RANLIB=$${RANLIB}" \
  21844. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21845. maintainer-clean) \
  21846. || exit 1
  21847. @endif libiconv
  21848. .PHONY: configure-m4 maybe-configure-m4
  21849. maybe-configure-m4:
  21850. @if gcc-bootstrap
  21851. configure-m4: stage_current
  21852. @endif gcc-bootstrap
  21853. @if m4
  21854. maybe-configure-m4: configure-m4
  21855. configure-m4:
  21856. @: $(MAKE); $(unstage)
  21857. @r=`${PWD_COMMAND}`; export r; \
  21858. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21859. test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
  21860. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
  21861. $(HOST_EXPORTS) \
  21862. echo Configuring in $(HOST_SUBDIR)/m4; \
  21863. cd "$(HOST_SUBDIR)/m4" || exit 1; \
  21864. case $(srcdir) in \
  21865. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  21866. *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
  21867. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  21868. esac; \
  21869. module_srcdir=m4; \
  21870. $(SHELL) \
  21871. $$s/$$module_srcdir/configure \
  21872. --srcdir=$${topdir}/$$module_srcdir \
  21873. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  21874. --target=${target_alias} \
  21875. || exit 1
  21876. @endif m4
  21877. .PHONY: all-m4 maybe-all-m4
  21878. maybe-all-m4:
  21879. @if gcc-bootstrap
  21880. all-m4: stage_current
  21881. @endif gcc-bootstrap
  21882. @if m4
  21883. TARGET-m4=all
  21884. maybe-all-m4: all-m4
  21885. all-m4: configure-m4
  21886. @: $(MAKE); $(unstage)
  21887. @r=`${PWD_COMMAND}`; export r; \
  21888. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21889. $(HOST_EXPORTS) \
  21890. (cd $(HOST_SUBDIR)/m4 && \
  21891. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  21892. $(TARGET-m4))
  21893. @endif m4
  21894. .PHONY: check-m4 maybe-check-m4
  21895. maybe-check-m4:
  21896. @if m4
  21897. maybe-check-m4: check-m4
  21898. check-m4:
  21899. @: $(MAKE); $(unstage)
  21900. @r=`${PWD_COMMAND}`; export r; \
  21901. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21902. $(HOST_EXPORTS) \
  21903. (cd $(HOST_SUBDIR)/m4 && \
  21904. $(MAKE) $(FLAGS_TO_PASS) check)
  21905. @endif m4
  21906. .PHONY: install-m4 maybe-install-m4
  21907. maybe-install-m4:
  21908. @if m4
  21909. maybe-install-m4: install-m4
  21910. install-m4: installdirs
  21911. @: $(MAKE); $(unstage)
  21912. @r=`${PWD_COMMAND}`; export r; \
  21913. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21914. $(HOST_EXPORTS) \
  21915. (cd $(HOST_SUBDIR)/m4 && \
  21916. $(MAKE) $(FLAGS_TO_PASS) install)
  21917. @endif m4
  21918. .PHONY: install-strip-m4 maybe-install-strip-m4
  21919. maybe-install-strip-m4:
  21920. @if m4
  21921. maybe-install-strip-m4: install-strip-m4
  21922. install-strip-m4: installdirs
  21923. @: $(MAKE); $(unstage)
  21924. @r=`${PWD_COMMAND}`; export r; \
  21925. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21926. $(HOST_EXPORTS) \
  21927. (cd $(HOST_SUBDIR)/m4 && \
  21928. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  21929. @endif m4
  21930. # Other targets (info, dvi, pdf, etc.)
  21931. .PHONY: maybe-info-m4 info-m4
  21932. maybe-info-m4:
  21933. @if m4
  21934. maybe-info-m4: info-m4
  21935. info-m4: \
  21936. configure-m4
  21937. @: $(MAKE); $(unstage)
  21938. @[ -f ./m4/Makefile ] || exit 0; \
  21939. r=`${PWD_COMMAND}`; export r; \
  21940. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21941. $(HOST_EXPORTS) \
  21942. for flag in $(EXTRA_HOST_FLAGS) ; do \
  21943. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21944. done; \
  21945. echo "Doing info in m4" ; \
  21946. (cd $(HOST_SUBDIR)/m4 && \
  21947. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21948. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21949. "RANLIB=$${RANLIB}" \
  21950. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21951. info) \
  21952. || exit 1
  21953. @endif m4
  21954. .PHONY: maybe-dvi-m4 dvi-m4
  21955. maybe-dvi-m4:
  21956. @if m4
  21957. maybe-dvi-m4: dvi-m4
  21958. dvi-m4: \
  21959. configure-m4
  21960. @: $(MAKE); $(unstage)
  21961. @[ -f ./m4/Makefile ] || exit 0; \
  21962. r=`${PWD_COMMAND}`; export r; \
  21963. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21964. $(HOST_EXPORTS) \
  21965. for flag in $(EXTRA_HOST_FLAGS) ; do \
  21966. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21967. done; \
  21968. echo "Doing dvi in m4" ; \
  21969. (cd $(HOST_SUBDIR)/m4 && \
  21970. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21971. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21972. "RANLIB=$${RANLIB}" \
  21973. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21974. dvi) \
  21975. || exit 1
  21976. @endif m4
  21977. .PHONY: maybe-pdf-m4 pdf-m4
  21978. maybe-pdf-m4:
  21979. @if m4
  21980. maybe-pdf-m4: pdf-m4
  21981. pdf-m4: \
  21982. configure-m4
  21983. @: $(MAKE); $(unstage)
  21984. @[ -f ./m4/Makefile ] || exit 0; \
  21985. r=`${PWD_COMMAND}`; export r; \
  21986. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  21987. $(HOST_EXPORTS) \
  21988. for flag in $(EXTRA_HOST_FLAGS) ; do \
  21989. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  21990. done; \
  21991. echo "Doing pdf in m4" ; \
  21992. (cd $(HOST_SUBDIR)/m4 && \
  21993. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  21994. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  21995. "RANLIB=$${RANLIB}" \
  21996. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  21997. pdf) \
  21998. || exit 1
  21999. @endif m4
  22000. .PHONY: maybe-html-m4 html-m4
  22001. maybe-html-m4:
  22002. @if m4
  22003. maybe-html-m4: html-m4
  22004. html-m4: \
  22005. configure-m4
  22006. @: $(MAKE); $(unstage)
  22007. @[ -f ./m4/Makefile ] || exit 0; \
  22008. r=`${PWD_COMMAND}`; export r; \
  22009. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22010. $(HOST_EXPORTS) \
  22011. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22012. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22013. done; \
  22014. echo "Doing html in m4" ; \
  22015. (cd $(HOST_SUBDIR)/m4 && \
  22016. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22017. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22018. "RANLIB=$${RANLIB}" \
  22019. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22020. html) \
  22021. || exit 1
  22022. @endif m4
  22023. .PHONY: maybe-TAGS-m4 TAGS-m4
  22024. maybe-TAGS-m4:
  22025. @if m4
  22026. maybe-TAGS-m4: TAGS-m4
  22027. TAGS-m4: \
  22028. configure-m4
  22029. @: $(MAKE); $(unstage)
  22030. @[ -f ./m4/Makefile ] || exit 0; \
  22031. r=`${PWD_COMMAND}`; export r; \
  22032. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22033. $(HOST_EXPORTS) \
  22034. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22035. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22036. done; \
  22037. echo "Doing TAGS in m4" ; \
  22038. (cd $(HOST_SUBDIR)/m4 && \
  22039. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22040. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22041. "RANLIB=$${RANLIB}" \
  22042. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22043. TAGS) \
  22044. || exit 1
  22045. @endif m4
  22046. .PHONY: maybe-install-info-m4 install-info-m4
  22047. maybe-install-info-m4:
  22048. @if m4
  22049. maybe-install-info-m4: install-info-m4
  22050. install-info-m4: \
  22051. configure-m4 \
  22052. info-m4
  22053. @: $(MAKE); $(unstage)
  22054. @[ -f ./m4/Makefile ] || exit 0; \
  22055. r=`${PWD_COMMAND}`; export r; \
  22056. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22057. $(HOST_EXPORTS) \
  22058. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22059. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22060. done; \
  22061. echo "Doing install-info in m4" ; \
  22062. (cd $(HOST_SUBDIR)/m4 && \
  22063. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22064. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22065. "RANLIB=$${RANLIB}" \
  22066. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22067. install-info) \
  22068. || exit 1
  22069. @endif m4
  22070. .PHONY: maybe-install-pdf-m4 install-pdf-m4
  22071. maybe-install-pdf-m4:
  22072. @if m4
  22073. maybe-install-pdf-m4: install-pdf-m4
  22074. install-pdf-m4: \
  22075. configure-m4 \
  22076. pdf-m4
  22077. @: $(MAKE); $(unstage)
  22078. @[ -f ./m4/Makefile ] || exit 0; \
  22079. r=`${PWD_COMMAND}`; export r; \
  22080. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22081. $(HOST_EXPORTS) \
  22082. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22083. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22084. done; \
  22085. echo "Doing install-pdf in m4" ; \
  22086. (cd $(HOST_SUBDIR)/m4 && \
  22087. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22088. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22089. "RANLIB=$${RANLIB}" \
  22090. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22091. install-pdf) \
  22092. || exit 1
  22093. @endif m4
  22094. .PHONY: maybe-install-html-m4 install-html-m4
  22095. maybe-install-html-m4:
  22096. @if m4
  22097. maybe-install-html-m4: install-html-m4
  22098. install-html-m4: \
  22099. configure-m4 \
  22100. html-m4
  22101. @: $(MAKE); $(unstage)
  22102. @[ -f ./m4/Makefile ] || exit 0; \
  22103. r=`${PWD_COMMAND}`; export r; \
  22104. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22105. $(HOST_EXPORTS) \
  22106. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22107. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22108. done; \
  22109. echo "Doing install-html in m4" ; \
  22110. (cd $(HOST_SUBDIR)/m4 && \
  22111. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22112. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22113. "RANLIB=$${RANLIB}" \
  22114. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22115. install-html) \
  22116. || exit 1
  22117. @endif m4
  22118. .PHONY: maybe-installcheck-m4 installcheck-m4
  22119. maybe-installcheck-m4:
  22120. @if m4
  22121. maybe-installcheck-m4: installcheck-m4
  22122. installcheck-m4: \
  22123. configure-m4
  22124. @: $(MAKE); $(unstage)
  22125. @[ -f ./m4/Makefile ] || exit 0; \
  22126. r=`${PWD_COMMAND}`; export r; \
  22127. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22128. $(HOST_EXPORTS) \
  22129. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22130. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22131. done; \
  22132. echo "Doing installcheck in m4" ; \
  22133. (cd $(HOST_SUBDIR)/m4 && \
  22134. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22135. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22136. "RANLIB=$${RANLIB}" \
  22137. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22138. installcheck) \
  22139. || exit 1
  22140. @endif m4
  22141. .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
  22142. maybe-mostlyclean-m4:
  22143. @if m4
  22144. maybe-mostlyclean-m4: mostlyclean-m4
  22145. mostlyclean-m4:
  22146. @: $(MAKE); $(unstage)
  22147. @[ -f ./m4/Makefile ] || exit 0; \
  22148. r=`${PWD_COMMAND}`; export r; \
  22149. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22150. $(HOST_EXPORTS) \
  22151. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22152. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22153. done; \
  22154. echo "Doing mostlyclean in m4" ; \
  22155. (cd $(HOST_SUBDIR)/m4 && \
  22156. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22157. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22158. "RANLIB=$${RANLIB}" \
  22159. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22160. mostlyclean) \
  22161. || exit 1
  22162. @endif m4
  22163. .PHONY: maybe-clean-m4 clean-m4
  22164. maybe-clean-m4:
  22165. @if m4
  22166. maybe-clean-m4: clean-m4
  22167. clean-m4:
  22168. @: $(MAKE); $(unstage)
  22169. @[ -f ./m4/Makefile ] || exit 0; \
  22170. r=`${PWD_COMMAND}`; export r; \
  22171. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22172. $(HOST_EXPORTS) \
  22173. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22174. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22175. done; \
  22176. echo "Doing clean in m4" ; \
  22177. (cd $(HOST_SUBDIR)/m4 && \
  22178. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22179. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22180. "RANLIB=$${RANLIB}" \
  22181. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22182. clean) \
  22183. || exit 1
  22184. @endif m4
  22185. .PHONY: maybe-distclean-m4 distclean-m4
  22186. maybe-distclean-m4:
  22187. @if m4
  22188. maybe-distclean-m4: distclean-m4
  22189. distclean-m4:
  22190. @: $(MAKE); $(unstage)
  22191. @[ -f ./m4/Makefile ] || exit 0; \
  22192. r=`${PWD_COMMAND}`; export r; \
  22193. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22194. $(HOST_EXPORTS) \
  22195. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22196. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22197. done; \
  22198. echo "Doing distclean in m4" ; \
  22199. (cd $(HOST_SUBDIR)/m4 && \
  22200. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22201. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22202. "RANLIB=$${RANLIB}" \
  22203. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22204. distclean) \
  22205. || exit 1
  22206. @endif m4
  22207. .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
  22208. maybe-maintainer-clean-m4:
  22209. @if m4
  22210. maybe-maintainer-clean-m4: maintainer-clean-m4
  22211. maintainer-clean-m4:
  22212. @: $(MAKE); $(unstage)
  22213. @[ -f ./m4/Makefile ] || exit 0; \
  22214. r=`${PWD_COMMAND}`; export r; \
  22215. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22216. $(HOST_EXPORTS) \
  22217. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22218. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22219. done; \
  22220. echo "Doing maintainer-clean in m4" ; \
  22221. (cd $(HOST_SUBDIR)/m4 && \
  22222. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22223. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22224. "RANLIB=$${RANLIB}" \
  22225. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22226. maintainer-clean) \
  22227. || exit 1
  22228. @endif m4
  22229. .PHONY: configure-readline maybe-configure-readline
  22230. maybe-configure-readline:
  22231. @if gcc-bootstrap
  22232. configure-readline: stage_current
  22233. @endif gcc-bootstrap
  22234. @if readline
  22235. maybe-configure-readline: configure-readline
  22236. configure-readline:
  22237. @: $(MAKE); $(unstage)
  22238. @r=`${PWD_COMMAND}`; export r; \
  22239. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22240. test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
  22241. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
  22242. $(HOST_EXPORTS) \
  22243. echo Configuring in $(HOST_SUBDIR)/readline; \
  22244. cd "$(HOST_SUBDIR)/readline" || exit 1; \
  22245. case $(srcdir) in \
  22246. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  22247. *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
  22248. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  22249. esac; \
  22250. module_srcdir=readline; \
  22251. $(SHELL) \
  22252. $$s/$$module_srcdir/configure \
  22253. --srcdir=$${topdir}/$$module_srcdir \
  22254. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  22255. --target=${target_alias} \
  22256. || exit 1
  22257. @endif readline
  22258. .PHONY: all-readline maybe-all-readline
  22259. maybe-all-readline:
  22260. @if gcc-bootstrap
  22261. all-readline: stage_current
  22262. @endif gcc-bootstrap
  22263. @if readline
  22264. TARGET-readline=all
  22265. maybe-all-readline: all-readline
  22266. all-readline: configure-readline
  22267. @: $(MAKE); $(unstage)
  22268. @r=`${PWD_COMMAND}`; export r; \
  22269. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22270. $(HOST_EXPORTS) \
  22271. (cd $(HOST_SUBDIR)/readline && \
  22272. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  22273. $(TARGET-readline))
  22274. @endif readline
  22275. .PHONY: check-readline maybe-check-readline
  22276. maybe-check-readline:
  22277. @if readline
  22278. maybe-check-readline: check-readline
  22279. check-readline:
  22280. @: $(MAKE); $(unstage)
  22281. @r=`${PWD_COMMAND}`; export r; \
  22282. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22283. $(HOST_EXPORTS) \
  22284. (cd $(HOST_SUBDIR)/readline && \
  22285. $(MAKE) $(FLAGS_TO_PASS) check)
  22286. @endif readline
  22287. .PHONY: install-readline maybe-install-readline
  22288. maybe-install-readline:
  22289. @if readline
  22290. maybe-install-readline: install-readline
  22291. install-readline: installdirs
  22292. @: $(MAKE); $(unstage)
  22293. @r=`${PWD_COMMAND}`; export r; \
  22294. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22295. $(HOST_EXPORTS) \
  22296. (cd $(HOST_SUBDIR)/readline && \
  22297. $(MAKE) $(FLAGS_TO_PASS) install)
  22298. @endif readline
  22299. .PHONY: install-strip-readline maybe-install-strip-readline
  22300. maybe-install-strip-readline:
  22301. @if readline
  22302. maybe-install-strip-readline: install-strip-readline
  22303. install-strip-readline: installdirs
  22304. @: $(MAKE); $(unstage)
  22305. @r=`${PWD_COMMAND}`; export r; \
  22306. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22307. $(HOST_EXPORTS) \
  22308. (cd $(HOST_SUBDIR)/readline && \
  22309. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  22310. @endif readline
  22311. # Other targets (info, dvi, pdf, etc.)
  22312. .PHONY: maybe-info-readline info-readline
  22313. maybe-info-readline:
  22314. @if readline
  22315. maybe-info-readline: info-readline
  22316. info-readline: \
  22317. configure-readline
  22318. @: $(MAKE); $(unstage)
  22319. @[ -f ./readline/Makefile ] || exit 0; \
  22320. r=`${PWD_COMMAND}`; export r; \
  22321. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22322. $(HOST_EXPORTS) \
  22323. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22324. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22325. done; \
  22326. echo "Doing info in readline" ; \
  22327. (cd $(HOST_SUBDIR)/readline && \
  22328. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22329. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22330. "RANLIB=$${RANLIB}" \
  22331. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22332. info) \
  22333. || exit 1
  22334. @endif readline
  22335. .PHONY: maybe-dvi-readline dvi-readline
  22336. maybe-dvi-readline:
  22337. @if readline
  22338. maybe-dvi-readline: dvi-readline
  22339. dvi-readline: \
  22340. configure-readline
  22341. @: $(MAKE); $(unstage)
  22342. @[ -f ./readline/Makefile ] || exit 0; \
  22343. r=`${PWD_COMMAND}`; export r; \
  22344. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22345. $(HOST_EXPORTS) \
  22346. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22347. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22348. done; \
  22349. echo "Doing dvi in readline" ; \
  22350. (cd $(HOST_SUBDIR)/readline && \
  22351. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22352. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22353. "RANLIB=$${RANLIB}" \
  22354. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22355. dvi) \
  22356. || exit 1
  22357. @endif readline
  22358. .PHONY: maybe-pdf-readline pdf-readline
  22359. maybe-pdf-readline:
  22360. @if readline
  22361. maybe-pdf-readline: pdf-readline
  22362. pdf-readline: \
  22363. configure-readline
  22364. @: $(MAKE); $(unstage)
  22365. @[ -f ./readline/Makefile ] || exit 0; \
  22366. r=`${PWD_COMMAND}`; export r; \
  22367. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22368. $(HOST_EXPORTS) \
  22369. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22370. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22371. done; \
  22372. echo "Doing pdf in readline" ; \
  22373. (cd $(HOST_SUBDIR)/readline && \
  22374. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22375. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22376. "RANLIB=$${RANLIB}" \
  22377. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22378. pdf) \
  22379. || exit 1
  22380. @endif readline
  22381. .PHONY: maybe-html-readline html-readline
  22382. maybe-html-readline:
  22383. @if readline
  22384. maybe-html-readline: html-readline
  22385. html-readline: \
  22386. configure-readline
  22387. @: $(MAKE); $(unstage)
  22388. @[ -f ./readline/Makefile ] || exit 0; \
  22389. r=`${PWD_COMMAND}`; export r; \
  22390. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22391. $(HOST_EXPORTS) \
  22392. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22393. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22394. done; \
  22395. echo "Doing html in readline" ; \
  22396. (cd $(HOST_SUBDIR)/readline && \
  22397. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22398. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22399. "RANLIB=$${RANLIB}" \
  22400. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22401. html) \
  22402. || exit 1
  22403. @endif readline
  22404. .PHONY: maybe-TAGS-readline TAGS-readline
  22405. maybe-TAGS-readline:
  22406. @if readline
  22407. maybe-TAGS-readline: TAGS-readline
  22408. TAGS-readline: \
  22409. configure-readline
  22410. @: $(MAKE); $(unstage)
  22411. @[ -f ./readline/Makefile ] || exit 0; \
  22412. r=`${PWD_COMMAND}`; export r; \
  22413. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22414. $(HOST_EXPORTS) \
  22415. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22416. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22417. done; \
  22418. echo "Doing TAGS in readline" ; \
  22419. (cd $(HOST_SUBDIR)/readline && \
  22420. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22421. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22422. "RANLIB=$${RANLIB}" \
  22423. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22424. TAGS) \
  22425. || exit 1
  22426. @endif readline
  22427. .PHONY: maybe-install-info-readline install-info-readline
  22428. maybe-install-info-readline:
  22429. @if readline
  22430. maybe-install-info-readline: install-info-readline
  22431. install-info-readline: \
  22432. configure-readline \
  22433. info-readline
  22434. @: $(MAKE); $(unstage)
  22435. @[ -f ./readline/Makefile ] || exit 0; \
  22436. r=`${PWD_COMMAND}`; export r; \
  22437. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22438. $(HOST_EXPORTS) \
  22439. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22440. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22441. done; \
  22442. echo "Doing install-info in readline" ; \
  22443. (cd $(HOST_SUBDIR)/readline && \
  22444. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22445. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22446. "RANLIB=$${RANLIB}" \
  22447. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22448. install-info) \
  22449. || exit 1
  22450. @endif readline
  22451. .PHONY: maybe-install-pdf-readline install-pdf-readline
  22452. maybe-install-pdf-readline:
  22453. @if readline
  22454. maybe-install-pdf-readline: install-pdf-readline
  22455. install-pdf-readline: \
  22456. configure-readline \
  22457. pdf-readline
  22458. @: $(MAKE); $(unstage)
  22459. @[ -f ./readline/Makefile ] || exit 0; \
  22460. r=`${PWD_COMMAND}`; export r; \
  22461. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22462. $(HOST_EXPORTS) \
  22463. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22464. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22465. done; \
  22466. echo "Doing install-pdf in readline" ; \
  22467. (cd $(HOST_SUBDIR)/readline && \
  22468. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22469. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22470. "RANLIB=$${RANLIB}" \
  22471. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22472. install-pdf) \
  22473. || exit 1
  22474. @endif readline
  22475. .PHONY: maybe-install-html-readline install-html-readline
  22476. maybe-install-html-readline:
  22477. @if readline
  22478. maybe-install-html-readline: install-html-readline
  22479. install-html-readline: \
  22480. configure-readline \
  22481. html-readline
  22482. @: $(MAKE); $(unstage)
  22483. @[ -f ./readline/Makefile ] || exit 0; \
  22484. r=`${PWD_COMMAND}`; export r; \
  22485. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22486. $(HOST_EXPORTS) \
  22487. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22488. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22489. done; \
  22490. echo "Doing install-html in readline" ; \
  22491. (cd $(HOST_SUBDIR)/readline && \
  22492. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22493. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22494. "RANLIB=$${RANLIB}" \
  22495. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22496. install-html) \
  22497. || exit 1
  22498. @endif readline
  22499. .PHONY: maybe-installcheck-readline installcheck-readline
  22500. maybe-installcheck-readline:
  22501. @if readline
  22502. maybe-installcheck-readline: installcheck-readline
  22503. installcheck-readline: \
  22504. configure-readline
  22505. @: $(MAKE); $(unstage)
  22506. @[ -f ./readline/Makefile ] || exit 0; \
  22507. r=`${PWD_COMMAND}`; export r; \
  22508. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22509. $(HOST_EXPORTS) \
  22510. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22511. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22512. done; \
  22513. echo "Doing installcheck in readline" ; \
  22514. (cd $(HOST_SUBDIR)/readline && \
  22515. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22516. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22517. "RANLIB=$${RANLIB}" \
  22518. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22519. installcheck) \
  22520. || exit 1
  22521. @endif readline
  22522. .PHONY: maybe-mostlyclean-readline mostlyclean-readline
  22523. maybe-mostlyclean-readline:
  22524. @if readline
  22525. maybe-mostlyclean-readline: mostlyclean-readline
  22526. mostlyclean-readline:
  22527. @: $(MAKE); $(unstage)
  22528. @[ -f ./readline/Makefile ] || exit 0; \
  22529. r=`${PWD_COMMAND}`; export r; \
  22530. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22531. $(HOST_EXPORTS) \
  22532. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22533. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22534. done; \
  22535. echo "Doing mostlyclean in readline" ; \
  22536. (cd $(HOST_SUBDIR)/readline && \
  22537. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22538. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22539. "RANLIB=$${RANLIB}" \
  22540. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22541. mostlyclean) \
  22542. || exit 1
  22543. @endif readline
  22544. .PHONY: maybe-clean-readline clean-readline
  22545. maybe-clean-readline:
  22546. @if readline
  22547. maybe-clean-readline: clean-readline
  22548. clean-readline:
  22549. @: $(MAKE); $(unstage)
  22550. @[ -f ./readline/Makefile ] || exit 0; \
  22551. r=`${PWD_COMMAND}`; export r; \
  22552. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22553. $(HOST_EXPORTS) \
  22554. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22555. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22556. done; \
  22557. echo "Doing clean in readline" ; \
  22558. (cd $(HOST_SUBDIR)/readline && \
  22559. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22560. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22561. "RANLIB=$${RANLIB}" \
  22562. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22563. clean) \
  22564. || exit 1
  22565. @endif readline
  22566. .PHONY: maybe-distclean-readline distclean-readline
  22567. maybe-distclean-readline:
  22568. @if readline
  22569. maybe-distclean-readline: distclean-readline
  22570. distclean-readline:
  22571. @: $(MAKE); $(unstage)
  22572. @[ -f ./readline/Makefile ] || exit 0; \
  22573. r=`${PWD_COMMAND}`; export r; \
  22574. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22575. $(HOST_EXPORTS) \
  22576. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22577. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22578. done; \
  22579. echo "Doing distclean in readline" ; \
  22580. (cd $(HOST_SUBDIR)/readline && \
  22581. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22582. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22583. "RANLIB=$${RANLIB}" \
  22584. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22585. distclean) \
  22586. || exit 1
  22587. @endif readline
  22588. .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
  22589. maybe-maintainer-clean-readline:
  22590. @if readline
  22591. maybe-maintainer-clean-readline: maintainer-clean-readline
  22592. maintainer-clean-readline:
  22593. @: $(MAKE); $(unstage)
  22594. @[ -f ./readline/Makefile ] || exit 0; \
  22595. r=`${PWD_COMMAND}`; export r; \
  22596. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22597. $(HOST_EXPORTS) \
  22598. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22599. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22600. done; \
  22601. echo "Doing maintainer-clean in readline" ; \
  22602. (cd $(HOST_SUBDIR)/readline && \
  22603. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22604. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22605. "RANLIB=$${RANLIB}" \
  22606. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22607. maintainer-clean) \
  22608. || exit 1
  22609. @endif readline
  22610. .PHONY: configure-sid maybe-configure-sid
  22611. maybe-configure-sid:
  22612. @if gcc-bootstrap
  22613. configure-sid: stage_current
  22614. @endif gcc-bootstrap
  22615. @if sid
  22616. maybe-configure-sid: configure-sid
  22617. configure-sid:
  22618. @: $(MAKE); $(unstage)
  22619. @r=`${PWD_COMMAND}`; export r; \
  22620. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22621. test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
  22622. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
  22623. $(HOST_EXPORTS) \
  22624. echo Configuring in $(HOST_SUBDIR)/sid; \
  22625. cd "$(HOST_SUBDIR)/sid" || exit 1; \
  22626. case $(srcdir) in \
  22627. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  22628. *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
  22629. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  22630. esac; \
  22631. module_srcdir=sid; \
  22632. $(SHELL) \
  22633. $$s/$$module_srcdir/configure \
  22634. --srcdir=$${topdir}/$$module_srcdir \
  22635. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  22636. --target=${target_alias} \
  22637. || exit 1
  22638. @endif sid
  22639. .PHONY: all-sid maybe-all-sid
  22640. maybe-all-sid:
  22641. @if gcc-bootstrap
  22642. all-sid: stage_current
  22643. @endif gcc-bootstrap
  22644. @if sid
  22645. TARGET-sid=all
  22646. maybe-all-sid: all-sid
  22647. all-sid: configure-sid
  22648. @: $(MAKE); $(unstage)
  22649. @r=`${PWD_COMMAND}`; export r; \
  22650. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22651. $(HOST_EXPORTS) \
  22652. (cd $(HOST_SUBDIR)/sid && \
  22653. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  22654. $(TARGET-sid))
  22655. @endif sid
  22656. .PHONY: check-sid maybe-check-sid
  22657. maybe-check-sid:
  22658. @if sid
  22659. maybe-check-sid: check-sid
  22660. check-sid:
  22661. @: $(MAKE); $(unstage)
  22662. @r=`${PWD_COMMAND}`; export r; \
  22663. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22664. $(HOST_EXPORTS) \
  22665. (cd $(HOST_SUBDIR)/sid && \
  22666. $(MAKE) $(FLAGS_TO_PASS) check)
  22667. @endif sid
  22668. .PHONY: install-sid maybe-install-sid
  22669. maybe-install-sid:
  22670. @if sid
  22671. maybe-install-sid: install-sid
  22672. install-sid: installdirs
  22673. @: $(MAKE); $(unstage)
  22674. @r=`${PWD_COMMAND}`; export r; \
  22675. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22676. $(HOST_EXPORTS) \
  22677. (cd $(HOST_SUBDIR)/sid && \
  22678. $(MAKE) $(FLAGS_TO_PASS) install)
  22679. @endif sid
  22680. .PHONY: install-strip-sid maybe-install-strip-sid
  22681. maybe-install-strip-sid:
  22682. @if sid
  22683. maybe-install-strip-sid: install-strip-sid
  22684. install-strip-sid: installdirs
  22685. @: $(MAKE); $(unstage)
  22686. @r=`${PWD_COMMAND}`; export r; \
  22687. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22688. $(HOST_EXPORTS) \
  22689. (cd $(HOST_SUBDIR)/sid && \
  22690. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  22691. @endif sid
  22692. # Other targets (info, dvi, pdf, etc.)
  22693. .PHONY: maybe-info-sid info-sid
  22694. maybe-info-sid:
  22695. @if sid
  22696. maybe-info-sid: info-sid
  22697. info-sid: \
  22698. configure-sid
  22699. @: $(MAKE); $(unstage)
  22700. @[ -f ./sid/Makefile ] || exit 0; \
  22701. r=`${PWD_COMMAND}`; export r; \
  22702. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22703. $(HOST_EXPORTS) \
  22704. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22705. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22706. done; \
  22707. echo "Doing info in sid" ; \
  22708. (cd $(HOST_SUBDIR)/sid && \
  22709. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22710. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22711. "RANLIB=$${RANLIB}" \
  22712. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22713. info) \
  22714. || exit 1
  22715. @endif sid
  22716. .PHONY: maybe-dvi-sid dvi-sid
  22717. maybe-dvi-sid:
  22718. @if sid
  22719. maybe-dvi-sid: dvi-sid
  22720. dvi-sid: \
  22721. configure-sid
  22722. @: $(MAKE); $(unstage)
  22723. @[ -f ./sid/Makefile ] || exit 0; \
  22724. r=`${PWD_COMMAND}`; export r; \
  22725. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22726. $(HOST_EXPORTS) \
  22727. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22728. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22729. done; \
  22730. echo "Doing dvi in sid" ; \
  22731. (cd $(HOST_SUBDIR)/sid && \
  22732. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22733. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22734. "RANLIB=$${RANLIB}" \
  22735. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22736. dvi) \
  22737. || exit 1
  22738. @endif sid
  22739. .PHONY: maybe-pdf-sid pdf-sid
  22740. maybe-pdf-sid:
  22741. @if sid
  22742. maybe-pdf-sid: pdf-sid
  22743. pdf-sid: \
  22744. configure-sid
  22745. @: $(MAKE); $(unstage)
  22746. @[ -f ./sid/Makefile ] || exit 0; \
  22747. r=`${PWD_COMMAND}`; export r; \
  22748. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22749. $(HOST_EXPORTS) \
  22750. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22751. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22752. done; \
  22753. echo "Doing pdf in sid" ; \
  22754. (cd $(HOST_SUBDIR)/sid && \
  22755. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22756. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22757. "RANLIB=$${RANLIB}" \
  22758. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22759. pdf) \
  22760. || exit 1
  22761. @endif sid
  22762. .PHONY: maybe-html-sid html-sid
  22763. maybe-html-sid:
  22764. @if sid
  22765. maybe-html-sid: html-sid
  22766. html-sid: \
  22767. configure-sid
  22768. @: $(MAKE); $(unstage)
  22769. @[ -f ./sid/Makefile ] || exit 0; \
  22770. r=`${PWD_COMMAND}`; export r; \
  22771. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22772. $(HOST_EXPORTS) \
  22773. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22774. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22775. done; \
  22776. echo "Doing html in sid" ; \
  22777. (cd $(HOST_SUBDIR)/sid && \
  22778. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22779. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22780. "RANLIB=$${RANLIB}" \
  22781. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22782. html) \
  22783. || exit 1
  22784. @endif sid
  22785. .PHONY: maybe-TAGS-sid TAGS-sid
  22786. maybe-TAGS-sid:
  22787. @if sid
  22788. maybe-TAGS-sid: TAGS-sid
  22789. TAGS-sid: \
  22790. configure-sid
  22791. @: $(MAKE); $(unstage)
  22792. @[ -f ./sid/Makefile ] || exit 0; \
  22793. r=`${PWD_COMMAND}`; export r; \
  22794. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22795. $(HOST_EXPORTS) \
  22796. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22797. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22798. done; \
  22799. echo "Doing TAGS in sid" ; \
  22800. (cd $(HOST_SUBDIR)/sid && \
  22801. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22802. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22803. "RANLIB=$${RANLIB}" \
  22804. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22805. TAGS) \
  22806. || exit 1
  22807. @endif sid
  22808. .PHONY: maybe-install-info-sid install-info-sid
  22809. maybe-install-info-sid:
  22810. @if sid
  22811. maybe-install-info-sid: install-info-sid
  22812. install-info-sid: \
  22813. configure-sid \
  22814. info-sid
  22815. @: $(MAKE); $(unstage)
  22816. @[ -f ./sid/Makefile ] || exit 0; \
  22817. r=`${PWD_COMMAND}`; export r; \
  22818. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22819. $(HOST_EXPORTS) \
  22820. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22821. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22822. done; \
  22823. echo "Doing install-info in sid" ; \
  22824. (cd $(HOST_SUBDIR)/sid && \
  22825. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22826. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22827. "RANLIB=$${RANLIB}" \
  22828. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22829. install-info) \
  22830. || exit 1
  22831. @endif sid
  22832. .PHONY: maybe-install-pdf-sid install-pdf-sid
  22833. maybe-install-pdf-sid:
  22834. @if sid
  22835. maybe-install-pdf-sid: install-pdf-sid
  22836. install-pdf-sid: \
  22837. configure-sid \
  22838. pdf-sid
  22839. @: $(MAKE); $(unstage)
  22840. @[ -f ./sid/Makefile ] || exit 0; \
  22841. r=`${PWD_COMMAND}`; export r; \
  22842. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22843. $(HOST_EXPORTS) \
  22844. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22845. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22846. done; \
  22847. echo "Doing install-pdf in sid" ; \
  22848. (cd $(HOST_SUBDIR)/sid && \
  22849. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22850. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22851. "RANLIB=$${RANLIB}" \
  22852. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22853. install-pdf) \
  22854. || exit 1
  22855. @endif sid
  22856. .PHONY: maybe-install-html-sid install-html-sid
  22857. maybe-install-html-sid:
  22858. @if sid
  22859. maybe-install-html-sid: install-html-sid
  22860. install-html-sid: \
  22861. configure-sid \
  22862. html-sid
  22863. @: $(MAKE); $(unstage)
  22864. @[ -f ./sid/Makefile ] || exit 0; \
  22865. r=`${PWD_COMMAND}`; export r; \
  22866. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22867. $(HOST_EXPORTS) \
  22868. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22869. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22870. done; \
  22871. echo "Doing install-html in sid" ; \
  22872. (cd $(HOST_SUBDIR)/sid && \
  22873. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22874. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22875. "RANLIB=$${RANLIB}" \
  22876. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22877. install-html) \
  22878. || exit 1
  22879. @endif sid
  22880. .PHONY: maybe-installcheck-sid installcheck-sid
  22881. maybe-installcheck-sid:
  22882. @if sid
  22883. maybe-installcheck-sid: installcheck-sid
  22884. installcheck-sid: \
  22885. configure-sid
  22886. @: $(MAKE); $(unstage)
  22887. @[ -f ./sid/Makefile ] || exit 0; \
  22888. r=`${PWD_COMMAND}`; export r; \
  22889. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22890. $(HOST_EXPORTS) \
  22891. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22892. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22893. done; \
  22894. echo "Doing installcheck in sid" ; \
  22895. (cd $(HOST_SUBDIR)/sid && \
  22896. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22897. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22898. "RANLIB=$${RANLIB}" \
  22899. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22900. installcheck) \
  22901. || exit 1
  22902. @endif sid
  22903. .PHONY: maybe-mostlyclean-sid mostlyclean-sid
  22904. maybe-mostlyclean-sid:
  22905. @if sid
  22906. maybe-mostlyclean-sid: mostlyclean-sid
  22907. mostlyclean-sid:
  22908. @: $(MAKE); $(unstage)
  22909. @[ -f ./sid/Makefile ] || exit 0; \
  22910. r=`${PWD_COMMAND}`; export r; \
  22911. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22912. $(HOST_EXPORTS) \
  22913. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22914. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22915. done; \
  22916. echo "Doing mostlyclean in sid" ; \
  22917. (cd $(HOST_SUBDIR)/sid && \
  22918. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22919. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22920. "RANLIB=$${RANLIB}" \
  22921. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22922. mostlyclean) \
  22923. || exit 1
  22924. @endif sid
  22925. .PHONY: maybe-clean-sid clean-sid
  22926. maybe-clean-sid:
  22927. @if sid
  22928. maybe-clean-sid: clean-sid
  22929. clean-sid:
  22930. @: $(MAKE); $(unstage)
  22931. @[ -f ./sid/Makefile ] || exit 0; \
  22932. r=`${PWD_COMMAND}`; export r; \
  22933. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22934. $(HOST_EXPORTS) \
  22935. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22936. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22937. done; \
  22938. echo "Doing clean in sid" ; \
  22939. (cd $(HOST_SUBDIR)/sid && \
  22940. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22941. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22942. "RANLIB=$${RANLIB}" \
  22943. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22944. clean) \
  22945. || exit 1
  22946. @endif sid
  22947. .PHONY: maybe-distclean-sid distclean-sid
  22948. maybe-distclean-sid:
  22949. @if sid
  22950. maybe-distclean-sid: distclean-sid
  22951. distclean-sid:
  22952. @: $(MAKE); $(unstage)
  22953. @[ -f ./sid/Makefile ] || exit 0; \
  22954. r=`${PWD_COMMAND}`; export r; \
  22955. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22956. $(HOST_EXPORTS) \
  22957. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22958. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22959. done; \
  22960. echo "Doing distclean in sid" ; \
  22961. (cd $(HOST_SUBDIR)/sid && \
  22962. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22963. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22964. "RANLIB=$${RANLIB}" \
  22965. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22966. distclean) \
  22967. || exit 1
  22968. @endif sid
  22969. .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
  22970. maybe-maintainer-clean-sid:
  22971. @if sid
  22972. maybe-maintainer-clean-sid: maintainer-clean-sid
  22973. maintainer-clean-sid:
  22974. @: $(MAKE); $(unstage)
  22975. @[ -f ./sid/Makefile ] || exit 0; \
  22976. r=`${PWD_COMMAND}`; export r; \
  22977. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  22978. $(HOST_EXPORTS) \
  22979. for flag in $(EXTRA_HOST_FLAGS) ; do \
  22980. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  22981. done; \
  22982. echo "Doing maintainer-clean in sid" ; \
  22983. (cd $(HOST_SUBDIR)/sid && \
  22984. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  22985. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  22986. "RANLIB=$${RANLIB}" \
  22987. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  22988. maintainer-clean) \
  22989. || exit 1
  22990. @endif sid
  22991. .PHONY: configure-sim maybe-configure-sim
  22992. maybe-configure-sim:
  22993. @if gcc-bootstrap
  22994. configure-sim: stage_current
  22995. @endif gcc-bootstrap
  22996. @if sim
  22997. maybe-configure-sim: configure-sim
  22998. configure-sim:
  22999. @: $(MAKE); $(unstage)
  23000. @r=`${PWD_COMMAND}`; export r; \
  23001. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23002. test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
  23003. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
  23004. $(HOST_EXPORTS) \
  23005. echo Configuring in $(HOST_SUBDIR)/sim; \
  23006. cd "$(HOST_SUBDIR)/sim" || exit 1; \
  23007. case $(srcdir) in \
  23008. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  23009. *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
  23010. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  23011. esac; \
  23012. module_srcdir=sim; \
  23013. $(SHELL) \
  23014. $$s/$$module_srcdir/configure \
  23015. --srcdir=$${topdir}/$$module_srcdir \
  23016. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  23017. --target=${target_alias} \
  23018. || exit 1
  23019. @endif sim
  23020. .PHONY: all-sim maybe-all-sim
  23021. maybe-all-sim:
  23022. @if gcc-bootstrap
  23023. all-sim: stage_current
  23024. @endif gcc-bootstrap
  23025. @if sim
  23026. TARGET-sim=all
  23027. maybe-all-sim: all-sim
  23028. all-sim: configure-sim
  23029. @: $(MAKE); $(unstage)
  23030. @r=`${PWD_COMMAND}`; export r; \
  23031. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23032. $(HOST_EXPORTS) \
  23033. (cd $(HOST_SUBDIR)/sim && \
  23034. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  23035. $(TARGET-sim))
  23036. @endif sim
  23037. .PHONY: check-sim maybe-check-sim
  23038. maybe-check-sim:
  23039. @if sim
  23040. maybe-check-sim: check-sim
  23041. check-sim:
  23042. @: $(MAKE); $(unstage)
  23043. @r=`${PWD_COMMAND}`; export r; \
  23044. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23045. $(HOST_EXPORTS) \
  23046. (cd $(HOST_SUBDIR)/sim && \
  23047. $(MAKE) $(FLAGS_TO_PASS) check)
  23048. @endif sim
  23049. .PHONY: install-sim maybe-install-sim
  23050. maybe-install-sim:
  23051. @if sim
  23052. maybe-install-sim: install-sim
  23053. install-sim: installdirs
  23054. @: $(MAKE); $(unstage)
  23055. @r=`${PWD_COMMAND}`; export r; \
  23056. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23057. $(HOST_EXPORTS) \
  23058. (cd $(HOST_SUBDIR)/sim && \
  23059. $(MAKE) $(FLAGS_TO_PASS) install)
  23060. @endif sim
  23061. .PHONY: install-strip-sim maybe-install-strip-sim
  23062. maybe-install-strip-sim:
  23063. @if sim
  23064. maybe-install-strip-sim: install-strip-sim
  23065. install-strip-sim: installdirs
  23066. @: $(MAKE); $(unstage)
  23067. @r=`${PWD_COMMAND}`; export r; \
  23068. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23069. $(HOST_EXPORTS) \
  23070. (cd $(HOST_SUBDIR)/sim && \
  23071. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  23072. @endif sim
  23073. # Other targets (info, dvi, pdf, etc.)
  23074. .PHONY: maybe-info-sim info-sim
  23075. maybe-info-sim:
  23076. @if sim
  23077. maybe-info-sim: info-sim
  23078. info-sim: \
  23079. configure-sim
  23080. @: $(MAKE); $(unstage)
  23081. @[ -f ./sim/Makefile ] || exit 0; \
  23082. r=`${PWD_COMMAND}`; export r; \
  23083. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23084. $(HOST_EXPORTS) \
  23085. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23086. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23087. done; \
  23088. echo "Doing info in sim" ; \
  23089. (cd $(HOST_SUBDIR)/sim && \
  23090. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23091. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23092. "RANLIB=$${RANLIB}" \
  23093. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23094. info) \
  23095. || exit 1
  23096. @endif sim
  23097. .PHONY: maybe-dvi-sim dvi-sim
  23098. maybe-dvi-sim:
  23099. @if sim
  23100. maybe-dvi-sim: dvi-sim
  23101. dvi-sim: \
  23102. configure-sim
  23103. @: $(MAKE); $(unstage)
  23104. @[ -f ./sim/Makefile ] || exit 0; \
  23105. r=`${PWD_COMMAND}`; export r; \
  23106. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23107. $(HOST_EXPORTS) \
  23108. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23109. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23110. done; \
  23111. echo "Doing dvi in sim" ; \
  23112. (cd $(HOST_SUBDIR)/sim && \
  23113. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23114. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23115. "RANLIB=$${RANLIB}" \
  23116. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23117. dvi) \
  23118. || exit 1
  23119. @endif sim
  23120. .PHONY: maybe-pdf-sim pdf-sim
  23121. maybe-pdf-sim:
  23122. @if sim
  23123. maybe-pdf-sim: pdf-sim
  23124. pdf-sim: \
  23125. configure-sim
  23126. @: $(MAKE); $(unstage)
  23127. @[ -f ./sim/Makefile ] || exit 0; \
  23128. r=`${PWD_COMMAND}`; export r; \
  23129. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23130. $(HOST_EXPORTS) \
  23131. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23132. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23133. done; \
  23134. echo "Doing pdf in sim" ; \
  23135. (cd $(HOST_SUBDIR)/sim && \
  23136. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23137. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23138. "RANLIB=$${RANLIB}" \
  23139. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23140. pdf) \
  23141. || exit 1
  23142. @endif sim
  23143. .PHONY: maybe-html-sim html-sim
  23144. maybe-html-sim:
  23145. @if sim
  23146. maybe-html-sim: html-sim
  23147. html-sim: \
  23148. configure-sim
  23149. @: $(MAKE); $(unstage)
  23150. @[ -f ./sim/Makefile ] || exit 0; \
  23151. r=`${PWD_COMMAND}`; export r; \
  23152. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23153. $(HOST_EXPORTS) \
  23154. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23155. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23156. done; \
  23157. echo "Doing html in sim" ; \
  23158. (cd $(HOST_SUBDIR)/sim && \
  23159. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23160. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23161. "RANLIB=$${RANLIB}" \
  23162. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23163. html) \
  23164. || exit 1
  23165. @endif sim
  23166. .PHONY: maybe-TAGS-sim TAGS-sim
  23167. maybe-TAGS-sim:
  23168. @if sim
  23169. maybe-TAGS-sim: TAGS-sim
  23170. TAGS-sim: \
  23171. configure-sim
  23172. @: $(MAKE); $(unstage)
  23173. @[ -f ./sim/Makefile ] || exit 0; \
  23174. r=`${PWD_COMMAND}`; export r; \
  23175. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23176. $(HOST_EXPORTS) \
  23177. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23178. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23179. done; \
  23180. echo "Doing TAGS in sim" ; \
  23181. (cd $(HOST_SUBDIR)/sim && \
  23182. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23183. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23184. "RANLIB=$${RANLIB}" \
  23185. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23186. TAGS) \
  23187. || exit 1
  23188. @endif sim
  23189. .PHONY: maybe-install-info-sim install-info-sim
  23190. maybe-install-info-sim:
  23191. @if sim
  23192. maybe-install-info-sim: install-info-sim
  23193. install-info-sim: \
  23194. configure-sim \
  23195. info-sim
  23196. @: $(MAKE); $(unstage)
  23197. @[ -f ./sim/Makefile ] || exit 0; \
  23198. r=`${PWD_COMMAND}`; export r; \
  23199. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23200. $(HOST_EXPORTS) \
  23201. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23202. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23203. done; \
  23204. echo "Doing install-info in sim" ; \
  23205. (cd $(HOST_SUBDIR)/sim && \
  23206. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23207. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23208. "RANLIB=$${RANLIB}" \
  23209. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23210. install-info) \
  23211. || exit 1
  23212. @endif sim
  23213. .PHONY: maybe-install-pdf-sim install-pdf-sim
  23214. maybe-install-pdf-sim:
  23215. @if sim
  23216. maybe-install-pdf-sim: install-pdf-sim
  23217. install-pdf-sim: \
  23218. configure-sim \
  23219. pdf-sim
  23220. @: $(MAKE); $(unstage)
  23221. @[ -f ./sim/Makefile ] || exit 0; \
  23222. r=`${PWD_COMMAND}`; export r; \
  23223. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23224. $(HOST_EXPORTS) \
  23225. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23226. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23227. done; \
  23228. echo "Doing install-pdf in sim" ; \
  23229. (cd $(HOST_SUBDIR)/sim && \
  23230. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23231. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23232. "RANLIB=$${RANLIB}" \
  23233. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23234. install-pdf) \
  23235. || exit 1
  23236. @endif sim
  23237. .PHONY: maybe-install-html-sim install-html-sim
  23238. maybe-install-html-sim:
  23239. @if sim
  23240. maybe-install-html-sim: install-html-sim
  23241. install-html-sim: \
  23242. configure-sim \
  23243. html-sim
  23244. @: $(MAKE); $(unstage)
  23245. @[ -f ./sim/Makefile ] || exit 0; \
  23246. r=`${PWD_COMMAND}`; export r; \
  23247. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23248. $(HOST_EXPORTS) \
  23249. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23250. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23251. done; \
  23252. echo "Doing install-html in sim" ; \
  23253. (cd $(HOST_SUBDIR)/sim && \
  23254. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23255. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23256. "RANLIB=$${RANLIB}" \
  23257. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23258. install-html) \
  23259. || exit 1
  23260. @endif sim
  23261. .PHONY: maybe-installcheck-sim installcheck-sim
  23262. maybe-installcheck-sim:
  23263. @if sim
  23264. maybe-installcheck-sim: installcheck-sim
  23265. installcheck-sim: \
  23266. configure-sim
  23267. @: $(MAKE); $(unstage)
  23268. @[ -f ./sim/Makefile ] || exit 0; \
  23269. r=`${PWD_COMMAND}`; export r; \
  23270. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23271. $(HOST_EXPORTS) \
  23272. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23273. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23274. done; \
  23275. echo "Doing installcheck in sim" ; \
  23276. (cd $(HOST_SUBDIR)/sim && \
  23277. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23278. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23279. "RANLIB=$${RANLIB}" \
  23280. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23281. installcheck) \
  23282. || exit 1
  23283. @endif sim
  23284. .PHONY: maybe-mostlyclean-sim mostlyclean-sim
  23285. maybe-mostlyclean-sim:
  23286. @if sim
  23287. maybe-mostlyclean-sim: mostlyclean-sim
  23288. mostlyclean-sim:
  23289. @: $(MAKE); $(unstage)
  23290. @[ -f ./sim/Makefile ] || exit 0; \
  23291. r=`${PWD_COMMAND}`; export r; \
  23292. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23293. $(HOST_EXPORTS) \
  23294. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23295. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23296. done; \
  23297. echo "Doing mostlyclean in sim" ; \
  23298. (cd $(HOST_SUBDIR)/sim && \
  23299. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23300. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23301. "RANLIB=$${RANLIB}" \
  23302. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23303. mostlyclean) \
  23304. || exit 1
  23305. @endif sim
  23306. .PHONY: maybe-clean-sim clean-sim
  23307. maybe-clean-sim:
  23308. @if sim
  23309. maybe-clean-sim: clean-sim
  23310. clean-sim:
  23311. @: $(MAKE); $(unstage)
  23312. @[ -f ./sim/Makefile ] || exit 0; \
  23313. r=`${PWD_COMMAND}`; export r; \
  23314. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23315. $(HOST_EXPORTS) \
  23316. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23317. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23318. done; \
  23319. echo "Doing clean in sim" ; \
  23320. (cd $(HOST_SUBDIR)/sim && \
  23321. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23322. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23323. "RANLIB=$${RANLIB}" \
  23324. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23325. clean) \
  23326. || exit 1
  23327. @endif sim
  23328. .PHONY: maybe-distclean-sim distclean-sim
  23329. maybe-distclean-sim:
  23330. @if sim
  23331. maybe-distclean-sim: distclean-sim
  23332. distclean-sim:
  23333. @: $(MAKE); $(unstage)
  23334. @[ -f ./sim/Makefile ] || exit 0; \
  23335. r=`${PWD_COMMAND}`; export r; \
  23336. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23337. $(HOST_EXPORTS) \
  23338. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23339. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23340. done; \
  23341. echo "Doing distclean in sim" ; \
  23342. (cd $(HOST_SUBDIR)/sim && \
  23343. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23344. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23345. "RANLIB=$${RANLIB}" \
  23346. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23347. distclean) \
  23348. || exit 1
  23349. @endif sim
  23350. .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
  23351. maybe-maintainer-clean-sim:
  23352. @if sim
  23353. maybe-maintainer-clean-sim: maintainer-clean-sim
  23354. maintainer-clean-sim:
  23355. @: $(MAKE); $(unstage)
  23356. @[ -f ./sim/Makefile ] || exit 0; \
  23357. r=`${PWD_COMMAND}`; export r; \
  23358. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23359. $(HOST_EXPORTS) \
  23360. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23361. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23362. done; \
  23363. echo "Doing maintainer-clean in sim" ; \
  23364. (cd $(HOST_SUBDIR)/sim && \
  23365. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23366. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23367. "RANLIB=$${RANLIB}" \
  23368. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23369. maintainer-clean) \
  23370. || exit 1
  23371. @endif sim
  23372. .PHONY: configure-texinfo maybe-configure-texinfo
  23373. maybe-configure-texinfo:
  23374. @if gcc-bootstrap
  23375. configure-texinfo: stage_current
  23376. @endif gcc-bootstrap
  23377. @if texinfo
  23378. maybe-configure-texinfo: configure-texinfo
  23379. configure-texinfo:
  23380. @: $(MAKE); $(unstage)
  23381. @r=`${PWD_COMMAND}`; export r; \
  23382. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23383. test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
  23384. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
  23385. $(HOST_EXPORTS) \
  23386. echo Configuring in $(HOST_SUBDIR)/texinfo; \
  23387. cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
  23388. case $(srcdir) in \
  23389. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  23390. *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
  23391. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  23392. esac; \
  23393. module_srcdir=texinfo; \
  23394. $(SHELL) \
  23395. $$s/$$module_srcdir/configure \
  23396. --srcdir=$${topdir}/$$module_srcdir \
  23397. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  23398. --target=${target_alias} \
  23399. || exit 1
  23400. @endif texinfo
  23401. .PHONY: all-texinfo maybe-all-texinfo
  23402. maybe-all-texinfo:
  23403. @if gcc-bootstrap
  23404. all-texinfo: stage_current
  23405. @endif gcc-bootstrap
  23406. @if texinfo
  23407. TARGET-texinfo=all
  23408. maybe-all-texinfo: all-texinfo
  23409. all-texinfo: configure-texinfo
  23410. @: $(MAKE); $(unstage)
  23411. @r=`${PWD_COMMAND}`; export r; \
  23412. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23413. $(HOST_EXPORTS) \
  23414. (cd $(HOST_SUBDIR)/texinfo && \
  23415. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  23416. $(TARGET-texinfo))
  23417. @endif texinfo
  23418. .PHONY: check-texinfo maybe-check-texinfo
  23419. maybe-check-texinfo:
  23420. @if texinfo
  23421. maybe-check-texinfo: check-texinfo
  23422. check-texinfo:
  23423. @: $(MAKE); $(unstage)
  23424. @r=`${PWD_COMMAND}`; export r; \
  23425. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23426. $(HOST_EXPORTS) \
  23427. (cd $(HOST_SUBDIR)/texinfo && \
  23428. $(MAKE) $(FLAGS_TO_PASS) check)
  23429. @endif texinfo
  23430. .PHONY: install-texinfo maybe-install-texinfo
  23431. maybe-install-texinfo:
  23432. @if texinfo
  23433. maybe-install-texinfo: install-texinfo
  23434. install-texinfo:
  23435. @endif texinfo
  23436. .PHONY: install-strip-texinfo maybe-install-strip-texinfo
  23437. maybe-install-strip-texinfo:
  23438. @if texinfo
  23439. maybe-install-strip-texinfo: install-strip-texinfo
  23440. install-strip-texinfo:
  23441. @endif texinfo
  23442. # Other targets (info, dvi, pdf, etc.)
  23443. .PHONY: maybe-info-texinfo info-texinfo
  23444. maybe-info-texinfo:
  23445. @if texinfo
  23446. maybe-info-texinfo: info-texinfo
  23447. info-texinfo: \
  23448. configure-texinfo
  23449. @: $(MAKE); $(unstage)
  23450. @[ -f ./texinfo/Makefile ] || exit 0; \
  23451. r=`${PWD_COMMAND}`; export r; \
  23452. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23453. $(HOST_EXPORTS) \
  23454. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23455. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23456. done; \
  23457. echo "Doing info in texinfo" ; \
  23458. (cd $(HOST_SUBDIR)/texinfo && \
  23459. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23460. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23461. "RANLIB=$${RANLIB}" \
  23462. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23463. info) \
  23464. || exit 1
  23465. @endif texinfo
  23466. .PHONY: maybe-dvi-texinfo dvi-texinfo
  23467. maybe-dvi-texinfo:
  23468. @if texinfo
  23469. maybe-dvi-texinfo: dvi-texinfo
  23470. dvi-texinfo: \
  23471. configure-texinfo
  23472. @: $(MAKE); $(unstage)
  23473. @[ -f ./texinfo/Makefile ] || exit 0; \
  23474. r=`${PWD_COMMAND}`; export r; \
  23475. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23476. $(HOST_EXPORTS) \
  23477. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23478. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23479. done; \
  23480. echo "Doing dvi in texinfo" ; \
  23481. (cd $(HOST_SUBDIR)/texinfo && \
  23482. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23483. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23484. "RANLIB=$${RANLIB}" \
  23485. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23486. dvi) \
  23487. || exit 1
  23488. @endif texinfo
  23489. .PHONY: maybe-pdf-texinfo pdf-texinfo
  23490. maybe-pdf-texinfo:
  23491. @if texinfo
  23492. maybe-pdf-texinfo: pdf-texinfo
  23493. pdf-texinfo: \
  23494. configure-texinfo
  23495. @: $(MAKE); $(unstage)
  23496. @[ -f ./texinfo/Makefile ] || exit 0; \
  23497. r=`${PWD_COMMAND}`; export r; \
  23498. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23499. $(HOST_EXPORTS) \
  23500. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23501. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23502. done; \
  23503. echo "Doing pdf in texinfo" ; \
  23504. (cd $(HOST_SUBDIR)/texinfo && \
  23505. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23506. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23507. "RANLIB=$${RANLIB}" \
  23508. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23509. pdf) \
  23510. || exit 1
  23511. @endif texinfo
  23512. .PHONY: maybe-html-texinfo html-texinfo
  23513. maybe-html-texinfo:
  23514. @if texinfo
  23515. maybe-html-texinfo: html-texinfo
  23516. html-texinfo: \
  23517. configure-texinfo
  23518. @: $(MAKE); $(unstage)
  23519. @[ -f ./texinfo/Makefile ] || exit 0; \
  23520. r=`${PWD_COMMAND}`; export r; \
  23521. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23522. $(HOST_EXPORTS) \
  23523. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23524. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23525. done; \
  23526. echo "Doing html in texinfo" ; \
  23527. (cd $(HOST_SUBDIR)/texinfo && \
  23528. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23529. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23530. "RANLIB=$${RANLIB}" \
  23531. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23532. html) \
  23533. || exit 1
  23534. @endif texinfo
  23535. .PHONY: maybe-TAGS-texinfo TAGS-texinfo
  23536. maybe-TAGS-texinfo:
  23537. @if texinfo
  23538. maybe-TAGS-texinfo: TAGS-texinfo
  23539. TAGS-texinfo: \
  23540. configure-texinfo
  23541. @: $(MAKE); $(unstage)
  23542. @[ -f ./texinfo/Makefile ] || exit 0; \
  23543. r=`${PWD_COMMAND}`; export r; \
  23544. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23545. $(HOST_EXPORTS) \
  23546. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23547. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23548. done; \
  23549. echo "Doing TAGS in texinfo" ; \
  23550. (cd $(HOST_SUBDIR)/texinfo && \
  23551. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23552. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23553. "RANLIB=$${RANLIB}" \
  23554. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23555. TAGS) \
  23556. || exit 1
  23557. @endif texinfo
  23558. .PHONY: maybe-install-info-texinfo install-info-texinfo
  23559. maybe-install-info-texinfo:
  23560. @if texinfo
  23561. maybe-install-info-texinfo: install-info-texinfo
  23562. install-info-texinfo: \
  23563. configure-texinfo \
  23564. info-texinfo
  23565. @: $(MAKE); $(unstage)
  23566. @[ -f ./texinfo/Makefile ] || exit 0; \
  23567. r=`${PWD_COMMAND}`; export r; \
  23568. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23569. $(HOST_EXPORTS) \
  23570. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23571. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23572. done; \
  23573. echo "Doing install-info in texinfo" ; \
  23574. (cd $(HOST_SUBDIR)/texinfo && \
  23575. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23576. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23577. "RANLIB=$${RANLIB}" \
  23578. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23579. install-info) \
  23580. || exit 1
  23581. @endif texinfo
  23582. .PHONY: maybe-install-pdf-texinfo install-pdf-texinfo
  23583. maybe-install-pdf-texinfo:
  23584. @if texinfo
  23585. maybe-install-pdf-texinfo: install-pdf-texinfo
  23586. install-pdf-texinfo: \
  23587. configure-texinfo \
  23588. pdf-texinfo
  23589. @: $(MAKE); $(unstage)
  23590. @[ -f ./texinfo/Makefile ] || exit 0; \
  23591. r=`${PWD_COMMAND}`; export r; \
  23592. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23593. $(HOST_EXPORTS) \
  23594. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23595. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23596. done; \
  23597. echo "Doing install-pdf in texinfo" ; \
  23598. (cd $(HOST_SUBDIR)/texinfo && \
  23599. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23600. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23601. "RANLIB=$${RANLIB}" \
  23602. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23603. install-pdf) \
  23604. || exit 1
  23605. @endif texinfo
  23606. .PHONY: maybe-install-html-texinfo install-html-texinfo
  23607. maybe-install-html-texinfo:
  23608. @if texinfo
  23609. maybe-install-html-texinfo: install-html-texinfo
  23610. install-html-texinfo: \
  23611. configure-texinfo \
  23612. html-texinfo
  23613. @: $(MAKE); $(unstage)
  23614. @[ -f ./texinfo/Makefile ] || exit 0; \
  23615. r=`${PWD_COMMAND}`; export r; \
  23616. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23617. $(HOST_EXPORTS) \
  23618. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23619. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23620. done; \
  23621. echo "Doing install-html in texinfo" ; \
  23622. (cd $(HOST_SUBDIR)/texinfo && \
  23623. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23624. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23625. "RANLIB=$${RANLIB}" \
  23626. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23627. install-html) \
  23628. || exit 1
  23629. @endif texinfo
  23630. .PHONY: maybe-installcheck-texinfo installcheck-texinfo
  23631. maybe-installcheck-texinfo:
  23632. @if texinfo
  23633. maybe-installcheck-texinfo: installcheck-texinfo
  23634. installcheck-texinfo: \
  23635. configure-texinfo
  23636. @: $(MAKE); $(unstage)
  23637. @[ -f ./texinfo/Makefile ] || exit 0; \
  23638. r=`${PWD_COMMAND}`; export r; \
  23639. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23640. $(HOST_EXPORTS) \
  23641. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23642. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23643. done; \
  23644. echo "Doing installcheck in texinfo" ; \
  23645. (cd $(HOST_SUBDIR)/texinfo && \
  23646. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23647. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23648. "RANLIB=$${RANLIB}" \
  23649. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23650. installcheck) \
  23651. || exit 1
  23652. @endif texinfo
  23653. .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
  23654. maybe-mostlyclean-texinfo:
  23655. @if texinfo
  23656. maybe-mostlyclean-texinfo: mostlyclean-texinfo
  23657. mostlyclean-texinfo:
  23658. @: $(MAKE); $(unstage)
  23659. @[ -f ./texinfo/Makefile ] || exit 0; \
  23660. r=`${PWD_COMMAND}`; export r; \
  23661. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23662. $(HOST_EXPORTS) \
  23663. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23664. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23665. done; \
  23666. echo "Doing mostlyclean in texinfo" ; \
  23667. (cd $(HOST_SUBDIR)/texinfo && \
  23668. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23669. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23670. "RANLIB=$${RANLIB}" \
  23671. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23672. mostlyclean) \
  23673. || exit 1
  23674. @endif texinfo
  23675. .PHONY: maybe-clean-texinfo clean-texinfo
  23676. maybe-clean-texinfo:
  23677. @if texinfo
  23678. maybe-clean-texinfo: clean-texinfo
  23679. clean-texinfo:
  23680. @: $(MAKE); $(unstage)
  23681. @[ -f ./texinfo/Makefile ] || exit 0; \
  23682. r=`${PWD_COMMAND}`; export r; \
  23683. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23684. $(HOST_EXPORTS) \
  23685. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23686. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23687. done; \
  23688. echo "Doing clean in texinfo" ; \
  23689. (cd $(HOST_SUBDIR)/texinfo && \
  23690. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23691. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23692. "RANLIB=$${RANLIB}" \
  23693. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23694. clean) \
  23695. || exit 1
  23696. @endif texinfo
  23697. .PHONY: maybe-distclean-texinfo distclean-texinfo
  23698. maybe-distclean-texinfo:
  23699. @if texinfo
  23700. maybe-distclean-texinfo: distclean-texinfo
  23701. distclean-texinfo:
  23702. @: $(MAKE); $(unstage)
  23703. @[ -f ./texinfo/Makefile ] || exit 0; \
  23704. r=`${PWD_COMMAND}`; export r; \
  23705. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23706. $(HOST_EXPORTS) \
  23707. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23708. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23709. done; \
  23710. echo "Doing distclean in texinfo" ; \
  23711. (cd $(HOST_SUBDIR)/texinfo && \
  23712. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23713. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23714. "RANLIB=$${RANLIB}" \
  23715. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23716. distclean) \
  23717. || exit 1
  23718. @endif texinfo
  23719. .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
  23720. maybe-maintainer-clean-texinfo:
  23721. @if texinfo
  23722. maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
  23723. maintainer-clean-texinfo:
  23724. @: $(MAKE); $(unstage)
  23725. @[ -f ./texinfo/Makefile ] || exit 0; \
  23726. r=`${PWD_COMMAND}`; export r; \
  23727. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23728. $(HOST_EXPORTS) \
  23729. for flag in $(EXTRA_HOST_FLAGS) ; do \
  23730. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  23731. done; \
  23732. echo "Doing maintainer-clean in texinfo" ; \
  23733. (cd $(HOST_SUBDIR)/texinfo && \
  23734. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  23735. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  23736. "RANLIB=$${RANLIB}" \
  23737. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  23738. maintainer-clean) \
  23739. || exit 1
  23740. @endif texinfo
  23741. .PHONY: configure-zlib maybe-configure-zlib
  23742. maybe-configure-zlib:
  23743. @if gcc-bootstrap
  23744. configure-zlib: stage_current
  23745. @endif gcc-bootstrap
  23746. @if zlib
  23747. maybe-configure-zlib: configure-zlib
  23748. configure-zlib:
  23749. @r=`${PWD_COMMAND}`; export r; \
  23750. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23751. test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
  23752. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
  23753. $(HOST_EXPORTS) \
  23754. echo Configuring in $(HOST_SUBDIR)/zlib; \
  23755. cd "$(HOST_SUBDIR)/zlib" || exit 1; \
  23756. case $(srcdir) in \
  23757. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  23758. *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
  23759. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  23760. esac; \
  23761. module_srcdir=zlib; \
  23762. $(SHELL) \
  23763. $$s/$$module_srcdir/configure \
  23764. --srcdir=$${topdir}/$$module_srcdir \
  23765. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  23766. --target=${target_alias} \
  23767. || exit 1
  23768. @endif zlib
  23769. .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
  23770. maybe-configure-stage1-zlib:
  23771. @if zlib-bootstrap
  23772. maybe-configure-stage1-zlib: configure-stage1-zlib
  23773. configure-stage1-zlib:
  23774. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  23775. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
  23776. @r=`${PWD_COMMAND}`; export r; \
  23777. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23778. TFLAGS="$(STAGE1_TFLAGS)"; \
  23779. test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
  23780. $(HOST_EXPORTS) \
  23781. CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
  23782. CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
  23783. LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
  23784. echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
  23785. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
  23786. cd $(HOST_SUBDIR)/zlib || exit 1; \
  23787. case $(srcdir) in \
  23788. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  23789. *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
  23790. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  23791. esac; \
  23792. module_srcdir=zlib; \
  23793. $(SHELL) $$s/$$module_srcdir/configure \
  23794. --srcdir=$${topdir}/$$module_srcdir \
  23795. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  23796. --target=${target_alias} \
  23797. \
  23798. $(STAGE1_CONFIGURE_FLAGS)
  23799. @endif zlib-bootstrap
  23800. .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
  23801. maybe-configure-stage2-zlib:
  23802. @if zlib-bootstrap
  23803. maybe-configure-stage2-zlib: configure-stage2-zlib
  23804. configure-stage2-zlib:
  23805. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  23806. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
  23807. @r=`${PWD_COMMAND}`; export r; \
  23808. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23809. TFLAGS="$(STAGE2_TFLAGS)"; \
  23810. test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
  23811. $(HOST_EXPORTS) \
  23812. $(POSTSTAGE1_HOST_EXPORTS) \
  23813. CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
  23814. CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
  23815. LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
  23816. echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
  23817. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
  23818. cd $(HOST_SUBDIR)/zlib || exit 1; \
  23819. case $(srcdir) in \
  23820. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  23821. *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
  23822. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  23823. esac; \
  23824. module_srcdir=zlib; \
  23825. $(SHELL) $$s/$$module_srcdir/configure \
  23826. --srcdir=$${topdir}/$$module_srcdir \
  23827. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  23828. --target=${target_alias} \
  23829. --with-build-libsubdir=$(HOST_SUBDIR) \
  23830. $(STAGE2_CONFIGURE_FLAGS)
  23831. @endif zlib-bootstrap
  23832. .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
  23833. maybe-configure-stage3-zlib:
  23834. @if zlib-bootstrap
  23835. maybe-configure-stage3-zlib: configure-stage3-zlib
  23836. configure-stage3-zlib:
  23837. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  23838. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
  23839. @r=`${PWD_COMMAND}`; export r; \
  23840. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23841. TFLAGS="$(STAGE3_TFLAGS)"; \
  23842. test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
  23843. $(HOST_EXPORTS) \
  23844. $(POSTSTAGE1_HOST_EXPORTS) \
  23845. CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
  23846. CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
  23847. LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
  23848. echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
  23849. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
  23850. cd $(HOST_SUBDIR)/zlib || exit 1; \
  23851. case $(srcdir) in \
  23852. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  23853. *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
  23854. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  23855. esac; \
  23856. module_srcdir=zlib; \
  23857. $(SHELL) $$s/$$module_srcdir/configure \
  23858. --srcdir=$${topdir}/$$module_srcdir \
  23859. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  23860. --target=${target_alias} \
  23861. --with-build-libsubdir=$(HOST_SUBDIR) \
  23862. $(STAGE3_CONFIGURE_FLAGS)
  23863. @endif zlib-bootstrap
  23864. .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
  23865. maybe-configure-stage4-zlib:
  23866. @if zlib-bootstrap
  23867. maybe-configure-stage4-zlib: configure-stage4-zlib
  23868. configure-stage4-zlib:
  23869. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  23870. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
  23871. @r=`${PWD_COMMAND}`; export r; \
  23872. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23873. TFLAGS="$(STAGE4_TFLAGS)"; \
  23874. test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
  23875. $(HOST_EXPORTS) \
  23876. $(POSTSTAGE1_HOST_EXPORTS) \
  23877. CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
  23878. CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
  23879. LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
  23880. echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
  23881. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
  23882. cd $(HOST_SUBDIR)/zlib || exit 1; \
  23883. case $(srcdir) in \
  23884. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  23885. *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
  23886. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  23887. esac; \
  23888. module_srcdir=zlib; \
  23889. $(SHELL) $$s/$$module_srcdir/configure \
  23890. --srcdir=$${topdir}/$$module_srcdir \
  23891. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  23892. --target=${target_alias} \
  23893. --with-build-libsubdir=$(HOST_SUBDIR) \
  23894. $(STAGE4_CONFIGURE_FLAGS)
  23895. @endif zlib-bootstrap
  23896. .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
  23897. maybe-configure-stageprofile-zlib:
  23898. @if zlib-bootstrap
  23899. maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
  23900. configure-stageprofile-zlib:
  23901. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  23902. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
  23903. @r=`${PWD_COMMAND}`; export r; \
  23904. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23905. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  23906. test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
  23907. $(HOST_EXPORTS) \
  23908. $(POSTSTAGE1_HOST_EXPORTS) \
  23909. CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
  23910. CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
  23911. LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
  23912. echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
  23913. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
  23914. cd $(HOST_SUBDIR)/zlib || exit 1; \
  23915. case $(srcdir) in \
  23916. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  23917. *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
  23918. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  23919. esac; \
  23920. module_srcdir=zlib; \
  23921. $(SHELL) $$s/$$module_srcdir/configure \
  23922. --srcdir=$${topdir}/$$module_srcdir \
  23923. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  23924. --target=${target_alias} \
  23925. --with-build-libsubdir=$(HOST_SUBDIR) \
  23926. $(STAGEprofile_CONFIGURE_FLAGS)
  23927. @endif zlib-bootstrap
  23928. .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
  23929. maybe-configure-stagefeedback-zlib:
  23930. @if zlib-bootstrap
  23931. maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
  23932. configure-stagefeedback-zlib:
  23933. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  23934. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib
  23935. @r=`${PWD_COMMAND}`; export r; \
  23936. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23937. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  23938. test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
  23939. $(HOST_EXPORTS) \
  23940. $(POSTSTAGE1_HOST_EXPORTS) \
  23941. CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
  23942. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
  23943. LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
  23944. echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
  23945. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
  23946. cd $(HOST_SUBDIR)/zlib || exit 1; \
  23947. case $(srcdir) in \
  23948. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  23949. *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
  23950. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  23951. esac; \
  23952. module_srcdir=zlib; \
  23953. $(SHELL) $$s/$$module_srcdir/configure \
  23954. --srcdir=$${topdir}/$$module_srcdir \
  23955. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  23956. --target=${target_alias} \
  23957. --with-build-libsubdir=$(HOST_SUBDIR) \
  23958. $(STAGEfeedback_CONFIGURE_FLAGS)
  23959. @endif zlib-bootstrap
  23960. .PHONY: all-zlib maybe-all-zlib
  23961. maybe-all-zlib:
  23962. @if gcc-bootstrap
  23963. all-zlib: stage_current
  23964. @endif gcc-bootstrap
  23965. @if zlib
  23966. TARGET-zlib=all
  23967. maybe-all-zlib: all-zlib
  23968. all-zlib: configure-zlib
  23969. @r=`${PWD_COMMAND}`; export r; \
  23970. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23971. $(HOST_EXPORTS) \
  23972. (cd $(HOST_SUBDIR)/zlib && \
  23973. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  23974. $(TARGET-zlib))
  23975. @endif zlib
  23976. .PHONY: all-stage1-zlib maybe-all-stage1-zlib
  23977. .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
  23978. maybe-all-stage1-zlib:
  23979. maybe-clean-stage1-zlib:
  23980. @if zlib-bootstrap
  23981. maybe-all-stage1-zlib: all-stage1-zlib
  23982. all-stage1: all-stage1-zlib
  23983. TARGET-stage1-zlib = $(TARGET-zlib)
  23984. all-stage1-zlib: configure-stage1-zlib
  23985. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  23986. @r=`${PWD_COMMAND}`; export r; \
  23987. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  23988. TFLAGS="$(STAGE1_TFLAGS)"; \
  23989. $(HOST_EXPORTS) \
  23990. cd $(HOST_SUBDIR)/zlib && \
  23991. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  23992. CFLAGS="$(STAGE1_CFLAGS)" \
  23993. CXXFLAGS="$(STAGE1_CXXFLAGS)" \
  23994. LIBCFLAGS="$(LIBCFLAGS)" \
  23995. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  23996. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  23997. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  23998. $(EXTRA_HOST_FLAGS) \
  23999. $(STAGE1_FLAGS_TO_PASS) \
  24000. TFLAGS="$(STAGE1_TFLAGS)" \
  24001. $(TARGET-stage1-zlib)
  24002. maybe-clean-stage1-zlib: clean-stage1-zlib
  24003. clean-stage1: clean-stage1-zlib
  24004. clean-stage1-zlib:
  24005. @if [ $(current_stage) = stage1 ]; then \
  24006. [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
  24007. else \
  24008. [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] || exit 0; \
  24009. $(MAKE) stage1-start; \
  24010. fi; \
  24011. cd $(HOST_SUBDIR)/zlib && \
  24012. $(MAKE) $(EXTRA_HOST_FLAGS) \
  24013. $(STAGE1_FLAGS_TO_PASS) clean
  24014. @endif zlib-bootstrap
  24015. .PHONY: all-stage2-zlib maybe-all-stage2-zlib
  24016. .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
  24017. maybe-all-stage2-zlib:
  24018. maybe-clean-stage2-zlib:
  24019. @if zlib-bootstrap
  24020. maybe-all-stage2-zlib: all-stage2-zlib
  24021. all-stage2: all-stage2-zlib
  24022. TARGET-stage2-zlib = $(TARGET-zlib)
  24023. all-stage2-zlib: configure-stage2-zlib
  24024. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  24025. @r=`${PWD_COMMAND}`; export r; \
  24026. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24027. TFLAGS="$(STAGE2_TFLAGS)"; \
  24028. $(HOST_EXPORTS) \
  24029. $(POSTSTAGE1_HOST_EXPORTS) \
  24030. cd $(HOST_SUBDIR)/zlib && \
  24031. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  24032. CFLAGS="$(STAGE2_CFLAGS)" \
  24033. CXXFLAGS="$(STAGE2_CXXFLAGS)" \
  24034. LIBCFLAGS="$(STAGE2_CFLAGS)" \
  24035. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  24036. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  24037. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  24038. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  24039. TFLAGS="$(STAGE2_TFLAGS)" \
  24040. $(TARGET-stage2-zlib)
  24041. maybe-clean-stage2-zlib: clean-stage2-zlib
  24042. clean-stage2: clean-stage2-zlib
  24043. clean-stage2-zlib:
  24044. @if [ $(current_stage) = stage2 ]; then \
  24045. [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
  24046. else \
  24047. [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] || exit 0; \
  24048. $(MAKE) stage2-start; \
  24049. fi; \
  24050. cd $(HOST_SUBDIR)/zlib && \
  24051. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  24052. @endif zlib-bootstrap
  24053. .PHONY: all-stage3-zlib maybe-all-stage3-zlib
  24054. .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
  24055. maybe-all-stage3-zlib:
  24056. maybe-clean-stage3-zlib:
  24057. @if zlib-bootstrap
  24058. maybe-all-stage3-zlib: all-stage3-zlib
  24059. all-stage3: all-stage3-zlib
  24060. TARGET-stage3-zlib = $(TARGET-zlib)
  24061. all-stage3-zlib: configure-stage3-zlib
  24062. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  24063. @r=`${PWD_COMMAND}`; export r; \
  24064. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24065. TFLAGS="$(STAGE3_TFLAGS)"; \
  24066. $(HOST_EXPORTS) \
  24067. $(POSTSTAGE1_HOST_EXPORTS) \
  24068. cd $(HOST_SUBDIR)/zlib && \
  24069. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  24070. CFLAGS="$(STAGE3_CFLAGS)" \
  24071. CXXFLAGS="$(STAGE3_CXXFLAGS)" \
  24072. LIBCFLAGS="$(STAGE3_CFLAGS)" \
  24073. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  24074. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  24075. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  24076. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  24077. TFLAGS="$(STAGE3_TFLAGS)" \
  24078. $(TARGET-stage3-zlib)
  24079. maybe-clean-stage3-zlib: clean-stage3-zlib
  24080. clean-stage3: clean-stage3-zlib
  24081. clean-stage3-zlib:
  24082. @if [ $(current_stage) = stage3 ]; then \
  24083. [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
  24084. else \
  24085. [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] || exit 0; \
  24086. $(MAKE) stage3-start; \
  24087. fi; \
  24088. cd $(HOST_SUBDIR)/zlib && \
  24089. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  24090. @endif zlib-bootstrap
  24091. .PHONY: all-stage4-zlib maybe-all-stage4-zlib
  24092. .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
  24093. maybe-all-stage4-zlib:
  24094. maybe-clean-stage4-zlib:
  24095. @if zlib-bootstrap
  24096. maybe-all-stage4-zlib: all-stage4-zlib
  24097. all-stage4: all-stage4-zlib
  24098. TARGET-stage4-zlib = $(TARGET-zlib)
  24099. all-stage4-zlib: configure-stage4-zlib
  24100. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  24101. @r=`${PWD_COMMAND}`; export r; \
  24102. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24103. TFLAGS="$(STAGE4_TFLAGS)"; \
  24104. $(HOST_EXPORTS) \
  24105. $(POSTSTAGE1_HOST_EXPORTS) \
  24106. cd $(HOST_SUBDIR)/zlib && \
  24107. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  24108. CFLAGS="$(STAGE4_CFLAGS)" \
  24109. CXXFLAGS="$(STAGE4_CXXFLAGS)" \
  24110. LIBCFLAGS="$(STAGE4_CFLAGS)" \
  24111. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  24112. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  24113. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  24114. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  24115. TFLAGS="$(STAGE4_TFLAGS)" \
  24116. $(TARGET-stage4-zlib)
  24117. maybe-clean-stage4-zlib: clean-stage4-zlib
  24118. clean-stage4: clean-stage4-zlib
  24119. clean-stage4-zlib:
  24120. @if [ $(current_stage) = stage4 ]; then \
  24121. [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
  24122. else \
  24123. [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] || exit 0; \
  24124. $(MAKE) stage4-start; \
  24125. fi; \
  24126. cd $(HOST_SUBDIR)/zlib && \
  24127. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  24128. @endif zlib-bootstrap
  24129. .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
  24130. .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
  24131. maybe-all-stageprofile-zlib:
  24132. maybe-clean-stageprofile-zlib:
  24133. @if zlib-bootstrap
  24134. maybe-all-stageprofile-zlib: all-stageprofile-zlib
  24135. all-stageprofile: all-stageprofile-zlib
  24136. TARGET-stageprofile-zlib = $(TARGET-zlib)
  24137. all-stageprofile-zlib: configure-stageprofile-zlib
  24138. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  24139. @r=`${PWD_COMMAND}`; export r; \
  24140. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24141. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  24142. $(HOST_EXPORTS) \
  24143. $(POSTSTAGE1_HOST_EXPORTS) \
  24144. cd $(HOST_SUBDIR)/zlib && \
  24145. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  24146. CFLAGS="$(STAGEprofile_CFLAGS)" \
  24147. CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
  24148. LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
  24149. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  24150. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  24151. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  24152. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  24153. TFLAGS="$(STAGEprofile_TFLAGS)" \
  24154. $(TARGET-stageprofile-zlib)
  24155. maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
  24156. clean-stageprofile: clean-stageprofile-zlib
  24157. clean-stageprofile-zlib:
  24158. @if [ $(current_stage) = stageprofile ]; then \
  24159. [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
  24160. else \
  24161. [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] || exit 0; \
  24162. $(MAKE) stageprofile-start; \
  24163. fi; \
  24164. cd $(HOST_SUBDIR)/zlib && \
  24165. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  24166. @endif zlib-bootstrap
  24167. .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
  24168. .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
  24169. maybe-all-stagefeedback-zlib:
  24170. maybe-clean-stagefeedback-zlib:
  24171. @if zlib-bootstrap
  24172. maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
  24173. all-stagefeedback: all-stagefeedback-zlib
  24174. TARGET-stagefeedback-zlib = $(TARGET-zlib)
  24175. all-stagefeedback-zlib: configure-stagefeedback-zlib
  24176. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  24177. @r=`${PWD_COMMAND}`; export r; \
  24178. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24179. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  24180. $(HOST_EXPORTS) \
  24181. $(POSTSTAGE1_HOST_EXPORTS) \
  24182. cd $(HOST_SUBDIR)/zlib && \
  24183. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  24184. CFLAGS="$(STAGEfeedback_CFLAGS)" \
  24185. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
  24186. LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
  24187. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  24188. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  24189. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  24190. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) \
  24191. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  24192. $(TARGET-stagefeedback-zlib)
  24193. maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
  24194. clean-stagefeedback: clean-stagefeedback-zlib
  24195. clean-stagefeedback-zlib:
  24196. @if [ $(current_stage) = stagefeedback ]; then \
  24197. [ -f $(HOST_SUBDIR)/zlib/Makefile ] || exit 0; \
  24198. else \
  24199. [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] || exit 0; \
  24200. $(MAKE) stagefeedback-start; \
  24201. fi; \
  24202. cd $(HOST_SUBDIR)/zlib && \
  24203. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) clean
  24204. @endif zlib-bootstrap
  24205. .PHONY: check-zlib maybe-check-zlib
  24206. maybe-check-zlib:
  24207. @if zlib
  24208. maybe-check-zlib: check-zlib
  24209. check-zlib:
  24210. @endif zlib
  24211. .PHONY: install-zlib maybe-install-zlib
  24212. maybe-install-zlib:
  24213. @if zlib
  24214. maybe-install-zlib: install-zlib
  24215. install-zlib:
  24216. @endif zlib
  24217. .PHONY: install-strip-zlib maybe-install-strip-zlib
  24218. maybe-install-strip-zlib:
  24219. @if zlib
  24220. maybe-install-strip-zlib: install-strip-zlib
  24221. install-strip-zlib:
  24222. @endif zlib
  24223. # Other targets (info, dvi, pdf, etc.)
  24224. .PHONY: maybe-info-zlib info-zlib
  24225. maybe-info-zlib:
  24226. @if zlib
  24227. maybe-info-zlib: info-zlib
  24228. info-zlib: \
  24229. configure-zlib
  24230. @[ -f ./zlib/Makefile ] || exit 0; \
  24231. r=`${PWD_COMMAND}`; export r; \
  24232. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24233. $(HOST_EXPORTS) \
  24234. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24235. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24236. done; \
  24237. echo "Doing info in zlib" ; \
  24238. (cd $(HOST_SUBDIR)/zlib && \
  24239. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24240. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24241. "RANLIB=$${RANLIB}" \
  24242. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24243. info) \
  24244. || exit 1
  24245. @endif zlib
  24246. .PHONY: maybe-dvi-zlib dvi-zlib
  24247. maybe-dvi-zlib:
  24248. @if zlib
  24249. maybe-dvi-zlib: dvi-zlib
  24250. dvi-zlib: \
  24251. configure-zlib
  24252. @[ -f ./zlib/Makefile ] || exit 0; \
  24253. r=`${PWD_COMMAND}`; export r; \
  24254. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24255. $(HOST_EXPORTS) \
  24256. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24257. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24258. done; \
  24259. echo "Doing dvi in zlib" ; \
  24260. (cd $(HOST_SUBDIR)/zlib && \
  24261. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24262. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24263. "RANLIB=$${RANLIB}" \
  24264. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24265. dvi) \
  24266. || exit 1
  24267. @endif zlib
  24268. .PHONY: maybe-pdf-zlib pdf-zlib
  24269. maybe-pdf-zlib:
  24270. @if zlib
  24271. maybe-pdf-zlib: pdf-zlib
  24272. pdf-zlib: \
  24273. configure-zlib
  24274. @[ -f ./zlib/Makefile ] || exit 0; \
  24275. r=`${PWD_COMMAND}`; export r; \
  24276. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24277. $(HOST_EXPORTS) \
  24278. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24279. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24280. done; \
  24281. echo "Doing pdf in zlib" ; \
  24282. (cd $(HOST_SUBDIR)/zlib && \
  24283. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24284. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24285. "RANLIB=$${RANLIB}" \
  24286. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24287. pdf) \
  24288. || exit 1
  24289. @endif zlib
  24290. .PHONY: maybe-html-zlib html-zlib
  24291. maybe-html-zlib:
  24292. @if zlib
  24293. maybe-html-zlib: html-zlib
  24294. html-zlib: \
  24295. configure-zlib
  24296. @[ -f ./zlib/Makefile ] || exit 0; \
  24297. r=`${PWD_COMMAND}`; export r; \
  24298. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24299. $(HOST_EXPORTS) \
  24300. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24301. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24302. done; \
  24303. echo "Doing html in zlib" ; \
  24304. (cd $(HOST_SUBDIR)/zlib && \
  24305. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24306. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24307. "RANLIB=$${RANLIB}" \
  24308. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24309. html) \
  24310. || exit 1
  24311. @endif zlib
  24312. .PHONY: maybe-TAGS-zlib TAGS-zlib
  24313. maybe-TAGS-zlib:
  24314. @if zlib
  24315. maybe-TAGS-zlib: TAGS-zlib
  24316. TAGS-zlib: \
  24317. configure-zlib
  24318. @[ -f ./zlib/Makefile ] || exit 0; \
  24319. r=`${PWD_COMMAND}`; export r; \
  24320. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24321. $(HOST_EXPORTS) \
  24322. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24323. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24324. done; \
  24325. echo "Doing TAGS in zlib" ; \
  24326. (cd $(HOST_SUBDIR)/zlib && \
  24327. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24328. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24329. "RANLIB=$${RANLIB}" \
  24330. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24331. TAGS) \
  24332. || exit 1
  24333. @endif zlib
  24334. .PHONY: maybe-install-info-zlib install-info-zlib
  24335. maybe-install-info-zlib:
  24336. @if zlib
  24337. maybe-install-info-zlib: install-info-zlib
  24338. install-info-zlib: \
  24339. configure-zlib \
  24340. info-zlib
  24341. @[ -f ./zlib/Makefile ] || exit 0; \
  24342. r=`${PWD_COMMAND}`; export r; \
  24343. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24344. $(HOST_EXPORTS) \
  24345. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24346. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24347. done; \
  24348. echo "Doing install-info in zlib" ; \
  24349. (cd $(HOST_SUBDIR)/zlib && \
  24350. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24351. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24352. "RANLIB=$${RANLIB}" \
  24353. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24354. install-info) \
  24355. || exit 1
  24356. @endif zlib
  24357. .PHONY: maybe-install-pdf-zlib install-pdf-zlib
  24358. maybe-install-pdf-zlib:
  24359. @if zlib
  24360. maybe-install-pdf-zlib: install-pdf-zlib
  24361. install-pdf-zlib: \
  24362. configure-zlib \
  24363. pdf-zlib
  24364. @[ -f ./zlib/Makefile ] || exit 0; \
  24365. r=`${PWD_COMMAND}`; export r; \
  24366. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24367. $(HOST_EXPORTS) \
  24368. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24369. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24370. done; \
  24371. echo "Doing install-pdf in zlib" ; \
  24372. (cd $(HOST_SUBDIR)/zlib && \
  24373. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24374. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24375. "RANLIB=$${RANLIB}" \
  24376. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24377. install-pdf) \
  24378. || exit 1
  24379. @endif zlib
  24380. .PHONY: maybe-install-html-zlib install-html-zlib
  24381. maybe-install-html-zlib:
  24382. @if zlib
  24383. maybe-install-html-zlib: install-html-zlib
  24384. install-html-zlib: \
  24385. configure-zlib \
  24386. html-zlib
  24387. @[ -f ./zlib/Makefile ] || exit 0; \
  24388. r=`${PWD_COMMAND}`; export r; \
  24389. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24390. $(HOST_EXPORTS) \
  24391. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24392. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24393. done; \
  24394. echo "Doing install-html in zlib" ; \
  24395. (cd $(HOST_SUBDIR)/zlib && \
  24396. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24397. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24398. "RANLIB=$${RANLIB}" \
  24399. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24400. install-html) \
  24401. || exit 1
  24402. @endif zlib
  24403. .PHONY: maybe-installcheck-zlib installcheck-zlib
  24404. maybe-installcheck-zlib:
  24405. @if zlib
  24406. maybe-installcheck-zlib: installcheck-zlib
  24407. installcheck-zlib: \
  24408. configure-zlib
  24409. @[ -f ./zlib/Makefile ] || exit 0; \
  24410. r=`${PWD_COMMAND}`; export r; \
  24411. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24412. $(HOST_EXPORTS) \
  24413. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24414. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24415. done; \
  24416. echo "Doing installcheck in zlib" ; \
  24417. (cd $(HOST_SUBDIR)/zlib && \
  24418. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24419. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24420. "RANLIB=$${RANLIB}" \
  24421. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24422. installcheck) \
  24423. || exit 1
  24424. @endif zlib
  24425. .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
  24426. maybe-mostlyclean-zlib:
  24427. @if zlib
  24428. maybe-mostlyclean-zlib: mostlyclean-zlib
  24429. mostlyclean-zlib:
  24430. @[ -f ./zlib/Makefile ] || exit 0; \
  24431. r=`${PWD_COMMAND}`; export r; \
  24432. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24433. $(HOST_EXPORTS) \
  24434. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24435. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24436. done; \
  24437. echo "Doing mostlyclean in zlib" ; \
  24438. (cd $(HOST_SUBDIR)/zlib && \
  24439. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24440. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24441. "RANLIB=$${RANLIB}" \
  24442. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24443. mostlyclean) \
  24444. || exit 1
  24445. @endif zlib
  24446. .PHONY: maybe-clean-zlib clean-zlib
  24447. maybe-clean-zlib:
  24448. @if zlib
  24449. maybe-clean-zlib: clean-zlib
  24450. clean-zlib:
  24451. @[ -f ./zlib/Makefile ] || exit 0; \
  24452. r=`${PWD_COMMAND}`; export r; \
  24453. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24454. $(HOST_EXPORTS) \
  24455. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24456. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24457. done; \
  24458. echo "Doing clean in zlib" ; \
  24459. (cd $(HOST_SUBDIR)/zlib && \
  24460. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24461. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24462. "RANLIB=$${RANLIB}" \
  24463. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24464. clean) \
  24465. || exit 1
  24466. @endif zlib
  24467. .PHONY: maybe-distclean-zlib distclean-zlib
  24468. maybe-distclean-zlib:
  24469. @if zlib
  24470. maybe-distclean-zlib: distclean-zlib
  24471. distclean-zlib:
  24472. @[ -f ./zlib/Makefile ] || exit 0; \
  24473. r=`${PWD_COMMAND}`; export r; \
  24474. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24475. $(HOST_EXPORTS) \
  24476. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24477. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24478. done; \
  24479. echo "Doing distclean in zlib" ; \
  24480. (cd $(HOST_SUBDIR)/zlib && \
  24481. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24482. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24483. "RANLIB=$${RANLIB}" \
  24484. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24485. distclean) \
  24486. || exit 1
  24487. @endif zlib
  24488. .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
  24489. maybe-maintainer-clean-zlib:
  24490. @if zlib
  24491. maybe-maintainer-clean-zlib: maintainer-clean-zlib
  24492. maintainer-clean-zlib:
  24493. @[ -f ./zlib/Makefile ] || exit 0; \
  24494. r=`${PWD_COMMAND}`; export r; \
  24495. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24496. $(HOST_EXPORTS) \
  24497. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24498. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24499. done; \
  24500. echo "Doing maintainer-clean in zlib" ; \
  24501. (cd $(HOST_SUBDIR)/zlib && \
  24502. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24503. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24504. "RANLIB=$${RANLIB}" \
  24505. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24506. maintainer-clean) \
  24507. || exit 1
  24508. @endif zlib
  24509. .PHONY: configure-gdb maybe-configure-gdb
  24510. maybe-configure-gdb:
  24511. @if gcc-bootstrap
  24512. configure-gdb: stage_current
  24513. @endif gcc-bootstrap
  24514. @if gdb
  24515. maybe-configure-gdb: configure-gdb
  24516. configure-gdb:
  24517. @: $(MAKE); $(unstage)
  24518. @r=`${PWD_COMMAND}`; export r; \
  24519. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24520. test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
  24521. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
  24522. $(HOST_EXPORTS) \
  24523. echo Configuring in $(HOST_SUBDIR)/gdb; \
  24524. cd "$(HOST_SUBDIR)/gdb" || exit 1; \
  24525. case $(srcdir) in \
  24526. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  24527. *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
  24528. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  24529. esac; \
  24530. module_srcdir=gdb; \
  24531. $(SHELL) \
  24532. $$s/$$module_srcdir/configure \
  24533. --srcdir=$${topdir}/$$module_srcdir \
  24534. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  24535. --target=${target_alias} \
  24536. || exit 1
  24537. @endif gdb
  24538. .PHONY: all-gdb maybe-all-gdb
  24539. maybe-all-gdb:
  24540. @if gcc-bootstrap
  24541. all-gdb: stage_current
  24542. @endif gcc-bootstrap
  24543. @if gdb
  24544. TARGET-gdb=all
  24545. maybe-all-gdb: all-gdb
  24546. all-gdb: configure-gdb
  24547. @: $(MAKE); $(unstage)
  24548. @r=`${PWD_COMMAND}`; export r; \
  24549. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24550. $(HOST_EXPORTS) \
  24551. (cd $(HOST_SUBDIR)/gdb && \
  24552. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  24553. $(TARGET-gdb))
  24554. @endif gdb
  24555. .PHONY: check-gdb maybe-check-gdb
  24556. maybe-check-gdb:
  24557. @if gdb
  24558. maybe-check-gdb: check-gdb
  24559. check-gdb:
  24560. @: $(MAKE); $(unstage)
  24561. @r=`${PWD_COMMAND}`; export r; \
  24562. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24563. $(HOST_EXPORTS) \
  24564. (cd $(HOST_SUBDIR)/gdb && \
  24565. $(MAKE) $(FLAGS_TO_PASS) check)
  24566. @endif gdb
  24567. .PHONY: install-gdb maybe-install-gdb
  24568. maybe-install-gdb:
  24569. @if gdb
  24570. maybe-install-gdb: install-gdb
  24571. install-gdb: installdirs
  24572. @: $(MAKE); $(unstage)
  24573. @r=`${PWD_COMMAND}`; export r; \
  24574. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24575. $(HOST_EXPORTS) \
  24576. (cd $(HOST_SUBDIR)/gdb && \
  24577. $(MAKE) $(FLAGS_TO_PASS) install)
  24578. @endif gdb
  24579. .PHONY: install-strip-gdb maybe-install-strip-gdb
  24580. maybe-install-strip-gdb:
  24581. @if gdb
  24582. maybe-install-strip-gdb: install-strip-gdb
  24583. install-strip-gdb: installdirs
  24584. @: $(MAKE); $(unstage)
  24585. @r=`${PWD_COMMAND}`; export r; \
  24586. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24587. $(HOST_EXPORTS) \
  24588. (cd $(HOST_SUBDIR)/gdb && \
  24589. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  24590. @endif gdb
  24591. # Other targets (info, dvi, pdf, etc.)
  24592. .PHONY: maybe-info-gdb info-gdb
  24593. maybe-info-gdb:
  24594. @if gdb
  24595. maybe-info-gdb: info-gdb
  24596. info-gdb: \
  24597. configure-gdb
  24598. @: $(MAKE); $(unstage)
  24599. @[ -f ./gdb/Makefile ] || exit 0; \
  24600. r=`${PWD_COMMAND}`; export r; \
  24601. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24602. $(HOST_EXPORTS) \
  24603. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24604. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24605. done; \
  24606. echo "Doing info in gdb" ; \
  24607. (cd $(HOST_SUBDIR)/gdb && \
  24608. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24609. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24610. "RANLIB=$${RANLIB}" \
  24611. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24612. info) \
  24613. || exit 1
  24614. @endif gdb
  24615. .PHONY: maybe-dvi-gdb dvi-gdb
  24616. maybe-dvi-gdb:
  24617. @if gdb
  24618. maybe-dvi-gdb: dvi-gdb
  24619. dvi-gdb: \
  24620. configure-gdb
  24621. @: $(MAKE); $(unstage)
  24622. @[ -f ./gdb/Makefile ] || exit 0; \
  24623. r=`${PWD_COMMAND}`; export r; \
  24624. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24625. $(HOST_EXPORTS) \
  24626. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24627. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24628. done; \
  24629. echo "Doing dvi in gdb" ; \
  24630. (cd $(HOST_SUBDIR)/gdb && \
  24631. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24632. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24633. "RANLIB=$${RANLIB}" \
  24634. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24635. dvi) \
  24636. || exit 1
  24637. @endif gdb
  24638. .PHONY: maybe-pdf-gdb pdf-gdb
  24639. maybe-pdf-gdb:
  24640. @if gdb
  24641. maybe-pdf-gdb: pdf-gdb
  24642. pdf-gdb: \
  24643. configure-gdb
  24644. @: $(MAKE); $(unstage)
  24645. @[ -f ./gdb/Makefile ] || exit 0; \
  24646. r=`${PWD_COMMAND}`; export r; \
  24647. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24648. $(HOST_EXPORTS) \
  24649. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24650. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24651. done; \
  24652. echo "Doing pdf in gdb" ; \
  24653. (cd $(HOST_SUBDIR)/gdb && \
  24654. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24655. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24656. "RANLIB=$${RANLIB}" \
  24657. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24658. pdf) \
  24659. || exit 1
  24660. @endif gdb
  24661. .PHONY: maybe-html-gdb html-gdb
  24662. maybe-html-gdb:
  24663. @if gdb
  24664. maybe-html-gdb: html-gdb
  24665. html-gdb: \
  24666. configure-gdb
  24667. @: $(MAKE); $(unstage)
  24668. @[ -f ./gdb/Makefile ] || exit 0; \
  24669. r=`${PWD_COMMAND}`; export r; \
  24670. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24671. $(HOST_EXPORTS) \
  24672. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24673. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24674. done; \
  24675. echo "Doing html in gdb" ; \
  24676. (cd $(HOST_SUBDIR)/gdb && \
  24677. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24678. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24679. "RANLIB=$${RANLIB}" \
  24680. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24681. html) \
  24682. || exit 1
  24683. @endif gdb
  24684. .PHONY: maybe-TAGS-gdb TAGS-gdb
  24685. maybe-TAGS-gdb:
  24686. @if gdb
  24687. maybe-TAGS-gdb: TAGS-gdb
  24688. TAGS-gdb: \
  24689. configure-gdb
  24690. @: $(MAKE); $(unstage)
  24691. @[ -f ./gdb/Makefile ] || exit 0; \
  24692. r=`${PWD_COMMAND}`; export r; \
  24693. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24694. $(HOST_EXPORTS) \
  24695. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24696. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24697. done; \
  24698. echo "Doing TAGS in gdb" ; \
  24699. (cd $(HOST_SUBDIR)/gdb && \
  24700. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24701. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24702. "RANLIB=$${RANLIB}" \
  24703. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24704. TAGS) \
  24705. || exit 1
  24706. @endif gdb
  24707. .PHONY: maybe-install-info-gdb install-info-gdb
  24708. maybe-install-info-gdb:
  24709. @if gdb
  24710. maybe-install-info-gdb: install-info-gdb
  24711. install-info-gdb: \
  24712. configure-gdb \
  24713. info-gdb
  24714. @: $(MAKE); $(unstage)
  24715. @[ -f ./gdb/Makefile ] || exit 0; \
  24716. r=`${PWD_COMMAND}`; export r; \
  24717. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24718. $(HOST_EXPORTS) \
  24719. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24720. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24721. done; \
  24722. echo "Doing install-info in gdb" ; \
  24723. (cd $(HOST_SUBDIR)/gdb && \
  24724. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24725. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24726. "RANLIB=$${RANLIB}" \
  24727. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24728. install-info) \
  24729. || exit 1
  24730. @endif gdb
  24731. .PHONY: maybe-install-pdf-gdb install-pdf-gdb
  24732. maybe-install-pdf-gdb:
  24733. @if gdb
  24734. maybe-install-pdf-gdb: install-pdf-gdb
  24735. install-pdf-gdb: \
  24736. configure-gdb \
  24737. pdf-gdb
  24738. @: $(MAKE); $(unstage)
  24739. @[ -f ./gdb/Makefile ] || exit 0; \
  24740. r=`${PWD_COMMAND}`; export r; \
  24741. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24742. $(HOST_EXPORTS) \
  24743. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24744. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24745. done; \
  24746. echo "Doing install-pdf in gdb" ; \
  24747. (cd $(HOST_SUBDIR)/gdb && \
  24748. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24749. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24750. "RANLIB=$${RANLIB}" \
  24751. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24752. install-pdf) \
  24753. || exit 1
  24754. @endif gdb
  24755. .PHONY: maybe-install-html-gdb install-html-gdb
  24756. maybe-install-html-gdb:
  24757. @if gdb
  24758. maybe-install-html-gdb: install-html-gdb
  24759. install-html-gdb: \
  24760. configure-gdb \
  24761. html-gdb
  24762. @: $(MAKE); $(unstage)
  24763. @[ -f ./gdb/Makefile ] || exit 0; \
  24764. r=`${PWD_COMMAND}`; export r; \
  24765. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24766. $(HOST_EXPORTS) \
  24767. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24768. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24769. done; \
  24770. echo "Doing install-html in gdb" ; \
  24771. (cd $(HOST_SUBDIR)/gdb && \
  24772. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24773. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24774. "RANLIB=$${RANLIB}" \
  24775. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24776. install-html) \
  24777. || exit 1
  24778. @endif gdb
  24779. .PHONY: maybe-installcheck-gdb installcheck-gdb
  24780. maybe-installcheck-gdb:
  24781. @if gdb
  24782. maybe-installcheck-gdb: installcheck-gdb
  24783. installcheck-gdb: \
  24784. configure-gdb
  24785. @: $(MAKE); $(unstage)
  24786. @[ -f ./gdb/Makefile ] || exit 0; \
  24787. r=`${PWD_COMMAND}`; export r; \
  24788. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24789. $(HOST_EXPORTS) \
  24790. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24791. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24792. done; \
  24793. echo "Doing installcheck in gdb" ; \
  24794. (cd $(HOST_SUBDIR)/gdb && \
  24795. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24796. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24797. "RANLIB=$${RANLIB}" \
  24798. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24799. installcheck) \
  24800. || exit 1
  24801. @endif gdb
  24802. .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
  24803. maybe-mostlyclean-gdb:
  24804. @if gdb
  24805. maybe-mostlyclean-gdb: mostlyclean-gdb
  24806. mostlyclean-gdb:
  24807. @: $(MAKE); $(unstage)
  24808. @[ -f ./gdb/Makefile ] || exit 0; \
  24809. r=`${PWD_COMMAND}`; export r; \
  24810. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24811. $(HOST_EXPORTS) \
  24812. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24813. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24814. done; \
  24815. echo "Doing mostlyclean in gdb" ; \
  24816. (cd $(HOST_SUBDIR)/gdb && \
  24817. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24818. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24819. "RANLIB=$${RANLIB}" \
  24820. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24821. mostlyclean) \
  24822. || exit 1
  24823. @endif gdb
  24824. .PHONY: maybe-clean-gdb clean-gdb
  24825. maybe-clean-gdb:
  24826. @if gdb
  24827. maybe-clean-gdb: clean-gdb
  24828. clean-gdb:
  24829. @: $(MAKE); $(unstage)
  24830. @[ -f ./gdb/Makefile ] || exit 0; \
  24831. r=`${PWD_COMMAND}`; export r; \
  24832. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24833. $(HOST_EXPORTS) \
  24834. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24835. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24836. done; \
  24837. echo "Doing clean in gdb" ; \
  24838. (cd $(HOST_SUBDIR)/gdb && \
  24839. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24840. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24841. "RANLIB=$${RANLIB}" \
  24842. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24843. clean) \
  24844. || exit 1
  24845. @endif gdb
  24846. .PHONY: maybe-distclean-gdb distclean-gdb
  24847. maybe-distclean-gdb:
  24848. @if gdb
  24849. maybe-distclean-gdb: distclean-gdb
  24850. distclean-gdb:
  24851. @: $(MAKE); $(unstage)
  24852. @[ -f ./gdb/Makefile ] || exit 0; \
  24853. r=`${PWD_COMMAND}`; export r; \
  24854. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24855. $(HOST_EXPORTS) \
  24856. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24857. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24858. done; \
  24859. echo "Doing distclean in gdb" ; \
  24860. (cd $(HOST_SUBDIR)/gdb && \
  24861. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24862. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24863. "RANLIB=$${RANLIB}" \
  24864. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24865. distclean) \
  24866. || exit 1
  24867. @endif gdb
  24868. .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
  24869. maybe-maintainer-clean-gdb:
  24870. @if gdb
  24871. maybe-maintainer-clean-gdb: maintainer-clean-gdb
  24872. maintainer-clean-gdb:
  24873. @: $(MAKE); $(unstage)
  24874. @[ -f ./gdb/Makefile ] || exit 0; \
  24875. r=`${PWD_COMMAND}`; export r; \
  24876. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24877. $(HOST_EXPORTS) \
  24878. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24879. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24880. done; \
  24881. echo "Doing maintainer-clean in gdb" ; \
  24882. (cd $(HOST_SUBDIR)/gdb && \
  24883. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24884. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24885. "RANLIB=$${RANLIB}" \
  24886. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24887. maintainer-clean) \
  24888. || exit 1
  24889. @endif gdb
  24890. .PHONY: configure-expect maybe-configure-expect
  24891. maybe-configure-expect:
  24892. @if gcc-bootstrap
  24893. configure-expect: stage_current
  24894. @endif gcc-bootstrap
  24895. @if expect
  24896. maybe-configure-expect: configure-expect
  24897. configure-expect:
  24898. @: $(MAKE); $(unstage)
  24899. @r=`${PWD_COMMAND}`; export r; \
  24900. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24901. test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
  24902. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
  24903. $(HOST_EXPORTS) \
  24904. echo Configuring in $(HOST_SUBDIR)/expect; \
  24905. cd "$(HOST_SUBDIR)/expect" || exit 1; \
  24906. case $(srcdir) in \
  24907. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  24908. *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
  24909. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  24910. esac; \
  24911. module_srcdir=expect; \
  24912. $(SHELL) \
  24913. $$s/$$module_srcdir/configure \
  24914. --srcdir=$${topdir}/$$module_srcdir \
  24915. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  24916. --target=${target_alias} \
  24917. || exit 1
  24918. @endif expect
  24919. .PHONY: all-expect maybe-all-expect
  24920. maybe-all-expect:
  24921. @if gcc-bootstrap
  24922. all-expect: stage_current
  24923. @endif gcc-bootstrap
  24924. @if expect
  24925. TARGET-expect=all
  24926. maybe-all-expect: all-expect
  24927. all-expect: configure-expect
  24928. @: $(MAKE); $(unstage)
  24929. @r=`${PWD_COMMAND}`; export r; \
  24930. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24931. $(HOST_EXPORTS) \
  24932. (cd $(HOST_SUBDIR)/expect && \
  24933. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  24934. $(TARGET-expect))
  24935. @endif expect
  24936. .PHONY: check-expect maybe-check-expect
  24937. maybe-check-expect:
  24938. @if expect
  24939. maybe-check-expect: check-expect
  24940. check-expect:
  24941. @: $(MAKE); $(unstage)
  24942. @r=`${PWD_COMMAND}`; export r; \
  24943. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24944. $(HOST_EXPORTS) \
  24945. (cd $(HOST_SUBDIR)/expect && \
  24946. $(MAKE) $(FLAGS_TO_PASS) check)
  24947. @endif expect
  24948. .PHONY: install-expect maybe-install-expect
  24949. maybe-install-expect:
  24950. @if expect
  24951. maybe-install-expect: install-expect
  24952. install-expect: installdirs
  24953. @: $(MAKE); $(unstage)
  24954. @r=`${PWD_COMMAND}`; export r; \
  24955. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24956. $(HOST_EXPORTS) \
  24957. (cd $(HOST_SUBDIR)/expect && \
  24958. $(MAKE) $(FLAGS_TO_PASS) install)
  24959. @endif expect
  24960. .PHONY: install-strip-expect maybe-install-strip-expect
  24961. maybe-install-strip-expect:
  24962. @if expect
  24963. maybe-install-strip-expect: install-strip-expect
  24964. install-strip-expect: installdirs
  24965. @: $(MAKE); $(unstage)
  24966. @r=`${PWD_COMMAND}`; export r; \
  24967. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24968. $(HOST_EXPORTS) \
  24969. (cd $(HOST_SUBDIR)/expect && \
  24970. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  24971. @endif expect
  24972. # Other targets (info, dvi, pdf, etc.)
  24973. .PHONY: maybe-info-expect info-expect
  24974. maybe-info-expect:
  24975. @if expect
  24976. maybe-info-expect: info-expect
  24977. info-expect: \
  24978. configure-expect
  24979. @: $(MAKE); $(unstage)
  24980. @[ -f ./expect/Makefile ] || exit 0; \
  24981. r=`${PWD_COMMAND}`; export r; \
  24982. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  24983. $(HOST_EXPORTS) \
  24984. for flag in $(EXTRA_HOST_FLAGS) ; do \
  24985. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  24986. done; \
  24987. echo "Doing info in expect" ; \
  24988. (cd $(HOST_SUBDIR)/expect && \
  24989. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  24990. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  24991. "RANLIB=$${RANLIB}" \
  24992. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  24993. info) \
  24994. || exit 1
  24995. @endif expect
  24996. .PHONY: maybe-dvi-expect dvi-expect
  24997. maybe-dvi-expect:
  24998. @if expect
  24999. maybe-dvi-expect: dvi-expect
  25000. dvi-expect: \
  25001. configure-expect
  25002. @: $(MAKE); $(unstage)
  25003. @[ -f ./expect/Makefile ] || exit 0; \
  25004. r=`${PWD_COMMAND}`; export r; \
  25005. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25006. $(HOST_EXPORTS) \
  25007. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25008. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25009. done; \
  25010. echo "Doing dvi in expect" ; \
  25011. (cd $(HOST_SUBDIR)/expect && \
  25012. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25013. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25014. "RANLIB=$${RANLIB}" \
  25015. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25016. dvi) \
  25017. || exit 1
  25018. @endif expect
  25019. .PHONY: maybe-pdf-expect pdf-expect
  25020. maybe-pdf-expect:
  25021. @if expect
  25022. maybe-pdf-expect: pdf-expect
  25023. pdf-expect: \
  25024. configure-expect
  25025. @: $(MAKE); $(unstage)
  25026. @[ -f ./expect/Makefile ] || exit 0; \
  25027. r=`${PWD_COMMAND}`; export r; \
  25028. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25029. $(HOST_EXPORTS) \
  25030. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25031. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25032. done; \
  25033. echo "Doing pdf in expect" ; \
  25034. (cd $(HOST_SUBDIR)/expect && \
  25035. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25036. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25037. "RANLIB=$${RANLIB}" \
  25038. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25039. pdf) \
  25040. || exit 1
  25041. @endif expect
  25042. .PHONY: maybe-html-expect html-expect
  25043. maybe-html-expect:
  25044. @if expect
  25045. maybe-html-expect: html-expect
  25046. html-expect: \
  25047. configure-expect
  25048. @: $(MAKE); $(unstage)
  25049. @[ -f ./expect/Makefile ] || exit 0; \
  25050. r=`${PWD_COMMAND}`; export r; \
  25051. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25052. $(HOST_EXPORTS) \
  25053. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25054. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25055. done; \
  25056. echo "Doing html in expect" ; \
  25057. (cd $(HOST_SUBDIR)/expect && \
  25058. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25059. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25060. "RANLIB=$${RANLIB}" \
  25061. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25062. html) \
  25063. || exit 1
  25064. @endif expect
  25065. .PHONY: maybe-TAGS-expect TAGS-expect
  25066. maybe-TAGS-expect:
  25067. @if expect
  25068. maybe-TAGS-expect: TAGS-expect
  25069. TAGS-expect: \
  25070. configure-expect
  25071. @: $(MAKE); $(unstage)
  25072. @[ -f ./expect/Makefile ] || exit 0; \
  25073. r=`${PWD_COMMAND}`; export r; \
  25074. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25075. $(HOST_EXPORTS) \
  25076. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25077. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25078. done; \
  25079. echo "Doing TAGS in expect" ; \
  25080. (cd $(HOST_SUBDIR)/expect && \
  25081. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25082. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25083. "RANLIB=$${RANLIB}" \
  25084. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25085. TAGS) \
  25086. || exit 1
  25087. @endif expect
  25088. .PHONY: maybe-install-info-expect install-info-expect
  25089. maybe-install-info-expect:
  25090. @if expect
  25091. maybe-install-info-expect: install-info-expect
  25092. install-info-expect: \
  25093. configure-expect \
  25094. info-expect
  25095. @: $(MAKE); $(unstage)
  25096. @[ -f ./expect/Makefile ] || exit 0; \
  25097. r=`${PWD_COMMAND}`; export r; \
  25098. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25099. $(HOST_EXPORTS) \
  25100. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25101. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25102. done; \
  25103. echo "Doing install-info in expect" ; \
  25104. (cd $(HOST_SUBDIR)/expect && \
  25105. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25106. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25107. "RANLIB=$${RANLIB}" \
  25108. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25109. install-info) \
  25110. || exit 1
  25111. @endif expect
  25112. .PHONY: maybe-install-pdf-expect install-pdf-expect
  25113. maybe-install-pdf-expect:
  25114. @if expect
  25115. maybe-install-pdf-expect: install-pdf-expect
  25116. install-pdf-expect: \
  25117. configure-expect \
  25118. pdf-expect
  25119. @: $(MAKE); $(unstage)
  25120. @[ -f ./expect/Makefile ] || exit 0; \
  25121. r=`${PWD_COMMAND}`; export r; \
  25122. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25123. $(HOST_EXPORTS) \
  25124. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25125. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25126. done; \
  25127. echo "Doing install-pdf in expect" ; \
  25128. (cd $(HOST_SUBDIR)/expect && \
  25129. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25130. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25131. "RANLIB=$${RANLIB}" \
  25132. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25133. install-pdf) \
  25134. || exit 1
  25135. @endif expect
  25136. .PHONY: maybe-install-html-expect install-html-expect
  25137. maybe-install-html-expect:
  25138. @if expect
  25139. maybe-install-html-expect: install-html-expect
  25140. install-html-expect: \
  25141. configure-expect \
  25142. html-expect
  25143. @: $(MAKE); $(unstage)
  25144. @[ -f ./expect/Makefile ] || exit 0; \
  25145. r=`${PWD_COMMAND}`; export r; \
  25146. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25147. $(HOST_EXPORTS) \
  25148. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25149. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25150. done; \
  25151. echo "Doing install-html in expect" ; \
  25152. (cd $(HOST_SUBDIR)/expect && \
  25153. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25154. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25155. "RANLIB=$${RANLIB}" \
  25156. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25157. install-html) \
  25158. || exit 1
  25159. @endif expect
  25160. .PHONY: maybe-installcheck-expect installcheck-expect
  25161. maybe-installcheck-expect:
  25162. @if expect
  25163. maybe-installcheck-expect: installcheck-expect
  25164. installcheck-expect: \
  25165. configure-expect
  25166. @: $(MAKE); $(unstage)
  25167. @[ -f ./expect/Makefile ] || exit 0; \
  25168. r=`${PWD_COMMAND}`; export r; \
  25169. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25170. $(HOST_EXPORTS) \
  25171. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25172. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25173. done; \
  25174. echo "Doing installcheck in expect" ; \
  25175. (cd $(HOST_SUBDIR)/expect && \
  25176. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25177. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25178. "RANLIB=$${RANLIB}" \
  25179. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25180. installcheck) \
  25181. || exit 1
  25182. @endif expect
  25183. .PHONY: maybe-mostlyclean-expect mostlyclean-expect
  25184. maybe-mostlyclean-expect:
  25185. @if expect
  25186. maybe-mostlyclean-expect: mostlyclean-expect
  25187. mostlyclean-expect:
  25188. @: $(MAKE); $(unstage)
  25189. @[ -f ./expect/Makefile ] || exit 0; \
  25190. r=`${PWD_COMMAND}`; export r; \
  25191. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25192. $(HOST_EXPORTS) \
  25193. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25194. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25195. done; \
  25196. echo "Doing mostlyclean in expect" ; \
  25197. (cd $(HOST_SUBDIR)/expect && \
  25198. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25199. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25200. "RANLIB=$${RANLIB}" \
  25201. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25202. mostlyclean) \
  25203. || exit 1
  25204. @endif expect
  25205. .PHONY: maybe-clean-expect clean-expect
  25206. maybe-clean-expect:
  25207. @if expect
  25208. maybe-clean-expect: clean-expect
  25209. clean-expect:
  25210. @: $(MAKE); $(unstage)
  25211. @[ -f ./expect/Makefile ] || exit 0; \
  25212. r=`${PWD_COMMAND}`; export r; \
  25213. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25214. $(HOST_EXPORTS) \
  25215. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25216. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25217. done; \
  25218. echo "Doing clean in expect" ; \
  25219. (cd $(HOST_SUBDIR)/expect && \
  25220. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25221. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25222. "RANLIB=$${RANLIB}" \
  25223. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25224. clean) \
  25225. || exit 1
  25226. @endif expect
  25227. .PHONY: maybe-distclean-expect distclean-expect
  25228. maybe-distclean-expect:
  25229. @if expect
  25230. maybe-distclean-expect: distclean-expect
  25231. distclean-expect:
  25232. @: $(MAKE); $(unstage)
  25233. @[ -f ./expect/Makefile ] || exit 0; \
  25234. r=`${PWD_COMMAND}`; export r; \
  25235. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25236. $(HOST_EXPORTS) \
  25237. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25238. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25239. done; \
  25240. echo "Doing distclean in expect" ; \
  25241. (cd $(HOST_SUBDIR)/expect && \
  25242. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25243. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25244. "RANLIB=$${RANLIB}" \
  25245. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25246. distclean) \
  25247. || exit 1
  25248. @endif expect
  25249. .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
  25250. maybe-maintainer-clean-expect:
  25251. @if expect
  25252. maybe-maintainer-clean-expect: maintainer-clean-expect
  25253. maintainer-clean-expect:
  25254. @: $(MAKE); $(unstage)
  25255. @[ -f ./expect/Makefile ] || exit 0; \
  25256. r=`${PWD_COMMAND}`; export r; \
  25257. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25258. $(HOST_EXPORTS) \
  25259. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25260. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25261. done; \
  25262. echo "Doing maintainer-clean in expect" ; \
  25263. (cd $(HOST_SUBDIR)/expect && \
  25264. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25265. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25266. "RANLIB=$${RANLIB}" \
  25267. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25268. maintainer-clean) \
  25269. || exit 1
  25270. @endif expect
  25271. .PHONY: configure-guile maybe-configure-guile
  25272. maybe-configure-guile:
  25273. @if gcc-bootstrap
  25274. configure-guile: stage_current
  25275. @endif gcc-bootstrap
  25276. @if guile
  25277. maybe-configure-guile: configure-guile
  25278. configure-guile:
  25279. @: $(MAKE); $(unstage)
  25280. @r=`${PWD_COMMAND}`; export r; \
  25281. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25282. test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
  25283. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
  25284. $(HOST_EXPORTS) \
  25285. echo Configuring in $(HOST_SUBDIR)/guile; \
  25286. cd "$(HOST_SUBDIR)/guile" || exit 1; \
  25287. case $(srcdir) in \
  25288. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  25289. *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
  25290. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  25291. esac; \
  25292. module_srcdir=guile; \
  25293. $(SHELL) \
  25294. $$s/$$module_srcdir/configure \
  25295. --srcdir=$${topdir}/$$module_srcdir \
  25296. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  25297. --target=${target_alias} \
  25298. || exit 1
  25299. @endif guile
  25300. .PHONY: all-guile maybe-all-guile
  25301. maybe-all-guile:
  25302. @if gcc-bootstrap
  25303. all-guile: stage_current
  25304. @endif gcc-bootstrap
  25305. @if guile
  25306. TARGET-guile=all
  25307. maybe-all-guile: all-guile
  25308. all-guile: configure-guile
  25309. @: $(MAKE); $(unstage)
  25310. @r=`${PWD_COMMAND}`; export r; \
  25311. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25312. $(HOST_EXPORTS) \
  25313. (cd $(HOST_SUBDIR)/guile && \
  25314. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  25315. $(TARGET-guile))
  25316. @endif guile
  25317. .PHONY: check-guile maybe-check-guile
  25318. maybe-check-guile:
  25319. @if guile
  25320. maybe-check-guile: check-guile
  25321. check-guile:
  25322. @: $(MAKE); $(unstage)
  25323. @r=`${PWD_COMMAND}`; export r; \
  25324. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25325. $(HOST_EXPORTS) \
  25326. (cd $(HOST_SUBDIR)/guile && \
  25327. $(MAKE) $(FLAGS_TO_PASS) check)
  25328. @endif guile
  25329. .PHONY: install-guile maybe-install-guile
  25330. maybe-install-guile:
  25331. @if guile
  25332. maybe-install-guile: install-guile
  25333. install-guile: installdirs
  25334. @: $(MAKE); $(unstage)
  25335. @r=`${PWD_COMMAND}`; export r; \
  25336. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25337. $(HOST_EXPORTS) \
  25338. (cd $(HOST_SUBDIR)/guile && \
  25339. $(MAKE) $(FLAGS_TO_PASS) install)
  25340. @endif guile
  25341. .PHONY: install-strip-guile maybe-install-strip-guile
  25342. maybe-install-strip-guile:
  25343. @if guile
  25344. maybe-install-strip-guile: install-strip-guile
  25345. install-strip-guile: installdirs
  25346. @: $(MAKE); $(unstage)
  25347. @r=`${PWD_COMMAND}`; export r; \
  25348. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25349. $(HOST_EXPORTS) \
  25350. (cd $(HOST_SUBDIR)/guile && \
  25351. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  25352. @endif guile
  25353. # Other targets (info, dvi, pdf, etc.)
  25354. .PHONY: maybe-info-guile info-guile
  25355. maybe-info-guile:
  25356. @if guile
  25357. maybe-info-guile: info-guile
  25358. info-guile: \
  25359. configure-guile
  25360. @: $(MAKE); $(unstage)
  25361. @[ -f ./guile/Makefile ] || exit 0; \
  25362. r=`${PWD_COMMAND}`; export r; \
  25363. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25364. $(HOST_EXPORTS) \
  25365. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25366. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25367. done; \
  25368. echo "Doing info in guile" ; \
  25369. (cd $(HOST_SUBDIR)/guile && \
  25370. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25371. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25372. "RANLIB=$${RANLIB}" \
  25373. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25374. info) \
  25375. || exit 1
  25376. @endif guile
  25377. .PHONY: maybe-dvi-guile dvi-guile
  25378. maybe-dvi-guile:
  25379. @if guile
  25380. maybe-dvi-guile: dvi-guile
  25381. dvi-guile: \
  25382. configure-guile
  25383. @: $(MAKE); $(unstage)
  25384. @[ -f ./guile/Makefile ] || exit 0; \
  25385. r=`${PWD_COMMAND}`; export r; \
  25386. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25387. $(HOST_EXPORTS) \
  25388. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25389. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25390. done; \
  25391. echo "Doing dvi in guile" ; \
  25392. (cd $(HOST_SUBDIR)/guile && \
  25393. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25394. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25395. "RANLIB=$${RANLIB}" \
  25396. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25397. dvi) \
  25398. || exit 1
  25399. @endif guile
  25400. .PHONY: maybe-pdf-guile pdf-guile
  25401. maybe-pdf-guile:
  25402. @if guile
  25403. maybe-pdf-guile: pdf-guile
  25404. pdf-guile: \
  25405. configure-guile
  25406. @: $(MAKE); $(unstage)
  25407. @[ -f ./guile/Makefile ] || exit 0; \
  25408. r=`${PWD_COMMAND}`; export r; \
  25409. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25410. $(HOST_EXPORTS) \
  25411. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25412. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25413. done; \
  25414. echo "Doing pdf in guile" ; \
  25415. (cd $(HOST_SUBDIR)/guile && \
  25416. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25417. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25418. "RANLIB=$${RANLIB}" \
  25419. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25420. pdf) \
  25421. || exit 1
  25422. @endif guile
  25423. .PHONY: maybe-html-guile html-guile
  25424. maybe-html-guile:
  25425. @if guile
  25426. maybe-html-guile: html-guile
  25427. html-guile: \
  25428. configure-guile
  25429. @: $(MAKE); $(unstage)
  25430. @[ -f ./guile/Makefile ] || exit 0; \
  25431. r=`${PWD_COMMAND}`; export r; \
  25432. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25433. $(HOST_EXPORTS) \
  25434. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25435. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25436. done; \
  25437. echo "Doing html in guile" ; \
  25438. (cd $(HOST_SUBDIR)/guile && \
  25439. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25440. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25441. "RANLIB=$${RANLIB}" \
  25442. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25443. html) \
  25444. || exit 1
  25445. @endif guile
  25446. .PHONY: maybe-TAGS-guile TAGS-guile
  25447. maybe-TAGS-guile:
  25448. @if guile
  25449. maybe-TAGS-guile: TAGS-guile
  25450. TAGS-guile: \
  25451. configure-guile
  25452. @: $(MAKE); $(unstage)
  25453. @[ -f ./guile/Makefile ] || exit 0; \
  25454. r=`${PWD_COMMAND}`; export r; \
  25455. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25456. $(HOST_EXPORTS) \
  25457. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25458. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25459. done; \
  25460. echo "Doing TAGS in guile" ; \
  25461. (cd $(HOST_SUBDIR)/guile && \
  25462. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25463. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25464. "RANLIB=$${RANLIB}" \
  25465. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25466. TAGS) \
  25467. || exit 1
  25468. @endif guile
  25469. .PHONY: maybe-install-info-guile install-info-guile
  25470. maybe-install-info-guile:
  25471. @if guile
  25472. maybe-install-info-guile: install-info-guile
  25473. install-info-guile: \
  25474. configure-guile \
  25475. info-guile
  25476. @: $(MAKE); $(unstage)
  25477. @[ -f ./guile/Makefile ] || exit 0; \
  25478. r=`${PWD_COMMAND}`; export r; \
  25479. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25480. $(HOST_EXPORTS) \
  25481. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25482. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25483. done; \
  25484. echo "Doing install-info in guile" ; \
  25485. (cd $(HOST_SUBDIR)/guile && \
  25486. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25487. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25488. "RANLIB=$${RANLIB}" \
  25489. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25490. install-info) \
  25491. || exit 1
  25492. @endif guile
  25493. .PHONY: maybe-install-pdf-guile install-pdf-guile
  25494. maybe-install-pdf-guile:
  25495. @if guile
  25496. maybe-install-pdf-guile: install-pdf-guile
  25497. install-pdf-guile: \
  25498. configure-guile \
  25499. pdf-guile
  25500. @: $(MAKE); $(unstage)
  25501. @[ -f ./guile/Makefile ] || exit 0; \
  25502. r=`${PWD_COMMAND}`; export r; \
  25503. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25504. $(HOST_EXPORTS) \
  25505. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25506. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25507. done; \
  25508. echo "Doing install-pdf in guile" ; \
  25509. (cd $(HOST_SUBDIR)/guile && \
  25510. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25511. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25512. "RANLIB=$${RANLIB}" \
  25513. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25514. install-pdf) \
  25515. || exit 1
  25516. @endif guile
  25517. .PHONY: maybe-install-html-guile install-html-guile
  25518. maybe-install-html-guile:
  25519. @if guile
  25520. maybe-install-html-guile: install-html-guile
  25521. install-html-guile: \
  25522. configure-guile \
  25523. html-guile
  25524. @: $(MAKE); $(unstage)
  25525. @[ -f ./guile/Makefile ] || exit 0; \
  25526. r=`${PWD_COMMAND}`; export r; \
  25527. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25528. $(HOST_EXPORTS) \
  25529. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25530. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25531. done; \
  25532. echo "Doing install-html in guile" ; \
  25533. (cd $(HOST_SUBDIR)/guile && \
  25534. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25535. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25536. "RANLIB=$${RANLIB}" \
  25537. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25538. install-html) \
  25539. || exit 1
  25540. @endif guile
  25541. .PHONY: maybe-installcheck-guile installcheck-guile
  25542. maybe-installcheck-guile:
  25543. @if guile
  25544. maybe-installcheck-guile: installcheck-guile
  25545. installcheck-guile: \
  25546. configure-guile
  25547. @: $(MAKE); $(unstage)
  25548. @[ -f ./guile/Makefile ] || exit 0; \
  25549. r=`${PWD_COMMAND}`; export r; \
  25550. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25551. $(HOST_EXPORTS) \
  25552. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25553. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25554. done; \
  25555. echo "Doing installcheck in guile" ; \
  25556. (cd $(HOST_SUBDIR)/guile && \
  25557. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25558. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25559. "RANLIB=$${RANLIB}" \
  25560. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25561. installcheck) \
  25562. || exit 1
  25563. @endif guile
  25564. .PHONY: maybe-mostlyclean-guile mostlyclean-guile
  25565. maybe-mostlyclean-guile:
  25566. @if guile
  25567. maybe-mostlyclean-guile: mostlyclean-guile
  25568. mostlyclean-guile:
  25569. @: $(MAKE); $(unstage)
  25570. @[ -f ./guile/Makefile ] || exit 0; \
  25571. r=`${PWD_COMMAND}`; export r; \
  25572. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25573. $(HOST_EXPORTS) \
  25574. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25575. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25576. done; \
  25577. echo "Doing mostlyclean in guile" ; \
  25578. (cd $(HOST_SUBDIR)/guile && \
  25579. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25580. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25581. "RANLIB=$${RANLIB}" \
  25582. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25583. mostlyclean) \
  25584. || exit 1
  25585. @endif guile
  25586. .PHONY: maybe-clean-guile clean-guile
  25587. maybe-clean-guile:
  25588. @if guile
  25589. maybe-clean-guile: clean-guile
  25590. clean-guile:
  25591. @: $(MAKE); $(unstage)
  25592. @[ -f ./guile/Makefile ] || exit 0; \
  25593. r=`${PWD_COMMAND}`; export r; \
  25594. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25595. $(HOST_EXPORTS) \
  25596. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25597. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25598. done; \
  25599. echo "Doing clean in guile" ; \
  25600. (cd $(HOST_SUBDIR)/guile && \
  25601. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25602. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25603. "RANLIB=$${RANLIB}" \
  25604. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25605. clean) \
  25606. || exit 1
  25607. @endif guile
  25608. .PHONY: maybe-distclean-guile distclean-guile
  25609. maybe-distclean-guile:
  25610. @if guile
  25611. maybe-distclean-guile: distclean-guile
  25612. distclean-guile:
  25613. @: $(MAKE); $(unstage)
  25614. @[ -f ./guile/Makefile ] || exit 0; \
  25615. r=`${PWD_COMMAND}`; export r; \
  25616. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25617. $(HOST_EXPORTS) \
  25618. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25619. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25620. done; \
  25621. echo "Doing distclean in guile" ; \
  25622. (cd $(HOST_SUBDIR)/guile && \
  25623. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25624. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25625. "RANLIB=$${RANLIB}" \
  25626. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25627. distclean) \
  25628. || exit 1
  25629. @endif guile
  25630. .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
  25631. maybe-maintainer-clean-guile:
  25632. @if guile
  25633. maybe-maintainer-clean-guile: maintainer-clean-guile
  25634. maintainer-clean-guile:
  25635. @: $(MAKE); $(unstage)
  25636. @[ -f ./guile/Makefile ] || exit 0; \
  25637. r=`${PWD_COMMAND}`; export r; \
  25638. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25639. $(HOST_EXPORTS) \
  25640. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25641. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25642. done; \
  25643. echo "Doing maintainer-clean in guile" ; \
  25644. (cd $(HOST_SUBDIR)/guile && \
  25645. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25646. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25647. "RANLIB=$${RANLIB}" \
  25648. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25649. maintainer-clean) \
  25650. || exit 1
  25651. @endif guile
  25652. .PHONY: configure-tk maybe-configure-tk
  25653. maybe-configure-tk:
  25654. @if gcc-bootstrap
  25655. configure-tk: stage_current
  25656. @endif gcc-bootstrap
  25657. @if tk
  25658. maybe-configure-tk: configure-tk
  25659. configure-tk:
  25660. @: $(MAKE); $(unstage)
  25661. @r=`${PWD_COMMAND}`; export r; \
  25662. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25663. test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
  25664. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
  25665. $(HOST_EXPORTS) \
  25666. echo Configuring in $(HOST_SUBDIR)/tk; \
  25667. cd "$(HOST_SUBDIR)/tk" || exit 1; \
  25668. case $(srcdir) in \
  25669. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  25670. *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
  25671. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  25672. esac; \
  25673. module_srcdir=tk; \
  25674. $(SHELL) \
  25675. $$s/$$module_srcdir/configure \
  25676. --srcdir=$${topdir}/$$module_srcdir \
  25677. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  25678. --target=${target_alias} \
  25679. || exit 1
  25680. @endif tk
  25681. .PHONY: all-tk maybe-all-tk
  25682. maybe-all-tk:
  25683. @if gcc-bootstrap
  25684. all-tk: stage_current
  25685. @endif gcc-bootstrap
  25686. @if tk
  25687. TARGET-tk=all
  25688. maybe-all-tk: all-tk
  25689. all-tk: configure-tk
  25690. @: $(MAKE); $(unstage)
  25691. @r=`${PWD_COMMAND}`; export r; \
  25692. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25693. $(HOST_EXPORTS) \
  25694. (cd $(HOST_SUBDIR)/tk && \
  25695. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  25696. $(TARGET-tk))
  25697. @endif tk
  25698. .PHONY: check-tk maybe-check-tk
  25699. maybe-check-tk:
  25700. @if tk
  25701. maybe-check-tk: check-tk
  25702. check-tk:
  25703. @: $(MAKE); $(unstage)
  25704. @r=`${PWD_COMMAND}`; export r; \
  25705. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25706. $(HOST_EXPORTS) \
  25707. (cd $(HOST_SUBDIR)/tk && \
  25708. $(MAKE) $(FLAGS_TO_PASS) check)
  25709. @endif tk
  25710. .PHONY: install-tk maybe-install-tk
  25711. maybe-install-tk:
  25712. @if tk
  25713. maybe-install-tk: install-tk
  25714. install-tk: installdirs
  25715. @: $(MAKE); $(unstage)
  25716. @r=`${PWD_COMMAND}`; export r; \
  25717. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25718. $(HOST_EXPORTS) \
  25719. (cd $(HOST_SUBDIR)/tk && \
  25720. $(MAKE) $(FLAGS_TO_PASS) install)
  25721. @endif tk
  25722. .PHONY: install-strip-tk maybe-install-strip-tk
  25723. maybe-install-strip-tk:
  25724. @if tk
  25725. maybe-install-strip-tk: install-strip-tk
  25726. install-strip-tk: installdirs
  25727. @: $(MAKE); $(unstage)
  25728. @r=`${PWD_COMMAND}`; export r; \
  25729. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25730. $(HOST_EXPORTS) \
  25731. (cd $(HOST_SUBDIR)/tk && \
  25732. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  25733. @endif tk
  25734. # Other targets (info, dvi, pdf, etc.)
  25735. .PHONY: maybe-info-tk info-tk
  25736. maybe-info-tk:
  25737. @if tk
  25738. maybe-info-tk: info-tk
  25739. info-tk: \
  25740. configure-tk
  25741. @: $(MAKE); $(unstage)
  25742. @[ -f ./tk/Makefile ] || exit 0; \
  25743. r=`${PWD_COMMAND}`; export r; \
  25744. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25745. $(HOST_EXPORTS) \
  25746. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25747. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25748. done; \
  25749. echo "Doing info in tk" ; \
  25750. (cd $(HOST_SUBDIR)/tk && \
  25751. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25752. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25753. "RANLIB=$${RANLIB}" \
  25754. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25755. info) \
  25756. || exit 1
  25757. @endif tk
  25758. .PHONY: maybe-dvi-tk dvi-tk
  25759. maybe-dvi-tk:
  25760. @if tk
  25761. maybe-dvi-tk: dvi-tk
  25762. dvi-tk: \
  25763. configure-tk
  25764. @: $(MAKE); $(unstage)
  25765. @[ -f ./tk/Makefile ] || exit 0; \
  25766. r=`${PWD_COMMAND}`; export r; \
  25767. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25768. $(HOST_EXPORTS) \
  25769. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25770. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25771. done; \
  25772. echo "Doing dvi in tk" ; \
  25773. (cd $(HOST_SUBDIR)/tk && \
  25774. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25775. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25776. "RANLIB=$${RANLIB}" \
  25777. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25778. dvi) \
  25779. || exit 1
  25780. @endif tk
  25781. .PHONY: maybe-pdf-tk pdf-tk
  25782. maybe-pdf-tk:
  25783. @if tk
  25784. maybe-pdf-tk: pdf-tk
  25785. pdf-tk: \
  25786. configure-tk
  25787. @: $(MAKE); $(unstage)
  25788. @[ -f ./tk/Makefile ] || exit 0; \
  25789. r=`${PWD_COMMAND}`; export r; \
  25790. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25791. $(HOST_EXPORTS) \
  25792. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25793. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25794. done; \
  25795. echo "Doing pdf in tk" ; \
  25796. (cd $(HOST_SUBDIR)/tk && \
  25797. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25798. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25799. "RANLIB=$${RANLIB}" \
  25800. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25801. pdf) \
  25802. || exit 1
  25803. @endif tk
  25804. .PHONY: maybe-html-tk html-tk
  25805. maybe-html-tk:
  25806. @if tk
  25807. maybe-html-tk: html-tk
  25808. html-tk: \
  25809. configure-tk
  25810. @: $(MAKE); $(unstage)
  25811. @[ -f ./tk/Makefile ] || exit 0; \
  25812. r=`${PWD_COMMAND}`; export r; \
  25813. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25814. $(HOST_EXPORTS) \
  25815. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25816. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25817. done; \
  25818. echo "Doing html in tk" ; \
  25819. (cd $(HOST_SUBDIR)/tk && \
  25820. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25821. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25822. "RANLIB=$${RANLIB}" \
  25823. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25824. html) \
  25825. || exit 1
  25826. @endif tk
  25827. .PHONY: maybe-TAGS-tk TAGS-tk
  25828. maybe-TAGS-tk:
  25829. @if tk
  25830. maybe-TAGS-tk: TAGS-tk
  25831. TAGS-tk: \
  25832. configure-tk
  25833. @: $(MAKE); $(unstage)
  25834. @[ -f ./tk/Makefile ] || exit 0; \
  25835. r=`${PWD_COMMAND}`; export r; \
  25836. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25837. $(HOST_EXPORTS) \
  25838. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25839. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25840. done; \
  25841. echo "Doing TAGS in tk" ; \
  25842. (cd $(HOST_SUBDIR)/tk && \
  25843. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25844. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25845. "RANLIB=$${RANLIB}" \
  25846. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25847. TAGS) \
  25848. || exit 1
  25849. @endif tk
  25850. .PHONY: maybe-install-info-tk install-info-tk
  25851. maybe-install-info-tk:
  25852. @if tk
  25853. maybe-install-info-tk: install-info-tk
  25854. install-info-tk: \
  25855. configure-tk \
  25856. info-tk
  25857. @: $(MAKE); $(unstage)
  25858. @[ -f ./tk/Makefile ] || exit 0; \
  25859. r=`${PWD_COMMAND}`; export r; \
  25860. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25861. $(HOST_EXPORTS) \
  25862. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25863. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25864. done; \
  25865. echo "Doing install-info in tk" ; \
  25866. (cd $(HOST_SUBDIR)/tk && \
  25867. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25868. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25869. "RANLIB=$${RANLIB}" \
  25870. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25871. install-info) \
  25872. || exit 1
  25873. @endif tk
  25874. .PHONY: maybe-install-pdf-tk install-pdf-tk
  25875. maybe-install-pdf-tk:
  25876. @if tk
  25877. maybe-install-pdf-tk: install-pdf-tk
  25878. install-pdf-tk: \
  25879. configure-tk \
  25880. pdf-tk
  25881. @: $(MAKE); $(unstage)
  25882. @[ -f ./tk/Makefile ] || exit 0; \
  25883. r=`${PWD_COMMAND}`; export r; \
  25884. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25885. $(HOST_EXPORTS) \
  25886. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25887. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25888. done; \
  25889. echo "Doing install-pdf in tk" ; \
  25890. (cd $(HOST_SUBDIR)/tk && \
  25891. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25892. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25893. "RANLIB=$${RANLIB}" \
  25894. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25895. install-pdf) \
  25896. || exit 1
  25897. @endif tk
  25898. .PHONY: maybe-install-html-tk install-html-tk
  25899. maybe-install-html-tk:
  25900. @if tk
  25901. maybe-install-html-tk: install-html-tk
  25902. install-html-tk: \
  25903. configure-tk \
  25904. html-tk
  25905. @: $(MAKE); $(unstage)
  25906. @[ -f ./tk/Makefile ] || exit 0; \
  25907. r=`${PWD_COMMAND}`; export r; \
  25908. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25909. $(HOST_EXPORTS) \
  25910. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25911. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25912. done; \
  25913. echo "Doing install-html in tk" ; \
  25914. (cd $(HOST_SUBDIR)/tk && \
  25915. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25916. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25917. "RANLIB=$${RANLIB}" \
  25918. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25919. install-html) \
  25920. || exit 1
  25921. @endif tk
  25922. .PHONY: maybe-installcheck-tk installcheck-tk
  25923. maybe-installcheck-tk:
  25924. @if tk
  25925. maybe-installcheck-tk: installcheck-tk
  25926. installcheck-tk: \
  25927. configure-tk
  25928. @: $(MAKE); $(unstage)
  25929. @[ -f ./tk/Makefile ] || exit 0; \
  25930. r=`${PWD_COMMAND}`; export r; \
  25931. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25932. $(HOST_EXPORTS) \
  25933. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25934. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25935. done; \
  25936. echo "Doing installcheck in tk" ; \
  25937. (cd $(HOST_SUBDIR)/tk && \
  25938. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25939. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25940. "RANLIB=$${RANLIB}" \
  25941. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25942. installcheck) \
  25943. || exit 1
  25944. @endif tk
  25945. .PHONY: maybe-mostlyclean-tk mostlyclean-tk
  25946. maybe-mostlyclean-tk:
  25947. @if tk
  25948. maybe-mostlyclean-tk: mostlyclean-tk
  25949. mostlyclean-tk:
  25950. @: $(MAKE); $(unstage)
  25951. @[ -f ./tk/Makefile ] || exit 0; \
  25952. r=`${PWD_COMMAND}`; export r; \
  25953. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25954. $(HOST_EXPORTS) \
  25955. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25956. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25957. done; \
  25958. echo "Doing mostlyclean in tk" ; \
  25959. (cd $(HOST_SUBDIR)/tk && \
  25960. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25961. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25962. "RANLIB=$${RANLIB}" \
  25963. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25964. mostlyclean) \
  25965. || exit 1
  25966. @endif tk
  25967. .PHONY: maybe-clean-tk clean-tk
  25968. maybe-clean-tk:
  25969. @if tk
  25970. maybe-clean-tk: clean-tk
  25971. clean-tk:
  25972. @: $(MAKE); $(unstage)
  25973. @[ -f ./tk/Makefile ] || exit 0; \
  25974. r=`${PWD_COMMAND}`; export r; \
  25975. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25976. $(HOST_EXPORTS) \
  25977. for flag in $(EXTRA_HOST_FLAGS) ; do \
  25978. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  25979. done; \
  25980. echo "Doing clean in tk" ; \
  25981. (cd $(HOST_SUBDIR)/tk && \
  25982. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  25983. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  25984. "RANLIB=$${RANLIB}" \
  25985. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  25986. clean) \
  25987. || exit 1
  25988. @endif tk
  25989. .PHONY: maybe-distclean-tk distclean-tk
  25990. maybe-distclean-tk:
  25991. @if tk
  25992. maybe-distclean-tk: distclean-tk
  25993. distclean-tk:
  25994. @: $(MAKE); $(unstage)
  25995. @[ -f ./tk/Makefile ] || exit 0; \
  25996. r=`${PWD_COMMAND}`; export r; \
  25997. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  25998. $(HOST_EXPORTS) \
  25999. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26000. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26001. done; \
  26002. echo "Doing distclean in tk" ; \
  26003. (cd $(HOST_SUBDIR)/tk && \
  26004. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26005. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26006. "RANLIB=$${RANLIB}" \
  26007. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26008. distclean) \
  26009. || exit 1
  26010. @endif tk
  26011. .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
  26012. maybe-maintainer-clean-tk:
  26013. @if tk
  26014. maybe-maintainer-clean-tk: maintainer-clean-tk
  26015. maintainer-clean-tk:
  26016. @: $(MAKE); $(unstage)
  26017. @[ -f ./tk/Makefile ] || exit 0; \
  26018. r=`${PWD_COMMAND}`; export r; \
  26019. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26020. $(HOST_EXPORTS) \
  26021. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26022. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26023. done; \
  26024. echo "Doing maintainer-clean in tk" ; \
  26025. (cd $(HOST_SUBDIR)/tk && \
  26026. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26027. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26028. "RANLIB=$${RANLIB}" \
  26029. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26030. maintainer-clean) \
  26031. || exit 1
  26032. @endif tk
  26033. .PHONY: configure-libtermcap maybe-configure-libtermcap
  26034. maybe-configure-libtermcap:
  26035. @if gcc-bootstrap
  26036. configure-libtermcap: stage_current
  26037. @endif gcc-bootstrap
  26038. @if libtermcap
  26039. maybe-configure-libtermcap: configure-libtermcap
  26040. configure-libtermcap:
  26041. @: $(MAKE); $(unstage)
  26042. @r=`${PWD_COMMAND}`; export r; \
  26043. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26044. test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
  26045. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
  26046. $(HOST_EXPORTS) \
  26047. echo Configuring in $(HOST_SUBDIR)/libtermcap; \
  26048. cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
  26049. case $(srcdir) in \
  26050. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  26051. *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
  26052. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  26053. esac; \
  26054. module_srcdir=libtermcap; \
  26055. $(SHELL) \
  26056. $$s/$$module_srcdir/configure \
  26057. --srcdir=$${topdir}/$$module_srcdir \
  26058. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  26059. --target=${target_alias} \
  26060. || exit 1
  26061. @endif libtermcap
  26062. .PHONY: all-libtermcap maybe-all-libtermcap
  26063. maybe-all-libtermcap:
  26064. @if gcc-bootstrap
  26065. all-libtermcap: stage_current
  26066. @endif gcc-bootstrap
  26067. @if libtermcap
  26068. TARGET-libtermcap=all
  26069. maybe-all-libtermcap: all-libtermcap
  26070. all-libtermcap: configure-libtermcap
  26071. @: $(MAKE); $(unstage)
  26072. @r=`${PWD_COMMAND}`; export r; \
  26073. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26074. $(HOST_EXPORTS) \
  26075. (cd $(HOST_SUBDIR)/libtermcap && \
  26076. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  26077. $(TARGET-libtermcap))
  26078. @endif libtermcap
  26079. .PHONY: check-libtermcap maybe-check-libtermcap
  26080. maybe-check-libtermcap:
  26081. @if libtermcap
  26082. maybe-check-libtermcap: check-libtermcap
  26083. check-libtermcap:
  26084. @endif libtermcap
  26085. .PHONY: install-libtermcap maybe-install-libtermcap
  26086. maybe-install-libtermcap:
  26087. @if libtermcap
  26088. maybe-install-libtermcap: install-libtermcap
  26089. install-libtermcap: installdirs
  26090. @: $(MAKE); $(unstage)
  26091. @r=`${PWD_COMMAND}`; export r; \
  26092. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26093. $(HOST_EXPORTS) \
  26094. (cd $(HOST_SUBDIR)/libtermcap && \
  26095. $(MAKE) $(FLAGS_TO_PASS) install)
  26096. @endif libtermcap
  26097. .PHONY: install-strip-libtermcap maybe-install-strip-libtermcap
  26098. maybe-install-strip-libtermcap:
  26099. @if libtermcap
  26100. maybe-install-strip-libtermcap: install-strip-libtermcap
  26101. install-strip-libtermcap: installdirs
  26102. @: $(MAKE); $(unstage)
  26103. @r=`${PWD_COMMAND}`; export r; \
  26104. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26105. $(HOST_EXPORTS) \
  26106. (cd $(HOST_SUBDIR)/libtermcap && \
  26107. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  26108. @endif libtermcap
  26109. # Other targets (info, dvi, pdf, etc.)
  26110. .PHONY: maybe-info-libtermcap info-libtermcap
  26111. maybe-info-libtermcap:
  26112. @if libtermcap
  26113. maybe-info-libtermcap: info-libtermcap
  26114. info-libtermcap: \
  26115. configure-libtermcap
  26116. @: $(MAKE); $(unstage)
  26117. @[ -f ./libtermcap/Makefile ] || exit 0; \
  26118. r=`${PWD_COMMAND}`; export r; \
  26119. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26120. $(HOST_EXPORTS) \
  26121. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26122. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26123. done; \
  26124. echo "Doing info in libtermcap" ; \
  26125. (cd $(HOST_SUBDIR)/libtermcap && \
  26126. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26127. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26128. "RANLIB=$${RANLIB}" \
  26129. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26130. info) \
  26131. || exit 1
  26132. @endif libtermcap
  26133. .PHONY: maybe-dvi-libtermcap dvi-libtermcap
  26134. maybe-dvi-libtermcap:
  26135. @if libtermcap
  26136. maybe-dvi-libtermcap: dvi-libtermcap
  26137. dvi-libtermcap: \
  26138. configure-libtermcap
  26139. @: $(MAKE); $(unstage)
  26140. @[ -f ./libtermcap/Makefile ] || exit 0; \
  26141. r=`${PWD_COMMAND}`; export r; \
  26142. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26143. $(HOST_EXPORTS) \
  26144. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26145. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26146. done; \
  26147. echo "Doing dvi in libtermcap" ; \
  26148. (cd $(HOST_SUBDIR)/libtermcap && \
  26149. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26150. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26151. "RANLIB=$${RANLIB}" \
  26152. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26153. dvi) \
  26154. || exit 1
  26155. @endif libtermcap
  26156. .PHONY: maybe-pdf-libtermcap pdf-libtermcap
  26157. maybe-pdf-libtermcap:
  26158. @if libtermcap
  26159. maybe-pdf-libtermcap: pdf-libtermcap
  26160. pdf-libtermcap: \
  26161. configure-libtermcap
  26162. @: $(MAKE); $(unstage)
  26163. @[ -f ./libtermcap/Makefile ] || exit 0; \
  26164. r=`${PWD_COMMAND}`; export r; \
  26165. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26166. $(HOST_EXPORTS) \
  26167. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26168. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26169. done; \
  26170. echo "Doing pdf in libtermcap" ; \
  26171. (cd $(HOST_SUBDIR)/libtermcap && \
  26172. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26173. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26174. "RANLIB=$${RANLIB}" \
  26175. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26176. pdf) \
  26177. || exit 1
  26178. @endif libtermcap
  26179. .PHONY: maybe-html-libtermcap html-libtermcap
  26180. maybe-html-libtermcap:
  26181. @if libtermcap
  26182. maybe-html-libtermcap: html-libtermcap
  26183. html-libtermcap: \
  26184. configure-libtermcap
  26185. @: $(MAKE); $(unstage)
  26186. @[ -f ./libtermcap/Makefile ] || exit 0; \
  26187. r=`${PWD_COMMAND}`; export r; \
  26188. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26189. $(HOST_EXPORTS) \
  26190. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26191. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26192. done; \
  26193. echo "Doing html in libtermcap" ; \
  26194. (cd $(HOST_SUBDIR)/libtermcap && \
  26195. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26196. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26197. "RANLIB=$${RANLIB}" \
  26198. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26199. html) \
  26200. || exit 1
  26201. @endif libtermcap
  26202. .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
  26203. maybe-TAGS-libtermcap:
  26204. @if libtermcap
  26205. maybe-TAGS-libtermcap: TAGS-libtermcap
  26206. TAGS-libtermcap: \
  26207. configure-libtermcap
  26208. @: $(MAKE); $(unstage)
  26209. @[ -f ./libtermcap/Makefile ] || exit 0; \
  26210. r=`${PWD_COMMAND}`; export r; \
  26211. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26212. $(HOST_EXPORTS) \
  26213. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26214. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26215. done; \
  26216. echo "Doing TAGS in libtermcap" ; \
  26217. (cd $(HOST_SUBDIR)/libtermcap && \
  26218. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26219. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26220. "RANLIB=$${RANLIB}" \
  26221. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26222. TAGS) \
  26223. || exit 1
  26224. @endif libtermcap
  26225. .PHONY: maybe-install-info-libtermcap install-info-libtermcap
  26226. maybe-install-info-libtermcap:
  26227. @if libtermcap
  26228. maybe-install-info-libtermcap: install-info-libtermcap
  26229. install-info-libtermcap: \
  26230. configure-libtermcap \
  26231. info-libtermcap
  26232. @: $(MAKE); $(unstage)
  26233. @[ -f ./libtermcap/Makefile ] || exit 0; \
  26234. r=`${PWD_COMMAND}`; export r; \
  26235. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26236. $(HOST_EXPORTS) \
  26237. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26238. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26239. done; \
  26240. echo "Doing install-info in libtermcap" ; \
  26241. (cd $(HOST_SUBDIR)/libtermcap && \
  26242. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26243. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26244. "RANLIB=$${RANLIB}" \
  26245. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26246. install-info) \
  26247. || exit 1
  26248. @endif libtermcap
  26249. .PHONY: maybe-install-pdf-libtermcap install-pdf-libtermcap
  26250. maybe-install-pdf-libtermcap:
  26251. @if libtermcap
  26252. maybe-install-pdf-libtermcap: install-pdf-libtermcap
  26253. install-pdf-libtermcap: \
  26254. configure-libtermcap \
  26255. pdf-libtermcap
  26256. @: $(MAKE); $(unstage)
  26257. @[ -f ./libtermcap/Makefile ] || exit 0; \
  26258. r=`${PWD_COMMAND}`; export r; \
  26259. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26260. $(HOST_EXPORTS) \
  26261. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26262. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26263. done; \
  26264. echo "Doing install-pdf in libtermcap" ; \
  26265. (cd $(HOST_SUBDIR)/libtermcap && \
  26266. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26267. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26268. "RANLIB=$${RANLIB}" \
  26269. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26270. install-pdf) \
  26271. || exit 1
  26272. @endif libtermcap
  26273. .PHONY: maybe-install-html-libtermcap install-html-libtermcap
  26274. maybe-install-html-libtermcap:
  26275. @if libtermcap
  26276. maybe-install-html-libtermcap: install-html-libtermcap
  26277. install-html-libtermcap: \
  26278. configure-libtermcap \
  26279. html-libtermcap
  26280. @: $(MAKE); $(unstage)
  26281. @[ -f ./libtermcap/Makefile ] || exit 0; \
  26282. r=`${PWD_COMMAND}`; export r; \
  26283. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26284. $(HOST_EXPORTS) \
  26285. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26286. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26287. done; \
  26288. echo "Doing install-html in libtermcap" ; \
  26289. (cd $(HOST_SUBDIR)/libtermcap && \
  26290. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26291. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26292. "RANLIB=$${RANLIB}" \
  26293. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26294. install-html) \
  26295. || exit 1
  26296. @endif libtermcap
  26297. .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
  26298. maybe-installcheck-libtermcap:
  26299. @if libtermcap
  26300. maybe-installcheck-libtermcap: installcheck-libtermcap
  26301. installcheck-libtermcap: \
  26302. configure-libtermcap
  26303. @: $(MAKE); $(unstage)
  26304. @[ -f ./libtermcap/Makefile ] || exit 0; \
  26305. r=`${PWD_COMMAND}`; export r; \
  26306. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26307. $(HOST_EXPORTS) \
  26308. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26309. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26310. done; \
  26311. echo "Doing installcheck in libtermcap" ; \
  26312. (cd $(HOST_SUBDIR)/libtermcap && \
  26313. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26314. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26315. "RANLIB=$${RANLIB}" \
  26316. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26317. installcheck) \
  26318. || exit 1
  26319. @endif libtermcap
  26320. .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
  26321. maybe-mostlyclean-libtermcap:
  26322. @if libtermcap
  26323. maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
  26324. # libtermcap doesn't support mostlyclean.
  26325. mostlyclean-libtermcap:
  26326. @endif libtermcap
  26327. .PHONY: maybe-clean-libtermcap clean-libtermcap
  26328. maybe-clean-libtermcap:
  26329. @if libtermcap
  26330. maybe-clean-libtermcap: clean-libtermcap
  26331. # libtermcap doesn't support clean.
  26332. clean-libtermcap:
  26333. @endif libtermcap
  26334. .PHONY: maybe-distclean-libtermcap distclean-libtermcap
  26335. maybe-distclean-libtermcap:
  26336. @if libtermcap
  26337. maybe-distclean-libtermcap: distclean-libtermcap
  26338. # libtermcap doesn't support distclean.
  26339. distclean-libtermcap:
  26340. @endif libtermcap
  26341. .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
  26342. maybe-maintainer-clean-libtermcap:
  26343. @if libtermcap
  26344. maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
  26345. # libtermcap doesn't support maintainer-clean.
  26346. maintainer-clean-libtermcap:
  26347. @endif libtermcap
  26348. .PHONY: configure-utils maybe-configure-utils
  26349. maybe-configure-utils:
  26350. @if gcc-bootstrap
  26351. configure-utils: stage_current
  26352. @endif gcc-bootstrap
  26353. @if utils
  26354. maybe-configure-utils: configure-utils
  26355. configure-utils:
  26356. @: $(MAKE); $(unstage)
  26357. @r=`${PWD_COMMAND}`; export r; \
  26358. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26359. test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
  26360. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
  26361. $(HOST_EXPORTS) \
  26362. echo Configuring in $(HOST_SUBDIR)/utils; \
  26363. cd "$(HOST_SUBDIR)/utils" || exit 1; \
  26364. case $(srcdir) in \
  26365. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  26366. *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
  26367. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  26368. esac; \
  26369. module_srcdir=utils; \
  26370. $(SHELL) \
  26371. $$s/$$module_srcdir/configure \
  26372. --srcdir=$${topdir}/$$module_srcdir \
  26373. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  26374. --target=${target_alias} \
  26375. || exit 1
  26376. @endif utils
  26377. .PHONY: all-utils maybe-all-utils
  26378. maybe-all-utils:
  26379. @if gcc-bootstrap
  26380. all-utils: stage_current
  26381. @endif gcc-bootstrap
  26382. @if utils
  26383. TARGET-utils=all
  26384. maybe-all-utils: all-utils
  26385. all-utils: configure-utils
  26386. @: $(MAKE); $(unstage)
  26387. @r=`${PWD_COMMAND}`; export r; \
  26388. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26389. $(HOST_EXPORTS) \
  26390. (cd $(HOST_SUBDIR)/utils && \
  26391. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  26392. $(TARGET-utils))
  26393. @endif utils
  26394. .PHONY: check-utils maybe-check-utils
  26395. maybe-check-utils:
  26396. @if utils
  26397. maybe-check-utils: check-utils
  26398. check-utils:
  26399. @endif utils
  26400. .PHONY: install-utils maybe-install-utils
  26401. maybe-install-utils:
  26402. @if utils
  26403. maybe-install-utils: install-utils
  26404. install-utils: installdirs
  26405. @: $(MAKE); $(unstage)
  26406. @r=`${PWD_COMMAND}`; export r; \
  26407. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26408. $(HOST_EXPORTS) \
  26409. (cd $(HOST_SUBDIR)/utils && \
  26410. $(MAKE) $(FLAGS_TO_PASS) install)
  26411. @endif utils
  26412. .PHONY: install-strip-utils maybe-install-strip-utils
  26413. maybe-install-strip-utils:
  26414. @if utils
  26415. maybe-install-strip-utils: install-strip-utils
  26416. install-strip-utils: installdirs
  26417. @: $(MAKE); $(unstage)
  26418. @r=`${PWD_COMMAND}`; export r; \
  26419. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26420. $(HOST_EXPORTS) \
  26421. (cd $(HOST_SUBDIR)/utils && \
  26422. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  26423. @endif utils
  26424. # Other targets (info, dvi, pdf, etc.)
  26425. .PHONY: maybe-info-utils info-utils
  26426. maybe-info-utils:
  26427. @if utils
  26428. maybe-info-utils: info-utils
  26429. info-utils: \
  26430. configure-utils
  26431. @: $(MAKE); $(unstage)
  26432. @[ -f ./utils/Makefile ] || exit 0; \
  26433. r=`${PWD_COMMAND}`; export r; \
  26434. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26435. $(HOST_EXPORTS) \
  26436. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26437. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26438. done; \
  26439. echo "Doing info in utils" ; \
  26440. (cd $(HOST_SUBDIR)/utils && \
  26441. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26442. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26443. "RANLIB=$${RANLIB}" \
  26444. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26445. info) \
  26446. || exit 1
  26447. @endif utils
  26448. .PHONY: maybe-dvi-utils dvi-utils
  26449. maybe-dvi-utils:
  26450. @if utils
  26451. maybe-dvi-utils: dvi-utils
  26452. dvi-utils: \
  26453. configure-utils
  26454. @: $(MAKE); $(unstage)
  26455. @[ -f ./utils/Makefile ] || exit 0; \
  26456. r=`${PWD_COMMAND}`; export r; \
  26457. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26458. $(HOST_EXPORTS) \
  26459. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26460. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26461. done; \
  26462. echo "Doing dvi in utils" ; \
  26463. (cd $(HOST_SUBDIR)/utils && \
  26464. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26465. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26466. "RANLIB=$${RANLIB}" \
  26467. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26468. dvi) \
  26469. || exit 1
  26470. @endif utils
  26471. .PHONY: maybe-pdf-utils pdf-utils
  26472. maybe-pdf-utils:
  26473. @if utils
  26474. maybe-pdf-utils: pdf-utils
  26475. pdf-utils: \
  26476. configure-utils
  26477. @: $(MAKE); $(unstage)
  26478. @[ -f ./utils/Makefile ] || exit 0; \
  26479. r=`${PWD_COMMAND}`; export r; \
  26480. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26481. $(HOST_EXPORTS) \
  26482. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26483. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26484. done; \
  26485. echo "Doing pdf in utils" ; \
  26486. (cd $(HOST_SUBDIR)/utils && \
  26487. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26488. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26489. "RANLIB=$${RANLIB}" \
  26490. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26491. pdf) \
  26492. || exit 1
  26493. @endif utils
  26494. .PHONY: maybe-html-utils html-utils
  26495. maybe-html-utils:
  26496. @if utils
  26497. maybe-html-utils: html-utils
  26498. html-utils: \
  26499. configure-utils
  26500. @: $(MAKE); $(unstage)
  26501. @[ -f ./utils/Makefile ] || exit 0; \
  26502. r=`${PWD_COMMAND}`; export r; \
  26503. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26504. $(HOST_EXPORTS) \
  26505. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26506. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26507. done; \
  26508. echo "Doing html in utils" ; \
  26509. (cd $(HOST_SUBDIR)/utils && \
  26510. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26511. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26512. "RANLIB=$${RANLIB}" \
  26513. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26514. html) \
  26515. || exit 1
  26516. @endif utils
  26517. .PHONY: maybe-TAGS-utils TAGS-utils
  26518. maybe-TAGS-utils:
  26519. @if utils
  26520. maybe-TAGS-utils: TAGS-utils
  26521. TAGS-utils: \
  26522. configure-utils
  26523. @: $(MAKE); $(unstage)
  26524. @[ -f ./utils/Makefile ] || exit 0; \
  26525. r=`${PWD_COMMAND}`; export r; \
  26526. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26527. $(HOST_EXPORTS) \
  26528. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26529. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26530. done; \
  26531. echo "Doing TAGS in utils" ; \
  26532. (cd $(HOST_SUBDIR)/utils && \
  26533. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26534. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26535. "RANLIB=$${RANLIB}" \
  26536. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26537. TAGS) \
  26538. || exit 1
  26539. @endif utils
  26540. .PHONY: maybe-install-info-utils install-info-utils
  26541. maybe-install-info-utils:
  26542. @if utils
  26543. maybe-install-info-utils: install-info-utils
  26544. install-info-utils: \
  26545. configure-utils \
  26546. info-utils
  26547. @: $(MAKE); $(unstage)
  26548. @[ -f ./utils/Makefile ] || exit 0; \
  26549. r=`${PWD_COMMAND}`; export r; \
  26550. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26551. $(HOST_EXPORTS) \
  26552. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26553. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26554. done; \
  26555. echo "Doing install-info in utils" ; \
  26556. (cd $(HOST_SUBDIR)/utils && \
  26557. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26558. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26559. "RANLIB=$${RANLIB}" \
  26560. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26561. install-info) \
  26562. || exit 1
  26563. @endif utils
  26564. .PHONY: maybe-install-pdf-utils install-pdf-utils
  26565. maybe-install-pdf-utils:
  26566. @if utils
  26567. maybe-install-pdf-utils: install-pdf-utils
  26568. install-pdf-utils: \
  26569. configure-utils \
  26570. pdf-utils
  26571. @: $(MAKE); $(unstage)
  26572. @[ -f ./utils/Makefile ] || exit 0; \
  26573. r=`${PWD_COMMAND}`; export r; \
  26574. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26575. $(HOST_EXPORTS) \
  26576. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26577. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26578. done; \
  26579. echo "Doing install-pdf in utils" ; \
  26580. (cd $(HOST_SUBDIR)/utils && \
  26581. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26582. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26583. "RANLIB=$${RANLIB}" \
  26584. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26585. install-pdf) \
  26586. || exit 1
  26587. @endif utils
  26588. .PHONY: maybe-install-html-utils install-html-utils
  26589. maybe-install-html-utils:
  26590. @if utils
  26591. maybe-install-html-utils: install-html-utils
  26592. install-html-utils: \
  26593. configure-utils \
  26594. html-utils
  26595. @: $(MAKE); $(unstage)
  26596. @[ -f ./utils/Makefile ] || exit 0; \
  26597. r=`${PWD_COMMAND}`; export r; \
  26598. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26599. $(HOST_EXPORTS) \
  26600. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26601. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26602. done; \
  26603. echo "Doing install-html in utils" ; \
  26604. (cd $(HOST_SUBDIR)/utils && \
  26605. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26606. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26607. "RANLIB=$${RANLIB}" \
  26608. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26609. install-html) \
  26610. || exit 1
  26611. @endif utils
  26612. .PHONY: maybe-installcheck-utils installcheck-utils
  26613. maybe-installcheck-utils:
  26614. @if utils
  26615. maybe-installcheck-utils: installcheck-utils
  26616. installcheck-utils: \
  26617. configure-utils
  26618. @: $(MAKE); $(unstage)
  26619. @[ -f ./utils/Makefile ] || exit 0; \
  26620. r=`${PWD_COMMAND}`; export r; \
  26621. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26622. $(HOST_EXPORTS) \
  26623. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26624. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26625. done; \
  26626. echo "Doing installcheck in utils" ; \
  26627. (cd $(HOST_SUBDIR)/utils && \
  26628. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26629. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26630. "RANLIB=$${RANLIB}" \
  26631. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26632. installcheck) \
  26633. || exit 1
  26634. @endif utils
  26635. .PHONY: maybe-mostlyclean-utils mostlyclean-utils
  26636. maybe-mostlyclean-utils:
  26637. @if utils
  26638. maybe-mostlyclean-utils: mostlyclean-utils
  26639. mostlyclean-utils:
  26640. @: $(MAKE); $(unstage)
  26641. @[ -f ./utils/Makefile ] || exit 0; \
  26642. r=`${PWD_COMMAND}`; export r; \
  26643. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26644. $(HOST_EXPORTS) \
  26645. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26646. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26647. done; \
  26648. echo "Doing mostlyclean in utils" ; \
  26649. (cd $(HOST_SUBDIR)/utils && \
  26650. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26651. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26652. "RANLIB=$${RANLIB}" \
  26653. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26654. mostlyclean) \
  26655. || exit 1
  26656. @endif utils
  26657. .PHONY: maybe-clean-utils clean-utils
  26658. maybe-clean-utils:
  26659. @if utils
  26660. maybe-clean-utils: clean-utils
  26661. clean-utils:
  26662. @: $(MAKE); $(unstage)
  26663. @[ -f ./utils/Makefile ] || exit 0; \
  26664. r=`${PWD_COMMAND}`; export r; \
  26665. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26666. $(HOST_EXPORTS) \
  26667. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26668. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26669. done; \
  26670. echo "Doing clean in utils" ; \
  26671. (cd $(HOST_SUBDIR)/utils && \
  26672. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26673. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26674. "RANLIB=$${RANLIB}" \
  26675. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26676. clean) \
  26677. || exit 1
  26678. @endif utils
  26679. .PHONY: maybe-distclean-utils distclean-utils
  26680. maybe-distclean-utils:
  26681. @if utils
  26682. maybe-distclean-utils: distclean-utils
  26683. distclean-utils:
  26684. @: $(MAKE); $(unstage)
  26685. @[ -f ./utils/Makefile ] || exit 0; \
  26686. r=`${PWD_COMMAND}`; export r; \
  26687. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26688. $(HOST_EXPORTS) \
  26689. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26690. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26691. done; \
  26692. echo "Doing distclean in utils" ; \
  26693. (cd $(HOST_SUBDIR)/utils && \
  26694. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26695. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26696. "RANLIB=$${RANLIB}" \
  26697. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26698. distclean) \
  26699. || exit 1
  26700. @endif utils
  26701. .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
  26702. maybe-maintainer-clean-utils:
  26703. @if utils
  26704. maybe-maintainer-clean-utils: maintainer-clean-utils
  26705. maintainer-clean-utils:
  26706. @: $(MAKE); $(unstage)
  26707. @[ -f ./utils/Makefile ] || exit 0; \
  26708. r=`${PWD_COMMAND}`; export r; \
  26709. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26710. $(HOST_EXPORTS) \
  26711. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26712. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26713. done; \
  26714. echo "Doing maintainer-clean in utils" ; \
  26715. (cd $(HOST_SUBDIR)/utils && \
  26716. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26717. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26718. "RANLIB=$${RANLIB}" \
  26719. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26720. maintainer-clean) \
  26721. || exit 1
  26722. @endif utils
  26723. .PHONY: configure-gnattools maybe-configure-gnattools
  26724. maybe-configure-gnattools:
  26725. @if gcc-bootstrap
  26726. configure-gnattools: stage_current
  26727. @endif gcc-bootstrap
  26728. @if gnattools
  26729. maybe-configure-gnattools: configure-gnattools
  26730. configure-gnattools:
  26731. @: $(MAKE); $(unstage)
  26732. @r=`${PWD_COMMAND}`; export r; \
  26733. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26734. test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
  26735. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
  26736. $(HOST_EXPORTS) \
  26737. echo Configuring in $(HOST_SUBDIR)/gnattools; \
  26738. cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
  26739. case $(srcdir) in \
  26740. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  26741. *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
  26742. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  26743. esac; \
  26744. module_srcdir=gnattools; \
  26745. $(SHELL) \
  26746. $$s/$$module_srcdir/configure \
  26747. --srcdir=$${topdir}/$$module_srcdir \
  26748. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  26749. --target=${target_alias} \
  26750. || exit 1
  26751. @endif gnattools
  26752. .PHONY: all-gnattools maybe-all-gnattools
  26753. maybe-all-gnattools:
  26754. @if gcc-bootstrap
  26755. all-gnattools: stage_current
  26756. @endif gcc-bootstrap
  26757. @if gnattools
  26758. TARGET-gnattools=all
  26759. maybe-all-gnattools: all-gnattools
  26760. all-gnattools: configure-gnattools
  26761. @: $(MAKE); $(unstage)
  26762. @r=`${PWD_COMMAND}`; export r; \
  26763. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26764. $(HOST_EXPORTS) \
  26765. (cd $(HOST_SUBDIR)/gnattools && \
  26766. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  26767. $(TARGET-gnattools))
  26768. @endif gnattools
  26769. .PHONY: check-gnattools maybe-check-gnattools
  26770. maybe-check-gnattools:
  26771. @if gnattools
  26772. maybe-check-gnattools: check-gnattools
  26773. check-gnattools:
  26774. @: $(MAKE); $(unstage)
  26775. @r=`${PWD_COMMAND}`; export r; \
  26776. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26777. $(HOST_EXPORTS) \
  26778. (cd $(HOST_SUBDIR)/gnattools && \
  26779. $(MAKE) $(FLAGS_TO_PASS) check)
  26780. @endif gnattools
  26781. .PHONY: install-gnattools maybe-install-gnattools
  26782. maybe-install-gnattools:
  26783. @if gnattools
  26784. maybe-install-gnattools: install-gnattools
  26785. install-gnattools: installdirs
  26786. @: $(MAKE); $(unstage)
  26787. @r=`${PWD_COMMAND}`; export r; \
  26788. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26789. $(HOST_EXPORTS) \
  26790. (cd $(HOST_SUBDIR)/gnattools && \
  26791. $(MAKE) $(FLAGS_TO_PASS) install)
  26792. @endif gnattools
  26793. .PHONY: install-strip-gnattools maybe-install-strip-gnattools
  26794. maybe-install-strip-gnattools:
  26795. @if gnattools
  26796. maybe-install-strip-gnattools: install-strip-gnattools
  26797. install-strip-gnattools: installdirs
  26798. @: $(MAKE); $(unstage)
  26799. @r=`${PWD_COMMAND}`; export r; \
  26800. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26801. $(HOST_EXPORTS) \
  26802. (cd $(HOST_SUBDIR)/gnattools && \
  26803. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  26804. @endif gnattools
  26805. # Other targets (info, dvi, pdf, etc.)
  26806. .PHONY: maybe-info-gnattools info-gnattools
  26807. maybe-info-gnattools:
  26808. @if gnattools
  26809. maybe-info-gnattools: info-gnattools
  26810. info-gnattools: \
  26811. configure-gnattools
  26812. @: $(MAKE); $(unstage)
  26813. @[ -f ./gnattools/Makefile ] || exit 0; \
  26814. r=`${PWD_COMMAND}`; export r; \
  26815. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26816. $(HOST_EXPORTS) \
  26817. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26818. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26819. done; \
  26820. echo "Doing info in gnattools" ; \
  26821. (cd $(HOST_SUBDIR)/gnattools && \
  26822. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26823. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26824. "RANLIB=$${RANLIB}" \
  26825. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26826. info) \
  26827. || exit 1
  26828. @endif gnattools
  26829. .PHONY: maybe-dvi-gnattools dvi-gnattools
  26830. maybe-dvi-gnattools:
  26831. @if gnattools
  26832. maybe-dvi-gnattools: dvi-gnattools
  26833. dvi-gnattools: \
  26834. configure-gnattools
  26835. @: $(MAKE); $(unstage)
  26836. @[ -f ./gnattools/Makefile ] || exit 0; \
  26837. r=`${PWD_COMMAND}`; export r; \
  26838. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26839. $(HOST_EXPORTS) \
  26840. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26841. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26842. done; \
  26843. echo "Doing dvi in gnattools" ; \
  26844. (cd $(HOST_SUBDIR)/gnattools && \
  26845. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26846. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26847. "RANLIB=$${RANLIB}" \
  26848. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26849. dvi) \
  26850. || exit 1
  26851. @endif gnattools
  26852. .PHONY: maybe-pdf-gnattools pdf-gnattools
  26853. maybe-pdf-gnattools:
  26854. @if gnattools
  26855. maybe-pdf-gnattools: pdf-gnattools
  26856. pdf-gnattools: \
  26857. configure-gnattools
  26858. @: $(MAKE); $(unstage)
  26859. @[ -f ./gnattools/Makefile ] || exit 0; \
  26860. r=`${PWD_COMMAND}`; export r; \
  26861. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26862. $(HOST_EXPORTS) \
  26863. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26864. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26865. done; \
  26866. echo "Doing pdf in gnattools" ; \
  26867. (cd $(HOST_SUBDIR)/gnattools && \
  26868. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26869. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26870. "RANLIB=$${RANLIB}" \
  26871. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26872. pdf) \
  26873. || exit 1
  26874. @endif gnattools
  26875. .PHONY: maybe-html-gnattools html-gnattools
  26876. maybe-html-gnattools:
  26877. @if gnattools
  26878. maybe-html-gnattools: html-gnattools
  26879. html-gnattools: \
  26880. configure-gnattools
  26881. @: $(MAKE); $(unstage)
  26882. @[ -f ./gnattools/Makefile ] || exit 0; \
  26883. r=`${PWD_COMMAND}`; export r; \
  26884. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26885. $(HOST_EXPORTS) \
  26886. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26887. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26888. done; \
  26889. echo "Doing html in gnattools" ; \
  26890. (cd $(HOST_SUBDIR)/gnattools && \
  26891. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26892. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26893. "RANLIB=$${RANLIB}" \
  26894. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26895. html) \
  26896. || exit 1
  26897. @endif gnattools
  26898. .PHONY: maybe-TAGS-gnattools TAGS-gnattools
  26899. maybe-TAGS-gnattools:
  26900. @if gnattools
  26901. maybe-TAGS-gnattools: TAGS-gnattools
  26902. TAGS-gnattools: \
  26903. configure-gnattools
  26904. @: $(MAKE); $(unstage)
  26905. @[ -f ./gnattools/Makefile ] || exit 0; \
  26906. r=`${PWD_COMMAND}`; export r; \
  26907. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26908. $(HOST_EXPORTS) \
  26909. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26910. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26911. done; \
  26912. echo "Doing TAGS in gnattools" ; \
  26913. (cd $(HOST_SUBDIR)/gnattools && \
  26914. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26915. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26916. "RANLIB=$${RANLIB}" \
  26917. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26918. TAGS) \
  26919. || exit 1
  26920. @endif gnattools
  26921. .PHONY: maybe-install-info-gnattools install-info-gnattools
  26922. maybe-install-info-gnattools:
  26923. @if gnattools
  26924. maybe-install-info-gnattools: install-info-gnattools
  26925. install-info-gnattools: \
  26926. configure-gnattools \
  26927. info-gnattools
  26928. @: $(MAKE); $(unstage)
  26929. @[ -f ./gnattools/Makefile ] || exit 0; \
  26930. r=`${PWD_COMMAND}`; export r; \
  26931. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26932. $(HOST_EXPORTS) \
  26933. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26934. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26935. done; \
  26936. echo "Doing install-info in gnattools" ; \
  26937. (cd $(HOST_SUBDIR)/gnattools && \
  26938. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26939. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26940. "RANLIB=$${RANLIB}" \
  26941. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26942. install-info) \
  26943. || exit 1
  26944. @endif gnattools
  26945. .PHONY: maybe-install-pdf-gnattools install-pdf-gnattools
  26946. maybe-install-pdf-gnattools:
  26947. @if gnattools
  26948. maybe-install-pdf-gnattools: install-pdf-gnattools
  26949. install-pdf-gnattools: \
  26950. configure-gnattools \
  26951. pdf-gnattools
  26952. @: $(MAKE); $(unstage)
  26953. @[ -f ./gnattools/Makefile ] || exit 0; \
  26954. r=`${PWD_COMMAND}`; export r; \
  26955. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26956. $(HOST_EXPORTS) \
  26957. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26958. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26959. done; \
  26960. echo "Doing install-pdf in gnattools" ; \
  26961. (cd $(HOST_SUBDIR)/gnattools && \
  26962. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26963. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26964. "RANLIB=$${RANLIB}" \
  26965. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26966. install-pdf) \
  26967. || exit 1
  26968. @endif gnattools
  26969. .PHONY: maybe-install-html-gnattools install-html-gnattools
  26970. maybe-install-html-gnattools:
  26971. @if gnattools
  26972. maybe-install-html-gnattools: install-html-gnattools
  26973. install-html-gnattools: \
  26974. configure-gnattools \
  26975. html-gnattools
  26976. @: $(MAKE); $(unstage)
  26977. @[ -f ./gnattools/Makefile ] || exit 0; \
  26978. r=`${PWD_COMMAND}`; export r; \
  26979. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  26980. $(HOST_EXPORTS) \
  26981. for flag in $(EXTRA_HOST_FLAGS) ; do \
  26982. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  26983. done; \
  26984. echo "Doing install-html in gnattools" ; \
  26985. (cd $(HOST_SUBDIR)/gnattools && \
  26986. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  26987. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  26988. "RANLIB=$${RANLIB}" \
  26989. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  26990. install-html) \
  26991. || exit 1
  26992. @endif gnattools
  26993. .PHONY: maybe-installcheck-gnattools installcheck-gnattools
  26994. maybe-installcheck-gnattools:
  26995. @if gnattools
  26996. maybe-installcheck-gnattools: installcheck-gnattools
  26997. installcheck-gnattools: \
  26998. configure-gnattools
  26999. @: $(MAKE); $(unstage)
  27000. @[ -f ./gnattools/Makefile ] || exit 0; \
  27001. r=`${PWD_COMMAND}`; export r; \
  27002. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27003. $(HOST_EXPORTS) \
  27004. for flag in $(EXTRA_HOST_FLAGS) ; do \
  27005. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  27006. done; \
  27007. echo "Doing installcheck in gnattools" ; \
  27008. (cd $(HOST_SUBDIR)/gnattools && \
  27009. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  27010. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  27011. "RANLIB=$${RANLIB}" \
  27012. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  27013. installcheck) \
  27014. || exit 1
  27015. @endif gnattools
  27016. .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
  27017. maybe-mostlyclean-gnattools:
  27018. @if gnattools
  27019. maybe-mostlyclean-gnattools: mostlyclean-gnattools
  27020. mostlyclean-gnattools:
  27021. @: $(MAKE); $(unstage)
  27022. @[ -f ./gnattools/Makefile ] || exit 0; \
  27023. r=`${PWD_COMMAND}`; export r; \
  27024. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27025. $(HOST_EXPORTS) \
  27026. for flag in $(EXTRA_HOST_FLAGS) ; do \
  27027. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  27028. done; \
  27029. echo "Doing mostlyclean in gnattools" ; \
  27030. (cd $(HOST_SUBDIR)/gnattools && \
  27031. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  27032. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  27033. "RANLIB=$${RANLIB}" \
  27034. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  27035. mostlyclean) \
  27036. || exit 1
  27037. @endif gnattools
  27038. .PHONY: maybe-clean-gnattools clean-gnattools
  27039. maybe-clean-gnattools:
  27040. @if gnattools
  27041. maybe-clean-gnattools: clean-gnattools
  27042. clean-gnattools:
  27043. @: $(MAKE); $(unstage)
  27044. @[ -f ./gnattools/Makefile ] || exit 0; \
  27045. r=`${PWD_COMMAND}`; export r; \
  27046. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27047. $(HOST_EXPORTS) \
  27048. for flag in $(EXTRA_HOST_FLAGS) ; do \
  27049. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  27050. done; \
  27051. echo "Doing clean in gnattools" ; \
  27052. (cd $(HOST_SUBDIR)/gnattools && \
  27053. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  27054. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  27055. "RANLIB=$${RANLIB}" \
  27056. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  27057. clean) \
  27058. || exit 1
  27059. @endif gnattools
  27060. .PHONY: maybe-distclean-gnattools distclean-gnattools
  27061. maybe-distclean-gnattools:
  27062. @if gnattools
  27063. maybe-distclean-gnattools: distclean-gnattools
  27064. distclean-gnattools:
  27065. @: $(MAKE); $(unstage)
  27066. @[ -f ./gnattools/Makefile ] || exit 0; \
  27067. r=`${PWD_COMMAND}`; export r; \
  27068. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27069. $(HOST_EXPORTS) \
  27070. for flag in $(EXTRA_HOST_FLAGS) ; do \
  27071. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  27072. done; \
  27073. echo "Doing distclean in gnattools" ; \
  27074. (cd $(HOST_SUBDIR)/gnattools && \
  27075. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  27076. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  27077. "RANLIB=$${RANLIB}" \
  27078. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  27079. distclean) \
  27080. || exit 1
  27081. @endif gnattools
  27082. .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
  27083. maybe-maintainer-clean-gnattools:
  27084. @if gnattools
  27085. maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
  27086. maintainer-clean-gnattools:
  27087. @: $(MAKE); $(unstage)
  27088. @[ -f ./gnattools/Makefile ] || exit 0; \
  27089. r=`${PWD_COMMAND}`; export r; \
  27090. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27091. $(HOST_EXPORTS) \
  27092. for flag in $(EXTRA_HOST_FLAGS) ; do \
  27093. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  27094. done; \
  27095. echo "Doing maintainer-clean in gnattools" ; \
  27096. (cd $(HOST_SUBDIR)/gnattools && \
  27097. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  27098. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  27099. "RANLIB=$${RANLIB}" \
  27100. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  27101. maintainer-clean) \
  27102. || exit 1
  27103. @endif gnattools
  27104. .PHONY: configure-lto-plugin maybe-configure-lto-plugin
  27105. maybe-configure-lto-plugin:
  27106. @if gcc-bootstrap
  27107. configure-lto-plugin: stage_current
  27108. @endif gcc-bootstrap
  27109. @if lto-plugin
  27110. maybe-configure-lto-plugin: configure-lto-plugin
  27111. configure-lto-plugin:
  27112. @r=`${PWD_COMMAND}`; export r; \
  27113. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27114. test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
  27115. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
  27116. $(HOST_EXPORTS) \
  27117. echo Configuring in $(HOST_SUBDIR)/lto-plugin; \
  27118. cd "$(HOST_SUBDIR)/lto-plugin" || exit 1; \
  27119. case $(srcdir) in \
  27120. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  27121. *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
  27122. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  27123. esac; \
  27124. module_srcdir=lto-plugin; \
  27125. $(SHELL) \
  27126. $$s/$$module_srcdir/configure \
  27127. --srcdir=$${topdir}/$$module_srcdir \
  27128. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  27129. --target=${target_alias} --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@ \
  27130. || exit 1
  27131. @endif lto-plugin
  27132. .PHONY: configure-stage1-lto-plugin maybe-configure-stage1-lto-plugin
  27133. maybe-configure-stage1-lto-plugin:
  27134. @if lto-plugin-bootstrap
  27135. maybe-configure-stage1-lto-plugin: configure-stage1-lto-plugin
  27136. configure-stage1-lto-plugin:
  27137. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  27138. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
  27139. @r=`${PWD_COMMAND}`; export r; \
  27140. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27141. TFLAGS="$(STAGE1_TFLAGS)"; \
  27142. test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
  27143. $(HOST_EXPORTS) \
  27144. CFLAGS="$(STAGE1_CFLAGS)"; export CFLAGS; \
  27145. CXXFLAGS="$(STAGE1_CXXFLAGS)"; export CXXFLAGS; \
  27146. LIBCFLAGS="$(LIBCFLAGS)"; export LIBCFLAGS; \
  27147. echo Configuring stage 1 in $(HOST_SUBDIR)/lto-plugin ; \
  27148. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
  27149. cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
  27150. case $(srcdir) in \
  27151. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  27152. *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
  27153. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  27154. esac; \
  27155. module_srcdir=lto-plugin; \
  27156. $(SHELL) $$s/$$module_srcdir/configure \
  27157. --srcdir=$${topdir}/$$module_srcdir \
  27158. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  27159. --target=${target_alias} \
  27160. \
  27161. $(STAGE1_CONFIGURE_FLAGS) \
  27162. --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
  27163. @endif lto-plugin-bootstrap
  27164. .PHONY: configure-stage2-lto-plugin maybe-configure-stage2-lto-plugin
  27165. maybe-configure-stage2-lto-plugin:
  27166. @if lto-plugin-bootstrap
  27167. maybe-configure-stage2-lto-plugin: configure-stage2-lto-plugin
  27168. configure-stage2-lto-plugin:
  27169. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  27170. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
  27171. @r=`${PWD_COMMAND}`; export r; \
  27172. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27173. TFLAGS="$(STAGE2_TFLAGS)"; \
  27174. test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
  27175. $(HOST_EXPORTS) \
  27176. $(POSTSTAGE1_HOST_EXPORTS) \
  27177. CFLAGS="$(STAGE2_CFLAGS)"; export CFLAGS; \
  27178. CXXFLAGS="$(STAGE2_CXXFLAGS)"; export CXXFLAGS; \
  27179. LIBCFLAGS="$(STAGE2_CFLAGS)"; export LIBCFLAGS; \
  27180. echo Configuring stage 2 in $(HOST_SUBDIR)/lto-plugin ; \
  27181. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
  27182. cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
  27183. case $(srcdir) in \
  27184. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  27185. *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
  27186. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  27187. esac; \
  27188. module_srcdir=lto-plugin; \
  27189. $(SHELL) $$s/$$module_srcdir/configure \
  27190. --srcdir=$${topdir}/$$module_srcdir \
  27191. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  27192. --target=${target_alias} \
  27193. --with-build-libsubdir=$(HOST_SUBDIR) \
  27194. $(STAGE2_CONFIGURE_FLAGS) \
  27195. --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
  27196. @endif lto-plugin-bootstrap
  27197. .PHONY: configure-stage3-lto-plugin maybe-configure-stage3-lto-plugin
  27198. maybe-configure-stage3-lto-plugin:
  27199. @if lto-plugin-bootstrap
  27200. maybe-configure-stage3-lto-plugin: configure-stage3-lto-plugin
  27201. configure-stage3-lto-plugin:
  27202. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  27203. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
  27204. @r=`${PWD_COMMAND}`; export r; \
  27205. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27206. TFLAGS="$(STAGE3_TFLAGS)"; \
  27207. test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
  27208. $(HOST_EXPORTS) \
  27209. $(POSTSTAGE1_HOST_EXPORTS) \
  27210. CFLAGS="$(STAGE3_CFLAGS)"; export CFLAGS; \
  27211. CXXFLAGS="$(STAGE3_CXXFLAGS)"; export CXXFLAGS; \
  27212. LIBCFLAGS="$(STAGE3_CFLAGS)"; export LIBCFLAGS; \
  27213. echo Configuring stage 3 in $(HOST_SUBDIR)/lto-plugin ; \
  27214. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
  27215. cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
  27216. case $(srcdir) in \
  27217. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  27218. *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
  27219. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  27220. esac; \
  27221. module_srcdir=lto-plugin; \
  27222. $(SHELL) $$s/$$module_srcdir/configure \
  27223. --srcdir=$${topdir}/$$module_srcdir \
  27224. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  27225. --target=${target_alias} \
  27226. --with-build-libsubdir=$(HOST_SUBDIR) \
  27227. $(STAGE3_CONFIGURE_FLAGS) \
  27228. --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
  27229. @endif lto-plugin-bootstrap
  27230. .PHONY: configure-stage4-lto-plugin maybe-configure-stage4-lto-plugin
  27231. maybe-configure-stage4-lto-plugin:
  27232. @if lto-plugin-bootstrap
  27233. maybe-configure-stage4-lto-plugin: configure-stage4-lto-plugin
  27234. configure-stage4-lto-plugin:
  27235. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  27236. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
  27237. @r=`${PWD_COMMAND}`; export r; \
  27238. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27239. TFLAGS="$(STAGE4_TFLAGS)"; \
  27240. test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
  27241. $(HOST_EXPORTS) \
  27242. $(POSTSTAGE1_HOST_EXPORTS) \
  27243. CFLAGS="$(STAGE4_CFLAGS)"; export CFLAGS; \
  27244. CXXFLAGS="$(STAGE4_CXXFLAGS)"; export CXXFLAGS; \
  27245. LIBCFLAGS="$(STAGE4_CFLAGS)"; export LIBCFLAGS; \
  27246. echo Configuring stage 4 in $(HOST_SUBDIR)/lto-plugin ; \
  27247. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
  27248. cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
  27249. case $(srcdir) in \
  27250. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  27251. *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
  27252. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  27253. esac; \
  27254. module_srcdir=lto-plugin; \
  27255. $(SHELL) $$s/$$module_srcdir/configure \
  27256. --srcdir=$${topdir}/$$module_srcdir \
  27257. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  27258. --target=${target_alias} \
  27259. --with-build-libsubdir=$(HOST_SUBDIR) \
  27260. $(STAGE4_CONFIGURE_FLAGS) \
  27261. --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
  27262. @endif lto-plugin-bootstrap
  27263. .PHONY: configure-stageprofile-lto-plugin maybe-configure-stageprofile-lto-plugin
  27264. maybe-configure-stageprofile-lto-plugin:
  27265. @if lto-plugin-bootstrap
  27266. maybe-configure-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
  27267. configure-stageprofile-lto-plugin:
  27268. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  27269. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
  27270. @r=`${PWD_COMMAND}`; export r; \
  27271. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27272. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  27273. test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
  27274. $(HOST_EXPORTS) \
  27275. $(POSTSTAGE1_HOST_EXPORTS) \
  27276. CFLAGS="$(STAGEprofile_CFLAGS)"; export CFLAGS; \
  27277. CXXFLAGS="$(STAGEprofile_CXXFLAGS)"; export CXXFLAGS; \
  27278. LIBCFLAGS="$(STAGEprofile_CFLAGS)"; export LIBCFLAGS; \
  27279. echo Configuring stage profile in $(HOST_SUBDIR)/lto-plugin ; \
  27280. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
  27281. cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
  27282. case $(srcdir) in \
  27283. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  27284. *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
  27285. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  27286. esac; \
  27287. module_srcdir=lto-plugin; \
  27288. $(SHELL) $$s/$$module_srcdir/configure \
  27289. --srcdir=$${topdir}/$$module_srcdir \
  27290. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  27291. --target=${target_alias} \
  27292. --with-build-libsubdir=$(HOST_SUBDIR) \
  27293. $(STAGEprofile_CONFIGURE_FLAGS) \
  27294. --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
  27295. @endif lto-plugin-bootstrap
  27296. .PHONY: configure-stagefeedback-lto-plugin maybe-configure-stagefeedback-lto-plugin
  27297. maybe-configure-stagefeedback-lto-plugin:
  27298. @if lto-plugin-bootstrap
  27299. maybe-configure-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
  27300. configure-stagefeedback-lto-plugin:
  27301. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  27302. @$(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin
  27303. @r=`${PWD_COMMAND}`; export r; \
  27304. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27305. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  27306. test ! -f $(HOST_SUBDIR)/lto-plugin/Makefile || exit 0; \
  27307. $(HOST_EXPORTS) \
  27308. $(POSTSTAGE1_HOST_EXPORTS) \
  27309. CFLAGS="$(STAGEfeedback_CFLAGS)"; export CFLAGS; \
  27310. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)"; export CXXFLAGS; \
  27311. LIBCFLAGS="$(STAGEfeedback_CFLAGS)"; export LIBCFLAGS; \
  27312. echo Configuring stage feedback in $(HOST_SUBDIR)/lto-plugin ; \
  27313. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/lto-plugin ; \
  27314. cd $(HOST_SUBDIR)/lto-plugin || exit 1; \
  27315. case $(srcdir) in \
  27316. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  27317. *) topdir=`echo $(HOST_SUBDIR)/lto-plugin/ | \
  27318. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  27319. esac; \
  27320. module_srcdir=lto-plugin; \
  27321. $(SHELL) $$s/$$module_srcdir/configure \
  27322. --srcdir=$${topdir}/$$module_srcdir \
  27323. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  27324. --target=${target_alias} \
  27325. --with-build-libsubdir=$(HOST_SUBDIR) \
  27326. $(STAGEfeedback_CONFIGURE_FLAGS) \
  27327. --enable-shared @extra_linker_plugin_flags@ @extra_linker_plugin_configure_flags@
  27328. @endif lto-plugin-bootstrap
  27329. .PHONY: all-lto-plugin maybe-all-lto-plugin
  27330. maybe-all-lto-plugin:
  27331. @if gcc-bootstrap
  27332. all-lto-plugin: stage_current
  27333. @endif gcc-bootstrap
  27334. @if lto-plugin
  27335. TARGET-lto-plugin=all
  27336. maybe-all-lto-plugin: all-lto-plugin
  27337. all-lto-plugin: configure-lto-plugin
  27338. @r=`${PWD_COMMAND}`; export r; \
  27339. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27340. $(HOST_EXPORTS) \
  27341. (cd $(HOST_SUBDIR)/lto-plugin && \
  27342. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
  27343. $(TARGET-lto-plugin))
  27344. @endif lto-plugin
  27345. .PHONY: all-stage1-lto-plugin maybe-all-stage1-lto-plugin
  27346. .PHONY: clean-stage1-lto-plugin maybe-clean-stage1-lto-plugin
  27347. maybe-all-stage1-lto-plugin:
  27348. maybe-clean-stage1-lto-plugin:
  27349. @if lto-plugin-bootstrap
  27350. maybe-all-stage1-lto-plugin: all-stage1-lto-plugin
  27351. all-stage1: all-stage1-lto-plugin
  27352. TARGET-stage1-lto-plugin = $(TARGET-lto-plugin)
  27353. all-stage1-lto-plugin: configure-stage1-lto-plugin
  27354. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  27355. @r=`${PWD_COMMAND}`; export r; \
  27356. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27357. TFLAGS="$(STAGE1_TFLAGS)"; \
  27358. $(HOST_EXPORTS) \
  27359. cd $(HOST_SUBDIR)/lto-plugin && \
  27360. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  27361. CFLAGS="$(STAGE1_CFLAGS)" \
  27362. CXXFLAGS="$(STAGE1_CXXFLAGS)" \
  27363. LIBCFLAGS="$(LIBCFLAGS)" \
  27364. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  27365. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  27366. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  27367. $(EXTRA_HOST_FLAGS) \
  27368. $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
  27369. TFLAGS="$(STAGE1_TFLAGS)" \
  27370. $(TARGET-stage1-lto-plugin)
  27371. maybe-clean-stage1-lto-plugin: clean-stage1-lto-plugin
  27372. clean-stage1: clean-stage1-lto-plugin
  27373. clean-stage1-lto-plugin:
  27374. @if [ $(current_stage) = stage1 ]; then \
  27375. [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
  27376. else \
  27377. [ -f $(HOST_SUBDIR)/stage1-lto-plugin/Makefile ] || exit 0; \
  27378. $(MAKE) stage1-start; \
  27379. fi; \
  27380. cd $(HOST_SUBDIR)/lto-plugin && \
  27381. $(MAKE) $(EXTRA_HOST_FLAGS) \
  27382. $(STAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
  27383. @endif lto-plugin-bootstrap
  27384. .PHONY: all-stage2-lto-plugin maybe-all-stage2-lto-plugin
  27385. .PHONY: clean-stage2-lto-plugin maybe-clean-stage2-lto-plugin
  27386. maybe-all-stage2-lto-plugin:
  27387. maybe-clean-stage2-lto-plugin:
  27388. @if lto-plugin-bootstrap
  27389. maybe-all-stage2-lto-plugin: all-stage2-lto-plugin
  27390. all-stage2: all-stage2-lto-plugin
  27391. TARGET-stage2-lto-plugin = $(TARGET-lto-plugin)
  27392. all-stage2-lto-plugin: configure-stage2-lto-plugin
  27393. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  27394. @r=`${PWD_COMMAND}`; export r; \
  27395. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27396. TFLAGS="$(STAGE2_TFLAGS)"; \
  27397. $(HOST_EXPORTS) \
  27398. $(POSTSTAGE1_HOST_EXPORTS) \
  27399. cd $(HOST_SUBDIR)/lto-plugin && \
  27400. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  27401. CFLAGS="$(STAGE2_CFLAGS)" \
  27402. CXXFLAGS="$(STAGE2_CXXFLAGS)" \
  27403. LIBCFLAGS="$(STAGE2_CFLAGS)" \
  27404. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  27405. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  27406. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  27407. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
  27408. TFLAGS="$(STAGE2_TFLAGS)" \
  27409. $(TARGET-stage2-lto-plugin)
  27410. maybe-clean-stage2-lto-plugin: clean-stage2-lto-plugin
  27411. clean-stage2: clean-stage2-lto-plugin
  27412. clean-stage2-lto-plugin:
  27413. @if [ $(current_stage) = stage2 ]; then \
  27414. [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
  27415. else \
  27416. [ -f $(HOST_SUBDIR)/stage2-lto-plugin/Makefile ] || exit 0; \
  27417. $(MAKE) stage2-start; \
  27418. fi; \
  27419. cd $(HOST_SUBDIR)/lto-plugin && \
  27420. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
  27421. @endif lto-plugin-bootstrap
  27422. .PHONY: all-stage3-lto-plugin maybe-all-stage3-lto-plugin
  27423. .PHONY: clean-stage3-lto-plugin maybe-clean-stage3-lto-plugin
  27424. maybe-all-stage3-lto-plugin:
  27425. maybe-clean-stage3-lto-plugin:
  27426. @if lto-plugin-bootstrap
  27427. maybe-all-stage3-lto-plugin: all-stage3-lto-plugin
  27428. all-stage3: all-stage3-lto-plugin
  27429. TARGET-stage3-lto-plugin = $(TARGET-lto-plugin)
  27430. all-stage3-lto-plugin: configure-stage3-lto-plugin
  27431. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  27432. @r=`${PWD_COMMAND}`; export r; \
  27433. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27434. TFLAGS="$(STAGE3_TFLAGS)"; \
  27435. $(HOST_EXPORTS) \
  27436. $(POSTSTAGE1_HOST_EXPORTS) \
  27437. cd $(HOST_SUBDIR)/lto-plugin && \
  27438. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  27439. CFLAGS="$(STAGE3_CFLAGS)" \
  27440. CXXFLAGS="$(STAGE3_CXXFLAGS)" \
  27441. LIBCFLAGS="$(STAGE3_CFLAGS)" \
  27442. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  27443. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  27444. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  27445. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
  27446. TFLAGS="$(STAGE3_TFLAGS)" \
  27447. $(TARGET-stage3-lto-plugin)
  27448. maybe-clean-stage3-lto-plugin: clean-stage3-lto-plugin
  27449. clean-stage3: clean-stage3-lto-plugin
  27450. clean-stage3-lto-plugin:
  27451. @if [ $(current_stage) = stage3 ]; then \
  27452. [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
  27453. else \
  27454. [ -f $(HOST_SUBDIR)/stage3-lto-plugin/Makefile ] || exit 0; \
  27455. $(MAKE) stage3-start; \
  27456. fi; \
  27457. cd $(HOST_SUBDIR)/lto-plugin && \
  27458. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
  27459. @endif lto-plugin-bootstrap
  27460. .PHONY: all-stage4-lto-plugin maybe-all-stage4-lto-plugin
  27461. .PHONY: clean-stage4-lto-plugin maybe-clean-stage4-lto-plugin
  27462. maybe-all-stage4-lto-plugin:
  27463. maybe-clean-stage4-lto-plugin:
  27464. @if lto-plugin-bootstrap
  27465. maybe-all-stage4-lto-plugin: all-stage4-lto-plugin
  27466. all-stage4: all-stage4-lto-plugin
  27467. TARGET-stage4-lto-plugin = $(TARGET-lto-plugin)
  27468. all-stage4-lto-plugin: configure-stage4-lto-plugin
  27469. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  27470. @r=`${PWD_COMMAND}`; export r; \
  27471. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27472. TFLAGS="$(STAGE4_TFLAGS)"; \
  27473. $(HOST_EXPORTS) \
  27474. $(POSTSTAGE1_HOST_EXPORTS) \
  27475. cd $(HOST_SUBDIR)/lto-plugin && \
  27476. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  27477. CFLAGS="$(STAGE4_CFLAGS)" \
  27478. CXXFLAGS="$(STAGE4_CXXFLAGS)" \
  27479. LIBCFLAGS="$(STAGE4_CFLAGS)" \
  27480. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  27481. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  27482. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  27483. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
  27484. TFLAGS="$(STAGE4_TFLAGS)" \
  27485. $(TARGET-stage4-lto-plugin)
  27486. maybe-clean-stage4-lto-plugin: clean-stage4-lto-plugin
  27487. clean-stage4: clean-stage4-lto-plugin
  27488. clean-stage4-lto-plugin:
  27489. @if [ $(current_stage) = stage4 ]; then \
  27490. [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
  27491. else \
  27492. [ -f $(HOST_SUBDIR)/stage4-lto-plugin/Makefile ] || exit 0; \
  27493. $(MAKE) stage4-start; \
  27494. fi; \
  27495. cd $(HOST_SUBDIR)/lto-plugin && \
  27496. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
  27497. @endif lto-plugin-bootstrap
  27498. .PHONY: all-stageprofile-lto-plugin maybe-all-stageprofile-lto-plugin
  27499. .PHONY: clean-stageprofile-lto-plugin maybe-clean-stageprofile-lto-plugin
  27500. maybe-all-stageprofile-lto-plugin:
  27501. maybe-clean-stageprofile-lto-plugin:
  27502. @if lto-plugin-bootstrap
  27503. maybe-all-stageprofile-lto-plugin: all-stageprofile-lto-plugin
  27504. all-stageprofile: all-stageprofile-lto-plugin
  27505. TARGET-stageprofile-lto-plugin = $(TARGET-lto-plugin)
  27506. all-stageprofile-lto-plugin: configure-stageprofile-lto-plugin
  27507. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  27508. @r=`${PWD_COMMAND}`; export r; \
  27509. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27510. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  27511. $(HOST_EXPORTS) \
  27512. $(POSTSTAGE1_HOST_EXPORTS) \
  27513. cd $(HOST_SUBDIR)/lto-plugin && \
  27514. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  27515. CFLAGS="$(STAGEprofile_CFLAGS)" \
  27516. CXXFLAGS="$(STAGEprofile_CXXFLAGS)" \
  27517. LIBCFLAGS="$(STAGEprofile_CFLAGS)" \
  27518. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  27519. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  27520. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  27521. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
  27522. TFLAGS="$(STAGEprofile_TFLAGS)" \
  27523. $(TARGET-stageprofile-lto-plugin)
  27524. maybe-clean-stageprofile-lto-plugin: clean-stageprofile-lto-plugin
  27525. clean-stageprofile: clean-stageprofile-lto-plugin
  27526. clean-stageprofile-lto-plugin:
  27527. @if [ $(current_stage) = stageprofile ]; then \
  27528. [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
  27529. else \
  27530. [ -f $(HOST_SUBDIR)/stageprofile-lto-plugin/Makefile ] || exit 0; \
  27531. $(MAKE) stageprofile-start; \
  27532. fi; \
  27533. cd $(HOST_SUBDIR)/lto-plugin && \
  27534. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
  27535. @endif lto-plugin-bootstrap
  27536. .PHONY: all-stagefeedback-lto-plugin maybe-all-stagefeedback-lto-plugin
  27537. .PHONY: clean-stagefeedback-lto-plugin maybe-clean-stagefeedback-lto-plugin
  27538. maybe-all-stagefeedback-lto-plugin:
  27539. maybe-clean-stagefeedback-lto-plugin:
  27540. @if lto-plugin-bootstrap
  27541. maybe-all-stagefeedback-lto-plugin: all-stagefeedback-lto-plugin
  27542. all-stagefeedback: all-stagefeedback-lto-plugin
  27543. TARGET-stagefeedback-lto-plugin = $(TARGET-lto-plugin)
  27544. all-stagefeedback-lto-plugin: configure-stagefeedback-lto-plugin
  27545. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  27546. @r=`${PWD_COMMAND}`; export r; \
  27547. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27548. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  27549. $(HOST_EXPORTS) \
  27550. $(POSTSTAGE1_HOST_EXPORTS) \
  27551. cd $(HOST_SUBDIR)/lto-plugin && \
  27552. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  27553. CFLAGS="$(STAGEfeedback_CFLAGS)" \
  27554. CXXFLAGS="$(STAGEfeedback_CXXFLAGS)" \
  27555. LIBCFLAGS="$(STAGEfeedback_CFLAGS)" \
  27556. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  27557. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  27558. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  27559. $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ \
  27560. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  27561. $(TARGET-stagefeedback-lto-plugin)
  27562. maybe-clean-stagefeedback-lto-plugin: clean-stagefeedback-lto-plugin
  27563. clean-stagefeedback: clean-stagefeedback-lto-plugin
  27564. clean-stagefeedback-lto-plugin:
  27565. @if [ $(current_stage) = stagefeedback ]; then \
  27566. [ -f $(HOST_SUBDIR)/lto-plugin/Makefile ] || exit 0; \
  27567. else \
  27568. [ -f $(HOST_SUBDIR)/stagefeedback-lto-plugin/Makefile ] || exit 0; \
  27569. $(MAKE) stagefeedback-start; \
  27570. fi; \
  27571. cd $(HOST_SUBDIR)/lto-plugin && \
  27572. $(MAKE) $(EXTRA_HOST_FLAGS) $(POSTSTAGE1_FLAGS_TO_PASS) @extra_linker_plugin_flags@ clean
  27573. @endif lto-plugin-bootstrap
  27574. .PHONY: check-lto-plugin maybe-check-lto-plugin
  27575. maybe-check-lto-plugin:
  27576. @if lto-plugin
  27577. maybe-check-lto-plugin: check-lto-plugin
  27578. check-lto-plugin:
  27579. @: $(MAKE); $(unstage)
  27580. @r=`${PWD_COMMAND}`; export r; \
  27581. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27582. $(HOST_EXPORTS) \
  27583. (cd $(HOST_SUBDIR)/lto-plugin && \
  27584. $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ check)
  27585. @endif lto-plugin
  27586. .PHONY: install-lto-plugin maybe-install-lto-plugin
  27587. maybe-install-lto-plugin:
  27588. @if lto-plugin
  27589. maybe-install-lto-plugin: install-lto-plugin
  27590. install-lto-plugin: installdirs
  27591. @: $(MAKE); $(unstage)
  27592. @r=`${PWD_COMMAND}`; export r; \
  27593. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27594. $(HOST_EXPORTS) \
  27595. (cd $(HOST_SUBDIR)/lto-plugin && \
  27596. $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install)
  27597. @endif lto-plugin
  27598. .PHONY: install-strip-lto-plugin maybe-install-strip-lto-plugin
  27599. maybe-install-strip-lto-plugin:
  27600. @if lto-plugin
  27601. maybe-install-strip-lto-plugin: install-strip-lto-plugin
  27602. install-strip-lto-plugin: installdirs
  27603. @: $(MAKE); $(unstage)
  27604. @r=`${PWD_COMMAND}`; export r; \
  27605. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27606. $(HOST_EXPORTS) \
  27607. (cd $(HOST_SUBDIR)/lto-plugin && \
  27608. $(MAKE) $(FLAGS_TO_PASS) @extra_linker_plugin_flags@ install-strip)
  27609. @endif lto-plugin
  27610. # Other targets (info, dvi, pdf, etc.)
  27611. .PHONY: maybe-info-lto-plugin info-lto-plugin
  27612. maybe-info-lto-plugin:
  27613. @if lto-plugin
  27614. maybe-info-lto-plugin: info-lto-plugin
  27615. info-lto-plugin: \
  27616. configure-lto-plugin
  27617. @[ -f ./lto-plugin/Makefile ] || exit 0; \
  27618. r=`${PWD_COMMAND}`; export r; \
  27619. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27620. $(HOST_EXPORTS) \
  27621. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  27622. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  27623. done; \
  27624. echo "Doing info in lto-plugin" ; \
  27625. (cd $(HOST_SUBDIR)/lto-plugin && \
  27626. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  27627. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  27628. "RANLIB=$${RANLIB}" \
  27629. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  27630. info) \
  27631. || exit 1
  27632. @endif lto-plugin
  27633. .PHONY: maybe-dvi-lto-plugin dvi-lto-plugin
  27634. maybe-dvi-lto-plugin:
  27635. @if lto-plugin
  27636. maybe-dvi-lto-plugin: dvi-lto-plugin
  27637. dvi-lto-plugin: \
  27638. configure-lto-plugin
  27639. @[ -f ./lto-plugin/Makefile ] || exit 0; \
  27640. r=`${PWD_COMMAND}`; export r; \
  27641. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27642. $(HOST_EXPORTS) \
  27643. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  27644. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  27645. done; \
  27646. echo "Doing dvi in lto-plugin" ; \
  27647. (cd $(HOST_SUBDIR)/lto-plugin && \
  27648. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  27649. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  27650. "RANLIB=$${RANLIB}" \
  27651. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  27652. dvi) \
  27653. || exit 1
  27654. @endif lto-plugin
  27655. .PHONY: maybe-pdf-lto-plugin pdf-lto-plugin
  27656. maybe-pdf-lto-plugin:
  27657. @if lto-plugin
  27658. maybe-pdf-lto-plugin: pdf-lto-plugin
  27659. pdf-lto-plugin: \
  27660. configure-lto-plugin
  27661. @[ -f ./lto-plugin/Makefile ] || exit 0; \
  27662. r=`${PWD_COMMAND}`; export r; \
  27663. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27664. $(HOST_EXPORTS) \
  27665. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  27666. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  27667. done; \
  27668. echo "Doing pdf in lto-plugin" ; \
  27669. (cd $(HOST_SUBDIR)/lto-plugin && \
  27670. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  27671. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  27672. "RANLIB=$${RANLIB}" \
  27673. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  27674. pdf) \
  27675. || exit 1
  27676. @endif lto-plugin
  27677. .PHONY: maybe-html-lto-plugin html-lto-plugin
  27678. maybe-html-lto-plugin:
  27679. @if lto-plugin
  27680. maybe-html-lto-plugin: html-lto-plugin
  27681. html-lto-plugin: \
  27682. configure-lto-plugin
  27683. @[ -f ./lto-plugin/Makefile ] || exit 0; \
  27684. r=`${PWD_COMMAND}`; export r; \
  27685. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27686. $(HOST_EXPORTS) \
  27687. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  27688. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  27689. done; \
  27690. echo "Doing html in lto-plugin" ; \
  27691. (cd $(HOST_SUBDIR)/lto-plugin && \
  27692. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  27693. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  27694. "RANLIB=$${RANLIB}" \
  27695. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  27696. html) \
  27697. || exit 1
  27698. @endif lto-plugin
  27699. .PHONY: maybe-TAGS-lto-plugin TAGS-lto-plugin
  27700. maybe-TAGS-lto-plugin:
  27701. @if lto-plugin
  27702. maybe-TAGS-lto-plugin: TAGS-lto-plugin
  27703. TAGS-lto-plugin: \
  27704. configure-lto-plugin
  27705. @[ -f ./lto-plugin/Makefile ] || exit 0; \
  27706. r=`${PWD_COMMAND}`; export r; \
  27707. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27708. $(HOST_EXPORTS) \
  27709. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  27710. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  27711. done; \
  27712. echo "Doing TAGS in lto-plugin" ; \
  27713. (cd $(HOST_SUBDIR)/lto-plugin && \
  27714. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  27715. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  27716. "RANLIB=$${RANLIB}" \
  27717. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  27718. TAGS) \
  27719. || exit 1
  27720. @endif lto-plugin
  27721. .PHONY: maybe-install-info-lto-plugin install-info-lto-plugin
  27722. maybe-install-info-lto-plugin:
  27723. @if lto-plugin
  27724. maybe-install-info-lto-plugin: install-info-lto-plugin
  27725. install-info-lto-plugin: \
  27726. configure-lto-plugin \
  27727. info-lto-plugin
  27728. @[ -f ./lto-plugin/Makefile ] || exit 0; \
  27729. r=`${PWD_COMMAND}`; export r; \
  27730. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27731. $(HOST_EXPORTS) \
  27732. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  27733. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  27734. done; \
  27735. echo "Doing install-info in lto-plugin" ; \
  27736. (cd $(HOST_SUBDIR)/lto-plugin && \
  27737. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  27738. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  27739. "RANLIB=$${RANLIB}" \
  27740. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  27741. install-info) \
  27742. || exit 1
  27743. @endif lto-plugin
  27744. .PHONY: maybe-install-pdf-lto-plugin install-pdf-lto-plugin
  27745. maybe-install-pdf-lto-plugin:
  27746. @if lto-plugin
  27747. maybe-install-pdf-lto-plugin: install-pdf-lto-plugin
  27748. install-pdf-lto-plugin: \
  27749. configure-lto-plugin \
  27750. pdf-lto-plugin
  27751. @[ -f ./lto-plugin/Makefile ] || exit 0; \
  27752. r=`${PWD_COMMAND}`; export r; \
  27753. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27754. $(HOST_EXPORTS) \
  27755. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  27756. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  27757. done; \
  27758. echo "Doing install-pdf in lto-plugin" ; \
  27759. (cd $(HOST_SUBDIR)/lto-plugin && \
  27760. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  27761. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  27762. "RANLIB=$${RANLIB}" \
  27763. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  27764. install-pdf) \
  27765. || exit 1
  27766. @endif lto-plugin
  27767. .PHONY: maybe-install-html-lto-plugin install-html-lto-plugin
  27768. maybe-install-html-lto-plugin:
  27769. @if lto-plugin
  27770. maybe-install-html-lto-plugin: install-html-lto-plugin
  27771. install-html-lto-plugin: \
  27772. configure-lto-plugin \
  27773. html-lto-plugin
  27774. @[ -f ./lto-plugin/Makefile ] || exit 0; \
  27775. r=`${PWD_COMMAND}`; export r; \
  27776. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27777. $(HOST_EXPORTS) \
  27778. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  27779. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  27780. done; \
  27781. echo "Doing install-html in lto-plugin" ; \
  27782. (cd $(HOST_SUBDIR)/lto-plugin && \
  27783. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  27784. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  27785. "RANLIB=$${RANLIB}" \
  27786. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  27787. install-html) \
  27788. || exit 1
  27789. @endif lto-plugin
  27790. .PHONY: maybe-installcheck-lto-plugin installcheck-lto-plugin
  27791. maybe-installcheck-lto-plugin:
  27792. @if lto-plugin
  27793. maybe-installcheck-lto-plugin: installcheck-lto-plugin
  27794. installcheck-lto-plugin: \
  27795. configure-lto-plugin
  27796. @[ -f ./lto-plugin/Makefile ] || exit 0; \
  27797. r=`${PWD_COMMAND}`; export r; \
  27798. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27799. $(HOST_EXPORTS) \
  27800. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  27801. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  27802. done; \
  27803. echo "Doing installcheck in lto-plugin" ; \
  27804. (cd $(HOST_SUBDIR)/lto-plugin && \
  27805. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  27806. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  27807. "RANLIB=$${RANLIB}" \
  27808. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  27809. installcheck) \
  27810. || exit 1
  27811. @endif lto-plugin
  27812. .PHONY: maybe-mostlyclean-lto-plugin mostlyclean-lto-plugin
  27813. maybe-mostlyclean-lto-plugin:
  27814. @if lto-plugin
  27815. maybe-mostlyclean-lto-plugin: mostlyclean-lto-plugin
  27816. mostlyclean-lto-plugin:
  27817. @[ -f ./lto-plugin/Makefile ] || exit 0; \
  27818. r=`${PWD_COMMAND}`; export r; \
  27819. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27820. $(HOST_EXPORTS) \
  27821. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  27822. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  27823. done; \
  27824. echo "Doing mostlyclean in lto-plugin" ; \
  27825. (cd $(HOST_SUBDIR)/lto-plugin && \
  27826. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  27827. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  27828. "RANLIB=$${RANLIB}" \
  27829. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  27830. mostlyclean) \
  27831. || exit 1
  27832. @endif lto-plugin
  27833. .PHONY: maybe-clean-lto-plugin clean-lto-plugin
  27834. maybe-clean-lto-plugin:
  27835. @if lto-plugin
  27836. maybe-clean-lto-plugin: clean-lto-plugin
  27837. clean-lto-plugin:
  27838. @[ -f ./lto-plugin/Makefile ] || exit 0; \
  27839. r=`${PWD_COMMAND}`; export r; \
  27840. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27841. $(HOST_EXPORTS) \
  27842. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  27843. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  27844. done; \
  27845. echo "Doing clean in lto-plugin" ; \
  27846. (cd $(HOST_SUBDIR)/lto-plugin && \
  27847. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  27848. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  27849. "RANLIB=$${RANLIB}" \
  27850. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  27851. clean) \
  27852. || exit 1
  27853. @endif lto-plugin
  27854. .PHONY: maybe-distclean-lto-plugin distclean-lto-plugin
  27855. maybe-distclean-lto-plugin:
  27856. @if lto-plugin
  27857. maybe-distclean-lto-plugin: distclean-lto-plugin
  27858. distclean-lto-plugin:
  27859. @[ -f ./lto-plugin/Makefile ] || exit 0; \
  27860. r=`${PWD_COMMAND}`; export r; \
  27861. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27862. $(HOST_EXPORTS) \
  27863. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  27864. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  27865. done; \
  27866. echo "Doing distclean in lto-plugin" ; \
  27867. (cd $(HOST_SUBDIR)/lto-plugin && \
  27868. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  27869. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  27870. "RANLIB=$${RANLIB}" \
  27871. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  27872. distclean) \
  27873. || exit 1
  27874. @endif lto-plugin
  27875. .PHONY: maybe-maintainer-clean-lto-plugin maintainer-clean-lto-plugin
  27876. maybe-maintainer-clean-lto-plugin:
  27877. @if lto-plugin
  27878. maybe-maintainer-clean-lto-plugin: maintainer-clean-lto-plugin
  27879. maintainer-clean-lto-plugin:
  27880. @[ -f ./lto-plugin/Makefile ] || exit 0; \
  27881. r=`${PWD_COMMAND}`; export r; \
  27882. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27883. $(HOST_EXPORTS) \
  27884. for flag in $(EXTRA_HOST_FLAGS) @extra_linker_plugin_flags@; do \
  27885. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  27886. done; \
  27887. echo "Doing maintainer-clean in lto-plugin" ; \
  27888. (cd $(HOST_SUBDIR)/lto-plugin && \
  27889. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  27890. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  27891. "RANLIB=$${RANLIB}" \
  27892. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  27893. maintainer-clean) \
  27894. || exit 1
  27895. @endif lto-plugin
  27896. .PHONY: configure-libcc1 maybe-configure-libcc1
  27897. maybe-configure-libcc1:
  27898. @if gcc-bootstrap
  27899. configure-libcc1: stage_current
  27900. @endif gcc-bootstrap
  27901. @if libcc1
  27902. maybe-configure-libcc1: configure-libcc1
  27903. configure-libcc1:
  27904. @: $(MAKE); $(unstage)
  27905. @r=`${PWD_COMMAND}`; export r; \
  27906. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27907. test ! -f $(HOST_SUBDIR)/libcc1/Makefile || exit 0; \
  27908. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcc1 ; \
  27909. $(HOST_EXPORTS) \
  27910. echo Configuring in $(HOST_SUBDIR)/libcc1; \
  27911. cd "$(HOST_SUBDIR)/libcc1" || exit 1; \
  27912. case $(srcdir) in \
  27913. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  27914. *) topdir=`echo $(HOST_SUBDIR)/libcc1/ | \
  27915. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  27916. esac; \
  27917. module_srcdir=libcc1; \
  27918. $(SHELL) \
  27919. $$s/$$module_srcdir/configure \
  27920. --srcdir=$${topdir}/$$module_srcdir \
  27921. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  27922. --target=${target_alias} --enable-shared \
  27923. || exit 1
  27924. @endif libcc1
  27925. .PHONY: all-libcc1 maybe-all-libcc1
  27926. maybe-all-libcc1:
  27927. @if gcc-bootstrap
  27928. all-libcc1: stage_current
  27929. @endif gcc-bootstrap
  27930. @if libcc1
  27931. TARGET-libcc1=all
  27932. maybe-all-libcc1: all-libcc1
  27933. all-libcc1: configure-libcc1
  27934. @: $(MAKE); $(unstage)
  27935. @r=`${PWD_COMMAND}`; export r; \
  27936. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27937. $(HOST_EXPORTS) \
  27938. (cd $(HOST_SUBDIR)/libcc1 && \
  27939. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  27940. $(TARGET-libcc1))
  27941. @endif libcc1
  27942. .PHONY: check-libcc1 maybe-check-libcc1
  27943. maybe-check-libcc1:
  27944. @if libcc1
  27945. maybe-check-libcc1: check-libcc1
  27946. check-libcc1:
  27947. @: $(MAKE); $(unstage)
  27948. @r=`${PWD_COMMAND}`; export r; \
  27949. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27950. $(HOST_EXPORTS) \
  27951. (cd $(HOST_SUBDIR)/libcc1 && \
  27952. $(MAKE) $(FLAGS_TO_PASS) check)
  27953. @endif libcc1
  27954. .PHONY: install-libcc1 maybe-install-libcc1
  27955. maybe-install-libcc1:
  27956. @if libcc1
  27957. maybe-install-libcc1: install-libcc1
  27958. install-libcc1: installdirs
  27959. @: $(MAKE); $(unstage)
  27960. @r=`${PWD_COMMAND}`; export r; \
  27961. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27962. $(HOST_EXPORTS) \
  27963. (cd $(HOST_SUBDIR)/libcc1 && \
  27964. $(MAKE) $(FLAGS_TO_PASS) install)
  27965. @endif libcc1
  27966. .PHONY: install-strip-libcc1 maybe-install-strip-libcc1
  27967. maybe-install-strip-libcc1:
  27968. @if libcc1
  27969. maybe-install-strip-libcc1: install-strip-libcc1
  27970. install-strip-libcc1: installdirs
  27971. @: $(MAKE); $(unstage)
  27972. @r=`${PWD_COMMAND}`; export r; \
  27973. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27974. $(HOST_EXPORTS) \
  27975. (cd $(HOST_SUBDIR)/libcc1 && \
  27976. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  27977. @endif libcc1
  27978. # Other targets (info, dvi, pdf, etc.)
  27979. .PHONY: maybe-info-libcc1 info-libcc1
  27980. maybe-info-libcc1:
  27981. @if libcc1
  27982. maybe-info-libcc1: info-libcc1
  27983. info-libcc1: \
  27984. configure-libcc1
  27985. @: $(MAKE); $(unstage)
  27986. @[ -f ./libcc1/Makefile ] || exit 0; \
  27987. r=`${PWD_COMMAND}`; export r; \
  27988. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  27989. $(HOST_EXPORTS) \
  27990. for flag in $(EXTRA_HOST_FLAGS) ; do \
  27991. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  27992. done; \
  27993. echo "Doing info in libcc1" ; \
  27994. (cd $(HOST_SUBDIR)/libcc1 && \
  27995. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  27996. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  27997. "RANLIB=$${RANLIB}" \
  27998. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  27999. info) \
  28000. || exit 1
  28001. @endif libcc1
  28002. .PHONY: maybe-dvi-libcc1 dvi-libcc1
  28003. maybe-dvi-libcc1:
  28004. @if libcc1
  28005. maybe-dvi-libcc1: dvi-libcc1
  28006. dvi-libcc1: \
  28007. configure-libcc1
  28008. @: $(MAKE); $(unstage)
  28009. @[ -f ./libcc1/Makefile ] || exit 0; \
  28010. r=`${PWD_COMMAND}`; export r; \
  28011. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28012. $(HOST_EXPORTS) \
  28013. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28014. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28015. done; \
  28016. echo "Doing dvi in libcc1" ; \
  28017. (cd $(HOST_SUBDIR)/libcc1 && \
  28018. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28019. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28020. "RANLIB=$${RANLIB}" \
  28021. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28022. dvi) \
  28023. || exit 1
  28024. @endif libcc1
  28025. .PHONY: maybe-pdf-libcc1 pdf-libcc1
  28026. maybe-pdf-libcc1:
  28027. @if libcc1
  28028. maybe-pdf-libcc1: pdf-libcc1
  28029. pdf-libcc1: \
  28030. configure-libcc1
  28031. @: $(MAKE); $(unstage)
  28032. @[ -f ./libcc1/Makefile ] || exit 0; \
  28033. r=`${PWD_COMMAND}`; export r; \
  28034. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28035. $(HOST_EXPORTS) \
  28036. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28037. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28038. done; \
  28039. echo "Doing pdf in libcc1" ; \
  28040. (cd $(HOST_SUBDIR)/libcc1 && \
  28041. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28042. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28043. "RANLIB=$${RANLIB}" \
  28044. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28045. pdf) \
  28046. || exit 1
  28047. @endif libcc1
  28048. .PHONY: maybe-html-libcc1 html-libcc1
  28049. maybe-html-libcc1:
  28050. @if libcc1
  28051. maybe-html-libcc1: html-libcc1
  28052. html-libcc1: \
  28053. configure-libcc1
  28054. @: $(MAKE); $(unstage)
  28055. @[ -f ./libcc1/Makefile ] || exit 0; \
  28056. r=`${PWD_COMMAND}`; export r; \
  28057. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28058. $(HOST_EXPORTS) \
  28059. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28060. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28061. done; \
  28062. echo "Doing html in libcc1" ; \
  28063. (cd $(HOST_SUBDIR)/libcc1 && \
  28064. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28065. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28066. "RANLIB=$${RANLIB}" \
  28067. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28068. html) \
  28069. || exit 1
  28070. @endif libcc1
  28071. .PHONY: maybe-TAGS-libcc1 TAGS-libcc1
  28072. maybe-TAGS-libcc1:
  28073. @if libcc1
  28074. maybe-TAGS-libcc1: TAGS-libcc1
  28075. TAGS-libcc1: \
  28076. configure-libcc1
  28077. @: $(MAKE); $(unstage)
  28078. @[ -f ./libcc1/Makefile ] || exit 0; \
  28079. r=`${PWD_COMMAND}`; export r; \
  28080. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28081. $(HOST_EXPORTS) \
  28082. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28083. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28084. done; \
  28085. echo "Doing TAGS in libcc1" ; \
  28086. (cd $(HOST_SUBDIR)/libcc1 && \
  28087. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28088. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28089. "RANLIB=$${RANLIB}" \
  28090. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28091. TAGS) \
  28092. || exit 1
  28093. @endif libcc1
  28094. .PHONY: maybe-install-info-libcc1 install-info-libcc1
  28095. maybe-install-info-libcc1:
  28096. @if libcc1
  28097. maybe-install-info-libcc1: install-info-libcc1
  28098. install-info-libcc1: \
  28099. configure-libcc1 \
  28100. info-libcc1
  28101. @: $(MAKE); $(unstage)
  28102. @[ -f ./libcc1/Makefile ] || exit 0; \
  28103. r=`${PWD_COMMAND}`; export r; \
  28104. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28105. $(HOST_EXPORTS) \
  28106. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28107. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28108. done; \
  28109. echo "Doing install-info in libcc1" ; \
  28110. (cd $(HOST_SUBDIR)/libcc1 && \
  28111. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28112. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28113. "RANLIB=$${RANLIB}" \
  28114. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28115. install-info) \
  28116. || exit 1
  28117. @endif libcc1
  28118. .PHONY: maybe-install-pdf-libcc1 install-pdf-libcc1
  28119. maybe-install-pdf-libcc1:
  28120. @if libcc1
  28121. maybe-install-pdf-libcc1: install-pdf-libcc1
  28122. install-pdf-libcc1: \
  28123. configure-libcc1 \
  28124. pdf-libcc1
  28125. @: $(MAKE); $(unstage)
  28126. @[ -f ./libcc1/Makefile ] || exit 0; \
  28127. r=`${PWD_COMMAND}`; export r; \
  28128. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28129. $(HOST_EXPORTS) \
  28130. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28131. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28132. done; \
  28133. echo "Doing install-pdf in libcc1" ; \
  28134. (cd $(HOST_SUBDIR)/libcc1 && \
  28135. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28136. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28137. "RANLIB=$${RANLIB}" \
  28138. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28139. install-pdf) \
  28140. || exit 1
  28141. @endif libcc1
  28142. .PHONY: maybe-install-html-libcc1 install-html-libcc1
  28143. maybe-install-html-libcc1:
  28144. @if libcc1
  28145. maybe-install-html-libcc1: install-html-libcc1
  28146. install-html-libcc1: \
  28147. configure-libcc1 \
  28148. html-libcc1
  28149. @: $(MAKE); $(unstage)
  28150. @[ -f ./libcc1/Makefile ] || exit 0; \
  28151. r=`${PWD_COMMAND}`; export r; \
  28152. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28153. $(HOST_EXPORTS) \
  28154. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28155. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28156. done; \
  28157. echo "Doing install-html in libcc1" ; \
  28158. (cd $(HOST_SUBDIR)/libcc1 && \
  28159. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28160. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28161. "RANLIB=$${RANLIB}" \
  28162. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28163. install-html) \
  28164. || exit 1
  28165. @endif libcc1
  28166. .PHONY: maybe-installcheck-libcc1 installcheck-libcc1
  28167. maybe-installcheck-libcc1:
  28168. @if libcc1
  28169. maybe-installcheck-libcc1: installcheck-libcc1
  28170. installcheck-libcc1: \
  28171. configure-libcc1
  28172. @: $(MAKE); $(unstage)
  28173. @[ -f ./libcc1/Makefile ] || exit 0; \
  28174. r=`${PWD_COMMAND}`; export r; \
  28175. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28176. $(HOST_EXPORTS) \
  28177. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28178. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28179. done; \
  28180. echo "Doing installcheck in libcc1" ; \
  28181. (cd $(HOST_SUBDIR)/libcc1 && \
  28182. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28183. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28184. "RANLIB=$${RANLIB}" \
  28185. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28186. installcheck) \
  28187. || exit 1
  28188. @endif libcc1
  28189. .PHONY: maybe-mostlyclean-libcc1 mostlyclean-libcc1
  28190. maybe-mostlyclean-libcc1:
  28191. @if libcc1
  28192. maybe-mostlyclean-libcc1: mostlyclean-libcc1
  28193. mostlyclean-libcc1:
  28194. @: $(MAKE); $(unstage)
  28195. @[ -f ./libcc1/Makefile ] || exit 0; \
  28196. r=`${PWD_COMMAND}`; export r; \
  28197. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28198. $(HOST_EXPORTS) \
  28199. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28200. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28201. done; \
  28202. echo "Doing mostlyclean in libcc1" ; \
  28203. (cd $(HOST_SUBDIR)/libcc1 && \
  28204. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28205. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28206. "RANLIB=$${RANLIB}" \
  28207. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28208. mostlyclean) \
  28209. || exit 1
  28210. @endif libcc1
  28211. .PHONY: maybe-clean-libcc1 clean-libcc1
  28212. maybe-clean-libcc1:
  28213. @if libcc1
  28214. maybe-clean-libcc1: clean-libcc1
  28215. clean-libcc1:
  28216. @: $(MAKE); $(unstage)
  28217. @[ -f ./libcc1/Makefile ] || exit 0; \
  28218. r=`${PWD_COMMAND}`; export r; \
  28219. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28220. $(HOST_EXPORTS) \
  28221. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28222. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28223. done; \
  28224. echo "Doing clean in libcc1" ; \
  28225. (cd $(HOST_SUBDIR)/libcc1 && \
  28226. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28227. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28228. "RANLIB=$${RANLIB}" \
  28229. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28230. clean) \
  28231. || exit 1
  28232. @endif libcc1
  28233. .PHONY: maybe-distclean-libcc1 distclean-libcc1
  28234. maybe-distclean-libcc1:
  28235. @if libcc1
  28236. maybe-distclean-libcc1: distclean-libcc1
  28237. distclean-libcc1:
  28238. @: $(MAKE); $(unstage)
  28239. @[ -f ./libcc1/Makefile ] || exit 0; \
  28240. r=`${PWD_COMMAND}`; export r; \
  28241. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28242. $(HOST_EXPORTS) \
  28243. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28244. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28245. done; \
  28246. echo "Doing distclean in libcc1" ; \
  28247. (cd $(HOST_SUBDIR)/libcc1 && \
  28248. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28249. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28250. "RANLIB=$${RANLIB}" \
  28251. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28252. distclean) \
  28253. || exit 1
  28254. @endif libcc1
  28255. .PHONY: maybe-maintainer-clean-libcc1 maintainer-clean-libcc1
  28256. maybe-maintainer-clean-libcc1:
  28257. @if libcc1
  28258. maybe-maintainer-clean-libcc1: maintainer-clean-libcc1
  28259. maintainer-clean-libcc1:
  28260. @: $(MAKE); $(unstage)
  28261. @[ -f ./libcc1/Makefile ] || exit 0; \
  28262. r=`${PWD_COMMAND}`; export r; \
  28263. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28264. $(HOST_EXPORTS) \
  28265. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28266. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28267. done; \
  28268. echo "Doing maintainer-clean in libcc1" ; \
  28269. (cd $(HOST_SUBDIR)/libcc1 && \
  28270. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28271. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28272. "RANLIB=$${RANLIB}" \
  28273. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28274. maintainer-clean) \
  28275. || exit 1
  28276. @endif libcc1
  28277. .PHONY: configure-gotools maybe-configure-gotools
  28278. maybe-configure-gotools:
  28279. @if gcc-bootstrap
  28280. configure-gotools: stage_current
  28281. @endif gcc-bootstrap
  28282. @if gotools
  28283. maybe-configure-gotools: configure-gotools
  28284. configure-gotools:
  28285. @: $(MAKE); $(unstage)
  28286. @r=`${PWD_COMMAND}`; export r; \
  28287. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28288. test ! -f $(HOST_SUBDIR)/gotools/Makefile || exit 0; \
  28289. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gotools ; \
  28290. $(HOST_EXPORTS) \
  28291. echo Configuring in $(HOST_SUBDIR)/gotools; \
  28292. cd "$(HOST_SUBDIR)/gotools" || exit 1; \
  28293. case $(srcdir) in \
  28294. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  28295. *) topdir=`echo $(HOST_SUBDIR)/gotools/ | \
  28296. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  28297. esac; \
  28298. module_srcdir=gotools; \
  28299. $(SHELL) \
  28300. $$s/$$module_srcdir/configure \
  28301. --srcdir=$${topdir}/$$module_srcdir \
  28302. $(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
  28303. --target=${target_alias} \
  28304. || exit 1
  28305. @endif gotools
  28306. .PHONY: all-gotools maybe-all-gotools
  28307. maybe-all-gotools:
  28308. @if gcc-bootstrap
  28309. all-gotools: stage_current
  28310. @endif gcc-bootstrap
  28311. @if gotools
  28312. TARGET-gotools=all
  28313. maybe-all-gotools: all-gotools
  28314. all-gotools: configure-gotools
  28315. @: $(MAKE); $(unstage)
  28316. @r=`${PWD_COMMAND}`; export r; \
  28317. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28318. $(HOST_EXPORTS) \
  28319. (cd $(HOST_SUBDIR)/gotools && \
  28320. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(STAGE1_FLAGS_TO_PASS) \
  28321. $(TARGET-gotools))
  28322. @endif gotools
  28323. .PHONY: check-gotools maybe-check-gotools
  28324. maybe-check-gotools:
  28325. @if gotools
  28326. maybe-check-gotools: check-gotools
  28327. check-gotools:
  28328. @: $(MAKE); $(unstage)
  28329. @r=`${PWD_COMMAND}`; export r; \
  28330. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28331. $(HOST_EXPORTS) \
  28332. (cd $(HOST_SUBDIR)/gotools && \
  28333. $(MAKE) $(FLAGS_TO_PASS) check)
  28334. @endif gotools
  28335. .PHONY: install-gotools maybe-install-gotools
  28336. maybe-install-gotools:
  28337. @if gotools
  28338. maybe-install-gotools: install-gotools
  28339. install-gotools: installdirs
  28340. @: $(MAKE); $(unstage)
  28341. @r=`${PWD_COMMAND}`; export r; \
  28342. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28343. $(HOST_EXPORTS) \
  28344. (cd $(HOST_SUBDIR)/gotools && \
  28345. $(MAKE) $(FLAGS_TO_PASS) install)
  28346. @endif gotools
  28347. .PHONY: install-strip-gotools maybe-install-strip-gotools
  28348. maybe-install-strip-gotools:
  28349. @if gotools
  28350. maybe-install-strip-gotools: install-strip-gotools
  28351. install-strip-gotools: installdirs
  28352. @: $(MAKE); $(unstage)
  28353. @r=`${PWD_COMMAND}`; export r; \
  28354. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28355. $(HOST_EXPORTS) \
  28356. (cd $(HOST_SUBDIR)/gotools && \
  28357. $(MAKE) $(FLAGS_TO_PASS) install-strip)
  28358. @endif gotools
  28359. # Other targets (info, dvi, pdf, etc.)
  28360. .PHONY: maybe-info-gotools info-gotools
  28361. maybe-info-gotools:
  28362. @if gotools
  28363. maybe-info-gotools: info-gotools
  28364. info-gotools: \
  28365. configure-gotools
  28366. @: $(MAKE); $(unstage)
  28367. @[ -f ./gotools/Makefile ] || exit 0; \
  28368. r=`${PWD_COMMAND}`; export r; \
  28369. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28370. $(HOST_EXPORTS) \
  28371. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28372. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28373. done; \
  28374. echo "Doing info in gotools" ; \
  28375. (cd $(HOST_SUBDIR)/gotools && \
  28376. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28377. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28378. "RANLIB=$${RANLIB}" \
  28379. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28380. info) \
  28381. || exit 1
  28382. @endif gotools
  28383. .PHONY: maybe-dvi-gotools dvi-gotools
  28384. maybe-dvi-gotools:
  28385. @if gotools
  28386. maybe-dvi-gotools: dvi-gotools
  28387. dvi-gotools: \
  28388. configure-gotools
  28389. @: $(MAKE); $(unstage)
  28390. @[ -f ./gotools/Makefile ] || exit 0; \
  28391. r=`${PWD_COMMAND}`; export r; \
  28392. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28393. $(HOST_EXPORTS) \
  28394. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28395. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28396. done; \
  28397. echo "Doing dvi in gotools" ; \
  28398. (cd $(HOST_SUBDIR)/gotools && \
  28399. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28400. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28401. "RANLIB=$${RANLIB}" \
  28402. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28403. dvi) \
  28404. || exit 1
  28405. @endif gotools
  28406. .PHONY: maybe-pdf-gotools pdf-gotools
  28407. maybe-pdf-gotools:
  28408. @if gotools
  28409. maybe-pdf-gotools: pdf-gotools
  28410. pdf-gotools: \
  28411. configure-gotools
  28412. @: $(MAKE); $(unstage)
  28413. @[ -f ./gotools/Makefile ] || exit 0; \
  28414. r=`${PWD_COMMAND}`; export r; \
  28415. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28416. $(HOST_EXPORTS) \
  28417. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28418. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28419. done; \
  28420. echo "Doing pdf in gotools" ; \
  28421. (cd $(HOST_SUBDIR)/gotools && \
  28422. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28423. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28424. "RANLIB=$${RANLIB}" \
  28425. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28426. pdf) \
  28427. || exit 1
  28428. @endif gotools
  28429. .PHONY: maybe-html-gotools html-gotools
  28430. maybe-html-gotools:
  28431. @if gotools
  28432. maybe-html-gotools: html-gotools
  28433. html-gotools: \
  28434. configure-gotools
  28435. @: $(MAKE); $(unstage)
  28436. @[ -f ./gotools/Makefile ] || exit 0; \
  28437. r=`${PWD_COMMAND}`; export r; \
  28438. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28439. $(HOST_EXPORTS) \
  28440. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28441. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28442. done; \
  28443. echo "Doing html in gotools" ; \
  28444. (cd $(HOST_SUBDIR)/gotools && \
  28445. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28446. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28447. "RANLIB=$${RANLIB}" \
  28448. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28449. html) \
  28450. || exit 1
  28451. @endif gotools
  28452. .PHONY: maybe-TAGS-gotools TAGS-gotools
  28453. maybe-TAGS-gotools:
  28454. @if gotools
  28455. maybe-TAGS-gotools: TAGS-gotools
  28456. TAGS-gotools: \
  28457. configure-gotools
  28458. @: $(MAKE); $(unstage)
  28459. @[ -f ./gotools/Makefile ] || exit 0; \
  28460. r=`${PWD_COMMAND}`; export r; \
  28461. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28462. $(HOST_EXPORTS) \
  28463. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28464. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28465. done; \
  28466. echo "Doing TAGS in gotools" ; \
  28467. (cd $(HOST_SUBDIR)/gotools && \
  28468. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28469. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28470. "RANLIB=$${RANLIB}" \
  28471. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28472. TAGS) \
  28473. || exit 1
  28474. @endif gotools
  28475. .PHONY: maybe-install-info-gotools install-info-gotools
  28476. maybe-install-info-gotools:
  28477. @if gotools
  28478. maybe-install-info-gotools: install-info-gotools
  28479. install-info-gotools: \
  28480. configure-gotools \
  28481. info-gotools
  28482. @: $(MAKE); $(unstage)
  28483. @[ -f ./gotools/Makefile ] || exit 0; \
  28484. r=`${PWD_COMMAND}`; export r; \
  28485. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28486. $(HOST_EXPORTS) \
  28487. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28488. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28489. done; \
  28490. echo "Doing install-info in gotools" ; \
  28491. (cd $(HOST_SUBDIR)/gotools && \
  28492. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28493. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28494. "RANLIB=$${RANLIB}" \
  28495. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28496. install-info) \
  28497. || exit 1
  28498. @endif gotools
  28499. .PHONY: maybe-install-pdf-gotools install-pdf-gotools
  28500. maybe-install-pdf-gotools:
  28501. @if gotools
  28502. maybe-install-pdf-gotools: install-pdf-gotools
  28503. install-pdf-gotools: \
  28504. configure-gotools \
  28505. pdf-gotools
  28506. @: $(MAKE); $(unstage)
  28507. @[ -f ./gotools/Makefile ] || exit 0; \
  28508. r=`${PWD_COMMAND}`; export r; \
  28509. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28510. $(HOST_EXPORTS) \
  28511. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28512. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28513. done; \
  28514. echo "Doing install-pdf in gotools" ; \
  28515. (cd $(HOST_SUBDIR)/gotools && \
  28516. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28517. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28518. "RANLIB=$${RANLIB}" \
  28519. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28520. install-pdf) \
  28521. || exit 1
  28522. @endif gotools
  28523. .PHONY: maybe-install-html-gotools install-html-gotools
  28524. maybe-install-html-gotools:
  28525. @if gotools
  28526. maybe-install-html-gotools: install-html-gotools
  28527. install-html-gotools: \
  28528. configure-gotools \
  28529. html-gotools
  28530. @: $(MAKE); $(unstage)
  28531. @[ -f ./gotools/Makefile ] || exit 0; \
  28532. r=`${PWD_COMMAND}`; export r; \
  28533. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28534. $(HOST_EXPORTS) \
  28535. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28536. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28537. done; \
  28538. echo "Doing install-html in gotools" ; \
  28539. (cd $(HOST_SUBDIR)/gotools && \
  28540. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28541. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28542. "RANLIB=$${RANLIB}" \
  28543. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28544. install-html) \
  28545. || exit 1
  28546. @endif gotools
  28547. .PHONY: maybe-installcheck-gotools installcheck-gotools
  28548. maybe-installcheck-gotools:
  28549. @if gotools
  28550. maybe-installcheck-gotools: installcheck-gotools
  28551. installcheck-gotools: \
  28552. configure-gotools
  28553. @: $(MAKE); $(unstage)
  28554. @[ -f ./gotools/Makefile ] || exit 0; \
  28555. r=`${PWD_COMMAND}`; export r; \
  28556. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28557. $(HOST_EXPORTS) \
  28558. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28559. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28560. done; \
  28561. echo "Doing installcheck in gotools" ; \
  28562. (cd $(HOST_SUBDIR)/gotools && \
  28563. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28564. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28565. "RANLIB=$${RANLIB}" \
  28566. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28567. installcheck) \
  28568. || exit 1
  28569. @endif gotools
  28570. .PHONY: maybe-mostlyclean-gotools mostlyclean-gotools
  28571. maybe-mostlyclean-gotools:
  28572. @if gotools
  28573. maybe-mostlyclean-gotools: mostlyclean-gotools
  28574. mostlyclean-gotools:
  28575. @: $(MAKE); $(unstage)
  28576. @[ -f ./gotools/Makefile ] || exit 0; \
  28577. r=`${PWD_COMMAND}`; export r; \
  28578. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28579. $(HOST_EXPORTS) \
  28580. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28581. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28582. done; \
  28583. echo "Doing mostlyclean in gotools" ; \
  28584. (cd $(HOST_SUBDIR)/gotools && \
  28585. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28586. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28587. "RANLIB=$${RANLIB}" \
  28588. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28589. mostlyclean) \
  28590. || exit 1
  28591. @endif gotools
  28592. .PHONY: maybe-clean-gotools clean-gotools
  28593. maybe-clean-gotools:
  28594. @if gotools
  28595. maybe-clean-gotools: clean-gotools
  28596. clean-gotools:
  28597. @: $(MAKE); $(unstage)
  28598. @[ -f ./gotools/Makefile ] || exit 0; \
  28599. r=`${PWD_COMMAND}`; export r; \
  28600. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28601. $(HOST_EXPORTS) \
  28602. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28603. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28604. done; \
  28605. echo "Doing clean in gotools" ; \
  28606. (cd $(HOST_SUBDIR)/gotools && \
  28607. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28608. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28609. "RANLIB=$${RANLIB}" \
  28610. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28611. clean) \
  28612. || exit 1
  28613. @endif gotools
  28614. .PHONY: maybe-distclean-gotools distclean-gotools
  28615. maybe-distclean-gotools:
  28616. @if gotools
  28617. maybe-distclean-gotools: distclean-gotools
  28618. distclean-gotools:
  28619. @: $(MAKE); $(unstage)
  28620. @[ -f ./gotools/Makefile ] || exit 0; \
  28621. r=`${PWD_COMMAND}`; export r; \
  28622. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28623. $(HOST_EXPORTS) \
  28624. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28625. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28626. done; \
  28627. echo "Doing distclean in gotools" ; \
  28628. (cd $(HOST_SUBDIR)/gotools && \
  28629. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28630. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28631. "RANLIB=$${RANLIB}" \
  28632. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28633. distclean) \
  28634. || exit 1
  28635. @endif gotools
  28636. .PHONY: maybe-maintainer-clean-gotools maintainer-clean-gotools
  28637. maybe-maintainer-clean-gotools:
  28638. @if gotools
  28639. maybe-maintainer-clean-gotools: maintainer-clean-gotools
  28640. maintainer-clean-gotools:
  28641. @: $(MAKE); $(unstage)
  28642. @[ -f ./gotools/Makefile ] || exit 0; \
  28643. r=`${PWD_COMMAND}`; export r; \
  28644. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28645. $(HOST_EXPORTS) \
  28646. for flag in $(EXTRA_HOST_FLAGS) ; do \
  28647. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  28648. done; \
  28649. echo "Doing maintainer-clean in gotools" ; \
  28650. (cd $(HOST_SUBDIR)/gotools && \
  28651. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  28652. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  28653. "RANLIB=$${RANLIB}" \
  28654. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  28655. maintainer-clean) \
  28656. || exit 1
  28657. @endif gotools
  28658. # ---------------------------------------
  28659. # Modules which run on the target machine
  28660. # ---------------------------------------
  28661. .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
  28662. maybe-configure-target-libstdc++-v3:
  28663. @if gcc-bootstrap
  28664. configure-target-libstdc++-v3: stage_current
  28665. @endif gcc-bootstrap
  28666. @if target-libstdc++-v3
  28667. maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
  28668. configure-target-libstdc++-v3:
  28669. @r=`${PWD_COMMAND}`; export r; \
  28670. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28671. echo "Checking multilib configuration for libstdc++-v3..."; \
  28672. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
  28673. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
  28674. if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
  28675. if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
  28676. rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
  28677. else \
  28678. rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
  28679. mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
  28680. fi; \
  28681. else \
  28682. mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
  28683. fi; \
  28684. test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
  28685. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
  28686. $(RAW_CXX_TARGET_EXPORTS) \
  28687. echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
  28688. cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
  28689. case $(srcdir) in \
  28690. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  28691. *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
  28692. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  28693. esac; \
  28694. module_srcdir=libstdc++-v3; \
  28695. rm -f no-such-file || : ; \
  28696. CONFIG_SITE=no-such-file $(SHELL) \
  28697. $$s/$$module_srcdir/configure \
  28698. --srcdir=$${topdir}/$$module_srcdir \
  28699. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  28700. --target=${target_alias} \
  28701. || exit 1
  28702. @endif target-libstdc++-v3
  28703. .PHONY: configure-stage1-target-libstdc++-v3 maybe-configure-stage1-target-libstdc++-v3
  28704. maybe-configure-stage1-target-libstdc++-v3:
  28705. @if target-libstdc++-v3-bootstrap
  28706. maybe-configure-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
  28707. configure-stage1-target-libstdc++-v3:
  28708. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  28709. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
  28710. @r=`${PWD_COMMAND}`; export r; \
  28711. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28712. TFLAGS="$(STAGE1_TFLAGS)"; \
  28713. echo "Checking multilib configuration for libstdc++-v3..."; \
  28714. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
  28715. if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
  28716. if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
  28717. rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
  28718. else \
  28719. rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
  28720. mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
  28721. fi; \
  28722. else \
  28723. mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
  28724. fi; \
  28725. test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
  28726. $(RAW_CXX_TARGET_EXPORTS) \
  28727. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  28728. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  28729. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  28730. echo Configuring stage 1 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
  28731. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
  28732. cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
  28733. case $(srcdir) in \
  28734. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  28735. *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
  28736. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  28737. esac; \
  28738. module_srcdir=libstdc++-v3; \
  28739. $(SHELL) $$s/$$module_srcdir/configure \
  28740. --srcdir=$${topdir}/$$module_srcdir \
  28741. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  28742. --target=${target_alias} \
  28743. \
  28744. $(STAGE1_CONFIGURE_FLAGS)
  28745. @endif target-libstdc++-v3-bootstrap
  28746. .PHONY: configure-stage2-target-libstdc++-v3 maybe-configure-stage2-target-libstdc++-v3
  28747. maybe-configure-stage2-target-libstdc++-v3:
  28748. @if target-libstdc++-v3-bootstrap
  28749. maybe-configure-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
  28750. configure-stage2-target-libstdc++-v3:
  28751. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  28752. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
  28753. @r=`${PWD_COMMAND}`; export r; \
  28754. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28755. TFLAGS="$(STAGE2_TFLAGS)"; \
  28756. echo "Checking multilib configuration for libstdc++-v3..."; \
  28757. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
  28758. if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
  28759. if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
  28760. rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
  28761. else \
  28762. rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
  28763. mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
  28764. fi; \
  28765. else \
  28766. mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
  28767. fi; \
  28768. test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
  28769. $(RAW_CXX_TARGET_EXPORTS) \
  28770. \
  28771. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  28772. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  28773. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  28774. echo Configuring stage 2 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
  28775. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
  28776. cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
  28777. case $(srcdir) in \
  28778. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  28779. *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
  28780. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  28781. esac; \
  28782. module_srcdir=libstdc++-v3; \
  28783. $(SHELL) $$s/$$module_srcdir/configure \
  28784. --srcdir=$${topdir}/$$module_srcdir \
  28785. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  28786. --target=${target_alias} \
  28787. --with-build-libsubdir=$(HOST_SUBDIR) \
  28788. $(STAGE2_CONFIGURE_FLAGS)
  28789. @endif target-libstdc++-v3-bootstrap
  28790. .PHONY: configure-stage3-target-libstdc++-v3 maybe-configure-stage3-target-libstdc++-v3
  28791. maybe-configure-stage3-target-libstdc++-v3:
  28792. @if target-libstdc++-v3-bootstrap
  28793. maybe-configure-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
  28794. configure-stage3-target-libstdc++-v3:
  28795. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  28796. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
  28797. @r=`${PWD_COMMAND}`; export r; \
  28798. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28799. TFLAGS="$(STAGE3_TFLAGS)"; \
  28800. echo "Checking multilib configuration for libstdc++-v3..."; \
  28801. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
  28802. if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
  28803. if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
  28804. rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
  28805. else \
  28806. rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
  28807. mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
  28808. fi; \
  28809. else \
  28810. mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
  28811. fi; \
  28812. test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
  28813. $(RAW_CXX_TARGET_EXPORTS) \
  28814. \
  28815. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  28816. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  28817. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  28818. echo Configuring stage 3 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
  28819. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
  28820. cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
  28821. case $(srcdir) in \
  28822. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  28823. *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
  28824. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  28825. esac; \
  28826. module_srcdir=libstdc++-v3; \
  28827. $(SHELL) $$s/$$module_srcdir/configure \
  28828. --srcdir=$${topdir}/$$module_srcdir \
  28829. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  28830. --target=${target_alias} \
  28831. --with-build-libsubdir=$(HOST_SUBDIR) \
  28832. $(STAGE3_CONFIGURE_FLAGS)
  28833. @endif target-libstdc++-v3-bootstrap
  28834. .PHONY: configure-stage4-target-libstdc++-v3 maybe-configure-stage4-target-libstdc++-v3
  28835. maybe-configure-stage4-target-libstdc++-v3:
  28836. @if target-libstdc++-v3-bootstrap
  28837. maybe-configure-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
  28838. configure-stage4-target-libstdc++-v3:
  28839. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  28840. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
  28841. @r=`${PWD_COMMAND}`; export r; \
  28842. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28843. TFLAGS="$(STAGE4_TFLAGS)"; \
  28844. echo "Checking multilib configuration for libstdc++-v3..."; \
  28845. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
  28846. if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
  28847. if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
  28848. rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
  28849. else \
  28850. rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
  28851. mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
  28852. fi; \
  28853. else \
  28854. mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
  28855. fi; \
  28856. test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
  28857. $(RAW_CXX_TARGET_EXPORTS) \
  28858. \
  28859. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  28860. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  28861. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  28862. echo Configuring stage 4 in $(TARGET_SUBDIR)/libstdc++-v3 ; \
  28863. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
  28864. cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
  28865. case $(srcdir) in \
  28866. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  28867. *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
  28868. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  28869. esac; \
  28870. module_srcdir=libstdc++-v3; \
  28871. $(SHELL) $$s/$$module_srcdir/configure \
  28872. --srcdir=$${topdir}/$$module_srcdir \
  28873. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  28874. --target=${target_alias} \
  28875. --with-build-libsubdir=$(HOST_SUBDIR) \
  28876. $(STAGE4_CONFIGURE_FLAGS)
  28877. @endif target-libstdc++-v3-bootstrap
  28878. .PHONY: configure-stageprofile-target-libstdc++-v3 maybe-configure-stageprofile-target-libstdc++-v3
  28879. maybe-configure-stageprofile-target-libstdc++-v3:
  28880. @if target-libstdc++-v3-bootstrap
  28881. maybe-configure-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
  28882. configure-stageprofile-target-libstdc++-v3:
  28883. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  28884. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
  28885. @r=`${PWD_COMMAND}`; export r; \
  28886. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28887. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  28888. echo "Checking multilib configuration for libstdc++-v3..."; \
  28889. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
  28890. if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
  28891. if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
  28892. rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
  28893. else \
  28894. rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
  28895. mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
  28896. fi; \
  28897. else \
  28898. mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
  28899. fi; \
  28900. test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
  28901. $(RAW_CXX_TARGET_EXPORTS) \
  28902. \
  28903. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  28904. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  28905. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  28906. echo Configuring stage profile in $(TARGET_SUBDIR)/libstdc++-v3 ; \
  28907. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
  28908. cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
  28909. case $(srcdir) in \
  28910. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  28911. *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
  28912. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  28913. esac; \
  28914. module_srcdir=libstdc++-v3; \
  28915. $(SHELL) $$s/$$module_srcdir/configure \
  28916. --srcdir=$${topdir}/$$module_srcdir \
  28917. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  28918. --target=${target_alias} \
  28919. --with-build-libsubdir=$(HOST_SUBDIR) \
  28920. $(STAGEprofile_CONFIGURE_FLAGS)
  28921. @endif target-libstdc++-v3-bootstrap
  28922. .PHONY: configure-stagefeedback-target-libstdc++-v3 maybe-configure-stagefeedback-target-libstdc++-v3
  28923. maybe-configure-stagefeedback-target-libstdc++-v3:
  28924. @if target-libstdc++-v3-bootstrap
  28925. maybe-configure-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
  28926. configure-stagefeedback-target-libstdc++-v3:
  28927. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  28928. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3
  28929. @r=`${PWD_COMMAND}`; export r; \
  28930. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28931. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  28932. echo "Checking multilib configuration for libstdc++-v3..."; \
  28933. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp 2> /dev/null ; \
  28934. if test -r $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
  28935. if cmp -s $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; then \
  28936. rm -f $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp; \
  28937. else \
  28938. rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile; \
  28939. mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
  28940. fi; \
  28941. else \
  28942. mv $(TARGET_SUBDIR)/libstdc++-v3/multilib.tmp $(TARGET_SUBDIR)/libstdc++-v3/multilib.out; \
  28943. fi; \
  28944. test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
  28945. $(RAW_CXX_TARGET_EXPORTS) \
  28946. \
  28947. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  28948. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  28949. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  28950. echo Configuring stage feedback in $(TARGET_SUBDIR)/libstdc++-v3 ; \
  28951. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
  28952. cd $(TARGET_SUBDIR)/libstdc++-v3 || exit 1; \
  28953. case $(srcdir) in \
  28954. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  28955. *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
  28956. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  28957. esac; \
  28958. module_srcdir=libstdc++-v3; \
  28959. $(SHELL) $$s/$$module_srcdir/configure \
  28960. --srcdir=$${topdir}/$$module_srcdir \
  28961. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  28962. --target=${target_alias} \
  28963. --with-build-libsubdir=$(HOST_SUBDIR) \
  28964. $(STAGEfeedback_CONFIGURE_FLAGS)
  28965. @endif target-libstdc++-v3-bootstrap
  28966. .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
  28967. maybe-all-target-libstdc++-v3:
  28968. @if gcc-bootstrap
  28969. all-target-libstdc++-v3: stage_current
  28970. @endif gcc-bootstrap
  28971. @if target-libstdc++-v3
  28972. TARGET-target-libstdc++-v3=all
  28973. maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
  28974. all-target-libstdc++-v3: configure-target-libstdc++-v3
  28975. @r=`${PWD_COMMAND}`; export r; \
  28976. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28977. $(RAW_CXX_TARGET_EXPORTS) \
  28978. (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  28979. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  28980. $(TARGET-target-libstdc++-v3))
  28981. @endif target-libstdc++-v3
  28982. .PHONY: all-stage1-target-libstdc++-v3 maybe-all-stage1-target-libstdc++-v3
  28983. .PHONY: clean-stage1-target-libstdc++-v3 maybe-clean-stage1-target-libstdc++-v3
  28984. maybe-all-stage1-target-libstdc++-v3:
  28985. maybe-clean-stage1-target-libstdc++-v3:
  28986. @if target-libstdc++-v3-bootstrap
  28987. maybe-all-stage1-target-libstdc++-v3: all-stage1-target-libstdc++-v3
  28988. all-stage1: all-stage1-target-libstdc++-v3
  28989. TARGET-stage1-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
  28990. all-stage1-target-libstdc++-v3: configure-stage1-target-libstdc++-v3
  28991. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  28992. @r=`${PWD_COMMAND}`; export r; \
  28993. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  28994. TFLAGS="$(STAGE1_TFLAGS)"; \
  28995. $(RAW_CXX_TARGET_EXPORTS) \
  28996. cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  28997. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  28998. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  28999. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  29000. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  29001. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  29002. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  29003. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  29004. $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  29005. \
  29006. TFLAGS="$(STAGE1_TFLAGS)" \
  29007. $(TARGET-stage1-target-libstdc++-v3)
  29008. maybe-clean-stage1-target-libstdc++-v3: clean-stage1-target-libstdc++-v3
  29009. clean-stage1: clean-stage1-target-libstdc++-v3
  29010. clean-stage1-target-libstdc++-v3:
  29011. @if [ $(current_stage) = stage1 ]; then \
  29012. [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
  29013. else \
  29014. [ -f $(TARGET_SUBDIR)/stage1-libstdc++-v3/Makefile ] || exit 0; \
  29015. $(MAKE) stage1-start; \
  29016. fi; \
  29017. cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29018. $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  29019. clean
  29020. @endif target-libstdc++-v3-bootstrap
  29021. .PHONY: all-stage2-target-libstdc++-v3 maybe-all-stage2-target-libstdc++-v3
  29022. .PHONY: clean-stage2-target-libstdc++-v3 maybe-clean-stage2-target-libstdc++-v3
  29023. maybe-all-stage2-target-libstdc++-v3:
  29024. maybe-clean-stage2-target-libstdc++-v3:
  29025. @if target-libstdc++-v3-bootstrap
  29026. maybe-all-stage2-target-libstdc++-v3: all-stage2-target-libstdc++-v3
  29027. all-stage2: all-stage2-target-libstdc++-v3
  29028. TARGET-stage2-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
  29029. all-stage2-target-libstdc++-v3: configure-stage2-target-libstdc++-v3
  29030. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  29031. @r=`${PWD_COMMAND}`; export r; \
  29032. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29033. TFLAGS="$(STAGE2_TFLAGS)"; \
  29034. $(RAW_CXX_TARGET_EXPORTS) \
  29035. \
  29036. cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29037. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  29038. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  29039. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  29040. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  29041. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  29042. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  29043. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  29044. $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  29045. TFLAGS="$(STAGE2_TFLAGS)" \
  29046. $(TARGET-stage2-target-libstdc++-v3)
  29047. maybe-clean-stage2-target-libstdc++-v3: clean-stage2-target-libstdc++-v3
  29048. clean-stage2: clean-stage2-target-libstdc++-v3
  29049. clean-stage2-target-libstdc++-v3:
  29050. @if [ $(current_stage) = stage2 ]; then \
  29051. [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
  29052. else \
  29053. [ -f $(TARGET_SUBDIR)/stage2-libstdc++-v3/Makefile ] || exit 0; \
  29054. $(MAKE) stage2-start; \
  29055. fi; \
  29056. cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29057. $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
  29058. @endif target-libstdc++-v3-bootstrap
  29059. .PHONY: all-stage3-target-libstdc++-v3 maybe-all-stage3-target-libstdc++-v3
  29060. .PHONY: clean-stage3-target-libstdc++-v3 maybe-clean-stage3-target-libstdc++-v3
  29061. maybe-all-stage3-target-libstdc++-v3:
  29062. maybe-clean-stage3-target-libstdc++-v3:
  29063. @if target-libstdc++-v3-bootstrap
  29064. maybe-all-stage3-target-libstdc++-v3: all-stage3-target-libstdc++-v3
  29065. all-stage3: all-stage3-target-libstdc++-v3
  29066. TARGET-stage3-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
  29067. all-stage3-target-libstdc++-v3: configure-stage3-target-libstdc++-v3
  29068. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  29069. @r=`${PWD_COMMAND}`; export r; \
  29070. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29071. TFLAGS="$(STAGE3_TFLAGS)"; \
  29072. $(RAW_CXX_TARGET_EXPORTS) \
  29073. \
  29074. cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29075. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  29076. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  29077. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  29078. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  29079. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  29080. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  29081. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  29082. $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  29083. TFLAGS="$(STAGE3_TFLAGS)" \
  29084. $(TARGET-stage3-target-libstdc++-v3)
  29085. maybe-clean-stage3-target-libstdc++-v3: clean-stage3-target-libstdc++-v3
  29086. clean-stage3: clean-stage3-target-libstdc++-v3
  29087. clean-stage3-target-libstdc++-v3:
  29088. @if [ $(current_stage) = stage3 ]; then \
  29089. [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
  29090. else \
  29091. [ -f $(TARGET_SUBDIR)/stage3-libstdc++-v3/Makefile ] || exit 0; \
  29092. $(MAKE) stage3-start; \
  29093. fi; \
  29094. cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29095. $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
  29096. @endif target-libstdc++-v3-bootstrap
  29097. .PHONY: all-stage4-target-libstdc++-v3 maybe-all-stage4-target-libstdc++-v3
  29098. .PHONY: clean-stage4-target-libstdc++-v3 maybe-clean-stage4-target-libstdc++-v3
  29099. maybe-all-stage4-target-libstdc++-v3:
  29100. maybe-clean-stage4-target-libstdc++-v3:
  29101. @if target-libstdc++-v3-bootstrap
  29102. maybe-all-stage4-target-libstdc++-v3: all-stage4-target-libstdc++-v3
  29103. all-stage4: all-stage4-target-libstdc++-v3
  29104. TARGET-stage4-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
  29105. all-stage4-target-libstdc++-v3: configure-stage4-target-libstdc++-v3
  29106. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  29107. @r=`${PWD_COMMAND}`; export r; \
  29108. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29109. TFLAGS="$(STAGE4_TFLAGS)"; \
  29110. $(RAW_CXX_TARGET_EXPORTS) \
  29111. \
  29112. cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29113. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  29114. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  29115. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  29116. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  29117. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  29118. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  29119. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  29120. $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  29121. TFLAGS="$(STAGE4_TFLAGS)" \
  29122. $(TARGET-stage4-target-libstdc++-v3)
  29123. maybe-clean-stage4-target-libstdc++-v3: clean-stage4-target-libstdc++-v3
  29124. clean-stage4: clean-stage4-target-libstdc++-v3
  29125. clean-stage4-target-libstdc++-v3:
  29126. @if [ $(current_stage) = stage4 ]; then \
  29127. [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
  29128. else \
  29129. [ -f $(TARGET_SUBDIR)/stage4-libstdc++-v3/Makefile ] || exit 0; \
  29130. $(MAKE) stage4-start; \
  29131. fi; \
  29132. cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29133. $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
  29134. @endif target-libstdc++-v3-bootstrap
  29135. .PHONY: all-stageprofile-target-libstdc++-v3 maybe-all-stageprofile-target-libstdc++-v3
  29136. .PHONY: clean-stageprofile-target-libstdc++-v3 maybe-clean-stageprofile-target-libstdc++-v3
  29137. maybe-all-stageprofile-target-libstdc++-v3:
  29138. maybe-clean-stageprofile-target-libstdc++-v3:
  29139. @if target-libstdc++-v3-bootstrap
  29140. maybe-all-stageprofile-target-libstdc++-v3: all-stageprofile-target-libstdc++-v3
  29141. all-stageprofile: all-stageprofile-target-libstdc++-v3
  29142. TARGET-stageprofile-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
  29143. all-stageprofile-target-libstdc++-v3: configure-stageprofile-target-libstdc++-v3
  29144. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  29145. @r=`${PWD_COMMAND}`; export r; \
  29146. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29147. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  29148. $(RAW_CXX_TARGET_EXPORTS) \
  29149. \
  29150. cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29151. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  29152. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  29153. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  29154. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  29155. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  29156. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  29157. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  29158. $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  29159. TFLAGS="$(STAGEprofile_TFLAGS)" \
  29160. $(TARGET-stageprofile-target-libstdc++-v3)
  29161. maybe-clean-stageprofile-target-libstdc++-v3: clean-stageprofile-target-libstdc++-v3
  29162. clean-stageprofile: clean-stageprofile-target-libstdc++-v3
  29163. clean-stageprofile-target-libstdc++-v3:
  29164. @if [ $(current_stage) = stageprofile ]; then \
  29165. [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
  29166. else \
  29167. [ -f $(TARGET_SUBDIR)/stageprofile-libstdc++-v3/Makefile ] || exit 0; \
  29168. $(MAKE) stageprofile-start; \
  29169. fi; \
  29170. cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29171. $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
  29172. @endif target-libstdc++-v3-bootstrap
  29173. .PHONY: all-stagefeedback-target-libstdc++-v3 maybe-all-stagefeedback-target-libstdc++-v3
  29174. .PHONY: clean-stagefeedback-target-libstdc++-v3 maybe-clean-stagefeedback-target-libstdc++-v3
  29175. maybe-all-stagefeedback-target-libstdc++-v3:
  29176. maybe-clean-stagefeedback-target-libstdc++-v3:
  29177. @if target-libstdc++-v3-bootstrap
  29178. maybe-all-stagefeedback-target-libstdc++-v3: all-stagefeedback-target-libstdc++-v3
  29179. all-stagefeedback: all-stagefeedback-target-libstdc++-v3
  29180. TARGET-stagefeedback-target-libstdc++-v3 = $(TARGET-target-libstdc++-v3)
  29181. all-stagefeedback-target-libstdc++-v3: configure-stagefeedback-target-libstdc++-v3
  29182. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  29183. @r=`${PWD_COMMAND}`; export r; \
  29184. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29185. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  29186. $(RAW_CXX_TARGET_EXPORTS) \
  29187. \
  29188. cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29189. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  29190. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  29191. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  29192. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  29193. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  29194. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  29195. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  29196. $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  29197. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  29198. $(TARGET-stagefeedback-target-libstdc++-v3)
  29199. maybe-clean-stagefeedback-target-libstdc++-v3: clean-stagefeedback-target-libstdc++-v3
  29200. clean-stagefeedback: clean-stagefeedback-target-libstdc++-v3
  29201. clean-stagefeedback-target-libstdc++-v3:
  29202. @if [ $(current_stage) = stagefeedback ]; then \
  29203. [ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0; \
  29204. else \
  29205. [ -f $(TARGET_SUBDIR)/stagefeedback-libstdc++-v3/Makefile ] || exit 0; \
  29206. $(MAKE) stagefeedback-start; \
  29207. fi; \
  29208. cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29209. $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
  29210. @endif target-libstdc++-v3-bootstrap
  29211. .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
  29212. maybe-check-target-libstdc++-v3:
  29213. @if target-libstdc++-v3
  29214. maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
  29215. check-target-libstdc++-v3:
  29216. @: $(MAKE); $(unstage)
  29217. @r=`${PWD_COMMAND}`; export r; \
  29218. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29219. $(RAW_CXX_TARGET_EXPORTS) \
  29220. (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29221. $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
  29222. @endif target-libstdc++-v3
  29223. .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
  29224. maybe-install-target-libstdc++-v3:
  29225. @if target-libstdc++-v3
  29226. maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
  29227. install-target-libstdc++-v3: installdirs
  29228. @: $(MAKE); $(unstage)
  29229. @r=`${PWD_COMMAND}`; export r; \
  29230. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29231. $(RAW_CXX_TARGET_EXPORTS) \
  29232. (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29233. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  29234. @endif target-libstdc++-v3
  29235. .PHONY: install-strip-target-libstdc++-v3 maybe-install-strip-target-libstdc++-v3
  29236. maybe-install-strip-target-libstdc++-v3:
  29237. @if target-libstdc++-v3
  29238. maybe-install-strip-target-libstdc++-v3: install-strip-target-libstdc++-v3
  29239. install-strip-target-libstdc++-v3: installdirs
  29240. @: $(MAKE); $(unstage)
  29241. @r=`${PWD_COMMAND}`; export r; \
  29242. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29243. $(RAW_CXX_TARGET_EXPORTS) \
  29244. (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29245. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  29246. @endif target-libstdc++-v3
  29247. # Other targets (info, dvi, pdf, etc.)
  29248. .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
  29249. maybe-info-target-libstdc++-v3:
  29250. @if target-libstdc++-v3
  29251. maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
  29252. info-target-libstdc++-v3: \
  29253. configure-target-libstdc++-v3
  29254. @: $(MAKE); $(unstage)
  29255. @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
  29256. r=`${PWD_COMMAND}`; export r; \
  29257. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29258. $(RAW_CXX_TARGET_EXPORTS) \
  29259. echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
  29260. for flag in $(EXTRA_TARGET_FLAGS); do \
  29261. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  29262. done; \
  29263. (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29264. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  29265. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  29266. "RANLIB=$${RANLIB}" \
  29267. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  29268. info) \
  29269. || exit 1
  29270. @endif target-libstdc++-v3
  29271. .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
  29272. maybe-dvi-target-libstdc++-v3:
  29273. @if target-libstdc++-v3
  29274. maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
  29275. dvi-target-libstdc++-v3: \
  29276. configure-target-libstdc++-v3
  29277. @: $(MAKE); $(unstage)
  29278. @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
  29279. r=`${PWD_COMMAND}`; export r; \
  29280. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29281. $(RAW_CXX_TARGET_EXPORTS) \
  29282. echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
  29283. for flag in $(EXTRA_TARGET_FLAGS); do \
  29284. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  29285. done; \
  29286. (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29287. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  29288. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  29289. "RANLIB=$${RANLIB}" \
  29290. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  29291. dvi) \
  29292. || exit 1
  29293. @endif target-libstdc++-v3
  29294. .PHONY: maybe-pdf-target-libstdc++-v3 pdf-target-libstdc++-v3
  29295. maybe-pdf-target-libstdc++-v3:
  29296. @if target-libstdc++-v3
  29297. maybe-pdf-target-libstdc++-v3: pdf-target-libstdc++-v3
  29298. pdf-target-libstdc++-v3: \
  29299. configure-target-libstdc++-v3
  29300. @: $(MAKE); $(unstage)
  29301. @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
  29302. r=`${PWD_COMMAND}`; export r; \
  29303. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29304. $(RAW_CXX_TARGET_EXPORTS) \
  29305. echo "Doing pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
  29306. for flag in $(EXTRA_TARGET_FLAGS); do \
  29307. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  29308. done; \
  29309. (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29310. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  29311. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  29312. "RANLIB=$${RANLIB}" \
  29313. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  29314. pdf) \
  29315. || exit 1
  29316. @endif target-libstdc++-v3
  29317. .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
  29318. maybe-html-target-libstdc++-v3:
  29319. @if target-libstdc++-v3
  29320. maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
  29321. html-target-libstdc++-v3: \
  29322. configure-target-libstdc++-v3
  29323. @: $(MAKE); $(unstage)
  29324. @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
  29325. r=`${PWD_COMMAND}`; export r; \
  29326. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29327. $(RAW_CXX_TARGET_EXPORTS) \
  29328. echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
  29329. for flag in $(EXTRA_TARGET_FLAGS); do \
  29330. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  29331. done; \
  29332. (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29333. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  29334. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  29335. "RANLIB=$${RANLIB}" \
  29336. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  29337. html) \
  29338. || exit 1
  29339. @endif target-libstdc++-v3
  29340. .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
  29341. maybe-TAGS-target-libstdc++-v3:
  29342. @if target-libstdc++-v3
  29343. maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
  29344. TAGS-target-libstdc++-v3: \
  29345. configure-target-libstdc++-v3
  29346. @: $(MAKE); $(unstage)
  29347. @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
  29348. r=`${PWD_COMMAND}`; export r; \
  29349. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29350. $(RAW_CXX_TARGET_EXPORTS) \
  29351. echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
  29352. for flag in $(EXTRA_TARGET_FLAGS); do \
  29353. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  29354. done; \
  29355. (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29356. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  29357. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  29358. "RANLIB=$${RANLIB}" \
  29359. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  29360. TAGS) \
  29361. || exit 1
  29362. @endif target-libstdc++-v3
  29363. .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
  29364. maybe-install-info-target-libstdc++-v3:
  29365. @if target-libstdc++-v3
  29366. maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
  29367. install-info-target-libstdc++-v3: \
  29368. configure-target-libstdc++-v3 \
  29369. info-target-libstdc++-v3
  29370. @: $(MAKE); $(unstage)
  29371. @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
  29372. r=`${PWD_COMMAND}`; export r; \
  29373. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29374. $(RAW_CXX_TARGET_EXPORTS) \
  29375. echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
  29376. for flag in $(EXTRA_TARGET_FLAGS); do \
  29377. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  29378. done; \
  29379. (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29380. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  29381. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  29382. "RANLIB=$${RANLIB}" \
  29383. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  29384. install-info) \
  29385. || exit 1
  29386. @endif target-libstdc++-v3
  29387. .PHONY: maybe-install-pdf-target-libstdc++-v3 install-pdf-target-libstdc++-v3
  29388. maybe-install-pdf-target-libstdc++-v3:
  29389. @if target-libstdc++-v3
  29390. maybe-install-pdf-target-libstdc++-v3: install-pdf-target-libstdc++-v3
  29391. install-pdf-target-libstdc++-v3: \
  29392. configure-target-libstdc++-v3 \
  29393. pdf-target-libstdc++-v3
  29394. @: $(MAKE); $(unstage)
  29395. @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
  29396. r=`${PWD_COMMAND}`; export r; \
  29397. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29398. $(RAW_CXX_TARGET_EXPORTS) \
  29399. echo "Doing install-pdf in $(TARGET_SUBDIR)/libstdc++-v3" ; \
  29400. for flag in $(EXTRA_TARGET_FLAGS); do \
  29401. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  29402. done; \
  29403. (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29404. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  29405. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  29406. "RANLIB=$${RANLIB}" \
  29407. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  29408. install-pdf) \
  29409. || exit 1
  29410. @endif target-libstdc++-v3
  29411. .PHONY: maybe-install-html-target-libstdc++-v3 install-html-target-libstdc++-v3
  29412. maybe-install-html-target-libstdc++-v3:
  29413. @if target-libstdc++-v3
  29414. maybe-install-html-target-libstdc++-v3: install-html-target-libstdc++-v3
  29415. install-html-target-libstdc++-v3: \
  29416. configure-target-libstdc++-v3 \
  29417. html-target-libstdc++-v3
  29418. @: $(MAKE); $(unstage)
  29419. @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
  29420. r=`${PWD_COMMAND}`; export r; \
  29421. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29422. $(RAW_CXX_TARGET_EXPORTS) \
  29423. echo "Doing install-html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
  29424. for flag in $(EXTRA_TARGET_FLAGS); do \
  29425. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  29426. done; \
  29427. (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29428. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  29429. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  29430. "RANLIB=$${RANLIB}" \
  29431. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  29432. install-html) \
  29433. || exit 1
  29434. @endif target-libstdc++-v3
  29435. .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
  29436. maybe-installcheck-target-libstdc++-v3:
  29437. @if target-libstdc++-v3
  29438. maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
  29439. installcheck-target-libstdc++-v3: \
  29440. configure-target-libstdc++-v3
  29441. @: $(MAKE); $(unstage)
  29442. @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
  29443. r=`${PWD_COMMAND}`; export r; \
  29444. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29445. $(RAW_CXX_TARGET_EXPORTS) \
  29446. echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
  29447. for flag in $(EXTRA_TARGET_FLAGS); do \
  29448. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  29449. done; \
  29450. (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29451. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  29452. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  29453. "RANLIB=$${RANLIB}" \
  29454. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  29455. installcheck) \
  29456. || exit 1
  29457. @endif target-libstdc++-v3
  29458. .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
  29459. maybe-mostlyclean-target-libstdc++-v3:
  29460. @if target-libstdc++-v3
  29461. maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
  29462. mostlyclean-target-libstdc++-v3:
  29463. @: $(MAKE); $(unstage)
  29464. @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
  29465. r=`${PWD_COMMAND}`; export r; \
  29466. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29467. $(RAW_CXX_TARGET_EXPORTS) \
  29468. echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
  29469. for flag in $(EXTRA_TARGET_FLAGS); do \
  29470. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  29471. done; \
  29472. (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29473. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  29474. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  29475. "RANLIB=$${RANLIB}" \
  29476. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  29477. mostlyclean) \
  29478. || exit 1
  29479. @endif target-libstdc++-v3
  29480. .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
  29481. maybe-clean-target-libstdc++-v3:
  29482. @if target-libstdc++-v3
  29483. maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
  29484. clean-target-libstdc++-v3:
  29485. @: $(MAKE); $(unstage)
  29486. @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
  29487. r=`${PWD_COMMAND}`; export r; \
  29488. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29489. $(RAW_CXX_TARGET_EXPORTS) \
  29490. echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
  29491. for flag in $(EXTRA_TARGET_FLAGS); do \
  29492. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  29493. done; \
  29494. (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29495. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  29496. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  29497. "RANLIB=$${RANLIB}" \
  29498. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  29499. clean) \
  29500. || exit 1
  29501. @endif target-libstdc++-v3
  29502. .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
  29503. maybe-distclean-target-libstdc++-v3:
  29504. @if target-libstdc++-v3
  29505. maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
  29506. distclean-target-libstdc++-v3:
  29507. @: $(MAKE); $(unstage)
  29508. @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
  29509. r=`${PWD_COMMAND}`; export r; \
  29510. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29511. $(RAW_CXX_TARGET_EXPORTS) \
  29512. echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
  29513. for flag in $(EXTRA_TARGET_FLAGS); do \
  29514. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  29515. done; \
  29516. (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29517. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  29518. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  29519. "RANLIB=$${RANLIB}" \
  29520. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  29521. distclean) \
  29522. || exit 1
  29523. @endif target-libstdc++-v3
  29524. .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
  29525. maybe-maintainer-clean-target-libstdc++-v3:
  29526. @if target-libstdc++-v3
  29527. maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
  29528. maintainer-clean-target-libstdc++-v3:
  29529. @: $(MAKE); $(unstage)
  29530. @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
  29531. r=`${PWD_COMMAND}`; export r; \
  29532. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29533. $(RAW_CXX_TARGET_EXPORTS) \
  29534. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
  29535. for flag in $(EXTRA_TARGET_FLAGS); do \
  29536. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  29537. done; \
  29538. (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
  29539. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  29540. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  29541. "RANLIB=$${RANLIB}" \
  29542. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  29543. maintainer-clean) \
  29544. || exit 1
  29545. @endif target-libstdc++-v3
  29546. .PHONY: configure-target-libsanitizer maybe-configure-target-libsanitizer
  29547. maybe-configure-target-libsanitizer:
  29548. @if gcc-bootstrap
  29549. configure-target-libsanitizer: stage_current
  29550. @endif gcc-bootstrap
  29551. @if target-libsanitizer
  29552. maybe-configure-target-libsanitizer: configure-target-libsanitizer
  29553. configure-target-libsanitizer:
  29554. @r=`${PWD_COMMAND}`; export r; \
  29555. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29556. echo "Checking multilib configuration for libsanitizer..."; \
  29557. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
  29558. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
  29559. if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
  29560. if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
  29561. rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
  29562. else \
  29563. rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
  29564. mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
  29565. fi; \
  29566. else \
  29567. mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
  29568. fi; \
  29569. test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
  29570. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
  29571. $(RAW_CXX_TARGET_EXPORTS) \
  29572. echo Configuring in $(TARGET_SUBDIR)/libsanitizer; \
  29573. cd "$(TARGET_SUBDIR)/libsanitizer" || exit 1; \
  29574. case $(srcdir) in \
  29575. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  29576. *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
  29577. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  29578. esac; \
  29579. module_srcdir=libsanitizer; \
  29580. rm -f no-such-file || : ; \
  29581. CONFIG_SITE=no-such-file $(SHELL) \
  29582. $$s/$$module_srcdir/configure \
  29583. --srcdir=$${topdir}/$$module_srcdir \
  29584. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  29585. --target=${target_alias} \
  29586. || exit 1
  29587. @endif target-libsanitizer
  29588. .PHONY: configure-stage1-target-libsanitizer maybe-configure-stage1-target-libsanitizer
  29589. maybe-configure-stage1-target-libsanitizer:
  29590. @if target-libsanitizer-bootstrap
  29591. maybe-configure-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
  29592. configure-stage1-target-libsanitizer:
  29593. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  29594. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
  29595. @r=`${PWD_COMMAND}`; export r; \
  29596. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29597. TFLAGS="$(STAGE1_TFLAGS)"; \
  29598. echo "Checking multilib configuration for libsanitizer..."; \
  29599. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
  29600. if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
  29601. if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
  29602. rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
  29603. else \
  29604. rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
  29605. mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
  29606. fi; \
  29607. else \
  29608. mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
  29609. fi; \
  29610. test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
  29611. $(RAW_CXX_TARGET_EXPORTS) \
  29612. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  29613. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  29614. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  29615. echo Configuring stage 1 in $(TARGET_SUBDIR)/libsanitizer ; \
  29616. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
  29617. cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
  29618. case $(srcdir) in \
  29619. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  29620. *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
  29621. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  29622. esac; \
  29623. module_srcdir=libsanitizer; \
  29624. $(SHELL) $$s/$$module_srcdir/configure \
  29625. --srcdir=$${topdir}/$$module_srcdir \
  29626. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  29627. --target=${target_alias} \
  29628. \
  29629. $(STAGE1_CONFIGURE_FLAGS)
  29630. @endif target-libsanitizer-bootstrap
  29631. .PHONY: configure-stage2-target-libsanitizer maybe-configure-stage2-target-libsanitizer
  29632. maybe-configure-stage2-target-libsanitizer:
  29633. @if target-libsanitizer-bootstrap
  29634. maybe-configure-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
  29635. configure-stage2-target-libsanitizer:
  29636. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  29637. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
  29638. @r=`${PWD_COMMAND}`; export r; \
  29639. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29640. TFLAGS="$(STAGE2_TFLAGS)"; \
  29641. echo "Checking multilib configuration for libsanitizer..."; \
  29642. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
  29643. if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
  29644. if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
  29645. rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
  29646. else \
  29647. rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
  29648. mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
  29649. fi; \
  29650. else \
  29651. mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
  29652. fi; \
  29653. test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
  29654. $(RAW_CXX_TARGET_EXPORTS) \
  29655. \
  29656. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  29657. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  29658. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  29659. echo Configuring stage 2 in $(TARGET_SUBDIR)/libsanitizer ; \
  29660. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
  29661. cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
  29662. case $(srcdir) in \
  29663. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  29664. *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
  29665. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  29666. esac; \
  29667. module_srcdir=libsanitizer; \
  29668. $(SHELL) $$s/$$module_srcdir/configure \
  29669. --srcdir=$${topdir}/$$module_srcdir \
  29670. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  29671. --target=${target_alias} \
  29672. --with-build-libsubdir=$(HOST_SUBDIR) \
  29673. $(STAGE2_CONFIGURE_FLAGS)
  29674. @endif target-libsanitizer-bootstrap
  29675. .PHONY: configure-stage3-target-libsanitizer maybe-configure-stage3-target-libsanitizer
  29676. maybe-configure-stage3-target-libsanitizer:
  29677. @if target-libsanitizer-bootstrap
  29678. maybe-configure-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
  29679. configure-stage3-target-libsanitizer:
  29680. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  29681. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
  29682. @r=`${PWD_COMMAND}`; export r; \
  29683. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29684. TFLAGS="$(STAGE3_TFLAGS)"; \
  29685. echo "Checking multilib configuration for libsanitizer..."; \
  29686. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
  29687. if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
  29688. if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
  29689. rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
  29690. else \
  29691. rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
  29692. mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
  29693. fi; \
  29694. else \
  29695. mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
  29696. fi; \
  29697. test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
  29698. $(RAW_CXX_TARGET_EXPORTS) \
  29699. \
  29700. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  29701. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  29702. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  29703. echo Configuring stage 3 in $(TARGET_SUBDIR)/libsanitizer ; \
  29704. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
  29705. cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
  29706. case $(srcdir) in \
  29707. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  29708. *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
  29709. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  29710. esac; \
  29711. module_srcdir=libsanitizer; \
  29712. $(SHELL) $$s/$$module_srcdir/configure \
  29713. --srcdir=$${topdir}/$$module_srcdir \
  29714. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  29715. --target=${target_alias} \
  29716. --with-build-libsubdir=$(HOST_SUBDIR) \
  29717. $(STAGE3_CONFIGURE_FLAGS)
  29718. @endif target-libsanitizer-bootstrap
  29719. .PHONY: configure-stage4-target-libsanitizer maybe-configure-stage4-target-libsanitizer
  29720. maybe-configure-stage4-target-libsanitizer:
  29721. @if target-libsanitizer-bootstrap
  29722. maybe-configure-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
  29723. configure-stage4-target-libsanitizer:
  29724. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  29725. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
  29726. @r=`${PWD_COMMAND}`; export r; \
  29727. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29728. TFLAGS="$(STAGE4_TFLAGS)"; \
  29729. echo "Checking multilib configuration for libsanitizer..."; \
  29730. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
  29731. if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
  29732. if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
  29733. rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
  29734. else \
  29735. rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
  29736. mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
  29737. fi; \
  29738. else \
  29739. mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
  29740. fi; \
  29741. test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
  29742. $(RAW_CXX_TARGET_EXPORTS) \
  29743. \
  29744. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  29745. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  29746. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  29747. echo Configuring stage 4 in $(TARGET_SUBDIR)/libsanitizer ; \
  29748. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
  29749. cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
  29750. case $(srcdir) in \
  29751. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  29752. *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
  29753. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  29754. esac; \
  29755. module_srcdir=libsanitizer; \
  29756. $(SHELL) $$s/$$module_srcdir/configure \
  29757. --srcdir=$${topdir}/$$module_srcdir \
  29758. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  29759. --target=${target_alias} \
  29760. --with-build-libsubdir=$(HOST_SUBDIR) \
  29761. $(STAGE4_CONFIGURE_FLAGS)
  29762. @endif target-libsanitizer-bootstrap
  29763. .PHONY: configure-stageprofile-target-libsanitizer maybe-configure-stageprofile-target-libsanitizer
  29764. maybe-configure-stageprofile-target-libsanitizer:
  29765. @if target-libsanitizer-bootstrap
  29766. maybe-configure-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
  29767. configure-stageprofile-target-libsanitizer:
  29768. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  29769. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
  29770. @r=`${PWD_COMMAND}`; export r; \
  29771. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29772. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  29773. echo "Checking multilib configuration for libsanitizer..."; \
  29774. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
  29775. if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
  29776. if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
  29777. rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
  29778. else \
  29779. rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
  29780. mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
  29781. fi; \
  29782. else \
  29783. mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
  29784. fi; \
  29785. test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
  29786. $(RAW_CXX_TARGET_EXPORTS) \
  29787. \
  29788. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  29789. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  29790. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  29791. echo Configuring stage profile in $(TARGET_SUBDIR)/libsanitizer ; \
  29792. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
  29793. cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
  29794. case $(srcdir) in \
  29795. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  29796. *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
  29797. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  29798. esac; \
  29799. module_srcdir=libsanitizer; \
  29800. $(SHELL) $$s/$$module_srcdir/configure \
  29801. --srcdir=$${topdir}/$$module_srcdir \
  29802. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  29803. --target=${target_alias} \
  29804. --with-build-libsubdir=$(HOST_SUBDIR) \
  29805. $(STAGEprofile_CONFIGURE_FLAGS)
  29806. @endif target-libsanitizer-bootstrap
  29807. .PHONY: configure-stagefeedback-target-libsanitizer maybe-configure-stagefeedback-target-libsanitizer
  29808. maybe-configure-stagefeedback-target-libsanitizer:
  29809. @if target-libsanitizer-bootstrap
  29810. maybe-configure-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
  29811. configure-stagefeedback-target-libsanitizer:
  29812. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  29813. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer
  29814. @r=`${PWD_COMMAND}`; export r; \
  29815. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29816. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  29817. echo "Checking multilib configuration for libsanitizer..."; \
  29818. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libsanitizer/multilib.tmp 2> /dev/null ; \
  29819. if test -r $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
  29820. if cmp -s $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; then \
  29821. rm -f $(TARGET_SUBDIR)/libsanitizer/multilib.tmp; \
  29822. else \
  29823. rm -f $(TARGET_SUBDIR)/libsanitizer/Makefile; \
  29824. mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
  29825. fi; \
  29826. else \
  29827. mv $(TARGET_SUBDIR)/libsanitizer/multilib.tmp $(TARGET_SUBDIR)/libsanitizer/multilib.out; \
  29828. fi; \
  29829. test ! -f $(TARGET_SUBDIR)/libsanitizer/Makefile || exit 0; \
  29830. $(RAW_CXX_TARGET_EXPORTS) \
  29831. \
  29832. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  29833. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  29834. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  29835. echo Configuring stage feedback in $(TARGET_SUBDIR)/libsanitizer ; \
  29836. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libsanitizer ; \
  29837. cd $(TARGET_SUBDIR)/libsanitizer || exit 1; \
  29838. case $(srcdir) in \
  29839. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  29840. *) topdir=`echo $(TARGET_SUBDIR)/libsanitizer/ | \
  29841. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  29842. esac; \
  29843. module_srcdir=libsanitizer; \
  29844. $(SHELL) $$s/$$module_srcdir/configure \
  29845. --srcdir=$${topdir}/$$module_srcdir \
  29846. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  29847. --target=${target_alias} \
  29848. --with-build-libsubdir=$(HOST_SUBDIR) \
  29849. $(STAGEfeedback_CONFIGURE_FLAGS)
  29850. @endif target-libsanitizer-bootstrap
  29851. .PHONY: all-target-libsanitizer maybe-all-target-libsanitizer
  29852. maybe-all-target-libsanitizer:
  29853. @if gcc-bootstrap
  29854. all-target-libsanitizer: stage_current
  29855. @endif gcc-bootstrap
  29856. @if target-libsanitizer
  29857. TARGET-target-libsanitizer=all
  29858. maybe-all-target-libsanitizer: all-target-libsanitizer
  29859. all-target-libsanitizer: configure-target-libsanitizer
  29860. @r=`${PWD_COMMAND}`; export r; \
  29861. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29862. $(RAW_CXX_TARGET_EXPORTS) \
  29863. (cd $(TARGET_SUBDIR)/libsanitizer && \
  29864. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  29865. $(TARGET-target-libsanitizer))
  29866. @endif target-libsanitizer
  29867. .PHONY: all-stage1-target-libsanitizer maybe-all-stage1-target-libsanitizer
  29868. .PHONY: clean-stage1-target-libsanitizer maybe-clean-stage1-target-libsanitizer
  29869. maybe-all-stage1-target-libsanitizer:
  29870. maybe-clean-stage1-target-libsanitizer:
  29871. @if target-libsanitizer-bootstrap
  29872. maybe-all-stage1-target-libsanitizer: all-stage1-target-libsanitizer
  29873. all-stage1: all-stage1-target-libsanitizer
  29874. TARGET-stage1-target-libsanitizer = $(TARGET-target-libsanitizer)
  29875. all-stage1-target-libsanitizer: configure-stage1-target-libsanitizer
  29876. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  29877. @r=`${PWD_COMMAND}`; export r; \
  29878. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29879. TFLAGS="$(STAGE1_TFLAGS)"; \
  29880. $(RAW_CXX_TARGET_EXPORTS) \
  29881. cd $(TARGET_SUBDIR)/libsanitizer && \
  29882. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  29883. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  29884. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  29885. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  29886. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  29887. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  29888. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  29889. $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  29890. \
  29891. TFLAGS="$(STAGE1_TFLAGS)" \
  29892. $(TARGET-stage1-target-libsanitizer)
  29893. maybe-clean-stage1-target-libsanitizer: clean-stage1-target-libsanitizer
  29894. clean-stage1: clean-stage1-target-libsanitizer
  29895. clean-stage1-target-libsanitizer:
  29896. @if [ $(current_stage) = stage1 ]; then \
  29897. [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
  29898. else \
  29899. [ -f $(TARGET_SUBDIR)/stage1-libsanitizer/Makefile ] || exit 0; \
  29900. $(MAKE) stage1-start; \
  29901. fi; \
  29902. cd $(TARGET_SUBDIR)/libsanitizer && \
  29903. $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  29904. clean
  29905. @endif target-libsanitizer-bootstrap
  29906. .PHONY: all-stage2-target-libsanitizer maybe-all-stage2-target-libsanitizer
  29907. .PHONY: clean-stage2-target-libsanitizer maybe-clean-stage2-target-libsanitizer
  29908. maybe-all-stage2-target-libsanitizer:
  29909. maybe-clean-stage2-target-libsanitizer:
  29910. @if target-libsanitizer-bootstrap
  29911. maybe-all-stage2-target-libsanitizer: all-stage2-target-libsanitizer
  29912. all-stage2: all-stage2-target-libsanitizer
  29913. TARGET-stage2-target-libsanitizer = $(TARGET-target-libsanitizer)
  29914. all-stage2-target-libsanitizer: configure-stage2-target-libsanitizer
  29915. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  29916. @r=`${PWD_COMMAND}`; export r; \
  29917. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29918. TFLAGS="$(STAGE2_TFLAGS)"; \
  29919. $(RAW_CXX_TARGET_EXPORTS) \
  29920. \
  29921. cd $(TARGET_SUBDIR)/libsanitizer && \
  29922. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  29923. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  29924. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  29925. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  29926. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  29927. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  29928. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  29929. $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  29930. TFLAGS="$(STAGE2_TFLAGS)" \
  29931. $(TARGET-stage2-target-libsanitizer)
  29932. maybe-clean-stage2-target-libsanitizer: clean-stage2-target-libsanitizer
  29933. clean-stage2: clean-stage2-target-libsanitizer
  29934. clean-stage2-target-libsanitizer:
  29935. @if [ $(current_stage) = stage2 ]; then \
  29936. [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
  29937. else \
  29938. [ -f $(TARGET_SUBDIR)/stage2-libsanitizer/Makefile ] || exit 0; \
  29939. $(MAKE) stage2-start; \
  29940. fi; \
  29941. cd $(TARGET_SUBDIR)/libsanitizer && \
  29942. $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
  29943. @endif target-libsanitizer-bootstrap
  29944. .PHONY: all-stage3-target-libsanitizer maybe-all-stage3-target-libsanitizer
  29945. .PHONY: clean-stage3-target-libsanitizer maybe-clean-stage3-target-libsanitizer
  29946. maybe-all-stage3-target-libsanitizer:
  29947. maybe-clean-stage3-target-libsanitizer:
  29948. @if target-libsanitizer-bootstrap
  29949. maybe-all-stage3-target-libsanitizer: all-stage3-target-libsanitizer
  29950. all-stage3: all-stage3-target-libsanitizer
  29951. TARGET-stage3-target-libsanitizer = $(TARGET-target-libsanitizer)
  29952. all-stage3-target-libsanitizer: configure-stage3-target-libsanitizer
  29953. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  29954. @r=`${PWD_COMMAND}`; export r; \
  29955. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29956. TFLAGS="$(STAGE3_TFLAGS)"; \
  29957. $(RAW_CXX_TARGET_EXPORTS) \
  29958. \
  29959. cd $(TARGET_SUBDIR)/libsanitizer && \
  29960. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  29961. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  29962. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  29963. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  29964. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  29965. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  29966. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  29967. $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  29968. TFLAGS="$(STAGE3_TFLAGS)" \
  29969. $(TARGET-stage3-target-libsanitizer)
  29970. maybe-clean-stage3-target-libsanitizer: clean-stage3-target-libsanitizer
  29971. clean-stage3: clean-stage3-target-libsanitizer
  29972. clean-stage3-target-libsanitizer:
  29973. @if [ $(current_stage) = stage3 ]; then \
  29974. [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
  29975. else \
  29976. [ -f $(TARGET_SUBDIR)/stage3-libsanitizer/Makefile ] || exit 0; \
  29977. $(MAKE) stage3-start; \
  29978. fi; \
  29979. cd $(TARGET_SUBDIR)/libsanitizer && \
  29980. $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
  29981. @endif target-libsanitizer-bootstrap
  29982. .PHONY: all-stage4-target-libsanitizer maybe-all-stage4-target-libsanitizer
  29983. .PHONY: clean-stage4-target-libsanitizer maybe-clean-stage4-target-libsanitizer
  29984. maybe-all-stage4-target-libsanitizer:
  29985. maybe-clean-stage4-target-libsanitizer:
  29986. @if target-libsanitizer-bootstrap
  29987. maybe-all-stage4-target-libsanitizer: all-stage4-target-libsanitizer
  29988. all-stage4: all-stage4-target-libsanitizer
  29989. TARGET-stage4-target-libsanitizer = $(TARGET-target-libsanitizer)
  29990. all-stage4-target-libsanitizer: configure-stage4-target-libsanitizer
  29991. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  29992. @r=`${PWD_COMMAND}`; export r; \
  29993. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  29994. TFLAGS="$(STAGE4_TFLAGS)"; \
  29995. $(RAW_CXX_TARGET_EXPORTS) \
  29996. \
  29997. cd $(TARGET_SUBDIR)/libsanitizer && \
  29998. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  29999. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  30000. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  30001. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  30002. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  30003. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  30004. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  30005. $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  30006. TFLAGS="$(STAGE4_TFLAGS)" \
  30007. $(TARGET-stage4-target-libsanitizer)
  30008. maybe-clean-stage4-target-libsanitizer: clean-stage4-target-libsanitizer
  30009. clean-stage4: clean-stage4-target-libsanitizer
  30010. clean-stage4-target-libsanitizer:
  30011. @if [ $(current_stage) = stage4 ]; then \
  30012. [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
  30013. else \
  30014. [ -f $(TARGET_SUBDIR)/stage4-libsanitizer/Makefile ] || exit 0; \
  30015. $(MAKE) stage4-start; \
  30016. fi; \
  30017. cd $(TARGET_SUBDIR)/libsanitizer && \
  30018. $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
  30019. @endif target-libsanitizer-bootstrap
  30020. .PHONY: all-stageprofile-target-libsanitizer maybe-all-stageprofile-target-libsanitizer
  30021. .PHONY: clean-stageprofile-target-libsanitizer maybe-clean-stageprofile-target-libsanitizer
  30022. maybe-all-stageprofile-target-libsanitizer:
  30023. maybe-clean-stageprofile-target-libsanitizer:
  30024. @if target-libsanitizer-bootstrap
  30025. maybe-all-stageprofile-target-libsanitizer: all-stageprofile-target-libsanitizer
  30026. all-stageprofile: all-stageprofile-target-libsanitizer
  30027. TARGET-stageprofile-target-libsanitizer = $(TARGET-target-libsanitizer)
  30028. all-stageprofile-target-libsanitizer: configure-stageprofile-target-libsanitizer
  30029. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  30030. @r=`${PWD_COMMAND}`; export r; \
  30031. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30032. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  30033. $(RAW_CXX_TARGET_EXPORTS) \
  30034. \
  30035. cd $(TARGET_SUBDIR)/libsanitizer && \
  30036. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  30037. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  30038. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  30039. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  30040. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  30041. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  30042. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  30043. $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  30044. TFLAGS="$(STAGEprofile_TFLAGS)" \
  30045. $(TARGET-stageprofile-target-libsanitizer)
  30046. maybe-clean-stageprofile-target-libsanitizer: clean-stageprofile-target-libsanitizer
  30047. clean-stageprofile: clean-stageprofile-target-libsanitizer
  30048. clean-stageprofile-target-libsanitizer:
  30049. @if [ $(current_stage) = stageprofile ]; then \
  30050. [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
  30051. else \
  30052. [ -f $(TARGET_SUBDIR)/stageprofile-libsanitizer/Makefile ] || exit 0; \
  30053. $(MAKE) stageprofile-start; \
  30054. fi; \
  30055. cd $(TARGET_SUBDIR)/libsanitizer && \
  30056. $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
  30057. @endif target-libsanitizer-bootstrap
  30058. .PHONY: all-stagefeedback-target-libsanitizer maybe-all-stagefeedback-target-libsanitizer
  30059. .PHONY: clean-stagefeedback-target-libsanitizer maybe-clean-stagefeedback-target-libsanitizer
  30060. maybe-all-stagefeedback-target-libsanitizer:
  30061. maybe-clean-stagefeedback-target-libsanitizer:
  30062. @if target-libsanitizer-bootstrap
  30063. maybe-all-stagefeedback-target-libsanitizer: all-stagefeedback-target-libsanitizer
  30064. all-stagefeedback: all-stagefeedback-target-libsanitizer
  30065. TARGET-stagefeedback-target-libsanitizer = $(TARGET-target-libsanitizer)
  30066. all-stagefeedback-target-libsanitizer: configure-stagefeedback-target-libsanitizer
  30067. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  30068. @r=`${PWD_COMMAND}`; export r; \
  30069. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30070. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  30071. $(RAW_CXX_TARGET_EXPORTS) \
  30072. \
  30073. cd $(TARGET_SUBDIR)/libsanitizer && \
  30074. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  30075. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  30076. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  30077. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  30078. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  30079. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  30080. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  30081. $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  30082. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  30083. $(TARGET-stagefeedback-target-libsanitizer)
  30084. maybe-clean-stagefeedback-target-libsanitizer: clean-stagefeedback-target-libsanitizer
  30085. clean-stagefeedback: clean-stagefeedback-target-libsanitizer
  30086. clean-stagefeedback-target-libsanitizer:
  30087. @if [ $(current_stage) = stagefeedback ]; then \
  30088. [ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0; \
  30089. else \
  30090. [ -f $(TARGET_SUBDIR)/stagefeedback-libsanitizer/Makefile ] || exit 0; \
  30091. $(MAKE) stagefeedback-start; \
  30092. fi; \
  30093. cd $(TARGET_SUBDIR)/libsanitizer && \
  30094. $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
  30095. @endif target-libsanitizer-bootstrap
  30096. .PHONY: check-target-libsanitizer maybe-check-target-libsanitizer
  30097. maybe-check-target-libsanitizer:
  30098. @if target-libsanitizer
  30099. maybe-check-target-libsanitizer: check-target-libsanitizer
  30100. check-target-libsanitizer:
  30101. @: $(MAKE); $(unstage)
  30102. @r=`${PWD_COMMAND}`; export r; \
  30103. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30104. $(RAW_CXX_TARGET_EXPORTS) \
  30105. (cd $(TARGET_SUBDIR)/libsanitizer && \
  30106. $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
  30107. @endif target-libsanitizer
  30108. .PHONY: install-target-libsanitizer maybe-install-target-libsanitizer
  30109. maybe-install-target-libsanitizer:
  30110. @if target-libsanitizer
  30111. maybe-install-target-libsanitizer: install-target-libsanitizer
  30112. install-target-libsanitizer: installdirs
  30113. @: $(MAKE); $(unstage)
  30114. @r=`${PWD_COMMAND}`; export r; \
  30115. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30116. $(RAW_CXX_TARGET_EXPORTS) \
  30117. (cd $(TARGET_SUBDIR)/libsanitizer && \
  30118. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  30119. @endif target-libsanitizer
  30120. .PHONY: install-strip-target-libsanitizer maybe-install-strip-target-libsanitizer
  30121. maybe-install-strip-target-libsanitizer:
  30122. @if target-libsanitizer
  30123. maybe-install-strip-target-libsanitizer: install-strip-target-libsanitizer
  30124. install-strip-target-libsanitizer: installdirs
  30125. @: $(MAKE); $(unstage)
  30126. @r=`${PWD_COMMAND}`; export r; \
  30127. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30128. $(RAW_CXX_TARGET_EXPORTS) \
  30129. (cd $(TARGET_SUBDIR)/libsanitizer && \
  30130. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  30131. @endif target-libsanitizer
  30132. # Other targets (info, dvi, pdf, etc.)
  30133. .PHONY: maybe-info-target-libsanitizer info-target-libsanitizer
  30134. maybe-info-target-libsanitizer:
  30135. @if target-libsanitizer
  30136. maybe-info-target-libsanitizer: info-target-libsanitizer
  30137. info-target-libsanitizer: \
  30138. configure-target-libsanitizer
  30139. @: $(MAKE); $(unstage)
  30140. @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
  30141. r=`${PWD_COMMAND}`; export r; \
  30142. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30143. $(RAW_CXX_TARGET_EXPORTS) \
  30144. echo "Doing info in $(TARGET_SUBDIR)/libsanitizer" ; \
  30145. for flag in $(EXTRA_TARGET_FLAGS); do \
  30146. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  30147. done; \
  30148. (cd $(TARGET_SUBDIR)/libsanitizer && \
  30149. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  30150. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  30151. "RANLIB=$${RANLIB}" \
  30152. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  30153. info) \
  30154. || exit 1
  30155. @endif target-libsanitizer
  30156. .PHONY: maybe-dvi-target-libsanitizer dvi-target-libsanitizer
  30157. maybe-dvi-target-libsanitizer:
  30158. @if target-libsanitizer
  30159. maybe-dvi-target-libsanitizer: dvi-target-libsanitizer
  30160. dvi-target-libsanitizer: \
  30161. configure-target-libsanitizer
  30162. @: $(MAKE); $(unstage)
  30163. @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
  30164. r=`${PWD_COMMAND}`; export r; \
  30165. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30166. $(RAW_CXX_TARGET_EXPORTS) \
  30167. echo "Doing dvi in $(TARGET_SUBDIR)/libsanitizer" ; \
  30168. for flag in $(EXTRA_TARGET_FLAGS); do \
  30169. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  30170. done; \
  30171. (cd $(TARGET_SUBDIR)/libsanitizer && \
  30172. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  30173. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  30174. "RANLIB=$${RANLIB}" \
  30175. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  30176. dvi) \
  30177. || exit 1
  30178. @endif target-libsanitizer
  30179. .PHONY: maybe-pdf-target-libsanitizer pdf-target-libsanitizer
  30180. maybe-pdf-target-libsanitizer:
  30181. @if target-libsanitizer
  30182. maybe-pdf-target-libsanitizer: pdf-target-libsanitizer
  30183. pdf-target-libsanitizer: \
  30184. configure-target-libsanitizer
  30185. @: $(MAKE); $(unstage)
  30186. @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
  30187. r=`${PWD_COMMAND}`; export r; \
  30188. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30189. $(RAW_CXX_TARGET_EXPORTS) \
  30190. echo "Doing pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
  30191. for flag in $(EXTRA_TARGET_FLAGS); do \
  30192. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  30193. done; \
  30194. (cd $(TARGET_SUBDIR)/libsanitizer && \
  30195. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  30196. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  30197. "RANLIB=$${RANLIB}" \
  30198. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  30199. pdf) \
  30200. || exit 1
  30201. @endif target-libsanitizer
  30202. .PHONY: maybe-html-target-libsanitizer html-target-libsanitizer
  30203. maybe-html-target-libsanitizer:
  30204. @if target-libsanitizer
  30205. maybe-html-target-libsanitizer: html-target-libsanitizer
  30206. html-target-libsanitizer: \
  30207. configure-target-libsanitizer
  30208. @: $(MAKE); $(unstage)
  30209. @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
  30210. r=`${PWD_COMMAND}`; export r; \
  30211. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30212. $(RAW_CXX_TARGET_EXPORTS) \
  30213. echo "Doing html in $(TARGET_SUBDIR)/libsanitizer" ; \
  30214. for flag in $(EXTRA_TARGET_FLAGS); do \
  30215. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  30216. done; \
  30217. (cd $(TARGET_SUBDIR)/libsanitizer && \
  30218. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  30219. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  30220. "RANLIB=$${RANLIB}" \
  30221. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  30222. html) \
  30223. || exit 1
  30224. @endif target-libsanitizer
  30225. .PHONY: maybe-TAGS-target-libsanitizer TAGS-target-libsanitizer
  30226. maybe-TAGS-target-libsanitizer:
  30227. @if target-libsanitizer
  30228. maybe-TAGS-target-libsanitizer: TAGS-target-libsanitizer
  30229. TAGS-target-libsanitizer: \
  30230. configure-target-libsanitizer
  30231. @: $(MAKE); $(unstage)
  30232. @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
  30233. r=`${PWD_COMMAND}`; export r; \
  30234. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30235. $(RAW_CXX_TARGET_EXPORTS) \
  30236. echo "Doing TAGS in $(TARGET_SUBDIR)/libsanitizer" ; \
  30237. for flag in $(EXTRA_TARGET_FLAGS); do \
  30238. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  30239. done; \
  30240. (cd $(TARGET_SUBDIR)/libsanitizer && \
  30241. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  30242. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  30243. "RANLIB=$${RANLIB}" \
  30244. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  30245. TAGS) \
  30246. || exit 1
  30247. @endif target-libsanitizer
  30248. .PHONY: maybe-install-info-target-libsanitizer install-info-target-libsanitizer
  30249. maybe-install-info-target-libsanitizer:
  30250. @if target-libsanitizer
  30251. maybe-install-info-target-libsanitizer: install-info-target-libsanitizer
  30252. install-info-target-libsanitizer: \
  30253. configure-target-libsanitizer \
  30254. info-target-libsanitizer
  30255. @: $(MAKE); $(unstage)
  30256. @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
  30257. r=`${PWD_COMMAND}`; export r; \
  30258. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30259. $(RAW_CXX_TARGET_EXPORTS) \
  30260. echo "Doing install-info in $(TARGET_SUBDIR)/libsanitizer" ; \
  30261. for flag in $(EXTRA_TARGET_FLAGS); do \
  30262. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  30263. done; \
  30264. (cd $(TARGET_SUBDIR)/libsanitizer && \
  30265. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  30266. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  30267. "RANLIB=$${RANLIB}" \
  30268. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  30269. install-info) \
  30270. || exit 1
  30271. @endif target-libsanitizer
  30272. .PHONY: maybe-install-pdf-target-libsanitizer install-pdf-target-libsanitizer
  30273. maybe-install-pdf-target-libsanitizer:
  30274. @if target-libsanitizer
  30275. maybe-install-pdf-target-libsanitizer: install-pdf-target-libsanitizer
  30276. install-pdf-target-libsanitizer: \
  30277. configure-target-libsanitizer \
  30278. pdf-target-libsanitizer
  30279. @: $(MAKE); $(unstage)
  30280. @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
  30281. r=`${PWD_COMMAND}`; export r; \
  30282. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30283. $(RAW_CXX_TARGET_EXPORTS) \
  30284. echo "Doing install-pdf in $(TARGET_SUBDIR)/libsanitizer" ; \
  30285. for flag in $(EXTRA_TARGET_FLAGS); do \
  30286. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  30287. done; \
  30288. (cd $(TARGET_SUBDIR)/libsanitizer && \
  30289. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  30290. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  30291. "RANLIB=$${RANLIB}" \
  30292. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  30293. install-pdf) \
  30294. || exit 1
  30295. @endif target-libsanitizer
  30296. .PHONY: maybe-install-html-target-libsanitizer install-html-target-libsanitizer
  30297. maybe-install-html-target-libsanitizer:
  30298. @if target-libsanitizer
  30299. maybe-install-html-target-libsanitizer: install-html-target-libsanitizer
  30300. install-html-target-libsanitizer: \
  30301. configure-target-libsanitizer \
  30302. html-target-libsanitizer
  30303. @: $(MAKE); $(unstage)
  30304. @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
  30305. r=`${PWD_COMMAND}`; export r; \
  30306. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30307. $(RAW_CXX_TARGET_EXPORTS) \
  30308. echo "Doing install-html in $(TARGET_SUBDIR)/libsanitizer" ; \
  30309. for flag in $(EXTRA_TARGET_FLAGS); do \
  30310. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  30311. done; \
  30312. (cd $(TARGET_SUBDIR)/libsanitizer && \
  30313. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  30314. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  30315. "RANLIB=$${RANLIB}" \
  30316. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  30317. install-html) \
  30318. || exit 1
  30319. @endif target-libsanitizer
  30320. .PHONY: maybe-installcheck-target-libsanitizer installcheck-target-libsanitizer
  30321. maybe-installcheck-target-libsanitizer:
  30322. @if target-libsanitizer
  30323. maybe-installcheck-target-libsanitizer: installcheck-target-libsanitizer
  30324. installcheck-target-libsanitizer: \
  30325. configure-target-libsanitizer
  30326. @: $(MAKE); $(unstage)
  30327. @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
  30328. r=`${PWD_COMMAND}`; export r; \
  30329. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30330. $(RAW_CXX_TARGET_EXPORTS) \
  30331. echo "Doing installcheck in $(TARGET_SUBDIR)/libsanitizer" ; \
  30332. for flag in $(EXTRA_TARGET_FLAGS); do \
  30333. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  30334. done; \
  30335. (cd $(TARGET_SUBDIR)/libsanitizer && \
  30336. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  30337. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  30338. "RANLIB=$${RANLIB}" \
  30339. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  30340. installcheck) \
  30341. || exit 1
  30342. @endif target-libsanitizer
  30343. .PHONY: maybe-mostlyclean-target-libsanitizer mostlyclean-target-libsanitizer
  30344. maybe-mostlyclean-target-libsanitizer:
  30345. @if target-libsanitizer
  30346. maybe-mostlyclean-target-libsanitizer: mostlyclean-target-libsanitizer
  30347. mostlyclean-target-libsanitizer:
  30348. @: $(MAKE); $(unstage)
  30349. @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
  30350. r=`${PWD_COMMAND}`; export r; \
  30351. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30352. $(RAW_CXX_TARGET_EXPORTS) \
  30353. echo "Doing mostlyclean in $(TARGET_SUBDIR)/libsanitizer" ; \
  30354. for flag in $(EXTRA_TARGET_FLAGS); do \
  30355. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  30356. done; \
  30357. (cd $(TARGET_SUBDIR)/libsanitizer && \
  30358. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  30359. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  30360. "RANLIB=$${RANLIB}" \
  30361. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  30362. mostlyclean) \
  30363. || exit 1
  30364. @endif target-libsanitizer
  30365. .PHONY: maybe-clean-target-libsanitizer clean-target-libsanitizer
  30366. maybe-clean-target-libsanitizer:
  30367. @if target-libsanitizer
  30368. maybe-clean-target-libsanitizer: clean-target-libsanitizer
  30369. clean-target-libsanitizer:
  30370. @: $(MAKE); $(unstage)
  30371. @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
  30372. r=`${PWD_COMMAND}`; export r; \
  30373. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30374. $(RAW_CXX_TARGET_EXPORTS) \
  30375. echo "Doing clean in $(TARGET_SUBDIR)/libsanitizer" ; \
  30376. for flag in $(EXTRA_TARGET_FLAGS); do \
  30377. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  30378. done; \
  30379. (cd $(TARGET_SUBDIR)/libsanitizer && \
  30380. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  30381. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  30382. "RANLIB=$${RANLIB}" \
  30383. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  30384. clean) \
  30385. || exit 1
  30386. @endif target-libsanitizer
  30387. .PHONY: maybe-distclean-target-libsanitizer distclean-target-libsanitizer
  30388. maybe-distclean-target-libsanitizer:
  30389. @if target-libsanitizer
  30390. maybe-distclean-target-libsanitizer: distclean-target-libsanitizer
  30391. distclean-target-libsanitizer:
  30392. @: $(MAKE); $(unstage)
  30393. @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
  30394. r=`${PWD_COMMAND}`; export r; \
  30395. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30396. $(RAW_CXX_TARGET_EXPORTS) \
  30397. echo "Doing distclean in $(TARGET_SUBDIR)/libsanitizer" ; \
  30398. for flag in $(EXTRA_TARGET_FLAGS); do \
  30399. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  30400. done; \
  30401. (cd $(TARGET_SUBDIR)/libsanitizer && \
  30402. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  30403. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  30404. "RANLIB=$${RANLIB}" \
  30405. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  30406. distclean) \
  30407. || exit 1
  30408. @endif target-libsanitizer
  30409. .PHONY: maybe-maintainer-clean-target-libsanitizer maintainer-clean-target-libsanitizer
  30410. maybe-maintainer-clean-target-libsanitizer:
  30411. @if target-libsanitizer
  30412. maybe-maintainer-clean-target-libsanitizer: maintainer-clean-target-libsanitizer
  30413. maintainer-clean-target-libsanitizer:
  30414. @: $(MAKE); $(unstage)
  30415. @[ -f $(TARGET_SUBDIR)/libsanitizer/Makefile ] || exit 0 ; \
  30416. r=`${PWD_COMMAND}`; export r; \
  30417. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30418. $(RAW_CXX_TARGET_EXPORTS) \
  30419. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libsanitizer" ; \
  30420. for flag in $(EXTRA_TARGET_FLAGS); do \
  30421. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  30422. done; \
  30423. (cd $(TARGET_SUBDIR)/libsanitizer && \
  30424. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  30425. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  30426. "RANLIB=$${RANLIB}" \
  30427. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  30428. maintainer-clean) \
  30429. || exit 1
  30430. @endif target-libsanitizer
  30431. .PHONY: configure-target-libmpx maybe-configure-target-libmpx
  30432. maybe-configure-target-libmpx:
  30433. @if gcc-bootstrap
  30434. configure-target-libmpx: stage_current
  30435. @endif gcc-bootstrap
  30436. @if target-libmpx
  30437. maybe-configure-target-libmpx: configure-target-libmpx
  30438. configure-target-libmpx:
  30439. @r=`${PWD_COMMAND}`; export r; \
  30440. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30441. echo "Checking multilib configuration for libmpx..."; \
  30442. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx ; \
  30443. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null ; \
  30444. if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
  30445. if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
  30446. rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
  30447. else \
  30448. rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
  30449. mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
  30450. fi; \
  30451. else \
  30452. mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
  30453. fi; \
  30454. test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
  30455. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx ; \
  30456. $(NORMAL_TARGET_EXPORTS) \
  30457. echo Configuring in $(TARGET_SUBDIR)/libmpx; \
  30458. cd "$(TARGET_SUBDIR)/libmpx" || exit 1; \
  30459. case $(srcdir) in \
  30460. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  30461. *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
  30462. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  30463. esac; \
  30464. module_srcdir=libmpx; \
  30465. rm -f no-such-file || : ; \
  30466. CONFIG_SITE=no-such-file $(SHELL) \
  30467. $$s/$$module_srcdir/configure \
  30468. --srcdir=$${topdir}/$$module_srcdir \
  30469. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  30470. --target=${target_alias} \
  30471. || exit 1
  30472. @endif target-libmpx
  30473. .PHONY: configure-stage1-target-libmpx maybe-configure-stage1-target-libmpx
  30474. maybe-configure-stage1-target-libmpx:
  30475. @if target-libmpx-bootstrap
  30476. maybe-configure-stage1-target-libmpx: configure-stage1-target-libmpx
  30477. configure-stage1-target-libmpx:
  30478. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  30479. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
  30480. @r=`${PWD_COMMAND}`; export r; \
  30481. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30482. TFLAGS="$(STAGE1_TFLAGS)"; \
  30483. echo "Checking multilib configuration for libmpx..."; \
  30484. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null ; \
  30485. if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
  30486. if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
  30487. rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
  30488. else \
  30489. rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
  30490. mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
  30491. fi; \
  30492. else \
  30493. mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
  30494. fi; \
  30495. test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
  30496. $(NORMAL_TARGET_EXPORTS) \
  30497. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  30498. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  30499. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  30500. echo Configuring stage 1 in $(TARGET_SUBDIR)/libmpx ; \
  30501. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx ; \
  30502. cd $(TARGET_SUBDIR)/libmpx || exit 1; \
  30503. case $(srcdir) in \
  30504. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  30505. *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
  30506. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  30507. esac; \
  30508. module_srcdir=libmpx; \
  30509. $(SHELL) $$s/$$module_srcdir/configure \
  30510. --srcdir=$${topdir}/$$module_srcdir \
  30511. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  30512. --target=${target_alias} \
  30513. \
  30514. $(STAGE1_CONFIGURE_FLAGS)
  30515. @endif target-libmpx-bootstrap
  30516. .PHONY: configure-stage2-target-libmpx maybe-configure-stage2-target-libmpx
  30517. maybe-configure-stage2-target-libmpx:
  30518. @if target-libmpx-bootstrap
  30519. maybe-configure-stage2-target-libmpx: configure-stage2-target-libmpx
  30520. configure-stage2-target-libmpx:
  30521. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  30522. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
  30523. @r=`${PWD_COMMAND}`; export r; \
  30524. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30525. TFLAGS="$(STAGE2_TFLAGS)"; \
  30526. echo "Checking multilib configuration for libmpx..."; \
  30527. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null ; \
  30528. if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
  30529. if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
  30530. rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
  30531. else \
  30532. rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
  30533. mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
  30534. fi; \
  30535. else \
  30536. mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
  30537. fi; \
  30538. test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
  30539. $(NORMAL_TARGET_EXPORTS) \
  30540. \
  30541. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  30542. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  30543. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  30544. echo Configuring stage 2 in $(TARGET_SUBDIR)/libmpx ; \
  30545. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx ; \
  30546. cd $(TARGET_SUBDIR)/libmpx || exit 1; \
  30547. case $(srcdir) in \
  30548. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  30549. *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
  30550. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  30551. esac; \
  30552. module_srcdir=libmpx; \
  30553. $(SHELL) $$s/$$module_srcdir/configure \
  30554. --srcdir=$${topdir}/$$module_srcdir \
  30555. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  30556. --target=${target_alias} \
  30557. --with-build-libsubdir=$(HOST_SUBDIR) \
  30558. $(STAGE2_CONFIGURE_FLAGS)
  30559. @endif target-libmpx-bootstrap
  30560. .PHONY: configure-stage3-target-libmpx maybe-configure-stage3-target-libmpx
  30561. maybe-configure-stage3-target-libmpx:
  30562. @if target-libmpx-bootstrap
  30563. maybe-configure-stage3-target-libmpx: configure-stage3-target-libmpx
  30564. configure-stage3-target-libmpx:
  30565. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  30566. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
  30567. @r=`${PWD_COMMAND}`; export r; \
  30568. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30569. TFLAGS="$(STAGE3_TFLAGS)"; \
  30570. echo "Checking multilib configuration for libmpx..."; \
  30571. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null ; \
  30572. if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
  30573. if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
  30574. rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
  30575. else \
  30576. rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
  30577. mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
  30578. fi; \
  30579. else \
  30580. mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
  30581. fi; \
  30582. test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
  30583. $(NORMAL_TARGET_EXPORTS) \
  30584. \
  30585. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  30586. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  30587. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  30588. echo Configuring stage 3 in $(TARGET_SUBDIR)/libmpx ; \
  30589. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx ; \
  30590. cd $(TARGET_SUBDIR)/libmpx || exit 1; \
  30591. case $(srcdir) in \
  30592. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  30593. *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
  30594. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  30595. esac; \
  30596. module_srcdir=libmpx; \
  30597. $(SHELL) $$s/$$module_srcdir/configure \
  30598. --srcdir=$${topdir}/$$module_srcdir \
  30599. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  30600. --target=${target_alias} \
  30601. --with-build-libsubdir=$(HOST_SUBDIR) \
  30602. $(STAGE3_CONFIGURE_FLAGS)
  30603. @endif target-libmpx-bootstrap
  30604. .PHONY: configure-stage4-target-libmpx maybe-configure-stage4-target-libmpx
  30605. maybe-configure-stage4-target-libmpx:
  30606. @if target-libmpx-bootstrap
  30607. maybe-configure-stage4-target-libmpx: configure-stage4-target-libmpx
  30608. configure-stage4-target-libmpx:
  30609. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  30610. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
  30611. @r=`${PWD_COMMAND}`; export r; \
  30612. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30613. TFLAGS="$(STAGE4_TFLAGS)"; \
  30614. echo "Checking multilib configuration for libmpx..."; \
  30615. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null ; \
  30616. if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
  30617. if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
  30618. rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
  30619. else \
  30620. rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
  30621. mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
  30622. fi; \
  30623. else \
  30624. mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
  30625. fi; \
  30626. test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
  30627. $(NORMAL_TARGET_EXPORTS) \
  30628. \
  30629. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  30630. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  30631. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  30632. echo Configuring stage 4 in $(TARGET_SUBDIR)/libmpx ; \
  30633. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx ; \
  30634. cd $(TARGET_SUBDIR)/libmpx || exit 1; \
  30635. case $(srcdir) in \
  30636. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  30637. *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
  30638. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  30639. esac; \
  30640. module_srcdir=libmpx; \
  30641. $(SHELL) $$s/$$module_srcdir/configure \
  30642. --srcdir=$${topdir}/$$module_srcdir \
  30643. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  30644. --target=${target_alias} \
  30645. --with-build-libsubdir=$(HOST_SUBDIR) \
  30646. $(STAGE4_CONFIGURE_FLAGS)
  30647. @endif target-libmpx-bootstrap
  30648. .PHONY: configure-stageprofile-target-libmpx maybe-configure-stageprofile-target-libmpx
  30649. maybe-configure-stageprofile-target-libmpx:
  30650. @if target-libmpx-bootstrap
  30651. maybe-configure-stageprofile-target-libmpx: configure-stageprofile-target-libmpx
  30652. configure-stageprofile-target-libmpx:
  30653. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  30654. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
  30655. @r=`${PWD_COMMAND}`; export r; \
  30656. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30657. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  30658. echo "Checking multilib configuration for libmpx..."; \
  30659. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null ; \
  30660. if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
  30661. if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
  30662. rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
  30663. else \
  30664. rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
  30665. mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
  30666. fi; \
  30667. else \
  30668. mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
  30669. fi; \
  30670. test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
  30671. $(NORMAL_TARGET_EXPORTS) \
  30672. \
  30673. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  30674. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  30675. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  30676. echo Configuring stage profile in $(TARGET_SUBDIR)/libmpx ; \
  30677. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx ; \
  30678. cd $(TARGET_SUBDIR)/libmpx || exit 1; \
  30679. case $(srcdir) in \
  30680. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  30681. *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
  30682. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  30683. esac; \
  30684. module_srcdir=libmpx; \
  30685. $(SHELL) $$s/$$module_srcdir/configure \
  30686. --srcdir=$${topdir}/$$module_srcdir \
  30687. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  30688. --target=${target_alias} \
  30689. --with-build-libsubdir=$(HOST_SUBDIR) \
  30690. $(STAGEprofile_CONFIGURE_FLAGS)
  30691. @endif target-libmpx-bootstrap
  30692. .PHONY: configure-stagefeedback-target-libmpx maybe-configure-stagefeedback-target-libmpx
  30693. maybe-configure-stagefeedback-target-libmpx:
  30694. @if target-libmpx-bootstrap
  30695. maybe-configure-stagefeedback-target-libmpx: configure-stagefeedback-target-libmpx
  30696. configure-stagefeedback-target-libmpx:
  30697. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  30698. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx
  30699. @r=`${PWD_COMMAND}`; export r; \
  30700. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30701. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  30702. echo "Checking multilib configuration for libmpx..."; \
  30703. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libmpx/multilib.tmp 2> /dev/null ; \
  30704. if test -r $(TARGET_SUBDIR)/libmpx/multilib.out; then \
  30705. if cmp -s $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; then \
  30706. rm -f $(TARGET_SUBDIR)/libmpx/multilib.tmp; \
  30707. else \
  30708. rm -f $(TARGET_SUBDIR)/libmpx/Makefile; \
  30709. mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
  30710. fi; \
  30711. else \
  30712. mv $(TARGET_SUBDIR)/libmpx/multilib.tmp $(TARGET_SUBDIR)/libmpx/multilib.out; \
  30713. fi; \
  30714. test ! -f $(TARGET_SUBDIR)/libmpx/Makefile || exit 0; \
  30715. $(NORMAL_TARGET_EXPORTS) \
  30716. \
  30717. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  30718. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  30719. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  30720. echo Configuring stage feedback in $(TARGET_SUBDIR)/libmpx ; \
  30721. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmpx ; \
  30722. cd $(TARGET_SUBDIR)/libmpx || exit 1; \
  30723. case $(srcdir) in \
  30724. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  30725. *) topdir=`echo $(TARGET_SUBDIR)/libmpx/ | \
  30726. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  30727. esac; \
  30728. module_srcdir=libmpx; \
  30729. $(SHELL) $$s/$$module_srcdir/configure \
  30730. --srcdir=$${topdir}/$$module_srcdir \
  30731. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  30732. --target=${target_alias} \
  30733. --with-build-libsubdir=$(HOST_SUBDIR) \
  30734. $(STAGEfeedback_CONFIGURE_FLAGS)
  30735. @endif target-libmpx-bootstrap
  30736. .PHONY: all-target-libmpx maybe-all-target-libmpx
  30737. maybe-all-target-libmpx:
  30738. @if gcc-bootstrap
  30739. all-target-libmpx: stage_current
  30740. @endif gcc-bootstrap
  30741. @if target-libmpx
  30742. TARGET-target-libmpx=all
  30743. maybe-all-target-libmpx: all-target-libmpx
  30744. all-target-libmpx: configure-target-libmpx
  30745. @r=`${PWD_COMMAND}`; export r; \
  30746. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30747. $(NORMAL_TARGET_EXPORTS) \
  30748. (cd $(TARGET_SUBDIR)/libmpx && \
  30749. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  30750. $(TARGET-target-libmpx))
  30751. @endif target-libmpx
  30752. .PHONY: all-stage1-target-libmpx maybe-all-stage1-target-libmpx
  30753. .PHONY: clean-stage1-target-libmpx maybe-clean-stage1-target-libmpx
  30754. maybe-all-stage1-target-libmpx:
  30755. maybe-clean-stage1-target-libmpx:
  30756. @if target-libmpx-bootstrap
  30757. maybe-all-stage1-target-libmpx: all-stage1-target-libmpx
  30758. all-stage1: all-stage1-target-libmpx
  30759. TARGET-stage1-target-libmpx = $(TARGET-target-libmpx)
  30760. all-stage1-target-libmpx: configure-stage1-target-libmpx
  30761. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  30762. @r=`${PWD_COMMAND}`; export r; \
  30763. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30764. TFLAGS="$(STAGE1_TFLAGS)"; \
  30765. $(NORMAL_TARGET_EXPORTS) \
  30766. cd $(TARGET_SUBDIR)/libmpx && \
  30767. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  30768. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  30769. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  30770. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  30771. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  30772. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  30773. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  30774. $(EXTRA_TARGET_FLAGS) \
  30775. \
  30776. TFLAGS="$(STAGE1_TFLAGS)" \
  30777. $(TARGET-stage1-target-libmpx)
  30778. maybe-clean-stage1-target-libmpx: clean-stage1-target-libmpx
  30779. clean-stage1: clean-stage1-target-libmpx
  30780. clean-stage1-target-libmpx:
  30781. @if [ $(current_stage) = stage1 ]; then \
  30782. [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
  30783. else \
  30784. [ -f $(TARGET_SUBDIR)/stage1-libmpx/Makefile ] || exit 0; \
  30785. $(MAKE) stage1-start; \
  30786. fi; \
  30787. cd $(TARGET_SUBDIR)/libmpx && \
  30788. $(MAKE) $(EXTRA_TARGET_FLAGS) \
  30789. clean
  30790. @endif target-libmpx-bootstrap
  30791. .PHONY: all-stage2-target-libmpx maybe-all-stage2-target-libmpx
  30792. .PHONY: clean-stage2-target-libmpx maybe-clean-stage2-target-libmpx
  30793. maybe-all-stage2-target-libmpx:
  30794. maybe-clean-stage2-target-libmpx:
  30795. @if target-libmpx-bootstrap
  30796. maybe-all-stage2-target-libmpx: all-stage2-target-libmpx
  30797. all-stage2: all-stage2-target-libmpx
  30798. TARGET-stage2-target-libmpx = $(TARGET-target-libmpx)
  30799. all-stage2-target-libmpx: configure-stage2-target-libmpx
  30800. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  30801. @r=`${PWD_COMMAND}`; export r; \
  30802. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30803. TFLAGS="$(STAGE2_TFLAGS)"; \
  30804. $(NORMAL_TARGET_EXPORTS) \
  30805. \
  30806. cd $(TARGET_SUBDIR)/libmpx && \
  30807. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  30808. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  30809. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  30810. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  30811. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  30812. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  30813. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  30814. $(EXTRA_TARGET_FLAGS) \
  30815. TFLAGS="$(STAGE2_TFLAGS)" \
  30816. $(TARGET-stage2-target-libmpx)
  30817. maybe-clean-stage2-target-libmpx: clean-stage2-target-libmpx
  30818. clean-stage2: clean-stage2-target-libmpx
  30819. clean-stage2-target-libmpx:
  30820. @if [ $(current_stage) = stage2 ]; then \
  30821. [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
  30822. else \
  30823. [ -f $(TARGET_SUBDIR)/stage2-libmpx/Makefile ] || exit 0; \
  30824. $(MAKE) stage2-start; \
  30825. fi; \
  30826. cd $(TARGET_SUBDIR)/libmpx && \
  30827. $(MAKE) $(EXTRA_TARGET_FLAGS) clean
  30828. @endif target-libmpx-bootstrap
  30829. .PHONY: all-stage3-target-libmpx maybe-all-stage3-target-libmpx
  30830. .PHONY: clean-stage3-target-libmpx maybe-clean-stage3-target-libmpx
  30831. maybe-all-stage3-target-libmpx:
  30832. maybe-clean-stage3-target-libmpx:
  30833. @if target-libmpx-bootstrap
  30834. maybe-all-stage3-target-libmpx: all-stage3-target-libmpx
  30835. all-stage3: all-stage3-target-libmpx
  30836. TARGET-stage3-target-libmpx = $(TARGET-target-libmpx)
  30837. all-stage3-target-libmpx: configure-stage3-target-libmpx
  30838. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  30839. @r=`${PWD_COMMAND}`; export r; \
  30840. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30841. TFLAGS="$(STAGE3_TFLAGS)"; \
  30842. $(NORMAL_TARGET_EXPORTS) \
  30843. \
  30844. cd $(TARGET_SUBDIR)/libmpx && \
  30845. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  30846. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  30847. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  30848. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  30849. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  30850. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  30851. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  30852. $(EXTRA_TARGET_FLAGS) \
  30853. TFLAGS="$(STAGE3_TFLAGS)" \
  30854. $(TARGET-stage3-target-libmpx)
  30855. maybe-clean-stage3-target-libmpx: clean-stage3-target-libmpx
  30856. clean-stage3: clean-stage3-target-libmpx
  30857. clean-stage3-target-libmpx:
  30858. @if [ $(current_stage) = stage3 ]; then \
  30859. [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
  30860. else \
  30861. [ -f $(TARGET_SUBDIR)/stage3-libmpx/Makefile ] || exit 0; \
  30862. $(MAKE) stage3-start; \
  30863. fi; \
  30864. cd $(TARGET_SUBDIR)/libmpx && \
  30865. $(MAKE) $(EXTRA_TARGET_FLAGS) clean
  30866. @endif target-libmpx-bootstrap
  30867. .PHONY: all-stage4-target-libmpx maybe-all-stage4-target-libmpx
  30868. .PHONY: clean-stage4-target-libmpx maybe-clean-stage4-target-libmpx
  30869. maybe-all-stage4-target-libmpx:
  30870. maybe-clean-stage4-target-libmpx:
  30871. @if target-libmpx-bootstrap
  30872. maybe-all-stage4-target-libmpx: all-stage4-target-libmpx
  30873. all-stage4: all-stage4-target-libmpx
  30874. TARGET-stage4-target-libmpx = $(TARGET-target-libmpx)
  30875. all-stage4-target-libmpx: configure-stage4-target-libmpx
  30876. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  30877. @r=`${PWD_COMMAND}`; export r; \
  30878. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30879. TFLAGS="$(STAGE4_TFLAGS)"; \
  30880. $(NORMAL_TARGET_EXPORTS) \
  30881. \
  30882. cd $(TARGET_SUBDIR)/libmpx && \
  30883. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  30884. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  30885. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  30886. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  30887. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  30888. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  30889. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  30890. $(EXTRA_TARGET_FLAGS) \
  30891. TFLAGS="$(STAGE4_TFLAGS)" \
  30892. $(TARGET-stage4-target-libmpx)
  30893. maybe-clean-stage4-target-libmpx: clean-stage4-target-libmpx
  30894. clean-stage4: clean-stage4-target-libmpx
  30895. clean-stage4-target-libmpx:
  30896. @if [ $(current_stage) = stage4 ]; then \
  30897. [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
  30898. else \
  30899. [ -f $(TARGET_SUBDIR)/stage4-libmpx/Makefile ] || exit 0; \
  30900. $(MAKE) stage4-start; \
  30901. fi; \
  30902. cd $(TARGET_SUBDIR)/libmpx && \
  30903. $(MAKE) $(EXTRA_TARGET_FLAGS) clean
  30904. @endif target-libmpx-bootstrap
  30905. .PHONY: all-stageprofile-target-libmpx maybe-all-stageprofile-target-libmpx
  30906. .PHONY: clean-stageprofile-target-libmpx maybe-clean-stageprofile-target-libmpx
  30907. maybe-all-stageprofile-target-libmpx:
  30908. maybe-clean-stageprofile-target-libmpx:
  30909. @if target-libmpx-bootstrap
  30910. maybe-all-stageprofile-target-libmpx: all-stageprofile-target-libmpx
  30911. all-stageprofile: all-stageprofile-target-libmpx
  30912. TARGET-stageprofile-target-libmpx = $(TARGET-target-libmpx)
  30913. all-stageprofile-target-libmpx: configure-stageprofile-target-libmpx
  30914. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  30915. @r=`${PWD_COMMAND}`; export r; \
  30916. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30917. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  30918. $(NORMAL_TARGET_EXPORTS) \
  30919. \
  30920. cd $(TARGET_SUBDIR)/libmpx && \
  30921. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  30922. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  30923. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  30924. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  30925. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  30926. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  30927. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  30928. $(EXTRA_TARGET_FLAGS) \
  30929. TFLAGS="$(STAGEprofile_TFLAGS)" \
  30930. $(TARGET-stageprofile-target-libmpx)
  30931. maybe-clean-stageprofile-target-libmpx: clean-stageprofile-target-libmpx
  30932. clean-stageprofile: clean-stageprofile-target-libmpx
  30933. clean-stageprofile-target-libmpx:
  30934. @if [ $(current_stage) = stageprofile ]; then \
  30935. [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
  30936. else \
  30937. [ -f $(TARGET_SUBDIR)/stageprofile-libmpx/Makefile ] || exit 0; \
  30938. $(MAKE) stageprofile-start; \
  30939. fi; \
  30940. cd $(TARGET_SUBDIR)/libmpx && \
  30941. $(MAKE) $(EXTRA_TARGET_FLAGS) clean
  30942. @endif target-libmpx-bootstrap
  30943. .PHONY: all-stagefeedback-target-libmpx maybe-all-stagefeedback-target-libmpx
  30944. .PHONY: clean-stagefeedback-target-libmpx maybe-clean-stagefeedback-target-libmpx
  30945. maybe-all-stagefeedback-target-libmpx:
  30946. maybe-clean-stagefeedback-target-libmpx:
  30947. @if target-libmpx-bootstrap
  30948. maybe-all-stagefeedback-target-libmpx: all-stagefeedback-target-libmpx
  30949. all-stagefeedback: all-stagefeedback-target-libmpx
  30950. TARGET-stagefeedback-target-libmpx = $(TARGET-target-libmpx)
  30951. all-stagefeedback-target-libmpx: configure-stagefeedback-target-libmpx
  30952. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  30953. @r=`${PWD_COMMAND}`; export r; \
  30954. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30955. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  30956. $(NORMAL_TARGET_EXPORTS) \
  30957. \
  30958. cd $(TARGET_SUBDIR)/libmpx && \
  30959. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  30960. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  30961. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  30962. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  30963. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  30964. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  30965. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  30966. $(EXTRA_TARGET_FLAGS) \
  30967. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  30968. $(TARGET-stagefeedback-target-libmpx)
  30969. maybe-clean-stagefeedback-target-libmpx: clean-stagefeedback-target-libmpx
  30970. clean-stagefeedback: clean-stagefeedback-target-libmpx
  30971. clean-stagefeedback-target-libmpx:
  30972. @if [ $(current_stage) = stagefeedback ]; then \
  30973. [ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0; \
  30974. else \
  30975. [ -f $(TARGET_SUBDIR)/stagefeedback-libmpx/Makefile ] || exit 0; \
  30976. $(MAKE) stagefeedback-start; \
  30977. fi; \
  30978. cd $(TARGET_SUBDIR)/libmpx && \
  30979. $(MAKE) $(EXTRA_TARGET_FLAGS) clean
  30980. @endif target-libmpx-bootstrap
  30981. .PHONY: check-target-libmpx maybe-check-target-libmpx
  30982. maybe-check-target-libmpx:
  30983. @if target-libmpx
  30984. maybe-check-target-libmpx: check-target-libmpx
  30985. check-target-libmpx:
  30986. @: $(MAKE); $(unstage)
  30987. @r=`${PWD_COMMAND}`; export r; \
  30988. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  30989. $(NORMAL_TARGET_EXPORTS) \
  30990. (cd $(TARGET_SUBDIR)/libmpx && \
  30991. $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
  30992. @endif target-libmpx
  30993. .PHONY: install-target-libmpx maybe-install-target-libmpx
  30994. maybe-install-target-libmpx:
  30995. @if target-libmpx
  30996. maybe-install-target-libmpx: install-target-libmpx
  30997. install-target-libmpx: installdirs
  30998. @: $(MAKE); $(unstage)
  30999. @r=`${PWD_COMMAND}`; export r; \
  31000. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31001. $(NORMAL_TARGET_EXPORTS) \
  31002. (cd $(TARGET_SUBDIR)/libmpx && \
  31003. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  31004. @endif target-libmpx
  31005. .PHONY: install-strip-target-libmpx maybe-install-strip-target-libmpx
  31006. maybe-install-strip-target-libmpx:
  31007. @if target-libmpx
  31008. maybe-install-strip-target-libmpx: install-strip-target-libmpx
  31009. install-strip-target-libmpx: installdirs
  31010. @: $(MAKE); $(unstage)
  31011. @r=`${PWD_COMMAND}`; export r; \
  31012. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31013. $(NORMAL_TARGET_EXPORTS) \
  31014. (cd $(TARGET_SUBDIR)/libmpx && \
  31015. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  31016. @endif target-libmpx
  31017. # Other targets (info, dvi, pdf, etc.)
  31018. .PHONY: maybe-info-target-libmpx info-target-libmpx
  31019. maybe-info-target-libmpx:
  31020. @if target-libmpx
  31021. maybe-info-target-libmpx: info-target-libmpx
  31022. info-target-libmpx: \
  31023. configure-target-libmpx
  31024. @: $(MAKE); $(unstage)
  31025. @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0 ; \
  31026. r=`${PWD_COMMAND}`; export r; \
  31027. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31028. $(NORMAL_TARGET_EXPORTS) \
  31029. echo "Doing info in $(TARGET_SUBDIR)/libmpx" ; \
  31030. for flag in $(EXTRA_TARGET_FLAGS); do \
  31031. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  31032. done; \
  31033. (cd $(TARGET_SUBDIR)/libmpx && \
  31034. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  31035. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  31036. "RANLIB=$${RANLIB}" \
  31037. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  31038. info) \
  31039. || exit 1
  31040. @endif target-libmpx
  31041. .PHONY: maybe-dvi-target-libmpx dvi-target-libmpx
  31042. maybe-dvi-target-libmpx:
  31043. @if target-libmpx
  31044. maybe-dvi-target-libmpx: dvi-target-libmpx
  31045. dvi-target-libmpx: \
  31046. configure-target-libmpx
  31047. @: $(MAKE); $(unstage)
  31048. @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0 ; \
  31049. r=`${PWD_COMMAND}`; export r; \
  31050. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31051. $(NORMAL_TARGET_EXPORTS) \
  31052. echo "Doing dvi in $(TARGET_SUBDIR)/libmpx" ; \
  31053. for flag in $(EXTRA_TARGET_FLAGS); do \
  31054. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  31055. done; \
  31056. (cd $(TARGET_SUBDIR)/libmpx && \
  31057. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  31058. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  31059. "RANLIB=$${RANLIB}" \
  31060. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  31061. dvi) \
  31062. || exit 1
  31063. @endif target-libmpx
  31064. .PHONY: maybe-pdf-target-libmpx pdf-target-libmpx
  31065. maybe-pdf-target-libmpx:
  31066. @if target-libmpx
  31067. maybe-pdf-target-libmpx: pdf-target-libmpx
  31068. pdf-target-libmpx: \
  31069. configure-target-libmpx
  31070. @: $(MAKE); $(unstage)
  31071. @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0 ; \
  31072. r=`${PWD_COMMAND}`; export r; \
  31073. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31074. $(NORMAL_TARGET_EXPORTS) \
  31075. echo "Doing pdf in $(TARGET_SUBDIR)/libmpx" ; \
  31076. for flag in $(EXTRA_TARGET_FLAGS); do \
  31077. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  31078. done; \
  31079. (cd $(TARGET_SUBDIR)/libmpx && \
  31080. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  31081. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  31082. "RANLIB=$${RANLIB}" \
  31083. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  31084. pdf) \
  31085. || exit 1
  31086. @endif target-libmpx
  31087. .PHONY: maybe-html-target-libmpx html-target-libmpx
  31088. maybe-html-target-libmpx:
  31089. @if target-libmpx
  31090. maybe-html-target-libmpx: html-target-libmpx
  31091. html-target-libmpx: \
  31092. configure-target-libmpx
  31093. @: $(MAKE); $(unstage)
  31094. @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0 ; \
  31095. r=`${PWD_COMMAND}`; export r; \
  31096. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31097. $(NORMAL_TARGET_EXPORTS) \
  31098. echo "Doing html in $(TARGET_SUBDIR)/libmpx" ; \
  31099. for flag in $(EXTRA_TARGET_FLAGS); do \
  31100. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  31101. done; \
  31102. (cd $(TARGET_SUBDIR)/libmpx && \
  31103. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  31104. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  31105. "RANLIB=$${RANLIB}" \
  31106. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  31107. html) \
  31108. || exit 1
  31109. @endif target-libmpx
  31110. .PHONY: maybe-TAGS-target-libmpx TAGS-target-libmpx
  31111. maybe-TAGS-target-libmpx:
  31112. @if target-libmpx
  31113. maybe-TAGS-target-libmpx: TAGS-target-libmpx
  31114. TAGS-target-libmpx: \
  31115. configure-target-libmpx
  31116. @: $(MAKE); $(unstage)
  31117. @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0 ; \
  31118. r=`${PWD_COMMAND}`; export r; \
  31119. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31120. $(NORMAL_TARGET_EXPORTS) \
  31121. echo "Doing TAGS in $(TARGET_SUBDIR)/libmpx" ; \
  31122. for flag in $(EXTRA_TARGET_FLAGS); do \
  31123. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  31124. done; \
  31125. (cd $(TARGET_SUBDIR)/libmpx && \
  31126. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  31127. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  31128. "RANLIB=$${RANLIB}" \
  31129. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  31130. TAGS) \
  31131. || exit 1
  31132. @endif target-libmpx
  31133. .PHONY: maybe-install-info-target-libmpx install-info-target-libmpx
  31134. maybe-install-info-target-libmpx:
  31135. @if target-libmpx
  31136. maybe-install-info-target-libmpx: install-info-target-libmpx
  31137. install-info-target-libmpx: \
  31138. configure-target-libmpx \
  31139. info-target-libmpx
  31140. @: $(MAKE); $(unstage)
  31141. @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0 ; \
  31142. r=`${PWD_COMMAND}`; export r; \
  31143. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31144. $(NORMAL_TARGET_EXPORTS) \
  31145. echo "Doing install-info in $(TARGET_SUBDIR)/libmpx" ; \
  31146. for flag in $(EXTRA_TARGET_FLAGS); do \
  31147. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  31148. done; \
  31149. (cd $(TARGET_SUBDIR)/libmpx && \
  31150. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  31151. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  31152. "RANLIB=$${RANLIB}" \
  31153. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  31154. install-info) \
  31155. || exit 1
  31156. @endif target-libmpx
  31157. .PHONY: maybe-install-pdf-target-libmpx install-pdf-target-libmpx
  31158. maybe-install-pdf-target-libmpx:
  31159. @if target-libmpx
  31160. maybe-install-pdf-target-libmpx: install-pdf-target-libmpx
  31161. install-pdf-target-libmpx: \
  31162. configure-target-libmpx \
  31163. pdf-target-libmpx
  31164. @: $(MAKE); $(unstage)
  31165. @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0 ; \
  31166. r=`${PWD_COMMAND}`; export r; \
  31167. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31168. $(NORMAL_TARGET_EXPORTS) \
  31169. echo "Doing install-pdf in $(TARGET_SUBDIR)/libmpx" ; \
  31170. for flag in $(EXTRA_TARGET_FLAGS); do \
  31171. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  31172. done; \
  31173. (cd $(TARGET_SUBDIR)/libmpx && \
  31174. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  31175. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  31176. "RANLIB=$${RANLIB}" \
  31177. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  31178. install-pdf) \
  31179. || exit 1
  31180. @endif target-libmpx
  31181. .PHONY: maybe-install-html-target-libmpx install-html-target-libmpx
  31182. maybe-install-html-target-libmpx:
  31183. @if target-libmpx
  31184. maybe-install-html-target-libmpx: install-html-target-libmpx
  31185. install-html-target-libmpx: \
  31186. configure-target-libmpx \
  31187. html-target-libmpx
  31188. @: $(MAKE); $(unstage)
  31189. @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0 ; \
  31190. r=`${PWD_COMMAND}`; export r; \
  31191. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31192. $(NORMAL_TARGET_EXPORTS) \
  31193. echo "Doing install-html in $(TARGET_SUBDIR)/libmpx" ; \
  31194. for flag in $(EXTRA_TARGET_FLAGS); do \
  31195. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  31196. done; \
  31197. (cd $(TARGET_SUBDIR)/libmpx && \
  31198. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  31199. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  31200. "RANLIB=$${RANLIB}" \
  31201. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  31202. install-html) \
  31203. || exit 1
  31204. @endif target-libmpx
  31205. .PHONY: maybe-installcheck-target-libmpx installcheck-target-libmpx
  31206. maybe-installcheck-target-libmpx:
  31207. @if target-libmpx
  31208. maybe-installcheck-target-libmpx: installcheck-target-libmpx
  31209. installcheck-target-libmpx: \
  31210. configure-target-libmpx
  31211. @: $(MAKE); $(unstage)
  31212. @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0 ; \
  31213. r=`${PWD_COMMAND}`; export r; \
  31214. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31215. $(NORMAL_TARGET_EXPORTS) \
  31216. echo "Doing installcheck in $(TARGET_SUBDIR)/libmpx" ; \
  31217. for flag in $(EXTRA_TARGET_FLAGS); do \
  31218. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  31219. done; \
  31220. (cd $(TARGET_SUBDIR)/libmpx && \
  31221. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  31222. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  31223. "RANLIB=$${RANLIB}" \
  31224. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  31225. installcheck) \
  31226. || exit 1
  31227. @endif target-libmpx
  31228. .PHONY: maybe-mostlyclean-target-libmpx mostlyclean-target-libmpx
  31229. maybe-mostlyclean-target-libmpx:
  31230. @if target-libmpx
  31231. maybe-mostlyclean-target-libmpx: mostlyclean-target-libmpx
  31232. mostlyclean-target-libmpx:
  31233. @: $(MAKE); $(unstage)
  31234. @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0 ; \
  31235. r=`${PWD_COMMAND}`; export r; \
  31236. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31237. $(NORMAL_TARGET_EXPORTS) \
  31238. echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmpx" ; \
  31239. for flag in $(EXTRA_TARGET_FLAGS); do \
  31240. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  31241. done; \
  31242. (cd $(TARGET_SUBDIR)/libmpx && \
  31243. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  31244. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  31245. "RANLIB=$${RANLIB}" \
  31246. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  31247. mostlyclean) \
  31248. || exit 1
  31249. @endif target-libmpx
  31250. .PHONY: maybe-clean-target-libmpx clean-target-libmpx
  31251. maybe-clean-target-libmpx:
  31252. @if target-libmpx
  31253. maybe-clean-target-libmpx: clean-target-libmpx
  31254. clean-target-libmpx:
  31255. @: $(MAKE); $(unstage)
  31256. @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0 ; \
  31257. r=`${PWD_COMMAND}`; export r; \
  31258. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31259. $(NORMAL_TARGET_EXPORTS) \
  31260. echo "Doing clean in $(TARGET_SUBDIR)/libmpx" ; \
  31261. for flag in $(EXTRA_TARGET_FLAGS); do \
  31262. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  31263. done; \
  31264. (cd $(TARGET_SUBDIR)/libmpx && \
  31265. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  31266. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  31267. "RANLIB=$${RANLIB}" \
  31268. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  31269. clean) \
  31270. || exit 1
  31271. @endif target-libmpx
  31272. .PHONY: maybe-distclean-target-libmpx distclean-target-libmpx
  31273. maybe-distclean-target-libmpx:
  31274. @if target-libmpx
  31275. maybe-distclean-target-libmpx: distclean-target-libmpx
  31276. distclean-target-libmpx:
  31277. @: $(MAKE); $(unstage)
  31278. @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0 ; \
  31279. r=`${PWD_COMMAND}`; export r; \
  31280. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31281. $(NORMAL_TARGET_EXPORTS) \
  31282. echo "Doing distclean in $(TARGET_SUBDIR)/libmpx" ; \
  31283. for flag in $(EXTRA_TARGET_FLAGS); do \
  31284. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  31285. done; \
  31286. (cd $(TARGET_SUBDIR)/libmpx && \
  31287. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  31288. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  31289. "RANLIB=$${RANLIB}" \
  31290. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  31291. distclean) \
  31292. || exit 1
  31293. @endif target-libmpx
  31294. .PHONY: maybe-maintainer-clean-target-libmpx maintainer-clean-target-libmpx
  31295. maybe-maintainer-clean-target-libmpx:
  31296. @if target-libmpx
  31297. maybe-maintainer-clean-target-libmpx: maintainer-clean-target-libmpx
  31298. maintainer-clean-target-libmpx:
  31299. @: $(MAKE); $(unstage)
  31300. @[ -f $(TARGET_SUBDIR)/libmpx/Makefile ] || exit 0 ; \
  31301. r=`${PWD_COMMAND}`; export r; \
  31302. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31303. $(NORMAL_TARGET_EXPORTS) \
  31304. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmpx" ; \
  31305. for flag in $(EXTRA_TARGET_FLAGS); do \
  31306. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  31307. done; \
  31308. (cd $(TARGET_SUBDIR)/libmpx && \
  31309. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  31310. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  31311. "RANLIB=$${RANLIB}" \
  31312. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  31313. maintainer-clean) \
  31314. || exit 1
  31315. @endif target-libmpx
  31316. .PHONY: configure-target-libvtv maybe-configure-target-libvtv
  31317. maybe-configure-target-libvtv:
  31318. @if gcc-bootstrap
  31319. configure-target-libvtv: stage_current
  31320. @endif gcc-bootstrap
  31321. @if target-libvtv
  31322. maybe-configure-target-libvtv: configure-target-libvtv
  31323. configure-target-libvtv:
  31324. @r=`${PWD_COMMAND}`; export r; \
  31325. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31326. echo "Checking multilib configuration for libvtv..."; \
  31327. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
  31328. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
  31329. if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
  31330. if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
  31331. rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
  31332. else \
  31333. rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
  31334. mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
  31335. fi; \
  31336. else \
  31337. mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
  31338. fi; \
  31339. test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
  31340. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
  31341. $(RAW_CXX_TARGET_EXPORTS) \
  31342. echo Configuring in $(TARGET_SUBDIR)/libvtv; \
  31343. cd "$(TARGET_SUBDIR)/libvtv" || exit 1; \
  31344. case $(srcdir) in \
  31345. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  31346. *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
  31347. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  31348. esac; \
  31349. module_srcdir=libvtv; \
  31350. rm -f no-such-file || : ; \
  31351. CONFIG_SITE=no-such-file $(SHELL) \
  31352. $$s/$$module_srcdir/configure \
  31353. --srcdir=$${topdir}/$$module_srcdir \
  31354. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  31355. --target=${target_alias} \
  31356. || exit 1
  31357. @endif target-libvtv
  31358. .PHONY: configure-stage1-target-libvtv maybe-configure-stage1-target-libvtv
  31359. maybe-configure-stage1-target-libvtv:
  31360. @if target-libvtv-bootstrap
  31361. maybe-configure-stage1-target-libvtv: configure-stage1-target-libvtv
  31362. configure-stage1-target-libvtv:
  31363. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  31364. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
  31365. @r=`${PWD_COMMAND}`; export r; \
  31366. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31367. TFLAGS="$(STAGE1_TFLAGS)"; \
  31368. echo "Checking multilib configuration for libvtv..."; \
  31369. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
  31370. if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
  31371. if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
  31372. rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
  31373. else \
  31374. rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
  31375. mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
  31376. fi; \
  31377. else \
  31378. mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
  31379. fi; \
  31380. test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
  31381. $(RAW_CXX_TARGET_EXPORTS) \
  31382. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  31383. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  31384. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  31385. echo Configuring stage 1 in $(TARGET_SUBDIR)/libvtv ; \
  31386. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
  31387. cd $(TARGET_SUBDIR)/libvtv || exit 1; \
  31388. case $(srcdir) in \
  31389. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  31390. *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
  31391. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  31392. esac; \
  31393. module_srcdir=libvtv; \
  31394. $(SHELL) $$s/$$module_srcdir/configure \
  31395. --srcdir=$${topdir}/$$module_srcdir \
  31396. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  31397. --target=${target_alias} \
  31398. \
  31399. $(STAGE1_CONFIGURE_FLAGS)
  31400. @endif target-libvtv-bootstrap
  31401. .PHONY: configure-stage2-target-libvtv maybe-configure-stage2-target-libvtv
  31402. maybe-configure-stage2-target-libvtv:
  31403. @if target-libvtv-bootstrap
  31404. maybe-configure-stage2-target-libvtv: configure-stage2-target-libvtv
  31405. configure-stage2-target-libvtv:
  31406. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  31407. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
  31408. @r=`${PWD_COMMAND}`; export r; \
  31409. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31410. TFLAGS="$(STAGE2_TFLAGS)"; \
  31411. echo "Checking multilib configuration for libvtv..."; \
  31412. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
  31413. if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
  31414. if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
  31415. rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
  31416. else \
  31417. rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
  31418. mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
  31419. fi; \
  31420. else \
  31421. mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
  31422. fi; \
  31423. test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
  31424. $(RAW_CXX_TARGET_EXPORTS) \
  31425. \
  31426. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  31427. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  31428. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  31429. echo Configuring stage 2 in $(TARGET_SUBDIR)/libvtv ; \
  31430. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
  31431. cd $(TARGET_SUBDIR)/libvtv || exit 1; \
  31432. case $(srcdir) in \
  31433. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  31434. *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
  31435. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  31436. esac; \
  31437. module_srcdir=libvtv; \
  31438. $(SHELL) $$s/$$module_srcdir/configure \
  31439. --srcdir=$${topdir}/$$module_srcdir \
  31440. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  31441. --target=${target_alias} \
  31442. --with-build-libsubdir=$(HOST_SUBDIR) \
  31443. $(STAGE2_CONFIGURE_FLAGS)
  31444. @endif target-libvtv-bootstrap
  31445. .PHONY: configure-stage3-target-libvtv maybe-configure-stage3-target-libvtv
  31446. maybe-configure-stage3-target-libvtv:
  31447. @if target-libvtv-bootstrap
  31448. maybe-configure-stage3-target-libvtv: configure-stage3-target-libvtv
  31449. configure-stage3-target-libvtv:
  31450. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  31451. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
  31452. @r=`${PWD_COMMAND}`; export r; \
  31453. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31454. TFLAGS="$(STAGE3_TFLAGS)"; \
  31455. echo "Checking multilib configuration for libvtv..."; \
  31456. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
  31457. if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
  31458. if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
  31459. rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
  31460. else \
  31461. rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
  31462. mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
  31463. fi; \
  31464. else \
  31465. mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
  31466. fi; \
  31467. test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
  31468. $(RAW_CXX_TARGET_EXPORTS) \
  31469. \
  31470. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  31471. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  31472. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  31473. echo Configuring stage 3 in $(TARGET_SUBDIR)/libvtv ; \
  31474. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
  31475. cd $(TARGET_SUBDIR)/libvtv || exit 1; \
  31476. case $(srcdir) in \
  31477. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  31478. *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
  31479. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  31480. esac; \
  31481. module_srcdir=libvtv; \
  31482. $(SHELL) $$s/$$module_srcdir/configure \
  31483. --srcdir=$${topdir}/$$module_srcdir \
  31484. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  31485. --target=${target_alias} \
  31486. --with-build-libsubdir=$(HOST_SUBDIR) \
  31487. $(STAGE3_CONFIGURE_FLAGS)
  31488. @endif target-libvtv-bootstrap
  31489. .PHONY: configure-stage4-target-libvtv maybe-configure-stage4-target-libvtv
  31490. maybe-configure-stage4-target-libvtv:
  31491. @if target-libvtv-bootstrap
  31492. maybe-configure-stage4-target-libvtv: configure-stage4-target-libvtv
  31493. configure-stage4-target-libvtv:
  31494. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  31495. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
  31496. @r=`${PWD_COMMAND}`; export r; \
  31497. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31498. TFLAGS="$(STAGE4_TFLAGS)"; \
  31499. echo "Checking multilib configuration for libvtv..."; \
  31500. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
  31501. if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
  31502. if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
  31503. rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
  31504. else \
  31505. rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
  31506. mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
  31507. fi; \
  31508. else \
  31509. mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
  31510. fi; \
  31511. test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
  31512. $(RAW_CXX_TARGET_EXPORTS) \
  31513. \
  31514. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  31515. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  31516. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  31517. echo Configuring stage 4 in $(TARGET_SUBDIR)/libvtv ; \
  31518. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
  31519. cd $(TARGET_SUBDIR)/libvtv || exit 1; \
  31520. case $(srcdir) in \
  31521. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  31522. *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
  31523. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  31524. esac; \
  31525. module_srcdir=libvtv; \
  31526. $(SHELL) $$s/$$module_srcdir/configure \
  31527. --srcdir=$${topdir}/$$module_srcdir \
  31528. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  31529. --target=${target_alias} \
  31530. --with-build-libsubdir=$(HOST_SUBDIR) \
  31531. $(STAGE4_CONFIGURE_FLAGS)
  31532. @endif target-libvtv-bootstrap
  31533. .PHONY: configure-stageprofile-target-libvtv maybe-configure-stageprofile-target-libvtv
  31534. maybe-configure-stageprofile-target-libvtv:
  31535. @if target-libvtv-bootstrap
  31536. maybe-configure-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
  31537. configure-stageprofile-target-libvtv:
  31538. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  31539. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
  31540. @r=`${PWD_COMMAND}`; export r; \
  31541. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31542. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  31543. echo "Checking multilib configuration for libvtv..."; \
  31544. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
  31545. if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
  31546. if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
  31547. rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
  31548. else \
  31549. rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
  31550. mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
  31551. fi; \
  31552. else \
  31553. mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
  31554. fi; \
  31555. test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
  31556. $(RAW_CXX_TARGET_EXPORTS) \
  31557. \
  31558. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  31559. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  31560. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  31561. echo Configuring stage profile in $(TARGET_SUBDIR)/libvtv ; \
  31562. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
  31563. cd $(TARGET_SUBDIR)/libvtv || exit 1; \
  31564. case $(srcdir) in \
  31565. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  31566. *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
  31567. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  31568. esac; \
  31569. module_srcdir=libvtv; \
  31570. $(SHELL) $$s/$$module_srcdir/configure \
  31571. --srcdir=$${topdir}/$$module_srcdir \
  31572. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  31573. --target=${target_alias} \
  31574. --with-build-libsubdir=$(HOST_SUBDIR) \
  31575. $(STAGEprofile_CONFIGURE_FLAGS)
  31576. @endif target-libvtv-bootstrap
  31577. .PHONY: configure-stagefeedback-target-libvtv maybe-configure-stagefeedback-target-libvtv
  31578. maybe-configure-stagefeedback-target-libvtv:
  31579. @if target-libvtv-bootstrap
  31580. maybe-configure-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
  31581. configure-stagefeedback-target-libvtv:
  31582. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  31583. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv
  31584. @r=`${PWD_COMMAND}`; export r; \
  31585. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31586. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  31587. echo "Checking multilib configuration for libvtv..."; \
  31588. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libvtv/multilib.tmp 2> /dev/null ; \
  31589. if test -r $(TARGET_SUBDIR)/libvtv/multilib.out; then \
  31590. if cmp -s $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; then \
  31591. rm -f $(TARGET_SUBDIR)/libvtv/multilib.tmp; \
  31592. else \
  31593. rm -f $(TARGET_SUBDIR)/libvtv/Makefile; \
  31594. mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
  31595. fi; \
  31596. else \
  31597. mv $(TARGET_SUBDIR)/libvtv/multilib.tmp $(TARGET_SUBDIR)/libvtv/multilib.out; \
  31598. fi; \
  31599. test ! -f $(TARGET_SUBDIR)/libvtv/Makefile || exit 0; \
  31600. $(RAW_CXX_TARGET_EXPORTS) \
  31601. \
  31602. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  31603. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  31604. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  31605. echo Configuring stage feedback in $(TARGET_SUBDIR)/libvtv ; \
  31606. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libvtv ; \
  31607. cd $(TARGET_SUBDIR)/libvtv || exit 1; \
  31608. case $(srcdir) in \
  31609. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  31610. *) topdir=`echo $(TARGET_SUBDIR)/libvtv/ | \
  31611. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  31612. esac; \
  31613. module_srcdir=libvtv; \
  31614. $(SHELL) $$s/$$module_srcdir/configure \
  31615. --srcdir=$${topdir}/$$module_srcdir \
  31616. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  31617. --target=${target_alias} \
  31618. --with-build-libsubdir=$(HOST_SUBDIR) \
  31619. $(STAGEfeedback_CONFIGURE_FLAGS)
  31620. @endif target-libvtv-bootstrap
  31621. .PHONY: all-target-libvtv maybe-all-target-libvtv
  31622. maybe-all-target-libvtv:
  31623. @if gcc-bootstrap
  31624. all-target-libvtv: stage_current
  31625. @endif gcc-bootstrap
  31626. @if target-libvtv
  31627. TARGET-target-libvtv=all
  31628. maybe-all-target-libvtv: all-target-libvtv
  31629. all-target-libvtv: configure-target-libvtv
  31630. @r=`${PWD_COMMAND}`; export r; \
  31631. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31632. $(RAW_CXX_TARGET_EXPORTS) \
  31633. (cd $(TARGET_SUBDIR)/libvtv && \
  31634. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  31635. $(TARGET-target-libvtv))
  31636. @endif target-libvtv
  31637. .PHONY: all-stage1-target-libvtv maybe-all-stage1-target-libvtv
  31638. .PHONY: clean-stage1-target-libvtv maybe-clean-stage1-target-libvtv
  31639. maybe-all-stage1-target-libvtv:
  31640. maybe-clean-stage1-target-libvtv:
  31641. @if target-libvtv-bootstrap
  31642. maybe-all-stage1-target-libvtv: all-stage1-target-libvtv
  31643. all-stage1: all-stage1-target-libvtv
  31644. TARGET-stage1-target-libvtv = $(TARGET-target-libvtv)
  31645. all-stage1-target-libvtv: configure-stage1-target-libvtv
  31646. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  31647. @r=`${PWD_COMMAND}`; export r; \
  31648. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31649. TFLAGS="$(STAGE1_TFLAGS)"; \
  31650. $(RAW_CXX_TARGET_EXPORTS) \
  31651. cd $(TARGET_SUBDIR)/libvtv && \
  31652. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  31653. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  31654. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  31655. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  31656. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  31657. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  31658. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  31659. $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  31660. \
  31661. TFLAGS="$(STAGE1_TFLAGS)" \
  31662. $(TARGET-stage1-target-libvtv)
  31663. maybe-clean-stage1-target-libvtv: clean-stage1-target-libvtv
  31664. clean-stage1: clean-stage1-target-libvtv
  31665. clean-stage1-target-libvtv:
  31666. @if [ $(current_stage) = stage1 ]; then \
  31667. [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
  31668. else \
  31669. [ -f $(TARGET_SUBDIR)/stage1-libvtv/Makefile ] || exit 0; \
  31670. $(MAKE) stage1-start; \
  31671. fi; \
  31672. cd $(TARGET_SUBDIR)/libvtv && \
  31673. $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  31674. clean
  31675. @endif target-libvtv-bootstrap
  31676. .PHONY: all-stage2-target-libvtv maybe-all-stage2-target-libvtv
  31677. .PHONY: clean-stage2-target-libvtv maybe-clean-stage2-target-libvtv
  31678. maybe-all-stage2-target-libvtv:
  31679. maybe-clean-stage2-target-libvtv:
  31680. @if target-libvtv-bootstrap
  31681. maybe-all-stage2-target-libvtv: all-stage2-target-libvtv
  31682. all-stage2: all-stage2-target-libvtv
  31683. TARGET-stage2-target-libvtv = $(TARGET-target-libvtv)
  31684. all-stage2-target-libvtv: configure-stage2-target-libvtv
  31685. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  31686. @r=`${PWD_COMMAND}`; export r; \
  31687. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31688. TFLAGS="$(STAGE2_TFLAGS)"; \
  31689. $(RAW_CXX_TARGET_EXPORTS) \
  31690. \
  31691. cd $(TARGET_SUBDIR)/libvtv && \
  31692. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  31693. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  31694. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  31695. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  31696. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  31697. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  31698. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  31699. $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  31700. TFLAGS="$(STAGE2_TFLAGS)" \
  31701. $(TARGET-stage2-target-libvtv)
  31702. maybe-clean-stage2-target-libvtv: clean-stage2-target-libvtv
  31703. clean-stage2: clean-stage2-target-libvtv
  31704. clean-stage2-target-libvtv:
  31705. @if [ $(current_stage) = stage2 ]; then \
  31706. [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
  31707. else \
  31708. [ -f $(TARGET_SUBDIR)/stage2-libvtv/Makefile ] || exit 0; \
  31709. $(MAKE) stage2-start; \
  31710. fi; \
  31711. cd $(TARGET_SUBDIR)/libvtv && \
  31712. $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
  31713. @endif target-libvtv-bootstrap
  31714. .PHONY: all-stage3-target-libvtv maybe-all-stage3-target-libvtv
  31715. .PHONY: clean-stage3-target-libvtv maybe-clean-stage3-target-libvtv
  31716. maybe-all-stage3-target-libvtv:
  31717. maybe-clean-stage3-target-libvtv:
  31718. @if target-libvtv-bootstrap
  31719. maybe-all-stage3-target-libvtv: all-stage3-target-libvtv
  31720. all-stage3: all-stage3-target-libvtv
  31721. TARGET-stage3-target-libvtv = $(TARGET-target-libvtv)
  31722. all-stage3-target-libvtv: configure-stage3-target-libvtv
  31723. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  31724. @r=`${PWD_COMMAND}`; export r; \
  31725. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31726. TFLAGS="$(STAGE3_TFLAGS)"; \
  31727. $(RAW_CXX_TARGET_EXPORTS) \
  31728. \
  31729. cd $(TARGET_SUBDIR)/libvtv && \
  31730. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  31731. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  31732. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  31733. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  31734. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  31735. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  31736. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  31737. $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  31738. TFLAGS="$(STAGE3_TFLAGS)" \
  31739. $(TARGET-stage3-target-libvtv)
  31740. maybe-clean-stage3-target-libvtv: clean-stage3-target-libvtv
  31741. clean-stage3: clean-stage3-target-libvtv
  31742. clean-stage3-target-libvtv:
  31743. @if [ $(current_stage) = stage3 ]; then \
  31744. [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
  31745. else \
  31746. [ -f $(TARGET_SUBDIR)/stage3-libvtv/Makefile ] || exit 0; \
  31747. $(MAKE) stage3-start; \
  31748. fi; \
  31749. cd $(TARGET_SUBDIR)/libvtv && \
  31750. $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
  31751. @endif target-libvtv-bootstrap
  31752. .PHONY: all-stage4-target-libvtv maybe-all-stage4-target-libvtv
  31753. .PHONY: clean-stage4-target-libvtv maybe-clean-stage4-target-libvtv
  31754. maybe-all-stage4-target-libvtv:
  31755. maybe-clean-stage4-target-libvtv:
  31756. @if target-libvtv-bootstrap
  31757. maybe-all-stage4-target-libvtv: all-stage4-target-libvtv
  31758. all-stage4: all-stage4-target-libvtv
  31759. TARGET-stage4-target-libvtv = $(TARGET-target-libvtv)
  31760. all-stage4-target-libvtv: configure-stage4-target-libvtv
  31761. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  31762. @r=`${PWD_COMMAND}`; export r; \
  31763. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31764. TFLAGS="$(STAGE4_TFLAGS)"; \
  31765. $(RAW_CXX_TARGET_EXPORTS) \
  31766. \
  31767. cd $(TARGET_SUBDIR)/libvtv && \
  31768. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  31769. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  31770. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  31771. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  31772. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  31773. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  31774. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  31775. $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  31776. TFLAGS="$(STAGE4_TFLAGS)" \
  31777. $(TARGET-stage4-target-libvtv)
  31778. maybe-clean-stage4-target-libvtv: clean-stage4-target-libvtv
  31779. clean-stage4: clean-stage4-target-libvtv
  31780. clean-stage4-target-libvtv:
  31781. @if [ $(current_stage) = stage4 ]; then \
  31782. [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
  31783. else \
  31784. [ -f $(TARGET_SUBDIR)/stage4-libvtv/Makefile ] || exit 0; \
  31785. $(MAKE) stage4-start; \
  31786. fi; \
  31787. cd $(TARGET_SUBDIR)/libvtv && \
  31788. $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
  31789. @endif target-libvtv-bootstrap
  31790. .PHONY: all-stageprofile-target-libvtv maybe-all-stageprofile-target-libvtv
  31791. .PHONY: clean-stageprofile-target-libvtv maybe-clean-stageprofile-target-libvtv
  31792. maybe-all-stageprofile-target-libvtv:
  31793. maybe-clean-stageprofile-target-libvtv:
  31794. @if target-libvtv-bootstrap
  31795. maybe-all-stageprofile-target-libvtv: all-stageprofile-target-libvtv
  31796. all-stageprofile: all-stageprofile-target-libvtv
  31797. TARGET-stageprofile-target-libvtv = $(TARGET-target-libvtv)
  31798. all-stageprofile-target-libvtv: configure-stageprofile-target-libvtv
  31799. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  31800. @r=`${PWD_COMMAND}`; export r; \
  31801. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31802. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  31803. $(RAW_CXX_TARGET_EXPORTS) \
  31804. \
  31805. cd $(TARGET_SUBDIR)/libvtv && \
  31806. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  31807. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  31808. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  31809. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  31810. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  31811. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  31812. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  31813. $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  31814. TFLAGS="$(STAGEprofile_TFLAGS)" \
  31815. $(TARGET-stageprofile-target-libvtv)
  31816. maybe-clean-stageprofile-target-libvtv: clean-stageprofile-target-libvtv
  31817. clean-stageprofile: clean-stageprofile-target-libvtv
  31818. clean-stageprofile-target-libvtv:
  31819. @if [ $(current_stage) = stageprofile ]; then \
  31820. [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
  31821. else \
  31822. [ -f $(TARGET_SUBDIR)/stageprofile-libvtv/Makefile ] || exit 0; \
  31823. $(MAKE) stageprofile-start; \
  31824. fi; \
  31825. cd $(TARGET_SUBDIR)/libvtv && \
  31826. $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
  31827. @endif target-libvtv-bootstrap
  31828. .PHONY: all-stagefeedback-target-libvtv maybe-all-stagefeedback-target-libvtv
  31829. .PHONY: clean-stagefeedback-target-libvtv maybe-clean-stagefeedback-target-libvtv
  31830. maybe-all-stagefeedback-target-libvtv:
  31831. maybe-clean-stagefeedback-target-libvtv:
  31832. @if target-libvtv-bootstrap
  31833. maybe-all-stagefeedback-target-libvtv: all-stagefeedback-target-libvtv
  31834. all-stagefeedback: all-stagefeedback-target-libvtv
  31835. TARGET-stagefeedback-target-libvtv = $(TARGET-target-libvtv)
  31836. all-stagefeedback-target-libvtv: configure-stagefeedback-target-libvtv
  31837. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  31838. @r=`${PWD_COMMAND}`; export r; \
  31839. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31840. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  31841. $(RAW_CXX_TARGET_EXPORTS) \
  31842. \
  31843. cd $(TARGET_SUBDIR)/libvtv && \
  31844. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  31845. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  31846. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  31847. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  31848. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  31849. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  31850. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  31851. $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  31852. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  31853. $(TARGET-stagefeedback-target-libvtv)
  31854. maybe-clean-stagefeedback-target-libvtv: clean-stagefeedback-target-libvtv
  31855. clean-stagefeedback: clean-stagefeedback-target-libvtv
  31856. clean-stagefeedback-target-libvtv:
  31857. @if [ $(current_stage) = stagefeedback ]; then \
  31858. [ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0; \
  31859. else \
  31860. [ -f $(TARGET_SUBDIR)/stagefeedback-libvtv/Makefile ] || exit 0; \
  31861. $(MAKE) stagefeedback-start; \
  31862. fi; \
  31863. cd $(TARGET_SUBDIR)/libvtv && \
  31864. $(MAKE) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' clean
  31865. @endif target-libvtv-bootstrap
  31866. .PHONY: check-target-libvtv maybe-check-target-libvtv
  31867. maybe-check-target-libvtv:
  31868. @if target-libvtv
  31869. maybe-check-target-libvtv: check-target-libvtv
  31870. check-target-libvtv:
  31871. @: $(MAKE); $(unstage)
  31872. @r=`${PWD_COMMAND}`; export r; \
  31873. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31874. $(RAW_CXX_TARGET_EXPORTS) \
  31875. (cd $(TARGET_SUBDIR)/libvtv && \
  31876. $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
  31877. @endif target-libvtv
  31878. .PHONY: install-target-libvtv maybe-install-target-libvtv
  31879. maybe-install-target-libvtv:
  31880. @if target-libvtv
  31881. maybe-install-target-libvtv: install-target-libvtv
  31882. install-target-libvtv: installdirs
  31883. @: $(MAKE); $(unstage)
  31884. @r=`${PWD_COMMAND}`; export r; \
  31885. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31886. $(RAW_CXX_TARGET_EXPORTS) \
  31887. (cd $(TARGET_SUBDIR)/libvtv && \
  31888. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  31889. @endif target-libvtv
  31890. .PHONY: install-strip-target-libvtv maybe-install-strip-target-libvtv
  31891. maybe-install-strip-target-libvtv:
  31892. @if target-libvtv
  31893. maybe-install-strip-target-libvtv: install-strip-target-libvtv
  31894. install-strip-target-libvtv: installdirs
  31895. @: $(MAKE); $(unstage)
  31896. @r=`${PWD_COMMAND}`; export r; \
  31897. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31898. $(RAW_CXX_TARGET_EXPORTS) \
  31899. (cd $(TARGET_SUBDIR)/libvtv && \
  31900. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  31901. @endif target-libvtv
  31902. # Other targets (info, dvi, pdf, etc.)
  31903. .PHONY: maybe-info-target-libvtv info-target-libvtv
  31904. maybe-info-target-libvtv:
  31905. @if target-libvtv
  31906. maybe-info-target-libvtv: info-target-libvtv
  31907. info-target-libvtv: \
  31908. configure-target-libvtv
  31909. @: $(MAKE); $(unstage)
  31910. @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
  31911. r=`${PWD_COMMAND}`; export r; \
  31912. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31913. $(RAW_CXX_TARGET_EXPORTS) \
  31914. echo "Doing info in $(TARGET_SUBDIR)/libvtv" ; \
  31915. for flag in $(EXTRA_TARGET_FLAGS); do \
  31916. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  31917. done; \
  31918. (cd $(TARGET_SUBDIR)/libvtv && \
  31919. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  31920. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  31921. "RANLIB=$${RANLIB}" \
  31922. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  31923. info) \
  31924. || exit 1
  31925. @endif target-libvtv
  31926. .PHONY: maybe-dvi-target-libvtv dvi-target-libvtv
  31927. maybe-dvi-target-libvtv:
  31928. @if target-libvtv
  31929. maybe-dvi-target-libvtv: dvi-target-libvtv
  31930. dvi-target-libvtv: \
  31931. configure-target-libvtv
  31932. @: $(MAKE); $(unstage)
  31933. @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
  31934. r=`${PWD_COMMAND}`; export r; \
  31935. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31936. $(RAW_CXX_TARGET_EXPORTS) \
  31937. echo "Doing dvi in $(TARGET_SUBDIR)/libvtv" ; \
  31938. for flag in $(EXTRA_TARGET_FLAGS); do \
  31939. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  31940. done; \
  31941. (cd $(TARGET_SUBDIR)/libvtv && \
  31942. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  31943. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  31944. "RANLIB=$${RANLIB}" \
  31945. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  31946. dvi) \
  31947. || exit 1
  31948. @endif target-libvtv
  31949. .PHONY: maybe-pdf-target-libvtv pdf-target-libvtv
  31950. maybe-pdf-target-libvtv:
  31951. @if target-libvtv
  31952. maybe-pdf-target-libvtv: pdf-target-libvtv
  31953. pdf-target-libvtv: \
  31954. configure-target-libvtv
  31955. @: $(MAKE); $(unstage)
  31956. @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
  31957. r=`${PWD_COMMAND}`; export r; \
  31958. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31959. $(RAW_CXX_TARGET_EXPORTS) \
  31960. echo "Doing pdf in $(TARGET_SUBDIR)/libvtv" ; \
  31961. for flag in $(EXTRA_TARGET_FLAGS); do \
  31962. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  31963. done; \
  31964. (cd $(TARGET_SUBDIR)/libvtv && \
  31965. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  31966. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  31967. "RANLIB=$${RANLIB}" \
  31968. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  31969. pdf) \
  31970. || exit 1
  31971. @endif target-libvtv
  31972. .PHONY: maybe-html-target-libvtv html-target-libvtv
  31973. maybe-html-target-libvtv:
  31974. @if target-libvtv
  31975. maybe-html-target-libvtv: html-target-libvtv
  31976. html-target-libvtv: \
  31977. configure-target-libvtv
  31978. @: $(MAKE); $(unstage)
  31979. @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
  31980. r=`${PWD_COMMAND}`; export r; \
  31981. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  31982. $(RAW_CXX_TARGET_EXPORTS) \
  31983. echo "Doing html in $(TARGET_SUBDIR)/libvtv" ; \
  31984. for flag in $(EXTRA_TARGET_FLAGS); do \
  31985. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  31986. done; \
  31987. (cd $(TARGET_SUBDIR)/libvtv && \
  31988. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  31989. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  31990. "RANLIB=$${RANLIB}" \
  31991. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  31992. html) \
  31993. || exit 1
  31994. @endif target-libvtv
  31995. .PHONY: maybe-TAGS-target-libvtv TAGS-target-libvtv
  31996. maybe-TAGS-target-libvtv:
  31997. @if target-libvtv
  31998. maybe-TAGS-target-libvtv: TAGS-target-libvtv
  31999. TAGS-target-libvtv: \
  32000. configure-target-libvtv
  32001. @: $(MAKE); $(unstage)
  32002. @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
  32003. r=`${PWD_COMMAND}`; export r; \
  32004. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32005. $(RAW_CXX_TARGET_EXPORTS) \
  32006. echo "Doing TAGS in $(TARGET_SUBDIR)/libvtv" ; \
  32007. for flag in $(EXTRA_TARGET_FLAGS); do \
  32008. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32009. done; \
  32010. (cd $(TARGET_SUBDIR)/libvtv && \
  32011. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32012. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32013. "RANLIB=$${RANLIB}" \
  32014. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32015. TAGS) \
  32016. || exit 1
  32017. @endif target-libvtv
  32018. .PHONY: maybe-install-info-target-libvtv install-info-target-libvtv
  32019. maybe-install-info-target-libvtv:
  32020. @if target-libvtv
  32021. maybe-install-info-target-libvtv: install-info-target-libvtv
  32022. install-info-target-libvtv: \
  32023. configure-target-libvtv \
  32024. info-target-libvtv
  32025. @: $(MAKE); $(unstage)
  32026. @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
  32027. r=`${PWD_COMMAND}`; export r; \
  32028. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32029. $(RAW_CXX_TARGET_EXPORTS) \
  32030. echo "Doing install-info in $(TARGET_SUBDIR)/libvtv" ; \
  32031. for flag in $(EXTRA_TARGET_FLAGS); do \
  32032. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32033. done; \
  32034. (cd $(TARGET_SUBDIR)/libvtv && \
  32035. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32036. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32037. "RANLIB=$${RANLIB}" \
  32038. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32039. install-info) \
  32040. || exit 1
  32041. @endif target-libvtv
  32042. .PHONY: maybe-install-pdf-target-libvtv install-pdf-target-libvtv
  32043. maybe-install-pdf-target-libvtv:
  32044. @if target-libvtv
  32045. maybe-install-pdf-target-libvtv: install-pdf-target-libvtv
  32046. install-pdf-target-libvtv: \
  32047. configure-target-libvtv \
  32048. pdf-target-libvtv
  32049. @: $(MAKE); $(unstage)
  32050. @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
  32051. r=`${PWD_COMMAND}`; export r; \
  32052. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32053. $(RAW_CXX_TARGET_EXPORTS) \
  32054. echo "Doing install-pdf in $(TARGET_SUBDIR)/libvtv" ; \
  32055. for flag in $(EXTRA_TARGET_FLAGS); do \
  32056. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32057. done; \
  32058. (cd $(TARGET_SUBDIR)/libvtv && \
  32059. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32060. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32061. "RANLIB=$${RANLIB}" \
  32062. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32063. install-pdf) \
  32064. || exit 1
  32065. @endif target-libvtv
  32066. .PHONY: maybe-install-html-target-libvtv install-html-target-libvtv
  32067. maybe-install-html-target-libvtv:
  32068. @if target-libvtv
  32069. maybe-install-html-target-libvtv: install-html-target-libvtv
  32070. install-html-target-libvtv: \
  32071. configure-target-libvtv \
  32072. html-target-libvtv
  32073. @: $(MAKE); $(unstage)
  32074. @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
  32075. r=`${PWD_COMMAND}`; export r; \
  32076. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32077. $(RAW_CXX_TARGET_EXPORTS) \
  32078. echo "Doing install-html in $(TARGET_SUBDIR)/libvtv" ; \
  32079. for flag in $(EXTRA_TARGET_FLAGS); do \
  32080. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32081. done; \
  32082. (cd $(TARGET_SUBDIR)/libvtv && \
  32083. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32084. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32085. "RANLIB=$${RANLIB}" \
  32086. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32087. install-html) \
  32088. || exit 1
  32089. @endif target-libvtv
  32090. .PHONY: maybe-installcheck-target-libvtv installcheck-target-libvtv
  32091. maybe-installcheck-target-libvtv:
  32092. @if target-libvtv
  32093. maybe-installcheck-target-libvtv: installcheck-target-libvtv
  32094. installcheck-target-libvtv: \
  32095. configure-target-libvtv
  32096. @: $(MAKE); $(unstage)
  32097. @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
  32098. r=`${PWD_COMMAND}`; export r; \
  32099. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32100. $(RAW_CXX_TARGET_EXPORTS) \
  32101. echo "Doing installcheck in $(TARGET_SUBDIR)/libvtv" ; \
  32102. for flag in $(EXTRA_TARGET_FLAGS); do \
  32103. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32104. done; \
  32105. (cd $(TARGET_SUBDIR)/libvtv && \
  32106. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32107. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32108. "RANLIB=$${RANLIB}" \
  32109. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32110. installcheck) \
  32111. || exit 1
  32112. @endif target-libvtv
  32113. .PHONY: maybe-mostlyclean-target-libvtv mostlyclean-target-libvtv
  32114. maybe-mostlyclean-target-libvtv:
  32115. @if target-libvtv
  32116. maybe-mostlyclean-target-libvtv: mostlyclean-target-libvtv
  32117. mostlyclean-target-libvtv:
  32118. @: $(MAKE); $(unstage)
  32119. @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
  32120. r=`${PWD_COMMAND}`; export r; \
  32121. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32122. $(RAW_CXX_TARGET_EXPORTS) \
  32123. echo "Doing mostlyclean in $(TARGET_SUBDIR)/libvtv" ; \
  32124. for flag in $(EXTRA_TARGET_FLAGS); do \
  32125. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32126. done; \
  32127. (cd $(TARGET_SUBDIR)/libvtv && \
  32128. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32129. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32130. "RANLIB=$${RANLIB}" \
  32131. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32132. mostlyclean) \
  32133. || exit 1
  32134. @endif target-libvtv
  32135. .PHONY: maybe-clean-target-libvtv clean-target-libvtv
  32136. maybe-clean-target-libvtv:
  32137. @if target-libvtv
  32138. maybe-clean-target-libvtv: clean-target-libvtv
  32139. clean-target-libvtv:
  32140. @: $(MAKE); $(unstage)
  32141. @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
  32142. r=`${PWD_COMMAND}`; export r; \
  32143. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32144. $(RAW_CXX_TARGET_EXPORTS) \
  32145. echo "Doing clean in $(TARGET_SUBDIR)/libvtv" ; \
  32146. for flag in $(EXTRA_TARGET_FLAGS); do \
  32147. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32148. done; \
  32149. (cd $(TARGET_SUBDIR)/libvtv && \
  32150. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32151. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32152. "RANLIB=$${RANLIB}" \
  32153. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32154. clean) \
  32155. || exit 1
  32156. @endif target-libvtv
  32157. .PHONY: maybe-distclean-target-libvtv distclean-target-libvtv
  32158. maybe-distclean-target-libvtv:
  32159. @if target-libvtv
  32160. maybe-distclean-target-libvtv: distclean-target-libvtv
  32161. distclean-target-libvtv:
  32162. @: $(MAKE); $(unstage)
  32163. @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
  32164. r=`${PWD_COMMAND}`; export r; \
  32165. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32166. $(RAW_CXX_TARGET_EXPORTS) \
  32167. echo "Doing distclean in $(TARGET_SUBDIR)/libvtv" ; \
  32168. for flag in $(EXTRA_TARGET_FLAGS); do \
  32169. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32170. done; \
  32171. (cd $(TARGET_SUBDIR)/libvtv && \
  32172. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32173. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32174. "RANLIB=$${RANLIB}" \
  32175. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32176. distclean) \
  32177. || exit 1
  32178. @endif target-libvtv
  32179. .PHONY: maybe-maintainer-clean-target-libvtv maintainer-clean-target-libvtv
  32180. maybe-maintainer-clean-target-libvtv:
  32181. @if target-libvtv
  32182. maybe-maintainer-clean-target-libvtv: maintainer-clean-target-libvtv
  32183. maintainer-clean-target-libvtv:
  32184. @: $(MAKE); $(unstage)
  32185. @[ -f $(TARGET_SUBDIR)/libvtv/Makefile ] || exit 0 ; \
  32186. r=`${PWD_COMMAND}`; export r; \
  32187. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32188. $(RAW_CXX_TARGET_EXPORTS) \
  32189. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libvtv" ; \
  32190. for flag in $(EXTRA_TARGET_FLAGS); do \
  32191. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32192. done; \
  32193. (cd $(TARGET_SUBDIR)/libvtv && \
  32194. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32195. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32196. "RANLIB=$${RANLIB}" \
  32197. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32198. maintainer-clean) \
  32199. || exit 1
  32200. @endif target-libvtv
  32201. .PHONY: configure-target-libcilkrts maybe-configure-target-libcilkrts
  32202. maybe-configure-target-libcilkrts:
  32203. @if gcc-bootstrap
  32204. configure-target-libcilkrts: stage_current
  32205. @endif gcc-bootstrap
  32206. @if target-libcilkrts
  32207. maybe-configure-target-libcilkrts: configure-target-libcilkrts
  32208. configure-target-libcilkrts:
  32209. @: $(MAKE); $(unstage)
  32210. @r=`${PWD_COMMAND}`; export r; \
  32211. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32212. echo "Checking multilib configuration for libcilkrts..."; \
  32213. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
  32214. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libcilkrts/multilib.tmp 2> /dev/null ; \
  32215. if test -r $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
  32216. if cmp -s $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; then \
  32217. rm -f $(TARGET_SUBDIR)/libcilkrts/multilib.tmp; \
  32218. else \
  32219. rm -f $(TARGET_SUBDIR)/libcilkrts/Makefile; \
  32220. mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
  32221. fi; \
  32222. else \
  32223. mv $(TARGET_SUBDIR)/libcilkrts/multilib.tmp $(TARGET_SUBDIR)/libcilkrts/multilib.out; \
  32224. fi; \
  32225. test ! -f $(TARGET_SUBDIR)/libcilkrts/Makefile || exit 0; \
  32226. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libcilkrts ; \
  32227. $(NORMAL_TARGET_EXPORTS) \
  32228. echo Configuring in $(TARGET_SUBDIR)/libcilkrts; \
  32229. cd "$(TARGET_SUBDIR)/libcilkrts" || exit 1; \
  32230. case $(srcdir) in \
  32231. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  32232. *) topdir=`echo $(TARGET_SUBDIR)/libcilkrts/ | \
  32233. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  32234. esac; \
  32235. module_srcdir=libcilkrts; \
  32236. rm -f no-such-file || : ; \
  32237. CONFIG_SITE=no-such-file $(SHELL) \
  32238. $$s/$$module_srcdir/configure \
  32239. --srcdir=$${topdir}/$$module_srcdir \
  32240. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  32241. --target=${target_alias} \
  32242. || exit 1
  32243. @endif target-libcilkrts
  32244. .PHONY: all-target-libcilkrts maybe-all-target-libcilkrts
  32245. maybe-all-target-libcilkrts:
  32246. @if gcc-bootstrap
  32247. all-target-libcilkrts: stage_current
  32248. @endif gcc-bootstrap
  32249. @if target-libcilkrts
  32250. TARGET-target-libcilkrts=all
  32251. maybe-all-target-libcilkrts: all-target-libcilkrts
  32252. all-target-libcilkrts: configure-target-libcilkrts
  32253. @: $(MAKE); $(unstage)
  32254. @r=`${PWD_COMMAND}`; export r; \
  32255. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32256. $(NORMAL_TARGET_EXPORTS) \
  32257. (cd $(TARGET_SUBDIR)/libcilkrts && \
  32258. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  32259. $(TARGET-target-libcilkrts))
  32260. @endif target-libcilkrts
  32261. .PHONY: check-target-libcilkrts maybe-check-target-libcilkrts
  32262. maybe-check-target-libcilkrts:
  32263. @if target-libcilkrts
  32264. maybe-check-target-libcilkrts: check-target-libcilkrts
  32265. check-target-libcilkrts:
  32266. @: $(MAKE); $(unstage)
  32267. @r=`${PWD_COMMAND}`; export r; \
  32268. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32269. $(NORMAL_TARGET_EXPORTS) \
  32270. (cd $(TARGET_SUBDIR)/libcilkrts && \
  32271. $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
  32272. @endif target-libcilkrts
  32273. .PHONY: install-target-libcilkrts maybe-install-target-libcilkrts
  32274. maybe-install-target-libcilkrts:
  32275. @if target-libcilkrts
  32276. maybe-install-target-libcilkrts: install-target-libcilkrts
  32277. install-target-libcilkrts: installdirs
  32278. @: $(MAKE); $(unstage)
  32279. @r=`${PWD_COMMAND}`; export r; \
  32280. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32281. $(NORMAL_TARGET_EXPORTS) \
  32282. (cd $(TARGET_SUBDIR)/libcilkrts && \
  32283. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  32284. @endif target-libcilkrts
  32285. .PHONY: install-strip-target-libcilkrts maybe-install-strip-target-libcilkrts
  32286. maybe-install-strip-target-libcilkrts:
  32287. @if target-libcilkrts
  32288. maybe-install-strip-target-libcilkrts: install-strip-target-libcilkrts
  32289. install-strip-target-libcilkrts: installdirs
  32290. @: $(MAKE); $(unstage)
  32291. @r=`${PWD_COMMAND}`; export r; \
  32292. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32293. $(NORMAL_TARGET_EXPORTS) \
  32294. (cd $(TARGET_SUBDIR)/libcilkrts && \
  32295. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  32296. @endif target-libcilkrts
  32297. # Other targets (info, dvi, pdf, etc.)
  32298. .PHONY: maybe-info-target-libcilkrts info-target-libcilkrts
  32299. maybe-info-target-libcilkrts:
  32300. @if target-libcilkrts
  32301. maybe-info-target-libcilkrts: info-target-libcilkrts
  32302. info-target-libcilkrts: \
  32303. configure-target-libcilkrts
  32304. @: $(MAKE); $(unstage)
  32305. @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
  32306. r=`${PWD_COMMAND}`; export r; \
  32307. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32308. $(NORMAL_TARGET_EXPORTS) \
  32309. echo "Doing info in $(TARGET_SUBDIR)/libcilkrts" ; \
  32310. for flag in $(EXTRA_TARGET_FLAGS); do \
  32311. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32312. done; \
  32313. (cd $(TARGET_SUBDIR)/libcilkrts && \
  32314. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32315. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32316. "RANLIB=$${RANLIB}" \
  32317. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32318. info) \
  32319. || exit 1
  32320. @endif target-libcilkrts
  32321. .PHONY: maybe-dvi-target-libcilkrts dvi-target-libcilkrts
  32322. maybe-dvi-target-libcilkrts:
  32323. @if target-libcilkrts
  32324. maybe-dvi-target-libcilkrts: dvi-target-libcilkrts
  32325. dvi-target-libcilkrts: \
  32326. configure-target-libcilkrts
  32327. @: $(MAKE); $(unstage)
  32328. @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
  32329. r=`${PWD_COMMAND}`; export r; \
  32330. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32331. $(NORMAL_TARGET_EXPORTS) \
  32332. echo "Doing dvi in $(TARGET_SUBDIR)/libcilkrts" ; \
  32333. for flag in $(EXTRA_TARGET_FLAGS); do \
  32334. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32335. done; \
  32336. (cd $(TARGET_SUBDIR)/libcilkrts && \
  32337. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32338. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32339. "RANLIB=$${RANLIB}" \
  32340. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32341. dvi) \
  32342. || exit 1
  32343. @endif target-libcilkrts
  32344. .PHONY: maybe-pdf-target-libcilkrts pdf-target-libcilkrts
  32345. maybe-pdf-target-libcilkrts:
  32346. @if target-libcilkrts
  32347. maybe-pdf-target-libcilkrts: pdf-target-libcilkrts
  32348. pdf-target-libcilkrts: \
  32349. configure-target-libcilkrts
  32350. @: $(MAKE); $(unstage)
  32351. @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
  32352. r=`${PWD_COMMAND}`; export r; \
  32353. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32354. $(NORMAL_TARGET_EXPORTS) \
  32355. echo "Doing pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
  32356. for flag in $(EXTRA_TARGET_FLAGS); do \
  32357. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32358. done; \
  32359. (cd $(TARGET_SUBDIR)/libcilkrts && \
  32360. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32361. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32362. "RANLIB=$${RANLIB}" \
  32363. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32364. pdf) \
  32365. || exit 1
  32366. @endif target-libcilkrts
  32367. .PHONY: maybe-html-target-libcilkrts html-target-libcilkrts
  32368. maybe-html-target-libcilkrts:
  32369. @if target-libcilkrts
  32370. maybe-html-target-libcilkrts: html-target-libcilkrts
  32371. html-target-libcilkrts: \
  32372. configure-target-libcilkrts
  32373. @: $(MAKE); $(unstage)
  32374. @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
  32375. r=`${PWD_COMMAND}`; export r; \
  32376. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32377. $(NORMAL_TARGET_EXPORTS) \
  32378. echo "Doing html in $(TARGET_SUBDIR)/libcilkrts" ; \
  32379. for flag in $(EXTRA_TARGET_FLAGS); do \
  32380. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32381. done; \
  32382. (cd $(TARGET_SUBDIR)/libcilkrts && \
  32383. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32384. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32385. "RANLIB=$${RANLIB}" \
  32386. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32387. html) \
  32388. || exit 1
  32389. @endif target-libcilkrts
  32390. .PHONY: maybe-TAGS-target-libcilkrts TAGS-target-libcilkrts
  32391. maybe-TAGS-target-libcilkrts:
  32392. @if target-libcilkrts
  32393. maybe-TAGS-target-libcilkrts: TAGS-target-libcilkrts
  32394. TAGS-target-libcilkrts: \
  32395. configure-target-libcilkrts
  32396. @: $(MAKE); $(unstage)
  32397. @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
  32398. r=`${PWD_COMMAND}`; export r; \
  32399. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32400. $(NORMAL_TARGET_EXPORTS) \
  32401. echo "Doing TAGS in $(TARGET_SUBDIR)/libcilkrts" ; \
  32402. for flag in $(EXTRA_TARGET_FLAGS); do \
  32403. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32404. done; \
  32405. (cd $(TARGET_SUBDIR)/libcilkrts && \
  32406. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32407. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32408. "RANLIB=$${RANLIB}" \
  32409. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32410. TAGS) \
  32411. || exit 1
  32412. @endif target-libcilkrts
  32413. .PHONY: maybe-install-info-target-libcilkrts install-info-target-libcilkrts
  32414. maybe-install-info-target-libcilkrts:
  32415. @if target-libcilkrts
  32416. maybe-install-info-target-libcilkrts: install-info-target-libcilkrts
  32417. install-info-target-libcilkrts: \
  32418. configure-target-libcilkrts \
  32419. info-target-libcilkrts
  32420. @: $(MAKE); $(unstage)
  32421. @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
  32422. r=`${PWD_COMMAND}`; export r; \
  32423. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32424. $(NORMAL_TARGET_EXPORTS) \
  32425. echo "Doing install-info in $(TARGET_SUBDIR)/libcilkrts" ; \
  32426. for flag in $(EXTRA_TARGET_FLAGS); do \
  32427. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32428. done; \
  32429. (cd $(TARGET_SUBDIR)/libcilkrts && \
  32430. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32431. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32432. "RANLIB=$${RANLIB}" \
  32433. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32434. install-info) \
  32435. || exit 1
  32436. @endif target-libcilkrts
  32437. .PHONY: maybe-install-pdf-target-libcilkrts install-pdf-target-libcilkrts
  32438. maybe-install-pdf-target-libcilkrts:
  32439. @if target-libcilkrts
  32440. maybe-install-pdf-target-libcilkrts: install-pdf-target-libcilkrts
  32441. install-pdf-target-libcilkrts: \
  32442. configure-target-libcilkrts \
  32443. pdf-target-libcilkrts
  32444. @: $(MAKE); $(unstage)
  32445. @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
  32446. r=`${PWD_COMMAND}`; export r; \
  32447. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32448. $(NORMAL_TARGET_EXPORTS) \
  32449. echo "Doing install-pdf in $(TARGET_SUBDIR)/libcilkrts" ; \
  32450. for flag in $(EXTRA_TARGET_FLAGS); do \
  32451. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32452. done; \
  32453. (cd $(TARGET_SUBDIR)/libcilkrts && \
  32454. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32455. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32456. "RANLIB=$${RANLIB}" \
  32457. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32458. install-pdf) \
  32459. || exit 1
  32460. @endif target-libcilkrts
  32461. .PHONY: maybe-install-html-target-libcilkrts install-html-target-libcilkrts
  32462. maybe-install-html-target-libcilkrts:
  32463. @if target-libcilkrts
  32464. maybe-install-html-target-libcilkrts: install-html-target-libcilkrts
  32465. install-html-target-libcilkrts: \
  32466. configure-target-libcilkrts \
  32467. html-target-libcilkrts
  32468. @: $(MAKE); $(unstage)
  32469. @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
  32470. r=`${PWD_COMMAND}`; export r; \
  32471. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32472. $(NORMAL_TARGET_EXPORTS) \
  32473. echo "Doing install-html in $(TARGET_SUBDIR)/libcilkrts" ; \
  32474. for flag in $(EXTRA_TARGET_FLAGS); do \
  32475. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32476. done; \
  32477. (cd $(TARGET_SUBDIR)/libcilkrts && \
  32478. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32479. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32480. "RANLIB=$${RANLIB}" \
  32481. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32482. install-html) \
  32483. || exit 1
  32484. @endif target-libcilkrts
  32485. .PHONY: maybe-installcheck-target-libcilkrts installcheck-target-libcilkrts
  32486. maybe-installcheck-target-libcilkrts:
  32487. @if target-libcilkrts
  32488. maybe-installcheck-target-libcilkrts: installcheck-target-libcilkrts
  32489. installcheck-target-libcilkrts: \
  32490. configure-target-libcilkrts
  32491. @: $(MAKE); $(unstage)
  32492. @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
  32493. r=`${PWD_COMMAND}`; export r; \
  32494. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32495. $(NORMAL_TARGET_EXPORTS) \
  32496. echo "Doing installcheck in $(TARGET_SUBDIR)/libcilkrts" ; \
  32497. for flag in $(EXTRA_TARGET_FLAGS); do \
  32498. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32499. done; \
  32500. (cd $(TARGET_SUBDIR)/libcilkrts && \
  32501. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32502. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32503. "RANLIB=$${RANLIB}" \
  32504. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32505. installcheck) \
  32506. || exit 1
  32507. @endif target-libcilkrts
  32508. .PHONY: maybe-mostlyclean-target-libcilkrts mostlyclean-target-libcilkrts
  32509. maybe-mostlyclean-target-libcilkrts:
  32510. @if target-libcilkrts
  32511. maybe-mostlyclean-target-libcilkrts: mostlyclean-target-libcilkrts
  32512. mostlyclean-target-libcilkrts:
  32513. @: $(MAKE); $(unstage)
  32514. @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
  32515. r=`${PWD_COMMAND}`; export r; \
  32516. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32517. $(NORMAL_TARGET_EXPORTS) \
  32518. echo "Doing mostlyclean in $(TARGET_SUBDIR)/libcilkrts" ; \
  32519. for flag in $(EXTRA_TARGET_FLAGS); do \
  32520. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32521. done; \
  32522. (cd $(TARGET_SUBDIR)/libcilkrts && \
  32523. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32524. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32525. "RANLIB=$${RANLIB}" \
  32526. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32527. mostlyclean) \
  32528. || exit 1
  32529. @endif target-libcilkrts
  32530. .PHONY: maybe-clean-target-libcilkrts clean-target-libcilkrts
  32531. maybe-clean-target-libcilkrts:
  32532. @if target-libcilkrts
  32533. maybe-clean-target-libcilkrts: clean-target-libcilkrts
  32534. clean-target-libcilkrts:
  32535. @: $(MAKE); $(unstage)
  32536. @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
  32537. r=`${PWD_COMMAND}`; export r; \
  32538. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32539. $(NORMAL_TARGET_EXPORTS) \
  32540. echo "Doing clean in $(TARGET_SUBDIR)/libcilkrts" ; \
  32541. for flag in $(EXTRA_TARGET_FLAGS); do \
  32542. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32543. done; \
  32544. (cd $(TARGET_SUBDIR)/libcilkrts && \
  32545. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32546. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32547. "RANLIB=$${RANLIB}" \
  32548. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32549. clean) \
  32550. || exit 1
  32551. @endif target-libcilkrts
  32552. .PHONY: maybe-distclean-target-libcilkrts distclean-target-libcilkrts
  32553. maybe-distclean-target-libcilkrts:
  32554. @if target-libcilkrts
  32555. maybe-distclean-target-libcilkrts: distclean-target-libcilkrts
  32556. distclean-target-libcilkrts:
  32557. @: $(MAKE); $(unstage)
  32558. @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
  32559. r=`${PWD_COMMAND}`; export r; \
  32560. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32561. $(NORMAL_TARGET_EXPORTS) \
  32562. echo "Doing distclean in $(TARGET_SUBDIR)/libcilkrts" ; \
  32563. for flag in $(EXTRA_TARGET_FLAGS); do \
  32564. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32565. done; \
  32566. (cd $(TARGET_SUBDIR)/libcilkrts && \
  32567. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32568. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32569. "RANLIB=$${RANLIB}" \
  32570. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32571. distclean) \
  32572. || exit 1
  32573. @endif target-libcilkrts
  32574. .PHONY: maybe-maintainer-clean-target-libcilkrts maintainer-clean-target-libcilkrts
  32575. maybe-maintainer-clean-target-libcilkrts:
  32576. @if target-libcilkrts
  32577. maybe-maintainer-clean-target-libcilkrts: maintainer-clean-target-libcilkrts
  32578. maintainer-clean-target-libcilkrts:
  32579. @: $(MAKE); $(unstage)
  32580. @[ -f $(TARGET_SUBDIR)/libcilkrts/Makefile ] || exit 0 ; \
  32581. r=`${PWD_COMMAND}`; export r; \
  32582. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32583. $(NORMAL_TARGET_EXPORTS) \
  32584. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libcilkrts" ; \
  32585. for flag in $(EXTRA_TARGET_FLAGS); do \
  32586. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32587. done; \
  32588. (cd $(TARGET_SUBDIR)/libcilkrts && \
  32589. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32590. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32591. "RANLIB=$${RANLIB}" \
  32592. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32593. maintainer-clean) \
  32594. || exit 1
  32595. @endif target-libcilkrts
  32596. .PHONY: configure-target-liboffloadmic maybe-configure-target-liboffloadmic
  32597. maybe-configure-target-liboffloadmic:
  32598. @if gcc-bootstrap
  32599. configure-target-liboffloadmic: stage_current
  32600. @endif gcc-bootstrap
  32601. @if target-liboffloadmic
  32602. maybe-configure-target-liboffloadmic: configure-target-liboffloadmic
  32603. configure-target-liboffloadmic:
  32604. @: $(MAKE); $(unstage)
  32605. @r=`${PWD_COMMAND}`; export r; \
  32606. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32607. echo "Checking multilib configuration for liboffloadmic..."; \
  32608. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic ; \
  32609. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp 2> /dev/null ; \
  32610. if test -r $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
  32611. if cmp -s $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; then \
  32612. rm -f $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp; \
  32613. else \
  32614. rm -f $(TARGET_SUBDIR)/liboffloadmic/Makefile; \
  32615. mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
  32616. fi; \
  32617. else \
  32618. mv $(TARGET_SUBDIR)/liboffloadmic/multilib.tmp $(TARGET_SUBDIR)/liboffloadmic/multilib.out; \
  32619. fi; \
  32620. test ! -f $(TARGET_SUBDIR)/liboffloadmic/Makefile || exit 0; \
  32621. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/liboffloadmic ; \
  32622. $(NORMAL_TARGET_EXPORTS) \
  32623. echo Configuring in $(TARGET_SUBDIR)/liboffloadmic; \
  32624. cd "$(TARGET_SUBDIR)/liboffloadmic" || exit 1; \
  32625. case $(srcdir) in \
  32626. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  32627. *) topdir=`echo $(TARGET_SUBDIR)/liboffloadmic/ | \
  32628. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  32629. esac; \
  32630. module_srcdir=liboffloadmic; \
  32631. rm -f no-such-file || : ; \
  32632. CONFIG_SITE=no-such-file $(SHELL) \
  32633. $$s/$$module_srcdir/configure \
  32634. --srcdir=$${topdir}/$$module_srcdir \
  32635. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  32636. --target=${target_alias} @extra_liboffloadmic_configure_flags@ \
  32637. || exit 1
  32638. @endif target-liboffloadmic
  32639. .PHONY: all-target-liboffloadmic maybe-all-target-liboffloadmic
  32640. maybe-all-target-liboffloadmic:
  32641. @if gcc-bootstrap
  32642. all-target-liboffloadmic: stage_current
  32643. @endif gcc-bootstrap
  32644. @if target-liboffloadmic
  32645. TARGET-target-liboffloadmic=all
  32646. maybe-all-target-liboffloadmic: all-target-liboffloadmic
  32647. all-target-liboffloadmic: configure-target-liboffloadmic
  32648. @: $(MAKE); $(unstage)
  32649. @r=`${PWD_COMMAND}`; export r; \
  32650. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32651. $(NORMAL_TARGET_EXPORTS) \
  32652. (cd $(TARGET_SUBDIR)/liboffloadmic && \
  32653. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  32654. $(TARGET-target-liboffloadmic))
  32655. @endif target-liboffloadmic
  32656. .PHONY: check-target-liboffloadmic maybe-check-target-liboffloadmic
  32657. maybe-check-target-liboffloadmic:
  32658. @if target-liboffloadmic
  32659. maybe-check-target-liboffloadmic: check-target-liboffloadmic
  32660. check-target-liboffloadmic:
  32661. @: $(MAKE); $(unstage)
  32662. @r=`${PWD_COMMAND}`; export r; \
  32663. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32664. $(NORMAL_TARGET_EXPORTS) \
  32665. (cd $(TARGET_SUBDIR)/liboffloadmic && \
  32666. $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
  32667. @endif target-liboffloadmic
  32668. .PHONY: install-target-liboffloadmic maybe-install-target-liboffloadmic
  32669. maybe-install-target-liboffloadmic:
  32670. @if target-liboffloadmic
  32671. maybe-install-target-liboffloadmic: install-target-liboffloadmic
  32672. install-target-liboffloadmic: installdirs
  32673. @: $(MAKE); $(unstage)
  32674. @r=`${PWD_COMMAND}`; export r; \
  32675. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32676. $(NORMAL_TARGET_EXPORTS) \
  32677. (cd $(TARGET_SUBDIR)/liboffloadmic && \
  32678. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  32679. @endif target-liboffloadmic
  32680. .PHONY: install-strip-target-liboffloadmic maybe-install-strip-target-liboffloadmic
  32681. maybe-install-strip-target-liboffloadmic:
  32682. @if target-liboffloadmic
  32683. maybe-install-strip-target-liboffloadmic: install-strip-target-liboffloadmic
  32684. install-strip-target-liboffloadmic: installdirs
  32685. @: $(MAKE); $(unstage)
  32686. @r=`${PWD_COMMAND}`; export r; \
  32687. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32688. $(NORMAL_TARGET_EXPORTS) \
  32689. (cd $(TARGET_SUBDIR)/liboffloadmic && \
  32690. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  32691. @endif target-liboffloadmic
  32692. # Other targets (info, dvi, pdf, etc.)
  32693. .PHONY: maybe-info-target-liboffloadmic info-target-liboffloadmic
  32694. maybe-info-target-liboffloadmic:
  32695. @if target-liboffloadmic
  32696. maybe-info-target-liboffloadmic: info-target-liboffloadmic
  32697. info-target-liboffloadmic: \
  32698. configure-target-liboffloadmic
  32699. @: $(MAKE); $(unstage)
  32700. @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
  32701. r=`${PWD_COMMAND}`; export r; \
  32702. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32703. $(NORMAL_TARGET_EXPORTS) \
  32704. echo "Doing info in $(TARGET_SUBDIR)/liboffloadmic" ; \
  32705. for flag in $(EXTRA_TARGET_FLAGS); do \
  32706. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32707. done; \
  32708. (cd $(TARGET_SUBDIR)/liboffloadmic && \
  32709. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32710. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32711. "RANLIB=$${RANLIB}" \
  32712. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32713. info) \
  32714. || exit 1
  32715. @endif target-liboffloadmic
  32716. .PHONY: maybe-dvi-target-liboffloadmic dvi-target-liboffloadmic
  32717. maybe-dvi-target-liboffloadmic:
  32718. @if target-liboffloadmic
  32719. maybe-dvi-target-liboffloadmic: dvi-target-liboffloadmic
  32720. dvi-target-liboffloadmic: \
  32721. configure-target-liboffloadmic
  32722. @: $(MAKE); $(unstage)
  32723. @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
  32724. r=`${PWD_COMMAND}`; export r; \
  32725. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32726. $(NORMAL_TARGET_EXPORTS) \
  32727. echo "Doing dvi in $(TARGET_SUBDIR)/liboffloadmic" ; \
  32728. for flag in $(EXTRA_TARGET_FLAGS); do \
  32729. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32730. done; \
  32731. (cd $(TARGET_SUBDIR)/liboffloadmic && \
  32732. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32733. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32734. "RANLIB=$${RANLIB}" \
  32735. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32736. dvi) \
  32737. || exit 1
  32738. @endif target-liboffloadmic
  32739. .PHONY: maybe-pdf-target-liboffloadmic pdf-target-liboffloadmic
  32740. maybe-pdf-target-liboffloadmic:
  32741. @if target-liboffloadmic
  32742. maybe-pdf-target-liboffloadmic: pdf-target-liboffloadmic
  32743. pdf-target-liboffloadmic: \
  32744. configure-target-liboffloadmic
  32745. @: $(MAKE); $(unstage)
  32746. @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
  32747. r=`${PWD_COMMAND}`; export r; \
  32748. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32749. $(NORMAL_TARGET_EXPORTS) \
  32750. echo "Doing pdf in $(TARGET_SUBDIR)/liboffloadmic" ; \
  32751. for flag in $(EXTRA_TARGET_FLAGS); do \
  32752. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32753. done; \
  32754. (cd $(TARGET_SUBDIR)/liboffloadmic && \
  32755. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32756. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32757. "RANLIB=$${RANLIB}" \
  32758. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32759. pdf) \
  32760. || exit 1
  32761. @endif target-liboffloadmic
  32762. .PHONY: maybe-html-target-liboffloadmic html-target-liboffloadmic
  32763. maybe-html-target-liboffloadmic:
  32764. @if target-liboffloadmic
  32765. maybe-html-target-liboffloadmic: html-target-liboffloadmic
  32766. html-target-liboffloadmic: \
  32767. configure-target-liboffloadmic
  32768. @: $(MAKE); $(unstage)
  32769. @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
  32770. r=`${PWD_COMMAND}`; export r; \
  32771. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32772. $(NORMAL_TARGET_EXPORTS) \
  32773. echo "Doing html in $(TARGET_SUBDIR)/liboffloadmic" ; \
  32774. for flag in $(EXTRA_TARGET_FLAGS); do \
  32775. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32776. done; \
  32777. (cd $(TARGET_SUBDIR)/liboffloadmic && \
  32778. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32779. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32780. "RANLIB=$${RANLIB}" \
  32781. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32782. html) \
  32783. || exit 1
  32784. @endif target-liboffloadmic
  32785. .PHONY: maybe-TAGS-target-liboffloadmic TAGS-target-liboffloadmic
  32786. maybe-TAGS-target-liboffloadmic:
  32787. @if target-liboffloadmic
  32788. maybe-TAGS-target-liboffloadmic: TAGS-target-liboffloadmic
  32789. TAGS-target-liboffloadmic: \
  32790. configure-target-liboffloadmic
  32791. @: $(MAKE); $(unstage)
  32792. @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
  32793. r=`${PWD_COMMAND}`; export r; \
  32794. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32795. $(NORMAL_TARGET_EXPORTS) \
  32796. echo "Doing TAGS in $(TARGET_SUBDIR)/liboffloadmic" ; \
  32797. for flag in $(EXTRA_TARGET_FLAGS); do \
  32798. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32799. done; \
  32800. (cd $(TARGET_SUBDIR)/liboffloadmic && \
  32801. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32802. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32803. "RANLIB=$${RANLIB}" \
  32804. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32805. TAGS) \
  32806. || exit 1
  32807. @endif target-liboffloadmic
  32808. .PHONY: maybe-install-info-target-liboffloadmic install-info-target-liboffloadmic
  32809. maybe-install-info-target-liboffloadmic:
  32810. @if target-liboffloadmic
  32811. maybe-install-info-target-liboffloadmic: install-info-target-liboffloadmic
  32812. install-info-target-liboffloadmic: \
  32813. configure-target-liboffloadmic \
  32814. info-target-liboffloadmic
  32815. @: $(MAKE); $(unstage)
  32816. @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
  32817. r=`${PWD_COMMAND}`; export r; \
  32818. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32819. $(NORMAL_TARGET_EXPORTS) \
  32820. echo "Doing install-info in $(TARGET_SUBDIR)/liboffloadmic" ; \
  32821. for flag in $(EXTRA_TARGET_FLAGS); do \
  32822. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32823. done; \
  32824. (cd $(TARGET_SUBDIR)/liboffloadmic && \
  32825. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32826. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32827. "RANLIB=$${RANLIB}" \
  32828. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32829. install-info) \
  32830. || exit 1
  32831. @endif target-liboffloadmic
  32832. .PHONY: maybe-install-pdf-target-liboffloadmic install-pdf-target-liboffloadmic
  32833. maybe-install-pdf-target-liboffloadmic:
  32834. @if target-liboffloadmic
  32835. maybe-install-pdf-target-liboffloadmic: install-pdf-target-liboffloadmic
  32836. install-pdf-target-liboffloadmic: \
  32837. configure-target-liboffloadmic \
  32838. pdf-target-liboffloadmic
  32839. @: $(MAKE); $(unstage)
  32840. @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
  32841. r=`${PWD_COMMAND}`; export r; \
  32842. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32843. $(NORMAL_TARGET_EXPORTS) \
  32844. echo "Doing install-pdf in $(TARGET_SUBDIR)/liboffloadmic" ; \
  32845. for flag in $(EXTRA_TARGET_FLAGS); do \
  32846. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32847. done; \
  32848. (cd $(TARGET_SUBDIR)/liboffloadmic && \
  32849. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32850. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32851. "RANLIB=$${RANLIB}" \
  32852. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32853. install-pdf) \
  32854. || exit 1
  32855. @endif target-liboffloadmic
  32856. .PHONY: maybe-install-html-target-liboffloadmic install-html-target-liboffloadmic
  32857. maybe-install-html-target-liboffloadmic:
  32858. @if target-liboffloadmic
  32859. maybe-install-html-target-liboffloadmic: install-html-target-liboffloadmic
  32860. install-html-target-liboffloadmic: \
  32861. configure-target-liboffloadmic \
  32862. html-target-liboffloadmic
  32863. @: $(MAKE); $(unstage)
  32864. @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
  32865. r=`${PWD_COMMAND}`; export r; \
  32866. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32867. $(NORMAL_TARGET_EXPORTS) \
  32868. echo "Doing install-html in $(TARGET_SUBDIR)/liboffloadmic" ; \
  32869. for flag in $(EXTRA_TARGET_FLAGS); do \
  32870. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32871. done; \
  32872. (cd $(TARGET_SUBDIR)/liboffloadmic && \
  32873. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32874. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32875. "RANLIB=$${RANLIB}" \
  32876. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32877. install-html) \
  32878. || exit 1
  32879. @endif target-liboffloadmic
  32880. .PHONY: maybe-installcheck-target-liboffloadmic installcheck-target-liboffloadmic
  32881. maybe-installcheck-target-liboffloadmic:
  32882. @if target-liboffloadmic
  32883. maybe-installcheck-target-liboffloadmic: installcheck-target-liboffloadmic
  32884. installcheck-target-liboffloadmic: \
  32885. configure-target-liboffloadmic
  32886. @: $(MAKE); $(unstage)
  32887. @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
  32888. r=`${PWD_COMMAND}`; export r; \
  32889. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32890. $(NORMAL_TARGET_EXPORTS) \
  32891. echo "Doing installcheck in $(TARGET_SUBDIR)/liboffloadmic" ; \
  32892. for flag in $(EXTRA_TARGET_FLAGS); do \
  32893. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32894. done; \
  32895. (cd $(TARGET_SUBDIR)/liboffloadmic && \
  32896. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32897. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32898. "RANLIB=$${RANLIB}" \
  32899. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32900. installcheck) \
  32901. || exit 1
  32902. @endif target-liboffloadmic
  32903. .PHONY: maybe-mostlyclean-target-liboffloadmic mostlyclean-target-liboffloadmic
  32904. maybe-mostlyclean-target-liboffloadmic:
  32905. @if target-liboffloadmic
  32906. maybe-mostlyclean-target-liboffloadmic: mostlyclean-target-liboffloadmic
  32907. mostlyclean-target-liboffloadmic:
  32908. @: $(MAKE); $(unstage)
  32909. @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
  32910. r=`${PWD_COMMAND}`; export r; \
  32911. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32912. $(NORMAL_TARGET_EXPORTS) \
  32913. echo "Doing mostlyclean in $(TARGET_SUBDIR)/liboffloadmic" ; \
  32914. for flag in $(EXTRA_TARGET_FLAGS); do \
  32915. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32916. done; \
  32917. (cd $(TARGET_SUBDIR)/liboffloadmic && \
  32918. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32919. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32920. "RANLIB=$${RANLIB}" \
  32921. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32922. mostlyclean) \
  32923. || exit 1
  32924. @endif target-liboffloadmic
  32925. .PHONY: maybe-clean-target-liboffloadmic clean-target-liboffloadmic
  32926. maybe-clean-target-liboffloadmic:
  32927. @if target-liboffloadmic
  32928. maybe-clean-target-liboffloadmic: clean-target-liboffloadmic
  32929. clean-target-liboffloadmic:
  32930. @: $(MAKE); $(unstage)
  32931. @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
  32932. r=`${PWD_COMMAND}`; export r; \
  32933. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32934. $(NORMAL_TARGET_EXPORTS) \
  32935. echo "Doing clean in $(TARGET_SUBDIR)/liboffloadmic" ; \
  32936. for flag in $(EXTRA_TARGET_FLAGS); do \
  32937. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32938. done; \
  32939. (cd $(TARGET_SUBDIR)/liboffloadmic && \
  32940. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32941. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32942. "RANLIB=$${RANLIB}" \
  32943. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32944. clean) \
  32945. || exit 1
  32946. @endif target-liboffloadmic
  32947. .PHONY: maybe-distclean-target-liboffloadmic distclean-target-liboffloadmic
  32948. maybe-distclean-target-liboffloadmic:
  32949. @if target-liboffloadmic
  32950. maybe-distclean-target-liboffloadmic: distclean-target-liboffloadmic
  32951. distclean-target-liboffloadmic:
  32952. @: $(MAKE); $(unstage)
  32953. @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
  32954. r=`${PWD_COMMAND}`; export r; \
  32955. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32956. $(NORMAL_TARGET_EXPORTS) \
  32957. echo "Doing distclean in $(TARGET_SUBDIR)/liboffloadmic" ; \
  32958. for flag in $(EXTRA_TARGET_FLAGS); do \
  32959. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32960. done; \
  32961. (cd $(TARGET_SUBDIR)/liboffloadmic && \
  32962. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32963. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32964. "RANLIB=$${RANLIB}" \
  32965. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32966. distclean) \
  32967. || exit 1
  32968. @endif target-liboffloadmic
  32969. .PHONY: maybe-maintainer-clean-target-liboffloadmic maintainer-clean-target-liboffloadmic
  32970. maybe-maintainer-clean-target-liboffloadmic:
  32971. @if target-liboffloadmic
  32972. maybe-maintainer-clean-target-liboffloadmic: maintainer-clean-target-liboffloadmic
  32973. maintainer-clean-target-liboffloadmic:
  32974. @: $(MAKE); $(unstage)
  32975. @[ -f $(TARGET_SUBDIR)/liboffloadmic/Makefile ] || exit 0 ; \
  32976. r=`${PWD_COMMAND}`; export r; \
  32977. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  32978. $(NORMAL_TARGET_EXPORTS) \
  32979. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/liboffloadmic" ; \
  32980. for flag in $(EXTRA_TARGET_FLAGS); do \
  32981. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  32982. done; \
  32983. (cd $(TARGET_SUBDIR)/liboffloadmic && \
  32984. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  32985. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  32986. "RANLIB=$${RANLIB}" \
  32987. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  32988. maintainer-clean) \
  32989. || exit 1
  32990. @endif target-liboffloadmic
  32991. .PHONY: configure-target-libssp maybe-configure-target-libssp
  32992. maybe-configure-target-libssp:
  32993. @if gcc-bootstrap
  32994. configure-target-libssp: stage_current
  32995. @endif gcc-bootstrap
  32996. @if target-libssp
  32997. maybe-configure-target-libssp: configure-target-libssp
  32998. configure-target-libssp:
  32999. @: $(MAKE); $(unstage)
  33000. @r=`${PWD_COMMAND}`; export r; \
  33001. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33002. echo "Checking multilib configuration for libssp..."; \
  33003. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
  33004. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libssp/multilib.tmp 2> /dev/null ; \
  33005. if test -r $(TARGET_SUBDIR)/libssp/multilib.out; then \
  33006. if cmp -s $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; then \
  33007. rm -f $(TARGET_SUBDIR)/libssp/multilib.tmp; \
  33008. else \
  33009. rm -f $(TARGET_SUBDIR)/libssp/Makefile; \
  33010. mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
  33011. fi; \
  33012. else \
  33013. mv $(TARGET_SUBDIR)/libssp/multilib.tmp $(TARGET_SUBDIR)/libssp/multilib.out; \
  33014. fi; \
  33015. test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
  33016. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
  33017. $(NORMAL_TARGET_EXPORTS) \
  33018. echo Configuring in $(TARGET_SUBDIR)/libssp; \
  33019. cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
  33020. case $(srcdir) in \
  33021. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  33022. *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
  33023. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  33024. esac; \
  33025. module_srcdir=libssp; \
  33026. rm -f no-such-file || : ; \
  33027. CONFIG_SITE=no-such-file $(SHELL) \
  33028. $$s/$$module_srcdir/configure \
  33029. --srcdir=$${topdir}/$$module_srcdir \
  33030. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  33031. --target=${target_alias} \
  33032. || exit 1
  33033. @endif target-libssp
  33034. .PHONY: all-target-libssp maybe-all-target-libssp
  33035. maybe-all-target-libssp:
  33036. @if gcc-bootstrap
  33037. all-target-libssp: stage_current
  33038. @endif gcc-bootstrap
  33039. @if target-libssp
  33040. TARGET-target-libssp=all
  33041. maybe-all-target-libssp: all-target-libssp
  33042. all-target-libssp: configure-target-libssp
  33043. @: $(MAKE); $(unstage)
  33044. @r=`${PWD_COMMAND}`; export r; \
  33045. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33046. $(NORMAL_TARGET_EXPORTS) \
  33047. (cd $(TARGET_SUBDIR)/libssp && \
  33048. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  33049. $(TARGET-target-libssp))
  33050. @endif target-libssp
  33051. .PHONY: check-target-libssp maybe-check-target-libssp
  33052. maybe-check-target-libssp:
  33053. @if target-libssp
  33054. maybe-check-target-libssp: check-target-libssp
  33055. check-target-libssp:
  33056. @: $(MAKE); $(unstage)
  33057. @r=`${PWD_COMMAND}`; export r; \
  33058. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33059. $(NORMAL_TARGET_EXPORTS) \
  33060. (cd $(TARGET_SUBDIR)/libssp && \
  33061. $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
  33062. @endif target-libssp
  33063. .PHONY: install-target-libssp maybe-install-target-libssp
  33064. maybe-install-target-libssp:
  33065. @if target-libssp
  33066. maybe-install-target-libssp: install-target-libssp
  33067. install-target-libssp: installdirs
  33068. @: $(MAKE); $(unstage)
  33069. @r=`${PWD_COMMAND}`; export r; \
  33070. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33071. $(NORMAL_TARGET_EXPORTS) \
  33072. (cd $(TARGET_SUBDIR)/libssp && \
  33073. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  33074. @endif target-libssp
  33075. .PHONY: install-strip-target-libssp maybe-install-strip-target-libssp
  33076. maybe-install-strip-target-libssp:
  33077. @if target-libssp
  33078. maybe-install-strip-target-libssp: install-strip-target-libssp
  33079. install-strip-target-libssp: installdirs
  33080. @: $(MAKE); $(unstage)
  33081. @r=`${PWD_COMMAND}`; export r; \
  33082. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33083. $(NORMAL_TARGET_EXPORTS) \
  33084. (cd $(TARGET_SUBDIR)/libssp && \
  33085. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  33086. @endif target-libssp
  33087. # Other targets (info, dvi, pdf, etc.)
  33088. .PHONY: maybe-info-target-libssp info-target-libssp
  33089. maybe-info-target-libssp:
  33090. @if target-libssp
  33091. maybe-info-target-libssp: info-target-libssp
  33092. info-target-libssp: \
  33093. configure-target-libssp
  33094. @: $(MAKE); $(unstage)
  33095. @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
  33096. r=`${PWD_COMMAND}`; export r; \
  33097. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33098. $(NORMAL_TARGET_EXPORTS) \
  33099. echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
  33100. for flag in $(EXTRA_TARGET_FLAGS); do \
  33101. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33102. done; \
  33103. (cd $(TARGET_SUBDIR)/libssp && \
  33104. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33105. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33106. "RANLIB=$${RANLIB}" \
  33107. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33108. info) \
  33109. || exit 1
  33110. @endif target-libssp
  33111. .PHONY: maybe-dvi-target-libssp dvi-target-libssp
  33112. maybe-dvi-target-libssp:
  33113. @if target-libssp
  33114. maybe-dvi-target-libssp: dvi-target-libssp
  33115. dvi-target-libssp: \
  33116. configure-target-libssp
  33117. @: $(MAKE); $(unstage)
  33118. @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
  33119. r=`${PWD_COMMAND}`; export r; \
  33120. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33121. $(NORMAL_TARGET_EXPORTS) \
  33122. echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
  33123. for flag in $(EXTRA_TARGET_FLAGS); do \
  33124. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33125. done; \
  33126. (cd $(TARGET_SUBDIR)/libssp && \
  33127. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33128. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33129. "RANLIB=$${RANLIB}" \
  33130. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33131. dvi) \
  33132. || exit 1
  33133. @endif target-libssp
  33134. .PHONY: maybe-pdf-target-libssp pdf-target-libssp
  33135. maybe-pdf-target-libssp:
  33136. @if target-libssp
  33137. maybe-pdf-target-libssp: pdf-target-libssp
  33138. pdf-target-libssp: \
  33139. configure-target-libssp
  33140. @: $(MAKE); $(unstage)
  33141. @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
  33142. r=`${PWD_COMMAND}`; export r; \
  33143. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33144. $(NORMAL_TARGET_EXPORTS) \
  33145. echo "Doing pdf in $(TARGET_SUBDIR)/libssp" ; \
  33146. for flag in $(EXTRA_TARGET_FLAGS); do \
  33147. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33148. done; \
  33149. (cd $(TARGET_SUBDIR)/libssp && \
  33150. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33151. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33152. "RANLIB=$${RANLIB}" \
  33153. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33154. pdf) \
  33155. || exit 1
  33156. @endif target-libssp
  33157. .PHONY: maybe-html-target-libssp html-target-libssp
  33158. maybe-html-target-libssp:
  33159. @if target-libssp
  33160. maybe-html-target-libssp: html-target-libssp
  33161. html-target-libssp: \
  33162. configure-target-libssp
  33163. @: $(MAKE); $(unstage)
  33164. @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
  33165. r=`${PWD_COMMAND}`; export r; \
  33166. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33167. $(NORMAL_TARGET_EXPORTS) \
  33168. echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
  33169. for flag in $(EXTRA_TARGET_FLAGS); do \
  33170. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33171. done; \
  33172. (cd $(TARGET_SUBDIR)/libssp && \
  33173. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33174. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33175. "RANLIB=$${RANLIB}" \
  33176. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33177. html) \
  33178. || exit 1
  33179. @endif target-libssp
  33180. .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
  33181. maybe-TAGS-target-libssp:
  33182. @if target-libssp
  33183. maybe-TAGS-target-libssp: TAGS-target-libssp
  33184. TAGS-target-libssp: \
  33185. configure-target-libssp
  33186. @: $(MAKE); $(unstage)
  33187. @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
  33188. r=`${PWD_COMMAND}`; export r; \
  33189. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33190. $(NORMAL_TARGET_EXPORTS) \
  33191. echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
  33192. for flag in $(EXTRA_TARGET_FLAGS); do \
  33193. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33194. done; \
  33195. (cd $(TARGET_SUBDIR)/libssp && \
  33196. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33197. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33198. "RANLIB=$${RANLIB}" \
  33199. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33200. TAGS) \
  33201. || exit 1
  33202. @endif target-libssp
  33203. .PHONY: maybe-install-info-target-libssp install-info-target-libssp
  33204. maybe-install-info-target-libssp:
  33205. @if target-libssp
  33206. maybe-install-info-target-libssp: install-info-target-libssp
  33207. install-info-target-libssp: \
  33208. configure-target-libssp \
  33209. info-target-libssp
  33210. @: $(MAKE); $(unstage)
  33211. @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
  33212. r=`${PWD_COMMAND}`; export r; \
  33213. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33214. $(NORMAL_TARGET_EXPORTS) \
  33215. echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
  33216. for flag in $(EXTRA_TARGET_FLAGS); do \
  33217. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33218. done; \
  33219. (cd $(TARGET_SUBDIR)/libssp && \
  33220. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33221. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33222. "RANLIB=$${RANLIB}" \
  33223. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33224. install-info) \
  33225. || exit 1
  33226. @endif target-libssp
  33227. .PHONY: maybe-install-pdf-target-libssp install-pdf-target-libssp
  33228. maybe-install-pdf-target-libssp:
  33229. @if target-libssp
  33230. maybe-install-pdf-target-libssp: install-pdf-target-libssp
  33231. install-pdf-target-libssp: \
  33232. configure-target-libssp \
  33233. pdf-target-libssp
  33234. @: $(MAKE); $(unstage)
  33235. @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
  33236. r=`${PWD_COMMAND}`; export r; \
  33237. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33238. $(NORMAL_TARGET_EXPORTS) \
  33239. echo "Doing install-pdf in $(TARGET_SUBDIR)/libssp" ; \
  33240. for flag in $(EXTRA_TARGET_FLAGS); do \
  33241. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33242. done; \
  33243. (cd $(TARGET_SUBDIR)/libssp && \
  33244. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33245. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33246. "RANLIB=$${RANLIB}" \
  33247. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33248. install-pdf) \
  33249. || exit 1
  33250. @endif target-libssp
  33251. .PHONY: maybe-install-html-target-libssp install-html-target-libssp
  33252. maybe-install-html-target-libssp:
  33253. @if target-libssp
  33254. maybe-install-html-target-libssp: install-html-target-libssp
  33255. install-html-target-libssp: \
  33256. configure-target-libssp \
  33257. html-target-libssp
  33258. @: $(MAKE); $(unstage)
  33259. @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
  33260. r=`${PWD_COMMAND}`; export r; \
  33261. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33262. $(NORMAL_TARGET_EXPORTS) \
  33263. echo "Doing install-html in $(TARGET_SUBDIR)/libssp" ; \
  33264. for flag in $(EXTRA_TARGET_FLAGS); do \
  33265. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33266. done; \
  33267. (cd $(TARGET_SUBDIR)/libssp && \
  33268. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33269. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33270. "RANLIB=$${RANLIB}" \
  33271. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33272. install-html) \
  33273. || exit 1
  33274. @endif target-libssp
  33275. .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
  33276. maybe-installcheck-target-libssp:
  33277. @if target-libssp
  33278. maybe-installcheck-target-libssp: installcheck-target-libssp
  33279. installcheck-target-libssp: \
  33280. configure-target-libssp
  33281. @: $(MAKE); $(unstage)
  33282. @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
  33283. r=`${PWD_COMMAND}`; export r; \
  33284. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33285. $(NORMAL_TARGET_EXPORTS) \
  33286. echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
  33287. for flag in $(EXTRA_TARGET_FLAGS); do \
  33288. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33289. done; \
  33290. (cd $(TARGET_SUBDIR)/libssp && \
  33291. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33292. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33293. "RANLIB=$${RANLIB}" \
  33294. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33295. installcheck) \
  33296. || exit 1
  33297. @endif target-libssp
  33298. .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
  33299. maybe-mostlyclean-target-libssp:
  33300. @if target-libssp
  33301. maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
  33302. mostlyclean-target-libssp:
  33303. @: $(MAKE); $(unstage)
  33304. @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
  33305. r=`${PWD_COMMAND}`; export r; \
  33306. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33307. $(NORMAL_TARGET_EXPORTS) \
  33308. echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
  33309. for flag in $(EXTRA_TARGET_FLAGS); do \
  33310. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33311. done; \
  33312. (cd $(TARGET_SUBDIR)/libssp && \
  33313. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33314. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33315. "RANLIB=$${RANLIB}" \
  33316. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33317. mostlyclean) \
  33318. || exit 1
  33319. @endif target-libssp
  33320. .PHONY: maybe-clean-target-libssp clean-target-libssp
  33321. maybe-clean-target-libssp:
  33322. @if target-libssp
  33323. maybe-clean-target-libssp: clean-target-libssp
  33324. clean-target-libssp:
  33325. @: $(MAKE); $(unstage)
  33326. @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
  33327. r=`${PWD_COMMAND}`; export r; \
  33328. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33329. $(NORMAL_TARGET_EXPORTS) \
  33330. echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
  33331. for flag in $(EXTRA_TARGET_FLAGS); do \
  33332. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33333. done; \
  33334. (cd $(TARGET_SUBDIR)/libssp && \
  33335. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33336. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33337. "RANLIB=$${RANLIB}" \
  33338. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33339. clean) \
  33340. || exit 1
  33341. @endif target-libssp
  33342. .PHONY: maybe-distclean-target-libssp distclean-target-libssp
  33343. maybe-distclean-target-libssp:
  33344. @if target-libssp
  33345. maybe-distclean-target-libssp: distclean-target-libssp
  33346. distclean-target-libssp:
  33347. @: $(MAKE); $(unstage)
  33348. @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
  33349. r=`${PWD_COMMAND}`; export r; \
  33350. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33351. $(NORMAL_TARGET_EXPORTS) \
  33352. echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
  33353. for flag in $(EXTRA_TARGET_FLAGS); do \
  33354. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33355. done; \
  33356. (cd $(TARGET_SUBDIR)/libssp && \
  33357. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33358. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33359. "RANLIB=$${RANLIB}" \
  33360. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33361. distclean) \
  33362. || exit 1
  33363. @endif target-libssp
  33364. .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
  33365. maybe-maintainer-clean-target-libssp:
  33366. @if target-libssp
  33367. maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
  33368. maintainer-clean-target-libssp:
  33369. @: $(MAKE); $(unstage)
  33370. @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
  33371. r=`${PWD_COMMAND}`; export r; \
  33372. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33373. $(NORMAL_TARGET_EXPORTS) \
  33374. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
  33375. for flag in $(EXTRA_TARGET_FLAGS); do \
  33376. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33377. done; \
  33378. (cd $(TARGET_SUBDIR)/libssp && \
  33379. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33380. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33381. "RANLIB=$${RANLIB}" \
  33382. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33383. maintainer-clean) \
  33384. || exit 1
  33385. @endif target-libssp
  33386. .PHONY: configure-target-newlib maybe-configure-target-newlib
  33387. maybe-configure-target-newlib:
  33388. @if gcc-bootstrap
  33389. configure-target-newlib: stage_current
  33390. @endif gcc-bootstrap
  33391. @if target-newlib
  33392. maybe-configure-target-newlib: configure-target-newlib
  33393. configure-target-newlib:
  33394. @: $(MAKE); $(unstage)
  33395. @r=`${PWD_COMMAND}`; export r; \
  33396. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33397. echo "Checking multilib configuration for newlib..."; \
  33398. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
  33399. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/newlib/multilib.tmp 2> /dev/null ; \
  33400. if test -r $(TARGET_SUBDIR)/newlib/multilib.out; then \
  33401. if cmp -s $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; then \
  33402. rm -f $(TARGET_SUBDIR)/newlib/multilib.tmp; \
  33403. else \
  33404. rm -f $(TARGET_SUBDIR)/newlib/Makefile; \
  33405. mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
  33406. fi; \
  33407. else \
  33408. mv $(TARGET_SUBDIR)/newlib/multilib.tmp $(TARGET_SUBDIR)/newlib/multilib.out; \
  33409. fi; \
  33410. test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
  33411. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
  33412. $(NORMAL_TARGET_EXPORTS) \
  33413. echo Configuring in $(TARGET_SUBDIR)/newlib; \
  33414. cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
  33415. case $(srcdir) in \
  33416. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  33417. *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
  33418. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  33419. esac; \
  33420. module_srcdir=newlib; \
  33421. rm -f no-such-file || : ; \
  33422. CONFIG_SITE=no-such-file $(SHELL) \
  33423. $$s/$$module_srcdir/configure \
  33424. --srcdir=$${topdir}/$$module_srcdir \
  33425. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  33426. --target=${target_alias} \
  33427. || exit 1
  33428. @endif target-newlib
  33429. .PHONY: all-target-newlib maybe-all-target-newlib
  33430. maybe-all-target-newlib:
  33431. @if gcc-bootstrap
  33432. all-target-newlib: stage_current
  33433. @endif gcc-bootstrap
  33434. @if target-newlib
  33435. TARGET-target-newlib=all
  33436. maybe-all-target-newlib: all-target-newlib
  33437. all-target-newlib: configure-target-newlib
  33438. @: $(MAKE); $(unstage)
  33439. @r=`${PWD_COMMAND}`; export r; \
  33440. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33441. $(NORMAL_TARGET_EXPORTS) \
  33442. (cd $(TARGET_SUBDIR)/newlib && \
  33443. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  33444. $(TARGET-target-newlib))
  33445. @endif target-newlib
  33446. .PHONY: check-target-newlib maybe-check-target-newlib
  33447. maybe-check-target-newlib:
  33448. @if target-newlib
  33449. maybe-check-target-newlib: check-target-newlib
  33450. check-target-newlib:
  33451. @: $(MAKE); $(unstage)
  33452. @r=`${PWD_COMMAND}`; export r; \
  33453. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33454. $(NORMAL_TARGET_EXPORTS) \
  33455. (cd $(TARGET_SUBDIR)/newlib && \
  33456. $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
  33457. @endif target-newlib
  33458. .PHONY: install-target-newlib maybe-install-target-newlib
  33459. maybe-install-target-newlib:
  33460. @if target-newlib
  33461. maybe-install-target-newlib: install-target-newlib
  33462. install-target-newlib: installdirs
  33463. @: $(MAKE); $(unstage)
  33464. @r=`${PWD_COMMAND}`; export r; \
  33465. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33466. $(NORMAL_TARGET_EXPORTS) \
  33467. (cd $(TARGET_SUBDIR)/newlib && \
  33468. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  33469. @endif target-newlib
  33470. .PHONY: install-strip-target-newlib maybe-install-strip-target-newlib
  33471. maybe-install-strip-target-newlib:
  33472. @if target-newlib
  33473. maybe-install-strip-target-newlib: install-strip-target-newlib
  33474. install-strip-target-newlib: installdirs
  33475. @: $(MAKE); $(unstage)
  33476. @r=`${PWD_COMMAND}`; export r; \
  33477. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33478. $(NORMAL_TARGET_EXPORTS) \
  33479. (cd $(TARGET_SUBDIR)/newlib && \
  33480. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  33481. @endif target-newlib
  33482. # Other targets (info, dvi, pdf, etc.)
  33483. .PHONY: maybe-info-target-newlib info-target-newlib
  33484. maybe-info-target-newlib:
  33485. @if target-newlib
  33486. maybe-info-target-newlib: info-target-newlib
  33487. info-target-newlib: \
  33488. configure-target-newlib
  33489. @: $(MAKE); $(unstage)
  33490. @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
  33491. r=`${PWD_COMMAND}`; export r; \
  33492. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33493. $(NORMAL_TARGET_EXPORTS) \
  33494. echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
  33495. for flag in $(EXTRA_TARGET_FLAGS); do \
  33496. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33497. done; \
  33498. (cd $(TARGET_SUBDIR)/newlib && \
  33499. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33500. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33501. "RANLIB=$${RANLIB}" \
  33502. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33503. info) \
  33504. || exit 1
  33505. @endif target-newlib
  33506. .PHONY: maybe-dvi-target-newlib dvi-target-newlib
  33507. maybe-dvi-target-newlib:
  33508. @if target-newlib
  33509. maybe-dvi-target-newlib: dvi-target-newlib
  33510. dvi-target-newlib: \
  33511. configure-target-newlib
  33512. @: $(MAKE); $(unstage)
  33513. @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
  33514. r=`${PWD_COMMAND}`; export r; \
  33515. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33516. $(NORMAL_TARGET_EXPORTS) \
  33517. echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
  33518. for flag in $(EXTRA_TARGET_FLAGS); do \
  33519. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33520. done; \
  33521. (cd $(TARGET_SUBDIR)/newlib && \
  33522. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33523. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33524. "RANLIB=$${RANLIB}" \
  33525. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33526. dvi) \
  33527. || exit 1
  33528. @endif target-newlib
  33529. .PHONY: maybe-pdf-target-newlib pdf-target-newlib
  33530. maybe-pdf-target-newlib:
  33531. @if target-newlib
  33532. maybe-pdf-target-newlib: pdf-target-newlib
  33533. pdf-target-newlib: \
  33534. configure-target-newlib
  33535. @: $(MAKE); $(unstage)
  33536. @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
  33537. r=`${PWD_COMMAND}`; export r; \
  33538. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33539. $(NORMAL_TARGET_EXPORTS) \
  33540. echo "Doing pdf in $(TARGET_SUBDIR)/newlib" ; \
  33541. for flag in $(EXTRA_TARGET_FLAGS); do \
  33542. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33543. done; \
  33544. (cd $(TARGET_SUBDIR)/newlib && \
  33545. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33546. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33547. "RANLIB=$${RANLIB}" \
  33548. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33549. pdf) \
  33550. || exit 1
  33551. @endif target-newlib
  33552. .PHONY: maybe-html-target-newlib html-target-newlib
  33553. maybe-html-target-newlib:
  33554. @if target-newlib
  33555. maybe-html-target-newlib: html-target-newlib
  33556. html-target-newlib: \
  33557. configure-target-newlib
  33558. @: $(MAKE); $(unstage)
  33559. @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
  33560. r=`${PWD_COMMAND}`; export r; \
  33561. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33562. $(NORMAL_TARGET_EXPORTS) \
  33563. echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
  33564. for flag in $(EXTRA_TARGET_FLAGS); do \
  33565. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33566. done; \
  33567. (cd $(TARGET_SUBDIR)/newlib && \
  33568. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33569. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33570. "RANLIB=$${RANLIB}" \
  33571. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33572. html) \
  33573. || exit 1
  33574. @endif target-newlib
  33575. .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
  33576. maybe-TAGS-target-newlib:
  33577. @if target-newlib
  33578. maybe-TAGS-target-newlib: TAGS-target-newlib
  33579. TAGS-target-newlib: \
  33580. configure-target-newlib
  33581. @: $(MAKE); $(unstage)
  33582. @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
  33583. r=`${PWD_COMMAND}`; export r; \
  33584. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33585. $(NORMAL_TARGET_EXPORTS) \
  33586. echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
  33587. for flag in $(EXTRA_TARGET_FLAGS); do \
  33588. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33589. done; \
  33590. (cd $(TARGET_SUBDIR)/newlib && \
  33591. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33592. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33593. "RANLIB=$${RANLIB}" \
  33594. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33595. TAGS) \
  33596. || exit 1
  33597. @endif target-newlib
  33598. .PHONY: maybe-install-info-target-newlib install-info-target-newlib
  33599. maybe-install-info-target-newlib:
  33600. @if target-newlib
  33601. maybe-install-info-target-newlib: install-info-target-newlib
  33602. install-info-target-newlib: \
  33603. configure-target-newlib \
  33604. info-target-newlib
  33605. @: $(MAKE); $(unstage)
  33606. @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
  33607. r=`${PWD_COMMAND}`; export r; \
  33608. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33609. $(NORMAL_TARGET_EXPORTS) \
  33610. echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
  33611. for flag in $(EXTRA_TARGET_FLAGS); do \
  33612. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33613. done; \
  33614. (cd $(TARGET_SUBDIR)/newlib && \
  33615. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33616. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33617. "RANLIB=$${RANLIB}" \
  33618. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33619. install-info) \
  33620. || exit 1
  33621. @endif target-newlib
  33622. .PHONY: maybe-install-pdf-target-newlib install-pdf-target-newlib
  33623. maybe-install-pdf-target-newlib:
  33624. @if target-newlib
  33625. maybe-install-pdf-target-newlib: install-pdf-target-newlib
  33626. install-pdf-target-newlib: \
  33627. configure-target-newlib \
  33628. pdf-target-newlib
  33629. @: $(MAKE); $(unstage)
  33630. @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
  33631. r=`${PWD_COMMAND}`; export r; \
  33632. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33633. $(NORMAL_TARGET_EXPORTS) \
  33634. echo "Doing install-pdf in $(TARGET_SUBDIR)/newlib" ; \
  33635. for flag in $(EXTRA_TARGET_FLAGS); do \
  33636. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33637. done; \
  33638. (cd $(TARGET_SUBDIR)/newlib && \
  33639. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33640. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33641. "RANLIB=$${RANLIB}" \
  33642. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33643. install-pdf) \
  33644. || exit 1
  33645. @endif target-newlib
  33646. .PHONY: maybe-install-html-target-newlib install-html-target-newlib
  33647. maybe-install-html-target-newlib:
  33648. @if target-newlib
  33649. maybe-install-html-target-newlib: install-html-target-newlib
  33650. install-html-target-newlib: \
  33651. configure-target-newlib \
  33652. html-target-newlib
  33653. @: $(MAKE); $(unstage)
  33654. @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
  33655. r=`${PWD_COMMAND}`; export r; \
  33656. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33657. $(NORMAL_TARGET_EXPORTS) \
  33658. echo "Doing install-html in $(TARGET_SUBDIR)/newlib" ; \
  33659. for flag in $(EXTRA_TARGET_FLAGS); do \
  33660. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33661. done; \
  33662. (cd $(TARGET_SUBDIR)/newlib && \
  33663. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33664. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33665. "RANLIB=$${RANLIB}" \
  33666. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33667. install-html) \
  33668. || exit 1
  33669. @endif target-newlib
  33670. .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
  33671. maybe-installcheck-target-newlib:
  33672. @if target-newlib
  33673. maybe-installcheck-target-newlib: installcheck-target-newlib
  33674. installcheck-target-newlib: \
  33675. configure-target-newlib
  33676. @: $(MAKE); $(unstage)
  33677. @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
  33678. r=`${PWD_COMMAND}`; export r; \
  33679. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33680. $(NORMAL_TARGET_EXPORTS) \
  33681. echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
  33682. for flag in $(EXTRA_TARGET_FLAGS); do \
  33683. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33684. done; \
  33685. (cd $(TARGET_SUBDIR)/newlib && \
  33686. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33687. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33688. "RANLIB=$${RANLIB}" \
  33689. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33690. installcheck) \
  33691. || exit 1
  33692. @endif target-newlib
  33693. .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
  33694. maybe-mostlyclean-target-newlib:
  33695. @if target-newlib
  33696. maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
  33697. mostlyclean-target-newlib:
  33698. @: $(MAKE); $(unstage)
  33699. @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
  33700. r=`${PWD_COMMAND}`; export r; \
  33701. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33702. $(NORMAL_TARGET_EXPORTS) \
  33703. echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
  33704. for flag in $(EXTRA_TARGET_FLAGS); do \
  33705. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33706. done; \
  33707. (cd $(TARGET_SUBDIR)/newlib && \
  33708. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33709. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33710. "RANLIB=$${RANLIB}" \
  33711. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33712. mostlyclean) \
  33713. || exit 1
  33714. @endif target-newlib
  33715. .PHONY: maybe-clean-target-newlib clean-target-newlib
  33716. maybe-clean-target-newlib:
  33717. @if target-newlib
  33718. maybe-clean-target-newlib: clean-target-newlib
  33719. clean-target-newlib:
  33720. @: $(MAKE); $(unstage)
  33721. @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
  33722. r=`${PWD_COMMAND}`; export r; \
  33723. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33724. $(NORMAL_TARGET_EXPORTS) \
  33725. echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
  33726. for flag in $(EXTRA_TARGET_FLAGS); do \
  33727. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33728. done; \
  33729. (cd $(TARGET_SUBDIR)/newlib && \
  33730. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33731. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33732. "RANLIB=$${RANLIB}" \
  33733. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33734. clean) \
  33735. || exit 1
  33736. @endif target-newlib
  33737. .PHONY: maybe-distclean-target-newlib distclean-target-newlib
  33738. maybe-distclean-target-newlib:
  33739. @if target-newlib
  33740. maybe-distclean-target-newlib: distclean-target-newlib
  33741. distclean-target-newlib:
  33742. @: $(MAKE); $(unstage)
  33743. @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
  33744. r=`${PWD_COMMAND}`; export r; \
  33745. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33746. $(NORMAL_TARGET_EXPORTS) \
  33747. echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
  33748. for flag in $(EXTRA_TARGET_FLAGS); do \
  33749. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33750. done; \
  33751. (cd $(TARGET_SUBDIR)/newlib && \
  33752. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33753. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33754. "RANLIB=$${RANLIB}" \
  33755. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33756. distclean) \
  33757. || exit 1
  33758. @endif target-newlib
  33759. .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
  33760. maybe-maintainer-clean-target-newlib:
  33761. @if target-newlib
  33762. maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
  33763. maintainer-clean-target-newlib:
  33764. @: $(MAKE); $(unstage)
  33765. @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
  33766. r=`${PWD_COMMAND}`; export r; \
  33767. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33768. $(NORMAL_TARGET_EXPORTS) \
  33769. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
  33770. for flag in $(EXTRA_TARGET_FLAGS); do \
  33771. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  33772. done; \
  33773. (cd $(TARGET_SUBDIR)/newlib && \
  33774. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  33775. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  33776. "RANLIB=$${RANLIB}" \
  33777. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  33778. maintainer-clean) \
  33779. || exit 1
  33780. @endif target-newlib
  33781. .PHONY: configure-target-libgcc maybe-configure-target-libgcc
  33782. maybe-configure-target-libgcc:
  33783. @if gcc-bootstrap
  33784. configure-target-libgcc: stage_current
  33785. @endif gcc-bootstrap
  33786. @if target-libgcc
  33787. maybe-configure-target-libgcc: configure-target-libgcc
  33788. configure-target-libgcc:
  33789. @r=`${PWD_COMMAND}`; export r; \
  33790. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33791. echo "Checking multilib configuration for libgcc..."; \
  33792. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
  33793. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
  33794. if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
  33795. if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
  33796. rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
  33797. else \
  33798. rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
  33799. mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
  33800. fi; \
  33801. else \
  33802. mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
  33803. fi; \
  33804. test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
  33805. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
  33806. $(NORMAL_TARGET_EXPORTS) \
  33807. echo Configuring in $(TARGET_SUBDIR)/libgcc; \
  33808. cd "$(TARGET_SUBDIR)/libgcc" || exit 1; \
  33809. case $(srcdir) in \
  33810. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  33811. *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
  33812. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  33813. esac; \
  33814. module_srcdir=libgcc; \
  33815. rm -f no-such-file || : ; \
  33816. CONFIG_SITE=no-such-file $(SHELL) \
  33817. $$s/$$module_srcdir/configure \
  33818. --srcdir=$${topdir}/$$module_srcdir \
  33819. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  33820. --target=${target_alias} \
  33821. || exit 1
  33822. @endif target-libgcc
  33823. .PHONY: configure-stage1-target-libgcc maybe-configure-stage1-target-libgcc
  33824. maybe-configure-stage1-target-libgcc:
  33825. @if target-libgcc-bootstrap
  33826. maybe-configure-stage1-target-libgcc: configure-stage1-target-libgcc
  33827. configure-stage1-target-libgcc:
  33828. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  33829. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
  33830. @r=`${PWD_COMMAND}`; export r; \
  33831. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33832. TFLAGS="$(STAGE1_TFLAGS)"; \
  33833. echo "Checking multilib configuration for libgcc..."; \
  33834. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
  33835. if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
  33836. if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
  33837. rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
  33838. else \
  33839. rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
  33840. mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
  33841. fi; \
  33842. else \
  33843. mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
  33844. fi; \
  33845. test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
  33846. $(NORMAL_TARGET_EXPORTS) \
  33847. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  33848. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  33849. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  33850. echo Configuring stage 1 in $(TARGET_SUBDIR)/libgcc ; \
  33851. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
  33852. cd $(TARGET_SUBDIR)/libgcc || exit 1; \
  33853. case $(srcdir) in \
  33854. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  33855. *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
  33856. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  33857. esac; \
  33858. module_srcdir=libgcc; \
  33859. $(SHELL) $$s/$$module_srcdir/configure \
  33860. --srcdir=$${topdir}/$$module_srcdir \
  33861. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  33862. --target=${target_alias} \
  33863. \
  33864. $(STAGE1_CONFIGURE_FLAGS)
  33865. @endif target-libgcc-bootstrap
  33866. .PHONY: configure-stage2-target-libgcc maybe-configure-stage2-target-libgcc
  33867. maybe-configure-stage2-target-libgcc:
  33868. @if target-libgcc-bootstrap
  33869. maybe-configure-stage2-target-libgcc: configure-stage2-target-libgcc
  33870. configure-stage2-target-libgcc:
  33871. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  33872. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
  33873. @r=`${PWD_COMMAND}`; export r; \
  33874. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33875. TFLAGS="$(STAGE2_TFLAGS)"; \
  33876. echo "Checking multilib configuration for libgcc..."; \
  33877. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
  33878. if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
  33879. if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
  33880. rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
  33881. else \
  33882. rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
  33883. mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
  33884. fi; \
  33885. else \
  33886. mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
  33887. fi; \
  33888. test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
  33889. $(NORMAL_TARGET_EXPORTS) \
  33890. \
  33891. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  33892. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  33893. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  33894. echo Configuring stage 2 in $(TARGET_SUBDIR)/libgcc ; \
  33895. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
  33896. cd $(TARGET_SUBDIR)/libgcc || exit 1; \
  33897. case $(srcdir) in \
  33898. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  33899. *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
  33900. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  33901. esac; \
  33902. module_srcdir=libgcc; \
  33903. $(SHELL) $$s/$$module_srcdir/configure \
  33904. --srcdir=$${topdir}/$$module_srcdir \
  33905. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  33906. --target=${target_alias} \
  33907. --with-build-libsubdir=$(HOST_SUBDIR) \
  33908. $(STAGE2_CONFIGURE_FLAGS)
  33909. @endif target-libgcc-bootstrap
  33910. .PHONY: configure-stage3-target-libgcc maybe-configure-stage3-target-libgcc
  33911. maybe-configure-stage3-target-libgcc:
  33912. @if target-libgcc-bootstrap
  33913. maybe-configure-stage3-target-libgcc: configure-stage3-target-libgcc
  33914. configure-stage3-target-libgcc:
  33915. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  33916. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
  33917. @r=`${PWD_COMMAND}`; export r; \
  33918. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33919. TFLAGS="$(STAGE3_TFLAGS)"; \
  33920. echo "Checking multilib configuration for libgcc..."; \
  33921. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
  33922. if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
  33923. if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
  33924. rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
  33925. else \
  33926. rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
  33927. mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
  33928. fi; \
  33929. else \
  33930. mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
  33931. fi; \
  33932. test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
  33933. $(NORMAL_TARGET_EXPORTS) \
  33934. \
  33935. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  33936. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  33937. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  33938. echo Configuring stage 3 in $(TARGET_SUBDIR)/libgcc ; \
  33939. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
  33940. cd $(TARGET_SUBDIR)/libgcc || exit 1; \
  33941. case $(srcdir) in \
  33942. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  33943. *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
  33944. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  33945. esac; \
  33946. module_srcdir=libgcc; \
  33947. $(SHELL) $$s/$$module_srcdir/configure \
  33948. --srcdir=$${topdir}/$$module_srcdir \
  33949. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  33950. --target=${target_alias} \
  33951. --with-build-libsubdir=$(HOST_SUBDIR) \
  33952. $(STAGE3_CONFIGURE_FLAGS)
  33953. @endif target-libgcc-bootstrap
  33954. .PHONY: configure-stage4-target-libgcc maybe-configure-stage4-target-libgcc
  33955. maybe-configure-stage4-target-libgcc:
  33956. @if target-libgcc-bootstrap
  33957. maybe-configure-stage4-target-libgcc: configure-stage4-target-libgcc
  33958. configure-stage4-target-libgcc:
  33959. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  33960. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
  33961. @r=`${PWD_COMMAND}`; export r; \
  33962. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  33963. TFLAGS="$(STAGE4_TFLAGS)"; \
  33964. echo "Checking multilib configuration for libgcc..."; \
  33965. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
  33966. if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
  33967. if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
  33968. rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
  33969. else \
  33970. rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
  33971. mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
  33972. fi; \
  33973. else \
  33974. mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
  33975. fi; \
  33976. test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
  33977. $(NORMAL_TARGET_EXPORTS) \
  33978. \
  33979. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  33980. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  33981. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  33982. echo Configuring stage 4 in $(TARGET_SUBDIR)/libgcc ; \
  33983. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
  33984. cd $(TARGET_SUBDIR)/libgcc || exit 1; \
  33985. case $(srcdir) in \
  33986. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  33987. *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
  33988. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  33989. esac; \
  33990. module_srcdir=libgcc; \
  33991. $(SHELL) $$s/$$module_srcdir/configure \
  33992. --srcdir=$${topdir}/$$module_srcdir \
  33993. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  33994. --target=${target_alias} \
  33995. --with-build-libsubdir=$(HOST_SUBDIR) \
  33996. $(STAGE4_CONFIGURE_FLAGS)
  33997. @endif target-libgcc-bootstrap
  33998. .PHONY: configure-stageprofile-target-libgcc maybe-configure-stageprofile-target-libgcc
  33999. maybe-configure-stageprofile-target-libgcc:
  34000. @if target-libgcc-bootstrap
  34001. maybe-configure-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
  34002. configure-stageprofile-target-libgcc:
  34003. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  34004. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
  34005. @r=`${PWD_COMMAND}`; export r; \
  34006. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34007. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  34008. echo "Checking multilib configuration for libgcc..."; \
  34009. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
  34010. if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
  34011. if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
  34012. rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
  34013. else \
  34014. rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
  34015. mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
  34016. fi; \
  34017. else \
  34018. mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
  34019. fi; \
  34020. test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
  34021. $(NORMAL_TARGET_EXPORTS) \
  34022. \
  34023. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  34024. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  34025. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  34026. echo Configuring stage profile in $(TARGET_SUBDIR)/libgcc ; \
  34027. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
  34028. cd $(TARGET_SUBDIR)/libgcc || exit 1; \
  34029. case $(srcdir) in \
  34030. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  34031. *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
  34032. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  34033. esac; \
  34034. module_srcdir=libgcc; \
  34035. $(SHELL) $$s/$$module_srcdir/configure \
  34036. --srcdir=$${topdir}/$$module_srcdir \
  34037. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  34038. --target=${target_alias} \
  34039. --with-build-libsubdir=$(HOST_SUBDIR) \
  34040. $(STAGEprofile_CONFIGURE_FLAGS)
  34041. @endif target-libgcc-bootstrap
  34042. .PHONY: configure-stagefeedback-target-libgcc maybe-configure-stagefeedback-target-libgcc
  34043. maybe-configure-stagefeedback-target-libgcc:
  34044. @if target-libgcc-bootstrap
  34045. maybe-configure-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
  34046. configure-stagefeedback-target-libgcc:
  34047. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  34048. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc
  34049. @r=`${PWD_COMMAND}`; export r; \
  34050. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34051. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  34052. echo "Checking multilib configuration for libgcc..."; \
  34053. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgcc/multilib.tmp 2> /dev/null ; \
  34054. if test -r $(TARGET_SUBDIR)/libgcc/multilib.out; then \
  34055. if cmp -s $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; then \
  34056. rm -f $(TARGET_SUBDIR)/libgcc/multilib.tmp; \
  34057. else \
  34058. rm -f $(TARGET_SUBDIR)/libgcc/Makefile; \
  34059. mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
  34060. fi; \
  34061. else \
  34062. mv $(TARGET_SUBDIR)/libgcc/multilib.tmp $(TARGET_SUBDIR)/libgcc/multilib.out; \
  34063. fi; \
  34064. test ! -f $(TARGET_SUBDIR)/libgcc/Makefile || exit 0; \
  34065. $(NORMAL_TARGET_EXPORTS) \
  34066. \
  34067. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  34068. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  34069. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  34070. echo Configuring stage feedback in $(TARGET_SUBDIR)/libgcc ; \
  34071. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgcc ; \
  34072. cd $(TARGET_SUBDIR)/libgcc || exit 1; \
  34073. case $(srcdir) in \
  34074. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  34075. *) topdir=`echo $(TARGET_SUBDIR)/libgcc/ | \
  34076. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  34077. esac; \
  34078. module_srcdir=libgcc; \
  34079. $(SHELL) $$s/$$module_srcdir/configure \
  34080. --srcdir=$${topdir}/$$module_srcdir \
  34081. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  34082. --target=${target_alias} \
  34083. --with-build-libsubdir=$(HOST_SUBDIR) \
  34084. $(STAGEfeedback_CONFIGURE_FLAGS)
  34085. @endif target-libgcc-bootstrap
  34086. .PHONY: all-target-libgcc maybe-all-target-libgcc
  34087. maybe-all-target-libgcc:
  34088. @if gcc-bootstrap
  34089. all-target-libgcc: stage_current
  34090. @endif gcc-bootstrap
  34091. @if target-libgcc
  34092. TARGET-target-libgcc=all
  34093. maybe-all-target-libgcc: all-target-libgcc
  34094. all-target-libgcc: configure-target-libgcc
  34095. @r=`${PWD_COMMAND}`; export r; \
  34096. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34097. $(NORMAL_TARGET_EXPORTS) \
  34098. (cd $(TARGET_SUBDIR)/libgcc && \
  34099. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  34100. $(TARGET-target-libgcc))
  34101. @endif target-libgcc
  34102. .PHONY: all-stage1-target-libgcc maybe-all-stage1-target-libgcc
  34103. .PHONY: clean-stage1-target-libgcc maybe-clean-stage1-target-libgcc
  34104. maybe-all-stage1-target-libgcc:
  34105. maybe-clean-stage1-target-libgcc:
  34106. @if target-libgcc-bootstrap
  34107. maybe-all-stage1-target-libgcc: all-stage1-target-libgcc
  34108. all-stage1: all-stage1-target-libgcc
  34109. TARGET-stage1-target-libgcc = $(TARGET-target-libgcc)
  34110. all-stage1-target-libgcc: configure-stage1-target-libgcc
  34111. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  34112. @r=`${PWD_COMMAND}`; export r; \
  34113. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34114. TFLAGS="$(STAGE1_TFLAGS)"; \
  34115. $(NORMAL_TARGET_EXPORTS) \
  34116. cd $(TARGET_SUBDIR)/libgcc && \
  34117. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  34118. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  34119. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  34120. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  34121. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  34122. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  34123. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  34124. $(EXTRA_TARGET_FLAGS) \
  34125. \
  34126. TFLAGS="$(STAGE1_TFLAGS)" \
  34127. $(TARGET-stage1-target-libgcc)
  34128. maybe-clean-stage1-target-libgcc: clean-stage1-target-libgcc
  34129. clean-stage1: clean-stage1-target-libgcc
  34130. clean-stage1-target-libgcc:
  34131. @if [ $(current_stage) = stage1 ]; then \
  34132. [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
  34133. else \
  34134. [ -f $(TARGET_SUBDIR)/stage1-libgcc/Makefile ] || exit 0; \
  34135. $(MAKE) stage1-start; \
  34136. fi; \
  34137. cd $(TARGET_SUBDIR)/libgcc && \
  34138. $(MAKE) $(EXTRA_TARGET_FLAGS) \
  34139. clean
  34140. @endif target-libgcc-bootstrap
  34141. .PHONY: all-stage2-target-libgcc maybe-all-stage2-target-libgcc
  34142. .PHONY: clean-stage2-target-libgcc maybe-clean-stage2-target-libgcc
  34143. maybe-all-stage2-target-libgcc:
  34144. maybe-clean-stage2-target-libgcc:
  34145. @if target-libgcc-bootstrap
  34146. maybe-all-stage2-target-libgcc: all-stage2-target-libgcc
  34147. all-stage2: all-stage2-target-libgcc
  34148. TARGET-stage2-target-libgcc = $(TARGET-target-libgcc)
  34149. all-stage2-target-libgcc: configure-stage2-target-libgcc
  34150. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  34151. @r=`${PWD_COMMAND}`; export r; \
  34152. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34153. TFLAGS="$(STAGE2_TFLAGS)"; \
  34154. $(NORMAL_TARGET_EXPORTS) \
  34155. \
  34156. cd $(TARGET_SUBDIR)/libgcc && \
  34157. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  34158. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  34159. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  34160. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  34161. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  34162. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  34163. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  34164. $(EXTRA_TARGET_FLAGS) \
  34165. TFLAGS="$(STAGE2_TFLAGS)" \
  34166. $(TARGET-stage2-target-libgcc)
  34167. maybe-clean-stage2-target-libgcc: clean-stage2-target-libgcc
  34168. clean-stage2: clean-stage2-target-libgcc
  34169. clean-stage2-target-libgcc:
  34170. @if [ $(current_stage) = stage2 ]; then \
  34171. [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
  34172. else \
  34173. [ -f $(TARGET_SUBDIR)/stage2-libgcc/Makefile ] || exit 0; \
  34174. $(MAKE) stage2-start; \
  34175. fi; \
  34176. cd $(TARGET_SUBDIR)/libgcc && \
  34177. $(MAKE) $(EXTRA_TARGET_FLAGS) clean
  34178. @endif target-libgcc-bootstrap
  34179. .PHONY: all-stage3-target-libgcc maybe-all-stage3-target-libgcc
  34180. .PHONY: clean-stage3-target-libgcc maybe-clean-stage3-target-libgcc
  34181. maybe-all-stage3-target-libgcc:
  34182. maybe-clean-stage3-target-libgcc:
  34183. @if target-libgcc-bootstrap
  34184. maybe-all-stage3-target-libgcc: all-stage3-target-libgcc
  34185. all-stage3: all-stage3-target-libgcc
  34186. TARGET-stage3-target-libgcc = $(TARGET-target-libgcc)
  34187. all-stage3-target-libgcc: configure-stage3-target-libgcc
  34188. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  34189. @r=`${PWD_COMMAND}`; export r; \
  34190. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34191. TFLAGS="$(STAGE3_TFLAGS)"; \
  34192. $(NORMAL_TARGET_EXPORTS) \
  34193. \
  34194. cd $(TARGET_SUBDIR)/libgcc && \
  34195. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  34196. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  34197. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  34198. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  34199. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  34200. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  34201. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  34202. $(EXTRA_TARGET_FLAGS) \
  34203. TFLAGS="$(STAGE3_TFLAGS)" \
  34204. $(TARGET-stage3-target-libgcc)
  34205. maybe-clean-stage3-target-libgcc: clean-stage3-target-libgcc
  34206. clean-stage3: clean-stage3-target-libgcc
  34207. clean-stage3-target-libgcc:
  34208. @if [ $(current_stage) = stage3 ]; then \
  34209. [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
  34210. else \
  34211. [ -f $(TARGET_SUBDIR)/stage3-libgcc/Makefile ] || exit 0; \
  34212. $(MAKE) stage3-start; \
  34213. fi; \
  34214. cd $(TARGET_SUBDIR)/libgcc && \
  34215. $(MAKE) $(EXTRA_TARGET_FLAGS) clean
  34216. @endif target-libgcc-bootstrap
  34217. .PHONY: all-stage4-target-libgcc maybe-all-stage4-target-libgcc
  34218. .PHONY: clean-stage4-target-libgcc maybe-clean-stage4-target-libgcc
  34219. maybe-all-stage4-target-libgcc:
  34220. maybe-clean-stage4-target-libgcc:
  34221. @if target-libgcc-bootstrap
  34222. maybe-all-stage4-target-libgcc: all-stage4-target-libgcc
  34223. all-stage4: all-stage4-target-libgcc
  34224. TARGET-stage4-target-libgcc = $(TARGET-target-libgcc)
  34225. all-stage4-target-libgcc: configure-stage4-target-libgcc
  34226. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  34227. @r=`${PWD_COMMAND}`; export r; \
  34228. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34229. TFLAGS="$(STAGE4_TFLAGS)"; \
  34230. $(NORMAL_TARGET_EXPORTS) \
  34231. \
  34232. cd $(TARGET_SUBDIR)/libgcc && \
  34233. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  34234. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  34235. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  34236. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  34237. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  34238. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  34239. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  34240. $(EXTRA_TARGET_FLAGS) \
  34241. TFLAGS="$(STAGE4_TFLAGS)" \
  34242. $(TARGET-stage4-target-libgcc)
  34243. maybe-clean-stage4-target-libgcc: clean-stage4-target-libgcc
  34244. clean-stage4: clean-stage4-target-libgcc
  34245. clean-stage4-target-libgcc:
  34246. @if [ $(current_stage) = stage4 ]; then \
  34247. [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
  34248. else \
  34249. [ -f $(TARGET_SUBDIR)/stage4-libgcc/Makefile ] || exit 0; \
  34250. $(MAKE) stage4-start; \
  34251. fi; \
  34252. cd $(TARGET_SUBDIR)/libgcc && \
  34253. $(MAKE) $(EXTRA_TARGET_FLAGS) clean
  34254. @endif target-libgcc-bootstrap
  34255. .PHONY: all-stageprofile-target-libgcc maybe-all-stageprofile-target-libgcc
  34256. .PHONY: clean-stageprofile-target-libgcc maybe-clean-stageprofile-target-libgcc
  34257. maybe-all-stageprofile-target-libgcc:
  34258. maybe-clean-stageprofile-target-libgcc:
  34259. @if target-libgcc-bootstrap
  34260. maybe-all-stageprofile-target-libgcc: all-stageprofile-target-libgcc
  34261. all-stageprofile: all-stageprofile-target-libgcc
  34262. TARGET-stageprofile-target-libgcc = $(TARGET-target-libgcc)
  34263. all-stageprofile-target-libgcc: configure-stageprofile-target-libgcc
  34264. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  34265. @r=`${PWD_COMMAND}`; export r; \
  34266. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34267. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  34268. $(NORMAL_TARGET_EXPORTS) \
  34269. \
  34270. cd $(TARGET_SUBDIR)/libgcc && \
  34271. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  34272. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  34273. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  34274. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  34275. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  34276. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  34277. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  34278. $(EXTRA_TARGET_FLAGS) \
  34279. TFLAGS="$(STAGEprofile_TFLAGS)" \
  34280. $(TARGET-stageprofile-target-libgcc)
  34281. maybe-clean-stageprofile-target-libgcc: clean-stageprofile-target-libgcc
  34282. clean-stageprofile: clean-stageprofile-target-libgcc
  34283. clean-stageprofile-target-libgcc:
  34284. @if [ $(current_stage) = stageprofile ]; then \
  34285. [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
  34286. else \
  34287. [ -f $(TARGET_SUBDIR)/stageprofile-libgcc/Makefile ] || exit 0; \
  34288. $(MAKE) stageprofile-start; \
  34289. fi; \
  34290. cd $(TARGET_SUBDIR)/libgcc && \
  34291. $(MAKE) $(EXTRA_TARGET_FLAGS) clean
  34292. @endif target-libgcc-bootstrap
  34293. .PHONY: all-stagefeedback-target-libgcc maybe-all-stagefeedback-target-libgcc
  34294. .PHONY: clean-stagefeedback-target-libgcc maybe-clean-stagefeedback-target-libgcc
  34295. maybe-all-stagefeedback-target-libgcc:
  34296. maybe-clean-stagefeedback-target-libgcc:
  34297. @if target-libgcc-bootstrap
  34298. maybe-all-stagefeedback-target-libgcc: all-stagefeedback-target-libgcc
  34299. all-stagefeedback: all-stagefeedback-target-libgcc
  34300. TARGET-stagefeedback-target-libgcc = $(TARGET-target-libgcc)
  34301. all-stagefeedback-target-libgcc: configure-stagefeedback-target-libgcc
  34302. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  34303. @r=`${PWD_COMMAND}`; export r; \
  34304. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34305. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  34306. $(NORMAL_TARGET_EXPORTS) \
  34307. \
  34308. cd $(TARGET_SUBDIR)/libgcc && \
  34309. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  34310. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  34311. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  34312. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  34313. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  34314. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  34315. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  34316. $(EXTRA_TARGET_FLAGS) \
  34317. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  34318. $(TARGET-stagefeedback-target-libgcc)
  34319. maybe-clean-stagefeedback-target-libgcc: clean-stagefeedback-target-libgcc
  34320. clean-stagefeedback: clean-stagefeedback-target-libgcc
  34321. clean-stagefeedback-target-libgcc:
  34322. @if [ $(current_stage) = stagefeedback ]; then \
  34323. [ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0; \
  34324. else \
  34325. [ -f $(TARGET_SUBDIR)/stagefeedback-libgcc/Makefile ] || exit 0; \
  34326. $(MAKE) stagefeedback-start; \
  34327. fi; \
  34328. cd $(TARGET_SUBDIR)/libgcc && \
  34329. $(MAKE) $(EXTRA_TARGET_FLAGS) clean
  34330. @endif target-libgcc-bootstrap
  34331. .PHONY: check-target-libgcc maybe-check-target-libgcc
  34332. maybe-check-target-libgcc:
  34333. @if target-libgcc
  34334. maybe-check-target-libgcc: check-target-libgcc
  34335. # Dummy target for uncheckable module.
  34336. check-target-libgcc:
  34337. @endif target-libgcc
  34338. .PHONY: install-target-libgcc maybe-install-target-libgcc
  34339. maybe-install-target-libgcc:
  34340. @if target-libgcc
  34341. maybe-install-target-libgcc: install-target-libgcc
  34342. install-target-libgcc: installdirs
  34343. @: $(MAKE); $(unstage)
  34344. @r=`${PWD_COMMAND}`; export r; \
  34345. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34346. $(NORMAL_TARGET_EXPORTS) \
  34347. (cd $(TARGET_SUBDIR)/libgcc && \
  34348. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  34349. @endif target-libgcc
  34350. .PHONY: install-strip-target-libgcc maybe-install-strip-target-libgcc
  34351. maybe-install-strip-target-libgcc:
  34352. @if target-libgcc
  34353. maybe-install-strip-target-libgcc: install-strip-target-libgcc
  34354. install-strip-target-libgcc: installdirs
  34355. @: $(MAKE); $(unstage)
  34356. @r=`${PWD_COMMAND}`; export r; \
  34357. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34358. $(NORMAL_TARGET_EXPORTS) \
  34359. (cd $(TARGET_SUBDIR)/libgcc && \
  34360. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  34361. @endif target-libgcc
  34362. # Other targets (info, dvi, pdf, etc.)
  34363. .PHONY: maybe-info-target-libgcc info-target-libgcc
  34364. maybe-info-target-libgcc:
  34365. @if target-libgcc
  34366. maybe-info-target-libgcc: info-target-libgcc
  34367. info-target-libgcc: \
  34368. configure-target-libgcc
  34369. @: $(MAKE); $(unstage)
  34370. @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
  34371. r=`${PWD_COMMAND}`; export r; \
  34372. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34373. $(NORMAL_TARGET_EXPORTS) \
  34374. echo "Doing info in $(TARGET_SUBDIR)/libgcc" ; \
  34375. for flag in $(EXTRA_TARGET_FLAGS); do \
  34376. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34377. done; \
  34378. (cd $(TARGET_SUBDIR)/libgcc && \
  34379. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34380. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34381. "RANLIB=$${RANLIB}" \
  34382. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34383. info) \
  34384. || exit 1
  34385. @endif target-libgcc
  34386. .PHONY: maybe-dvi-target-libgcc dvi-target-libgcc
  34387. maybe-dvi-target-libgcc:
  34388. @if target-libgcc
  34389. maybe-dvi-target-libgcc: dvi-target-libgcc
  34390. dvi-target-libgcc: \
  34391. configure-target-libgcc
  34392. @: $(MAKE); $(unstage)
  34393. @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
  34394. r=`${PWD_COMMAND}`; export r; \
  34395. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34396. $(NORMAL_TARGET_EXPORTS) \
  34397. echo "Doing dvi in $(TARGET_SUBDIR)/libgcc" ; \
  34398. for flag in $(EXTRA_TARGET_FLAGS); do \
  34399. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34400. done; \
  34401. (cd $(TARGET_SUBDIR)/libgcc && \
  34402. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34403. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34404. "RANLIB=$${RANLIB}" \
  34405. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34406. dvi) \
  34407. || exit 1
  34408. @endif target-libgcc
  34409. .PHONY: maybe-pdf-target-libgcc pdf-target-libgcc
  34410. maybe-pdf-target-libgcc:
  34411. @if target-libgcc
  34412. maybe-pdf-target-libgcc: pdf-target-libgcc
  34413. pdf-target-libgcc: \
  34414. configure-target-libgcc
  34415. @: $(MAKE); $(unstage)
  34416. @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
  34417. r=`${PWD_COMMAND}`; export r; \
  34418. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34419. $(NORMAL_TARGET_EXPORTS) \
  34420. echo "Doing pdf in $(TARGET_SUBDIR)/libgcc" ; \
  34421. for flag in $(EXTRA_TARGET_FLAGS); do \
  34422. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34423. done; \
  34424. (cd $(TARGET_SUBDIR)/libgcc && \
  34425. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34426. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34427. "RANLIB=$${RANLIB}" \
  34428. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34429. pdf) \
  34430. || exit 1
  34431. @endif target-libgcc
  34432. .PHONY: maybe-html-target-libgcc html-target-libgcc
  34433. maybe-html-target-libgcc:
  34434. @if target-libgcc
  34435. maybe-html-target-libgcc: html-target-libgcc
  34436. html-target-libgcc: \
  34437. configure-target-libgcc
  34438. @: $(MAKE); $(unstage)
  34439. @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
  34440. r=`${PWD_COMMAND}`; export r; \
  34441. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34442. $(NORMAL_TARGET_EXPORTS) \
  34443. echo "Doing html in $(TARGET_SUBDIR)/libgcc" ; \
  34444. for flag in $(EXTRA_TARGET_FLAGS); do \
  34445. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34446. done; \
  34447. (cd $(TARGET_SUBDIR)/libgcc && \
  34448. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34449. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34450. "RANLIB=$${RANLIB}" \
  34451. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34452. html) \
  34453. || exit 1
  34454. @endif target-libgcc
  34455. .PHONY: maybe-TAGS-target-libgcc TAGS-target-libgcc
  34456. maybe-TAGS-target-libgcc:
  34457. @if target-libgcc
  34458. maybe-TAGS-target-libgcc: TAGS-target-libgcc
  34459. TAGS-target-libgcc: \
  34460. configure-target-libgcc
  34461. @: $(MAKE); $(unstage)
  34462. @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
  34463. r=`${PWD_COMMAND}`; export r; \
  34464. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34465. $(NORMAL_TARGET_EXPORTS) \
  34466. echo "Doing TAGS in $(TARGET_SUBDIR)/libgcc" ; \
  34467. for flag in $(EXTRA_TARGET_FLAGS); do \
  34468. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34469. done; \
  34470. (cd $(TARGET_SUBDIR)/libgcc && \
  34471. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34472. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34473. "RANLIB=$${RANLIB}" \
  34474. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34475. TAGS) \
  34476. || exit 1
  34477. @endif target-libgcc
  34478. .PHONY: maybe-install-info-target-libgcc install-info-target-libgcc
  34479. maybe-install-info-target-libgcc:
  34480. @if target-libgcc
  34481. maybe-install-info-target-libgcc: install-info-target-libgcc
  34482. install-info-target-libgcc: \
  34483. configure-target-libgcc \
  34484. info-target-libgcc
  34485. @: $(MAKE); $(unstage)
  34486. @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
  34487. r=`${PWD_COMMAND}`; export r; \
  34488. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34489. $(NORMAL_TARGET_EXPORTS) \
  34490. echo "Doing install-info in $(TARGET_SUBDIR)/libgcc" ; \
  34491. for flag in $(EXTRA_TARGET_FLAGS); do \
  34492. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34493. done; \
  34494. (cd $(TARGET_SUBDIR)/libgcc && \
  34495. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34496. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34497. "RANLIB=$${RANLIB}" \
  34498. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34499. install-info) \
  34500. || exit 1
  34501. @endif target-libgcc
  34502. .PHONY: maybe-install-pdf-target-libgcc install-pdf-target-libgcc
  34503. maybe-install-pdf-target-libgcc:
  34504. @if target-libgcc
  34505. maybe-install-pdf-target-libgcc: install-pdf-target-libgcc
  34506. install-pdf-target-libgcc: \
  34507. configure-target-libgcc \
  34508. pdf-target-libgcc
  34509. @: $(MAKE); $(unstage)
  34510. @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
  34511. r=`${PWD_COMMAND}`; export r; \
  34512. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34513. $(NORMAL_TARGET_EXPORTS) \
  34514. echo "Doing install-pdf in $(TARGET_SUBDIR)/libgcc" ; \
  34515. for flag in $(EXTRA_TARGET_FLAGS); do \
  34516. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34517. done; \
  34518. (cd $(TARGET_SUBDIR)/libgcc && \
  34519. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34520. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34521. "RANLIB=$${RANLIB}" \
  34522. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34523. install-pdf) \
  34524. || exit 1
  34525. @endif target-libgcc
  34526. .PHONY: maybe-install-html-target-libgcc install-html-target-libgcc
  34527. maybe-install-html-target-libgcc:
  34528. @if target-libgcc
  34529. maybe-install-html-target-libgcc: install-html-target-libgcc
  34530. install-html-target-libgcc: \
  34531. configure-target-libgcc \
  34532. html-target-libgcc
  34533. @: $(MAKE); $(unstage)
  34534. @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
  34535. r=`${PWD_COMMAND}`; export r; \
  34536. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34537. $(NORMAL_TARGET_EXPORTS) \
  34538. echo "Doing install-html in $(TARGET_SUBDIR)/libgcc" ; \
  34539. for flag in $(EXTRA_TARGET_FLAGS); do \
  34540. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34541. done; \
  34542. (cd $(TARGET_SUBDIR)/libgcc && \
  34543. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34544. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34545. "RANLIB=$${RANLIB}" \
  34546. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34547. install-html) \
  34548. || exit 1
  34549. @endif target-libgcc
  34550. .PHONY: maybe-installcheck-target-libgcc installcheck-target-libgcc
  34551. maybe-installcheck-target-libgcc:
  34552. @if target-libgcc
  34553. maybe-installcheck-target-libgcc: installcheck-target-libgcc
  34554. installcheck-target-libgcc: \
  34555. configure-target-libgcc
  34556. @: $(MAKE); $(unstage)
  34557. @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
  34558. r=`${PWD_COMMAND}`; export r; \
  34559. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34560. $(NORMAL_TARGET_EXPORTS) \
  34561. echo "Doing installcheck in $(TARGET_SUBDIR)/libgcc" ; \
  34562. for flag in $(EXTRA_TARGET_FLAGS); do \
  34563. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34564. done; \
  34565. (cd $(TARGET_SUBDIR)/libgcc && \
  34566. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34567. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34568. "RANLIB=$${RANLIB}" \
  34569. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34570. installcheck) \
  34571. || exit 1
  34572. @endif target-libgcc
  34573. .PHONY: maybe-mostlyclean-target-libgcc mostlyclean-target-libgcc
  34574. maybe-mostlyclean-target-libgcc:
  34575. @if target-libgcc
  34576. maybe-mostlyclean-target-libgcc: mostlyclean-target-libgcc
  34577. mostlyclean-target-libgcc:
  34578. @: $(MAKE); $(unstage)
  34579. @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
  34580. r=`${PWD_COMMAND}`; export r; \
  34581. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34582. $(NORMAL_TARGET_EXPORTS) \
  34583. echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgcc" ; \
  34584. for flag in $(EXTRA_TARGET_FLAGS); do \
  34585. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34586. done; \
  34587. (cd $(TARGET_SUBDIR)/libgcc && \
  34588. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34589. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34590. "RANLIB=$${RANLIB}" \
  34591. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34592. mostlyclean) \
  34593. || exit 1
  34594. @endif target-libgcc
  34595. .PHONY: maybe-clean-target-libgcc clean-target-libgcc
  34596. maybe-clean-target-libgcc:
  34597. @if target-libgcc
  34598. maybe-clean-target-libgcc: clean-target-libgcc
  34599. clean-target-libgcc:
  34600. @: $(MAKE); $(unstage)
  34601. @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
  34602. r=`${PWD_COMMAND}`; export r; \
  34603. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34604. $(NORMAL_TARGET_EXPORTS) \
  34605. echo "Doing clean in $(TARGET_SUBDIR)/libgcc" ; \
  34606. for flag in $(EXTRA_TARGET_FLAGS); do \
  34607. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34608. done; \
  34609. (cd $(TARGET_SUBDIR)/libgcc && \
  34610. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34611. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34612. "RANLIB=$${RANLIB}" \
  34613. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34614. clean) \
  34615. || exit 1
  34616. @endif target-libgcc
  34617. .PHONY: maybe-distclean-target-libgcc distclean-target-libgcc
  34618. maybe-distclean-target-libgcc:
  34619. @if target-libgcc
  34620. maybe-distclean-target-libgcc: distclean-target-libgcc
  34621. distclean-target-libgcc:
  34622. @: $(MAKE); $(unstage)
  34623. @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
  34624. r=`${PWD_COMMAND}`; export r; \
  34625. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34626. $(NORMAL_TARGET_EXPORTS) \
  34627. echo "Doing distclean in $(TARGET_SUBDIR)/libgcc" ; \
  34628. for flag in $(EXTRA_TARGET_FLAGS); do \
  34629. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34630. done; \
  34631. (cd $(TARGET_SUBDIR)/libgcc && \
  34632. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34633. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34634. "RANLIB=$${RANLIB}" \
  34635. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34636. distclean) \
  34637. || exit 1
  34638. @endif target-libgcc
  34639. .PHONY: maybe-maintainer-clean-target-libgcc maintainer-clean-target-libgcc
  34640. maybe-maintainer-clean-target-libgcc:
  34641. @if target-libgcc
  34642. maybe-maintainer-clean-target-libgcc: maintainer-clean-target-libgcc
  34643. maintainer-clean-target-libgcc:
  34644. @: $(MAKE); $(unstage)
  34645. @[ -f $(TARGET_SUBDIR)/libgcc/Makefile ] || exit 0 ; \
  34646. r=`${PWD_COMMAND}`; export r; \
  34647. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34648. $(NORMAL_TARGET_EXPORTS) \
  34649. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgcc" ; \
  34650. for flag in $(EXTRA_TARGET_FLAGS); do \
  34651. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34652. done; \
  34653. (cd $(TARGET_SUBDIR)/libgcc && \
  34654. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34655. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34656. "RANLIB=$${RANLIB}" \
  34657. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34658. maintainer-clean) \
  34659. || exit 1
  34660. @endif target-libgcc
  34661. .PHONY: configure-target-libbacktrace maybe-configure-target-libbacktrace
  34662. maybe-configure-target-libbacktrace:
  34663. @if gcc-bootstrap
  34664. configure-target-libbacktrace: stage_current
  34665. @endif gcc-bootstrap
  34666. @if target-libbacktrace
  34667. maybe-configure-target-libbacktrace: configure-target-libbacktrace
  34668. configure-target-libbacktrace:
  34669. @: $(MAKE); $(unstage)
  34670. @r=`${PWD_COMMAND}`; export r; \
  34671. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34672. echo "Checking multilib configuration for libbacktrace..."; \
  34673. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
  34674. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libbacktrace/multilib.tmp 2> /dev/null ; \
  34675. if test -r $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
  34676. if cmp -s $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; then \
  34677. rm -f $(TARGET_SUBDIR)/libbacktrace/multilib.tmp; \
  34678. else \
  34679. rm -f $(TARGET_SUBDIR)/libbacktrace/Makefile; \
  34680. mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
  34681. fi; \
  34682. else \
  34683. mv $(TARGET_SUBDIR)/libbacktrace/multilib.tmp $(TARGET_SUBDIR)/libbacktrace/multilib.out; \
  34684. fi; \
  34685. test ! -f $(TARGET_SUBDIR)/libbacktrace/Makefile || exit 0; \
  34686. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libbacktrace ; \
  34687. $(NORMAL_TARGET_EXPORTS) \
  34688. echo Configuring in $(TARGET_SUBDIR)/libbacktrace; \
  34689. cd "$(TARGET_SUBDIR)/libbacktrace" || exit 1; \
  34690. case $(srcdir) in \
  34691. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  34692. *) topdir=`echo $(TARGET_SUBDIR)/libbacktrace/ | \
  34693. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  34694. esac; \
  34695. module_srcdir=libbacktrace; \
  34696. rm -f no-such-file || : ; \
  34697. CONFIG_SITE=no-such-file $(SHELL) \
  34698. $$s/$$module_srcdir/configure \
  34699. --srcdir=$${topdir}/$$module_srcdir \
  34700. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  34701. --target=${target_alias} \
  34702. || exit 1
  34703. @endif target-libbacktrace
  34704. .PHONY: all-target-libbacktrace maybe-all-target-libbacktrace
  34705. maybe-all-target-libbacktrace:
  34706. @if gcc-bootstrap
  34707. all-target-libbacktrace: stage_current
  34708. @endif gcc-bootstrap
  34709. @if target-libbacktrace
  34710. TARGET-target-libbacktrace=all
  34711. maybe-all-target-libbacktrace: all-target-libbacktrace
  34712. all-target-libbacktrace: configure-target-libbacktrace
  34713. @: $(MAKE); $(unstage)
  34714. @r=`${PWD_COMMAND}`; export r; \
  34715. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34716. $(NORMAL_TARGET_EXPORTS) \
  34717. (cd $(TARGET_SUBDIR)/libbacktrace && \
  34718. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  34719. $(TARGET-target-libbacktrace))
  34720. @endif target-libbacktrace
  34721. .PHONY: check-target-libbacktrace maybe-check-target-libbacktrace
  34722. maybe-check-target-libbacktrace:
  34723. @if target-libbacktrace
  34724. maybe-check-target-libbacktrace: check-target-libbacktrace
  34725. check-target-libbacktrace:
  34726. @: $(MAKE); $(unstage)
  34727. @r=`${PWD_COMMAND}`; export r; \
  34728. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34729. $(NORMAL_TARGET_EXPORTS) \
  34730. (cd $(TARGET_SUBDIR)/libbacktrace && \
  34731. $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
  34732. @endif target-libbacktrace
  34733. .PHONY: install-target-libbacktrace maybe-install-target-libbacktrace
  34734. maybe-install-target-libbacktrace:
  34735. @if target-libbacktrace
  34736. maybe-install-target-libbacktrace: install-target-libbacktrace
  34737. install-target-libbacktrace: installdirs
  34738. @: $(MAKE); $(unstage)
  34739. @r=`${PWD_COMMAND}`; export r; \
  34740. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34741. $(NORMAL_TARGET_EXPORTS) \
  34742. (cd $(TARGET_SUBDIR)/libbacktrace && \
  34743. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  34744. @endif target-libbacktrace
  34745. .PHONY: install-strip-target-libbacktrace maybe-install-strip-target-libbacktrace
  34746. maybe-install-strip-target-libbacktrace:
  34747. @if target-libbacktrace
  34748. maybe-install-strip-target-libbacktrace: install-strip-target-libbacktrace
  34749. install-strip-target-libbacktrace: installdirs
  34750. @: $(MAKE); $(unstage)
  34751. @r=`${PWD_COMMAND}`; export r; \
  34752. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34753. $(NORMAL_TARGET_EXPORTS) \
  34754. (cd $(TARGET_SUBDIR)/libbacktrace && \
  34755. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  34756. @endif target-libbacktrace
  34757. # Other targets (info, dvi, pdf, etc.)
  34758. .PHONY: maybe-info-target-libbacktrace info-target-libbacktrace
  34759. maybe-info-target-libbacktrace:
  34760. @if target-libbacktrace
  34761. maybe-info-target-libbacktrace: info-target-libbacktrace
  34762. info-target-libbacktrace: \
  34763. configure-target-libbacktrace
  34764. @: $(MAKE); $(unstage)
  34765. @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
  34766. r=`${PWD_COMMAND}`; export r; \
  34767. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34768. $(NORMAL_TARGET_EXPORTS) \
  34769. echo "Doing info in $(TARGET_SUBDIR)/libbacktrace" ; \
  34770. for flag in $(EXTRA_TARGET_FLAGS); do \
  34771. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34772. done; \
  34773. (cd $(TARGET_SUBDIR)/libbacktrace && \
  34774. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34775. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34776. "RANLIB=$${RANLIB}" \
  34777. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34778. info) \
  34779. || exit 1
  34780. @endif target-libbacktrace
  34781. .PHONY: maybe-dvi-target-libbacktrace dvi-target-libbacktrace
  34782. maybe-dvi-target-libbacktrace:
  34783. @if target-libbacktrace
  34784. maybe-dvi-target-libbacktrace: dvi-target-libbacktrace
  34785. dvi-target-libbacktrace: \
  34786. configure-target-libbacktrace
  34787. @: $(MAKE); $(unstage)
  34788. @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
  34789. r=`${PWD_COMMAND}`; export r; \
  34790. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34791. $(NORMAL_TARGET_EXPORTS) \
  34792. echo "Doing dvi in $(TARGET_SUBDIR)/libbacktrace" ; \
  34793. for flag in $(EXTRA_TARGET_FLAGS); do \
  34794. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34795. done; \
  34796. (cd $(TARGET_SUBDIR)/libbacktrace && \
  34797. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34798. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34799. "RANLIB=$${RANLIB}" \
  34800. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34801. dvi) \
  34802. || exit 1
  34803. @endif target-libbacktrace
  34804. .PHONY: maybe-pdf-target-libbacktrace pdf-target-libbacktrace
  34805. maybe-pdf-target-libbacktrace:
  34806. @if target-libbacktrace
  34807. maybe-pdf-target-libbacktrace: pdf-target-libbacktrace
  34808. pdf-target-libbacktrace: \
  34809. configure-target-libbacktrace
  34810. @: $(MAKE); $(unstage)
  34811. @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
  34812. r=`${PWD_COMMAND}`; export r; \
  34813. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34814. $(NORMAL_TARGET_EXPORTS) \
  34815. echo "Doing pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
  34816. for flag in $(EXTRA_TARGET_FLAGS); do \
  34817. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34818. done; \
  34819. (cd $(TARGET_SUBDIR)/libbacktrace && \
  34820. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34821. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34822. "RANLIB=$${RANLIB}" \
  34823. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34824. pdf) \
  34825. || exit 1
  34826. @endif target-libbacktrace
  34827. .PHONY: maybe-html-target-libbacktrace html-target-libbacktrace
  34828. maybe-html-target-libbacktrace:
  34829. @if target-libbacktrace
  34830. maybe-html-target-libbacktrace: html-target-libbacktrace
  34831. html-target-libbacktrace: \
  34832. configure-target-libbacktrace
  34833. @: $(MAKE); $(unstage)
  34834. @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
  34835. r=`${PWD_COMMAND}`; export r; \
  34836. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34837. $(NORMAL_TARGET_EXPORTS) \
  34838. echo "Doing html in $(TARGET_SUBDIR)/libbacktrace" ; \
  34839. for flag in $(EXTRA_TARGET_FLAGS); do \
  34840. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34841. done; \
  34842. (cd $(TARGET_SUBDIR)/libbacktrace && \
  34843. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34844. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34845. "RANLIB=$${RANLIB}" \
  34846. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34847. html) \
  34848. || exit 1
  34849. @endif target-libbacktrace
  34850. .PHONY: maybe-TAGS-target-libbacktrace TAGS-target-libbacktrace
  34851. maybe-TAGS-target-libbacktrace:
  34852. @if target-libbacktrace
  34853. maybe-TAGS-target-libbacktrace: TAGS-target-libbacktrace
  34854. TAGS-target-libbacktrace: \
  34855. configure-target-libbacktrace
  34856. @: $(MAKE); $(unstage)
  34857. @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
  34858. r=`${PWD_COMMAND}`; export r; \
  34859. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34860. $(NORMAL_TARGET_EXPORTS) \
  34861. echo "Doing TAGS in $(TARGET_SUBDIR)/libbacktrace" ; \
  34862. for flag in $(EXTRA_TARGET_FLAGS); do \
  34863. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34864. done; \
  34865. (cd $(TARGET_SUBDIR)/libbacktrace && \
  34866. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34867. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34868. "RANLIB=$${RANLIB}" \
  34869. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34870. TAGS) \
  34871. || exit 1
  34872. @endif target-libbacktrace
  34873. .PHONY: maybe-install-info-target-libbacktrace install-info-target-libbacktrace
  34874. maybe-install-info-target-libbacktrace:
  34875. @if target-libbacktrace
  34876. maybe-install-info-target-libbacktrace: install-info-target-libbacktrace
  34877. install-info-target-libbacktrace: \
  34878. configure-target-libbacktrace \
  34879. info-target-libbacktrace
  34880. @: $(MAKE); $(unstage)
  34881. @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
  34882. r=`${PWD_COMMAND}`; export r; \
  34883. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34884. $(NORMAL_TARGET_EXPORTS) \
  34885. echo "Doing install-info in $(TARGET_SUBDIR)/libbacktrace" ; \
  34886. for flag in $(EXTRA_TARGET_FLAGS); do \
  34887. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34888. done; \
  34889. (cd $(TARGET_SUBDIR)/libbacktrace && \
  34890. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34891. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34892. "RANLIB=$${RANLIB}" \
  34893. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34894. install-info) \
  34895. || exit 1
  34896. @endif target-libbacktrace
  34897. .PHONY: maybe-install-pdf-target-libbacktrace install-pdf-target-libbacktrace
  34898. maybe-install-pdf-target-libbacktrace:
  34899. @if target-libbacktrace
  34900. maybe-install-pdf-target-libbacktrace: install-pdf-target-libbacktrace
  34901. install-pdf-target-libbacktrace: \
  34902. configure-target-libbacktrace \
  34903. pdf-target-libbacktrace
  34904. @: $(MAKE); $(unstage)
  34905. @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
  34906. r=`${PWD_COMMAND}`; export r; \
  34907. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34908. $(NORMAL_TARGET_EXPORTS) \
  34909. echo "Doing install-pdf in $(TARGET_SUBDIR)/libbacktrace" ; \
  34910. for flag in $(EXTRA_TARGET_FLAGS); do \
  34911. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34912. done; \
  34913. (cd $(TARGET_SUBDIR)/libbacktrace && \
  34914. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34915. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34916. "RANLIB=$${RANLIB}" \
  34917. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34918. install-pdf) \
  34919. || exit 1
  34920. @endif target-libbacktrace
  34921. .PHONY: maybe-install-html-target-libbacktrace install-html-target-libbacktrace
  34922. maybe-install-html-target-libbacktrace:
  34923. @if target-libbacktrace
  34924. maybe-install-html-target-libbacktrace: install-html-target-libbacktrace
  34925. install-html-target-libbacktrace: \
  34926. configure-target-libbacktrace \
  34927. html-target-libbacktrace
  34928. @: $(MAKE); $(unstage)
  34929. @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
  34930. r=`${PWD_COMMAND}`; export r; \
  34931. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34932. $(NORMAL_TARGET_EXPORTS) \
  34933. echo "Doing install-html in $(TARGET_SUBDIR)/libbacktrace" ; \
  34934. for flag in $(EXTRA_TARGET_FLAGS); do \
  34935. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34936. done; \
  34937. (cd $(TARGET_SUBDIR)/libbacktrace && \
  34938. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34939. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34940. "RANLIB=$${RANLIB}" \
  34941. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34942. install-html) \
  34943. || exit 1
  34944. @endif target-libbacktrace
  34945. .PHONY: maybe-installcheck-target-libbacktrace installcheck-target-libbacktrace
  34946. maybe-installcheck-target-libbacktrace:
  34947. @if target-libbacktrace
  34948. maybe-installcheck-target-libbacktrace: installcheck-target-libbacktrace
  34949. installcheck-target-libbacktrace: \
  34950. configure-target-libbacktrace
  34951. @: $(MAKE); $(unstage)
  34952. @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
  34953. r=`${PWD_COMMAND}`; export r; \
  34954. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34955. $(NORMAL_TARGET_EXPORTS) \
  34956. echo "Doing installcheck in $(TARGET_SUBDIR)/libbacktrace" ; \
  34957. for flag in $(EXTRA_TARGET_FLAGS); do \
  34958. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34959. done; \
  34960. (cd $(TARGET_SUBDIR)/libbacktrace && \
  34961. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34962. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34963. "RANLIB=$${RANLIB}" \
  34964. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34965. installcheck) \
  34966. || exit 1
  34967. @endif target-libbacktrace
  34968. .PHONY: maybe-mostlyclean-target-libbacktrace mostlyclean-target-libbacktrace
  34969. maybe-mostlyclean-target-libbacktrace:
  34970. @if target-libbacktrace
  34971. maybe-mostlyclean-target-libbacktrace: mostlyclean-target-libbacktrace
  34972. mostlyclean-target-libbacktrace:
  34973. @: $(MAKE); $(unstage)
  34974. @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
  34975. r=`${PWD_COMMAND}`; export r; \
  34976. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34977. $(NORMAL_TARGET_EXPORTS) \
  34978. echo "Doing mostlyclean in $(TARGET_SUBDIR)/libbacktrace" ; \
  34979. for flag in $(EXTRA_TARGET_FLAGS); do \
  34980. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  34981. done; \
  34982. (cd $(TARGET_SUBDIR)/libbacktrace && \
  34983. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  34984. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  34985. "RANLIB=$${RANLIB}" \
  34986. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  34987. mostlyclean) \
  34988. || exit 1
  34989. @endif target-libbacktrace
  34990. .PHONY: maybe-clean-target-libbacktrace clean-target-libbacktrace
  34991. maybe-clean-target-libbacktrace:
  34992. @if target-libbacktrace
  34993. maybe-clean-target-libbacktrace: clean-target-libbacktrace
  34994. clean-target-libbacktrace:
  34995. @: $(MAKE); $(unstage)
  34996. @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
  34997. r=`${PWD_COMMAND}`; export r; \
  34998. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  34999. $(NORMAL_TARGET_EXPORTS) \
  35000. echo "Doing clean in $(TARGET_SUBDIR)/libbacktrace" ; \
  35001. for flag in $(EXTRA_TARGET_FLAGS); do \
  35002. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35003. done; \
  35004. (cd $(TARGET_SUBDIR)/libbacktrace && \
  35005. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35006. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35007. "RANLIB=$${RANLIB}" \
  35008. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35009. clean) \
  35010. || exit 1
  35011. @endif target-libbacktrace
  35012. .PHONY: maybe-distclean-target-libbacktrace distclean-target-libbacktrace
  35013. maybe-distclean-target-libbacktrace:
  35014. @if target-libbacktrace
  35015. maybe-distclean-target-libbacktrace: distclean-target-libbacktrace
  35016. distclean-target-libbacktrace:
  35017. @: $(MAKE); $(unstage)
  35018. @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
  35019. r=`${PWD_COMMAND}`; export r; \
  35020. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35021. $(NORMAL_TARGET_EXPORTS) \
  35022. echo "Doing distclean in $(TARGET_SUBDIR)/libbacktrace" ; \
  35023. for flag in $(EXTRA_TARGET_FLAGS); do \
  35024. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35025. done; \
  35026. (cd $(TARGET_SUBDIR)/libbacktrace && \
  35027. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35028. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35029. "RANLIB=$${RANLIB}" \
  35030. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35031. distclean) \
  35032. || exit 1
  35033. @endif target-libbacktrace
  35034. .PHONY: maybe-maintainer-clean-target-libbacktrace maintainer-clean-target-libbacktrace
  35035. maybe-maintainer-clean-target-libbacktrace:
  35036. @if target-libbacktrace
  35037. maybe-maintainer-clean-target-libbacktrace: maintainer-clean-target-libbacktrace
  35038. maintainer-clean-target-libbacktrace:
  35039. @: $(MAKE); $(unstage)
  35040. @[ -f $(TARGET_SUBDIR)/libbacktrace/Makefile ] || exit 0 ; \
  35041. r=`${PWD_COMMAND}`; export r; \
  35042. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35043. $(NORMAL_TARGET_EXPORTS) \
  35044. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libbacktrace" ; \
  35045. for flag in $(EXTRA_TARGET_FLAGS); do \
  35046. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35047. done; \
  35048. (cd $(TARGET_SUBDIR)/libbacktrace && \
  35049. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35050. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35051. "RANLIB=$${RANLIB}" \
  35052. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35053. maintainer-clean) \
  35054. || exit 1
  35055. @endif target-libbacktrace
  35056. .PHONY: configure-target-libquadmath maybe-configure-target-libquadmath
  35057. maybe-configure-target-libquadmath:
  35058. @if gcc-bootstrap
  35059. configure-target-libquadmath: stage_current
  35060. @endif gcc-bootstrap
  35061. @if target-libquadmath
  35062. maybe-configure-target-libquadmath: configure-target-libquadmath
  35063. configure-target-libquadmath:
  35064. @: $(MAKE); $(unstage)
  35065. @r=`${PWD_COMMAND}`; export r; \
  35066. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35067. echo "Checking multilib configuration for libquadmath..."; \
  35068. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
  35069. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libquadmath/multilib.tmp 2> /dev/null ; \
  35070. if test -r $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
  35071. if cmp -s $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; then \
  35072. rm -f $(TARGET_SUBDIR)/libquadmath/multilib.tmp; \
  35073. else \
  35074. rm -f $(TARGET_SUBDIR)/libquadmath/Makefile; \
  35075. mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
  35076. fi; \
  35077. else \
  35078. mv $(TARGET_SUBDIR)/libquadmath/multilib.tmp $(TARGET_SUBDIR)/libquadmath/multilib.out; \
  35079. fi; \
  35080. test ! -f $(TARGET_SUBDIR)/libquadmath/Makefile || exit 0; \
  35081. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libquadmath ; \
  35082. $(NORMAL_TARGET_EXPORTS) \
  35083. echo Configuring in $(TARGET_SUBDIR)/libquadmath; \
  35084. cd "$(TARGET_SUBDIR)/libquadmath" || exit 1; \
  35085. case $(srcdir) in \
  35086. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  35087. *) topdir=`echo $(TARGET_SUBDIR)/libquadmath/ | \
  35088. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  35089. esac; \
  35090. module_srcdir=libquadmath; \
  35091. rm -f no-such-file || : ; \
  35092. CONFIG_SITE=no-such-file $(SHELL) \
  35093. $$s/$$module_srcdir/configure \
  35094. --srcdir=$${topdir}/$$module_srcdir \
  35095. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  35096. --target=${target_alias} \
  35097. || exit 1
  35098. @endif target-libquadmath
  35099. .PHONY: all-target-libquadmath maybe-all-target-libquadmath
  35100. maybe-all-target-libquadmath:
  35101. @if gcc-bootstrap
  35102. all-target-libquadmath: stage_current
  35103. @endif gcc-bootstrap
  35104. @if target-libquadmath
  35105. TARGET-target-libquadmath=all
  35106. maybe-all-target-libquadmath: all-target-libquadmath
  35107. all-target-libquadmath: configure-target-libquadmath
  35108. @: $(MAKE); $(unstage)
  35109. @r=`${PWD_COMMAND}`; export r; \
  35110. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35111. $(NORMAL_TARGET_EXPORTS) \
  35112. (cd $(TARGET_SUBDIR)/libquadmath && \
  35113. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  35114. $(TARGET-target-libquadmath))
  35115. @endif target-libquadmath
  35116. .PHONY: check-target-libquadmath maybe-check-target-libquadmath
  35117. maybe-check-target-libquadmath:
  35118. @if target-libquadmath
  35119. maybe-check-target-libquadmath: check-target-libquadmath
  35120. check-target-libquadmath:
  35121. @: $(MAKE); $(unstage)
  35122. @r=`${PWD_COMMAND}`; export r; \
  35123. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35124. $(NORMAL_TARGET_EXPORTS) \
  35125. (cd $(TARGET_SUBDIR)/libquadmath && \
  35126. $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
  35127. @endif target-libquadmath
  35128. .PHONY: install-target-libquadmath maybe-install-target-libquadmath
  35129. maybe-install-target-libquadmath:
  35130. @if target-libquadmath
  35131. maybe-install-target-libquadmath: install-target-libquadmath
  35132. install-target-libquadmath: installdirs
  35133. @: $(MAKE); $(unstage)
  35134. @r=`${PWD_COMMAND}`; export r; \
  35135. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35136. $(NORMAL_TARGET_EXPORTS) \
  35137. (cd $(TARGET_SUBDIR)/libquadmath && \
  35138. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  35139. @endif target-libquadmath
  35140. .PHONY: install-strip-target-libquadmath maybe-install-strip-target-libquadmath
  35141. maybe-install-strip-target-libquadmath:
  35142. @if target-libquadmath
  35143. maybe-install-strip-target-libquadmath: install-strip-target-libquadmath
  35144. install-strip-target-libquadmath: installdirs
  35145. @: $(MAKE); $(unstage)
  35146. @r=`${PWD_COMMAND}`; export r; \
  35147. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35148. $(NORMAL_TARGET_EXPORTS) \
  35149. (cd $(TARGET_SUBDIR)/libquadmath && \
  35150. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  35151. @endif target-libquadmath
  35152. # Other targets (info, dvi, pdf, etc.)
  35153. .PHONY: maybe-info-target-libquadmath info-target-libquadmath
  35154. maybe-info-target-libquadmath:
  35155. @if target-libquadmath
  35156. maybe-info-target-libquadmath: info-target-libquadmath
  35157. info-target-libquadmath: \
  35158. configure-target-libquadmath
  35159. @: $(MAKE); $(unstage)
  35160. @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
  35161. r=`${PWD_COMMAND}`; export r; \
  35162. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35163. $(NORMAL_TARGET_EXPORTS) \
  35164. echo "Doing info in $(TARGET_SUBDIR)/libquadmath" ; \
  35165. for flag in $(EXTRA_TARGET_FLAGS); do \
  35166. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35167. done; \
  35168. (cd $(TARGET_SUBDIR)/libquadmath && \
  35169. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35170. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35171. "RANLIB=$${RANLIB}" \
  35172. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35173. info) \
  35174. || exit 1
  35175. @endif target-libquadmath
  35176. .PHONY: maybe-dvi-target-libquadmath dvi-target-libquadmath
  35177. maybe-dvi-target-libquadmath:
  35178. @if target-libquadmath
  35179. maybe-dvi-target-libquadmath: dvi-target-libquadmath
  35180. dvi-target-libquadmath: \
  35181. configure-target-libquadmath
  35182. @: $(MAKE); $(unstage)
  35183. @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
  35184. r=`${PWD_COMMAND}`; export r; \
  35185. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35186. $(NORMAL_TARGET_EXPORTS) \
  35187. echo "Doing dvi in $(TARGET_SUBDIR)/libquadmath" ; \
  35188. for flag in $(EXTRA_TARGET_FLAGS); do \
  35189. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35190. done; \
  35191. (cd $(TARGET_SUBDIR)/libquadmath && \
  35192. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35193. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35194. "RANLIB=$${RANLIB}" \
  35195. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35196. dvi) \
  35197. || exit 1
  35198. @endif target-libquadmath
  35199. .PHONY: maybe-pdf-target-libquadmath pdf-target-libquadmath
  35200. maybe-pdf-target-libquadmath:
  35201. @if target-libquadmath
  35202. maybe-pdf-target-libquadmath: pdf-target-libquadmath
  35203. pdf-target-libquadmath: \
  35204. configure-target-libquadmath
  35205. @: $(MAKE); $(unstage)
  35206. @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
  35207. r=`${PWD_COMMAND}`; export r; \
  35208. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35209. $(NORMAL_TARGET_EXPORTS) \
  35210. echo "Doing pdf in $(TARGET_SUBDIR)/libquadmath" ; \
  35211. for flag in $(EXTRA_TARGET_FLAGS); do \
  35212. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35213. done; \
  35214. (cd $(TARGET_SUBDIR)/libquadmath && \
  35215. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35216. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35217. "RANLIB=$${RANLIB}" \
  35218. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35219. pdf) \
  35220. || exit 1
  35221. @endif target-libquadmath
  35222. .PHONY: maybe-html-target-libquadmath html-target-libquadmath
  35223. maybe-html-target-libquadmath:
  35224. @if target-libquadmath
  35225. maybe-html-target-libquadmath: html-target-libquadmath
  35226. html-target-libquadmath: \
  35227. configure-target-libquadmath
  35228. @: $(MAKE); $(unstage)
  35229. @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
  35230. r=`${PWD_COMMAND}`; export r; \
  35231. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35232. $(NORMAL_TARGET_EXPORTS) \
  35233. echo "Doing html in $(TARGET_SUBDIR)/libquadmath" ; \
  35234. for flag in $(EXTRA_TARGET_FLAGS); do \
  35235. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35236. done; \
  35237. (cd $(TARGET_SUBDIR)/libquadmath && \
  35238. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35239. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35240. "RANLIB=$${RANLIB}" \
  35241. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35242. html) \
  35243. || exit 1
  35244. @endif target-libquadmath
  35245. .PHONY: maybe-TAGS-target-libquadmath TAGS-target-libquadmath
  35246. maybe-TAGS-target-libquadmath:
  35247. @if target-libquadmath
  35248. maybe-TAGS-target-libquadmath: TAGS-target-libquadmath
  35249. TAGS-target-libquadmath: \
  35250. configure-target-libquadmath
  35251. @: $(MAKE); $(unstage)
  35252. @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
  35253. r=`${PWD_COMMAND}`; export r; \
  35254. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35255. $(NORMAL_TARGET_EXPORTS) \
  35256. echo "Doing TAGS in $(TARGET_SUBDIR)/libquadmath" ; \
  35257. for flag in $(EXTRA_TARGET_FLAGS); do \
  35258. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35259. done; \
  35260. (cd $(TARGET_SUBDIR)/libquadmath && \
  35261. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35262. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35263. "RANLIB=$${RANLIB}" \
  35264. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35265. TAGS) \
  35266. || exit 1
  35267. @endif target-libquadmath
  35268. .PHONY: maybe-install-info-target-libquadmath install-info-target-libquadmath
  35269. maybe-install-info-target-libquadmath:
  35270. @if target-libquadmath
  35271. maybe-install-info-target-libquadmath: install-info-target-libquadmath
  35272. install-info-target-libquadmath: \
  35273. configure-target-libquadmath \
  35274. info-target-libquadmath
  35275. @: $(MAKE); $(unstage)
  35276. @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
  35277. r=`${PWD_COMMAND}`; export r; \
  35278. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35279. $(NORMAL_TARGET_EXPORTS) \
  35280. echo "Doing install-info in $(TARGET_SUBDIR)/libquadmath" ; \
  35281. for flag in $(EXTRA_TARGET_FLAGS); do \
  35282. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35283. done; \
  35284. (cd $(TARGET_SUBDIR)/libquadmath && \
  35285. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35286. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35287. "RANLIB=$${RANLIB}" \
  35288. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35289. install-info) \
  35290. || exit 1
  35291. @endif target-libquadmath
  35292. .PHONY: maybe-install-pdf-target-libquadmath install-pdf-target-libquadmath
  35293. maybe-install-pdf-target-libquadmath:
  35294. @if target-libquadmath
  35295. maybe-install-pdf-target-libquadmath: install-pdf-target-libquadmath
  35296. install-pdf-target-libquadmath: \
  35297. configure-target-libquadmath \
  35298. pdf-target-libquadmath
  35299. @: $(MAKE); $(unstage)
  35300. @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
  35301. r=`${PWD_COMMAND}`; export r; \
  35302. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35303. $(NORMAL_TARGET_EXPORTS) \
  35304. echo "Doing install-pdf in $(TARGET_SUBDIR)/libquadmath" ; \
  35305. for flag in $(EXTRA_TARGET_FLAGS); do \
  35306. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35307. done; \
  35308. (cd $(TARGET_SUBDIR)/libquadmath && \
  35309. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35310. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35311. "RANLIB=$${RANLIB}" \
  35312. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35313. install-pdf) \
  35314. || exit 1
  35315. @endif target-libquadmath
  35316. .PHONY: maybe-install-html-target-libquadmath install-html-target-libquadmath
  35317. maybe-install-html-target-libquadmath:
  35318. @if target-libquadmath
  35319. maybe-install-html-target-libquadmath: install-html-target-libquadmath
  35320. install-html-target-libquadmath: \
  35321. configure-target-libquadmath \
  35322. html-target-libquadmath
  35323. @: $(MAKE); $(unstage)
  35324. @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
  35325. r=`${PWD_COMMAND}`; export r; \
  35326. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35327. $(NORMAL_TARGET_EXPORTS) \
  35328. echo "Doing install-html in $(TARGET_SUBDIR)/libquadmath" ; \
  35329. for flag in $(EXTRA_TARGET_FLAGS); do \
  35330. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35331. done; \
  35332. (cd $(TARGET_SUBDIR)/libquadmath && \
  35333. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35334. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35335. "RANLIB=$${RANLIB}" \
  35336. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35337. install-html) \
  35338. || exit 1
  35339. @endif target-libquadmath
  35340. .PHONY: maybe-installcheck-target-libquadmath installcheck-target-libquadmath
  35341. maybe-installcheck-target-libquadmath:
  35342. @if target-libquadmath
  35343. maybe-installcheck-target-libquadmath: installcheck-target-libquadmath
  35344. installcheck-target-libquadmath: \
  35345. configure-target-libquadmath
  35346. @: $(MAKE); $(unstage)
  35347. @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
  35348. r=`${PWD_COMMAND}`; export r; \
  35349. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35350. $(NORMAL_TARGET_EXPORTS) \
  35351. echo "Doing installcheck in $(TARGET_SUBDIR)/libquadmath" ; \
  35352. for flag in $(EXTRA_TARGET_FLAGS); do \
  35353. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35354. done; \
  35355. (cd $(TARGET_SUBDIR)/libquadmath && \
  35356. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35357. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35358. "RANLIB=$${RANLIB}" \
  35359. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35360. installcheck) \
  35361. || exit 1
  35362. @endif target-libquadmath
  35363. .PHONY: maybe-mostlyclean-target-libquadmath mostlyclean-target-libquadmath
  35364. maybe-mostlyclean-target-libquadmath:
  35365. @if target-libquadmath
  35366. maybe-mostlyclean-target-libquadmath: mostlyclean-target-libquadmath
  35367. mostlyclean-target-libquadmath:
  35368. @: $(MAKE); $(unstage)
  35369. @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
  35370. r=`${PWD_COMMAND}`; export r; \
  35371. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35372. $(NORMAL_TARGET_EXPORTS) \
  35373. echo "Doing mostlyclean in $(TARGET_SUBDIR)/libquadmath" ; \
  35374. for flag in $(EXTRA_TARGET_FLAGS); do \
  35375. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35376. done; \
  35377. (cd $(TARGET_SUBDIR)/libquadmath && \
  35378. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35379. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35380. "RANLIB=$${RANLIB}" \
  35381. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35382. mostlyclean) \
  35383. || exit 1
  35384. @endif target-libquadmath
  35385. .PHONY: maybe-clean-target-libquadmath clean-target-libquadmath
  35386. maybe-clean-target-libquadmath:
  35387. @if target-libquadmath
  35388. maybe-clean-target-libquadmath: clean-target-libquadmath
  35389. clean-target-libquadmath:
  35390. @: $(MAKE); $(unstage)
  35391. @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
  35392. r=`${PWD_COMMAND}`; export r; \
  35393. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35394. $(NORMAL_TARGET_EXPORTS) \
  35395. echo "Doing clean in $(TARGET_SUBDIR)/libquadmath" ; \
  35396. for flag in $(EXTRA_TARGET_FLAGS); do \
  35397. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35398. done; \
  35399. (cd $(TARGET_SUBDIR)/libquadmath && \
  35400. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35401. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35402. "RANLIB=$${RANLIB}" \
  35403. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35404. clean) \
  35405. || exit 1
  35406. @endif target-libquadmath
  35407. .PHONY: maybe-distclean-target-libquadmath distclean-target-libquadmath
  35408. maybe-distclean-target-libquadmath:
  35409. @if target-libquadmath
  35410. maybe-distclean-target-libquadmath: distclean-target-libquadmath
  35411. distclean-target-libquadmath:
  35412. @: $(MAKE); $(unstage)
  35413. @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
  35414. r=`${PWD_COMMAND}`; export r; \
  35415. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35416. $(NORMAL_TARGET_EXPORTS) \
  35417. echo "Doing distclean in $(TARGET_SUBDIR)/libquadmath" ; \
  35418. for flag in $(EXTRA_TARGET_FLAGS); do \
  35419. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35420. done; \
  35421. (cd $(TARGET_SUBDIR)/libquadmath && \
  35422. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35423. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35424. "RANLIB=$${RANLIB}" \
  35425. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35426. distclean) \
  35427. || exit 1
  35428. @endif target-libquadmath
  35429. .PHONY: maybe-maintainer-clean-target-libquadmath maintainer-clean-target-libquadmath
  35430. maybe-maintainer-clean-target-libquadmath:
  35431. @if target-libquadmath
  35432. maybe-maintainer-clean-target-libquadmath: maintainer-clean-target-libquadmath
  35433. maintainer-clean-target-libquadmath:
  35434. @: $(MAKE); $(unstage)
  35435. @[ -f $(TARGET_SUBDIR)/libquadmath/Makefile ] || exit 0 ; \
  35436. r=`${PWD_COMMAND}`; export r; \
  35437. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35438. $(NORMAL_TARGET_EXPORTS) \
  35439. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libquadmath" ; \
  35440. for flag in $(EXTRA_TARGET_FLAGS); do \
  35441. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35442. done; \
  35443. (cd $(TARGET_SUBDIR)/libquadmath && \
  35444. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35445. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35446. "RANLIB=$${RANLIB}" \
  35447. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35448. maintainer-clean) \
  35449. || exit 1
  35450. @endif target-libquadmath
  35451. .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
  35452. maybe-configure-target-libgfortran:
  35453. @if gcc-bootstrap
  35454. configure-target-libgfortran: stage_current
  35455. @endif gcc-bootstrap
  35456. @if target-libgfortran
  35457. maybe-configure-target-libgfortran: configure-target-libgfortran
  35458. configure-target-libgfortran:
  35459. @: $(MAKE); $(unstage)
  35460. @r=`${PWD_COMMAND}`; export r; \
  35461. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35462. echo "Checking multilib configuration for libgfortran..."; \
  35463. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
  35464. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgfortran/multilib.tmp 2> /dev/null ; \
  35465. if test -r $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
  35466. if cmp -s $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; then \
  35467. rm -f $(TARGET_SUBDIR)/libgfortran/multilib.tmp; \
  35468. else \
  35469. rm -f $(TARGET_SUBDIR)/libgfortran/Makefile; \
  35470. mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
  35471. fi; \
  35472. else \
  35473. mv $(TARGET_SUBDIR)/libgfortran/multilib.tmp $(TARGET_SUBDIR)/libgfortran/multilib.out; \
  35474. fi; \
  35475. test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
  35476. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
  35477. $(NORMAL_TARGET_EXPORTS) \
  35478. echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
  35479. cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
  35480. case $(srcdir) in \
  35481. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  35482. *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
  35483. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  35484. esac; \
  35485. module_srcdir=libgfortran; \
  35486. rm -f no-such-file || : ; \
  35487. CONFIG_SITE=no-such-file $(SHELL) \
  35488. $$s/$$module_srcdir/configure \
  35489. --srcdir=$${topdir}/$$module_srcdir \
  35490. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  35491. --target=${target_alias} \
  35492. || exit 1
  35493. @endif target-libgfortran
  35494. .PHONY: all-target-libgfortran maybe-all-target-libgfortran
  35495. maybe-all-target-libgfortran:
  35496. @if gcc-bootstrap
  35497. all-target-libgfortran: stage_current
  35498. @endif gcc-bootstrap
  35499. @if target-libgfortran
  35500. TARGET-target-libgfortran=all
  35501. maybe-all-target-libgfortran: all-target-libgfortran
  35502. all-target-libgfortran: configure-target-libgfortran
  35503. @: $(MAKE); $(unstage)
  35504. @r=`${PWD_COMMAND}`; export r; \
  35505. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35506. $(NORMAL_TARGET_EXPORTS) \
  35507. (cd $(TARGET_SUBDIR)/libgfortran && \
  35508. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  35509. $(TARGET-target-libgfortran))
  35510. @endif target-libgfortran
  35511. .PHONY: check-target-libgfortran maybe-check-target-libgfortran
  35512. maybe-check-target-libgfortran:
  35513. @if target-libgfortran
  35514. maybe-check-target-libgfortran: check-target-libgfortran
  35515. check-target-libgfortran:
  35516. @: $(MAKE); $(unstage)
  35517. @r=`${PWD_COMMAND}`; export r; \
  35518. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35519. $(NORMAL_TARGET_EXPORTS) \
  35520. (cd $(TARGET_SUBDIR)/libgfortran && \
  35521. $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
  35522. @endif target-libgfortran
  35523. .PHONY: install-target-libgfortran maybe-install-target-libgfortran
  35524. maybe-install-target-libgfortran:
  35525. @if target-libgfortran
  35526. maybe-install-target-libgfortran: install-target-libgfortran
  35527. install-target-libgfortran: installdirs
  35528. @: $(MAKE); $(unstage)
  35529. @r=`${PWD_COMMAND}`; export r; \
  35530. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35531. $(NORMAL_TARGET_EXPORTS) \
  35532. (cd $(TARGET_SUBDIR)/libgfortran && \
  35533. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  35534. @endif target-libgfortran
  35535. .PHONY: install-strip-target-libgfortran maybe-install-strip-target-libgfortran
  35536. maybe-install-strip-target-libgfortran:
  35537. @if target-libgfortran
  35538. maybe-install-strip-target-libgfortran: install-strip-target-libgfortran
  35539. install-strip-target-libgfortran: installdirs
  35540. @: $(MAKE); $(unstage)
  35541. @r=`${PWD_COMMAND}`; export r; \
  35542. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35543. $(NORMAL_TARGET_EXPORTS) \
  35544. (cd $(TARGET_SUBDIR)/libgfortran && \
  35545. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  35546. @endif target-libgfortran
  35547. # Other targets (info, dvi, pdf, etc.)
  35548. .PHONY: maybe-info-target-libgfortran info-target-libgfortran
  35549. maybe-info-target-libgfortran:
  35550. @if target-libgfortran
  35551. maybe-info-target-libgfortran: info-target-libgfortran
  35552. info-target-libgfortran: \
  35553. configure-target-libgfortran
  35554. @: $(MAKE); $(unstage)
  35555. @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
  35556. r=`${PWD_COMMAND}`; export r; \
  35557. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35558. $(NORMAL_TARGET_EXPORTS) \
  35559. echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
  35560. for flag in $(EXTRA_TARGET_FLAGS); do \
  35561. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35562. done; \
  35563. (cd $(TARGET_SUBDIR)/libgfortran && \
  35564. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35565. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35566. "RANLIB=$${RANLIB}" \
  35567. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35568. info) \
  35569. || exit 1
  35570. @endif target-libgfortran
  35571. .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
  35572. maybe-dvi-target-libgfortran:
  35573. @if target-libgfortran
  35574. maybe-dvi-target-libgfortran: dvi-target-libgfortran
  35575. dvi-target-libgfortran: \
  35576. configure-target-libgfortran
  35577. @: $(MAKE); $(unstage)
  35578. @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
  35579. r=`${PWD_COMMAND}`; export r; \
  35580. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35581. $(NORMAL_TARGET_EXPORTS) \
  35582. echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
  35583. for flag in $(EXTRA_TARGET_FLAGS); do \
  35584. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35585. done; \
  35586. (cd $(TARGET_SUBDIR)/libgfortran && \
  35587. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35588. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35589. "RANLIB=$${RANLIB}" \
  35590. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35591. dvi) \
  35592. || exit 1
  35593. @endif target-libgfortran
  35594. .PHONY: maybe-pdf-target-libgfortran pdf-target-libgfortran
  35595. maybe-pdf-target-libgfortran:
  35596. @if target-libgfortran
  35597. maybe-pdf-target-libgfortran: pdf-target-libgfortran
  35598. pdf-target-libgfortran: \
  35599. configure-target-libgfortran
  35600. @: $(MAKE); $(unstage)
  35601. @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
  35602. r=`${PWD_COMMAND}`; export r; \
  35603. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35604. $(NORMAL_TARGET_EXPORTS) \
  35605. echo "Doing pdf in $(TARGET_SUBDIR)/libgfortran" ; \
  35606. for flag in $(EXTRA_TARGET_FLAGS); do \
  35607. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35608. done; \
  35609. (cd $(TARGET_SUBDIR)/libgfortran && \
  35610. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35611. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35612. "RANLIB=$${RANLIB}" \
  35613. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35614. pdf) \
  35615. || exit 1
  35616. @endif target-libgfortran
  35617. .PHONY: maybe-html-target-libgfortran html-target-libgfortran
  35618. maybe-html-target-libgfortran:
  35619. @if target-libgfortran
  35620. maybe-html-target-libgfortran: html-target-libgfortran
  35621. html-target-libgfortran: \
  35622. configure-target-libgfortran
  35623. @: $(MAKE); $(unstage)
  35624. @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
  35625. r=`${PWD_COMMAND}`; export r; \
  35626. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35627. $(NORMAL_TARGET_EXPORTS) \
  35628. echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
  35629. for flag in $(EXTRA_TARGET_FLAGS); do \
  35630. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35631. done; \
  35632. (cd $(TARGET_SUBDIR)/libgfortran && \
  35633. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35634. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35635. "RANLIB=$${RANLIB}" \
  35636. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35637. html) \
  35638. || exit 1
  35639. @endif target-libgfortran
  35640. .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
  35641. maybe-TAGS-target-libgfortran:
  35642. @if target-libgfortran
  35643. maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
  35644. TAGS-target-libgfortran: \
  35645. configure-target-libgfortran
  35646. @: $(MAKE); $(unstage)
  35647. @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
  35648. r=`${PWD_COMMAND}`; export r; \
  35649. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35650. $(NORMAL_TARGET_EXPORTS) \
  35651. echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
  35652. for flag in $(EXTRA_TARGET_FLAGS); do \
  35653. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35654. done; \
  35655. (cd $(TARGET_SUBDIR)/libgfortran && \
  35656. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35657. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35658. "RANLIB=$${RANLIB}" \
  35659. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35660. TAGS) \
  35661. || exit 1
  35662. @endif target-libgfortran
  35663. .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
  35664. maybe-install-info-target-libgfortran:
  35665. @if target-libgfortran
  35666. maybe-install-info-target-libgfortran: install-info-target-libgfortran
  35667. install-info-target-libgfortran: \
  35668. configure-target-libgfortran \
  35669. info-target-libgfortran
  35670. @: $(MAKE); $(unstage)
  35671. @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
  35672. r=`${PWD_COMMAND}`; export r; \
  35673. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35674. $(NORMAL_TARGET_EXPORTS) \
  35675. echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
  35676. for flag in $(EXTRA_TARGET_FLAGS); do \
  35677. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35678. done; \
  35679. (cd $(TARGET_SUBDIR)/libgfortran && \
  35680. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35681. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35682. "RANLIB=$${RANLIB}" \
  35683. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35684. install-info) \
  35685. || exit 1
  35686. @endif target-libgfortran
  35687. .PHONY: maybe-install-pdf-target-libgfortran install-pdf-target-libgfortran
  35688. maybe-install-pdf-target-libgfortran:
  35689. @if target-libgfortran
  35690. maybe-install-pdf-target-libgfortran: install-pdf-target-libgfortran
  35691. install-pdf-target-libgfortran: \
  35692. configure-target-libgfortran \
  35693. pdf-target-libgfortran
  35694. @: $(MAKE); $(unstage)
  35695. @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
  35696. r=`${PWD_COMMAND}`; export r; \
  35697. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35698. $(NORMAL_TARGET_EXPORTS) \
  35699. echo "Doing install-pdf in $(TARGET_SUBDIR)/libgfortran" ; \
  35700. for flag in $(EXTRA_TARGET_FLAGS); do \
  35701. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35702. done; \
  35703. (cd $(TARGET_SUBDIR)/libgfortran && \
  35704. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35705. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35706. "RANLIB=$${RANLIB}" \
  35707. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35708. install-pdf) \
  35709. || exit 1
  35710. @endif target-libgfortran
  35711. .PHONY: maybe-install-html-target-libgfortran install-html-target-libgfortran
  35712. maybe-install-html-target-libgfortran:
  35713. @if target-libgfortran
  35714. maybe-install-html-target-libgfortran: install-html-target-libgfortran
  35715. install-html-target-libgfortran: \
  35716. configure-target-libgfortran \
  35717. html-target-libgfortran
  35718. @: $(MAKE); $(unstage)
  35719. @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
  35720. r=`${PWD_COMMAND}`; export r; \
  35721. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35722. $(NORMAL_TARGET_EXPORTS) \
  35723. echo "Doing install-html in $(TARGET_SUBDIR)/libgfortran" ; \
  35724. for flag in $(EXTRA_TARGET_FLAGS); do \
  35725. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35726. done; \
  35727. (cd $(TARGET_SUBDIR)/libgfortran && \
  35728. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35729. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35730. "RANLIB=$${RANLIB}" \
  35731. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35732. install-html) \
  35733. || exit 1
  35734. @endif target-libgfortran
  35735. .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
  35736. maybe-installcheck-target-libgfortran:
  35737. @if target-libgfortran
  35738. maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
  35739. installcheck-target-libgfortran: \
  35740. configure-target-libgfortran
  35741. @: $(MAKE); $(unstage)
  35742. @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
  35743. r=`${PWD_COMMAND}`; export r; \
  35744. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35745. $(NORMAL_TARGET_EXPORTS) \
  35746. echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
  35747. for flag in $(EXTRA_TARGET_FLAGS); do \
  35748. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35749. done; \
  35750. (cd $(TARGET_SUBDIR)/libgfortran && \
  35751. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35752. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35753. "RANLIB=$${RANLIB}" \
  35754. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35755. installcheck) \
  35756. || exit 1
  35757. @endif target-libgfortran
  35758. .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
  35759. maybe-mostlyclean-target-libgfortran:
  35760. @if target-libgfortran
  35761. maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
  35762. mostlyclean-target-libgfortran:
  35763. @: $(MAKE); $(unstage)
  35764. @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
  35765. r=`${PWD_COMMAND}`; export r; \
  35766. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35767. $(NORMAL_TARGET_EXPORTS) \
  35768. echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
  35769. for flag in $(EXTRA_TARGET_FLAGS); do \
  35770. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35771. done; \
  35772. (cd $(TARGET_SUBDIR)/libgfortran && \
  35773. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35774. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35775. "RANLIB=$${RANLIB}" \
  35776. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35777. mostlyclean) \
  35778. || exit 1
  35779. @endif target-libgfortran
  35780. .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
  35781. maybe-clean-target-libgfortran:
  35782. @if target-libgfortran
  35783. maybe-clean-target-libgfortran: clean-target-libgfortran
  35784. clean-target-libgfortran:
  35785. @: $(MAKE); $(unstage)
  35786. @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
  35787. r=`${PWD_COMMAND}`; export r; \
  35788. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35789. $(NORMAL_TARGET_EXPORTS) \
  35790. echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
  35791. for flag in $(EXTRA_TARGET_FLAGS); do \
  35792. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35793. done; \
  35794. (cd $(TARGET_SUBDIR)/libgfortran && \
  35795. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35796. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35797. "RANLIB=$${RANLIB}" \
  35798. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35799. clean) \
  35800. || exit 1
  35801. @endif target-libgfortran
  35802. .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
  35803. maybe-distclean-target-libgfortran:
  35804. @if target-libgfortran
  35805. maybe-distclean-target-libgfortran: distclean-target-libgfortran
  35806. distclean-target-libgfortran:
  35807. @: $(MAKE); $(unstage)
  35808. @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
  35809. r=`${PWD_COMMAND}`; export r; \
  35810. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35811. $(NORMAL_TARGET_EXPORTS) \
  35812. echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
  35813. for flag in $(EXTRA_TARGET_FLAGS); do \
  35814. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35815. done; \
  35816. (cd $(TARGET_SUBDIR)/libgfortran && \
  35817. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35818. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35819. "RANLIB=$${RANLIB}" \
  35820. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35821. distclean) \
  35822. || exit 1
  35823. @endif target-libgfortran
  35824. .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
  35825. maybe-maintainer-clean-target-libgfortran:
  35826. @if target-libgfortran
  35827. maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
  35828. maintainer-clean-target-libgfortran:
  35829. @: $(MAKE); $(unstage)
  35830. @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
  35831. r=`${PWD_COMMAND}`; export r; \
  35832. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35833. $(NORMAL_TARGET_EXPORTS) \
  35834. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
  35835. for flag in $(EXTRA_TARGET_FLAGS); do \
  35836. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35837. done; \
  35838. (cd $(TARGET_SUBDIR)/libgfortran && \
  35839. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35840. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35841. "RANLIB=$${RANLIB}" \
  35842. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35843. maintainer-clean) \
  35844. || exit 1
  35845. @endif target-libgfortran
  35846. .PHONY: configure-target-libobjc maybe-configure-target-libobjc
  35847. maybe-configure-target-libobjc:
  35848. @if gcc-bootstrap
  35849. configure-target-libobjc: stage_current
  35850. @endif gcc-bootstrap
  35851. @if target-libobjc
  35852. maybe-configure-target-libobjc: configure-target-libobjc
  35853. configure-target-libobjc:
  35854. @: $(MAKE); $(unstage)
  35855. @r=`${PWD_COMMAND}`; export r; \
  35856. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35857. echo "Checking multilib configuration for libobjc..."; \
  35858. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
  35859. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libobjc/multilib.tmp 2> /dev/null ; \
  35860. if test -r $(TARGET_SUBDIR)/libobjc/multilib.out; then \
  35861. if cmp -s $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; then \
  35862. rm -f $(TARGET_SUBDIR)/libobjc/multilib.tmp; \
  35863. else \
  35864. rm -f $(TARGET_SUBDIR)/libobjc/Makefile; \
  35865. mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
  35866. fi; \
  35867. else \
  35868. mv $(TARGET_SUBDIR)/libobjc/multilib.tmp $(TARGET_SUBDIR)/libobjc/multilib.out; \
  35869. fi; \
  35870. test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
  35871. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
  35872. $(NORMAL_TARGET_EXPORTS) \
  35873. echo Configuring in $(TARGET_SUBDIR)/libobjc; \
  35874. cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
  35875. case $(srcdir) in \
  35876. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  35877. *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
  35878. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  35879. esac; \
  35880. module_srcdir=libobjc; \
  35881. rm -f no-such-file || : ; \
  35882. CONFIG_SITE=no-such-file $(SHELL) \
  35883. $$s/$$module_srcdir/configure \
  35884. --srcdir=$${topdir}/$$module_srcdir \
  35885. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  35886. --target=${target_alias} \
  35887. || exit 1
  35888. @endif target-libobjc
  35889. .PHONY: all-target-libobjc maybe-all-target-libobjc
  35890. maybe-all-target-libobjc:
  35891. @if gcc-bootstrap
  35892. all-target-libobjc: stage_current
  35893. @endif gcc-bootstrap
  35894. @if target-libobjc
  35895. TARGET-target-libobjc=all
  35896. maybe-all-target-libobjc: all-target-libobjc
  35897. all-target-libobjc: configure-target-libobjc
  35898. @: $(MAKE); $(unstage)
  35899. @r=`${PWD_COMMAND}`; export r; \
  35900. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35901. $(NORMAL_TARGET_EXPORTS) \
  35902. (cd $(TARGET_SUBDIR)/libobjc && \
  35903. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  35904. $(TARGET-target-libobjc))
  35905. @endif target-libobjc
  35906. .PHONY: check-target-libobjc maybe-check-target-libobjc
  35907. maybe-check-target-libobjc:
  35908. @if target-libobjc
  35909. maybe-check-target-libobjc: check-target-libobjc
  35910. check-target-libobjc:
  35911. @: $(MAKE); $(unstage)
  35912. @r=`${PWD_COMMAND}`; export r; \
  35913. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35914. $(NORMAL_TARGET_EXPORTS) \
  35915. (cd $(TARGET_SUBDIR)/libobjc && \
  35916. $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
  35917. @endif target-libobjc
  35918. .PHONY: install-target-libobjc maybe-install-target-libobjc
  35919. maybe-install-target-libobjc:
  35920. @if target-libobjc
  35921. maybe-install-target-libobjc: install-target-libobjc
  35922. install-target-libobjc: installdirs
  35923. @: $(MAKE); $(unstage)
  35924. @r=`${PWD_COMMAND}`; export r; \
  35925. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35926. $(NORMAL_TARGET_EXPORTS) \
  35927. (cd $(TARGET_SUBDIR)/libobjc && \
  35928. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  35929. @endif target-libobjc
  35930. .PHONY: install-strip-target-libobjc maybe-install-strip-target-libobjc
  35931. maybe-install-strip-target-libobjc:
  35932. @if target-libobjc
  35933. maybe-install-strip-target-libobjc: install-strip-target-libobjc
  35934. install-strip-target-libobjc: installdirs
  35935. @: $(MAKE); $(unstage)
  35936. @r=`${PWD_COMMAND}`; export r; \
  35937. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35938. $(NORMAL_TARGET_EXPORTS) \
  35939. (cd $(TARGET_SUBDIR)/libobjc && \
  35940. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  35941. @endif target-libobjc
  35942. # Other targets (info, dvi, pdf, etc.)
  35943. .PHONY: maybe-info-target-libobjc info-target-libobjc
  35944. maybe-info-target-libobjc:
  35945. @if target-libobjc
  35946. maybe-info-target-libobjc: info-target-libobjc
  35947. info-target-libobjc: \
  35948. configure-target-libobjc
  35949. @: $(MAKE); $(unstage)
  35950. @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
  35951. r=`${PWD_COMMAND}`; export r; \
  35952. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35953. $(NORMAL_TARGET_EXPORTS) \
  35954. echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
  35955. for flag in $(EXTRA_TARGET_FLAGS); do \
  35956. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35957. done; \
  35958. (cd $(TARGET_SUBDIR)/libobjc && \
  35959. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35960. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35961. "RANLIB=$${RANLIB}" \
  35962. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35963. info) \
  35964. || exit 1
  35965. @endif target-libobjc
  35966. .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
  35967. maybe-dvi-target-libobjc:
  35968. @if target-libobjc
  35969. maybe-dvi-target-libobjc: dvi-target-libobjc
  35970. dvi-target-libobjc: \
  35971. configure-target-libobjc
  35972. @: $(MAKE); $(unstage)
  35973. @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
  35974. r=`${PWD_COMMAND}`; export r; \
  35975. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35976. $(NORMAL_TARGET_EXPORTS) \
  35977. echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
  35978. for flag in $(EXTRA_TARGET_FLAGS); do \
  35979. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  35980. done; \
  35981. (cd $(TARGET_SUBDIR)/libobjc && \
  35982. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  35983. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  35984. "RANLIB=$${RANLIB}" \
  35985. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  35986. dvi) \
  35987. || exit 1
  35988. @endif target-libobjc
  35989. .PHONY: maybe-pdf-target-libobjc pdf-target-libobjc
  35990. maybe-pdf-target-libobjc:
  35991. @if target-libobjc
  35992. maybe-pdf-target-libobjc: pdf-target-libobjc
  35993. pdf-target-libobjc: \
  35994. configure-target-libobjc
  35995. @: $(MAKE); $(unstage)
  35996. @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
  35997. r=`${PWD_COMMAND}`; export r; \
  35998. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  35999. $(NORMAL_TARGET_EXPORTS) \
  36000. echo "Doing pdf in $(TARGET_SUBDIR)/libobjc" ; \
  36001. for flag in $(EXTRA_TARGET_FLAGS); do \
  36002. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36003. done; \
  36004. (cd $(TARGET_SUBDIR)/libobjc && \
  36005. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36006. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36007. "RANLIB=$${RANLIB}" \
  36008. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36009. pdf) \
  36010. || exit 1
  36011. @endif target-libobjc
  36012. .PHONY: maybe-html-target-libobjc html-target-libobjc
  36013. maybe-html-target-libobjc:
  36014. @if target-libobjc
  36015. maybe-html-target-libobjc: html-target-libobjc
  36016. html-target-libobjc: \
  36017. configure-target-libobjc
  36018. @: $(MAKE); $(unstage)
  36019. @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
  36020. r=`${PWD_COMMAND}`; export r; \
  36021. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36022. $(NORMAL_TARGET_EXPORTS) \
  36023. echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
  36024. for flag in $(EXTRA_TARGET_FLAGS); do \
  36025. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36026. done; \
  36027. (cd $(TARGET_SUBDIR)/libobjc && \
  36028. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36029. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36030. "RANLIB=$${RANLIB}" \
  36031. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36032. html) \
  36033. || exit 1
  36034. @endif target-libobjc
  36035. .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
  36036. maybe-TAGS-target-libobjc:
  36037. @if target-libobjc
  36038. maybe-TAGS-target-libobjc: TAGS-target-libobjc
  36039. TAGS-target-libobjc: \
  36040. configure-target-libobjc
  36041. @: $(MAKE); $(unstage)
  36042. @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
  36043. r=`${PWD_COMMAND}`; export r; \
  36044. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36045. $(NORMAL_TARGET_EXPORTS) \
  36046. echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
  36047. for flag in $(EXTRA_TARGET_FLAGS); do \
  36048. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36049. done; \
  36050. (cd $(TARGET_SUBDIR)/libobjc && \
  36051. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36052. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36053. "RANLIB=$${RANLIB}" \
  36054. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36055. TAGS) \
  36056. || exit 1
  36057. @endif target-libobjc
  36058. .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
  36059. maybe-install-info-target-libobjc:
  36060. @if target-libobjc
  36061. maybe-install-info-target-libobjc: install-info-target-libobjc
  36062. install-info-target-libobjc: \
  36063. configure-target-libobjc \
  36064. info-target-libobjc
  36065. @: $(MAKE); $(unstage)
  36066. @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
  36067. r=`${PWD_COMMAND}`; export r; \
  36068. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36069. $(NORMAL_TARGET_EXPORTS) \
  36070. echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
  36071. for flag in $(EXTRA_TARGET_FLAGS); do \
  36072. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36073. done; \
  36074. (cd $(TARGET_SUBDIR)/libobjc && \
  36075. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36076. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36077. "RANLIB=$${RANLIB}" \
  36078. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36079. install-info) \
  36080. || exit 1
  36081. @endif target-libobjc
  36082. .PHONY: maybe-install-pdf-target-libobjc install-pdf-target-libobjc
  36083. maybe-install-pdf-target-libobjc:
  36084. @if target-libobjc
  36085. maybe-install-pdf-target-libobjc: install-pdf-target-libobjc
  36086. install-pdf-target-libobjc: \
  36087. configure-target-libobjc \
  36088. pdf-target-libobjc
  36089. @: $(MAKE); $(unstage)
  36090. @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
  36091. r=`${PWD_COMMAND}`; export r; \
  36092. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36093. $(NORMAL_TARGET_EXPORTS) \
  36094. echo "Doing install-pdf in $(TARGET_SUBDIR)/libobjc" ; \
  36095. for flag in $(EXTRA_TARGET_FLAGS); do \
  36096. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36097. done; \
  36098. (cd $(TARGET_SUBDIR)/libobjc && \
  36099. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36100. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36101. "RANLIB=$${RANLIB}" \
  36102. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36103. install-pdf) \
  36104. || exit 1
  36105. @endif target-libobjc
  36106. .PHONY: maybe-install-html-target-libobjc install-html-target-libobjc
  36107. maybe-install-html-target-libobjc:
  36108. @if target-libobjc
  36109. maybe-install-html-target-libobjc: install-html-target-libobjc
  36110. install-html-target-libobjc: \
  36111. configure-target-libobjc \
  36112. html-target-libobjc
  36113. @: $(MAKE); $(unstage)
  36114. @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
  36115. r=`${PWD_COMMAND}`; export r; \
  36116. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36117. $(NORMAL_TARGET_EXPORTS) \
  36118. echo "Doing install-html in $(TARGET_SUBDIR)/libobjc" ; \
  36119. for flag in $(EXTRA_TARGET_FLAGS); do \
  36120. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36121. done; \
  36122. (cd $(TARGET_SUBDIR)/libobjc && \
  36123. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36124. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36125. "RANLIB=$${RANLIB}" \
  36126. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36127. install-html) \
  36128. || exit 1
  36129. @endif target-libobjc
  36130. .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
  36131. maybe-installcheck-target-libobjc:
  36132. @if target-libobjc
  36133. maybe-installcheck-target-libobjc: installcheck-target-libobjc
  36134. installcheck-target-libobjc: \
  36135. configure-target-libobjc
  36136. @: $(MAKE); $(unstage)
  36137. @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
  36138. r=`${PWD_COMMAND}`; export r; \
  36139. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36140. $(NORMAL_TARGET_EXPORTS) \
  36141. echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
  36142. for flag in $(EXTRA_TARGET_FLAGS); do \
  36143. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36144. done; \
  36145. (cd $(TARGET_SUBDIR)/libobjc && \
  36146. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36147. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36148. "RANLIB=$${RANLIB}" \
  36149. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36150. installcheck) \
  36151. || exit 1
  36152. @endif target-libobjc
  36153. .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
  36154. maybe-mostlyclean-target-libobjc:
  36155. @if target-libobjc
  36156. maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
  36157. mostlyclean-target-libobjc:
  36158. @: $(MAKE); $(unstage)
  36159. @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
  36160. r=`${PWD_COMMAND}`; export r; \
  36161. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36162. $(NORMAL_TARGET_EXPORTS) \
  36163. echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
  36164. for flag in $(EXTRA_TARGET_FLAGS); do \
  36165. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36166. done; \
  36167. (cd $(TARGET_SUBDIR)/libobjc && \
  36168. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36169. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36170. "RANLIB=$${RANLIB}" \
  36171. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36172. mostlyclean) \
  36173. || exit 1
  36174. @endif target-libobjc
  36175. .PHONY: maybe-clean-target-libobjc clean-target-libobjc
  36176. maybe-clean-target-libobjc:
  36177. @if target-libobjc
  36178. maybe-clean-target-libobjc: clean-target-libobjc
  36179. clean-target-libobjc:
  36180. @: $(MAKE); $(unstage)
  36181. @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
  36182. r=`${PWD_COMMAND}`; export r; \
  36183. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36184. $(NORMAL_TARGET_EXPORTS) \
  36185. echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
  36186. for flag in $(EXTRA_TARGET_FLAGS); do \
  36187. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36188. done; \
  36189. (cd $(TARGET_SUBDIR)/libobjc && \
  36190. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36191. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36192. "RANLIB=$${RANLIB}" \
  36193. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36194. clean) \
  36195. || exit 1
  36196. @endif target-libobjc
  36197. .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
  36198. maybe-distclean-target-libobjc:
  36199. @if target-libobjc
  36200. maybe-distclean-target-libobjc: distclean-target-libobjc
  36201. distclean-target-libobjc:
  36202. @: $(MAKE); $(unstage)
  36203. @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
  36204. r=`${PWD_COMMAND}`; export r; \
  36205. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36206. $(NORMAL_TARGET_EXPORTS) \
  36207. echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
  36208. for flag in $(EXTRA_TARGET_FLAGS); do \
  36209. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36210. done; \
  36211. (cd $(TARGET_SUBDIR)/libobjc && \
  36212. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36213. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36214. "RANLIB=$${RANLIB}" \
  36215. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36216. distclean) \
  36217. || exit 1
  36218. @endif target-libobjc
  36219. .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
  36220. maybe-maintainer-clean-target-libobjc:
  36221. @if target-libobjc
  36222. maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
  36223. maintainer-clean-target-libobjc:
  36224. @: $(MAKE); $(unstage)
  36225. @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
  36226. r=`${PWD_COMMAND}`; export r; \
  36227. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36228. $(NORMAL_TARGET_EXPORTS) \
  36229. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
  36230. for flag in $(EXTRA_TARGET_FLAGS); do \
  36231. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36232. done; \
  36233. (cd $(TARGET_SUBDIR)/libobjc && \
  36234. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36235. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36236. "RANLIB=$${RANLIB}" \
  36237. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36238. maintainer-clean) \
  36239. || exit 1
  36240. @endif target-libobjc
  36241. .PHONY: configure-target-libgo maybe-configure-target-libgo
  36242. maybe-configure-target-libgo:
  36243. @if gcc-bootstrap
  36244. configure-target-libgo: stage_current
  36245. @endif gcc-bootstrap
  36246. @if target-libgo
  36247. maybe-configure-target-libgo: configure-target-libgo
  36248. configure-target-libgo:
  36249. @: $(MAKE); $(unstage)
  36250. @r=`${PWD_COMMAND}`; export r; \
  36251. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36252. echo "Checking multilib configuration for libgo..."; \
  36253. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
  36254. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgo/multilib.tmp 2> /dev/null ; \
  36255. if test -r $(TARGET_SUBDIR)/libgo/multilib.out; then \
  36256. if cmp -s $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; then \
  36257. rm -f $(TARGET_SUBDIR)/libgo/multilib.tmp; \
  36258. else \
  36259. rm -f $(TARGET_SUBDIR)/libgo/Makefile; \
  36260. mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
  36261. fi; \
  36262. else \
  36263. mv $(TARGET_SUBDIR)/libgo/multilib.tmp $(TARGET_SUBDIR)/libgo/multilib.out; \
  36264. fi; \
  36265. test ! -f $(TARGET_SUBDIR)/libgo/Makefile || exit 0; \
  36266. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgo ; \
  36267. $(NORMAL_TARGET_EXPORTS) \
  36268. echo Configuring in $(TARGET_SUBDIR)/libgo; \
  36269. cd "$(TARGET_SUBDIR)/libgo" || exit 1; \
  36270. case $(srcdir) in \
  36271. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  36272. *) topdir=`echo $(TARGET_SUBDIR)/libgo/ | \
  36273. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  36274. esac; \
  36275. module_srcdir=libgo; \
  36276. rm -f no-such-file || : ; \
  36277. CONFIG_SITE=no-such-file $(SHELL) \
  36278. $$s/$$module_srcdir/configure \
  36279. --srcdir=$${topdir}/$$module_srcdir \
  36280. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  36281. --target=${target_alias} \
  36282. || exit 1
  36283. @endif target-libgo
  36284. .PHONY: all-target-libgo maybe-all-target-libgo
  36285. maybe-all-target-libgo:
  36286. @if gcc-bootstrap
  36287. all-target-libgo: stage_current
  36288. @endif gcc-bootstrap
  36289. @if target-libgo
  36290. TARGET-target-libgo=all
  36291. maybe-all-target-libgo: all-target-libgo
  36292. all-target-libgo: configure-target-libgo
  36293. @: $(MAKE); $(unstage)
  36294. @r=`${PWD_COMMAND}`; export r; \
  36295. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36296. $(NORMAL_TARGET_EXPORTS) \
  36297. (cd $(TARGET_SUBDIR)/libgo && \
  36298. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  36299. $(TARGET-target-libgo))
  36300. @endif target-libgo
  36301. .PHONY: check-target-libgo maybe-check-target-libgo
  36302. maybe-check-target-libgo:
  36303. @if target-libgo
  36304. maybe-check-target-libgo: check-target-libgo
  36305. check-target-libgo:
  36306. @: $(MAKE); $(unstage)
  36307. @r=`${PWD_COMMAND}`; export r; \
  36308. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36309. $(NORMAL_TARGET_EXPORTS) \
  36310. (cd $(TARGET_SUBDIR)/libgo && \
  36311. $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
  36312. @endif target-libgo
  36313. .PHONY: install-target-libgo maybe-install-target-libgo
  36314. maybe-install-target-libgo:
  36315. @if target-libgo
  36316. maybe-install-target-libgo: install-target-libgo
  36317. install-target-libgo: installdirs
  36318. @: $(MAKE); $(unstage)
  36319. @r=`${PWD_COMMAND}`; export r; \
  36320. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36321. $(NORMAL_TARGET_EXPORTS) \
  36322. (cd $(TARGET_SUBDIR)/libgo && \
  36323. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  36324. @endif target-libgo
  36325. .PHONY: install-strip-target-libgo maybe-install-strip-target-libgo
  36326. maybe-install-strip-target-libgo:
  36327. @if target-libgo
  36328. maybe-install-strip-target-libgo: install-strip-target-libgo
  36329. install-strip-target-libgo: installdirs
  36330. @: $(MAKE); $(unstage)
  36331. @r=`${PWD_COMMAND}`; export r; \
  36332. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36333. $(NORMAL_TARGET_EXPORTS) \
  36334. (cd $(TARGET_SUBDIR)/libgo && \
  36335. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  36336. @endif target-libgo
  36337. # Other targets (info, dvi, pdf, etc.)
  36338. .PHONY: maybe-info-target-libgo info-target-libgo
  36339. maybe-info-target-libgo:
  36340. @if target-libgo
  36341. maybe-info-target-libgo: info-target-libgo
  36342. info-target-libgo: \
  36343. configure-target-libgo
  36344. @: $(MAKE); $(unstage)
  36345. @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
  36346. r=`${PWD_COMMAND}`; export r; \
  36347. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36348. $(NORMAL_TARGET_EXPORTS) \
  36349. echo "Doing info in $(TARGET_SUBDIR)/libgo" ; \
  36350. for flag in $(EXTRA_TARGET_FLAGS); do \
  36351. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36352. done; \
  36353. (cd $(TARGET_SUBDIR)/libgo && \
  36354. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36355. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36356. "RANLIB=$${RANLIB}" \
  36357. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36358. info) \
  36359. || exit 1
  36360. @endif target-libgo
  36361. .PHONY: maybe-dvi-target-libgo dvi-target-libgo
  36362. maybe-dvi-target-libgo:
  36363. @if target-libgo
  36364. maybe-dvi-target-libgo: dvi-target-libgo
  36365. dvi-target-libgo: \
  36366. configure-target-libgo
  36367. @: $(MAKE); $(unstage)
  36368. @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
  36369. r=`${PWD_COMMAND}`; export r; \
  36370. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36371. $(NORMAL_TARGET_EXPORTS) \
  36372. echo "Doing dvi in $(TARGET_SUBDIR)/libgo" ; \
  36373. for flag in $(EXTRA_TARGET_FLAGS); do \
  36374. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36375. done; \
  36376. (cd $(TARGET_SUBDIR)/libgo && \
  36377. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36378. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36379. "RANLIB=$${RANLIB}" \
  36380. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36381. dvi) \
  36382. || exit 1
  36383. @endif target-libgo
  36384. .PHONY: maybe-pdf-target-libgo pdf-target-libgo
  36385. maybe-pdf-target-libgo:
  36386. @if target-libgo
  36387. maybe-pdf-target-libgo: pdf-target-libgo
  36388. pdf-target-libgo: \
  36389. configure-target-libgo
  36390. @: $(MAKE); $(unstage)
  36391. @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
  36392. r=`${PWD_COMMAND}`; export r; \
  36393. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36394. $(NORMAL_TARGET_EXPORTS) \
  36395. echo "Doing pdf in $(TARGET_SUBDIR)/libgo" ; \
  36396. for flag in $(EXTRA_TARGET_FLAGS); do \
  36397. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36398. done; \
  36399. (cd $(TARGET_SUBDIR)/libgo && \
  36400. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36401. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36402. "RANLIB=$${RANLIB}" \
  36403. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36404. pdf) \
  36405. || exit 1
  36406. @endif target-libgo
  36407. .PHONY: maybe-html-target-libgo html-target-libgo
  36408. maybe-html-target-libgo:
  36409. @if target-libgo
  36410. maybe-html-target-libgo: html-target-libgo
  36411. html-target-libgo: \
  36412. configure-target-libgo
  36413. @: $(MAKE); $(unstage)
  36414. @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
  36415. r=`${PWD_COMMAND}`; export r; \
  36416. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36417. $(NORMAL_TARGET_EXPORTS) \
  36418. echo "Doing html in $(TARGET_SUBDIR)/libgo" ; \
  36419. for flag in $(EXTRA_TARGET_FLAGS); do \
  36420. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36421. done; \
  36422. (cd $(TARGET_SUBDIR)/libgo && \
  36423. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36424. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36425. "RANLIB=$${RANLIB}" \
  36426. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36427. html) \
  36428. || exit 1
  36429. @endif target-libgo
  36430. .PHONY: maybe-TAGS-target-libgo TAGS-target-libgo
  36431. maybe-TAGS-target-libgo:
  36432. @if target-libgo
  36433. maybe-TAGS-target-libgo: TAGS-target-libgo
  36434. TAGS-target-libgo: \
  36435. configure-target-libgo
  36436. @: $(MAKE); $(unstage)
  36437. @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
  36438. r=`${PWD_COMMAND}`; export r; \
  36439. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36440. $(NORMAL_TARGET_EXPORTS) \
  36441. echo "Doing TAGS in $(TARGET_SUBDIR)/libgo" ; \
  36442. for flag in $(EXTRA_TARGET_FLAGS); do \
  36443. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36444. done; \
  36445. (cd $(TARGET_SUBDIR)/libgo && \
  36446. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36447. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36448. "RANLIB=$${RANLIB}" \
  36449. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36450. TAGS) \
  36451. || exit 1
  36452. @endif target-libgo
  36453. .PHONY: maybe-install-info-target-libgo install-info-target-libgo
  36454. maybe-install-info-target-libgo:
  36455. @if target-libgo
  36456. maybe-install-info-target-libgo: install-info-target-libgo
  36457. install-info-target-libgo: \
  36458. configure-target-libgo \
  36459. info-target-libgo
  36460. @: $(MAKE); $(unstage)
  36461. @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
  36462. r=`${PWD_COMMAND}`; export r; \
  36463. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36464. $(NORMAL_TARGET_EXPORTS) \
  36465. echo "Doing install-info in $(TARGET_SUBDIR)/libgo" ; \
  36466. for flag in $(EXTRA_TARGET_FLAGS); do \
  36467. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36468. done; \
  36469. (cd $(TARGET_SUBDIR)/libgo && \
  36470. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36471. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36472. "RANLIB=$${RANLIB}" \
  36473. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36474. install-info) \
  36475. || exit 1
  36476. @endif target-libgo
  36477. .PHONY: maybe-install-pdf-target-libgo install-pdf-target-libgo
  36478. maybe-install-pdf-target-libgo:
  36479. @if target-libgo
  36480. maybe-install-pdf-target-libgo: install-pdf-target-libgo
  36481. install-pdf-target-libgo: \
  36482. configure-target-libgo \
  36483. pdf-target-libgo
  36484. @: $(MAKE); $(unstage)
  36485. @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
  36486. r=`${PWD_COMMAND}`; export r; \
  36487. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36488. $(NORMAL_TARGET_EXPORTS) \
  36489. echo "Doing install-pdf in $(TARGET_SUBDIR)/libgo" ; \
  36490. for flag in $(EXTRA_TARGET_FLAGS); do \
  36491. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36492. done; \
  36493. (cd $(TARGET_SUBDIR)/libgo && \
  36494. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36495. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36496. "RANLIB=$${RANLIB}" \
  36497. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36498. install-pdf) \
  36499. || exit 1
  36500. @endif target-libgo
  36501. .PHONY: maybe-install-html-target-libgo install-html-target-libgo
  36502. maybe-install-html-target-libgo:
  36503. @if target-libgo
  36504. maybe-install-html-target-libgo: install-html-target-libgo
  36505. install-html-target-libgo: \
  36506. configure-target-libgo \
  36507. html-target-libgo
  36508. @: $(MAKE); $(unstage)
  36509. @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
  36510. r=`${PWD_COMMAND}`; export r; \
  36511. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36512. $(NORMAL_TARGET_EXPORTS) \
  36513. echo "Doing install-html in $(TARGET_SUBDIR)/libgo" ; \
  36514. for flag in $(EXTRA_TARGET_FLAGS); do \
  36515. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36516. done; \
  36517. (cd $(TARGET_SUBDIR)/libgo && \
  36518. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36519. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36520. "RANLIB=$${RANLIB}" \
  36521. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36522. install-html) \
  36523. || exit 1
  36524. @endif target-libgo
  36525. .PHONY: maybe-installcheck-target-libgo installcheck-target-libgo
  36526. maybe-installcheck-target-libgo:
  36527. @if target-libgo
  36528. maybe-installcheck-target-libgo: installcheck-target-libgo
  36529. installcheck-target-libgo: \
  36530. configure-target-libgo
  36531. @: $(MAKE); $(unstage)
  36532. @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
  36533. r=`${PWD_COMMAND}`; export r; \
  36534. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36535. $(NORMAL_TARGET_EXPORTS) \
  36536. echo "Doing installcheck in $(TARGET_SUBDIR)/libgo" ; \
  36537. for flag in $(EXTRA_TARGET_FLAGS); do \
  36538. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36539. done; \
  36540. (cd $(TARGET_SUBDIR)/libgo && \
  36541. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36542. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36543. "RANLIB=$${RANLIB}" \
  36544. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36545. installcheck) \
  36546. || exit 1
  36547. @endif target-libgo
  36548. .PHONY: maybe-mostlyclean-target-libgo mostlyclean-target-libgo
  36549. maybe-mostlyclean-target-libgo:
  36550. @if target-libgo
  36551. maybe-mostlyclean-target-libgo: mostlyclean-target-libgo
  36552. mostlyclean-target-libgo:
  36553. @: $(MAKE); $(unstage)
  36554. @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
  36555. r=`${PWD_COMMAND}`; export r; \
  36556. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36557. $(NORMAL_TARGET_EXPORTS) \
  36558. echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgo" ; \
  36559. for flag in $(EXTRA_TARGET_FLAGS); do \
  36560. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36561. done; \
  36562. (cd $(TARGET_SUBDIR)/libgo && \
  36563. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36564. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36565. "RANLIB=$${RANLIB}" \
  36566. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36567. mostlyclean) \
  36568. || exit 1
  36569. @endif target-libgo
  36570. .PHONY: maybe-clean-target-libgo clean-target-libgo
  36571. maybe-clean-target-libgo:
  36572. @if target-libgo
  36573. maybe-clean-target-libgo: clean-target-libgo
  36574. clean-target-libgo:
  36575. @: $(MAKE); $(unstage)
  36576. @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
  36577. r=`${PWD_COMMAND}`; export r; \
  36578. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36579. $(NORMAL_TARGET_EXPORTS) \
  36580. echo "Doing clean in $(TARGET_SUBDIR)/libgo" ; \
  36581. for flag in $(EXTRA_TARGET_FLAGS); do \
  36582. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36583. done; \
  36584. (cd $(TARGET_SUBDIR)/libgo && \
  36585. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36586. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36587. "RANLIB=$${RANLIB}" \
  36588. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36589. clean) \
  36590. || exit 1
  36591. @endif target-libgo
  36592. .PHONY: maybe-distclean-target-libgo distclean-target-libgo
  36593. maybe-distclean-target-libgo:
  36594. @if target-libgo
  36595. maybe-distclean-target-libgo: distclean-target-libgo
  36596. distclean-target-libgo:
  36597. @: $(MAKE); $(unstage)
  36598. @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
  36599. r=`${PWD_COMMAND}`; export r; \
  36600. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36601. $(NORMAL_TARGET_EXPORTS) \
  36602. echo "Doing distclean in $(TARGET_SUBDIR)/libgo" ; \
  36603. for flag in $(EXTRA_TARGET_FLAGS); do \
  36604. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36605. done; \
  36606. (cd $(TARGET_SUBDIR)/libgo && \
  36607. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36608. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36609. "RANLIB=$${RANLIB}" \
  36610. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36611. distclean) \
  36612. || exit 1
  36613. @endif target-libgo
  36614. .PHONY: maybe-maintainer-clean-target-libgo maintainer-clean-target-libgo
  36615. maybe-maintainer-clean-target-libgo:
  36616. @if target-libgo
  36617. maybe-maintainer-clean-target-libgo: maintainer-clean-target-libgo
  36618. maintainer-clean-target-libgo:
  36619. @: $(MAKE); $(unstage)
  36620. @[ -f $(TARGET_SUBDIR)/libgo/Makefile ] || exit 0 ; \
  36621. r=`${PWD_COMMAND}`; export r; \
  36622. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36623. $(NORMAL_TARGET_EXPORTS) \
  36624. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgo" ; \
  36625. for flag in $(EXTRA_TARGET_FLAGS); do \
  36626. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36627. done; \
  36628. (cd $(TARGET_SUBDIR)/libgo && \
  36629. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36630. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36631. "RANLIB=$${RANLIB}" \
  36632. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36633. maintainer-clean) \
  36634. || exit 1
  36635. @endif target-libgo
  36636. .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
  36637. maybe-configure-target-libtermcap:
  36638. @if gcc-bootstrap
  36639. configure-target-libtermcap: stage_current
  36640. @endif gcc-bootstrap
  36641. @if target-libtermcap
  36642. maybe-configure-target-libtermcap: configure-target-libtermcap
  36643. configure-target-libtermcap:
  36644. @: $(MAKE); $(unstage)
  36645. @r=`${PWD_COMMAND}`; export r; \
  36646. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36647. echo "Checking multilib configuration for libtermcap..."; \
  36648. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
  36649. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libtermcap/multilib.tmp 2> /dev/null ; \
  36650. if test -r $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
  36651. if cmp -s $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; then \
  36652. rm -f $(TARGET_SUBDIR)/libtermcap/multilib.tmp; \
  36653. else \
  36654. rm -f $(TARGET_SUBDIR)/libtermcap/Makefile; \
  36655. mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
  36656. fi; \
  36657. else \
  36658. mv $(TARGET_SUBDIR)/libtermcap/multilib.tmp $(TARGET_SUBDIR)/libtermcap/multilib.out; \
  36659. fi; \
  36660. test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
  36661. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
  36662. $(NORMAL_TARGET_EXPORTS) \
  36663. echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
  36664. cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
  36665. case $(srcdir) in \
  36666. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  36667. *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
  36668. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  36669. esac; \
  36670. module_srcdir=libtermcap; \
  36671. rm -f no-such-file || : ; \
  36672. CONFIG_SITE=no-such-file $(SHELL) \
  36673. $$s/$$module_srcdir/configure \
  36674. --srcdir=$${topdir}/$$module_srcdir \
  36675. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  36676. --target=${target_alias} \
  36677. || exit 1
  36678. @endif target-libtermcap
  36679. .PHONY: all-target-libtermcap maybe-all-target-libtermcap
  36680. maybe-all-target-libtermcap:
  36681. @if gcc-bootstrap
  36682. all-target-libtermcap: stage_current
  36683. @endif gcc-bootstrap
  36684. @if target-libtermcap
  36685. TARGET-target-libtermcap=all
  36686. maybe-all-target-libtermcap: all-target-libtermcap
  36687. all-target-libtermcap: configure-target-libtermcap
  36688. @: $(MAKE); $(unstage)
  36689. @r=`${PWD_COMMAND}`; export r; \
  36690. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36691. $(NORMAL_TARGET_EXPORTS) \
  36692. (cd $(TARGET_SUBDIR)/libtermcap && \
  36693. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  36694. $(TARGET-target-libtermcap))
  36695. @endif target-libtermcap
  36696. .PHONY: check-target-libtermcap maybe-check-target-libtermcap
  36697. maybe-check-target-libtermcap:
  36698. @if target-libtermcap
  36699. maybe-check-target-libtermcap: check-target-libtermcap
  36700. # Dummy target for uncheckable module.
  36701. check-target-libtermcap:
  36702. @endif target-libtermcap
  36703. .PHONY: install-target-libtermcap maybe-install-target-libtermcap
  36704. maybe-install-target-libtermcap:
  36705. @if target-libtermcap
  36706. maybe-install-target-libtermcap: install-target-libtermcap
  36707. install-target-libtermcap: installdirs
  36708. @: $(MAKE); $(unstage)
  36709. @r=`${PWD_COMMAND}`; export r; \
  36710. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36711. $(NORMAL_TARGET_EXPORTS) \
  36712. (cd $(TARGET_SUBDIR)/libtermcap && \
  36713. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  36714. @endif target-libtermcap
  36715. .PHONY: install-strip-target-libtermcap maybe-install-strip-target-libtermcap
  36716. maybe-install-strip-target-libtermcap:
  36717. @if target-libtermcap
  36718. maybe-install-strip-target-libtermcap: install-strip-target-libtermcap
  36719. install-strip-target-libtermcap: installdirs
  36720. @: $(MAKE); $(unstage)
  36721. @r=`${PWD_COMMAND}`; export r; \
  36722. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36723. $(NORMAL_TARGET_EXPORTS) \
  36724. (cd $(TARGET_SUBDIR)/libtermcap && \
  36725. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  36726. @endif target-libtermcap
  36727. # Other targets (info, dvi, pdf, etc.)
  36728. .PHONY: maybe-info-target-libtermcap info-target-libtermcap
  36729. maybe-info-target-libtermcap:
  36730. @if target-libtermcap
  36731. maybe-info-target-libtermcap: info-target-libtermcap
  36732. info-target-libtermcap: \
  36733. configure-target-libtermcap
  36734. @: $(MAKE); $(unstage)
  36735. @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
  36736. r=`${PWD_COMMAND}`; export r; \
  36737. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36738. $(NORMAL_TARGET_EXPORTS) \
  36739. echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
  36740. for flag in $(EXTRA_TARGET_FLAGS); do \
  36741. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36742. done; \
  36743. (cd $(TARGET_SUBDIR)/libtermcap && \
  36744. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36745. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36746. "RANLIB=$${RANLIB}" \
  36747. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36748. info) \
  36749. || exit 1
  36750. @endif target-libtermcap
  36751. .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
  36752. maybe-dvi-target-libtermcap:
  36753. @if target-libtermcap
  36754. maybe-dvi-target-libtermcap: dvi-target-libtermcap
  36755. dvi-target-libtermcap: \
  36756. configure-target-libtermcap
  36757. @: $(MAKE); $(unstage)
  36758. @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
  36759. r=`${PWD_COMMAND}`; export r; \
  36760. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36761. $(NORMAL_TARGET_EXPORTS) \
  36762. echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
  36763. for flag in $(EXTRA_TARGET_FLAGS); do \
  36764. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36765. done; \
  36766. (cd $(TARGET_SUBDIR)/libtermcap && \
  36767. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36768. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36769. "RANLIB=$${RANLIB}" \
  36770. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36771. dvi) \
  36772. || exit 1
  36773. @endif target-libtermcap
  36774. .PHONY: maybe-pdf-target-libtermcap pdf-target-libtermcap
  36775. maybe-pdf-target-libtermcap:
  36776. @if target-libtermcap
  36777. maybe-pdf-target-libtermcap: pdf-target-libtermcap
  36778. pdf-target-libtermcap: \
  36779. configure-target-libtermcap
  36780. @: $(MAKE); $(unstage)
  36781. @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
  36782. r=`${PWD_COMMAND}`; export r; \
  36783. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36784. $(NORMAL_TARGET_EXPORTS) \
  36785. echo "Doing pdf in $(TARGET_SUBDIR)/libtermcap" ; \
  36786. for flag in $(EXTRA_TARGET_FLAGS); do \
  36787. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36788. done; \
  36789. (cd $(TARGET_SUBDIR)/libtermcap && \
  36790. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36791. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36792. "RANLIB=$${RANLIB}" \
  36793. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36794. pdf) \
  36795. || exit 1
  36796. @endif target-libtermcap
  36797. .PHONY: maybe-html-target-libtermcap html-target-libtermcap
  36798. maybe-html-target-libtermcap:
  36799. @if target-libtermcap
  36800. maybe-html-target-libtermcap: html-target-libtermcap
  36801. html-target-libtermcap: \
  36802. configure-target-libtermcap
  36803. @: $(MAKE); $(unstage)
  36804. @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
  36805. r=`${PWD_COMMAND}`; export r; \
  36806. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36807. $(NORMAL_TARGET_EXPORTS) \
  36808. echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
  36809. for flag in $(EXTRA_TARGET_FLAGS); do \
  36810. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36811. done; \
  36812. (cd $(TARGET_SUBDIR)/libtermcap && \
  36813. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36814. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36815. "RANLIB=$${RANLIB}" \
  36816. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36817. html) \
  36818. || exit 1
  36819. @endif target-libtermcap
  36820. .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
  36821. maybe-TAGS-target-libtermcap:
  36822. @if target-libtermcap
  36823. maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
  36824. TAGS-target-libtermcap: \
  36825. configure-target-libtermcap
  36826. @: $(MAKE); $(unstage)
  36827. @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
  36828. r=`${PWD_COMMAND}`; export r; \
  36829. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36830. $(NORMAL_TARGET_EXPORTS) \
  36831. echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
  36832. for flag in $(EXTRA_TARGET_FLAGS); do \
  36833. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36834. done; \
  36835. (cd $(TARGET_SUBDIR)/libtermcap && \
  36836. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36837. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36838. "RANLIB=$${RANLIB}" \
  36839. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36840. TAGS) \
  36841. || exit 1
  36842. @endif target-libtermcap
  36843. .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
  36844. maybe-install-info-target-libtermcap:
  36845. @if target-libtermcap
  36846. maybe-install-info-target-libtermcap: install-info-target-libtermcap
  36847. install-info-target-libtermcap: \
  36848. configure-target-libtermcap \
  36849. info-target-libtermcap
  36850. @: $(MAKE); $(unstage)
  36851. @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
  36852. r=`${PWD_COMMAND}`; export r; \
  36853. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36854. $(NORMAL_TARGET_EXPORTS) \
  36855. echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
  36856. for flag in $(EXTRA_TARGET_FLAGS); do \
  36857. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36858. done; \
  36859. (cd $(TARGET_SUBDIR)/libtermcap && \
  36860. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36861. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36862. "RANLIB=$${RANLIB}" \
  36863. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36864. install-info) \
  36865. || exit 1
  36866. @endif target-libtermcap
  36867. .PHONY: maybe-install-pdf-target-libtermcap install-pdf-target-libtermcap
  36868. maybe-install-pdf-target-libtermcap:
  36869. @if target-libtermcap
  36870. maybe-install-pdf-target-libtermcap: install-pdf-target-libtermcap
  36871. install-pdf-target-libtermcap: \
  36872. configure-target-libtermcap \
  36873. pdf-target-libtermcap
  36874. @: $(MAKE); $(unstage)
  36875. @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
  36876. r=`${PWD_COMMAND}`; export r; \
  36877. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36878. $(NORMAL_TARGET_EXPORTS) \
  36879. echo "Doing install-pdf in $(TARGET_SUBDIR)/libtermcap" ; \
  36880. for flag in $(EXTRA_TARGET_FLAGS); do \
  36881. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36882. done; \
  36883. (cd $(TARGET_SUBDIR)/libtermcap && \
  36884. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36885. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36886. "RANLIB=$${RANLIB}" \
  36887. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36888. install-pdf) \
  36889. || exit 1
  36890. @endif target-libtermcap
  36891. .PHONY: maybe-install-html-target-libtermcap install-html-target-libtermcap
  36892. maybe-install-html-target-libtermcap:
  36893. @if target-libtermcap
  36894. maybe-install-html-target-libtermcap: install-html-target-libtermcap
  36895. install-html-target-libtermcap: \
  36896. configure-target-libtermcap \
  36897. html-target-libtermcap
  36898. @: $(MAKE); $(unstage)
  36899. @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
  36900. r=`${PWD_COMMAND}`; export r; \
  36901. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36902. $(NORMAL_TARGET_EXPORTS) \
  36903. echo "Doing install-html in $(TARGET_SUBDIR)/libtermcap" ; \
  36904. for flag in $(EXTRA_TARGET_FLAGS); do \
  36905. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36906. done; \
  36907. (cd $(TARGET_SUBDIR)/libtermcap && \
  36908. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36909. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36910. "RANLIB=$${RANLIB}" \
  36911. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36912. install-html) \
  36913. || exit 1
  36914. @endif target-libtermcap
  36915. .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
  36916. maybe-installcheck-target-libtermcap:
  36917. @if target-libtermcap
  36918. maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
  36919. installcheck-target-libtermcap: \
  36920. configure-target-libtermcap
  36921. @: $(MAKE); $(unstage)
  36922. @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
  36923. r=`${PWD_COMMAND}`; export r; \
  36924. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36925. $(NORMAL_TARGET_EXPORTS) \
  36926. echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
  36927. for flag in $(EXTRA_TARGET_FLAGS); do \
  36928. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  36929. done; \
  36930. (cd $(TARGET_SUBDIR)/libtermcap && \
  36931. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  36932. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  36933. "RANLIB=$${RANLIB}" \
  36934. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  36935. installcheck) \
  36936. || exit 1
  36937. @endif target-libtermcap
  36938. .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
  36939. maybe-mostlyclean-target-libtermcap:
  36940. @if target-libtermcap
  36941. maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
  36942. # libtermcap doesn't support mostlyclean.
  36943. mostlyclean-target-libtermcap:
  36944. @endif target-libtermcap
  36945. .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
  36946. maybe-clean-target-libtermcap:
  36947. @if target-libtermcap
  36948. maybe-clean-target-libtermcap: clean-target-libtermcap
  36949. # libtermcap doesn't support clean.
  36950. clean-target-libtermcap:
  36951. @endif target-libtermcap
  36952. .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
  36953. maybe-distclean-target-libtermcap:
  36954. @if target-libtermcap
  36955. maybe-distclean-target-libtermcap: distclean-target-libtermcap
  36956. # libtermcap doesn't support distclean.
  36957. distclean-target-libtermcap:
  36958. @endif target-libtermcap
  36959. .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
  36960. maybe-maintainer-clean-target-libtermcap:
  36961. @if target-libtermcap
  36962. maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
  36963. # libtermcap doesn't support maintainer-clean.
  36964. maintainer-clean-target-libtermcap:
  36965. @endif target-libtermcap
  36966. .PHONY: configure-target-winsup maybe-configure-target-winsup
  36967. maybe-configure-target-winsup:
  36968. @if gcc-bootstrap
  36969. configure-target-winsup: stage_current
  36970. @endif gcc-bootstrap
  36971. @if target-winsup
  36972. maybe-configure-target-winsup: configure-target-winsup
  36973. configure-target-winsup:
  36974. @: $(MAKE); $(unstage)
  36975. @r=`${PWD_COMMAND}`; export r; \
  36976. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  36977. echo "Checking multilib configuration for winsup..."; \
  36978. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
  36979. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/winsup/multilib.tmp 2> /dev/null ; \
  36980. if test -r $(TARGET_SUBDIR)/winsup/multilib.out; then \
  36981. if cmp -s $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; then \
  36982. rm -f $(TARGET_SUBDIR)/winsup/multilib.tmp; \
  36983. else \
  36984. rm -f $(TARGET_SUBDIR)/winsup/Makefile; \
  36985. mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
  36986. fi; \
  36987. else \
  36988. mv $(TARGET_SUBDIR)/winsup/multilib.tmp $(TARGET_SUBDIR)/winsup/multilib.out; \
  36989. fi; \
  36990. test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
  36991. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
  36992. $(NORMAL_TARGET_EXPORTS) \
  36993. echo Configuring in $(TARGET_SUBDIR)/winsup; \
  36994. cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
  36995. case $(srcdir) in \
  36996. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  36997. *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
  36998. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  36999. esac; \
  37000. module_srcdir=winsup; \
  37001. rm -f no-such-file || : ; \
  37002. CONFIG_SITE=no-such-file $(SHELL) \
  37003. $$s/$$module_srcdir/configure \
  37004. --srcdir=$${topdir}/$$module_srcdir \
  37005. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  37006. --target=${target_alias} \
  37007. || exit 1
  37008. @endif target-winsup
  37009. .PHONY: all-target-winsup maybe-all-target-winsup
  37010. maybe-all-target-winsup:
  37011. @if gcc-bootstrap
  37012. all-target-winsup: stage_current
  37013. @endif gcc-bootstrap
  37014. @if target-winsup
  37015. TARGET-target-winsup=all
  37016. maybe-all-target-winsup: all-target-winsup
  37017. all-target-winsup: configure-target-winsup
  37018. @: $(MAKE); $(unstage)
  37019. @r=`${PWD_COMMAND}`; export r; \
  37020. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37021. $(NORMAL_TARGET_EXPORTS) \
  37022. (cd $(TARGET_SUBDIR)/winsup && \
  37023. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  37024. $(TARGET-target-winsup))
  37025. @endif target-winsup
  37026. .PHONY: check-target-winsup maybe-check-target-winsup
  37027. maybe-check-target-winsup:
  37028. @if target-winsup
  37029. maybe-check-target-winsup: check-target-winsup
  37030. check-target-winsup:
  37031. @: $(MAKE); $(unstage)
  37032. @r=`${PWD_COMMAND}`; export r; \
  37033. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37034. $(NORMAL_TARGET_EXPORTS) \
  37035. (cd $(TARGET_SUBDIR)/winsup && \
  37036. $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
  37037. @endif target-winsup
  37038. .PHONY: install-target-winsup maybe-install-target-winsup
  37039. maybe-install-target-winsup:
  37040. @if target-winsup
  37041. maybe-install-target-winsup: install-target-winsup
  37042. install-target-winsup: installdirs
  37043. @: $(MAKE); $(unstage)
  37044. @r=`${PWD_COMMAND}`; export r; \
  37045. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37046. $(NORMAL_TARGET_EXPORTS) \
  37047. (cd $(TARGET_SUBDIR)/winsup && \
  37048. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  37049. @endif target-winsup
  37050. .PHONY: install-strip-target-winsup maybe-install-strip-target-winsup
  37051. maybe-install-strip-target-winsup:
  37052. @if target-winsup
  37053. maybe-install-strip-target-winsup: install-strip-target-winsup
  37054. install-strip-target-winsup: installdirs
  37055. @: $(MAKE); $(unstage)
  37056. @r=`${PWD_COMMAND}`; export r; \
  37057. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37058. $(NORMAL_TARGET_EXPORTS) \
  37059. (cd $(TARGET_SUBDIR)/winsup && \
  37060. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  37061. @endif target-winsup
  37062. # Other targets (info, dvi, pdf, etc.)
  37063. .PHONY: maybe-info-target-winsup info-target-winsup
  37064. maybe-info-target-winsup:
  37065. @if target-winsup
  37066. maybe-info-target-winsup: info-target-winsup
  37067. info-target-winsup: \
  37068. configure-target-winsup
  37069. @: $(MAKE); $(unstage)
  37070. @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
  37071. r=`${PWD_COMMAND}`; export r; \
  37072. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37073. $(NORMAL_TARGET_EXPORTS) \
  37074. echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
  37075. for flag in $(EXTRA_TARGET_FLAGS); do \
  37076. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37077. done; \
  37078. (cd $(TARGET_SUBDIR)/winsup && \
  37079. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37080. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37081. "RANLIB=$${RANLIB}" \
  37082. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37083. info) \
  37084. || exit 1
  37085. @endif target-winsup
  37086. .PHONY: maybe-dvi-target-winsup dvi-target-winsup
  37087. maybe-dvi-target-winsup:
  37088. @if target-winsup
  37089. maybe-dvi-target-winsup: dvi-target-winsup
  37090. dvi-target-winsup: \
  37091. configure-target-winsup
  37092. @: $(MAKE); $(unstage)
  37093. @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
  37094. r=`${PWD_COMMAND}`; export r; \
  37095. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37096. $(NORMAL_TARGET_EXPORTS) \
  37097. echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
  37098. for flag in $(EXTRA_TARGET_FLAGS); do \
  37099. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37100. done; \
  37101. (cd $(TARGET_SUBDIR)/winsup && \
  37102. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37103. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37104. "RANLIB=$${RANLIB}" \
  37105. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37106. dvi) \
  37107. || exit 1
  37108. @endif target-winsup
  37109. .PHONY: maybe-pdf-target-winsup pdf-target-winsup
  37110. maybe-pdf-target-winsup:
  37111. @if target-winsup
  37112. maybe-pdf-target-winsup: pdf-target-winsup
  37113. pdf-target-winsup: \
  37114. configure-target-winsup
  37115. @: $(MAKE); $(unstage)
  37116. @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
  37117. r=`${PWD_COMMAND}`; export r; \
  37118. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37119. $(NORMAL_TARGET_EXPORTS) \
  37120. echo "Doing pdf in $(TARGET_SUBDIR)/winsup" ; \
  37121. for flag in $(EXTRA_TARGET_FLAGS); do \
  37122. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37123. done; \
  37124. (cd $(TARGET_SUBDIR)/winsup && \
  37125. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37126. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37127. "RANLIB=$${RANLIB}" \
  37128. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37129. pdf) \
  37130. || exit 1
  37131. @endif target-winsup
  37132. .PHONY: maybe-html-target-winsup html-target-winsup
  37133. maybe-html-target-winsup:
  37134. @if target-winsup
  37135. maybe-html-target-winsup: html-target-winsup
  37136. html-target-winsup: \
  37137. configure-target-winsup
  37138. @: $(MAKE); $(unstage)
  37139. @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
  37140. r=`${PWD_COMMAND}`; export r; \
  37141. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37142. $(NORMAL_TARGET_EXPORTS) \
  37143. echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
  37144. for flag in $(EXTRA_TARGET_FLAGS); do \
  37145. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37146. done; \
  37147. (cd $(TARGET_SUBDIR)/winsup && \
  37148. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37149. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37150. "RANLIB=$${RANLIB}" \
  37151. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37152. html) \
  37153. || exit 1
  37154. @endif target-winsup
  37155. .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
  37156. maybe-TAGS-target-winsup:
  37157. @if target-winsup
  37158. maybe-TAGS-target-winsup: TAGS-target-winsup
  37159. TAGS-target-winsup: \
  37160. configure-target-winsup
  37161. @: $(MAKE); $(unstage)
  37162. @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
  37163. r=`${PWD_COMMAND}`; export r; \
  37164. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37165. $(NORMAL_TARGET_EXPORTS) \
  37166. echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
  37167. for flag in $(EXTRA_TARGET_FLAGS); do \
  37168. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37169. done; \
  37170. (cd $(TARGET_SUBDIR)/winsup && \
  37171. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37172. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37173. "RANLIB=$${RANLIB}" \
  37174. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37175. TAGS) \
  37176. || exit 1
  37177. @endif target-winsup
  37178. .PHONY: maybe-install-info-target-winsup install-info-target-winsup
  37179. maybe-install-info-target-winsup:
  37180. @if target-winsup
  37181. maybe-install-info-target-winsup: install-info-target-winsup
  37182. install-info-target-winsup: \
  37183. configure-target-winsup \
  37184. info-target-winsup
  37185. @: $(MAKE); $(unstage)
  37186. @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
  37187. r=`${PWD_COMMAND}`; export r; \
  37188. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37189. $(NORMAL_TARGET_EXPORTS) \
  37190. echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
  37191. for flag in $(EXTRA_TARGET_FLAGS); do \
  37192. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37193. done; \
  37194. (cd $(TARGET_SUBDIR)/winsup && \
  37195. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37196. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37197. "RANLIB=$${RANLIB}" \
  37198. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37199. install-info) \
  37200. || exit 1
  37201. @endif target-winsup
  37202. .PHONY: maybe-install-pdf-target-winsup install-pdf-target-winsup
  37203. maybe-install-pdf-target-winsup:
  37204. @if target-winsup
  37205. maybe-install-pdf-target-winsup: install-pdf-target-winsup
  37206. install-pdf-target-winsup: \
  37207. configure-target-winsup \
  37208. pdf-target-winsup
  37209. @: $(MAKE); $(unstage)
  37210. @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
  37211. r=`${PWD_COMMAND}`; export r; \
  37212. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37213. $(NORMAL_TARGET_EXPORTS) \
  37214. echo "Doing install-pdf in $(TARGET_SUBDIR)/winsup" ; \
  37215. for flag in $(EXTRA_TARGET_FLAGS); do \
  37216. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37217. done; \
  37218. (cd $(TARGET_SUBDIR)/winsup && \
  37219. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37220. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37221. "RANLIB=$${RANLIB}" \
  37222. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37223. install-pdf) \
  37224. || exit 1
  37225. @endif target-winsup
  37226. .PHONY: maybe-install-html-target-winsup install-html-target-winsup
  37227. maybe-install-html-target-winsup:
  37228. @if target-winsup
  37229. maybe-install-html-target-winsup: install-html-target-winsup
  37230. install-html-target-winsup: \
  37231. configure-target-winsup \
  37232. html-target-winsup
  37233. @: $(MAKE); $(unstage)
  37234. @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
  37235. r=`${PWD_COMMAND}`; export r; \
  37236. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37237. $(NORMAL_TARGET_EXPORTS) \
  37238. echo "Doing install-html in $(TARGET_SUBDIR)/winsup" ; \
  37239. for flag in $(EXTRA_TARGET_FLAGS); do \
  37240. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37241. done; \
  37242. (cd $(TARGET_SUBDIR)/winsup && \
  37243. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37244. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37245. "RANLIB=$${RANLIB}" \
  37246. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37247. install-html) \
  37248. || exit 1
  37249. @endif target-winsup
  37250. .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
  37251. maybe-installcheck-target-winsup:
  37252. @if target-winsup
  37253. maybe-installcheck-target-winsup: installcheck-target-winsup
  37254. installcheck-target-winsup: \
  37255. configure-target-winsup
  37256. @: $(MAKE); $(unstage)
  37257. @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
  37258. r=`${PWD_COMMAND}`; export r; \
  37259. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37260. $(NORMAL_TARGET_EXPORTS) \
  37261. echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
  37262. for flag in $(EXTRA_TARGET_FLAGS); do \
  37263. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37264. done; \
  37265. (cd $(TARGET_SUBDIR)/winsup && \
  37266. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37267. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37268. "RANLIB=$${RANLIB}" \
  37269. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37270. installcheck) \
  37271. || exit 1
  37272. @endif target-winsup
  37273. .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
  37274. maybe-mostlyclean-target-winsup:
  37275. @if target-winsup
  37276. maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
  37277. mostlyclean-target-winsup:
  37278. @: $(MAKE); $(unstage)
  37279. @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
  37280. r=`${PWD_COMMAND}`; export r; \
  37281. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37282. $(NORMAL_TARGET_EXPORTS) \
  37283. echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
  37284. for flag in $(EXTRA_TARGET_FLAGS); do \
  37285. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37286. done; \
  37287. (cd $(TARGET_SUBDIR)/winsup && \
  37288. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37289. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37290. "RANLIB=$${RANLIB}" \
  37291. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37292. mostlyclean) \
  37293. || exit 1
  37294. @endif target-winsup
  37295. .PHONY: maybe-clean-target-winsup clean-target-winsup
  37296. maybe-clean-target-winsup:
  37297. @if target-winsup
  37298. maybe-clean-target-winsup: clean-target-winsup
  37299. clean-target-winsup:
  37300. @: $(MAKE); $(unstage)
  37301. @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
  37302. r=`${PWD_COMMAND}`; export r; \
  37303. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37304. $(NORMAL_TARGET_EXPORTS) \
  37305. echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
  37306. for flag in $(EXTRA_TARGET_FLAGS); do \
  37307. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37308. done; \
  37309. (cd $(TARGET_SUBDIR)/winsup && \
  37310. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37311. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37312. "RANLIB=$${RANLIB}" \
  37313. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37314. clean) \
  37315. || exit 1
  37316. @endif target-winsup
  37317. .PHONY: maybe-distclean-target-winsup distclean-target-winsup
  37318. maybe-distclean-target-winsup:
  37319. @if target-winsup
  37320. maybe-distclean-target-winsup: distclean-target-winsup
  37321. distclean-target-winsup:
  37322. @: $(MAKE); $(unstage)
  37323. @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
  37324. r=`${PWD_COMMAND}`; export r; \
  37325. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37326. $(NORMAL_TARGET_EXPORTS) \
  37327. echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
  37328. for flag in $(EXTRA_TARGET_FLAGS); do \
  37329. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37330. done; \
  37331. (cd $(TARGET_SUBDIR)/winsup && \
  37332. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37333. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37334. "RANLIB=$${RANLIB}" \
  37335. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37336. distclean) \
  37337. || exit 1
  37338. @endif target-winsup
  37339. .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
  37340. maybe-maintainer-clean-target-winsup:
  37341. @if target-winsup
  37342. maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
  37343. maintainer-clean-target-winsup:
  37344. @: $(MAKE); $(unstage)
  37345. @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
  37346. r=`${PWD_COMMAND}`; export r; \
  37347. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37348. $(NORMAL_TARGET_EXPORTS) \
  37349. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
  37350. for flag in $(EXTRA_TARGET_FLAGS); do \
  37351. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37352. done; \
  37353. (cd $(TARGET_SUBDIR)/winsup && \
  37354. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37355. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37356. "RANLIB=$${RANLIB}" \
  37357. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37358. maintainer-clean) \
  37359. || exit 1
  37360. @endif target-winsup
  37361. .PHONY: configure-target-libgloss maybe-configure-target-libgloss
  37362. maybe-configure-target-libgloss:
  37363. @if gcc-bootstrap
  37364. configure-target-libgloss: stage_current
  37365. @endif gcc-bootstrap
  37366. @if target-libgloss
  37367. maybe-configure-target-libgloss: configure-target-libgloss
  37368. configure-target-libgloss:
  37369. @: $(MAKE); $(unstage)
  37370. @r=`${PWD_COMMAND}`; export r; \
  37371. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37372. echo "Checking multilib configuration for libgloss..."; \
  37373. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
  37374. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgloss/multilib.tmp 2> /dev/null ; \
  37375. if test -r $(TARGET_SUBDIR)/libgloss/multilib.out; then \
  37376. if cmp -s $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; then \
  37377. rm -f $(TARGET_SUBDIR)/libgloss/multilib.tmp; \
  37378. else \
  37379. rm -f $(TARGET_SUBDIR)/libgloss/Makefile; \
  37380. mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
  37381. fi; \
  37382. else \
  37383. mv $(TARGET_SUBDIR)/libgloss/multilib.tmp $(TARGET_SUBDIR)/libgloss/multilib.out; \
  37384. fi; \
  37385. test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
  37386. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
  37387. $(NORMAL_TARGET_EXPORTS) \
  37388. echo Configuring in $(TARGET_SUBDIR)/libgloss; \
  37389. cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
  37390. case $(srcdir) in \
  37391. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  37392. *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
  37393. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  37394. esac; \
  37395. module_srcdir=libgloss; \
  37396. rm -f no-such-file || : ; \
  37397. CONFIG_SITE=no-such-file $(SHELL) \
  37398. $$s/$$module_srcdir/configure \
  37399. --srcdir=$${topdir}/$$module_srcdir \
  37400. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  37401. --target=${target_alias} \
  37402. || exit 1
  37403. @endif target-libgloss
  37404. .PHONY: all-target-libgloss maybe-all-target-libgloss
  37405. maybe-all-target-libgloss:
  37406. @if gcc-bootstrap
  37407. all-target-libgloss: stage_current
  37408. @endif gcc-bootstrap
  37409. @if target-libgloss
  37410. TARGET-target-libgloss=all
  37411. maybe-all-target-libgloss: all-target-libgloss
  37412. all-target-libgloss: configure-target-libgloss
  37413. @: $(MAKE); $(unstage)
  37414. @r=`${PWD_COMMAND}`; export r; \
  37415. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37416. $(NORMAL_TARGET_EXPORTS) \
  37417. (cd $(TARGET_SUBDIR)/libgloss && \
  37418. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  37419. $(TARGET-target-libgloss))
  37420. @endif target-libgloss
  37421. .PHONY: check-target-libgloss maybe-check-target-libgloss
  37422. maybe-check-target-libgloss:
  37423. @if target-libgloss
  37424. maybe-check-target-libgloss: check-target-libgloss
  37425. # Dummy target for uncheckable module.
  37426. check-target-libgloss:
  37427. @endif target-libgloss
  37428. .PHONY: install-target-libgloss maybe-install-target-libgloss
  37429. maybe-install-target-libgloss:
  37430. @if target-libgloss
  37431. maybe-install-target-libgloss: install-target-libgloss
  37432. install-target-libgloss: installdirs
  37433. @: $(MAKE); $(unstage)
  37434. @r=`${PWD_COMMAND}`; export r; \
  37435. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37436. $(NORMAL_TARGET_EXPORTS) \
  37437. (cd $(TARGET_SUBDIR)/libgloss && \
  37438. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  37439. @endif target-libgloss
  37440. .PHONY: install-strip-target-libgloss maybe-install-strip-target-libgloss
  37441. maybe-install-strip-target-libgloss:
  37442. @if target-libgloss
  37443. maybe-install-strip-target-libgloss: install-strip-target-libgloss
  37444. install-strip-target-libgloss: installdirs
  37445. @: $(MAKE); $(unstage)
  37446. @r=`${PWD_COMMAND}`; export r; \
  37447. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37448. $(NORMAL_TARGET_EXPORTS) \
  37449. (cd $(TARGET_SUBDIR)/libgloss && \
  37450. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  37451. @endif target-libgloss
  37452. # Other targets (info, dvi, pdf, etc.)
  37453. .PHONY: maybe-info-target-libgloss info-target-libgloss
  37454. maybe-info-target-libgloss:
  37455. @if target-libgloss
  37456. maybe-info-target-libgloss: info-target-libgloss
  37457. info-target-libgloss: \
  37458. configure-target-libgloss
  37459. @: $(MAKE); $(unstage)
  37460. @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
  37461. r=`${PWD_COMMAND}`; export r; \
  37462. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37463. $(NORMAL_TARGET_EXPORTS) \
  37464. echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
  37465. for flag in $(EXTRA_TARGET_FLAGS); do \
  37466. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37467. done; \
  37468. (cd $(TARGET_SUBDIR)/libgloss && \
  37469. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37470. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37471. "RANLIB=$${RANLIB}" \
  37472. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37473. info) \
  37474. || exit 1
  37475. @endif target-libgloss
  37476. .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
  37477. maybe-dvi-target-libgloss:
  37478. @if target-libgloss
  37479. maybe-dvi-target-libgloss: dvi-target-libgloss
  37480. dvi-target-libgloss: \
  37481. configure-target-libgloss
  37482. @: $(MAKE); $(unstage)
  37483. @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
  37484. r=`${PWD_COMMAND}`; export r; \
  37485. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37486. $(NORMAL_TARGET_EXPORTS) \
  37487. echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
  37488. for flag in $(EXTRA_TARGET_FLAGS); do \
  37489. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37490. done; \
  37491. (cd $(TARGET_SUBDIR)/libgloss && \
  37492. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37493. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37494. "RANLIB=$${RANLIB}" \
  37495. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37496. dvi) \
  37497. || exit 1
  37498. @endif target-libgloss
  37499. .PHONY: maybe-pdf-target-libgloss pdf-target-libgloss
  37500. maybe-pdf-target-libgloss:
  37501. @if target-libgloss
  37502. maybe-pdf-target-libgloss: pdf-target-libgloss
  37503. pdf-target-libgloss: \
  37504. configure-target-libgloss
  37505. @: $(MAKE); $(unstage)
  37506. @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
  37507. r=`${PWD_COMMAND}`; export r; \
  37508. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37509. $(NORMAL_TARGET_EXPORTS) \
  37510. echo "Doing pdf in $(TARGET_SUBDIR)/libgloss" ; \
  37511. for flag in $(EXTRA_TARGET_FLAGS); do \
  37512. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37513. done; \
  37514. (cd $(TARGET_SUBDIR)/libgloss && \
  37515. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37516. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37517. "RANLIB=$${RANLIB}" \
  37518. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37519. pdf) \
  37520. || exit 1
  37521. @endif target-libgloss
  37522. .PHONY: maybe-html-target-libgloss html-target-libgloss
  37523. maybe-html-target-libgloss:
  37524. @if target-libgloss
  37525. maybe-html-target-libgloss: html-target-libgloss
  37526. html-target-libgloss: \
  37527. configure-target-libgloss
  37528. @: $(MAKE); $(unstage)
  37529. @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
  37530. r=`${PWD_COMMAND}`; export r; \
  37531. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37532. $(NORMAL_TARGET_EXPORTS) \
  37533. echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
  37534. for flag in $(EXTRA_TARGET_FLAGS); do \
  37535. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37536. done; \
  37537. (cd $(TARGET_SUBDIR)/libgloss && \
  37538. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37539. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37540. "RANLIB=$${RANLIB}" \
  37541. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37542. html) \
  37543. || exit 1
  37544. @endif target-libgloss
  37545. .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
  37546. maybe-TAGS-target-libgloss:
  37547. @if target-libgloss
  37548. maybe-TAGS-target-libgloss: TAGS-target-libgloss
  37549. TAGS-target-libgloss: \
  37550. configure-target-libgloss
  37551. @: $(MAKE); $(unstage)
  37552. @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
  37553. r=`${PWD_COMMAND}`; export r; \
  37554. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37555. $(NORMAL_TARGET_EXPORTS) \
  37556. echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
  37557. for flag in $(EXTRA_TARGET_FLAGS); do \
  37558. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37559. done; \
  37560. (cd $(TARGET_SUBDIR)/libgloss && \
  37561. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37562. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37563. "RANLIB=$${RANLIB}" \
  37564. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37565. TAGS) \
  37566. || exit 1
  37567. @endif target-libgloss
  37568. .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
  37569. maybe-install-info-target-libgloss:
  37570. @if target-libgloss
  37571. maybe-install-info-target-libgloss: install-info-target-libgloss
  37572. install-info-target-libgloss: \
  37573. configure-target-libgloss \
  37574. info-target-libgloss
  37575. @: $(MAKE); $(unstage)
  37576. @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
  37577. r=`${PWD_COMMAND}`; export r; \
  37578. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37579. $(NORMAL_TARGET_EXPORTS) \
  37580. echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
  37581. for flag in $(EXTRA_TARGET_FLAGS); do \
  37582. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37583. done; \
  37584. (cd $(TARGET_SUBDIR)/libgloss && \
  37585. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37586. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37587. "RANLIB=$${RANLIB}" \
  37588. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37589. install-info) \
  37590. || exit 1
  37591. @endif target-libgloss
  37592. .PHONY: maybe-install-pdf-target-libgloss install-pdf-target-libgloss
  37593. maybe-install-pdf-target-libgloss:
  37594. @if target-libgloss
  37595. maybe-install-pdf-target-libgloss: install-pdf-target-libgloss
  37596. install-pdf-target-libgloss: \
  37597. configure-target-libgloss \
  37598. pdf-target-libgloss
  37599. @: $(MAKE); $(unstage)
  37600. @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
  37601. r=`${PWD_COMMAND}`; export r; \
  37602. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37603. $(NORMAL_TARGET_EXPORTS) \
  37604. echo "Doing install-pdf in $(TARGET_SUBDIR)/libgloss" ; \
  37605. for flag in $(EXTRA_TARGET_FLAGS); do \
  37606. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37607. done; \
  37608. (cd $(TARGET_SUBDIR)/libgloss && \
  37609. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37610. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37611. "RANLIB=$${RANLIB}" \
  37612. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37613. install-pdf) \
  37614. || exit 1
  37615. @endif target-libgloss
  37616. .PHONY: maybe-install-html-target-libgloss install-html-target-libgloss
  37617. maybe-install-html-target-libgloss:
  37618. @if target-libgloss
  37619. maybe-install-html-target-libgloss: install-html-target-libgloss
  37620. install-html-target-libgloss: \
  37621. configure-target-libgloss \
  37622. html-target-libgloss
  37623. @: $(MAKE); $(unstage)
  37624. @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
  37625. r=`${PWD_COMMAND}`; export r; \
  37626. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37627. $(NORMAL_TARGET_EXPORTS) \
  37628. echo "Doing install-html in $(TARGET_SUBDIR)/libgloss" ; \
  37629. for flag in $(EXTRA_TARGET_FLAGS); do \
  37630. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37631. done; \
  37632. (cd $(TARGET_SUBDIR)/libgloss && \
  37633. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37634. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37635. "RANLIB=$${RANLIB}" \
  37636. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37637. install-html) \
  37638. || exit 1
  37639. @endif target-libgloss
  37640. .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
  37641. maybe-installcheck-target-libgloss:
  37642. @if target-libgloss
  37643. maybe-installcheck-target-libgloss: installcheck-target-libgloss
  37644. installcheck-target-libgloss: \
  37645. configure-target-libgloss
  37646. @: $(MAKE); $(unstage)
  37647. @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
  37648. r=`${PWD_COMMAND}`; export r; \
  37649. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37650. $(NORMAL_TARGET_EXPORTS) \
  37651. echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
  37652. for flag in $(EXTRA_TARGET_FLAGS); do \
  37653. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37654. done; \
  37655. (cd $(TARGET_SUBDIR)/libgloss && \
  37656. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37657. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37658. "RANLIB=$${RANLIB}" \
  37659. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37660. installcheck) \
  37661. || exit 1
  37662. @endif target-libgloss
  37663. .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
  37664. maybe-mostlyclean-target-libgloss:
  37665. @if target-libgloss
  37666. maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
  37667. mostlyclean-target-libgloss:
  37668. @: $(MAKE); $(unstage)
  37669. @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
  37670. r=`${PWD_COMMAND}`; export r; \
  37671. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37672. $(NORMAL_TARGET_EXPORTS) \
  37673. echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
  37674. for flag in $(EXTRA_TARGET_FLAGS); do \
  37675. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37676. done; \
  37677. (cd $(TARGET_SUBDIR)/libgloss && \
  37678. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37679. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37680. "RANLIB=$${RANLIB}" \
  37681. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37682. mostlyclean) \
  37683. || exit 1
  37684. @endif target-libgloss
  37685. .PHONY: maybe-clean-target-libgloss clean-target-libgloss
  37686. maybe-clean-target-libgloss:
  37687. @if target-libgloss
  37688. maybe-clean-target-libgloss: clean-target-libgloss
  37689. clean-target-libgloss:
  37690. @: $(MAKE); $(unstage)
  37691. @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
  37692. r=`${PWD_COMMAND}`; export r; \
  37693. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37694. $(NORMAL_TARGET_EXPORTS) \
  37695. echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
  37696. for flag in $(EXTRA_TARGET_FLAGS); do \
  37697. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37698. done; \
  37699. (cd $(TARGET_SUBDIR)/libgloss && \
  37700. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37701. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37702. "RANLIB=$${RANLIB}" \
  37703. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37704. clean) \
  37705. || exit 1
  37706. @endif target-libgloss
  37707. .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
  37708. maybe-distclean-target-libgloss:
  37709. @if target-libgloss
  37710. maybe-distclean-target-libgloss: distclean-target-libgloss
  37711. distclean-target-libgloss:
  37712. @: $(MAKE); $(unstage)
  37713. @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
  37714. r=`${PWD_COMMAND}`; export r; \
  37715. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37716. $(NORMAL_TARGET_EXPORTS) \
  37717. echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
  37718. for flag in $(EXTRA_TARGET_FLAGS); do \
  37719. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37720. done; \
  37721. (cd $(TARGET_SUBDIR)/libgloss && \
  37722. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37723. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37724. "RANLIB=$${RANLIB}" \
  37725. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37726. distclean) \
  37727. || exit 1
  37728. @endif target-libgloss
  37729. .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
  37730. maybe-maintainer-clean-target-libgloss:
  37731. @if target-libgloss
  37732. maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
  37733. maintainer-clean-target-libgloss:
  37734. @: $(MAKE); $(unstage)
  37735. @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
  37736. r=`${PWD_COMMAND}`; export r; \
  37737. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37738. $(NORMAL_TARGET_EXPORTS) \
  37739. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
  37740. for flag in $(EXTRA_TARGET_FLAGS); do \
  37741. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37742. done; \
  37743. (cd $(TARGET_SUBDIR)/libgloss && \
  37744. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37745. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37746. "RANLIB=$${RANLIB}" \
  37747. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37748. maintainer-clean) \
  37749. || exit 1
  37750. @endif target-libgloss
  37751. .PHONY: configure-target-libffi maybe-configure-target-libffi
  37752. maybe-configure-target-libffi:
  37753. @if gcc-bootstrap
  37754. configure-target-libffi: stage_current
  37755. @endif gcc-bootstrap
  37756. @if target-libffi
  37757. maybe-configure-target-libffi: configure-target-libffi
  37758. configure-target-libffi:
  37759. @: $(MAKE); $(unstage)
  37760. @r=`${PWD_COMMAND}`; export r; \
  37761. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37762. echo "Checking multilib configuration for libffi..."; \
  37763. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
  37764. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libffi/multilib.tmp 2> /dev/null ; \
  37765. if test -r $(TARGET_SUBDIR)/libffi/multilib.out; then \
  37766. if cmp -s $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; then \
  37767. rm -f $(TARGET_SUBDIR)/libffi/multilib.tmp; \
  37768. else \
  37769. rm -f $(TARGET_SUBDIR)/libffi/Makefile; \
  37770. mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
  37771. fi; \
  37772. else \
  37773. mv $(TARGET_SUBDIR)/libffi/multilib.tmp $(TARGET_SUBDIR)/libffi/multilib.out; \
  37774. fi; \
  37775. test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
  37776. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
  37777. $(NORMAL_TARGET_EXPORTS) \
  37778. echo Configuring in $(TARGET_SUBDIR)/libffi; \
  37779. cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
  37780. case $(srcdir) in \
  37781. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  37782. *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
  37783. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  37784. esac; \
  37785. module_srcdir=libffi; \
  37786. rm -f no-such-file || : ; \
  37787. CONFIG_SITE=no-such-file $(SHELL) \
  37788. $$s/$$module_srcdir/configure \
  37789. --srcdir=$${topdir}/$$module_srcdir \
  37790. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  37791. --target=${target_alias} \
  37792. || exit 1
  37793. @endif target-libffi
  37794. .PHONY: all-target-libffi maybe-all-target-libffi
  37795. maybe-all-target-libffi:
  37796. @if gcc-bootstrap
  37797. all-target-libffi: stage_current
  37798. @endif gcc-bootstrap
  37799. @if target-libffi
  37800. TARGET-target-libffi=all
  37801. maybe-all-target-libffi: all-target-libffi
  37802. all-target-libffi: configure-target-libffi
  37803. @: $(MAKE); $(unstage)
  37804. @r=`${PWD_COMMAND}`; export r; \
  37805. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37806. $(NORMAL_TARGET_EXPORTS) \
  37807. (cd $(TARGET_SUBDIR)/libffi && \
  37808. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  37809. $(TARGET-target-libffi))
  37810. @endif target-libffi
  37811. .PHONY: check-target-libffi maybe-check-target-libffi
  37812. maybe-check-target-libffi:
  37813. @if target-libffi
  37814. maybe-check-target-libffi: check-target-libffi
  37815. check-target-libffi:
  37816. @: $(MAKE); $(unstage)
  37817. @r=`${PWD_COMMAND}`; export r; \
  37818. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37819. $(NORMAL_TARGET_EXPORTS) \
  37820. (cd $(TARGET_SUBDIR)/libffi && \
  37821. $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
  37822. @endif target-libffi
  37823. .PHONY: install-target-libffi maybe-install-target-libffi
  37824. maybe-install-target-libffi:
  37825. @if target-libffi
  37826. maybe-install-target-libffi: install-target-libffi
  37827. # Dummy target for uninstallable.
  37828. install-target-libffi:
  37829. @endif target-libffi
  37830. .PHONY: install-strip-target-libffi maybe-install-strip-target-libffi
  37831. maybe-install-strip-target-libffi:
  37832. @if target-libffi
  37833. maybe-install-strip-target-libffi: install-strip-target-libffi
  37834. # Dummy target for uninstallable.
  37835. install-strip-target-libffi:
  37836. @endif target-libffi
  37837. # Other targets (info, dvi, pdf, etc.)
  37838. .PHONY: maybe-info-target-libffi info-target-libffi
  37839. maybe-info-target-libffi:
  37840. @if target-libffi
  37841. maybe-info-target-libffi: info-target-libffi
  37842. info-target-libffi: \
  37843. configure-target-libffi
  37844. @: $(MAKE); $(unstage)
  37845. @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
  37846. r=`${PWD_COMMAND}`; export r; \
  37847. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37848. $(NORMAL_TARGET_EXPORTS) \
  37849. echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
  37850. for flag in $(EXTRA_TARGET_FLAGS); do \
  37851. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37852. done; \
  37853. (cd $(TARGET_SUBDIR)/libffi && \
  37854. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37855. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37856. "RANLIB=$${RANLIB}" \
  37857. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37858. info) \
  37859. || exit 1
  37860. @endif target-libffi
  37861. .PHONY: maybe-dvi-target-libffi dvi-target-libffi
  37862. maybe-dvi-target-libffi:
  37863. @if target-libffi
  37864. maybe-dvi-target-libffi: dvi-target-libffi
  37865. dvi-target-libffi: \
  37866. configure-target-libffi
  37867. @: $(MAKE); $(unstage)
  37868. @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
  37869. r=`${PWD_COMMAND}`; export r; \
  37870. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37871. $(NORMAL_TARGET_EXPORTS) \
  37872. echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
  37873. for flag in $(EXTRA_TARGET_FLAGS); do \
  37874. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37875. done; \
  37876. (cd $(TARGET_SUBDIR)/libffi && \
  37877. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37878. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37879. "RANLIB=$${RANLIB}" \
  37880. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37881. dvi) \
  37882. || exit 1
  37883. @endif target-libffi
  37884. .PHONY: maybe-pdf-target-libffi pdf-target-libffi
  37885. maybe-pdf-target-libffi:
  37886. @if target-libffi
  37887. maybe-pdf-target-libffi: pdf-target-libffi
  37888. pdf-target-libffi: \
  37889. configure-target-libffi
  37890. @: $(MAKE); $(unstage)
  37891. @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
  37892. r=`${PWD_COMMAND}`; export r; \
  37893. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37894. $(NORMAL_TARGET_EXPORTS) \
  37895. echo "Doing pdf in $(TARGET_SUBDIR)/libffi" ; \
  37896. for flag in $(EXTRA_TARGET_FLAGS); do \
  37897. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37898. done; \
  37899. (cd $(TARGET_SUBDIR)/libffi && \
  37900. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37901. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37902. "RANLIB=$${RANLIB}" \
  37903. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37904. pdf) \
  37905. || exit 1
  37906. @endif target-libffi
  37907. .PHONY: maybe-html-target-libffi html-target-libffi
  37908. maybe-html-target-libffi:
  37909. @if target-libffi
  37910. maybe-html-target-libffi: html-target-libffi
  37911. html-target-libffi: \
  37912. configure-target-libffi
  37913. @: $(MAKE); $(unstage)
  37914. @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
  37915. r=`${PWD_COMMAND}`; export r; \
  37916. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37917. $(NORMAL_TARGET_EXPORTS) \
  37918. echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
  37919. for flag in $(EXTRA_TARGET_FLAGS); do \
  37920. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37921. done; \
  37922. (cd $(TARGET_SUBDIR)/libffi && \
  37923. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37924. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37925. "RANLIB=$${RANLIB}" \
  37926. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37927. html) \
  37928. || exit 1
  37929. @endif target-libffi
  37930. .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
  37931. maybe-TAGS-target-libffi:
  37932. @if target-libffi
  37933. maybe-TAGS-target-libffi: TAGS-target-libffi
  37934. TAGS-target-libffi: \
  37935. configure-target-libffi
  37936. @: $(MAKE); $(unstage)
  37937. @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
  37938. r=`${PWD_COMMAND}`; export r; \
  37939. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37940. $(NORMAL_TARGET_EXPORTS) \
  37941. echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
  37942. for flag in $(EXTRA_TARGET_FLAGS); do \
  37943. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37944. done; \
  37945. (cd $(TARGET_SUBDIR)/libffi && \
  37946. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37947. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37948. "RANLIB=$${RANLIB}" \
  37949. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37950. TAGS) \
  37951. || exit 1
  37952. @endif target-libffi
  37953. .PHONY: maybe-install-info-target-libffi install-info-target-libffi
  37954. maybe-install-info-target-libffi:
  37955. @if target-libffi
  37956. maybe-install-info-target-libffi: install-info-target-libffi
  37957. install-info-target-libffi: \
  37958. configure-target-libffi \
  37959. info-target-libffi
  37960. @: $(MAKE); $(unstage)
  37961. @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
  37962. r=`${PWD_COMMAND}`; export r; \
  37963. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37964. $(NORMAL_TARGET_EXPORTS) \
  37965. echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
  37966. for flag in $(EXTRA_TARGET_FLAGS); do \
  37967. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37968. done; \
  37969. (cd $(TARGET_SUBDIR)/libffi && \
  37970. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37971. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37972. "RANLIB=$${RANLIB}" \
  37973. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37974. install-info) \
  37975. || exit 1
  37976. @endif target-libffi
  37977. .PHONY: maybe-install-pdf-target-libffi install-pdf-target-libffi
  37978. maybe-install-pdf-target-libffi:
  37979. @if target-libffi
  37980. maybe-install-pdf-target-libffi: install-pdf-target-libffi
  37981. install-pdf-target-libffi: \
  37982. configure-target-libffi \
  37983. pdf-target-libffi
  37984. @: $(MAKE); $(unstage)
  37985. @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
  37986. r=`${PWD_COMMAND}`; export r; \
  37987. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  37988. $(NORMAL_TARGET_EXPORTS) \
  37989. echo "Doing install-pdf in $(TARGET_SUBDIR)/libffi" ; \
  37990. for flag in $(EXTRA_TARGET_FLAGS); do \
  37991. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  37992. done; \
  37993. (cd $(TARGET_SUBDIR)/libffi && \
  37994. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  37995. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  37996. "RANLIB=$${RANLIB}" \
  37997. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  37998. install-pdf) \
  37999. || exit 1
  38000. @endif target-libffi
  38001. .PHONY: maybe-install-html-target-libffi install-html-target-libffi
  38002. maybe-install-html-target-libffi:
  38003. @if target-libffi
  38004. maybe-install-html-target-libffi: install-html-target-libffi
  38005. install-html-target-libffi: \
  38006. configure-target-libffi \
  38007. html-target-libffi
  38008. @: $(MAKE); $(unstage)
  38009. @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
  38010. r=`${PWD_COMMAND}`; export r; \
  38011. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38012. $(NORMAL_TARGET_EXPORTS) \
  38013. echo "Doing install-html in $(TARGET_SUBDIR)/libffi" ; \
  38014. for flag in $(EXTRA_TARGET_FLAGS); do \
  38015. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38016. done; \
  38017. (cd $(TARGET_SUBDIR)/libffi && \
  38018. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38019. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38020. "RANLIB=$${RANLIB}" \
  38021. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38022. install-html) \
  38023. || exit 1
  38024. @endif target-libffi
  38025. .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
  38026. maybe-installcheck-target-libffi:
  38027. @if target-libffi
  38028. maybe-installcheck-target-libffi: installcheck-target-libffi
  38029. installcheck-target-libffi: \
  38030. configure-target-libffi
  38031. @: $(MAKE); $(unstage)
  38032. @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
  38033. r=`${PWD_COMMAND}`; export r; \
  38034. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38035. $(NORMAL_TARGET_EXPORTS) \
  38036. echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
  38037. for flag in $(EXTRA_TARGET_FLAGS); do \
  38038. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38039. done; \
  38040. (cd $(TARGET_SUBDIR)/libffi && \
  38041. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38042. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38043. "RANLIB=$${RANLIB}" \
  38044. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38045. installcheck) \
  38046. || exit 1
  38047. @endif target-libffi
  38048. .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
  38049. maybe-mostlyclean-target-libffi:
  38050. @if target-libffi
  38051. maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
  38052. mostlyclean-target-libffi:
  38053. @: $(MAKE); $(unstage)
  38054. @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
  38055. r=`${PWD_COMMAND}`; export r; \
  38056. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38057. $(NORMAL_TARGET_EXPORTS) \
  38058. echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
  38059. for flag in $(EXTRA_TARGET_FLAGS); do \
  38060. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38061. done; \
  38062. (cd $(TARGET_SUBDIR)/libffi && \
  38063. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38064. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38065. "RANLIB=$${RANLIB}" \
  38066. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38067. mostlyclean) \
  38068. || exit 1
  38069. @endif target-libffi
  38070. .PHONY: maybe-clean-target-libffi clean-target-libffi
  38071. maybe-clean-target-libffi:
  38072. @if target-libffi
  38073. maybe-clean-target-libffi: clean-target-libffi
  38074. clean-target-libffi:
  38075. @: $(MAKE); $(unstage)
  38076. @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
  38077. r=`${PWD_COMMAND}`; export r; \
  38078. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38079. $(NORMAL_TARGET_EXPORTS) \
  38080. echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
  38081. for flag in $(EXTRA_TARGET_FLAGS); do \
  38082. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38083. done; \
  38084. (cd $(TARGET_SUBDIR)/libffi && \
  38085. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38086. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38087. "RANLIB=$${RANLIB}" \
  38088. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38089. clean) \
  38090. || exit 1
  38091. @endif target-libffi
  38092. .PHONY: maybe-distclean-target-libffi distclean-target-libffi
  38093. maybe-distclean-target-libffi:
  38094. @if target-libffi
  38095. maybe-distclean-target-libffi: distclean-target-libffi
  38096. distclean-target-libffi:
  38097. @: $(MAKE); $(unstage)
  38098. @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
  38099. r=`${PWD_COMMAND}`; export r; \
  38100. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38101. $(NORMAL_TARGET_EXPORTS) \
  38102. echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
  38103. for flag in $(EXTRA_TARGET_FLAGS); do \
  38104. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38105. done; \
  38106. (cd $(TARGET_SUBDIR)/libffi && \
  38107. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38108. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38109. "RANLIB=$${RANLIB}" \
  38110. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38111. distclean) \
  38112. || exit 1
  38113. @endif target-libffi
  38114. .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
  38115. maybe-maintainer-clean-target-libffi:
  38116. @if target-libffi
  38117. maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
  38118. maintainer-clean-target-libffi:
  38119. @: $(MAKE); $(unstage)
  38120. @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
  38121. r=`${PWD_COMMAND}`; export r; \
  38122. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38123. $(NORMAL_TARGET_EXPORTS) \
  38124. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
  38125. for flag in $(EXTRA_TARGET_FLAGS); do \
  38126. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38127. done; \
  38128. (cd $(TARGET_SUBDIR)/libffi && \
  38129. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38130. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38131. "RANLIB=$${RANLIB}" \
  38132. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38133. maintainer-clean) \
  38134. || exit 1
  38135. @endif target-libffi
  38136. .PHONY: configure-target-libjava maybe-configure-target-libjava
  38137. maybe-configure-target-libjava:
  38138. @if gcc-bootstrap
  38139. configure-target-libjava: stage_current
  38140. @endif gcc-bootstrap
  38141. @if target-libjava
  38142. maybe-configure-target-libjava: configure-target-libjava
  38143. configure-target-libjava:
  38144. @: $(MAKE); $(unstage)
  38145. @r=`${PWD_COMMAND}`; export r; \
  38146. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38147. echo "Checking multilib configuration for libjava..."; \
  38148. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
  38149. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libjava/multilib.tmp 2> /dev/null ; \
  38150. if test -r $(TARGET_SUBDIR)/libjava/multilib.out; then \
  38151. if cmp -s $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; then \
  38152. rm -f $(TARGET_SUBDIR)/libjava/multilib.tmp; \
  38153. else \
  38154. rm -f $(TARGET_SUBDIR)/libjava/Makefile; \
  38155. mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
  38156. fi; \
  38157. else \
  38158. mv $(TARGET_SUBDIR)/libjava/multilib.tmp $(TARGET_SUBDIR)/libjava/multilib.out; \
  38159. fi; \
  38160. test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
  38161. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
  38162. $(RAW_CXX_TARGET_EXPORTS) \
  38163. echo Configuring in $(TARGET_SUBDIR)/libjava; \
  38164. cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
  38165. case $(srcdir) in \
  38166. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  38167. *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
  38168. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  38169. esac; \
  38170. module_srcdir=libjava; \
  38171. rm -f no-such-file || : ; \
  38172. CONFIG_SITE=no-such-file $(SHELL) \
  38173. $$s/$$module_srcdir/configure \
  38174. --srcdir=$${topdir}/$$module_srcdir \
  38175. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  38176. --target=${target_alias} $(EXTRA_CONFIGARGS_LIBJAVA) \
  38177. || exit 1
  38178. @endif target-libjava
  38179. .PHONY: all-target-libjava maybe-all-target-libjava
  38180. maybe-all-target-libjava:
  38181. @if gcc-bootstrap
  38182. all-target-libjava: stage_current
  38183. @endif gcc-bootstrap
  38184. @if target-libjava
  38185. TARGET-target-libjava=all
  38186. maybe-all-target-libjava: all-target-libjava
  38187. all-target-libjava: configure-target-libjava
  38188. @: $(MAKE); $(unstage)
  38189. @r=`${PWD_COMMAND}`; export r; \
  38190. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38191. $(RAW_CXX_TARGET_EXPORTS) \
  38192. (cd $(TARGET_SUBDIR)/libjava && \
  38193. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' \
  38194. $(TARGET-target-libjava))
  38195. @endif target-libjava
  38196. .PHONY: check-target-libjava maybe-check-target-libjava
  38197. maybe-check-target-libjava:
  38198. @if target-libjava
  38199. maybe-check-target-libjava: check-target-libjava
  38200. check-target-libjava:
  38201. @: $(MAKE); $(unstage)
  38202. @r=`${PWD_COMMAND}`; export r; \
  38203. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38204. $(RAW_CXX_TARGET_EXPORTS) \
  38205. (cd $(TARGET_SUBDIR)/libjava && \
  38206. $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
  38207. @endif target-libjava
  38208. .PHONY: install-target-libjava maybe-install-target-libjava
  38209. maybe-install-target-libjava:
  38210. @if target-libjava
  38211. maybe-install-target-libjava: install-target-libjava
  38212. install-target-libjava: installdirs
  38213. @: $(MAKE); $(unstage)
  38214. @r=`${PWD_COMMAND}`; export r; \
  38215. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38216. $(RAW_CXX_TARGET_EXPORTS) \
  38217. (cd $(TARGET_SUBDIR)/libjava && \
  38218. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  38219. @endif target-libjava
  38220. .PHONY: install-strip-target-libjava maybe-install-strip-target-libjava
  38221. maybe-install-strip-target-libjava:
  38222. @if target-libjava
  38223. maybe-install-strip-target-libjava: install-strip-target-libjava
  38224. install-strip-target-libjava: installdirs
  38225. @: $(MAKE); $(unstage)
  38226. @r=`${PWD_COMMAND}`; export r; \
  38227. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38228. $(RAW_CXX_TARGET_EXPORTS) \
  38229. (cd $(TARGET_SUBDIR)/libjava && \
  38230. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  38231. @endif target-libjava
  38232. # Other targets (info, dvi, pdf, etc.)
  38233. .PHONY: maybe-info-target-libjava info-target-libjava
  38234. maybe-info-target-libjava:
  38235. @if target-libjava
  38236. maybe-info-target-libjava: info-target-libjava
  38237. info-target-libjava: \
  38238. configure-target-libjava
  38239. @: $(MAKE); $(unstage)
  38240. @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
  38241. r=`${PWD_COMMAND}`; export r; \
  38242. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38243. $(RAW_CXX_TARGET_EXPORTS) \
  38244. echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
  38245. for flag in $(EXTRA_TARGET_FLAGS); do \
  38246. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38247. done; \
  38248. (cd $(TARGET_SUBDIR)/libjava && \
  38249. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38250. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38251. "RANLIB=$${RANLIB}" \
  38252. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38253. info) \
  38254. || exit 1
  38255. @endif target-libjava
  38256. .PHONY: maybe-dvi-target-libjava dvi-target-libjava
  38257. maybe-dvi-target-libjava:
  38258. @if target-libjava
  38259. maybe-dvi-target-libjava: dvi-target-libjava
  38260. dvi-target-libjava: \
  38261. configure-target-libjava
  38262. @: $(MAKE); $(unstage)
  38263. @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
  38264. r=`${PWD_COMMAND}`; export r; \
  38265. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38266. $(RAW_CXX_TARGET_EXPORTS) \
  38267. echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
  38268. for flag in $(EXTRA_TARGET_FLAGS); do \
  38269. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38270. done; \
  38271. (cd $(TARGET_SUBDIR)/libjava && \
  38272. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38273. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38274. "RANLIB=$${RANLIB}" \
  38275. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38276. dvi) \
  38277. || exit 1
  38278. @endif target-libjava
  38279. .PHONY: maybe-pdf-target-libjava pdf-target-libjava
  38280. maybe-pdf-target-libjava:
  38281. @if target-libjava
  38282. maybe-pdf-target-libjava: pdf-target-libjava
  38283. pdf-target-libjava: \
  38284. configure-target-libjava
  38285. @: $(MAKE); $(unstage)
  38286. @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
  38287. r=`${PWD_COMMAND}`; export r; \
  38288. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38289. $(RAW_CXX_TARGET_EXPORTS) \
  38290. echo "Doing pdf in $(TARGET_SUBDIR)/libjava" ; \
  38291. for flag in $(EXTRA_TARGET_FLAGS); do \
  38292. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38293. done; \
  38294. (cd $(TARGET_SUBDIR)/libjava && \
  38295. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38296. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38297. "RANLIB=$${RANLIB}" \
  38298. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38299. pdf) \
  38300. || exit 1
  38301. @endif target-libjava
  38302. .PHONY: maybe-html-target-libjava html-target-libjava
  38303. maybe-html-target-libjava:
  38304. @if target-libjava
  38305. maybe-html-target-libjava: html-target-libjava
  38306. html-target-libjava: \
  38307. configure-target-libjava
  38308. @: $(MAKE); $(unstage)
  38309. @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
  38310. r=`${PWD_COMMAND}`; export r; \
  38311. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38312. $(RAW_CXX_TARGET_EXPORTS) \
  38313. echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
  38314. for flag in $(EXTRA_TARGET_FLAGS); do \
  38315. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38316. done; \
  38317. (cd $(TARGET_SUBDIR)/libjava && \
  38318. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38319. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38320. "RANLIB=$${RANLIB}" \
  38321. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38322. html) \
  38323. || exit 1
  38324. @endif target-libjava
  38325. .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
  38326. maybe-TAGS-target-libjava:
  38327. @if target-libjava
  38328. maybe-TAGS-target-libjava: TAGS-target-libjava
  38329. TAGS-target-libjava: \
  38330. configure-target-libjava
  38331. @: $(MAKE); $(unstage)
  38332. @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
  38333. r=`${PWD_COMMAND}`; export r; \
  38334. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38335. $(RAW_CXX_TARGET_EXPORTS) \
  38336. echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
  38337. for flag in $(EXTRA_TARGET_FLAGS); do \
  38338. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38339. done; \
  38340. (cd $(TARGET_SUBDIR)/libjava && \
  38341. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38342. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38343. "RANLIB=$${RANLIB}" \
  38344. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38345. TAGS) \
  38346. || exit 1
  38347. @endif target-libjava
  38348. .PHONY: maybe-install-info-target-libjava install-info-target-libjava
  38349. maybe-install-info-target-libjava:
  38350. @if target-libjava
  38351. maybe-install-info-target-libjava: install-info-target-libjava
  38352. install-info-target-libjava: \
  38353. configure-target-libjava \
  38354. info-target-libjava
  38355. @: $(MAKE); $(unstage)
  38356. @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
  38357. r=`${PWD_COMMAND}`; export r; \
  38358. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38359. $(RAW_CXX_TARGET_EXPORTS) \
  38360. echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
  38361. for flag in $(EXTRA_TARGET_FLAGS); do \
  38362. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38363. done; \
  38364. (cd $(TARGET_SUBDIR)/libjava && \
  38365. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38366. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38367. "RANLIB=$${RANLIB}" \
  38368. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38369. install-info) \
  38370. || exit 1
  38371. @endif target-libjava
  38372. .PHONY: maybe-install-pdf-target-libjava install-pdf-target-libjava
  38373. maybe-install-pdf-target-libjava:
  38374. @if target-libjava
  38375. maybe-install-pdf-target-libjava: install-pdf-target-libjava
  38376. install-pdf-target-libjava: \
  38377. configure-target-libjava \
  38378. pdf-target-libjava
  38379. @: $(MAKE); $(unstage)
  38380. @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
  38381. r=`${PWD_COMMAND}`; export r; \
  38382. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38383. $(RAW_CXX_TARGET_EXPORTS) \
  38384. echo "Doing install-pdf in $(TARGET_SUBDIR)/libjava" ; \
  38385. for flag in $(EXTRA_TARGET_FLAGS); do \
  38386. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38387. done; \
  38388. (cd $(TARGET_SUBDIR)/libjava && \
  38389. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38390. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38391. "RANLIB=$${RANLIB}" \
  38392. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38393. install-pdf) \
  38394. || exit 1
  38395. @endif target-libjava
  38396. .PHONY: maybe-install-html-target-libjava install-html-target-libjava
  38397. maybe-install-html-target-libjava:
  38398. @if target-libjava
  38399. maybe-install-html-target-libjava: install-html-target-libjava
  38400. install-html-target-libjava: \
  38401. configure-target-libjava \
  38402. html-target-libjava
  38403. @: $(MAKE); $(unstage)
  38404. @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
  38405. r=`${PWD_COMMAND}`; export r; \
  38406. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38407. $(RAW_CXX_TARGET_EXPORTS) \
  38408. echo "Doing install-html in $(TARGET_SUBDIR)/libjava" ; \
  38409. for flag in $(EXTRA_TARGET_FLAGS); do \
  38410. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38411. done; \
  38412. (cd $(TARGET_SUBDIR)/libjava && \
  38413. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38414. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38415. "RANLIB=$${RANLIB}" \
  38416. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38417. install-html) \
  38418. || exit 1
  38419. @endif target-libjava
  38420. .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
  38421. maybe-installcheck-target-libjava:
  38422. @if target-libjava
  38423. maybe-installcheck-target-libjava: installcheck-target-libjava
  38424. installcheck-target-libjava: \
  38425. configure-target-libjava
  38426. @: $(MAKE); $(unstage)
  38427. @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
  38428. r=`${PWD_COMMAND}`; export r; \
  38429. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38430. $(RAW_CXX_TARGET_EXPORTS) \
  38431. echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
  38432. for flag in $(EXTRA_TARGET_FLAGS); do \
  38433. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38434. done; \
  38435. (cd $(TARGET_SUBDIR)/libjava && \
  38436. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38437. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38438. "RANLIB=$${RANLIB}" \
  38439. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38440. installcheck) \
  38441. || exit 1
  38442. @endif target-libjava
  38443. .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
  38444. maybe-mostlyclean-target-libjava:
  38445. @if target-libjava
  38446. maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
  38447. mostlyclean-target-libjava:
  38448. @: $(MAKE); $(unstage)
  38449. @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
  38450. r=`${PWD_COMMAND}`; export r; \
  38451. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38452. $(RAW_CXX_TARGET_EXPORTS) \
  38453. echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
  38454. for flag in $(EXTRA_TARGET_FLAGS); do \
  38455. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38456. done; \
  38457. (cd $(TARGET_SUBDIR)/libjava && \
  38458. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38459. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38460. "RANLIB=$${RANLIB}" \
  38461. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38462. mostlyclean) \
  38463. || exit 1
  38464. @endif target-libjava
  38465. .PHONY: maybe-clean-target-libjava clean-target-libjava
  38466. maybe-clean-target-libjava:
  38467. @if target-libjava
  38468. maybe-clean-target-libjava: clean-target-libjava
  38469. clean-target-libjava:
  38470. @: $(MAKE); $(unstage)
  38471. @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
  38472. r=`${PWD_COMMAND}`; export r; \
  38473. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38474. $(RAW_CXX_TARGET_EXPORTS) \
  38475. echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
  38476. for flag in $(EXTRA_TARGET_FLAGS); do \
  38477. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38478. done; \
  38479. (cd $(TARGET_SUBDIR)/libjava && \
  38480. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38481. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38482. "RANLIB=$${RANLIB}" \
  38483. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38484. clean) \
  38485. || exit 1
  38486. @endif target-libjava
  38487. .PHONY: maybe-distclean-target-libjava distclean-target-libjava
  38488. maybe-distclean-target-libjava:
  38489. @if target-libjava
  38490. maybe-distclean-target-libjava: distclean-target-libjava
  38491. distclean-target-libjava:
  38492. @: $(MAKE); $(unstage)
  38493. @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
  38494. r=`${PWD_COMMAND}`; export r; \
  38495. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38496. $(RAW_CXX_TARGET_EXPORTS) \
  38497. echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
  38498. for flag in $(EXTRA_TARGET_FLAGS); do \
  38499. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38500. done; \
  38501. (cd $(TARGET_SUBDIR)/libjava && \
  38502. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38503. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38504. "RANLIB=$${RANLIB}" \
  38505. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38506. distclean) \
  38507. || exit 1
  38508. @endif target-libjava
  38509. .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
  38510. maybe-maintainer-clean-target-libjava:
  38511. @if target-libjava
  38512. maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
  38513. maintainer-clean-target-libjava:
  38514. @: $(MAKE); $(unstage)
  38515. @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
  38516. r=`${PWD_COMMAND}`; export r; \
  38517. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38518. $(RAW_CXX_TARGET_EXPORTS) \
  38519. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
  38520. for flag in $(EXTRA_TARGET_FLAGS); do \
  38521. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38522. done; \
  38523. (cd $(TARGET_SUBDIR)/libjava && \
  38524. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38525. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38526. "RANLIB=$${RANLIB}" \
  38527. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38528. maintainer-clean) \
  38529. || exit 1
  38530. @endif target-libjava
  38531. .PHONY: configure-target-zlib maybe-configure-target-zlib
  38532. maybe-configure-target-zlib:
  38533. @if gcc-bootstrap
  38534. configure-target-zlib: stage_current
  38535. @endif gcc-bootstrap
  38536. @if target-zlib
  38537. maybe-configure-target-zlib: configure-target-zlib
  38538. configure-target-zlib:
  38539. @: $(MAKE); $(unstage)
  38540. @r=`${PWD_COMMAND}`; export r; \
  38541. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38542. echo "Checking multilib configuration for zlib..."; \
  38543. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
  38544. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/zlib/multilib.tmp 2> /dev/null ; \
  38545. if test -r $(TARGET_SUBDIR)/zlib/multilib.out; then \
  38546. if cmp -s $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; then \
  38547. rm -f $(TARGET_SUBDIR)/zlib/multilib.tmp; \
  38548. else \
  38549. rm -f $(TARGET_SUBDIR)/zlib/Makefile; \
  38550. mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
  38551. fi; \
  38552. else \
  38553. mv $(TARGET_SUBDIR)/zlib/multilib.tmp $(TARGET_SUBDIR)/zlib/multilib.out; \
  38554. fi; \
  38555. test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
  38556. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
  38557. $(NORMAL_TARGET_EXPORTS) \
  38558. echo Configuring in $(TARGET_SUBDIR)/zlib; \
  38559. cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
  38560. case $(srcdir) in \
  38561. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  38562. *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
  38563. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  38564. esac; \
  38565. module_srcdir=zlib; \
  38566. rm -f no-such-file || : ; \
  38567. CONFIG_SITE=no-such-file $(SHELL) \
  38568. $$s/$$module_srcdir/configure \
  38569. --srcdir=$${topdir}/$$module_srcdir \
  38570. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  38571. --target=${target_alias} \
  38572. || exit 1
  38573. @endif target-zlib
  38574. .PHONY: all-target-zlib maybe-all-target-zlib
  38575. maybe-all-target-zlib:
  38576. @if gcc-bootstrap
  38577. all-target-zlib: stage_current
  38578. @endif gcc-bootstrap
  38579. @if target-zlib
  38580. TARGET-target-zlib=all
  38581. maybe-all-target-zlib: all-target-zlib
  38582. all-target-zlib: configure-target-zlib
  38583. @: $(MAKE); $(unstage)
  38584. @r=`${PWD_COMMAND}`; export r; \
  38585. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38586. $(NORMAL_TARGET_EXPORTS) \
  38587. (cd $(TARGET_SUBDIR)/zlib && \
  38588. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  38589. $(TARGET-target-zlib))
  38590. @endif target-zlib
  38591. .PHONY: check-target-zlib maybe-check-target-zlib
  38592. maybe-check-target-zlib:
  38593. @if target-zlib
  38594. maybe-check-target-zlib: check-target-zlib
  38595. check-target-zlib:
  38596. @: $(MAKE); $(unstage)
  38597. @r=`${PWD_COMMAND}`; export r; \
  38598. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38599. $(NORMAL_TARGET_EXPORTS) \
  38600. (cd $(TARGET_SUBDIR)/zlib && \
  38601. $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
  38602. @endif target-zlib
  38603. .PHONY: install-target-zlib maybe-install-target-zlib
  38604. maybe-install-target-zlib:
  38605. @if target-zlib
  38606. maybe-install-target-zlib: install-target-zlib
  38607. install-target-zlib: installdirs
  38608. @: $(MAKE); $(unstage)
  38609. @r=`${PWD_COMMAND}`; export r; \
  38610. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38611. $(NORMAL_TARGET_EXPORTS) \
  38612. (cd $(TARGET_SUBDIR)/zlib && \
  38613. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  38614. @endif target-zlib
  38615. .PHONY: install-strip-target-zlib maybe-install-strip-target-zlib
  38616. maybe-install-strip-target-zlib:
  38617. @if target-zlib
  38618. maybe-install-strip-target-zlib: install-strip-target-zlib
  38619. install-strip-target-zlib: installdirs
  38620. @: $(MAKE); $(unstage)
  38621. @r=`${PWD_COMMAND}`; export r; \
  38622. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38623. $(NORMAL_TARGET_EXPORTS) \
  38624. (cd $(TARGET_SUBDIR)/zlib && \
  38625. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  38626. @endif target-zlib
  38627. # Other targets (info, dvi, pdf, etc.)
  38628. .PHONY: maybe-info-target-zlib info-target-zlib
  38629. maybe-info-target-zlib:
  38630. @if target-zlib
  38631. maybe-info-target-zlib: info-target-zlib
  38632. info-target-zlib: \
  38633. configure-target-zlib
  38634. @: $(MAKE); $(unstage)
  38635. @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
  38636. r=`${PWD_COMMAND}`; export r; \
  38637. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38638. $(NORMAL_TARGET_EXPORTS) \
  38639. echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
  38640. for flag in $(EXTRA_TARGET_FLAGS); do \
  38641. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38642. done; \
  38643. (cd $(TARGET_SUBDIR)/zlib && \
  38644. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38645. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38646. "RANLIB=$${RANLIB}" \
  38647. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38648. info) \
  38649. || exit 1
  38650. @endif target-zlib
  38651. .PHONY: maybe-dvi-target-zlib dvi-target-zlib
  38652. maybe-dvi-target-zlib:
  38653. @if target-zlib
  38654. maybe-dvi-target-zlib: dvi-target-zlib
  38655. dvi-target-zlib: \
  38656. configure-target-zlib
  38657. @: $(MAKE); $(unstage)
  38658. @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
  38659. r=`${PWD_COMMAND}`; export r; \
  38660. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38661. $(NORMAL_TARGET_EXPORTS) \
  38662. echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
  38663. for flag in $(EXTRA_TARGET_FLAGS); do \
  38664. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38665. done; \
  38666. (cd $(TARGET_SUBDIR)/zlib && \
  38667. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38668. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38669. "RANLIB=$${RANLIB}" \
  38670. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38671. dvi) \
  38672. || exit 1
  38673. @endif target-zlib
  38674. .PHONY: maybe-pdf-target-zlib pdf-target-zlib
  38675. maybe-pdf-target-zlib:
  38676. @if target-zlib
  38677. maybe-pdf-target-zlib: pdf-target-zlib
  38678. pdf-target-zlib: \
  38679. configure-target-zlib
  38680. @: $(MAKE); $(unstage)
  38681. @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
  38682. r=`${PWD_COMMAND}`; export r; \
  38683. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38684. $(NORMAL_TARGET_EXPORTS) \
  38685. echo "Doing pdf in $(TARGET_SUBDIR)/zlib" ; \
  38686. for flag in $(EXTRA_TARGET_FLAGS); do \
  38687. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38688. done; \
  38689. (cd $(TARGET_SUBDIR)/zlib && \
  38690. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38691. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38692. "RANLIB=$${RANLIB}" \
  38693. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38694. pdf) \
  38695. || exit 1
  38696. @endif target-zlib
  38697. .PHONY: maybe-html-target-zlib html-target-zlib
  38698. maybe-html-target-zlib:
  38699. @if target-zlib
  38700. maybe-html-target-zlib: html-target-zlib
  38701. html-target-zlib: \
  38702. configure-target-zlib
  38703. @: $(MAKE); $(unstage)
  38704. @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
  38705. r=`${PWD_COMMAND}`; export r; \
  38706. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38707. $(NORMAL_TARGET_EXPORTS) \
  38708. echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
  38709. for flag in $(EXTRA_TARGET_FLAGS); do \
  38710. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38711. done; \
  38712. (cd $(TARGET_SUBDIR)/zlib && \
  38713. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38714. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38715. "RANLIB=$${RANLIB}" \
  38716. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38717. html) \
  38718. || exit 1
  38719. @endif target-zlib
  38720. .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
  38721. maybe-TAGS-target-zlib:
  38722. @if target-zlib
  38723. maybe-TAGS-target-zlib: TAGS-target-zlib
  38724. TAGS-target-zlib: \
  38725. configure-target-zlib
  38726. @: $(MAKE); $(unstage)
  38727. @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
  38728. r=`${PWD_COMMAND}`; export r; \
  38729. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38730. $(NORMAL_TARGET_EXPORTS) \
  38731. echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
  38732. for flag in $(EXTRA_TARGET_FLAGS); do \
  38733. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38734. done; \
  38735. (cd $(TARGET_SUBDIR)/zlib && \
  38736. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38737. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38738. "RANLIB=$${RANLIB}" \
  38739. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38740. TAGS) \
  38741. || exit 1
  38742. @endif target-zlib
  38743. .PHONY: maybe-install-info-target-zlib install-info-target-zlib
  38744. maybe-install-info-target-zlib:
  38745. @if target-zlib
  38746. maybe-install-info-target-zlib: install-info-target-zlib
  38747. install-info-target-zlib: \
  38748. configure-target-zlib \
  38749. info-target-zlib
  38750. @: $(MAKE); $(unstage)
  38751. @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
  38752. r=`${PWD_COMMAND}`; export r; \
  38753. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38754. $(NORMAL_TARGET_EXPORTS) \
  38755. echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
  38756. for flag in $(EXTRA_TARGET_FLAGS); do \
  38757. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38758. done; \
  38759. (cd $(TARGET_SUBDIR)/zlib && \
  38760. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38761. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38762. "RANLIB=$${RANLIB}" \
  38763. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38764. install-info) \
  38765. || exit 1
  38766. @endif target-zlib
  38767. .PHONY: maybe-install-pdf-target-zlib install-pdf-target-zlib
  38768. maybe-install-pdf-target-zlib:
  38769. @if target-zlib
  38770. maybe-install-pdf-target-zlib: install-pdf-target-zlib
  38771. install-pdf-target-zlib: \
  38772. configure-target-zlib \
  38773. pdf-target-zlib
  38774. @: $(MAKE); $(unstage)
  38775. @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
  38776. r=`${PWD_COMMAND}`; export r; \
  38777. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38778. $(NORMAL_TARGET_EXPORTS) \
  38779. echo "Doing install-pdf in $(TARGET_SUBDIR)/zlib" ; \
  38780. for flag in $(EXTRA_TARGET_FLAGS); do \
  38781. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38782. done; \
  38783. (cd $(TARGET_SUBDIR)/zlib && \
  38784. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38785. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38786. "RANLIB=$${RANLIB}" \
  38787. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38788. install-pdf) \
  38789. || exit 1
  38790. @endif target-zlib
  38791. .PHONY: maybe-install-html-target-zlib install-html-target-zlib
  38792. maybe-install-html-target-zlib:
  38793. @if target-zlib
  38794. maybe-install-html-target-zlib: install-html-target-zlib
  38795. install-html-target-zlib: \
  38796. configure-target-zlib \
  38797. html-target-zlib
  38798. @: $(MAKE); $(unstage)
  38799. @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
  38800. r=`${PWD_COMMAND}`; export r; \
  38801. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38802. $(NORMAL_TARGET_EXPORTS) \
  38803. echo "Doing install-html in $(TARGET_SUBDIR)/zlib" ; \
  38804. for flag in $(EXTRA_TARGET_FLAGS); do \
  38805. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38806. done; \
  38807. (cd $(TARGET_SUBDIR)/zlib && \
  38808. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38809. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38810. "RANLIB=$${RANLIB}" \
  38811. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38812. install-html) \
  38813. || exit 1
  38814. @endif target-zlib
  38815. .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
  38816. maybe-installcheck-target-zlib:
  38817. @if target-zlib
  38818. maybe-installcheck-target-zlib: installcheck-target-zlib
  38819. installcheck-target-zlib: \
  38820. configure-target-zlib
  38821. @: $(MAKE); $(unstage)
  38822. @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
  38823. r=`${PWD_COMMAND}`; export r; \
  38824. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38825. $(NORMAL_TARGET_EXPORTS) \
  38826. echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
  38827. for flag in $(EXTRA_TARGET_FLAGS); do \
  38828. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38829. done; \
  38830. (cd $(TARGET_SUBDIR)/zlib && \
  38831. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38832. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38833. "RANLIB=$${RANLIB}" \
  38834. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38835. installcheck) \
  38836. || exit 1
  38837. @endif target-zlib
  38838. .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
  38839. maybe-mostlyclean-target-zlib:
  38840. @if target-zlib
  38841. maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
  38842. mostlyclean-target-zlib:
  38843. @: $(MAKE); $(unstage)
  38844. @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
  38845. r=`${PWD_COMMAND}`; export r; \
  38846. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38847. $(NORMAL_TARGET_EXPORTS) \
  38848. echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
  38849. for flag in $(EXTRA_TARGET_FLAGS); do \
  38850. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38851. done; \
  38852. (cd $(TARGET_SUBDIR)/zlib && \
  38853. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38854. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38855. "RANLIB=$${RANLIB}" \
  38856. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38857. mostlyclean) \
  38858. || exit 1
  38859. @endif target-zlib
  38860. .PHONY: maybe-clean-target-zlib clean-target-zlib
  38861. maybe-clean-target-zlib:
  38862. @if target-zlib
  38863. maybe-clean-target-zlib: clean-target-zlib
  38864. clean-target-zlib:
  38865. @: $(MAKE); $(unstage)
  38866. @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
  38867. r=`${PWD_COMMAND}`; export r; \
  38868. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38869. $(NORMAL_TARGET_EXPORTS) \
  38870. echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
  38871. for flag in $(EXTRA_TARGET_FLAGS); do \
  38872. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38873. done; \
  38874. (cd $(TARGET_SUBDIR)/zlib && \
  38875. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38876. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38877. "RANLIB=$${RANLIB}" \
  38878. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38879. clean) \
  38880. || exit 1
  38881. @endif target-zlib
  38882. .PHONY: maybe-distclean-target-zlib distclean-target-zlib
  38883. maybe-distclean-target-zlib:
  38884. @if target-zlib
  38885. maybe-distclean-target-zlib: distclean-target-zlib
  38886. distclean-target-zlib:
  38887. @: $(MAKE); $(unstage)
  38888. @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
  38889. r=`${PWD_COMMAND}`; export r; \
  38890. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38891. $(NORMAL_TARGET_EXPORTS) \
  38892. echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
  38893. for flag in $(EXTRA_TARGET_FLAGS); do \
  38894. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38895. done; \
  38896. (cd $(TARGET_SUBDIR)/zlib && \
  38897. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38898. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38899. "RANLIB=$${RANLIB}" \
  38900. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38901. distclean) \
  38902. || exit 1
  38903. @endif target-zlib
  38904. .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
  38905. maybe-maintainer-clean-target-zlib:
  38906. @if target-zlib
  38907. maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
  38908. maintainer-clean-target-zlib:
  38909. @: $(MAKE); $(unstage)
  38910. @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
  38911. r=`${PWD_COMMAND}`; export r; \
  38912. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38913. $(NORMAL_TARGET_EXPORTS) \
  38914. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
  38915. for flag in $(EXTRA_TARGET_FLAGS); do \
  38916. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  38917. done; \
  38918. (cd $(TARGET_SUBDIR)/zlib && \
  38919. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  38920. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  38921. "RANLIB=$${RANLIB}" \
  38922. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  38923. maintainer-clean) \
  38924. || exit 1
  38925. @endif target-zlib
  38926. .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
  38927. maybe-configure-target-boehm-gc:
  38928. @if gcc-bootstrap
  38929. configure-target-boehm-gc: stage_current
  38930. @endif gcc-bootstrap
  38931. @if target-boehm-gc
  38932. maybe-configure-target-boehm-gc: configure-target-boehm-gc
  38933. configure-target-boehm-gc:
  38934. @: $(MAKE); $(unstage)
  38935. @r=`${PWD_COMMAND}`; export r; \
  38936. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38937. echo "Checking multilib configuration for boehm-gc..."; \
  38938. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
  38939. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/boehm-gc/multilib.tmp 2> /dev/null ; \
  38940. if test -r $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
  38941. if cmp -s $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; then \
  38942. rm -f $(TARGET_SUBDIR)/boehm-gc/multilib.tmp; \
  38943. else \
  38944. rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile; \
  38945. mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
  38946. fi; \
  38947. else \
  38948. mv $(TARGET_SUBDIR)/boehm-gc/multilib.tmp $(TARGET_SUBDIR)/boehm-gc/multilib.out; \
  38949. fi; \
  38950. test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
  38951. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
  38952. $(NORMAL_TARGET_EXPORTS) \
  38953. echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
  38954. cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
  38955. case $(srcdir) in \
  38956. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  38957. *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
  38958. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  38959. esac; \
  38960. module_srcdir=boehm-gc; \
  38961. rm -f no-such-file || : ; \
  38962. CONFIG_SITE=no-such-file $(SHELL) \
  38963. $$s/$$module_srcdir/configure \
  38964. --srcdir=$${topdir}/$$module_srcdir \
  38965. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  38966. --target=${target_alias} \
  38967. || exit 1
  38968. @endif target-boehm-gc
  38969. .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
  38970. maybe-all-target-boehm-gc:
  38971. @if gcc-bootstrap
  38972. all-target-boehm-gc: stage_current
  38973. @endif gcc-bootstrap
  38974. @if target-boehm-gc
  38975. TARGET-target-boehm-gc=all
  38976. maybe-all-target-boehm-gc: all-target-boehm-gc
  38977. all-target-boehm-gc: configure-target-boehm-gc
  38978. @: $(MAKE); $(unstage)
  38979. @r=`${PWD_COMMAND}`; export r; \
  38980. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38981. $(NORMAL_TARGET_EXPORTS) \
  38982. (cd $(TARGET_SUBDIR)/boehm-gc && \
  38983. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  38984. $(TARGET-target-boehm-gc))
  38985. @endif target-boehm-gc
  38986. .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
  38987. maybe-check-target-boehm-gc:
  38988. @if target-boehm-gc
  38989. maybe-check-target-boehm-gc: check-target-boehm-gc
  38990. check-target-boehm-gc:
  38991. @: $(MAKE); $(unstage)
  38992. @r=`${PWD_COMMAND}`; export r; \
  38993. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  38994. $(NORMAL_TARGET_EXPORTS) \
  38995. (cd $(TARGET_SUBDIR)/boehm-gc && \
  38996. $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
  38997. @endif target-boehm-gc
  38998. .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
  38999. maybe-install-target-boehm-gc:
  39000. @if target-boehm-gc
  39001. maybe-install-target-boehm-gc: install-target-boehm-gc
  39002. install-target-boehm-gc: installdirs
  39003. @: $(MAKE); $(unstage)
  39004. @r=`${PWD_COMMAND}`; export r; \
  39005. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39006. $(NORMAL_TARGET_EXPORTS) \
  39007. (cd $(TARGET_SUBDIR)/boehm-gc && \
  39008. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  39009. @endif target-boehm-gc
  39010. .PHONY: install-strip-target-boehm-gc maybe-install-strip-target-boehm-gc
  39011. maybe-install-strip-target-boehm-gc:
  39012. @if target-boehm-gc
  39013. maybe-install-strip-target-boehm-gc: install-strip-target-boehm-gc
  39014. install-strip-target-boehm-gc: installdirs
  39015. @: $(MAKE); $(unstage)
  39016. @r=`${PWD_COMMAND}`; export r; \
  39017. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39018. $(NORMAL_TARGET_EXPORTS) \
  39019. (cd $(TARGET_SUBDIR)/boehm-gc && \
  39020. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  39021. @endif target-boehm-gc
  39022. # Other targets (info, dvi, pdf, etc.)
  39023. .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
  39024. maybe-info-target-boehm-gc:
  39025. @if target-boehm-gc
  39026. maybe-info-target-boehm-gc: info-target-boehm-gc
  39027. info-target-boehm-gc: \
  39028. configure-target-boehm-gc
  39029. @: $(MAKE); $(unstage)
  39030. @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
  39031. r=`${PWD_COMMAND}`; export r; \
  39032. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39033. $(NORMAL_TARGET_EXPORTS) \
  39034. echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
  39035. for flag in $(EXTRA_TARGET_FLAGS); do \
  39036. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39037. done; \
  39038. (cd $(TARGET_SUBDIR)/boehm-gc && \
  39039. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39040. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39041. "RANLIB=$${RANLIB}" \
  39042. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39043. info) \
  39044. || exit 1
  39045. @endif target-boehm-gc
  39046. .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
  39047. maybe-dvi-target-boehm-gc:
  39048. @if target-boehm-gc
  39049. maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
  39050. dvi-target-boehm-gc: \
  39051. configure-target-boehm-gc
  39052. @: $(MAKE); $(unstage)
  39053. @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
  39054. r=`${PWD_COMMAND}`; export r; \
  39055. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39056. $(NORMAL_TARGET_EXPORTS) \
  39057. echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
  39058. for flag in $(EXTRA_TARGET_FLAGS); do \
  39059. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39060. done; \
  39061. (cd $(TARGET_SUBDIR)/boehm-gc && \
  39062. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39063. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39064. "RANLIB=$${RANLIB}" \
  39065. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39066. dvi) \
  39067. || exit 1
  39068. @endif target-boehm-gc
  39069. .PHONY: maybe-pdf-target-boehm-gc pdf-target-boehm-gc
  39070. maybe-pdf-target-boehm-gc:
  39071. @if target-boehm-gc
  39072. maybe-pdf-target-boehm-gc: pdf-target-boehm-gc
  39073. pdf-target-boehm-gc: \
  39074. configure-target-boehm-gc
  39075. @: $(MAKE); $(unstage)
  39076. @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
  39077. r=`${PWD_COMMAND}`; export r; \
  39078. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39079. $(NORMAL_TARGET_EXPORTS) \
  39080. echo "Doing pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
  39081. for flag in $(EXTRA_TARGET_FLAGS); do \
  39082. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39083. done; \
  39084. (cd $(TARGET_SUBDIR)/boehm-gc && \
  39085. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39086. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39087. "RANLIB=$${RANLIB}" \
  39088. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39089. pdf) \
  39090. || exit 1
  39091. @endif target-boehm-gc
  39092. .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
  39093. maybe-html-target-boehm-gc:
  39094. @if target-boehm-gc
  39095. maybe-html-target-boehm-gc: html-target-boehm-gc
  39096. html-target-boehm-gc: \
  39097. configure-target-boehm-gc
  39098. @: $(MAKE); $(unstage)
  39099. @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
  39100. r=`${PWD_COMMAND}`; export r; \
  39101. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39102. $(NORMAL_TARGET_EXPORTS) \
  39103. echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
  39104. for flag in $(EXTRA_TARGET_FLAGS); do \
  39105. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39106. done; \
  39107. (cd $(TARGET_SUBDIR)/boehm-gc && \
  39108. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39109. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39110. "RANLIB=$${RANLIB}" \
  39111. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39112. html) \
  39113. || exit 1
  39114. @endif target-boehm-gc
  39115. .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
  39116. maybe-TAGS-target-boehm-gc:
  39117. @if target-boehm-gc
  39118. maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
  39119. TAGS-target-boehm-gc: \
  39120. configure-target-boehm-gc
  39121. @: $(MAKE); $(unstage)
  39122. @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
  39123. r=`${PWD_COMMAND}`; export r; \
  39124. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39125. $(NORMAL_TARGET_EXPORTS) \
  39126. echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
  39127. for flag in $(EXTRA_TARGET_FLAGS); do \
  39128. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39129. done; \
  39130. (cd $(TARGET_SUBDIR)/boehm-gc && \
  39131. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39132. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39133. "RANLIB=$${RANLIB}" \
  39134. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39135. TAGS) \
  39136. || exit 1
  39137. @endif target-boehm-gc
  39138. .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
  39139. maybe-install-info-target-boehm-gc:
  39140. @if target-boehm-gc
  39141. maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
  39142. install-info-target-boehm-gc: \
  39143. configure-target-boehm-gc \
  39144. info-target-boehm-gc
  39145. @: $(MAKE); $(unstage)
  39146. @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
  39147. r=`${PWD_COMMAND}`; export r; \
  39148. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39149. $(NORMAL_TARGET_EXPORTS) \
  39150. echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
  39151. for flag in $(EXTRA_TARGET_FLAGS); do \
  39152. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39153. done; \
  39154. (cd $(TARGET_SUBDIR)/boehm-gc && \
  39155. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39156. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39157. "RANLIB=$${RANLIB}" \
  39158. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39159. install-info) \
  39160. || exit 1
  39161. @endif target-boehm-gc
  39162. .PHONY: maybe-install-pdf-target-boehm-gc install-pdf-target-boehm-gc
  39163. maybe-install-pdf-target-boehm-gc:
  39164. @if target-boehm-gc
  39165. maybe-install-pdf-target-boehm-gc: install-pdf-target-boehm-gc
  39166. install-pdf-target-boehm-gc: \
  39167. configure-target-boehm-gc \
  39168. pdf-target-boehm-gc
  39169. @: $(MAKE); $(unstage)
  39170. @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
  39171. r=`${PWD_COMMAND}`; export r; \
  39172. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39173. $(NORMAL_TARGET_EXPORTS) \
  39174. echo "Doing install-pdf in $(TARGET_SUBDIR)/boehm-gc" ; \
  39175. for flag in $(EXTRA_TARGET_FLAGS); do \
  39176. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39177. done; \
  39178. (cd $(TARGET_SUBDIR)/boehm-gc && \
  39179. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39180. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39181. "RANLIB=$${RANLIB}" \
  39182. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39183. install-pdf) \
  39184. || exit 1
  39185. @endif target-boehm-gc
  39186. .PHONY: maybe-install-html-target-boehm-gc install-html-target-boehm-gc
  39187. maybe-install-html-target-boehm-gc:
  39188. @if target-boehm-gc
  39189. maybe-install-html-target-boehm-gc: install-html-target-boehm-gc
  39190. install-html-target-boehm-gc: \
  39191. configure-target-boehm-gc \
  39192. html-target-boehm-gc
  39193. @: $(MAKE); $(unstage)
  39194. @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
  39195. r=`${PWD_COMMAND}`; export r; \
  39196. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39197. $(NORMAL_TARGET_EXPORTS) \
  39198. echo "Doing install-html in $(TARGET_SUBDIR)/boehm-gc" ; \
  39199. for flag in $(EXTRA_TARGET_FLAGS); do \
  39200. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39201. done; \
  39202. (cd $(TARGET_SUBDIR)/boehm-gc && \
  39203. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39204. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39205. "RANLIB=$${RANLIB}" \
  39206. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39207. install-html) \
  39208. || exit 1
  39209. @endif target-boehm-gc
  39210. .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
  39211. maybe-installcheck-target-boehm-gc:
  39212. @if target-boehm-gc
  39213. maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
  39214. installcheck-target-boehm-gc: \
  39215. configure-target-boehm-gc
  39216. @: $(MAKE); $(unstage)
  39217. @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
  39218. r=`${PWD_COMMAND}`; export r; \
  39219. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39220. $(NORMAL_TARGET_EXPORTS) \
  39221. echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
  39222. for flag in $(EXTRA_TARGET_FLAGS); do \
  39223. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39224. done; \
  39225. (cd $(TARGET_SUBDIR)/boehm-gc && \
  39226. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39227. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39228. "RANLIB=$${RANLIB}" \
  39229. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39230. installcheck) \
  39231. || exit 1
  39232. @endif target-boehm-gc
  39233. .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
  39234. maybe-mostlyclean-target-boehm-gc:
  39235. @if target-boehm-gc
  39236. maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
  39237. mostlyclean-target-boehm-gc:
  39238. @: $(MAKE); $(unstage)
  39239. @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
  39240. r=`${PWD_COMMAND}`; export r; \
  39241. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39242. $(NORMAL_TARGET_EXPORTS) \
  39243. echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
  39244. for flag in $(EXTRA_TARGET_FLAGS); do \
  39245. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39246. done; \
  39247. (cd $(TARGET_SUBDIR)/boehm-gc && \
  39248. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39249. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39250. "RANLIB=$${RANLIB}" \
  39251. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39252. mostlyclean) \
  39253. || exit 1
  39254. @endif target-boehm-gc
  39255. .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
  39256. maybe-clean-target-boehm-gc:
  39257. @if target-boehm-gc
  39258. maybe-clean-target-boehm-gc: clean-target-boehm-gc
  39259. clean-target-boehm-gc:
  39260. @: $(MAKE); $(unstage)
  39261. @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
  39262. r=`${PWD_COMMAND}`; export r; \
  39263. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39264. $(NORMAL_TARGET_EXPORTS) \
  39265. echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
  39266. for flag in $(EXTRA_TARGET_FLAGS); do \
  39267. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39268. done; \
  39269. (cd $(TARGET_SUBDIR)/boehm-gc && \
  39270. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39271. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39272. "RANLIB=$${RANLIB}" \
  39273. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39274. clean) \
  39275. || exit 1
  39276. @endif target-boehm-gc
  39277. .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
  39278. maybe-distclean-target-boehm-gc:
  39279. @if target-boehm-gc
  39280. maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
  39281. distclean-target-boehm-gc:
  39282. @: $(MAKE); $(unstage)
  39283. @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
  39284. r=`${PWD_COMMAND}`; export r; \
  39285. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39286. $(NORMAL_TARGET_EXPORTS) \
  39287. echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
  39288. for flag in $(EXTRA_TARGET_FLAGS); do \
  39289. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39290. done; \
  39291. (cd $(TARGET_SUBDIR)/boehm-gc && \
  39292. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39293. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39294. "RANLIB=$${RANLIB}" \
  39295. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39296. distclean) \
  39297. || exit 1
  39298. @endif target-boehm-gc
  39299. .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
  39300. maybe-maintainer-clean-target-boehm-gc:
  39301. @if target-boehm-gc
  39302. maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
  39303. maintainer-clean-target-boehm-gc:
  39304. @: $(MAKE); $(unstage)
  39305. @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
  39306. r=`${PWD_COMMAND}`; export r; \
  39307. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39308. $(NORMAL_TARGET_EXPORTS) \
  39309. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
  39310. for flag in $(EXTRA_TARGET_FLAGS); do \
  39311. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39312. done; \
  39313. (cd $(TARGET_SUBDIR)/boehm-gc && \
  39314. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39315. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39316. "RANLIB=$${RANLIB}" \
  39317. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39318. maintainer-clean) \
  39319. || exit 1
  39320. @endif target-boehm-gc
  39321. .PHONY: configure-target-rda maybe-configure-target-rda
  39322. maybe-configure-target-rda:
  39323. @if gcc-bootstrap
  39324. configure-target-rda: stage_current
  39325. @endif gcc-bootstrap
  39326. @if target-rda
  39327. maybe-configure-target-rda: configure-target-rda
  39328. configure-target-rda:
  39329. @: $(MAKE); $(unstage)
  39330. @r=`${PWD_COMMAND}`; export r; \
  39331. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39332. echo "Checking multilib configuration for rda..."; \
  39333. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
  39334. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/rda/multilib.tmp 2> /dev/null ; \
  39335. if test -r $(TARGET_SUBDIR)/rda/multilib.out; then \
  39336. if cmp -s $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; then \
  39337. rm -f $(TARGET_SUBDIR)/rda/multilib.tmp; \
  39338. else \
  39339. rm -f $(TARGET_SUBDIR)/rda/Makefile; \
  39340. mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
  39341. fi; \
  39342. else \
  39343. mv $(TARGET_SUBDIR)/rda/multilib.tmp $(TARGET_SUBDIR)/rda/multilib.out; \
  39344. fi; \
  39345. test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
  39346. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
  39347. $(NORMAL_TARGET_EXPORTS) \
  39348. echo Configuring in $(TARGET_SUBDIR)/rda; \
  39349. cd "$(TARGET_SUBDIR)/rda" || exit 1; \
  39350. case $(srcdir) in \
  39351. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  39352. *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
  39353. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  39354. esac; \
  39355. module_srcdir=rda; \
  39356. rm -f no-such-file || : ; \
  39357. CONFIG_SITE=no-such-file $(SHELL) \
  39358. $$s/$$module_srcdir/configure \
  39359. --srcdir=$${topdir}/$$module_srcdir \
  39360. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  39361. --target=${target_alias} \
  39362. || exit 1
  39363. @endif target-rda
  39364. .PHONY: all-target-rda maybe-all-target-rda
  39365. maybe-all-target-rda:
  39366. @if gcc-bootstrap
  39367. all-target-rda: stage_current
  39368. @endif gcc-bootstrap
  39369. @if target-rda
  39370. TARGET-target-rda=all
  39371. maybe-all-target-rda: all-target-rda
  39372. all-target-rda: configure-target-rda
  39373. @: $(MAKE); $(unstage)
  39374. @r=`${PWD_COMMAND}`; export r; \
  39375. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39376. $(NORMAL_TARGET_EXPORTS) \
  39377. (cd $(TARGET_SUBDIR)/rda && \
  39378. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  39379. $(TARGET-target-rda))
  39380. @endif target-rda
  39381. .PHONY: check-target-rda maybe-check-target-rda
  39382. maybe-check-target-rda:
  39383. @if target-rda
  39384. maybe-check-target-rda: check-target-rda
  39385. check-target-rda:
  39386. @: $(MAKE); $(unstage)
  39387. @r=`${PWD_COMMAND}`; export r; \
  39388. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39389. $(NORMAL_TARGET_EXPORTS) \
  39390. (cd $(TARGET_SUBDIR)/rda && \
  39391. $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
  39392. @endif target-rda
  39393. .PHONY: install-target-rda maybe-install-target-rda
  39394. maybe-install-target-rda:
  39395. @if target-rda
  39396. maybe-install-target-rda: install-target-rda
  39397. install-target-rda: installdirs
  39398. @: $(MAKE); $(unstage)
  39399. @r=`${PWD_COMMAND}`; export r; \
  39400. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39401. $(NORMAL_TARGET_EXPORTS) \
  39402. (cd $(TARGET_SUBDIR)/rda && \
  39403. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  39404. @endif target-rda
  39405. .PHONY: install-strip-target-rda maybe-install-strip-target-rda
  39406. maybe-install-strip-target-rda:
  39407. @if target-rda
  39408. maybe-install-strip-target-rda: install-strip-target-rda
  39409. install-strip-target-rda: installdirs
  39410. @: $(MAKE); $(unstage)
  39411. @r=`${PWD_COMMAND}`; export r; \
  39412. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39413. $(NORMAL_TARGET_EXPORTS) \
  39414. (cd $(TARGET_SUBDIR)/rda && \
  39415. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  39416. @endif target-rda
  39417. # Other targets (info, dvi, pdf, etc.)
  39418. .PHONY: maybe-info-target-rda info-target-rda
  39419. maybe-info-target-rda:
  39420. @if target-rda
  39421. maybe-info-target-rda: info-target-rda
  39422. info-target-rda: \
  39423. configure-target-rda
  39424. @: $(MAKE); $(unstage)
  39425. @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
  39426. r=`${PWD_COMMAND}`; export r; \
  39427. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39428. $(NORMAL_TARGET_EXPORTS) \
  39429. echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
  39430. for flag in $(EXTRA_TARGET_FLAGS); do \
  39431. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39432. done; \
  39433. (cd $(TARGET_SUBDIR)/rda && \
  39434. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39435. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39436. "RANLIB=$${RANLIB}" \
  39437. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39438. info) \
  39439. || exit 1
  39440. @endif target-rda
  39441. .PHONY: maybe-dvi-target-rda dvi-target-rda
  39442. maybe-dvi-target-rda:
  39443. @if target-rda
  39444. maybe-dvi-target-rda: dvi-target-rda
  39445. dvi-target-rda: \
  39446. configure-target-rda
  39447. @: $(MAKE); $(unstage)
  39448. @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
  39449. r=`${PWD_COMMAND}`; export r; \
  39450. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39451. $(NORMAL_TARGET_EXPORTS) \
  39452. echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
  39453. for flag in $(EXTRA_TARGET_FLAGS); do \
  39454. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39455. done; \
  39456. (cd $(TARGET_SUBDIR)/rda && \
  39457. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39458. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39459. "RANLIB=$${RANLIB}" \
  39460. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39461. dvi) \
  39462. || exit 1
  39463. @endif target-rda
  39464. .PHONY: maybe-pdf-target-rda pdf-target-rda
  39465. maybe-pdf-target-rda:
  39466. @if target-rda
  39467. maybe-pdf-target-rda: pdf-target-rda
  39468. pdf-target-rda: \
  39469. configure-target-rda
  39470. @: $(MAKE); $(unstage)
  39471. @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
  39472. r=`${PWD_COMMAND}`; export r; \
  39473. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39474. $(NORMAL_TARGET_EXPORTS) \
  39475. echo "Doing pdf in $(TARGET_SUBDIR)/rda" ; \
  39476. for flag in $(EXTRA_TARGET_FLAGS); do \
  39477. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39478. done; \
  39479. (cd $(TARGET_SUBDIR)/rda && \
  39480. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39481. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39482. "RANLIB=$${RANLIB}" \
  39483. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39484. pdf) \
  39485. || exit 1
  39486. @endif target-rda
  39487. .PHONY: maybe-html-target-rda html-target-rda
  39488. maybe-html-target-rda:
  39489. @if target-rda
  39490. maybe-html-target-rda: html-target-rda
  39491. html-target-rda: \
  39492. configure-target-rda
  39493. @: $(MAKE); $(unstage)
  39494. @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
  39495. r=`${PWD_COMMAND}`; export r; \
  39496. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39497. $(NORMAL_TARGET_EXPORTS) \
  39498. echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
  39499. for flag in $(EXTRA_TARGET_FLAGS); do \
  39500. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39501. done; \
  39502. (cd $(TARGET_SUBDIR)/rda && \
  39503. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39504. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39505. "RANLIB=$${RANLIB}" \
  39506. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39507. html) \
  39508. || exit 1
  39509. @endif target-rda
  39510. .PHONY: maybe-TAGS-target-rda TAGS-target-rda
  39511. maybe-TAGS-target-rda:
  39512. @if target-rda
  39513. maybe-TAGS-target-rda: TAGS-target-rda
  39514. TAGS-target-rda: \
  39515. configure-target-rda
  39516. @: $(MAKE); $(unstage)
  39517. @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
  39518. r=`${PWD_COMMAND}`; export r; \
  39519. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39520. $(NORMAL_TARGET_EXPORTS) \
  39521. echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
  39522. for flag in $(EXTRA_TARGET_FLAGS); do \
  39523. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39524. done; \
  39525. (cd $(TARGET_SUBDIR)/rda && \
  39526. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39527. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39528. "RANLIB=$${RANLIB}" \
  39529. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39530. TAGS) \
  39531. || exit 1
  39532. @endif target-rda
  39533. .PHONY: maybe-install-info-target-rda install-info-target-rda
  39534. maybe-install-info-target-rda:
  39535. @if target-rda
  39536. maybe-install-info-target-rda: install-info-target-rda
  39537. install-info-target-rda: \
  39538. configure-target-rda \
  39539. info-target-rda
  39540. @: $(MAKE); $(unstage)
  39541. @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
  39542. r=`${PWD_COMMAND}`; export r; \
  39543. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39544. $(NORMAL_TARGET_EXPORTS) \
  39545. echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
  39546. for flag in $(EXTRA_TARGET_FLAGS); do \
  39547. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39548. done; \
  39549. (cd $(TARGET_SUBDIR)/rda && \
  39550. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39551. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39552. "RANLIB=$${RANLIB}" \
  39553. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39554. install-info) \
  39555. || exit 1
  39556. @endif target-rda
  39557. .PHONY: maybe-install-pdf-target-rda install-pdf-target-rda
  39558. maybe-install-pdf-target-rda:
  39559. @if target-rda
  39560. maybe-install-pdf-target-rda: install-pdf-target-rda
  39561. install-pdf-target-rda: \
  39562. configure-target-rda \
  39563. pdf-target-rda
  39564. @: $(MAKE); $(unstage)
  39565. @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
  39566. r=`${PWD_COMMAND}`; export r; \
  39567. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39568. $(NORMAL_TARGET_EXPORTS) \
  39569. echo "Doing install-pdf in $(TARGET_SUBDIR)/rda" ; \
  39570. for flag in $(EXTRA_TARGET_FLAGS); do \
  39571. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39572. done; \
  39573. (cd $(TARGET_SUBDIR)/rda && \
  39574. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39575. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39576. "RANLIB=$${RANLIB}" \
  39577. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39578. install-pdf) \
  39579. || exit 1
  39580. @endif target-rda
  39581. .PHONY: maybe-install-html-target-rda install-html-target-rda
  39582. maybe-install-html-target-rda:
  39583. @if target-rda
  39584. maybe-install-html-target-rda: install-html-target-rda
  39585. install-html-target-rda: \
  39586. configure-target-rda \
  39587. html-target-rda
  39588. @: $(MAKE); $(unstage)
  39589. @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
  39590. r=`${PWD_COMMAND}`; export r; \
  39591. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39592. $(NORMAL_TARGET_EXPORTS) \
  39593. echo "Doing install-html in $(TARGET_SUBDIR)/rda" ; \
  39594. for flag in $(EXTRA_TARGET_FLAGS); do \
  39595. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39596. done; \
  39597. (cd $(TARGET_SUBDIR)/rda && \
  39598. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39599. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39600. "RANLIB=$${RANLIB}" \
  39601. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39602. install-html) \
  39603. || exit 1
  39604. @endif target-rda
  39605. .PHONY: maybe-installcheck-target-rda installcheck-target-rda
  39606. maybe-installcheck-target-rda:
  39607. @if target-rda
  39608. maybe-installcheck-target-rda: installcheck-target-rda
  39609. installcheck-target-rda: \
  39610. configure-target-rda
  39611. @: $(MAKE); $(unstage)
  39612. @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
  39613. r=`${PWD_COMMAND}`; export r; \
  39614. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39615. $(NORMAL_TARGET_EXPORTS) \
  39616. echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
  39617. for flag in $(EXTRA_TARGET_FLAGS); do \
  39618. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39619. done; \
  39620. (cd $(TARGET_SUBDIR)/rda && \
  39621. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39622. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39623. "RANLIB=$${RANLIB}" \
  39624. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39625. installcheck) \
  39626. || exit 1
  39627. @endif target-rda
  39628. .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
  39629. maybe-mostlyclean-target-rda:
  39630. @if target-rda
  39631. maybe-mostlyclean-target-rda: mostlyclean-target-rda
  39632. mostlyclean-target-rda:
  39633. @: $(MAKE); $(unstage)
  39634. @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
  39635. r=`${PWD_COMMAND}`; export r; \
  39636. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39637. $(NORMAL_TARGET_EXPORTS) \
  39638. echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
  39639. for flag in $(EXTRA_TARGET_FLAGS); do \
  39640. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39641. done; \
  39642. (cd $(TARGET_SUBDIR)/rda && \
  39643. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39644. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39645. "RANLIB=$${RANLIB}" \
  39646. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39647. mostlyclean) \
  39648. || exit 1
  39649. @endif target-rda
  39650. .PHONY: maybe-clean-target-rda clean-target-rda
  39651. maybe-clean-target-rda:
  39652. @if target-rda
  39653. maybe-clean-target-rda: clean-target-rda
  39654. clean-target-rda:
  39655. @: $(MAKE); $(unstage)
  39656. @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
  39657. r=`${PWD_COMMAND}`; export r; \
  39658. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39659. $(NORMAL_TARGET_EXPORTS) \
  39660. echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
  39661. for flag in $(EXTRA_TARGET_FLAGS); do \
  39662. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39663. done; \
  39664. (cd $(TARGET_SUBDIR)/rda && \
  39665. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39666. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39667. "RANLIB=$${RANLIB}" \
  39668. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39669. clean) \
  39670. || exit 1
  39671. @endif target-rda
  39672. .PHONY: maybe-distclean-target-rda distclean-target-rda
  39673. maybe-distclean-target-rda:
  39674. @if target-rda
  39675. maybe-distclean-target-rda: distclean-target-rda
  39676. distclean-target-rda:
  39677. @: $(MAKE); $(unstage)
  39678. @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
  39679. r=`${PWD_COMMAND}`; export r; \
  39680. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39681. $(NORMAL_TARGET_EXPORTS) \
  39682. echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
  39683. for flag in $(EXTRA_TARGET_FLAGS); do \
  39684. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39685. done; \
  39686. (cd $(TARGET_SUBDIR)/rda && \
  39687. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39688. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39689. "RANLIB=$${RANLIB}" \
  39690. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39691. distclean) \
  39692. || exit 1
  39693. @endif target-rda
  39694. .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
  39695. maybe-maintainer-clean-target-rda:
  39696. @if target-rda
  39697. maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
  39698. maintainer-clean-target-rda:
  39699. @: $(MAKE); $(unstage)
  39700. @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
  39701. r=`${PWD_COMMAND}`; export r; \
  39702. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39703. $(NORMAL_TARGET_EXPORTS) \
  39704. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
  39705. for flag in $(EXTRA_TARGET_FLAGS); do \
  39706. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39707. done; \
  39708. (cd $(TARGET_SUBDIR)/rda && \
  39709. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39710. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39711. "RANLIB=$${RANLIB}" \
  39712. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39713. maintainer-clean) \
  39714. || exit 1
  39715. @endif target-rda
  39716. .PHONY: configure-target-libada maybe-configure-target-libada
  39717. maybe-configure-target-libada:
  39718. @if gcc-bootstrap
  39719. configure-target-libada: stage_current
  39720. @endif gcc-bootstrap
  39721. @if target-libada
  39722. maybe-configure-target-libada: configure-target-libada
  39723. configure-target-libada:
  39724. @: $(MAKE); $(unstage)
  39725. @r=`${PWD_COMMAND}`; export r; \
  39726. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39727. echo "Checking multilib configuration for libada..."; \
  39728. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
  39729. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libada/multilib.tmp 2> /dev/null ; \
  39730. if test -r $(TARGET_SUBDIR)/libada/multilib.out; then \
  39731. if cmp -s $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; then \
  39732. rm -f $(TARGET_SUBDIR)/libada/multilib.tmp; \
  39733. else \
  39734. rm -f $(TARGET_SUBDIR)/libada/Makefile; \
  39735. mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
  39736. fi; \
  39737. else \
  39738. mv $(TARGET_SUBDIR)/libada/multilib.tmp $(TARGET_SUBDIR)/libada/multilib.out; \
  39739. fi; \
  39740. test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
  39741. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
  39742. $(NORMAL_TARGET_EXPORTS) \
  39743. echo Configuring in $(TARGET_SUBDIR)/libada; \
  39744. cd "$(TARGET_SUBDIR)/libada" || exit 1; \
  39745. case $(srcdir) in \
  39746. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  39747. *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
  39748. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  39749. esac; \
  39750. module_srcdir=libada; \
  39751. rm -f no-such-file || : ; \
  39752. CONFIG_SITE=no-such-file $(SHELL) \
  39753. $$s/$$module_srcdir/configure \
  39754. --srcdir=$${topdir}/$$module_srcdir \
  39755. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  39756. --target=${target_alias} \
  39757. || exit 1
  39758. @endif target-libada
  39759. .PHONY: all-target-libada maybe-all-target-libada
  39760. maybe-all-target-libada:
  39761. @if gcc-bootstrap
  39762. all-target-libada: stage_current
  39763. @endif gcc-bootstrap
  39764. @if target-libada
  39765. TARGET-target-libada=all
  39766. maybe-all-target-libada: all-target-libada
  39767. all-target-libada: configure-target-libada
  39768. @: $(MAKE); $(unstage)
  39769. @r=`${PWD_COMMAND}`; export r; \
  39770. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39771. $(NORMAL_TARGET_EXPORTS) \
  39772. (cd $(TARGET_SUBDIR)/libada && \
  39773. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  39774. $(TARGET-target-libada))
  39775. @endif target-libada
  39776. .PHONY: check-target-libada maybe-check-target-libada
  39777. maybe-check-target-libada:
  39778. @if target-libada
  39779. maybe-check-target-libada: check-target-libada
  39780. check-target-libada:
  39781. @: $(MAKE); $(unstage)
  39782. @r=`${PWD_COMMAND}`; export r; \
  39783. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39784. $(NORMAL_TARGET_EXPORTS) \
  39785. (cd $(TARGET_SUBDIR)/libada && \
  39786. $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
  39787. @endif target-libada
  39788. .PHONY: install-target-libada maybe-install-target-libada
  39789. maybe-install-target-libada:
  39790. @if target-libada
  39791. maybe-install-target-libada: install-target-libada
  39792. install-target-libada: installdirs
  39793. @: $(MAKE); $(unstage)
  39794. @r=`${PWD_COMMAND}`; export r; \
  39795. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39796. $(NORMAL_TARGET_EXPORTS) \
  39797. (cd $(TARGET_SUBDIR)/libada && \
  39798. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  39799. @endif target-libada
  39800. .PHONY: install-strip-target-libada maybe-install-strip-target-libada
  39801. maybe-install-strip-target-libada:
  39802. @if target-libada
  39803. maybe-install-strip-target-libada: install-strip-target-libada
  39804. install-strip-target-libada: installdirs
  39805. @: $(MAKE); $(unstage)
  39806. @r=`${PWD_COMMAND}`; export r; \
  39807. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39808. $(NORMAL_TARGET_EXPORTS) \
  39809. (cd $(TARGET_SUBDIR)/libada && \
  39810. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  39811. @endif target-libada
  39812. # Other targets (info, dvi, pdf, etc.)
  39813. .PHONY: maybe-info-target-libada info-target-libada
  39814. maybe-info-target-libada:
  39815. @if target-libada
  39816. maybe-info-target-libada: info-target-libada
  39817. info-target-libada: \
  39818. configure-target-libada
  39819. @: $(MAKE); $(unstage)
  39820. @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
  39821. r=`${PWD_COMMAND}`; export r; \
  39822. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39823. $(NORMAL_TARGET_EXPORTS) \
  39824. echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
  39825. for flag in $(EXTRA_TARGET_FLAGS); do \
  39826. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39827. done; \
  39828. (cd $(TARGET_SUBDIR)/libada && \
  39829. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39830. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39831. "RANLIB=$${RANLIB}" \
  39832. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39833. info) \
  39834. || exit 1
  39835. @endif target-libada
  39836. .PHONY: maybe-dvi-target-libada dvi-target-libada
  39837. maybe-dvi-target-libada:
  39838. @if target-libada
  39839. maybe-dvi-target-libada: dvi-target-libada
  39840. dvi-target-libada: \
  39841. configure-target-libada
  39842. @: $(MAKE); $(unstage)
  39843. @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
  39844. r=`${PWD_COMMAND}`; export r; \
  39845. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39846. $(NORMAL_TARGET_EXPORTS) \
  39847. echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
  39848. for flag in $(EXTRA_TARGET_FLAGS); do \
  39849. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39850. done; \
  39851. (cd $(TARGET_SUBDIR)/libada && \
  39852. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39853. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39854. "RANLIB=$${RANLIB}" \
  39855. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39856. dvi) \
  39857. || exit 1
  39858. @endif target-libada
  39859. .PHONY: maybe-pdf-target-libada pdf-target-libada
  39860. maybe-pdf-target-libada:
  39861. @if target-libada
  39862. maybe-pdf-target-libada: pdf-target-libada
  39863. pdf-target-libada: \
  39864. configure-target-libada
  39865. @: $(MAKE); $(unstage)
  39866. @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
  39867. r=`${PWD_COMMAND}`; export r; \
  39868. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39869. $(NORMAL_TARGET_EXPORTS) \
  39870. echo "Doing pdf in $(TARGET_SUBDIR)/libada" ; \
  39871. for flag in $(EXTRA_TARGET_FLAGS); do \
  39872. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39873. done; \
  39874. (cd $(TARGET_SUBDIR)/libada && \
  39875. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39876. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39877. "RANLIB=$${RANLIB}" \
  39878. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39879. pdf) \
  39880. || exit 1
  39881. @endif target-libada
  39882. .PHONY: maybe-html-target-libada html-target-libada
  39883. maybe-html-target-libada:
  39884. @if target-libada
  39885. maybe-html-target-libada: html-target-libada
  39886. html-target-libada: \
  39887. configure-target-libada
  39888. @: $(MAKE); $(unstage)
  39889. @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
  39890. r=`${PWD_COMMAND}`; export r; \
  39891. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39892. $(NORMAL_TARGET_EXPORTS) \
  39893. echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
  39894. for flag in $(EXTRA_TARGET_FLAGS); do \
  39895. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39896. done; \
  39897. (cd $(TARGET_SUBDIR)/libada && \
  39898. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39899. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39900. "RANLIB=$${RANLIB}" \
  39901. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39902. html) \
  39903. || exit 1
  39904. @endif target-libada
  39905. .PHONY: maybe-TAGS-target-libada TAGS-target-libada
  39906. maybe-TAGS-target-libada:
  39907. @if target-libada
  39908. maybe-TAGS-target-libada: TAGS-target-libada
  39909. TAGS-target-libada: \
  39910. configure-target-libada
  39911. @: $(MAKE); $(unstage)
  39912. @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
  39913. r=`${PWD_COMMAND}`; export r; \
  39914. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39915. $(NORMAL_TARGET_EXPORTS) \
  39916. echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
  39917. for flag in $(EXTRA_TARGET_FLAGS); do \
  39918. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39919. done; \
  39920. (cd $(TARGET_SUBDIR)/libada && \
  39921. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39922. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39923. "RANLIB=$${RANLIB}" \
  39924. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39925. TAGS) \
  39926. || exit 1
  39927. @endif target-libada
  39928. .PHONY: maybe-install-info-target-libada install-info-target-libada
  39929. maybe-install-info-target-libada:
  39930. @if target-libada
  39931. maybe-install-info-target-libada: install-info-target-libada
  39932. install-info-target-libada: \
  39933. configure-target-libada \
  39934. info-target-libada
  39935. @: $(MAKE); $(unstage)
  39936. @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
  39937. r=`${PWD_COMMAND}`; export r; \
  39938. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39939. $(NORMAL_TARGET_EXPORTS) \
  39940. echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
  39941. for flag in $(EXTRA_TARGET_FLAGS); do \
  39942. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39943. done; \
  39944. (cd $(TARGET_SUBDIR)/libada && \
  39945. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39946. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39947. "RANLIB=$${RANLIB}" \
  39948. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39949. install-info) \
  39950. || exit 1
  39951. @endif target-libada
  39952. .PHONY: maybe-install-pdf-target-libada install-pdf-target-libada
  39953. maybe-install-pdf-target-libada:
  39954. @if target-libada
  39955. maybe-install-pdf-target-libada: install-pdf-target-libada
  39956. install-pdf-target-libada: \
  39957. configure-target-libada \
  39958. pdf-target-libada
  39959. @: $(MAKE); $(unstage)
  39960. @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
  39961. r=`${PWD_COMMAND}`; export r; \
  39962. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39963. $(NORMAL_TARGET_EXPORTS) \
  39964. echo "Doing install-pdf in $(TARGET_SUBDIR)/libada" ; \
  39965. for flag in $(EXTRA_TARGET_FLAGS); do \
  39966. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39967. done; \
  39968. (cd $(TARGET_SUBDIR)/libada && \
  39969. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39970. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39971. "RANLIB=$${RANLIB}" \
  39972. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39973. install-pdf) \
  39974. || exit 1
  39975. @endif target-libada
  39976. .PHONY: maybe-install-html-target-libada install-html-target-libada
  39977. maybe-install-html-target-libada:
  39978. @if target-libada
  39979. maybe-install-html-target-libada: install-html-target-libada
  39980. install-html-target-libada: \
  39981. configure-target-libada \
  39982. html-target-libada
  39983. @: $(MAKE); $(unstage)
  39984. @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
  39985. r=`${PWD_COMMAND}`; export r; \
  39986. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  39987. $(NORMAL_TARGET_EXPORTS) \
  39988. echo "Doing install-html in $(TARGET_SUBDIR)/libada" ; \
  39989. for flag in $(EXTRA_TARGET_FLAGS); do \
  39990. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  39991. done; \
  39992. (cd $(TARGET_SUBDIR)/libada && \
  39993. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  39994. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  39995. "RANLIB=$${RANLIB}" \
  39996. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  39997. install-html) \
  39998. || exit 1
  39999. @endif target-libada
  40000. .PHONY: maybe-installcheck-target-libada installcheck-target-libada
  40001. maybe-installcheck-target-libada:
  40002. @if target-libada
  40003. maybe-installcheck-target-libada: installcheck-target-libada
  40004. installcheck-target-libada: \
  40005. configure-target-libada
  40006. @: $(MAKE); $(unstage)
  40007. @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
  40008. r=`${PWD_COMMAND}`; export r; \
  40009. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40010. $(NORMAL_TARGET_EXPORTS) \
  40011. echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
  40012. for flag in $(EXTRA_TARGET_FLAGS); do \
  40013. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  40014. done; \
  40015. (cd $(TARGET_SUBDIR)/libada && \
  40016. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  40017. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  40018. "RANLIB=$${RANLIB}" \
  40019. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  40020. installcheck) \
  40021. || exit 1
  40022. @endif target-libada
  40023. .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
  40024. maybe-mostlyclean-target-libada:
  40025. @if target-libada
  40026. maybe-mostlyclean-target-libada: mostlyclean-target-libada
  40027. mostlyclean-target-libada:
  40028. @: $(MAKE); $(unstage)
  40029. @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
  40030. r=`${PWD_COMMAND}`; export r; \
  40031. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40032. $(NORMAL_TARGET_EXPORTS) \
  40033. echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
  40034. for flag in $(EXTRA_TARGET_FLAGS); do \
  40035. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  40036. done; \
  40037. (cd $(TARGET_SUBDIR)/libada && \
  40038. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  40039. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  40040. "RANLIB=$${RANLIB}" \
  40041. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  40042. mostlyclean) \
  40043. || exit 1
  40044. @endif target-libada
  40045. .PHONY: maybe-clean-target-libada clean-target-libada
  40046. maybe-clean-target-libada:
  40047. @if target-libada
  40048. maybe-clean-target-libada: clean-target-libada
  40049. clean-target-libada:
  40050. @: $(MAKE); $(unstage)
  40051. @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
  40052. r=`${PWD_COMMAND}`; export r; \
  40053. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40054. $(NORMAL_TARGET_EXPORTS) \
  40055. echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
  40056. for flag in $(EXTRA_TARGET_FLAGS); do \
  40057. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  40058. done; \
  40059. (cd $(TARGET_SUBDIR)/libada && \
  40060. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  40061. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  40062. "RANLIB=$${RANLIB}" \
  40063. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  40064. clean) \
  40065. || exit 1
  40066. @endif target-libada
  40067. .PHONY: maybe-distclean-target-libada distclean-target-libada
  40068. maybe-distclean-target-libada:
  40069. @if target-libada
  40070. maybe-distclean-target-libada: distclean-target-libada
  40071. distclean-target-libada:
  40072. @: $(MAKE); $(unstage)
  40073. @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
  40074. r=`${PWD_COMMAND}`; export r; \
  40075. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40076. $(NORMAL_TARGET_EXPORTS) \
  40077. echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
  40078. for flag in $(EXTRA_TARGET_FLAGS); do \
  40079. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  40080. done; \
  40081. (cd $(TARGET_SUBDIR)/libada && \
  40082. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  40083. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  40084. "RANLIB=$${RANLIB}" \
  40085. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  40086. distclean) \
  40087. || exit 1
  40088. @endif target-libada
  40089. .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
  40090. maybe-maintainer-clean-target-libada:
  40091. @if target-libada
  40092. maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
  40093. maintainer-clean-target-libada:
  40094. @: $(MAKE); $(unstage)
  40095. @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
  40096. r=`${PWD_COMMAND}`; export r; \
  40097. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40098. $(NORMAL_TARGET_EXPORTS) \
  40099. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
  40100. for flag in $(EXTRA_TARGET_FLAGS); do \
  40101. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  40102. done; \
  40103. (cd $(TARGET_SUBDIR)/libada && \
  40104. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  40105. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  40106. "RANLIB=$${RANLIB}" \
  40107. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  40108. maintainer-clean) \
  40109. || exit 1
  40110. @endif target-libada
  40111. .PHONY: configure-target-libgomp maybe-configure-target-libgomp
  40112. maybe-configure-target-libgomp:
  40113. @if gcc-bootstrap
  40114. configure-target-libgomp: stage_current
  40115. @endif gcc-bootstrap
  40116. @if target-libgomp
  40117. maybe-configure-target-libgomp: configure-target-libgomp
  40118. configure-target-libgomp:
  40119. @r=`${PWD_COMMAND}`; export r; \
  40120. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40121. echo "Checking multilib configuration for libgomp..."; \
  40122. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
  40123. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
  40124. if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
  40125. if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
  40126. rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
  40127. else \
  40128. rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
  40129. mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
  40130. fi; \
  40131. else \
  40132. mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
  40133. fi; \
  40134. test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
  40135. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
  40136. $(NORMAL_TARGET_EXPORTS) \
  40137. echo Configuring in $(TARGET_SUBDIR)/libgomp; \
  40138. cd "$(TARGET_SUBDIR)/libgomp" || exit 1; \
  40139. case $(srcdir) in \
  40140. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  40141. *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
  40142. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  40143. esac; \
  40144. module_srcdir=libgomp; \
  40145. rm -f no-such-file || : ; \
  40146. CONFIG_SITE=no-such-file $(SHELL) \
  40147. $$s/$$module_srcdir/configure \
  40148. --srcdir=$${topdir}/$$module_srcdir \
  40149. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  40150. --target=${target_alias} \
  40151. || exit 1
  40152. @endif target-libgomp
  40153. .PHONY: configure-stage1-target-libgomp maybe-configure-stage1-target-libgomp
  40154. maybe-configure-stage1-target-libgomp:
  40155. @if target-libgomp-bootstrap
  40156. maybe-configure-stage1-target-libgomp: configure-stage1-target-libgomp
  40157. configure-stage1-target-libgomp:
  40158. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  40159. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
  40160. @r=`${PWD_COMMAND}`; export r; \
  40161. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40162. TFLAGS="$(STAGE1_TFLAGS)"; \
  40163. echo "Checking multilib configuration for libgomp..."; \
  40164. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
  40165. if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
  40166. if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
  40167. rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
  40168. else \
  40169. rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
  40170. mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
  40171. fi; \
  40172. else \
  40173. mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
  40174. fi; \
  40175. test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
  40176. $(NORMAL_TARGET_EXPORTS) \
  40177. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  40178. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  40179. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  40180. echo Configuring stage 1 in $(TARGET_SUBDIR)/libgomp ; \
  40181. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
  40182. cd $(TARGET_SUBDIR)/libgomp || exit 1; \
  40183. case $(srcdir) in \
  40184. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  40185. *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
  40186. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  40187. esac; \
  40188. module_srcdir=libgomp; \
  40189. $(SHELL) $$s/$$module_srcdir/configure \
  40190. --srcdir=$${topdir}/$$module_srcdir \
  40191. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  40192. --target=${target_alias} \
  40193. \
  40194. $(STAGE1_CONFIGURE_FLAGS)
  40195. @endif target-libgomp-bootstrap
  40196. .PHONY: configure-stage2-target-libgomp maybe-configure-stage2-target-libgomp
  40197. maybe-configure-stage2-target-libgomp:
  40198. @if target-libgomp-bootstrap
  40199. maybe-configure-stage2-target-libgomp: configure-stage2-target-libgomp
  40200. configure-stage2-target-libgomp:
  40201. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  40202. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
  40203. @r=`${PWD_COMMAND}`; export r; \
  40204. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40205. TFLAGS="$(STAGE2_TFLAGS)"; \
  40206. echo "Checking multilib configuration for libgomp..."; \
  40207. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
  40208. if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
  40209. if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
  40210. rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
  40211. else \
  40212. rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
  40213. mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
  40214. fi; \
  40215. else \
  40216. mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
  40217. fi; \
  40218. test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
  40219. $(NORMAL_TARGET_EXPORTS) \
  40220. \
  40221. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  40222. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  40223. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  40224. echo Configuring stage 2 in $(TARGET_SUBDIR)/libgomp ; \
  40225. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
  40226. cd $(TARGET_SUBDIR)/libgomp || exit 1; \
  40227. case $(srcdir) in \
  40228. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  40229. *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
  40230. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  40231. esac; \
  40232. module_srcdir=libgomp; \
  40233. $(SHELL) $$s/$$module_srcdir/configure \
  40234. --srcdir=$${topdir}/$$module_srcdir \
  40235. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  40236. --target=${target_alias} \
  40237. --with-build-libsubdir=$(HOST_SUBDIR) \
  40238. $(STAGE2_CONFIGURE_FLAGS)
  40239. @endif target-libgomp-bootstrap
  40240. .PHONY: configure-stage3-target-libgomp maybe-configure-stage3-target-libgomp
  40241. maybe-configure-stage3-target-libgomp:
  40242. @if target-libgomp-bootstrap
  40243. maybe-configure-stage3-target-libgomp: configure-stage3-target-libgomp
  40244. configure-stage3-target-libgomp:
  40245. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  40246. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
  40247. @r=`${PWD_COMMAND}`; export r; \
  40248. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40249. TFLAGS="$(STAGE3_TFLAGS)"; \
  40250. echo "Checking multilib configuration for libgomp..."; \
  40251. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
  40252. if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
  40253. if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
  40254. rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
  40255. else \
  40256. rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
  40257. mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
  40258. fi; \
  40259. else \
  40260. mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
  40261. fi; \
  40262. test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
  40263. $(NORMAL_TARGET_EXPORTS) \
  40264. \
  40265. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  40266. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  40267. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  40268. echo Configuring stage 3 in $(TARGET_SUBDIR)/libgomp ; \
  40269. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
  40270. cd $(TARGET_SUBDIR)/libgomp || exit 1; \
  40271. case $(srcdir) in \
  40272. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  40273. *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
  40274. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  40275. esac; \
  40276. module_srcdir=libgomp; \
  40277. $(SHELL) $$s/$$module_srcdir/configure \
  40278. --srcdir=$${topdir}/$$module_srcdir \
  40279. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  40280. --target=${target_alias} \
  40281. --with-build-libsubdir=$(HOST_SUBDIR) \
  40282. $(STAGE3_CONFIGURE_FLAGS)
  40283. @endif target-libgomp-bootstrap
  40284. .PHONY: configure-stage4-target-libgomp maybe-configure-stage4-target-libgomp
  40285. maybe-configure-stage4-target-libgomp:
  40286. @if target-libgomp-bootstrap
  40287. maybe-configure-stage4-target-libgomp: configure-stage4-target-libgomp
  40288. configure-stage4-target-libgomp:
  40289. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  40290. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
  40291. @r=`${PWD_COMMAND}`; export r; \
  40292. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40293. TFLAGS="$(STAGE4_TFLAGS)"; \
  40294. echo "Checking multilib configuration for libgomp..."; \
  40295. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
  40296. if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
  40297. if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
  40298. rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
  40299. else \
  40300. rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
  40301. mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
  40302. fi; \
  40303. else \
  40304. mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
  40305. fi; \
  40306. test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
  40307. $(NORMAL_TARGET_EXPORTS) \
  40308. \
  40309. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  40310. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  40311. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  40312. echo Configuring stage 4 in $(TARGET_SUBDIR)/libgomp ; \
  40313. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
  40314. cd $(TARGET_SUBDIR)/libgomp || exit 1; \
  40315. case $(srcdir) in \
  40316. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  40317. *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
  40318. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  40319. esac; \
  40320. module_srcdir=libgomp; \
  40321. $(SHELL) $$s/$$module_srcdir/configure \
  40322. --srcdir=$${topdir}/$$module_srcdir \
  40323. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  40324. --target=${target_alias} \
  40325. --with-build-libsubdir=$(HOST_SUBDIR) \
  40326. $(STAGE4_CONFIGURE_FLAGS)
  40327. @endif target-libgomp-bootstrap
  40328. .PHONY: configure-stageprofile-target-libgomp maybe-configure-stageprofile-target-libgomp
  40329. maybe-configure-stageprofile-target-libgomp:
  40330. @if target-libgomp-bootstrap
  40331. maybe-configure-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
  40332. configure-stageprofile-target-libgomp:
  40333. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  40334. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
  40335. @r=`${PWD_COMMAND}`; export r; \
  40336. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40337. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  40338. echo "Checking multilib configuration for libgomp..."; \
  40339. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
  40340. if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
  40341. if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
  40342. rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
  40343. else \
  40344. rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
  40345. mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
  40346. fi; \
  40347. else \
  40348. mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
  40349. fi; \
  40350. test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
  40351. $(NORMAL_TARGET_EXPORTS) \
  40352. \
  40353. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  40354. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  40355. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  40356. echo Configuring stage profile in $(TARGET_SUBDIR)/libgomp ; \
  40357. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
  40358. cd $(TARGET_SUBDIR)/libgomp || exit 1; \
  40359. case $(srcdir) in \
  40360. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  40361. *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
  40362. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  40363. esac; \
  40364. module_srcdir=libgomp; \
  40365. $(SHELL) $$s/$$module_srcdir/configure \
  40366. --srcdir=$${topdir}/$$module_srcdir \
  40367. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  40368. --target=${target_alias} \
  40369. --with-build-libsubdir=$(HOST_SUBDIR) \
  40370. $(STAGEprofile_CONFIGURE_FLAGS)
  40371. @endif target-libgomp-bootstrap
  40372. .PHONY: configure-stagefeedback-target-libgomp maybe-configure-stagefeedback-target-libgomp
  40373. maybe-configure-stagefeedback-target-libgomp:
  40374. @if target-libgomp-bootstrap
  40375. maybe-configure-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
  40376. configure-stagefeedback-target-libgomp:
  40377. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  40378. @$(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp
  40379. @r=`${PWD_COMMAND}`; export r; \
  40380. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40381. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  40382. echo "Checking multilib configuration for libgomp..."; \
  40383. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libgomp/multilib.tmp 2> /dev/null ; \
  40384. if test -r $(TARGET_SUBDIR)/libgomp/multilib.out; then \
  40385. if cmp -s $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; then \
  40386. rm -f $(TARGET_SUBDIR)/libgomp/multilib.tmp; \
  40387. else \
  40388. rm -f $(TARGET_SUBDIR)/libgomp/Makefile; \
  40389. mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
  40390. fi; \
  40391. else \
  40392. mv $(TARGET_SUBDIR)/libgomp/multilib.tmp $(TARGET_SUBDIR)/libgomp/multilib.out; \
  40393. fi; \
  40394. test ! -f $(TARGET_SUBDIR)/libgomp/Makefile || exit 0; \
  40395. $(NORMAL_TARGET_EXPORTS) \
  40396. \
  40397. CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
  40398. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
  40399. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)"; export LIBCFLAGS; \
  40400. echo Configuring stage feedback in $(TARGET_SUBDIR)/libgomp ; \
  40401. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgomp ; \
  40402. cd $(TARGET_SUBDIR)/libgomp || exit 1; \
  40403. case $(srcdir) in \
  40404. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  40405. *) topdir=`echo $(TARGET_SUBDIR)/libgomp/ | \
  40406. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  40407. esac; \
  40408. module_srcdir=libgomp; \
  40409. $(SHELL) $$s/$$module_srcdir/configure \
  40410. --srcdir=$${topdir}/$$module_srcdir \
  40411. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  40412. --target=${target_alias} \
  40413. --with-build-libsubdir=$(HOST_SUBDIR) \
  40414. $(STAGEfeedback_CONFIGURE_FLAGS)
  40415. @endif target-libgomp-bootstrap
  40416. .PHONY: all-target-libgomp maybe-all-target-libgomp
  40417. maybe-all-target-libgomp:
  40418. @if gcc-bootstrap
  40419. all-target-libgomp: stage_current
  40420. @endif gcc-bootstrap
  40421. @if target-libgomp
  40422. TARGET-target-libgomp=all
  40423. maybe-all-target-libgomp: all-target-libgomp
  40424. all-target-libgomp: configure-target-libgomp
  40425. @r=`${PWD_COMMAND}`; export r; \
  40426. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40427. $(NORMAL_TARGET_EXPORTS) \
  40428. (cd $(TARGET_SUBDIR)/libgomp && \
  40429. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  40430. $(TARGET-target-libgomp))
  40431. @endif target-libgomp
  40432. .PHONY: all-stage1-target-libgomp maybe-all-stage1-target-libgomp
  40433. .PHONY: clean-stage1-target-libgomp maybe-clean-stage1-target-libgomp
  40434. maybe-all-stage1-target-libgomp:
  40435. maybe-clean-stage1-target-libgomp:
  40436. @if target-libgomp-bootstrap
  40437. maybe-all-stage1-target-libgomp: all-stage1-target-libgomp
  40438. all-stage1: all-stage1-target-libgomp
  40439. TARGET-stage1-target-libgomp = $(TARGET-target-libgomp)
  40440. all-stage1-target-libgomp: configure-stage1-target-libgomp
  40441. @[ $(current_stage) = stage1 ] || $(MAKE) stage1-start
  40442. @r=`${PWD_COMMAND}`; export r; \
  40443. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40444. TFLAGS="$(STAGE1_TFLAGS)"; \
  40445. $(NORMAL_TARGET_EXPORTS) \
  40446. cd $(TARGET_SUBDIR)/libgomp && \
  40447. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  40448. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  40449. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  40450. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  40451. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  40452. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  40453. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  40454. $(EXTRA_TARGET_FLAGS) \
  40455. \
  40456. TFLAGS="$(STAGE1_TFLAGS)" \
  40457. $(TARGET-stage1-target-libgomp)
  40458. maybe-clean-stage1-target-libgomp: clean-stage1-target-libgomp
  40459. clean-stage1: clean-stage1-target-libgomp
  40460. clean-stage1-target-libgomp:
  40461. @if [ $(current_stage) = stage1 ]; then \
  40462. [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
  40463. else \
  40464. [ -f $(TARGET_SUBDIR)/stage1-libgomp/Makefile ] || exit 0; \
  40465. $(MAKE) stage1-start; \
  40466. fi; \
  40467. cd $(TARGET_SUBDIR)/libgomp && \
  40468. $(MAKE) $(EXTRA_TARGET_FLAGS) \
  40469. clean
  40470. @endif target-libgomp-bootstrap
  40471. .PHONY: all-stage2-target-libgomp maybe-all-stage2-target-libgomp
  40472. .PHONY: clean-stage2-target-libgomp maybe-clean-stage2-target-libgomp
  40473. maybe-all-stage2-target-libgomp:
  40474. maybe-clean-stage2-target-libgomp:
  40475. @if target-libgomp-bootstrap
  40476. maybe-all-stage2-target-libgomp: all-stage2-target-libgomp
  40477. all-stage2: all-stage2-target-libgomp
  40478. TARGET-stage2-target-libgomp = $(TARGET-target-libgomp)
  40479. all-stage2-target-libgomp: configure-stage2-target-libgomp
  40480. @[ $(current_stage) = stage2 ] || $(MAKE) stage2-start
  40481. @r=`${PWD_COMMAND}`; export r; \
  40482. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40483. TFLAGS="$(STAGE2_TFLAGS)"; \
  40484. $(NORMAL_TARGET_EXPORTS) \
  40485. \
  40486. cd $(TARGET_SUBDIR)/libgomp && \
  40487. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  40488. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  40489. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  40490. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  40491. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  40492. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  40493. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  40494. $(EXTRA_TARGET_FLAGS) \
  40495. TFLAGS="$(STAGE2_TFLAGS)" \
  40496. $(TARGET-stage2-target-libgomp)
  40497. maybe-clean-stage2-target-libgomp: clean-stage2-target-libgomp
  40498. clean-stage2: clean-stage2-target-libgomp
  40499. clean-stage2-target-libgomp:
  40500. @if [ $(current_stage) = stage2 ]; then \
  40501. [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
  40502. else \
  40503. [ -f $(TARGET_SUBDIR)/stage2-libgomp/Makefile ] || exit 0; \
  40504. $(MAKE) stage2-start; \
  40505. fi; \
  40506. cd $(TARGET_SUBDIR)/libgomp && \
  40507. $(MAKE) $(EXTRA_TARGET_FLAGS) clean
  40508. @endif target-libgomp-bootstrap
  40509. .PHONY: all-stage3-target-libgomp maybe-all-stage3-target-libgomp
  40510. .PHONY: clean-stage3-target-libgomp maybe-clean-stage3-target-libgomp
  40511. maybe-all-stage3-target-libgomp:
  40512. maybe-clean-stage3-target-libgomp:
  40513. @if target-libgomp-bootstrap
  40514. maybe-all-stage3-target-libgomp: all-stage3-target-libgomp
  40515. all-stage3: all-stage3-target-libgomp
  40516. TARGET-stage3-target-libgomp = $(TARGET-target-libgomp)
  40517. all-stage3-target-libgomp: configure-stage3-target-libgomp
  40518. @[ $(current_stage) = stage3 ] || $(MAKE) stage3-start
  40519. @r=`${PWD_COMMAND}`; export r; \
  40520. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40521. TFLAGS="$(STAGE3_TFLAGS)"; \
  40522. $(NORMAL_TARGET_EXPORTS) \
  40523. \
  40524. cd $(TARGET_SUBDIR)/libgomp && \
  40525. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  40526. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  40527. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  40528. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  40529. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  40530. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  40531. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  40532. $(EXTRA_TARGET_FLAGS) \
  40533. TFLAGS="$(STAGE3_TFLAGS)" \
  40534. $(TARGET-stage3-target-libgomp)
  40535. maybe-clean-stage3-target-libgomp: clean-stage3-target-libgomp
  40536. clean-stage3: clean-stage3-target-libgomp
  40537. clean-stage3-target-libgomp:
  40538. @if [ $(current_stage) = stage3 ]; then \
  40539. [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
  40540. else \
  40541. [ -f $(TARGET_SUBDIR)/stage3-libgomp/Makefile ] || exit 0; \
  40542. $(MAKE) stage3-start; \
  40543. fi; \
  40544. cd $(TARGET_SUBDIR)/libgomp && \
  40545. $(MAKE) $(EXTRA_TARGET_FLAGS) clean
  40546. @endif target-libgomp-bootstrap
  40547. .PHONY: all-stage4-target-libgomp maybe-all-stage4-target-libgomp
  40548. .PHONY: clean-stage4-target-libgomp maybe-clean-stage4-target-libgomp
  40549. maybe-all-stage4-target-libgomp:
  40550. maybe-clean-stage4-target-libgomp:
  40551. @if target-libgomp-bootstrap
  40552. maybe-all-stage4-target-libgomp: all-stage4-target-libgomp
  40553. all-stage4: all-stage4-target-libgomp
  40554. TARGET-stage4-target-libgomp = $(TARGET-target-libgomp)
  40555. all-stage4-target-libgomp: configure-stage4-target-libgomp
  40556. @[ $(current_stage) = stage4 ] || $(MAKE) stage4-start
  40557. @r=`${PWD_COMMAND}`; export r; \
  40558. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40559. TFLAGS="$(STAGE4_TFLAGS)"; \
  40560. $(NORMAL_TARGET_EXPORTS) \
  40561. \
  40562. cd $(TARGET_SUBDIR)/libgomp && \
  40563. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  40564. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  40565. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  40566. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  40567. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  40568. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  40569. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  40570. $(EXTRA_TARGET_FLAGS) \
  40571. TFLAGS="$(STAGE4_TFLAGS)" \
  40572. $(TARGET-stage4-target-libgomp)
  40573. maybe-clean-stage4-target-libgomp: clean-stage4-target-libgomp
  40574. clean-stage4: clean-stage4-target-libgomp
  40575. clean-stage4-target-libgomp:
  40576. @if [ $(current_stage) = stage4 ]; then \
  40577. [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
  40578. else \
  40579. [ -f $(TARGET_SUBDIR)/stage4-libgomp/Makefile ] || exit 0; \
  40580. $(MAKE) stage4-start; \
  40581. fi; \
  40582. cd $(TARGET_SUBDIR)/libgomp && \
  40583. $(MAKE) $(EXTRA_TARGET_FLAGS) clean
  40584. @endif target-libgomp-bootstrap
  40585. .PHONY: all-stageprofile-target-libgomp maybe-all-stageprofile-target-libgomp
  40586. .PHONY: clean-stageprofile-target-libgomp maybe-clean-stageprofile-target-libgomp
  40587. maybe-all-stageprofile-target-libgomp:
  40588. maybe-clean-stageprofile-target-libgomp:
  40589. @if target-libgomp-bootstrap
  40590. maybe-all-stageprofile-target-libgomp: all-stageprofile-target-libgomp
  40591. all-stageprofile: all-stageprofile-target-libgomp
  40592. TARGET-stageprofile-target-libgomp = $(TARGET-target-libgomp)
  40593. all-stageprofile-target-libgomp: configure-stageprofile-target-libgomp
  40594. @[ $(current_stage) = stageprofile ] || $(MAKE) stageprofile-start
  40595. @r=`${PWD_COMMAND}`; export r; \
  40596. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40597. TFLAGS="$(STAGEprofile_TFLAGS)"; \
  40598. $(NORMAL_TARGET_EXPORTS) \
  40599. \
  40600. cd $(TARGET_SUBDIR)/libgomp && \
  40601. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  40602. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  40603. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  40604. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  40605. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  40606. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  40607. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  40608. $(EXTRA_TARGET_FLAGS) \
  40609. TFLAGS="$(STAGEprofile_TFLAGS)" \
  40610. $(TARGET-stageprofile-target-libgomp)
  40611. maybe-clean-stageprofile-target-libgomp: clean-stageprofile-target-libgomp
  40612. clean-stageprofile: clean-stageprofile-target-libgomp
  40613. clean-stageprofile-target-libgomp:
  40614. @if [ $(current_stage) = stageprofile ]; then \
  40615. [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
  40616. else \
  40617. [ -f $(TARGET_SUBDIR)/stageprofile-libgomp/Makefile ] || exit 0; \
  40618. $(MAKE) stageprofile-start; \
  40619. fi; \
  40620. cd $(TARGET_SUBDIR)/libgomp && \
  40621. $(MAKE) $(EXTRA_TARGET_FLAGS) clean
  40622. @endif target-libgomp-bootstrap
  40623. .PHONY: all-stagefeedback-target-libgomp maybe-all-stagefeedback-target-libgomp
  40624. .PHONY: clean-stagefeedback-target-libgomp maybe-clean-stagefeedback-target-libgomp
  40625. maybe-all-stagefeedback-target-libgomp:
  40626. maybe-clean-stagefeedback-target-libgomp:
  40627. @if target-libgomp-bootstrap
  40628. maybe-all-stagefeedback-target-libgomp: all-stagefeedback-target-libgomp
  40629. all-stagefeedback: all-stagefeedback-target-libgomp
  40630. TARGET-stagefeedback-target-libgomp = $(TARGET-target-libgomp)
  40631. all-stagefeedback-target-libgomp: configure-stagefeedback-target-libgomp
  40632. @[ $(current_stage) = stagefeedback ] || $(MAKE) stagefeedback-start
  40633. @r=`${PWD_COMMAND}`; export r; \
  40634. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40635. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  40636. $(NORMAL_TARGET_EXPORTS) \
  40637. \
  40638. cd $(TARGET_SUBDIR)/libgomp && \
  40639. $(MAKE) $(BASE_FLAGS_TO_PASS) \
  40640. CFLAGS="$(CFLAGS_FOR_TARGET)" \
  40641. CXXFLAGS="$(CXXFLAGS_FOR_TARGET)" \
  40642. LIBCFLAGS="$(LIBCFLAGS_FOR_TARGET)" \
  40643. CFLAGS_FOR_TARGET="$(CFLAGS_FOR_TARGET)" \
  40644. CXXFLAGS_FOR_TARGET="$(CXXFLAGS_FOR_TARGET)" \
  40645. LIBCFLAGS_FOR_TARGET="$(LIBCFLAGS_FOR_TARGET)" \
  40646. $(EXTRA_TARGET_FLAGS) \
  40647. TFLAGS="$(STAGEfeedback_TFLAGS)" \
  40648. $(TARGET-stagefeedback-target-libgomp)
  40649. maybe-clean-stagefeedback-target-libgomp: clean-stagefeedback-target-libgomp
  40650. clean-stagefeedback: clean-stagefeedback-target-libgomp
  40651. clean-stagefeedback-target-libgomp:
  40652. @if [ $(current_stage) = stagefeedback ]; then \
  40653. [ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0; \
  40654. else \
  40655. [ -f $(TARGET_SUBDIR)/stagefeedback-libgomp/Makefile ] || exit 0; \
  40656. $(MAKE) stagefeedback-start; \
  40657. fi; \
  40658. cd $(TARGET_SUBDIR)/libgomp && \
  40659. $(MAKE) $(EXTRA_TARGET_FLAGS) clean
  40660. @endif target-libgomp-bootstrap
  40661. .PHONY: check-target-libgomp maybe-check-target-libgomp
  40662. maybe-check-target-libgomp:
  40663. @if target-libgomp
  40664. maybe-check-target-libgomp: check-target-libgomp
  40665. check-target-libgomp:
  40666. @: $(MAKE); $(unstage)
  40667. @r=`${PWD_COMMAND}`; export r; \
  40668. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40669. $(NORMAL_TARGET_EXPORTS) \
  40670. (cd $(TARGET_SUBDIR)/libgomp && \
  40671. $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
  40672. @endif target-libgomp
  40673. .PHONY: install-target-libgomp maybe-install-target-libgomp
  40674. maybe-install-target-libgomp:
  40675. @if target-libgomp
  40676. maybe-install-target-libgomp: install-target-libgomp
  40677. install-target-libgomp: installdirs
  40678. @: $(MAKE); $(unstage)
  40679. @r=`${PWD_COMMAND}`; export r; \
  40680. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40681. $(NORMAL_TARGET_EXPORTS) \
  40682. (cd $(TARGET_SUBDIR)/libgomp && \
  40683. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  40684. @endif target-libgomp
  40685. .PHONY: install-strip-target-libgomp maybe-install-strip-target-libgomp
  40686. maybe-install-strip-target-libgomp:
  40687. @if target-libgomp
  40688. maybe-install-strip-target-libgomp: install-strip-target-libgomp
  40689. install-strip-target-libgomp: installdirs
  40690. @: $(MAKE); $(unstage)
  40691. @r=`${PWD_COMMAND}`; export r; \
  40692. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40693. $(NORMAL_TARGET_EXPORTS) \
  40694. (cd $(TARGET_SUBDIR)/libgomp && \
  40695. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  40696. @endif target-libgomp
  40697. # Other targets (info, dvi, pdf, etc.)
  40698. .PHONY: maybe-info-target-libgomp info-target-libgomp
  40699. maybe-info-target-libgomp:
  40700. @if target-libgomp
  40701. maybe-info-target-libgomp: info-target-libgomp
  40702. info-target-libgomp: \
  40703. configure-target-libgomp
  40704. @: $(MAKE); $(unstage)
  40705. @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
  40706. r=`${PWD_COMMAND}`; export r; \
  40707. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40708. $(NORMAL_TARGET_EXPORTS) \
  40709. echo "Doing info in $(TARGET_SUBDIR)/libgomp" ; \
  40710. for flag in $(EXTRA_TARGET_FLAGS); do \
  40711. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  40712. done; \
  40713. (cd $(TARGET_SUBDIR)/libgomp && \
  40714. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  40715. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  40716. "RANLIB=$${RANLIB}" \
  40717. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  40718. info) \
  40719. || exit 1
  40720. @endif target-libgomp
  40721. .PHONY: maybe-dvi-target-libgomp dvi-target-libgomp
  40722. maybe-dvi-target-libgomp:
  40723. @if target-libgomp
  40724. maybe-dvi-target-libgomp: dvi-target-libgomp
  40725. dvi-target-libgomp: \
  40726. configure-target-libgomp
  40727. @: $(MAKE); $(unstage)
  40728. @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
  40729. r=`${PWD_COMMAND}`; export r; \
  40730. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40731. $(NORMAL_TARGET_EXPORTS) \
  40732. echo "Doing dvi in $(TARGET_SUBDIR)/libgomp" ; \
  40733. for flag in $(EXTRA_TARGET_FLAGS); do \
  40734. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  40735. done; \
  40736. (cd $(TARGET_SUBDIR)/libgomp && \
  40737. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  40738. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  40739. "RANLIB=$${RANLIB}" \
  40740. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  40741. dvi) \
  40742. || exit 1
  40743. @endif target-libgomp
  40744. .PHONY: maybe-pdf-target-libgomp pdf-target-libgomp
  40745. maybe-pdf-target-libgomp:
  40746. @if target-libgomp
  40747. maybe-pdf-target-libgomp: pdf-target-libgomp
  40748. pdf-target-libgomp: \
  40749. configure-target-libgomp
  40750. @: $(MAKE); $(unstage)
  40751. @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
  40752. r=`${PWD_COMMAND}`; export r; \
  40753. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40754. $(NORMAL_TARGET_EXPORTS) \
  40755. echo "Doing pdf in $(TARGET_SUBDIR)/libgomp" ; \
  40756. for flag in $(EXTRA_TARGET_FLAGS); do \
  40757. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  40758. done; \
  40759. (cd $(TARGET_SUBDIR)/libgomp && \
  40760. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  40761. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  40762. "RANLIB=$${RANLIB}" \
  40763. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  40764. pdf) \
  40765. || exit 1
  40766. @endif target-libgomp
  40767. .PHONY: maybe-html-target-libgomp html-target-libgomp
  40768. maybe-html-target-libgomp:
  40769. @if target-libgomp
  40770. maybe-html-target-libgomp: html-target-libgomp
  40771. html-target-libgomp: \
  40772. configure-target-libgomp
  40773. @: $(MAKE); $(unstage)
  40774. @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
  40775. r=`${PWD_COMMAND}`; export r; \
  40776. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40777. $(NORMAL_TARGET_EXPORTS) \
  40778. echo "Doing html in $(TARGET_SUBDIR)/libgomp" ; \
  40779. for flag in $(EXTRA_TARGET_FLAGS); do \
  40780. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  40781. done; \
  40782. (cd $(TARGET_SUBDIR)/libgomp && \
  40783. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  40784. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  40785. "RANLIB=$${RANLIB}" \
  40786. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  40787. html) \
  40788. || exit 1
  40789. @endif target-libgomp
  40790. .PHONY: maybe-TAGS-target-libgomp TAGS-target-libgomp
  40791. maybe-TAGS-target-libgomp:
  40792. @if target-libgomp
  40793. maybe-TAGS-target-libgomp: TAGS-target-libgomp
  40794. TAGS-target-libgomp: \
  40795. configure-target-libgomp
  40796. @: $(MAKE); $(unstage)
  40797. @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
  40798. r=`${PWD_COMMAND}`; export r; \
  40799. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40800. $(NORMAL_TARGET_EXPORTS) \
  40801. echo "Doing TAGS in $(TARGET_SUBDIR)/libgomp" ; \
  40802. for flag in $(EXTRA_TARGET_FLAGS); do \
  40803. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  40804. done; \
  40805. (cd $(TARGET_SUBDIR)/libgomp && \
  40806. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  40807. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  40808. "RANLIB=$${RANLIB}" \
  40809. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  40810. TAGS) \
  40811. || exit 1
  40812. @endif target-libgomp
  40813. .PHONY: maybe-install-info-target-libgomp install-info-target-libgomp
  40814. maybe-install-info-target-libgomp:
  40815. @if target-libgomp
  40816. maybe-install-info-target-libgomp: install-info-target-libgomp
  40817. install-info-target-libgomp: \
  40818. configure-target-libgomp \
  40819. info-target-libgomp
  40820. @: $(MAKE); $(unstage)
  40821. @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
  40822. r=`${PWD_COMMAND}`; export r; \
  40823. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40824. $(NORMAL_TARGET_EXPORTS) \
  40825. echo "Doing install-info in $(TARGET_SUBDIR)/libgomp" ; \
  40826. for flag in $(EXTRA_TARGET_FLAGS); do \
  40827. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  40828. done; \
  40829. (cd $(TARGET_SUBDIR)/libgomp && \
  40830. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  40831. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  40832. "RANLIB=$${RANLIB}" \
  40833. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  40834. install-info) \
  40835. || exit 1
  40836. @endif target-libgomp
  40837. .PHONY: maybe-install-pdf-target-libgomp install-pdf-target-libgomp
  40838. maybe-install-pdf-target-libgomp:
  40839. @if target-libgomp
  40840. maybe-install-pdf-target-libgomp: install-pdf-target-libgomp
  40841. install-pdf-target-libgomp: \
  40842. configure-target-libgomp \
  40843. pdf-target-libgomp
  40844. @: $(MAKE); $(unstage)
  40845. @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
  40846. r=`${PWD_COMMAND}`; export r; \
  40847. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40848. $(NORMAL_TARGET_EXPORTS) \
  40849. echo "Doing install-pdf in $(TARGET_SUBDIR)/libgomp" ; \
  40850. for flag in $(EXTRA_TARGET_FLAGS); do \
  40851. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  40852. done; \
  40853. (cd $(TARGET_SUBDIR)/libgomp && \
  40854. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  40855. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  40856. "RANLIB=$${RANLIB}" \
  40857. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  40858. install-pdf) \
  40859. || exit 1
  40860. @endif target-libgomp
  40861. .PHONY: maybe-install-html-target-libgomp install-html-target-libgomp
  40862. maybe-install-html-target-libgomp:
  40863. @if target-libgomp
  40864. maybe-install-html-target-libgomp: install-html-target-libgomp
  40865. install-html-target-libgomp: \
  40866. configure-target-libgomp \
  40867. html-target-libgomp
  40868. @: $(MAKE); $(unstage)
  40869. @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
  40870. r=`${PWD_COMMAND}`; export r; \
  40871. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40872. $(NORMAL_TARGET_EXPORTS) \
  40873. echo "Doing install-html in $(TARGET_SUBDIR)/libgomp" ; \
  40874. for flag in $(EXTRA_TARGET_FLAGS); do \
  40875. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  40876. done; \
  40877. (cd $(TARGET_SUBDIR)/libgomp && \
  40878. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  40879. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  40880. "RANLIB=$${RANLIB}" \
  40881. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  40882. install-html) \
  40883. || exit 1
  40884. @endif target-libgomp
  40885. .PHONY: maybe-installcheck-target-libgomp installcheck-target-libgomp
  40886. maybe-installcheck-target-libgomp:
  40887. @if target-libgomp
  40888. maybe-installcheck-target-libgomp: installcheck-target-libgomp
  40889. installcheck-target-libgomp: \
  40890. configure-target-libgomp
  40891. @: $(MAKE); $(unstage)
  40892. @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
  40893. r=`${PWD_COMMAND}`; export r; \
  40894. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40895. $(NORMAL_TARGET_EXPORTS) \
  40896. echo "Doing installcheck in $(TARGET_SUBDIR)/libgomp" ; \
  40897. for flag in $(EXTRA_TARGET_FLAGS); do \
  40898. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  40899. done; \
  40900. (cd $(TARGET_SUBDIR)/libgomp && \
  40901. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  40902. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  40903. "RANLIB=$${RANLIB}" \
  40904. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  40905. installcheck) \
  40906. || exit 1
  40907. @endif target-libgomp
  40908. .PHONY: maybe-mostlyclean-target-libgomp mostlyclean-target-libgomp
  40909. maybe-mostlyclean-target-libgomp:
  40910. @if target-libgomp
  40911. maybe-mostlyclean-target-libgomp: mostlyclean-target-libgomp
  40912. mostlyclean-target-libgomp:
  40913. @: $(MAKE); $(unstage)
  40914. @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
  40915. r=`${PWD_COMMAND}`; export r; \
  40916. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40917. $(NORMAL_TARGET_EXPORTS) \
  40918. echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgomp" ; \
  40919. for flag in $(EXTRA_TARGET_FLAGS); do \
  40920. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  40921. done; \
  40922. (cd $(TARGET_SUBDIR)/libgomp && \
  40923. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  40924. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  40925. "RANLIB=$${RANLIB}" \
  40926. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  40927. mostlyclean) \
  40928. || exit 1
  40929. @endif target-libgomp
  40930. .PHONY: maybe-clean-target-libgomp clean-target-libgomp
  40931. maybe-clean-target-libgomp:
  40932. @if target-libgomp
  40933. maybe-clean-target-libgomp: clean-target-libgomp
  40934. clean-target-libgomp:
  40935. @: $(MAKE); $(unstage)
  40936. @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
  40937. r=`${PWD_COMMAND}`; export r; \
  40938. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40939. $(NORMAL_TARGET_EXPORTS) \
  40940. echo "Doing clean in $(TARGET_SUBDIR)/libgomp" ; \
  40941. for flag in $(EXTRA_TARGET_FLAGS); do \
  40942. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  40943. done; \
  40944. (cd $(TARGET_SUBDIR)/libgomp && \
  40945. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  40946. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  40947. "RANLIB=$${RANLIB}" \
  40948. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  40949. clean) \
  40950. || exit 1
  40951. @endif target-libgomp
  40952. .PHONY: maybe-distclean-target-libgomp distclean-target-libgomp
  40953. maybe-distclean-target-libgomp:
  40954. @if target-libgomp
  40955. maybe-distclean-target-libgomp: distclean-target-libgomp
  40956. distclean-target-libgomp:
  40957. @: $(MAKE); $(unstage)
  40958. @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
  40959. r=`${PWD_COMMAND}`; export r; \
  40960. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40961. $(NORMAL_TARGET_EXPORTS) \
  40962. echo "Doing distclean in $(TARGET_SUBDIR)/libgomp" ; \
  40963. for flag in $(EXTRA_TARGET_FLAGS); do \
  40964. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  40965. done; \
  40966. (cd $(TARGET_SUBDIR)/libgomp && \
  40967. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  40968. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  40969. "RANLIB=$${RANLIB}" \
  40970. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  40971. distclean) \
  40972. || exit 1
  40973. @endif target-libgomp
  40974. .PHONY: maybe-maintainer-clean-target-libgomp maintainer-clean-target-libgomp
  40975. maybe-maintainer-clean-target-libgomp:
  40976. @if target-libgomp
  40977. maybe-maintainer-clean-target-libgomp: maintainer-clean-target-libgomp
  40978. maintainer-clean-target-libgomp:
  40979. @: $(MAKE); $(unstage)
  40980. @[ -f $(TARGET_SUBDIR)/libgomp/Makefile ] || exit 0 ; \
  40981. r=`${PWD_COMMAND}`; export r; \
  40982. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  40983. $(NORMAL_TARGET_EXPORTS) \
  40984. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgomp" ; \
  40985. for flag in $(EXTRA_TARGET_FLAGS); do \
  40986. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  40987. done; \
  40988. (cd $(TARGET_SUBDIR)/libgomp && \
  40989. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  40990. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  40991. "RANLIB=$${RANLIB}" \
  40992. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  40993. maintainer-clean) \
  40994. || exit 1
  40995. @endif target-libgomp
  40996. .PHONY: configure-target-libitm maybe-configure-target-libitm
  40997. maybe-configure-target-libitm:
  40998. @if gcc-bootstrap
  40999. configure-target-libitm: stage_current
  41000. @endif gcc-bootstrap
  41001. @if target-libitm
  41002. maybe-configure-target-libitm: configure-target-libitm
  41003. configure-target-libitm:
  41004. @: $(MAKE); $(unstage)
  41005. @r=`${PWD_COMMAND}`; export r; \
  41006. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41007. echo "Checking multilib configuration for libitm..."; \
  41008. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
  41009. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libitm/multilib.tmp 2> /dev/null ; \
  41010. if test -r $(TARGET_SUBDIR)/libitm/multilib.out; then \
  41011. if cmp -s $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; then \
  41012. rm -f $(TARGET_SUBDIR)/libitm/multilib.tmp; \
  41013. else \
  41014. rm -f $(TARGET_SUBDIR)/libitm/Makefile; \
  41015. mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
  41016. fi; \
  41017. else \
  41018. mv $(TARGET_SUBDIR)/libitm/multilib.tmp $(TARGET_SUBDIR)/libitm/multilib.out; \
  41019. fi; \
  41020. test ! -f $(TARGET_SUBDIR)/libitm/Makefile || exit 0; \
  41021. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libitm ; \
  41022. $(NORMAL_TARGET_EXPORTS) \
  41023. echo Configuring in $(TARGET_SUBDIR)/libitm; \
  41024. cd "$(TARGET_SUBDIR)/libitm" || exit 1; \
  41025. case $(srcdir) in \
  41026. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  41027. *) topdir=`echo $(TARGET_SUBDIR)/libitm/ | \
  41028. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  41029. esac; \
  41030. module_srcdir=libitm; \
  41031. rm -f no-such-file || : ; \
  41032. CONFIG_SITE=no-such-file $(SHELL) \
  41033. $$s/$$module_srcdir/configure \
  41034. --srcdir=$${topdir}/$$module_srcdir \
  41035. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  41036. --target=${target_alias} \
  41037. || exit 1
  41038. @endif target-libitm
  41039. .PHONY: all-target-libitm maybe-all-target-libitm
  41040. maybe-all-target-libitm:
  41041. @if gcc-bootstrap
  41042. all-target-libitm: stage_current
  41043. @endif gcc-bootstrap
  41044. @if target-libitm
  41045. TARGET-target-libitm=all
  41046. maybe-all-target-libitm: all-target-libitm
  41047. all-target-libitm: configure-target-libitm
  41048. @: $(MAKE); $(unstage)
  41049. @r=`${PWD_COMMAND}`; export r; \
  41050. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41051. $(NORMAL_TARGET_EXPORTS) \
  41052. (cd $(TARGET_SUBDIR)/libitm && \
  41053. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  41054. $(TARGET-target-libitm))
  41055. @endif target-libitm
  41056. .PHONY: check-target-libitm maybe-check-target-libitm
  41057. maybe-check-target-libitm:
  41058. @if target-libitm
  41059. maybe-check-target-libitm: check-target-libitm
  41060. check-target-libitm:
  41061. @: $(MAKE); $(unstage)
  41062. @r=`${PWD_COMMAND}`; export r; \
  41063. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41064. $(NORMAL_TARGET_EXPORTS) \
  41065. (cd $(TARGET_SUBDIR)/libitm && \
  41066. $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
  41067. @endif target-libitm
  41068. .PHONY: install-target-libitm maybe-install-target-libitm
  41069. maybe-install-target-libitm:
  41070. @if target-libitm
  41071. maybe-install-target-libitm: install-target-libitm
  41072. install-target-libitm: installdirs
  41073. @: $(MAKE); $(unstage)
  41074. @r=`${PWD_COMMAND}`; export r; \
  41075. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41076. $(NORMAL_TARGET_EXPORTS) \
  41077. (cd $(TARGET_SUBDIR)/libitm && \
  41078. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  41079. @endif target-libitm
  41080. .PHONY: install-strip-target-libitm maybe-install-strip-target-libitm
  41081. maybe-install-strip-target-libitm:
  41082. @if target-libitm
  41083. maybe-install-strip-target-libitm: install-strip-target-libitm
  41084. install-strip-target-libitm: installdirs
  41085. @: $(MAKE); $(unstage)
  41086. @r=`${PWD_COMMAND}`; export r; \
  41087. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41088. $(NORMAL_TARGET_EXPORTS) \
  41089. (cd $(TARGET_SUBDIR)/libitm && \
  41090. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  41091. @endif target-libitm
  41092. # Other targets (info, dvi, pdf, etc.)
  41093. .PHONY: maybe-info-target-libitm info-target-libitm
  41094. maybe-info-target-libitm:
  41095. @if target-libitm
  41096. maybe-info-target-libitm: info-target-libitm
  41097. info-target-libitm: \
  41098. configure-target-libitm
  41099. @: $(MAKE); $(unstage)
  41100. @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
  41101. r=`${PWD_COMMAND}`; export r; \
  41102. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41103. $(NORMAL_TARGET_EXPORTS) \
  41104. echo "Doing info in $(TARGET_SUBDIR)/libitm" ; \
  41105. for flag in $(EXTRA_TARGET_FLAGS); do \
  41106. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41107. done; \
  41108. (cd $(TARGET_SUBDIR)/libitm && \
  41109. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41110. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41111. "RANLIB=$${RANLIB}" \
  41112. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41113. info) \
  41114. || exit 1
  41115. @endif target-libitm
  41116. .PHONY: maybe-dvi-target-libitm dvi-target-libitm
  41117. maybe-dvi-target-libitm:
  41118. @if target-libitm
  41119. maybe-dvi-target-libitm: dvi-target-libitm
  41120. dvi-target-libitm: \
  41121. configure-target-libitm
  41122. @: $(MAKE); $(unstage)
  41123. @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
  41124. r=`${PWD_COMMAND}`; export r; \
  41125. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41126. $(NORMAL_TARGET_EXPORTS) \
  41127. echo "Doing dvi in $(TARGET_SUBDIR)/libitm" ; \
  41128. for flag in $(EXTRA_TARGET_FLAGS); do \
  41129. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41130. done; \
  41131. (cd $(TARGET_SUBDIR)/libitm && \
  41132. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41133. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41134. "RANLIB=$${RANLIB}" \
  41135. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41136. dvi) \
  41137. || exit 1
  41138. @endif target-libitm
  41139. .PHONY: maybe-pdf-target-libitm pdf-target-libitm
  41140. maybe-pdf-target-libitm:
  41141. @if target-libitm
  41142. maybe-pdf-target-libitm: pdf-target-libitm
  41143. pdf-target-libitm: \
  41144. configure-target-libitm
  41145. @: $(MAKE); $(unstage)
  41146. @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
  41147. r=`${PWD_COMMAND}`; export r; \
  41148. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41149. $(NORMAL_TARGET_EXPORTS) \
  41150. echo "Doing pdf in $(TARGET_SUBDIR)/libitm" ; \
  41151. for flag in $(EXTRA_TARGET_FLAGS); do \
  41152. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41153. done; \
  41154. (cd $(TARGET_SUBDIR)/libitm && \
  41155. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41156. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41157. "RANLIB=$${RANLIB}" \
  41158. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41159. pdf) \
  41160. || exit 1
  41161. @endif target-libitm
  41162. .PHONY: maybe-html-target-libitm html-target-libitm
  41163. maybe-html-target-libitm:
  41164. @if target-libitm
  41165. maybe-html-target-libitm: html-target-libitm
  41166. html-target-libitm: \
  41167. configure-target-libitm
  41168. @: $(MAKE); $(unstage)
  41169. @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
  41170. r=`${PWD_COMMAND}`; export r; \
  41171. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41172. $(NORMAL_TARGET_EXPORTS) \
  41173. echo "Doing html in $(TARGET_SUBDIR)/libitm" ; \
  41174. for flag in $(EXTRA_TARGET_FLAGS); do \
  41175. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41176. done; \
  41177. (cd $(TARGET_SUBDIR)/libitm && \
  41178. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41179. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41180. "RANLIB=$${RANLIB}" \
  41181. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41182. html) \
  41183. || exit 1
  41184. @endif target-libitm
  41185. .PHONY: maybe-TAGS-target-libitm TAGS-target-libitm
  41186. maybe-TAGS-target-libitm:
  41187. @if target-libitm
  41188. maybe-TAGS-target-libitm: TAGS-target-libitm
  41189. TAGS-target-libitm: \
  41190. configure-target-libitm
  41191. @: $(MAKE); $(unstage)
  41192. @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
  41193. r=`${PWD_COMMAND}`; export r; \
  41194. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41195. $(NORMAL_TARGET_EXPORTS) \
  41196. echo "Doing TAGS in $(TARGET_SUBDIR)/libitm" ; \
  41197. for flag in $(EXTRA_TARGET_FLAGS); do \
  41198. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41199. done; \
  41200. (cd $(TARGET_SUBDIR)/libitm && \
  41201. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41202. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41203. "RANLIB=$${RANLIB}" \
  41204. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41205. TAGS) \
  41206. || exit 1
  41207. @endif target-libitm
  41208. .PHONY: maybe-install-info-target-libitm install-info-target-libitm
  41209. maybe-install-info-target-libitm:
  41210. @if target-libitm
  41211. maybe-install-info-target-libitm: install-info-target-libitm
  41212. install-info-target-libitm: \
  41213. configure-target-libitm \
  41214. info-target-libitm
  41215. @: $(MAKE); $(unstage)
  41216. @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
  41217. r=`${PWD_COMMAND}`; export r; \
  41218. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41219. $(NORMAL_TARGET_EXPORTS) \
  41220. echo "Doing install-info in $(TARGET_SUBDIR)/libitm" ; \
  41221. for flag in $(EXTRA_TARGET_FLAGS); do \
  41222. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41223. done; \
  41224. (cd $(TARGET_SUBDIR)/libitm && \
  41225. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41226. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41227. "RANLIB=$${RANLIB}" \
  41228. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41229. install-info) \
  41230. || exit 1
  41231. @endif target-libitm
  41232. .PHONY: maybe-install-pdf-target-libitm install-pdf-target-libitm
  41233. maybe-install-pdf-target-libitm:
  41234. @if target-libitm
  41235. maybe-install-pdf-target-libitm: install-pdf-target-libitm
  41236. install-pdf-target-libitm: \
  41237. configure-target-libitm \
  41238. pdf-target-libitm
  41239. @: $(MAKE); $(unstage)
  41240. @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
  41241. r=`${PWD_COMMAND}`; export r; \
  41242. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41243. $(NORMAL_TARGET_EXPORTS) \
  41244. echo "Doing install-pdf in $(TARGET_SUBDIR)/libitm" ; \
  41245. for flag in $(EXTRA_TARGET_FLAGS); do \
  41246. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41247. done; \
  41248. (cd $(TARGET_SUBDIR)/libitm && \
  41249. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41250. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41251. "RANLIB=$${RANLIB}" \
  41252. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41253. install-pdf) \
  41254. || exit 1
  41255. @endif target-libitm
  41256. .PHONY: maybe-install-html-target-libitm install-html-target-libitm
  41257. maybe-install-html-target-libitm:
  41258. @if target-libitm
  41259. maybe-install-html-target-libitm: install-html-target-libitm
  41260. install-html-target-libitm: \
  41261. configure-target-libitm \
  41262. html-target-libitm
  41263. @: $(MAKE); $(unstage)
  41264. @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
  41265. r=`${PWD_COMMAND}`; export r; \
  41266. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41267. $(NORMAL_TARGET_EXPORTS) \
  41268. echo "Doing install-html in $(TARGET_SUBDIR)/libitm" ; \
  41269. for flag in $(EXTRA_TARGET_FLAGS); do \
  41270. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41271. done; \
  41272. (cd $(TARGET_SUBDIR)/libitm && \
  41273. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41274. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41275. "RANLIB=$${RANLIB}" \
  41276. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41277. install-html) \
  41278. || exit 1
  41279. @endif target-libitm
  41280. .PHONY: maybe-installcheck-target-libitm installcheck-target-libitm
  41281. maybe-installcheck-target-libitm:
  41282. @if target-libitm
  41283. maybe-installcheck-target-libitm: installcheck-target-libitm
  41284. installcheck-target-libitm: \
  41285. configure-target-libitm
  41286. @: $(MAKE); $(unstage)
  41287. @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
  41288. r=`${PWD_COMMAND}`; export r; \
  41289. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41290. $(NORMAL_TARGET_EXPORTS) \
  41291. echo "Doing installcheck in $(TARGET_SUBDIR)/libitm" ; \
  41292. for flag in $(EXTRA_TARGET_FLAGS); do \
  41293. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41294. done; \
  41295. (cd $(TARGET_SUBDIR)/libitm && \
  41296. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41297. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41298. "RANLIB=$${RANLIB}" \
  41299. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41300. installcheck) \
  41301. || exit 1
  41302. @endif target-libitm
  41303. .PHONY: maybe-mostlyclean-target-libitm mostlyclean-target-libitm
  41304. maybe-mostlyclean-target-libitm:
  41305. @if target-libitm
  41306. maybe-mostlyclean-target-libitm: mostlyclean-target-libitm
  41307. mostlyclean-target-libitm:
  41308. @: $(MAKE); $(unstage)
  41309. @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
  41310. r=`${PWD_COMMAND}`; export r; \
  41311. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41312. $(NORMAL_TARGET_EXPORTS) \
  41313. echo "Doing mostlyclean in $(TARGET_SUBDIR)/libitm" ; \
  41314. for flag in $(EXTRA_TARGET_FLAGS); do \
  41315. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41316. done; \
  41317. (cd $(TARGET_SUBDIR)/libitm && \
  41318. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41319. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41320. "RANLIB=$${RANLIB}" \
  41321. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41322. mostlyclean) \
  41323. || exit 1
  41324. @endif target-libitm
  41325. .PHONY: maybe-clean-target-libitm clean-target-libitm
  41326. maybe-clean-target-libitm:
  41327. @if target-libitm
  41328. maybe-clean-target-libitm: clean-target-libitm
  41329. clean-target-libitm:
  41330. @: $(MAKE); $(unstage)
  41331. @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
  41332. r=`${PWD_COMMAND}`; export r; \
  41333. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41334. $(NORMAL_TARGET_EXPORTS) \
  41335. echo "Doing clean in $(TARGET_SUBDIR)/libitm" ; \
  41336. for flag in $(EXTRA_TARGET_FLAGS); do \
  41337. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41338. done; \
  41339. (cd $(TARGET_SUBDIR)/libitm && \
  41340. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41341. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41342. "RANLIB=$${RANLIB}" \
  41343. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41344. clean) \
  41345. || exit 1
  41346. @endif target-libitm
  41347. .PHONY: maybe-distclean-target-libitm distclean-target-libitm
  41348. maybe-distclean-target-libitm:
  41349. @if target-libitm
  41350. maybe-distclean-target-libitm: distclean-target-libitm
  41351. distclean-target-libitm:
  41352. @: $(MAKE); $(unstage)
  41353. @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
  41354. r=`${PWD_COMMAND}`; export r; \
  41355. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41356. $(NORMAL_TARGET_EXPORTS) \
  41357. echo "Doing distclean in $(TARGET_SUBDIR)/libitm" ; \
  41358. for flag in $(EXTRA_TARGET_FLAGS); do \
  41359. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41360. done; \
  41361. (cd $(TARGET_SUBDIR)/libitm && \
  41362. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41363. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41364. "RANLIB=$${RANLIB}" \
  41365. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41366. distclean) \
  41367. || exit 1
  41368. @endif target-libitm
  41369. .PHONY: maybe-maintainer-clean-target-libitm maintainer-clean-target-libitm
  41370. maybe-maintainer-clean-target-libitm:
  41371. @if target-libitm
  41372. maybe-maintainer-clean-target-libitm: maintainer-clean-target-libitm
  41373. maintainer-clean-target-libitm:
  41374. @: $(MAKE); $(unstage)
  41375. @[ -f $(TARGET_SUBDIR)/libitm/Makefile ] || exit 0 ; \
  41376. r=`${PWD_COMMAND}`; export r; \
  41377. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41378. $(NORMAL_TARGET_EXPORTS) \
  41379. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libitm" ; \
  41380. for flag in $(EXTRA_TARGET_FLAGS); do \
  41381. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41382. done; \
  41383. (cd $(TARGET_SUBDIR)/libitm && \
  41384. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41385. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41386. "RANLIB=$${RANLIB}" \
  41387. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41388. maintainer-clean) \
  41389. || exit 1
  41390. @endif target-libitm
  41391. .PHONY: configure-target-libatomic maybe-configure-target-libatomic
  41392. maybe-configure-target-libatomic:
  41393. @if gcc-bootstrap
  41394. configure-target-libatomic: stage_current
  41395. @endif gcc-bootstrap
  41396. @if target-libatomic
  41397. maybe-configure-target-libatomic: configure-target-libatomic
  41398. configure-target-libatomic:
  41399. @: $(MAKE); $(unstage)
  41400. @r=`${PWD_COMMAND}`; export r; \
  41401. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41402. echo "Checking multilib configuration for libatomic..."; \
  41403. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
  41404. $(CC_FOR_TARGET) --print-multi-lib > $(TARGET_SUBDIR)/libatomic/multilib.tmp 2> /dev/null ; \
  41405. if test -r $(TARGET_SUBDIR)/libatomic/multilib.out; then \
  41406. if cmp -s $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; then \
  41407. rm -f $(TARGET_SUBDIR)/libatomic/multilib.tmp; \
  41408. else \
  41409. rm -f $(TARGET_SUBDIR)/libatomic/Makefile; \
  41410. mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
  41411. fi; \
  41412. else \
  41413. mv $(TARGET_SUBDIR)/libatomic/multilib.tmp $(TARGET_SUBDIR)/libatomic/multilib.out; \
  41414. fi; \
  41415. test ! -f $(TARGET_SUBDIR)/libatomic/Makefile || exit 0; \
  41416. $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libatomic ; \
  41417. $(NORMAL_TARGET_EXPORTS) \
  41418. echo Configuring in $(TARGET_SUBDIR)/libatomic; \
  41419. cd "$(TARGET_SUBDIR)/libatomic" || exit 1; \
  41420. case $(srcdir) in \
  41421. /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
  41422. *) topdir=`echo $(TARGET_SUBDIR)/libatomic/ | \
  41423. sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
  41424. esac; \
  41425. module_srcdir=libatomic; \
  41426. rm -f no-such-file || : ; \
  41427. CONFIG_SITE=no-such-file $(SHELL) \
  41428. $$s/$$module_srcdir/configure \
  41429. --srcdir=$${topdir}/$$module_srcdir \
  41430. $(TARGET_CONFIGARGS) --build=${build_alias} --host=${target_alias} \
  41431. --target=${target_alias} \
  41432. || exit 1
  41433. @endif target-libatomic
  41434. .PHONY: all-target-libatomic maybe-all-target-libatomic
  41435. maybe-all-target-libatomic:
  41436. @if gcc-bootstrap
  41437. all-target-libatomic: stage_current
  41438. @endif gcc-bootstrap
  41439. @if target-libatomic
  41440. TARGET-target-libatomic=all
  41441. maybe-all-target-libatomic: all-target-libatomic
  41442. all-target-libatomic: configure-target-libatomic
  41443. @: $(MAKE); $(unstage)
  41444. @r=`${PWD_COMMAND}`; export r; \
  41445. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41446. $(NORMAL_TARGET_EXPORTS) \
  41447. (cd $(TARGET_SUBDIR)/libatomic && \
  41448. $(MAKE) $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS) \
  41449. $(TARGET-target-libatomic))
  41450. @endif target-libatomic
  41451. .PHONY: check-target-libatomic maybe-check-target-libatomic
  41452. maybe-check-target-libatomic:
  41453. @if target-libatomic
  41454. maybe-check-target-libatomic: check-target-libatomic
  41455. check-target-libatomic:
  41456. @: $(MAKE); $(unstage)
  41457. @r=`${PWD_COMMAND}`; export r; \
  41458. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41459. $(NORMAL_TARGET_EXPORTS) \
  41460. (cd $(TARGET_SUBDIR)/libatomic && \
  41461. $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
  41462. @endif target-libatomic
  41463. .PHONY: install-target-libatomic maybe-install-target-libatomic
  41464. maybe-install-target-libatomic:
  41465. @if target-libatomic
  41466. maybe-install-target-libatomic: install-target-libatomic
  41467. install-target-libatomic: installdirs
  41468. @: $(MAKE); $(unstage)
  41469. @r=`${PWD_COMMAND}`; export r; \
  41470. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41471. $(NORMAL_TARGET_EXPORTS) \
  41472. (cd $(TARGET_SUBDIR)/libatomic && \
  41473. $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
  41474. @endif target-libatomic
  41475. .PHONY: install-strip-target-libatomic maybe-install-strip-target-libatomic
  41476. maybe-install-strip-target-libatomic:
  41477. @if target-libatomic
  41478. maybe-install-strip-target-libatomic: install-strip-target-libatomic
  41479. install-strip-target-libatomic: installdirs
  41480. @: $(MAKE); $(unstage)
  41481. @r=`${PWD_COMMAND}`; export r; \
  41482. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41483. $(NORMAL_TARGET_EXPORTS) \
  41484. (cd $(TARGET_SUBDIR)/libatomic && \
  41485. $(MAKE) $(TARGET_FLAGS_TO_PASS) install-strip)
  41486. @endif target-libatomic
  41487. # Other targets (info, dvi, pdf, etc.)
  41488. .PHONY: maybe-info-target-libatomic info-target-libatomic
  41489. maybe-info-target-libatomic:
  41490. @if target-libatomic
  41491. maybe-info-target-libatomic: info-target-libatomic
  41492. info-target-libatomic: \
  41493. configure-target-libatomic
  41494. @: $(MAKE); $(unstage)
  41495. @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
  41496. r=`${PWD_COMMAND}`; export r; \
  41497. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41498. $(NORMAL_TARGET_EXPORTS) \
  41499. echo "Doing info in $(TARGET_SUBDIR)/libatomic" ; \
  41500. for flag in $(EXTRA_TARGET_FLAGS); do \
  41501. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41502. done; \
  41503. (cd $(TARGET_SUBDIR)/libatomic && \
  41504. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41505. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41506. "RANLIB=$${RANLIB}" \
  41507. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41508. info) \
  41509. || exit 1
  41510. @endif target-libatomic
  41511. .PHONY: maybe-dvi-target-libatomic dvi-target-libatomic
  41512. maybe-dvi-target-libatomic:
  41513. @if target-libatomic
  41514. maybe-dvi-target-libatomic: dvi-target-libatomic
  41515. dvi-target-libatomic: \
  41516. configure-target-libatomic
  41517. @: $(MAKE); $(unstage)
  41518. @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
  41519. r=`${PWD_COMMAND}`; export r; \
  41520. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41521. $(NORMAL_TARGET_EXPORTS) \
  41522. echo "Doing dvi in $(TARGET_SUBDIR)/libatomic" ; \
  41523. for flag in $(EXTRA_TARGET_FLAGS); do \
  41524. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41525. done; \
  41526. (cd $(TARGET_SUBDIR)/libatomic && \
  41527. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41528. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41529. "RANLIB=$${RANLIB}" \
  41530. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41531. dvi) \
  41532. || exit 1
  41533. @endif target-libatomic
  41534. .PHONY: maybe-pdf-target-libatomic pdf-target-libatomic
  41535. maybe-pdf-target-libatomic:
  41536. @if target-libatomic
  41537. maybe-pdf-target-libatomic: pdf-target-libatomic
  41538. pdf-target-libatomic: \
  41539. configure-target-libatomic
  41540. @: $(MAKE); $(unstage)
  41541. @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
  41542. r=`${PWD_COMMAND}`; export r; \
  41543. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41544. $(NORMAL_TARGET_EXPORTS) \
  41545. echo "Doing pdf in $(TARGET_SUBDIR)/libatomic" ; \
  41546. for flag in $(EXTRA_TARGET_FLAGS); do \
  41547. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41548. done; \
  41549. (cd $(TARGET_SUBDIR)/libatomic && \
  41550. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41551. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41552. "RANLIB=$${RANLIB}" \
  41553. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41554. pdf) \
  41555. || exit 1
  41556. @endif target-libatomic
  41557. .PHONY: maybe-html-target-libatomic html-target-libatomic
  41558. maybe-html-target-libatomic:
  41559. @if target-libatomic
  41560. maybe-html-target-libatomic: html-target-libatomic
  41561. html-target-libatomic: \
  41562. configure-target-libatomic
  41563. @: $(MAKE); $(unstage)
  41564. @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
  41565. r=`${PWD_COMMAND}`; export r; \
  41566. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41567. $(NORMAL_TARGET_EXPORTS) \
  41568. echo "Doing html in $(TARGET_SUBDIR)/libatomic" ; \
  41569. for flag in $(EXTRA_TARGET_FLAGS); do \
  41570. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41571. done; \
  41572. (cd $(TARGET_SUBDIR)/libatomic && \
  41573. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41574. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41575. "RANLIB=$${RANLIB}" \
  41576. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41577. html) \
  41578. || exit 1
  41579. @endif target-libatomic
  41580. .PHONY: maybe-TAGS-target-libatomic TAGS-target-libatomic
  41581. maybe-TAGS-target-libatomic:
  41582. @if target-libatomic
  41583. maybe-TAGS-target-libatomic: TAGS-target-libatomic
  41584. TAGS-target-libatomic: \
  41585. configure-target-libatomic
  41586. @: $(MAKE); $(unstage)
  41587. @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
  41588. r=`${PWD_COMMAND}`; export r; \
  41589. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41590. $(NORMAL_TARGET_EXPORTS) \
  41591. echo "Doing TAGS in $(TARGET_SUBDIR)/libatomic" ; \
  41592. for flag in $(EXTRA_TARGET_FLAGS); do \
  41593. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41594. done; \
  41595. (cd $(TARGET_SUBDIR)/libatomic && \
  41596. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41597. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41598. "RANLIB=$${RANLIB}" \
  41599. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41600. TAGS) \
  41601. || exit 1
  41602. @endif target-libatomic
  41603. .PHONY: maybe-install-info-target-libatomic install-info-target-libatomic
  41604. maybe-install-info-target-libatomic:
  41605. @if target-libatomic
  41606. maybe-install-info-target-libatomic: install-info-target-libatomic
  41607. install-info-target-libatomic: \
  41608. configure-target-libatomic \
  41609. info-target-libatomic
  41610. @: $(MAKE); $(unstage)
  41611. @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
  41612. r=`${PWD_COMMAND}`; export r; \
  41613. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41614. $(NORMAL_TARGET_EXPORTS) \
  41615. echo "Doing install-info in $(TARGET_SUBDIR)/libatomic" ; \
  41616. for flag in $(EXTRA_TARGET_FLAGS); do \
  41617. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41618. done; \
  41619. (cd $(TARGET_SUBDIR)/libatomic && \
  41620. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41621. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41622. "RANLIB=$${RANLIB}" \
  41623. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41624. install-info) \
  41625. || exit 1
  41626. @endif target-libatomic
  41627. .PHONY: maybe-install-pdf-target-libatomic install-pdf-target-libatomic
  41628. maybe-install-pdf-target-libatomic:
  41629. @if target-libatomic
  41630. maybe-install-pdf-target-libatomic: install-pdf-target-libatomic
  41631. install-pdf-target-libatomic: \
  41632. configure-target-libatomic \
  41633. pdf-target-libatomic
  41634. @: $(MAKE); $(unstage)
  41635. @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
  41636. r=`${PWD_COMMAND}`; export r; \
  41637. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41638. $(NORMAL_TARGET_EXPORTS) \
  41639. echo "Doing install-pdf in $(TARGET_SUBDIR)/libatomic" ; \
  41640. for flag in $(EXTRA_TARGET_FLAGS); do \
  41641. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41642. done; \
  41643. (cd $(TARGET_SUBDIR)/libatomic && \
  41644. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41645. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41646. "RANLIB=$${RANLIB}" \
  41647. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41648. install-pdf) \
  41649. || exit 1
  41650. @endif target-libatomic
  41651. .PHONY: maybe-install-html-target-libatomic install-html-target-libatomic
  41652. maybe-install-html-target-libatomic:
  41653. @if target-libatomic
  41654. maybe-install-html-target-libatomic: install-html-target-libatomic
  41655. install-html-target-libatomic: \
  41656. configure-target-libatomic \
  41657. html-target-libatomic
  41658. @: $(MAKE); $(unstage)
  41659. @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
  41660. r=`${PWD_COMMAND}`; export r; \
  41661. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41662. $(NORMAL_TARGET_EXPORTS) \
  41663. echo "Doing install-html in $(TARGET_SUBDIR)/libatomic" ; \
  41664. for flag in $(EXTRA_TARGET_FLAGS); do \
  41665. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41666. done; \
  41667. (cd $(TARGET_SUBDIR)/libatomic && \
  41668. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41669. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41670. "RANLIB=$${RANLIB}" \
  41671. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41672. install-html) \
  41673. || exit 1
  41674. @endif target-libatomic
  41675. .PHONY: maybe-installcheck-target-libatomic installcheck-target-libatomic
  41676. maybe-installcheck-target-libatomic:
  41677. @if target-libatomic
  41678. maybe-installcheck-target-libatomic: installcheck-target-libatomic
  41679. installcheck-target-libatomic: \
  41680. configure-target-libatomic
  41681. @: $(MAKE); $(unstage)
  41682. @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
  41683. r=`${PWD_COMMAND}`; export r; \
  41684. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41685. $(NORMAL_TARGET_EXPORTS) \
  41686. echo "Doing installcheck in $(TARGET_SUBDIR)/libatomic" ; \
  41687. for flag in $(EXTRA_TARGET_FLAGS); do \
  41688. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41689. done; \
  41690. (cd $(TARGET_SUBDIR)/libatomic && \
  41691. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41692. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41693. "RANLIB=$${RANLIB}" \
  41694. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41695. installcheck) \
  41696. || exit 1
  41697. @endif target-libatomic
  41698. .PHONY: maybe-mostlyclean-target-libatomic mostlyclean-target-libatomic
  41699. maybe-mostlyclean-target-libatomic:
  41700. @if target-libatomic
  41701. maybe-mostlyclean-target-libatomic: mostlyclean-target-libatomic
  41702. mostlyclean-target-libatomic:
  41703. @: $(MAKE); $(unstage)
  41704. @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
  41705. r=`${PWD_COMMAND}`; export r; \
  41706. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41707. $(NORMAL_TARGET_EXPORTS) \
  41708. echo "Doing mostlyclean in $(TARGET_SUBDIR)/libatomic" ; \
  41709. for flag in $(EXTRA_TARGET_FLAGS); do \
  41710. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41711. done; \
  41712. (cd $(TARGET_SUBDIR)/libatomic && \
  41713. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41714. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41715. "RANLIB=$${RANLIB}" \
  41716. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41717. mostlyclean) \
  41718. || exit 1
  41719. @endif target-libatomic
  41720. .PHONY: maybe-clean-target-libatomic clean-target-libatomic
  41721. maybe-clean-target-libatomic:
  41722. @if target-libatomic
  41723. maybe-clean-target-libatomic: clean-target-libatomic
  41724. clean-target-libatomic:
  41725. @: $(MAKE); $(unstage)
  41726. @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
  41727. r=`${PWD_COMMAND}`; export r; \
  41728. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41729. $(NORMAL_TARGET_EXPORTS) \
  41730. echo "Doing clean in $(TARGET_SUBDIR)/libatomic" ; \
  41731. for flag in $(EXTRA_TARGET_FLAGS); do \
  41732. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41733. done; \
  41734. (cd $(TARGET_SUBDIR)/libatomic && \
  41735. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41736. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41737. "RANLIB=$${RANLIB}" \
  41738. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41739. clean) \
  41740. || exit 1
  41741. @endif target-libatomic
  41742. .PHONY: maybe-distclean-target-libatomic distclean-target-libatomic
  41743. maybe-distclean-target-libatomic:
  41744. @if target-libatomic
  41745. maybe-distclean-target-libatomic: distclean-target-libatomic
  41746. distclean-target-libatomic:
  41747. @: $(MAKE); $(unstage)
  41748. @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
  41749. r=`${PWD_COMMAND}`; export r; \
  41750. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41751. $(NORMAL_TARGET_EXPORTS) \
  41752. echo "Doing distclean in $(TARGET_SUBDIR)/libatomic" ; \
  41753. for flag in $(EXTRA_TARGET_FLAGS); do \
  41754. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41755. done; \
  41756. (cd $(TARGET_SUBDIR)/libatomic && \
  41757. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41758. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41759. "RANLIB=$${RANLIB}" \
  41760. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41761. distclean) \
  41762. || exit 1
  41763. @endif target-libatomic
  41764. .PHONY: maybe-maintainer-clean-target-libatomic maintainer-clean-target-libatomic
  41765. maybe-maintainer-clean-target-libatomic:
  41766. @if target-libatomic
  41767. maybe-maintainer-clean-target-libatomic: maintainer-clean-target-libatomic
  41768. maintainer-clean-target-libatomic:
  41769. @: $(MAKE); $(unstage)
  41770. @[ -f $(TARGET_SUBDIR)/libatomic/Makefile ] || exit 0 ; \
  41771. r=`${PWD_COMMAND}`; export r; \
  41772. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41773. $(NORMAL_TARGET_EXPORTS) \
  41774. echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libatomic" ; \
  41775. for flag in $(EXTRA_TARGET_FLAGS); do \
  41776. eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
  41777. done; \
  41778. (cd $(TARGET_SUBDIR)/libatomic && \
  41779. $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
  41780. "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
  41781. "RANLIB=$${RANLIB}" \
  41782. "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" "WINDMC=$${WINDMC}" \
  41783. maintainer-clean) \
  41784. || exit 1
  41785. @endif target-libatomic
  41786. @if target-libgomp
  41787. .PHONY: check-target-libgomp-c++
  41788. check-target-libgomp-c++:
  41789. $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libgomp
  41790. @endif target-libgomp
  41791. @if target-libitm
  41792. .PHONY: check-target-libitm-c++
  41793. check-target-libitm-c++:
  41794. $(MAKE) RUNTESTFLAGS="$(RUNTESTFLAGS) c++.exp" check-target-libitm
  41795. @endif target-libitm
  41796. # ----------
  41797. # GCC module
  41798. # ----------
  41799. @if gcc-no-bootstrap
  41800. .PHONY: cross
  41801. cross: all-build all-gas all-ld
  41802. @r=`${PWD_COMMAND}`; export r; \
  41803. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41804. $(HOST_EXPORTS) \
  41805. echo "Building the C and C++ compiler"; \
  41806. cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
  41807. @r=`${PWD_COMMAND}`; export r; \
  41808. s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
  41809. echo "Building runtime libraries"; \
  41810. $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
  41811. @endif gcc-no-bootstrap
  41812. @if gcc
  41813. .PHONY: check-gcc-c check-c
  41814. check-gcc-c:
  41815. r=`${PWD_COMMAND}`; export r; \
  41816. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41817. $(HOST_EXPORTS) \
  41818. (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-gcc);
  41819. check-c: check-gcc-c
  41820. .PHONY: check-gcc-c++ check-c++
  41821. check-gcc-c++:
  41822. r=`${PWD_COMMAND}`; export r; \
  41823. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41824. $(HOST_EXPORTS) \
  41825. (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++);
  41826. check-c++: check-gcc-c++ check-target-libstdc++-v3 check-target-libitm-c++ check-target-libgomp-c++
  41827. .PHONY: check-gcc-fortran check-fortran
  41828. check-gcc-fortran:
  41829. r=`${PWD_COMMAND}`; export r; \
  41830. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41831. $(HOST_EXPORTS) \
  41832. (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-fortran);
  41833. check-fortran: check-gcc-fortran check-target-libquadmath check-target-libgfortran
  41834. .PHONY: check-gcc-java check-java
  41835. check-gcc-java:
  41836. r=`${PWD_COMMAND}`; export r; \
  41837. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41838. $(HOST_EXPORTS) \
  41839. (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-java);
  41840. check-java: check-gcc-java check-target-libjava
  41841. .PHONY: check-gcc-ada check-ada
  41842. check-gcc-ada:
  41843. r=`${PWD_COMMAND}`; export r; \
  41844. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41845. $(HOST_EXPORTS) \
  41846. (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-ada);
  41847. check-ada: check-gcc-ada check-target-libada
  41848. .PHONY: check-gcc-objc check-objc
  41849. check-gcc-objc:
  41850. r=`${PWD_COMMAND}`; export r; \
  41851. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41852. $(HOST_EXPORTS) \
  41853. (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-objc);
  41854. check-objc: check-gcc-objc check-target-libobjc
  41855. .PHONY: check-gcc-obj-c++ check-obj-c++
  41856. check-gcc-obj-c++:
  41857. r=`${PWD_COMMAND}`; export r; \
  41858. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41859. $(HOST_EXPORTS) \
  41860. (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-obj-c++);
  41861. check-obj-c++: check-gcc-obj-c++
  41862. .PHONY: check-gcc-go check-go
  41863. check-gcc-go:
  41864. r=`${PWD_COMMAND}`; export r; \
  41865. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41866. $(HOST_EXPORTS) \
  41867. (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-go);
  41868. check-go: check-gcc-go check-target-libgo
  41869. # The gcc part of install-no-fixedincludes, which relies on an intimate
  41870. # knowledge of how a number of gcc internal targets (inter)operate. Delegate.
  41871. .PHONY: gcc-install-no-fixedincludes
  41872. gcc-install-no-fixedincludes:
  41873. @if [ -f ./gcc/Makefile ]; then \
  41874. r=`${PWD_COMMAND}`; export r; \
  41875. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  41876. $(HOST_EXPORTS) \
  41877. (cd ./gcc \
  41878. && $(MAKE) $(GCC_FLAGS_TO_PASS) install-no-fixedincludes); \
  41879. else true; fi
  41880. @endif gcc
  41881. # ---------------------
  41882. # GCC bootstrap support
  41883. # ---------------------
  41884. # We track the current stage (the one in 'gcc') in the stage_current file.
  41885. # stage_last instead tracks the stage that was built last. These targets
  41886. # are dummy when toplevel bootstrap is not active.
  41887. # While making host and target tools, symlinks to the final stage must be
  41888. # there, so $(unstage) should be run at various points. To avoid excessive
  41889. # recursive invocations of make, we "inline" them using a variable. These
  41890. # must be referenced as ": $(MAKE) ; $(unstage)" rather than "$(unstage)"
  41891. # to avoid warnings from the GNU Make job server.
  41892. unstage = :
  41893. stage = :
  41894. current_stage = ""
  41895. @if gcc-bootstrap
  41896. unstage = if [ -f stage_last ]; then [ -f stage_current ] || $(MAKE) `cat stage_last`-start || exit 1; else :; fi
  41897. stage = if [ -f stage_current ]; then $(MAKE) `cat stage_current`-end || exit 1; else :; fi
  41898. current_stage = "`cat stage_current 2> /dev/null`"
  41899. @endif gcc-bootstrap
  41900. .PHONY: unstage stage
  41901. unstage:
  41902. @: $(MAKE); $(unstage)
  41903. stage:
  41904. @: $(MAKE); $(stage)
  41905. # Disable commands for lean bootstrap.
  41906. LEAN = false
  41907. # We name the build directories for the various stages "stage1-gcc",
  41908. # "stage2-gcc","stage3-gcc", etc.
  41909. # Since the 'compare' process will fail (on debugging information) if any
  41910. # directory names are different, we need to link the gcc directory for
  41911. # the previous stage to a constant name ('prev-gcc'), and to make the name of
  41912. # the build directories constant as well. For the latter, we use naked names
  41913. # like 'gcc', because the scripts in that directory assume it. We use
  41914. # mv on platforms where symlinks to directories do not work or are not
  41915. # reliable.
  41916. # 'touch' doesn't work right on some platforms.
  41917. STAMP = echo timestamp >
  41918. # We only want to compare .o files, so set this!
  41919. objext = .o
  41920. .PHONY: stage1-start stage1-end
  41921. stage1-start::
  41922. @: $(MAKE); $(stage); \
  41923. echo stage1 > stage_current ; \
  41924. echo stage1 > stage_last; \
  41925. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
  41926. @if bfd
  41927. @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
  41928. mkdir stage1-bfd; \
  41929. mv stage1-bfd bfd
  41930. @endif bfd
  41931. @if opcodes
  41932. @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
  41933. mkdir stage1-opcodes; \
  41934. mv stage1-opcodes opcodes
  41935. @endif opcodes
  41936. @if binutils
  41937. @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
  41938. mkdir stage1-binutils; \
  41939. mv stage1-binutils binutils
  41940. @endif binutils
  41941. @if fixincludes
  41942. @cd $(HOST_SUBDIR); [ -d stage1-fixincludes ] || \
  41943. mkdir stage1-fixincludes; \
  41944. mv stage1-fixincludes fixincludes
  41945. @endif fixincludes
  41946. @if gas
  41947. @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
  41948. mkdir stage1-gas; \
  41949. mv stage1-gas gas
  41950. @endif gas
  41951. @if gcc
  41952. @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
  41953. mkdir stage1-gcc; \
  41954. mv stage1-gcc gcc
  41955. @endif gcc
  41956. @if gmp
  41957. @cd $(HOST_SUBDIR); [ -d stage1-gmp ] || \
  41958. mkdir stage1-gmp; \
  41959. mv stage1-gmp gmp
  41960. @endif gmp
  41961. @if mpfr
  41962. @cd $(HOST_SUBDIR); [ -d stage1-mpfr ] || \
  41963. mkdir stage1-mpfr; \
  41964. mv stage1-mpfr mpfr
  41965. @endif mpfr
  41966. @if mpc
  41967. @cd $(HOST_SUBDIR); [ -d stage1-mpc ] || \
  41968. mkdir stage1-mpc; \
  41969. mv stage1-mpc mpc
  41970. @endif mpc
  41971. @if isl
  41972. @cd $(HOST_SUBDIR); [ -d stage1-isl ] || \
  41973. mkdir stage1-isl; \
  41974. mv stage1-isl isl
  41975. @endif isl
  41976. @if libelf
  41977. @cd $(HOST_SUBDIR); [ -d stage1-libelf ] || \
  41978. mkdir stage1-libelf; \
  41979. mv stage1-libelf libelf
  41980. @endif libelf
  41981. @if gold
  41982. @cd $(HOST_SUBDIR); [ -d stage1-gold ] || \
  41983. mkdir stage1-gold; \
  41984. mv stage1-gold gold
  41985. @endif gold
  41986. @if intl
  41987. @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
  41988. mkdir stage1-intl; \
  41989. mv stage1-intl intl
  41990. @endif intl
  41991. @if ld
  41992. @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
  41993. mkdir stage1-ld; \
  41994. mv stage1-ld ld
  41995. @endif ld
  41996. @if libbacktrace
  41997. @cd $(HOST_SUBDIR); [ -d stage1-libbacktrace ] || \
  41998. mkdir stage1-libbacktrace; \
  41999. mv stage1-libbacktrace libbacktrace
  42000. @endif libbacktrace
  42001. @if libcpp
  42002. @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
  42003. mkdir stage1-libcpp; \
  42004. mv stage1-libcpp libcpp
  42005. @endif libcpp
  42006. @if libdecnumber
  42007. @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
  42008. mkdir stage1-libdecnumber; \
  42009. mv stage1-libdecnumber libdecnumber
  42010. @endif libdecnumber
  42011. @if libiberty
  42012. @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
  42013. mkdir stage1-libiberty; \
  42014. mv stage1-libiberty libiberty
  42015. @endif libiberty
  42016. @if libiberty-linker-plugin
  42017. @cd $(HOST_SUBDIR); [ -d stage1-libiberty-linker-plugin ] || \
  42018. mkdir stage1-libiberty-linker-plugin; \
  42019. mv stage1-libiberty-linker-plugin libiberty-linker-plugin
  42020. @endif libiberty-linker-plugin
  42021. @if zlib
  42022. @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
  42023. mkdir stage1-zlib; \
  42024. mv stage1-zlib zlib
  42025. @endif zlib
  42026. @if lto-plugin
  42027. @cd $(HOST_SUBDIR); [ -d stage1-lto-plugin ] || \
  42028. mkdir stage1-lto-plugin; \
  42029. mv stage1-lto-plugin lto-plugin
  42030. @endif lto-plugin
  42031. @[ -d stage1-$(TARGET_SUBDIR) ] || \
  42032. mkdir stage1-$(TARGET_SUBDIR); \
  42033. mv stage1-$(TARGET_SUBDIR) $(TARGET_SUBDIR)
  42034. stage1-end::
  42035. @if bfd
  42036. @if test -d $(HOST_SUBDIR)/bfd ; then \
  42037. cd $(HOST_SUBDIR); mv bfd stage1-bfd ; \
  42038. fi
  42039. @endif bfd
  42040. @if opcodes
  42041. @if test -d $(HOST_SUBDIR)/opcodes ; then \
  42042. cd $(HOST_SUBDIR); mv opcodes stage1-opcodes ; \
  42043. fi
  42044. @endif opcodes
  42045. @if binutils
  42046. @if test -d $(HOST_SUBDIR)/binutils ; then \
  42047. cd $(HOST_SUBDIR); mv binutils stage1-binutils ; \
  42048. fi
  42049. @endif binutils
  42050. @if fixincludes
  42051. @if test -d $(HOST_SUBDIR)/fixincludes ; then \
  42052. cd $(HOST_SUBDIR); mv fixincludes stage1-fixincludes ; \
  42053. fi
  42054. @endif fixincludes
  42055. @if gas
  42056. @if test -d $(HOST_SUBDIR)/gas ; then \
  42057. cd $(HOST_SUBDIR); mv gas stage1-gas ; \
  42058. fi
  42059. @endif gas
  42060. @if gcc
  42061. @if test -d $(HOST_SUBDIR)/gcc ; then \
  42062. cd $(HOST_SUBDIR); mv gcc stage1-gcc ; \
  42063. fi
  42064. @endif gcc
  42065. @if gmp
  42066. @if test -d $(HOST_SUBDIR)/gmp ; then \
  42067. cd $(HOST_SUBDIR); mv gmp stage1-gmp ; \
  42068. fi
  42069. @endif gmp
  42070. @if mpfr
  42071. @if test -d $(HOST_SUBDIR)/mpfr ; then \
  42072. cd $(HOST_SUBDIR); mv mpfr stage1-mpfr ; \
  42073. fi
  42074. @endif mpfr
  42075. @if mpc
  42076. @if test -d $(HOST_SUBDIR)/mpc ; then \
  42077. cd $(HOST_SUBDIR); mv mpc stage1-mpc ; \
  42078. fi
  42079. @endif mpc
  42080. @if isl
  42081. @if test -d $(HOST_SUBDIR)/isl ; then \
  42082. cd $(HOST_SUBDIR); mv isl stage1-isl ; \
  42083. fi
  42084. @endif isl
  42085. @if libelf
  42086. @if test -d $(HOST_SUBDIR)/libelf ; then \
  42087. cd $(HOST_SUBDIR); mv libelf stage1-libelf ; \
  42088. fi
  42089. @endif libelf
  42090. @if gold
  42091. @if test -d $(HOST_SUBDIR)/gold ; then \
  42092. cd $(HOST_SUBDIR); mv gold stage1-gold ; \
  42093. fi
  42094. @endif gold
  42095. @if intl
  42096. @if test -d $(HOST_SUBDIR)/intl ; then \
  42097. cd $(HOST_SUBDIR); mv intl stage1-intl ; \
  42098. fi
  42099. @endif intl
  42100. @if ld
  42101. @if test -d $(HOST_SUBDIR)/ld ; then \
  42102. cd $(HOST_SUBDIR); mv ld stage1-ld ; \
  42103. fi
  42104. @endif ld
  42105. @if libbacktrace
  42106. @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
  42107. cd $(HOST_SUBDIR); mv libbacktrace stage1-libbacktrace ; \
  42108. fi
  42109. @endif libbacktrace
  42110. @if libcpp
  42111. @if test -d $(HOST_SUBDIR)/libcpp ; then \
  42112. cd $(HOST_SUBDIR); mv libcpp stage1-libcpp ; \
  42113. fi
  42114. @endif libcpp
  42115. @if libdecnumber
  42116. @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
  42117. cd $(HOST_SUBDIR); mv libdecnumber stage1-libdecnumber ; \
  42118. fi
  42119. @endif libdecnumber
  42120. @if libiberty
  42121. @if test -d $(HOST_SUBDIR)/libiberty ; then \
  42122. cd $(HOST_SUBDIR); mv libiberty stage1-libiberty ; \
  42123. fi
  42124. @endif libiberty
  42125. @if libiberty-linker-plugin
  42126. @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
  42127. cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage1-libiberty-linker-plugin ; \
  42128. fi
  42129. @endif libiberty-linker-plugin
  42130. @if zlib
  42131. @if test -d $(HOST_SUBDIR)/zlib ; then \
  42132. cd $(HOST_SUBDIR); mv zlib stage1-zlib ; \
  42133. fi
  42134. @endif zlib
  42135. @if lto-plugin
  42136. @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
  42137. cd $(HOST_SUBDIR); mv lto-plugin stage1-lto-plugin ; \
  42138. fi
  42139. @endif lto-plugin
  42140. @if test -d $(TARGET_SUBDIR) ; then \
  42141. mv $(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; \
  42142. fi
  42143. rm -f stage_current
  42144. # Bubble a bug fix through all the stages up to stage 1. They are
  42145. # remade, but not reconfigured. The next stage (if any) will not be
  42146. # reconfigured either.
  42147. .PHONY: stage1-bubble
  42148. stage1-bubble::
  42149. @r=`${PWD_COMMAND}`; export r; \
  42150. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  42151. if test -f stage1-lean ; then \
  42152. echo Skipping rebuild of stage1 ; \
  42153. else \
  42154. $(MAKE) stage1-start; \
  42155. $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
  42156. fi
  42157. .PHONY: all-stage1 clean-stage1
  42158. do-clean: clean-stage1
  42159. # FIXME: Will not need to be conditional when toplevel bootstrap is the
  42160. # only possibility, but now it conflicts with no-bootstrap rules
  42161. @if gcc-bootstrap
  42162. # Rules to wipe a stage and all the following ones, also used for cleanstrap
  42163. .PHONY: distclean-stage1
  42164. distclean-stage1::
  42165. @: $(MAKE); $(stage)
  42166. @test "`cat stage_last`" != stage1 || rm -f stage_last
  42167. rm -rf stage1-*
  42168. @endif gcc-bootstrap
  42169. .PHONY: stage2-start stage2-end
  42170. stage2-start::
  42171. @: $(MAKE); $(stage); \
  42172. echo stage2 > stage_current ; \
  42173. echo stage2 > stage_last; \
  42174. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
  42175. @if bfd
  42176. @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
  42177. mkdir stage2-bfd; \
  42178. mv stage2-bfd bfd ; \
  42179. mv stage1-bfd prev-bfd || test -f stage1-lean
  42180. @endif bfd
  42181. @if opcodes
  42182. @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
  42183. mkdir stage2-opcodes; \
  42184. mv stage2-opcodes opcodes ; \
  42185. mv stage1-opcodes prev-opcodes || test -f stage1-lean
  42186. @endif opcodes
  42187. @if binutils
  42188. @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
  42189. mkdir stage2-binutils; \
  42190. mv stage2-binutils binutils ; \
  42191. mv stage1-binutils prev-binutils || test -f stage1-lean
  42192. @endif binutils
  42193. @if fixincludes
  42194. @cd $(HOST_SUBDIR); [ -d stage2-fixincludes ] || \
  42195. mkdir stage2-fixincludes; \
  42196. mv stage2-fixincludes fixincludes ; \
  42197. mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
  42198. @endif fixincludes
  42199. @if gas
  42200. @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
  42201. mkdir stage2-gas; \
  42202. mv stage2-gas gas ; \
  42203. mv stage1-gas prev-gas || test -f stage1-lean
  42204. @endif gas
  42205. @if gcc
  42206. @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
  42207. mkdir stage2-gcc; \
  42208. mv stage2-gcc gcc ; \
  42209. mv stage1-gcc prev-gcc || test -f stage1-lean
  42210. @endif gcc
  42211. @if gmp
  42212. @cd $(HOST_SUBDIR); [ -d stage2-gmp ] || \
  42213. mkdir stage2-gmp; \
  42214. mv stage2-gmp gmp ; \
  42215. mv stage1-gmp prev-gmp || test -f stage1-lean
  42216. @endif gmp
  42217. @if mpfr
  42218. @cd $(HOST_SUBDIR); [ -d stage2-mpfr ] || \
  42219. mkdir stage2-mpfr; \
  42220. mv stage2-mpfr mpfr ; \
  42221. mv stage1-mpfr prev-mpfr || test -f stage1-lean
  42222. @endif mpfr
  42223. @if mpc
  42224. @cd $(HOST_SUBDIR); [ -d stage2-mpc ] || \
  42225. mkdir stage2-mpc; \
  42226. mv stage2-mpc mpc ; \
  42227. mv stage1-mpc prev-mpc || test -f stage1-lean
  42228. @endif mpc
  42229. @if isl
  42230. @cd $(HOST_SUBDIR); [ -d stage2-isl ] || \
  42231. mkdir stage2-isl; \
  42232. mv stage2-isl isl ; \
  42233. mv stage1-isl prev-isl || test -f stage1-lean
  42234. @endif isl
  42235. @if libelf
  42236. @cd $(HOST_SUBDIR); [ -d stage2-libelf ] || \
  42237. mkdir stage2-libelf; \
  42238. mv stage2-libelf libelf ; \
  42239. mv stage1-libelf prev-libelf || test -f stage1-lean
  42240. @endif libelf
  42241. @if gold
  42242. @cd $(HOST_SUBDIR); [ -d stage2-gold ] || \
  42243. mkdir stage2-gold; \
  42244. mv stage2-gold gold ; \
  42245. mv stage1-gold prev-gold || test -f stage1-lean
  42246. @endif gold
  42247. @if intl
  42248. @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
  42249. mkdir stage2-intl; \
  42250. mv stage2-intl intl ; \
  42251. mv stage1-intl prev-intl || test -f stage1-lean
  42252. @endif intl
  42253. @if ld
  42254. @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
  42255. mkdir stage2-ld; \
  42256. mv stage2-ld ld ; \
  42257. mv stage1-ld prev-ld || test -f stage1-lean
  42258. @endif ld
  42259. @if libbacktrace
  42260. @cd $(HOST_SUBDIR); [ -d stage2-libbacktrace ] || \
  42261. mkdir stage2-libbacktrace; \
  42262. mv stage2-libbacktrace libbacktrace ; \
  42263. mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
  42264. @endif libbacktrace
  42265. @if libcpp
  42266. @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
  42267. mkdir stage2-libcpp; \
  42268. mv stage2-libcpp libcpp ; \
  42269. mv stage1-libcpp prev-libcpp || test -f stage1-lean
  42270. @endif libcpp
  42271. @if libdecnumber
  42272. @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
  42273. mkdir stage2-libdecnumber; \
  42274. mv stage2-libdecnumber libdecnumber ; \
  42275. mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
  42276. @endif libdecnumber
  42277. @if libiberty
  42278. @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
  42279. mkdir stage2-libiberty; \
  42280. mv stage2-libiberty libiberty ; \
  42281. mv stage1-libiberty prev-libiberty || test -f stage1-lean
  42282. @endif libiberty
  42283. @if libiberty-linker-plugin
  42284. @cd $(HOST_SUBDIR); [ -d stage2-libiberty-linker-plugin ] || \
  42285. mkdir stage2-libiberty-linker-plugin; \
  42286. mv stage2-libiberty-linker-plugin libiberty-linker-plugin ; \
  42287. mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
  42288. @endif libiberty-linker-plugin
  42289. @if zlib
  42290. @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
  42291. mkdir stage2-zlib; \
  42292. mv stage2-zlib zlib ; \
  42293. mv stage1-zlib prev-zlib || test -f stage1-lean
  42294. @endif zlib
  42295. @if lto-plugin
  42296. @cd $(HOST_SUBDIR); [ -d stage2-lto-plugin ] || \
  42297. mkdir stage2-lto-plugin; \
  42298. mv stage2-lto-plugin lto-plugin ; \
  42299. mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
  42300. @endif lto-plugin
  42301. @[ -d stage2-$(TARGET_SUBDIR) ] || \
  42302. mkdir stage2-$(TARGET_SUBDIR); \
  42303. mv stage2-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
  42304. mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
  42305. stage2-end::
  42306. @if bfd
  42307. @if test -d $(HOST_SUBDIR)/bfd ; then \
  42308. cd $(HOST_SUBDIR); mv bfd stage2-bfd ; \
  42309. mv prev-bfd stage1-bfd ; : ; \
  42310. fi
  42311. @endif bfd
  42312. @if opcodes
  42313. @if test -d $(HOST_SUBDIR)/opcodes ; then \
  42314. cd $(HOST_SUBDIR); mv opcodes stage2-opcodes ; \
  42315. mv prev-opcodes stage1-opcodes ; : ; \
  42316. fi
  42317. @endif opcodes
  42318. @if binutils
  42319. @if test -d $(HOST_SUBDIR)/binutils ; then \
  42320. cd $(HOST_SUBDIR); mv binutils stage2-binutils ; \
  42321. mv prev-binutils stage1-binutils ; : ; \
  42322. fi
  42323. @endif binutils
  42324. @if fixincludes
  42325. @if test -d $(HOST_SUBDIR)/fixincludes ; then \
  42326. cd $(HOST_SUBDIR); mv fixincludes stage2-fixincludes ; \
  42327. mv prev-fixincludes stage1-fixincludes ; : ; \
  42328. fi
  42329. @endif fixincludes
  42330. @if gas
  42331. @if test -d $(HOST_SUBDIR)/gas ; then \
  42332. cd $(HOST_SUBDIR); mv gas stage2-gas ; \
  42333. mv prev-gas stage1-gas ; : ; \
  42334. fi
  42335. @endif gas
  42336. @if gcc
  42337. @if test -d $(HOST_SUBDIR)/gcc ; then \
  42338. cd $(HOST_SUBDIR); mv gcc stage2-gcc ; \
  42339. mv prev-gcc stage1-gcc ; : ; \
  42340. fi
  42341. @endif gcc
  42342. @if gmp
  42343. @if test -d $(HOST_SUBDIR)/gmp ; then \
  42344. cd $(HOST_SUBDIR); mv gmp stage2-gmp ; \
  42345. mv prev-gmp stage1-gmp ; : ; \
  42346. fi
  42347. @endif gmp
  42348. @if mpfr
  42349. @if test -d $(HOST_SUBDIR)/mpfr ; then \
  42350. cd $(HOST_SUBDIR); mv mpfr stage2-mpfr ; \
  42351. mv prev-mpfr stage1-mpfr ; : ; \
  42352. fi
  42353. @endif mpfr
  42354. @if mpc
  42355. @if test -d $(HOST_SUBDIR)/mpc ; then \
  42356. cd $(HOST_SUBDIR); mv mpc stage2-mpc ; \
  42357. mv prev-mpc stage1-mpc ; : ; \
  42358. fi
  42359. @endif mpc
  42360. @if isl
  42361. @if test -d $(HOST_SUBDIR)/isl ; then \
  42362. cd $(HOST_SUBDIR); mv isl stage2-isl ; \
  42363. mv prev-isl stage1-isl ; : ; \
  42364. fi
  42365. @endif isl
  42366. @if libelf
  42367. @if test -d $(HOST_SUBDIR)/libelf ; then \
  42368. cd $(HOST_SUBDIR); mv libelf stage2-libelf ; \
  42369. mv prev-libelf stage1-libelf ; : ; \
  42370. fi
  42371. @endif libelf
  42372. @if gold
  42373. @if test -d $(HOST_SUBDIR)/gold ; then \
  42374. cd $(HOST_SUBDIR); mv gold stage2-gold ; \
  42375. mv prev-gold stage1-gold ; : ; \
  42376. fi
  42377. @endif gold
  42378. @if intl
  42379. @if test -d $(HOST_SUBDIR)/intl ; then \
  42380. cd $(HOST_SUBDIR); mv intl stage2-intl ; \
  42381. mv prev-intl stage1-intl ; : ; \
  42382. fi
  42383. @endif intl
  42384. @if ld
  42385. @if test -d $(HOST_SUBDIR)/ld ; then \
  42386. cd $(HOST_SUBDIR); mv ld stage2-ld ; \
  42387. mv prev-ld stage1-ld ; : ; \
  42388. fi
  42389. @endif ld
  42390. @if libbacktrace
  42391. @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
  42392. cd $(HOST_SUBDIR); mv libbacktrace stage2-libbacktrace ; \
  42393. mv prev-libbacktrace stage1-libbacktrace ; : ; \
  42394. fi
  42395. @endif libbacktrace
  42396. @if libcpp
  42397. @if test -d $(HOST_SUBDIR)/libcpp ; then \
  42398. cd $(HOST_SUBDIR); mv libcpp stage2-libcpp ; \
  42399. mv prev-libcpp stage1-libcpp ; : ; \
  42400. fi
  42401. @endif libcpp
  42402. @if libdecnumber
  42403. @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
  42404. cd $(HOST_SUBDIR); mv libdecnumber stage2-libdecnumber ; \
  42405. mv prev-libdecnumber stage1-libdecnumber ; : ; \
  42406. fi
  42407. @endif libdecnumber
  42408. @if libiberty
  42409. @if test -d $(HOST_SUBDIR)/libiberty ; then \
  42410. cd $(HOST_SUBDIR); mv libiberty stage2-libiberty ; \
  42411. mv prev-libiberty stage1-libiberty ; : ; \
  42412. fi
  42413. @endif libiberty
  42414. @if libiberty-linker-plugin
  42415. @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
  42416. cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage2-libiberty-linker-plugin ; \
  42417. mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin ; : ; \
  42418. fi
  42419. @endif libiberty-linker-plugin
  42420. @if zlib
  42421. @if test -d $(HOST_SUBDIR)/zlib ; then \
  42422. cd $(HOST_SUBDIR); mv zlib stage2-zlib ; \
  42423. mv prev-zlib stage1-zlib ; : ; \
  42424. fi
  42425. @endif zlib
  42426. @if lto-plugin
  42427. @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
  42428. cd $(HOST_SUBDIR); mv lto-plugin stage2-lto-plugin ; \
  42429. mv prev-lto-plugin stage1-lto-plugin ; : ; \
  42430. fi
  42431. @endif lto-plugin
  42432. @if test -d $(TARGET_SUBDIR) ; then \
  42433. mv $(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; \
  42434. mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
  42435. fi
  42436. rm -f stage_current
  42437. # Bubble a bug fix through all the stages up to stage 2. They are
  42438. # remade, but not reconfigured. The next stage (if any) will not be
  42439. # reconfigured either.
  42440. .PHONY: stage2-bubble
  42441. stage2-bubble:: stage1-bubble
  42442. @r=`${PWD_COMMAND}`; export r; \
  42443. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  42444. if test -f stage2-lean || test -f stage1-lean ; then \
  42445. echo Skipping rebuild of stage2 ; \
  42446. else \
  42447. $(MAKE) stage2-start; \
  42448. $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
  42449. fi
  42450. .PHONY: all-stage2 clean-stage2
  42451. do-clean: clean-stage2
  42452. # FIXME: Will not need to be conditional when toplevel bootstrap is the
  42453. # only possibility, but now it conflicts with no-bootstrap rules
  42454. @if gcc-bootstrap
  42455. .PHONY: bootstrap2 bootstrap2-lean
  42456. bootstrap2:
  42457. echo stage2 > stage_final
  42458. @r=`${PWD_COMMAND}`; export r; \
  42459. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  42460. $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble
  42461. @: $(MAKE); $(unstage)
  42462. @r=`${PWD_COMMAND}`; export r; \
  42463. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  42464. TFLAGS="$(STAGE2_TFLAGS)"; \
  42465. $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
  42466. bootstrap2-lean:
  42467. echo stage2 > stage_final
  42468. @r=`${PWD_COMMAND}`; export r; \
  42469. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  42470. $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage2-bubble
  42471. @: $(MAKE); $(unstage)
  42472. @r=`${PWD_COMMAND}`; export r; \
  42473. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  42474. TFLAGS="$(STAGE2_TFLAGS)"; \
  42475. $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
  42476. # Rules to wipe a stage and all the following ones, also used for cleanstrap
  42477. distclean-stage1:: distclean-stage2
  42478. .PHONY: distclean-stage2
  42479. distclean-stage2::
  42480. @: $(MAKE); $(stage)
  42481. @test "`cat stage_last`" != stage2 || rm -f stage_last
  42482. rm -rf stage2-*
  42483. @endif gcc-bootstrap
  42484. .PHONY: stage3-start stage3-end
  42485. stage3-start::
  42486. @: $(MAKE); $(stage); \
  42487. echo stage3 > stage_current ; \
  42488. echo stage3 > stage_last; \
  42489. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
  42490. @if bfd
  42491. @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
  42492. mkdir stage3-bfd; \
  42493. mv stage3-bfd bfd ; \
  42494. mv stage2-bfd prev-bfd || test -f stage2-lean
  42495. @endif bfd
  42496. @if opcodes
  42497. @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
  42498. mkdir stage3-opcodes; \
  42499. mv stage3-opcodes opcodes ; \
  42500. mv stage2-opcodes prev-opcodes || test -f stage2-lean
  42501. @endif opcodes
  42502. @if binutils
  42503. @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
  42504. mkdir stage3-binutils; \
  42505. mv stage3-binutils binutils ; \
  42506. mv stage2-binutils prev-binutils || test -f stage2-lean
  42507. @endif binutils
  42508. @if fixincludes
  42509. @cd $(HOST_SUBDIR); [ -d stage3-fixincludes ] || \
  42510. mkdir stage3-fixincludes; \
  42511. mv stage3-fixincludes fixincludes ; \
  42512. mv stage2-fixincludes prev-fixincludes || test -f stage2-lean
  42513. @endif fixincludes
  42514. @if gas
  42515. @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
  42516. mkdir stage3-gas; \
  42517. mv stage3-gas gas ; \
  42518. mv stage2-gas prev-gas || test -f stage2-lean
  42519. @endif gas
  42520. @if gcc
  42521. @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
  42522. mkdir stage3-gcc; \
  42523. mv stage3-gcc gcc ; \
  42524. mv stage2-gcc prev-gcc || test -f stage2-lean
  42525. @endif gcc
  42526. @if gmp
  42527. @cd $(HOST_SUBDIR); [ -d stage3-gmp ] || \
  42528. mkdir stage3-gmp; \
  42529. mv stage3-gmp gmp ; \
  42530. mv stage2-gmp prev-gmp || test -f stage2-lean
  42531. @endif gmp
  42532. @if mpfr
  42533. @cd $(HOST_SUBDIR); [ -d stage3-mpfr ] || \
  42534. mkdir stage3-mpfr; \
  42535. mv stage3-mpfr mpfr ; \
  42536. mv stage2-mpfr prev-mpfr || test -f stage2-lean
  42537. @endif mpfr
  42538. @if mpc
  42539. @cd $(HOST_SUBDIR); [ -d stage3-mpc ] || \
  42540. mkdir stage3-mpc; \
  42541. mv stage3-mpc mpc ; \
  42542. mv stage2-mpc prev-mpc || test -f stage2-lean
  42543. @endif mpc
  42544. @if isl
  42545. @cd $(HOST_SUBDIR); [ -d stage3-isl ] || \
  42546. mkdir stage3-isl; \
  42547. mv stage3-isl isl ; \
  42548. mv stage2-isl prev-isl || test -f stage2-lean
  42549. @endif isl
  42550. @if libelf
  42551. @cd $(HOST_SUBDIR); [ -d stage3-libelf ] || \
  42552. mkdir stage3-libelf; \
  42553. mv stage3-libelf libelf ; \
  42554. mv stage2-libelf prev-libelf || test -f stage2-lean
  42555. @endif libelf
  42556. @if gold
  42557. @cd $(HOST_SUBDIR); [ -d stage3-gold ] || \
  42558. mkdir stage3-gold; \
  42559. mv stage3-gold gold ; \
  42560. mv stage2-gold prev-gold || test -f stage2-lean
  42561. @endif gold
  42562. @if intl
  42563. @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
  42564. mkdir stage3-intl; \
  42565. mv stage3-intl intl ; \
  42566. mv stage2-intl prev-intl || test -f stage2-lean
  42567. @endif intl
  42568. @if ld
  42569. @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
  42570. mkdir stage3-ld; \
  42571. mv stage3-ld ld ; \
  42572. mv stage2-ld prev-ld || test -f stage2-lean
  42573. @endif ld
  42574. @if libbacktrace
  42575. @cd $(HOST_SUBDIR); [ -d stage3-libbacktrace ] || \
  42576. mkdir stage3-libbacktrace; \
  42577. mv stage3-libbacktrace libbacktrace ; \
  42578. mv stage2-libbacktrace prev-libbacktrace || test -f stage2-lean
  42579. @endif libbacktrace
  42580. @if libcpp
  42581. @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
  42582. mkdir stage3-libcpp; \
  42583. mv stage3-libcpp libcpp ; \
  42584. mv stage2-libcpp prev-libcpp || test -f stage2-lean
  42585. @endif libcpp
  42586. @if libdecnumber
  42587. @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
  42588. mkdir stage3-libdecnumber; \
  42589. mv stage3-libdecnumber libdecnumber ; \
  42590. mv stage2-libdecnumber prev-libdecnumber || test -f stage2-lean
  42591. @endif libdecnumber
  42592. @if libiberty
  42593. @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
  42594. mkdir stage3-libiberty; \
  42595. mv stage3-libiberty libiberty ; \
  42596. mv stage2-libiberty prev-libiberty || test -f stage2-lean
  42597. @endif libiberty
  42598. @if libiberty-linker-plugin
  42599. @cd $(HOST_SUBDIR); [ -d stage3-libiberty-linker-plugin ] || \
  42600. mkdir stage3-libiberty-linker-plugin; \
  42601. mv stage3-libiberty-linker-plugin libiberty-linker-plugin ; \
  42602. mv stage2-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage2-lean
  42603. @endif libiberty-linker-plugin
  42604. @if zlib
  42605. @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
  42606. mkdir stage3-zlib; \
  42607. mv stage3-zlib zlib ; \
  42608. mv stage2-zlib prev-zlib || test -f stage2-lean
  42609. @endif zlib
  42610. @if lto-plugin
  42611. @cd $(HOST_SUBDIR); [ -d stage3-lto-plugin ] || \
  42612. mkdir stage3-lto-plugin; \
  42613. mv stage3-lto-plugin lto-plugin ; \
  42614. mv stage2-lto-plugin prev-lto-plugin || test -f stage2-lean
  42615. @endif lto-plugin
  42616. @[ -d stage3-$(TARGET_SUBDIR) ] || \
  42617. mkdir stage3-$(TARGET_SUBDIR); \
  42618. mv stage3-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
  42619. mv stage2-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage2-lean
  42620. stage3-end::
  42621. @if bfd
  42622. @if test -d $(HOST_SUBDIR)/bfd ; then \
  42623. cd $(HOST_SUBDIR); mv bfd stage3-bfd ; \
  42624. mv prev-bfd stage2-bfd ; : ; \
  42625. fi
  42626. @endif bfd
  42627. @if opcodes
  42628. @if test -d $(HOST_SUBDIR)/opcodes ; then \
  42629. cd $(HOST_SUBDIR); mv opcodes stage3-opcodes ; \
  42630. mv prev-opcodes stage2-opcodes ; : ; \
  42631. fi
  42632. @endif opcodes
  42633. @if binutils
  42634. @if test -d $(HOST_SUBDIR)/binutils ; then \
  42635. cd $(HOST_SUBDIR); mv binutils stage3-binutils ; \
  42636. mv prev-binutils stage2-binutils ; : ; \
  42637. fi
  42638. @endif binutils
  42639. @if fixincludes
  42640. @if test -d $(HOST_SUBDIR)/fixincludes ; then \
  42641. cd $(HOST_SUBDIR); mv fixincludes stage3-fixincludes ; \
  42642. mv prev-fixincludes stage2-fixincludes ; : ; \
  42643. fi
  42644. @endif fixincludes
  42645. @if gas
  42646. @if test -d $(HOST_SUBDIR)/gas ; then \
  42647. cd $(HOST_SUBDIR); mv gas stage3-gas ; \
  42648. mv prev-gas stage2-gas ; : ; \
  42649. fi
  42650. @endif gas
  42651. @if gcc
  42652. @if test -d $(HOST_SUBDIR)/gcc ; then \
  42653. cd $(HOST_SUBDIR); mv gcc stage3-gcc ; \
  42654. mv prev-gcc stage2-gcc ; : ; \
  42655. fi
  42656. @endif gcc
  42657. @if gmp
  42658. @if test -d $(HOST_SUBDIR)/gmp ; then \
  42659. cd $(HOST_SUBDIR); mv gmp stage3-gmp ; \
  42660. mv prev-gmp stage2-gmp ; : ; \
  42661. fi
  42662. @endif gmp
  42663. @if mpfr
  42664. @if test -d $(HOST_SUBDIR)/mpfr ; then \
  42665. cd $(HOST_SUBDIR); mv mpfr stage3-mpfr ; \
  42666. mv prev-mpfr stage2-mpfr ; : ; \
  42667. fi
  42668. @endif mpfr
  42669. @if mpc
  42670. @if test -d $(HOST_SUBDIR)/mpc ; then \
  42671. cd $(HOST_SUBDIR); mv mpc stage3-mpc ; \
  42672. mv prev-mpc stage2-mpc ; : ; \
  42673. fi
  42674. @endif mpc
  42675. @if isl
  42676. @if test -d $(HOST_SUBDIR)/isl ; then \
  42677. cd $(HOST_SUBDIR); mv isl stage3-isl ; \
  42678. mv prev-isl stage2-isl ; : ; \
  42679. fi
  42680. @endif isl
  42681. @if libelf
  42682. @if test -d $(HOST_SUBDIR)/libelf ; then \
  42683. cd $(HOST_SUBDIR); mv libelf stage3-libelf ; \
  42684. mv prev-libelf stage2-libelf ; : ; \
  42685. fi
  42686. @endif libelf
  42687. @if gold
  42688. @if test -d $(HOST_SUBDIR)/gold ; then \
  42689. cd $(HOST_SUBDIR); mv gold stage3-gold ; \
  42690. mv prev-gold stage2-gold ; : ; \
  42691. fi
  42692. @endif gold
  42693. @if intl
  42694. @if test -d $(HOST_SUBDIR)/intl ; then \
  42695. cd $(HOST_SUBDIR); mv intl stage3-intl ; \
  42696. mv prev-intl stage2-intl ; : ; \
  42697. fi
  42698. @endif intl
  42699. @if ld
  42700. @if test -d $(HOST_SUBDIR)/ld ; then \
  42701. cd $(HOST_SUBDIR); mv ld stage3-ld ; \
  42702. mv prev-ld stage2-ld ; : ; \
  42703. fi
  42704. @endif ld
  42705. @if libbacktrace
  42706. @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
  42707. cd $(HOST_SUBDIR); mv libbacktrace stage3-libbacktrace ; \
  42708. mv prev-libbacktrace stage2-libbacktrace ; : ; \
  42709. fi
  42710. @endif libbacktrace
  42711. @if libcpp
  42712. @if test -d $(HOST_SUBDIR)/libcpp ; then \
  42713. cd $(HOST_SUBDIR); mv libcpp stage3-libcpp ; \
  42714. mv prev-libcpp stage2-libcpp ; : ; \
  42715. fi
  42716. @endif libcpp
  42717. @if libdecnumber
  42718. @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
  42719. cd $(HOST_SUBDIR); mv libdecnumber stage3-libdecnumber ; \
  42720. mv prev-libdecnumber stage2-libdecnumber ; : ; \
  42721. fi
  42722. @endif libdecnumber
  42723. @if libiberty
  42724. @if test -d $(HOST_SUBDIR)/libiberty ; then \
  42725. cd $(HOST_SUBDIR); mv libiberty stage3-libiberty ; \
  42726. mv prev-libiberty stage2-libiberty ; : ; \
  42727. fi
  42728. @endif libiberty
  42729. @if libiberty-linker-plugin
  42730. @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
  42731. cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage3-libiberty-linker-plugin ; \
  42732. mv prev-libiberty-linker-plugin stage2-libiberty-linker-plugin ; : ; \
  42733. fi
  42734. @endif libiberty-linker-plugin
  42735. @if zlib
  42736. @if test -d $(HOST_SUBDIR)/zlib ; then \
  42737. cd $(HOST_SUBDIR); mv zlib stage3-zlib ; \
  42738. mv prev-zlib stage2-zlib ; : ; \
  42739. fi
  42740. @endif zlib
  42741. @if lto-plugin
  42742. @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
  42743. cd $(HOST_SUBDIR); mv lto-plugin stage3-lto-plugin ; \
  42744. mv prev-lto-plugin stage2-lto-plugin ; : ; \
  42745. fi
  42746. @endif lto-plugin
  42747. @if test -d $(TARGET_SUBDIR) ; then \
  42748. mv $(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; \
  42749. mv prev-$(TARGET_SUBDIR) stage2-$(TARGET_SUBDIR) ; : ; \
  42750. fi
  42751. rm -f stage_current
  42752. # Bubble a bug fix through all the stages up to stage 3. They are
  42753. # remade, but not reconfigured. The next stage (if any) will not be
  42754. # reconfigured either.
  42755. .PHONY: stage3-bubble
  42756. stage3-bubble:: stage2-bubble
  42757. @r=`${PWD_COMMAND}`; export r; \
  42758. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  42759. if test -f stage3-lean || test -f stage2-lean ; then \
  42760. echo Skipping rebuild of stage3 ; \
  42761. else \
  42762. $(MAKE) stage3-start; \
  42763. if $(LEAN); then \
  42764. rm -rf stage1-* ; \
  42765. $(STAMP) stage1-lean ; \
  42766. fi; \
  42767. $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
  42768. fi
  42769. $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
  42770. .PHONY: all-stage3 clean-stage3
  42771. do-clean: clean-stage3
  42772. # FIXME: Will not need to be conditional when toplevel bootstrap is the
  42773. # only possibility, but now it conflicts with no-bootstrap rules
  42774. @if gcc-bootstrap
  42775. compare:
  42776. @r=`${PWD_COMMAND}`; export r; \
  42777. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  42778. if test -f stage2-lean; then \
  42779. echo Cannot compare object files as stage 2 was deleted. ; \
  42780. exit 0 ; \
  42781. fi; \
  42782. : $(MAKE); $(stage); \
  42783. rm -f .bad_compare ; \
  42784. echo Comparing stages 2 and 3 ; \
  42785. sed=`echo stage3 | sed 's,^stage,,;s,.,.,g'`; \
  42786. files=`find stage3-* -name "*$(objext)" -print | \
  42787. sed -n s,^stage$$sed-,,p` ; \
  42788. for file in $${files} ; do \
  42789. f1=$$r/stage2-$$file; f2=$$r/stage3-$$file; \
  42790. if test ! -f $$f1; then continue; fi; \
  42791. $(do-compare) > /dev/null 2>&1; \
  42792. if test $$? -eq 1; then \
  42793. case $$file in \
  42794. @compare_exclusions@) \
  42795. echo warning: $$file differs ;; \
  42796. *) \
  42797. echo $$file differs >> .bad_compare ;; \
  42798. esac ; \
  42799. fi ; \
  42800. done ; \
  42801. if [ -f .bad_compare ]; then \
  42802. echo "Bootstrap comparison failure!"; \
  42803. cat .bad_compare; \
  42804. exit 1; \
  42805. else \
  42806. echo Comparison successful.; \
  42807. fi ; \
  42808. $(STAMP) compare
  42809. if $(LEAN); then \
  42810. rm -rf stage2-*; \
  42811. $(STAMP) stage2-lean; \
  42812. fi
  42813. .PHONY: bootstrap bootstrap-lean
  42814. bootstrap:
  42815. echo stage3 > stage_final
  42816. @r=`${PWD_COMMAND}`; export r; \
  42817. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  42818. $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
  42819. @: $(MAKE); $(unstage)
  42820. @r=`${PWD_COMMAND}`; export r; \
  42821. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  42822. TFLAGS="$(STAGE3_TFLAGS)"; \
  42823. $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
  42824. bootstrap-lean:
  42825. echo stage3 > stage_final
  42826. @r=`${PWD_COMMAND}`; export r; \
  42827. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  42828. $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage3-bubble
  42829. @: $(MAKE); $(unstage)
  42830. @r=`${PWD_COMMAND}`; export r; \
  42831. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  42832. TFLAGS="$(STAGE3_TFLAGS)"; \
  42833. $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
  42834. # Rules to wipe a stage and all the following ones, also used for cleanstrap
  42835. distclean-stage2:: distclean-stage3
  42836. .PHONY: distclean-stage3
  42837. distclean-stage3::
  42838. @: $(MAKE); $(stage)
  42839. @test "`cat stage_last`" != stage3 || rm -f stage_last
  42840. rm -rf stage3-* compare
  42841. .PHONY: cleanstrap
  42842. cleanstrap: do-distclean local-clean
  42843. echo stage3 > stage_final
  42844. @r=`${PWD_COMMAND}`; export r; \
  42845. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  42846. $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble
  42847. @: $(MAKE); $(unstage)
  42848. @r=`${PWD_COMMAND}`; export r; \
  42849. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  42850. TFLAGS="$(STAGE3_TFLAGS)"; \
  42851. $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
  42852. @endif gcc-bootstrap
  42853. .PHONY: stage4-start stage4-end
  42854. stage4-start::
  42855. @: $(MAKE); $(stage); \
  42856. echo stage4 > stage_current ; \
  42857. echo stage4 > stage_last; \
  42858. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
  42859. @if bfd
  42860. @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
  42861. mkdir stage4-bfd; \
  42862. mv stage4-bfd bfd ; \
  42863. mv stage3-bfd prev-bfd || test -f stage3-lean
  42864. @endif bfd
  42865. @if opcodes
  42866. @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
  42867. mkdir stage4-opcodes; \
  42868. mv stage4-opcodes opcodes ; \
  42869. mv stage3-opcodes prev-opcodes || test -f stage3-lean
  42870. @endif opcodes
  42871. @if binutils
  42872. @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
  42873. mkdir stage4-binutils; \
  42874. mv stage4-binutils binutils ; \
  42875. mv stage3-binutils prev-binutils || test -f stage3-lean
  42876. @endif binutils
  42877. @if fixincludes
  42878. @cd $(HOST_SUBDIR); [ -d stage4-fixincludes ] || \
  42879. mkdir stage4-fixincludes; \
  42880. mv stage4-fixincludes fixincludes ; \
  42881. mv stage3-fixincludes prev-fixincludes || test -f stage3-lean
  42882. @endif fixincludes
  42883. @if gas
  42884. @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
  42885. mkdir stage4-gas; \
  42886. mv stage4-gas gas ; \
  42887. mv stage3-gas prev-gas || test -f stage3-lean
  42888. @endif gas
  42889. @if gcc
  42890. @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
  42891. mkdir stage4-gcc; \
  42892. mv stage4-gcc gcc ; \
  42893. mv stage3-gcc prev-gcc || test -f stage3-lean
  42894. @endif gcc
  42895. @if gmp
  42896. @cd $(HOST_SUBDIR); [ -d stage4-gmp ] || \
  42897. mkdir stage4-gmp; \
  42898. mv stage4-gmp gmp ; \
  42899. mv stage3-gmp prev-gmp || test -f stage3-lean
  42900. @endif gmp
  42901. @if mpfr
  42902. @cd $(HOST_SUBDIR); [ -d stage4-mpfr ] || \
  42903. mkdir stage4-mpfr; \
  42904. mv stage4-mpfr mpfr ; \
  42905. mv stage3-mpfr prev-mpfr || test -f stage3-lean
  42906. @endif mpfr
  42907. @if mpc
  42908. @cd $(HOST_SUBDIR); [ -d stage4-mpc ] || \
  42909. mkdir stage4-mpc; \
  42910. mv stage4-mpc mpc ; \
  42911. mv stage3-mpc prev-mpc || test -f stage3-lean
  42912. @endif mpc
  42913. @if isl
  42914. @cd $(HOST_SUBDIR); [ -d stage4-isl ] || \
  42915. mkdir stage4-isl; \
  42916. mv stage4-isl isl ; \
  42917. mv stage3-isl prev-isl || test -f stage3-lean
  42918. @endif isl
  42919. @if libelf
  42920. @cd $(HOST_SUBDIR); [ -d stage4-libelf ] || \
  42921. mkdir stage4-libelf; \
  42922. mv stage4-libelf libelf ; \
  42923. mv stage3-libelf prev-libelf || test -f stage3-lean
  42924. @endif libelf
  42925. @if gold
  42926. @cd $(HOST_SUBDIR); [ -d stage4-gold ] || \
  42927. mkdir stage4-gold; \
  42928. mv stage4-gold gold ; \
  42929. mv stage3-gold prev-gold || test -f stage3-lean
  42930. @endif gold
  42931. @if intl
  42932. @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
  42933. mkdir stage4-intl; \
  42934. mv stage4-intl intl ; \
  42935. mv stage3-intl prev-intl || test -f stage3-lean
  42936. @endif intl
  42937. @if ld
  42938. @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
  42939. mkdir stage4-ld; \
  42940. mv stage4-ld ld ; \
  42941. mv stage3-ld prev-ld || test -f stage3-lean
  42942. @endif ld
  42943. @if libbacktrace
  42944. @cd $(HOST_SUBDIR); [ -d stage4-libbacktrace ] || \
  42945. mkdir stage4-libbacktrace; \
  42946. mv stage4-libbacktrace libbacktrace ; \
  42947. mv stage3-libbacktrace prev-libbacktrace || test -f stage3-lean
  42948. @endif libbacktrace
  42949. @if libcpp
  42950. @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
  42951. mkdir stage4-libcpp; \
  42952. mv stage4-libcpp libcpp ; \
  42953. mv stage3-libcpp prev-libcpp || test -f stage3-lean
  42954. @endif libcpp
  42955. @if libdecnumber
  42956. @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
  42957. mkdir stage4-libdecnumber; \
  42958. mv stage4-libdecnumber libdecnumber ; \
  42959. mv stage3-libdecnumber prev-libdecnumber || test -f stage3-lean
  42960. @endif libdecnumber
  42961. @if libiberty
  42962. @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
  42963. mkdir stage4-libiberty; \
  42964. mv stage4-libiberty libiberty ; \
  42965. mv stage3-libiberty prev-libiberty || test -f stage3-lean
  42966. @endif libiberty
  42967. @if libiberty-linker-plugin
  42968. @cd $(HOST_SUBDIR); [ -d stage4-libiberty-linker-plugin ] || \
  42969. mkdir stage4-libiberty-linker-plugin; \
  42970. mv stage4-libiberty-linker-plugin libiberty-linker-plugin ; \
  42971. mv stage3-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage3-lean
  42972. @endif libiberty-linker-plugin
  42973. @if zlib
  42974. @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
  42975. mkdir stage4-zlib; \
  42976. mv stage4-zlib zlib ; \
  42977. mv stage3-zlib prev-zlib || test -f stage3-lean
  42978. @endif zlib
  42979. @if lto-plugin
  42980. @cd $(HOST_SUBDIR); [ -d stage4-lto-plugin ] || \
  42981. mkdir stage4-lto-plugin; \
  42982. mv stage4-lto-plugin lto-plugin ; \
  42983. mv stage3-lto-plugin prev-lto-plugin || test -f stage3-lean
  42984. @endif lto-plugin
  42985. @[ -d stage4-$(TARGET_SUBDIR) ] || \
  42986. mkdir stage4-$(TARGET_SUBDIR); \
  42987. mv stage4-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
  42988. mv stage3-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage3-lean
  42989. stage4-end::
  42990. @if bfd
  42991. @if test -d $(HOST_SUBDIR)/bfd ; then \
  42992. cd $(HOST_SUBDIR); mv bfd stage4-bfd ; \
  42993. mv prev-bfd stage3-bfd ; : ; \
  42994. fi
  42995. @endif bfd
  42996. @if opcodes
  42997. @if test -d $(HOST_SUBDIR)/opcodes ; then \
  42998. cd $(HOST_SUBDIR); mv opcodes stage4-opcodes ; \
  42999. mv prev-opcodes stage3-opcodes ; : ; \
  43000. fi
  43001. @endif opcodes
  43002. @if binutils
  43003. @if test -d $(HOST_SUBDIR)/binutils ; then \
  43004. cd $(HOST_SUBDIR); mv binutils stage4-binutils ; \
  43005. mv prev-binutils stage3-binutils ; : ; \
  43006. fi
  43007. @endif binutils
  43008. @if fixincludes
  43009. @if test -d $(HOST_SUBDIR)/fixincludes ; then \
  43010. cd $(HOST_SUBDIR); mv fixincludes stage4-fixincludes ; \
  43011. mv prev-fixincludes stage3-fixincludes ; : ; \
  43012. fi
  43013. @endif fixincludes
  43014. @if gas
  43015. @if test -d $(HOST_SUBDIR)/gas ; then \
  43016. cd $(HOST_SUBDIR); mv gas stage4-gas ; \
  43017. mv prev-gas stage3-gas ; : ; \
  43018. fi
  43019. @endif gas
  43020. @if gcc
  43021. @if test -d $(HOST_SUBDIR)/gcc ; then \
  43022. cd $(HOST_SUBDIR); mv gcc stage4-gcc ; \
  43023. mv prev-gcc stage3-gcc ; : ; \
  43024. fi
  43025. @endif gcc
  43026. @if gmp
  43027. @if test -d $(HOST_SUBDIR)/gmp ; then \
  43028. cd $(HOST_SUBDIR); mv gmp stage4-gmp ; \
  43029. mv prev-gmp stage3-gmp ; : ; \
  43030. fi
  43031. @endif gmp
  43032. @if mpfr
  43033. @if test -d $(HOST_SUBDIR)/mpfr ; then \
  43034. cd $(HOST_SUBDIR); mv mpfr stage4-mpfr ; \
  43035. mv prev-mpfr stage3-mpfr ; : ; \
  43036. fi
  43037. @endif mpfr
  43038. @if mpc
  43039. @if test -d $(HOST_SUBDIR)/mpc ; then \
  43040. cd $(HOST_SUBDIR); mv mpc stage4-mpc ; \
  43041. mv prev-mpc stage3-mpc ; : ; \
  43042. fi
  43043. @endif mpc
  43044. @if isl
  43045. @if test -d $(HOST_SUBDIR)/isl ; then \
  43046. cd $(HOST_SUBDIR); mv isl stage4-isl ; \
  43047. mv prev-isl stage3-isl ; : ; \
  43048. fi
  43049. @endif isl
  43050. @if libelf
  43051. @if test -d $(HOST_SUBDIR)/libelf ; then \
  43052. cd $(HOST_SUBDIR); mv libelf stage4-libelf ; \
  43053. mv prev-libelf stage3-libelf ; : ; \
  43054. fi
  43055. @endif libelf
  43056. @if gold
  43057. @if test -d $(HOST_SUBDIR)/gold ; then \
  43058. cd $(HOST_SUBDIR); mv gold stage4-gold ; \
  43059. mv prev-gold stage3-gold ; : ; \
  43060. fi
  43061. @endif gold
  43062. @if intl
  43063. @if test -d $(HOST_SUBDIR)/intl ; then \
  43064. cd $(HOST_SUBDIR); mv intl stage4-intl ; \
  43065. mv prev-intl stage3-intl ; : ; \
  43066. fi
  43067. @endif intl
  43068. @if ld
  43069. @if test -d $(HOST_SUBDIR)/ld ; then \
  43070. cd $(HOST_SUBDIR); mv ld stage4-ld ; \
  43071. mv prev-ld stage3-ld ; : ; \
  43072. fi
  43073. @endif ld
  43074. @if libbacktrace
  43075. @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
  43076. cd $(HOST_SUBDIR); mv libbacktrace stage4-libbacktrace ; \
  43077. mv prev-libbacktrace stage3-libbacktrace ; : ; \
  43078. fi
  43079. @endif libbacktrace
  43080. @if libcpp
  43081. @if test -d $(HOST_SUBDIR)/libcpp ; then \
  43082. cd $(HOST_SUBDIR); mv libcpp stage4-libcpp ; \
  43083. mv prev-libcpp stage3-libcpp ; : ; \
  43084. fi
  43085. @endif libcpp
  43086. @if libdecnumber
  43087. @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
  43088. cd $(HOST_SUBDIR); mv libdecnumber stage4-libdecnumber ; \
  43089. mv prev-libdecnumber stage3-libdecnumber ; : ; \
  43090. fi
  43091. @endif libdecnumber
  43092. @if libiberty
  43093. @if test -d $(HOST_SUBDIR)/libiberty ; then \
  43094. cd $(HOST_SUBDIR); mv libiberty stage4-libiberty ; \
  43095. mv prev-libiberty stage3-libiberty ; : ; \
  43096. fi
  43097. @endif libiberty
  43098. @if libiberty-linker-plugin
  43099. @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
  43100. cd $(HOST_SUBDIR); mv libiberty-linker-plugin stage4-libiberty-linker-plugin ; \
  43101. mv prev-libiberty-linker-plugin stage3-libiberty-linker-plugin ; : ; \
  43102. fi
  43103. @endif libiberty-linker-plugin
  43104. @if zlib
  43105. @if test -d $(HOST_SUBDIR)/zlib ; then \
  43106. cd $(HOST_SUBDIR); mv zlib stage4-zlib ; \
  43107. mv prev-zlib stage3-zlib ; : ; \
  43108. fi
  43109. @endif zlib
  43110. @if lto-plugin
  43111. @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
  43112. cd $(HOST_SUBDIR); mv lto-plugin stage4-lto-plugin ; \
  43113. mv prev-lto-plugin stage3-lto-plugin ; : ; \
  43114. fi
  43115. @endif lto-plugin
  43116. @if test -d $(TARGET_SUBDIR) ; then \
  43117. mv $(TARGET_SUBDIR) stage4-$(TARGET_SUBDIR) ; \
  43118. mv prev-$(TARGET_SUBDIR) stage3-$(TARGET_SUBDIR) ; : ; \
  43119. fi
  43120. rm -f stage_current
  43121. # Bubble a bug fix through all the stages up to stage 4. They are
  43122. # remade, but not reconfigured. The next stage (if any) will not be
  43123. # reconfigured either.
  43124. .PHONY: stage4-bubble
  43125. stage4-bubble:: stage3-bubble
  43126. @r=`${PWD_COMMAND}`; export r; \
  43127. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  43128. if test -f stage4-lean || test -f stage3-lean ; then \
  43129. echo Skipping rebuild of stage4 ; \
  43130. else \
  43131. $(MAKE) stage4-start; \
  43132. if $(LEAN); then \
  43133. rm -rf stage2-* ; \
  43134. $(STAMP) stage2-lean ; \
  43135. fi; \
  43136. $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
  43137. fi
  43138. $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
  43139. .PHONY: all-stage4 clean-stage4
  43140. do-clean: clean-stage4
  43141. # FIXME: Will not need to be conditional when toplevel bootstrap is the
  43142. # only possibility, but now it conflicts with no-bootstrap rules
  43143. @if gcc-bootstrap
  43144. compare3:
  43145. @r=`${PWD_COMMAND}`; export r; \
  43146. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  43147. if test -f stage3-lean; then \
  43148. echo Cannot compare object files as stage 3 was deleted. ; \
  43149. exit 0 ; \
  43150. fi; \
  43151. : $(MAKE); $(stage); \
  43152. rm -f .bad_compare ; \
  43153. echo Comparing stages 3 and 4 ; \
  43154. sed=`echo stage4 | sed 's,^stage,,;s,.,.,g'`; \
  43155. files=`find stage4-* -name "*$(objext)" -print | \
  43156. sed -n s,^stage$$sed-,,p` ; \
  43157. for file in $${files} ; do \
  43158. f1=$$r/stage3-$$file; f2=$$r/stage4-$$file; \
  43159. if test ! -f $$f1; then continue; fi; \
  43160. $(do-compare3) > /dev/null 2>&1; \
  43161. if test $$? -eq 1; then \
  43162. case $$file in \
  43163. @compare_exclusions@) \
  43164. echo warning: $$file differs ;; \
  43165. *) \
  43166. echo $$file differs >> .bad_compare ;; \
  43167. esac ; \
  43168. fi ; \
  43169. done ; \
  43170. if [ -f .bad_compare ]; then \
  43171. echo "Bootstrap comparison failure!"; \
  43172. cat .bad_compare; \
  43173. exit 1; \
  43174. else \
  43175. echo Comparison successful.; \
  43176. fi ; \
  43177. $(STAMP) compare3
  43178. if $(LEAN); then \
  43179. rm -rf stage3-*; \
  43180. $(STAMP) stage3-lean; \
  43181. fi
  43182. .PHONY: bootstrap4 bootstrap4-lean
  43183. bootstrap4:
  43184. echo stage4 > stage_final
  43185. @r=`${PWD_COMMAND}`; export r; \
  43186. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  43187. $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble
  43188. @: $(MAKE); $(unstage)
  43189. @r=`${PWD_COMMAND}`; export r; \
  43190. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  43191. TFLAGS="$(STAGE4_TFLAGS)"; \
  43192. $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
  43193. bootstrap4-lean:
  43194. echo stage4 > stage_final
  43195. @r=`${PWD_COMMAND}`; export r; \
  43196. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  43197. $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stage4-bubble
  43198. @: $(MAKE); $(unstage)
  43199. @r=`${PWD_COMMAND}`; export r; \
  43200. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  43201. TFLAGS="$(STAGE4_TFLAGS)"; \
  43202. $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
  43203. # Rules to wipe a stage and all the following ones, also used for cleanstrap
  43204. distclean-stage3:: distclean-stage4
  43205. .PHONY: distclean-stage4
  43206. distclean-stage4::
  43207. @: $(MAKE); $(stage)
  43208. @test "`cat stage_last`" != stage4 || rm -f stage_last
  43209. rm -rf stage4-* compare3
  43210. @endif gcc-bootstrap
  43211. .PHONY: stageprofile-start stageprofile-end
  43212. stageprofile-start::
  43213. @: $(MAKE); $(stage); \
  43214. echo stageprofile > stage_current ; \
  43215. echo stageprofile > stage_last; \
  43216. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
  43217. @if bfd
  43218. @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
  43219. mkdir stageprofile-bfd; \
  43220. mv stageprofile-bfd bfd ; \
  43221. mv stage1-bfd prev-bfd || test -f stage1-lean
  43222. @endif bfd
  43223. @if opcodes
  43224. @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
  43225. mkdir stageprofile-opcodes; \
  43226. mv stageprofile-opcodes opcodes ; \
  43227. mv stage1-opcodes prev-opcodes || test -f stage1-lean
  43228. @endif opcodes
  43229. @if binutils
  43230. @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
  43231. mkdir stageprofile-binutils; \
  43232. mv stageprofile-binutils binutils ; \
  43233. mv stage1-binutils prev-binutils || test -f stage1-lean
  43234. @endif binutils
  43235. @if fixincludes
  43236. @cd $(HOST_SUBDIR); [ -d stageprofile-fixincludes ] || \
  43237. mkdir stageprofile-fixincludes; \
  43238. mv stageprofile-fixincludes fixincludes ; \
  43239. mv stage1-fixincludes prev-fixincludes || test -f stage1-lean
  43240. @endif fixincludes
  43241. @if gas
  43242. @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
  43243. mkdir stageprofile-gas; \
  43244. mv stageprofile-gas gas ; \
  43245. mv stage1-gas prev-gas || test -f stage1-lean
  43246. @endif gas
  43247. @if gcc
  43248. @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
  43249. mkdir stageprofile-gcc; \
  43250. mv stageprofile-gcc gcc ; \
  43251. mv stage1-gcc prev-gcc || test -f stage1-lean
  43252. @endif gcc
  43253. @if gmp
  43254. @cd $(HOST_SUBDIR); [ -d stageprofile-gmp ] || \
  43255. mkdir stageprofile-gmp; \
  43256. mv stageprofile-gmp gmp ; \
  43257. mv stage1-gmp prev-gmp || test -f stage1-lean
  43258. @endif gmp
  43259. @if mpfr
  43260. @cd $(HOST_SUBDIR); [ -d stageprofile-mpfr ] || \
  43261. mkdir stageprofile-mpfr; \
  43262. mv stageprofile-mpfr mpfr ; \
  43263. mv stage1-mpfr prev-mpfr || test -f stage1-lean
  43264. @endif mpfr
  43265. @if mpc
  43266. @cd $(HOST_SUBDIR); [ -d stageprofile-mpc ] || \
  43267. mkdir stageprofile-mpc; \
  43268. mv stageprofile-mpc mpc ; \
  43269. mv stage1-mpc prev-mpc || test -f stage1-lean
  43270. @endif mpc
  43271. @if isl
  43272. @cd $(HOST_SUBDIR); [ -d stageprofile-isl ] || \
  43273. mkdir stageprofile-isl; \
  43274. mv stageprofile-isl isl ; \
  43275. mv stage1-isl prev-isl || test -f stage1-lean
  43276. @endif isl
  43277. @if libelf
  43278. @cd $(HOST_SUBDIR); [ -d stageprofile-libelf ] || \
  43279. mkdir stageprofile-libelf; \
  43280. mv stageprofile-libelf libelf ; \
  43281. mv stage1-libelf prev-libelf || test -f stage1-lean
  43282. @endif libelf
  43283. @if gold
  43284. @cd $(HOST_SUBDIR); [ -d stageprofile-gold ] || \
  43285. mkdir stageprofile-gold; \
  43286. mv stageprofile-gold gold ; \
  43287. mv stage1-gold prev-gold || test -f stage1-lean
  43288. @endif gold
  43289. @if intl
  43290. @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
  43291. mkdir stageprofile-intl; \
  43292. mv stageprofile-intl intl ; \
  43293. mv stage1-intl prev-intl || test -f stage1-lean
  43294. @endif intl
  43295. @if ld
  43296. @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
  43297. mkdir stageprofile-ld; \
  43298. mv stageprofile-ld ld ; \
  43299. mv stage1-ld prev-ld || test -f stage1-lean
  43300. @endif ld
  43301. @if libbacktrace
  43302. @cd $(HOST_SUBDIR); [ -d stageprofile-libbacktrace ] || \
  43303. mkdir stageprofile-libbacktrace; \
  43304. mv stageprofile-libbacktrace libbacktrace ; \
  43305. mv stage1-libbacktrace prev-libbacktrace || test -f stage1-lean
  43306. @endif libbacktrace
  43307. @if libcpp
  43308. @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
  43309. mkdir stageprofile-libcpp; \
  43310. mv stageprofile-libcpp libcpp ; \
  43311. mv stage1-libcpp prev-libcpp || test -f stage1-lean
  43312. @endif libcpp
  43313. @if libdecnumber
  43314. @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
  43315. mkdir stageprofile-libdecnumber; \
  43316. mv stageprofile-libdecnumber libdecnumber ; \
  43317. mv stage1-libdecnumber prev-libdecnumber || test -f stage1-lean
  43318. @endif libdecnumber
  43319. @if libiberty
  43320. @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
  43321. mkdir stageprofile-libiberty; \
  43322. mv stageprofile-libiberty libiberty ; \
  43323. mv stage1-libiberty prev-libiberty || test -f stage1-lean
  43324. @endif libiberty
  43325. @if libiberty-linker-plugin
  43326. @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty-linker-plugin ] || \
  43327. mkdir stageprofile-libiberty-linker-plugin; \
  43328. mv stageprofile-libiberty-linker-plugin libiberty-linker-plugin ; \
  43329. mv stage1-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stage1-lean
  43330. @endif libiberty-linker-plugin
  43331. @if zlib
  43332. @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
  43333. mkdir stageprofile-zlib; \
  43334. mv stageprofile-zlib zlib ; \
  43335. mv stage1-zlib prev-zlib || test -f stage1-lean
  43336. @endif zlib
  43337. @if lto-plugin
  43338. @cd $(HOST_SUBDIR); [ -d stageprofile-lto-plugin ] || \
  43339. mkdir stageprofile-lto-plugin; \
  43340. mv stageprofile-lto-plugin lto-plugin ; \
  43341. mv stage1-lto-plugin prev-lto-plugin || test -f stage1-lean
  43342. @endif lto-plugin
  43343. @[ -d stageprofile-$(TARGET_SUBDIR) ] || \
  43344. mkdir stageprofile-$(TARGET_SUBDIR); \
  43345. mv stageprofile-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
  43346. mv stage1-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stage1-lean
  43347. stageprofile-end::
  43348. @if bfd
  43349. @if test -d $(HOST_SUBDIR)/bfd ; then \
  43350. cd $(HOST_SUBDIR); mv bfd stageprofile-bfd ; \
  43351. mv prev-bfd stage1-bfd ; : ; \
  43352. fi
  43353. @endif bfd
  43354. @if opcodes
  43355. @if test -d $(HOST_SUBDIR)/opcodes ; then \
  43356. cd $(HOST_SUBDIR); mv opcodes stageprofile-opcodes ; \
  43357. mv prev-opcodes stage1-opcodes ; : ; \
  43358. fi
  43359. @endif opcodes
  43360. @if binutils
  43361. @if test -d $(HOST_SUBDIR)/binutils ; then \
  43362. cd $(HOST_SUBDIR); mv binutils stageprofile-binutils ; \
  43363. mv prev-binutils stage1-binutils ; : ; \
  43364. fi
  43365. @endif binutils
  43366. @if fixincludes
  43367. @if test -d $(HOST_SUBDIR)/fixincludes ; then \
  43368. cd $(HOST_SUBDIR); mv fixincludes stageprofile-fixincludes ; \
  43369. mv prev-fixincludes stage1-fixincludes ; : ; \
  43370. fi
  43371. @endif fixincludes
  43372. @if gas
  43373. @if test -d $(HOST_SUBDIR)/gas ; then \
  43374. cd $(HOST_SUBDIR); mv gas stageprofile-gas ; \
  43375. mv prev-gas stage1-gas ; : ; \
  43376. fi
  43377. @endif gas
  43378. @if gcc
  43379. @if test -d $(HOST_SUBDIR)/gcc ; then \
  43380. cd $(HOST_SUBDIR); mv gcc stageprofile-gcc ; \
  43381. mv prev-gcc stage1-gcc ; : ; \
  43382. fi
  43383. @endif gcc
  43384. @if gmp
  43385. @if test -d $(HOST_SUBDIR)/gmp ; then \
  43386. cd $(HOST_SUBDIR); mv gmp stageprofile-gmp ; \
  43387. mv prev-gmp stage1-gmp ; : ; \
  43388. fi
  43389. @endif gmp
  43390. @if mpfr
  43391. @if test -d $(HOST_SUBDIR)/mpfr ; then \
  43392. cd $(HOST_SUBDIR); mv mpfr stageprofile-mpfr ; \
  43393. mv prev-mpfr stage1-mpfr ; : ; \
  43394. fi
  43395. @endif mpfr
  43396. @if mpc
  43397. @if test -d $(HOST_SUBDIR)/mpc ; then \
  43398. cd $(HOST_SUBDIR); mv mpc stageprofile-mpc ; \
  43399. mv prev-mpc stage1-mpc ; : ; \
  43400. fi
  43401. @endif mpc
  43402. @if isl
  43403. @if test -d $(HOST_SUBDIR)/isl ; then \
  43404. cd $(HOST_SUBDIR); mv isl stageprofile-isl ; \
  43405. mv prev-isl stage1-isl ; : ; \
  43406. fi
  43407. @endif isl
  43408. @if libelf
  43409. @if test -d $(HOST_SUBDIR)/libelf ; then \
  43410. cd $(HOST_SUBDIR); mv libelf stageprofile-libelf ; \
  43411. mv prev-libelf stage1-libelf ; : ; \
  43412. fi
  43413. @endif libelf
  43414. @if gold
  43415. @if test -d $(HOST_SUBDIR)/gold ; then \
  43416. cd $(HOST_SUBDIR); mv gold stageprofile-gold ; \
  43417. mv prev-gold stage1-gold ; : ; \
  43418. fi
  43419. @endif gold
  43420. @if intl
  43421. @if test -d $(HOST_SUBDIR)/intl ; then \
  43422. cd $(HOST_SUBDIR); mv intl stageprofile-intl ; \
  43423. mv prev-intl stage1-intl ; : ; \
  43424. fi
  43425. @endif intl
  43426. @if ld
  43427. @if test -d $(HOST_SUBDIR)/ld ; then \
  43428. cd $(HOST_SUBDIR); mv ld stageprofile-ld ; \
  43429. mv prev-ld stage1-ld ; : ; \
  43430. fi
  43431. @endif ld
  43432. @if libbacktrace
  43433. @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
  43434. cd $(HOST_SUBDIR); mv libbacktrace stageprofile-libbacktrace ; \
  43435. mv prev-libbacktrace stage1-libbacktrace ; : ; \
  43436. fi
  43437. @endif libbacktrace
  43438. @if libcpp
  43439. @if test -d $(HOST_SUBDIR)/libcpp ; then \
  43440. cd $(HOST_SUBDIR); mv libcpp stageprofile-libcpp ; \
  43441. mv prev-libcpp stage1-libcpp ; : ; \
  43442. fi
  43443. @endif libcpp
  43444. @if libdecnumber
  43445. @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
  43446. cd $(HOST_SUBDIR); mv libdecnumber stageprofile-libdecnumber ; \
  43447. mv prev-libdecnumber stage1-libdecnumber ; : ; \
  43448. fi
  43449. @endif libdecnumber
  43450. @if libiberty
  43451. @if test -d $(HOST_SUBDIR)/libiberty ; then \
  43452. cd $(HOST_SUBDIR); mv libiberty stageprofile-libiberty ; \
  43453. mv prev-libiberty stage1-libiberty ; : ; \
  43454. fi
  43455. @endif libiberty
  43456. @if libiberty-linker-plugin
  43457. @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
  43458. cd $(HOST_SUBDIR); mv libiberty-linker-plugin stageprofile-libiberty-linker-plugin ; \
  43459. mv prev-libiberty-linker-plugin stage1-libiberty-linker-plugin ; : ; \
  43460. fi
  43461. @endif libiberty-linker-plugin
  43462. @if zlib
  43463. @if test -d $(HOST_SUBDIR)/zlib ; then \
  43464. cd $(HOST_SUBDIR); mv zlib stageprofile-zlib ; \
  43465. mv prev-zlib stage1-zlib ; : ; \
  43466. fi
  43467. @endif zlib
  43468. @if lto-plugin
  43469. @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
  43470. cd $(HOST_SUBDIR); mv lto-plugin stageprofile-lto-plugin ; \
  43471. mv prev-lto-plugin stage1-lto-plugin ; : ; \
  43472. fi
  43473. @endif lto-plugin
  43474. @if test -d $(TARGET_SUBDIR) ; then \
  43475. mv $(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; \
  43476. mv prev-$(TARGET_SUBDIR) stage1-$(TARGET_SUBDIR) ; : ; \
  43477. fi
  43478. rm -f stage_current
  43479. # Bubble a bug fix through all the stages up to stage profile. They are
  43480. # remade, but not reconfigured. The next stage (if any) will not be
  43481. # reconfigured either.
  43482. .PHONY: stageprofile-bubble
  43483. stageprofile-bubble:: stage1-bubble
  43484. @r=`${PWD_COMMAND}`; export r; \
  43485. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  43486. if test -f stageprofile-lean || test -f stage1-lean ; then \
  43487. echo Skipping rebuild of stageprofile ; \
  43488. else \
  43489. $(MAKE) stageprofile-start; \
  43490. $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
  43491. fi
  43492. .PHONY: all-stageprofile clean-stageprofile
  43493. do-clean: clean-stageprofile
  43494. # FIXME: Will not need to be conditional when toplevel bootstrap is the
  43495. # only possibility, but now it conflicts with no-bootstrap rules
  43496. @if gcc-bootstrap
  43497. # Rules to wipe a stage and all the following ones, also used for cleanstrap
  43498. distclean-stage1:: distclean-stageprofile
  43499. .PHONY: distclean-stageprofile
  43500. distclean-stageprofile::
  43501. @: $(MAKE); $(stage)
  43502. @test "`cat stage_last`" != stageprofile || rm -f stage_last
  43503. rm -rf stageprofile-*
  43504. @endif gcc-bootstrap
  43505. .PHONY: stagefeedback-start stagefeedback-end
  43506. stagefeedback-start::
  43507. @: $(MAKE); $(stage); \
  43508. echo stagefeedback > stage_current ; \
  43509. echo stagefeedback > stage_last; \
  43510. $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)
  43511. @if bfd
  43512. @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
  43513. mkdir stagefeedback-bfd; \
  43514. mv stagefeedback-bfd bfd ; \
  43515. mv stageprofile-bfd prev-bfd || test -f stageprofile-lean
  43516. @endif bfd
  43517. @if opcodes
  43518. @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
  43519. mkdir stagefeedback-opcodes; \
  43520. mv stagefeedback-opcodes opcodes ; \
  43521. mv stageprofile-opcodes prev-opcodes || test -f stageprofile-lean
  43522. @endif opcodes
  43523. @if binutils
  43524. @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
  43525. mkdir stagefeedback-binutils; \
  43526. mv stagefeedback-binutils binutils ; \
  43527. mv stageprofile-binutils prev-binutils || test -f stageprofile-lean
  43528. @endif binutils
  43529. @if fixincludes
  43530. @cd $(HOST_SUBDIR); [ -d stagefeedback-fixincludes ] || \
  43531. mkdir stagefeedback-fixincludes; \
  43532. mv stagefeedback-fixincludes fixincludes ; \
  43533. mv stageprofile-fixincludes prev-fixincludes || test -f stageprofile-lean
  43534. @endif fixincludes
  43535. @if gas
  43536. @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
  43537. mkdir stagefeedback-gas; \
  43538. mv stagefeedback-gas gas ; \
  43539. mv stageprofile-gas prev-gas || test -f stageprofile-lean
  43540. @endif gas
  43541. @if gcc
  43542. @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
  43543. mkdir stagefeedback-gcc; \
  43544. mv stagefeedback-gcc gcc ; \
  43545. mv stageprofile-gcc prev-gcc || test -f stageprofile-lean
  43546. @endif gcc
  43547. @if gmp
  43548. @cd $(HOST_SUBDIR); [ -d stagefeedback-gmp ] || \
  43549. mkdir stagefeedback-gmp; \
  43550. mv stagefeedback-gmp gmp ; \
  43551. mv stageprofile-gmp prev-gmp || test -f stageprofile-lean
  43552. @endif gmp
  43553. @if mpfr
  43554. @cd $(HOST_SUBDIR); [ -d stagefeedback-mpfr ] || \
  43555. mkdir stagefeedback-mpfr; \
  43556. mv stagefeedback-mpfr mpfr ; \
  43557. mv stageprofile-mpfr prev-mpfr || test -f stageprofile-lean
  43558. @endif mpfr
  43559. @if mpc
  43560. @cd $(HOST_SUBDIR); [ -d stagefeedback-mpc ] || \
  43561. mkdir stagefeedback-mpc; \
  43562. mv stagefeedback-mpc mpc ; \
  43563. mv stageprofile-mpc prev-mpc || test -f stageprofile-lean
  43564. @endif mpc
  43565. @if isl
  43566. @cd $(HOST_SUBDIR); [ -d stagefeedback-isl ] || \
  43567. mkdir stagefeedback-isl; \
  43568. mv stagefeedback-isl isl ; \
  43569. mv stageprofile-isl prev-isl || test -f stageprofile-lean
  43570. @endif isl
  43571. @if libelf
  43572. @cd $(HOST_SUBDIR); [ -d stagefeedback-libelf ] || \
  43573. mkdir stagefeedback-libelf; \
  43574. mv stagefeedback-libelf libelf ; \
  43575. mv stageprofile-libelf prev-libelf || test -f stageprofile-lean
  43576. @endif libelf
  43577. @if gold
  43578. @cd $(HOST_SUBDIR); [ -d stagefeedback-gold ] || \
  43579. mkdir stagefeedback-gold; \
  43580. mv stagefeedback-gold gold ; \
  43581. mv stageprofile-gold prev-gold || test -f stageprofile-lean
  43582. @endif gold
  43583. @if intl
  43584. @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
  43585. mkdir stagefeedback-intl; \
  43586. mv stagefeedback-intl intl ; \
  43587. mv stageprofile-intl prev-intl || test -f stageprofile-lean
  43588. @endif intl
  43589. @if ld
  43590. @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
  43591. mkdir stagefeedback-ld; \
  43592. mv stagefeedback-ld ld ; \
  43593. mv stageprofile-ld prev-ld || test -f stageprofile-lean
  43594. @endif ld
  43595. @if libbacktrace
  43596. @cd $(HOST_SUBDIR); [ -d stagefeedback-libbacktrace ] || \
  43597. mkdir stagefeedback-libbacktrace; \
  43598. mv stagefeedback-libbacktrace libbacktrace ; \
  43599. mv stageprofile-libbacktrace prev-libbacktrace || test -f stageprofile-lean
  43600. @endif libbacktrace
  43601. @if libcpp
  43602. @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
  43603. mkdir stagefeedback-libcpp; \
  43604. mv stagefeedback-libcpp libcpp ; \
  43605. mv stageprofile-libcpp prev-libcpp || test -f stageprofile-lean
  43606. @endif libcpp
  43607. @if libdecnumber
  43608. @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
  43609. mkdir stagefeedback-libdecnumber; \
  43610. mv stagefeedback-libdecnumber libdecnumber ; \
  43611. mv stageprofile-libdecnumber prev-libdecnumber || test -f stageprofile-lean
  43612. @endif libdecnumber
  43613. @if libiberty
  43614. @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
  43615. mkdir stagefeedback-libiberty; \
  43616. mv stagefeedback-libiberty libiberty ; \
  43617. mv stageprofile-libiberty prev-libiberty || test -f stageprofile-lean
  43618. @endif libiberty
  43619. @if libiberty-linker-plugin
  43620. @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty-linker-plugin ] || \
  43621. mkdir stagefeedback-libiberty-linker-plugin; \
  43622. mv stagefeedback-libiberty-linker-plugin libiberty-linker-plugin ; \
  43623. mv stageprofile-libiberty-linker-plugin prev-libiberty-linker-plugin || test -f stageprofile-lean
  43624. @endif libiberty-linker-plugin
  43625. @if zlib
  43626. @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
  43627. mkdir stagefeedback-zlib; \
  43628. mv stagefeedback-zlib zlib ; \
  43629. mv stageprofile-zlib prev-zlib || test -f stageprofile-lean
  43630. @endif zlib
  43631. @if lto-plugin
  43632. @cd $(HOST_SUBDIR); [ -d stagefeedback-lto-plugin ] || \
  43633. mkdir stagefeedback-lto-plugin; \
  43634. mv stagefeedback-lto-plugin lto-plugin ; \
  43635. mv stageprofile-lto-plugin prev-lto-plugin || test -f stageprofile-lean
  43636. @endif lto-plugin
  43637. @[ -d stagefeedback-$(TARGET_SUBDIR) ] || \
  43638. mkdir stagefeedback-$(TARGET_SUBDIR); \
  43639. mv stagefeedback-$(TARGET_SUBDIR) $(TARGET_SUBDIR) ; \
  43640. mv stageprofile-$(TARGET_SUBDIR) prev-$(TARGET_SUBDIR) || test -f stageprofile-lean
  43641. stagefeedback-end::
  43642. @if bfd
  43643. @if test -d $(HOST_SUBDIR)/bfd ; then \
  43644. cd $(HOST_SUBDIR); mv bfd stagefeedback-bfd ; \
  43645. mv prev-bfd stageprofile-bfd ; : ; \
  43646. fi
  43647. @endif bfd
  43648. @if opcodes
  43649. @if test -d $(HOST_SUBDIR)/opcodes ; then \
  43650. cd $(HOST_SUBDIR); mv opcodes stagefeedback-opcodes ; \
  43651. mv prev-opcodes stageprofile-opcodes ; : ; \
  43652. fi
  43653. @endif opcodes
  43654. @if binutils
  43655. @if test -d $(HOST_SUBDIR)/binutils ; then \
  43656. cd $(HOST_SUBDIR); mv binutils stagefeedback-binutils ; \
  43657. mv prev-binutils stageprofile-binutils ; : ; \
  43658. fi
  43659. @endif binutils
  43660. @if fixincludes
  43661. @if test -d $(HOST_SUBDIR)/fixincludes ; then \
  43662. cd $(HOST_SUBDIR); mv fixincludes stagefeedback-fixincludes ; \
  43663. mv prev-fixincludes stageprofile-fixincludes ; : ; \
  43664. fi
  43665. @endif fixincludes
  43666. @if gas
  43667. @if test -d $(HOST_SUBDIR)/gas ; then \
  43668. cd $(HOST_SUBDIR); mv gas stagefeedback-gas ; \
  43669. mv prev-gas stageprofile-gas ; : ; \
  43670. fi
  43671. @endif gas
  43672. @if gcc
  43673. @if test -d $(HOST_SUBDIR)/gcc ; then \
  43674. cd $(HOST_SUBDIR); mv gcc stagefeedback-gcc ; \
  43675. mv prev-gcc stageprofile-gcc ; : ; \
  43676. fi
  43677. @endif gcc
  43678. @if gmp
  43679. @if test -d $(HOST_SUBDIR)/gmp ; then \
  43680. cd $(HOST_SUBDIR); mv gmp stagefeedback-gmp ; \
  43681. mv prev-gmp stageprofile-gmp ; : ; \
  43682. fi
  43683. @endif gmp
  43684. @if mpfr
  43685. @if test -d $(HOST_SUBDIR)/mpfr ; then \
  43686. cd $(HOST_SUBDIR); mv mpfr stagefeedback-mpfr ; \
  43687. mv prev-mpfr stageprofile-mpfr ; : ; \
  43688. fi
  43689. @endif mpfr
  43690. @if mpc
  43691. @if test -d $(HOST_SUBDIR)/mpc ; then \
  43692. cd $(HOST_SUBDIR); mv mpc stagefeedback-mpc ; \
  43693. mv prev-mpc stageprofile-mpc ; : ; \
  43694. fi
  43695. @endif mpc
  43696. @if isl
  43697. @if test -d $(HOST_SUBDIR)/isl ; then \
  43698. cd $(HOST_SUBDIR); mv isl stagefeedback-isl ; \
  43699. mv prev-isl stageprofile-isl ; : ; \
  43700. fi
  43701. @endif isl
  43702. @if libelf
  43703. @if test -d $(HOST_SUBDIR)/libelf ; then \
  43704. cd $(HOST_SUBDIR); mv libelf stagefeedback-libelf ; \
  43705. mv prev-libelf stageprofile-libelf ; : ; \
  43706. fi
  43707. @endif libelf
  43708. @if gold
  43709. @if test -d $(HOST_SUBDIR)/gold ; then \
  43710. cd $(HOST_SUBDIR); mv gold stagefeedback-gold ; \
  43711. mv prev-gold stageprofile-gold ; : ; \
  43712. fi
  43713. @endif gold
  43714. @if intl
  43715. @if test -d $(HOST_SUBDIR)/intl ; then \
  43716. cd $(HOST_SUBDIR); mv intl stagefeedback-intl ; \
  43717. mv prev-intl stageprofile-intl ; : ; \
  43718. fi
  43719. @endif intl
  43720. @if ld
  43721. @if test -d $(HOST_SUBDIR)/ld ; then \
  43722. cd $(HOST_SUBDIR); mv ld stagefeedback-ld ; \
  43723. mv prev-ld stageprofile-ld ; : ; \
  43724. fi
  43725. @endif ld
  43726. @if libbacktrace
  43727. @if test -d $(HOST_SUBDIR)/libbacktrace ; then \
  43728. cd $(HOST_SUBDIR); mv libbacktrace stagefeedback-libbacktrace ; \
  43729. mv prev-libbacktrace stageprofile-libbacktrace ; : ; \
  43730. fi
  43731. @endif libbacktrace
  43732. @if libcpp
  43733. @if test -d $(HOST_SUBDIR)/libcpp ; then \
  43734. cd $(HOST_SUBDIR); mv libcpp stagefeedback-libcpp ; \
  43735. mv prev-libcpp stageprofile-libcpp ; : ; \
  43736. fi
  43737. @endif libcpp
  43738. @if libdecnumber
  43739. @if test -d $(HOST_SUBDIR)/libdecnumber ; then \
  43740. cd $(HOST_SUBDIR); mv libdecnumber stagefeedback-libdecnumber ; \
  43741. mv prev-libdecnumber stageprofile-libdecnumber ; : ; \
  43742. fi
  43743. @endif libdecnumber
  43744. @if libiberty
  43745. @if test -d $(HOST_SUBDIR)/libiberty ; then \
  43746. cd $(HOST_SUBDIR); mv libiberty stagefeedback-libiberty ; \
  43747. mv prev-libiberty stageprofile-libiberty ; : ; \
  43748. fi
  43749. @endif libiberty
  43750. @if libiberty-linker-plugin
  43751. @if test -d $(HOST_SUBDIR)/libiberty-linker-plugin ; then \
  43752. cd $(HOST_SUBDIR); mv libiberty-linker-plugin stagefeedback-libiberty-linker-plugin ; \
  43753. mv prev-libiberty-linker-plugin stageprofile-libiberty-linker-plugin ; : ; \
  43754. fi
  43755. @endif libiberty-linker-plugin
  43756. @if zlib
  43757. @if test -d $(HOST_SUBDIR)/zlib ; then \
  43758. cd $(HOST_SUBDIR); mv zlib stagefeedback-zlib ; \
  43759. mv prev-zlib stageprofile-zlib ; : ; \
  43760. fi
  43761. @endif zlib
  43762. @if lto-plugin
  43763. @if test -d $(HOST_SUBDIR)/lto-plugin ; then \
  43764. cd $(HOST_SUBDIR); mv lto-plugin stagefeedback-lto-plugin ; \
  43765. mv prev-lto-plugin stageprofile-lto-plugin ; : ; \
  43766. fi
  43767. @endif lto-plugin
  43768. @if test -d $(TARGET_SUBDIR) ; then \
  43769. mv $(TARGET_SUBDIR) stagefeedback-$(TARGET_SUBDIR) ; \
  43770. mv prev-$(TARGET_SUBDIR) stageprofile-$(TARGET_SUBDIR) ; : ; \
  43771. fi
  43772. rm -f stage_current
  43773. # Bubble a bug fix through all the stages up to stage feedback. They are
  43774. # remade, but not reconfigured. The next stage (if any) will not be
  43775. # reconfigured either.
  43776. .PHONY: stagefeedback-bubble
  43777. stagefeedback-bubble:: stageprofile-bubble
  43778. @r=`${PWD_COMMAND}`; export r; \
  43779. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  43780. if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
  43781. echo Skipping rebuild of stagefeedback ; \
  43782. else \
  43783. $(MAKE) stagefeedback-start; \
  43784. $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
  43785. fi
  43786. .PHONY: all-stagefeedback clean-stagefeedback
  43787. do-clean: clean-stagefeedback
  43788. # FIXME: Will not need to be conditional when toplevel bootstrap is the
  43789. # only possibility, but now it conflicts with no-bootstrap rules
  43790. @if gcc-bootstrap
  43791. .PHONY: profiledbootstrap profiledbootstrap-lean
  43792. profiledbootstrap:
  43793. echo stagefeedback > stage_final
  43794. @r=`${PWD_COMMAND}`; export r; \
  43795. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  43796. $(MAKE) $(RECURSE_FLAGS_TO_PASS) stagefeedback-bubble
  43797. @: $(MAKE); $(unstage)
  43798. @r=`${PWD_COMMAND}`; export r; \
  43799. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  43800. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  43801. $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
  43802. profiledbootstrap-lean:
  43803. echo stagefeedback > stage_final
  43804. @r=`${PWD_COMMAND}`; export r; \
  43805. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  43806. $(MAKE) $(RECURSE_FLAGS_TO_PASS) LEAN=: stagefeedback-bubble
  43807. @: $(MAKE); $(unstage)
  43808. @r=`${PWD_COMMAND}`; export r; \
  43809. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  43810. TFLAGS="$(STAGEfeedback_TFLAGS)"; \
  43811. $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host all-target
  43812. # Rules to wipe a stage and all the following ones, also used for cleanstrap
  43813. distclean-stageprofile:: distclean-stagefeedback
  43814. .PHONY: distclean-stagefeedback
  43815. distclean-stagefeedback::
  43816. @: $(MAKE); $(stage)
  43817. @test "`cat stage_last`" != stagefeedback || rm -f stage_last
  43818. rm -rf stagefeedback-*
  43819. @endif gcc-bootstrap
  43820. stageprofile-end::
  43821. $(MAKE) distclean-stagefeedback
  43822. stagefeedback-start::
  43823. @r=`${PWD_COMMAND}`; export r; \
  43824. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  43825. for i in prev-*; do \
  43826. j=`echo $$i | sed s/^prev-//` ; \
  43827. cd $$r/$$i && \
  43828. { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
  43829. { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
  43830. done
  43831. @if gcc-bootstrap
  43832. do-distclean: distclean-stage1
  43833. # Provide a GCC build when we're building target libraries. This does
  43834. # not work as a dependency, just as the minimum necessary to avoid errors.
  43835. stage_last:
  43836. @r=`${PWD_COMMAND}`; export r; \
  43837. s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
  43838. $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage1-bubble
  43839. # Same as unstage, but not phony and defaulting to stage1-start. We place
  43840. # it in the dependency so that for example `make -j3 all-gcc' works.
  43841. stage_current:
  43842. @if test -f stage_last; then $(unstage); else $(MAKE) stage1-start; fi
  43843. .PHONY: restrap
  43844. restrap::
  43845. @: $(MAKE); $(stage)
  43846. rm -rf stage1-$(TARGET_SUBDIR) stage2-* stage3-* stage4-* stageprofile-* stagefeedback-*
  43847. restrap:: all
  43848. @endif gcc-bootstrap
  43849. # --------------------------------------
  43850. # Dependencies between different modules
  43851. # --------------------------------------
  43852. # Generic dependencies for target modules on host stuff, especially gcc
  43853. @if gcc-bootstrap
  43854. configure-stage1-target-libstdc++-v3: maybe-all-stage1-gcc
  43855. configure-stage2-target-libstdc++-v3: maybe-all-stage2-gcc
  43856. configure-stage3-target-libstdc++-v3: maybe-all-stage3-gcc
  43857. configure-stage4-target-libstdc++-v3: maybe-all-stage4-gcc
  43858. configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-gcc
  43859. configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-gcc
  43860. configure-stage1-target-libsanitizer: maybe-all-stage1-gcc
  43861. configure-stage2-target-libsanitizer: maybe-all-stage2-gcc
  43862. configure-stage3-target-libsanitizer: maybe-all-stage3-gcc
  43863. configure-stage4-target-libsanitizer: maybe-all-stage4-gcc
  43864. configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-gcc
  43865. configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-gcc
  43866. configure-stage1-target-libmpx: maybe-all-stage1-gcc
  43867. configure-stage2-target-libmpx: maybe-all-stage2-gcc
  43868. configure-stage3-target-libmpx: maybe-all-stage3-gcc
  43869. configure-stage4-target-libmpx: maybe-all-stage4-gcc
  43870. configure-stageprofile-target-libmpx: maybe-all-stageprofile-gcc
  43871. configure-stagefeedback-target-libmpx: maybe-all-stagefeedback-gcc
  43872. configure-stage1-target-libvtv: maybe-all-stage1-gcc
  43873. configure-stage2-target-libvtv: maybe-all-stage2-gcc
  43874. configure-stage3-target-libvtv: maybe-all-stage3-gcc
  43875. configure-stage4-target-libvtv: maybe-all-stage4-gcc
  43876. configure-stageprofile-target-libvtv: maybe-all-stageprofile-gcc
  43877. configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-gcc
  43878. configure-target-libcilkrts: stage_last
  43879. configure-target-liboffloadmic: stage_last
  43880. configure-target-libssp: stage_last
  43881. configure-target-newlib: stage_last
  43882. configure-stage1-target-libgcc: maybe-all-stage1-gcc
  43883. configure-stage2-target-libgcc: maybe-all-stage2-gcc
  43884. configure-stage3-target-libgcc: maybe-all-stage3-gcc
  43885. configure-stage4-target-libgcc: maybe-all-stage4-gcc
  43886. configure-stageprofile-target-libgcc: maybe-all-stageprofile-gcc
  43887. configure-stagefeedback-target-libgcc: maybe-all-stagefeedback-gcc
  43888. configure-target-libbacktrace: stage_last
  43889. configure-target-libquadmath: stage_last
  43890. configure-target-libgfortran: stage_last
  43891. configure-target-libobjc: stage_last
  43892. configure-target-libgo: stage_last
  43893. configure-target-libtermcap: stage_last
  43894. configure-target-winsup: stage_last
  43895. configure-target-libgloss: stage_last
  43896. configure-target-libffi: stage_last
  43897. configure-target-libjava: stage_last
  43898. configure-target-zlib: stage_last
  43899. configure-target-boehm-gc: stage_last
  43900. configure-target-rda: stage_last
  43901. configure-target-libada: stage_last
  43902. configure-stage1-target-libgomp: maybe-all-stage1-gcc
  43903. configure-stage2-target-libgomp: maybe-all-stage2-gcc
  43904. configure-stage3-target-libgomp: maybe-all-stage3-gcc
  43905. configure-stage4-target-libgomp: maybe-all-stage4-gcc
  43906. configure-stageprofile-target-libgomp: maybe-all-stageprofile-gcc
  43907. configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-gcc
  43908. configure-target-libitm: stage_last
  43909. configure-target-libatomic: stage_last
  43910. @endif gcc-bootstrap
  43911. @if gcc-no-bootstrap
  43912. configure-target-libstdc++-v3: maybe-all-gcc
  43913. configure-target-libsanitizer: maybe-all-gcc
  43914. configure-target-libmpx: maybe-all-gcc
  43915. configure-target-libvtv: maybe-all-gcc
  43916. configure-target-libcilkrts: maybe-all-gcc
  43917. configure-target-liboffloadmic: maybe-all-gcc
  43918. configure-target-libssp: maybe-all-gcc
  43919. configure-target-newlib: maybe-all-gcc
  43920. configure-target-libgcc: maybe-all-gcc
  43921. configure-target-libbacktrace: maybe-all-gcc
  43922. configure-target-libquadmath: maybe-all-gcc
  43923. configure-target-libgfortran: maybe-all-gcc
  43924. configure-target-libobjc: maybe-all-gcc
  43925. configure-target-libgo: maybe-all-gcc
  43926. configure-target-libtermcap: maybe-all-gcc
  43927. configure-target-winsup: maybe-all-gcc
  43928. configure-target-libgloss: maybe-all-gcc
  43929. configure-target-libffi: maybe-all-gcc
  43930. configure-target-libjava: maybe-all-gcc
  43931. configure-target-zlib: maybe-all-gcc
  43932. configure-target-boehm-gc: maybe-all-gcc
  43933. configure-target-rda: maybe-all-gcc
  43934. configure-target-libada: maybe-all-gcc
  43935. configure-target-libgomp: maybe-all-gcc
  43936. configure-target-libitm: maybe-all-gcc
  43937. configure-target-libatomic: maybe-all-gcc
  43938. @endif gcc-no-bootstrap
  43939. # There are two types of dependencies here: 'hard' dependencies, where one
  43940. # module simply won't build without the other; and 'soft' dependencies, where
  43941. # if the depended-on module is missing, the depending module will do without
  43942. # or find a substitute somewhere (perhaps installed). Soft dependencies
  43943. # are made here to depend on a 'maybe-' target. If you're not sure,
  43944. # it's safer to use a soft dependency.
  43945. # With all the machinery above in place, it is pretty easy to generate
  43946. # dependencies. Host dependencies are a bit more complex because we have
  43947. # to check for bootstrap/prebootstrap dependencies. To resolve
  43948. # prebootstrap dependencies, prebootstrap modules are gathered in
  43949. # a hash table.
  43950. all-build-bison: maybe-all-build-texinfo
  43951. all-build-flex: maybe-all-build-texinfo
  43952. all-build-flex: maybe-all-build-bison
  43953. all-build-flex: maybe-all-build-m4
  43954. all-build-libiberty: maybe-all-build-texinfo
  43955. all-build-m4: maybe-all-build-texinfo
  43956. all-build-fixincludes: maybe-all-build-libiberty
  43957. all-build-libcpp: maybe-all-build-libiberty
  43958. configure-gcc: maybe-configure-intl
  43959. configure-stage1-gcc: maybe-configure-stage1-intl
  43960. configure-stage2-gcc: maybe-configure-stage2-intl
  43961. configure-stage3-gcc: maybe-configure-stage3-intl
  43962. configure-stage4-gcc: maybe-configure-stage4-intl
  43963. configure-stageprofile-gcc: maybe-configure-stageprofile-intl
  43964. configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
  43965. configure-gcc: maybe-all-gmp
  43966. configure-stage1-gcc: maybe-all-stage1-gmp
  43967. configure-stage2-gcc: maybe-all-stage2-gmp
  43968. configure-stage3-gcc: maybe-all-stage3-gmp
  43969. configure-stage4-gcc: maybe-all-stage4-gmp
  43970. configure-stageprofile-gcc: maybe-all-stageprofile-gmp
  43971. configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
  43972. configure-gcc: maybe-all-mpfr
  43973. configure-stage1-gcc: maybe-all-stage1-mpfr
  43974. configure-stage2-gcc: maybe-all-stage2-mpfr
  43975. configure-stage3-gcc: maybe-all-stage3-mpfr
  43976. configure-stage4-gcc: maybe-all-stage4-mpfr
  43977. configure-stageprofile-gcc: maybe-all-stageprofile-mpfr
  43978. configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
  43979. configure-gcc: maybe-all-mpc
  43980. configure-stage1-gcc: maybe-all-stage1-mpc
  43981. configure-stage2-gcc: maybe-all-stage2-mpc
  43982. configure-stage3-gcc: maybe-all-stage3-mpc
  43983. configure-stage4-gcc: maybe-all-stage4-mpc
  43984. configure-stageprofile-gcc: maybe-all-stageprofile-mpc
  43985. configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
  43986. configure-gcc: maybe-all-isl
  43987. configure-stage1-gcc: maybe-all-stage1-isl
  43988. configure-stage2-gcc: maybe-all-stage2-isl
  43989. configure-stage3-gcc: maybe-all-stage3-isl
  43990. configure-stage4-gcc: maybe-all-stage4-isl
  43991. configure-stageprofile-gcc: maybe-all-stageprofile-isl
  43992. configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
  43993. configure-gcc: maybe-all-lto-plugin
  43994. configure-stage1-gcc: maybe-all-stage1-lto-plugin
  43995. configure-stage2-gcc: maybe-all-stage2-lto-plugin
  43996. configure-stage3-gcc: maybe-all-stage3-lto-plugin
  43997. configure-stage4-gcc: maybe-all-stage4-lto-plugin
  43998. configure-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
  43999. configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
  44000. configure-gcc: maybe-all-binutils
  44001. configure-stage1-gcc: maybe-all-stage1-binutils
  44002. configure-stage2-gcc: maybe-all-stage2-binutils
  44003. configure-stage3-gcc: maybe-all-stage3-binutils
  44004. configure-stage4-gcc: maybe-all-stage4-binutils
  44005. configure-stageprofile-gcc: maybe-all-stageprofile-binutils
  44006. configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
  44007. configure-gcc: maybe-all-gas
  44008. configure-stage1-gcc: maybe-all-stage1-gas
  44009. configure-stage2-gcc: maybe-all-stage2-gas
  44010. configure-stage3-gcc: maybe-all-stage3-gas
  44011. configure-stage4-gcc: maybe-all-stage4-gas
  44012. configure-stageprofile-gcc: maybe-all-stageprofile-gas
  44013. configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
  44014. configure-gcc: maybe-all-ld
  44015. configure-stage1-gcc: maybe-all-stage1-ld
  44016. configure-stage2-gcc: maybe-all-stage2-ld
  44017. configure-stage3-gcc: maybe-all-stage3-ld
  44018. configure-stage4-gcc: maybe-all-stage4-ld
  44019. configure-stageprofile-gcc: maybe-all-stageprofile-ld
  44020. configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
  44021. configure-gcc: maybe-all-gold
  44022. configure-stage1-gcc: maybe-all-stage1-gold
  44023. configure-stage2-gcc: maybe-all-stage2-gold
  44024. configure-stage3-gcc: maybe-all-stage3-gold
  44025. configure-stage4-gcc: maybe-all-stage4-gold
  44026. configure-stageprofile-gcc: maybe-all-stageprofile-gold
  44027. configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
  44028. configure-gcc: maybe-all-libelf
  44029. configure-stage1-gcc: maybe-all-stage1-libelf
  44030. configure-stage2-gcc: maybe-all-stage2-libelf
  44031. configure-stage3-gcc: maybe-all-stage3-libelf
  44032. configure-stage4-gcc: maybe-all-stage4-libelf
  44033. configure-stageprofile-gcc: maybe-all-stageprofile-libelf
  44034. configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
  44035. all-gcc: all-libiberty
  44036. all-stage1-gcc: all-stage1-libiberty
  44037. all-stage2-gcc: all-stage2-libiberty
  44038. all-stage3-gcc: all-stage3-libiberty
  44039. all-stage4-gcc: all-stage4-libiberty
  44040. all-stageprofile-gcc: all-stageprofile-libiberty
  44041. all-stagefeedback-gcc: all-stagefeedback-libiberty
  44042. all-gcc: maybe-all-intl
  44043. all-stage1-gcc: maybe-all-stage1-intl
  44044. all-stage2-gcc: maybe-all-stage2-intl
  44045. all-stage3-gcc: maybe-all-stage3-intl
  44046. all-stage4-gcc: maybe-all-stage4-intl
  44047. all-stageprofile-gcc: maybe-all-stageprofile-intl
  44048. all-stagefeedback-gcc: maybe-all-stagefeedback-intl
  44049. all-gcc: maybe-all-mpfr
  44050. all-stage1-gcc: maybe-all-stage1-mpfr
  44051. all-stage2-gcc: maybe-all-stage2-mpfr
  44052. all-stage3-gcc: maybe-all-stage3-mpfr
  44053. all-stage4-gcc: maybe-all-stage4-mpfr
  44054. all-stageprofile-gcc: maybe-all-stageprofile-mpfr
  44055. all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
  44056. all-gcc: maybe-all-mpc
  44057. all-stage1-gcc: maybe-all-stage1-mpc
  44058. all-stage2-gcc: maybe-all-stage2-mpc
  44059. all-stage3-gcc: maybe-all-stage3-mpc
  44060. all-stage4-gcc: maybe-all-stage4-mpc
  44061. all-stageprofile-gcc: maybe-all-stageprofile-mpc
  44062. all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
  44063. all-gcc: maybe-all-isl
  44064. all-stage1-gcc: maybe-all-stage1-isl
  44065. all-stage2-gcc: maybe-all-stage2-isl
  44066. all-stage3-gcc: maybe-all-stage3-isl
  44067. all-stage4-gcc: maybe-all-stage4-isl
  44068. all-stageprofile-gcc: maybe-all-stageprofile-isl
  44069. all-stagefeedback-gcc: maybe-all-stagefeedback-isl
  44070. all-gcc: maybe-all-build-texinfo
  44071. all-stage1-gcc: maybe-all-build-texinfo
  44072. all-stage2-gcc: maybe-all-build-texinfo
  44073. all-stage3-gcc: maybe-all-build-texinfo
  44074. all-stage4-gcc: maybe-all-build-texinfo
  44075. all-stageprofile-gcc: maybe-all-build-texinfo
  44076. all-stagefeedback-gcc: maybe-all-build-texinfo
  44077. all-gcc: maybe-all-build-bison
  44078. all-stage1-gcc: maybe-all-build-bison
  44079. all-stage2-gcc: maybe-all-build-bison
  44080. all-stage3-gcc: maybe-all-build-bison
  44081. all-stage4-gcc: maybe-all-build-bison
  44082. all-stageprofile-gcc: maybe-all-build-bison
  44083. all-stagefeedback-gcc: maybe-all-build-bison
  44084. all-gcc: maybe-all-build-flex
  44085. all-stage1-gcc: maybe-all-build-flex
  44086. all-stage2-gcc: maybe-all-build-flex
  44087. all-stage3-gcc: maybe-all-build-flex
  44088. all-stage4-gcc: maybe-all-build-flex
  44089. all-stageprofile-gcc: maybe-all-build-flex
  44090. all-stagefeedback-gcc: maybe-all-build-flex
  44091. all-gcc: maybe-all-build-libiberty
  44092. all-stage1-gcc: maybe-all-build-libiberty
  44093. all-stage2-gcc: maybe-all-build-libiberty
  44094. all-stage3-gcc: maybe-all-build-libiberty
  44095. all-stage4-gcc: maybe-all-build-libiberty
  44096. all-stageprofile-gcc: maybe-all-build-libiberty
  44097. all-stagefeedback-gcc: maybe-all-build-libiberty
  44098. all-gcc: maybe-all-build-fixincludes
  44099. all-stage1-gcc: maybe-all-build-fixincludes
  44100. all-stage2-gcc: maybe-all-build-fixincludes
  44101. all-stage3-gcc: maybe-all-build-fixincludes
  44102. all-stage4-gcc: maybe-all-build-fixincludes
  44103. all-stageprofile-gcc: maybe-all-build-fixincludes
  44104. all-stagefeedback-gcc: maybe-all-build-fixincludes
  44105. all-gcc: maybe-all-build-libcpp
  44106. all-stage1-gcc: maybe-all-build-libcpp
  44107. all-stage2-gcc: maybe-all-build-libcpp
  44108. all-stage3-gcc: maybe-all-build-libcpp
  44109. all-stage4-gcc: maybe-all-build-libcpp
  44110. all-stageprofile-gcc: maybe-all-build-libcpp
  44111. all-stagefeedback-gcc: maybe-all-build-libcpp
  44112. all-gcc: maybe-all-zlib
  44113. all-stage1-gcc: maybe-all-stage1-zlib
  44114. all-stage2-gcc: maybe-all-stage2-zlib
  44115. all-stage3-gcc: maybe-all-stage3-zlib
  44116. all-stage4-gcc: maybe-all-stage4-zlib
  44117. all-stageprofile-gcc: maybe-all-stageprofile-zlib
  44118. all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
  44119. all-gcc: all-libbacktrace
  44120. all-stage1-gcc: all-stage1-libbacktrace
  44121. all-stage2-gcc: all-stage2-libbacktrace
  44122. all-stage3-gcc: all-stage3-libbacktrace
  44123. all-stage4-gcc: all-stage4-libbacktrace
  44124. all-stageprofile-gcc: all-stageprofile-libbacktrace
  44125. all-stagefeedback-gcc: all-stagefeedback-libbacktrace
  44126. all-gcc: all-libcpp
  44127. all-stage1-gcc: all-stage1-libcpp
  44128. all-stage2-gcc: all-stage2-libcpp
  44129. all-stage3-gcc: all-stage3-libcpp
  44130. all-stage4-gcc: all-stage4-libcpp
  44131. all-stageprofile-gcc: all-stageprofile-libcpp
  44132. all-stagefeedback-gcc: all-stagefeedback-libcpp
  44133. all-gcc: all-libdecnumber
  44134. all-stage1-gcc: all-stage1-libdecnumber
  44135. all-stage2-gcc: all-stage2-libdecnumber
  44136. all-stage3-gcc: all-stage3-libdecnumber
  44137. all-stage4-gcc: all-stage4-libdecnumber
  44138. all-stageprofile-gcc: all-stageprofile-libdecnumber
  44139. all-stagefeedback-gcc: all-stagefeedback-libdecnumber
  44140. all-gcc: maybe-all-libiberty
  44141. all-stage1-gcc: maybe-all-stage1-libiberty
  44142. all-stage2-gcc: maybe-all-stage2-libiberty
  44143. all-stage3-gcc: maybe-all-stage3-libiberty
  44144. all-stage4-gcc: maybe-all-stage4-libiberty
  44145. all-stageprofile-gcc: maybe-all-stageprofile-libiberty
  44146. all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
  44147. all-gcc: maybe-all-fixincludes
  44148. all-stage1-gcc: maybe-all-stage1-fixincludes
  44149. all-stage2-gcc: maybe-all-stage2-fixincludes
  44150. all-stage3-gcc: maybe-all-stage3-fixincludes
  44151. all-stage4-gcc: maybe-all-stage4-fixincludes
  44152. all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
  44153. all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
  44154. all-gcc: maybe-all-lto-plugin
  44155. all-stage1-gcc: maybe-all-stage1-lto-plugin
  44156. all-stage2-gcc: maybe-all-stage2-lto-plugin
  44157. all-stage3-gcc: maybe-all-stage3-lto-plugin
  44158. all-stage4-gcc: maybe-all-stage4-lto-plugin
  44159. all-stageprofile-gcc: maybe-all-stageprofile-lto-plugin
  44160. all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
  44161. info-gcc: maybe-all-build-libiberty
  44162. info-stage1-gcc: maybe-all-build-libiberty
  44163. info-stage2-gcc: maybe-all-build-libiberty
  44164. info-stage3-gcc: maybe-all-build-libiberty
  44165. info-stage4-gcc: maybe-all-build-libiberty
  44166. info-stageprofile-gcc: maybe-all-build-libiberty
  44167. info-stagefeedback-gcc: maybe-all-build-libiberty
  44168. dvi-gcc: maybe-all-build-libiberty
  44169. dvi-stage1-gcc: maybe-all-build-libiberty
  44170. dvi-stage2-gcc: maybe-all-build-libiberty
  44171. dvi-stage3-gcc: maybe-all-build-libiberty
  44172. dvi-stage4-gcc: maybe-all-build-libiberty
  44173. dvi-stageprofile-gcc: maybe-all-build-libiberty
  44174. dvi-stagefeedback-gcc: maybe-all-build-libiberty
  44175. pdf-gcc: maybe-all-build-libiberty
  44176. pdf-stage1-gcc: maybe-all-build-libiberty
  44177. pdf-stage2-gcc: maybe-all-build-libiberty
  44178. pdf-stage3-gcc: maybe-all-build-libiberty
  44179. pdf-stage4-gcc: maybe-all-build-libiberty
  44180. pdf-stageprofile-gcc: maybe-all-build-libiberty
  44181. pdf-stagefeedback-gcc: maybe-all-build-libiberty
  44182. html-gcc: maybe-all-build-libiberty
  44183. html-stage1-gcc: maybe-all-build-libiberty
  44184. html-stage2-gcc: maybe-all-build-libiberty
  44185. html-stage3-gcc: maybe-all-build-libiberty
  44186. html-stage4-gcc: maybe-all-build-libiberty
  44187. html-stageprofile-gcc: maybe-all-build-libiberty
  44188. html-stagefeedback-gcc: maybe-all-build-libiberty
  44189. install-gcc: maybe-install-fixincludes
  44190. install-gcc: maybe-install-lto-plugin
  44191. install-strip-gcc: maybe-install-strip-fixincludes
  44192. install-strip-gcc: maybe-install-strip-lto-plugin
  44193. configure-libcpp: configure-libiberty
  44194. configure-stage1-libcpp: configure-stage1-libiberty
  44195. configure-stage2-libcpp: configure-stage2-libiberty
  44196. configure-stage3-libcpp: configure-stage3-libiberty
  44197. configure-stage4-libcpp: configure-stage4-libiberty
  44198. configure-stageprofile-libcpp: configure-stageprofile-libiberty
  44199. configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
  44200. configure-libcpp: maybe-configure-intl
  44201. configure-stage1-libcpp: maybe-configure-stage1-intl
  44202. configure-stage2-libcpp: maybe-configure-stage2-intl
  44203. configure-stage3-libcpp: maybe-configure-stage3-intl
  44204. configure-stage4-libcpp: maybe-configure-stage4-intl
  44205. configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
  44206. configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
  44207. all-libcpp: all-libiberty
  44208. all-stage1-libcpp: all-stage1-libiberty
  44209. all-stage2-libcpp: all-stage2-libiberty
  44210. all-stage3-libcpp: all-stage3-libiberty
  44211. all-stage4-libcpp: all-stage4-libiberty
  44212. all-stageprofile-libcpp: all-stageprofile-libiberty
  44213. all-stagefeedback-libcpp: all-stagefeedback-libiberty
  44214. all-libcpp: maybe-all-intl
  44215. all-stage1-libcpp: maybe-all-stage1-intl
  44216. all-stage2-libcpp: maybe-all-stage2-intl
  44217. all-stage3-libcpp: maybe-all-stage3-intl
  44218. all-stage4-libcpp: maybe-all-stage4-intl
  44219. all-stageprofile-libcpp: maybe-all-stageprofile-intl
  44220. all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
  44221. all-fixincludes: maybe-all-libiberty
  44222. all-stage1-fixincludes: maybe-all-stage1-libiberty
  44223. all-stage2-fixincludes: maybe-all-stage2-libiberty
  44224. all-stage3-fixincludes: maybe-all-stage3-libiberty
  44225. all-stage4-fixincludes: maybe-all-stage4-libiberty
  44226. all-stageprofile-fixincludes: maybe-all-stageprofile-libiberty
  44227. all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
  44228. all-gnattools: maybe-all-target-libada
  44229. all-gnattools: maybe-all-target-libstdc++-v3
  44230. all-lto-plugin: maybe-all-libiberty
  44231. all-stage1-lto-plugin: maybe-all-stage1-libiberty
  44232. all-stage2-lto-plugin: maybe-all-stage2-libiberty
  44233. all-stage3-lto-plugin: maybe-all-stage3-libiberty
  44234. all-stage4-lto-plugin: maybe-all-stage4-libiberty
  44235. all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty
  44236. all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
  44237. all-lto-plugin: maybe-all-libiberty-linker-plugin
  44238. all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
  44239. all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
  44240. all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
  44241. all-stage4-lto-plugin: maybe-all-stage4-libiberty-linker-plugin
  44242. all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
  44243. all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
  44244. configure-libcc1: maybe-configure-gcc
  44245. all-libcc1: maybe-all-gcc
  44246. all-gotools: maybe-all-target-libgo
  44247. all-utils: maybe-all-libiberty
  44248. configure-mpfr: maybe-all-gmp
  44249. configure-stage1-mpfr: maybe-all-stage1-gmp
  44250. configure-stage2-mpfr: maybe-all-stage2-gmp
  44251. configure-stage3-mpfr: maybe-all-stage3-gmp
  44252. configure-stage4-mpfr: maybe-all-stage4-gmp
  44253. configure-stageprofile-mpfr: maybe-all-stageprofile-gmp
  44254. configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
  44255. configure-mpc: maybe-all-mpfr
  44256. configure-stage1-mpc: maybe-all-stage1-mpfr
  44257. configure-stage2-mpc: maybe-all-stage2-mpfr
  44258. configure-stage3-mpc: maybe-all-stage3-mpfr
  44259. configure-stage4-mpc: maybe-all-stage4-mpfr
  44260. configure-stageprofile-mpc: maybe-all-stageprofile-mpfr
  44261. configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
  44262. configure-isl: maybe-all-gmp
  44263. configure-stage1-isl: maybe-all-stage1-gmp
  44264. configure-stage2-isl: maybe-all-stage2-gmp
  44265. configure-stage3-isl: maybe-all-stage3-gmp
  44266. configure-stage4-isl: maybe-all-stage4-gmp
  44267. configure-stageprofile-isl: maybe-all-stageprofile-gmp
  44268. configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
  44269. configure-gdb: maybe-all-intl
  44270. configure-gdb: maybe-configure-sim
  44271. configure-gdb: maybe-all-bfd
  44272. configure-gdb: maybe-all-libiconv
  44273. all-gdb: maybe-all-libiberty
  44274. all-gdb: maybe-all-libiconv
  44275. all-gdb: maybe-all-opcodes
  44276. all-gdb: maybe-all-readline
  44277. all-gdb: maybe-all-build-bison
  44278. all-gdb: maybe-all-sim
  44279. all-gdb: maybe-all-libdecnumber
  44280. all-gdb: maybe-all-libtermcap
  44281. configure-libgui: maybe-configure-tcl
  44282. configure-libgui: maybe-configure-tk
  44283. all-libgui: maybe-all-tcl
  44284. all-libgui: maybe-all-tk
  44285. all-libgui: maybe-all-itcl
  44286. configure-bfd: configure-libiberty
  44287. configure-stage1-bfd: configure-stage1-libiberty
  44288. configure-stage2-bfd: configure-stage2-libiberty
  44289. configure-stage3-bfd: configure-stage3-libiberty
  44290. configure-stage4-bfd: configure-stage4-libiberty
  44291. configure-stageprofile-bfd: configure-stageprofile-libiberty
  44292. configure-stagefeedback-bfd: configure-stagefeedback-libiberty
  44293. configure-bfd: maybe-configure-intl
  44294. configure-stage1-bfd: maybe-configure-stage1-intl
  44295. configure-stage2-bfd: maybe-configure-stage2-intl
  44296. configure-stage3-bfd: maybe-configure-stage3-intl
  44297. configure-stage4-bfd: maybe-configure-stage4-intl
  44298. configure-stageprofile-bfd: maybe-configure-stageprofile-intl
  44299. configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
  44300. all-bfd: maybe-all-libiberty
  44301. all-stage1-bfd: maybe-all-stage1-libiberty
  44302. all-stage2-bfd: maybe-all-stage2-libiberty
  44303. all-stage3-bfd: maybe-all-stage3-libiberty
  44304. all-stage4-bfd: maybe-all-stage4-libiberty
  44305. all-stageprofile-bfd: maybe-all-stageprofile-libiberty
  44306. all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
  44307. all-bfd: maybe-all-intl
  44308. all-stage1-bfd: maybe-all-stage1-intl
  44309. all-stage2-bfd: maybe-all-stage2-intl
  44310. all-stage3-bfd: maybe-all-stage3-intl
  44311. all-stage4-bfd: maybe-all-stage4-intl
  44312. all-stageprofile-bfd: maybe-all-stageprofile-intl
  44313. all-stagefeedback-bfd: maybe-all-stagefeedback-intl
  44314. configure-opcodes: configure-libiberty
  44315. configure-stage1-opcodes: configure-stage1-libiberty
  44316. configure-stage2-opcodes: configure-stage2-libiberty
  44317. configure-stage3-opcodes: configure-stage3-libiberty
  44318. configure-stage4-opcodes: configure-stage4-libiberty
  44319. configure-stageprofile-opcodes: configure-stageprofile-libiberty
  44320. configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
  44321. all-opcodes: maybe-all-libiberty
  44322. all-stage1-opcodes: maybe-all-stage1-libiberty
  44323. all-stage2-opcodes: maybe-all-stage2-libiberty
  44324. all-stage3-opcodes: maybe-all-stage3-libiberty
  44325. all-stage4-opcodes: maybe-all-stage4-libiberty
  44326. all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
  44327. all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
  44328. configure-binutils: maybe-configure-intl
  44329. configure-stage1-binutils: maybe-configure-stage1-intl
  44330. configure-stage2-binutils: maybe-configure-stage2-intl
  44331. configure-stage3-binutils: maybe-configure-stage3-intl
  44332. configure-stage4-binutils: maybe-configure-stage4-intl
  44333. configure-stageprofile-binutils: maybe-configure-stageprofile-intl
  44334. configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
  44335. all-binutils: maybe-all-libiberty
  44336. all-stage1-binutils: maybe-all-stage1-libiberty
  44337. all-stage2-binutils: maybe-all-stage2-libiberty
  44338. all-stage3-binutils: maybe-all-stage3-libiberty
  44339. all-stage4-binutils: maybe-all-stage4-libiberty
  44340. all-stageprofile-binutils: maybe-all-stageprofile-libiberty
  44341. all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
  44342. all-binutils: maybe-all-opcodes
  44343. all-stage1-binutils: maybe-all-stage1-opcodes
  44344. all-stage2-binutils: maybe-all-stage2-opcodes
  44345. all-stage3-binutils: maybe-all-stage3-opcodes
  44346. all-stage4-binutils: maybe-all-stage4-opcodes
  44347. all-stageprofile-binutils: maybe-all-stageprofile-opcodes
  44348. all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
  44349. all-binutils: maybe-all-bfd
  44350. all-stage1-binutils: maybe-all-stage1-bfd
  44351. all-stage2-binutils: maybe-all-stage2-bfd
  44352. all-stage3-binutils: maybe-all-stage3-bfd
  44353. all-stage4-binutils: maybe-all-stage4-bfd
  44354. all-stageprofile-binutils: maybe-all-stageprofile-bfd
  44355. all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
  44356. all-binutils: maybe-all-build-flex
  44357. all-stage1-binutils: maybe-all-build-flex
  44358. all-stage2-binutils: maybe-all-build-flex
  44359. all-stage3-binutils: maybe-all-build-flex
  44360. all-stage4-binutils: maybe-all-build-flex
  44361. all-stageprofile-binutils: maybe-all-build-flex
  44362. all-stagefeedback-binutils: maybe-all-build-flex
  44363. all-binutils: maybe-all-build-bison
  44364. all-stage1-binutils: maybe-all-build-bison
  44365. all-stage2-binutils: maybe-all-build-bison
  44366. all-stage3-binutils: maybe-all-build-bison
  44367. all-stage4-binutils: maybe-all-build-bison
  44368. all-stageprofile-binutils: maybe-all-build-bison
  44369. all-stagefeedback-binutils: maybe-all-build-bison
  44370. all-binutils: maybe-all-intl
  44371. all-stage1-binutils: maybe-all-stage1-intl
  44372. all-stage2-binutils: maybe-all-stage2-intl
  44373. all-stage3-binutils: maybe-all-stage3-intl
  44374. all-stage4-binutils: maybe-all-stage4-intl
  44375. all-stageprofile-binutils: maybe-all-stageprofile-intl
  44376. all-stagefeedback-binutils: maybe-all-stagefeedback-intl
  44377. all-binutils: maybe-all-gas
  44378. all-stage1-binutils: maybe-all-stage1-gas
  44379. all-stage2-binutils: maybe-all-stage2-gas
  44380. all-stage3-binutils: maybe-all-stage3-gas
  44381. all-stage4-binutils: maybe-all-stage4-gas
  44382. all-stageprofile-binutils: maybe-all-stageprofile-gas
  44383. all-stagefeedback-binutils: maybe-all-stagefeedback-gas
  44384. install-binutils: maybe-install-opcodes
  44385. install-strip-binutils: maybe-install-strip-opcodes
  44386. install-opcodes: maybe-install-bfd
  44387. install-strip-opcodes: maybe-install-strip-bfd
  44388. configure-gas: maybe-configure-intl
  44389. configure-stage1-gas: maybe-configure-stage1-intl
  44390. configure-stage2-gas: maybe-configure-stage2-intl
  44391. configure-stage3-gas: maybe-configure-stage3-intl
  44392. configure-stage4-gas: maybe-configure-stage4-intl
  44393. configure-stageprofile-gas: maybe-configure-stageprofile-intl
  44394. configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
  44395. all-gas: maybe-all-libiberty
  44396. all-stage1-gas: maybe-all-stage1-libiberty
  44397. all-stage2-gas: maybe-all-stage2-libiberty
  44398. all-stage3-gas: maybe-all-stage3-libiberty
  44399. all-stage4-gas: maybe-all-stage4-libiberty
  44400. all-stageprofile-gas: maybe-all-stageprofile-libiberty
  44401. all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
  44402. all-gas: maybe-all-opcodes
  44403. all-stage1-gas: maybe-all-stage1-opcodes
  44404. all-stage2-gas: maybe-all-stage2-opcodes
  44405. all-stage3-gas: maybe-all-stage3-opcodes
  44406. all-stage4-gas: maybe-all-stage4-opcodes
  44407. all-stageprofile-gas: maybe-all-stageprofile-opcodes
  44408. all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
  44409. all-gas: maybe-all-bfd
  44410. all-stage1-gas: maybe-all-stage1-bfd
  44411. all-stage2-gas: maybe-all-stage2-bfd
  44412. all-stage3-gas: maybe-all-stage3-bfd
  44413. all-stage4-gas: maybe-all-stage4-bfd
  44414. all-stageprofile-gas: maybe-all-stageprofile-bfd
  44415. all-stagefeedback-gas: maybe-all-stagefeedback-bfd
  44416. all-gas: maybe-all-intl
  44417. all-stage1-gas: maybe-all-stage1-intl
  44418. all-stage2-gas: maybe-all-stage2-intl
  44419. all-stage3-gas: maybe-all-stage3-intl
  44420. all-stage4-gas: maybe-all-stage4-intl
  44421. all-stageprofile-gas: maybe-all-stageprofile-intl
  44422. all-stagefeedback-gas: maybe-all-stagefeedback-intl
  44423. configure-gprof: maybe-configure-intl
  44424. all-gprof: maybe-all-libiberty
  44425. all-gprof: maybe-all-bfd
  44426. all-gprof: maybe-all-opcodes
  44427. all-gprof: maybe-all-intl
  44428. all-gprof: maybe-all-gas
  44429. configure-ld: maybe-configure-intl
  44430. configure-stage1-ld: maybe-configure-stage1-intl
  44431. configure-stage2-ld: maybe-configure-stage2-intl
  44432. configure-stage3-ld: maybe-configure-stage3-intl
  44433. configure-stage4-ld: maybe-configure-stage4-intl
  44434. configure-stageprofile-ld: maybe-configure-stageprofile-intl
  44435. configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
  44436. all-ld: maybe-all-libiberty
  44437. all-stage1-ld: maybe-all-stage1-libiberty
  44438. all-stage2-ld: maybe-all-stage2-libiberty
  44439. all-stage3-ld: maybe-all-stage3-libiberty
  44440. all-stage4-ld: maybe-all-stage4-libiberty
  44441. all-stageprofile-ld: maybe-all-stageprofile-libiberty
  44442. all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
  44443. all-ld: maybe-all-bfd
  44444. all-stage1-ld: maybe-all-stage1-bfd
  44445. all-stage2-ld: maybe-all-stage2-bfd
  44446. all-stage3-ld: maybe-all-stage3-bfd
  44447. all-stage4-ld: maybe-all-stage4-bfd
  44448. all-stageprofile-ld: maybe-all-stageprofile-bfd
  44449. all-stagefeedback-ld: maybe-all-stagefeedback-bfd
  44450. all-ld: maybe-all-opcodes
  44451. all-stage1-ld: maybe-all-stage1-opcodes
  44452. all-stage2-ld: maybe-all-stage2-opcodes
  44453. all-stage3-ld: maybe-all-stage3-opcodes
  44454. all-stage4-ld: maybe-all-stage4-opcodes
  44455. all-stageprofile-ld: maybe-all-stageprofile-opcodes
  44456. all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
  44457. all-ld: maybe-all-build-bison
  44458. all-stage1-ld: maybe-all-build-bison
  44459. all-stage2-ld: maybe-all-build-bison
  44460. all-stage3-ld: maybe-all-build-bison
  44461. all-stage4-ld: maybe-all-build-bison
  44462. all-stageprofile-ld: maybe-all-build-bison
  44463. all-stagefeedback-ld: maybe-all-build-bison
  44464. all-ld: maybe-all-build-flex
  44465. all-stage1-ld: maybe-all-build-flex
  44466. all-stage2-ld: maybe-all-build-flex
  44467. all-stage3-ld: maybe-all-build-flex
  44468. all-stage4-ld: maybe-all-build-flex
  44469. all-stageprofile-ld: maybe-all-build-flex
  44470. all-stagefeedback-ld: maybe-all-build-flex
  44471. all-ld: maybe-all-intl
  44472. all-stage1-ld: maybe-all-stage1-intl
  44473. all-stage2-ld: maybe-all-stage2-intl
  44474. all-stage3-ld: maybe-all-stage3-intl
  44475. all-stage4-ld: maybe-all-stage4-intl
  44476. all-stageprofile-ld: maybe-all-stageprofile-intl
  44477. all-stagefeedback-ld: maybe-all-stagefeedback-intl
  44478. all-ld: maybe-all-gas
  44479. all-stage1-ld: maybe-all-stage1-gas
  44480. all-stage2-ld: maybe-all-stage2-gas
  44481. all-stage3-ld: maybe-all-stage3-gas
  44482. all-stage4-ld: maybe-all-stage4-gas
  44483. all-stageprofile-ld: maybe-all-stageprofile-gas
  44484. all-stagefeedback-ld: maybe-all-stagefeedback-gas
  44485. all-ld: maybe-all-binutils
  44486. all-stage1-ld: maybe-all-stage1-binutils
  44487. all-stage2-ld: maybe-all-stage2-binutils
  44488. all-stage3-ld: maybe-all-stage3-binutils
  44489. all-stage4-ld: maybe-all-stage4-binutils
  44490. all-stageprofile-ld: maybe-all-stageprofile-binutils
  44491. all-stagefeedback-ld: maybe-all-stagefeedback-binutils
  44492. install-ld: maybe-install-gold
  44493. install-strip-ld: maybe-install-strip-gold
  44494. configure-gold: maybe-configure-intl
  44495. configure-stage1-gold: maybe-configure-stage1-intl
  44496. configure-stage2-gold: maybe-configure-stage2-intl
  44497. configure-stage3-gold: maybe-configure-stage3-intl
  44498. configure-stage4-gold: maybe-configure-stage4-intl
  44499. configure-stageprofile-gold: maybe-configure-stageprofile-intl
  44500. configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
  44501. all-gold: maybe-all-libiberty
  44502. all-stage1-gold: maybe-all-stage1-libiberty
  44503. all-stage2-gold: maybe-all-stage2-libiberty
  44504. all-stage3-gold: maybe-all-stage3-libiberty
  44505. all-stage4-gold: maybe-all-stage4-libiberty
  44506. all-stageprofile-gold: maybe-all-stageprofile-libiberty
  44507. all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
  44508. all-gold: maybe-all-intl
  44509. all-stage1-gold: maybe-all-stage1-intl
  44510. all-stage2-gold: maybe-all-stage2-intl
  44511. all-stage3-gold: maybe-all-stage3-intl
  44512. all-stage4-gold: maybe-all-stage4-intl
  44513. all-stageprofile-gold: maybe-all-stageprofile-intl
  44514. all-stagefeedback-gold: maybe-all-stagefeedback-intl
  44515. all-gold: maybe-all-bfd
  44516. all-stage1-gold: maybe-all-stage1-bfd
  44517. all-stage2-gold: maybe-all-stage2-bfd
  44518. all-stage3-gold: maybe-all-stage3-bfd
  44519. all-stage4-gold: maybe-all-stage4-bfd
  44520. all-stageprofile-gold: maybe-all-stageprofile-bfd
  44521. all-stagefeedback-gold: maybe-all-stagefeedback-bfd
  44522. all-gold: maybe-all-build-bison
  44523. all-stage1-gold: maybe-all-build-bison
  44524. all-stage2-gold: maybe-all-build-bison
  44525. all-stage3-gold: maybe-all-build-bison
  44526. all-stage4-gold: maybe-all-build-bison
  44527. all-stageprofile-gold: maybe-all-build-bison
  44528. all-stagefeedback-gold: maybe-all-build-bison
  44529. all-gold: maybe-all-gas
  44530. all-stage1-gold: maybe-all-stage1-gas
  44531. all-stage2-gold: maybe-all-stage2-gas
  44532. all-stage3-gold: maybe-all-stage3-gas
  44533. all-stage4-gold: maybe-all-stage4-gas
  44534. all-stageprofile-gold: maybe-all-stageprofile-gas
  44535. all-stagefeedback-gold: maybe-all-stagefeedback-gas
  44536. check-gold: maybe-all-binutils
  44537. check-stage1-gold: maybe-all-stage1-binutils
  44538. check-stage2-gold: maybe-all-stage2-binutils
  44539. check-stage3-gold: maybe-all-stage3-binutils
  44540. check-stage4-gold: maybe-all-stage4-binutils
  44541. check-stageprofile-gold: maybe-all-stageprofile-binutils
  44542. check-stagefeedback-gold: maybe-all-stagefeedback-binutils
  44543. check-gold: maybe-all-gas
  44544. check-stage1-gold: maybe-all-stage1-gas
  44545. check-stage2-gold: maybe-all-stage2-gas
  44546. check-stage3-gold: maybe-all-stage3-gas
  44547. check-stage4-gold: maybe-all-stage4-gas
  44548. check-stageprofile-gold: maybe-all-stageprofile-gas
  44549. check-stagefeedback-gold: maybe-all-stagefeedback-gas
  44550. configure-opcodes: maybe-configure-intl
  44551. configure-stage1-opcodes: maybe-configure-stage1-intl
  44552. configure-stage2-opcodes: maybe-configure-stage2-intl
  44553. configure-stage3-opcodes: maybe-configure-stage3-intl
  44554. configure-stage4-opcodes: maybe-configure-stage4-intl
  44555. configure-stageprofile-opcodes: maybe-configure-stageprofile-intl
  44556. configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
  44557. all-opcodes: maybe-all-bfd
  44558. all-stage1-opcodes: maybe-all-stage1-bfd
  44559. all-stage2-opcodes: maybe-all-stage2-bfd
  44560. all-stage3-opcodes: maybe-all-stage3-bfd
  44561. all-stage4-opcodes: maybe-all-stage4-bfd
  44562. all-stageprofile-opcodes: maybe-all-stageprofile-bfd
  44563. all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
  44564. all-opcodes: maybe-all-libiberty
  44565. all-stage1-opcodes: maybe-all-stage1-libiberty
  44566. all-stage2-opcodes: maybe-all-stage2-libiberty
  44567. all-stage3-opcodes: maybe-all-stage3-libiberty
  44568. all-stage4-opcodes: maybe-all-stage4-libiberty
  44569. all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
  44570. all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
  44571. all-opcodes: maybe-all-intl
  44572. all-stage1-opcodes: maybe-all-stage1-intl
  44573. all-stage2-opcodes: maybe-all-stage2-intl
  44574. all-stage3-opcodes: maybe-all-stage3-intl
  44575. all-stage4-opcodes: maybe-all-stage4-intl
  44576. all-stageprofile-opcodes: maybe-all-stageprofile-intl
  44577. all-stagefeedback-opcodes: maybe-all-stagefeedback-intl
  44578. all-dejagnu: maybe-all-tcl
  44579. all-dejagnu: maybe-all-expect
  44580. all-dejagnu: maybe-all-tk
  44581. configure-expect: maybe-configure-tcl
  44582. configure-expect: maybe-configure-tk
  44583. all-expect: maybe-all-tcl
  44584. all-expect: maybe-all-tk
  44585. configure-itcl: maybe-configure-tcl
  44586. configure-itcl: maybe-configure-tk
  44587. all-itcl: maybe-all-tcl
  44588. all-itcl: maybe-all-tk
  44589. install-itcl: maybe-install-tcl
  44590. install-strip-itcl: maybe-install-strip-tcl
  44591. configure-tk: maybe-configure-tcl
  44592. all-tk: maybe-all-tcl
  44593. all-sid: maybe-all-libiberty
  44594. all-sid: maybe-all-bfd
  44595. all-sid: maybe-all-opcodes
  44596. all-sid: maybe-all-tcl
  44597. all-sid: maybe-all-tk
  44598. install-sid: maybe-install-tcl
  44599. install-strip-sid: maybe-install-strip-tcl
  44600. install-sid: maybe-install-tk
  44601. install-strip-sid: maybe-install-strip-tk
  44602. configure-sim: maybe-configure-intl
  44603. all-sim: maybe-all-intl
  44604. all-sim: maybe-all-libiberty
  44605. all-sim: maybe-all-bfd
  44606. all-sim: maybe-all-opcodes
  44607. all-sim: maybe-all-readline
  44608. all-sim: maybe-configure-gdb
  44609. all-fastjar: maybe-all-zlib
  44610. all-fastjar: maybe-all-build-texinfo
  44611. all-fastjar: maybe-all-libiberty
  44612. all-bison: maybe-all-intl
  44613. all-bison: maybe-all-build-texinfo
  44614. all-flex: maybe-all-build-bison
  44615. all-flex: maybe-all-intl
  44616. all-flex: maybe-all-m4
  44617. all-flex: maybe-all-build-texinfo
  44618. all-m4: maybe-all-intl
  44619. all-m4: maybe-all-build-texinfo
  44620. configure-target-boehm-gc: maybe-all-target-libstdc++-v3
  44621. configure-target-fastjar: maybe-configure-target-zlib
  44622. all-target-fastjar: maybe-all-target-zlib
  44623. configure-target-libgo: maybe-configure-target-libffi
  44624. configure-target-libgo: maybe-all-target-libstdc++-v3
  44625. all-target-libgo: maybe-all-target-libbacktrace
  44626. all-target-libgo: maybe-all-target-libffi
  44627. all-target-libgo: maybe-all-target-libatomic
  44628. configure-target-libjava: maybe-configure-target-zlib
  44629. configure-target-libjava: maybe-configure-target-boehm-gc
  44630. configure-target-libjava: maybe-configure-target-libffi
  44631. all-target-libjava: maybe-all-fastjar
  44632. all-target-libjava: maybe-all-target-zlib
  44633. all-target-libjava: maybe-all-target-boehm-gc
  44634. all-target-libjava: maybe-all-target-libffi
  44635. configure-target-libobjc: maybe-configure-target-boehm-gc
  44636. all-target-libobjc: maybe-all-target-boehm-gc
  44637. configure-target-libstdc++-v3: maybe-configure-target-libgomp
  44638. configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
  44639. configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
  44640. configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
  44641. configure-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
  44642. configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
  44643. configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
  44644. configure-target-liboffloadmic: maybe-configure-target-libgomp
  44645. configure-target-libsanitizer: maybe-all-target-libstdc++-v3
  44646. configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
  44647. configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
  44648. configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
  44649. configure-stage4-target-libsanitizer: maybe-all-stage4-target-libstdc++-v3
  44650. configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libstdc++-v3
  44651. configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libstdc++-v3
  44652. configure-target-libvtv: maybe-all-target-libstdc++-v3
  44653. configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
  44654. configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
  44655. configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
  44656. configure-stage4-target-libvtv: maybe-all-stage4-target-libstdc++-v3
  44657. configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libstdc++-v3
  44658. configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-v3
  44659. all-target-libstdc++-v3: maybe-configure-target-libgomp
  44660. all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
  44661. all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
  44662. all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
  44663. all-stage4-target-libstdc++-v3: maybe-configure-stage4-target-libgomp
  44664. all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgomp
  44665. all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
  44666. all-target-liboffloadmic: maybe-all-target-libgomp
  44667. install-target-libgo: maybe-install-target-libatomic
  44668. install-target-libgfortran: maybe-install-target-libquadmath
  44669. install-target-libgfortran: maybe-install-target-libgcc
  44670. install-target-libsanitizer: maybe-install-target-libstdc++-v3
  44671. install-target-libsanitizer: maybe-install-target-libgcc
  44672. install-target-libvtv: maybe-install-target-libstdc++-v3
  44673. install-target-libvtv: maybe-install-target-libgcc
  44674. install-target-libcilkrts: maybe-install-target-libstdc++-v3
  44675. install-target-libcilkrts: maybe-install-target-libgcc
  44676. install-target-liboffloadmic: maybe-install-target-libstdc++-v3
  44677. install-target-liboffloadmic: maybe-install-target-libgcc
  44678. install-target-libjava: maybe-install-target-libgcc
  44679. install-target-libitm: maybe-install-target-libgcc
  44680. install-target-libobjc: maybe-install-target-libgcc
  44681. install-target-libstdc++-v3: maybe-install-target-libgcc
  44682. all-target-libgloss: maybe-all-target-newlib
  44683. all-target-winsup: maybe-all-target-libtermcap
  44684. configure-target-newlib: maybe-all-binutils
  44685. configure-target-newlib: maybe-all-ld
  44686. configure-target-libgfortran: maybe-all-target-libquadmath
  44687. # Dependencies for target modules on other target modules are
  44688. # described by lang_env_dependencies; the defaults apply to anything
  44689. # not mentioned there.
  44690. @if gcc-bootstrap
  44691. configure-stage1-target-libstdc++-v3: maybe-all-stage1-target-libgcc
  44692. configure-stage2-target-libstdc++-v3: maybe-all-stage2-target-libgcc
  44693. configure-stage3-target-libstdc++-v3: maybe-all-stage3-target-libgcc
  44694. configure-stage4-target-libstdc++-v3: maybe-all-stage4-target-libgcc
  44695. configure-stageprofile-target-libstdc++-v3: maybe-all-stageprofile-target-libgcc
  44696. configure-stagefeedback-target-libstdc++-v3: maybe-all-stagefeedback-target-libgcc
  44697. configure-stage1-target-libsanitizer: maybe-all-stage1-target-libgcc
  44698. configure-stage2-target-libsanitizer: maybe-all-stage2-target-libgcc
  44699. configure-stage3-target-libsanitizer: maybe-all-stage3-target-libgcc
  44700. configure-stage4-target-libsanitizer: maybe-all-stage4-target-libgcc
  44701. configure-stageprofile-target-libsanitizer: maybe-all-stageprofile-target-libgcc
  44702. configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libgcc
  44703. configure-stage1-target-libmpx: maybe-all-stage1-target-libgcc
  44704. configure-stage2-target-libmpx: maybe-all-stage2-target-libgcc
  44705. configure-stage3-target-libmpx: maybe-all-stage3-target-libgcc
  44706. configure-stage4-target-libmpx: maybe-all-stage4-target-libgcc
  44707. configure-stageprofile-target-libmpx: maybe-all-stageprofile-target-libgcc
  44708. configure-stagefeedback-target-libmpx: maybe-all-stagefeedback-target-libgcc
  44709. configure-stage1-target-libvtv: maybe-all-stage1-target-libgcc
  44710. configure-stage2-target-libvtv: maybe-all-stage2-target-libgcc
  44711. configure-stage3-target-libvtv: maybe-all-stage3-target-libgcc
  44712. configure-stage4-target-libvtv: maybe-all-stage4-target-libgcc
  44713. configure-stageprofile-target-libvtv: maybe-all-stageprofile-target-libgcc
  44714. configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libgcc
  44715. configure-stage1-target-libgomp: maybe-all-stage1-target-libgcc
  44716. configure-stage2-target-libgomp: maybe-all-stage2-target-libgcc
  44717. configure-stage3-target-libgomp: maybe-all-stage3-target-libgcc
  44718. configure-stage4-target-libgomp: maybe-all-stage4-target-libgcc
  44719. configure-stageprofile-target-libgomp: maybe-all-stageprofile-target-libgcc
  44720. configure-stagefeedback-target-libgomp: maybe-all-stagefeedback-target-libgcc
  44721. @endif gcc-bootstrap
  44722. @if gcc-no-bootstrap
  44723. configure-target-libstdc++-v3: maybe-all-target-libgcc
  44724. configure-target-libsanitizer: maybe-all-target-libgcc
  44725. configure-target-libmpx: maybe-all-target-libgcc
  44726. configure-target-libvtv: maybe-all-target-libgcc
  44727. configure-target-libcilkrts: maybe-all-target-libgcc
  44728. configure-target-liboffloadmic: maybe-all-target-libgcc
  44729. configure-target-libssp: maybe-all-target-libgcc
  44730. configure-target-newlib: maybe-all-target-libgcc
  44731. configure-target-libbacktrace: maybe-all-target-libgcc
  44732. configure-target-libquadmath: maybe-all-target-libgcc
  44733. configure-target-libgfortran: maybe-all-target-libgcc
  44734. configure-target-libobjc: maybe-all-target-libgcc
  44735. configure-target-libgo: maybe-all-target-libgcc
  44736. configure-target-libtermcap: maybe-all-target-libgcc
  44737. configure-target-winsup: maybe-all-target-libgcc
  44738. configure-target-libgloss: maybe-all-target-libgcc
  44739. configure-target-libffi: maybe-all-target-libgcc
  44740. configure-target-libjava: maybe-all-target-libgcc
  44741. configure-target-zlib: maybe-all-target-libgcc
  44742. configure-target-boehm-gc: maybe-all-target-libgcc
  44743. configure-target-rda: maybe-all-target-libgcc
  44744. configure-target-libada: maybe-all-target-libgcc
  44745. configure-target-libgomp: maybe-all-target-libgcc
  44746. configure-target-libitm: maybe-all-target-libgcc
  44747. configure-target-libatomic: maybe-all-target-libgcc
  44748. @endif gcc-no-bootstrap
  44749. configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
  44750. configure-target-libsanitizer: maybe-all-target-newlib maybe-all-target-libgloss
  44751. configure-target-libmpx: maybe-all-target-newlib maybe-all-target-libgloss
  44752. configure-target-libvtv: maybe-all-target-newlib maybe-all-target-libgloss
  44753. configure-target-libcilkrts: maybe-all-target-newlib maybe-all-target-libgloss
  44754. configure-target-libcilkrts: maybe-all-target-libstdc++-v3
  44755. configure-target-liboffloadmic: maybe-all-target-newlib maybe-all-target-libgloss
  44756. configure-target-liboffloadmic: maybe-all-target-libstdc++-v3
  44757. configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
  44758. configure-target-libbacktrace: maybe-all-target-newlib maybe-all-target-libgloss
  44759. configure-target-libquadmath: maybe-all-target-newlib maybe-all-target-libgloss
  44760. configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
  44761. configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
  44762. configure-target-libgo: maybe-all-target-newlib maybe-all-target-libgloss
  44763. configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
  44764. configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
  44765. configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
  44766. configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
  44767. configure-target-libjava: maybe-all-target-libstdc++-v3
  44768. configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
  44769. configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
  44770. configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
  44771. configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
  44772. configure-target-libgomp: maybe-all-target-newlib maybe-all-target-libgloss
  44773. configure-target-libitm: maybe-all-target-newlib maybe-all-target-libgloss
  44774. configure-target-libitm: maybe-all-target-libstdc++-v3
  44775. configure-target-libatomic: maybe-all-target-newlib maybe-all-target-libgloss
  44776. CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
  44777. GDB_TK = @GDB_TK@
  44778. INSTALL_GDB_TK = @INSTALL_GDB_TK@
  44779. configure-gdb: $(CONFIGURE_GDB_TK)
  44780. all-gdb: $(gdbnlmrequirements) $(GDB_TK)
  44781. install-gdb: $(INSTALL_GDB_TK)
  44782. # Serialization dependencies. Host configures don't work well in parallel to
  44783. # each other, due to contention over config.cache. Target configures and
  44784. # build configures are similar.
  44785. @serialization_dependencies@
  44786. # --------------------------------
  44787. # Regenerating top level configury
  44788. # --------------------------------
  44789. # Rebuilding Makefile.in, using autogen.
  44790. AUTOGEN = autogen
  44791. $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
  44792. cd $(srcdir) && $(AUTOGEN) Makefile.def
  44793. # Rebuilding Makefile.
  44794. Makefile: $(srcdir)/Makefile.in config.status
  44795. CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
  44796. config.status: configure
  44797. CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
  44798. # Rebuilding configure.
  44799. AUTOCONF = autoconf
  44800. $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(srcdir)/config/acx.m4 \
  44801. $(srcdir)/config/override.m4 $(srcdir)/config/proginstall.m4
  44802. cd $(srcdir) && $(AUTOCONF)
  44803. # ------------------------------
  44804. # Special directives to GNU Make
  44805. # ------------------------------
  44806. # Don't pass command-line variables to submakes.
  44807. .NOEXPORT:
  44808. MAKEOVERRIDES=
  44809. # end of Makefile.in