makepanda.py 302 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258
  1. #!/usr/bin/python
  2. ########################################################################
  3. #
  4. # Caution: there are two separate, independent build systems:
  5. # 'makepanda', and 'ppremake'. Use one or the other, do not attempt
  6. # to use both. This file is part of the 'makepanda' system.
  7. #
  8. # To build panda using this script, type 'makepanda.py' on unix
  9. # or 'makepanda.bat' on windows, and examine the help-text.
  10. # Then run the script again with the appropriate options to compile
  11. # panda3d.
  12. #
  13. ########################################################################
  14. import sys,os,time,stat,string,re,getopt,cPickle
  15. ########################################################################
  16. ##
  17. ## Utility Routines
  18. ##
  19. ## filedate(f) - returns the last modified date of the specified file.
  20. ## youngest(f1,f2...) - returns date of most recently modified file.
  21. ## older(f,f1,f2...) - return true if f is older than all the others.
  22. ## xpaths(pre,pathlist,suf) - appends prefix and suffix to every path.
  23. ##
  24. ########################################################################
  25. global FileDateCache
  26. FileDateCache = {}
  27. def filedate(path):
  28. global FileDateCache
  29. if (FileDateCache.has_key(path)):
  30. return FileDateCache[path]
  31. try: date = os.path.getmtime(path)
  32. except: date = 0
  33. FileDateCache[path] = date
  34. return date
  35. def updatefiledate(path):
  36. global FileDateCache
  37. try: date = os.path.getmtime(path)
  38. except: date = 0
  39. FileDateCache[path] = date
  40. def youngest(files):
  41. if (type(files) == str):
  42. source = filedate(files)
  43. if (source==0):
  44. sys.exit("Error: source file not readable: "+files)
  45. return source
  46. result = 0
  47. for sfile in files:
  48. source = youngest(sfile)
  49. if (source > result): result = source
  50. return result
  51. def older(file,others):
  52. return (filedate(file)<youngest(others))
  53. def xpaths(prefix,base,suffix):
  54. if (type(base) == str):
  55. return prefix + base + suffix
  56. result = []
  57. for x in base:
  58. result.append(xpaths(prefix,x,suffix))
  59. return result
  60. if (sys.platform == "win32"):
  61. import _winreg
  62. def GetRegistryKey(path, subkey):
  63. k1=0
  64. key=0
  65. try:
  66. key = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, path, 0, _winreg.KEY_READ)
  67. k1, k2 = _winreg.QueryValueEx(key, subkey)
  68. except: pass
  69. if (key!=0): _winreg.CloseKey(key)
  70. return k1
  71. def oslocalcmd(cd, cmd):
  72. if (cd != "."):
  73. print "cd "+cd+" ; "+cmd
  74. base=os.getcwd()
  75. os.chdir(cd)
  76. else:
  77. print cmd
  78. sys.stdout.flush()
  79. if (sys.platform == "win32"):
  80. exe = cmd.split()[0]
  81. if (os.path.isfile(exe)==0):
  82. for i in os.environ["PATH"].split(";"):
  83. if os.path.isfile(os.path.join(i, exe)):
  84. exe = os.path.join(i, exe)
  85. break
  86. if (os.path.isfile(exe)==0):
  87. sys.exit("Cannot find "+exe+" on search path")
  88. res = os.spawnl(os.P_WAIT, exe, cmd)
  89. else: res = os.system(cmd)
  90. if (res != 0):
  91. sys.exit(1)
  92. if (cd != "."):
  93. os.chdir(base)
  94. def oscmd(cmd):
  95. oslocalcmd(".",cmd)
  96. def osmove(src,dst):
  97. """
  98. Move src file or directory to dst. dst will be removed if it
  99. exists (i.e. overwritten).
  100. """
  101. global VERBOSE
  102. if VERBOSE >= 1:
  103. print "Moving \"%s\" to \"%s\""%(src, dst)
  104. try: os.remove(dst)
  105. except OSError: pass
  106. os.rename(src, dst)
  107. def replaceInFile(srcPath, dstPath, replaceA, withB):
  108. global VERBOSE
  109. if VERBOSE >= 1:
  110. print "Replacing '%s' in \"%s\" with '%s' and writing it to \"%s\""%(
  111. replaceA, srcPath, withB, dstPath)
  112. f=file(srcPath, "rb")
  113. data=f.read()
  114. f.close()
  115. data=data.replace(replaceA, withB)
  116. f=file(dstPath, "wb")
  117. f.write(data)
  118. f.close()
  119. def buildingwhat(opts):
  120. building = 0
  121. for x in opts:
  122. if (x[:9]=="BUILDING_"): building = x[9:]
  123. return building
  124. def ReadFile(wfile):
  125. try:
  126. srchandle = open(wfile, "rb")
  127. data = srchandle.read()
  128. srchandle.close()
  129. return data
  130. except: sys.exit("Cannot read "+wfile)
  131. def WriteFile(wfile,data):
  132. try:
  133. dsthandle = open(wfile, "wb")
  134. dsthandle.write(data)
  135. dsthandle.close()
  136. except: sys.exit("Cannot write "+wfile)
  137. def prettyTime(t):
  138. t = int(t)
  139. hours = t/3600
  140. t -= hours*3600
  141. minutes = t/60
  142. t -= minutes*60
  143. seconds = t
  144. if (hours): return str(hours)+" hours "+str(minutes)+" min"
  145. if (minutes): return str(minutes)+" min "+str(seconds)+" sec"
  146. return str(seconds)+" sec"
  147. ########################################################################
  148. ##
  149. ## MakeDirectory
  150. ##
  151. ## Make a directory in the build tree
  152. ##
  153. ########################################################################
  154. def MakeDirectory(path):
  155. if os.path.isdir(path): return 0
  156. os.mkdir(path)
  157. ########################################################################
  158. ##
  159. ## Default options:
  160. ##
  161. ## You might be tempted to change the defaults by editing them
  162. ## here. Don't do it. Instead, create a script that compiles
  163. ## panda with your preferred options.
  164. ##
  165. ########################################################################
  166. if (sys.platform == "win32"): COMPILERS=["MSVC7"]
  167. if (sys.platform == "linux2"): COMPILERS=["LINUXA"]
  168. PREFIX="built"
  169. COMPILER=COMPILERS[0]
  170. OPTIMIZE="3"
  171. INSTALLER=0
  172. PPGAME=0
  173. COMPLETE=0
  174. THIRDPARTY="thirdparty"
  175. VERSION="0.0.0"
  176. VERBOSE=1
  177. COMPRESSOR="zlib"
  178. PACKAGES=["ZLIB","PNG","JPEG","TIFF","VRPN","FMOD","NVIDIACG","HELIX","NSPR",
  179. "SSL","FREETYPE","FFTW","MILES","MAYA5","MAYA6","MAX5","MAX6","MAX7"]
  180. OMIT=PACKAGES[:]
  181. WARNINGS=[]
  182. DIRECTXSDK=None
  183. STARTTIME=time.time()
  184. ##########################################################################################
  185. #
  186. # Read the default version number out of dtool/PandaVersion.pp
  187. #
  188. ##########################################################################################
  189. try:
  190. f = file("dtool/PandaVersion.pp","r")
  191. pattern = re.compile('^[ \t]*[#][ \t]*define[ \t]+PANDA_VERSION[ \t]+([0-9]+)[ \t]+([0-9]+)[ \t]+([0-9]+)')
  192. for line in f:
  193. match = pattern.match(line,0)
  194. if (match):
  195. VERSION = match.group(1)+"."+match.group(2)+"."+match.group(3)
  196. break
  197. f.close()
  198. except: pass
  199. ##########################################################################################
  200. #
  201. # Initialize DTOOLCONFIG based on platform (Win/Unix)
  202. #
  203. # These are the defaults for the two broad classes of operating system.
  204. # Subsequent analysis will cause these values to be tweaked.
  205. #
  206. ##########################################################################################
  207. DTOOLDEFAULTS=[
  208. #_Variable_________________________Windows___________________Unix__________
  209. ("HAVE_PYTHON", '1', '1'),
  210. ("PYTHON_FRAMEWORK", 'UNDEF', 'UNDEF'),
  211. ("COMPILE_IN_DEFAULT_FONT", '1', '1'),
  212. ("HAVE_MAYA", '1', '1'),
  213. ("MAYA_PRE_5_0", 'UNDEF', 'UNDEF'),
  214. ("HAVE_SOFTIMAGE", 'UNDEF', 'UNDEF'),
  215. ("SSL_097", 'UNDEF', 'UNDEF'),
  216. ("REPORT_OPENSSL_ERRORS", '1', '1'),
  217. ("HAVE_GL", '1', '1'),
  218. ("HAVE_MESA", 'UNDEF', 'UNDEF'),
  219. ("MESA_MGL", 'UNDEF', 'UNDEF'),
  220. ("HAVE_SGIGL", 'UNDEF', 'UNDEF'),
  221. ("HAVE_GLX", 'UNDEF', '1'),
  222. ("HAVE_WGL", '1', 'UNDEF'),
  223. ("HAVE_DX", '1', 'UNDEF'),
  224. ("HAVE_CHROMIUM", 'UNDEF', 'UNDEF'),
  225. ("HAVE_THREADS", 'UNDEF', 'UNDEF'),
  226. ("HAVE_AUDIO", '1', '1'),
  227. ("NOTIFY_DEBUG", 'UNDEF', 'UNDEF'),
  228. ("DO_PSTATS", 'UNDEF', 'UNDEF'),
  229. ("DO_COLLISION_RECORDING", 'UNDEF', 'UNDEF'),
  230. ("TRACK_IN_INTERPRETER", 'UNDEF', 'UNDEF'),
  231. ("DO_MEMORY_USAGE", 'UNDEF', 'UNDEF'),
  232. ("DO_PIPELINING", 'UNDEF', 'UNDEF'),
  233. ("EXPORT_TEMPLATES", 'yes', 'yes'),
  234. ("LINK_IN_GL", 'UNDEF', 'UNDEF'),
  235. ("LINK_IN_PHYSICS", 'UNDEF', 'UNDEF'),
  236. ("DEFAULT_PATHSEP", '";"', '":"'),
  237. ("DEFAULT_PRC_DIR", '"<auto>etc"', '"<auto>etc"'),
  238. ("PRC_DIR_ENVVARS", '"PANDA_PRC_DIR"', '"PANDA_PRC_DIR"'),
  239. ("PRC_PATH_ENVVARS", '"PANDA_PRC_PATH"', '"PANDA_PRC_PATH"'),
  240. ("PRC_PATTERNS", '"*.prc"', '"*.prc"'),
  241. ("PRC_EXECUTABLE_PATTERNS", '""', '""'),
  242. ("PRC_EXECUTABLE_ARGS_ENVVAR", '"PANDA_PRC_XARGS"', '"PANDA_PRC_XARGS"'),
  243. ("PRC_PUBLIC_KEYS_FILENAME", '""', '""'),
  244. ("PRC_RESPECT_TRUST_LEVEL", 'UNDEF', 'UNDEF'),
  245. ("PRC_SAVE_DESCRIPTIONS", '1', '1'),
  246. ("WORDS_BIGENDIAN", 'UNDEF', 'UNDEF'),
  247. ("HAVE_NAMESPACE", '1', '1'),
  248. ("HAVE_OPEN_MASK", 'UNDEF', 'UNDEF'),
  249. ("HAVE_WCHAR_T", '1', '1'),
  250. ("HAVE_WSTRING", '1', '1'),
  251. ("HAVE_TYPENAME", '1', '1'),
  252. ("SIMPLE_STRUCT_POINTERS", '1', 'UNDEF'),
  253. ("HAVE_DINKUM", 'UNDEF', 'UNDEF'),
  254. ("HAVE_STL_HASH", 'UNDEF', 'UNDEF'),
  255. ("HAVE_GETTIMEOFDAY", 'UNDEF', '1'),
  256. ("GETTIMEOFDAY_ONE_PARAM", 'UNDEF', 'UNDEF'),
  257. ("HAVE_GETOPT", 'UNDEF', '1'),
  258. ("HAVE_GETOPT_LONG_ONLY", 'UNDEF', '1'),
  259. ("HAVE_GETOPT_H", 'UNDEF', '1'),
  260. ("IOCTL_TERMINAL_WIDTH", 'UNDEF', '1'),
  261. ("HAVE_STREAMSIZE", '1', '1'),
  262. ("HAVE_IOS_TYPEDEFS", '1', '1'),
  263. ("HAVE_IOS_BINARY", '1', '1'),
  264. ("STATIC_INIT_GETENV", '1', 'UNDEF'),
  265. ("HAVE_PROC_SELF_EXE", 'UNDEF', '1'),
  266. ("HAVE_PROC_SELF_MAPS", 'UNDEF', '1'),
  267. ("HAVE_PROC_SELF_ENVIRON", 'UNDEF', '1'),
  268. ("HAVE_PROC_SELF_CMDLINE", 'UNDEF', '1'),
  269. ("HAVE_GLOBAL_ARGV", '1', 'UNDEF'),
  270. ("PROTOTYPE_GLOBAL_ARGV", 'UNDEF', 'UNDEF'),
  271. ("GLOBAL_ARGV", '__argv', 'UNDEF'),
  272. ("GLOBAL_ARGC", '__argc', 'UNDEF'),
  273. ("HAVE_IO_H", '1', 'UNDEF'),
  274. ("HAVE_IOSTREAM", '1', '1'),
  275. ("HAVE_MALLOC_H", '1', '1'),
  276. ("HAVE_SYS_MALLOC_H", 'UNDEF', 'UNDEF'),
  277. ("HAVE_ALLOCA_H", 'UNDEF', '1'),
  278. ("HAVE_LOCALE_H", 'UNDEF', '1'),
  279. ("HAVE_MINMAX_H", '1', 'UNDEF'),
  280. ("HAVE_SSTREAM", '1', '1'),
  281. ("HAVE_NEW", '1', '1'),
  282. ("HAVE_SYS_TYPES_H", '1', '1'),
  283. ("HAVE_SYS_TIME_H", 'UNDEF', '1'),
  284. ("HAVE_UNISTD_H", 'UNDEF', '1'),
  285. ("HAVE_UTIME_H", 'UNDEF', '1'),
  286. ("HAVE_GLOB_H", 'UNDEF', '1'),
  287. ("HAVE_DIRENT_H", 'UNDEF', '1'),
  288. ("HAVE_SYS_SOUNDCARD_H", 'UNDEF', '1'),
  289. ("HAVE_RTTI", '1', '1'),
  290. ("GLOBAL_OPERATOR_NEW_EXCEPTIONS", 'UNDEF', '1'),
  291. ("OLD_STYLE_ALLOCATOR", 'UNDEF', 'UNDEF'),
  292. ("GNU_STYLE_ALLOCATOR", 'UNDEF', '1'),
  293. ("VC6_STYLE_ALLOCATOR", 'UNDEF', 'UNDEF'),
  294. ("MODERN_STYLE_ALLOCATOR", 'UNDEF', 'UNDEF'),
  295. ("NO_STYLE_ALLOCATOR", '1', 'UNDEF'),
  296. ("HAVE_ZLIB", 'UNDEF', 'UNDEF'),
  297. ("HAVE_PNG", 'UNDEF', 'UNDEF'),
  298. ("HAVE_JPEG", 'UNDEF', 'UNDEF'),
  299. ("HAVE_TIFF", 'UNDEF', 'UNDEF'),
  300. ("HAVE_VRPN", 'UNDEF', 'UNDEF'),
  301. ("HAVE_FMOD", 'UNDEF', 'UNDEF'),
  302. ("HAVE_NVIDIACG", 'UNDEF', 'UNDEF'),
  303. ("HAVE_NSPR", 'UNDEF', 'UNDEF'),
  304. ("HAVE_FREETYPE", 'UNDEF', 'UNDEF'),
  305. ("HAVE_FFTW", 'UNDEF', 'UNDEF'),
  306. ("HAVE_SSL", 'UNDEF', 'UNDEF'),
  307. ("HAVE_NET", 'UNDEF', 'UNDEF'),
  308. ]
  309. DTOOLCONFIG={}
  310. if (sys.platform == "win32"):
  311. for key,win,unix in DTOOLDEFAULTS:
  312. DTOOLCONFIG[key] = win
  313. else:
  314. for key,win,unix in DTOOLDEFAULTS:
  315. DTOOLCONFIG[key] = unix
  316. ########################################################################
  317. ##
  318. ## Help with packages.
  319. ##
  320. ## Output some brief information to help someone understand what the
  321. ## package options are.
  322. ##
  323. ########################################################################
  324. def packageInfo():
  325. print """
  326. See panda3d/doc/INSTALL-PP for more detailed information.
  327. 3D modeling an painting packages:
  328. MAX5 3D Studio Max version 5
  329. MAX6 3D Studio Max version 6
  330. MAX7 3D Studio Max version 7
  331. "uri?"
  332. (for .??? files)
  333. MAYA5 Maya version 5
  334. MAYA6 Maya version 6
  335. "uri?"
  336. (for .??? files)
  337. Audio playback:
  338. FMOD f mod
  339. "http://www.fmod.org/"
  340. A music and sound effects library (including playback).
  341. (for .wav, .mp3 and other files)
  342. MILES Miles Sound System from RAD Game Tools
  343. "http://www.radgametools.com/default.htm"
  344. A proprietary (non-opensource) audio library.
  345. (for .wav, .mp3, and other files).
  346. Compression/decompression:
  347. ZLIB z lib
  348. "http://www.gzip.org/zlib"
  349. A commression/decomression library.
  350. (for .zip and similar files and data)
  351. Font manipulation:
  352. FREETYPE free type
  353. "http://www.freetype.org/"
  354. A font manipulation library.
  355. (for .ttf files).
  356. Image support libraries:
  357. JPEG Join Photographic Experts Group
  358. "http://www.ijg.org"
  359. An image library.
  360. (.jpg and .jpeg files)
  361. PNG Portable Network Graphics
  362. "http://www.libpng.org"
  363. An image library.
  364. (.png files)
  365. TIFF Tagged Image File Format
  366. "ftp://ftp.sgi.com/graphics/tiff"
  367. An image library.
  368. (.tiff files)
  369. Misc libraries:
  370. HELIX
  371. "uri?"
  372. (for .??? files)
  373. A ??? library.
  374. FFTW Fast Fourier Transform (in the West)
  375. "http://www.fftw.org/"
  376. A library for computing DFT in one or more dimensions.
  377. NVIDIACG nVidia cg
  378. "http://developer.nvidia.com/page/cg_main.html"
  379. (for .??? files)
  380. A library for gpu programming (shaders and such).
  381. Network communication:
  382. SSL Open Secure Socket Layer
  383. "http://www.openssl.org/"
  384. A network encryption library.
  385. NSPR Netscape Portable Runtime
  386. "http://www.mozilla.org/projects/nspr/"
  387. Used for network sockets and threading.
  388. User input:
  389. VRPN Virtual Reality Peripheral Network
  390. "http://www.cs.unc.edu/Research/vrpn/"
  391. A controller/peripheral input library.
  392. """
  393. sys.exit(1)
  394. ########################################################################
  395. ##
  396. ## Command-line parser.
  397. ##
  398. ## You can type "makepanda --help" to see all the options.
  399. ##
  400. ########################################################################
  401. def usage(problem):
  402. if (problem):
  403. print ""
  404. print problem
  405. print ""
  406. print "Makepanda generates a 'built' subdirectory containing a"
  407. print "compiled copy of Panda3D. Command-line arguments are:"
  408. print ""
  409. print " --help (print the help message you're reading now)"
  410. print " --package-info (help info about the optional packages)"
  411. print " --prefix X (install into prefix dir, default \"built\")"
  412. print " --compiler X (currently, compiler can only be MSVC7,LINUXA)"
  413. print " --optimize X (optimization level can be 1,2,3,4)"
  414. print " --thirdparty X (directory containing third-party software)"
  415. print " --complete (copy samples and direct into the build)"
  416. print " --installer (build an executable installer)"
  417. print " --ppgame X (build a prepackaged game - see manual)"
  418. print " --v1 X (set the major version number)"
  419. print " --v2 X (set the minor version number)"
  420. print " --v3 X (set the sequence version number)"
  421. print " --lzma (use lzma compression when building installer)"
  422. print ""
  423. for pkg in PACKAGES:
  424. p = pkg.lower()
  425. print " --use-%-9s --no-%-9s (enable/disable use of %s)"%(p, p, pkg)
  426. print ""
  427. print " --nothing (disable every third-party lib)"
  428. print " --everything (enable every third-party lib)"
  429. print ""
  430. print " --quiet (print less output)"
  431. print " --verbose (print more output and debugging info)"
  432. print ""
  433. print "The simplest way to compile panda is to just type:"
  434. print ""
  435. print " makepanda --everything"
  436. print ""
  437. sys.exit(1)
  438. def parseopts(args):
  439. global PREFIX,COMPILER,OPTIMIZE,OMIT,THIRDPARTY,INSTALLER,PPGAME
  440. global COPYEXTRAS,VERSION,COMPRESSOR,DIRECTXSDK,VERBOSE
  441. longopts = [
  442. "help","package-info","prefix=","compiler=","directx-sdk=","thirdparty=",
  443. "optimize=","everything","nothing","installer","ppgame=","quiet","verbose",
  444. "complete","version=","lzma"]
  445. anything = 0
  446. for pkg in PACKAGES: longopts.append("no-"+pkg.lower())
  447. for pkg in PACKAGES: longopts.append("use-"+pkg.lower())
  448. try:
  449. opts, extras = getopt.getopt(args, "", longopts)
  450. for option,value in opts:
  451. if (option=="--help"): raise "usage"
  452. elif (option=="--package-info"): raise "package-info"
  453. elif (option=="--prefix"): PREFIX=value
  454. elif (option=="--compiler"): COMPILER=value
  455. elif (option=="--directx-sdk"): DIRECTXSDK=value
  456. elif (option=="--thirdparty"): THIRDPARTY=value
  457. elif (option=="--optimize"): OPTIMIZE=value
  458. elif (option=="--quiet"): VERBOSE-=1
  459. elif (option=="--verbose"): VERBOSE+=1
  460. elif (option=="--installer"): INSTALLER=1
  461. elif (option=="--ppgame"): PPGAME=value
  462. elif (option=="--complete"): COMPLETE=1
  463. elif (option=="--everything"): OMIT=[]
  464. elif (option=="--nothing"): OMIT=PACKAGES[:]
  465. elif (option=="--version"):
  466. VERSION=value
  467. if (len(VERSION.split(".")) != 3): raise "usage"
  468. elif (option=="--lzma"): COMPRESSOR="lzma"
  469. else:
  470. for pkg in PACKAGES:
  471. if (option=="--use-"+pkg.lower()):
  472. if (OMIT.count(pkg)): OMIT.remove(pkg)
  473. break
  474. for pkg in PACKAGES:
  475. if (option=="--no-"+pkg.lower()):
  476. if (OMIT.count(pkg)==0): OMIT.append(pkg)
  477. break
  478. anything = 1
  479. except "package-info": packageInfo()
  480. except: usage(0)
  481. if (anything==0): usage(0)
  482. if (OPTIMIZE=="1"): OPTIMIZE=1
  483. elif (OPTIMIZE=="2"): OPTIMIZE=2
  484. elif (OPTIMIZE=="3"): OPTIMIZE=3
  485. elif (OPTIMIZE=="4"): OPTIMIZE=4
  486. else: usage("Invalid setting for OPTIMIZE")
  487. if (COMPILERS.count(COMPILER)==0): usage("Invalid setting for COMPILER: "+COMPILER)
  488. parseopts(sys.argv[1:])
  489. ########################################################################
  490. #
  491. # Avoid trouble by not allowing weird --prefix or --thirdparty
  492. #
  493. # One of my goals for makepanda was for it to be maintainable.
  494. # I found that trying to support arbitrary pathnames for "prefix"
  495. # and "thirdparty" required the use of lots of backslashes and
  496. # quotation marks, which were quite frankly hard to get right.
  497. # I think it's better to simply rule out weird pathnames.
  498. #
  499. ########################################################################
  500. PREFIX = PREFIX.replace("\\","/")
  501. THIRDPARTY = THIRDPARTY.replace("\\","/")
  502. if (PREFIX.count(" ") or THIRDPARTY.count(" ")):
  503. sys.exit("The --prefix and --thirdparty may not contain spaces")
  504. if (PREFIX.count('"') or THIRDPARTY.count('"')):
  505. sys.exit("The --prefix and --thirdparty may not contain quotation marks")
  506. ########################################################################
  507. #
  508. # Locate the root of the panda tree
  509. #
  510. ########################################################################
  511. PANDASOURCE=os.path.dirname(os.path.abspath(sys.path[0]))
  512. if ((os.path.exists(os.path.join(PANDASOURCE,"makepanda/makepanda.py"))==0) or
  513. (os.path.exists(os.path.join(PANDASOURCE,"dtool","src","dtoolbase","dtoolbase.h"))==0) or
  514. (os.path.exists(os.path.join(PANDASOURCE,"panda","src","pandabase","pandabase.h"))==0)):
  515. sys.exit("I am unable to locate the root of the panda source tree.")
  516. os.chdir(PANDASOURCE)
  517. ########################################################################
  518. ##
  519. ## Locate the DirectX SDK
  520. ##
  521. ########################################################################
  522. if sys.platform == "win32" and DIRECTXSDK is None:
  523. dxdir = GetRegistryKey("SOFTWARE\\Microsoft\\DirectX SDK", "DX9SDK Samples Path")
  524. if (dxdir != 0): DIRECTXSDK = os.path.dirname(dxdir)
  525. else:
  526. dxdir = GetRegistryKey("SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment","DXSDK_DIR")
  527. if (dxdir != 0): DIRECTXSDK=dxdir
  528. else:
  529. dxdir = GetRegistryKey("SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment","DXSDKROOT")
  530. if dxdir != 0:
  531. if dxdir[-2:]=="/.":
  532. DIRECTXSDK=dxdir[:-1]
  533. else:
  534. DIRECTXSDK=dxdir
  535. else:
  536. sys.exit("The registry does not appear to contain a pointer to the DirectX 9.0 SDK.")
  537. DIRECTXSDK=DIRECTXSDK.replace("\\", "/")
  538. ########################################################################
  539. ##
  540. ## Locate the Python SDK
  541. ##
  542. ########################################################################
  543. if sys.platform == "win32":
  544. PythonSDK="python2.2"
  545. if 0: # Needs testing:
  546. if (os.path.isdir("C:/Python22")): PythonSDK = "C:/Python22"
  547. elif (os.path.isdir("C:/Python23")): PythonSDK = "C:/Python23"
  548. elif (os.path.isdir("C:/Python24")): PythonSDK = "C:/Python24"
  549. elif (os.path.isdir("C:/Python25")): PythonSDK = "C:/Python25"
  550. else: sys.exit("Cannot find the python SDK")
  551. else:
  552. if (os.path.isdir("/usr/include/python2.5")): PythonSDK = "/usr/include/python2.5"
  553. elif (os.path.isdir("/usr/include/python2.4")): PythonSDK = "/usr/include/python2.4"
  554. elif (os.path.isdir("/usr/include/python2.3")): PythonSDK = "/usr/include/python2.3"
  555. elif (os.path.isdir("/usr/include/python2.2")): PythonSDK = "/usr/include/python2.2"
  556. else: sys.exit("Cannot find the python SDK")
  557. # this is so that the user can find out which version of python was used.
  558. ########################################################################
  559. ##
  560. ## Locate the Maya 5.0 SDK
  561. ##
  562. ########################################################################
  563. if (OMIT.count("MAYA5")==0):
  564. if (sys.platform == "win32"):
  565. Maya5SDK = GetRegistryKey("SOFTWARE\\Alias|Wavefront\\Maya\\5.0\\Setup\\InstallPath", "MAYA_INSTALL_LOCATION")
  566. if (Maya5SDK == 0):
  567. WARNINGS.append("The registry does not appear to contain a pointer to the Maya 5 SDK.")
  568. WARNINGS.append("I have automatically added this command-line option: --no-maya5")
  569. OMIT.append("MAYA5")
  570. else:
  571. WARNINGS.append("MAYA5 not yet supported under linux")
  572. WARNINGS.append("I have automatically added this command-line option: --no-maya5")
  573. OMIT.append("MAYA5")
  574. ########################################################################
  575. ##
  576. ## Locate the Maya 6.0 SDK
  577. ##
  578. ########################################################################
  579. if (OMIT.count("MAYA6")==0):
  580. if (sys.platform == "win32"):
  581. Maya6SDK = GetRegistryKey("SOFTWARE\\Alias|Wavefront\\Maya\\6.0\\Setup\\InstallPath", "MAYA_INSTALL_LOCATION")
  582. if (Maya6SDK == 0):
  583. WARNINGS.append("The registry does not appear to contain a pointer to the Maya 6 SDK.")
  584. WARNINGS.append("I have automatically added this command-line option: --no-maya6")
  585. OMIT.append("MAYA6")
  586. else:
  587. WARNINGS.append("MAYA6 not yet supported under linux")
  588. WARNINGS.append("I have automatically added this command-line option: --no-maya6")
  589. OMIT.append("MAYA6")
  590. ########################################################################
  591. ##
  592. ## Locate the 3D Studio Max and Character Studio SDKs
  593. ##
  594. ########################################################################
  595. MAXVERSIONS = [("MAX5", "SOFTWARE\\Autodesk\\3DSMAX\\5.0\\MAX-1:409", "uninstallpath", "Cstudio\\Sdk"),
  596. ("MAX6", "SOFTWARE\\Autodesk\\3DSMAX\\6.0", "installdir", "maxsdk\\cssdk\\include"),
  597. ("MAX7", "SOFTWARE\\Autodesk\\3DSMAX\\7.0", "Installdir", "maxsdk\\include\\CS")]
  598. MAXSDK = {}
  599. MAXSDKCS = {}
  600. for version,key1,key2,subdir in MAXVERSIONS:
  601. if (OMIT.count(version)==0):
  602. if (sys.platform == "win32"):
  603. top = GetRegistryKey(key1,key2)
  604. if (top == 0):
  605. WARNINGS.append("The registry does not appear to contain a pointer to "+version)
  606. WARNINGS.append("I have automatically added this command-line option: --no-"+version.lower())
  607. OMIT.append(version)
  608. else:
  609. if (os.path.isdir(top + "\\" + subdir)==0):
  610. WARNINGS.append("Your copy of "+version+" does not include the character studio SDK")
  611. WARNINGS.append("I have automatically added this command-line option: --no-"+version.lower())
  612. OMIT.append(version)
  613. else:
  614. MAXSDK[version] = top + "maxsdk\\"
  615. MAXSDKCS[version] = top + subdir
  616. else:
  617. WARNINGS.append(version+" not yet supported under linux")
  618. WARNINGS.append("I have automatically added this command-line option: --no-"+version.lower())
  619. OMIT.append(version)
  620. ########################################################################
  621. ##
  622. ## Locate Visual Studio 7.0 or 7.1
  623. ##
  624. ## The visual studio compiler doesn't work unless you set up a
  625. ## couple of environment variables to point at the compiler.
  626. ##
  627. ########################################################################
  628. if (COMPILER == "MSVC7"):
  629. vcdir = GetRegistryKey("SOFTWARE\\Microsoft\\VisualStudio\\7.1", "InstallDir")
  630. if ((vcdir == 0) or (vcdir[-13:] != "\\Common7\\IDE\\")):
  631. vcdir = GetRegistryKey("SOFTWARE\\Microsoft\\VisualStudio\\7.0", "InstallDir")
  632. if ((vcdir == 0) or (vcdir[-13:] != "\\Common7\\IDE\\")):
  633. sys.exit("The registry does not appear to contain a pointer to the Visual Studio 7 install directory")
  634. vcdir = vcdir[:-12]
  635. old_env_path = ""
  636. old_env_include = ""
  637. old_env_lib = ""
  638. if (os.environ.has_key("PATH")): old_env_path = os.environ["PATH"]
  639. if (os.environ.has_key("INCLUDE")): old_env_include = os.environ["INCLUDE"]
  640. if (os.environ.has_key("LIB")): old_env_lib = os.environ["LIB"]
  641. os.environ["PATH"] = vcdir + "vc7\\bin;" + vcdir + "Common7\\IDE;" + vcdir + "Common7\\Tools;" + vcdir + "Common7\\Tools\\bin\\prerelease;" + vcdir + "Common7\\Tools\\bin;" + old_env_path
  642. os.environ["INCLUDE"] = vcdir + "vc7\\ATLMFC\\INCLUDE;" + vcdir + "vc7\\include;" + vcdir + "vc7\\PlatformSDK\\include\\prerelease;" + vcdir + "vc7\\PlatformSDK\\include;" + old_env_include
  643. os.environ["LIB"] = vcdir + "vc7\\ATLMFC\\LIB;" + vcdir + "vc7\\LIB;" + vcdir + "vc7\\PlatformSDK\\lib\\prerelease;" + vcdir + "vc7\\PlatformSDK\\lib;" + old_env_lib
  644. sys.stdout.flush()
  645. ##########################################################################################
  646. #
  647. # Disable Helix unless running under Windows
  648. #
  649. ##########################################################################################
  650. if (sys.platform != "win32"):
  651. if (OMIT.count("HELIX")==0):
  652. WARNINGS.append("HELIX not yet supported under linux")
  653. WARNINGS.append("I have automatically added this command-line option: --no-helix")
  654. OMIT.append("HELIX")
  655. ##########################################################################################
  656. #
  657. # See if there's a "MILES" subdirectory under 'thirdparty'
  658. #
  659. ##########################################################################################
  660. if (os.path.isdir(os.path.join(THIRDPARTY, "win-libs-vc7", "miles"))==0):
  661. if (OMIT.count("MILES")==0):
  662. WARNINGS.append("You do not have a copy of MILES sound system")
  663. WARNINGS.append("I have automatically added this command-line option: --no-miles")
  664. OMIT.append("MILES")
  665. ##########################################################################################
  666. #
  667. # Enable or Disable runtime debugging mechanisms based on optimize level.
  668. #
  669. ##########################################################################################
  670. DTOOLCONFIG["HAVE_NET"] = DTOOLCONFIG["HAVE_NSPR"]
  671. if (OPTIMIZE <= 3):
  672. if (DTOOLCONFIG["HAVE_NET"] != 'UNDEF'):
  673. DTOOLCONFIG["DO_PSTATS"] = '1'
  674. if (OPTIMIZE <= 3):
  675. DTOOLCONFIG["DO_COLLISION_RECORDING"] = '1'
  676. #if (OPTIMIZE <= 2):
  677. # DTOOLCONFIG["TRACK_IN_INTERPRETER"] = '1'
  678. if (OPTIMIZE <= 3):
  679. DTOOLCONFIG["DO_MEMORY_USAGE"] = '1'
  680. #if (OPTIMIZE <= 1):
  681. # DTOOLCONFIG["DO_PIPELINING"] = '1'
  682. if (OPTIMIZE <= 3):
  683. DTOOLCONFIG["NOTIFY_DEBUG"] = '1'
  684. ##########################################################################################
  685. #
  686. # Add the package selections to DTOOLCONFIG
  687. #
  688. ##########################################################################################
  689. for x in PACKAGES:
  690. if (OMIT.count(x)==0):
  691. if (DTOOLCONFIG.has_key("HAVE_"+x)):
  692. DTOOLCONFIG["HAVE_"+x] = '1'
  693. ##########################################################################################
  694. #
  695. # Verify that LD_LIBRARY_PATH contains the PREFIX/lib directory.
  696. #
  697. # If not, add it on a temporary basis, and issue a warning.
  698. #
  699. ##########################################################################################
  700. if (sys.platform != "win32"):
  701. BUILTLIB = os.path.abspath(PREFIX+"/lib")
  702. try:
  703. LDPATH = []
  704. f = file("/etc/ld.so.conf","r")
  705. for line in f: LDPATH.append(line.rstrip())
  706. f.close()
  707. except: LDPATH = []
  708. if (os.environ.has_key("LD_LIBRARY_PATH")):
  709. LDPATH = LDPATH + os.environ["LD_LIBRARY_PATH"].split(":")
  710. if (LDPATH.count(BUILTLIB)==0):
  711. WARNINGS.append("Caution: the "+PREFIX+"/lib directory is not in LD_LIBRARY_PATH")
  712. WARNINGS.append("or /etc/ld.so.conf. You must add it before using panda.")
  713. if (os.environ.has_key("LD_LIBRARY_PATH")):
  714. os.environ["LD_LIBRARY_PATH"] = BUILTLIB + ":" + os.environ["LD_LIBRARY_PATH"]
  715. else:
  716. os.environ["LD_LIBRARY_PATH"] = BUILTLIB
  717. ########################################################################
  718. ##
  719. ## Give a Status Report on Command-Line Options
  720. ##
  721. ########################################################################
  722. def printStatus(header,warnings):
  723. global VERBOSE
  724. if VERBOSE >= -2:
  725. print ""
  726. print "-------------------------------------------------------------------"
  727. print header
  728. tkeep = ""
  729. tomit = ""
  730. for x in PACKAGES:
  731. if (OMIT.count(x)==0): tkeep = tkeep + x + " "
  732. else: tomit = tomit + x + " "
  733. print "Makepanda: Prefix Directory:",PREFIX
  734. print "Makepanda: Compiler:",COMPILER
  735. print "Makepanda: Optimize:",OPTIMIZE
  736. print "Makepanda: Keep Pkg:",tkeep
  737. print "Makepanda: Omit Pkg:",tomit
  738. print "Makepanda: Thirdparty dir:",THIRDPARTY
  739. print "Makepanda: DirectX SDK dir:",DIRECTXSDK
  740. print "Makepanda: Verbose vs. Quiet Level:",VERBOSE
  741. if (sys.platform == "win32"):
  742. if INSTALLER: print "Makepanda: Build installer, using",COMPRESSOR
  743. else : print "Makepanda: Don't build installer"
  744. if PPGAME!=0: print "Makepanda: Build pprepackaged game ",PPGAME,"using",COMPRESSOR
  745. else : print "Makepanda: Don't build pprepackaged game"
  746. print "Makepanda: Version ID: "+VERSION
  747. for x in warnings: print "Makepanda: "+x
  748. print "-------------------------------------------------------------------"
  749. print ""
  750. sys.stdout.flush()
  751. printStatus("Makepanda Initial Status Report", WARNINGS)
  752. ##########################################################################################
  753. #
  754. # Create the directory tree
  755. #
  756. ##########################################################################################
  757. MakeDirectory(PREFIX)
  758. MakeDirectory(PREFIX+"/bin")
  759. MakeDirectory(PREFIX+"/lib")
  760. MakeDirectory(PREFIX+"/etc")
  761. MakeDirectory(PREFIX+"/pandac")
  762. MakeDirectory(PREFIX+"/pandac/input")
  763. MakeDirectory(PREFIX+"/include")
  764. MakeDirectory(PREFIX+"/include/parser-inc")
  765. MakeDirectory(PREFIX+"/include/parser-inc/openssl")
  766. MakeDirectory(PREFIX+"/include/parser-inc/Cg")
  767. MakeDirectory(PREFIX+"/include/openssl")
  768. MakeDirectory(PREFIX+"/direct")
  769. MakeDirectory(PREFIX+"/tmp")
  770. ########################################################################
  771. ##
  772. ## PkgSelected(package-list,package)
  773. ##
  774. ## This function returns true if the package-list contains the
  775. ## package, AND the OMIT list does not contain the package.
  776. ##
  777. ########################################################################
  778. def PkgSelected(pkglist, pkg):
  779. if (pkglist.count(pkg)==0): return 0
  780. if (OMIT.count(pkg)): return 0
  781. return 1
  782. ########################################################################
  783. ##
  784. ## These two globals accumulate a global list of everything compiled.
  785. ##
  786. ########################################################################
  787. ALLIN=[]
  788. ALLTARGETS=[]
  789. ########################################################################
  790. ##
  791. ## The CXX include-cache.
  792. ##
  793. ## Dictionary: for each CXX source file, a list of all the
  794. ## include-directives inside that file.
  795. ##
  796. ## Makepanda analyzes include-directives to determine the dependencies
  797. ## of C source files. This requires us to read the C source files,
  798. ## a time-consuming process. This means that doing a 'makepanda'
  799. ## takes quite a bit of time, even if there's nothing to compile.
  800. ##
  801. ## To accelerate this process, we store the list of include-directives
  802. ## in each source file in the "CXX include-cache". This cache is
  803. ## preserved (using the 'cPickle' module) from execution to execution
  804. ## of makepanda. The use of file dates in the cache makes it very
  805. ## unlikely for the cache to get out-of-sync with the source tree.
  806. ##
  807. ########################################################################
  808. global CxxIncludeCache
  809. CxxIncludeCache = {}
  810. iCachePath=PREFIX+"/tmp/makepanda-icache"
  811. try: icache = open(iCachePath,'rb')
  812. except: icache = 0
  813. if (icache!=0):
  814. CxxIncludeCache = cPickle.load(icache)
  815. icache.close()
  816. ########################################################################
  817. ##
  818. ## CxxGetIncludes
  819. ##
  820. ## return a list of the include-directives in a given source file
  821. ##
  822. ########################################################################
  823. global CxxIncludeRegex
  824. CxxIncludeRegex = re.compile('^[ \t]*[#][ \t]*include[ \t]+"([^"]+)"[ \t\r\n]*$')
  825. def CxxGetIncludes(path):
  826. date = filedate(path)
  827. if (CxxIncludeCache.has_key(path)):
  828. cached = CxxIncludeCache[path]
  829. if (cached[0]==date): return cached[1]
  830. try: sfile = open(path, 'rb')
  831. except: sys.exit("Cannot open source file \""+path+"\" for reading.")
  832. include = []
  833. for line in sfile:
  834. match = CxxIncludeRegex.match(line,0)
  835. if (match):
  836. incname = match.group(1)
  837. include.append(incname)
  838. sfile.close()
  839. CxxIncludeCache[path] = [date, include]
  840. return include
  841. ########################################################################
  842. ##
  843. ## CxxFindSource
  844. ##
  845. ## given a source file name and a directory list, searches the
  846. ## directory list for the given source file. Returns the full
  847. ## pathname of the located file.
  848. ##
  849. ########################################################################
  850. def CxxFindSource(name, ipath):
  851. for dir in ipath:
  852. if (dir == "."): full = name
  853. else: full = dir + "/" + name
  854. if filedate(full) > 0: return full
  855. return 0
  856. ########################################################################
  857. ##
  858. ## CxxFindHeader
  859. ##
  860. ## given a source file name and an include directive in that source
  861. ## file, locates the relevant header file.
  862. ##
  863. ########################################################################
  864. def CxxFindHeader(srcfile, incfile, ipath):
  865. if (incfile[:1]=="."):
  866. last = srcfile.rfind("/")
  867. if (last < 0): sys.exit("CxxFindHeader cannot handle this case #1")
  868. srcdir = srcfile[:last+1]
  869. while (incfile[:1]=="."):
  870. if (incfile[:2]=="./"):
  871. incfile = incfile[2:]
  872. elif (incfile[:3]=="../"):
  873. incfile = incfile[3:]
  874. last = srcdir[:-1].rfind("/")
  875. if (last < 0): sys.exit("CxxFindHeader cannot handle this case #2")
  876. srcdir = srcdir[:last+1]
  877. else: sys.exit("CxxFindHeader cannot handle this case #3")
  878. full = srcdir + incfile
  879. if filedate(full) > 0: return full
  880. return 0
  881. else: return CxxFindSource(incfile, ipath)
  882. ########################################################################
  883. ##
  884. ## CxxCalcDependencies(srcfile, ipath, ignore)
  885. ##
  886. ## Calculate the dependencies of a source file given a
  887. ## particular include-path. Any file in the list of files to
  888. ## ignore is not considered.
  889. ##
  890. ########################################################################
  891. global CxxIgnoreHeader
  892. global CxxDependencyCache
  893. CxxIgnoreHeader = {}
  894. CxxDependencyCache = {}
  895. def CxxCalcDependencies(srcfile, ipath, ignore):
  896. if (CxxDependencyCache.has_key(srcfile)):
  897. return CxxDependencyCache[srcfile]
  898. if (ignore.count(srcfile)): return []
  899. dep = {}
  900. dep[srcfile] = 1
  901. includes = CxxGetIncludes(srcfile)
  902. for include in includes:
  903. if (CxxIgnoreHeader.has_key(include)==0):
  904. header = CxxFindHeader(srcfile, include, ipath)
  905. if (header==0):
  906. print "CAUTION: header file "+include+" cannot be found."
  907. else:
  908. if (ignore.count(header)==0):
  909. hdeps = CxxCalcDependencies(header, ipath, [srcfile]+ignore)
  910. for x in hdeps: dep[x] = 1
  911. result = dep.keys()
  912. CxxDependencyCache[srcfile] = result
  913. return result
  914. def CxxCalcDependenciesAll(srcfiles, ipath):
  915. dep = {}
  916. for srcfile in srcfiles:
  917. for x in CxxCalcDependencies(srcfile, ipath, []):
  918. dep[x] = 1
  919. return dep.keys()
  920. ########################################################################
  921. ##
  922. ## ConditionalWriteFile
  923. ##
  924. ## Creates the given file, but only if it doesn't already
  925. ## contain the correct contents.
  926. ##
  927. ########################################################################
  928. def ConditionalWriteFile(dest,desiredcontents):
  929. try:
  930. rfile = open(dest, 'rb')
  931. contents = rfile.read(-1)
  932. rfile.close()
  933. except: contents=0
  934. if (contents != desiredcontents):
  935. print "Regenerating file: "+dest
  936. sys.stdout.flush()
  937. WriteFile(dest,desiredcontents)
  938. ########################################################################
  939. ##
  940. ## CopyFile
  941. ##
  942. ## Copy a file into the build tree.
  943. ##
  944. ########################################################################
  945. def CopyFile(dstfile,srcfile):
  946. if (dstfile[-1]=='/'):
  947. dstdir = dstfile
  948. fnl = srcfile.rfind("/")
  949. if (fnl < 0): fn = srcfile
  950. else: fn = srcfile[fnl+1:]
  951. dstfile = dstdir + fn
  952. if (older(dstfile,srcfile)):
  953. global VERBOSE
  954. if VERBOSE >= 1:
  955. print "Copying "+srcfile+" -> "+dstfile+"..."
  956. WriteFile(dstfile,ReadFile(srcfile))
  957. updatefiledate(dstfile)
  958. ALLTARGETS.append(dstfile)
  959. ########################################################################
  960. ##
  961. ## CopyAllFiles
  962. ##
  963. ## Copy the contents of an entire directory into the build tree.
  964. ##
  965. ########################################################################
  966. def CopyAllFiles(dstdir,srcdir,suffix=""):
  967. suflen = len(suffix)
  968. files = os.listdir(srcdir)
  969. for x in files:
  970. if (os.path.isfile(srcdir+x)):
  971. if (suflen==0) or (x[-suflen:]==suffix):
  972. CopyFile(dstdir+x, srcdir+x)
  973. ########################################################################
  974. ##
  975. ## CopyTree
  976. ##
  977. ## Copy a directory into the build tree.
  978. ##
  979. ########################################################################
  980. def CopyTree(dstdir,srcdir):
  981. if (os.path.isdir(dstdir)): return 0
  982. if (COMPILER=="MSVC7"): cmd = 'xcopy.exe /I/Y/E/Q "' + srcdir + '" "' + dstdir + '"'
  983. if (COMPILER=="LINUXA"): cmd = 'cp --recursive --force ' + srcdir + ' ' + dstdir
  984. oscmd(cmd)
  985. updatefiledate(dstdir)
  986. def CompileBison(pre,dstc,dsth,src):
  987. """
  988. Generate a CXX file from a source YXX file.
  989. """
  990. (base, fn) = os.path.split(src)
  991. dstc=base+"/"+dstc
  992. dsth=base+"/"+dsth
  993. if (older(dstc,src) or older(dsth,src)):
  994. CopyFile(PREFIX+"/tmp/", src)
  995. if (COMPILER=="MSVC7"):
  996. CopyFile(PREFIX+"/tmp/", "thirdparty/win-util/bison.simple")
  997. bisonFullPath=os.path.abspath("thirdparty/win-util/bison.exe")
  998. oslocalcmd(PREFIX+"/tmp", bisonFullPath+" -y -d -p " + pre + " " + fn)
  999. osmove(PREFIX+"/tmp/y_tab.c", dstc)
  1000. osmove(PREFIX+"/tmp/y_tab.h", dsth)
  1001. if (COMPILER=="LINUXA"):
  1002. oslocalcmd(PREFIX+"/tmp", "bison -y -d -p "+pre+" "+fn)
  1003. osmove(PREFIX+"/tmp/y.tab.c", dstc)
  1004. osmove(PREFIX+"/tmp/y.tab.h", dsth)
  1005. updatefiledate(dstc)
  1006. updatefiledate(dsth)
  1007. def CompileFlex(pre,dst,src,dashi):
  1008. """
  1009. Generate a CXX file from a source LXX file.
  1010. """
  1011. last = src.rfind("/")
  1012. fn = src[last+1:]
  1013. dst = PREFIX+"/tmp/"+dst
  1014. if (older(dst,src)):
  1015. CopyFile(PREFIX+"/tmp/", src)
  1016. if (COMPILER=="MSVC7"):
  1017. flexFullPath=os.path.abspath("thirdparty/win-util/flex.exe")
  1018. if (dashi): oslocalcmd(PREFIX+"/tmp", flexFullPath+" -i -P" + pre + " -olex.yy.c " + fn)
  1019. else: oslocalcmd(PREFIX+"/tmp", flexFullPath+" -P" + pre + " -olex.yy.c " + fn)
  1020. replaceInFile(PREFIX+'/tmp/lex.yy.c', dst, '#include <unistd.h>', '')
  1021. if (COMPILER=="LINUXA"):
  1022. if (dashi): oslocalcmd(PREFIX+"/tmp", "flex -i -P" + pre + " -olex.yy.c " + fn)
  1023. else: oslocalcmd(PREFIX+"/tmp", "flex -P" + pre + " -olex.yy.c " + fn)
  1024. oscmd('cp '+PREFIX+'/tmp/lex.yy.c '+dst)
  1025. updatefiledate(dst)
  1026. ########################################################################
  1027. ##
  1028. ## CompileC
  1029. ##
  1030. ## Generate an OBJ file from a source CXX file.
  1031. ##
  1032. ########################################################################
  1033. priorIPath=None
  1034. def checkIfNewDir(path):
  1035. global priorIPath
  1036. if priorIPath != path:
  1037. print "\nStarting compile in \"%s\" (%s):\n"%(path,prettyTime(time.time()-STARTTIME),)
  1038. priorIPath=path
  1039. def CompileC(obj=0,src=0,ipath=[],opts=[]):
  1040. global VERBOSE
  1041. if ((obj==0)|(src==0)): sys.exit("syntax error in CompileC directive")
  1042. ipath = [PREFIX+"/tmp"] + ipath + [PREFIX+"/include"]
  1043. fullsrc = CxxFindSource(src, ipath)
  1044. if (fullsrc == 0): sys.exit("Cannot find source file "+src)
  1045. dep = CxxCalcDependencies(fullsrc, ipath, [])
  1046. if (COMPILER=="MSVC7"):
  1047. wobj = PREFIX+"/tmp/"+obj
  1048. if (older(wobj, dep)):
  1049. if VERBOSE >= 0:
  1050. checkIfNewDir(ipath[1])
  1051. cmd = "cl.exe /Fo" + wobj + " /nologo /c"
  1052. cmd = cmd + " /I" + PREFIX + "/python/include"
  1053. if (opts.count("DXSDK")): cmd = cmd + ' /I"' + DIRECTXSDK + '/include"'
  1054. if (opts.count("MAYA5")): cmd = cmd + ' /I"' + Maya5SDK + 'include"'
  1055. if (opts.count("MAYA6")): cmd = cmd + ' /I"' + Maya6SDK + 'include"'
  1056. for max in ["MAX5","MAX6","MAX7"]:
  1057. if (PkgSelected(opts,max)):
  1058. cmd = cmd + ' /I"' + MAXSDK[max] + 'include" /I"' + MAXSDKCS[max] + '" /D' + max
  1059. for pkg in PACKAGES:
  1060. if (pkg != "MAYA5") and (pkg != "MAYA6") and PkgSelected(opts,pkg):
  1061. cmd = cmd + " /I" + THIRDPARTY + "/win-libs-vc7/" + pkg.lower() + "/include"
  1062. for x in ipath: cmd = cmd + " /I" + x
  1063. if (opts.count('NOFLOATWARN')): cmd = cmd + ' /wd4244 /wd4305'
  1064. if (opts.count("WITHINPANDA")): cmd = cmd + ' /DWITHIN_PANDA'
  1065. if (OPTIMIZE==1): cmd = cmd + " /Zc:forScope /MD /Zi /O2 /Ob2 /DFORCE_INLINING /RTCs /GS"
  1066. if (OPTIMIZE==2): cmd = cmd + " /Zc:forScope /MD /Zi /O2 /Ob2 /DFORCE_INLINING "
  1067. if (OPTIMIZE==3): cmd = cmd + " /Zc:forScope /MD /Zi /O2 /Ob2 /DFORCE_INLINING "
  1068. if (OPTIMIZE==4): cmd = cmd + " /Zc:forScope /MD /Zi /O2 /Ob2 /DFORCE_INLINING /GL /DNDEBUG "
  1069. cmd = cmd + " /Fd" + wobj[:-4] + ".pdb"
  1070. building = buildingwhat(opts)
  1071. if (building): cmd = cmd + " /DBUILDING_" + building
  1072. cmd = cmd + " /EHsc /Zm300 /DWIN32_VC /DWIN32 /W3 " + fullsrc
  1073. oscmd(cmd)
  1074. updatefiledate(wobj)
  1075. if (COMPILER=="LINUXA"):
  1076. wobj = PREFIX+"/tmp/" + obj[:-4] + ".o"
  1077. if (older(wobj, dep)):
  1078. if VERBOSE >= 0:
  1079. checkIfNewDir(ipath[1])
  1080. if (src[-2:]==".c"): cmd = 'gcc -c -o ' + wobj
  1081. else: cmd = 'g++ -ftemplate-depth-30 -c -o ' + wobj
  1082. cmd = cmd + ' -I"' + PythonSDK + '"'
  1083. if (PkgSelected(opts,"VRPN")): cmd = cmd + ' -I' + THIRDPARTY + '/linux-libs-a/vrpn/include'
  1084. if (PkgSelected(opts,"FFTW")): cmd = cmd + ' -I' + THIRDPARTY + '/linux-libs-a/fftw/include'
  1085. if (PkgSelected(opts,"FMOD")): cmd = cmd + ' -I' + THIRDPARTY + '/linux-libs-a/fmod/include'
  1086. if (PkgSelected(opts,"NVIDIACG")): cmd = cmd + ' -I' + THIRDPARTY + '/linux-libs-a/nvidiacg/include'
  1087. if (PkgSelected(opts,"NSPR")): cmd = cmd + ' -I' + THIRDPARTY + '/linux-libs-a/nspr/include'
  1088. if (PkgSelected(opts,"FREETYPE")): cmd = cmd + ' -I/usr/include/freetype2'
  1089. for x in ipath: cmd = cmd + ' -I' + x
  1090. if (opts.count("WITHINPANDA")): cmd = cmd + ' -DWITHIN_PANDA'
  1091. if (OPTIMIZE==1): cmd = cmd + " -g"
  1092. if (OPTIMIZE==2): cmd = cmd + " -O1"
  1093. if (OPTIMIZE==3): cmd = cmd + " -O2"
  1094. if (OPTIMIZE==4): cmd = cmd + " -O2"
  1095. building = buildingwhat(opts)
  1096. if (building): cmd = cmd + " -DBUILDING_" + building
  1097. cmd = cmd + ' ' + fullsrc
  1098. oscmd(cmd)
  1099. updatefiledate(wobj)
  1100. ########################################################################
  1101. ##
  1102. ## CompileRES
  1103. ##
  1104. ## Generate an RES file from a source RC file.
  1105. ##
  1106. ########################################################################
  1107. def CompileRES(obj=0,src=0,ipath=[],opts=[]):
  1108. if ((obj==0)|(src==0)): sys.exit("syntax error in CompileRES directive")
  1109. fullsrc = CxxFindSource(src, ipath)
  1110. if (fullsrc == 0): sys.exit("Cannot find source file "+src)
  1111. obj = PREFIX+"/tmp/"+obj
  1112. wdep = CxxCalcDependencies(fullsrc, ipath, [])
  1113. if (COMPILER=="MSVC7"):
  1114. if (older(obj, wdep)):
  1115. cmd = 'rc.exe /d "NDEBUG" /l 0x409'
  1116. for x in ipath: cmd = cmd + " /I" + x
  1117. cmd = cmd + ' /fo' + obj
  1118. cmd = cmd + ' ' + fullsrc
  1119. oscmd(cmd)
  1120. updatefiledate(obj)
  1121. if (COMPILER=="LINUXA"):
  1122. sys.exit("Can only compile RES files on Windows.")
  1123. ########################################################################
  1124. ##
  1125. ## Interrogate
  1126. ##
  1127. ## Generate an IN file and a CXX-stub file from CXX source files
  1128. ##
  1129. ########################################################################
  1130. def Interrogate(ipath=0, opts=0, outd=0, outc=0, src=0, module=0, library=0, files=0):
  1131. if ((ipath==0)|(opts==0)|(outd==0)|(outc==0)|(src==0)|(module==0)|(library==0)|(files==0)):
  1132. sys.exit("syntax error in Interrogate directive")
  1133. ALLIN.append(outd)
  1134. ipath = [PREFIX+"/tmp"] + ipath + [PREFIX+"/include"]
  1135. outd = PREFIX+"/pandac/input/"+outd
  1136. outc = PREFIX+"/tmp/"+outc
  1137. paths = xpaths(src+"/",files,"")
  1138. dep = CxxCalcDependenciesAll(paths, ipath)
  1139. dotdots = ""
  1140. for i in range(0,src.count("/")+1): dotdots = dotdots + "../"
  1141. building = 0
  1142. for x in opts:
  1143. if (x[:9]=="BUILDING_"): building = x[9:]
  1144. if (older(outc, dep) or older(outd, dep)):
  1145. if (COMPILER=="MSVC7"):
  1146. cmd = dotdots + PREFIX + "/bin/interrogate.exe"
  1147. cmd = cmd + ' -DCPPPARSER -D__STDC__=1 -D__cplusplus -longlong __int64 -D_X86_ -DWIN32_VC -D_WIN32'
  1148. cmd = cmd + ' -D"_declspec(param)=" -D_near -D_far -D__near -D__far -D__stdcall'
  1149. if (OPTIMIZE==1): cmd = cmd + ' '
  1150. if (OPTIMIZE==2): cmd = cmd + ' '
  1151. if (OPTIMIZE==3): cmd = cmd + ' -DFORCE_INLINING'
  1152. if (OPTIMIZE==4): cmd = cmd + ' -DFORCE_INLINING'
  1153. cmd = cmd + ' -S' + dotdots + PREFIX + '/include/parser-inc'
  1154. cmd = cmd + ' -I' + dotdots + PREFIX + '/python/include'
  1155. for pkg in PACKAGES:
  1156. if (PkgSelected(opts,pkg)):
  1157. cmd = cmd + ' -I' + dotdots + THIRDPARTY + "/win-libs-vc7/" + pkg.lower() + "/include"
  1158. if (COMPILER=="LINUXA"):
  1159. cmd = dotdots + PREFIX + '/bin/interrogate'
  1160. cmd = cmd + ' -DCPPPARSER -D__STDC__=1 -D__cplusplus -D__i386__ -D__const=const'
  1161. if (OPTIMIZE==1): cmd = cmd + ' '
  1162. if (OPTIMIZE==2): cmd = cmd + ' '
  1163. if (OPTIMIZE==3): cmd = cmd + ' '
  1164. if (OPTIMIZE==4): cmd = cmd + ' '
  1165. cmd = cmd + ' -S' + dotdots + PREFIX + '/include/parser-inc -S/usr/include'
  1166. cmd = cmd + ' -I' + dotdots + PREFIX + '/python/include'
  1167. for pkg in PACKAGES:
  1168. if (PkgSelected(opts,pkg)):
  1169. cmd = cmd + ' -I' + dotdots + THIRDPARTY + "/linux-libs-a/" + pkg.lower() + "/include"
  1170. cmd = cmd + ' -oc ' + dotdots + outc + ' -od ' + dotdots + outd
  1171. cmd = cmd + ' -fnames -string -refcount -assert -python'
  1172. for x in ipath: cmd = cmd + ' -I' + dotdots + x
  1173. if (building): cmd = cmd + " -DBUILDING_"+building
  1174. if (opts.count("WITHINPANDA")): cmd = cmd + " -DWITHIN_PANDA"
  1175. cmd = cmd + ' -module ' + module + ' -library ' + library
  1176. if ((COMPILER=="MSVC7") and opts.count("DXSDK")): cmd = cmd + ' -I"' + DIRECTXSDK + '/include"'
  1177. if ((COMPILER=="MSVC7") and opts.count("MAYA5")): cmd = cmd + ' -I"' + Maya5SDK + 'include"'
  1178. if ((COMPILER=="MSVC7") and opts.count("MAYA6")): cmd = cmd + ' -I"' + Maya6SDK + 'include"'
  1179. for x in files: cmd = cmd + ' ' + x
  1180. oslocalcmd(src, cmd)
  1181. updatefiledate(outd)
  1182. updatefiledate(outc)
  1183. ########################################################################
  1184. ##
  1185. ## InterrogateModule
  1186. ##
  1187. ## Generate a python-stub CXX file from a bunch of IN files.
  1188. ##
  1189. ########################################################################
  1190. def InterrogateModule(outc=0, module=0, library=0, files=0):
  1191. if ((outc==0)|(module==0)|(library==0)|(files==0)):
  1192. sys.exit("syntax error in InterrogateModule directive")
  1193. outc = PREFIX+"/tmp/"+outc
  1194. files = xpaths(PREFIX+"/pandac/input/",files,"")
  1195. if (older(outc, files)):
  1196. global VERBOSE
  1197. if VERBOSE >= 1:
  1198. print "Generating Python-stub cxx file for %s"%(library,)
  1199. if (COMPILER=="MSVC7"):
  1200. cmd = PREFIX + '/bin/interrogate_module.exe '
  1201. if (COMPILER=="LINUXA"):
  1202. cmd = PREFIX + '/bin/interrogate_module '
  1203. cmd = cmd + ' -oc ' + outc + ' -module ' + module + ' -library ' + library + ' -python '
  1204. for x in files: cmd = cmd + ' ' + x
  1205. oscmd(cmd)
  1206. updatefiledate(outc)
  1207. ########################################################################
  1208. ##
  1209. ## CompileLIB
  1210. ##
  1211. ## Generate a LIB file from a bunch of OBJ files.
  1212. ##
  1213. ########################################################################
  1214. def CompileLIB(lib=0, obj=[], opts=[]):
  1215. if (lib==0): sys.exit("syntax error in CompileLIB directive")
  1216. if (COMPILER=="MSVC7"):
  1217. if (lib[-4:]==".ilb"): wlib = PREFIX+"/tmp/" + lib[:-4] + ".lib"
  1218. else: wlib = PREFIX+"/lib/" + lib[:-4] + ".lib"
  1219. wobj = xpaths(PREFIX+"/tmp/",obj,"")
  1220. ALLTARGETS.append(wlib)
  1221. if (older(wlib, wobj)):
  1222. cmd = 'lib.exe /nologo /OUT:' + wlib
  1223. if (OPTIMIZE==4): cmd = cmd + " /LTCG "
  1224. for x in wobj: cmd = cmd + ' ' + x
  1225. oscmd(cmd)
  1226. updatefiledate(wlib)
  1227. if (COMPILER=="LINUXA"):
  1228. if (lib[-4:]==".ilb"): wlib = PREFIX+"/tmp/" + lib[:-4] + ".a"
  1229. else: wlib = PREFIX+"/lib/" + lib[:-4] + ".a"
  1230. wobj = []
  1231. for x in obj: wobj.append(PREFIX + "/tmp/" + x[:-4] + ".o")
  1232. if (older(wlib, wobj)):
  1233. cmd = 'ar cru ' + wlib
  1234. for x in wobj: cmd=cmd + ' ' + x
  1235. oscmd(cmd)
  1236. updatefiledate(wlib)
  1237. ########################################################################
  1238. ##
  1239. ## CompileLink
  1240. ##
  1241. ## Generate a DLL or EXE file from a bunch of OBJ and LIB files.
  1242. ##
  1243. ########################################################################
  1244. def CompileLink(dll=0, obj=[], opts=[], xdep=[]):
  1245. if (dll==0): sys.exit("Syntax error in CompileLink directive")
  1246. if (COMPILER=="MSVC7"):
  1247. ALLTARGETS.append(PREFIX+"/bin/"+dll)
  1248. lib = PREFIX+"/lib/"+dll[:-4]+".lib"
  1249. dll = PREFIX+"/bin/"+dll
  1250. wobj = []
  1251. for x in obj:
  1252. suffix = x[-4:]
  1253. if (suffix==".obj"): wobj.append(PREFIX+"/tmp/"+x)
  1254. elif (suffix==".dll"): wobj.append(PREFIX+"/lib/"+x[:-4]+".lib")
  1255. elif (suffix==".lib"): wobj.append(PREFIX+"/lib/"+x)
  1256. elif (suffix==".ilb"): wobj.append(PREFIX+"/tmp/"+x[:-4]+".lib")
  1257. elif (suffix==".res"): wobj.append(PREFIX+"/tmp/"+x)
  1258. else: sys.exit("unknown suffix in object list.")
  1259. if (older(dll, wobj+xdep)):
  1260. cmd = 'link.exe /nologo /NODEFAULTLIB:LIBCI.LIB'
  1261. if (dll[-4:]!=".exe"): cmd = cmd + " /DLL"
  1262. if (OPTIMIZE==1): cmd = cmd + " /DEBUG /NODEFAULTLIB:MSVCRTD.LIB /OPT:REF "
  1263. if (OPTIMIZE==2): cmd = cmd + " /DEBUG /NODEFAULTLIB:MSVCRTD.LIB /OPT:REF "
  1264. if (OPTIMIZE==3): cmd = cmd + " /DEBUG /NODEFAULTLIB:MSVCRTD.LIB /OPT:REF "
  1265. if (OPTIMIZE==4): cmd = cmd + " /DEBUG /NODEFAULTLIB:MSVCRTD.LIB /OPT:REF /LTCG "
  1266. cmd = cmd + " /MAP /MAPINFO:EXPORTS /MAPINFO:LINES /fixed:no /incremental:no /stack:4194304 "
  1267. if (opts.count("NOLIBCI")): cmd = cmd + " /NODEFAULTLIB:LIBCI.LIB "
  1268. if (opts.count("MAXEGGDEF")): cmd = cmd + ' /DEF:pandatool/src/maxegg/MaxEgg.def'
  1269. cmd = cmd + ' /OUT:' + dll + ' /IMPLIB:' + lib + ' /MAP:NUL'
  1270. cmd = cmd + ' /LIBPATH:' + PREFIX + '/python/libs '
  1271. for x in wobj: cmd = cmd + ' ' + x
  1272. if (dll[-4:]==".exe"): cmd = cmd + ' ' + PREFIX + '/tmp/pandaIcon.res'
  1273. if (opts.count("D3D8") or opts.count("D3D9") or opts.count("DXDRAW") or opts.count("DXSOUND") or opts.count("DXGUID")):
  1274. cmd = cmd + ' /LIBPATH:"' + DIRECTXSDK + 'lib/x86"'
  1275. cmd = cmd + ' /LIBPATH:"' + DIRECTXSDK + 'lib"'
  1276. if (opts.count("D3D8")): cmd = cmd + ' d3d8.lib d3dx8.lib dxerr8.lib'
  1277. if (opts.count("D3D9")): cmd = cmd + ' d3d9.lib d3dx9.lib dxerr9.lib'
  1278. if (opts.count("DXDRAW")): cmd = cmd + ' ddraw.lib'
  1279. if (opts.count("DXSOUND")): cmd = cmd + ' dsound.lib'
  1280. if (opts.count("DXGUID")): cmd = cmd + ' dxguid.lib'
  1281. if (opts.count("WINSOCK")): cmd = cmd + " wsock32.lib"
  1282. if (opts.count("WINSOCK2")): cmd = cmd + " wsock32.lib ws2_32.lib"
  1283. if (opts.count("WINCOMCTL")): cmd = cmd + ' comctl32.lib'
  1284. if (opts.count("WINUSER")): cmd = cmd + " user32.lib"
  1285. if (opts.count("WINMM")): cmd = cmd + " winmm.lib"
  1286. if (opts.count("WINIMM")): cmd = cmd + " imm32.lib"
  1287. if (opts.count("WINKERNEL")): cmd = cmd + " kernel32.lib"
  1288. if (opts.count("WINOLDNAMES")): cmd = cmd + " oldnames.lib"
  1289. if (opts.count("WINGDI")): cmd = cmd + " gdi32.lib"
  1290. if (opts.count("ADVAPI")): cmd = cmd + " advapi32.lib"
  1291. if (opts.count("GLUT")): cmd = cmd + " opengl32.lib glu32.lib"
  1292. if (PkgSelected(opts,"ZLIB")): cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/zlib/lib/libz.lib'
  1293. if (PkgSelected(opts,"PNG")): cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/png/lib/libpng.lib'
  1294. if (PkgSelected(opts,"JPEG")): cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/jpeg/lib/libjpeg.lib'
  1295. if (PkgSelected(opts,"TIFF")): cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/tiff/lib/libtiff.lib'
  1296. if (PkgSelected(opts,"VRPN")):
  1297. cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/vrpn/lib/vrpn.lib'
  1298. cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/vrpn/lib/quat.lib'
  1299. if (PkgSelected(opts,"FMOD")):
  1300. cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/fmod/lib/fmod.lib'
  1301. if (PkgSelected(opts,"MILES")):
  1302. cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/miles/lib/mss32.lib'
  1303. if (PkgSelected(opts,"NVIDIACG")):
  1304. if (opts.count("CGGL")):
  1305. cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/nvidiacg/lib/cgGL.lib'
  1306. cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/nvidiacg/lib/cg.lib'
  1307. if (PkgSelected(opts,"HELIX")):
  1308. cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/helix/lib/runtlib.lib'
  1309. cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/helix/lib/syslib.lib'
  1310. cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/helix/lib/contlib.lib'
  1311. cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/helix/lib/debuglib.lib'
  1312. cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/helix/lib/utillib.lib'
  1313. cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/helix/lib/stlport_vc7.lib'
  1314. if (PkgSelected(opts,"NSPR")):
  1315. cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/nspr/lib/libnspr4.lib'
  1316. if (PkgSelected(opts,"SSL")):
  1317. cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/ssl/lib/ssleay32.lib'
  1318. cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/ssl/lib/libeay32.lib'
  1319. if (PkgSelected(opts,"FREETYPE")):
  1320. cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/freetype/lib/libfreetype.lib'
  1321. if (PkgSelected(opts,"FFTW")):
  1322. cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/fftw/lib/rfftw.lib'
  1323. cmd = cmd + ' ' + THIRDPARTY + '/win-libs-vc7/fftw/lib/fftw.lib'
  1324. if (PkgSelected(opts,"MAYA5")):
  1325. cmd = cmd + ' ' + Maya5SDK + 'lib/Foundation.lib'
  1326. cmd = cmd + ' ' + Maya5SDK + 'lib/OpenMaya.lib'
  1327. cmd = cmd + ' ' + Maya5SDK + 'lib/OpenMayaAnim.lib'
  1328. if (PkgSelected(opts,"MAYA6")):
  1329. cmd = cmd + ' ' + Maya6SDK + 'lib/Foundation.lib'
  1330. cmd = cmd + ' ' + Maya6SDK + 'lib/OpenMaya.lib'
  1331. cmd = cmd + ' ' + Maya6SDK + 'lib/OpenMayaAnim.lib'
  1332. for max in ["MAX5","MAX6","MAX7"]:
  1333. if PkgSelected(opts,max):
  1334. cmd = cmd + ' ' + MAXSDK[max] + 'lib/core.lib'
  1335. cmd = cmd + ' ' + MAXSDK[max] + 'lib/mesh.lib'
  1336. cmd = cmd + ' ' + MAXSDK[max] + 'lib/maxutil.lib'
  1337. cmd = cmd + ' ' + MAXSDK[max] + 'lib/paramblk2.lib'
  1338. oscmd(cmd)
  1339. updatefiledate(dll)
  1340. if ((OPTIMIZE == 1) and (dll[-4:]==".dll")):
  1341. CopyFile(dll[:-4]+"_d.dll", dll)
  1342. if (COMPILER=="LINUXA"):
  1343. ALLTARGETS.append(PREFIX+"/lib/"+dll[:-4]+".so")
  1344. if (dll[-4:]==".exe"): wdll = PREFIX+"/bin/"+dll[:-4]
  1345. else: wdll = PREFIX+"/lib/"+dll[:-4]+".so"
  1346. wobj = []
  1347. for x in obj:
  1348. suffix = x[-4:]
  1349. if (suffix==".obj"): wobj.append(PREFIX+"/tmp/"+x[:-4]+".o")
  1350. elif (suffix==".dll"): wobj.append(PREFIX+"/lib/"+x[:-4]+".so")
  1351. elif (suffix==".lib"): wobj.append(PREFIX+"/lib/"+x[:-4]+".a")
  1352. elif (suffix==".ilb"): wobj.append(PREFIX+"/tmp/"+x[:-4]+".a")
  1353. else: sys.exit("unknown suffix in object list.")
  1354. if (older(wdll, wobj+xdep)):
  1355. if (dll[-4:]==".exe"): cmd = 'g++ -o ' + wdll + ' -L' + PREFIX + '/lib'
  1356. else: cmd = 'g++ -shared -o ' + wdll + ' -L' + PREFIX + '/lib'
  1357. for x in obj:
  1358. suffix = x[-4:]
  1359. if (suffix==".obj"): cmd = cmd + ' ' + PREFIX + '/tmp/' + x[:-4] + '.o'
  1360. elif (suffix==".dll"): cmd = cmd + ' -l' + x[3:-4]
  1361. elif (suffix==".lib"): cmd = cmd + ' ' + PREFIX + '/lib/' + x[:-4] + '.a'
  1362. elif (suffix==".ilb"): cmd = cmd + ' ' + PREFIX + '/tmp/' + x[:-4] + '.a'
  1363. if (PkgSelected(opts,"FMOD")): cmd = cmd + ' -L' + THIRDPARTY + '/linux-libs-a/fmod/lib -lfmod-3.74'
  1364. if (PkgSelected(opts,"NVIDIACG")):
  1365. cmd = cmd + ' -L' + THIRDPARTY + 'nvidiacg/lib '
  1366. if (opts.count("CGGL")): cmd = cmd + " -lCgGL"
  1367. cmd = cmd + " -lCg"
  1368. if (PkgSelected(opts,"NSPR")): cmd = cmd + ' -L' + THIRDPARTY + '/linux-libs-a/nspr/lib -lpandanspr4'
  1369. if (PkgSelected(opts,"ZLIB")): cmd = cmd + " -lz"
  1370. if (PkgSelected(opts,"PNG")): cmd = cmd + " -lpng"
  1371. if (PkgSelected(opts,"JPEG")): cmd = cmd + " -ljpeg"
  1372. if (PkgSelected(opts,"TIFF")): cmd = cmd + " -ltiff"
  1373. if (PkgSelected(opts,"SSL")): cmd = cmd + " -lssl"
  1374. if (PkgSelected(opts,"FREETYPE")): cmd = cmd + " -lfreetype"
  1375. if (PkgSelected(opts,"VRPN")): cmd = cmd + ' -L' + THIRDPARTY + '/linux-libs-a/vrpn/lib -lvrpn -lquat'
  1376. if (PkgSelected(opts,"FFTW")): cmd = cmd + ' -L' + THIRDPARTY + '/linux-libs-a/fftw/lib -lrfftw -lfftw'
  1377. if (opts.count("GLUT")): cmd = cmd + " -lGL -lGLU"
  1378. oscmd(cmd)
  1379. updatefiledate(wdll)
  1380. ##########################################################################################
  1381. #
  1382. # CompileBAM
  1383. #
  1384. # Generate a BAM file from an EGG or FLT
  1385. #
  1386. ##########################################################################################
  1387. def CompileBAM(preconv, bam, egg):
  1388. dotexe = ".exe"
  1389. if (sys.platform != "win32"): dotexe = ""
  1390. if (older(bam, egg)):
  1391. if (egg[-4:]==".flt"):
  1392. oscmd(PREFIX + "/bin/flt2egg" + dotexe + " -pr " + preconv + " -o " + PREFIX + "/tmp/tmp.egg" + " " + egg)
  1393. oscmd(PREFIX + "/bin/egg2bam" + dotexe + " -o " + bam + " " + PREFIX + "/tmp/tmp.egg")
  1394. else:
  1395. oscmd(PREFIX + "/bin/egg2bam" + dotexe + " -pr " + preconv + " -o " + bam + " " + egg)
  1396. ##########################################################################################
  1397. #
  1398. # If the 'make depend' process discovers an 'include'
  1399. # directive that includes one of the following files,
  1400. # the specified file is not added as a dependency,
  1401. # nor is it traversed.
  1402. #
  1403. ##########################################################################################
  1404. CxxIgnoreHeader["Python.h"] = 1
  1405. CxxIgnoreHeader["Python/Python.h"] = 1
  1406. CxxIgnoreHeader["alloc.h"] = 1
  1407. CxxIgnoreHeader["ctype.h"] = 1
  1408. CxxIgnoreHeader["stdlib.h"] = 1
  1409. CxxIgnoreHeader["ipc_thread.h"] = 1
  1410. CxxIgnoreHeader["platform/symbian/symbian_print.h"] = 1
  1411. CxxIgnoreHeader["hxtypes.h"] = 1
  1412. CxxIgnoreHeader["hxcom.h"] = 1
  1413. CxxIgnoreHeader["hxiids.h"] = 1
  1414. CxxIgnoreHeader["hxpiids.h"] = 1
  1415. CxxIgnoreHeader["dsound.h"] = 1
  1416. CxxIgnoreHeader["hlxosstr.h"] = 1
  1417. CxxIgnoreHeader["ddraw.h"] = 1
  1418. CxxIgnoreHeader["mss.h"] = 1
  1419. CxxIgnoreHeader["MacSocket.h"] = 1
  1420. CxxIgnoreHeader["textureTransition.h"] = 1
  1421. CxxIgnoreHeader["transformTransition.h"] = 1
  1422. CxxIgnoreHeader["billboardTransition.h"] = 1
  1423. CxxIgnoreHeader["transformTransition.h"] = 1
  1424. CxxIgnoreHeader["transparencyTransition.h"] = 1
  1425. CxxIgnoreHeader["allTransitionsWrapper.h"] = 1
  1426. CxxIgnoreHeader["allTransitionsWrapper.h"] = 1
  1427. CxxIgnoreHeader["namedNode.h"] = 1
  1428. CxxIgnoreHeader["renderRelation.h"] = 1
  1429. CxxIgnoreHeader["renderTraverser.h"] = 1
  1430. CxxIgnoreHeader["get_rel_pos.h"] = 1
  1431. CxxIgnoreHeader["Max.h"] = 1
  1432. CxxIgnoreHeader["iparamb2.h"] = 1
  1433. CxxIgnoreHeader["iparamm2.h"] = 1
  1434. CxxIgnoreHeader["istdplug.h"] = 1
  1435. CxxIgnoreHeader["iskin.h"] = 1
  1436. CxxIgnoreHeader["stdmat.h"] = 1
  1437. CxxIgnoreHeader["phyexp.h"] = 1
  1438. CxxIgnoreHeader["bipexp.h"] = 1
  1439. CxxIgnoreHeader["windows.h"] = 1
  1440. CxxIgnoreHeader["windef.h"] = 1
  1441. CxxIgnoreHeader["modstack.h"] = 1
  1442. CxxIgnoreHeader["afxres.h"] = 1
  1443. ##########################################################################################
  1444. #
  1445. # Generate pandaVersion.h
  1446. #
  1447. ##########################################################################################
  1448. VERSION1=int(VERSION.split(".")[0])
  1449. VERSION2=int(VERSION.split(".")[1])
  1450. VERSION3=int(VERSION.split(".")[2])
  1451. NVERSION=VERSION1*1000000+VERSION2*1000+VERSION3
  1452. conf="""
  1453. #define PANDA_MAJOR_VERSION VERSION1
  1454. #define PANDA_MINOR_VERSION VERSION2
  1455. #define PANDA_SEQUENCE_VERSION VERSION2
  1456. #undef PANDA_OFFICIAL_VERSION
  1457. #define PANDA_VERSION NVERSION
  1458. #define PANDA_VERSION_STR "VERSION1.VERSION2.VERSION3"
  1459. #define PANDA_DISTRIBUTOR "makepanda"
  1460. """
  1461. conf = conf.replace("VERSION1",str(VERSION1))
  1462. conf = conf.replace("VERSION2",str(VERSION2))
  1463. conf = conf.replace("VERSION3",str(VERSION3))
  1464. conf = conf.replace("NVERSION",str(NVERSION))
  1465. ConditionalWriteFile(PREFIX+'/include/pandaVersion.h',conf)
  1466. conf="""
  1467. # include "dtoolbase.h"
  1468. EXPCL_DTOOL int panda_version_VERSION1_VERSION2_VERSION3 = 0;
  1469. """
  1470. conf = conf.replace("VERSION1",str(VERSION1))
  1471. conf = conf.replace("VERSION2",str(VERSION2))
  1472. conf = conf.replace("VERSION3",str(VERSION3))
  1473. conf = conf.replace("NVERSION",str(NVERSION))
  1474. ConditionalWriteFile(PREFIX+'/include/checkPandaVersion.cxx',conf)
  1475. conf="""
  1476. # include "dtoolbase.h"
  1477. extern EXPCL_DTOOL int panda_version_VERSION1_VERSION2_VERSION3;
  1478. # ifndef WIN32
  1479. /* For Windows, exporting the symbol from the DLL is sufficient; the
  1480. DLL will not load unless all expected public symbols are defined.
  1481. Other systems may not mind if the symbol is absent unless we
  1482. explictly write code that references it. */
  1483. static int check_panda_version = panda_version_VERSION1_VERSION2_VERSION3;
  1484. # endif
  1485. """
  1486. conf = conf.replace("VERSION1",str(VERSION1))
  1487. conf = conf.replace("VERSION2",str(VERSION2))
  1488. conf = conf.replace("VERSION3",str(VERSION3))
  1489. conf = conf.replace("NVERSION",str(NVERSION))
  1490. ConditionalWriteFile(PREFIX+'/include/checkPandaVersion.h',conf)
  1491. ConditionalWriteFile(PREFIX + "/tmp/pythonversion", os.path.basename(PythonSDK))
  1492. ##########################################################################################
  1493. #
  1494. # If running under windows, compile up the icon.
  1495. #
  1496. ##########################################################################################
  1497. if (sys.platform == "win32"):
  1498. IPATH=["panda/src/configfiles"]
  1499. OPTS=[]
  1500. CompileRES(ipath=IPATH, opts=OPTS, src='pandaIcon.rc', obj='pandaIcon.res')
  1501. ##########################################################################################
  1502. #
  1503. # Generate direct/__init__.py
  1504. #
  1505. ##########################################################################################
  1506. DIRECTINIT="""
  1507. import os,sys
  1508. srcdir1 = os.path.join(__path__[0], 'src')
  1509. srcdir2 = os.path.join(__path__[0], '..', '..', 'direct', 'src')
  1510. if (os.path.isdir(srcdir1)): __path__[0] = srcdir1
  1511. elif (os.path.isdir(srcdir2)): __path__[0] = srcdir2
  1512. else: sys.exit("Cannot find the 'direct' tree")
  1513. """
  1514. ConditionalWriteFile(PREFIX+'/direct/__init__.py', DIRECTINIT)
  1515. ##########################################################################################
  1516. #
  1517. # Generate dtool_have_xxx.dat
  1518. #
  1519. ##########################################################################################
  1520. for x in PACKAGES:
  1521. if (OMIT.count(x)): ConditionalWriteFile(PREFIX+'/tmp/dtool_have_'+x.lower()+'.dat',"0\n")
  1522. else: ConditionalWriteFile(PREFIX+'/tmp/dtool_have_'+x.lower()+'.dat',"1\n")
  1523. ##########################################################################################
  1524. #
  1525. # Generate dtool_config.h
  1526. #
  1527. ##########################################################################################
  1528. conf = "/* dtool_config.h. Generated automatically by makepanda.py */\n"
  1529. for key,win,unix in DTOOLDEFAULTS:
  1530. val = DTOOLCONFIG[key]
  1531. if (val == 'UNDEF'): conf = conf + "#undef " + key + "\n"
  1532. else: conf = conf + "#define " + key + " " + val + "\n"
  1533. ConditionalWriteFile(PREFIX+'/include/dtool_config.h',conf)
  1534. ##########################################################################################
  1535. #
  1536. # Generate the PRC files into the ETC directory.
  1537. #
  1538. ##########################################################################################
  1539. CONFAUTOPRC="""
  1540. ###########################################################
  1541. ### ###
  1542. ### Panda3D Configuration File - Auto-Generated Portion ###
  1543. ### ###
  1544. ### Editing this file is not recommended. Most of these ###
  1545. ### directives can be overriden in Config.prc ###
  1546. ### ###
  1547. ###########################################################
  1548. # Define the display types that have been compiled in. Panda will
  1549. # pick one of these by going through the list in this order until one
  1550. # is found that works, unless the user specifically requests a
  1551. # particular display type with the load-display directive.
  1552. aux-display pandadx9
  1553. aux-display pandagl
  1554. aux-display pandadx8
  1555. aux-display pandadx7
  1556. # The egg loader is handy to have available by default. This allows
  1557. # clients to load egg files. (The bam loader is built-in so bam files
  1558. # are always loadable).
  1559. # By qualifying with the extension "egg", we indicate the egg loader
  1560. # should be made available only if you explicitly name a file with an
  1561. # .egg extension.
  1562. load-file-type egg pandaegg
  1563. # The following lines define some handy object types to use within the
  1564. # egg syntax. This remaps <ObjectType> { name } into whatever egg
  1565. # syntax is given by egg-object-type-name, which makes a handy
  1566. # abbreviation for modeling packages (like Maya) to insert
  1567. # sophisticated egg syntax into the generated egg file, using a single
  1568. # object type string.
  1569. egg-object-type-portal <Scalar> portal { 1 }
  1570. egg-object-type-polylight <Scalar> polylight { 1 }
  1571. egg-object-type-seq24 <Switch> { 1 } <Scalar> fps { 24 }
  1572. egg-object-type-seq12 <Switch> { 1 } <Scalar> fps { 12 }
  1573. egg-object-type-indexed <Scalar> indexed { 1 }
  1574. # These are just shortcuts to define the Model and DCS flags, which
  1575. # indicate nodes that should not be flattened out of the hierarchy
  1576. # during the conversion process. DCS goes one step further and
  1577. # indicates that the node's transform is important and should be
  1578. # preserved (DCS stands for Dynamic Coordinate System).
  1579. egg-object-type-model <Model> { 1 }
  1580. egg-object-type-dcs <DCS> { 1 }
  1581. # The following define various kinds of collision geometry. These
  1582. # mark the geometry at this level and below as invisible collision
  1583. # polygons, which can be used by Panda's collision system to detect
  1584. # collisions more optimally than regular visible polygons.
  1585. egg-object-type-barrier <Collide> { Polyset descend }
  1586. egg-object-type-sphere <Collide> { Sphere descend }
  1587. egg-object-type-invsphere <Collide> { InvSphere descend }
  1588. egg-object-type-tube <Collide> { Tube descend }
  1589. # As above, but these are flagged to be "intangible", so that they
  1590. # will trigger an event but not stop an object from passing through.
  1591. egg-object-type-trigger <Collide> { Polyset descend intangible }
  1592. egg-object-type-trigger-sphere <Collide> { Sphere descend intangible }
  1593. # "bubble" puts an invisible bubble around an object, but does not
  1594. # otherwise remove the geometry.
  1595. egg-object-type-bubble <Collide> { Sphere keep descend }
  1596. # "ghost" turns off the normal collide bit that is set on visible
  1597. # geometry by default, so that if you are using visible geometry for
  1598. # collisions, this particular geometry will not be part of those
  1599. # collisions--it is ghostlike.
  1600. egg-object-type-ghost <Scalar> collide-mask { 0 }
  1601. # This module allows direct loading of formats like .flt, .mb, or .dxf
  1602. load-file-type ptloader
  1603. # Define a new egg object type. See the comments in _panda.prc about this.
  1604. egg-object-type-direct-widget <Scalar> collide-mask { 0x80000000 } <Collide> { Polyset descend }
  1605. # Define a new cull bin that will render on top of everything else.
  1606. cull-bin gui-popup 60 unsorted
  1607. """
  1608. CONFIGPRC="""
  1609. ###########################################################
  1610. ### ###
  1611. ### Panda3D Configuration File - User-Editable Portion ###
  1612. ### ###
  1613. ###########################################################
  1614. # Uncomment one of the following lines to choose whether you should
  1615. # run using OpenGL or DirectX rendering.
  1616. #load-display pandagl
  1617. #load-display pandadx8
  1618. # These control the placement and size of the default rendering window.
  1619. win-origin 100 0
  1620. win-size 800 600
  1621. # Uncomment this line if you want to run Panda fullscreen instead of
  1622. # in a window.
  1623. fullscreen #f
  1624. # If you don't object to running OpenGL in software leave the keyword
  1625. # "software" in the following line, otherwise remove it to force
  1626. # hardware only.
  1627. framebuffer-mode rgba double-buffer depth multisample hardware software
  1628. # These control the amount of output Panda gives for some various
  1629. # categories. The severity levels, in order, are "spam", "debug",
  1630. # "info", "warning", and "fatal"; the default is "info". Uncomment
  1631. # one (or define a new one for the particular category you wish to
  1632. # change) to control this output.
  1633. notify-level warning
  1634. default-directnotify-level warning
  1635. # These specify where model files may be loaded from. You probably
  1636. # want to set this to a sensible path for yourself. $THIS_PRC_DIR is
  1637. # a special variable that indicates the same directory as this
  1638. # particular Config.prc file.
  1639. model-path .
  1640. model-path $THIS_PRC_DIR/..
  1641. sound-path .
  1642. sound-path $THIS_PRC_DIR/..
  1643. texture-path .
  1644. texture-path $THIS_PRC_DIR/..
  1645. # This enable the automatic creation of a TK window when running
  1646. # Direct.
  1647. want-directtools #f
  1648. want-tk #f
  1649. # This enables simple networked programs to easily provide a DC file
  1650. dc-file sample.dc
  1651. # Enable audio using the FMod audio library by default:
  1652. audio-library-name fmod_audio
  1653. """
  1654. if (sys.platform != "win32"):
  1655. CONFAUTOPRC = CONFAUTOPRC.replace("aux-display pandadx9","")
  1656. CONFAUTOPRC = CONFAUTOPRC.replace("aux-display pandadx8","")
  1657. CONFAUTOPRC = CONFAUTOPRC.replace("aux-display pandadx7","")
  1658. ConditionalWriteFile(PREFIX + "/etc/Confauto.prc", CONFAUTOPRC)
  1659. ConditionalWriteFile(PREFIX + "/etc/Config.prc", CONFIGPRC)
  1660. ##########################################################################################
  1661. #
  1662. # Copy the precompiled binaries and DLLs into the build.
  1663. #
  1664. ##########################################################################################
  1665. for pkg in (PACKAGES + ["extras"]):
  1666. if (OMIT.count(pkg)==0):
  1667. if (COMPILER == "MSVC7"):
  1668. if (os.path.exists(THIRDPARTY+"/win-libs-vc7/"+pkg.lower()+"/bin")):
  1669. CopyAllFiles(PREFIX+"/bin/",THIRDPARTY+"/win-libs-vc7/"+pkg.lower()+"/bin/")
  1670. if (COMPILER == "LINUXA"):
  1671. if (os.path.exists(THIRDPARTY+"/linux-libs-a/"+pkg.lower()+"/lib")):
  1672. CopyAllFiles(PREFIX+"/lib/",THIRDPARTY+"/linux-libs-a/"+pkg.lower()+"/lib/")
  1673. if (sys.platform == "win32"):
  1674. CopyTree(PREFIX+'/python', 'thirdparty/win-python')
  1675. CopyFile(PREFIX+'/bin/', 'thirdparty/win-python/python22.dll')
  1676. CopyTree(PREFIX+'/python/lib/epydoc', THIRDPARTY+'/epydoc')
  1677. ########################################################################
  1678. ##
  1679. ## Compile the 'ppython' executable and 'genpycode' executables
  1680. ##
  1681. ########################################################################
  1682. IPATH=['direct/src/directbase']
  1683. CompileC(ipath=IPATH, opts=['BUILDING_PPYTHON'], src='ppython.cxx', obj='ppython.obj')
  1684. CompileLink(opts=['WINUSER'], dll='ppython.exe', obj=['ppython.obj'])
  1685. IPATH=['direct/src/directbase']
  1686. CompileC(ipath=IPATH, opts=['BUILDING_GENPYCODE'], src='ppython.cxx', obj='genpycode.obj')
  1687. CompileLink(opts=['WINUSER'], dll='genpycode.exe', obj=['genpycode.obj'])
  1688. ########################################################################
  1689. #
  1690. # Copy header files to the PREFIX/include directory.
  1691. #
  1692. # Are we just copying *ALL* headers into the include directory?
  1693. # If so, let's automate this.
  1694. #
  1695. # We're definitely not copying all headers. We're only copying those
  1696. # same headers that are copied by ppremake. But the bigger question
  1697. # is, did he *intend* to copy all headers? Another good question is,
  1698. # could we just put a little tag into the header file itself, indicating
  1699. # that it is meant to be copied?
  1700. #
  1701. ########################################################################
  1702. ConditionalWriteFile(PREFIX+'/include/ctl3d.h', '/* dummy file to make MAX happy */')
  1703. CopyAllFiles(PREFIX+'/include/parser-inc/','dtool/src/parser-inc/')
  1704. CopyAllFiles(PREFIX+'/include/parser-inc/openssl/','dtool/src/parser-inc/')
  1705. CopyFile(PREFIX+'/include/parser-inc/Cg/','dtool/src/parser-inc/cg.h')
  1706. CopyFile(PREFIX+'/include/parser-inc/Cg/','dtool/src/parser-inc/cgGL.h')
  1707. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/cmath.I')
  1708. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/cmath.h')
  1709. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/dallocator.T')
  1710. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/dallocator.h')
  1711. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/dtoolbase.h')
  1712. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/dtoolbase_cc.h')
  1713. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/dtoolsymbols.h')
  1714. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/fakestringstream.h')
  1715. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/nearly_zero.h')
  1716. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/stl_compares.I')
  1717. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/stl_compares.h')
  1718. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/pallocator.T')
  1719. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/pallocator.h')
  1720. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/pdeque.h')
  1721. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/plist.h')
  1722. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/pmap.h')
  1723. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/pset.h')
  1724. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/pvector.h')
  1725. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/executionEnvironment.I')
  1726. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/executionEnvironment.h')
  1727. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/filename.I')
  1728. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/filename.h')
  1729. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/load_dso.h')
  1730. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/dSearchPath.I')
  1731. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/dSearchPath.h')
  1732. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/pfstream.h')
  1733. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/pfstream.I')
  1734. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/vector_string.h')
  1735. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/gnu_getopt.h')
  1736. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/pfstreamBuf.h')
  1737. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/vector_src.cxx')
  1738. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/vector_src.h')
  1739. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/pandaSystem.h')
  1740. CopyFile(PREFIX+'/include/','dtool/src/prc/config_prc.h')
  1741. CopyFile(PREFIX+'/include/','dtool/src/prc/configDeclaration.I')
  1742. CopyFile(PREFIX+'/include/','dtool/src/prc/configDeclaration.h')
  1743. CopyFile(PREFIX+'/include/','dtool/src/prc/configFlags.I')
  1744. CopyFile(PREFIX+'/include/','dtool/src/prc/configFlags.h')
  1745. CopyFile(PREFIX+'/include/','dtool/src/prc/configPage.I')
  1746. CopyFile(PREFIX+'/include/','dtool/src/prc/configPage.h')
  1747. CopyFile(PREFIX+'/include/','dtool/src/prc/configPageManager.I')
  1748. CopyFile(PREFIX+'/include/','dtool/src/prc/configPageManager.h')
  1749. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariable.I')
  1750. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariable.h')
  1751. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableBase.I')
  1752. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableBase.h')
  1753. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableBool.I')
  1754. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableBool.h')
  1755. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableCore.I')
  1756. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableCore.h')
  1757. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableDouble.I')
  1758. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableDouble.h')
  1759. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableEnum.I')
  1760. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableEnum.h')
  1761. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableFilename.I')
  1762. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableFilename.h')
  1763. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableInt.I')
  1764. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableInt.h')
  1765. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableList.I')
  1766. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableList.h')
  1767. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableManager.I')
  1768. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableManager.h')
  1769. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableSearchPath.I')
  1770. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableSearchPath.h')
  1771. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableString.I')
  1772. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableString.h')
  1773. CopyFile(PREFIX+'/include/','dtool/src/prc/globPattern.I')
  1774. CopyFile(PREFIX+'/include/','dtool/src/prc/globPattern.h')
  1775. CopyFile(PREFIX+'/include/','dtool/src/prc/notify.I')
  1776. CopyFile(PREFIX+'/include/','dtool/src/prc/notify.h')
  1777. CopyFile(PREFIX+'/include/','dtool/src/prc/notifyCategory.I')
  1778. CopyFile(PREFIX+'/include/','dtool/src/prc/notifyCategory.h')
  1779. CopyFile(PREFIX+'/include/','dtool/src/prc/notifyCategoryProxy.I')
  1780. CopyFile(PREFIX+'/include/','dtool/src/prc/notifyCategoryProxy.h')
  1781. CopyFile(PREFIX+'/include/','dtool/src/prc/notifySeverity.h')
  1782. CopyFile(PREFIX+'/include/','dtool/src/prc/prcKeyRegistry.I')
  1783. CopyFile(PREFIX+'/include/','dtool/src/prc/prcKeyRegistry.h')
  1784. CopyFile(PREFIX+'/include/','dtool/src/dconfig/configTable.I')
  1785. CopyFile(PREFIX+'/include/','dtool/src/dconfig/configTable.h')
  1786. CopyFile(PREFIX+'/include/','dtool/src/dconfig/config_dconfig.h')
  1787. CopyFile(PREFIX+'/include/','dtool/src/dconfig/config_setup.h')
  1788. CopyFile(PREFIX+'/include/','dtool/src/dconfig/dconfig.I')
  1789. CopyFile(PREFIX+'/include/','dtool/src/dconfig/dconfig.h')
  1790. CopyFile(PREFIX+'/include/','dtool/src/dconfig/serialization.I')
  1791. CopyFile(PREFIX+'/include/','dtool/src/dconfig/serialization.h')
  1792. CopyFile(PREFIX+'/include/','dtool/src/dconfig/symbolEnt.I')
  1793. CopyFile(PREFIX+'/include/','dtool/src/dconfig/symbolEnt.h')
  1794. CopyFile(PREFIX+'/include/','dtool/src/interrogatedb/interrogate_interface.h')
  1795. CopyFile(PREFIX+'/include/','dtool/src/interrogatedb/interrogate_request.h')
  1796. CopyFile(PREFIX+'/include/','dtool/src/interrogatedb/vector_int.h')
  1797. CopyFile(PREFIX+'/include/','dtool/src/interrogatedb/config_interrogatedb.h')
  1798. CopyFile(PREFIX+'/include/','dtool/src/pystub/pystub.h')
  1799. CopyFile(PREFIX+'/include/','dtool/src/prckeys/signPrcFile_src.cxx')
  1800. CopyFile(PREFIX+'/include/','panda/src/pandabase/pandabase.h')
  1801. CopyFile(PREFIX+'/include/','panda/src/pandabase/pandasymbols.h')
  1802. CopyFile(PREFIX+'/include/','panda/src/express/atomicAdjustDummyImpl.h')
  1803. CopyFile(PREFIX+'/include/','panda/src/express/atomicAdjustDummyImpl.I')
  1804. CopyFile(PREFIX+'/include/','panda/src/express/atomicAdjust.h')
  1805. CopyFile(PREFIX+'/include/','panda/src/express/atomicAdjust.I')
  1806. CopyFile(PREFIX+'/include/','panda/src/express/atomicAdjustImpl.h')
  1807. CopyFile(PREFIX+'/include/','panda/src/express/atomicAdjustNsprImpl.h')
  1808. CopyFile(PREFIX+'/include/','panda/src/express/atomicAdjustNsprImpl.I')
  1809. CopyFile(PREFIX+'/include/','panda/src/express/bigEndian.h')
  1810. CopyFile(PREFIX+'/include/','panda/src/express/buffer.I')
  1811. CopyFile(PREFIX+'/include/','panda/src/express/buffer.h')
  1812. CopyFile(PREFIX+'/include/','panda/src/express/checksumHashGenerator.I')
  1813. CopyFile(PREFIX+'/include/','panda/src/express/checksumHashGenerator.h')
  1814. CopyFile(PREFIX+'/include/','panda/src/express/circBuffer.I')
  1815. CopyFile(PREFIX+'/include/','panda/src/express/circBuffer.h')
  1816. CopyFile(PREFIX+'/include/','panda/src/express/clockObject.I')
  1817. CopyFile(PREFIX+'/include/','panda/src/express/clockObject.h')
  1818. CopyFile(PREFIX+'/include/','panda/src/express/conditionVarDummyImpl.h')
  1819. CopyFile(PREFIX+'/include/','panda/src/express/conditionVarDummyImpl.I')
  1820. CopyFile(PREFIX+'/include/','panda/src/express/conditionVar.h')
  1821. CopyFile(PREFIX+'/include/','panda/src/express/conditionVar.I')
  1822. CopyFile(PREFIX+'/include/','panda/src/express/conditionVarImpl.h')
  1823. CopyFile(PREFIX+'/include/','panda/src/express/conditionVarNsprImpl.h')
  1824. CopyFile(PREFIX+'/include/','panda/src/express/conditionVarNsprImpl.I')
  1825. CopyFile(PREFIX+'/include/','panda/src/express/config_express.h')
  1826. CopyFile(PREFIX+'/include/','panda/src/express/datagram.I')
  1827. CopyFile(PREFIX+'/include/','panda/src/express/datagram.h')
  1828. CopyFile(PREFIX+'/include/','panda/src/express/datagramGenerator.I')
  1829. CopyFile(PREFIX+'/include/','panda/src/express/datagramGenerator.h')
  1830. CopyFile(PREFIX+'/include/','panda/src/express/datagramIterator.I')
  1831. CopyFile(PREFIX+'/include/','panda/src/express/datagramIterator.h')
  1832. CopyFile(PREFIX+'/include/','panda/src/express/datagramSink.I')
  1833. CopyFile(PREFIX+'/include/','panda/src/express/datagramSink.h')
  1834. CopyFile(PREFIX+'/include/','panda/src/express/dcast.T')
  1835. CopyFile(PREFIX+'/include/','panda/src/express/dcast.h')
  1836. CopyFile(PREFIX+'/include/','panda/src/express/encryptStreamBuf.h')
  1837. CopyFile(PREFIX+'/include/','panda/src/express/encryptStreamBuf.I')
  1838. CopyFile(PREFIX+'/include/','panda/src/express/encryptStream.h')
  1839. CopyFile(PREFIX+'/include/','panda/src/express/encryptStream.I')
  1840. CopyFile(PREFIX+'/include/','panda/src/express/error_utils.h')
  1841. CopyFile(PREFIX+'/include/','panda/src/express/hashGeneratorBase.I')
  1842. CopyFile(PREFIX+'/include/','panda/src/express/hashGeneratorBase.h')
  1843. CopyFile(PREFIX+'/include/','panda/src/express/hashVal.I')
  1844. CopyFile(PREFIX+'/include/','panda/src/express/hashVal.h')
  1845. CopyFile(PREFIX+'/include/','panda/src/express/indent.I')
  1846. CopyFile(PREFIX+'/include/','panda/src/express/indent.h')
  1847. CopyFile(PREFIX+'/include/','panda/src/express/indirectLess.I')
  1848. CopyFile(PREFIX+'/include/','panda/src/express/indirectLess.h')
  1849. CopyFile(PREFIX+'/include/','panda/src/express/littleEndian.h')
  1850. CopyFile(PREFIX+'/include/','panda/src/express/memoryInfo.I')
  1851. CopyFile(PREFIX+'/include/','panda/src/express/memoryInfo.h')
  1852. CopyFile(PREFIX+'/include/','panda/src/express/memoryUsage.I')
  1853. CopyFile(PREFIX+'/include/','panda/src/express/memoryUsage.h')
  1854. CopyFile(PREFIX+'/include/','panda/src/express/memoryUsagePointerCounts.I')
  1855. CopyFile(PREFIX+'/include/','panda/src/express/memoryUsagePointerCounts.h')
  1856. CopyFile(PREFIX+'/include/','panda/src/express/memoryUsagePointers.I')
  1857. CopyFile(PREFIX+'/include/','panda/src/express/memoryUsagePointers.h')
  1858. CopyFile(PREFIX+'/include/','panda/src/express/multifile.I')
  1859. CopyFile(PREFIX+'/include/','panda/src/express/multifile.h')
  1860. CopyFile(PREFIX+'/include/','panda/src/express/mutexDummyImpl.h')
  1861. CopyFile(PREFIX+'/include/','panda/src/express/mutexDummyImpl.I')
  1862. CopyFile(PREFIX+'/include/','panda/src/express/pmutex.h')
  1863. CopyFile(PREFIX+'/include/','panda/src/express/mutexHolder.h')
  1864. CopyFile(PREFIX+'/include/','panda/src/express/mutexHolder.I')
  1865. CopyFile(PREFIX+'/include/','panda/src/express/pmutex.I')
  1866. CopyFile(PREFIX+'/include/','panda/src/express/mutexImpl.h')
  1867. CopyFile(PREFIX+'/include/','panda/src/express/mutexNsprImpl.h')
  1868. CopyFile(PREFIX+'/include/','panda/src/express/mutexNsprImpl.I')
  1869. CopyFile(PREFIX+'/include/','panda/src/express/namable.I')
  1870. CopyFile(PREFIX+'/include/','panda/src/express/namable.h')
  1871. CopyFile(PREFIX+'/include/','panda/src/express/nativeNumericData.I')
  1872. CopyFile(PREFIX+'/include/','panda/src/express/nativeNumericData.h')
  1873. CopyFile(PREFIX+'/include/','panda/src/express/numeric_types.h')
  1874. CopyFile(PREFIX+'/include/','panda/src/express/ordered_vector.h')
  1875. CopyFile(PREFIX+'/include/','panda/src/express/ordered_vector.I')
  1876. CopyFile(PREFIX+'/include/','panda/src/express/ordered_vector.T')
  1877. CopyFile(PREFIX+'/include/','panda/src/express/password_hash.h')
  1878. CopyFile(PREFIX+'/include/','panda/src/express/patchfile.I')
  1879. CopyFile(PREFIX+'/include/','panda/src/express/patchfile.h')
  1880. CopyFile(PREFIX+'/include/','panda/src/express/pointerTo.I')
  1881. CopyFile(PREFIX+'/include/','panda/src/express/pointerTo.h')
  1882. CopyFile(PREFIX+'/include/','panda/src/express/pointerToArray.I')
  1883. CopyFile(PREFIX+'/include/','panda/src/express/pointerToArray.h')
  1884. CopyFile(PREFIX+'/include/','panda/src/express/pointerToBase.I')
  1885. CopyFile(PREFIX+'/include/','panda/src/express/pointerToBase.h')
  1886. CopyFile(PREFIX+'/include/','panda/src/express/pointerToVoid.I')
  1887. CopyFile(PREFIX+'/include/','panda/src/express/pointerToVoid.h')
  1888. CopyFile(PREFIX+'/include/','panda/src/express/profileTimer.I')
  1889. CopyFile(PREFIX+'/include/','panda/src/express/profileTimer.h')
  1890. CopyFile(PREFIX+'/include/','panda/src/express/pta_uchar.h')
  1891. CopyFile(PREFIX+'/include/','panda/src/express/ramfile.I')
  1892. CopyFile(PREFIX+'/include/','panda/src/express/ramfile.h')
  1893. CopyFile(PREFIX+'/include/','panda/src/express/referenceCount.I')
  1894. CopyFile(PREFIX+'/include/','panda/src/express/referenceCount.h')
  1895. CopyFile(PREFIX+'/include/','panda/src/express/register_type.I')
  1896. CopyFile(PREFIX+'/include/','panda/src/express/register_type.h')
  1897. CopyFile(PREFIX+'/include/','panda/src/express/reversedNumericData.I')
  1898. CopyFile(PREFIX+'/include/','panda/src/express/reversedNumericData.h')
  1899. CopyFile(PREFIX+'/include/','panda/src/express/selectThreadImpl.h')
  1900. CopyFile(PREFIX+'/include/','panda/src/express/streamReader.I')
  1901. CopyFile(PREFIX+'/include/','panda/src/express/streamReader.h')
  1902. CopyFile(PREFIX+'/include/','panda/src/express/streamWriter.I')
  1903. CopyFile(PREFIX+'/include/','panda/src/express/streamWriter.h')
  1904. CopyFile(PREFIX+'/include/','panda/src/express/stringDecoder.h')
  1905. CopyFile(PREFIX+'/include/','panda/src/express/stringDecoder.I')
  1906. CopyFile(PREFIX+'/include/','panda/src/express/subStream.I')
  1907. CopyFile(PREFIX+'/include/','panda/src/express/subStream.h')
  1908. CopyFile(PREFIX+'/include/','panda/src/express/subStreamBuf.h')
  1909. CopyFile(PREFIX+'/include/','panda/src/express/textEncoder.h')
  1910. CopyFile(PREFIX+'/include/','panda/src/express/textEncoder.I')
  1911. CopyFile(PREFIX+'/include/','panda/src/express/threadDummyImpl.h')
  1912. CopyFile(PREFIX+'/include/','panda/src/express/threadDummyImpl.I')
  1913. CopyFile(PREFIX+'/include/','panda/src/express/thread.h')
  1914. CopyFile(PREFIX+'/include/','panda/src/express/thread.I')
  1915. CopyFile(PREFIX+'/include/','panda/src/express/threadImpl.h')
  1916. CopyFile(PREFIX+'/include/','panda/src/express/threadNsprImpl.h')
  1917. CopyFile(PREFIX+'/include/','panda/src/express/threadNsprImpl.I')
  1918. CopyFile(PREFIX+'/include/','panda/src/express/threadPriority.h')
  1919. CopyFile(PREFIX+'/include/','panda/src/express/tokenBoard.I')
  1920. CopyFile(PREFIX+'/include/','panda/src/express/tokenBoard.h')
  1921. CopyFile(PREFIX+'/include/','panda/src/express/trueClock.I')
  1922. CopyFile(PREFIX+'/include/','panda/src/express/trueClock.h')
  1923. CopyFile(PREFIX+'/include/','panda/src/express/typeHandle.I')
  1924. CopyFile(PREFIX+'/include/','panda/src/express/typeHandle.h')
  1925. CopyFile(PREFIX+'/include/','panda/src/express/typedObject.I')
  1926. CopyFile(PREFIX+'/include/','panda/src/express/typedObject.h')
  1927. CopyFile(PREFIX+'/include/','panda/src/express/typedReferenceCount.I')
  1928. CopyFile(PREFIX+'/include/','panda/src/express/typedReferenceCount.h')
  1929. CopyFile(PREFIX+'/include/','panda/src/express/typedef.h')
  1930. CopyFile(PREFIX+'/include/','panda/src/express/typeRegistry.I')
  1931. CopyFile(PREFIX+'/include/','panda/src/express/typeRegistry.h')
  1932. CopyFile(PREFIX+'/include/','panda/src/express/typeRegistryNode.I')
  1933. CopyFile(PREFIX+'/include/','panda/src/express/typeRegistryNode.h')
  1934. CopyFile(PREFIX+'/include/','panda/src/express/unicodeLatinMap.h')
  1935. CopyFile(PREFIX+'/include/','panda/src/express/vector_uchar.h')
  1936. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileComposite.h')
  1937. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileComposite.I')
  1938. CopyFile(PREFIX+'/include/','panda/src/express/virtualFile.h')
  1939. CopyFile(PREFIX+'/include/','panda/src/express/virtualFile.I')
  1940. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileList.I')
  1941. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileList.h')
  1942. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileMount.h')
  1943. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileMount.I')
  1944. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileMountMultifile.h')
  1945. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileMountMultifile.I')
  1946. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileMountSystem.h')
  1947. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileMountSystem.I')
  1948. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileSimple.h')
  1949. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileSimple.I')
  1950. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileSystem.h')
  1951. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileSystem.I')
  1952. CopyFile(PREFIX+'/include/','panda/src/express/weakPointerTo.I')
  1953. CopyFile(PREFIX+'/include/','panda/src/express/weakPointerTo.h')
  1954. CopyFile(PREFIX+'/include/','panda/src/express/weakPointerToBase.I')
  1955. CopyFile(PREFIX+'/include/','panda/src/express/weakPointerToBase.h')
  1956. CopyFile(PREFIX+'/include/','panda/src/express/weakPointerToVoid.I')
  1957. CopyFile(PREFIX+'/include/','panda/src/express/weakPointerToVoid.h')
  1958. CopyFile(PREFIX+'/include/','panda/src/express/weakReferenceList.I')
  1959. CopyFile(PREFIX+'/include/','panda/src/express/weakReferenceList.h')
  1960. CopyFile(PREFIX+'/include/','panda/src/express/windowsRegistry.h')
  1961. CopyFile(PREFIX+'/include/','panda/src/express/zStream.I')
  1962. CopyFile(PREFIX+'/include/','panda/src/express/zStream.h')
  1963. CopyFile(PREFIX+'/include/','panda/src/express/zStreamBuf.h')
  1964. CopyFile(PREFIX+'/include/','panda/src/downloader/asyncUtility.h')
  1965. CopyFile(PREFIX+'/include/','panda/src/downloader/asyncUtility.I')
  1966. CopyFile(PREFIX+'/include/','panda/src/downloader/bioPtr.I')
  1967. CopyFile(PREFIX+'/include/','panda/src/downloader/bioPtr.h')
  1968. CopyFile(PREFIX+'/include/','panda/src/downloader/bioStreamPtr.I')
  1969. CopyFile(PREFIX+'/include/','panda/src/downloader/bioStreamPtr.h')
  1970. CopyFile(PREFIX+'/include/','panda/src/downloader/bioStream.I')
  1971. CopyFile(PREFIX+'/include/','panda/src/downloader/bioStream.h')
  1972. CopyFile(PREFIX+'/include/','panda/src/downloader/bioStreamBuf.h')
  1973. CopyFile(PREFIX+'/include/','panda/src/downloader/chunkedStream.I')
  1974. CopyFile(PREFIX+'/include/','panda/src/downloader/chunkedStream.h')
  1975. CopyFile(PREFIX+'/include/','panda/src/downloader/chunkedStreamBuf.h')
  1976. CopyFile(PREFIX+'/include/','panda/src/downloader/config_downloader.h')
  1977. CopyFile(PREFIX+'/include/','panda/src/downloader/decompressor.h')
  1978. CopyFile(PREFIX+'/include/','panda/src/downloader/decompressor.I')
  1979. CopyFile(PREFIX+'/include/','panda/src/downloader/documentSpec.h')
  1980. CopyFile(PREFIX+'/include/','panda/src/downloader/documentSpec.I')
  1981. CopyFile(PREFIX+'/include/','panda/src/downloader/download_utils.h')
  1982. CopyFile(PREFIX+'/include/','panda/src/downloader/downloadDb.h')
  1983. CopyFile(PREFIX+'/include/','panda/src/downloader/downloadDb.I')
  1984. CopyFile(PREFIX+'/include/','panda/src/downloader/extractor.h')
  1985. CopyFile(PREFIX+'/include/','panda/src/downloader/httpAuthorization.I')
  1986. CopyFile(PREFIX+'/include/','panda/src/downloader/httpAuthorization.h')
  1987. CopyFile(PREFIX+'/include/','panda/src/downloader/httpBasicAuthorization.I')
  1988. CopyFile(PREFIX+'/include/','panda/src/downloader/httpBasicAuthorization.h')
  1989. CopyFile(PREFIX+'/include/','panda/src/downloader/httpChannel.I')
  1990. CopyFile(PREFIX+'/include/','panda/src/downloader/httpChannel.h')
  1991. CopyFile(PREFIX+'/include/','panda/src/downloader/httpClient.I')
  1992. CopyFile(PREFIX+'/include/','panda/src/downloader/httpClient.h')
  1993. CopyFile(PREFIX+'/include/','panda/src/downloader/httpCookie.I')
  1994. CopyFile(PREFIX+'/include/','panda/src/downloader/httpCookie.h')
  1995. CopyFile(PREFIX+'/include/','panda/src/downloader/httpDate.I')
  1996. CopyFile(PREFIX+'/include/','panda/src/downloader/httpDate.h')
  1997. CopyFile(PREFIX+'/include/','panda/src/downloader/httpDigestAuthorization.I')
  1998. CopyFile(PREFIX+'/include/','panda/src/downloader/httpDigestAuthorization.h')
  1999. CopyFile(PREFIX+'/include/','panda/src/downloader/httpEntityTag.I')
  2000. CopyFile(PREFIX+'/include/','panda/src/downloader/httpEntityTag.h')
  2001. CopyFile(PREFIX+'/include/','panda/src/downloader/httpEnum.h')
  2002. CopyFile(PREFIX+'/include/','panda/src/downloader/identityStream.I')
  2003. CopyFile(PREFIX+'/include/','panda/src/downloader/identityStream.h')
  2004. CopyFile(PREFIX+'/include/','panda/src/downloader/identityStreamBuf.h')
  2005. CopyFile(PREFIX+'/include/','panda/src/downloader/multiplexStream.I')
  2006. CopyFile(PREFIX+'/include/','panda/src/downloader/multiplexStream.h')
  2007. CopyFile(PREFIX+'/include/','panda/src/downloader/multiplexStreamBuf.I')
  2008. CopyFile(PREFIX+'/include/','panda/src/downloader/multiplexStreamBuf.h')
  2009. CopyFile(PREFIX+'/include/','panda/src/downloader/patcher.h')
  2010. CopyFile(PREFIX+'/include/','panda/src/downloader/patcher.I')
  2011. CopyFile(PREFIX+'/include/','panda/src/downloader/socketStream.h')
  2012. CopyFile(PREFIX+'/include/','panda/src/downloader/socketStream.I')
  2013. CopyFile(PREFIX+'/include/','panda/src/downloader/ssl_utils.h')
  2014. CopyFile(PREFIX+'/include/','panda/src/downloader/urlSpec.h')
  2015. CopyFile(PREFIX+'/include/','panda/src/downloader/urlSpec.I')
  2016. CopyFile(PREFIX+'/include/','panda/src/putil/bam.h')
  2017. CopyFile(PREFIX+'/include/','panda/src/putil/bamReader.I')
  2018. CopyFile(PREFIX+'/include/','panda/src/putil/bamReader.h')
  2019. CopyFile(PREFIX+'/include/','panda/src/putil/bamReaderParam.I')
  2020. CopyFile(PREFIX+'/include/','panda/src/putil/bamReaderParam.h')
  2021. CopyFile(PREFIX+'/include/','panda/src/putil/bamWriter.I')
  2022. CopyFile(PREFIX+'/include/','panda/src/putil/bamWriter.h')
  2023. CopyFile(PREFIX+'/include/','panda/src/putil/bitMask.I')
  2024. CopyFile(PREFIX+'/include/','panda/src/putil/bitMask.h')
  2025. CopyFile(PREFIX+'/include/','panda/src/putil/buttonHandle.I')
  2026. CopyFile(PREFIX+'/include/','panda/src/putil/buttonHandle.h')
  2027. CopyFile(PREFIX+'/include/','panda/src/putil/buttonRegistry.I')
  2028. CopyFile(PREFIX+'/include/','panda/src/putil/buttonRegistry.h')
  2029. CopyFile(PREFIX+'/include/','panda/src/putil/collideMask.h')
  2030. CopyFile(PREFIX+'/include/','panda/src/putil/portalMask.h')
  2031. CopyFile(PREFIX+'/include/','panda/src/putil/compareTo.I')
  2032. CopyFile(PREFIX+'/include/','panda/src/putil/compareTo.h')
  2033. CopyFile(PREFIX+'/include/','panda/src/putil/config_util.h')
  2034. CopyFile(PREFIX+'/include/','panda/src/putil/configurable.h')
  2035. CopyFile(PREFIX+'/include/','panda/src/putil/factory.I')
  2036. CopyFile(PREFIX+'/include/','panda/src/putil/factory.h')
  2037. CopyFile(PREFIX+'/include/','panda/src/putil/cachedTypedWritableReferenceCount.h')
  2038. CopyFile(PREFIX+'/include/','panda/src/putil/cachedTypedWritableReferenceCount.I')
  2039. CopyFile(PREFIX+'/include/','panda/src/putil/cycleData.h')
  2040. CopyFile(PREFIX+'/include/','panda/src/putil/cycleData.I')
  2041. CopyFile(PREFIX+'/include/','panda/src/putil/cycleDataReader.h')
  2042. CopyFile(PREFIX+'/include/','panda/src/putil/cycleDataReader.I')
  2043. CopyFile(PREFIX+'/include/','panda/src/putil/cycleDataWriter.h')
  2044. CopyFile(PREFIX+'/include/','panda/src/putil/cycleDataWriter.I')
  2045. CopyFile(PREFIX+'/include/','panda/src/putil/datagramInputFile.I')
  2046. CopyFile(PREFIX+'/include/','panda/src/putil/datagramInputFile.h')
  2047. CopyFile(PREFIX+'/include/','panda/src/putil/datagramOutputFile.I')
  2048. CopyFile(PREFIX+'/include/','panda/src/putil/datagramOutputFile.h')
  2049. CopyFile(PREFIX+'/include/','panda/src/putil/drawMask.h')
  2050. CopyFile(PREFIX+'/include/','panda/src/putil/factoryBase.I')
  2051. CopyFile(PREFIX+'/include/','panda/src/putil/factoryBase.h')
  2052. CopyFile(PREFIX+'/include/','panda/src/putil/factoryParam.I')
  2053. CopyFile(PREFIX+'/include/','panda/src/putil/factoryParam.h')
  2054. CopyFile(PREFIX+'/include/','panda/src/putil/factoryParams.I')
  2055. CopyFile(PREFIX+'/include/','panda/src/putil/factoryParams.h')
  2056. CopyFile(PREFIX+'/include/','panda/src/putil/firstOfPairCompare.I')
  2057. CopyFile(PREFIX+'/include/','panda/src/putil/firstOfPairCompare.h')
  2058. CopyFile(PREFIX+'/include/','panda/src/putil/firstOfPairLess.I')
  2059. CopyFile(PREFIX+'/include/','panda/src/putil/firstOfPairLess.h')
  2060. CopyFile(PREFIX+'/include/','panda/src/putil/globalPointerRegistry.I')
  2061. CopyFile(PREFIX+'/include/','panda/src/putil/globalPointerRegistry.h')
  2062. CopyFile(PREFIX+'/include/','panda/src/putil/indirectCompareNames.I')
  2063. CopyFile(PREFIX+'/include/','panda/src/putil/indirectCompareNames.h')
  2064. CopyFile(PREFIX+'/include/','panda/src/putil/indirectCompareTo.I')
  2065. CopyFile(PREFIX+'/include/','panda/src/putil/indirectCompareTo.h')
  2066. CopyFile(PREFIX+'/include/','panda/src/putil/ioPtaDatagramFloat.h')
  2067. CopyFile(PREFIX+'/include/','panda/src/putil/ioPtaDatagramInt.h')
  2068. CopyFile(PREFIX+'/include/','panda/src/putil/ioPtaDatagramShort.h')
  2069. CopyFile(PREFIX+'/include/','panda/src/putil/iterator_types.h')
  2070. CopyFile(PREFIX+'/include/','panda/src/putil/keyboardButton.h')
  2071. CopyFile(PREFIX+'/include/','panda/src/putil/lineStream.I')
  2072. CopyFile(PREFIX+'/include/','panda/src/putil/lineStream.h')
  2073. CopyFile(PREFIX+'/include/','panda/src/putil/lineStreamBuf.I')
  2074. CopyFile(PREFIX+'/include/','panda/src/putil/lineStreamBuf.h')
  2075. CopyFile(PREFIX+'/include/','panda/src/putil/load_prc_file.h')
  2076. CopyFile(PREFIX+'/include/','panda/src/putil/modifierButtons.I')
  2077. CopyFile(PREFIX+'/include/','panda/src/putil/modifierButtons.h')
  2078. CopyFile(PREFIX+'/include/','panda/src/putil/mouseButton.h')
  2079. CopyFile(PREFIX+'/include/','panda/src/putil/mouseData.I')
  2080. CopyFile(PREFIX+'/include/','panda/src/putil/mouseData.h')
  2081. CopyFile(PREFIX+'/include/','panda/src/putil/nameUniquifier.I')
  2082. CopyFile(PREFIX+'/include/','panda/src/putil/nameUniquifier.h')
  2083. CopyFile(PREFIX+'/include/','panda/src/putil/pipeline.h')
  2084. CopyFile(PREFIX+'/include/','panda/src/putil/pipeline.I')
  2085. CopyFile(PREFIX+'/include/','panda/src/putil/pipelineCycler.h')
  2086. CopyFile(PREFIX+'/include/','panda/src/putil/pipelineCycler.I')
  2087. CopyFile(PREFIX+'/include/','panda/src/putil/pipelineCyclerBase.h')
  2088. CopyFile(PREFIX+'/include/','panda/src/putil/pipelineCyclerBase.I')
  2089. CopyFile(PREFIX+'/include/','panda/src/putil/pta_double.h')
  2090. CopyFile(PREFIX+'/include/','panda/src/putil/pta_float.h')
  2091. CopyFile(PREFIX+'/include/','panda/src/putil/pta_int.h')
  2092. CopyFile(PREFIX+'/include/','panda/src/putil/pta_ushort.h')
  2093. CopyFile(PREFIX+'/include/','panda/src/putil/string_utils.I')
  2094. CopyFile(PREFIX+'/include/','panda/src/putil/string_utils.h')
  2095. CopyFile(PREFIX+'/include/','panda/src/putil/timedCycle.I')
  2096. CopyFile(PREFIX+'/include/','panda/src/putil/timedCycle.h')
  2097. CopyFile(PREFIX+'/include/','panda/src/putil/typedWritable.I')
  2098. CopyFile(PREFIX+'/include/','panda/src/putil/typedWritable.h')
  2099. CopyFile(PREFIX+'/include/','panda/src/putil/typedWritableReferenceCount.I')
  2100. CopyFile(PREFIX+'/include/','panda/src/putil/typedWritableReferenceCount.h')
  2101. CopyFile(PREFIX+'/include/','panda/src/putil/updateSeq.I')
  2102. CopyFile(PREFIX+'/include/','panda/src/putil/updateSeq.h')
  2103. CopyFile(PREFIX+'/include/','panda/src/putil/uniqueIdAllocator.h')
  2104. CopyFile(PREFIX+'/include/','panda/src/putil/vector_double.h')
  2105. CopyFile(PREFIX+'/include/','panda/src/putil/vector_float.h')
  2106. CopyFile(PREFIX+'/include/','panda/src/putil/vector_typedWritable.h')
  2107. CopyFile(PREFIX+'/include/','panda/src/putil/vector_ushort.h')
  2108. CopyFile(PREFIX+'/include/','panda/src/putil/vector_writable.h')
  2109. CopyFile(PREFIX+'/include/','panda/src/putil/writableConfigurable.h')
  2110. CopyFile(PREFIX+'/include/','panda/src/putil/writableParam.I')
  2111. CopyFile(PREFIX+'/include/','panda/src/putil/writableParam.h')
  2112. CopyFile(PREFIX+'/include/','panda/src/audio/config_audio.h')
  2113. CopyFile(PREFIX+'/include/','panda/src/audio/audio.h')
  2114. CopyFile(PREFIX+'/include/','panda/src/audio/audioManager.h')
  2115. CopyFile(PREFIX+'/include/','panda/src/audio/audioSound.h')
  2116. CopyFile(PREFIX+'/include/','panda/src/audio/nullAudioManager.h')
  2117. CopyFile(PREFIX+'/include/','panda/src/audio/nullAudioSound.h')
  2118. CopyFile(PREFIX+'/include/','panda/src/event/buttonEvent.I')
  2119. CopyFile(PREFIX+'/include/','panda/src/event/buttonEvent.h')
  2120. CopyFile(PREFIX+'/include/','panda/src/event/buttonEventList.I')
  2121. CopyFile(PREFIX+'/include/','panda/src/event/buttonEventList.h')
  2122. CopyFile(PREFIX+'/include/','panda/src/event/event.I')
  2123. CopyFile(PREFIX+'/include/','panda/src/event/event.h')
  2124. CopyFile(PREFIX+'/include/','panda/src/event/eventHandler.h')
  2125. CopyFile(PREFIX+'/include/','panda/src/event/eventHandler.I')
  2126. CopyFile(PREFIX+'/include/','panda/src/event/eventParameter.I')
  2127. CopyFile(PREFIX+'/include/','panda/src/event/eventParameter.h')
  2128. CopyFile(PREFIX+'/include/','panda/src/event/eventQueue.I')
  2129. CopyFile(PREFIX+'/include/','panda/src/event/eventQueue.h')
  2130. CopyFile(PREFIX+'/include/','panda/src/event/eventReceiver.h')
  2131. CopyFile(PREFIX+'/include/','panda/src/event/pt_Event.h')
  2132. CopyFile(PREFIX+'/include/','panda/src/event/throw_event.I')
  2133. CopyFile(PREFIX+'/include/','panda/src/event/throw_event.h')
  2134. CopyFile(PREFIX+'/include/','panda/src/linmath/compose_matrix.h')
  2135. CopyFile(PREFIX+'/include/','panda/src/linmath/compose_matrix_src.I')
  2136. CopyFile(PREFIX+'/include/','panda/src/linmath/compose_matrix_src.h')
  2137. CopyFile(PREFIX+'/include/','panda/src/linmath/config_linmath.h')
  2138. CopyFile(PREFIX+'/include/','panda/src/linmath/coordinateSystem.h')
  2139. CopyFile(PREFIX+'/include/','panda/src/linmath/dbl2fltnames.h')
  2140. CopyFile(PREFIX+'/include/','panda/src/linmath/dblnames.h')
  2141. CopyFile(PREFIX+'/include/','panda/src/linmath/deg_2_rad.h')
  2142. CopyFile(PREFIX+'/include/','panda/src/linmath/flt2dblnames.h')
  2143. CopyFile(PREFIX+'/include/','panda/src/linmath/fltnames.h')
  2144. CopyFile(PREFIX+'/include/','panda/src/linmath/ioPtaDatagramLinMath.I')
  2145. CopyFile(PREFIX+'/include/','panda/src/linmath/ioPtaDatagramLinMath.h')
  2146. CopyFile(PREFIX+'/include/','panda/src/linmath/lcast_to.h')
  2147. CopyFile(PREFIX+'/include/','panda/src/linmath/lcast_to_src.I')
  2148. CopyFile(PREFIX+'/include/','panda/src/linmath/lcast_to_src.h')
  2149. CopyFile(PREFIX+'/include/','panda/src/linmath/lmat_ops.h')
  2150. CopyFile(PREFIX+'/include/','panda/src/linmath/lmat_ops_src.I')
  2151. CopyFile(PREFIX+'/include/','panda/src/linmath/lmat_ops_src.h')
  2152. CopyFile(PREFIX+'/include/','panda/src/linmath/lmatrix.h')
  2153. CopyFile(PREFIX+'/include/','panda/src/linmath/lmatrix3.h')
  2154. CopyFile(PREFIX+'/include/','panda/src/linmath/lmatrix3_src.I')
  2155. CopyFile(PREFIX+'/include/','panda/src/linmath/lmatrix3_src.h')
  2156. CopyFile(PREFIX+'/include/','panda/src/linmath/lmatrix4.h')
  2157. CopyFile(PREFIX+'/include/','panda/src/linmath/lmatrix4_src.I')
  2158. CopyFile(PREFIX+'/include/','panda/src/linmath/lmatrix4_src.h')
  2159. CopyFile(PREFIX+'/include/','panda/src/linmath/lorientation.h')
  2160. CopyFile(PREFIX+'/include/','panda/src/linmath/lorientation_src.I')
  2161. CopyFile(PREFIX+'/include/','panda/src/linmath/lorientation_src.h')
  2162. CopyFile(PREFIX+'/include/','panda/src/linmath/lpoint2.h')
  2163. CopyFile(PREFIX+'/include/','panda/src/linmath/lpoint2_src.I')
  2164. CopyFile(PREFIX+'/include/','panda/src/linmath/lpoint2_src.h')
  2165. CopyFile(PREFIX+'/include/','panda/src/linmath/lpoint3.h')
  2166. CopyFile(PREFIX+'/include/','panda/src/linmath/lpoint3_src.I')
  2167. CopyFile(PREFIX+'/include/','panda/src/linmath/lpoint3_src.h')
  2168. CopyFile(PREFIX+'/include/','panda/src/linmath/lpoint4.h')
  2169. CopyFile(PREFIX+'/include/','panda/src/linmath/lpoint4_src.I')
  2170. CopyFile(PREFIX+'/include/','panda/src/linmath/lpoint4_src.h')
  2171. CopyFile(PREFIX+'/include/','panda/src/linmath/lquaternion.h')
  2172. CopyFile(PREFIX+'/include/','panda/src/linmath/lquaternion_src.I')
  2173. CopyFile(PREFIX+'/include/','panda/src/linmath/lquaternion_src.h')
  2174. CopyFile(PREFIX+'/include/','panda/src/linmath/lrotation.h')
  2175. CopyFile(PREFIX+'/include/','panda/src/linmath/lrotation_src.I')
  2176. CopyFile(PREFIX+'/include/','panda/src/linmath/lrotation_src.h')
  2177. CopyFile(PREFIX+'/include/','panda/src/linmath/luse.I')
  2178. CopyFile(PREFIX+'/include/','panda/src/linmath/luse.h')
  2179. CopyFile(PREFIX+'/include/','panda/src/linmath/lvec2_ops.h')
  2180. CopyFile(PREFIX+'/include/','panda/src/linmath/lvec2_ops_src.I')
  2181. CopyFile(PREFIX+'/include/','panda/src/linmath/lvec2_ops_src.h')
  2182. CopyFile(PREFIX+'/include/','panda/src/linmath/lvec3_ops.h')
  2183. CopyFile(PREFIX+'/include/','panda/src/linmath/lvec3_ops_src.I')
  2184. CopyFile(PREFIX+'/include/','panda/src/linmath/lvec3_ops_src.h')
  2185. CopyFile(PREFIX+'/include/','panda/src/linmath/lvec4_ops.h')
  2186. CopyFile(PREFIX+'/include/','panda/src/linmath/lvec4_ops_src.I')
  2187. CopyFile(PREFIX+'/include/','panda/src/linmath/lvec4_ops_src.h')
  2188. CopyFile(PREFIX+'/include/','panda/src/linmath/lvecBase2.h')
  2189. CopyFile(PREFIX+'/include/','panda/src/linmath/lvecBase2_src.I')
  2190. CopyFile(PREFIX+'/include/','panda/src/linmath/lvecBase2_src.h')
  2191. CopyFile(PREFIX+'/include/','panda/src/linmath/lvecBase3.h')
  2192. CopyFile(PREFIX+'/include/','panda/src/linmath/lvecBase3_src.I')
  2193. CopyFile(PREFIX+'/include/','panda/src/linmath/lvecBase3_src.h')
  2194. CopyFile(PREFIX+'/include/','panda/src/linmath/lvecBase4.h')
  2195. CopyFile(PREFIX+'/include/','panda/src/linmath/lvecBase4_src.I')
  2196. CopyFile(PREFIX+'/include/','panda/src/linmath/lvecBase4_src.h')
  2197. CopyFile(PREFIX+'/include/','panda/src/linmath/lvector2.h')
  2198. CopyFile(PREFIX+'/include/','panda/src/linmath/lvector2_src.I')
  2199. CopyFile(PREFIX+'/include/','panda/src/linmath/lvector2_src.h')
  2200. CopyFile(PREFIX+'/include/','panda/src/linmath/lvector3.h')
  2201. CopyFile(PREFIX+'/include/','panda/src/linmath/lvector3_src.I')
  2202. CopyFile(PREFIX+'/include/','panda/src/linmath/lvector3_src.h')
  2203. CopyFile(PREFIX+'/include/','panda/src/linmath/lvector4.h')
  2204. CopyFile(PREFIX+'/include/','panda/src/linmath/lvector4_src.I')
  2205. CopyFile(PREFIX+'/include/','panda/src/linmath/lvector4_src.h')
  2206. CopyFile(PREFIX+'/include/','panda/src/linmath/mathNumbers.h')
  2207. CopyFile(PREFIX+'/include/','panda/src/linmath/mathNumbers.I')
  2208. CopyFile(PREFIX+'/include/','panda/src/linmath/pta_Colorf.h')
  2209. CopyFile(PREFIX+'/include/','panda/src/linmath/pta_Normalf.h')
  2210. CopyFile(PREFIX+'/include/','panda/src/linmath/pta_TexCoordf.h')
  2211. CopyFile(PREFIX+'/include/','panda/src/linmath/pta_Vertexf.h')
  2212. CopyFile(PREFIX+'/include/','panda/src/linmath/vector_Colorf.h')
  2213. CopyFile(PREFIX+'/include/','panda/src/linmath/vector_LPoint2f.h')
  2214. CopyFile(PREFIX+'/include/','panda/src/linmath/vector_LVecBase3f.h')
  2215. CopyFile(PREFIX+'/include/','panda/src/linmath/vector_Normalf.h')
  2216. CopyFile(PREFIX+'/include/','panda/src/linmath/vector_TexCoordf.h')
  2217. CopyFile(PREFIX+'/include/','panda/src/linmath/vector_Vertexf.h')
  2218. CopyFile(PREFIX+'/include/','panda/src/mathutil/boundingHexahedron.I')
  2219. CopyFile(PREFIX+'/include/','panda/src/mathutil/boundingHexahedron.h')
  2220. CopyFile(PREFIX+'/include/','panda/src/mathutil/boundingLine.I')
  2221. CopyFile(PREFIX+'/include/','panda/src/mathutil/boundingLine.h')
  2222. CopyFile(PREFIX+'/include/','panda/src/mathutil/boundingSphere.I')
  2223. CopyFile(PREFIX+'/include/','panda/src/mathutil/boundingSphere.h')
  2224. CopyFile(PREFIX+'/include/','panda/src/mathutil/boundingVolume.I')
  2225. CopyFile(PREFIX+'/include/','panda/src/mathutil/boundingVolume.h')
  2226. CopyFile(PREFIX+'/include/','panda/src/mathutil/config_mathutil.h')
  2227. CopyFile(PREFIX+'/include/','panda/src/mathutil/fftCompressor.h')
  2228. CopyFile(PREFIX+'/include/','panda/src/mathutil/finiteBoundingVolume.h')
  2229. CopyFile(PREFIX+'/include/','panda/src/mathutil/frustum.h')
  2230. CopyFile(PREFIX+'/include/','panda/src/mathutil/frustum_src.I')
  2231. CopyFile(PREFIX+'/include/','panda/src/mathutil/frustum_src.h')
  2232. CopyFile(PREFIX+'/include/','panda/src/mathutil/geometricBoundingVolume.I')
  2233. CopyFile(PREFIX+'/include/','panda/src/mathutil/geometricBoundingVolume.h')
  2234. CopyFile(PREFIX+'/include/','panda/src/mathutil/look_at.h')
  2235. CopyFile(PREFIX+'/include/','panda/src/mathutil/look_at_src.I')
  2236. CopyFile(PREFIX+'/include/','panda/src/mathutil/look_at_src.h')
  2237. CopyFile(PREFIX+'/include/','panda/src/mathutil/linmath_events.h')
  2238. CopyFile(PREFIX+'/include/','panda/src/mathutil/mathHelpers.I')
  2239. CopyFile(PREFIX+'/include/','panda/src/mathutil/mathHelpers.h')
  2240. CopyFile(PREFIX+'/include/','panda/src/mathutil/omniBoundingVolume.I')
  2241. CopyFile(PREFIX+'/include/','panda/src/mathutil/omniBoundingVolume.h')
  2242. CopyFile(PREFIX+'/include/','panda/src/mathutil/plane.h')
  2243. CopyFile(PREFIX+'/include/','panda/src/mathutil/plane_src.I')
  2244. CopyFile(PREFIX+'/include/','panda/src/mathutil/plane_src.h')
  2245. CopyFile(PREFIX+'/include/','panda/src/mathutil/rotate_to.h')
  2246. CopyFile(PREFIX+'/include/','panda/src/gsgbase/graphicsStateGuardianBase.h')
  2247. CopyFile(PREFIX+'/include/','panda/src/pnmimage/config_pnmimage.h')
  2248. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmFileType.h')
  2249. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmFileTypeRegistry.h')
  2250. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmImage.I')
  2251. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmImage.h')
  2252. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmImageHeader.I')
  2253. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmImageHeader.h')
  2254. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmReader.I')
  2255. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmReader.h')
  2256. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmWriter.I')
  2257. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmWriter.h')
  2258. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmimage_base.h')
  2259. CopyFile(PREFIX+'/include/','panda/src/pnmimagetypes/sgi.h')
  2260. CopyFile(PREFIX+'/include/','panda/src/net/config_net.h')
  2261. CopyFile(PREFIX+'/include/','panda/src/net/connection.h')
  2262. CopyFile(PREFIX+'/include/','panda/src/net/connectionListener.h')
  2263. CopyFile(PREFIX+'/include/','panda/src/net/connectionManager.h')
  2264. CopyFile(PREFIX+'/include/','panda/src/net/connectionReader.h')
  2265. CopyFile(PREFIX+'/include/','panda/src/net/connectionWriter.h')
  2266. CopyFile(PREFIX+'/include/','panda/src/net/datagramQueue.h')
  2267. CopyFile(PREFIX+'/include/','panda/src/net/datagramTCPHeader.I')
  2268. CopyFile(PREFIX+'/include/','panda/src/net/datagramTCPHeader.h')
  2269. CopyFile(PREFIX+'/include/','panda/src/net/datagramUDPHeader.I')
  2270. CopyFile(PREFIX+'/include/','panda/src/net/datagramUDPHeader.h')
  2271. CopyFile(PREFIX+'/include/','panda/src/net/netAddress.h')
  2272. CopyFile(PREFIX+'/include/','panda/src/net/netDatagram.I')
  2273. CopyFile(PREFIX+'/include/','panda/src/net/netDatagram.h')
  2274. CopyFile(PREFIX+'/include/','panda/src/net/pprerror.h')
  2275. CopyFile(PREFIX+'/include/','panda/src/net/queuedConnectionListener.I')
  2276. CopyFile(PREFIX+'/include/','panda/src/net/queuedConnectionListener.h')
  2277. CopyFile(PREFIX+'/include/','panda/src/net/queuedConnectionManager.h')
  2278. CopyFile(PREFIX+'/include/','panda/src/net/queuedConnectionReader.h')
  2279. CopyFile(PREFIX+'/include/','panda/src/net/queuedReturn.I')
  2280. CopyFile(PREFIX+'/include/','panda/src/net/queuedReturn.h')
  2281. CopyFile(PREFIX+'/include/','panda/src/net/recentConnectionReader.h')
  2282. CopyFile(PREFIX+'/include/','panda/src/pstatclient/config_pstats.h')
  2283. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatClient.I')
  2284. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatClient.h')
  2285. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatClientImpl.I')
  2286. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatClientImpl.h')
  2287. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatClientVersion.I')
  2288. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatClientVersion.h')
  2289. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatClientControlMessage.h')
  2290. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatCollector.I')
  2291. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatCollector.h')
  2292. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatCollectorDef.h')
  2293. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatFrameData.I')
  2294. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatFrameData.h')
  2295. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatProperties.h')
  2296. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatServerControlMessage.h')
  2297. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatThread.I')
  2298. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatThread.h')
  2299. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatTimer.I')
  2300. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatTimer.h')
  2301. CopyFile(PREFIX+'/include/','panda/src/gobj/boundedObject.I')
  2302. CopyFile(PREFIX+'/include/','panda/src/gobj/boundedObject.h')
  2303. CopyFile(PREFIX+'/include/','panda/src/gobj/config_gobj.h')
  2304. CopyFile(PREFIX+'/include/','panda/src/gobj/drawable.h')
  2305. CopyFile(PREFIX+'/include/','panda/src/gobj/geom.I')
  2306. CopyFile(PREFIX+'/include/','panda/src/gobj/geom.h')
  2307. CopyFile(PREFIX+'/include/','panda/src/gobj/textureContext.I')
  2308. CopyFile(PREFIX+'/include/','panda/src/gobj/textureContext.h')
  2309. CopyFile(PREFIX+'/include/','panda/src/gobj/geomLine.h')
  2310. CopyFile(PREFIX+'/include/','panda/src/gobj/geomLinestrip.h')
  2311. CopyFile(PREFIX+'/include/','panda/src/gobj/geomPoint.h')
  2312. CopyFile(PREFIX+'/include/','panda/src/gobj/geomPolygon.h')
  2313. CopyFile(PREFIX+'/include/','panda/src/gobj/geomQuad.h')
  2314. CopyFile(PREFIX+'/include/','panda/src/gobj/geomSphere.h')
  2315. CopyFile(PREFIX+'/include/','panda/src/gobj/geomSprite.I')
  2316. CopyFile(PREFIX+'/include/','panda/src/gobj/geomSprite.h')
  2317. CopyFile(PREFIX+'/include/','panda/src/gobj/geomTri.h')
  2318. CopyFile(PREFIX+'/include/','panda/src/gobj/geomTrifan.h')
  2319. CopyFile(PREFIX+'/include/','panda/src/gobj/geomTristrip.h')
  2320. CopyFile(PREFIX+'/include/','panda/src/gobj/geomprimitives.h')
  2321. CopyFile(PREFIX+'/include/','panda/src/gobj/imageBuffer.I')
  2322. CopyFile(PREFIX+'/include/','panda/src/gobj/imageBuffer.h')
  2323. CopyFile(PREFIX+'/include/','panda/src/gobj/material.I')
  2324. CopyFile(PREFIX+'/include/','panda/src/gobj/material.h')
  2325. CopyFile(PREFIX+'/include/','panda/src/gobj/materialPool.I')
  2326. CopyFile(PREFIX+'/include/','panda/src/gobj/materialPool.h')
  2327. CopyFile(PREFIX+'/include/','panda/src/gobj/matrixLens.I')
  2328. CopyFile(PREFIX+'/include/','panda/src/gobj/matrixLens.h')
  2329. CopyFile(PREFIX+'/include/','panda/src/gobj/orthographicLens.I')
  2330. CopyFile(PREFIX+'/include/','panda/src/gobj/orthographicLens.h')
  2331. CopyFile(PREFIX+'/include/','panda/src/gobj/perspectiveLens.I')
  2332. CopyFile(PREFIX+'/include/','panda/src/gobj/perspectiveLens.h')
  2333. CopyFile(PREFIX+'/include/','panda/src/gobj/pixelBuffer.I')
  2334. CopyFile(PREFIX+'/include/','panda/src/gobj/pixelBuffer.h')
  2335. CopyFile(PREFIX+'/include/','panda/src/gobj/preparedGraphicsObjects.I')
  2336. CopyFile(PREFIX+'/include/','panda/src/gobj/preparedGraphicsObjects.h')
  2337. CopyFile(PREFIX+'/include/','panda/src/gobj/lens.h')
  2338. CopyFile(PREFIX+'/include/','panda/src/gobj/lens.I')
  2339. CopyFile(PREFIX+'/include/','panda/src/gobj/savedContext.I')
  2340. CopyFile(PREFIX+'/include/','panda/src/gobj/savedContext.h')
  2341. CopyFile(PREFIX+'/include/','panda/src/gobj/texture.I')
  2342. CopyFile(PREFIX+'/include/','panda/src/gobj/texture.h')
  2343. CopyFile(PREFIX+'/include/','panda/src/gobj/texturePool.I')
  2344. CopyFile(PREFIX+'/include/','panda/src/gobj/texturePool.h')
  2345. CopyFile(PREFIX+'/include/','panda/src/gobj/texCoordName.I')
  2346. CopyFile(PREFIX+'/include/','panda/src/gobj/texCoordName.h')
  2347. CopyFile(PREFIX+'/include/','panda/src/gobj/textureStage.I')
  2348. CopyFile(PREFIX+'/include/','panda/src/gobj/textureStage.h')
  2349. CopyFile(PREFIX+'/include/','panda/src/lerp/lerp.h')
  2350. CopyFile(PREFIX+'/include/','panda/src/lerp/lerpblend.h')
  2351. CopyFile(PREFIX+'/include/','panda/src/lerp/lerpfunctor.h')
  2352. CopyFile(PREFIX+'/include/','panda/src/pgraph/accumulatedAttribs.I')
  2353. CopyFile(PREFIX+'/include/','panda/src/pgraph/accumulatedAttribs.h')
  2354. CopyFile(PREFIX+'/include/','panda/src/pgraph/alphaTestAttrib.I')
  2355. CopyFile(PREFIX+'/include/','panda/src/pgraph/alphaTestAttrib.h')
  2356. CopyFile(PREFIX+'/include/','panda/src/pgraph/antialiasAttrib.I')
  2357. CopyFile(PREFIX+'/include/','panda/src/pgraph/antialiasAttrib.h')
  2358. CopyFile(PREFIX+'/include/','panda/src/pgraph/ambientLight.I')
  2359. CopyFile(PREFIX+'/include/','panda/src/pgraph/ambientLight.h')
  2360. CopyFile(PREFIX+'/include/','panda/src/pgraph/auxSceneData.I')
  2361. CopyFile(PREFIX+'/include/','panda/src/pgraph/auxSceneData.h')
  2362. CopyFile(PREFIX+'/include/','panda/src/pgraph/bamFile.I')
  2363. CopyFile(PREFIX+'/include/','panda/src/pgraph/bamFile.h')
  2364. CopyFile(PREFIX+'/include/','panda/src/pgraph/billboardEffect.I')
  2365. CopyFile(PREFIX+'/include/','panda/src/pgraph/billboardEffect.h')
  2366. CopyFile(PREFIX+'/include/','panda/src/pgraph/binCullHandler.I')
  2367. CopyFile(PREFIX+'/include/','panda/src/pgraph/binCullHandler.h')
  2368. CopyFile(PREFIX+'/include/','panda/src/pgraph/camera.I')
  2369. CopyFile(PREFIX+'/include/','panda/src/pgraph/camera.h')
  2370. CopyFile(PREFIX+'/include/','panda/src/pgraph/clipPlaneAttrib.I')
  2371. CopyFile(PREFIX+'/include/','panda/src/pgraph/clipPlaneAttrib.h')
  2372. CopyFile(PREFIX+'/include/','panda/src/pgraph/colorAttrib.I')
  2373. CopyFile(PREFIX+'/include/','panda/src/pgraph/colorAttrib.h')
  2374. CopyFile(PREFIX+'/include/','panda/src/pgraph/colorBlendAttrib.I')
  2375. CopyFile(PREFIX+'/include/','panda/src/pgraph/colorBlendAttrib.h')
  2376. CopyFile(PREFIX+'/include/','panda/src/pgraph/colorScaleAttrib.I')
  2377. CopyFile(PREFIX+'/include/','panda/src/pgraph/colorScaleAttrib.h')
  2378. CopyFile(PREFIX+'/include/','panda/src/pgraph/colorWriteAttrib.I')
  2379. CopyFile(PREFIX+'/include/','panda/src/pgraph/colorWriteAttrib.h')
  2380. CopyFile(PREFIX+'/include/','panda/src/pgraph/compassEffect.I')
  2381. CopyFile(PREFIX+'/include/','panda/src/pgraph/compassEffect.h')
  2382. CopyFile(PREFIX+'/include/','panda/src/pgraph/config_pgraph.h')
  2383. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBin.I')
  2384. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBin.h')
  2385. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinAttrib.I')
  2386. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinAttrib.h')
  2387. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinBackToFront.I')
  2388. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinBackToFront.h')
  2389. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinFixed.I')
  2390. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinFixed.h')
  2391. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinFrontToBack.I')
  2392. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinFrontToBack.h')
  2393. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinManager.I')
  2394. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinManager.h')
  2395. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinUnsorted.I')
  2396. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinUnsorted.h')
  2397. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullFaceAttrib.I')
  2398. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullFaceAttrib.h')
  2399. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullHandler.I')
  2400. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullHandler.h')
  2401. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullResult.I')
  2402. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullResult.h')
  2403. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullTraverser.I')
  2404. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullTraverser.h')
  2405. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullTraverserData.I')
  2406. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullTraverserData.h')
  2407. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullableObject.I')
  2408. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullableObject.h')
  2409. CopyFile(PREFIX+'/include/','panda/src/pgraph/decalEffect.I')
  2410. CopyFile(PREFIX+'/include/','panda/src/pgraph/decalEffect.h')
  2411. CopyFile(PREFIX+'/include/','panda/src/pgraph/depthOffsetAttrib.I')
  2412. CopyFile(PREFIX+'/include/','panda/src/pgraph/depthOffsetAttrib.h')
  2413. CopyFile(PREFIX+'/include/','panda/src/pgraph/depthTestAttrib.I')
  2414. CopyFile(PREFIX+'/include/','panda/src/pgraph/depthTestAttrib.h')
  2415. CopyFile(PREFIX+'/include/','panda/src/pgraph/depthWriteAttrib.I')
  2416. CopyFile(PREFIX+'/include/','panda/src/pgraph/depthWriteAttrib.h')
  2417. CopyFile(PREFIX+'/include/','panda/src/pgraph/directionalLight.I')
  2418. CopyFile(PREFIX+'/include/','panda/src/pgraph/directionalLight.h')
  2419. CopyFile(PREFIX+'/include/','panda/src/pgraph/drawCullHandler.I')
  2420. CopyFile(PREFIX+'/include/','panda/src/pgraph/drawCullHandler.h')
  2421. CopyFile(PREFIX+'/include/','panda/src/pgraph/fadeLodNode.I')
  2422. CopyFile(PREFIX+'/include/','panda/src/pgraph/fadeLodNode.h')
  2423. CopyFile(PREFIX+'/include/','panda/src/pgraph/fadeLodNodeData.h')
  2424. CopyFile(PREFIX+'/include/','panda/src/pgraph/fog.I')
  2425. CopyFile(PREFIX+'/include/','panda/src/pgraph/fog.h')
  2426. CopyFile(PREFIX+'/include/','panda/src/pgraph/fogAttrib.I')
  2427. CopyFile(PREFIX+'/include/','panda/src/pgraph/fogAttrib.h')
  2428. CopyFile(PREFIX+'/include/','panda/src/pgraph/geomNode.I')
  2429. CopyFile(PREFIX+'/include/','panda/src/pgraph/geomNode.h')
  2430. CopyFile(PREFIX+'/include/','panda/src/pgraph/geomTransformer.I')
  2431. CopyFile(PREFIX+'/include/','panda/src/pgraph/geomTransformer.h')
  2432. CopyFile(PREFIX+'/include/','panda/src/pgraph/lensNode.I')
  2433. CopyFile(PREFIX+'/include/','panda/src/pgraph/lensNode.h')
  2434. CopyFile(PREFIX+'/include/','panda/src/pgraph/light.I')
  2435. CopyFile(PREFIX+'/include/','panda/src/pgraph/light.h')
  2436. CopyFile(PREFIX+'/include/','panda/src/pgraph/lightAttrib.I')
  2437. CopyFile(PREFIX+'/include/','panda/src/pgraph/lightAttrib.h')
  2438. CopyFile(PREFIX+'/include/','panda/src/pgraph/lightLensNode.I')
  2439. CopyFile(PREFIX+'/include/','panda/src/pgraph/lightLensNode.h')
  2440. CopyFile(PREFIX+'/include/','panda/src/pgraph/lightNode.I')
  2441. CopyFile(PREFIX+'/include/','panda/src/pgraph/lightNode.h')
  2442. CopyFile(PREFIX+'/include/','panda/src/pgraph/loader.I')
  2443. CopyFile(PREFIX+'/include/','panda/src/pgraph/loader.h')
  2444. CopyFile(PREFIX+'/include/','panda/src/pgraph/loaderFileType.h')
  2445. CopyFile(PREFIX+'/include/','panda/src/pgraph/loaderFileTypeBam.h')
  2446. CopyFile(PREFIX+'/include/','panda/src/pgraph/loaderFileTypeRegistry.h')
  2447. CopyFile(PREFIX+'/include/','panda/src/pgraph/lodNode.I')
  2448. CopyFile(PREFIX+'/include/','panda/src/pgraph/lodNode.h')
  2449. CopyFile(PREFIX+'/include/','panda/src/pgraph/materialAttrib.I')
  2450. CopyFile(PREFIX+'/include/','panda/src/pgraph/materialAttrib.h')
  2451. CopyFile(PREFIX+'/include/','panda/src/pgraph/modelNode.I')
  2452. CopyFile(PREFIX+'/include/','panda/src/pgraph/modelNode.h')
  2453. CopyFile(PREFIX+'/include/','panda/src/pgraph/modelPool.I')
  2454. CopyFile(PREFIX+'/include/','panda/src/pgraph/modelPool.h')
  2455. CopyFile(PREFIX+'/include/','panda/src/pgraph/modelRoot.I')
  2456. CopyFile(PREFIX+'/include/','panda/src/pgraph/modelRoot.h')
  2457. CopyFile(PREFIX+'/include/','panda/src/pgraph/nodePath.I')
  2458. CopyFile(PREFIX+'/include/','panda/src/pgraph/nodePath.h')
  2459. CopyFile(PREFIX+'/include/','panda/src/pgraph/nodePathCollection.I')
  2460. CopyFile(PREFIX+'/include/','panda/src/pgraph/nodePathCollection.h')
  2461. CopyFile(PREFIX+'/include/','panda/src/pgraph/nodePathComponent.I')
  2462. CopyFile(PREFIX+'/include/','panda/src/pgraph/nodePathComponent.h')
  2463. CopyFile(PREFIX+'/include/','panda/src/pgraph/nodePathLerps.h')
  2464. CopyFile(PREFIX+'/include/','panda/src/pgraph/pandaNode.I')
  2465. CopyFile(PREFIX+'/include/','panda/src/pgraph/pandaNode.h')
  2466. CopyFile(PREFIX+'/include/','panda/src/pgraph/planeNode.I')
  2467. CopyFile(PREFIX+'/include/','panda/src/pgraph/planeNode.h')
  2468. CopyFile(PREFIX+'/include/','panda/src/pgraph/pointLight.I')
  2469. CopyFile(PREFIX+'/include/','panda/src/pgraph/pointLight.h')
  2470. CopyFile(PREFIX+'/include/','panda/src/pgraph/polylightNode.I')
  2471. CopyFile(PREFIX+'/include/','panda/src/pgraph/polylightNode.h')
  2472. CopyFile(PREFIX+'/include/','panda/src/pgraph/polylightEffect.I')
  2473. CopyFile(PREFIX+'/include/','panda/src/pgraph/polylightEffect.h')
  2474. CopyFile(PREFIX+'/include/','panda/src/pgraph/portalNode.I')
  2475. CopyFile(PREFIX+'/include/','panda/src/pgraph/portalNode.h')
  2476. CopyFile(PREFIX+'/include/','panda/src/pgraph/portalClipper.I')
  2477. CopyFile(PREFIX+'/include/','panda/src/pgraph/portalClipper.h')
  2478. CopyFile(PREFIX+'/include/','panda/src/pgraph/renderAttrib.I')
  2479. CopyFile(PREFIX+'/include/','panda/src/pgraph/renderAttrib.h')
  2480. CopyFile(PREFIX+'/include/','panda/src/pgraph/renderEffect.I')
  2481. CopyFile(PREFIX+'/include/','panda/src/pgraph/renderEffect.h')
  2482. CopyFile(PREFIX+'/include/','panda/src/pgraph/renderEffects.I')
  2483. CopyFile(PREFIX+'/include/','panda/src/pgraph/renderEffects.h')
  2484. CopyFile(PREFIX+'/include/','panda/src/pgraph/renderModeAttrib.I')
  2485. CopyFile(PREFIX+'/include/','panda/src/pgraph/renderModeAttrib.h')
  2486. CopyFile(PREFIX+'/include/','panda/src/pgraph/renderState.I')
  2487. CopyFile(PREFIX+'/include/','panda/src/pgraph/renderState.h')
  2488. CopyFile(PREFIX+'/include/','panda/src/pgraph/rescaleNormalAttrib.I')
  2489. CopyFile(PREFIX+'/include/','panda/src/pgraph/rescaleNormalAttrib.h')
  2490. CopyFile(PREFIX+'/include/','panda/src/pgraph/sceneGraphAnalyzer.h')
  2491. CopyFile(PREFIX+'/include/','panda/src/pgraph/sceneGraphReducer.I')
  2492. CopyFile(PREFIX+'/include/','panda/src/pgraph/sceneGraphReducer.h')
  2493. CopyFile(PREFIX+'/include/','panda/src/pgraph/sceneSetup.I')
  2494. CopyFile(PREFIX+'/include/','panda/src/pgraph/sceneSetup.h')
  2495. CopyFile(PREFIX+'/include/','panda/src/pgraph/selectiveChildNode.I')
  2496. CopyFile(PREFIX+'/include/','panda/src/pgraph/selectiveChildNode.h')
  2497. CopyFile(PREFIX+'/include/','panda/src/pgraph/sequenceNode.I')
  2498. CopyFile(PREFIX+'/include/','panda/src/pgraph/sequenceNode.h')
  2499. CopyFile(PREFIX+'/include/','panda/src/pgraph/showBoundsEffect.I')
  2500. CopyFile(PREFIX+'/include/','panda/src/pgraph/showBoundsEffect.h')
  2501. CopyFile(PREFIX+'/include/','panda/src/pgraph/spotlight.I')
  2502. CopyFile(PREFIX+'/include/','panda/src/pgraph/spotlight.h')
  2503. CopyFile(PREFIX+'/include/','panda/src/pgraph/switchNode.I')
  2504. CopyFile(PREFIX+'/include/','panda/src/pgraph/switchNode.h')
  2505. CopyFile(PREFIX+'/include/','panda/src/pgraph/texMatrixAttrib.I')
  2506. CopyFile(PREFIX+'/include/','panda/src/pgraph/texMatrixAttrib.h')
  2507. CopyFile(PREFIX+'/include/','panda/src/pgraph/texProjectorEffect.I')
  2508. CopyFile(PREFIX+'/include/','panda/src/pgraph/texProjectorEffect.h')
  2509. CopyFile(PREFIX+'/include/','panda/src/pgraph/textureApplyAttrib.I')
  2510. CopyFile(PREFIX+'/include/','panda/src/pgraph/textureApplyAttrib.h')
  2511. CopyFile(PREFIX+'/include/','panda/src/pgraph/textureAttrib.I')
  2512. CopyFile(PREFIX+'/include/','panda/src/pgraph/textureAttrib.h')
  2513. CopyFile(PREFIX+'/include/','panda/src/pgraph/texGenAttrib.I')
  2514. CopyFile(PREFIX+'/include/','panda/src/pgraph/texGenAttrib.h')
  2515. CopyFile(PREFIX+'/include/','panda/src/pgraph/textureCollection.I')
  2516. CopyFile(PREFIX+'/include/','panda/src/pgraph/textureCollection.h')
  2517. CopyFile(PREFIX+'/include/','panda/src/pgraph/textureStageCollection.I')
  2518. CopyFile(PREFIX+'/include/','panda/src/pgraph/textureStageCollection.h')
  2519. CopyFile(PREFIX+'/include/','panda/src/pgraph/transformState.I')
  2520. CopyFile(PREFIX+'/include/','panda/src/pgraph/transformState.h')
  2521. CopyFile(PREFIX+'/include/','panda/src/pgraph/transparencyAttrib.I')
  2522. CopyFile(PREFIX+'/include/','panda/src/pgraph/transparencyAttrib.h')
  2523. CopyFile(PREFIX+'/include/','panda/src/pgraph/weakNodePath.I')
  2524. CopyFile(PREFIX+'/include/','panda/src/pgraph/weakNodePath.h')
  2525. CopyFile(PREFIX+'/include/','panda/src/pgraph/workingNodePath.I')
  2526. CopyFile(PREFIX+'/include/','panda/src/pgraph/workingNodePath.h')
  2527. CopyFile(PREFIX+'/include/','panda/src/chan/animBundle.I')
  2528. CopyFile(PREFIX+'/include/','panda/src/chan/animBundle.h')
  2529. CopyFile(PREFIX+'/include/','panda/src/chan/animBundleNode.I')
  2530. CopyFile(PREFIX+'/include/','panda/src/chan/animBundleNode.h')
  2531. CopyFile(PREFIX+'/include/','panda/src/chan/animChannel.I')
  2532. CopyFile(PREFIX+'/include/','panda/src/chan/animChannel.h')
  2533. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelBase.I')
  2534. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelBase.h')
  2535. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelFixed.I')
  2536. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelFixed.h')
  2537. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelMatrixDynamic.I')
  2538. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelMatrixDynamic.h')
  2539. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelMatrixXfmTable.I')
  2540. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelMatrixXfmTable.h')
  2541. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelScalarDynamic.I')
  2542. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelScalarDynamic.h')
  2543. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelScalarTable.I')
  2544. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelScalarTable.h')
  2545. CopyFile(PREFIX+'/include/','panda/src/chan/animControl.I')
  2546. CopyFile(PREFIX+'/include/','panda/src/chan/animControl.h')
  2547. CopyFile(PREFIX+'/include/','panda/src/chan/animControlCollection.I')
  2548. CopyFile(PREFIX+'/include/','panda/src/chan/animControlCollection.h')
  2549. CopyFile(PREFIX+'/include/','panda/src/chan/animGroup.I')
  2550. CopyFile(PREFIX+'/include/','panda/src/chan/animGroup.h')
  2551. CopyFile(PREFIX+'/include/','panda/src/chan/auto_bind.h')
  2552. CopyFile(PREFIX+'/include/','panda/src/chan/config_chan.h')
  2553. CopyFile(PREFIX+'/include/','panda/src/chan/movingPart.I')
  2554. CopyFile(PREFIX+'/include/','panda/src/chan/movingPart.h')
  2555. CopyFile(PREFIX+'/include/','panda/src/chan/movingPartBase.I')
  2556. CopyFile(PREFIX+'/include/','panda/src/chan/movingPartBase.h')
  2557. CopyFile(PREFIX+'/include/','panda/src/chan/movingPartMatrix.I')
  2558. CopyFile(PREFIX+'/include/','panda/src/chan/movingPartMatrix.h')
  2559. CopyFile(PREFIX+'/include/','panda/src/chan/movingPartScalar.I')
  2560. CopyFile(PREFIX+'/include/','panda/src/chan/movingPartScalar.h')
  2561. CopyFile(PREFIX+'/include/','panda/src/chan/partBundle.I')
  2562. CopyFile(PREFIX+'/include/','panda/src/chan/partBundle.h')
  2563. CopyFile(PREFIX+'/include/','panda/src/chan/partBundleNode.I')
  2564. CopyFile(PREFIX+'/include/','panda/src/chan/partBundleNode.h')
  2565. CopyFile(PREFIX+'/include/','panda/src/chan/partGroup.I')
  2566. CopyFile(PREFIX+'/include/','panda/src/chan/partGroup.h')
  2567. CopyFile(PREFIX+'/include/','panda/src/chan/vector_PartGroupStar.h')
  2568. CopyFile(PREFIX+'/include/','panda/src/char/character.I')
  2569. CopyFile(PREFIX+'/include/','panda/src/char/character.h')
  2570. CopyFile(PREFIX+'/include/','panda/src/char/characterJoint.h')
  2571. CopyFile(PREFIX+'/include/','panda/src/char/characterJointBundle.I')
  2572. CopyFile(PREFIX+'/include/','panda/src/char/characterJointBundle.h')
  2573. CopyFile(PREFIX+'/include/','panda/src/char/characterSlider.h')
  2574. CopyFile(PREFIX+'/include/','panda/src/char/computedVertices.I')
  2575. CopyFile(PREFIX+'/include/','panda/src/char/computedVertices.h')
  2576. CopyFile(PREFIX+'/include/','panda/src/char/computedVerticesMorph.I')
  2577. CopyFile(PREFIX+'/include/','panda/src/char/computedVerticesMorph.h')
  2578. CopyFile(PREFIX+'/include/','panda/src/char/config_char.h')
  2579. CopyFile(PREFIX+'/include/','panda/src/char/dynamicVertices.h')
  2580. CopyFile(PREFIX+'/include/','panda/src/dgraph/config_dgraph.h')
  2581. CopyFile(PREFIX+'/include/','panda/src/dgraph/dataGraphTraverser.I')
  2582. CopyFile(PREFIX+'/include/','panda/src/dgraph/dataGraphTraverser.h')
  2583. CopyFile(PREFIX+'/include/','panda/src/dgraph/dataNode.I')
  2584. CopyFile(PREFIX+'/include/','panda/src/dgraph/dataNode.h')
  2585. CopyFile(PREFIX+'/include/','panda/src/dgraph/dataNodeTransmit.I')
  2586. CopyFile(PREFIX+'/include/','panda/src/dgraph/dataNodeTransmit.h')
  2587. CopyFile(PREFIX+'/include/','panda/src/display/config_display.h')
  2588. CopyFile(PREFIX+'/include/','panda/src/display/drawableRegion.I')
  2589. CopyFile(PREFIX+'/include/','panda/src/display/drawableRegion.h')
  2590. CopyFile(PREFIX+'/include/','panda/src/display/displayRegion.I')
  2591. CopyFile(PREFIX+'/include/','panda/src/display/displayRegion.h')
  2592. CopyFile(PREFIX+'/include/','panda/src/display/displayRegionStack.I')
  2593. CopyFile(PREFIX+'/include/','panda/src/display/displayRegionStack.h')
  2594. CopyFile(PREFIX+'/include/','panda/src/display/frameBufferProperties.I')
  2595. CopyFile(PREFIX+'/include/','panda/src/display/frameBufferProperties.h')
  2596. CopyFile(PREFIX+'/include/','panda/src/display/frameBufferStack.I')
  2597. CopyFile(PREFIX+'/include/','panda/src/display/frameBufferStack.h')
  2598. CopyFile(PREFIX+'/include/','panda/src/display/graphicsEngine.I')
  2599. CopyFile(PREFIX+'/include/','panda/src/display/graphicsEngine.h')
  2600. CopyFile(PREFIX+'/include/','panda/src/display/graphicsOutput.I')
  2601. CopyFile(PREFIX+'/include/','panda/src/display/graphicsOutput.h')
  2602. CopyFile(PREFIX+'/include/','panda/src/display/graphicsBuffer.I')
  2603. CopyFile(PREFIX+'/include/','panda/src/display/graphicsBuffer.h')
  2604. CopyFile(PREFIX+'/include/','panda/src/display/graphicsPipe.I')
  2605. CopyFile(PREFIX+'/include/','panda/src/display/graphicsPipe.h')
  2606. CopyFile(PREFIX+'/include/','panda/src/display/graphicsPipeSelection.I')
  2607. CopyFile(PREFIX+'/include/','panda/src/display/graphicsPipeSelection.h')
  2608. CopyFile(PREFIX+'/include/','panda/src/display/graphicsStateGuardian.I')
  2609. CopyFile(PREFIX+'/include/','panda/src/display/graphicsStateGuardian.h')
  2610. CopyFile(PREFIX+'/include/','panda/src/display/graphicsWindow.I')
  2611. CopyFile(PREFIX+'/include/','panda/src/display/graphicsWindow.h')
  2612. CopyFile(PREFIX+'/include/','panda/src/display/graphicsThreadingModel.I')
  2613. CopyFile(PREFIX+'/include/','panda/src/display/graphicsThreadingModel.h')
  2614. CopyFile(PREFIX+'/include/','panda/src/display/graphicsWindowInputDevice.I')
  2615. CopyFile(PREFIX+'/include/','panda/src/display/graphicsWindowInputDevice.h')
  2616. CopyFile(PREFIX+'/include/','panda/src/display/graphicsDevice.I')
  2617. CopyFile(PREFIX+'/include/','panda/src/display/graphicsDevice.h')
  2618. CopyFile(PREFIX+'/include/','panda/src/display/parasiteBuffer.I')
  2619. CopyFile(PREFIX+'/include/','panda/src/display/parasiteBuffer.h')
  2620. CopyFile(PREFIX+'/include/','panda/src/display/windowProperties.I')
  2621. CopyFile(PREFIX+'/include/','panda/src/display/windowProperties.h')
  2622. CopyFile(PREFIX+'/include/','panda/src/display/lensStack.I')
  2623. CopyFile(PREFIX+'/include/','panda/src/display/lensStack.h')
  2624. CopyFile(PREFIX+'/include/','panda/src/display/renderBuffer.h')
  2625. CopyFile(PREFIX+'/include/','panda/src/display/savedFrameBuffer.I')
  2626. CopyFile(PREFIX+'/include/','panda/src/display/savedFrameBuffer.h')
  2627. CopyFile(PREFIX+'/include/','panda/src/device/analogNode.I')
  2628. CopyFile(PREFIX+'/include/','panda/src/device/analogNode.h')
  2629. CopyFile(PREFIX+'/include/','panda/src/device/buttonNode.I')
  2630. CopyFile(PREFIX+'/include/','panda/src/device/buttonNode.h')
  2631. CopyFile(PREFIX+'/include/','panda/src/device/clientAnalogDevice.I')
  2632. CopyFile(PREFIX+'/include/','panda/src/device/clientAnalogDevice.h')
  2633. CopyFile(PREFIX+'/include/','panda/src/device/clientBase.I')
  2634. CopyFile(PREFIX+'/include/','panda/src/device/clientBase.h')
  2635. CopyFile(PREFIX+'/include/','panda/src/device/clientButtonDevice.I')
  2636. CopyFile(PREFIX+'/include/','panda/src/device/clientButtonDevice.h')
  2637. CopyFile(PREFIX+'/include/','panda/src/device/clientDevice.I')
  2638. CopyFile(PREFIX+'/include/','panda/src/device/clientDevice.h')
  2639. CopyFile(PREFIX+'/include/','panda/src/device/clientDialDevice.I')
  2640. CopyFile(PREFIX+'/include/','panda/src/device/clientDialDevice.h')
  2641. CopyFile(PREFIX+'/include/','panda/src/device/clientTrackerDevice.I')
  2642. CopyFile(PREFIX+'/include/','panda/src/device/clientTrackerDevice.h')
  2643. CopyFile(PREFIX+'/include/','panda/src/device/config_device.h')
  2644. CopyFile(PREFIX+'/include/','panda/src/device/mouseAndKeyboard.h')
  2645. CopyFile(PREFIX+'/include/','panda/src/device/dialNode.I')
  2646. CopyFile(PREFIX+'/include/','panda/src/device/dialNode.h')
  2647. CopyFile(PREFIX+'/include/','panda/src/device/trackerData.I')
  2648. CopyFile(PREFIX+'/include/','panda/src/device/trackerData.h')
  2649. CopyFile(PREFIX+'/include/','panda/src/device/trackerNode.I')
  2650. CopyFile(PREFIX+'/include/','panda/src/device/trackerNode.h')
  2651. CopyFile(PREFIX+'/include/','panda/src/device/virtualMouse.h')
  2652. CopyFile(PREFIX+'/include/','panda/src/tform/buttonThrower.I')
  2653. CopyFile(PREFIX+'/include/','panda/src/tform/buttonThrower.h')
  2654. CopyFile(PREFIX+'/include/','panda/src/tform/driveInterface.I')
  2655. CopyFile(PREFIX+'/include/','panda/src/tform/driveInterface.h')
  2656. CopyFile(PREFIX+'/include/','panda/src/tform/mouseInterfaceNode.I')
  2657. CopyFile(PREFIX+'/include/','panda/src/tform/mouseInterfaceNode.h')
  2658. CopyFile(PREFIX+'/include/','panda/src/tform/mouseWatcher.I')
  2659. CopyFile(PREFIX+'/include/','panda/src/tform/mouseWatcher.h')
  2660. CopyFile(PREFIX+'/include/','panda/src/tform/mouseWatcherGroup.h')
  2661. CopyFile(PREFIX+'/include/','panda/src/tform/mouseWatcherParameter.I')
  2662. CopyFile(PREFIX+'/include/','panda/src/tform/mouseWatcherParameter.h')
  2663. CopyFile(PREFIX+'/include/','panda/src/tform/mouseWatcherRegion.I')
  2664. CopyFile(PREFIX+'/include/','panda/src/tform/mouseWatcherRegion.h')
  2665. CopyFile(PREFIX+'/include/','panda/src/tform/trackball.h')
  2666. CopyFile(PREFIX+'/include/','panda/src/tform/transform2sg.h')
  2667. CopyFile(PREFIX+'/include/','panda/src/collide/collisionEntry.I')
  2668. CopyFile(PREFIX+'/include/','panda/src/collide/collisionEntry.h')
  2669. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandler.h')
  2670. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerEvent.I')
  2671. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerEvent.h')
  2672. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerFloor.I')
  2673. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerFloor.h')
  2674. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerGravity.I')
  2675. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerGravity.h')
  2676. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerPhysical.I')
  2677. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerPhysical.h')
  2678. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerPusher.I')
  2679. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerPusher.h')
  2680. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerQueue.h')
  2681. CopyFile(PREFIX+'/include/','panda/src/collide/collisionInvSphere.I')
  2682. CopyFile(PREFIX+'/include/','panda/src/collide/collisionInvSphere.h')
  2683. CopyFile(PREFIX+'/include/','panda/src/collide/collisionLevelState.I')
  2684. CopyFile(PREFIX+'/include/','panda/src/collide/collisionLevelState.h')
  2685. CopyFile(PREFIX+'/include/','panda/src/collide/collisionLine.I')
  2686. CopyFile(PREFIX+'/include/','panda/src/collide/collisionLine.h')
  2687. CopyFile(PREFIX+'/include/','panda/src/collide/collisionNode.I')
  2688. CopyFile(PREFIX+'/include/','panda/src/collide/collisionNode.h')
  2689. CopyFile(PREFIX+'/include/','panda/src/collide/collisionPlane.I')
  2690. CopyFile(PREFIX+'/include/','panda/src/collide/collisionPlane.h')
  2691. CopyFile(PREFIX+'/include/','panda/src/collide/collisionPolygon.I')
  2692. CopyFile(PREFIX+'/include/','panda/src/collide/collisionPolygon.h')
  2693. CopyFile(PREFIX+'/include/','panda/src/collide/collisionRay.I')
  2694. CopyFile(PREFIX+'/include/','panda/src/collide/collisionRay.h')
  2695. CopyFile(PREFIX+'/include/','panda/src/collide/collisionRecorder.I')
  2696. CopyFile(PREFIX+'/include/','panda/src/collide/collisionRecorder.h')
  2697. CopyFile(PREFIX+'/include/','panda/src/collide/collisionSegment.I')
  2698. CopyFile(PREFIX+'/include/','panda/src/collide/collisionSegment.h')
  2699. CopyFile(PREFIX+'/include/','panda/src/collide/collisionSolid.I')
  2700. CopyFile(PREFIX+'/include/','panda/src/collide/collisionSolid.h')
  2701. CopyFile(PREFIX+'/include/','panda/src/collide/collisionSphere.I')
  2702. CopyFile(PREFIX+'/include/','panda/src/collide/collisionSphere.h')
  2703. CopyFile(PREFIX+'/include/','panda/src/collide/collisionTraverser.I')
  2704. CopyFile(PREFIX+'/include/','panda/src/collide/collisionTraverser.h')
  2705. CopyFile(PREFIX+'/include/','panda/src/collide/collisionTube.I')
  2706. CopyFile(PREFIX+'/include/','panda/src/collide/collisionTube.h')
  2707. CopyFile(PREFIX+'/include/','panda/src/collide/collisionVisualizer.I')
  2708. CopyFile(PREFIX+'/include/','panda/src/collide/collisionVisualizer.h')
  2709. CopyFile(PREFIX+'/include/','panda/src/collide/config_collide.h')
  2710. CopyFile(PREFIX+'/include/','panda/src/pnmtext/config_pnmtext.h')
  2711. CopyFile(PREFIX+'/include/','panda/src/pnmtext/freetypeFont.h')
  2712. CopyFile(PREFIX+'/include/','panda/src/pnmtext/freetypeFont.I')
  2713. CopyFile(PREFIX+'/include/','panda/src/pnmtext/pnmTextGlyph.h')
  2714. CopyFile(PREFIX+'/include/','panda/src/pnmtext/pnmTextGlyph.I')
  2715. CopyFile(PREFIX+'/include/','panda/src/pnmtext/pnmTextMaker.h')
  2716. CopyFile(PREFIX+'/include/','panda/src/pnmtext/pnmTextMaker.I')
  2717. CopyFile(PREFIX+'/include/','panda/src/text/config_text.h')
  2718. CopyFile(PREFIX+'/include/','panda/src/text/dynamicTextFont.I')
  2719. CopyFile(PREFIX+'/include/','panda/src/text/dynamicTextFont.h')
  2720. CopyFile(PREFIX+'/include/','panda/src/text/dynamicTextGlyph.I')
  2721. CopyFile(PREFIX+'/include/','panda/src/text/dynamicTextGlyph.h')
  2722. CopyFile(PREFIX+'/include/','panda/src/text/dynamicTextPage.I')
  2723. CopyFile(PREFIX+'/include/','panda/src/text/dynamicTextPage.h')
  2724. CopyFile(PREFIX+'/include/','panda/src/text/fontPool.I')
  2725. CopyFile(PREFIX+'/include/','panda/src/text/fontPool.h')
  2726. CopyFile(PREFIX+'/include/','panda/src/text/geomTextGlyph.I')
  2727. CopyFile(PREFIX+'/include/','panda/src/text/geomTextGlyph.h')
  2728. CopyFile(PREFIX+'/include/','panda/src/text/staticTextFont.I')
  2729. CopyFile(PREFIX+'/include/','panda/src/text/staticTextFont.h')
  2730. CopyFile(PREFIX+'/include/','panda/src/text/textAssembler.I')
  2731. CopyFile(PREFIX+'/include/','panda/src/text/textAssembler.h')
  2732. CopyFile(PREFIX+'/include/','panda/src/text/textFont.I')
  2733. CopyFile(PREFIX+'/include/','panda/src/text/textFont.h')
  2734. CopyFile(PREFIX+'/include/','panda/src/text/textGlyph.I')
  2735. CopyFile(PREFIX+'/include/','panda/src/text/textGlyph.h')
  2736. CopyFile(PREFIX+'/include/','panda/src/text/textNode.I')
  2737. CopyFile(PREFIX+'/include/','panda/src/text/textNode.h')
  2738. CopyFile(PREFIX+'/include/','panda/src/text/textProperties.I')
  2739. CopyFile(PREFIX+'/include/','panda/src/text/textProperties.h')
  2740. CopyFile(PREFIX+'/include/','panda/src/text/textPropertiesManager.I')
  2741. CopyFile(PREFIX+'/include/','panda/src/text/textPropertiesManager.h')
  2742. CopyFile(PREFIX+'/include/','panda/src/grutil/cardMaker.I')
  2743. CopyFile(PREFIX+'/include/','panda/src/grutil/cardMaker.h')
  2744. CopyFile(PREFIX+'/include/','panda/src/grutil/frameRateMeter.I')
  2745. CopyFile(PREFIX+'/include/','panda/src/grutil/frameRateMeter.h')
  2746. CopyFile(PREFIX+'/include/','panda/src/grutil/lineSegs.I')
  2747. CopyFile(PREFIX+'/include/','panda/src/grutil/lineSegs.h')
  2748. CopyFile(PREFIX+'/include/','panda/src/grutil/multitexReducer.I')
  2749. CopyFile(PREFIX+'/include/','panda/src/grutil/multitexReducer.h')
  2750. CopyFile(PREFIX+'/include/','panda/src/gsgmisc/geomIssuer.I')
  2751. CopyFile(PREFIX+'/include/','panda/src/gsgmisc/geomIssuer.h')
  2752. CopyFile(PREFIX+'/include/','panda/src/helix/config_helix.h')
  2753. CopyFile(PREFIX+'/include/','panda/src/helix/HelixClient.h')
  2754. CopyFile(PREFIX+'/include/','panda/src/vrpn/config_vrpn.h')
  2755. CopyFile(PREFIX+'/include/','panda/src/vrpn/vrpnClient.I')
  2756. CopyFile(PREFIX+'/include/','panda/src/vrpn/vrpnClient.h')
  2757. CopyFile(PREFIX+'/include/','panda/src/parametrics/classicNurbsCurve.I')
  2758. CopyFile(PREFIX+'/include/','panda/src/parametrics/classicNurbsCurve.h')
  2759. CopyFile(PREFIX+'/include/','panda/src/parametrics/config_parametrics.h')
  2760. CopyFile(PREFIX+'/include/','panda/src/parametrics/cubicCurveseg.h')
  2761. CopyFile(PREFIX+'/include/','panda/src/parametrics/parametricCurveDrawer.I')
  2762. CopyFile(PREFIX+'/include/','panda/src/parametrics/parametricCurveDrawer.h')
  2763. CopyFile(PREFIX+'/include/','panda/src/parametrics/curveFitter.I')
  2764. CopyFile(PREFIX+'/include/','panda/src/parametrics/curveFitter.h')
  2765. CopyFile(PREFIX+'/include/','panda/src/parametrics/hermiteCurve.h')
  2766. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsCurve.h')
  2767. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsCurveDrawer.I')
  2768. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsCurveDrawer.h')
  2769. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsCurveEvaluator.I')
  2770. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsCurveEvaluator.h')
  2771. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsCurveInterface.I')
  2772. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsCurveInterface.h')
  2773. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsCurveResult.I')
  2774. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsCurveResult.h')
  2775. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsBasisVector.I')
  2776. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsBasisVector.h')
  2777. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsSurfaceEvaluator.I')
  2778. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsSurfaceEvaluator.h')
  2779. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsSurfaceResult.I')
  2780. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsSurfaceResult.h')
  2781. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsVertex.h')
  2782. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsVertex.I')
  2783. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsPPCurve.h')
  2784. CopyFile(PREFIX+'/include/','panda/src/parametrics/parametricCurve.h')
  2785. CopyFile(PREFIX+'/include/','panda/src/parametrics/parametricCurveCollection.I')
  2786. CopyFile(PREFIX+'/include/','panda/src/parametrics/parametricCurveCollection.h')
  2787. CopyFile(PREFIX+'/include/','panda/src/parametrics/piecewiseCurve.h')
  2788. CopyFile(PREFIX+'/include/','panda/src/parametrics/ropeNode.I')
  2789. CopyFile(PREFIX+'/include/','panda/src/parametrics/ropeNode.h')
  2790. CopyFile(PREFIX+'/include/','panda/src/parametrics/sheetNode.I')
  2791. CopyFile(PREFIX+'/include/','panda/src/parametrics/sheetNode.h')
  2792. CopyFile(PREFIX+'/include/','panda/src/pgui/pgButton.I')
  2793. CopyFile(PREFIX+'/include/','panda/src/pgui/pgButton.h')
  2794. CopyFile(PREFIX+'/include/','panda/src/pgui/pgSliderButton.I')
  2795. CopyFile(PREFIX+'/include/','panda/src/pgui/pgSliderButton.h')
  2796. CopyFile(PREFIX+'/include/','panda/src/pgui/pgCullTraverser.I')
  2797. CopyFile(PREFIX+'/include/','panda/src/pgui/pgCullTraverser.h')
  2798. CopyFile(PREFIX+'/include/','panda/src/pgui/pgEntry.I')
  2799. CopyFile(PREFIX+'/include/','panda/src/pgui/pgEntry.h')
  2800. CopyFile(PREFIX+'/include/','panda/src/pgui/pgMouseWatcherGroup.I')
  2801. CopyFile(PREFIX+'/include/','panda/src/pgui/pgMouseWatcherGroup.h')
  2802. CopyFile(PREFIX+'/include/','panda/src/pgui/pgMouseWatcherParameter.I')
  2803. CopyFile(PREFIX+'/include/','panda/src/pgui/pgMouseWatcherParameter.h')
  2804. CopyFile(PREFIX+'/include/','panda/src/pgui/pgFrameStyle.I')
  2805. CopyFile(PREFIX+'/include/','panda/src/pgui/pgFrameStyle.h')
  2806. CopyFile(PREFIX+'/include/','panda/src/pgui/pgItem.I')
  2807. CopyFile(PREFIX+'/include/','panda/src/pgui/pgItem.h')
  2808. CopyFile(PREFIX+'/include/','panda/src/pgui/pgMouseWatcherBackground.h')
  2809. CopyFile(PREFIX+'/include/','panda/src/pgui/pgMouseWatcherRegion.I')
  2810. CopyFile(PREFIX+'/include/','panda/src/pgui/pgMouseWatcherRegion.h')
  2811. CopyFile(PREFIX+'/include/','panda/src/pgui/pgTop.I')
  2812. CopyFile(PREFIX+'/include/','panda/src/pgui/pgTop.h')
  2813. CopyFile(PREFIX+'/include/','panda/src/pgui/pgWaitBar.I')
  2814. CopyFile(PREFIX+'/include/','panda/src/pgui/pgWaitBar.h')
  2815. CopyFile(PREFIX+'/include/','panda/src/pgui/pgSliderBar.I')
  2816. CopyFile(PREFIX+'/include/','panda/src/pgui/pgSliderBar.h')
  2817. CopyFile(PREFIX+'/include/','panda/src/pnmimagetypes/config_pnmimagetypes.h')
  2818. CopyFile(PREFIX+'/include/','panda/src/recorder/mouseRecorder.h')
  2819. CopyFile(PREFIX+'/include/','panda/src/recorder/recorderBase.h')
  2820. CopyFile(PREFIX+'/include/','panda/src/recorder/recorderBase.I')
  2821. CopyFile(PREFIX+'/include/','panda/src/recorder/recorderController.h')
  2822. CopyFile(PREFIX+'/include/','panda/src/recorder/recorderController.I')
  2823. CopyFile(PREFIX+'/include/','panda/src/recorder/recorderFrame.h')
  2824. CopyFile(PREFIX+'/include/','panda/src/recorder/recorderFrame.I')
  2825. CopyFile(PREFIX+'/include/','panda/src/recorder/recorderHeader.h')
  2826. CopyFile(PREFIX+'/include/','panda/src/recorder/recorderHeader.I')
  2827. CopyFile(PREFIX+'/include/','panda/src/recorder/recorderTable.h')
  2828. CopyFile(PREFIX+'/include/','panda/src/recorder/recorderTable.I')
  2829. CopyFile(PREFIX+'/include/','panda/src/recorder/socketStreamRecorder.h')
  2830. CopyFile(PREFIX+'/include/','panda/src/recorder/socketStreamRecorder.I')
  2831. CopyFile(PREFIX+'/include/','panda/metalibs/panda/panda.h')
  2832. CopyFile(PREFIX+'/include/','panda/src/builder/builder.I')
  2833. CopyFile(PREFIX+'/include/','panda/src/builder/builder.h')
  2834. CopyFile(PREFIX+'/include/','panda/src/builder/builder_compare.I')
  2835. CopyFile(PREFIX+'/include/','panda/src/builder/builder_compare.h')
  2836. CopyFile(PREFIX+'/include/','panda/src/builder/builderAttrib.I')
  2837. CopyFile(PREFIX+'/include/','panda/src/builder/builderAttrib.h')
  2838. CopyFile(PREFIX+'/include/','panda/src/builder/builderAttribTempl.I')
  2839. CopyFile(PREFIX+'/include/','panda/src/builder/builderAttribTempl.h')
  2840. CopyFile(PREFIX+'/include/','panda/src/builder/builderBucket.I')
  2841. CopyFile(PREFIX+'/include/','panda/src/builder/builderBucket.h')
  2842. CopyFile(PREFIX+'/include/','panda/src/builder/builderBucketNode.I')
  2843. CopyFile(PREFIX+'/include/','panda/src/builder/builderBucketNode.h')
  2844. CopyFile(PREFIX+'/include/','panda/src/builder/builderNormalVisualizer.I')
  2845. CopyFile(PREFIX+'/include/','panda/src/builder/builderNormalVisualizer.h')
  2846. CopyFile(PREFIX+'/include/','panda/src/builder/builderPrim.I')
  2847. CopyFile(PREFIX+'/include/','panda/src/builder/builderPrim.h')
  2848. CopyFile(PREFIX+'/include/','panda/src/builder/builderPrimTempl.I')
  2849. CopyFile(PREFIX+'/include/','panda/src/builder/builderPrimTempl.h')
  2850. CopyFile(PREFIX+'/include/','panda/src/builder/builderProperties.h')
  2851. CopyFile(PREFIX+'/include/','panda/src/builder/builderTypes.h')
  2852. CopyFile(PREFIX+'/include/','panda/src/builder/builderVertex.I')
  2853. CopyFile(PREFIX+'/include/','panda/src/builder/builderVertex.h')
  2854. CopyFile(PREFIX+'/include/','panda/src/builder/builderVertexTempl.I')
  2855. CopyFile(PREFIX+'/include/','panda/src/builder/builderVertexTempl.h')
  2856. CopyFile(PREFIX+'/include/','panda/src/builder/config_builder.h')
  2857. CopyFile(PREFIX+'/include/','panda/src/windisplay/config_windisplay.h')
  2858. CopyFile(PREFIX+'/include/','panda/src/windisplay/winGraphicsPipe.I')
  2859. CopyFile(PREFIX+'/include/','panda/src/windisplay/winGraphicsPipe.h')
  2860. CopyFile(PREFIX+'/include/','panda/src/windisplay/winGraphicsWindow.I')
  2861. CopyFile(PREFIX+'/include/','panda/src/windisplay/winGraphicsWindow.h')
  2862. CopyFile(PREFIX+'/include/','panda/src/dxgsg7/config_dxgsg7.h')
  2863. CopyFile(PREFIX+'/include/','panda/src/dxgsg7/dxGraphicsStateGuardian7.I')
  2864. CopyFile(PREFIX+'/include/','panda/src/dxgsg7/dxGraphicsStateGuardian7.h')
  2865. CopyFile(PREFIX+'/include/','panda/src/dxgsg7/dxTextureContext7.h')
  2866. CopyFile(PREFIX+'/include/','panda/src/dxgsg7/dxgsg7base.h')
  2867. CopyFile(PREFIX+'/include/','panda/src/dxgsg8/dxgsg8base.h')
  2868. CopyFile(PREFIX+'/include/','panda/src/dxgsg8/config_dxgsg8.h')
  2869. CopyFile(PREFIX+'/include/','panda/src/dxgsg8/dxGraphicsStateGuardian8.I')
  2870. CopyFile(PREFIX+'/include/','panda/src/dxgsg8/dxGraphicsStateGuardian8.h')
  2871. CopyFile(PREFIX+'/include/','panda/src/dxgsg8/dxTextureContext8.h')
  2872. CopyFile(PREFIX+'/include/','panda/src/dxgsg8/d3dfont8.h')
  2873. CopyFile(PREFIX+'/include/','panda/src/dxgsg8/dxGraphicsDevice8.h')
  2874. CopyFile(PREFIX+'/include/','panda/src/dxgsg9/dxgsg9base.h')
  2875. CopyFile(PREFIX+'/include/','panda/src/dxgsg9/config_dxgsg9.h')
  2876. CopyFile(PREFIX+'/include/','panda/src/dxgsg9/dxGraphicsStateGuardian9.I')
  2877. CopyFile(PREFIX+'/include/','panda/src/dxgsg9/dxGraphicsStateGuardian9.h')
  2878. CopyFile(PREFIX+'/include/','panda/src/dxgsg9/dxTextureContext9.h')
  2879. CopyFile(PREFIX+'/include/','panda/src/dxgsg9/d3dfont9.h')
  2880. CopyFile(PREFIX+'/include/','panda/src/dxgsg9/dxGraphicsDevice9.h')
  2881. CopyFile(PREFIX+'/include/','panda/src/effects/config_effects.h')
  2882. CopyFile(PREFIX+'/include/','panda/src/effects/cgShader.I')
  2883. CopyFile(PREFIX+'/include/','panda/src/effects/cgShader.h')
  2884. CopyFile(PREFIX+'/include/','panda/src/effects/cgShaderAttrib.I')
  2885. CopyFile(PREFIX+'/include/','panda/src/effects/cgShaderAttrib.h')
  2886. CopyFile(PREFIX+'/include/','panda/src/effects/cgShaderContext.I')
  2887. CopyFile(PREFIX+'/include/','panda/src/effects/cgShaderContext.h')
  2888. CopyFile(PREFIX+'/include/','panda/src/effects/lensFlareNode.I')
  2889. CopyFile(PREFIX+'/include/','panda/src/effects/lensFlareNode.h')
  2890. CopyFile(PREFIX+'/include/','panda/src/egg/eggAnimData.I')
  2891. CopyFile(PREFIX+'/include/','panda/src/egg/eggAnimData.h')
  2892. CopyFile(PREFIX+'/include/','panda/src/egg/eggAttributes.I')
  2893. CopyFile(PREFIX+'/include/','panda/src/egg/eggAttributes.h')
  2894. CopyFile(PREFIX+'/include/','panda/src/egg/eggBin.h')
  2895. CopyFile(PREFIX+'/include/','panda/src/egg/eggBinMaker.h')
  2896. CopyFile(PREFIX+'/include/','panda/src/egg/eggComment.I')
  2897. CopyFile(PREFIX+'/include/','panda/src/egg/eggComment.h')
  2898. CopyFile(PREFIX+'/include/','panda/src/egg/eggCoordinateSystem.I')
  2899. CopyFile(PREFIX+'/include/','panda/src/egg/eggCoordinateSystem.h')
  2900. CopyFile(PREFIX+'/include/','panda/src/egg/eggCurve.I')
  2901. CopyFile(PREFIX+'/include/','panda/src/egg/eggCurve.h')
  2902. CopyFile(PREFIX+'/include/','panda/src/egg/eggData.I')
  2903. CopyFile(PREFIX+'/include/','panda/src/egg/eggData.h')
  2904. CopyFile(PREFIX+'/include/','panda/src/egg/eggExternalReference.I')
  2905. CopyFile(PREFIX+'/include/','panda/src/egg/eggExternalReference.h')
  2906. CopyFile(PREFIX+'/include/','panda/src/egg/eggFilenameNode.I')
  2907. CopyFile(PREFIX+'/include/','panda/src/egg/eggFilenameNode.h')
  2908. CopyFile(PREFIX+'/include/','panda/src/egg/eggGroup.I')
  2909. CopyFile(PREFIX+'/include/','panda/src/egg/eggGroup.h')
  2910. CopyFile(PREFIX+'/include/','panda/src/egg/eggGroupNode.I')
  2911. CopyFile(PREFIX+'/include/','panda/src/egg/eggGroupNode.h')
  2912. CopyFile(PREFIX+'/include/','panda/src/egg/eggGroupUniquifier.h')
  2913. CopyFile(PREFIX+'/include/','panda/src/egg/eggLine.I')
  2914. CopyFile(PREFIX+'/include/','panda/src/egg/eggLine.h')
  2915. CopyFile(PREFIX+'/include/','panda/src/egg/eggMaterial.I')
  2916. CopyFile(PREFIX+'/include/','panda/src/egg/eggMaterial.h')
  2917. CopyFile(PREFIX+'/include/','panda/src/egg/eggMaterialCollection.I')
  2918. CopyFile(PREFIX+'/include/','panda/src/egg/eggMaterialCollection.h')
  2919. CopyFile(PREFIX+'/include/','panda/src/egg/eggMorph.I')
  2920. CopyFile(PREFIX+'/include/','panda/src/egg/eggMorph.h')
  2921. CopyFile(PREFIX+'/include/','panda/src/egg/eggMorphList.I')
  2922. CopyFile(PREFIX+'/include/','panda/src/egg/eggMorphList.h')
  2923. CopyFile(PREFIX+'/include/','panda/src/egg/eggNamedObject.I')
  2924. CopyFile(PREFIX+'/include/','panda/src/egg/eggNamedObject.h')
  2925. CopyFile(PREFIX+'/include/','panda/src/egg/eggNameUniquifier.h')
  2926. CopyFile(PREFIX+'/include/','panda/src/egg/eggNode.I')
  2927. CopyFile(PREFIX+'/include/','panda/src/egg/eggNode.h')
  2928. CopyFile(PREFIX+'/include/','panda/src/egg/eggNurbsCurve.I')
  2929. CopyFile(PREFIX+'/include/','panda/src/egg/eggNurbsCurve.h')
  2930. CopyFile(PREFIX+'/include/','panda/src/egg/eggNurbsSurface.I')
  2931. CopyFile(PREFIX+'/include/','panda/src/egg/eggNurbsSurface.h')
  2932. CopyFile(PREFIX+'/include/','panda/src/egg/eggObject.I')
  2933. CopyFile(PREFIX+'/include/','panda/src/egg/eggObject.h')
  2934. CopyFile(PREFIX+'/include/','panda/src/egg/eggParameters.h')
  2935. CopyFile(PREFIX+'/include/','panda/src/egg/eggPoint.I')
  2936. CopyFile(PREFIX+'/include/','panda/src/egg/eggPoint.h')
  2937. CopyFile(PREFIX+'/include/','panda/src/egg/eggPolygon.I')
  2938. CopyFile(PREFIX+'/include/','panda/src/egg/eggPolygon.h')
  2939. CopyFile(PREFIX+'/include/','panda/src/egg/eggPolysetMaker.h')
  2940. CopyFile(PREFIX+'/include/','panda/src/egg/eggPoolUniquifier.h')
  2941. CopyFile(PREFIX+'/include/','panda/src/egg/eggPrimitive.I')
  2942. CopyFile(PREFIX+'/include/','panda/src/egg/eggPrimitive.h')
  2943. CopyFile(PREFIX+'/include/','panda/src/egg/eggRenderMode.I')
  2944. CopyFile(PREFIX+'/include/','panda/src/egg/eggRenderMode.h')
  2945. CopyFile(PREFIX+'/include/','panda/src/egg/eggSAnimData.I')
  2946. CopyFile(PREFIX+'/include/','panda/src/egg/eggSAnimData.h')
  2947. CopyFile(PREFIX+'/include/','panda/src/egg/eggSurface.I')
  2948. CopyFile(PREFIX+'/include/','panda/src/egg/eggSurface.h')
  2949. CopyFile(PREFIX+'/include/','panda/src/egg/eggSwitchCondition.h')
  2950. CopyFile(PREFIX+'/include/','panda/src/egg/eggTable.I')
  2951. CopyFile(PREFIX+'/include/','panda/src/egg/eggTable.h')
  2952. CopyFile(PREFIX+'/include/','panda/src/egg/eggTexture.I')
  2953. CopyFile(PREFIX+'/include/','panda/src/egg/eggTexture.h')
  2954. CopyFile(PREFIX+'/include/','panda/src/egg/eggTextureCollection.I')
  2955. CopyFile(PREFIX+'/include/','panda/src/egg/eggTextureCollection.h')
  2956. CopyFile(PREFIX+'/include/','panda/src/egg/eggTransform3d.I')
  2957. CopyFile(PREFIX+'/include/','panda/src/egg/eggTransform3d.h')
  2958. CopyFile(PREFIX+'/include/','panda/src/egg/eggUserData.I')
  2959. CopyFile(PREFIX+'/include/','panda/src/egg/eggUserData.h')
  2960. CopyFile(PREFIX+'/include/','panda/src/egg/eggUtilities.I')
  2961. CopyFile(PREFIX+'/include/','panda/src/egg/eggUtilities.h')
  2962. CopyFile(PREFIX+'/include/','panda/src/egg/eggVertex.I')
  2963. CopyFile(PREFIX+'/include/','panda/src/egg/eggVertex.h')
  2964. CopyFile(PREFIX+'/include/','panda/src/egg/eggVertexPool.I')
  2965. CopyFile(PREFIX+'/include/','panda/src/egg/eggVertexPool.h')
  2966. CopyFile(PREFIX+'/include/','panda/src/egg/eggVertexUV.I')
  2967. CopyFile(PREFIX+'/include/','panda/src/egg/eggVertexUV.h')
  2968. CopyFile(PREFIX+'/include/','panda/src/egg/eggXfmAnimData.I')
  2969. CopyFile(PREFIX+'/include/','panda/src/egg/eggXfmAnimData.h')
  2970. CopyFile(PREFIX+'/include/','panda/src/egg/eggXfmSAnim.I')
  2971. CopyFile(PREFIX+'/include/','panda/src/egg/eggXfmSAnim.h')
  2972. CopyFile(PREFIX+'/include/','panda/src/egg/pt_EggMaterial.h')
  2973. CopyFile(PREFIX+'/include/','panda/src/egg/vector_PT_EggMaterial.h')
  2974. CopyFile(PREFIX+'/include/','panda/src/egg/pt_EggTexture.h')
  2975. CopyFile(PREFIX+'/include/','panda/src/egg/vector_PT_EggTexture.h')
  2976. CopyFile(PREFIX+'/include/','panda/src/egg/pt_EggVertex.h')
  2977. CopyFile(PREFIX+'/include/','panda/src/egg/vector_PT_EggVertex.h')
  2978. CopyFile(PREFIX+'/include/','panda/src/egg2pg/egg_parametrics.h')
  2979. CopyFile(PREFIX+'/include/','panda/src/egg2pg/load_egg_file.h')
  2980. CopyFile(PREFIX+'/include/','panda/src/egg2pg/config_egg2pg.h')
  2981. CopyFile(PREFIX+'/include/','panda/src/framework/pandaFramework.I')
  2982. CopyFile(PREFIX+'/include/','panda/src/framework/pandaFramework.h')
  2983. CopyFile(PREFIX+'/include/','panda/src/framework/windowFramework.I')
  2984. CopyFile(PREFIX+'/include/','panda/src/framework/windowFramework.h')
  2985. CopyFile(PREFIX+'/include/','panda/src/glstuff/glext.h')
  2986. CopyFile(PREFIX+'/include/','panda/src/glstuff/glmisc_src.cxx')
  2987. CopyFile(PREFIX+'/include/','panda/src/glstuff/glmisc_src.h')
  2988. CopyFile(PREFIX+'/include/','panda/src/glstuff/glstuff_src.cxx')
  2989. CopyFile(PREFIX+'/include/','panda/src/glstuff/glstuff_src.h')
  2990. CopyFile(PREFIX+'/include/','panda/src/glstuff/glstuff_undef_src.h')
  2991. CopyFile(PREFIX+'/include/','panda/src/glstuff/glGeomContext_src.cxx')
  2992. CopyFile(PREFIX+'/include/','panda/src/glstuff/glGeomContext_src.I')
  2993. CopyFile(PREFIX+'/include/','panda/src/glstuff/glGeomContext_src.h')
  2994. CopyFile(PREFIX+'/include/','panda/src/glstuff/glGraphicsStateGuardian_src.cxx')
  2995. CopyFile(PREFIX+'/include/','panda/src/glstuff/glGraphicsStateGuardian_src.I')
  2996. CopyFile(PREFIX+'/include/','panda/src/glstuff/glGraphicsStateGuardian_src.h')
  2997. CopyFile(PREFIX+'/include/','panda/src/glstuff/glSavedFrameBuffer_src.cxx')
  2998. CopyFile(PREFIX+'/include/','panda/src/glstuff/glSavedFrameBuffer_src.I')
  2999. CopyFile(PREFIX+'/include/','panda/src/glstuff/glSavedFrameBuffer_src.h')
  3000. CopyFile(PREFIX+'/include/','panda/src/glstuff/glTextureContext_src.cxx')
  3001. CopyFile(PREFIX+'/include/','panda/src/glstuff/glTextureContext_src.I')
  3002. CopyFile(PREFIX+'/include/','panda/src/glstuff/glTextureContext_src.h')
  3003. CopyFile(PREFIX+'/include/','panda/src/glstuff/glCgShaderContext_src.cxx')
  3004. CopyFile(PREFIX+'/include/','panda/src/glstuff/glCgShaderContext_src.h')
  3005. CopyFile(PREFIX+'/include/','panda/src/glstuff/glCgShaderContext_src.I')
  3006. CopyFile(PREFIX+'/include/','panda/src/glgsg/config_glgsg.h')
  3007. CopyFile(PREFIX+'/include/','panda/src/glgsg/glgsg.h')
  3008. CopyFile(PREFIX+'/include/','panda/metalibs/pandaegg/pandaegg.h')
  3009. CopyFile(PREFIX+'/include/','panda/src/wgldisplay/config_wgldisplay.h')
  3010. CopyFile(PREFIX+'/include/','panda/src/wgldisplay/wglGraphicsBuffer.I')
  3011. CopyFile(PREFIX+'/include/','panda/src/wgldisplay/wglGraphicsBuffer.h')
  3012. CopyFile(PREFIX+'/include/','panda/src/wgldisplay/wglGraphicsPipe.I')
  3013. CopyFile(PREFIX+'/include/','panda/src/wgldisplay/wglGraphicsPipe.h')
  3014. CopyFile(PREFIX+'/include/','panda/src/wgldisplay/wglGraphicsStateGuardian.I')
  3015. CopyFile(PREFIX+'/include/','panda/src/wgldisplay/wglGraphicsStateGuardian.h')
  3016. CopyFile(PREFIX+'/include/','panda/src/wgldisplay/wglGraphicsWindow.I')
  3017. CopyFile(PREFIX+'/include/','panda/src/wgldisplay/wglGraphicsWindow.h')
  3018. CopyFile(PREFIX+'/include/','panda/src/wgldisplay/wglext.h')
  3019. CopyFile(PREFIX+'/include/','panda/metalibs/pandagl/pandagl.h')
  3020. CopyFile(PREFIX+'/include/','panda/src/physics/actorNode.I')
  3021. CopyFile(PREFIX+'/include/','panda/src/physics/actorNode.h')
  3022. CopyFile(PREFIX+'/include/','panda/src/physics/angularEulerIntegrator.h')
  3023. CopyFile(PREFIX+'/include/','panda/src/physics/angularForce.h')
  3024. CopyFile(PREFIX+'/include/','panda/src/physics/angularIntegrator.h')
  3025. CopyFile(PREFIX+'/include/','panda/src/physics/angularVectorForce.I')
  3026. CopyFile(PREFIX+'/include/','panda/src/physics/angularVectorForce.h')
  3027. CopyFile(PREFIX+'/include/','panda/src/physics/baseForce.I')
  3028. CopyFile(PREFIX+'/include/','panda/src/physics/baseForce.h')
  3029. CopyFile(PREFIX+'/include/','panda/src/physics/baseIntegrator.I')
  3030. CopyFile(PREFIX+'/include/','panda/src/physics/baseIntegrator.h')
  3031. CopyFile(PREFIX+'/include/','panda/src/physics/config_physics.h')
  3032. CopyFile(PREFIX+'/include/','panda/src/physics/forceNode.I')
  3033. CopyFile(PREFIX+'/include/','panda/src/physics/forceNode.h')
  3034. CopyFile(PREFIX+'/include/','panda/src/physics/forces.h')
  3035. CopyFile(PREFIX+'/include/','panda/src/physics/linearCylinderVortexForce.I')
  3036. CopyFile(PREFIX+'/include/','panda/src/physics/linearCylinderVortexForce.h')
  3037. CopyFile(PREFIX+'/include/','panda/src/physics/linearDistanceForce.I')
  3038. CopyFile(PREFIX+'/include/','panda/src/physics/linearDistanceForce.h')
  3039. CopyFile(PREFIX+'/include/','panda/src/physics/linearEulerIntegrator.h')
  3040. CopyFile(PREFIX+'/include/','panda/src/physics/linearForce.I')
  3041. CopyFile(PREFIX+'/include/','panda/src/physics/linearForce.h')
  3042. CopyFile(PREFIX+'/include/','panda/src/physics/linearFrictionForce.I')
  3043. CopyFile(PREFIX+'/include/','panda/src/physics/linearFrictionForce.h')
  3044. CopyFile(PREFIX+'/include/','panda/src/physics/linearIntegrator.h')
  3045. CopyFile(PREFIX+'/include/','panda/src/physics/linearJitterForce.h')
  3046. CopyFile(PREFIX+'/include/','panda/src/physics/linearNoiseForce.I')
  3047. CopyFile(PREFIX+'/include/','panda/src/physics/linearNoiseForce.h')
  3048. CopyFile(PREFIX+'/include/','panda/src/physics/linearRandomForce.I')
  3049. CopyFile(PREFIX+'/include/','panda/src/physics/linearRandomForce.h')
  3050. CopyFile(PREFIX+'/include/','panda/src/physics/linearSinkForce.h')
  3051. CopyFile(PREFIX+'/include/','panda/src/physics/linearSourceForce.h')
  3052. CopyFile(PREFIX+'/include/','panda/src/physics/linearUserDefinedForce.I')
  3053. CopyFile(PREFIX+'/include/','panda/src/physics/linearUserDefinedForce.h')
  3054. CopyFile(PREFIX+'/include/','panda/src/physics/linearVectorForce.I')
  3055. CopyFile(PREFIX+'/include/','panda/src/physics/linearVectorForce.h')
  3056. CopyFile(PREFIX+'/include/','panda/src/physics/physical.I')
  3057. CopyFile(PREFIX+'/include/','panda/src/physics/physical.h')
  3058. CopyFile(PREFIX+'/include/','panda/src/physics/physicalNode.I')
  3059. CopyFile(PREFIX+'/include/','panda/src/physics/physicalNode.h')
  3060. CopyFile(PREFIX+'/include/','panda/src/physics/physicsCollisionHandler.I')
  3061. CopyFile(PREFIX+'/include/','panda/src/physics/physicsCollisionHandler.h')
  3062. CopyFile(PREFIX+'/include/','panda/src/physics/physicsManager.I')
  3063. CopyFile(PREFIX+'/include/','panda/src/physics/physicsManager.h')
  3064. CopyFile(PREFIX+'/include/','panda/src/physics/physicsObject.I')
  3065. CopyFile(PREFIX+'/include/','panda/src/physics/physicsObject.h')
  3066. CopyFile(PREFIX+'/include/','panda/src/particlesystem/baseParticle.I')
  3067. CopyFile(PREFIX+'/include/','panda/src/particlesystem/baseParticle.h')
  3068. CopyFile(PREFIX+'/include/','panda/src/particlesystem/baseParticleEmitter.I')
  3069. CopyFile(PREFIX+'/include/','panda/src/particlesystem/baseParticleEmitter.h')
  3070. CopyFile(PREFIX+'/include/','panda/src/particlesystem/baseParticleFactory.I')
  3071. CopyFile(PREFIX+'/include/','panda/src/particlesystem/baseParticleFactory.h')
  3072. CopyFile(PREFIX+'/include/','panda/src/particlesystem/baseParticleRenderer.I')
  3073. CopyFile(PREFIX+'/include/','panda/src/particlesystem/baseParticleRenderer.h')
  3074. CopyFile(PREFIX+'/include/','panda/src/particlesystem/boxEmitter.I')
  3075. CopyFile(PREFIX+'/include/','panda/src/particlesystem/boxEmitter.h')
  3076. CopyFile(PREFIX+'/include/','panda/src/particlesystem/config_particlesystem.h')
  3077. CopyFile(PREFIX+'/include/','panda/src/particlesystem/discEmitter.I')
  3078. CopyFile(PREFIX+'/include/','panda/src/particlesystem/discEmitter.h')
  3079. CopyFile(PREFIX+'/include/','panda/src/particlesystem/emitters.h')
  3080. CopyFile(PREFIX+'/include/','panda/src/particlesystem/geomParticleRenderer.I')
  3081. CopyFile(PREFIX+'/include/','panda/src/particlesystem/geomParticleRenderer.h')
  3082. CopyFile(PREFIX+'/include/','panda/src/particlesystem/lineEmitter.I')
  3083. CopyFile(PREFIX+'/include/','panda/src/particlesystem/lineEmitter.h')
  3084. CopyFile(PREFIX+'/include/','panda/src/particlesystem/lineParticleRenderer.I')
  3085. CopyFile(PREFIX+'/include/','panda/src/particlesystem/lineParticleRenderer.h')
  3086. CopyFile(PREFIX+'/include/','panda/src/particlesystem/particleSystem.I')
  3087. CopyFile(PREFIX+'/include/','panda/src/particlesystem/particleSystem.h')
  3088. CopyFile(PREFIX+'/include/','panda/src/particlesystem/particleSystemManager.I')
  3089. CopyFile(PREFIX+'/include/','panda/src/particlesystem/particleSystemManager.h')
  3090. CopyFile(PREFIX+'/include/','panda/src/particlesystem/particlefactories.h')
  3091. CopyFile(PREFIX+'/include/','panda/src/particlesystem/particles.h')
  3092. CopyFile(PREFIX+'/include/','panda/src/particlesystem/pointEmitter.I')
  3093. CopyFile(PREFIX+'/include/','panda/src/particlesystem/pointEmitter.h')
  3094. CopyFile(PREFIX+'/include/','panda/src/particlesystem/pointParticle.h')
  3095. CopyFile(PREFIX+'/include/','panda/src/particlesystem/pointParticleFactory.h')
  3096. CopyFile(PREFIX+'/include/','panda/src/particlesystem/pointParticleRenderer.I')
  3097. CopyFile(PREFIX+'/include/','panda/src/particlesystem/pointParticleRenderer.h')
  3098. CopyFile(PREFIX+'/include/','panda/src/particlesystem/rectangleEmitter.I')
  3099. CopyFile(PREFIX+'/include/','panda/src/particlesystem/rectangleEmitter.h')
  3100. CopyFile(PREFIX+'/include/','panda/src/particlesystem/ringEmitter.I')
  3101. CopyFile(PREFIX+'/include/','panda/src/particlesystem/ringEmitter.h')
  3102. CopyFile(PREFIX+'/include/','panda/src/particlesystem/sparkleParticleRenderer.I')
  3103. CopyFile(PREFIX+'/include/','panda/src/particlesystem/sparkleParticleRenderer.h')
  3104. CopyFile(PREFIX+'/include/','panda/src/particlesystem/sphereSurfaceEmitter.I')
  3105. CopyFile(PREFIX+'/include/','panda/src/particlesystem/sphereSurfaceEmitter.h')
  3106. CopyFile(PREFIX+'/include/','panda/src/particlesystem/sphereVolumeEmitter.I')
  3107. CopyFile(PREFIX+'/include/','panda/src/particlesystem/sphereVolumeEmitter.h')
  3108. CopyFile(PREFIX+'/include/','panda/src/particlesystem/spriteParticleRenderer.I')
  3109. CopyFile(PREFIX+'/include/','panda/src/particlesystem/spriteParticleRenderer.h')
  3110. CopyFile(PREFIX+'/include/','panda/src/particlesystem/tangentRingEmitter.I')
  3111. CopyFile(PREFIX+'/include/','panda/src/particlesystem/tangentRingEmitter.h')
  3112. CopyFile(PREFIX+'/include/','panda/src/particlesystem/zSpinParticle.I')
  3113. CopyFile(PREFIX+'/include/','panda/src/particlesystem/zSpinParticle.h')
  3114. CopyFile(PREFIX+'/include/','panda/src/particlesystem/zSpinParticleFactory.I')
  3115. CopyFile(PREFIX+'/include/','panda/src/particlesystem/zSpinParticleFactory.h')
  3116. CopyFile(PREFIX+'/include/','panda/src/particlesystem/particleCommonFuncs.h')
  3117. CopyFile(PREFIX+'/include/','panda/metalibs/pandaphysics/pandaphysics.h')
  3118. CopyFile(PREFIX+'/include/','direct/src/directbase/directbase.h')
  3119. CopyFile(PREFIX+'/include/','direct/src/directbase/directsymbols.h')
  3120. CopyFile(PREFIX+'/include/','direct/src/deadrec/smoothMover.h')
  3121. CopyFile(PREFIX+'/include/','direct/src/deadrec/smoothMover.I')
  3122. CopyFile(PREFIX+'/include/','direct/src/interval/config_interval.h')
  3123. CopyFile(PREFIX+'/include/','direct/src/interval/cInterval.I')
  3124. CopyFile(PREFIX+'/include/','direct/src/interval/cInterval.h')
  3125. CopyFile(PREFIX+'/include/','direct/src/interval/cIntervalManager.I')
  3126. CopyFile(PREFIX+'/include/','direct/src/interval/cIntervalManager.h')
  3127. CopyFile(PREFIX+'/include/','direct/src/interval/cLerpInterval.I')
  3128. CopyFile(PREFIX+'/include/','direct/src/interval/cLerpInterval.h')
  3129. CopyFile(PREFIX+'/include/','direct/src/interval/cLerpNodePathInterval.I')
  3130. CopyFile(PREFIX+'/include/','direct/src/interval/cLerpNodePathInterval.h')
  3131. CopyFile(PREFIX+'/include/','direct/src/interval/cLerpAnimEffectInterval.I')
  3132. CopyFile(PREFIX+'/include/','direct/src/interval/cLerpAnimEffectInterval.h')
  3133. CopyFile(PREFIX+'/include/','direct/src/interval/cMetaInterval.I')
  3134. CopyFile(PREFIX+'/include/','direct/src/interval/cMetaInterval.h')
  3135. CopyFile(PREFIX+'/include/','direct/src/interval/hideInterval.I')
  3136. CopyFile(PREFIX+'/include/','direct/src/interval/hideInterval.h')
  3137. CopyFile(PREFIX+'/include/','direct/src/interval/showInterval.I')
  3138. CopyFile(PREFIX+'/include/','direct/src/interval/showInterval.h')
  3139. CopyFile(PREFIX+'/include/','direct/src/interval/waitInterval.I')
  3140. CopyFile(PREFIX+'/include/','direct/src/interval/waitInterval.h')
  3141. CopyFile(PREFIX+'/include/','pandatool/src/pandatoolbase/animationConvert.h')
  3142. CopyFile(PREFIX+'/include/','pandatool/src/pandatoolbase/config_pandatoolbase.h')
  3143. CopyFile(PREFIX+'/include/','pandatool/src/pandatoolbase/distanceUnit.h')
  3144. CopyFile(PREFIX+'/include/','pandatool/src/pandatoolbase/pandatoolbase.h')
  3145. CopyFile(PREFIX+'/include/','pandatool/src/pandatoolbase/pandatoolsymbols.h')
  3146. CopyFile(PREFIX+'/include/','pandatool/src/pandatoolbase/pathReplace.I')
  3147. CopyFile(PREFIX+'/include/','pandatool/src/pandatoolbase/pathReplace.h')
  3148. CopyFile(PREFIX+'/include/','pandatool/src/pandatoolbase/pathStore.h')
  3149. CopyFile(PREFIX+'/include/','pandatool/src/converter/somethingToEggConverter.I')
  3150. CopyFile(PREFIX+'/include/','pandatool/src/converter/somethingToEggConverter.h')
  3151. CopyFile(PREFIX+'/include/','pandatool/src/progbase/programBase.I')
  3152. CopyFile(PREFIX+'/include/','pandatool/src/progbase/programBase.h')
  3153. CopyFile(PREFIX+'/include/','pandatool/src/progbase/withOutputFile.I')
  3154. CopyFile(PREFIX+'/include/','pandatool/src/progbase/withOutputFile.h')
  3155. CopyFile(PREFIX+'/include/','pandatool/src/progbase/wordWrapStream.h')
  3156. CopyFile(PREFIX+'/include/','pandatool/src/progbase/wordWrapStreamBuf.I')
  3157. CopyFile(PREFIX+'/include/','pandatool/src/progbase/wordWrapStreamBuf.h')
  3158. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/eggBase.h')
  3159. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/eggConverter.h')
  3160. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/eggFilter.h')
  3161. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/eggMakeSomething.h')
  3162. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/eggMultiBase.h')
  3163. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/eggMultiFilter.h')
  3164. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/eggReader.h')
  3165. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/eggSingleBase.h')
  3166. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/eggToSomething.h')
  3167. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/eggWriter.h')
  3168. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/somethingToEgg.h')
  3169. CopyFile(PREFIX+'/include/','pandatool/src/cvscopy/cvsCopy.h')
  3170. CopyFile(PREFIX+'/include/','pandatool/src/dxf/dxfFile.h')
  3171. CopyFile(PREFIX+'/include/','pandatool/src/dxf/dxfLayer.h')
  3172. CopyFile(PREFIX+'/include/','pandatool/src/dxf/dxfLayerMap.h')
  3173. CopyFile(PREFIX+'/include/','pandatool/src/dxf/dxfVertex.h')
  3174. CopyFile(PREFIX+'/include/','pandatool/src/dxfegg/dxfToEggConverter.h')
  3175. CopyFile(PREFIX+'/include/','pandatool/src/dxfegg/dxfToEggLayer.h')
  3176. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggBackPointer.h')
  3177. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggCharacterCollection.I')
  3178. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggCharacterCollection.h')
  3179. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggCharacterData.I')
  3180. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggCharacterData.h')
  3181. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggCharacterFilter.h')
  3182. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggComponentData.I')
  3183. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggComponentData.h')
  3184. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggJointData.h')
  3185. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggJointData.I')
  3186. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggJointPointer.h')
  3187. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggJointPointer.I')
  3188. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggJointNodePointer.h')
  3189. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggMatrixTablePointer.h')
  3190. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggScalarTablePointer.h')
  3191. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggSliderData.I')
  3192. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggSliderData.h')
  3193. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggVertexPointer.h')
  3194. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltBead.h')
  3195. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltBeadID.h')
  3196. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltCurve.I')
  3197. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltCurve.h')
  3198. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltError.h')
  3199. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltExternalReference.h')
  3200. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltEyepoint.h')
  3201. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltFace.I')
  3202. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltFace.h')
  3203. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltGeometry.I')
  3204. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltGeometry.h')
  3205. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltGroup.h')
  3206. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltHeader.h')
  3207. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltInstanceDefinition.h')
  3208. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltInstanceRef.h')
  3209. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltLOD.h')
  3210. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltLightSourceDefinition.h')
  3211. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltLocalVertexPool.I')
  3212. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltLocalVertexPool.h')
  3213. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltMaterial.h')
  3214. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltMesh.I')
  3215. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltMesh.h')
  3216. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltMeshPrimitive.I')
  3217. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltMeshPrimitive.h')
  3218. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltObject.h')
  3219. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltOpcode.h')
  3220. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltPackedColor.I')
  3221. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltPackedColor.h')
  3222. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltRecord.I')
  3223. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltRecord.h')
  3224. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltRecordReader.h')
  3225. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltRecordWriter.h')
  3226. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltTexture.h')
  3227. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltTrackplane.h')
  3228. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltTransformGeneralMatrix.h')
  3229. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltTransformPut.h')
  3230. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltTransformRecord.h')
  3231. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltTransformRotateAboutEdge.h')
  3232. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltTransformRotateAboutPoint.h')
  3233. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltTransformRotateScale.h')
  3234. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltTransformScale.h')
  3235. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltTransformTranslate.h')
  3236. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltUnsupportedRecord.h')
  3237. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltVectorRecord.h')
  3238. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltVertex.I')
  3239. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltVertex.h')
  3240. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltVertexList.h')
  3241. CopyFile(PREFIX+'/include/','pandatool/src/fltegg/fltToEggConverter.I')
  3242. CopyFile(PREFIX+'/include/','pandatool/src/fltegg/fltToEggConverter.h')
  3243. CopyFile(PREFIX+'/include/','pandatool/src/fltegg/fltToEggLevelState.I')
  3244. CopyFile(PREFIX+'/include/','pandatool/src/fltegg/fltToEggLevelState.h')
  3245. CopyFile(PREFIX+'/include/','pandatool/src/imagebase/imageBase.h')
  3246. CopyFile(PREFIX+'/include/','pandatool/src/imagebase/imageFilter.h')
  3247. CopyFile(PREFIX+'/include/','pandatool/src/imagebase/imageReader.h')
  3248. CopyFile(PREFIX+'/include/','pandatool/src/imagebase/imageWriter.I')
  3249. CopyFile(PREFIX+'/include/','pandatool/src/imagebase/imageWriter.h')
  3250. CopyFile(PREFIX+'/include/','pandatool/src/lwo/iffChunk.I')
  3251. CopyFile(PREFIX+'/include/','pandatool/src/lwo/iffChunk.h')
  3252. CopyFile(PREFIX+'/include/','pandatool/src/lwo/iffGenericChunk.I')
  3253. CopyFile(PREFIX+'/include/','pandatool/src/lwo/iffGenericChunk.h')
  3254. CopyFile(PREFIX+'/include/','pandatool/src/lwo/iffId.I')
  3255. CopyFile(PREFIX+'/include/','pandatool/src/lwo/iffId.h')
  3256. CopyFile(PREFIX+'/include/','pandatool/src/lwo/iffInputFile.I')
  3257. CopyFile(PREFIX+'/include/','pandatool/src/lwo/iffInputFile.h')
  3258. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoBoundingBox.h')
  3259. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoChunk.h')
  3260. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoClip.h')
  3261. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoDiscontinuousVertexMap.h')
  3262. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoGroupChunk.h')
  3263. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoHeader.I')
  3264. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoHeader.h')
  3265. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoInputFile.I')
  3266. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoInputFile.h')
  3267. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoLayer.h')
  3268. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoPoints.h')
  3269. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoPolygons.h')
  3270. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoPolygonTags.h')
  3271. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoTags.h')
  3272. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoStillImage.h')
  3273. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurface.h')
  3274. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlock.h')
  3275. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockAxis.h')
  3276. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockChannel.h')
  3277. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockCoordSys.h')
  3278. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockEnabled.h')
  3279. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockImage.h')
  3280. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockOpacity.h')
  3281. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockProjection.h')
  3282. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockHeader.h')
  3283. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockRefObj.h')
  3284. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockRepeat.h')
  3285. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockTMap.h')
  3286. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockTransform.h')
  3287. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockVMapName.h')
  3288. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockWrap.h')
  3289. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceColor.h')
  3290. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceParameter.h')
  3291. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceSidedness.h')
  3292. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceSmoothingAngle.h')
  3293. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoVertexMap.h')
  3294. CopyFile(PREFIX+'/include/','pandatool/src/lwoegg/lwoToEggConverter.I')
  3295. CopyFile(PREFIX+'/include/','pandatool/src/lwoegg/lwoToEggConverter.h')
  3296. CopyFile(PREFIX+'/include/','pandatool/src/vrmlegg/indexedFaceSet.h')
  3297. CopyFile(PREFIX+'/include/','pandatool/src/vrmlegg/vrmlAppearance.h')
  3298. CopyFile(PREFIX+'/include/','pandatool/src/vrmlegg/vrmlToEggConverter.h')
  3299. CopyFile(PREFIX+'/include/','pandatool/src/ptloader/config_ptloader.h')
  3300. CopyFile(PREFIX+'/include/','pandatool/src/ptloader/loaderFileTypePandatool.h')
  3301. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatClientData.h')
  3302. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatGraph.I')
  3303. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatGraph.h')
  3304. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatListener.h')
  3305. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatMonitor.I')
  3306. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatMonitor.h')
  3307. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatPianoRoll.I')
  3308. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatPianoRoll.h')
  3309. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatReader.h')
  3310. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatServer.h')
  3311. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatStripChart.I')
  3312. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatStripChart.h')
  3313. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatThreadData.I')
  3314. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatThreadData.h')
  3315. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatView.I')
  3316. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatView.h')
  3317. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatViewLevel.I')
  3318. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatViewLevel.h')
  3319. CopyFile(PREFIX+'/include/','pandaapp/src/pandaappbase/pandaappbase.h')
  3320. CopyFile(PREFIX+'/include/','pandaapp/src/pandaappbase/pandaappsymbols.h')
  3321. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/config_stitch.h')
  3322. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/fadeImagePool.I')
  3323. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/fadeImagePool.h')
  3324. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/fixedPoint.h')
  3325. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/layeredImage.h')
  3326. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/morphGrid.h')
  3327. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchCommand.h')
  3328. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchCommandReader.h')
  3329. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchCylindricalLens.h')
  3330. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchFile.h')
  3331. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchFisheyeLens.h')
  3332. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchImage.h')
  3333. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchImageCommandOutput.h')
  3334. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchImageOutputter.h')
  3335. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchImageRasterizer.h')
  3336. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchLens.h')
  3337. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchLexerDefs.h')
  3338. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchPSphereLens.h')
  3339. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchParserDefs.h')
  3340. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchPerspectiveLens.h')
  3341. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchPoint.h')
  3342. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitcher.h')
  3343. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/triangle.h')
  3344. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/triangleRasterizer.h')
  3345. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchCylindricalScreen.h')
  3346. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchFlatScreen.h')
  3347. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchMultiScreen.h')
  3348. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchScreen.h')
  3349. ########################################################################
  3350. #
  3351. # This file contains a list of all the files that need to be compiled.
  3352. #
  3353. ########################################################################
  3354. #
  3355. # DIRECTORY: dtool/src/dtoolbase/
  3356. #
  3357. IPATH=['dtool/src/dtoolbase']
  3358. OPTS=['BUILDING_DTOOL', 'NSPR']
  3359. CompileC(ipath=IPATH, opts=OPTS, src='dtoolbase.cxx', obj='dtoolbase_dtoolbase.obj')
  3360. #
  3361. # DIRECTORY: dtool/src/dtoolutil/
  3362. #
  3363. IPATH=['dtool/src/dtoolutil']
  3364. OPTS=['BUILDING_DTOOL', 'NSPR']
  3365. CompileC(ipath=IPATH, opts=OPTS, src='gnu_getopt.c', obj='dtoolutil_gnu_getopt.obj')
  3366. CompileC(ipath=IPATH, opts=OPTS, src='gnu_getopt1.c', obj='dtoolutil_gnu_getopt1.obj')
  3367. CompileC(ipath=IPATH, opts=OPTS, src='dtoolutil_composite1.cxx', obj='dtoolutil_composite1.obj')
  3368. CompileC(ipath=IPATH, opts=OPTS, src='dtoolutil_composite2.cxx', obj='dtoolutil_composite2.obj')
  3369. #
  3370. # DIRECTORY: dtool/metalibs/dtool/
  3371. #
  3372. IPATH=['dtool/metalibs/dtool']
  3373. OPTS=['BUILDING_DTOOL', 'NSPR']
  3374. CompileC(ipath=IPATH, opts=OPTS, src='dtool.cxx', obj='dtool_dtool.obj')
  3375. CompileLink(opts=['ADVAPI', 'NSPR'], dll='libdtool.dll', obj=[
  3376. 'dtool_dtool.obj',
  3377. 'dtoolutil_gnu_getopt.obj',
  3378. 'dtoolutil_gnu_getopt1.obj',
  3379. 'dtoolutil_composite1.obj',
  3380. 'dtoolutil_composite2.obj',
  3381. 'dtoolbase_dtoolbase.obj',
  3382. ])
  3383. #
  3384. # DIRECTORY: dtool/src/cppparser/
  3385. #
  3386. IPATH=['dtool/src/cppparser']
  3387. CompileBison(pre='cppyy', dstc='cppBison.cxx', dsth='cppBison.h', src='dtool/src/cppparser/cppBison.yxx')
  3388. OPTS=['NSPR']
  3389. CompileC(ipath=IPATH, opts=OPTS, src='cppParser_composite1.cxx', obj='cppParser_composite1.obj')
  3390. CompileC(ipath=IPATH, opts=OPTS, src='cppParser_composite2.cxx', obj='cppParser_composite2.obj')
  3391. CompileC(ipath=IPATH, opts=OPTS, src='cppBison.cxx', obj='cppParser_cppBison.obj')
  3392. CompileLIB(lib='libcppParser.ilb', obj=[
  3393. 'cppParser_composite1.obj',
  3394. 'cppParser_composite2.obj',
  3395. 'cppParser_cppBison.obj',
  3396. ])
  3397. #
  3398. # DIRECTORY: dtool/src/prc/
  3399. #
  3400. IPATH=['dtool/src/prc']
  3401. OPTS=['BUILDING_DTOOLCONFIG', 'SSL', 'NSPR']
  3402. CompileC(ipath=IPATH, opts=OPTS, src='prc_composite1.cxx', obj='prc_composite1.obj')
  3403. CompileC(ipath=IPATH, opts=OPTS, src='prc_composite2.cxx', obj='prc_composite2.obj')
  3404. #
  3405. # DIRECTORY: dtool/src/dconfig/
  3406. #
  3407. IPATH=['dtool/src/dconfig']
  3408. OPTS=['BUILDING_DTOOLCONFIG', 'NSPR']
  3409. CompileC(ipath=IPATH, opts=OPTS, src='dconfig_composite1.cxx', obj='dconfig_composite1.obj')
  3410. #
  3411. # DIRECTORY: dtool/src/interrogatedb/
  3412. #
  3413. IPATH=['dtool/src/interrogatedb']
  3414. OPTS=['BUILDING_DTOOLCONFIG', 'NSPR']
  3415. CompileC(ipath=IPATH, opts=OPTS, src='interrogatedb_composite1.cxx', obj='interrogatedb_composite1.obj')
  3416. CompileC(ipath=IPATH, opts=OPTS, src='interrogatedb_composite2.cxx', obj='interrogatedb_composite2.obj')
  3417. #
  3418. # DIRECTORY: dtool/metalibs/dtoolconfig/
  3419. #
  3420. IPATH=['dtool/metalibs/dtoolconfig']
  3421. OPTS=['BUILDING_DTOOLCONFIG', 'NSPR']
  3422. CompileC(ipath=IPATH, opts=OPTS, src='dtoolconfig.cxx', obj='dtoolconfig_dtoolconfig.obj')
  3423. CompileC(ipath=IPATH, opts=OPTS, src='pydtool.cxx', obj='dtoolconfig_pydtool.obj')
  3424. CompileLink(opts=['ADVAPI', 'NSPR', 'SSL'], dll='libdtoolconfig.dll', obj=[
  3425. 'dtoolconfig_dtoolconfig.obj',
  3426. 'dtoolconfig_pydtool.obj',
  3427. 'interrogatedb_composite1.obj',
  3428. 'interrogatedb_composite2.obj',
  3429. 'dconfig_composite1.obj',
  3430. 'prc_composite1.obj',
  3431. 'prc_composite2.obj',
  3432. 'libdtool.dll',
  3433. ])
  3434. #
  3435. # DIRECTORY: dtool/src/pystub/
  3436. #
  3437. IPATH=['dtool/src/pystub']
  3438. OPTS=['BUILDING_DTOOLCONFIG', 'NSPR']
  3439. CompileC(ipath=IPATH, opts=OPTS, src='pystub.cxx', obj='pystub_pystub.obj')
  3440. CompileLink(opts=['ADVAPI', 'NSPR'], dll='libpystub.dll', obj=[
  3441. 'pystub_pystub.obj',
  3442. 'libdtool.dll',
  3443. ])
  3444. #
  3445. # DIRECTORY: dtool/src/interrogate/
  3446. #
  3447. IPATH=['dtool/src/interrogate', 'dtool/src/cppparser', 'dtool/src/interrogatedb']
  3448. OPTS=['NSPR']
  3449. CompileC(ipath=IPATH, opts=OPTS, src='interrogate_composite1.cxx', obj='interrogate_composite1.obj')
  3450. CompileC(ipath=IPATH, opts=OPTS, src='interrogate_composite2.cxx', obj='interrogate_composite2.obj')
  3451. CompileLink(opts=['ADVAPI', 'NSPR', 'SSL'], dll='interrogate.exe', obj=[
  3452. 'interrogate_composite1.obj',
  3453. 'interrogate_composite2.obj',
  3454. 'libcppParser.ilb',
  3455. 'libpystub.dll',
  3456. 'libdtoolconfig.dll',
  3457. 'libdtool.dll',
  3458. ])
  3459. CompileC(ipath=IPATH, opts=OPTS, src='interrogate_module.cxx', obj='interrogate_module_interrogate_module.obj')
  3460. CompileLink(opts=['ADVAPI', 'NSPR', 'SSL'], dll='interrogate_module.exe', obj=[
  3461. 'interrogate_module_interrogate_module.obj',
  3462. 'libcppParser.ilb',
  3463. 'libpystub.dll',
  3464. 'libdtoolconfig.dll',
  3465. 'libdtool.dll',
  3466. ])
  3467. CompileC(ipath=IPATH, opts=OPTS, src='parse_file.cxx', obj='parse_file_parse_file.obj')
  3468. CompileLink(opts=['ADVAPI', 'NSPR', 'SSL'], dll='parse_file.exe', obj=[
  3469. 'parse_file_parse_file.obj',
  3470. 'libcppParser.ilb',
  3471. 'libpystub.dll',
  3472. 'libdtoolconfig.dll',
  3473. 'libdtool.dll',
  3474. ])
  3475. #
  3476. # DIRECTORY: dtool/src/prckeys/
  3477. #
  3478. if (OMIT.count("SSL")==0):
  3479. IPATH=['dtool/src/prckeys']
  3480. OPTS=['SSL', 'NSPR']
  3481. CompileC(ipath=IPATH, opts=OPTS, src='makePrcKey.cxx', obj='make-prc-key_makePrcKey.obj')
  3482. CompileLink(opts=['ADVAPI', 'NSPR', 'SSL'], dll='make-prc-key.exe', obj=[
  3483. 'make-prc-key_makePrcKey.obj',
  3484. 'libpystub.dll',
  3485. 'libdtool.dll',
  3486. 'libdtoolconfig.dll',
  3487. ])
  3488. #
  3489. # DIRECTORY: dtool/src/test_interrogate/
  3490. #
  3491. IPATH=['dtool/src/test_interrogate']
  3492. OPTS=['NSPR']
  3493. CompileC(ipath=IPATH, opts=OPTS, src='test_interrogate.cxx', obj='test_interrogate_test_interrogate.obj')
  3494. CompileLink(opts=['ADVAPI', 'NSPR', 'SSL'], dll='test_interrogate.exe', obj=[
  3495. 'test_interrogate_test_interrogate.obj',
  3496. 'libpystub.dll',
  3497. 'libdtoolconfig.dll',
  3498. 'libdtool.dll',
  3499. ])
  3500. #
  3501. # DIRECTORY: panda/src/pandabase/
  3502. #
  3503. IPATH=['panda/src/pandabase']
  3504. OPTS=['BUILDING_PANDAEXPRESS', 'NSPR']
  3505. CompileC(ipath=IPATH, opts=OPTS, src='pandabase.cxx', obj='pandabase_pandabase.obj')
  3506. #
  3507. # DIRECTORY: panda/src/express/
  3508. #
  3509. IPATH=['panda/src/express']
  3510. OPTS=['BUILDING_PANDAEXPRESS', 'SSL', 'ZLIB', 'NSPR']
  3511. CompileC(ipath=IPATH, opts=OPTS, src='express_composite1.cxx', obj='express_composite1.obj')
  3512. CompileC(ipath=IPATH, opts=OPTS, src='express_composite2.cxx', obj='express_composite2.obj')
  3513. Interrogate(ipath=IPATH, opts=OPTS, outd='libexpress.in', outc='libexpress_igate.cxx',
  3514. src='panda/src/express', module='pandaexpress', library='libexpress',
  3515. files=['atomicAdjustDummyImpl.h', 'atomicAdjust.h', 'atomicAdjustImpl.h', 'atomicAdjustNsprImpl.h', 'bigEndian.h', 'buffer.h', 'checksumHashGenerator.h', 'circBuffer.h', 'clockObject.h', 'conditionVarDummyImpl.h', 'conditionVar.h', 'conditionVarImpl.h', 'conditionVarNsprImpl.h', 'config_express.h', 'datagram.h', 'datagramGenerator.h', 'datagramIterator.h', 'datagramSink.h', 'dcast.h', 'encryptStreamBuf.h', 'encryptStream.h', 'error_utils.h', 'hashGeneratorBase.h', 'hashVal.h', 'indent.h', 'indirectLess.h', 'littleEndian.h', 'memoryInfo.h', 'memoryUsage.h', 'memoryUsagePointerCounts.h', 'memoryUsagePointers.h', 'multifile.h', 'mutexDummyImpl.h', 'pmutex.h', 'mutexHolder.h', 'mutexImpl.h', 'mutexNsprImpl.h', 'namable.h', 'nativeNumericData.h', 'numeric_types.h', 'ordered_vector.h', 'password_hash.h', 'patchfile.h', 'pointerTo.h', 'pointerToArray.h', 'pointerToBase.h', 'pointerToVoid.h', 'profileTimer.h', 'pta_uchar.h', 'ramfile.h', 'referenceCount.h', 'register_type.h', 'reversedNumericData.h', 'selectThreadImpl.h', 'streamReader.h', 'streamWriter.h', 'stringDecoder.h', 'subStream.h', 'subStreamBuf.h', 'textEncoder.h', 'threadDummyImpl.h', 'thread.h', 'threadImpl.h', 'threadNsprImpl.h', 'threadPriority.h', 'tokenBoard.h', 'trueClock.h', 'typeHandle.h', 'typedObject.h', 'typedReferenceCount.h', 'typedef.h', 'typeRegistry.h', 'typeRegistryNode.h', 'unicodeLatinMap.h', 'vector_uchar.h', 'virtualFileComposite.h', 'virtualFile.h', 'virtualFileList.h', 'virtualFileMount.h', 'virtualFileMountMultifile.h', 'virtualFileMountSystem.h', 'virtualFileSimple.h', 'virtualFileSystem.h', 'weakPointerTo.h', 'weakPointerToBase.h', 'weakPointerToVoid.h', 'weakReferenceList.h', 'windowsRegistry.h', 'zStream.h', 'zStreamBuf.h', 'express_composite1.cxx', 'express_composite2.cxx'])
  3516. CompileC(ipath=IPATH, opts=OPTS, src='libexpress_igate.cxx', obj='libexpress_igate.obj')
  3517. #
  3518. # DIRECTORY: panda/src/downloader/
  3519. #
  3520. IPATH=['panda/src/downloader']
  3521. OPTS=['BUILDING_PANDAEXPRESS', 'SSL', 'ZLIB', 'NSPR']
  3522. CompileC(ipath=IPATH, opts=OPTS, src='downloader_composite1.cxx', obj='downloader_composite1.obj')
  3523. CompileC(ipath=IPATH, opts=OPTS, src='downloader_composite2.cxx', obj='downloader_composite2.obj')
  3524. Interrogate(ipath=IPATH, opts=OPTS, outd='libdownloader.in', outc='libdownloader_igate.cxx',
  3525. src='panda/src/downloader', module='pandaexpress', library='libdownloader', files=[
  3526. 'config_downloader.h', 'asyncUtility.h', 'bioPtr.h', 'bioStreamPtr.h', 'bioStream.h', 'bioStreamBuf.h',
  3527. 'chunkedStream.h', 'chunkedStreamBuf.h', 'decompressor.h', 'documentSpec.h', 'downloadDb.h',
  3528. 'download_utils.h', 'extractor.h', 'httpAuthorization.h', 'httpBasicAuthorization.h', 'httpChannel.h',
  3529. 'httpClient.h', 'httpCookie.h', 'httpDate.h', 'httpDigestAuthorization.h', 'httpEntityTag.h',
  3530. 'httpEnum.h', 'identityStream.h', 'identityStreamBuf.h', 'multiplexStream.h', 'multiplexStreamBuf.h',
  3531. 'patcher.h', 'socketStream.h', 'ssl_utils.h', 'urlSpec.h',
  3532. 'downloader_composite1.cxx', 'downloader_composite2.cxx'])
  3533. CompileC(ipath=IPATH, opts=OPTS, src='libdownloader_igate.cxx', obj='libdownloader_igate.obj')
  3534. #
  3535. # DIRECTORY: panda/metalibs/pandaexpress/
  3536. #
  3537. IPATH=['panda/metalibs/pandaexpress']
  3538. OPTS=['BUILDING_PANDAEXPRESS', 'ZLIB', 'NSPR']
  3539. CompileC(ipath=IPATH, opts=OPTS, src='pandaexpress.cxx', obj='pandaexpress_pandaexpress.obj')
  3540. InterrogateModule(outc='libpandaexpress_module.cxx', module='pandaexpress', library='libpandaexpress',
  3541. files=['libdownloader.in', 'libexpress.in'])
  3542. CompileC(ipath=IPATH, opts=OPTS, src='libpandaexpress_module.cxx', obj='libpandaexpress_module.obj')
  3543. CompileLink(opts=['ADVAPI', 'WINSOCK2', 'NSPR', 'SSL', 'ZLIB'], dll='libpandaexpress.dll', obj=[
  3544. 'pandaexpress_pandaexpress.obj',
  3545. 'libpandaexpress_module.obj',
  3546. 'downloader_composite1.obj',
  3547. 'downloader_composite2.obj',
  3548. 'libdownloader_igate.obj',
  3549. 'express_composite1.obj',
  3550. 'express_composite2.obj',
  3551. 'libexpress_igate.obj',
  3552. 'pandabase_pandabase.obj',
  3553. 'libdtoolconfig.dll',
  3554. 'libdtool.dll',
  3555. ])
  3556. #
  3557. # DIRECTORY: panda/src/putil/
  3558. #
  3559. IPATH=['panda/src/putil']
  3560. OPTS=['BUILDING_PANDA', 'NSPR']
  3561. CompileC(ipath=IPATH, opts=OPTS, src='putil_composite1.cxx', obj='putil_composite1.obj')
  3562. CompileC(ipath=IPATH, opts=OPTS, src='putil_composite2.cxx', obj='putil_composite2.obj')
  3563. Interrogate(ipath=IPATH, opts=OPTS, outd='libputil.in', outc='libputil_igate.cxx',
  3564. src='panda/src/putil', module='panda', library='libputil', files=[
  3565. 'bam.h', 'bamReader.h', 'bamReaderParam.h', 'bamWriter.h', 'bitMask.h', 'buttonHandle.h',
  3566. 'buttonRegistry.h', 'cachedTypedWritableReferenceCount.h', 'collideMask.h', 'portalMask.h',
  3567. 'compareTo.h', 'config_util.h', 'configurable.h', 'cycleData.h', 'cycleDataReader.h',
  3568. 'cycleDataWriter.h', 'datagramInputFile.h', 'datagramOutputFile.h', 'drawMask.h', 'factoryBase.h',
  3569. 'factoryParam.h', 'factoryParams.h', 'firstOfPairCompare.h', 'firstOfPairLess.h',
  3570. 'globalPointerRegistry.h', 'indirectCompareNames.h', 'indirectCompareTo.h', 'ioPtaDatagramFloat.h',
  3571. 'ioPtaDatagramInt.h', 'ioPtaDatagramShort.h', 'keyboardButton.h', 'lineStream.h', 'lineStreamBuf.h',
  3572. 'load_prc_file.h', 'modifierButtons.h', 'mouseButton.h', 'mouseData.h', 'nameUniquifier.h',
  3573. 'pipeline.h', 'pipelineCycler.h', 'pipelineCyclerBase.h', 'pta_double.h', 'pta_float.h',
  3574. 'pta_int.h', 'string_utils.h', 'timedCycle.h', 'typedWritable.h', 'typedWritableReferenceCount.h',
  3575. 'updateSeq.h', 'uniqueIdAllocator.h', 'vector_double.h', 'vector_float.h', 'vector_typedWritable.h',
  3576. 'vector_ushort.h', 'vector_writable.h', 'writableConfigurable.h', 'writableParam.h',
  3577. 'putil_composite1.cxx', 'putil_composite2.cxx'])
  3578. CompileC(ipath=IPATH, opts=OPTS, src='libputil_igate.cxx', obj='libputil_igate.obj')
  3579. #
  3580. # DIRECTORY: panda/src/audio/
  3581. #
  3582. IPATH=['panda/src/audio']
  3583. OPTS=['BUILDING_PANDA', 'NSPR']
  3584. CompileC(ipath=IPATH, opts=OPTS, src='audio_composite1.cxx', obj='audio_composite1.obj')
  3585. Interrogate(ipath=IPATH, opts=OPTS, outd='libaudio.in', outc='libaudio_igate.cxx',
  3586. src='panda/src/audio', module='panda', library='libaudio',
  3587. files=['audio.h'])
  3588. CompileC(ipath=IPATH, opts=OPTS, src='libaudio_igate.cxx', obj='libaudio_igate.obj')
  3589. #
  3590. # DIRECTORY: panda/src/event/
  3591. #
  3592. IPATH=['panda/src/event']
  3593. OPTS=['BUILDING_PANDA', 'NSPR']
  3594. CompileC(ipath=IPATH, opts=OPTS, src='event_composite1.cxx', obj='event_composite1.obj')
  3595. Interrogate(ipath=IPATH, opts=OPTS, outd='libevent.in', outc='libevent_igate.cxx',
  3596. src='panda/src/event', module='panda', library='libevent', files=[
  3597. 'config_event.h', 'buttonEvent.h', 'buttonEventList.h', 'event.h', 'eventHandler.h',
  3598. 'eventParameter.h', 'eventQueue.h', 'eventReceiver.h', 'pt_Event.h', 'throw_event.h', 'event_composite1.cxx'])
  3599. CompileC(ipath=IPATH, opts=OPTS, src='libevent_igate.cxx', obj='libevent_igate.obj')
  3600. #
  3601. # DIRECTORY: panda/src/linmath/
  3602. #
  3603. IPATH=['panda/src/linmath']
  3604. OPTS=['BUILDING_PANDA', 'NSPR']
  3605. CompileC(ipath=IPATH, opts=OPTS, src='linmath_composite1.cxx', obj='linmath_composite1.obj')
  3606. CompileC(ipath=IPATH, opts=OPTS, src='linmath_composite2.cxx', obj='linmath_composite2.obj')
  3607. Interrogate(ipath=IPATH, opts=OPTS, outd='liblinmath.in', outc='liblinmath_igate.cxx',
  3608. src='panda/src/linmath', module='panda', library='liblinmath', files=[
  3609. 'compose_matrix.h', 'compose_matrix_src.h', 'config_linmath.h', 'coordinateSystem.h', 'dbl2fltnames.h', 'dblnames.h', 'deg_2_rad.h', 'flt2dblnames.h', 'fltnames.h', 'ioPtaDatagramLinMath.h', 'lcast_to.h', 'lcast_to_src.h', 'lmatrix.h', 'lmatrix3.h', 'lmatrix3_src.h', 'lmatrix4.h', 'lmatrix4_src.h', 'lorientation.h', 'lorientation_src.h', 'lpoint2.h', 'lpoint2_src.h', 'lpoint3.h', 'lpoint3_src.h', 'lpoint4.h', 'lpoint4_src.h', 'lquaternion.h', 'lquaternion_src.h', 'lrotation.h', 'lrotation_src.h', 'luse.h', 'lvec2_ops.h', 'lvec2_ops_src.h', 'lvec3_ops.h', 'lvec3_ops_src.h', 'lvec4_ops.h', 'lvec4_ops_src.h', 'lvecBase2.h', 'lvecBase2_src.h', 'lvecBase3.h', 'lvecBase3_src.h', 'lvecBase4.h', 'lvecBase4_src.h', 'lvector2.h', 'lvector2_src.h', 'lvector3.h', 'lvector3_src.h', 'lvector4.h', 'lvector4_src.h', 'mathNumbers.h', 'pta_Colorf.h', 'pta_Normalf.h', 'pta_TexCoordf.h', 'pta_Vertexf.h', 'vector_Colorf.h', 'vector_LPoint2f.h', 'vector_LVecBase3f.h', 'vector_Normalf.h', 'vector_TexCoordf.h', 'vector_Vertexf.h', 'linmath_composite1.cxx', 'linmath_composite2.cxx'])
  3610. CompileC(ipath=IPATH, opts=OPTS, src='liblinmath_igate.cxx', obj='liblinmath_igate.obj')
  3611. #
  3612. # DIRECTORY: panda/src/mathutil/
  3613. #
  3614. IPATH=['panda/src/mathutil']
  3615. OPTS=['BUILDING_PANDA', 'FFTW', 'NSPR']
  3616. CompileC(ipath=IPATH, opts=OPTS, src='mathutil_composite1.cxx', obj='mathutil_composite1.obj')
  3617. CompileC(ipath=IPATH, opts=OPTS, src='mathutil_composite2.cxx', obj='mathutil_composite2.obj')
  3618. Interrogate(ipath=IPATH, opts=OPTS, outd='libmathutil.in', outc='libmathutil_igate.cxx',
  3619. src='panda/src/mathutil', module='panda', library='libmathutil', files=[
  3620. 'boundingHexahedron.h', 'boundingLine.h', 'boundingSphere.h', 'boundingVolume.h', 'config_mathutil.h', 'fftCompressor.h', 'finiteBoundingVolume.h', 'frustum.h', 'frustum_src.h', 'geometricBoundingVolume.h', 'linmath_events.h', 'look_at.h', 'look_at_src.h', 'omniBoundingVolume.h', 'plane.h', 'plane_src.h', 'rotate_to.h', 'mathutil_composite1.cxx', 'mathutil_composite2.cxx'])
  3621. CompileC(ipath=IPATH, opts=OPTS, src='libmathutil_igate.cxx', obj='libmathutil_igate.obj')
  3622. #
  3623. # DIRECTORY: panda/src/gsgbase/
  3624. #
  3625. IPATH=['panda/src/gsgbase']
  3626. OPTS=['BUILDING_PANDA', 'NSPR']
  3627. CompileC(ipath=IPATH, opts=OPTS, src='gsgbase_composite1.cxx', obj='gsgbase_composite1.obj')
  3628. Interrogate(ipath=IPATH, opts=OPTS, outd='libgsgbase.in', outc='libgsgbase_igate.cxx',
  3629. src='panda/src/gsgbase', module='panda', library='libgsgbase', files=[
  3630. 'config_gsgbase.h', 'graphicsStateGuardianBase.h', 'gsgbase_composite1.cxx'])
  3631. CompileC(ipath=IPATH, opts=OPTS, src='libgsgbase_igate.cxx', obj='libgsgbase_igate.obj')
  3632. #
  3633. # DIRECTORY: panda/src/pnmimage/
  3634. #
  3635. IPATH=['panda/src/pnmimage']
  3636. OPTS=['BUILDING_PANDA', 'NSPR']
  3637. CompileC(ipath=IPATH, opts=OPTS, src='pnmimage_composite1.cxx', obj='pnmimage_composite1.obj')
  3638. CompileC(ipath=IPATH, opts=OPTS, src='pnmimage_composite2.cxx', obj='pnmimage_composite2.obj')
  3639. Interrogate(ipath=IPATH, opts=OPTS, outd='libpnmimage.in', outc='libpnmimage_igate.cxx',
  3640. src='panda/src/pnmimage', module='panda', library='libpnmimage', files=[
  3641. 'config_pnmimage.h', 'pnmbitio.h', 'pnmFileType.h', 'pnmFileTypeRegistry.h', 'pnmImage.h', 'pnmImageHeader.h', 'pnmReader.h', 'pnmWriter.h', 'pnmimage_base.h', 'ppmcmap.h', 'pnmimage_composite1.cxx', 'pnmimage_composite2.cxx'])
  3642. CompileC(ipath=IPATH, opts=OPTS, src='libpnmimage_igate.cxx', obj='libpnmimage_igate.obj')
  3643. #
  3644. # DIRECTORY: panda/src/net/
  3645. #
  3646. if (OMIT.count("NSPR")==0):
  3647. IPATH=['panda/src/net']
  3648. OPTS=['BUILDING_PANDA', 'NSPR']
  3649. CompileC(ipath=IPATH, opts=OPTS, src='net_composite1.cxx', obj='net_composite1.obj')
  3650. CompileC(ipath=IPATH, opts=OPTS, src='net_composite2.cxx', obj='net_composite2.obj')
  3651. Interrogate(ipath=IPATH, opts=OPTS, outd='libnet.in', outc='libnet_igate.cxx',
  3652. src='panda/src/net', module='panda', library='libnet', files=[
  3653. 'config_net.h', 'connection.h', 'connectionListener.h', 'connectionManager.h',
  3654. 'connectionReader.h', 'connectionWriter.h', 'datagramQueue.h', 'datagramTCPHeader.h',
  3655. 'datagramUDPHeader.h', 'netAddress.h', 'netDatagram.h', 'pprerror.h', 'queuedConnectionListener.h',
  3656. 'queuedConnectionManager.h', 'queuedConnectionReader.h', 'recentConnectionReader.h',
  3657. 'queuedReturn.h', 'net_composite1.cxx', 'net_composite2.cxx'])
  3658. CompileC(ipath=IPATH, opts=OPTS, src='libnet_igate.cxx', obj='libnet_igate.obj')
  3659. #
  3660. # DIRECTORY: panda/src/pstatclient/
  3661. #
  3662. IPATH=['panda/src/pstatclient']
  3663. OPTS=['BUILDING_PANDA', 'NSPR']
  3664. CompileC(ipath=IPATH, opts=OPTS, src='pstatclient_composite1.cxx', obj='pstatclient_composite1.obj')
  3665. CompileC(ipath=IPATH, opts=OPTS, src='pstatclient_composite2.cxx', obj='pstatclient_composite2.obj')
  3666. Interrogate(ipath=IPATH, opts=OPTS, outd='libpstatclient.in', outc='libpstatclient_igate.cxx',
  3667. src='panda/src/pstatclient', module='panda', library='libpstatclient', files=[
  3668. 'config_pstats.h', 'pStatClient.h', 'pStatClientImpl.h', 'pStatClientVersion.h', 'pStatClientControlMessage.h', 'pStatCollector.h', 'pStatCollectorDef.h', 'pStatFrameData.h', 'pStatProperties.h', 'pStatServerControlMessage.h', 'pStatThread.h', 'pStatTimer.h', 'pstatclient_composite1.cxx', 'pstatclient_composite2.cxx'])
  3669. CompileC(ipath=IPATH, opts=OPTS, src='libpstatclient_igate.cxx', obj='libpstatclient_igate.obj')
  3670. #
  3671. # DIRECTORY: panda/src/gobj/
  3672. #
  3673. IPATH=['panda/src/gobj']
  3674. OPTS=['BUILDING_PANDA', 'NSPR']
  3675. CompileC(ipath=IPATH, opts=OPTS, src='gobj_composite1.cxx', obj='gobj_composite1.obj')
  3676. CompileC(ipath=IPATH, opts=OPTS, src='gobj_composite2.cxx', obj='gobj_composite2.obj')
  3677. Interrogate(ipath=IPATH, opts=OPTS, outd='libgobj.in', outc='libgobj_igate.cxx',
  3678. src='panda/src/gobj', module='panda', library='libgobj', files=[
  3679. 'boundedObject.h', 'config_gobj.h', 'drawable.h', 'geom.h', 'geomContext.h', 'geomLine.h', 'geomLinestrip.h', 'geomPoint.h', 'geomPolygon.h', 'geomQuad.h', 'geomSphere.h', 'geomSprite.h', 'geomTri.h', 'geomTrifan.h', 'geomTristrip.h', 'imageBuffer.h', 'material.h', 'materialPool.h', 'matrixLens.h', 'orthographicLens.h', 'perspectiveLens.h', 'pixelBuffer.h', 'preparedGraphicsObjects.h', 'lens.h', 'savedContext.h', 'texture.h', 'textureContext.h', 'texturePool.h', 'texCoordName.h', 'textureStage.h', 'gobj_composite1.cxx', 'gobj_composite2.cxx'])
  3680. CompileC(ipath=IPATH, opts=OPTS, src='libgobj_igate.cxx', obj='libgobj_igate.obj')
  3681. #
  3682. # DIRECTORY: panda/src/lerp/
  3683. #
  3684. IPATH=['panda/src/lerp']
  3685. OPTS=['BUILDING_PANDA', 'NSPR']
  3686. CompileC(ipath=IPATH, opts=OPTS, src='lerp_composite1.cxx', obj='lerp_composite1.obj')
  3687. Interrogate(ipath=IPATH, opts=OPTS, outd='liblerp.in', outc='liblerp_igate.cxx',
  3688. src='panda/src/lerp', module='panda', library='liblerp', files=[
  3689. 'config_lerp.h', 'lerp.h', 'lerpblend.h', 'lerpfunctor.h', 'lerp_composite1.cxx'])
  3690. CompileC(ipath=IPATH, opts=OPTS, src='liblerp_igate.cxx', obj='liblerp_igate.obj')
  3691. #
  3692. # DIRECTORY: panda/src/pgraph/
  3693. #
  3694. IPATH=['panda/src/pgraph']
  3695. OPTS=['BUILDING_PANDA', 'NSPR']
  3696. CompileC(ipath=IPATH, opts=OPTS, src='nodePath.cxx', obj='pgraph_nodePath.obj')
  3697. CompileC(ipath=IPATH, opts=OPTS, src='pgraph_composite1.cxx', obj='pgraph_composite1.obj')
  3698. CompileC(ipath=IPATH, opts=OPTS, src='pgraph_composite2.cxx', obj='pgraph_composite2.obj')
  3699. Interrogate(ipath=IPATH, opts=OPTS, outd='libpgraph.in', outc='libpgraph_igate.cxx',
  3700. src='panda/src/pgraph', module='panda', library='libpgraph', files=[
  3701. 'accumulatedAttribs.h', 'alphaTestAttrib.h', 'ambientLight.h', 'auxSceneData.h', 'bamFile.h', 'billboardEffect.h', 'binCullHandler.h', 'camera.h', 'clipPlaneAttrib.h', 'colorAttrib.h', 'colorBlendAttrib.h', 'colorScaleAttrib.h', 'colorWriteAttrib.h', 'compassEffect.h', 'config_pgraph.h', 'cullBin.h', 'cullBinAttrib.h', 'cullBinBackToFront.h', 'cullBinFixed.h', 'cullBinFrontToBack.h', 'cullBinManager.h', 'cullBinUnsorted.h', 'cullFaceAttrib.h', 'cullHandler.h', 'cullResult.h', 'cullTraverser.h', 'cullTraverserData.h', 'cullableObject.h', 'decalEffect.h', 'depthOffsetAttrib.h', 'depthTestAttrib.h', 'depthWriteAttrib.h', 'directionalLight.h', 'drawCullHandler.h', 'fadeLodNode.h', 'fadeLodNodeData.h', 'findApproxLevelEntry.h', 'findApproxPath.h', 'fog.h', 'fogAttrib.h', 'geomNode.h', 'geomTransformer.h', 'lensNode.h', 'light.h', 'lightAttrib.h', 'lightLensNode.h', 'lightNode.h', 'loader.h', 'loaderFileType.h', 'loaderFileTypeBam.h', 'loaderFileTypeRegistry.h', 'lodNode.h', 'materialAttrib.h', 'modelNode.h', 'modelPool.h', 'modelRoot.h', 'nodePath.h', 'nodePath.cxx', 'nodePathCollection.h', 'nodePathComponent.h', 'nodePathLerps.h', 'pandaNode.h', 'planeNode.h', 'pointLight.h', 'polylightNode.h', 'polylightEffect.h', 'portalNode.h', 'portalClipper.h', 'renderAttrib.h', 'renderEffect.h', 'renderEffects.h', 'renderModeAttrib.h', 'renderState.h', 'rescaleNormalAttrib.h', 'sceneGraphAnalyzer.h', 'sceneGraphReducer.h', 'sceneSetup.h', 'selectiveChildNode.h', 'sequenceNode.h', 'showBoundsEffect.h', 'spotlight.h', 'switchNode.h', 'texMatrixAttrib.h', 'texProjectorEffect.h', 'textureApplyAttrib.h', 'textureAttrib.h', 'texGenAttrib.h', 'textureCollection.h', 'textureStageCollection.h', 'transformState.h', 'transparencyAttrib.h', 'weakNodePath.h', 'workingNodePath.h', 'pgraph_composite1.cxx', 'pgraph_composite2.cxx'])
  3702. CompileC(ipath=IPATH, opts=OPTS, src='libpgraph_igate.cxx', obj='libpgraph_igate.obj')
  3703. #
  3704. # DIRECTORY: panda/src/chan/
  3705. #
  3706. IPATH=['panda/src/chan']
  3707. OPTS=['BUILDING_PANDA', 'NSPR']
  3708. CompileC(ipath=IPATH, opts=OPTS, src='chan_composite1.cxx', obj='chan_composite1.obj')
  3709. CompileC(ipath=IPATH, opts=OPTS, src='chan_composite2.cxx', obj='chan_composite2.obj')
  3710. Interrogate(ipath=IPATH, opts=OPTS, outd='libchan.in', outc='libchan_igate.cxx',
  3711. src='panda/src/chan', module='panda', library='libchan', files=[
  3712. 'animBundle.h', 'animBundleNode.h', 'animChannel.h', 'animChannelBase.h', 'animChannelMatrixDynamic.h', 'animChannelMatrixXfmTable.h', 'animChannelScalarDynamic.h', 'animChannelScalarTable.h', 'animControl.h', 'animControlCollection.h', 'animGroup.h', 'auto_bind.h', 'config_chan.h', 'movingPartBase.h', 'movingPartMatrix.h', 'movingPartScalar.h', 'partBundle.h', 'partBundleNode.h', 'partGroup.h', 'vector_PartGroupStar.h', 'chan_composite1.cxx', 'chan_composite2.cxx'])
  3713. CompileC(ipath=IPATH, opts=OPTS, src='libchan_igate.cxx', obj='libchan_igate.obj')
  3714. #
  3715. # DIRECTORY: panda/src/char/
  3716. #
  3717. IPATH=['panda/src/char']
  3718. OPTS=['BUILDING_PANDA', 'NSPR']
  3719. CompileC(ipath=IPATH, opts=OPTS, src='char_composite1.cxx', obj='char_composite1.obj')
  3720. CompileC(ipath=IPATH, opts=OPTS, src='char_composite2.cxx', obj='char_composite2.obj')
  3721. Interrogate(ipath=IPATH, opts=OPTS, outd='libchar.in', outc='libchar_igate.cxx',
  3722. src='panda/src/char', module='panda', library='libchar', files=[
  3723. 'character.h', 'characterJoint.h', 'characterJointBundle.h', 'characterSlider.h', 'computedVertices.h', 'computedVerticesMorph.h', 'config_char.h', 'dynamicVertices.h', 'char_composite1.cxx', 'char_composite2.cxx'])
  3724. CompileC(ipath=IPATH, opts=OPTS, src='libchar_igate.cxx', obj='libchar_igate.obj')
  3725. #
  3726. # DIRECTORY: panda/src/dgraph/
  3727. #
  3728. IPATH=['panda/src/dgraph']
  3729. OPTS=['BUILDING_PANDA', 'NSPR']
  3730. CompileC(ipath=IPATH, opts=OPTS, src='dgraph_composite1.cxx', obj='dgraph_composite1.obj')
  3731. CompileC(ipath=IPATH, opts=OPTS, src='dgraph_composite2.cxx', obj='dgraph_composite2.obj')
  3732. Interrogate(ipath=IPATH, opts=OPTS, outd='libdgraph.in', outc='libdgraph_igate.cxx',
  3733. src='panda/src/dgraph', module='panda', library='libdgraph', files=[
  3734. 'config_dgraph.h', 'dataGraphTraverser.h', 'dataNode.h', 'dataNodeTransmit.h', 'dgraph_composite1.cxx', 'dgraph_composite2.cxx'])
  3735. CompileC(ipath=IPATH, opts=OPTS, src='libdgraph_igate.cxx', obj='libdgraph_igate.obj')
  3736. #
  3737. # DIRECTORY: panda/src/display/
  3738. #
  3739. IPATH=['panda/src/display']
  3740. OPTS=['BUILDING_PANDA', 'NSPR']
  3741. CompileC(ipath=IPATH, opts=OPTS, src='display_composite1.cxx', obj='display_composite1.obj')
  3742. CompileC(ipath=IPATH, opts=OPTS, src='display_composite2.cxx', obj='display_composite2.obj')
  3743. Interrogate(ipath=IPATH, opts=OPTS, outd='libdisplay.in', outc='libdisplay_igate.cxx',
  3744. src='panda/src/display', module='panda', library='libdisplay', files=[
  3745. 'config_display.h', 'drawableRegion.h', 'displayRegion.h', 'displayRegionStack.h', 'frameBufferProperties.h', 'frameBufferStack.h', 'graphicsEngine.h', 'graphicsOutput.h', 'graphicsBuffer.h', 'graphicsPipe.h', 'graphicsPipeSelection.h', 'graphicsStateGuardian.h', 'graphicsThreadingModel.h', 'graphicsWindow.h', 'graphicsWindowInputDevice.h', 'graphicsDevice.h', 'parasiteBuffer.h', 'windowProperties.h', 'lensStack.h', 'savedFrameBuffer.h', 'display_composite1.cxx', 'display_composite2.cxx'])
  3746. CompileC(ipath=IPATH, opts=OPTS, src='libdisplay_igate.cxx', obj='libdisplay_igate.obj')
  3747. #
  3748. # DIRECTORY: panda/src/device/
  3749. #
  3750. IPATH=['panda/src/device']
  3751. OPTS=['BUILDING_PANDA', 'NSPR']
  3752. CompileC(ipath=IPATH, opts=OPTS, src='device_composite1.cxx', obj='device_composite1.obj')
  3753. CompileC(ipath=IPATH, opts=OPTS, src='device_composite2.cxx', obj='device_composite2.obj')
  3754. Interrogate(ipath=IPATH, opts=OPTS, outd='libdevice.in', outc='libdevice_igate.cxx',
  3755. src='panda/src/device', module='panda', library='libdevice', files=[
  3756. 'analogNode.h', 'buttonNode.h', 'clientAnalogDevice.h', 'clientBase.h', 'clientButtonDevice.h', 'clientDevice.h', 'clientDialDevice.h', 'clientTrackerDevice.h', 'config_device.h', 'dialNode.h', 'mouseAndKeyboard.h', 'trackerData.h', 'trackerNode.h', 'virtualMouse.h', 'device_composite1.cxx', 'device_composite2.cxx'])
  3757. CompileC(ipath=IPATH, opts=OPTS, src='libdevice_igate.cxx', obj='libdevice_igate.obj')
  3758. #
  3759. # DIRECTORY: panda/src/tform/
  3760. #
  3761. IPATH=['panda/src/tform']
  3762. OPTS=['BUILDING_PANDA', 'NSPR']
  3763. CompileC(ipath=IPATH, opts=OPTS, src='tform_composite1.cxx', obj='tform_composite1.obj')
  3764. CompileC(ipath=IPATH, opts=OPTS, src='tform_composite2.cxx', obj='tform_composite2.obj')
  3765. Interrogate(ipath=IPATH, opts=OPTS, outd='libtform.in', outc='libtform_igate.cxx',
  3766. src='panda/src/tform', module='panda', library='libtform', files=[
  3767. 'buttonThrower.h', 'config_tform.h', 'driveInterface.h', 'mouseInterfaceNode.h', 'mouseWatcher.h', 'mouseWatcherGroup.h', 'mouseWatcherParameter.h', 'mouseWatcherRegion.h', 'trackball.h', 'transform2sg.h', 'tform_composite1.cxx', 'tform_composite2.cxx'])
  3768. CompileC(ipath=IPATH, opts=OPTS, src='libtform_igate.cxx', obj='libtform_igate.obj')
  3769. #
  3770. # DIRECTORY: panda/src/collide/
  3771. #
  3772. IPATH=['panda/src/collide']
  3773. OPTS=['BUILDING_PANDA', 'NSPR']
  3774. CompileC(ipath=IPATH, opts=OPTS, src='collide_composite1.cxx', obj='collide_composite1.obj')
  3775. CompileC(ipath=IPATH, opts=OPTS, src='collide_composite2.cxx', obj='collide_composite2.obj')
  3776. Interrogate(ipath=IPATH, opts=OPTS, outd='libcollide.in', outc='libcollide_igate.cxx',
  3777. src='panda/src/collide', module='panda', library='libcollide', files=[
  3778. 'collisionEntry.h', 'collisionHandler.h', 'collisionHandlerEvent.h', 'collisionHandlerFloor.h', 'collisionHandlerGravity.h', 'collisionHandlerPhysical.h', 'collisionHandlerPusher.h', 'collisionHandlerQueue.h', 'collisionInvSphere.h', 'collisionLine.h', 'collisionLevelState.h', 'collisionNode.h', 'collisionPlane.h', 'collisionPolygon.h', 'collisionRay.h', 'collisionRecorder.h', 'collisionSegment.h', 'collisionSolid.h', 'collisionSphere.h', 'collisionTraverser.h', 'collisionTube.h', 'collisionVisualizer.h', 'config_collide.h', 'collide_composite1.cxx', 'collide_composite2.cxx'])
  3779. CompileC(ipath=IPATH, opts=OPTS, src='libcollide_igate.cxx', obj='libcollide_igate.obj')
  3780. #
  3781. # DIRECTORY: panda/src/pnmtext/
  3782. #
  3783. if (OMIT.count("FREETYPE")==0):
  3784. IPATH=['panda/src/pnmtext']
  3785. OPTS=['BUILDING_PANDA', 'NSPR', 'FREETYPE']
  3786. CompileC(ipath=IPATH, opts=OPTS, src='config_pnmtext.cxx', obj='pnmtext_config_pnmtext.obj')
  3787. CompileC(ipath=IPATH, opts=OPTS, src='freetypeFont.cxx', obj='pnmtext_freetypeFont.obj')
  3788. CompileC(ipath=IPATH, opts=OPTS, src='pnmTextGlyph.cxx', obj='pnmtext_pnmTextGlyph.obj')
  3789. CompileC(ipath=IPATH, opts=OPTS, src='pnmTextMaker.cxx', obj='pnmtext_pnmTextMaker.obj')
  3790. #
  3791. # DIRECTORY: panda/src/text/
  3792. #
  3793. IPATH=['panda/src/text']
  3794. OPTS=['BUILDING_PANDA', 'ZLIB', 'NSPR', 'FREETYPE']
  3795. CompileC(ipath=IPATH, opts=OPTS, src='text_composite1.cxx', obj='text_composite1.obj')
  3796. CompileC(ipath=IPATH, opts=OPTS, src='text_composite2.cxx', obj='text_composite2.obj')
  3797. Interrogate(ipath=IPATH, opts=OPTS, outd='libtext.in', outc='libtext_igate.cxx',
  3798. src='panda/src/text', module='panda', library='libtext', files=[
  3799. 'config_text.h', 'default_font.h', 'dynamicTextFont.h', 'dynamicTextGlyph.h', 'dynamicTextPage.h', 'fontPool.h', 'geomTextGlyph.h', 'staticTextFont.h', 'textAssembler.h', 'textFont.h', 'textGlyph.h', 'textNode.h', 'textProperties.h', 'textPropertiesManager.h', 'text_composite1.cxx', 'text_composite2.cxx'])
  3800. CompileC(ipath=IPATH, opts=OPTS, src='libtext_igate.cxx', obj='libtext_igate.obj')
  3801. #
  3802. # DIRECTORY: panda/src/grutil/
  3803. #
  3804. IPATH=['panda/src/grutil']
  3805. OPTS=['BUILDING_PANDA', 'NSPR']
  3806. CompileC(ipath=IPATH, opts=OPTS, src='multitexReducer.cxx', obj='grutil_multitexReducer.obj')
  3807. CompileC(ipath=IPATH, opts=OPTS, src='grutil_composite1.cxx', obj='grutil_composite1.obj')
  3808. Interrogate(ipath=IPATH, opts=OPTS, outd='libgrutil.in', outc='libgrutil_igate.cxx',
  3809. src='panda/src/grutil', module='panda', library='libgrutil', files=[
  3810. 'cardMaker.h', 'config_grutil.h', 'frameRateMeter.h', 'lineSegs.h', 'multitexReducer.h', 'multitexReducer.cxx', 'grutil_composite1.cxx'])
  3811. CompileC(ipath=IPATH, opts=OPTS, src='libgrutil_igate.cxx', obj='libgrutil_igate.obj')
  3812. #
  3813. # DIRECTORY: panda/src/gsgmisc/
  3814. #
  3815. IPATH=['panda/src/gsgmisc']
  3816. OPTS=['BUILDING_PANDA', 'NSPR']
  3817. CompileC(ipath=IPATH, opts=OPTS, src='geomIssuer.cxx', obj='gsgmisc_geomIssuer.obj')
  3818. #
  3819. # DIRECTORY: panda/src/helix/
  3820. #
  3821. if (OMIT.count("HELIX")==0):
  3822. IPATH=['panda/src/helix']
  3823. OPTS=['BUILDING_PANDA', 'NSPR', 'HELIX']
  3824. CompileC(ipath=IPATH, opts=OPTS, src='config_helix.cxx', obj='helix_config_helix.obj')
  3825. CompileC(ipath=IPATH, opts=OPTS, src='fivemmap.cxx', obj='helix_fivemmap.obj')
  3826. CompileC(ipath=IPATH, opts=OPTS, src='HelixClient.cxx', obj='helix_HelixClient.obj')
  3827. CompileC(ipath=IPATH, opts=OPTS, src='HxAdviseSink.cxx', obj='helix_HxAdviseSink.obj')
  3828. CompileC(ipath=IPATH, opts=OPTS, src='HxAuthenticationManager.cxx', obj='helix_HxAuthenticationManager.obj')
  3829. CompileC(ipath=IPATH, opts=OPTS, src='HxClientContext.cxx', obj='helix_HxClientContext.obj')
  3830. CompileC(ipath=IPATH, opts=OPTS, src='HxErrorSink.cxx', obj='helix_HxErrorSink.obj')
  3831. CompileC(ipath=IPATH, opts=OPTS, src='HxSiteSupplier.cxx', obj='helix_HxSiteSupplier.obj')
  3832. CompileC(ipath=IPATH, opts=OPTS, src='iids.cxx', obj='helix_iids.obj')
  3833. CompileC(ipath=IPATH, opts=OPTS, src='print.cxx', obj='helix_print.obj')
  3834. Interrogate(ipath=IPATH, opts=OPTS, outd='libhelix.in', outc='libhelix_igate.cxx',
  3835. src='panda/src/helix', module='panda', library='libhelix', files=['HelixClient.cxx'])
  3836. CompileC(ipath=IPATH, opts=OPTS, src='libhelix_igate.cxx', obj='libhelix_igate.obj')
  3837. CompileLIB(lib='libhelix.ilb', obj=[
  3838. 'helix_config_helix.obj',
  3839. 'helix_fivemmap.obj',
  3840. 'helix_HelixClient.obj',
  3841. 'helix_HxAdviseSink.obj',
  3842. 'helix_HxAuthenticationManager.obj',
  3843. 'helix_HxClientContext.obj',
  3844. 'helix_HxErrorSink.obj',
  3845. 'helix_HxSiteSupplier.obj',
  3846. 'helix_iids.obj',
  3847. 'helix_print.obj',
  3848. 'libhelix_igate.obj'])
  3849. #
  3850. # DIRECTORY: panda/src/parametrics/
  3851. #
  3852. IPATH=['panda/src/parametrics']
  3853. OPTS=['BUILDING_PANDA', 'NSPR']
  3854. CompileC(ipath=IPATH, opts=OPTS, src='parametrics_composite1.cxx', obj='parametrics_composite1.obj')
  3855. CompileC(ipath=IPATH, opts=OPTS, src='parametrics_composite2.cxx', obj='parametrics_composite2.obj')
  3856. Interrogate(ipath=IPATH, opts=OPTS, outd='libparametrics.in', outc='libparametrics_igate.cxx',
  3857. src='panda/src/parametrics', module='panda', library='libparametrics', files=[
  3858. 'classicNurbsCurve.h', 'config_parametrics.h', 'cubicCurveseg.h', 'parametricCurveDrawer.h',
  3859. 'curveFitter.h', 'hermiteCurve.h', 'nurbsCurve.h', 'nurbsCurveDrawer.h', 'nurbsCurveEvaluator.h',
  3860. 'nurbsCurveInterface.h', 'nurbsCurveResult.h', 'nurbsBasisVector.h', 'nurbsSurfaceEvaluator.h',
  3861. 'nurbsSurfaceResult.h', 'nurbsVertex.h', 'parametricCurve.h', 'parametricCurveCollection.h',
  3862. 'piecewiseCurve.h', 'ropeNode.h', 'sheetNode.h', 'parametrics_composite1.cxx', 'parametrics_composite2.cxx'])
  3863. CompileC(ipath=IPATH, opts=OPTS, src='libparametrics_igate.cxx', obj='libparametrics_igate.obj')
  3864. #
  3865. # DIRECTORY: panda/src/pgui/
  3866. #
  3867. IPATH=['panda/src/pgui']
  3868. OPTS=['BUILDING_PANDA', 'NSPR']
  3869. CompileC(ipath=IPATH, opts=OPTS, src='pgui_composite1.cxx', obj='pgui_composite1.obj')
  3870. CompileC(ipath=IPATH, opts=OPTS, src='pgui_composite2.cxx', obj='pgui_composite2.obj')
  3871. Interrogate(ipath=IPATH, opts=OPTS, outd='libpgui.in', outc='libpgui_igate.cxx',
  3872. src='panda/src/pgui', module='panda', library='libpgui', files=[
  3873. 'config_pgui.h', 'pgButton.h', 'pgSliderButton.h', 'pgCullTraverser.h', 'pgEntry.h',
  3874. 'pgMouseWatcherGroup.h', 'pgMouseWatcherParameter.h', 'pgFrameStyle.h', 'pgItem.h',
  3875. 'pgMouseWatcherBackground.h', 'pgMouseWatcherRegion.h', 'pgTop.h', 'pgWaitBar.h', 'pgSliderBar.h',
  3876. 'pgui_composite1.cxx', 'pgui_composite2.cxx'])
  3877. CompileC(ipath=IPATH, opts=OPTS, src='libpgui_igate.cxx', obj='libpgui_igate.obj')
  3878. #
  3879. # DIRECTORY: panda/src/pnmimagetypes/
  3880. #
  3881. IPATH=['panda/src/pnmimagetypes', 'panda/src/pnmimage']
  3882. OPTS=['BUILDING_PANDA', 'PNG', 'ZLIB', 'JPEG', 'ZLIB', 'NSPR', 'JPEG', 'TIFF']
  3883. CompileC(ipath=IPATH, opts=OPTS, src='pnmFileTypePNG.cxx', obj='pnmimagetypes_pnmFileTypePNG.obj')
  3884. CompileC(ipath=IPATH, opts=OPTS, src='pnmFileTypeTIFF.cxx', obj='pnmimagetypes_pnmFileTypeTIFF.obj')
  3885. CompileC(ipath=IPATH, opts=OPTS, src='pnmimagetypes_composite1.cxx', obj='pnmimagetypes_composite1.obj')
  3886. CompileC(ipath=IPATH, opts=OPTS, src='pnmimagetypes_composite2.cxx', obj='pnmimagetypes_composite2.obj')
  3887. #
  3888. # DIRECTORY: panda/src/recorder/
  3889. #
  3890. IPATH=['panda/src/recorder']
  3891. OPTS=['BUILDING_PANDA', 'NSPR']
  3892. CompileC(ipath=IPATH, opts=OPTS, src='recorder_composite1.cxx', obj='recorder_composite1.obj')
  3893. CompileC(ipath=IPATH, opts=OPTS, src='recorder_composite2.cxx', obj='recorder_composite2.obj')
  3894. Interrogate(ipath=IPATH, opts=OPTS, outd='librecorder.in', outc='librecorder_igate.cxx',
  3895. src='panda/src/recorder', module='panda', library='librecorder', files=[
  3896. 'config_recorder.h', 'mouseRecorder.h', 'recorderBase.h', 'recorderController.h', 'recorderFrame.h', 'recorderHeader.h', 'recorderTable.h', 'socketStreamRecorder.h', 'recorder_composite1.cxx', 'recorder_composite2.cxx'])
  3897. CompileC(ipath=IPATH, opts=OPTS, src='librecorder_igate.cxx', obj='librecorder_igate.obj')
  3898. #
  3899. # DIRECTORY: panda/src/vrpn/
  3900. #
  3901. if (OMIT.count("VRPN")==0):
  3902. IPATH=['panda/src/vrpn']
  3903. OPTS=['BUILDING_PANDA', 'NSPR', 'VRPN']
  3904. CompileC(ipath=IPATH, opts=OPTS, src='vrpn_composite1.cxx', obj='pvrpn_composite1.obj')
  3905. Interrogate(ipath=IPATH, opts=OPTS, outd='libpvrpn.in', outc='libpvrpn_igate.cxx',
  3906. src='panda/src/vrpn', module='panda', library='libpvrpn', files=[
  3907. 'config_vrpn.cxx', 'config_vrpn.h', 'vrpnClient.cxx', 'vrpnAnalog.cxx', 'vrpnAnalog.h',
  3908. 'vrpnAnalogDevice.cxx', 'vrpnAnalogDevice.h', 'vrpnButton.cxx', 'vrpnButton.h',
  3909. 'vrpnButtonDevice.cxx', 'vrpnButtonDevice.h', 'vrpnClient.h', 'vrpnDial.cxx', 'vrpnDial.h',
  3910. 'vrpnDialDevice.cxx', 'vrpnDialDevice.h', 'vrpnTracker.cxx', 'vrpnTracker.h', 'vrpnTrackerDevice.cxx',
  3911. 'vrpnTrackerDevice.h', 'vrpn_interface.h'])
  3912. CompileC(ipath=IPATH, opts=OPTS, src='libpvrpn_igate.cxx', obj='libpvrpn_igate.obj')
  3913. #
  3914. # DIRECTORY: panda/metalibs/panda/
  3915. #
  3916. IPATH=['panda/metalibs/panda']
  3917. OPTS=['BUILDING_PANDA', 'ZLIB', 'VRPN', 'JPEG', 'PNG', 'TIFF', 'NSPR', 'FREETYPE', 'HELIX', 'FFTW',
  3918. 'ADVAPI', 'WINSOCK2', 'WINUSER', 'WINMM']
  3919. INFILES=['librecorder.in', 'libpgraph.in', 'libgrutil.in', 'libchan.in', 'libpstatclient.in',
  3920. 'libchar.in', 'libcollide.in', 'libdevice.in', 'libdgraph.in', 'libdisplay.in', 'libevent.in',
  3921. 'libgobj.in', 'libgsgbase.in', 'liblinmath.in', 'libmathutil.in', 'libparametrics.in',
  3922. 'libpnmimage.in', 'libtext.in', 'libtform.in', 'liblerp.in', 'libputil.in', 'libaudio.in',
  3923. 'libpgui.in']
  3924. OBJFILES=['panda_panda.obj', 'libpanda_module.obj', 'recorder_composite1.obj',
  3925. 'recorder_composite2.obj', 'librecorder_igate.obj',
  3926. 'pgraph_nodePath.obj', 'pgraph_composite1.obj', 'pgraph_composite2.obj', 'libpgraph_igate.obj',
  3927. 'grutil_multitexReducer.obj', 'grutil_composite1.obj', 'libgrutil_igate.obj',
  3928. 'chan_composite1.obj', 'chan_composite2.obj', 'libchan_igate.obj', 'pstatclient_composite1.obj',
  3929. 'pstatclient_composite2.obj', 'libpstatclient_igate.obj', 'char_composite1.obj',
  3930. 'char_composite2.obj', 'libchar_igate.obj', 'collide_composite1.obj', 'collide_composite2.obj',
  3931. 'libcollide_igate.obj', 'device_composite1.obj', 'device_composite2.obj', 'libdevice_igate.obj',
  3932. 'dgraph_composite1.obj', 'dgraph_composite2.obj', 'libdgraph_igate.obj', 'display_composite1.obj',
  3933. 'display_composite2.obj', 'libdisplay_igate.obj', 'event_composite1.obj', 'libevent_igate.obj',
  3934. 'gobj_composite1.obj', 'gobj_composite2.obj', 'libgobj_igate.obj', 'gsgbase_composite1.obj',
  3935. 'libgsgbase_igate.obj', 'gsgmisc_geomIssuer.obj', 'linmath_composite1.obj',
  3936. 'linmath_composite2.obj', 'liblinmath_igate.obj',
  3937. 'mathutil_composite1.obj', 'mathutil_composite2.obj', 'libmathutil_igate.obj',
  3938. 'parametrics_composite1.obj', 'parametrics_composite2.obj', 'libparametrics_igate.obj',
  3939. 'pnmimagetypes_pnmFileTypePNG.obj', 'pnmimagetypes_pnmFileTypeTIFF.obj', 'pnmimagetypes_composite1.obj',
  3940. 'pnmimagetypes_composite2.obj', 'pnmimage_composite1.obj', 'pnmimage_composite2.obj', 'libpnmimage_igate.obj',
  3941. 'text_composite1.obj', 'text_composite2.obj', 'libtext_igate.obj',
  3942. 'tform_composite1.obj', 'tform_composite2.obj',
  3943. 'libtform_igate.obj', 'lerp_composite1.obj', 'liblerp_igate.obj',
  3944. 'putil_composite1.obj', 'putil_composite2.obj', 'libputil_igate.obj',
  3945. 'audio_composite1.obj', 'libaudio_igate.obj', 'pgui_composite1.obj', 'pgui_composite2.obj',
  3946. 'libpgui_igate.obj', 'pandabase_pandabase.obj', 'libpandaexpress.dll', 'libdtoolconfig.dll', 'libdtool.dll']
  3947. if OMIT.count("HELIX")==0:
  3948. OBJFILES.append("libhelix.ilb")
  3949. INFILES.append("libhelix.in")
  3950. if OMIT.count("VRPN")==0:
  3951. OBJFILES.append("pvrpn_composite1.obj")
  3952. OBJFILES.append("libpvrpn_igate.obj")
  3953. INFILES.append("libpvrpn.in")
  3954. if OMIT.count("NSPR")==0:
  3955. OBJFILES.append("net_composite1.obj")
  3956. OBJFILES.append("net_composite2.obj")
  3957. OBJFILES.append("libnet_igate.obj")
  3958. INFILES.append("libnet.in")
  3959. if OMIT.count("FREETYPE")==0:
  3960. OBJFILES.append("pnmtext_config_pnmtext.obj")
  3961. OBJFILES.append("pnmtext_freetypeFont.obj")
  3962. OBJFILES.append("pnmtext_pnmTextGlyph.obj")
  3963. OBJFILES.append("pnmtext_pnmTextMaker.obj")
  3964. InterrogateModule(outc='libpanda_module.cxx', module='panda', library='libpanda', files=INFILES)
  3965. CompileC(ipath=IPATH, opts=OPTS, src='panda.cxx', obj='panda_panda.obj')
  3966. CompileC(ipath=IPATH, opts=OPTS, src='libpanda_module.cxx', obj='libpanda_module.obj')
  3967. CompileLink(opts=OPTS, dll='libpanda.dll', obj=OBJFILES, xdep=[
  3968. PREFIX+'/tmp/dtool_have_helix.dat',
  3969. PREFIX+'/tmp/dtool_have_vrpn.dat',
  3970. PREFIX+'/tmp/dtool_have_nspr.dat',
  3971. PREFIX+'/tmp/dtool_have_freetype.dat',
  3972. ])
  3973. #
  3974. # DIRECTORY: panda/src/audiotraits/
  3975. #
  3976. if OMIT.count("FMOD") == 0:
  3977. IPATH=['panda/src/audiotraits']
  3978. OPTS=['BUILDING_FMOD_AUDIO', 'NSPR', 'FMOD']
  3979. CompileC(ipath=IPATH, opts=OPTS, src='fmod_audio_composite1.cxx', obj='fmod_audio_fmod_audio_composite1.obj')
  3980. CompileLink(opts=['ADVAPI', 'WINUSER', 'WINMM', 'FMOD', 'NSPR'], dll='libfmod_audio.dll', obj=[
  3981. 'fmod_audio_fmod_audio_composite1.obj',
  3982. 'libpanda.dll',
  3983. 'libpandaexpress.dll',
  3984. 'libdtoolconfig.dll',
  3985. 'libdtool.dll',
  3986. ])
  3987. if OMIT.count("MILES") == 0:
  3988. IPATH=['panda/src/audiotraits']
  3989. OPTS=['BUILDING_MILES_AUDIO', 'NSPR', 'MILES']
  3990. CompileC(ipath=IPATH, opts=OPTS, src='miles_audio_composite1.cxx', obj='miles_audio_miles_audio_composite1.obj')
  3991. CompileLink(opts=['ADVAPI', 'WINUSER', 'WINMM', 'MILES', 'NSPR'], dll='libmiles_audio.dll', obj=[
  3992. 'miles_audio_miles_audio_composite1.obj',
  3993. 'libpanda.dll',
  3994. 'libpandaexpress.dll',
  3995. 'libdtoolconfig.dll',
  3996. 'libdtool.dll',
  3997. ])
  3998. #
  3999. # DIRECTORY: panda/src/builder/
  4000. #
  4001. IPATH=['panda/src/builder']
  4002. OPTS=['BUILDING_PANDAEGG', 'NSPR']
  4003. CompileC(ipath=IPATH, opts=OPTS, src='builder_composite1.cxx', obj='builder_composite1.obj')
  4004. CompileC(ipath=IPATH, opts=OPTS, src='builder_composite2.cxx', obj='builder_composite2.obj')
  4005. #
  4006. # DIRECTORY: panda/src/distort/
  4007. #
  4008. IPATH=['panda/src/distort']
  4009. OPTS=['BUILDING_PANDAFX', 'NSPR']
  4010. CompileC(ipath=IPATH, opts=OPTS, src='distort_composite1.cxx', obj='distort_composite1.obj')
  4011. Interrogate(ipath=IPATH, opts=OPTS, outd='libdistort.in', outc='libdistort_igate.cxx',
  4012. src='panda/src/distort', module='pandafx', library='libdistort',
  4013. files=['config_distort.h', 'projectionScreen.h', 'cylindricalLens.h', 'fisheyeLens.h', 'nonlinearImager.h', 'pSphereLens.h', 'distort_composite1.cxx'])
  4014. CompileC(ipath=IPATH, opts=OPTS, src='libdistort_igate.cxx', obj='libdistort_igate.obj')
  4015. #
  4016. # DIRECTORY: panda/src/downloadertools/
  4017. #
  4018. if OMIT.count("SSL")==0:
  4019. IPATH=['panda/src/downloadertools']
  4020. OPTS=['SSL', 'ZLIB', 'NSPR']
  4021. CompileC(ipath=IPATH, opts=OPTS, src='apply_patch.cxx', obj='apply_patch_apply_patch.obj')
  4022. CompileLink(dll='apply_patch.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4023. 'apply_patch_apply_patch.obj',
  4024. 'libpandaexpress.dll',
  4025. 'libpanda.dll',
  4026. 'libdtoolconfig.dll',
  4027. 'libdtool.dll',
  4028. 'libpystub.dll',
  4029. ])
  4030. CompileC(ipath=IPATH, opts=OPTS, src='build_patch.cxx', obj='build_patch_build_patch.obj')
  4031. CompileLink(dll='build_patch.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4032. 'build_patch_build_patch.obj',
  4033. 'libpandaexpress.dll',
  4034. 'libpanda.dll',
  4035. 'libdtoolconfig.dll',
  4036. 'libdtool.dll',
  4037. 'libpystub.dll',
  4038. ])
  4039. IPATH=['panda/src/downloadertools']
  4040. OPTS=['SSL', 'ZLIB', 'ZLIB', 'NSPR']
  4041. CompileC(ipath=IPATH, opts=OPTS, src='check_adler.cxx', obj='check_adler_check_adler.obj')
  4042. CompileLink(dll='check_adler.exe', opts=['ADVAPI', 'NSPR', 'ZLIB'], obj=[
  4043. 'check_adler_check_adler.obj',
  4044. 'libpandaexpress.dll',
  4045. 'libpanda.dll',
  4046. 'libdtoolconfig.dll',
  4047. 'libdtool.dll',
  4048. 'libpystub.dll',
  4049. ])
  4050. CompileC(ipath=IPATH, opts=OPTS, src='check_crc.cxx', obj='check_crc_check_crc.obj')
  4051. CompileLink(dll='check_crc.exe', opts=['ADVAPI', 'NSPR', 'ZLIB'], obj=[
  4052. 'check_crc_check_crc.obj',
  4053. 'libpandaexpress.dll',
  4054. 'libpanda.dll',
  4055. 'libdtoolconfig.dll',
  4056. 'libdtool.dll',
  4057. 'libpystub.dll',
  4058. ])
  4059. IPATH=['panda/src/downloadertools']
  4060. OPTS=['SSL', 'ZLIB', 'NSPR']
  4061. CompileC(ipath=IPATH, opts=OPTS, src='check_md5.cxx', obj='check_md5_check_md5.obj')
  4062. CompileLink(dll='check_md5.exe', opts=['ADVAPI', 'NSPR', 'SSL'], obj=[
  4063. 'check_md5_check_md5.obj',
  4064. 'libpandaexpress.dll',
  4065. 'libpanda.dll',
  4066. 'libdtoolconfig.dll',
  4067. 'libdtool.dll',
  4068. 'libpystub.dll',
  4069. ])
  4070. CompileC(ipath=IPATH, opts=OPTS, src='multify.cxx', obj='multify_multify.obj')
  4071. CompileLink(dll='multify.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4072. 'multify_multify.obj',
  4073. 'libpandaexpress.dll',
  4074. 'libpanda.dll',
  4075. 'libdtoolconfig.dll',
  4076. 'libdtool.dll',
  4077. 'libpystub.dll',
  4078. ])
  4079. IPATH=['panda/src/downloadertools']
  4080. OPTS=['SSL', 'ZLIB', 'ZLIB', 'NSPR']
  4081. CompileC(ipath=IPATH, opts=OPTS, src='pcompress.cxx', obj='pcompress_pcompress.obj')
  4082. CompileLink(dll='pcompress.exe', opts=['ADVAPI', 'NSPR', 'ZLIB'], obj=[
  4083. 'pcompress_pcompress.obj',
  4084. 'libpandaexpress.dll',
  4085. 'libpanda.dll',
  4086. 'libdtoolconfig.dll',
  4087. 'libdtool.dll',
  4088. 'libpystub.dll',
  4089. ])
  4090. CompileC(ipath=IPATH, opts=OPTS, src='pdecompress.cxx', obj='pdecompress_pdecompress.obj')
  4091. CompileLink(dll='pdecompress.exe', opts=['ADVAPI', 'NSPR', 'ZLIB'], obj=[
  4092. 'pdecompress_pdecompress.obj',
  4093. 'libpandaexpress.dll',
  4094. 'libpanda.dll',
  4095. 'libdtoolconfig.dll',
  4096. 'libdtool.dll',
  4097. 'libpystub.dll',
  4098. ])
  4099. IPATH=['panda/src/downloadertools']
  4100. OPTS=['SSL', 'ZLIB', 'NSPR']
  4101. CompileC(ipath=IPATH, opts=OPTS, src='pdecrypt.cxx', obj='pdecrypt_pdecrypt.obj')
  4102. CompileLink(dll='pdecrypt.exe', opts=['ADVAPI', 'NSPR', 'SSL'], obj=[
  4103. 'pdecrypt_pdecrypt.obj',
  4104. 'libpandaexpress.dll',
  4105. 'libpanda.dll',
  4106. 'libdtoolconfig.dll',
  4107. 'libdtool.dll',
  4108. 'libpystub.dll',
  4109. ])
  4110. CompileC(ipath=IPATH, opts=OPTS, src='pencrypt.cxx', obj='pencrypt_pencrypt.obj')
  4111. CompileLink(dll='pencrypt.exe', opts=['ADVAPI', 'NSPR', 'SSL'], obj=[
  4112. 'pencrypt_pencrypt.obj',
  4113. 'libpandaexpress.dll',
  4114. 'libpanda.dll',
  4115. 'libdtoolconfig.dll',
  4116. 'libdtool.dll',
  4117. 'libpystub.dll',
  4118. ])
  4119. CompileC(ipath=IPATH, opts=OPTS, src='show_ddb.cxx', obj='show_ddb_show_ddb.obj')
  4120. CompileLink(dll='show_ddb.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4121. 'show_ddb_show_ddb.obj',
  4122. 'libpandaexpress.dll',
  4123. 'libpanda.dll',
  4124. 'libdtoolconfig.dll',
  4125. 'libdtool.dll',
  4126. 'libpystub.dll',
  4127. ])
  4128. #
  4129. # DIRECTORY: panda/src/glgsg/
  4130. #
  4131. IPATH=['panda/src/glgsg', 'panda/src/glstuff', 'panda/src/gobj']
  4132. OPTS=['BUILDING_PANDAGL', 'NSPR', 'NVIDIACG']
  4133. CompileC(ipath=IPATH, opts=OPTS, src='config_glgsg.cxx', obj='glgsg_config_glgsg.obj')
  4134. CompileC(ipath=IPATH, opts=OPTS, src='glgsg.cxx', obj='glgsg_glgsg.obj')
  4135. #
  4136. # DIRECTORY: panda/src/effects/
  4137. #
  4138. IPATH=['panda/src/effects']
  4139. OPTS=['BUILDING_PANDAFX', 'NSPR', 'NVIDIACG']
  4140. CompileC(ipath=IPATH, opts=OPTS, src='effects_composite1.cxx', obj='effects_composite1.obj')
  4141. Interrogate(ipath=IPATH, opts=OPTS, outd='libeffects.in', outc='libeffects_igate.cxx',
  4142. src='panda/src/effects', module='pandafx', library='libeffects',
  4143. files=['config_effects.h', 'cgShader.h', 'cgShaderAttrib.h', 'cgShaderContext.h', 'lensFlareNode.h', 'effects_composite1.cxx'])
  4144. CompileC(ipath=IPATH, opts=OPTS, src='libeffects_igate.cxx', obj='libeffects_igate.obj')
  4145. #
  4146. # DIRECTORY: panda/metalibs/pandafx/
  4147. #
  4148. IPATH=['panda/metalibs/pandafx', 'panda/src/distort']
  4149. OPTS=['BUILDING_PANDAFX', 'NSPR', 'NVIDIACG']
  4150. CompileC(ipath=IPATH, opts=OPTS, src='pandafx.cxx', obj='pandafx_pandafx.obj')
  4151. InterrogateModule(outc='libpandafx_module.cxx', module='pandafx', library='libpandafx',
  4152. files=['libdistort.in', 'libeffects.in'])
  4153. CompileC(ipath=IPATH, opts=OPTS, src='libpandafx_module.cxx', obj='libpandafx_module.obj')
  4154. CompileLink(dll='libpandafx.dll', opts=['ADVAPI', 'NSPR', 'NVIDIACG'], obj=[
  4155. 'pandafx_pandafx.obj',
  4156. 'libpandafx_module.obj',
  4157. 'distort_composite1.obj',
  4158. 'libdistort_igate.obj',
  4159. 'effects_composite1.obj',
  4160. 'libeffects_igate.obj',
  4161. 'libpanda.dll',
  4162. 'libpandaexpress.dll',
  4163. 'libdtoolconfig.dll',
  4164. 'libdtool.dll',
  4165. ])
  4166. #
  4167. # DIRECTORY: panda/src/glstuff/
  4168. #
  4169. IPATH=['panda/src/glstuff']
  4170. OPTS=['NSPR', 'NVIDIACG', 'CGGL']
  4171. CompileC(ipath=IPATH, opts=OPTS, src='glpure.cxx', obj='glstuff_glpure.obj')
  4172. CompileLink(dll='libglstuff.dll', opts=['ADVAPI', 'GLUT', 'NSPR', 'NVIDIACG', 'CGGL'], obj=[
  4173. 'glstuff_glpure.obj',
  4174. 'libpanda.dll',
  4175. 'libpandafx.dll',
  4176. 'libpandaexpress.dll',
  4177. 'libdtoolconfig.dll',
  4178. 'libdtool.dll',
  4179. ])
  4180. #
  4181. # DIRECTORY: panda/src/windisplay/
  4182. #
  4183. if (sys.platform == "win32"):
  4184. IPATH=['panda/src/windisplay']
  4185. OPTS=['BUILDING_PANDAWIN', 'NSPR']
  4186. CompileC(ipath=IPATH, opts=OPTS, src='winGraphicsWindow.cxx', obj='windisplay_winGraphicsWindow.obj')
  4187. CompileC(ipath=IPATH, opts=OPTS, src='config_windisplay.cxx', obj='windisplay_config_windisplay.obj')
  4188. CompileC(ipath=IPATH, opts=OPTS, src='winGraphicsPipe.cxx', obj='windisplay_winGraphicsPipe.obj')
  4189. CompileLink(opts=['WINIMM', 'WINGDI', 'WINKERNEL', 'WINOLDNAMES', 'WINUSER', 'WINMM', 'NSPR'],
  4190. dll='libwindisplay.dll', obj=[
  4191. 'windisplay_winGraphicsWindow.obj',
  4192. 'windisplay_config_windisplay.obj',
  4193. 'windisplay_winGraphicsPipe.obj',
  4194. 'libpanda.dll',
  4195. 'libpandaexpress.dll',
  4196. 'libdtoolconfig.dll',
  4197. 'libdtool.dll',
  4198. ])
  4199. #
  4200. # DIRECTORY: panda/src/glxdisplay/
  4201. #
  4202. if (sys.platform != "win32"):
  4203. IPATH=['panda/src/glxdisplay', 'panda/src/gobj']
  4204. OPTS=['BUILDING_PANDAGLUT', 'NSPR', 'GLUT', 'NVIDIACG', 'CGGL']
  4205. CompileC(ipath=IPATH, opts=OPTS, src='glxdisplay_composite1.cxx', obj='glxdisplay_composite1.obj')
  4206. Interrogate(ipath=IPATH, opts=OPTS, outd='libglxdisplay.in', outc='libglxdisplay_igate.cxx',
  4207. src='panda/src/glxdisplay', module='pandagl', library='libglxdisplay', files=['glxGraphicsPipe.h'])
  4208. CompileC(ipath=IPATH, opts=OPTS, src='libglxdisplay_igate.cxx', obj='libglxdisplay_igate.obj')
  4209. IPATH=['panda/metalibs/pandagl']
  4210. OPTS=['BUILDING_PANDAGL', 'NSPR', 'NVIDIACG', 'CGGL']
  4211. CompileC(ipath=IPATH, opts=OPTS, src='pandagl.cxx', obj='pandagl_pandagl.obj')
  4212. CompileLink(opts=['GLUT', 'NVIDIACG', 'CGGL', 'NSPR'], dll='libpandagl.dll', obj=[
  4213. 'pandagl_pandagl.obj',
  4214. 'glgsg_config_glgsg.obj',
  4215. 'glgsg_glgsg.obj',
  4216. 'glxdisplay_composite1.obj',
  4217. 'libglxdisplay_igate.obj',
  4218. 'libpanda.dll',
  4219. 'libpandaexpress.dll',
  4220. 'libglstuff.dll',
  4221. 'libpandafx.dll',
  4222. 'libdtoolconfig.dll',
  4223. 'libdtool.dll',
  4224. ])
  4225. #
  4226. # DIRECTORY: panda/src/wgldisplay/
  4227. #
  4228. if (sys.platform == "win32"):
  4229. IPATH=['panda/src/wgldisplay', 'panda/src/glstuff', 'panda/src/gobj']
  4230. OPTS=['BUILDING_PANDAGL', 'NSPR', 'NVIDIACG', 'CGGL']
  4231. CompileC(ipath=IPATH, opts=OPTS, src='wgldisplay_composite1.cxx', obj='wgldisplay_composite1.obj')
  4232. IPATH=['panda/metalibs/pandagl']
  4233. OPTS=['BUILDING_PANDAGL', 'NSPR', 'NVIDIACG', 'CGGL']
  4234. CompileC(ipath=IPATH, opts=OPTS, src='pandagl.cxx', obj='pandagl_pandagl.obj')
  4235. CompileLink(opts=['WINGDI', 'GLUT', 'WINKERNEL', 'WINOLDNAMES', 'WINUSER', 'WINMM', 'NSPR', 'NVIDIACG', 'CGGL'],
  4236. dll='libpandagl.dll', obj=[
  4237. 'pandagl_pandagl.obj',
  4238. 'glgsg_config_glgsg.obj',
  4239. 'glgsg_glgsg.obj',
  4240. 'wgldisplay_composite1.obj',
  4241. 'libwindisplay.dll',
  4242. 'libpanda.dll',
  4243. 'libpandaexpress.dll',
  4244. 'libglstuff.dll',
  4245. 'libpandafx.dll',
  4246. 'libdtoolconfig.dll',
  4247. 'libdtool.dll',
  4248. ])
  4249. #
  4250. # DIRECTORY: panda/metalibs/pandadx7/
  4251. #
  4252. if (sys.platform == "win32"):
  4253. IPATH=['panda/src/dxgsg7']
  4254. OPTS=['BUILDING_PANDADX', 'DXSDK', 'NSPR']
  4255. CompileC(ipath=IPATH, opts=OPTS, src='dxGraphicsStateGuardian7.cxx', obj='dxgsg7_dxGraphicsStateGuardian7.obj')
  4256. CompileC(ipath=IPATH, opts=OPTS, src='dxgsg7_composite1.cxx', obj='dxgsg7_composite1.obj')
  4257. IPATH=['panda/metalibs/pandadx7']
  4258. OPTS=['BUILDING_PANDADX', 'DXSDK', 'NSPR']
  4259. CompileC(ipath=IPATH, opts=OPTS, src='pandadx7.cxx', obj='pandadx7_pandadx7.obj')
  4260. CompileLink(dll='libpandadx7.dll', opts=['ADVAPI', 'WINGDI', 'WINKERNEL', 'WINUSER', 'WINMM', 'DXDRAW', 'DXGUID', 'D3D8', 'NSPR'], obj=[
  4261. 'pandadx7_pandadx7.obj',
  4262. 'dxgsg7_dxGraphicsStateGuardian7.obj',
  4263. 'dxgsg7_composite1.obj',
  4264. 'libpanda.dll',
  4265. 'libpandaexpress.dll',
  4266. 'libwindisplay.dll',
  4267. 'libdtoolconfig.dll',
  4268. 'libdtool.dll',
  4269. ])
  4270. #
  4271. # DIRECTORY: panda/metalibs/pandadx8/
  4272. #
  4273. if (sys.platform == "win32"):
  4274. IPATH=['panda/src/dxgsg8']
  4275. OPTS=['BUILDING_PANDADX', 'DXSDK', 'NSPR']
  4276. CompileC(ipath=IPATH, opts=OPTS, src='dxGraphicsStateGuardian8.cxx', obj='dxgsg8_dxGraphicsStateGuardian8.obj')
  4277. CompileC(ipath=IPATH, opts=OPTS, src='dxgsg8_composite1.cxx', obj='dxgsg8_composite1.obj')
  4278. IPATH=['panda/metalibs/pandadx8']
  4279. OPTS=['BUILDING_PANDADX', 'DXSDK', 'NSPR']
  4280. CompileC(ipath=IPATH, opts=OPTS, src='pandadx8.cxx', obj='pandadx8_pandadx8.obj')
  4281. CompileLink(dll='libpandadx8.dll',
  4282. opts=['ADVAPI', 'WINGDI', 'WINKERNEL', 'WINUSER', 'WINMM', 'DXDRAW', 'DXGUID', 'D3D8', 'NSPR'], obj=[
  4283. 'pandadx8_pandadx8.obj',
  4284. 'dxgsg8_dxGraphicsStateGuardian8.obj',
  4285. 'dxgsg8_composite1.obj',
  4286. 'libpanda.dll',
  4287. 'libpandaexpress.dll',
  4288. 'libwindisplay.dll',
  4289. 'libdtoolconfig.dll',
  4290. 'libdtool.dll',
  4291. ])
  4292. #
  4293. # DIRECTORY: panda/metalibs/pandadx9/
  4294. #
  4295. if (sys.platform == "win32"):
  4296. IPATH=['panda/src/dxgsg9']
  4297. OPTS=['BUILDING_PANDADX', 'DXSDK', 'NSPR']
  4298. CompileC(ipath=IPATH, opts=OPTS, src='dxGraphicsStateGuardian9.cxx', obj='dxgsg9_dxGraphicsStateGuardian9.obj')
  4299. CompileC(ipath=IPATH, opts=OPTS, src='dxgsg9_composite1.cxx', obj='dxgsg9_composite1.obj')
  4300. IPATH=['panda/metalibs/pandadx9']
  4301. OPTS=['BUILDING_PANDADX', 'DXSDK', 'NSPR']
  4302. CompileC(ipath=IPATH, opts=OPTS, src='pandadx9.cxx', obj='pandadx9_pandadx9.obj')
  4303. CompileLink(dll='libpandadx9.dll',
  4304. opts=['ADVAPI', 'WINGDI', 'WINKERNEL', 'WINUSER', 'WINMM', 'DXDRAW', 'DXGUID', 'D3D9', 'NSPR'], obj=[
  4305. 'pandadx9_pandadx9.obj',
  4306. 'dxgsg9_dxGraphicsStateGuardian9.obj',
  4307. 'dxgsg9_composite1.obj',
  4308. 'libpanda.dll',
  4309. 'libpandaexpress.dll',
  4310. 'libwindisplay.dll',
  4311. 'libdtoolconfig.dll',
  4312. 'libdtool.dll',
  4313. ])
  4314. #
  4315. # DIRECTORY: panda/src/egg/
  4316. #
  4317. IPATH=['panda/src/egg']
  4318. CompileBison(pre='eggyy', dstc='parser.cxx', dsth='parser.h', src='panda/src/egg/parser.yxx')
  4319. CompileFlex(pre='eggyy', dst='lexer.cxx', src='panda/src/egg/lexer.lxx', dashi=1)
  4320. OPTS=['BUILDING_PANDAEGG', 'NSPR']
  4321. CompileC(ipath=IPATH, opts=OPTS, src='egg_composite1.cxx', obj='egg_composite1.obj')
  4322. CompileC(ipath=IPATH, opts=OPTS, src='egg_composite2.cxx', obj='egg_composite2.obj')
  4323. CompileC(ipath=IPATH, opts=OPTS, src='parser.cxx', obj='egg_parser.obj')
  4324. CompileC(ipath=IPATH, opts=OPTS, src='lexer.cxx', obj='egg_lexer.obj')
  4325. Interrogate(ipath=IPATH, opts=OPTS, outd='libegg.in', outc='libegg_igate.cxx',
  4326. src='panda/src/egg', module='pandaegg', library='libegg', files=[
  4327. 'config_egg.h', 'eggAnimData.h', 'eggAttributes.h', 'eggBin.h', 'eggBinMaker.h', 'eggComment.h',
  4328. 'eggCoordinateSystem.h', 'eggCurve.h', 'eggData.h', 'eggExternalReference.h', 'eggFilenameNode.h',
  4329. 'eggGroup.h', 'eggGroupNode.h', 'eggGroupUniquifier.h', 'eggLine.h', 'eggMaterial.h',
  4330. 'eggMaterialCollection.h', 'eggMiscFuncs.h', 'eggMorph.h', 'eggMorphList.h', 'eggNamedObject.h',
  4331. 'eggNameUniquifier.h', 'eggNode.h', 'eggNurbsCurve.h', 'eggNurbsSurface.h', 'eggObject.h',
  4332. 'eggParameters.h', 'eggPoint.h', 'eggPolygon.h', 'eggPolysetMaker.h', 'eggPoolUniquifier.h',
  4333. 'eggPrimitive.h', 'eggRenderMode.h', 'eggSAnimData.h', 'eggSurface.h', 'eggSwitchCondition.h',
  4334. 'eggTable.h', 'eggTexture.h', 'eggTextureCollection.h', 'eggTransform3d.h', 'eggUserData.h',
  4335. 'eggUtilities.h', 'eggVertex.h', 'eggVertexPool.h', 'eggVertexUV.h', 'eggXfmAnimData.h',
  4336. 'eggXfmSAnim.h', 'parserDefs.h', 'lexerDefs.h', 'pt_EggMaterial.h', 'vector_PT_EggMaterial.h',
  4337. 'pt_EggTexture.h', 'vector_PT_EggTexture.h', 'pt_EggVertex.h', 'vector_PT_EggVertex.h',
  4338. 'egg_composite1.cxx', 'egg_composite2.cxx'])
  4339. CompileC(ipath=IPATH, opts=OPTS, src='libegg_igate.cxx', obj='libegg_igate.obj')
  4340. #
  4341. # DIRECTORY: panda/src/egg2pg/
  4342. #
  4343. IPATH=['panda/src/egg2pg']
  4344. OPTS=['BUILDING_PANDAEGG', 'NSPR']
  4345. CompileC(ipath=IPATH, opts=OPTS, src='egg2pg_composite1.cxx', obj='egg2pg_composite1.obj')
  4346. CompileC(ipath=IPATH, opts=OPTS, src='egg2pg_composite2.cxx', obj='egg2pg_composite2.obj')
  4347. Interrogate(ipath=IPATH, opts=OPTS, outd='libegg2pg.in', outc='libegg2pg_igate.cxx',
  4348. src='panda/src/egg2pg', module='pandaegg', library='libegg2pg', files=['load_egg_file.h'])
  4349. CompileC(ipath=IPATH, opts=OPTS, src='libegg2pg_igate.cxx', obj='libegg2pg_igate.obj')
  4350. #
  4351. # DIRECTORY: panda/src/framework/
  4352. #
  4353. IPATH=['panda/src/framework']
  4354. OPTS=['BUILDING_FRAMEWORK', 'NSPR']
  4355. CompileC(ipath=IPATH, opts=OPTS, src='config_framework.cxx', obj='framework_config_framework.obj')
  4356. CompileC(ipath=IPATH, opts=OPTS, src='pandaFramework.cxx', obj='framework_pandaFramework.obj')
  4357. CompileC(ipath=IPATH, opts=OPTS, src='windowFramework.cxx', obj='framework_windowFramework.obj')
  4358. CompileLink(dll='libframework.dll', opts=['ADVAPI', 'NSPR'], obj=[
  4359. 'framework_config_framework.obj',
  4360. 'framework_pandaFramework.obj',
  4361. 'framework_windowFramework.obj',
  4362. 'libpanda.dll',
  4363. 'libpandaexpress.dll',
  4364. 'libdtoolconfig.dll',
  4365. 'libdtool.dll',
  4366. ])
  4367. #
  4368. # DIRECTORY: panda/metalibs/pandaegg/
  4369. #
  4370. IPATH=['panda/metalibs/pandaegg', 'panda/src/egg']
  4371. OPTS=['BUILDING_PANDAEGG', 'NSPR']
  4372. CompileC(ipath=IPATH, opts=OPTS, src='pandaegg.cxx', obj='pandaegg_pandaegg.obj')
  4373. InterrogateModule(outc='libpandaegg_module.cxx', module='pandaegg', library='libpandaegg',
  4374. files=['libegg2pg.in', 'libegg.in'])
  4375. CompileC(ipath=IPATH, opts=OPTS, src='libpandaegg_module.cxx', obj='libpandaegg_module.obj')
  4376. CompileLink(dll='libpandaegg.dll', opts=['ADVAPI', 'NSPR'], obj=[
  4377. 'pandaegg_pandaegg.obj',
  4378. 'libpandaegg_module.obj',
  4379. 'egg2pg_composite1.obj',
  4380. 'egg2pg_composite2.obj',
  4381. 'libegg2pg_igate.obj',
  4382. 'egg_composite1.obj',
  4383. 'egg_composite2.obj',
  4384. 'egg_parser.obj',
  4385. 'egg_lexer.obj',
  4386. 'libegg_igate.obj',
  4387. 'builder_composite1.obj',
  4388. 'builder_composite2.obj',
  4389. 'libpanda.dll',
  4390. 'libpandaexpress.dll',
  4391. 'libdtoolconfig.dll',
  4392. 'libdtool.dll',
  4393. ])
  4394. #
  4395. # DIRECTORY: panda/src/physics/
  4396. #
  4397. IPATH=['panda/src/physics']
  4398. OPTS=['BUILDING_PANDAPHYSICS', 'NSPR']
  4399. CompileC(ipath=IPATH, opts=OPTS, src='physics_composite1.cxx', obj='physics_composite1.obj')
  4400. CompileC(ipath=IPATH, opts=OPTS, src='physics_composite2.cxx', obj='physics_composite2.obj')
  4401. Interrogate(ipath=IPATH, opts=OPTS, outd='libphysics.in', outc='libphysics_igate.cxx',
  4402. src='panda/src/physics', module='pandaphysics', library='libphysics',
  4403. files=['actorNode.h', 'angularEulerIntegrator.h', 'angularForce.h', 'angularIntegrator.h', 'angularVectorForce.h', 'baseForce.h', 'baseIntegrator.h', 'config_physics.h', 'forceNode.h', 'linearCylinderVortexForce.h', 'linearDistanceForce.h', 'linearEulerIntegrator.h', 'linearForce.h', 'linearFrictionForce.h', 'linearIntegrator.h', 'linearJitterForce.h', 'linearNoiseForce.h', 'linearRandomForce.h', 'linearSinkForce.h', 'linearSourceForce.h', 'linearUserDefinedForce.h', 'linearVectorForce.h', 'physical.h', 'physicalNode.h', 'physicsCollisionHandler.h', 'physicsManager.h', 'physicsObject.h', 'physics_composite1.cxx', 'physics_composite2.cxx'])
  4404. CompileC(ipath=IPATH, opts=OPTS, src='libphysics_igate.cxx', obj='libphysics_igate.obj')
  4405. #
  4406. # DIRECTORY: panda/src/particlesystem/
  4407. #
  4408. IPATH=['panda/src/particlesystem']
  4409. OPTS=['BUILDING_PANDAPHYSICS', 'NSPR']
  4410. CompileC(ipath=IPATH, opts=OPTS, src='particlesystem_composite1.cxx', obj='particlesystem_composite1.obj')
  4411. CompileC(ipath=IPATH, opts=OPTS, src='particlesystem_composite2.cxx', obj='particlesystem_composite2.obj')
  4412. Interrogate(ipath=IPATH, opts=OPTS, outd='libparticlesystem.in', outc='libparticlesystem_igate.cxx',
  4413. src='panda/src/particlesystem', module='pandaphysics', library='libparticlesystem',
  4414. files=['baseParticle.h', 'baseParticleEmitter.h', 'baseParticleFactory.h', 'baseParticleRenderer.h', 'boxEmitter.h', 'config_particlesystem.h', 'discEmitter.h', 'geomParticleRenderer.h', 'lineEmitter.h', 'lineParticleRenderer.h', 'particleSystem.h', 'particleSystemManager.h', 'pointEmitter.h', 'pointParticle.h', 'pointParticleFactory.h', 'pointParticleRenderer.h', 'rectangleEmitter.h', 'ringEmitter.h', 'sparkleParticleRenderer.h', 'sphereSurfaceEmitter.h', 'sphereVolumeEmitter.h', 'spriteParticleRenderer.h', 'tangentRingEmitter.h', 'zSpinParticle.h', 'zSpinParticleFactory.h', 'particleCommonFuncs.h', 'particlesystem_composite1.cxx', 'particlesystem_composite2.cxx'])
  4415. CompileC(ipath=IPATH, opts=OPTS, src='libparticlesystem_igate.cxx', obj='libparticlesystem_igate.obj')
  4416. #
  4417. # DIRECTORY: panda/metalibs/pandaphysics/
  4418. #
  4419. IPATH=['panda/metalibs/pandaphysics']
  4420. OPTS=['BUILDING_PANDAPHYSICS', 'NSPR']
  4421. CompileC(ipath=IPATH, opts=OPTS, src='pandaphysics.cxx', obj='pandaphysics_pandaphysics.obj')
  4422. InterrogateModule(outc='libpandaphysics_module.cxx', module='pandaphysics', library='libpandaphysics',
  4423. files=['libphysics.in', 'libparticlesystem.in'])
  4424. CompileC(ipath=IPATH, opts=OPTS, src='libpandaphysics_module.cxx', obj='libpandaphysics_module.obj')
  4425. CompileLink(dll='libpandaphysics.dll', opts=['ADVAPI', 'NSPR'], obj=[
  4426. 'pandaphysics_pandaphysics.obj',
  4427. 'libpandaphysics_module.obj',
  4428. 'physics_composite1.obj',
  4429. 'physics_composite2.obj',
  4430. 'libphysics_igate.obj',
  4431. 'particlesystem_composite1.obj',
  4432. 'particlesystem_composite2.obj',
  4433. 'libparticlesystem_igate.obj',
  4434. 'libpanda.dll',
  4435. 'libpandaexpress.dll',
  4436. 'libdtoolconfig.dll',
  4437. 'libdtool.dll',
  4438. ])
  4439. #
  4440. # DIRECTORY: panda/src/testbed/
  4441. #
  4442. IPATH=['panda/src/testbed']
  4443. OPTS=['NSPR']
  4444. CompileC(ipath=IPATH, opts=OPTS, src='pview.cxx', obj='pview_pview.obj')
  4445. CompileLink(dll='pview.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4446. 'pview_pview.obj',
  4447. 'libframework.dll',
  4448. 'libpanda.dll',
  4449. 'libpandafx.dll',
  4450. 'libpandaexpress.dll',
  4451. 'libdtoolconfig.dll',
  4452. 'libdtool.dll',
  4453. 'libpystub.dll',
  4454. ])
  4455. #
  4456. # DIRECTORY: direct/src/directbase/
  4457. #
  4458. IPATH=['direct/src/directbase']
  4459. OPTS=['BUILDING_DIRECT', 'NSPR']
  4460. CompileC(ipath=IPATH, opts=OPTS, src='directbase.cxx', obj='directbase_directbase.obj')
  4461. #
  4462. # DIRECTORY: direct/src/dcparser/
  4463. #
  4464. CompileBison(pre='dcyy', dstc='dcParser.cxx', dsth='dcParser.h', src='direct/src/dcparser/dcParser.yxx')
  4465. CompileFlex(pre='dcyy', dst='dcLexer.cxx', src='direct/src/dcparser/dcLexer.lxx', dashi=0)
  4466. IPATH=['direct/src/dcparser']
  4467. OPTS=['WITHINPANDA', 'BUILDING_DIRECT', 'NSPR']
  4468. CompileC(ipath=IPATH, opts=OPTS, src='dcparser_composite1.cxx', obj='dcparser_composite1.obj')
  4469. CompileC(ipath=IPATH, opts=OPTS, src='dcparser_composite2.cxx', obj='dcparser_composite2.obj')
  4470. CompileC(ipath=IPATH, opts=OPTS, src='dcParser.cxx', obj='dcparser_dcParser.obj')
  4471. CompileC(ipath=IPATH, opts=OPTS, src='dcLexer.cxx', obj='dcparser_dcLexer.obj')
  4472. Interrogate(ipath=IPATH, opts=OPTS, outd='libdcparser.in', outc='libdcparser_igate.cxx',
  4473. src='direct/src/dcparser', module='direct', library='libdcparser',
  4474. files=['dcAtomicField.h', 'dcClass.h', 'dcDeclaration.h', 'dcField.h', 'dcFile.h',
  4475. 'dcLexerDefs.h', 'dcMolecularField.h', 'dcParserDefs.h', 'dcSubatomicType.h',
  4476. 'dcPackData.h', 'dcPacker.h', 'dcPackerCatalog.h', 'dcPackerInterface.h',
  4477. 'dcParameter.h', 'dcClassParameter.h', 'dcArrayParameter.h', 'dcSimpleParameter.h',
  4478. 'dcSwitchParameter.h', 'dcNumericRange.h', 'dcSwitch.h', 'dcTypedef.h', 'dcPython.h',
  4479. 'dcbase.h', 'dcindent.h', 'hashGenerator.h', 'primeNumberGenerator.h',
  4480. 'dcparser_composite1.cxx', 'dcparser_composite2.cxx'])
  4481. CompileC(ipath=IPATH, opts=OPTS, src='libdcparser_igate.cxx', obj='libdcparser_igate.obj')
  4482. #
  4483. # DIRECTORY: direct/src/deadrec/
  4484. #
  4485. IPATH=['direct/src/deadrec']
  4486. OPTS=['BUILDING_DIRECT', 'NSPR']
  4487. CompileC(ipath=IPATH, opts=OPTS, src='deadrec_composite1.cxx', obj='deadrec_composite1.obj')
  4488. Interrogate(ipath=IPATH, opts=OPTS, outd='libdeadrec.in', outc='libdeadrec_igate.cxx',
  4489. src='direct/src/deadrec', module='direct', library='libdeadrec',
  4490. files=['smoothMover.h', 'deadrec_composite1.cxx'])
  4491. CompileC(ipath=IPATH, opts=OPTS, src='libdeadrec_igate.cxx', obj='libdeadrec_igate.obj')
  4492. #
  4493. # DIRECTORY: direct/src/distributed/
  4494. #
  4495. IPATH=['direct/src/distributed', 'direct/src/dcparser']
  4496. OPTS=['WITHINPANDA', 'BUILDING_DIRECT', 'SSL', 'NSPR']
  4497. CompileC(ipath=IPATH, opts=OPTS, src='config_distributed.cxx', obj='distributed_config_distributed.obj')
  4498. CompileC(ipath=IPATH, opts=OPTS, src='cConnectionRepository.cxx', obj='distributed_cConnectionRepository.obj')
  4499. CompileC(ipath=IPATH, opts=OPTS, src='cDistributedSmoothNodeBase.cxx', obj='distributed_cDistributedSmoothNodeBase.obj')
  4500. Interrogate(ipath=IPATH, opts=OPTS, outd='libdistributed.in', outc='libdistributed_igate.cxx',
  4501. src='direct/src/distributed', module='direct', library='libdistributed',
  4502. files=['config_distributed.cxx', 'config_distributed.h', 'cConnectionRepository.cxx',
  4503. 'cConnectionRepository.h', 'cDistributedSmoothNodeBase.cxx', 'cDistributedSmoothNodeBase.h'])
  4504. CompileC(ipath=IPATH, opts=OPTS, src='libdistributed_igate.cxx', obj='libdistributed_igate.obj')
  4505. #
  4506. # DIRECTORY: direct/src/interval/
  4507. #
  4508. IPATH=['direct/src/interval']
  4509. OPTS=['BUILDING_DIRECT', 'NSPR']
  4510. #CompileC(ipath=IPATH, opts=OPTS, src='config_interval.cxx', obj='interval_config_interval.obj')
  4511. #CompileC(ipath=IPATH, opts=OPTS, src='cInterval.cxx', obj='interval_cInterval.obj')
  4512. #CompileC(ipath=IPATH, opts=OPTS, src='cIntervalManager.cxx', obj='interval_cIntervalManager.obj')
  4513. #CompileC(ipath=IPATH, opts=OPTS, src='cLerpInterval.cxx', obj='interval_cLerpInterval.obj')
  4514. #CompileC(ipath=IPATH, opts=OPTS, src='cLerpNodePathInterval.cxx', obj='interval_cLerpNodePathInterval.obj')
  4515. #CompileC(ipath=IPATH, opts=OPTS, src='cLerpAnimEffectInterval.cxx', obj='interval_cLerpAnimEffectInterval.obj')
  4516. #CompileC(ipath=IPATH, opts=OPTS, src='cMetaInterval.cxx', obj='interval_cMetaInterval.obj')
  4517. #CompileC(ipath=IPATH, opts=OPTS, src='hideInterval.cxx', obj='interval_hideInterval.obj')
  4518. #CompileC(ipath=IPATH, opts=OPTS, src='showInterval.cxx', obj='interval_showInterval.obj')
  4519. #CompileC(ipath=IPATH, opts=OPTS, src='waitInterval.cxx', obj='interval_waitInterval.obj')
  4520. CompileC(ipath=IPATH, opts=OPTS, src='interval_composite1.cxx', obj='interval_composite1.obj')
  4521. Interrogate(ipath=IPATH, opts=OPTS, outd='libinterval.in', outc='libinterval_igate.cxx',
  4522. src='direct/src/interval', module='direct', library='libinterval',
  4523. files=['config_interval.cxx', 'config_interval.h', 'cInterval.cxx', 'cInterval.h',
  4524. 'cIntervalManager.cxx', 'cIntervalManager.h', 'cLerpInterval.cxx', 'cLerpInterval.h',
  4525. 'cLerpNodePathInterval.cxx', 'cLerpNodePathInterval.h', 'cLerpAnimEffectInterval.cxx',
  4526. 'cLerpAnimEffectInterval.h', 'cMetaInterval.cxx', 'cMetaInterval.h', 'hideInterval.cxx',
  4527. 'hideInterval.h', 'showInterval.cxx', 'showInterval.h', 'waitInterval.cxx', 'waitInterval.h',
  4528. 'lerp_helpers.h'])
  4529. CompileC(ipath=IPATH, opts=OPTS, src='libinterval_igate.cxx', obj='libinterval_igate.obj')
  4530. #
  4531. # DIRECTORY: direct/src/showbase/
  4532. #
  4533. IPATH=['direct/src/showbase']
  4534. OPTS=['BUILDING_DIRECT', 'NSPR']
  4535. CompileC(ipath=IPATH, opts=OPTS, src='showBase.cxx', obj='showbase_showBase.obj')
  4536. CompileC(ipath=IPATH, opts=OPTS, src='mersenne.cxx', obj='showbase_mersenne.obj')
  4537. Interrogate(ipath=IPATH, opts=OPTS, outd='libshowbase.in', outc='libshowbase_igate.cxx',
  4538. src='direct/src/showbase', module='direct', library='libshowbase',
  4539. files=['showBase.cxx', 'showBase.h', 'mersenne.cxx', 'mersenne.h'])
  4540. CompileC(ipath=IPATH, opts=OPTS, src='libshowbase_igate.cxx', obj='libshowbase_igate.obj')
  4541. #
  4542. # DIRECTORY: direct/metalibs/direct/
  4543. #
  4544. IPATH=['direct/metalibs/direct']
  4545. OPTS=['BUILDING_DIRECT', 'NSPR']
  4546. CompileC(ipath=IPATH, opts=OPTS, src='direct.cxx', obj='direct_direct.obj')
  4547. InterrogateModule(outc='libdirect_module.cxx', module='direct', library='libdirect',
  4548. files=['libdcparser.in', 'libshowbase.in', 'libdeadrec.in', 'libinterval.in', 'libdistributed.in'])
  4549. CompileC(ipath=IPATH, opts=OPTS, src='libdirect_module.cxx', obj='libdirect_module.obj')
  4550. CompileLink(dll='libdirect.dll', opts=['ADVAPI', 'NSPR', 'SSL'], obj=[
  4551. 'direct_direct.obj',
  4552. 'libdirect_module.obj',
  4553. 'directbase_directbase.obj',
  4554. 'dcparser_composite1.obj',
  4555. 'dcparser_composite2.obj',
  4556. 'dcparser_dcParser.obj',
  4557. 'dcparser_dcLexer.obj',
  4558. 'libdcparser_igate.obj',
  4559. 'showbase_showBase.obj',
  4560. 'showbase_mersenne.obj',
  4561. 'libshowbase_igate.obj',
  4562. 'deadrec_composite1.obj',
  4563. 'libdeadrec_igate.obj',
  4564. 'interval_composite1.obj',
  4565. 'libinterval_igate.obj',
  4566. 'distributed_config_distributed.obj',
  4567. 'distributed_cConnectionRepository.obj',
  4568. 'distributed_cDistributedSmoothNodeBase.obj',
  4569. 'libdistributed_igate.obj',
  4570. 'libpanda.dll',
  4571. 'libpandaexpress.dll',
  4572. 'libdtoolconfig.dll',
  4573. 'libdtool.dll',
  4574. ])
  4575. #
  4576. # DIRECTORY: direct/src/dcparse/
  4577. #
  4578. IPATH=['direct/src/dcparse', 'direct/src/dcparser']
  4579. OPTS=['WITHINPANDA', 'NSPR']
  4580. CompileC(ipath=IPATH, opts=OPTS, src='dcparse.cxx', obj='dcparse_dcparse.obj')
  4581. CompileLink(dll='dcparse.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4582. 'dcparse_dcparse.obj',
  4583. 'libdirect.dll',
  4584. 'libpandaexpress.dll',
  4585. 'libdtoolconfig.dll',
  4586. 'libdtool.dll',
  4587. 'libpystub.dll',
  4588. ])
  4589. #
  4590. # DIRECTORY: direct/src/heapq/
  4591. #
  4592. IPATH=['direct/src/heapq']
  4593. OPTS=['NSPR']
  4594. CompileC(ipath=IPATH, opts=OPTS, src='heapq.cxx', obj='heapq_heapq.obj')
  4595. CompileLink(dll='libheapq.dll', opts=['ADVAPI', 'NSPR'], obj=[
  4596. 'heapq_heapq.obj',
  4597. 'libpandaexpress.dll',
  4598. 'libdtoolconfig.dll',
  4599. 'libdtool.dll',
  4600. ])
  4601. #
  4602. # DIRECTORY: pandatool/src/pandatoolbase/
  4603. #
  4604. IPATH=['pandatool/src/pandatoolbase']
  4605. OPTS=['NSPR']
  4606. CompileC(ipath=IPATH, opts=OPTS, src='pandatoolbase_composite1.cxx', obj='pandatoolbase_composite1.obj')
  4607. CompileLIB(lib='libpandatoolbase.lib', obj=['pandatoolbase_composite1.obj'])
  4608. #
  4609. # DIRECTORY: pandatool/src/converter/
  4610. #
  4611. IPATH=['pandatool/src/converter']
  4612. OPTS=['NSPR']
  4613. CompileC(ipath=IPATH, opts=OPTS, src='somethingToEggConverter.cxx', obj='converter_somethingToEggConverter.obj')
  4614. CompileLIB(lib='libconverter.lib', obj=['converter_somethingToEggConverter.obj'])
  4615. #
  4616. # DIRECTORY: pandatool/src/progbase/
  4617. #
  4618. IPATH=['pandatool/src/progbase']
  4619. OPTS=['NSPR']
  4620. CompileC(ipath=IPATH, opts=OPTS, src='progbase_composite1.cxx', obj='progbase_composite1.obj')
  4621. CompileLIB(lib='libprogbase.lib', obj=['progbase_composite1.obj'])
  4622. #
  4623. # DIRECTORY: pandatool/src/eggbase/
  4624. #
  4625. IPATH=['pandatool/src/eggbase']
  4626. OPTS=['NSPR']
  4627. CompileC(ipath=IPATH, opts=OPTS, src='eggbase_composite1.cxx', obj='eggbase_composite1.obj')
  4628. CompileLIB(lib='libeggbase.lib', obj=['eggbase_composite1.obj'])
  4629. #
  4630. # DIRECTORY: pandatool/src/bam/
  4631. #
  4632. IPATH=['pandatool/src/bam']
  4633. OPTS=['NSPR']
  4634. CompileC(ipath=IPATH, opts=OPTS, src='bamInfo.cxx', obj='bam-info_bamInfo.obj')
  4635. CompileLink(dll='bam-info.exe', opts=['ADVAPI', 'NSPR', 'FFTW'], obj=[
  4636. 'bam-info_bamInfo.obj',
  4637. 'libprogbase.lib',
  4638. 'libpandatoolbase.lib',
  4639. 'libpandaegg.dll',
  4640. 'libpanda.dll',
  4641. 'libpandaexpress.dll',
  4642. 'libdtoolconfig.dll',
  4643. 'libdtool.dll',
  4644. 'libpystub.dll',
  4645. ])
  4646. CompileC(ipath=IPATH, opts=OPTS, src='bamToEgg.cxx', obj='bam2egg_bamToEgg.obj')
  4647. CompileLink(dll='bam2egg.exe', opts=['ADVAPI', 'NSPR', 'FFTW'], obj=[
  4648. 'bam2egg_bamToEgg.obj',
  4649. 'libconverter.lib',
  4650. 'libeggbase.lib',
  4651. 'libprogbase.lib',
  4652. 'libpandatoolbase.lib',
  4653. 'libpandaegg.dll',
  4654. 'libpanda.dll',
  4655. 'libpandaexpress.dll',
  4656. 'libdtoolconfig.dll',
  4657. 'libdtool.dll',
  4658. 'libpystub.dll',
  4659. ])
  4660. CompileC(ipath=IPATH, opts=OPTS, src='eggToBam.cxx', obj='egg2bam_eggToBam.obj')
  4661. CompileLink(dll='egg2bam.exe', opts=['ADVAPI', 'NSPR', 'FFTW'], obj=[
  4662. 'egg2bam_eggToBam.obj',
  4663. 'libeggbase.lib',
  4664. 'libprogbase.lib',
  4665. 'libconverter.lib',
  4666. 'libpandatoolbase.lib',
  4667. 'libpandaegg.dll',
  4668. 'libpanda.dll',
  4669. 'libpandaexpress.dll',
  4670. 'libdtoolconfig.dll',
  4671. 'libdtool.dll',
  4672. 'libpystub.dll',
  4673. ])
  4674. #
  4675. # DIRECTORY: pandatool/src/cvscopy/
  4676. #
  4677. IPATH=['pandatool/src/cvscopy']
  4678. OPTS=['NSPR']
  4679. CompileC(ipath=IPATH, opts=OPTS, src='cvscopy_composite1.cxx', obj='cvscopy_composite1.obj')
  4680. CompileLIB(lib='libcvscopy.lib', obj=['cvscopy_composite1.obj'])
  4681. #
  4682. # DIRECTORY: pandatool/src/dxf/
  4683. #
  4684. IPATH=['pandatool/src/dxf']
  4685. OPTS=['NSPR']
  4686. CompileC(ipath=IPATH, opts=OPTS, src='dxf_composite1.cxx', obj='dxf_composite1.obj')
  4687. CompileLIB(lib='libdxf.lib', obj=['dxf_composite1.obj'])
  4688. #
  4689. # DIRECTORY: pandatool/src/dxfegg/
  4690. #
  4691. IPATH=['pandatool/src/dxfegg']
  4692. OPTS=['NSPR']
  4693. CompileC(ipath=IPATH, opts=OPTS, src='dxfToEggConverter.cxx', obj='dxfegg_dxfToEggConverter.obj')
  4694. CompileC(ipath=IPATH, opts=OPTS, src='dxfToEggLayer.cxx', obj='dxfegg_dxfToEggLayer.obj')
  4695. CompileLIB(lib='libdxfegg.lib', obj=[
  4696. 'dxfegg_dxfToEggConverter.obj',
  4697. 'dxfegg_dxfToEggLayer.obj',
  4698. ])
  4699. #
  4700. # DIRECTORY: pandatool/src/dxfprogs/
  4701. #
  4702. IPATH=['pandatool/src/dxfprogs']
  4703. OPTS=['NSPR']
  4704. CompileC(ipath=IPATH, opts=OPTS, src='dxfPoints.cxx', obj='dxf-points_dxfPoints.obj')
  4705. CompileLink(dll='dxf-points.exe', opts=['ADVAPI', 'NSPR', 'FFTW'], obj=[
  4706. 'dxf-points_dxfPoints.obj',
  4707. 'libprogbase.lib',
  4708. 'libdxf.lib',
  4709. 'libpandatoolbase.lib',
  4710. 'libpanda.dll',
  4711. 'libpandaexpress.dll',
  4712. 'libdtoolconfig.dll',
  4713. 'libdtool.dll',
  4714. 'libpystub.dll',
  4715. ])
  4716. CompileC(ipath=IPATH, opts=OPTS, src='dxfToEgg.cxx', obj='dxf2egg_dxfToEgg.obj')
  4717. CompileLink(dll='dxf2egg.exe', opts=['ADVAPI', 'NSPR', 'FFTW'], obj=[
  4718. 'dxf2egg_dxfToEgg.obj',
  4719. 'libdxfegg.lib',
  4720. 'libdxf.lib',
  4721. 'libeggbase.lib',
  4722. 'libprogbase.lib',
  4723. 'libpandatoolbase.lib',
  4724. 'libconverter.lib',
  4725. 'libpandaegg.dll',
  4726. 'libpanda.dll',
  4727. 'libpandaexpress.dll',
  4728. 'libdtoolconfig.dll',
  4729. 'libdtool.dll',
  4730. 'libpystub.dll',
  4731. ])
  4732. CompileC(ipath=IPATH, opts=OPTS, src='eggToDXF.cxx', obj='egg2dxf_eggToDXF.obj')
  4733. CompileC(ipath=IPATH, opts=OPTS, src='eggToDXFLayer.cxx', obj='egg2dxf_eggToDXFLayer.obj')
  4734. CompileLink(dll='egg2dxf.exe', opts=['ADVAPI', 'NSPR', 'FFTW'], obj=[
  4735. 'egg2dxf_eggToDXF.obj',
  4736. 'egg2dxf_eggToDXFLayer.obj',
  4737. 'libdxf.lib',
  4738. 'libeggbase.lib',
  4739. 'libprogbase.lib',
  4740. 'libpandatoolbase.lib',
  4741. 'libconverter.lib',
  4742. 'libpandaegg.dll',
  4743. 'libpanda.dll',
  4744. 'libpandaexpress.dll',
  4745. 'libdtoolconfig.dll',
  4746. 'libdtool.dll',
  4747. 'libpystub.dll',
  4748. ])
  4749. #
  4750. # DIRECTORY: pandatool/src/palettizer/
  4751. #
  4752. IPATH=['pandatool/src/palettizer']
  4753. OPTS=['NSPR']
  4754. CompileC(ipath=IPATH, opts=OPTS, src='palettizer_composite1.cxx', obj='palettizer_composite1.obj')
  4755. CompileLIB(lib='libpalettizer.lib', obj=['palettizer_composite1.obj'])
  4756. #
  4757. # DIRECTORY: pandatool/src/egg-mkfont/
  4758. #
  4759. if OMIT.count("FREETYPE")==0:
  4760. IPATH=['pandatool/src/egg-mkfont', 'pandatool/src/palettizer']
  4761. OPTS=['NSPR', 'FREETYPE']
  4762. CompileC(ipath=IPATH, opts=OPTS, src='eggMakeFont.cxx', obj='egg-mkfont_eggMakeFont.obj')
  4763. CompileC(ipath=IPATH, opts=OPTS, src='rangeDescription.cxx', obj='egg-mkfont_rangeDescription.obj')
  4764. CompileC(ipath=IPATH, opts=OPTS, src='rangeIterator.cxx', obj='egg-mkfont_rangeIterator.obj')
  4765. CompileLink(dll='egg-mkfont.exe', opts=['ADVAPI', 'NSPR', 'FREETYPE'], obj=[
  4766. 'egg-mkfont_eggMakeFont.obj',
  4767. 'egg-mkfont_rangeDescription.obj',
  4768. 'egg-mkfont_rangeIterator.obj',
  4769. 'libpalettizer.lib',
  4770. 'libeggbase.lib',
  4771. 'libprogbase.lib',
  4772. 'libpandatoolbase.lib',
  4773. 'libconverter.lib',
  4774. 'libpandaegg.dll',
  4775. 'libpanda.dll',
  4776. 'libpandaexpress.dll',
  4777. 'libdtoolconfig.dll',
  4778. 'libdtool.dll',
  4779. 'libpystub.dll',
  4780. ])
  4781. #
  4782. # DIRECTORY: pandatool/src/eggcharbase/
  4783. #
  4784. IPATH=['pandatool/src/eggcharbase']
  4785. OPTS=['ZLIB', 'NSPR']
  4786. CompileC(ipath=IPATH, opts=OPTS, src='eggcharbase_composite1.cxx', obj='eggcharbase_composite1.obj')
  4787. CompileLIB(lib='libeggcharbase.lib', obj=['eggcharbase_composite1.obj'])
  4788. #
  4789. # DIRECTORY: pandatool/src/egg-optchar/
  4790. #
  4791. IPATH=['pandatool/src/egg-optchar']
  4792. OPTS=['NSPR']
  4793. CompileC(ipath=IPATH, opts=OPTS, src='config_egg_optchar.cxx', obj='egg-optchar_config_egg_optchar.obj')
  4794. CompileC(ipath=IPATH, opts=OPTS, src='eggOptchar.cxx', obj='egg-optchar_eggOptchar.obj')
  4795. CompileC(ipath=IPATH, opts=OPTS, src='eggOptcharUserData.cxx', obj='egg-optchar_eggOptcharUserData.obj')
  4796. CompileC(ipath=IPATH, opts=OPTS, src='vertexMembership.cxx', obj='egg-optchar_vertexMembership.obj')
  4797. CompileLink(dll='egg-optchar.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4798. 'egg-optchar_config_egg_optchar.obj',
  4799. 'egg-optchar_eggOptchar.obj',
  4800. 'egg-optchar_eggOptcharUserData.obj',
  4801. 'egg-optchar_vertexMembership.obj',
  4802. 'libeggcharbase.lib',
  4803. 'libconverter.lib',
  4804. 'libeggbase.lib',
  4805. 'libprogbase.lib',
  4806. 'libpandatoolbase.lib',
  4807. 'libpandaegg.dll',
  4808. 'libpanda.dll',
  4809. 'libpandaexpress.dll',
  4810. 'libdtoolconfig.dll',
  4811. 'libdtool.dll',
  4812. 'libpystub.dll',
  4813. ])
  4814. #
  4815. # DIRECTORY: pandatool/src/egg-palettize/
  4816. #
  4817. IPATH=['pandatool/src/egg-palettize', 'pandatool/src/palettizer']
  4818. OPTS=['NSPR']
  4819. CompileC(ipath=IPATH, opts=OPTS, src='eggPalettize.cxx', obj='egg-palettize_eggPalettize.obj')
  4820. CompileLink(dll='egg-palettize.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4821. 'egg-palettize_eggPalettize.obj',
  4822. 'libpalettizer.lib',
  4823. 'libeggbase.lib',
  4824. 'libprogbase.lib',
  4825. 'libpandatoolbase.lib',
  4826. 'libconverter.lib',
  4827. 'libpandaegg.dll',
  4828. 'libpanda.dll',
  4829. 'libpandaexpress.dll',
  4830. 'libdtoolconfig.dll',
  4831. 'libdtool.dll',
  4832. 'libpystub.dll',
  4833. ])
  4834. #
  4835. # DIRECTORY: pandatool/src/egg-qtess/
  4836. #
  4837. IPATH=['pandatool/src/egg-qtess']
  4838. OPTS=['NSPR']
  4839. CompileC(ipath=IPATH, opts=OPTS, src='egg-qtess_composite1.cxx', obj='egg-qtess_composite1.obj')
  4840. CompileLink(dll='egg-qtess.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4841. 'egg-qtess_composite1.obj',
  4842. 'libeggbase.lib',
  4843. 'libprogbase.lib',
  4844. 'libconverter.lib',
  4845. 'libpandatoolbase.lib',
  4846. 'libpandaegg.dll',
  4847. 'libpanda.dll',
  4848. 'libpandaexpress.dll',
  4849. 'libdtoolconfig.dll',
  4850. 'libdtool.dll',
  4851. 'libpystub.dll',
  4852. ])
  4853. #
  4854. # DIRECTORY: pandatool/src/eggprogs/
  4855. #
  4856. IPATH=['pandatool/src/eggprogs']
  4857. OPTS=['NSPR']
  4858. CompileC(ipath=IPATH, opts=OPTS, src='eggCrop.cxx', obj='egg-crop_eggCrop.obj')
  4859. CompileLink(dll='egg-crop.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4860. 'egg-crop_eggCrop.obj',
  4861. 'libconverter.lib',
  4862. 'libeggbase.lib',
  4863. 'libprogbase.lib',
  4864. 'libpandatoolbase.lib',
  4865. 'libpandaegg.dll',
  4866. 'libpanda.dll',
  4867. 'libpandaexpress.dll',
  4868. 'libdtoolconfig.dll',
  4869. 'libdtool.dll',
  4870. 'libpystub.dll',
  4871. ])
  4872. CompileC(ipath=IPATH, opts=OPTS, src='eggMakeTube.cxx', obj='egg-make-tube_eggMakeTube.obj')
  4873. CompileLink(dll='egg-make-tube.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4874. 'egg-make-tube_eggMakeTube.obj',
  4875. 'libconverter.lib',
  4876. 'libeggbase.lib',
  4877. 'libprogbase.lib',
  4878. 'libpandatoolbase.lib',
  4879. 'libpandaegg.dll',
  4880. 'libpanda.dll',
  4881. 'libpandaexpress.dll',
  4882. 'libdtoolconfig.dll',
  4883. 'libdtool.dll',
  4884. 'libpystub.dll',
  4885. ])
  4886. CompileC(ipath=IPATH, opts=OPTS, src='eggTextureCards.cxx', obj='egg-texture-cards_eggTextureCards.obj')
  4887. CompileLink(dll='egg-texture-cards.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4888. 'egg-texture-cards_eggTextureCards.obj',
  4889. 'libconverter.lib',
  4890. 'libeggbase.lib',
  4891. 'libprogbase.lib',
  4892. 'libpandatoolbase.lib',
  4893. 'libpandaegg.dll',
  4894. 'libpanda.dll',
  4895. 'libpandaexpress.dll',
  4896. 'libdtoolconfig.dll',
  4897. 'libdtool.dll',
  4898. 'libpystub.dll',
  4899. ])
  4900. CompileC(ipath=IPATH, opts=OPTS, src='eggTopstrip.cxx', obj='egg-topstrip_eggTopstrip.obj')
  4901. CompileLink(dll='egg-topstrip.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4902. 'egg-topstrip_eggTopstrip.obj',
  4903. 'libeggcharbase.lib',
  4904. 'libconverter.lib',
  4905. 'libeggbase.lib',
  4906. 'libprogbase.lib',
  4907. 'libpandatoolbase.lib',
  4908. 'libpandaegg.dll',
  4909. 'libpanda.dll',
  4910. 'libpandaexpress.dll',
  4911. 'libdtoolconfig.dll',
  4912. 'libdtool.dll',
  4913. 'libpystub.dll',
  4914. ])
  4915. CompileC(ipath=IPATH, opts=OPTS, src='eggTrans.cxx', obj='egg-trans_eggTrans.obj')
  4916. CompileLink(dll='egg-trans.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4917. 'egg-trans_eggTrans.obj',
  4918. 'libconverter.lib',
  4919. 'libeggbase.lib',
  4920. 'libprogbase.lib',
  4921. 'libpandatoolbase.lib',
  4922. 'libpandaegg.dll',
  4923. 'libpanda.dll',
  4924. 'libpandaexpress.dll',
  4925. 'libdtoolconfig.dll',
  4926. 'libdtool.dll',
  4927. 'libpystub.dll',
  4928. ])
  4929. CompileC(ipath=IPATH, opts=OPTS, src='eggToC.cxx', obj='egg2c_eggToC.obj')
  4930. CompileLink(dll='egg2c.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4931. 'egg2c_eggToC.obj',
  4932. 'libconverter.lib',
  4933. 'libeggbase.lib',
  4934. 'libprogbase.lib',
  4935. 'libpandatoolbase.lib',
  4936. 'libpandaegg.dll',
  4937. 'libpanda.dll',
  4938. 'libpandaexpress.dll',
  4939. 'libdtoolconfig.dll',
  4940. 'libdtool.dll',
  4941. 'libpystub.dll',
  4942. ])
  4943. #
  4944. # DIRECTORY: pandatool/src/flt/
  4945. #
  4946. IPATH=['pandatool/src/flt']
  4947. OPTS=['NSPR']
  4948. CompileC(ipath=IPATH, opts=OPTS, src='fltVectorRecord.cxx', obj='flt_fltVectorRecord.obj')
  4949. CompileC(ipath=IPATH, opts=OPTS, src='flt_composite1.cxx', obj='flt_composite1.obj')
  4950. CompileLIB(lib='libflt.lib', obj=['flt_fltVectorRecord.obj', 'flt_composite1.obj'])
  4951. #
  4952. # DIRECTORY: pandatool/src/fltegg/
  4953. #
  4954. IPATH=['pandatool/src/fltegg']
  4955. OPTS=['NSPR']
  4956. CompileC(ipath=IPATH, opts=OPTS, src='fltToEggConverter.cxx', obj='fltegg_fltToEggConverter.obj')
  4957. CompileC(ipath=IPATH, opts=OPTS, src='fltToEggLevelState.cxx', obj='fltegg_fltToEggLevelState.obj')
  4958. CompileLIB(lib='libfltegg.lib', obj=['fltegg_fltToEggConverter.obj', 'fltegg_fltToEggLevelState.obj'])
  4959. #
  4960. # DIRECTORY: pandatool/src/fltprogs/
  4961. #
  4962. IPATH=['pandatool/src/fltprogs', 'pandatool/src/flt', 'pandatool/src/cvscopy']
  4963. OPTS=['NSPR']
  4964. CompileC(ipath=IPATH, opts=OPTS, src='eggToFlt.cxx', obj='egg2flt_eggToFlt.obj')
  4965. CompileLink(dll='egg2flt.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4966. 'egg2flt_eggToFlt.obj',
  4967. 'libflt.lib',
  4968. 'libeggbase.lib',
  4969. 'libprogbase.lib',
  4970. 'libconverter.lib',
  4971. 'libpandatoolbase.lib',
  4972. 'libpandaegg.dll',
  4973. 'libpanda.dll',
  4974. 'libpandaexpress.dll',
  4975. 'libdtoolconfig.dll',
  4976. 'libdtool.dll',
  4977. 'libpystub.dll',
  4978. ])
  4979. CompileC(ipath=IPATH, opts=OPTS, src='fltInfo.cxx', obj='flt-info_fltInfo.obj')
  4980. CompileLink(dll='flt-info.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4981. 'flt-info_fltInfo.obj',
  4982. 'libprogbase.lib',
  4983. 'libflt.lib',
  4984. 'libpandatoolbase.lib',
  4985. 'libconverter.lib',
  4986. 'libpandaegg.dll',
  4987. 'libpanda.dll',
  4988. 'libpandaexpress.dll',
  4989. 'libdtoolconfig.dll',
  4990. 'libdtool.dll',
  4991. 'libpystub.dll',
  4992. ])
  4993. CompileC(ipath=IPATH, opts=OPTS, src='fltTrans.cxx', obj='flt-trans_fltTrans.obj')
  4994. CompileLink(dll='flt-trans.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4995. 'flt-trans_fltTrans.obj',
  4996. 'libprogbase.lib',
  4997. 'libflt.lib',
  4998. 'libpandatoolbase.lib',
  4999. 'libconverter.lib',
  5000. 'libpandaegg.dll',
  5001. 'libpanda.dll',
  5002. 'libpandaexpress.dll',
  5003. 'libdtoolconfig.dll',
  5004. 'libdtool.dll',
  5005. 'libpystub.dll',
  5006. ])
  5007. CompileC(ipath=IPATH, opts=OPTS, src='fltToEgg.cxx', obj='flt2egg_fltToEgg.obj')
  5008. CompileLink(dll='flt2egg.exe', opts=['ADVAPI', 'NSPR'], obj=[
  5009. 'flt2egg_fltToEgg.obj',
  5010. 'libflt.lib',
  5011. 'libfltegg.lib',
  5012. 'libeggbase.lib',
  5013. 'libprogbase.lib',
  5014. 'libconverter.lib',
  5015. 'libpandatoolbase.lib',
  5016. 'libpandaegg.dll',
  5017. 'libpanda.dll',
  5018. 'libpandaexpress.dll',
  5019. 'libdtoolconfig.dll',
  5020. 'libdtool.dll',
  5021. 'libpystub.dll',
  5022. ])
  5023. CompileC(ipath=IPATH, opts=OPTS, src='fltCopy.cxx', obj='fltcopy_fltCopy.obj')
  5024. CompileLink(dll='fltcopy.exe', opts=['ADVAPI', 'NSPR'], obj=[
  5025. 'fltcopy_fltCopy.obj',
  5026. 'libcvscopy.lib',
  5027. 'libflt.lib',
  5028. 'libprogbase.lib',
  5029. 'libpandatoolbase.lib',
  5030. 'libconverter.lib',
  5031. 'libpandaegg.dll',
  5032. 'libpanda.dll',
  5033. 'libpandaexpress.dll',
  5034. 'libdtoolconfig.dll',
  5035. 'libdtool.dll',
  5036. 'libpystub.dll',
  5037. ])
  5038. #
  5039. # DIRECTORY: pandatool/src/imagebase/
  5040. #
  5041. IPATH=['pandatool/src/imagebase']
  5042. OPTS=['NSPR']
  5043. CompileC(ipath=IPATH, opts=OPTS, src='imagebase_composite1.cxx', obj='imagebase_composite1.obj')
  5044. CompileLIB(lib='libimagebase.lib', obj=['imagebase_composite1.obj'])
  5045. #
  5046. # DIRECTORY: pandatool/src/imageprogs/
  5047. #
  5048. IPATH=['pandatool/src/imageprogs']
  5049. OPTS=['NSPR']
  5050. CompileC(ipath=IPATH, opts=OPTS, src='imageInfo.cxx', obj='image-info_imageInfo.obj')
  5051. CompileLink(dll='image-info.exe', opts=['ADVAPI', 'NSPR'], obj=[
  5052. 'image-info_imageInfo.obj',
  5053. 'libimagebase.lib',
  5054. 'libprogbase.lib',
  5055. 'libpandatoolbase.lib',
  5056. 'libpandaegg.dll',
  5057. 'libpanda.dll',
  5058. 'libpandaexpress.dll',
  5059. 'libdtoolconfig.dll',
  5060. 'libdtool.dll',
  5061. 'libpystub.dll',
  5062. ])
  5063. CompileC(ipath=IPATH, opts=OPTS, src='imageResize.cxx', obj='image-resize_imageResize.obj')
  5064. CompileLink(dll='image-resize.exe', opts=['ADVAPI', 'NSPR'], obj=[
  5065. 'image-resize_imageResize.obj',
  5066. 'libimagebase.lib',
  5067. 'libprogbase.lib',
  5068. 'libpandatoolbase.lib',
  5069. 'libpandaegg.dll',
  5070. 'libpanda.dll',
  5071. 'libpandaexpress.dll',
  5072. 'libdtoolconfig.dll',
  5073. 'libdtool.dll',
  5074. 'libpystub.dll',
  5075. ])
  5076. CompileC(ipath=IPATH, opts=OPTS, src='imageTrans.cxx', obj='image-trans_imageTrans.obj')
  5077. CompileLink(dll='image-trans.exe', opts=['ADVAPI', 'NSPR'], obj=[
  5078. 'image-trans_imageTrans.obj',
  5079. 'libimagebase.lib',
  5080. 'libprogbase.lib',
  5081. 'libpandatoolbase.lib',
  5082. 'libpandaegg.dll',
  5083. 'libpanda.dll',
  5084. 'libpandaexpress.dll',
  5085. 'libdtoolconfig.dll',
  5086. 'libdtool.dll',
  5087. 'libpystub.dll',
  5088. ])
  5089. #
  5090. # DIRECTORY: pandatool/src/lwo/
  5091. #
  5092. IPATH=['pandatool/src/lwo']
  5093. OPTS=['NSPR']
  5094. CompileC(ipath=IPATH, opts=OPTS, src='lwo_composite1.cxx', obj='lwo_composite1.obj')
  5095. CompileLIB(lib='liblwo.lib', obj=['lwo_composite1.obj'])
  5096. #
  5097. # DIRECTORY: pandatool/src/lwoegg/
  5098. #
  5099. IPATH=['pandatool/src/lwoegg']
  5100. OPTS=['NSPR']
  5101. CompileC(ipath=IPATH, opts=OPTS, src='lwoegg_composite1.cxx', obj='lwoegg_composite1.obj')
  5102. CompileLIB(lib='liblwoegg.lib', obj=['lwoegg_composite1.obj'])
  5103. #
  5104. # DIRECTORY: pandatool/src/lwoprogs/
  5105. #
  5106. IPATH=['pandatool/src/lwoprogs', 'pandatool/src/lwo']
  5107. OPTS=['NSPR']
  5108. CompileC(ipath=IPATH, opts=OPTS, src='lwoScan.cxx', obj='lwo-scan_lwoScan.obj')
  5109. CompileLink(dll='lwo-scan.exe', opts=['ADVAPI', 'NSPR'], obj=[
  5110. 'lwo-scan_lwoScan.obj',
  5111. 'liblwo.lib',
  5112. 'libprogbase.lib',
  5113. 'libpandatoolbase.lib',
  5114. 'libpandaegg.dll',
  5115. 'libpanda.dll',
  5116. 'libpandaexpress.dll',
  5117. 'libdtoolconfig.dll',
  5118. 'libdtool.dll',
  5119. 'libpystub.dll',
  5120. ])
  5121. CompileC(ipath=IPATH, opts=OPTS, src='lwoToEgg.cxx', obj='lwo2egg_lwoToEgg.obj')
  5122. CompileLink(dll='lwo2egg.exe', opts=['ADVAPI', 'NSPR'], obj=[
  5123. 'lwo2egg_lwoToEgg.obj',
  5124. 'liblwo.lib',
  5125. 'liblwoegg.lib',
  5126. 'libeggbase.lib',
  5127. 'libprogbase.lib',
  5128. 'libpandatoolbase.lib',
  5129. 'libconverter.lib',
  5130. 'libpandaegg.dll',
  5131. 'libpanda.dll',
  5132. 'libpandaexpress.dll',
  5133. 'libdtoolconfig.dll',
  5134. 'libdtool.dll',
  5135. 'libpystub.dll',
  5136. ])
  5137. #
  5138. # DIRECTORY: pandatool/src/maya/
  5139. #
  5140. for VER in ["5","6"]:
  5141. if (OMIT.count("MAYA"+VER)==0):
  5142. IPATH=['pandatool/src/maya']
  5143. OPTS=['MAYA'+VER, 'NSPR']
  5144. CompileC(ipath=IPATH, opts=OPTS, src='maya_composite1.cxx', obj='maya'+VER+'_composite1.obj')
  5145. CompileLIB(lib='libmaya'+VER+'.lib', obj=[ 'maya'+VER+'_composite1.obj' ])
  5146. #
  5147. # DIRECTORY: pandatool/src/mayaegg/
  5148. #
  5149. for VER in ["5","6"]:
  5150. if (OMIT.count("MAYA"+VER)==0):
  5151. IPATH=['pandatool/src/mayaegg', 'pandatool/src/maya']
  5152. OPTS=['MAYA'+VER, 'NSPR']
  5153. CompileC(ipath=IPATH, opts=OPTS, src='mayaegg_composite1.cxx', obj='mayaegg'+VER+'_composite1.obj')
  5154. CompileLIB(lib='libmayaegg'+VER+'.lib', obj=[ 'mayaegg'+VER+'_composite1.obj' ])
  5155. #
  5156. # DIRECTORY: pandatool/src/maxegg/
  5157. #
  5158. for VER in ["5", "6", "7"]:
  5159. if (OMIT.count("MAX"+VER)==0):
  5160. IPATH=['pandatool/src/maxegg']
  5161. OPTS=['MAX'+VER, 'NSPR', "WINCOMCTL", "WINUSER", "MAXEGGDEF"]
  5162. CompileRES(ipath=IPATH, opts=OPTS, src='MaxEgg.rc', obj='maxegg'+VER+'_MaxEgg.res')
  5163. CompileC(ipath=IPATH, opts=OPTS, src='maxegg_composite1.cxx',obj='maxegg'+VER+'_composite1.obj')
  5164. CompileLink(opts=OPTS, dll='maxegg'+VER+'.dle', obj=[
  5165. 'maxegg'+VER+'_composite1.obj',
  5166. 'maxegg'+VER+'_MaxEgg.res',
  5167. 'libeggbase.lib',
  5168. 'libprogbase.lib',
  5169. 'libpandatoolbase.lib',
  5170. 'libconverter.lib',
  5171. 'libpandaegg.dll',
  5172. 'libpanda.dll',
  5173. 'libpandaexpress.dll',
  5174. 'libdtoolconfig.dll',
  5175. 'libdtool.dll',
  5176. 'libpystub.dll'
  5177. ])
  5178. #
  5179. # DIRECTORY: pandatool/src/vrml/
  5180. #
  5181. CompileBison(pre='vrmlyy', dstc='vrmlParser.cxx', dsth='vrmlParser.h', src='pandatool/src/vrml/vrmlParser.yxx')
  5182. CompileFlex(pre='vrmlyy', dst='vrmlLexer.cxx', src='pandatool/src/vrml/vrmlLexer.lxx', dashi=0)
  5183. IPATH=['pandatool/src/vrml']
  5184. OPTS=['ZLIB', 'NSPR']
  5185. CompileC(ipath=IPATH, opts=OPTS, src='parse_vrml.cxx', obj='pvrml_parse_vrml.obj')
  5186. CompileC(ipath=IPATH, opts=OPTS, src='standard_nodes.cxx', obj='pvrml_standard_nodes.obj')
  5187. CompileC(ipath=IPATH, opts=OPTS, src='vrmlNode.cxx', obj='pvrml_vrmlNode.obj')
  5188. CompileC(ipath=IPATH, opts=OPTS, src='vrmlNodeType.cxx', obj='pvrml_vrmlNodeType.obj')
  5189. CompileC(ipath=IPATH, opts=OPTS, src='vrmlParser.cxx', obj='pvrml_vrmlParser.obj')
  5190. CompileC(ipath=IPATH, opts=OPTS, src='vrmlLexer.cxx', obj='pvrml_vrmlLexer.obj')
  5191. CompileLIB(lib='libpvrml.lib', obj=[
  5192. 'pvrml_parse_vrml.obj',
  5193. 'pvrml_standard_nodes.obj',
  5194. 'pvrml_vrmlNode.obj',
  5195. 'pvrml_vrmlNodeType.obj',
  5196. 'pvrml_vrmlParser.obj',
  5197. 'pvrml_vrmlLexer.obj',
  5198. ])
  5199. #
  5200. # DIRECTORY: pandatool/src/vrmlegg/
  5201. #
  5202. IPATH=['pandatool/src/vrmlegg', 'pandatool/src/vrml']
  5203. OPTS=['NSPR']
  5204. CompileC(ipath=IPATH, opts=OPTS, src='indexedFaceSet.cxx', obj='vrmlegg_indexedFaceSet.obj')
  5205. CompileC(ipath=IPATH, opts=OPTS, src='vrmlAppearance.cxx', obj='vrmlegg_vrmlAppearance.obj')
  5206. CompileC(ipath=IPATH, opts=OPTS, src='vrmlToEggConverter.cxx', obj='vrmlegg_vrmlToEggConverter.obj')
  5207. CompileLIB(lib='libvrmlegg.lib', obj=[
  5208. 'vrmlegg_indexedFaceSet.obj',
  5209. 'vrmlegg_vrmlAppearance.obj',
  5210. 'vrmlegg_vrmlToEggConverter.obj',
  5211. ])
  5212. #
  5213. # DIRECTORY: pandatool/src/xfile/
  5214. #
  5215. CompileBison(pre='xyy', dstc='xParser.cxx', dsth='xParser.h', src='pandatool/src/xfile/xParser.yxx')
  5216. CompileFlex(pre='xyy', dst='xLexer.cxx', src='pandatool/src/xfile/xLexer.lxx', dashi=1)
  5217. IPATH=['pandatool/src/xfile']
  5218. OPTS=['ZLIB', 'NSPR']
  5219. CompileC(ipath=IPATH, opts=OPTS, src='xfile_composite1.cxx', obj='xfile_composite1.obj')
  5220. CompileC(ipath=IPATH, opts=OPTS, src='xParser.cxx', obj='xfile_xParser.obj')
  5221. CompileC(ipath=IPATH, opts=OPTS, src='xLexer.cxx', obj='xfile_xLexer.obj')
  5222. CompileLIB(lib='libxfile.lib', obj=[
  5223. 'xfile_composite1.obj',
  5224. 'xfile_xParser.obj',
  5225. 'xfile_xLexer.obj',
  5226. ])
  5227. #
  5228. # DIRECTORY: pandatool/src/xfileegg/
  5229. #
  5230. IPATH=['pandatool/src/xfileegg', 'pandatool/src/xfile']
  5231. OPTS=['NSPR']
  5232. CompileC(ipath=IPATH, opts=OPTS, src='xfileegg_composite1.cxx', obj='xfileegg_composite1.obj')
  5233. CompileLIB(lib='libxfileegg.lib', obj=[
  5234. 'xfileegg_composite1.obj',
  5235. ])
  5236. #
  5237. # DIRECTORY: pandatool/src/ptloader/
  5238. #
  5239. IPATH=['pandatool/src/ptloader', 'pandatool/src/flt', 'pandatool/src/lwo', 'pandatool/src/xfile', 'pandatool/src/xfileegg']
  5240. OPTS=['BUILDING_PTLOADER', 'NSPR']
  5241. CompileC(ipath=IPATH, opts=OPTS, src='config_ptloader.cxx', obj='ptloader_config_ptloader.obj')
  5242. CompileC(ipath=IPATH, opts=OPTS, src='loaderFileTypePandatool.cxx', obj='ptloader_loaderFileTypePandatool.obj')
  5243. CompileLink(dll='libptloader.dll', opts=['ADVAPI', 'NSPR'], obj=[
  5244. 'ptloader_config_ptloader.obj',
  5245. 'ptloader_loaderFileTypePandatool.obj',
  5246. 'libfltegg.lib',
  5247. 'libflt.lib',
  5248. 'liblwoegg.lib',
  5249. 'liblwo.lib',
  5250. 'libdxfegg.lib',
  5251. 'libdxf.lib',
  5252. 'libvrmlegg.lib',
  5253. 'libpvrml.lib',
  5254. 'libxfileegg.lib',
  5255. 'libxfile.lib',
  5256. 'libconverter.lib',
  5257. 'libpandatoolbase.lib',
  5258. 'libeggbase.lib',
  5259. 'libprogbase.lib',
  5260. 'libpandaegg.dll',
  5261. 'libpanda.dll',
  5262. 'libpandaexpress.dll',
  5263. 'libdtoolconfig.dll',
  5264. 'libdtool.dll',
  5265. ])
  5266. #
  5267. # DIRECTORY: pandatool/src/mayaprogs/
  5268. #
  5269. for VER in ["5","6"]:
  5270. if (OMIT.count('MAYA'+VER)==0):
  5271. IPATH=['pandatool/src/mayaprogs', 'pandatool/src/maya', 'pandatool/src/mayaegg',
  5272. 'pandatool/src/cvscopy']
  5273. OPTS=['BUILDING_MISC', 'MAYA'+VER, 'NSPR']
  5274. CompileC(ipath=IPATH, opts=OPTS, src='config_mayaloader.cxx', obj='mayaloader'+VER+'_config_mayaloader.obj')
  5275. CompileLink(dll='libmayaloader'+VER+'.dll', opts=['ADVAPI', 'NSPR', 'MAYA'+VER], obj=[
  5276. 'mayaloader'+VER+'_config_mayaloader.obj',
  5277. 'libmayaegg'+VER+'.lib',
  5278. 'libptloader.lib',
  5279. 'libconverter.lib',
  5280. 'libpandatoolbase.lib',
  5281. 'libmaya'+VER+'.lib',
  5282. 'libfltegg.lib',
  5283. 'libflt.lib',
  5284. 'liblwoegg.lib',
  5285. 'liblwo.lib',
  5286. 'libdxfegg.lib',
  5287. 'libdxf.lib',
  5288. 'libvrmlegg.lib',
  5289. 'libpvrml.lib',
  5290. 'libxfileegg.lib',
  5291. 'libxfile.lib',
  5292. 'libeggbase.lib',
  5293. 'libprogbase.lib',
  5294. 'libpandaegg.dll',
  5295. 'libpanda.dll',
  5296. 'libpandaexpress.dll',
  5297. 'libdtoolconfig.dll',
  5298. 'libdtool.dll',
  5299. ])
  5300. CompileC(ipath=IPATH, opts=OPTS, src='mayaPview.cxx', obj='mayapview'+VER+'_mayaPview.obj')
  5301. CompileLink(dll='libmayapview'+VER+'.dll', opts=['ADVAPI', 'NSPR', 'MAYA'+VER], obj=[
  5302. 'mayapview'+VER+'_mayaPview.obj',
  5303. 'libmayaegg'+VER+'.lib',
  5304. 'libmaya'+VER+'.lib',
  5305. 'libconverter.lib',
  5306. 'libpandatoolbase.lib',
  5307. 'libpandaegg.dll',
  5308. 'libframework.dll',
  5309. 'libpanda.dll',
  5310. 'libpandaexpress.dll',
  5311. 'libdtoolconfig.dll',
  5312. 'libdtool.dll',
  5313. 'libpystub.dll',
  5314. ])
  5315. IPATH=['pandatool/src/mayaprogs', 'pandatool/src/maya', 'pandatool/src/mayaegg',
  5316. 'pandatool/src/cvscopy']
  5317. OPTS=['MAYA'+VER, 'NSPR']
  5318. CompileC(ipath=IPATH, opts=OPTS, src='mayaSavePview.cxx', obj='mayasavepview'+VER+'_mayaSavePview.obj')
  5319. CompileLink(dll='libmayasavepview.dll', opts=['ADVAPI', 'NSPR', 'MAYA'+VER], obj=[
  5320. 'mayasavepview'+VER+'_mayaSavePview.obj',
  5321. ])
  5322. CompileC(ipath=IPATH, opts=OPTS, src='mayaToEgg.cxx', obj='maya2egg'+VER+'_mayaToEgg.obj')
  5323. CompileLink(dll='maya2egg'+VER+'.exe', opts=['ADVAPI', 'NSPR', 'MAYA'+VER], obj=[
  5324. 'maya2egg'+VER+'_mayaToEgg.obj',
  5325. 'libmayaegg'+VER+'.lib',
  5326. 'libmaya'+VER+'.lib',
  5327. 'libeggbase.lib',
  5328. 'libprogbase.lib',
  5329. 'libconverter.lib',
  5330. 'libpandatoolbase.lib',
  5331. 'libpandaegg.dll',
  5332. 'libpanda.dll',
  5333. 'libpandaexpress.dll',
  5334. 'libdtoolconfig.dll',
  5335. 'libdtool.dll',
  5336. 'libpystub.dll',
  5337. ])
  5338. CompileC(ipath=IPATH, opts=OPTS, src='mayaCopy.cxx', obj='mayacopy'+VER+'_mayaCopy.obj')
  5339. CompileLink(dll='mayacopy'+VER+'.exe', opts=['ADVAPI', 'NSPR', 'MAYA'+VER], obj=[
  5340. 'mayacopy'+VER+'_mayaCopy.obj',
  5341. 'libcvscopy.lib',
  5342. 'libmaya'+VER+'.lib',
  5343. 'libprogbase.lib',
  5344. 'libpandatoolbase.lib',
  5345. 'libconverter.lib',
  5346. 'libpandaegg.dll',
  5347. 'libpanda.dll',
  5348. 'libpandaexpress.dll',
  5349. 'libdtoolconfig.dll',
  5350. 'libdtool.dll',
  5351. 'libpystub.dll',
  5352. ])
  5353. #
  5354. # DIRECTORY: pandatool/src/miscprogs/
  5355. #
  5356. IPATH=['pandatool/src/miscprogs']
  5357. OPTS=['NSPR']
  5358. CompileC(ipath=IPATH, opts=OPTS, src='binToC.cxx', obj='bin2c_binToC.obj')
  5359. CompileLink(dll='bin2c.exe', opts=['ADVAPI', 'NSPR'], obj=[
  5360. 'bin2c_binToC.obj',
  5361. 'libprogbase.lib',
  5362. 'libpandatoolbase.lib',
  5363. 'libpanda.dll',
  5364. 'libpandaexpress.dll',
  5365. 'libdtoolconfig.dll',
  5366. 'libdtool.dll',
  5367. 'libpystub.dll',
  5368. ])
  5369. #
  5370. # DIRECTORY: pandatool/src/pstatserver/
  5371. #
  5372. if OMIT.count("NSPR")==0:
  5373. IPATH=['pandatool/src/pstatserver']
  5374. OPTS=['NSPR']
  5375. CompileC(ipath=IPATH, opts=OPTS, src='pstatserver_composite1.cxx', obj='pstatserver_composite1.obj')
  5376. CompileLIB(lib='libpstatserver.lib', obj=[ 'pstatserver_composite1.obj' ])
  5377. #
  5378. # DIRECTORY: pandatool/src/softprogs/
  5379. #
  5380. IPATH=['pandatool/src/softprogs']
  5381. OPTS=['NSPR']
  5382. CompileC(ipath=IPATH, opts=OPTS, src='softCVS.cxx', obj='softcvs_softCVS.obj')
  5383. CompileC(ipath=IPATH, opts=OPTS, src='softFilename.cxx', obj='softcvs_softFilename.obj')
  5384. CompileLink(opts=['ADVAPI', 'NSPR'], dll='softcvs.exe', obj=[
  5385. 'softcvs_softCVS.obj',
  5386. 'softcvs_softFilename.obj',
  5387. 'libprogbase.lib',
  5388. 'libpandatoolbase.lib',
  5389. 'libpandaegg.dll',
  5390. 'libpanda.dll',
  5391. 'libpandaexpress.dll',
  5392. 'libdtoolconfig.dll',
  5393. 'libdtool.dll',
  5394. 'libpystub.dll',
  5395. ])
  5396. #
  5397. # DIRECTORY: pandatool/src/text-stats/
  5398. #
  5399. if OMIT.count("NSPR")==0:
  5400. IPATH=['pandatool/src/text-stats']
  5401. OPTS=['NSPR']
  5402. CompileC(ipath=IPATH, opts=OPTS, src='textMonitor.cxx', obj='text-stats_textMonitor.obj')
  5403. CompileC(ipath=IPATH, opts=OPTS, src='textStats.cxx', obj='text-stats_textStats.obj')
  5404. CompileLink(opts=['ADVAPI', 'NSPR'], dll='text-stats.exe', obj=[
  5405. 'text-stats_textMonitor.obj',
  5406. 'text-stats_textStats.obj',
  5407. 'libprogbase.lib',
  5408. 'libpstatserver.lib',
  5409. 'libpandatoolbase.lib',
  5410. 'libpandaegg.dll',
  5411. 'libpanda.dll',
  5412. 'libpandaexpress.dll',
  5413. 'libdtoolconfig.dll',
  5414. 'libdtool.dll',
  5415. 'libpystub.dll',
  5416. ])
  5417. #
  5418. # DIRECTORY: pandatool/src/vrmlprogs/
  5419. #
  5420. IPATH=['pandatool/src/vrmlprogs', 'pandatool/src/vrml', 'pandatool/src/vrmlegg']
  5421. OPTS=['NSPR']
  5422. CompileC(ipath=IPATH, opts=OPTS, src='vrmlTrans.cxx', obj='vrml-trans_vrmlTrans.obj')
  5423. CompileLink(opts=['ADVAPI', 'NSPR'], dll='vrml-trans.exe', obj=[
  5424. 'vrml-trans_vrmlTrans.obj',
  5425. 'libprogbase.lib',
  5426. 'libpvrml.lib',
  5427. 'libpandatoolbase.lib',
  5428. 'libpanda.dll',
  5429. 'libpandaexpress.dll',
  5430. 'libdtoolconfig.dll',
  5431. 'libdtool.dll',
  5432. 'libpystub.dll',
  5433. ])
  5434. CompileC(ipath=IPATH, opts=OPTS, src='vrmlToEgg.cxx', obj='vrml2egg_vrmlToEgg.obj')
  5435. CompileLink(opts=['ADVAPI', 'NSPR'], dll='vrml2egg.exe', obj=[
  5436. 'vrml2egg_vrmlToEgg.obj',
  5437. 'libvrmlegg.lib',
  5438. 'libpvrml.lib',
  5439. 'libeggbase.lib',
  5440. 'libprogbase.lib',
  5441. 'libpandatoolbase.lib',
  5442. 'libconverter.lib',
  5443. 'libpandaegg.dll',
  5444. 'libpanda.dll',
  5445. 'libpandaexpress.dll',
  5446. 'libdtoolconfig.dll',
  5447. 'libdtool.dll',
  5448. 'libpystub.dll',
  5449. ])
  5450. #
  5451. # DIRECTORY: pandatool/src/win-stats/
  5452. #
  5453. if (OMIT.count("NSPR")==0) and (sys.platform == "win32"):
  5454. IPATH=['pandatool/src/win-stats']
  5455. OPTS=['NSPR']
  5456. CompileC(ipath=IPATH, opts=OPTS, src='winstats_composite1.cxx', obj='pstats_composite1.obj')
  5457. CompileLink(opts=['WINSOCK', 'WINIMM', 'WINGDI', 'WINKERNEL', 'WINOLDNAMES', 'WINUSER', 'WINMM', 'NSPR'],
  5458. dll='pstats.exe', obj=[
  5459. 'pstats_composite1.obj',
  5460. 'libprogbase.lib',
  5461. 'libpstatserver.lib',
  5462. 'libpandatoolbase.lib',
  5463. 'libpandaexpress.dll',
  5464. 'libpanda.dll',
  5465. 'libdtoolconfig.dll',
  5466. 'libdtool.dll',
  5467. 'libpystub.dll',
  5468. ])
  5469. #
  5470. # DIRECTORY: pandatool/src/xfileprogs/
  5471. #
  5472. IPATH=['pandatool/src/xfileprogs', 'pandatool/src/xfile', 'pandatool/src/xfileegg']
  5473. OPTS=['NSPR']
  5474. CompileC(ipath=IPATH, opts=OPTS, src='eggToX.cxx', obj='egg2x_eggToX.obj')
  5475. CompileLink(dll='egg2x.exe', opts=['ADVAPI', 'NSPR'], obj=[
  5476. 'egg2x_eggToX.obj',
  5477. 'libxfileegg.lib',
  5478. 'libxfile.lib',
  5479. 'libeggbase.lib',
  5480. 'libprogbase.lib',
  5481. 'libpandatoolbase.lib',
  5482. 'libconverter.lib',
  5483. 'libpandaegg.dll',
  5484. 'libpanda.dll',
  5485. 'libpandaexpress.dll',
  5486. 'libdtoolconfig.dll',
  5487. 'libdtool.dll',
  5488. 'libpystub.dll',
  5489. ])
  5490. CompileC(ipath=IPATH, opts=OPTS, src='xFileTrans.cxx', obj='x-trans_xFileTrans.obj')
  5491. CompileLink(dll='x-trans.exe', opts=['ADVAPI', 'NSPR'], obj=[
  5492. 'x-trans_xFileTrans.obj',
  5493. 'libprogbase.lib',
  5494. 'libxfile.lib',
  5495. 'libpandatoolbase.lib',
  5496. 'libpanda.dll',
  5497. 'libpandaexpress.dll',
  5498. 'libdtoolconfig.dll',
  5499. 'libdtool.dll',
  5500. 'libpystub.dll',
  5501. ])
  5502. CompileC(ipath=IPATH, opts=OPTS, src='xFileToEgg.cxx', obj='x2egg_xFileToEgg.obj')
  5503. CompileLink(opts=['ADVAPI', 'NSPR'], dll='x2egg.exe', obj=[
  5504. 'x2egg_xFileToEgg.obj',
  5505. 'libxfileegg.lib',
  5506. 'libxfile.lib',
  5507. 'libconverter.lib',
  5508. 'libeggbase.lib',
  5509. 'libprogbase.lib',
  5510. 'libpandatoolbase.lib',
  5511. 'libpandaegg.dll',
  5512. 'libpanda.dll',
  5513. 'libpandaexpress.dll',
  5514. 'libdtoolconfig.dll',
  5515. 'libdtool.dll',
  5516. 'libpystub.dll',
  5517. ])
  5518. #
  5519. # DIRECTORY: pandaapp/src/pandaappbase/
  5520. #
  5521. IPATH=['pandaapp/src/pandaappbase']
  5522. OPTS=['NSPR']
  5523. CompileC(ipath=IPATH, opts=OPTS, src='pandaappbase.cxx', obj='pandaappbase_pandaappbase.obj')
  5524. CompileLIB(lib='libpandaappbase.lib', obj=['pandaappbase_pandaappbase.obj'])
  5525. #
  5526. # DIRECTORY: pandaapp/src/httpbackup/
  5527. #
  5528. if OMIT.count("SSL")==0:
  5529. IPATH=['pandaapp/src/httpbackup', 'pandaapp/src/pandaappbase']
  5530. OPTS=['SSL', 'NSPR']
  5531. CompileC(ipath=IPATH, opts=OPTS, src='backupCatalog.cxx', obj='httpbackup_backupCatalog.obj')
  5532. CompileC(ipath=IPATH, opts=OPTS, src='httpBackup.cxx', obj='httpbackup_httpBackup.obj')
  5533. CompileLink(opts=['ADVAPI', 'NSPR', 'SSL'], dll='httpbackup.exe', obj=[
  5534. 'httpbackup_backupCatalog.obj',
  5535. 'httpbackup_httpBackup.obj',
  5536. 'libpandaappbase.lib',
  5537. 'libpandaexpress.dll',
  5538. 'libpanda.dll',
  5539. 'libdtool.dll',
  5540. 'libdtoolconfig.dll',
  5541. 'libprogbase.lib',
  5542. 'libpandatoolbase.lib',
  5543. 'libpystub.dll',
  5544. ])
  5545. #
  5546. # DIRECTORY: pandaapp/src/indexify/
  5547. #
  5548. if OMIT.count("FREETYPE")==0:
  5549. IPATH=['pandaapp/src/indexify']
  5550. OPTS=['NSPR', 'FREETYPE']
  5551. CompileC(ipath=IPATH, opts=OPTS, src='default_font.cxx', obj='font-samples_default_font.obj')
  5552. CompileC(ipath=IPATH, opts=OPTS, src='fontSamples.cxx', obj='font-samples_fontSamples.obj')
  5553. CompileLink(opts=['ADVAPI', 'NSPR', 'FREETYPE'], dll='font-samples.exe', obj=[
  5554. 'font-samples_default_font.obj',
  5555. 'font-samples_fontSamples.obj',
  5556. 'libpanda.dll',
  5557. 'libpandaexpress.dll',
  5558. 'libdtool.dll',
  5559. 'libdtoolconfig.dll',
  5560. 'libprogbase.lib',
  5561. 'libpandatoolbase.lib',
  5562. 'libpystub.dll',
  5563. ])
  5564. CompileC(ipath=IPATH, opts=OPTS, src='default_index_icons.cxx', obj='indexify_default_index_icons.obj')
  5565. CompileC(ipath=IPATH, opts=OPTS, src='default_font.cxx', obj='indexify_default_font.obj')
  5566. CompileC(ipath=IPATH, opts=OPTS, src='indexImage.cxx', obj='indexify_indexImage.obj')
  5567. CompileC(ipath=IPATH, opts=OPTS, src='indexParameters.cxx', obj='indexify_indexParameters.obj')
  5568. CompileC(ipath=IPATH, opts=OPTS, src='indexify.cxx', obj='indexify_indexify.obj')
  5569. CompileC(ipath=IPATH, opts=OPTS, src='photo.cxx', obj='indexify_photo.obj')
  5570. CompileC(ipath=IPATH, opts=OPTS, src='rollDirectory.cxx', obj='indexify_rollDirectory.obj')
  5571. CompileLink(opts=['ADVAPI', 'NSPR', 'FREETYPE'], dll='indexify.exe', obj=[
  5572. 'indexify_default_index_icons.obj',
  5573. 'indexify_default_font.obj',
  5574. 'indexify_indexImage.obj',
  5575. 'indexify_indexParameters.obj',
  5576. 'indexify_indexify.obj',
  5577. 'indexify_photo.obj',
  5578. 'indexify_rollDirectory.obj',
  5579. 'libpanda.dll',
  5580. 'libpandaexpress.dll',
  5581. 'libdtool.dll',
  5582. 'libdtoolconfig.dll',
  5583. 'libprogbase.lib',
  5584. 'libpandatoolbase.lib',
  5585. 'libpystub.dll',
  5586. ])
  5587. #
  5588. # DIRECTORY: pandaapp/src/stitchbase/
  5589. #
  5590. CompileBison(pre='stitchyy', dstc='stitchParser.cxx', dsth='stitchParser.h', src='pandaapp/src/stitchbase/stitchParser.yxx')
  5591. CompileFlex(pre='stitchyy', dst='stitchLexer.cxx', src='pandaapp/src/stitchbase/stitchLexer.lxx', dashi=1)
  5592. IPATH=['pandaapp/src/stitchbase', 'pandaapp/src/pandaappbase']
  5593. OPTS=['NSPR']
  5594. CompileC(ipath=IPATH, opts=OPTS, src='stitchbase_composite1.cxx', obj='stitchbase_composite1.obj')
  5595. CompileC(ipath=IPATH, opts=OPTS, src='stitchbase_composite2.cxx', obj='stitchbase_composite2.obj')
  5596. CompileC(ipath=IPATH, opts=OPTS, src='stitchParser.cxx', obj='stitchbase_stitchParser.obj')
  5597. CompileC(ipath=IPATH, opts=OPTS, src='stitchLexer.cxx', obj='stitchbase_stitchLexer.obj')
  5598. CompileLIB(lib='libstitchbase.lib', obj=[
  5599. 'stitchbase_composite1.obj',
  5600. 'stitchbase_composite2.obj',
  5601. 'stitchbase_stitchParser.obj',
  5602. 'stitchbase_stitchLexer.obj',
  5603. ])
  5604. #
  5605. # DIRECTORY: pandaapp/src/stitch/
  5606. #
  5607. IPATH=['pandaapp/src/stitch', 'pandaapp/src/stitchbase', 'pandaapp/src/pandaappbase']
  5608. OPTS=['NSPR']
  5609. CompileC(ipath=IPATH, opts=OPTS, src='stitchCommandProgram.cxx', obj='stitch-command_stitchCommandProgram.obj')
  5610. CompileLink(opts=['ADVAPI', 'NSPR', 'FFTW'], dll='stitch-command.exe', obj=[
  5611. 'stitch-command_stitchCommandProgram.obj',
  5612. 'libstitchbase.lib',
  5613. 'libpandaappbase.lib',
  5614. 'libpanda.dll',
  5615. 'libpandaexpress.dll',
  5616. 'libdtoolconfig.dll',
  5617. 'libdtool.dll',
  5618. 'libprogbase.lib',
  5619. 'libpandatoolbase.lib',
  5620. 'libconverter.lib',
  5621. 'libpystub.dll',
  5622. ])
  5623. CompileC(ipath=IPATH, opts=OPTS, src='stitchImageProgram.cxx', obj='stitch-image_stitchImageProgram.obj')
  5624. CompileLink(opts=['ADVAPI', 'NSPR', 'FFTW'], dll='stitch-image.exe', obj=[
  5625. 'stitch-image_stitchImageProgram.obj',
  5626. 'libstitchbase.lib',
  5627. 'libpandaappbase.lib',
  5628. 'libpanda.dll',
  5629. 'libpandaexpress.dll',
  5630. 'libdtoolconfig.dll',
  5631. 'libdtool.dll',
  5632. 'libprogbase.lib',
  5633. 'libpandatoolbase.lib',
  5634. 'libconverter.lib',
  5635. 'libpystub.dll',
  5636. ])
  5637. ##########################################################################################
  5638. #
  5639. # Copy Sounds, Icons, and Models into the build.
  5640. #
  5641. ##########################################################################################
  5642. MakeDirectory(PREFIX+"/audio")
  5643. MakeDirectory(PREFIX+"/audio/sfx")
  5644. MakeDirectory(PREFIX+"/icons")
  5645. MakeDirectory(PREFIX+"/maps")
  5646. MakeDirectory(PREFIX+"/models")
  5647. MakeDirectory(PREFIX+"/models/misc")
  5648. MakeDirectory(PREFIX+"/models/gui")
  5649. CopyAllFiles(PREFIX+"/audio/sfx/", "dmodels/src/audio/sfx/", ".wav")
  5650. CopyAllFiles(PREFIX+"/icons/", "dmodels/src/icons/", ".gif")
  5651. CopyAllFiles(PREFIX+"/models/", "models/", ".egg")
  5652. CopyAllFiles(PREFIX+"/models/", "models/", ".bam")
  5653. CopyAllFiles(PREFIX+"/maps/", "models/maps/", ".jpg")
  5654. CopyAllFiles(PREFIX+"/maps/", "models/maps/", ".png")
  5655. CopyAllFiles(PREFIX+"/maps/", "models/maps/", ".rgb")
  5656. CopyAllFiles(PREFIX+"/maps/", "models/maps/", ".rgba")
  5657. CopyAllFiles(PREFIX+"/maps/", "dmodels/src/maps/", ".jpg")
  5658. CopyAllFiles(PREFIX+"/maps/", "dmodels/src/maps/", ".png")
  5659. CopyAllFiles(PREFIX+"/maps/", "dmodels/src/maps/", ".rgb")
  5660. CopyAllFiles(PREFIX+"/maps/", "dmodels/src/maps/", ".rgba")
  5661. CompileBAM("../=", PREFIX+"/models/gui/dialog_box_gui.bam", "dmodels/src/gui/dialog_box_gui.flt")
  5662. CompileBAM("../=", PREFIX+"/models/misc/camera.bam", "dmodels/src/misc/camera.flt")
  5663. CompileBAM("../=", PREFIX+"/models/misc/fade.bam", "dmodels/src/misc/fade.flt")
  5664. CompileBAM("../=", PREFIX+"/models/misc/fade_sphere.bam", "dmodels/src/misc/fade_sphere.flt")
  5665. CompileBAM("../=", PREFIX+"/models/misc/gridBack.bam", "dmodels/src/misc/gridBack.flt")
  5666. CompileBAM("../=", PREFIX+"/models/misc/iris.bam", "dmodels/src/misc/iris.flt")
  5667. CompileBAM("../=", PREFIX+"/models/misc/lilsmiley.bam", "dmodels/src/misc/lilsmiley.egg")
  5668. CompileBAM("../=", PREFIX+"/models/misc/objectHandles.bam", "dmodels/src/misc/objectHandles.flt")
  5669. CompileBAM("../=", PREFIX+"/models/misc/rgbCube.bam", "dmodels/src/misc/rgbCube.flt")
  5670. CompileBAM("../=", PREFIX+"/models/misc/smiley.bam", "dmodels/src/misc/smiley.egg")
  5671. CompileBAM("../=", PREFIX+"/models/misc/sphere.bam", "dmodels/src/misc/sphere.flt")
  5672. CompileBAM("../=", PREFIX+"/models/misc/xyzAxis.bam", "dmodels/src/misc/xyzAxis.flt")
  5673. CompileBAM("../=", PREFIX+"/models/misc/Pointlight.bam", "dmodels/src/misc/Pointlight.egg")
  5674. CompileBAM("../=", PREFIX+"/models/misc/Dirlight.bam", "dmodels/src/misc/Dirlight.egg")
  5675. CompileBAM("../=", PREFIX+"/models/misc/Spotlight.bam", "dmodels/src/misc/Spotlight.egg")
  5676. ##########################################################################################
  5677. #
  5678. # Run genpycode
  5679. #
  5680. ##########################################################################################
  5681. if (older(PREFIX+'/pandac/PandaModules.pyz',xpaths(PREFIX+"/pandac/input/",ALLIN,""))):
  5682. ALLTARGETS.append(PREFIX+'/pandac/PandaModules.pyz')
  5683. if (sys.platform=="win32"):
  5684. oscmd(PREFIX+"/bin/genpycode.exe")
  5685. else:
  5686. oscmd(PREFIX+"/bin/genpycode")
  5687. updatefiledate(PREFIX+'/pandac/PandaModules.pyz')
  5688. ########################################################################
  5689. ##
  5690. ## Save the CXX include-cache for next time.
  5691. ##
  5692. ########################################################################
  5693. try: icache = open(iCachePath,'wb')
  5694. except: icache = 0
  5695. if (icache!=0):
  5696. cPickle.dump(CxxIncludeCache, icache, 1)
  5697. icache.close()
  5698. ##########################################################################################
  5699. #
  5700. # 'Complete' mode.
  5701. #
  5702. # Copies the samples and direct into the build. Note that
  5703. # this isn't usually what you want. It is usually better to let the
  5704. # compiled panda load this stuff directly from the source tree.
  5705. # The only time you really want to do this is if you plan to move
  5706. # the build somewhere and leave the source tree behind.
  5707. #
  5708. ##########################################################################################
  5709. if (COMPLETE):
  5710. CopyFile(PREFIX+'/', 'InstallerNotes')
  5711. CopyFile(PREFIX+'/', 'LICENSE')
  5712. CopyFile(PREFIX+'/', 'README')
  5713. CopyTree(PREFIX+'/samples', 'samples')
  5714. CopyTree(PREFIX+'/direct/src', 'direct/src')
  5715. CopyTree(PREFIX+'/SceneEditor', 'SceneEditor')
  5716. ##########################################################################################
  5717. #
  5718. # The Installers
  5719. #
  5720. ##########################################################################################
  5721. if (sys.platform == "win32"):
  5722. def MakeInstaller(file,fullname,smdirectory,uninstallkey,installdir,ppgame):
  5723. if (older(file, ALLTARGETS)):
  5724. print "Building "+fullname+" installer. This can take up to an hour."
  5725. if (COMPRESSOR != "lzma"):
  5726. print("Note: you are using zlib, which is faster, but lzma gives better compression.")
  5727. if (os.path.exists(file)):
  5728. os.remove(file)
  5729. if (os.path.exists("nsis-output.exe")):
  5730. os.remove("nsis-output.exe")
  5731. def0 = '/DCOMPRESSOR="' + COMPRESSOR + '" '
  5732. def1 = '/DFULLNAME="' + fullname + '" '
  5733. def2 = '/DSMDIRECTORY="' + smdirectory + '" '
  5734. def3 = '/DUNINSTALLKEY="' + uninstallkey + '" '
  5735. def4 = '/DINSTALLDIR="' + installdir + '" '
  5736. def5 = ''
  5737. if (ppgame): def5 = '/DPPGAME="' + ppgame + '" '
  5738. oscmd("thirdparty/win-nsis/makensis.exe /V2 "+def0+def1+def2+def3+def4+def5+" thirdparty/win-nsis/panda.nsi")
  5739. os.rename("nsis-output.exe", file)
  5740. if (INSTALLER!=0):
  5741. MakeInstaller("Panda3D-"+VERSION+".exe", "Panda3D", "Panda3D "+VERSION,
  5742. "Panda3D "+VERSION, "C:\\Panda3D-"+VERSION, 0)
  5743. if (PPGAME!=0):
  5744. if (os.path.isdir(PPGAME)==0):
  5745. sys.exit("No such directory "+PPGAME)
  5746. if (os.path.exists(os.path.join(PPGAME,PPGAME+".py"))==0):
  5747. sys.exit("No such file "+PPGAME+"/"+PPGAME+".py")
  5748. MakeInstaller(PPGAME+"-"+VERSION+".exe", PPGAME, PPGAME,
  5749. PPGAME+" "+VERSION, "C:\\"+PPGAME+"-"+VERSION, PPGAME)
  5750. ##########################################################################################
  5751. #
  5752. # Print final status report.
  5753. #
  5754. ##########################################################################################
  5755. WARNINGS.append("Elapsed Time: "+prettyTime(time.time() - STARTTIME))
  5756. printStatus("Makepanda Final Status Report", WARNINGS)