makepanda.py 297 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099
  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. COMPLETE=0
  173. THIRDPARTY=""
  174. VERSION="0.0.0"
  175. VERBOSE=1
  176. COMPRESSOR="zlib"
  177. PACKAGES=["ZLIB","PNG","JPEG","TIFF","VRPN","FMOD","NVIDIACG","HELIX","NSPR",
  178. "SSL","FREETYPE","FFTW","MILES","MAYA5","MAYA6","MAX5","MAX6","MAX7"]
  179. OMIT=PACKAGES[:]
  180. WARNINGS=[]
  181. DIRECTXSDK=None
  182. STARTTIME=time.time()
  183. ##########################################################################################
  184. #
  185. # Read the default version number out of dtool/PandaVersion.pp
  186. #
  187. ##########################################################################################
  188. try:
  189. f = file("dtool/PandaVersion.pp","r")
  190. pattern = re.compile('^[ \t]*[#][ \t]*define[ \t]+PANDA_VERSION[ \t]+([0-9]+)[ \t]+([0-9]+)[ \t]+([0-9]+)')
  191. for line in f:
  192. match = pattern.match(line,0)
  193. if (match):
  194. VERSION = match.group(1)+"."+match.group(2)+"."+match.group(3)
  195. break
  196. f.close()
  197. except: pass
  198. ##########################################################################################
  199. #
  200. # Initialize DTOOLCONFIG based on platform (Win/Unix)
  201. #
  202. # These are the defaults for the two broad classes of operating system.
  203. # Subsequent analysis will cause these values to be tweaked.
  204. #
  205. ##########################################################################################
  206. DTOOLDEFAULTS=[
  207. #_Variable_________________________Windows___________________Unix__________
  208. ("HAVE_PYTHON", '1', '1'),
  209. ("PYTHON_FRAMEWORK", 'UNDEF', 'UNDEF'),
  210. ("COMPILE_IN_DEFAULT_FONT", '1', '1'),
  211. ("HAVE_MAYA", '1', '1'),
  212. ("MAYA_PRE_5_0", 'UNDEF', 'UNDEF'),
  213. ("HAVE_SOFTIMAGE", 'UNDEF', 'UNDEF'),
  214. ("SSL_097", 'UNDEF', 'UNDEF'),
  215. ("REPORT_OPENSSL_ERRORS", '1', '1'),
  216. ("HAVE_GL", '1', '1'),
  217. ("HAVE_MESA", 'UNDEF', 'UNDEF'),
  218. ("MESA_MGL", 'UNDEF', 'UNDEF'),
  219. ("HAVE_SGIGL", 'UNDEF', 'UNDEF'),
  220. ("HAVE_GLX", 'UNDEF', '1'),
  221. ("HAVE_WGL", '1', 'UNDEF'),
  222. ("HAVE_DX", '1', 'UNDEF'),
  223. ("HAVE_CHROMIUM", 'UNDEF', 'UNDEF'),
  224. ("HAVE_THREADS", 'UNDEF', 'UNDEF'),
  225. ("HAVE_AUDIO", '1', '1'),
  226. ("NOTIFY_DEBUG", 'UNDEF', 'UNDEF'),
  227. ("DO_PSTATS", 'UNDEF', 'UNDEF'),
  228. ("DO_COLLISION_RECORDING", 'UNDEF', 'UNDEF'),
  229. ("TRACK_IN_INTERPRETER", 'UNDEF', 'UNDEF'),
  230. ("DO_MEMORY_USAGE", 'UNDEF', 'UNDEF'),
  231. ("DO_PIPELINING", 'UNDEF', 'UNDEF'),
  232. ("EXPORT_TEMPLATES", 'yes', 'yes'),
  233. ("LINK_IN_GL", 'UNDEF', 'UNDEF'),
  234. ("LINK_IN_PHYSICS", 'UNDEF', 'UNDEF'),
  235. ("DEFAULT_PATHSEP", '";"', '":"'),
  236. ("DEFAULT_PRC_DIR", '"<auto>etc"', '"<auto>etc"'),
  237. ("PRC_DIR_ENVVARS", '"PANDA_PRC_DIR"', '"PANDA_PRC_DIR"'),
  238. ("PRC_PATH_ENVVARS", '"PANDA_PRC_PATH"', '"PANDA_PRC_PATH"'),
  239. ("PRC_PATTERNS", '"*.prc"', '"*.prc"'),
  240. ("PRC_EXECUTABLE_PATTERNS", '""', '""'),
  241. ("PRC_EXECUTABLE_ARGS_ENVVAR", '"PANDA_PRC_XARGS"', '"PANDA_PRC_XARGS"'),
  242. ("PRC_PUBLIC_KEYS_FILENAME", '""', '""'),
  243. ("PRC_RESPECT_TRUST_LEVEL", 'UNDEF', 'UNDEF'),
  244. ("PRC_SAVE_DESCRIPTIONS", '1', '1'),
  245. ("WORDS_BIGENDIAN", 'UNDEF', 'UNDEF'),
  246. ("HAVE_NAMESPACE", '1', '1'),
  247. ("HAVE_OPEN_MASK", 'UNDEF', 'UNDEF'),
  248. ("HAVE_WCHAR_T", '1', '1'),
  249. ("HAVE_WSTRING", '1', '1'),
  250. ("HAVE_TYPENAME", '1', '1'),
  251. ("SIMPLE_STRUCT_POINTERS", '1', 'UNDEF'),
  252. ("HAVE_DINKUM", 'UNDEF', 'UNDEF'),
  253. ("HAVE_STL_HASH", 'UNDEF', 'UNDEF'),
  254. ("HAVE_GETTIMEOFDAY", 'UNDEF', '1'),
  255. ("GETTIMEOFDAY_ONE_PARAM", 'UNDEF', 'UNDEF'),
  256. ("HAVE_GETOPT", 'UNDEF', '1'),
  257. ("HAVE_GETOPT_LONG_ONLY", 'UNDEF', '1'),
  258. ("HAVE_GETOPT_H", 'UNDEF', '1'),
  259. ("IOCTL_TERMINAL_WIDTH", 'UNDEF', '1'),
  260. ("HAVE_STREAMSIZE", '1', '1'),
  261. ("HAVE_IOS_TYPEDEFS", '1', '1'),
  262. ("HAVE_IOS_BINARY", '1', '1'),
  263. ("STATIC_INIT_GETENV", '1', 'UNDEF'),
  264. ("HAVE_PROC_SELF_EXE", 'UNDEF', '1'),
  265. ("HAVE_PROC_SELF_MAPS", 'UNDEF', '1'),
  266. ("HAVE_PROC_SELF_ENVIRON", 'UNDEF', '1'),
  267. ("HAVE_PROC_SELF_CMDLINE", 'UNDEF', '1'),
  268. ("HAVE_GLOBAL_ARGV", '1', 'UNDEF'),
  269. ("PROTOTYPE_GLOBAL_ARGV", 'UNDEF', 'UNDEF'),
  270. ("GLOBAL_ARGV", '__argv', 'UNDEF'),
  271. ("GLOBAL_ARGC", '__argc', 'UNDEF'),
  272. ("HAVE_IO_H", '1', 'UNDEF'),
  273. ("HAVE_IOSTREAM", '1', '1'),
  274. ("HAVE_MALLOC_H", '1', '1'),
  275. ("HAVE_SYS_MALLOC_H", 'UNDEF', 'UNDEF'),
  276. ("HAVE_ALLOCA_H", 'UNDEF', '1'),
  277. ("HAVE_LOCALE_H", 'UNDEF', '1'),
  278. ("HAVE_MINMAX_H", '1', 'UNDEF'),
  279. ("HAVE_SSTREAM", '1', '1'),
  280. ("HAVE_NEW", '1', '1'),
  281. ("HAVE_SYS_TYPES_H", '1', '1'),
  282. ("HAVE_SYS_TIME_H", 'UNDEF', '1'),
  283. ("HAVE_UNISTD_H", 'UNDEF', '1'),
  284. ("HAVE_UTIME_H", 'UNDEF', '1'),
  285. ("HAVE_GLOB_H", 'UNDEF', '1'),
  286. ("HAVE_DIRENT_H", 'UNDEF', '1'),
  287. ("HAVE_SYS_SOUNDCARD_H", 'UNDEF', '1'),
  288. ("HAVE_RTTI", '1', '1'),
  289. ("GLOBAL_OPERATOR_NEW_EXCEPTIONS", 'UNDEF', '1'),
  290. ("OLD_STYLE_ALLOCATOR", 'UNDEF', 'UNDEF'),
  291. ("GNU_STYLE_ALLOCATOR", 'UNDEF', '1'),
  292. ("VC6_STYLE_ALLOCATOR", 'UNDEF', 'UNDEF'),
  293. ("MODERN_STYLE_ALLOCATOR", 'UNDEF', 'UNDEF'),
  294. ("NO_STYLE_ALLOCATOR", '1', 'UNDEF'),
  295. ("HAVE_ZLIB", 'UNDEF', 'UNDEF'),
  296. ("HAVE_PNG", 'UNDEF', 'UNDEF'),
  297. ("HAVE_JPEG", 'UNDEF', 'UNDEF'),
  298. ("HAVE_TIFF", 'UNDEF', 'UNDEF'),
  299. ("HAVE_VRPN", 'UNDEF', 'UNDEF'),
  300. ("HAVE_FMOD", 'UNDEF', 'UNDEF'),
  301. ("HAVE_NVIDIACG", 'UNDEF', 'UNDEF'),
  302. ("HAVE_NSPR", 'UNDEF', 'UNDEF'),
  303. ("HAVE_FREETYPE", 'UNDEF', 'UNDEF'),
  304. ("HAVE_FFTW", 'UNDEF', 'UNDEF'),
  305. ("HAVE_SSL", 'UNDEF', 'UNDEF'),
  306. ("HAVE_NET", 'UNDEF', 'UNDEF'),
  307. ]
  308. DTOOLCONFIG={}
  309. if (sys.platform == "win32"):
  310. for key,win,unix in DTOOLDEFAULTS:
  311. DTOOLCONFIG[key] = win
  312. else:
  313. for key,win,unix in DTOOLDEFAULTS:
  314. DTOOLCONFIG[key] = unix
  315. ########################################################################
  316. ##
  317. ## Help with packages.
  318. ##
  319. ## Output some brief information to help someone understand what the
  320. ## package options are.
  321. ##
  322. ########################################################################
  323. def packageInfo():
  324. print """
  325. See panda3d/doc/INSTALL-PP for more detailed information.
  326. 3D modeling an painting packages:
  327. MAX5 3D Studio Max version 5
  328. MAX6 3D Studio Max version 6
  329. MAX7 3D Studio Max version 7
  330. "uri?"
  331. (for .??? files)
  332. MAYA5 Maya version 5
  333. MAYA6 Maya version 6
  334. "uri?"
  335. (for .??? files)
  336. Audio playback:
  337. FMOD f mod
  338. "http://www.fmod.org/"
  339. A music and sound effects library (including playback).
  340. (for .wav, .mp3 and other files)
  341. MILES Miles Sound System from RAD Game Tools
  342. "http://www.radgametools.com/default.htm"
  343. A proprietary (non-opensource) audio library.
  344. (for .wav, .mp3, and other files).
  345. Compression/decompression:
  346. ZLIB z lib
  347. "http://www.gzip.org/zlib"
  348. A commression/decomression library.
  349. (for .zip and similar files and data)
  350. Font manipulation:
  351. FREETYPE free type
  352. "http://www.freetype.org/"
  353. A font manipulation library.
  354. (for .ttf files).
  355. Image support libraries:
  356. JPEG Join Photographic Experts Group
  357. "http://www.ijg.org"
  358. An image library.
  359. (.jpg and .jpeg files)
  360. PNG Portable Network Graphics
  361. "http://www.libpng.org"
  362. An image library.
  363. (.png files)
  364. TIFF Tagged Image File Format
  365. "ftp://ftp.sgi.com/graphics/tiff"
  366. An image library.
  367. (.tiff files)
  368. Misc libraries:
  369. HELIX
  370. "uri?"
  371. (for .??? files)
  372. A ??? library.
  373. FFTW Fast Fourier Transform (in the West)
  374. "http://www.fftw.org/"
  375. A library for computing DFT in one or more dimensions.
  376. NVIDIACG nVidia cg
  377. "http://developer.nvidia.com/page/cg_main.html"
  378. (for .??? files)
  379. A library for gpu programming (shaders and such).
  380. Network communication:
  381. SSL Open Secure Socket Layer
  382. "http://www.openssl.org/"
  383. A network encryption library.
  384. NSPR Netscape Portable Runtime
  385. "http://www.mozilla.org/projects/nspr/"
  386. Used for network sockets and threading.
  387. User input:
  388. VRPN Virtual Reality Peripheral Network
  389. "http://www.cs.unc.edu/Research/vrpn/"
  390. A controller/peripheral input library.
  391. """
  392. sys.exit(1)
  393. ########################################################################
  394. ##
  395. ## Command-line parser.
  396. ##
  397. ## You can type "makepanda --help" to see all the options.
  398. ##
  399. ########################################################################
  400. def usage(problem):
  401. if (problem):
  402. print ""
  403. print problem
  404. print ""
  405. print "Makepanda generates a 'built' subdirectory containing a"
  406. print "compiled copy of Panda3D. Command-line arguments are:"
  407. print ""
  408. print " --help (print the help message you're reading now)"
  409. print " --package-info (help info about the optional packages)"
  410. print " --prefix X (install into prefix dir, default \"built\")"
  411. print " --compiler X (currently, compiler can only be MSVC7,LINUXA)"
  412. print " --optimize X (optimization level can be 1,2,3,4)"
  413. print " --thirdparty X (directory containing third-party software)"
  414. print " --complete (copy models, samples, direct into the build)"
  415. print " --installer (build an executable installer)"
  416. print " --v1 X (set the major version number)"
  417. print " --v2 X (set the minor version number)"
  418. print " --v3 X (set the sequence version number)"
  419. print " --lzma (use lzma compression when building installer)"
  420. print ""
  421. for pkg in PACKAGES:
  422. p = pkg.lower()
  423. print " --use-%-9s --no-%-9s (enable/disable use of %s)"%(p, p, pkg)
  424. print ""
  425. print " --nothing (disable every third-party lib)"
  426. print " --everything (enable every third-party lib)"
  427. print ""
  428. print " --quiet (print less output)"
  429. print " --verbose (print more output and debugging info)"
  430. print ""
  431. print "The simplest way to compile panda is to just type:"
  432. print ""
  433. print " makepanda --everything"
  434. print ""
  435. sys.exit(1)
  436. def parseopts(args):
  437. global PREFIX,COMPILER,OPTIMIZE,OMIT,THIRDPARTY,INSTALLER
  438. global COPYEXTRAS,VERSION,COMPRESSOR,DIRECTXSDK,VERBOSE
  439. longopts = [
  440. "help","package-info","prefix=","compiler=","directx-sdk=","thirdparty=",
  441. "optimize=","everything","nothing","installer","quiet","verbose",
  442. "complete","version=","lzma"]
  443. anything = 0
  444. for pkg in PACKAGES: longopts.append("no-"+pkg.lower())
  445. for pkg in PACKAGES: longopts.append("use-"+pkg.lower())
  446. try:
  447. opts, extras = getopt.getopt(args, "", longopts)
  448. for option,value in opts:
  449. if (option=="--help"): raise "usage"
  450. elif (option=="--package-info"): raise "package-info"
  451. elif (option=="--prefix"): PREFIX=value
  452. elif (option=="--compiler"): COMPILER=value
  453. elif (option=="--directx-sdk"): DIRECTXSDK=value
  454. elif (option=="--thirdparty"): THIRDPARTY=value+"/"
  455. elif (option=="--optimize"): OPTIMIZE=value
  456. elif (option=="--quiet"): VERBOSE-=1
  457. elif (option=="--verbose"): VERBOSE+=1
  458. elif (option=="--installer"): INSTALLER=1
  459. elif (option=="--complete"): COMPLETE=1
  460. elif (option=="--everything"): OMIT=[]
  461. elif (option=="--nothing"): OMIT=PACKAGES[:]
  462. elif (option=="--version"):
  463. VERSION=value
  464. if (len(VERSION.split(".")) != 3): raise "usage"
  465. elif (option=="--lzma"): COMPRESSOR="lzma"
  466. else:
  467. for pkg in PACKAGES:
  468. if (option=="--use-"+pkg.lower()):
  469. if (OMIT.count(pkg)): OMIT.remove(pkg)
  470. break
  471. for pkg in PACKAGES:
  472. if (option=="--no-"+pkg.lower()):
  473. if (OMIT.count(pkg)==0): OMIT.append(pkg)
  474. break
  475. anything = 1
  476. except "package-info": packageInfo()
  477. except: usage(0)
  478. if (anything==0): usage(0)
  479. if (OPTIMIZE=="1"): OPTIMIZE=1
  480. elif (OPTIMIZE=="2"): OPTIMIZE=2
  481. elif (OPTIMIZE=="3"): OPTIMIZE=3
  482. elif (OPTIMIZE=="4"): OPTIMIZE=4
  483. else: usage("Invalid setting for OPTIMIZE")
  484. if (COMPILERS.count(COMPILER)==0): usage("Invalid setting for COMPILER: "+COMPILER)
  485. parseopts(sys.argv[1:])
  486. ########################################################################
  487. #
  488. # Avoid trouble by not allowing weird --prefix or --thirdparty
  489. #
  490. # One of my goals for makepanda was for it to be maintainable.
  491. # I found that trying to support arbitrary pathnames for "prefix"
  492. # and "thirdparty" required the use of lots of backslashes and
  493. # quotation marks, which were quite frankly hard to get right.
  494. # I think it's better to simply rule out weird pathnames.
  495. #
  496. ########################################################################
  497. PREFIX = PREFIX.replace("\\","/")
  498. THIRDPARTY = THIRDPARTY.replace("\\","/")
  499. if (PREFIX.count(" ") or THIRDPARTY.count(" ")):
  500. sys.exit("The --prefix and --thirdparty may not contain spaces")
  501. if (PREFIX.count('"') or THIRDPARTY.count('"')):
  502. sys.exit("The --prefix and --thirdparty may not contain quotation marks")
  503. ########################################################################
  504. #
  505. # Locate the root of the panda tree
  506. #
  507. ########################################################################
  508. PANDASOURCE=os.path.dirname(os.path.abspath(sys.path[0]))
  509. if ((os.path.exists(os.path.join(PANDASOURCE,"makepanda/makepanda.py"))==0) or
  510. (os.path.exists(os.path.join(PANDASOURCE,"makepanda/makepanda.sln"))==0) or
  511. (os.path.exists(os.path.join(PANDASOURCE,"dtool","src","dtoolbase","dtoolbase.h"))==0) or
  512. (os.path.exists(os.path.join(PANDASOURCE,"panda","src","pandabase","pandabase.h"))==0)):
  513. sys.exit("I am unable to locate the root of the panda source tree.")
  514. os.chdir(PANDASOURCE)
  515. ########################################################################
  516. ##
  517. ## Locate the Directory containing the precompiled third-party software,
  518. ## if it wasn't specified on the command-line.
  519. ##
  520. ########################################################################
  521. if (THIRDPARTY == ""):
  522. if (COMPILER == "MSVC7"): THIRDPARTY="thirdparty/win-libs-vc7/"
  523. if (COMPILER == "LINUXA"): THIRDPARTY="thirdparty/linux-libs-a/"
  524. ########################################################################
  525. ##
  526. ## Locate the DirectX SDK
  527. ##
  528. ########################################################################
  529. if sys.platform == "win32" and DIRECTXSDK is None:
  530. dxdir = GetRegistryKey("SOFTWARE\\Microsoft\\DirectX SDK", "DX9SDK Samples Path")
  531. if (dxdir != 0): DIRECTXSDK = os.path.dirname(dxdir)
  532. else:
  533. dxdir = GetRegistryKey("SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment","DXSDK_DIR")
  534. if (dxdir != 0): DIRECTXSDK=dxdir
  535. else:
  536. dxdir = GetRegistryKey("SYSTEM\\CurrentControlSet\\Control\\Session Manager\\Environment","DXSDKROOT")
  537. if dxdir != 0:
  538. if dxdir[-2:]=="/.":
  539. DIRECTXSDK=dxdir[:-1]
  540. else:
  541. DIRECTXSDK=dxdir
  542. else:
  543. sys.exit("The registry does not appear to contain a pointer to the DirectX 9.0 SDK.")
  544. DIRECTXSDK=DIRECTXSDK.replace("\\", "/")
  545. ########################################################################
  546. ##
  547. ## Locate the Python SDK
  548. ##
  549. ########################################################################
  550. if sys.platform == "win32":
  551. PythonSDK="python2.2"
  552. if 0: # Needs testing:
  553. if (os.path.isdir("C:/Python22")): PythonSDK = "C:/Python22"
  554. elif (os.path.isdir("C:/Python23")): PythonSDK = "C:/Python23"
  555. elif (os.path.isdir("C:/Python24")): PythonSDK = "C:/Python24"
  556. elif (os.path.isdir("C:/Python25")): PythonSDK = "C:/Python25"
  557. else: sys.exit("Cannot find the python SDK")
  558. else:
  559. if (os.path.isdir("/usr/include/python2.5")): PythonSDK = "/usr/include/python2.5"
  560. elif (os.path.isdir("/usr/include/python2.4")): PythonSDK = "/usr/include/python2.4"
  561. elif (os.path.isdir("/usr/include/python2.3")): PythonSDK = "/usr/include/python2.3"
  562. elif (os.path.isdir("/usr/include/python2.2")): PythonSDK = "/usr/include/python2.2"
  563. else: sys.exit("Cannot find the python SDK")
  564. # this is so that the user can find out which version of python was used.
  565. ########################################################################
  566. ##
  567. ## Locate the Maya 5.0 SDK
  568. ##
  569. ########################################################################
  570. if (OMIT.count("MAYA5")==0):
  571. if (sys.platform == "win32"):
  572. Maya5SDK = GetRegistryKey("SOFTWARE\\Alias|Wavefront\\Maya\\5.0\\Setup\\InstallPath", "MAYA_INSTALL_LOCATION")
  573. if (Maya5SDK == 0):
  574. WARNINGS.append("The registry does not appear to contain a pointer to the Maya 5 SDK.")
  575. WARNINGS.append("I have automatically added this command-line option: --no-maya5")
  576. OMIT.append("MAYA5")
  577. else:
  578. WARNINGS.append("MAYA5 not yet supported under linux")
  579. WARNINGS.append("I have automatically added this command-line option: --no-maya5")
  580. OMIT.append("MAYA5")
  581. ########################################################################
  582. ##
  583. ## Locate the Maya 6.0 SDK
  584. ##
  585. ########################################################################
  586. if (OMIT.count("MAYA6")==0):
  587. if (sys.platform == "win32"):
  588. Maya6SDK = GetRegistryKey("SOFTWARE\\Alias|Wavefront\\Maya\\6.0\\Setup\\InstallPath", "MAYA_INSTALL_LOCATION")
  589. if (Maya6SDK == 0):
  590. WARNINGS.append("The registry does not appear to contain a pointer to the Maya 6 SDK.")
  591. WARNINGS.append("I have automatically added this command-line option: --no-maya6")
  592. OMIT.append("MAYA6")
  593. else:
  594. WARNINGS.append("MAYA6 not yet supported under linux")
  595. WARNINGS.append("I have automatically added this command-line option: --no-maya6")
  596. OMIT.append("MAYA6")
  597. ########################################################################
  598. ##
  599. ## Locate the 3D Studio Max and Character Studio SDKs
  600. ##
  601. ########################################################################
  602. MAXVERSIONS = [("MAX5", "SOFTWARE\\Autodesk\\3DSMAX\\5.0\\MAX-1:409", "uninstallpath", "Cstudio\\Sdk"),
  603. ("MAX6", "SOFTWARE\\Autodesk\\3DSMAX\\6.0", "installdir", "maxsdk\\cssdk\\include"),
  604. ("MAX7", "SOFTWARE\\Autodesk\\3DSMAX\\7.0", "Installdir", "maxsdk\\include\\CS")]
  605. MAXSDK = {}
  606. MAXSDKCS = {}
  607. for version,key1,key2,subdir in MAXVERSIONS:
  608. if (OMIT.count(version)==0):
  609. if (sys.platform == "win32"):
  610. top = GetRegistryKey(key1,key2)
  611. if (top == 0):
  612. WARNINGS.append("The registry does not appear to contain a pointer to "+version)
  613. WARNINGS.append("I have automatically added this command-line option: --no-"+version.lower())
  614. OMIT.append(version)
  615. else:
  616. if (os.path.isdir(top + "\\" + subdir)==0):
  617. WARNINGS.append("Your copy of "+version+" does not include the character studio SDK")
  618. WARNINGS.append("I have automatically added this command-line option: --no-"+version.lower())
  619. OMIT.append(version)
  620. else:
  621. MAXSDK[version] = top + "maxsdk\\"
  622. MAXSDKCS[version] = top + subdir
  623. else:
  624. WARNINGS.append(version+" not yet supported under linux")
  625. WARNINGS.append("I have automatically added this command-line option: --no-"+version.lower())
  626. OMIT.append(version)
  627. ########################################################################
  628. ##
  629. ## Locate Visual Studio 7.0 or 7.1
  630. ##
  631. ## The visual studio compiler doesn't work unless you set up a
  632. ## couple of environment variables to point at the compiler.
  633. ##
  634. ########################################################################
  635. if (COMPILER == "MSVC7"):
  636. vcdir = GetRegistryKey("SOFTWARE\\Microsoft\\VisualStudio\\7.1", "InstallDir")
  637. if ((vcdir == 0) or (vcdir[-13:] != "\\Common7\\IDE\\")):
  638. vcdir = GetRegistryKey("SOFTWARE\\Microsoft\\VisualStudio\\7.0", "InstallDir")
  639. if ((vcdir == 0) or (vcdir[-13:] != "\\Common7\\IDE\\")):
  640. sys.exit("The registry does not appear to contain a pointer to the Visual Studio 7 install directory")
  641. vcdir = vcdir[:-12]
  642. old_env_path = ""
  643. old_env_include = ""
  644. old_env_lib = ""
  645. if (os.environ.has_key("PATH")): old_env_path = os.environ["PATH"]
  646. if (os.environ.has_key("INCLUDE")): old_env_include = os.environ["INCLUDE"]
  647. if (os.environ.has_key("LIB")): old_env_lib = os.environ["LIB"]
  648. os.environ["PATH"] = vcdir + "vc7\\bin;" + vcdir + "Common7\\IDE;" + vcdir + "Common7\\Tools;" + vcdir + "Common7\\Tools\\bin\\prerelease;" + vcdir + "Common7\\Tools\\bin;" + old_env_path
  649. os.environ["INCLUDE"] = vcdir + "vc7\\ATLMFC\\INCLUDE;" + vcdir + "vc7\\include;" + vcdir + "vc7\\PlatformSDK\\include\\prerelease;" + vcdir + "vc7\\PlatformSDK\\include;" + old_env_include
  650. os.environ["LIB"] = vcdir + "vc7\\ATLMFC\\LIB;" + vcdir + "vc7\\LIB;" + vcdir + "vc7\\PlatformSDK\\lib\\prerelease;" + vcdir + "vc7\\PlatformSDK\\lib;" + old_env_lib
  651. sys.stdout.flush()
  652. ##########################################################################################
  653. #
  654. # Disable Helix unless running under Windows
  655. #
  656. ##########################################################################################
  657. if (sys.platform != "win32"):
  658. if (OMIT.count("HELIX")==0):
  659. WARNINGS.append("HELIX not yet supported under linux")
  660. WARNINGS.append("I have automatically added this command-line option: --no-helix")
  661. OMIT.append("HELIX")
  662. ##########################################################################################
  663. #
  664. # See if there's a "MILES" subdirectory under 'thirdparty'
  665. #
  666. ##########################################################################################
  667. if (os.path.isdir(os.path.join(THIRDPARTY, "miles"))==0):
  668. if (OMIT.count("MILES")==0):
  669. WARNINGS.append("You do not have a copy of MILES sound system")
  670. WARNINGS.append("I have automatically added this command-line option: --no-miles")
  671. OMIT.append("MILES")
  672. ##########################################################################################
  673. #
  674. # Enable or Disable runtime debugging mechanisms based on optimize level.
  675. #
  676. ##########################################################################################
  677. DTOOLCONFIG["HAVE_NET"] = DTOOLCONFIG["HAVE_NSPR"]
  678. if (OPTIMIZE <= 3):
  679. if (DTOOLCONFIG["HAVE_NET"] != 'UNDEF'):
  680. DTOOLCONFIG["DO_PSTATS"] = '1'
  681. if (OPTIMIZE <= 3):
  682. DTOOLCONFIG["DO_COLLISION_RECORDING"] = '1'
  683. if (OPTIMIZE <= 2):
  684. DTOOLCONFIG["TRACK_IN_INTERPRETER"] = '1'
  685. if (OPTIMIZE <= 3):
  686. DTOOLCONFIG["DO_MEMORY_USAGE"] = '1'
  687. if (OPTIMIZE <= 1):
  688. DTOOLCONFIG["DO_PIPELINING"] = '1'
  689. if (OPTIMIZE <= 3):
  690. DTOOLCONFIG["NOTIFY_DEBUG"] = '1'
  691. ##########################################################################################
  692. #
  693. # Add the package selections to DTOOLCONFIG
  694. #
  695. ##########################################################################################
  696. for x in PACKAGES:
  697. if (OMIT.count(x)==0):
  698. if (DTOOLCONFIG.has_key("HAVE_"+x)):
  699. DTOOLCONFIG["HAVE_"+x] = '1'
  700. ##########################################################################################
  701. #
  702. # Verify that LD_LIBRARY_PATH contains the PREFIX/lib directory.
  703. #
  704. # If not, add it on a temporary basis, and issue a warning.
  705. #
  706. ##########################################################################################
  707. if (sys.platform != "win32"):
  708. BUILTLIB = os.path.abspath(PREFIX+"/lib")
  709. try:
  710. LDPATH = []
  711. f = file("/etc/ld.so.conf","r")
  712. for line in f: LDPATH.append(line.rstrip())
  713. f.close()
  714. except: LDPATH = []
  715. if (os.environ.has_key("LD_LIBRARY_PATH")):
  716. LDPATH = LDPATH + os.environ["LD_LIBRARY_PATH"].split(":")
  717. if (LDPATH.count(BUILTLIB)==0):
  718. WARNINGS.append("Caution: the "+PREFIX+"/lib directory is not in LD_LIBRARY_PATH")
  719. WARNINGS.append("or /etc/ld.so.conf. You must add it before using panda.")
  720. if (os.environ.has_key("LD_LIBRARY_PATH")):
  721. os.environ["LD_LIBRARY_PATH"] = BUILTLIB + ":" + os.environ["LD_LIBRARY_PATH"]
  722. else:
  723. os.environ["LD_LIBRARY_PATH"] = BUILTLIB
  724. ########################################################################
  725. ##
  726. ## Give a Status Report on Command-Line Options
  727. ##
  728. ########################################################################
  729. def printStatus(header,warnings):
  730. global VERBOSE
  731. if VERBOSE >= -2:
  732. print ""
  733. print "-------------------------------------------------------------------"
  734. print header
  735. tkeep = ""
  736. tomit = ""
  737. for x in PACKAGES:
  738. if (OMIT.count(x)==0): tkeep = tkeep + x + " "
  739. else: tomit = tomit + x + " "
  740. print "Makepanda: Prefix Directory:",PREFIX
  741. print "Makepanda: Compiler:",COMPILER
  742. print "Makepanda: Optimize:",OPTIMIZE
  743. print "Makepanda: Keep Pkg:",tkeep
  744. print "Makepanda: Omit Pkg:",tomit
  745. print "Makepanda: Thirdparty dir:",THIRDPARTY
  746. print "Makepanda: DirectX SDK dir:",DIRECTXSDK
  747. print "Makepanda: Verbose vs. Quiet Level:",VERBOSE
  748. print "Makepanda: Build installer:",INSTALLER,COMPRESSOR
  749. print "Makepanda: Version ID: "+VERSION
  750. for x in warnings: print "Makepanda: "+x
  751. print "-------------------------------------------------------------------"
  752. print ""
  753. sys.stdout.flush()
  754. printStatus("Makepanda Initial Status Report", WARNINGS)
  755. ##########################################################################################
  756. #
  757. # Create the directory tree
  758. #
  759. ##########################################################################################
  760. MakeDirectory(PREFIX)
  761. MakeDirectory(PREFIX+"/bin")
  762. MakeDirectory(PREFIX+"/lib")
  763. MakeDirectory(PREFIX+"/etc")
  764. MakeDirectory(PREFIX+"/pandac")
  765. MakeDirectory(PREFIX+"/pandac/input")
  766. MakeDirectory(PREFIX+"/include")
  767. MakeDirectory(PREFIX+"/include/parser-inc")
  768. MakeDirectory(PREFIX+"/include/parser-inc/openssl")
  769. MakeDirectory(PREFIX+"/include/parser-inc/Cg")
  770. MakeDirectory(PREFIX+"/include/openssl")
  771. MakeDirectory(PREFIX+"/direct")
  772. MakeDirectory(PREFIX+"/tmp")
  773. ########################################################################
  774. ##
  775. ## PkgSelected(package-list,package)
  776. ##
  777. ## This function returns true if the package-list contains the
  778. ## package, AND the OMIT list does not contain the package.
  779. ##
  780. ########################################################################
  781. def PkgSelected(pkglist, pkg):
  782. if (pkglist.count(pkg)==0): return 0
  783. if (OMIT.count(pkg)): return 0
  784. return 1
  785. ########################################################################
  786. ##
  787. ## These two globals accumulate a global list of everything compiled.
  788. ##
  789. ########################################################################
  790. ALLIN=[]
  791. ALLTARGETS=[]
  792. ########################################################################
  793. ##
  794. ## The CXX include-cache.
  795. ##
  796. ## Dictionary: for each CXX source file, a list of all the
  797. ## include-directives inside that file.
  798. ##
  799. ## Makepanda analyzes include-directives to determine the dependencies
  800. ## of C source files. This requires us to read the C source files,
  801. ## a time-consuming process. This means that doing a 'makepanda'
  802. ## takes quite a bit of time, even if there's nothing to compile.
  803. ##
  804. ## To accelerate this process, we store the list of include-directives
  805. ## in each source file in the "CXX include-cache". This cache is
  806. ## preserved (using the 'cPickle' module) from execution to execution
  807. ## of makepanda. The use of file dates in the cache makes it very
  808. ## unlikely for the cache to get out-of-sync with the source tree.
  809. ##
  810. ########################################################################
  811. global CxxIncludeCache
  812. CxxIncludeCache = {}
  813. iCachePath=PREFIX+"/tmp/makepanda-icache"
  814. try: icache = open(iCachePath,'rb')
  815. except: icache = 0
  816. if (icache!=0):
  817. CxxIncludeCache = cPickle.load(icache)
  818. icache.close()
  819. ########################################################################
  820. ##
  821. ## CxxGetIncludes
  822. ##
  823. ## return a list of the include-directives in a given source file
  824. ##
  825. ########################################################################
  826. global CxxIncludeRegex
  827. CxxIncludeRegex = re.compile('^[ \t]*[#][ \t]*include[ \t]+"([^"]+)"[ \t\r\n]*$')
  828. def CxxGetIncludes(path):
  829. date = filedate(path)
  830. if (CxxIncludeCache.has_key(path)):
  831. cached = CxxIncludeCache[path]
  832. if (cached[0]==date): return cached[1]
  833. try: sfile = open(path, 'rb')
  834. except: sys.exit("Cannot open source file \""+path+"\" for reading.")
  835. include = []
  836. for line in sfile:
  837. match = CxxIncludeRegex.match(line,0)
  838. if (match):
  839. incname = match.group(1)
  840. include.append(incname)
  841. sfile.close()
  842. CxxIncludeCache[path] = [date, include]
  843. return include
  844. ########################################################################
  845. ##
  846. ## CxxFindSource
  847. ##
  848. ## given a source file name and a directory list, searches the
  849. ## directory list for the given source file. Returns the full
  850. ## pathname of the located file.
  851. ##
  852. ########################################################################
  853. def CxxFindSource(name, ipath):
  854. for dir in ipath:
  855. if (dir == "."): full = name
  856. else: full = dir + "/" + name
  857. if filedate(full) > 0: return full
  858. return 0
  859. ########################################################################
  860. ##
  861. ## CxxFindHeader
  862. ##
  863. ## given a source file name and an include directive in that source
  864. ## file, locates the relevant header file.
  865. ##
  866. ########################################################################
  867. def CxxFindHeader(srcfile, incfile, ipath):
  868. if (incfile[:1]=="."):
  869. last = srcfile.rfind("/")
  870. if (last < 0): sys.exit("CxxFindHeader cannot handle this case #1")
  871. srcdir = srcfile[:last+1]
  872. while (incfile[:1]=="."):
  873. if (incfile[:2]=="./"):
  874. incfile = incfile[2:]
  875. elif (incfile[:3]=="../"):
  876. incfile = incfile[3:]
  877. last = srcdir[:-1].rfind("/")
  878. if (last < 0): sys.exit("CxxFindHeader cannot handle this case #2")
  879. srcdir = srcdir[:last+1]
  880. else: sys.exit("CxxFindHeader cannot handle this case #3")
  881. full = srcdir + incfile
  882. if filedate(full) > 0: return full
  883. return 0
  884. else: return CxxFindSource(incfile, ipath)
  885. ########################################################################
  886. ##
  887. ## CxxCalcDependencies(srcfile, ipath, ignore)
  888. ##
  889. ## Calculate the dependencies of a source file given a
  890. ## particular include-path. Any file in the list of files to
  891. ## ignore is not considered.
  892. ##
  893. ########################################################################
  894. global CxxIgnoreHeader
  895. global CxxDependencyCache
  896. CxxIgnoreHeader = {}
  897. CxxDependencyCache = {}
  898. def CxxCalcDependencies(srcfile, ipath, ignore):
  899. if (CxxDependencyCache.has_key(srcfile)):
  900. return CxxDependencyCache[srcfile]
  901. if (ignore.count(srcfile)): return []
  902. dep = {}
  903. dep[srcfile] = 1
  904. includes = CxxGetIncludes(srcfile)
  905. for include in includes:
  906. if (CxxIgnoreHeader.has_key(include)==0):
  907. header = CxxFindHeader(srcfile, include, ipath)
  908. if (header==0):
  909. print "CAUTION: header file "+include+" cannot be found."
  910. else:
  911. if (ignore.count(header)==0):
  912. hdeps = CxxCalcDependencies(header, ipath, [srcfile]+ignore)
  913. for x in hdeps: dep[x] = 1
  914. result = dep.keys()
  915. CxxDependencyCache[srcfile] = result
  916. return result
  917. def CxxCalcDependenciesAll(srcfiles, ipath):
  918. dep = {}
  919. for srcfile in srcfiles:
  920. for x in CxxCalcDependencies(srcfile, ipath, []):
  921. dep[x] = 1
  922. return dep.keys()
  923. ########################################################################
  924. ##
  925. ## ConditionalWriteFile
  926. ##
  927. ## Creates the given file, but only if it doesn't already
  928. ## contain the correct contents.
  929. ##
  930. ########################################################################
  931. def ConditionalWriteFile(dest,desiredcontents):
  932. try:
  933. rfile = open(dest, 'rb')
  934. contents = rfile.read(-1)
  935. rfile.close()
  936. except: contents=0
  937. if (contents != desiredcontents):
  938. print "Regenerating file: "+dest
  939. sys.stdout.flush()
  940. WriteFile(dest,desiredcontents)
  941. ########################################################################
  942. ##
  943. ## CopyFile
  944. ##
  945. ## Copy a file into the build tree.
  946. ##
  947. ########################################################################
  948. def CopyFile(dstfile,srcfile):
  949. if (dstfile[-1]=='/'):
  950. dstdir = dstfile
  951. fnl = srcfile.rfind("/")
  952. if (fnl < 0): fn = srcfile
  953. else: fn = srcfile[fnl+1:]
  954. dstfile = dstdir + fn
  955. if (older(dstfile,srcfile)):
  956. global VERBOSE
  957. if VERBOSE >= 1:
  958. print "Copying "+srcfile+" -> "+dstfile+"..."
  959. WriteFile(dstfile,ReadFile(srcfile))
  960. updatefiledate(dstfile)
  961. ALLTARGETS.append(dstfile)
  962. ########################################################################
  963. ##
  964. ## CopyAllFiles
  965. ##
  966. ## Copy the contents of an entire directory into the build tree.
  967. ##
  968. ########################################################################
  969. def CopyAllFiles(dstdir,srcdir):
  970. files = os.listdir(srcdir)
  971. for x in files:
  972. if (os.path.isfile(srcdir+x)):
  973. CopyFile(dstdir+x, srcdir+x)
  974. ########################################################################
  975. ##
  976. ## CopyTree
  977. ##
  978. ## Copy a directory into the build tree.
  979. ##
  980. ########################################################################
  981. def CopyTree(dstdir,srcdir):
  982. if (os.path.isdir(dstdir)): return 0
  983. if (COMPILER=="MSVC7"): cmd = 'xcopy.exe /I/Y/E/Q "' + srcdir + '" "' + dstdir + '"'
  984. if (COMPILER=="LINUXA"): cmd = 'cp --recursive --force ' + srcdir + ' ' + dstdir
  985. oscmd(cmd)
  986. updatefiledate(dstdir)
  987. def CompileBison(pre,dstc,dsth,src):
  988. """
  989. Generate a CXX file from a source YXX file.
  990. """
  991. (base, fn) = os.path.split(src)
  992. dstc=base+"/"+dstc
  993. dsth=base+"/"+dsth
  994. if (older(dstc,src) or older(dsth,src)):
  995. CopyFile(PREFIX+"/tmp/", src)
  996. if (COMPILER=="MSVC7"):
  997. CopyFile(PREFIX+"/tmp/", "thirdparty/win-util/bison.simple")
  998. bisonFullPath=os.path.abspath("thirdparty/win-util/bison.exe")
  999. oslocalcmd(PREFIX+"/tmp", bisonFullPath+" -y -d -p " + pre + " " + fn)
  1000. osmove(PREFIX+"/tmp/y_tab.c", dstc)
  1001. osmove(PREFIX+"/tmp/y_tab.h", dsth)
  1002. if (COMPILER=="LINUXA"):
  1003. oslocalcmd(PREFIX+"/tmp", "bison -y -d -p "+pre+" "+fn)
  1004. osmove(PREFIX+"/tmp/y.tab.c", dstc)
  1005. osmove(PREFIX+"/tmp/y.tab.h", dsth)
  1006. updatefiledate(dstc)
  1007. updatefiledate(dsth)
  1008. def CompileFlex(pre,dst,src,dashi):
  1009. """
  1010. Generate a CXX file from a source LXX file.
  1011. """
  1012. last = src.rfind("/")
  1013. fn = src[last+1:]
  1014. dst = PREFIX+"/tmp/"+dst
  1015. if (older(dst,src)):
  1016. CopyFile(PREFIX+"/tmp/", src)
  1017. if (COMPILER=="MSVC7"):
  1018. flexFullPath=os.path.abspath("thirdparty/win-util/flex.exe")
  1019. if (dashi): oslocalcmd(PREFIX+"/tmp", flexFullPath+" -i -P" + pre + " -olex.yy.c " + fn)
  1020. else: oslocalcmd(PREFIX+"/tmp", flexFullPath+" -P" + pre + " -olex.yy.c " + fn)
  1021. replaceInFile(PREFIX+'/tmp/lex.yy.c', dst, '#include <unistd.h>', '')
  1022. if (COMPILER=="LINUXA"):
  1023. if (dashi): oslocalcmd(PREFIX+"/tmp", "flex -i -P" + pre + " -olex.yy.c " + fn)
  1024. else: oslocalcmd(PREFIX+"/tmp", "flex -P" + pre + " -olex.yy.c " + fn)
  1025. oscmd('cp '+PREFIX+'/tmp/lex.yy.c '+dst)
  1026. updatefiledate(dst)
  1027. ########################################################################
  1028. ##
  1029. ## CompileC
  1030. ##
  1031. ## Generate an OBJ file from a source CXX file.
  1032. ##
  1033. ########################################################################
  1034. priorIPath=None
  1035. def checkIfNewDir(path):
  1036. global priorIPath
  1037. if priorIPath != path:
  1038. print "\nStarting compile in \"%s\":\n"%(path,)
  1039. priorIPath=path
  1040. def CompileC(obj=0,src=0,ipath=[],opts=[]):
  1041. global VERBOSE
  1042. if ((obj==0)|(src==0)): sys.exit("syntax error in CompileC directive")
  1043. ipath = [PREFIX+"/tmp"] + ipath + [PREFIX+"/include"]
  1044. fullsrc = CxxFindSource(src, ipath)
  1045. if (fullsrc == 0): sys.exit("Cannot find source file "+src)
  1046. dep = CxxCalcDependencies(fullsrc, ipath, [])
  1047. if (COMPILER=="MSVC7"):
  1048. wobj = PREFIX+"/tmp/"+obj
  1049. if (older(wobj, dep)):
  1050. if VERBOSE >= 0:
  1051. checkIfNewDir(ipath[1])
  1052. cmd = "cl.exe /Fo" + wobj + " /nologo /c"
  1053. cmd = cmd + " /I" + PREFIX + "/python/include"
  1054. if (opts.count("DXSDK")): cmd = cmd + ' /I"' + DIRECTXSDK + '/include"'
  1055. if (opts.count("MAYA5")): cmd = cmd + ' /I"' + Maya5SDK + 'include"'
  1056. if (opts.count("MAYA6")): cmd = cmd + ' /I"' + Maya6SDK + 'include"'
  1057. for max in ["MAX5","MAX6","MAX7"]:
  1058. if (PkgSelected(opts,max)):
  1059. cmd = cmd + ' /I"' + MAXSDK[max] + 'include" /I"' + MAXSDKCS[max] + '" /D' + max
  1060. for pkg in PACKAGES:
  1061. if (pkg != "MAYA5") and (pkg != "MAYA6") and PkgSelected(opts,pkg):
  1062. cmd = cmd + " /I" + THIRDPARTY + pkg.lower() + "/include"
  1063. for x in ipath: cmd = cmd + " /I" + x
  1064. if (opts.count('NOFLOATWARN')): cmd = cmd + ' /wd4244 /wd4305'
  1065. if (opts.count("WITHINPANDA")): cmd = cmd + ' /DWITHIN_PANDA'
  1066. if (OPTIMIZE==1): cmd = cmd + " /D_DEBUG /Zc:forScope /MDd /Zi /RTCs /GS "
  1067. if (OPTIMIZE==2): cmd = cmd + " /D_DEBUG /Zc:forScope /MDd /Zi /RTCs /GS "
  1068. if (OPTIMIZE==3): cmd = cmd + " /Zc:forScope /MD /O2 /Ob2 /G6 /Zi /DFORCE_INLINING "
  1069. if (OPTIMIZE==4): cmd = cmd + " /Zc:forScope /MD /O2 /Ob2 /G6 /GL /Zi /DFORCE_INLINING /DNDEBUG "
  1070. cmd = cmd + " /Fd" + wobj[:-4] + ".pdb"
  1071. building = buildingwhat(opts)
  1072. if (building): cmd = cmd + " /DBUILDING_" + building
  1073. cmd = cmd + " /EHsc /Zm300 /DWIN32_VC /DWIN32 /W3 " + fullsrc
  1074. oscmd(cmd)
  1075. updatefiledate(wobj)
  1076. if (COMPILER=="LINUXA"):
  1077. wobj = PREFIX+"/tmp/" + obj[:-4] + ".o"
  1078. if (older(wobj, dep)):
  1079. if VERBOSE >= 0:
  1080. checkIfNewDir(ipath[1])
  1081. if (src[-2:]==".c"): cmd = 'gcc -c -o ' + wobj
  1082. else: cmd = 'g++ -ftemplate-depth-30 -c -o ' + wobj
  1083. cmd = cmd + ' -I"' + PythonSDK + '"'
  1084. if (PkgSelected(opts,"VRPN")): cmd = cmd + ' -I' + THIRDPARTY + 'vrpn/include'
  1085. if (PkgSelected(opts,"FFTW")): cmd = cmd + ' -I' + THIRDPARTY + 'fftw/include'
  1086. if (PkgSelected(opts,"FMOD")): cmd = cmd + ' -I' + THIRDPARTY + 'fmod/include'
  1087. if (PkgSelected(opts,"NVIDIACG")): cmd = cmd + ' -I' + THIRDPARTY + 'nvidiacg/include'
  1088. if (PkgSelected(opts,"NSPR")): cmd = cmd + ' -I' + THIRDPARTY + 'nspr/include'
  1089. if (PkgSelected(opts,"FREETYPE")): cmd = cmd + ' -I/usr/include/freetype2'
  1090. for x in ipath: cmd = cmd + ' -I' + x
  1091. if (opts.count("WITHINPANDA")): cmd = cmd + ' -DWITHIN_PANDA'
  1092. if (OPTIMIZE==1): cmd = cmd + " -g"
  1093. if (OPTIMIZE==2): cmd = cmd + " -O1"
  1094. if (OPTIMIZE==3): cmd = cmd + " -O2"
  1095. if (OPTIMIZE==4): cmd = cmd + " -O2"
  1096. building = buildingwhat(opts)
  1097. if (building): cmd = cmd + " -DBUILDING_" + building
  1098. cmd = cmd + ' ' + fullsrc
  1099. oscmd(cmd)
  1100. updatefiledate(wobj)
  1101. ########################################################################
  1102. ##
  1103. ## CompileRES
  1104. ##
  1105. ## Generate an RES file from a source RC file.
  1106. ##
  1107. ########################################################################
  1108. def CompileRES(obj=0,src=0,ipath=[],opts=[]):
  1109. if ((obj==0)|(src==0)): sys.exit("syntax error in CompileRES directive")
  1110. fullsrc = CxxFindSource(src, ipath)
  1111. if (fullsrc == 0): sys.exit("Cannot find source file "+src)
  1112. obj = PREFIX+"/tmp/"+obj
  1113. wdep = CxxCalcDependencies(fullsrc, ipath, [])
  1114. if (COMPILER=="MSVC7"):
  1115. if (older(obj, wdep)):
  1116. cmd = 'rc.exe /d "NDEBUG" /l 0x409'
  1117. for x in ipath: cmd = cmd + " /I" + x
  1118. cmd = cmd + ' /fo' + obj
  1119. cmd = cmd + ' ' + fullsrc
  1120. oscmd(cmd)
  1121. updatefiledate(obj)
  1122. if (COMPILER=="LINUXA"):
  1123. sys.exit("Can only compile RES files on Windows.")
  1124. ########################################################################
  1125. ##
  1126. ## Interrogate
  1127. ##
  1128. ## Generate an IN file and a CXX-stub file from CXX source files
  1129. ##
  1130. ########################################################################
  1131. def Interrogate(ipath=0, opts=0, outd=0, outc=0, src=0, module=0, library=0, files=0):
  1132. if ((ipath==0)|(opts==0)|(outd==0)|(outc==0)|(src==0)|(module==0)|(library==0)|(files==0)):
  1133. sys.exit("syntax error in Interrogate directive")
  1134. ALLIN.append(outd)
  1135. ipath = [PREFIX+"/tmp"] + ipath + [PREFIX+"/include"]
  1136. outd = PREFIX+"/pandac/input/"+outd
  1137. outc = PREFIX+"/tmp/"+outc
  1138. paths = xpaths(src+"/",files,"")
  1139. dep = CxxCalcDependenciesAll(paths, ipath)
  1140. dotdots = ""
  1141. for i in range(0,src.count("/")+1): dotdots = dotdots + "../"
  1142. building = 0
  1143. for x in opts:
  1144. if (x[:9]=="BUILDING_"): building = x[9:]
  1145. if (older(outc, dep) or older(outd, dep)):
  1146. if (COMPILER=="MSVC7"):
  1147. cmd = dotdots + PREFIX + "/bin/interrogate.exe"
  1148. cmd = cmd + ' -DCPPPARSER -D__STDC__=1 -D__cplusplus -longlong __int64 -D_X86_ -DWIN32_VC -D_WIN32'
  1149. cmd = cmd + ' -D"_declspec(param)=" -D_near -D_far -D__near -D__far -D__stdcall'
  1150. if (OPTIMIZE==1): cmd = cmd + ' '
  1151. if (OPTIMIZE==2): cmd = cmd + ' '
  1152. if (OPTIMIZE==3): cmd = cmd + ' -DFORCE_INLINING'
  1153. if (OPTIMIZE==4): cmd = cmd + ' -DFORCE_INLINING'
  1154. cmd = cmd + ' -S' + dotdots + PREFIX + '/include/parser-inc'
  1155. cmd = cmd + ' -I' + dotdots + PREFIX + '/python/include'
  1156. if (COMPILER=="LINUXA"):
  1157. cmd = dotdots + PREFIX + '/bin/interrogate'
  1158. cmd = cmd + ' -DCPPPARSER -D__STDC__=1 -D__cplusplus -D__i386__ -D__const=const'
  1159. if (OPTIMIZE==1): cmd = cmd + ' '
  1160. if (OPTIMIZE==2): cmd = cmd + ' '
  1161. if (OPTIMIZE==3): cmd = cmd + ' '
  1162. if (OPTIMIZE==4): cmd = cmd + ' '
  1163. cmd = cmd + ' -S' + dotdots + PREFIX + '/include/parser-inc -S/usr/include'
  1164. cmd = cmd + ' -I' + dotdots + PREFIX + '/python/include'
  1165. cmd = cmd + ' -oc ' + dotdots + outc + ' -od ' + dotdots + outd
  1166. cmd = cmd + ' -fnames -string -refcount -assert -python'
  1167. for x in ipath: cmd = cmd + ' -I' + dotdots + x
  1168. if (building): cmd = cmd + " -DBUILDING_"+building
  1169. if (opts.count("WITHINPANDA")): cmd = cmd + " -DWITHIN_PANDA"
  1170. for pkg in PACKAGES:
  1171. if (PkgSelected(opts,pkg)):
  1172. cmd = cmd + ' -I' + dotdots + THIRDPARTY + pkg.lower() + "/include"
  1173. cmd = cmd + ' -module ' + module + ' -library ' + library
  1174. if ((COMPILER=="MSVC7") and opts.count("DXSDK")): cmd = cmd + ' -I"' + DIRECTXSDK + '/include"'
  1175. if ((COMPILER=="MSVC7") and opts.count("MAYA5")): cmd = cmd + ' -I"' + Maya5SDK + 'include"'
  1176. if ((COMPILER=="MSVC7") and opts.count("MAYA6")): cmd = cmd + ' -I"' + Maya6SDK + 'include"'
  1177. for x in files: cmd = cmd + ' ' + x
  1178. oslocalcmd(src, cmd)
  1179. updatefiledate(outd)
  1180. updatefiledate(outc)
  1181. ########################################################################
  1182. ##
  1183. ## InterrogateModule
  1184. ##
  1185. ## Generate a python-stub CXX file from a bunch of IN files.
  1186. ##
  1187. ########################################################################
  1188. def InterrogateModule(outc=0, module=0, library=0, files=0):
  1189. if ((outc==0)|(module==0)|(library==0)|(files==0)):
  1190. sys.exit("syntax error in InterrogateModule directive")
  1191. outc = PREFIX+"/tmp/"+outc
  1192. files = xpaths(PREFIX+"/pandac/input/",files,"")
  1193. if (older(outc, files)):
  1194. global VERBOSE
  1195. if VERBOSE >= 1:
  1196. print "Generating Python-stub cxx file for %s"%(library,)
  1197. if (COMPILER=="MSVC7"):
  1198. cmd = PREFIX + '/bin/interrogate_module.exe '
  1199. if (COMPILER=="LINUXA"):
  1200. cmd = PREFIX + '/bin/interrogate_module '
  1201. cmd = cmd + ' -oc ' + outc + ' -module ' + module + ' -library ' + library + ' -python '
  1202. for x in files: cmd = cmd + ' ' + x
  1203. oscmd(cmd)
  1204. updatefiledate(outc)
  1205. ########################################################################
  1206. ##
  1207. ## CompileLIB
  1208. ##
  1209. ## Generate a LIB file from a bunch of OBJ files.
  1210. ##
  1211. ########################################################################
  1212. def CompileLIB(lib=0, obj=[], opts=[]):
  1213. if (lib==0): sys.exit("syntax error in CompileLIB directive")
  1214. if (COMPILER=="MSVC7"):
  1215. wlib = PREFIX+"/lib/" + lib
  1216. wobj = xpaths(PREFIX+"/tmp/",obj,"")
  1217. ALLTARGETS.append(wlib)
  1218. if (older(wlib, wobj)):
  1219. cmd = 'lib.exe /nologo /OUT:' + wlib
  1220. if (OPTIMIZE==4): cmd = cmd + " /LTCG "
  1221. for x in wobj: cmd = cmd + ' ' + x
  1222. oscmd(cmd)
  1223. updatefiledate(wlib)
  1224. if (COMPILER=="LINUXA"):
  1225. wlib = PREFIX + "/lib/" + lib[:-4] + ".a"
  1226. wobj = []
  1227. for x in obj: wobj.append(PREFIX + "/tmp/" + x[:-4] + ".o")
  1228. if (older(wlib, wobj)):
  1229. cmd = 'ar cru ' + wlib
  1230. for x in wobj: cmd=cmd + ' ' + x
  1231. oscmd(cmd)
  1232. updatefiledate(wlib)
  1233. ########################################################################
  1234. ##
  1235. ## CompileLink
  1236. ##
  1237. ## Generate a DLL or EXE file from a bunch of OBJ and LIB files.
  1238. ##
  1239. ########################################################################
  1240. def CompileLink(dll=0, obj=[], opts=[], xdep=[]):
  1241. if (dll==0): sys.exit("Syntax error in CompileLink directive")
  1242. if (COMPILER=="MSVC7"):
  1243. ALLTARGETS.append(PREFIX+"/bin/"+dll)
  1244. lib = PREFIX+"/lib/"+dll[:-4]+".lib"
  1245. dll = PREFIX+"/bin/"+dll
  1246. wobj = []
  1247. for x in obj:
  1248. suffix = x[-4:]
  1249. if (suffix==".obj"): wobj.append(PREFIX+"/tmp/"+x)
  1250. elif (suffix==".dll"): wobj.append(PREFIX+"/lib/"+x[:-4]+".lib")
  1251. elif (suffix==".lib"): wobj.append(PREFIX+"/lib/"+x)
  1252. elif (suffix==".res"): wobj.append(PREFIX+"/tmp/"+x)
  1253. else: sys.exit("unknown suffix in object list.")
  1254. if (older(dll, wobj+xdep)):
  1255. cmd = 'link.exe /nologo /NODEFAULTLIB:LIBCI.LIB'
  1256. if (dll[-4:]!=".exe"): cmd = cmd + " /DLL"
  1257. if (OPTIMIZE==1): cmd = cmd + " /DEBUG /NODEFAULTLIB:MSVCRT.LIB "
  1258. if (OPTIMIZE==2): cmd = cmd + " /DEBUG /NODEFAULTLIB:MSVCRT.LIB "
  1259. if (OPTIMIZE==3): cmd = cmd + " /DEBUG /NODEFAULTLIB:MSVCRTD.LIB /OPT:REF "
  1260. if (OPTIMIZE==4): cmd = cmd + " /DEBUG /NODEFAULTLIB:MSVCRTD.LIB /OPT:REF /LTCG "
  1261. cmd = cmd + " /MAP /MAPINFO:EXPORTS /MAPINFO:LINES /fixed:no /incremental:no /stack:4194304 "
  1262. if (opts.count("NOLIBCI")): cmd = cmd + " /NODEFAULTLIB:LIBCI.LIB "
  1263. if (opts.count("MAXEGGDEF")): cmd = cmd + ' /DEF:pandatool/src/maxegg/MaxEgg.def'
  1264. cmd = cmd + ' /OUT:' + dll + ' /IMPLIB:' + lib + ' /MAP:NUL'
  1265. cmd = cmd + ' /LIBPATH:' + PREFIX + '/python/libs '
  1266. for x in wobj: cmd = cmd + ' ' + x
  1267. if (dll[-4:]==".exe"): cmd = cmd + ' ' + PREFIX + '/tmp/pandaIcon.res'
  1268. if (opts.count("D3D8") or opts.count("D3D9") or opts.count("DXDRAW") or opts.count("DXSOUND") or opts.count("DXGUID")):
  1269. cmd = cmd + ' /LIBPATH:"' + DIRECTXSDK + 'lib/x86"'
  1270. cmd = cmd + ' /LIBPATH:"' + DIRECTXSDK + 'lib"'
  1271. if (opts.count("D3D8")): cmd = cmd + ' d3d8.lib d3dx8.lib dxerr8.lib'
  1272. if (opts.count("D3D9")): cmd = cmd + ' d3d9.lib d3dx9.lib dxerr9.lib'
  1273. if (opts.count("DXDRAW")): cmd = cmd + ' ddraw.lib'
  1274. if (opts.count("DXSOUND")): cmd = cmd + ' dsound.lib'
  1275. if (opts.count("DXGUID")): cmd = cmd + ' dxguid.lib'
  1276. if (opts.count("WINSOCK")): cmd = cmd + " wsock32.lib"
  1277. if (opts.count("WINSOCK2")): cmd = cmd + " wsock32.lib ws2_32.lib"
  1278. if (opts.count("WINCOMCTL")): cmd = cmd + ' comctl32.lib'
  1279. if (opts.count("WINUSER")): cmd = cmd + " user32.lib"
  1280. if (opts.count("WINMM")): cmd = cmd + " winmm.lib"
  1281. if (opts.count("WINIMM")): cmd = cmd + " imm32.lib"
  1282. if (opts.count("WINKERNEL")): cmd = cmd + " kernel32.lib"
  1283. if (opts.count("WINOLDNAMES")): cmd = cmd + " oldnames.lib"
  1284. if (opts.count("WINGDI")): cmd = cmd + " gdi32.lib"
  1285. if (opts.count("ADVAPI")): cmd = cmd + " advapi32.lib"
  1286. if (opts.count("GLUT")): cmd = cmd + " opengl32.lib glu32.lib"
  1287. if (PkgSelected(opts,"ZLIB")): cmd = cmd + ' ' + THIRDPARTY + 'zlib/lib/libz.lib'
  1288. if (PkgSelected(opts,"PNG")): cmd = cmd + ' ' + THIRDPARTY + 'png/lib/libpng.lib'
  1289. if (PkgSelected(opts,"JPEG")): cmd = cmd + ' ' + THIRDPARTY + 'jpeg/lib/libjpeg.lib'
  1290. if (PkgSelected(opts,"TIFF")): cmd = cmd + ' ' + THIRDPARTY + 'tiff/lib/libtiff.lib'
  1291. if (PkgSelected(opts,"VRPN")):
  1292. cmd = cmd + ' ' + THIRDPARTY + 'vrpn/lib/vrpn.lib'
  1293. cmd = cmd + ' ' + THIRDPARTY + 'vrpn/lib/quat.lib'
  1294. if (PkgSelected(opts,"FMOD")):
  1295. cmd = cmd + ' ' + THIRDPARTY + 'fmod/lib/fmod.lib'
  1296. if (PkgSelected(opts,"MILES")):
  1297. cmd = cmd + ' ' + THIRDPARTY + 'miles/lib/mss32.lib'
  1298. if (PkgSelected(opts,"NVIDIACG")):
  1299. if (opts.count("CGGL")):
  1300. cmd = cmd + ' ' + THIRDPARTY + 'nvidiacg/lib/cgGL.lib'
  1301. cmd = cmd + ' ' + THIRDPARTY + 'nvidiacg/lib/cg.lib'
  1302. if (PkgSelected(opts,"HELIX")):
  1303. cmd = cmd + ' ' + THIRDPARTY + 'helix/lib/runtlib.lib'
  1304. cmd = cmd + ' ' + THIRDPARTY + 'helix/lib/syslib.lib'
  1305. cmd = cmd + ' ' + THIRDPARTY + 'helix/lib/contlib.lib'
  1306. cmd = cmd + ' ' + THIRDPARTY + 'helix/lib/debuglib.lib'
  1307. cmd = cmd + ' ' + THIRDPARTY + 'helix/lib/utillib.lib'
  1308. cmd = cmd + ' ' + THIRDPARTY + 'helix/lib/stlport_vc7.lib'
  1309. if (PkgSelected(opts,"NSPR")):
  1310. cmd = cmd + ' ' + THIRDPARTY + 'nspr/lib/libnspr4.lib'
  1311. if (PkgSelected(opts,"SSL")):
  1312. cmd = cmd + ' ' + THIRDPARTY + 'ssl/lib/ssleay32.lib'
  1313. cmd = cmd + ' ' + THIRDPARTY + 'ssl/lib/libeay32.lib'
  1314. if (PkgSelected(opts,"FREETYPE")):
  1315. cmd = cmd + ' ' + THIRDPARTY + 'freetype/lib/libfreetype.lib'
  1316. if (PkgSelected(opts,"FFTW")):
  1317. cmd = cmd + ' ' + THIRDPARTY + 'fftw/lib/rfftw.lib'
  1318. cmd = cmd + ' ' + THIRDPARTY + 'fftw/lib/fftw.lib'
  1319. if (PkgSelected(opts,"MAYA5")):
  1320. cmd = cmd + ' ' + Maya5SDK + 'lib/Foundation.lib'
  1321. cmd = cmd + ' ' + Maya5SDK + 'lib/OpenMaya.lib'
  1322. cmd = cmd + ' ' + Maya5SDK + 'lib/OpenMayaAnim.lib'
  1323. if (PkgSelected(opts,"MAYA6")):
  1324. cmd = cmd + ' ' + Maya6SDK + 'lib/Foundation.lib'
  1325. cmd = cmd + ' ' + Maya6SDK + 'lib/OpenMaya.lib'
  1326. cmd = cmd + ' ' + Maya6SDK + 'lib/OpenMayaAnim.lib'
  1327. for max in ["MAX5","MAX6","MAX7"]:
  1328. if PkgSelected(opts,max):
  1329. cmd = cmd + ' ' + MAXSDK[max] + 'lib/core.lib'
  1330. cmd = cmd + ' ' + MAXSDK[max] + 'lib/mesh.lib'
  1331. cmd = cmd + ' ' + MAXSDK[max] + 'lib/maxutil.lib'
  1332. cmd = cmd + ' ' + MAXSDK[max] + 'lib/paramblk2.lib'
  1333. oscmd(cmd)
  1334. updatefiledate(dll)
  1335. if ((OPTIMIZE == 1) and (dll[-4:]==".dll")):
  1336. CopyFile(dll[:-4]+"_d.dll", dll)
  1337. if (COMPILER=="LINUXA"):
  1338. ALLTARGETS.append(PREFIX+"/lib/"+dll[:-4]+".so")
  1339. if (dll[-4:]==".exe"): wdll = PREFIX+"/bin/"+dll[:-4]
  1340. else: wdll = PREFIX+"/lib/"+dll[:-4]+".so"
  1341. wobj = []
  1342. for x in obj:
  1343. suffix = x[-4:]
  1344. if (suffix==".obj"): wobj.append(PREFIX+"/tmp/"+x[:-4]+".o")
  1345. elif (suffix==".dll"): wobj.append(PREFIX+"/lib/"+x[:-4]+".so")
  1346. elif (suffix==".lib"): wobj.append(PREFIX+"/lib/"+x[:-4]+".a")
  1347. else: sys.exit("unknown suffix in object list.")
  1348. if (older(wdll, wobj+xdep)):
  1349. if (dll[-4:]==".exe"): cmd = 'g++ -o ' + wdll + ' -L' + PREFIX + '/lib'
  1350. else: cmd = 'g++ -shared -o ' + wdll + ' -L' + PREFIX + '/lib'
  1351. for x in obj:
  1352. suffix = x[-4:]
  1353. if (suffix==".obj"): cmd = cmd + ' ' + PREFIX + '/tmp/' + x[:-4] + '.o'
  1354. elif (suffix==".dll"): cmd = cmd + ' -l' + x[3:-4]
  1355. elif (suffix==".lib"): cmd = cmd + ' ' + PREFIX + '/lib/' + x[:-4] + '.a'
  1356. if (PkgSelected(opts,"FMOD")): cmd = cmd + ' -L' + THIRDPARTY + 'fmod/lib -lfmod-3.74'
  1357. if (PkgSelected(opts,"NVIDIACG")):
  1358. cmd = cmd + ' -L' + THIRDPARTY + 'nvidiacg/lib '
  1359. if (opts.count("CGGL")): cmd = cmd + " -lCgGL"
  1360. cmd = cmd + " -lCg"
  1361. if (PkgSelected(opts,"NSPR")): cmd = cmd + ' -L' + THIRDPARTY + 'nspr/lib -lpandanspr4'
  1362. if (PkgSelected(opts,"ZLIB")): cmd = cmd + " -lz"
  1363. if (PkgSelected(opts,"PNG")): cmd = cmd + " -lpng"
  1364. if (PkgSelected(opts,"JPEG")): cmd = cmd + " -ljpeg"
  1365. if (PkgSelected(opts,"TIFF")): cmd = cmd + " -ltiff"
  1366. if (PkgSelected(opts,"SSL")): cmd = cmd + " -lssl"
  1367. if (PkgSelected(opts,"FREETYPE")): cmd = cmd + " -lfreetype"
  1368. if (PkgSelected(opts,"VRPN")): cmd = cmd + ' -L' + THIRDPARTY + 'vrpn/lib -lvrpn -lquat'
  1369. if (PkgSelected(opts,"FFTW")): cmd = cmd + ' -L' + THIRDPARTY + 'fftw/lib -lrfftw -lfftw'
  1370. if (opts.count("GLUT")): cmd = cmd + " -lGL -lGLU"
  1371. oscmd(cmd)
  1372. updatefiledate(wdll)
  1373. ##########################################################################################
  1374. #
  1375. # If the 'make depend' process discovers an 'include'
  1376. # directive that includes one of the following files,
  1377. # the specified file is not added as a dependency,
  1378. # nor is it traversed.
  1379. #
  1380. ##########################################################################################
  1381. CxxIgnoreHeader["Python.h"] = 1
  1382. CxxIgnoreHeader["Python/Python.h"] = 1
  1383. CxxIgnoreHeader["alloc.h"] = 1
  1384. CxxIgnoreHeader["ctype.h"] = 1
  1385. CxxIgnoreHeader["stdlib.h"] = 1
  1386. CxxIgnoreHeader["ipc_thread.h"] = 1
  1387. CxxIgnoreHeader["platform/symbian/symbian_print.h"] = 1
  1388. CxxIgnoreHeader["hxtypes.h"] = 1
  1389. CxxIgnoreHeader["hxcom.h"] = 1
  1390. CxxIgnoreHeader["hxiids.h"] = 1
  1391. CxxIgnoreHeader["hxpiids.h"] = 1
  1392. CxxIgnoreHeader["dsound.h"] = 1
  1393. CxxIgnoreHeader["hlxosstr.h"] = 1
  1394. CxxIgnoreHeader["ddraw.h"] = 1
  1395. CxxIgnoreHeader["mss.h"] = 1
  1396. CxxIgnoreHeader["MacSocket.h"] = 1
  1397. CxxIgnoreHeader["textureTransition.h"] = 1
  1398. CxxIgnoreHeader["transformTransition.h"] = 1
  1399. CxxIgnoreHeader["billboardTransition.h"] = 1
  1400. CxxIgnoreHeader["transformTransition.h"] = 1
  1401. CxxIgnoreHeader["transparencyTransition.h"] = 1
  1402. CxxIgnoreHeader["allTransitionsWrapper.h"] = 1
  1403. CxxIgnoreHeader["allTransitionsWrapper.h"] = 1
  1404. CxxIgnoreHeader["namedNode.h"] = 1
  1405. CxxIgnoreHeader["renderRelation.h"] = 1
  1406. CxxIgnoreHeader["renderTraverser.h"] = 1
  1407. CxxIgnoreHeader["get_rel_pos.h"] = 1
  1408. CxxIgnoreHeader["Max.h"] = 1
  1409. CxxIgnoreHeader["iparamb2.h"] = 1
  1410. CxxIgnoreHeader["iparamm2.h"] = 1
  1411. CxxIgnoreHeader["istdplug.h"] = 1
  1412. CxxIgnoreHeader["iskin.h"] = 1
  1413. CxxIgnoreHeader["stdmat.h"] = 1
  1414. CxxIgnoreHeader["phyexp.h"] = 1
  1415. CxxIgnoreHeader["bipexp.h"] = 1
  1416. CxxIgnoreHeader["windows.h"] = 1
  1417. CxxIgnoreHeader["windef.h"] = 1
  1418. CxxIgnoreHeader["modstack.h"] = 1
  1419. CxxIgnoreHeader["afxres.h"] = 1
  1420. ##########################################################################################
  1421. #
  1422. # Generate pandaVersion.h
  1423. #
  1424. ##########################################################################################
  1425. VERSION1=int(VERSION.split(".")[0])
  1426. VERSION2=int(VERSION.split(".")[1])
  1427. VERSION3=int(VERSION.split(".")[2])
  1428. NVERSION=VERSION1*1000000+VERSION2*1000+VERSION3
  1429. conf="""
  1430. #define PANDA_MAJOR_VERSION VERSION1
  1431. #define PANDA_MINOR_VERSION VERSION2
  1432. #define PANDA_SEQUENCE_VERSION VERSION2
  1433. #undef PANDA_OFFICIAL_VERSION
  1434. #define PANDA_VERSION NVERSION
  1435. #define PANDA_VERSION_STR "VERSION1.VERSION2.VERSION3"
  1436. #define PANDA_DISTRIBUTOR "makepanda"
  1437. """
  1438. conf = conf.replace("VERSION1",str(VERSION1))
  1439. conf = conf.replace("VERSION2",str(VERSION2))
  1440. conf = conf.replace("VERSION3",str(VERSION3))
  1441. conf = conf.replace("NVERSION",str(NVERSION))
  1442. ConditionalWriteFile(PREFIX+'/include/pandaVersion.h',conf)
  1443. conf="""
  1444. # include "dtoolbase.h"
  1445. EXPCL_DTOOL int panda_version_VERSION1_VERSION2_VERSION3 = 0;
  1446. """
  1447. conf = conf.replace("VERSION1",str(VERSION1))
  1448. conf = conf.replace("VERSION2",str(VERSION2))
  1449. conf = conf.replace("VERSION3",str(VERSION3))
  1450. conf = conf.replace("NVERSION",str(NVERSION))
  1451. ConditionalWriteFile(PREFIX+'/include/checkPandaVersion.cxx',conf)
  1452. conf="""
  1453. # include "dtoolbase.h"
  1454. extern EXPCL_DTOOL int panda_version_VERSION1_VERSION2_VERSION3;
  1455. # ifndef WIN32
  1456. /* For Windows, exporting the symbol from the DLL is sufficient; the
  1457. DLL will not load unless all expected public symbols are defined.
  1458. Other systems may not mind if the symbol is absent unless we
  1459. explictly write code that references it. */
  1460. static int check_panda_version = panda_version_VERSION1_VERSION2_VERSION3;
  1461. # endif
  1462. """
  1463. conf = conf.replace("VERSION1",str(VERSION1))
  1464. conf = conf.replace("VERSION2",str(VERSION2))
  1465. conf = conf.replace("VERSION3",str(VERSION3))
  1466. conf = conf.replace("NVERSION",str(NVERSION))
  1467. ConditionalWriteFile(PREFIX+'/include/checkPandaVersion.h',conf)
  1468. ConditionalWriteFile(PREFIX + "/tmp/pythonversion", os.path.basename(PythonSDK))
  1469. ##########################################################################################
  1470. #
  1471. # If running under windows, compile up the icon.
  1472. #
  1473. ##########################################################################################
  1474. if (sys.platform == "win32"):
  1475. IPATH=["panda/src/configfiles"]
  1476. OPTS=[]
  1477. CompileRES(ipath=IPATH, opts=OPTS, src='pandaIcon.rc', obj='pandaIcon.res')
  1478. ##########################################################################################
  1479. #
  1480. # Generate direct/__init__.py
  1481. #
  1482. ##########################################################################################
  1483. DIRECTINIT="""
  1484. import os,sys
  1485. srcdir1 = os.path.join(__path__[0], 'src')
  1486. srcdir2 = os.path.join(__path__[0], '..', '..', 'direct', 'src')
  1487. if (os.path.isdir(srcdir1)): __path__[0] = srcdir1
  1488. elif (os.path.isdir(srcdir2)): __path__[0] = srcdir2
  1489. else: sys.exit("Cannot find the 'direct' tree")
  1490. """
  1491. ConditionalWriteFile(PREFIX+'/direct/__init__.py', DIRECTINIT)
  1492. ##########################################################################################
  1493. #
  1494. # Generate dtool_have_xxx.dat
  1495. #
  1496. ##########################################################################################
  1497. for x in PACKAGES:
  1498. if (OMIT.count(x)): ConditionalWriteFile(PREFIX+'/tmp/dtool_have_'+x.lower()+'.dat',"0\n")
  1499. else: ConditionalWriteFile(PREFIX+'/tmp/dtool_have_'+x.lower()+'.dat',"1\n")
  1500. ##########################################################################################
  1501. #
  1502. # Generate dtool_config.h
  1503. #
  1504. ##########################################################################################
  1505. conf = "/* dtool_config.h. Generated automatically by makepanda.py */\n"
  1506. for key,win,unix in DTOOLDEFAULTS:
  1507. val = DTOOLCONFIG[key]
  1508. if (val == 'UNDEF'): conf = conf + "#undef " + key + "\n"
  1509. else: conf = conf + "#define " + key + " " + val + "\n"
  1510. ConditionalWriteFile(PREFIX+'/include/dtool_config.h',conf)
  1511. ##########################################################################################
  1512. #
  1513. # Copy the config file into the build
  1514. #
  1515. ##########################################################################################
  1516. CopyFile(PREFIX+'/etc/', 'doc/Config.prc')
  1517. ##########################################################################################
  1518. #
  1519. # Copy the precompiled binaries and DLLs into the build.
  1520. #
  1521. ##########################################################################################
  1522. for pkg in PACKAGES:
  1523. if (OMIT.count(pkg)==0):
  1524. if (sys.platform == "win32"):
  1525. if (os.path.exists(THIRDPARTY+pkg.lower()+"/bin")):
  1526. CopyAllFiles(PREFIX+"/bin/", THIRDPARTY + pkg.lower() + "/bin/")
  1527. else:
  1528. if (os.path.exists(THIRDPARTY + pkg.lower() + "/lib")):
  1529. CopyAllFiles(PREFIX+"/lib/", THIRDPARTY + pkg.lower() + "/lib/")
  1530. if (os.path.exists(THIRDPARTY+"extras/bin")):
  1531. CopyAllFiles(PREFIX+"/bin/", THIRDPARTY + "extras/bin/")
  1532. if (sys.platform == "win32"):
  1533. CopyTree(PREFIX+'/python', 'thirdparty/win-python')
  1534. CopyFile(PREFIX+'/bin/', 'thirdparty/win-python/python22.dll')
  1535. ########################################################################
  1536. ##
  1537. ## Compile the 'ppython' executable and 'genpycode' executables
  1538. ##
  1539. ########################################################################
  1540. IPATH=['direct/src/directbase']
  1541. CompileC(ipath=IPATH, opts=['BUILDING_PPYTHON'], src='ppython.cxx', obj='ppython.obj')
  1542. CompileLink(opts=['WINUSER'], dll='ppython.exe', obj=['ppython.obj'])
  1543. IPATH=['direct/src/directbase']
  1544. CompileC(ipath=IPATH, opts=['BUILDING_GENPYCODE'], src='ppython.cxx', obj='genpycode.obj')
  1545. CompileLink(opts=['WINUSER'], dll='genpycode.exe', obj=['genpycode.obj'])
  1546. ########################################################################
  1547. #
  1548. # Copy header files to the PREFIX/include directory.
  1549. #
  1550. # Are we just copying *ALL* headers into the include directory?
  1551. # If so, let's automate this. - Dave Schuyler
  1552. #
  1553. # We're definitely not copying all headers. We're only copying those
  1554. # same headers that are copied by ppremake. But the bigger question
  1555. # is, did he *intend* to copy all headers? Another good question is,
  1556. # could we just put a little tag into the header file itself, indicating
  1557. # that it is meant to be copied? - Josh Yelon
  1558. #
  1559. ########################################################################
  1560. ConditionalWriteFile(PREFIX+'/include/ctl3d.h', '/* dummy file to make MAX happy */')
  1561. CopyAllFiles(PREFIX+'/include/parser-inc/','dtool/src/parser-inc/')
  1562. CopyAllFiles(PREFIX+'/include/parser-inc/openssl/','dtool/src/parser-inc/')
  1563. CopyFile(PREFIX+'/include/parser-inc/Cg/','dtool/src/parser-inc/cg.h')
  1564. CopyFile(PREFIX+'/include/parser-inc/Cg/','dtool/src/parser-inc/cgGL.h')
  1565. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/cmath.I')
  1566. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/cmath.h')
  1567. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/dallocator.T')
  1568. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/dallocator.h')
  1569. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/dtoolbase.h')
  1570. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/dtoolbase_cc.h')
  1571. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/dtoolsymbols.h')
  1572. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/fakestringstream.h')
  1573. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/nearly_zero.h')
  1574. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/stl_compares.I')
  1575. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/stl_compares.h')
  1576. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/pallocator.T')
  1577. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/pallocator.h')
  1578. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/pdeque.h')
  1579. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/plist.h')
  1580. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/pmap.h')
  1581. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/pset.h')
  1582. CopyFile(PREFIX+'/include/','dtool/src/dtoolbase/pvector.h')
  1583. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/executionEnvironment.I')
  1584. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/executionEnvironment.h')
  1585. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/filename.I')
  1586. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/filename.h')
  1587. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/load_dso.h')
  1588. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/dSearchPath.I')
  1589. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/dSearchPath.h')
  1590. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/pfstream.h')
  1591. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/pfstream.I')
  1592. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/vector_string.h')
  1593. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/gnu_getopt.h')
  1594. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/pfstreamBuf.h')
  1595. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/vector_src.cxx')
  1596. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/vector_src.h')
  1597. CopyFile(PREFIX+'/include/','dtool/src/dtoolutil/pandaSystem.h')
  1598. CopyFile(PREFIX+'/include/','dtool/src/prc/config_prc.h')
  1599. CopyFile(PREFIX+'/include/','dtool/src/prc/configDeclaration.I')
  1600. CopyFile(PREFIX+'/include/','dtool/src/prc/configDeclaration.h')
  1601. CopyFile(PREFIX+'/include/','dtool/src/prc/configFlags.I')
  1602. CopyFile(PREFIX+'/include/','dtool/src/prc/configFlags.h')
  1603. CopyFile(PREFIX+'/include/','dtool/src/prc/configPage.I')
  1604. CopyFile(PREFIX+'/include/','dtool/src/prc/configPage.h')
  1605. CopyFile(PREFIX+'/include/','dtool/src/prc/configPageManager.I')
  1606. CopyFile(PREFIX+'/include/','dtool/src/prc/configPageManager.h')
  1607. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariable.I')
  1608. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariable.h')
  1609. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableBase.I')
  1610. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableBase.h')
  1611. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableBool.I')
  1612. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableBool.h')
  1613. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableCore.I')
  1614. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableCore.h')
  1615. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableDouble.I')
  1616. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableDouble.h')
  1617. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableEnum.I')
  1618. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableEnum.h')
  1619. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableFilename.I')
  1620. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableFilename.h')
  1621. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableInt.I')
  1622. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableInt.h')
  1623. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableList.I')
  1624. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableList.h')
  1625. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableManager.I')
  1626. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableManager.h')
  1627. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableSearchPath.I')
  1628. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableSearchPath.h')
  1629. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableString.I')
  1630. CopyFile(PREFIX+'/include/','dtool/src/prc/configVariableString.h')
  1631. CopyFile(PREFIX+'/include/','dtool/src/prc/globPattern.I')
  1632. CopyFile(PREFIX+'/include/','dtool/src/prc/globPattern.h')
  1633. CopyFile(PREFIX+'/include/','dtool/src/prc/notify.I')
  1634. CopyFile(PREFIX+'/include/','dtool/src/prc/notify.h')
  1635. CopyFile(PREFIX+'/include/','dtool/src/prc/notifyCategory.I')
  1636. CopyFile(PREFIX+'/include/','dtool/src/prc/notifyCategory.h')
  1637. CopyFile(PREFIX+'/include/','dtool/src/prc/notifyCategoryProxy.I')
  1638. CopyFile(PREFIX+'/include/','dtool/src/prc/notifyCategoryProxy.h')
  1639. CopyFile(PREFIX+'/include/','dtool/src/prc/notifySeverity.h')
  1640. CopyFile(PREFIX+'/include/','dtool/src/prc/prcKeyRegistry.I')
  1641. CopyFile(PREFIX+'/include/','dtool/src/prc/prcKeyRegistry.h')
  1642. CopyFile(PREFIX+'/include/','dtool/src/dconfig/configTable.I')
  1643. CopyFile(PREFIX+'/include/','dtool/src/dconfig/configTable.h')
  1644. CopyFile(PREFIX+'/include/','dtool/src/dconfig/config_dconfig.h')
  1645. CopyFile(PREFIX+'/include/','dtool/src/dconfig/config_setup.h')
  1646. CopyFile(PREFIX+'/include/','dtool/src/dconfig/dconfig.I')
  1647. CopyFile(PREFIX+'/include/','dtool/src/dconfig/dconfig.h')
  1648. CopyFile(PREFIX+'/include/','dtool/src/dconfig/serialization.I')
  1649. CopyFile(PREFIX+'/include/','dtool/src/dconfig/serialization.h')
  1650. CopyFile(PREFIX+'/include/','dtool/src/dconfig/symbolEnt.I')
  1651. CopyFile(PREFIX+'/include/','dtool/src/dconfig/symbolEnt.h')
  1652. CopyFile(PREFIX+'/include/','dtool/src/interrogatedb/interrogate_interface.h')
  1653. CopyFile(PREFIX+'/include/','dtool/src/interrogatedb/interrogate_request.h')
  1654. CopyFile(PREFIX+'/include/','dtool/src/interrogatedb/vector_int.h')
  1655. CopyFile(PREFIX+'/include/','dtool/src/interrogatedb/config_interrogatedb.h')
  1656. CopyFile(PREFIX+'/include/','dtool/src/pystub/pystub.h')
  1657. CopyFile(PREFIX+'/include/','dtool/src/prckeys/signPrcFile_src.cxx')
  1658. CopyFile(PREFIX+'/include/','panda/src/pandabase/pandabase.h')
  1659. CopyFile(PREFIX+'/include/','panda/src/pandabase/pandasymbols.h')
  1660. CopyFile(PREFIX+'/include/','panda/src/express/atomicAdjustDummyImpl.h')
  1661. CopyFile(PREFIX+'/include/','panda/src/express/atomicAdjustDummyImpl.I')
  1662. CopyFile(PREFIX+'/include/','panda/src/express/atomicAdjust.h')
  1663. CopyFile(PREFIX+'/include/','panda/src/express/atomicAdjust.I')
  1664. CopyFile(PREFIX+'/include/','panda/src/express/atomicAdjustImpl.h')
  1665. CopyFile(PREFIX+'/include/','panda/src/express/atomicAdjustNsprImpl.h')
  1666. CopyFile(PREFIX+'/include/','panda/src/express/atomicAdjustNsprImpl.I')
  1667. CopyFile(PREFIX+'/include/','panda/src/express/bigEndian.h')
  1668. CopyFile(PREFIX+'/include/','panda/src/express/buffer.I')
  1669. CopyFile(PREFIX+'/include/','panda/src/express/buffer.h')
  1670. CopyFile(PREFIX+'/include/','panda/src/express/checksumHashGenerator.I')
  1671. CopyFile(PREFIX+'/include/','panda/src/express/checksumHashGenerator.h')
  1672. CopyFile(PREFIX+'/include/','panda/src/express/circBuffer.I')
  1673. CopyFile(PREFIX+'/include/','panda/src/express/circBuffer.h')
  1674. CopyFile(PREFIX+'/include/','panda/src/express/clockObject.I')
  1675. CopyFile(PREFIX+'/include/','panda/src/express/clockObject.h')
  1676. CopyFile(PREFIX+'/include/','panda/src/express/conditionVarDummyImpl.h')
  1677. CopyFile(PREFIX+'/include/','panda/src/express/conditionVarDummyImpl.I')
  1678. CopyFile(PREFIX+'/include/','panda/src/express/conditionVar.h')
  1679. CopyFile(PREFIX+'/include/','panda/src/express/conditionVar.I')
  1680. CopyFile(PREFIX+'/include/','panda/src/express/conditionVarImpl.h')
  1681. CopyFile(PREFIX+'/include/','panda/src/express/conditionVarNsprImpl.h')
  1682. CopyFile(PREFIX+'/include/','panda/src/express/conditionVarNsprImpl.I')
  1683. CopyFile(PREFIX+'/include/','panda/src/express/config_express.h')
  1684. CopyFile(PREFIX+'/include/','panda/src/express/datagram.I')
  1685. CopyFile(PREFIX+'/include/','panda/src/express/datagram.h')
  1686. CopyFile(PREFIX+'/include/','panda/src/express/datagramGenerator.I')
  1687. CopyFile(PREFIX+'/include/','panda/src/express/datagramGenerator.h')
  1688. CopyFile(PREFIX+'/include/','panda/src/express/datagramIterator.I')
  1689. CopyFile(PREFIX+'/include/','panda/src/express/datagramIterator.h')
  1690. CopyFile(PREFIX+'/include/','panda/src/express/datagramSink.I')
  1691. CopyFile(PREFIX+'/include/','panda/src/express/datagramSink.h')
  1692. CopyFile(PREFIX+'/include/','panda/src/express/dcast.T')
  1693. CopyFile(PREFIX+'/include/','panda/src/express/dcast.h')
  1694. CopyFile(PREFIX+'/include/','panda/src/express/encryptStreamBuf.h')
  1695. CopyFile(PREFIX+'/include/','panda/src/express/encryptStreamBuf.I')
  1696. CopyFile(PREFIX+'/include/','panda/src/express/encryptStream.h')
  1697. CopyFile(PREFIX+'/include/','panda/src/express/encryptStream.I')
  1698. CopyFile(PREFIX+'/include/','panda/src/express/error_utils.h')
  1699. CopyFile(PREFIX+'/include/','panda/src/express/hashGeneratorBase.I')
  1700. CopyFile(PREFIX+'/include/','panda/src/express/hashGeneratorBase.h')
  1701. CopyFile(PREFIX+'/include/','panda/src/express/hashVal.I')
  1702. CopyFile(PREFIX+'/include/','panda/src/express/hashVal.h')
  1703. CopyFile(PREFIX+'/include/','panda/src/express/indent.I')
  1704. CopyFile(PREFIX+'/include/','panda/src/express/indent.h')
  1705. CopyFile(PREFIX+'/include/','panda/src/express/indirectLess.I')
  1706. CopyFile(PREFIX+'/include/','panda/src/express/indirectLess.h')
  1707. CopyFile(PREFIX+'/include/','panda/src/express/littleEndian.h')
  1708. CopyFile(PREFIX+'/include/','panda/src/express/memoryInfo.I')
  1709. CopyFile(PREFIX+'/include/','panda/src/express/memoryInfo.h')
  1710. CopyFile(PREFIX+'/include/','panda/src/express/memoryUsage.I')
  1711. CopyFile(PREFIX+'/include/','panda/src/express/memoryUsage.h')
  1712. CopyFile(PREFIX+'/include/','panda/src/express/memoryUsagePointerCounts.I')
  1713. CopyFile(PREFIX+'/include/','panda/src/express/memoryUsagePointerCounts.h')
  1714. CopyFile(PREFIX+'/include/','panda/src/express/memoryUsagePointers.I')
  1715. CopyFile(PREFIX+'/include/','panda/src/express/memoryUsagePointers.h')
  1716. CopyFile(PREFIX+'/include/','panda/src/express/multifile.I')
  1717. CopyFile(PREFIX+'/include/','panda/src/express/multifile.h')
  1718. CopyFile(PREFIX+'/include/','panda/src/express/mutexDummyImpl.h')
  1719. CopyFile(PREFIX+'/include/','panda/src/express/mutexDummyImpl.I')
  1720. CopyFile(PREFIX+'/include/','panda/src/express/pmutex.h')
  1721. CopyFile(PREFIX+'/include/','panda/src/express/mutexHolder.h')
  1722. CopyFile(PREFIX+'/include/','panda/src/express/mutexHolder.I')
  1723. CopyFile(PREFIX+'/include/','panda/src/express/pmutex.I')
  1724. CopyFile(PREFIX+'/include/','panda/src/express/mutexImpl.h')
  1725. CopyFile(PREFIX+'/include/','panda/src/express/mutexNsprImpl.h')
  1726. CopyFile(PREFIX+'/include/','panda/src/express/mutexNsprImpl.I')
  1727. CopyFile(PREFIX+'/include/','panda/src/express/namable.I')
  1728. CopyFile(PREFIX+'/include/','panda/src/express/namable.h')
  1729. CopyFile(PREFIX+'/include/','panda/src/express/nativeNumericData.I')
  1730. CopyFile(PREFIX+'/include/','panda/src/express/nativeNumericData.h')
  1731. CopyFile(PREFIX+'/include/','panda/src/express/numeric_types.h')
  1732. CopyFile(PREFIX+'/include/','panda/src/express/ordered_vector.h')
  1733. CopyFile(PREFIX+'/include/','panda/src/express/ordered_vector.I')
  1734. CopyFile(PREFIX+'/include/','panda/src/express/ordered_vector.T')
  1735. CopyFile(PREFIX+'/include/','panda/src/express/password_hash.h')
  1736. CopyFile(PREFIX+'/include/','panda/src/express/patchfile.I')
  1737. CopyFile(PREFIX+'/include/','panda/src/express/patchfile.h')
  1738. CopyFile(PREFIX+'/include/','panda/src/express/pointerTo.I')
  1739. CopyFile(PREFIX+'/include/','panda/src/express/pointerTo.h')
  1740. CopyFile(PREFIX+'/include/','panda/src/express/pointerToArray.I')
  1741. CopyFile(PREFIX+'/include/','panda/src/express/pointerToArray.h')
  1742. CopyFile(PREFIX+'/include/','panda/src/express/pointerToBase.I')
  1743. CopyFile(PREFIX+'/include/','panda/src/express/pointerToBase.h')
  1744. CopyFile(PREFIX+'/include/','panda/src/express/pointerToVoid.I')
  1745. CopyFile(PREFIX+'/include/','panda/src/express/pointerToVoid.h')
  1746. CopyFile(PREFIX+'/include/','panda/src/express/profileTimer.I')
  1747. CopyFile(PREFIX+'/include/','panda/src/express/profileTimer.h')
  1748. CopyFile(PREFIX+'/include/','panda/src/express/pta_uchar.h')
  1749. CopyFile(PREFIX+'/include/','panda/src/express/ramfile.I')
  1750. CopyFile(PREFIX+'/include/','panda/src/express/ramfile.h')
  1751. CopyFile(PREFIX+'/include/','panda/src/express/referenceCount.I')
  1752. CopyFile(PREFIX+'/include/','panda/src/express/referenceCount.h')
  1753. CopyFile(PREFIX+'/include/','panda/src/express/register_type.I')
  1754. CopyFile(PREFIX+'/include/','panda/src/express/register_type.h')
  1755. CopyFile(PREFIX+'/include/','panda/src/express/reversedNumericData.I')
  1756. CopyFile(PREFIX+'/include/','panda/src/express/reversedNumericData.h')
  1757. CopyFile(PREFIX+'/include/','panda/src/express/selectThreadImpl.h')
  1758. CopyFile(PREFIX+'/include/','panda/src/express/streamReader.I')
  1759. CopyFile(PREFIX+'/include/','panda/src/express/streamReader.h')
  1760. CopyFile(PREFIX+'/include/','panda/src/express/streamWriter.I')
  1761. CopyFile(PREFIX+'/include/','panda/src/express/streamWriter.h')
  1762. CopyFile(PREFIX+'/include/','panda/src/express/stringDecoder.h')
  1763. CopyFile(PREFIX+'/include/','panda/src/express/stringDecoder.I')
  1764. CopyFile(PREFIX+'/include/','panda/src/express/subStream.I')
  1765. CopyFile(PREFIX+'/include/','panda/src/express/subStream.h')
  1766. CopyFile(PREFIX+'/include/','panda/src/express/subStreamBuf.h')
  1767. CopyFile(PREFIX+'/include/','panda/src/express/textEncoder.h')
  1768. CopyFile(PREFIX+'/include/','panda/src/express/textEncoder.I')
  1769. CopyFile(PREFIX+'/include/','panda/src/express/threadDummyImpl.h')
  1770. CopyFile(PREFIX+'/include/','panda/src/express/threadDummyImpl.I')
  1771. CopyFile(PREFIX+'/include/','panda/src/express/thread.h')
  1772. CopyFile(PREFIX+'/include/','panda/src/express/thread.I')
  1773. CopyFile(PREFIX+'/include/','panda/src/express/threadImpl.h')
  1774. CopyFile(PREFIX+'/include/','panda/src/express/threadNsprImpl.h')
  1775. CopyFile(PREFIX+'/include/','panda/src/express/threadNsprImpl.I')
  1776. CopyFile(PREFIX+'/include/','panda/src/express/threadPriority.h')
  1777. CopyFile(PREFIX+'/include/','panda/src/express/tokenBoard.I')
  1778. CopyFile(PREFIX+'/include/','panda/src/express/tokenBoard.h')
  1779. CopyFile(PREFIX+'/include/','panda/src/express/trueClock.I')
  1780. CopyFile(PREFIX+'/include/','panda/src/express/trueClock.h')
  1781. CopyFile(PREFIX+'/include/','panda/src/express/typeHandle.I')
  1782. CopyFile(PREFIX+'/include/','panda/src/express/typeHandle.h')
  1783. CopyFile(PREFIX+'/include/','panda/src/express/typedObject.I')
  1784. CopyFile(PREFIX+'/include/','panda/src/express/typedObject.h')
  1785. CopyFile(PREFIX+'/include/','panda/src/express/typedReferenceCount.I')
  1786. CopyFile(PREFIX+'/include/','panda/src/express/typedReferenceCount.h')
  1787. CopyFile(PREFIX+'/include/','panda/src/express/typedef.h')
  1788. CopyFile(PREFIX+'/include/','panda/src/express/typeRegistry.I')
  1789. CopyFile(PREFIX+'/include/','panda/src/express/typeRegistry.h')
  1790. CopyFile(PREFIX+'/include/','panda/src/express/typeRegistryNode.I')
  1791. CopyFile(PREFIX+'/include/','panda/src/express/typeRegistryNode.h')
  1792. CopyFile(PREFIX+'/include/','panda/src/express/unicodeLatinMap.h')
  1793. CopyFile(PREFIX+'/include/','panda/src/express/vector_uchar.h')
  1794. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileComposite.h')
  1795. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileComposite.I')
  1796. CopyFile(PREFIX+'/include/','panda/src/express/virtualFile.h')
  1797. CopyFile(PREFIX+'/include/','panda/src/express/virtualFile.I')
  1798. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileList.I')
  1799. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileList.h')
  1800. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileMount.h')
  1801. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileMount.I')
  1802. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileMountMultifile.h')
  1803. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileMountMultifile.I')
  1804. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileMountSystem.h')
  1805. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileMountSystem.I')
  1806. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileSimple.h')
  1807. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileSimple.I')
  1808. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileSystem.h')
  1809. CopyFile(PREFIX+'/include/','panda/src/express/virtualFileSystem.I')
  1810. CopyFile(PREFIX+'/include/','panda/src/express/weakPointerTo.I')
  1811. CopyFile(PREFIX+'/include/','panda/src/express/weakPointerTo.h')
  1812. CopyFile(PREFIX+'/include/','panda/src/express/weakPointerToBase.I')
  1813. CopyFile(PREFIX+'/include/','panda/src/express/weakPointerToBase.h')
  1814. CopyFile(PREFIX+'/include/','panda/src/express/weakPointerToVoid.I')
  1815. CopyFile(PREFIX+'/include/','panda/src/express/weakPointerToVoid.h')
  1816. CopyFile(PREFIX+'/include/','panda/src/express/weakReferenceList.I')
  1817. CopyFile(PREFIX+'/include/','panda/src/express/weakReferenceList.h')
  1818. CopyFile(PREFIX+'/include/','panda/src/express/windowsRegistry.h')
  1819. CopyFile(PREFIX+'/include/','panda/src/express/zStream.I')
  1820. CopyFile(PREFIX+'/include/','panda/src/express/zStream.h')
  1821. CopyFile(PREFIX+'/include/','panda/src/express/zStreamBuf.h')
  1822. CopyFile(PREFIX+'/include/','panda/src/downloader/asyncUtility.h')
  1823. CopyFile(PREFIX+'/include/','panda/src/downloader/asyncUtility.I')
  1824. CopyFile(PREFIX+'/include/','panda/src/downloader/bioPtr.I')
  1825. CopyFile(PREFIX+'/include/','panda/src/downloader/bioPtr.h')
  1826. CopyFile(PREFIX+'/include/','panda/src/downloader/bioStreamPtr.I')
  1827. CopyFile(PREFIX+'/include/','panda/src/downloader/bioStreamPtr.h')
  1828. CopyFile(PREFIX+'/include/','panda/src/downloader/bioStream.I')
  1829. CopyFile(PREFIX+'/include/','panda/src/downloader/bioStream.h')
  1830. CopyFile(PREFIX+'/include/','panda/src/downloader/bioStreamBuf.h')
  1831. CopyFile(PREFIX+'/include/','panda/src/downloader/chunkedStream.I')
  1832. CopyFile(PREFIX+'/include/','panda/src/downloader/chunkedStream.h')
  1833. CopyFile(PREFIX+'/include/','panda/src/downloader/chunkedStreamBuf.h')
  1834. CopyFile(PREFIX+'/include/','panda/src/downloader/config_downloader.h')
  1835. CopyFile(PREFIX+'/include/','panda/src/downloader/decompressor.h')
  1836. CopyFile(PREFIX+'/include/','panda/src/downloader/decompressor.I')
  1837. CopyFile(PREFIX+'/include/','panda/src/downloader/documentSpec.h')
  1838. CopyFile(PREFIX+'/include/','panda/src/downloader/documentSpec.I')
  1839. CopyFile(PREFIX+'/include/','panda/src/downloader/download_utils.h')
  1840. CopyFile(PREFIX+'/include/','panda/src/downloader/downloadDb.h')
  1841. CopyFile(PREFIX+'/include/','panda/src/downloader/downloadDb.I')
  1842. CopyFile(PREFIX+'/include/','panda/src/downloader/extractor.h')
  1843. CopyFile(PREFIX+'/include/','panda/src/downloader/httpAuthorization.I')
  1844. CopyFile(PREFIX+'/include/','panda/src/downloader/httpAuthorization.h')
  1845. CopyFile(PREFIX+'/include/','panda/src/downloader/httpBasicAuthorization.I')
  1846. CopyFile(PREFIX+'/include/','panda/src/downloader/httpBasicAuthorization.h')
  1847. CopyFile(PREFIX+'/include/','panda/src/downloader/httpChannel.I')
  1848. CopyFile(PREFIX+'/include/','panda/src/downloader/httpChannel.h')
  1849. CopyFile(PREFIX+'/include/','panda/src/downloader/httpClient.I')
  1850. CopyFile(PREFIX+'/include/','panda/src/downloader/httpClient.h')
  1851. CopyFile(PREFIX+'/include/','panda/src/downloader/httpCookie.I')
  1852. CopyFile(PREFIX+'/include/','panda/src/downloader/httpCookie.h')
  1853. CopyFile(PREFIX+'/include/','panda/src/downloader/httpDate.I')
  1854. CopyFile(PREFIX+'/include/','panda/src/downloader/httpDate.h')
  1855. CopyFile(PREFIX+'/include/','panda/src/downloader/httpDigestAuthorization.I')
  1856. CopyFile(PREFIX+'/include/','panda/src/downloader/httpDigestAuthorization.h')
  1857. CopyFile(PREFIX+'/include/','panda/src/downloader/httpEntityTag.I')
  1858. CopyFile(PREFIX+'/include/','panda/src/downloader/httpEntityTag.h')
  1859. CopyFile(PREFIX+'/include/','panda/src/downloader/httpEnum.h')
  1860. CopyFile(PREFIX+'/include/','panda/src/downloader/identityStream.I')
  1861. CopyFile(PREFIX+'/include/','panda/src/downloader/identityStream.h')
  1862. CopyFile(PREFIX+'/include/','panda/src/downloader/identityStreamBuf.h')
  1863. CopyFile(PREFIX+'/include/','panda/src/downloader/multiplexStream.I')
  1864. CopyFile(PREFIX+'/include/','panda/src/downloader/multiplexStream.h')
  1865. CopyFile(PREFIX+'/include/','panda/src/downloader/multiplexStreamBuf.I')
  1866. CopyFile(PREFIX+'/include/','panda/src/downloader/multiplexStreamBuf.h')
  1867. CopyFile(PREFIX+'/include/','panda/src/downloader/patcher.h')
  1868. CopyFile(PREFIX+'/include/','panda/src/downloader/patcher.I')
  1869. CopyFile(PREFIX+'/include/','panda/src/downloader/socketStream.h')
  1870. CopyFile(PREFIX+'/include/','panda/src/downloader/socketStream.I')
  1871. CopyFile(PREFIX+'/include/','panda/src/downloader/ssl_utils.h')
  1872. CopyFile(PREFIX+'/include/','panda/src/downloader/urlSpec.h')
  1873. CopyFile(PREFIX+'/include/','panda/src/downloader/urlSpec.I')
  1874. CopyFile(PREFIX+'/include/','panda/src/putil/bam.h')
  1875. CopyFile(PREFIX+'/include/','panda/src/putil/bamReader.I')
  1876. CopyFile(PREFIX+'/include/','panda/src/putil/bamReader.h')
  1877. CopyFile(PREFIX+'/include/','panda/src/putil/bamReaderParam.I')
  1878. CopyFile(PREFIX+'/include/','panda/src/putil/bamReaderParam.h')
  1879. CopyFile(PREFIX+'/include/','panda/src/putil/bamWriter.I')
  1880. CopyFile(PREFIX+'/include/','panda/src/putil/bamWriter.h')
  1881. CopyFile(PREFIX+'/include/','panda/src/putil/bitMask.I')
  1882. CopyFile(PREFIX+'/include/','panda/src/putil/bitMask.h')
  1883. CopyFile(PREFIX+'/include/','panda/src/putil/buttonHandle.I')
  1884. CopyFile(PREFIX+'/include/','panda/src/putil/buttonHandle.h')
  1885. CopyFile(PREFIX+'/include/','panda/src/putil/buttonRegistry.I')
  1886. CopyFile(PREFIX+'/include/','panda/src/putil/buttonRegistry.h')
  1887. CopyFile(PREFIX+'/include/','panda/src/putil/collideMask.h')
  1888. CopyFile(PREFIX+'/include/','panda/src/putil/portalMask.h')
  1889. CopyFile(PREFIX+'/include/','panda/src/putil/compareTo.I')
  1890. CopyFile(PREFIX+'/include/','panda/src/putil/compareTo.h')
  1891. CopyFile(PREFIX+'/include/','panda/src/putil/config_util.h')
  1892. CopyFile(PREFIX+'/include/','panda/src/putil/configurable.h')
  1893. CopyFile(PREFIX+'/include/','panda/src/putil/factory.I')
  1894. CopyFile(PREFIX+'/include/','panda/src/putil/factory.h')
  1895. CopyFile(PREFIX+'/include/','panda/src/putil/cachedTypedWritableReferenceCount.h')
  1896. CopyFile(PREFIX+'/include/','panda/src/putil/cachedTypedWritableReferenceCount.I')
  1897. CopyFile(PREFIX+'/include/','panda/src/putil/cycleData.h')
  1898. CopyFile(PREFIX+'/include/','panda/src/putil/cycleData.I')
  1899. CopyFile(PREFIX+'/include/','panda/src/putil/cycleDataReader.h')
  1900. CopyFile(PREFIX+'/include/','panda/src/putil/cycleDataReader.I')
  1901. CopyFile(PREFIX+'/include/','panda/src/putil/cycleDataWriter.h')
  1902. CopyFile(PREFIX+'/include/','panda/src/putil/cycleDataWriter.I')
  1903. CopyFile(PREFIX+'/include/','panda/src/putil/datagramInputFile.I')
  1904. CopyFile(PREFIX+'/include/','panda/src/putil/datagramInputFile.h')
  1905. CopyFile(PREFIX+'/include/','panda/src/putil/datagramOutputFile.I')
  1906. CopyFile(PREFIX+'/include/','panda/src/putil/datagramOutputFile.h')
  1907. CopyFile(PREFIX+'/include/','panda/src/putil/drawMask.h')
  1908. CopyFile(PREFIX+'/include/','panda/src/putil/factoryBase.I')
  1909. CopyFile(PREFIX+'/include/','panda/src/putil/factoryBase.h')
  1910. CopyFile(PREFIX+'/include/','panda/src/putil/factoryParam.I')
  1911. CopyFile(PREFIX+'/include/','panda/src/putil/factoryParam.h')
  1912. CopyFile(PREFIX+'/include/','panda/src/putil/factoryParams.I')
  1913. CopyFile(PREFIX+'/include/','panda/src/putil/factoryParams.h')
  1914. CopyFile(PREFIX+'/include/','panda/src/putil/firstOfPairCompare.I')
  1915. CopyFile(PREFIX+'/include/','panda/src/putil/firstOfPairCompare.h')
  1916. CopyFile(PREFIX+'/include/','panda/src/putil/firstOfPairLess.I')
  1917. CopyFile(PREFIX+'/include/','panda/src/putil/firstOfPairLess.h')
  1918. CopyFile(PREFIX+'/include/','panda/src/putil/globalPointerRegistry.I')
  1919. CopyFile(PREFIX+'/include/','panda/src/putil/globalPointerRegistry.h')
  1920. CopyFile(PREFIX+'/include/','panda/src/putil/indirectCompareNames.I')
  1921. CopyFile(PREFIX+'/include/','panda/src/putil/indirectCompareNames.h')
  1922. CopyFile(PREFIX+'/include/','panda/src/putil/indirectCompareTo.I')
  1923. CopyFile(PREFIX+'/include/','panda/src/putil/indirectCompareTo.h')
  1924. CopyFile(PREFIX+'/include/','panda/src/putil/ioPtaDatagramFloat.h')
  1925. CopyFile(PREFIX+'/include/','panda/src/putil/ioPtaDatagramInt.h')
  1926. CopyFile(PREFIX+'/include/','panda/src/putil/ioPtaDatagramShort.h')
  1927. CopyFile(PREFIX+'/include/','panda/src/putil/iterator_types.h')
  1928. CopyFile(PREFIX+'/include/','panda/src/putil/keyboardButton.h')
  1929. CopyFile(PREFIX+'/include/','panda/src/putil/lineStream.I')
  1930. CopyFile(PREFIX+'/include/','panda/src/putil/lineStream.h')
  1931. CopyFile(PREFIX+'/include/','panda/src/putil/lineStreamBuf.I')
  1932. CopyFile(PREFIX+'/include/','panda/src/putil/lineStreamBuf.h')
  1933. CopyFile(PREFIX+'/include/','panda/src/putil/load_prc_file.h')
  1934. CopyFile(PREFIX+'/include/','panda/src/putil/modifierButtons.I')
  1935. CopyFile(PREFIX+'/include/','panda/src/putil/modifierButtons.h')
  1936. CopyFile(PREFIX+'/include/','panda/src/putil/mouseButton.h')
  1937. CopyFile(PREFIX+'/include/','panda/src/putil/mouseData.I')
  1938. CopyFile(PREFIX+'/include/','panda/src/putil/mouseData.h')
  1939. CopyFile(PREFIX+'/include/','panda/src/putil/nameUniquifier.I')
  1940. CopyFile(PREFIX+'/include/','panda/src/putil/nameUniquifier.h')
  1941. CopyFile(PREFIX+'/include/','panda/src/putil/pipeline.h')
  1942. CopyFile(PREFIX+'/include/','panda/src/putil/pipeline.I')
  1943. CopyFile(PREFIX+'/include/','panda/src/putil/pipelineCycler.h')
  1944. CopyFile(PREFIX+'/include/','panda/src/putil/pipelineCycler.I')
  1945. CopyFile(PREFIX+'/include/','panda/src/putil/pipelineCyclerBase.h')
  1946. CopyFile(PREFIX+'/include/','panda/src/putil/pipelineCyclerBase.I')
  1947. CopyFile(PREFIX+'/include/','panda/src/putil/pta_double.h')
  1948. CopyFile(PREFIX+'/include/','panda/src/putil/pta_float.h')
  1949. CopyFile(PREFIX+'/include/','panda/src/putil/pta_int.h')
  1950. CopyFile(PREFIX+'/include/','panda/src/putil/pta_ushort.h')
  1951. CopyFile(PREFIX+'/include/','panda/src/putil/string_utils.I')
  1952. CopyFile(PREFIX+'/include/','panda/src/putil/string_utils.h')
  1953. CopyFile(PREFIX+'/include/','panda/src/putil/timedCycle.I')
  1954. CopyFile(PREFIX+'/include/','panda/src/putil/timedCycle.h')
  1955. CopyFile(PREFIX+'/include/','panda/src/putil/typedWritable.I')
  1956. CopyFile(PREFIX+'/include/','panda/src/putil/typedWritable.h')
  1957. CopyFile(PREFIX+'/include/','panda/src/putil/typedWritableReferenceCount.I')
  1958. CopyFile(PREFIX+'/include/','panda/src/putil/typedWritableReferenceCount.h')
  1959. CopyFile(PREFIX+'/include/','panda/src/putil/updateSeq.I')
  1960. CopyFile(PREFIX+'/include/','panda/src/putil/updateSeq.h')
  1961. CopyFile(PREFIX+'/include/','panda/src/putil/uniqueIdAllocator.h')
  1962. CopyFile(PREFIX+'/include/','panda/src/putil/vector_double.h')
  1963. CopyFile(PREFIX+'/include/','panda/src/putil/vector_float.h')
  1964. CopyFile(PREFIX+'/include/','panda/src/putil/vector_typedWritable.h')
  1965. CopyFile(PREFIX+'/include/','panda/src/putil/vector_ushort.h')
  1966. CopyFile(PREFIX+'/include/','panda/src/putil/vector_writable.h')
  1967. CopyFile(PREFIX+'/include/','panda/src/putil/writableConfigurable.h')
  1968. CopyFile(PREFIX+'/include/','panda/src/putil/writableParam.I')
  1969. CopyFile(PREFIX+'/include/','panda/src/putil/writableParam.h')
  1970. CopyFile(PREFIX+'/include/','panda/src/audio/config_audio.h')
  1971. CopyFile(PREFIX+'/include/','panda/src/audio/audio.h')
  1972. CopyFile(PREFIX+'/include/','panda/src/audio/audioManager.h')
  1973. CopyFile(PREFIX+'/include/','panda/src/audio/audioSound.h')
  1974. CopyFile(PREFIX+'/include/','panda/src/audio/nullAudioManager.h')
  1975. CopyFile(PREFIX+'/include/','panda/src/audio/nullAudioSound.h')
  1976. CopyFile(PREFIX+'/include/','panda/src/event/buttonEvent.I')
  1977. CopyFile(PREFIX+'/include/','panda/src/event/buttonEvent.h')
  1978. CopyFile(PREFIX+'/include/','panda/src/event/buttonEventList.I')
  1979. CopyFile(PREFIX+'/include/','panda/src/event/buttonEventList.h')
  1980. CopyFile(PREFIX+'/include/','panda/src/event/event.I')
  1981. CopyFile(PREFIX+'/include/','panda/src/event/event.h')
  1982. CopyFile(PREFIX+'/include/','panda/src/event/eventHandler.h')
  1983. CopyFile(PREFIX+'/include/','panda/src/event/eventHandler.I')
  1984. CopyFile(PREFIX+'/include/','panda/src/event/eventParameter.I')
  1985. CopyFile(PREFIX+'/include/','panda/src/event/eventParameter.h')
  1986. CopyFile(PREFIX+'/include/','panda/src/event/eventQueue.I')
  1987. CopyFile(PREFIX+'/include/','panda/src/event/eventQueue.h')
  1988. CopyFile(PREFIX+'/include/','panda/src/event/eventReceiver.h')
  1989. CopyFile(PREFIX+'/include/','panda/src/event/pt_Event.h')
  1990. CopyFile(PREFIX+'/include/','panda/src/event/throw_event.I')
  1991. CopyFile(PREFIX+'/include/','panda/src/event/throw_event.h')
  1992. CopyFile(PREFIX+'/include/','panda/src/linmath/compose_matrix.h')
  1993. CopyFile(PREFIX+'/include/','panda/src/linmath/compose_matrix_src.I')
  1994. CopyFile(PREFIX+'/include/','panda/src/linmath/compose_matrix_src.h')
  1995. CopyFile(PREFIX+'/include/','panda/src/linmath/config_linmath.h')
  1996. CopyFile(PREFIX+'/include/','panda/src/linmath/coordinateSystem.h')
  1997. CopyFile(PREFIX+'/include/','panda/src/linmath/dbl2fltnames.h')
  1998. CopyFile(PREFIX+'/include/','panda/src/linmath/dblnames.h')
  1999. CopyFile(PREFIX+'/include/','panda/src/linmath/deg_2_rad.h')
  2000. CopyFile(PREFIX+'/include/','panda/src/linmath/flt2dblnames.h')
  2001. CopyFile(PREFIX+'/include/','panda/src/linmath/fltnames.h')
  2002. CopyFile(PREFIX+'/include/','panda/src/linmath/ioPtaDatagramLinMath.I')
  2003. CopyFile(PREFIX+'/include/','panda/src/linmath/ioPtaDatagramLinMath.h')
  2004. CopyFile(PREFIX+'/include/','panda/src/linmath/lcast_to.h')
  2005. CopyFile(PREFIX+'/include/','panda/src/linmath/lcast_to_src.I')
  2006. CopyFile(PREFIX+'/include/','panda/src/linmath/lcast_to_src.h')
  2007. CopyFile(PREFIX+'/include/','panda/src/linmath/lmat_ops.h')
  2008. CopyFile(PREFIX+'/include/','panda/src/linmath/lmat_ops_src.I')
  2009. CopyFile(PREFIX+'/include/','panda/src/linmath/lmat_ops_src.h')
  2010. CopyFile(PREFIX+'/include/','panda/src/linmath/lmatrix.h')
  2011. CopyFile(PREFIX+'/include/','panda/src/linmath/lmatrix3.h')
  2012. CopyFile(PREFIX+'/include/','panda/src/linmath/lmatrix3_src.I')
  2013. CopyFile(PREFIX+'/include/','panda/src/linmath/lmatrix3_src.h')
  2014. CopyFile(PREFIX+'/include/','panda/src/linmath/lmatrix4.h')
  2015. CopyFile(PREFIX+'/include/','panda/src/linmath/lmatrix4_src.I')
  2016. CopyFile(PREFIX+'/include/','panda/src/linmath/lmatrix4_src.h')
  2017. CopyFile(PREFIX+'/include/','panda/src/linmath/lorientation.h')
  2018. CopyFile(PREFIX+'/include/','panda/src/linmath/lorientation_src.I')
  2019. CopyFile(PREFIX+'/include/','panda/src/linmath/lorientation_src.h')
  2020. CopyFile(PREFIX+'/include/','panda/src/linmath/lpoint2.h')
  2021. CopyFile(PREFIX+'/include/','panda/src/linmath/lpoint2_src.I')
  2022. CopyFile(PREFIX+'/include/','panda/src/linmath/lpoint2_src.h')
  2023. CopyFile(PREFIX+'/include/','panda/src/linmath/lpoint3.h')
  2024. CopyFile(PREFIX+'/include/','panda/src/linmath/lpoint3_src.I')
  2025. CopyFile(PREFIX+'/include/','panda/src/linmath/lpoint3_src.h')
  2026. CopyFile(PREFIX+'/include/','panda/src/linmath/lpoint4.h')
  2027. CopyFile(PREFIX+'/include/','panda/src/linmath/lpoint4_src.I')
  2028. CopyFile(PREFIX+'/include/','panda/src/linmath/lpoint4_src.h')
  2029. CopyFile(PREFIX+'/include/','panda/src/linmath/lquaternion.h')
  2030. CopyFile(PREFIX+'/include/','panda/src/linmath/lquaternion_src.I')
  2031. CopyFile(PREFIX+'/include/','panda/src/linmath/lquaternion_src.h')
  2032. CopyFile(PREFIX+'/include/','panda/src/linmath/lrotation.h')
  2033. CopyFile(PREFIX+'/include/','panda/src/linmath/lrotation_src.I')
  2034. CopyFile(PREFIX+'/include/','panda/src/linmath/lrotation_src.h')
  2035. CopyFile(PREFIX+'/include/','panda/src/linmath/luse.I')
  2036. CopyFile(PREFIX+'/include/','panda/src/linmath/luse.h')
  2037. CopyFile(PREFIX+'/include/','panda/src/linmath/lvec2_ops.h')
  2038. CopyFile(PREFIX+'/include/','panda/src/linmath/lvec2_ops_src.I')
  2039. CopyFile(PREFIX+'/include/','panda/src/linmath/lvec2_ops_src.h')
  2040. CopyFile(PREFIX+'/include/','panda/src/linmath/lvec3_ops.h')
  2041. CopyFile(PREFIX+'/include/','panda/src/linmath/lvec3_ops_src.I')
  2042. CopyFile(PREFIX+'/include/','panda/src/linmath/lvec3_ops_src.h')
  2043. CopyFile(PREFIX+'/include/','panda/src/linmath/lvec4_ops.h')
  2044. CopyFile(PREFIX+'/include/','panda/src/linmath/lvec4_ops_src.I')
  2045. CopyFile(PREFIX+'/include/','panda/src/linmath/lvec4_ops_src.h')
  2046. CopyFile(PREFIX+'/include/','panda/src/linmath/lvecBase2.h')
  2047. CopyFile(PREFIX+'/include/','panda/src/linmath/lvecBase2_src.I')
  2048. CopyFile(PREFIX+'/include/','panda/src/linmath/lvecBase2_src.h')
  2049. CopyFile(PREFIX+'/include/','panda/src/linmath/lvecBase3.h')
  2050. CopyFile(PREFIX+'/include/','panda/src/linmath/lvecBase3_src.I')
  2051. CopyFile(PREFIX+'/include/','panda/src/linmath/lvecBase3_src.h')
  2052. CopyFile(PREFIX+'/include/','panda/src/linmath/lvecBase4.h')
  2053. CopyFile(PREFIX+'/include/','panda/src/linmath/lvecBase4_src.I')
  2054. CopyFile(PREFIX+'/include/','panda/src/linmath/lvecBase4_src.h')
  2055. CopyFile(PREFIX+'/include/','panda/src/linmath/lvector2.h')
  2056. CopyFile(PREFIX+'/include/','panda/src/linmath/lvector2_src.I')
  2057. CopyFile(PREFIX+'/include/','panda/src/linmath/lvector2_src.h')
  2058. CopyFile(PREFIX+'/include/','panda/src/linmath/lvector3.h')
  2059. CopyFile(PREFIX+'/include/','panda/src/linmath/lvector3_src.I')
  2060. CopyFile(PREFIX+'/include/','panda/src/linmath/lvector3_src.h')
  2061. CopyFile(PREFIX+'/include/','panda/src/linmath/lvector4.h')
  2062. CopyFile(PREFIX+'/include/','panda/src/linmath/lvector4_src.I')
  2063. CopyFile(PREFIX+'/include/','panda/src/linmath/lvector4_src.h')
  2064. CopyFile(PREFIX+'/include/','panda/src/linmath/mathNumbers.h')
  2065. CopyFile(PREFIX+'/include/','panda/src/linmath/mathNumbers.I')
  2066. CopyFile(PREFIX+'/include/','panda/src/linmath/pta_Colorf.h')
  2067. CopyFile(PREFIX+'/include/','panda/src/linmath/pta_Normalf.h')
  2068. CopyFile(PREFIX+'/include/','panda/src/linmath/pta_TexCoordf.h')
  2069. CopyFile(PREFIX+'/include/','panda/src/linmath/pta_Vertexf.h')
  2070. CopyFile(PREFIX+'/include/','panda/src/linmath/vector_Colorf.h')
  2071. CopyFile(PREFIX+'/include/','panda/src/linmath/vector_LPoint2f.h')
  2072. CopyFile(PREFIX+'/include/','panda/src/linmath/vector_LVecBase3f.h')
  2073. CopyFile(PREFIX+'/include/','panda/src/linmath/vector_Normalf.h')
  2074. CopyFile(PREFIX+'/include/','panda/src/linmath/vector_TexCoordf.h')
  2075. CopyFile(PREFIX+'/include/','panda/src/linmath/vector_Vertexf.h')
  2076. CopyFile(PREFIX+'/include/','panda/src/mathutil/boundingHexahedron.I')
  2077. CopyFile(PREFIX+'/include/','panda/src/mathutil/boundingHexahedron.h')
  2078. CopyFile(PREFIX+'/include/','panda/src/mathutil/boundingLine.I')
  2079. CopyFile(PREFIX+'/include/','panda/src/mathutil/boundingLine.h')
  2080. CopyFile(PREFIX+'/include/','panda/src/mathutil/boundingSphere.I')
  2081. CopyFile(PREFIX+'/include/','panda/src/mathutil/boundingSphere.h')
  2082. CopyFile(PREFIX+'/include/','panda/src/mathutil/boundingVolume.I')
  2083. CopyFile(PREFIX+'/include/','panda/src/mathutil/boundingVolume.h')
  2084. CopyFile(PREFIX+'/include/','panda/src/mathutil/config_mathutil.h')
  2085. CopyFile(PREFIX+'/include/','panda/src/mathutil/fftCompressor.h')
  2086. CopyFile(PREFIX+'/include/','panda/src/mathutil/finiteBoundingVolume.h')
  2087. CopyFile(PREFIX+'/include/','panda/src/mathutil/frustum.h')
  2088. CopyFile(PREFIX+'/include/','panda/src/mathutil/frustum_src.I')
  2089. CopyFile(PREFIX+'/include/','panda/src/mathutil/frustum_src.h')
  2090. CopyFile(PREFIX+'/include/','panda/src/mathutil/geometricBoundingVolume.I')
  2091. CopyFile(PREFIX+'/include/','panda/src/mathutil/geometricBoundingVolume.h')
  2092. CopyFile(PREFIX+'/include/','panda/src/mathutil/look_at.h')
  2093. CopyFile(PREFIX+'/include/','panda/src/mathutil/look_at_src.I')
  2094. CopyFile(PREFIX+'/include/','panda/src/mathutil/look_at_src.h')
  2095. CopyFile(PREFIX+'/include/','panda/src/mathutil/linmath_events.h')
  2096. CopyFile(PREFIX+'/include/','panda/src/mathutil/mathHelpers.I')
  2097. CopyFile(PREFIX+'/include/','panda/src/mathutil/mathHelpers.h')
  2098. CopyFile(PREFIX+'/include/','panda/src/mathutil/omniBoundingVolume.I')
  2099. CopyFile(PREFIX+'/include/','panda/src/mathutil/omniBoundingVolume.h')
  2100. CopyFile(PREFIX+'/include/','panda/src/mathutil/plane.h')
  2101. CopyFile(PREFIX+'/include/','panda/src/mathutil/plane_src.I')
  2102. CopyFile(PREFIX+'/include/','panda/src/mathutil/plane_src.h')
  2103. CopyFile(PREFIX+'/include/','panda/src/mathutil/rotate_to.h')
  2104. CopyFile(PREFIX+'/include/','panda/src/gsgbase/graphicsStateGuardianBase.h')
  2105. CopyFile(PREFIX+'/include/','panda/src/pnmimage/config_pnmimage.h')
  2106. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmFileType.h')
  2107. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmFileTypeRegistry.h')
  2108. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmImage.I')
  2109. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmImage.h')
  2110. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmImageHeader.I')
  2111. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmImageHeader.h')
  2112. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmReader.I')
  2113. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmReader.h')
  2114. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmWriter.I')
  2115. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmWriter.h')
  2116. CopyFile(PREFIX+'/include/','panda/src/pnmimage/pnmimage_base.h')
  2117. CopyFile(PREFIX+'/include/','panda/src/pnmimagetypes/sgi.h')
  2118. CopyFile(PREFIX+'/include/','panda/src/net/config_net.h')
  2119. CopyFile(PREFIX+'/include/','panda/src/net/connection.h')
  2120. CopyFile(PREFIX+'/include/','panda/src/net/connectionListener.h')
  2121. CopyFile(PREFIX+'/include/','panda/src/net/connectionManager.h')
  2122. CopyFile(PREFIX+'/include/','panda/src/net/connectionReader.h')
  2123. CopyFile(PREFIX+'/include/','panda/src/net/connectionWriter.h')
  2124. CopyFile(PREFIX+'/include/','panda/src/net/datagramQueue.h')
  2125. CopyFile(PREFIX+'/include/','panda/src/net/datagramTCPHeader.I')
  2126. CopyFile(PREFIX+'/include/','panda/src/net/datagramTCPHeader.h')
  2127. CopyFile(PREFIX+'/include/','panda/src/net/datagramUDPHeader.I')
  2128. CopyFile(PREFIX+'/include/','panda/src/net/datagramUDPHeader.h')
  2129. CopyFile(PREFIX+'/include/','panda/src/net/netAddress.h')
  2130. CopyFile(PREFIX+'/include/','panda/src/net/netDatagram.I')
  2131. CopyFile(PREFIX+'/include/','panda/src/net/netDatagram.h')
  2132. CopyFile(PREFIX+'/include/','panda/src/net/pprerror.h')
  2133. CopyFile(PREFIX+'/include/','panda/src/net/queuedConnectionListener.I')
  2134. CopyFile(PREFIX+'/include/','panda/src/net/queuedConnectionListener.h')
  2135. CopyFile(PREFIX+'/include/','panda/src/net/queuedConnectionManager.h')
  2136. CopyFile(PREFIX+'/include/','panda/src/net/queuedConnectionReader.h')
  2137. CopyFile(PREFIX+'/include/','panda/src/net/queuedReturn.I')
  2138. CopyFile(PREFIX+'/include/','panda/src/net/queuedReturn.h')
  2139. CopyFile(PREFIX+'/include/','panda/src/net/recentConnectionReader.h')
  2140. CopyFile(PREFIX+'/include/','panda/src/pstatclient/config_pstats.h')
  2141. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatClient.I')
  2142. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatClient.h')
  2143. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatClientImpl.I')
  2144. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatClientImpl.h')
  2145. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatClientVersion.I')
  2146. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatClientVersion.h')
  2147. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatClientControlMessage.h')
  2148. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatCollector.I')
  2149. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatCollector.h')
  2150. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatCollectorDef.h')
  2151. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatFrameData.I')
  2152. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatFrameData.h')
  2153. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatProperties.h')
  2154. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatServerControlMessage.h')
  2155. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatThread.I')
  2156. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatThread.h')
  2157. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatTimer.I')
  2158. CopyFile(PREFIX+'/include/','panda/src/pstatclient/pStatTimer.h')
  2159. CopyFile(PREFIX+'/include/','panda/src/gobj/boundedObject.I')
  2160. CopyFile(PREFIX+'/include/','panda/src/gobj/boundedObject.h')
  2161. CopyFile(PREFIX+'/include/','panda/src/gobj/config_gobj.h')
  2162. CopyFile(PREFIX+'/include/','panda/src/gobj/drawable.h')
  2163. CopyFile(PREFIX+'/include/','panda/src/gobj/geom.I')
  2164. CopyFile(PREFIX+'/include/','panda/src/gobj/geom.h')
  2165. CopyFile(PREFIX+'/include/','panda/src/gobj/textureContext.I')
  2166. CopyFile(PREFIX+'/include/','panda/src/gobj/textureContext.h')
  2167. CopyFile(PREFIX+'/include/','panda/src/gobj/geomLine.h')
  2168. CopyFile(PREFIX+'/include/','panda/src/gobj/geomLinestrip.h')
  2169. CopyFile(PREFIX+'/include/','panda/src/gobj/geomPoint.h')
  2170. CopyFile(PREFIX+'/include/','panda/src/gobj/geomPolygon.h')
  2171. CopyFile(PREFIX+'/include/','panda/src/gobj/geomQuad.h')
  2172. CopyFile(PREFIX+'/include/','panda/src/gobj/geomSphere.h')
  2173. CopyFile(PREFIX+'/include/','panda/src/gobj/geomSprite.I')
  2174. CopyFile(PREFIX+'/include/','panda/src/gobj/geomSprite.h')
  2175. CopyFile(PREFIX+'/include/','panda/src/gobj/geomTri.h')
  2176. CopyFile(PREFIX+'/include/','panda/src/gobj/geomTrifan.h')
  2177. CopyFile(PREFIX+'/include/','panda/src/gobj/geomTristrip.h')
  2178. CopyFile(PREFIX+'/include/','panda/src/gobj/geomprimitives.h')
  2179. CopyFile(PREFIX+'/include/','panda/src/gobj/imageBuffer.I')
  2180. CopyFile(PREFIX+'/include/','panda/src/gobj/imageBuffer.h')
  2181. CopyFile(PREFIX+'/include/','panda/src/gobj/material.I')
  2182. CopyFile(PREFIX+'/include/','panda/src/gobj/material.h')
  2183. CopyFile(PREFIX+'/include/','panda/src/gobj/materialPool.I')
  2184. CopyFile(PREFIX+'/include/','panda/src/gobj/materialPool.h')
  2185. CopyFile(PREFIX+'/include/','panda/src/gobj/matrixLens.I')
  2186. CopyFile(PREFIX+'/include/','panda/src/gobj/matrixLens.h')
  2187. CopyFile(PREFIX+'/include/','panda/src/gobj/orthographicLens.I')
  2188. CopyFile(PREFIX+'/include/','panda/src/gobj/orthographicLens.h')
  2189. CopyFile(PREFIX+'/include/','panda/src/gobj/perspectiveLens.I')
  2190. CopyFile(PREFIX+'/include/','panda/src/gobj/perspectiveLens.h')
  2191. CopyFile(PREFIX+'/include/','panda/src/gobj/pixelBuffer.I')
  2192. CopyFile(PREFIX+'/include/','panda/src/gobj/pixelBuffer.h')
  2193. CopyFile(PREFIX+'/include/','panda/src/gobj/preparedGraphicsObjects.I')
  2194. CopyFile(PREFIX+'/include/','panda/src/gobj/preparedGraphicsObjects.h')
  2195. CopyFile(PREFIX+'/include/','panda/src/gobj/lens.h')
  2196. CopyFile(PREFIX+'/include/','panda/src/gobj/lens.I')
  2197. CopyFile(PREFIX+'/include/','panda/src/gobj/savedContext.I')
  2198. CopyFile(PREFIX+'/include/','panda/src/gobj/savedContext.h')
  2199. CopyFile(PREFIX+'/include/','panda/src/gobj/texture.I')
  2200. CopyFile(PREFIX+'/include/','panda/src/gobj/texture.h')
  2201. CopyFile(PREFIX+'/include/','panda/src/gobj/texturePool.I')
  2202. CopyFile(PREFIX+'/include/','panda/src/gobj/texturePool.h')
  2203. CopyFile(PREFIX+'/include/','panda/src/gobj/texCoordName.I')
  2204. CopyFile(PREFIX+'/include/','panda/src/gobj/texCoordName.h')
  2205. CopyFile(PREFIX+'/include/','panda/src/gobj/textureStage.I')
  2206. CopyFile(PREFIX+'/include/','panda/src/gobj/textureStage.h')
  2207. CopyFile(PREFIX+'/include/','panda/src/lerp/lerp.h')
  2208. CopyFile(PREFIX+'/include/','panda/src/lerp/lerpblend.h')
  2209. CopyFile(PREFIX+'/include/','panda/src/lerp/lerpfunctor.h')
  2210. CopyFile(PREFIX+'/include/','panda/src/pgraph/accumulatedAttribs.I')
  2211. CopyFile(PREFIX+'/include/','panda/src/pgraph/accumulatedAttribs.h')
  2212. CopyFile(PREFIX+'/include/','panda/src/pgraph/alphaTestAttrib.I')
  2213. CopyFile(PREFIX+'/include/','panda/src/pgraph/alphaTestAttrib.h')
  2214. CopyFile(PREFIX+'/include/','panda/src/pgraph/antialiasAttrib.I')
  2215. CopyFile(PREFIX+'/include/','panda/src/pgraph/antialiasAttrib.h')
  2216. CopyFile(PREFIX+'/include/','panda/src/pgraph/ambientLight.I')
  2217. CopyFile(PREFIX+'/include/','panda/src/pgraph/ambientLight.h')
  2218. CopyFile(PREFIX+'/include/','panda/src/pgraph/auxSceneData.I')
  2219. CopyFile(PREFIX+'/include/','panda/src/pgraph/auxSceneData.h')
  2220. CopyFile(PREFIX+'/include/','panda/src/pgraph/bamFile.I')
  2221. CopyFile(PREFIX+'/include/','panda/src/pgraph/bamFile.h')
  2222. CopyFile(PREFIX+'/include/','panda/src/pgraph/billboardEffect.I')
  2223. CopyFile(PREFIX+'/include/','panda/src/pgraph/billboardEffect.h')
  2224. CopyFile(PREFIX+'/include/','panda/src/pgraph/binCullHandler.I')
  2225. CopyFile(PREFIX+'/include/','panda/src/pgraph/binCullHandler.h')
  2226. CopyFile(PREFIX+'/include/','panda/src/pgraph/camera.I')
  2227. CopyFile(PREFIX+'/include/','panda/src/pgraph/camera.h')
  2228. CopyFile(PREFIX+'/include/','panda/src/pgraph/clipPlaneAttrib.I')
  2229. CopyFile(PREFIX+'/include/','panda/src/pgraph/clipPlaneAttrib.h')
  2230. CopyFile(PREFIX+'/include/','panda/src/pgraph/colorAttrib.I')
  2231. CopyFile(PREFIX+'/include/','panda/src/pgraph/colorAttrib.h')
  2232. CopyFile(PREFIX+'/include/','panda/src/pgraph/colorBlendAttrib.I')
  2233. CopyFile(PREFIX+'/include/','panda/src/pgraph/colorBlendAttrib.h')
  2234. CopyFile(PREFIX+'/include/','panda/src/pgraph/colorScaleAttrib.I')
  2235. CopyFile(PREFIX+'/include/','panda/src/pgraph/colorScaleAttrib.h')
  2236. CopyFile(PREFIX+'/include/','panda/src/pgraph/colorWriteAttrib.I')
  2237. CopyFile(PREFIX+'/include/','panda/src/pgraph/colorWriteAttrib.h')
  2238. CopyFile(PREFIX+'/include/','panda/src/pgraph/compassEffect.I')
  2239. CopyFile(PREFIX+'/include/','panda/src/pgraph/compassEffect.h')
  2240. CopyFile(PREFIX+'/include/','panda/src/pgraph/config_pgraph.h')
  2241. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBin.I')
  2242. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBin.h')
  2243. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinAttrib.I')
  2244. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinAttrib.h')
  2245. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinBackToFront.I')
  2246. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinBackToFront.h')
  2247. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinFixed.I')
  2248. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinFixed.h')
  2249. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinFrontToBack.I')
  2250. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinFrontToBack.h')
  2251. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinManager.I')
  2252. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinManager.h')
  2253. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinUnsorted.I')
  2254. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullBinUnsorted.h')
  2255. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullFaceAttrib.I')
  2256. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullFaceAttrib.h')
  2257. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullHandler.I')
  2258. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullHandler.h')
  2259. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullResult.I')
  2260. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullResult.h')
  2261. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullTraverser.I')
  2262. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullTraverser.h')
  2263. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullTraverserData.I')
  2264. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullTraverserData.h')
  2265. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullableObject.I')
  2266. CopyFile(PREFIX+'/include/','panda/src/pgraph/cullableObject.h')
  2267. CopyFile(PREFIX+'/include/','panda/src/pgraph/decalEffect.I')
  2268. CopyFile(PREFIX+'/include/','panda/src/pgraph/decalEffect.h')
  2269. CopyFile(PREFIX+'/include/','panda/src/pgraph/depthOffsetAttrib.I')
  2270. CopyFile(PREFIX+'/include/','panda/src/pgraph/depthOffsetAttrib.h')
  2271. CopyFile(PREFIX+'/include/','panda/src/pgraph/depthTestAttrib.I')
  2272. CopyFile(PREFIX+'/include/','panda/src/pgraph/depthTestAttrib.h')
  2273. CopyFile(PREFIX+'/include/','panda/src/pgraph/depthWriteAttrib.I')
  2274. CopyFile(PREFIX+'/include/','panda/src/pgraph/depthWriteAttrib.h')
  2275. CopyFile(PREFIX+'/include/','panda/src/pgraph/directionalLight.I')
  2276. CopyFile(PREFIX+'/include/','panda/src/pgraph/directionalLight.h')
  2277. CopyFile(PREFIX+'/include/','panda/src/pgraph/drawCullHandler.I')
  2278. CopyFile(PREFIX+'/include/','panda/src/pgraph/drawCullHandler.h')
  2279. CopyFile(PREFIX+'/include/','panda/src/pgraph/fadeLodNode.I')
  2280. CopyFile(PREFIX+'/include/','panda/src/pgraph/fadeLodNode.h')
  2281. CopyFile(PREFIX+'/include/','panda/src/pgraph/fadeLodNodeData.h')
  2282. CopyFile(PREFIX+'/include/','panda/src/pgraph/fog.I')
  2283. CopyFile(PREFIX+'/include/','panda/src/pgraph/fog.h')
  2284. CopyFile(PREFIX+'/include/','panda/src/pgraph/fogAttrib.I')
  2285. CopyFile(PREFIX+'/include/','panda/src/pgraph/fogAttrib.h')
  2286. CopyFile(PREFIX+'/include/','panda/src/pgraph/geomNode.I')
  2287. CopyFile(PREFIX+'/include/','panda/src/pgraph/geomNode.h')
  2288. CopyFile(PREFIX+'/include/','panda/src/pgraph/geomTransformer.I')
  2289. CopyFile(PREFIX+'/include/','panda/src/pgraph/geomTransformer.h')
  2290. CopyFile(PREFIX+'/include/','panda/src/pgraph/lensNode.I')
  2291. CopyFile(PREFIX+'/include/','panda/src/pgraph/lensNode.h')
  2292. CopyFile(PREFIX+'/include/','panda/src/pgraph/light.I')
  2293. CopyFile(PREFIX+'/include/','panda/src/pgraph/light.h')
  2294. CopyFile(PREFIX+'/include/','panda/src/pgraph/lightAttrib.I')
  2295. CopyFile(PREFIX+'/include/','panda/src/pgraph/lightAttrib.h')
  2296. CopyFile(PREFIX+'/include/','panda/src/pgraph/lightLensNode.I')
  2297. CopyFile(PREFIX+'/include/','panda/src/pgraph/lightLensNode.h')
  2298. CopyFile(PREFIX+'/include/','panda/src/pgraph/lightNode.I')
  2299. CopyFile(PREFIX+'/include/','panda/src/pgraph/lightNode.h')
  2300. CopyFile(PREFIX+'/include/','panda/src/pgraph/loader.I')
  2301. CopyFile(PREFIX+'/include/','panda/src/pgraph/loader.h')
  2302. CopyFile(PREFIX+'/include/','panda/src/pgraph/loaderFileType.h')
  2303. CopyFile(PREFIX+'/include/','panda/src/pgraph/loaderFileTypeBam.h')
  2304. CopyFile(PREFIX+'/include/','panda/src/pgraph/loaderFileTypeRegistry.h')
  2305. CopyFile(PREFIX+'/include/','panda/src/pgraph/lodNode.I')
  2306. CopyFile(PREFIX+'/include/','panda/src/pgraph/lodNode.h')
  2307. CopyFile(PREFIX+'/include/','panda/src/pgraph/materialAttrib.I')
  2308. CopyFile(PREFIX+'/include/','panda/src/pgraph/materialAttrib.h')
  2309. CopyFile(PREFIX+'/include/','panda/src/pgraph/modelNode.I')
  2310. CopyFile(PREFIX+'/include/','panda/src/pgraph/modelNode.h')
  2311. CopyFile(PREFIX+'/include/','panda/src/pgraph/modelPool.I')
  2312. CopyFile(PREFIX+'/include/','panda/src/pgraph/modelPool.h')
  2313. CopyFile(PREFIX+'/include/','panda/src/pgraph/modelRoot.I')
  2314. CopyFile(PREFIX+'/include/','panda/src/pgraph/modelRoot.h')
  2315. CopyFile(PREFIX+'/include/','panda/src/pgraph/nodePath.I')
  2316. CopyFile(PREFIX+'/include/','panda/src/pgraph/nodePath.h')
  2317. CopyFile(PREFIX+'/include/','panda/src/pgraph/nodePathCollection.I')
  2318. CopyFile(PREFIX+'/include/','panda/src/pgraph/nodePathCollection.h')
  2319. CopyFile(PREFIX+'/include/','panda/src/pgraph/nodePathComponent.I')
  2320. CopyFile(PREFIX+'/include/','panda/src/pgraph/nodePathComponent.h')
  2321. CopyFile(PREFIX+'/include/','panda/src/pgraph/nodePathLerps.h')
  2322. CopyFile(PREFIX+'/include/','panda/src/pgraph/pandaNode.I')
  2323. CopyFile(PREFIX+'/include/','panda/src/pgraph/pandaNode.h')
  2324. CopyFile(PREFIX+'/include/','panda/src/pgraph/planeNode.I')
  2325. CopyFile(PREFIX+'/include/','panda/src/pgraph/planeNode.h')
  2326. CopyFile(PREFIX+'/include/','panda/src/pgraph/pointLight.I')
  2327. CopyFile(PREFIX+'/include/','panda/src/pgraph/pointLight.h')
  2328. CopyFile(PREFIX+'/include/','panda/src/pgraph/polylightNode.I')
  2329. CopyFile(PREFIX+'/include/','panda/src/pgraph/polylightNode.h')
  2330. CopyFile(PREFIX+'/include/','panda/src/pgraph/polylightEffect.I')
  2331. CopyFile(PREFIX+'/include/','panda/src/pgraph/polylightEffect.h')
  2332. CopyFile(PREFIX+'/include/','panda/src/pgraph/portalNode.I')
  2333. CopyFile(PREFIX+'/include/','panda/src/pgraph/portalNode.h')
  2334. CopyFile(PREFIX+'/include/','panda/src/pgraph/portalClipper.I')
  2335. CopyFile(PREFIX+'/include/','panda/src/pgraph/portalClipper.h')
  2336. CopyFile(PREFIX+'/include/','panda/src/pgraph/renderAttrib.I')
  2337. CopyFile(PREFIX+'/include/','panda/src/pgraph/renderAttrib.h')
  2338. CopyFile(PREFIX+'/include/','panda/src/pgraph/renderEffect.I')
  2339. CopyFile(PREFIX+'/include/','panda/src/pgraph/renderEffect.h')
  2340. CopyFile(PREFIX+'/include/','panda/src/pgraph/renderEffects.I')
  2341. CopyFile(PREFIX+'/include/','panda/src/pgraph/renderEffects.h')
  2342. CopyFile(PREFIX+'/include/','panda/src/pgraph/renderModeAttrib.I')
  2343. CopyFile(PREFIX+'/include/','panda/src/pgraph/renderModeAttrib.h')
  2344. CopyFile(PREFIX+'/include/','panda/src/pgraph/renderState.I')
  2345. CopyFile(PREFIX+'/include/','panda/src/pgraph/renderState.h')
  2346. CopyFile(PREFIX+'/include/','panda/src/pgraph/rescaleNormalAttrib.I')
  2347. CopyFile(PREFIX+'/include/','panda/src/pgraph/rescaleNormalAttrib.h')
  2348. CopyFile(PREFIX+'/include/','panda/src/pgraph/sceneGraphAnalyzer.h')
  2349. CopyFile(PREFIX+'/include/','panda/src/pgraph/sceneGraphReducer.I')
  2350. CopyFile(PREFIX+'/include/','panda/src/pgraph/sceneGraphReducer.h')
  2351. CopyFile(PREFIX+'/include/','panda/src/pgraph/sceneSetup.I')
  2352. CopyFile(PREFIX+'/include/','panda/src/pgraph/sceneSetup.h')
  2353. CopyFile(PREFIX+'/include/','panda/src/pgraph/selectiveChildNode.I')
  2354. CopyFile(PREFIX+'/include/','panda/src/pgraph/selectiveChildNode.h')
  2355. CopyFile(PREFIX+'/include/','panda/src/pgraph/sequenceNode.I')
  2356. CopyFile(PREFIX+'/include/','panda/src/pgraph/sequenceNode.h')
  2357. CopyFile(PREFIX+'/include/','panda/src/pgraph/showBoundsEffect.I')
  2358. CopyFile(PREFIX+'/include/','panda/src/pgraph/showBoundsEffect.h')
  2359. CopyFile(PREFIX+'/include/','panda/src/pgraph/spotlight.I')
  2360. CopyFile(PREFIX+'/include/','panda/src/pgraph/spotlight.h')
  2361. CopyFile(PREFIX+'/include/','panda/src/pgraph/switchNode.I')
  2362. CopyFile(PREFIX+'/include/','panda/src/pgraph/switchNode.h')
  2363. CopyFile(PREFIX+'/include/','panda/src/pgraph/texMatrixAttrib.I')
  2364. CopyFile(PREFIX+'/include/','panda/src/pgraph/texMatrixAttrib.h')
  2365. CopyFile(PREFIX+'/include/','panda/src/pgraph/texProjectorEffect.I')
  2366. CopyFile(PREFIX+'/include/','panda/src/pgraph/texProjectorEffect.h')
  2367. CopyFile(PREFIX+'/include/','panda/src/pgraph/textureApplyAttrib.I')
  2368. CopyFile(PREFIX+'/include/','panda/src/pgraph/textureApplyAttrib.h')
  2369. CopyFile(PREFIX+'/include/','panda/src/pgraph/textureAttrib.I')
  2370. CopyFile(PREFIX+'/include/','panda/src/pgraph/textureAttrib.h')
  2371. CopyFile(PREFIX+'/include/','panda/src/pgraph/texGenAttrib.I')
  2372. CopyFile(PREFIX+'/include/','panda/src/pgraph/texGenAttrib.h')
  2373. CopyFile(PREFIX+'/include/','panda/src/pgraph/textureCollection.I')
  2374. CopyFile(PREFIX+'/include/','panda/src/pgraph/textureCollection.h')
  2375. CopyFile(PREFIX+'/include/','panda/src/pgraph/textureStageCollection.I')
  2376. CopyFile(PREFIX+'/include/','panda/src/pgraph/textureStageCollection.h')
  2377. CopyFile(PREFIX+'/include/','panda/src/pgraph/transformState.I')
  2378. CopyFile(PREFIX+'/include/','panda/src/pgraph/transformState.h')
  2379. CopyFile(PREFIX+'/include/','panda/src/pgraph/transparencyAttrib.I')
  2380. CopyFile(PREFIX+'/include/','panda/src/pgraph/transparencyAttrib.h')
  2381. CopyFile(PREFIX+'/include/','panda/src/pgraph/weakNodePath.I')
  2382. CopyFile(PREFIX+'/include/','panda/src/pgraph/weakNodePath.h')
  2383. CopyFile(PREFIX+'/include/','panda/src/pgraph/workingNodePath.I')
  2384. CopyFile(PREFIX+'/include/','panda/src/pgraph/workingNodePath.h')
  2385. CopyFile(PREFIX+'/include/','panda/src/chan/animBundle.I')
  2386. CopyFile(PREFIX+'/include/','panda/src/chan/animBundle.h')
  2387. CopyFile(PREFIX+'/include/','panda/src/chan/animBundleNode.I')
  2388. CopyFile(PREFIX+'/include/','panda/src/chan/animBundleNode.h')
  2389. CopyFile(PREFIX+'/include/','panda/src/chan/animChannel.I')
  2390. CopyFile(PREFIX+'/include/','panda/src/chan/animChannel.h')
  2391. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelBase.I')
  2392. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelBase.h')
  2393. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelFixed.I')
  2394. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelFixed.h')
  2395. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelMatrixDynamic.I')
  2396. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelMatrixDynamic.h')
  2397. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelMatrixXfmTable.I')
  2398. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelMatrixXfmTable.h')
  2399. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelScalarDynamic.I')
  2400. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelScalarDynamic.h')
  2401. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelScalarTable.I')
  2402. CopyFile(PREFIX+'/include/','panda/src/chan/animChannelScalarTable.h')
  2403. CopyFile(PREFIX+'/include/','panda/src/chan/animControl.I')
  2404. CopyFile(PREFIX+'/include/','panda/src/chan/animControl.h')
  2405. CopyFile(PREFIX+'/include/','panda/src/chan/animControlCollection.I')
  2406. CopyFile(PREFIX+'/include/','panda/src/chan/animControlCollection.h')
  2407. CopyFile(PREFIX+'/include/','panda/src/chan/animGroup.I')
  2408. CopyFile(PREFIX+'/include/','panda/src/chan/animGroup.h')
  2409. CopyFile(PREFIX+'/include/','panda/src/chan/auto_bind.h')
  2410. CopyFile(PREFIX+'/include/','panda/src/chan/config_chan.h')
  2411. CopyFile(PREFIX+'/include/','panda/src/chan/movingPart.I')
  2412. CopyFile(PREFIX+'/include/','panda/src/chan/movingPart.h')
  2413. CopyFile(PREFIX+'/include/','panda/src/chan/movingPartBase.I')
  2414. CopyFile(PREFIX+'/include/','panda/src/chan/movingPartBase.h')
  2415. CopyFile(PREFIX+'/include/','panda/src/chan/movingPartMatrix.I')
  2416. CopyFile(PREFIX+'/include/','panda/src/chan/movingPartMatrix.h')
  2417. CopyFile(PREFIX+'/include/','panda/src/chan/movingPartScalar.I')
  2418. CopyFile(PREFIX+'/include/','panda/src/chan/movingPartScalar.h')
  2419. CopyFile(PREFIX+'/include/','panda/src/chan/partBundle.I')
  2420. CopyFile(PREFIX+'/include/','panda/src/chan/partBundle.h')
  2421. CopyFile(PREFIX+'/include/','panda/src/chan/partBundleNode.I')
  2422. CopyFile(PREFIX+'/include/','panda/src/chan/partBundleNode.h')
  2423. CopyFile(PREFIX+'/include/','panda/src/chan/partGroup.I')
  2424. CopyFile(PREFIX+'/include/','panda/src/chan/partGroup.h')
  2425. CopyFile(PREFIX+'/include/','panda/src/chan/vector_PartGroupStar.h')
  2426. CopyFile(PREFIX+'/include/','panda/src/char/character.I')
  2427. CopyFile(PREFIX+'/include/','panda/src/char/character.h')
  2428. CopyFile(PREFIX+'/include/','panda/src/char/characterJoint.h')
  2429. CopyFile(PREFIX+'/include/','panda/src/char/characterJointBundle.I')
  2430. CopyFile(PREFIX+'/include/','panda/src/char/characterJointBundle.h')
  2431. CopyFile(PREFIX+'/include/','panda/src/char/characterSlider.h')
  2432. CopyFile(PREFIX+'/include/','panda/src/char/computedVertices.I')
  2433. CopyFile(PREFIX+'/include/','panda/src/char/computedVertices.h')
  2434. CopyFile(PREFIX+'/include/','panda/src/char/computedVerticesMorph.I')
  2435. CopyFile(PREFIX+'/include/','panda/src/char/computedVerticesMorph.h')
  2436. CopyFile(PREFIX+'/include/','panda/src/char/config_char.h')
  2437. CopyFile(PREFIX+'/include/','panda/src/char/dynamicVertices.h')
  2438. CopyFile(PREFIX+'/include/','panda/src/dgraph/config_dgraph.h')
  2439. CopyFile(PREFIX+'/include/','panda/src/dgraph/dataGraphTraverser.I')
  2440. CopyFile(PREFIX+'/include/','panda/src/dgraph/dataGraphTraverser.h')
  2441. CopyFile(PREFIX+'/include/','panda/src/dgraph/dataNode.I')
  2442. CopyFile(PREFIX+'/include/','panda/src/dgraph/dataNode.h')
  2443. CopyFile(PREFIX+'/include/','panda/src/dgraph/dataNodeTransmit.I')
  2444. CopyFile(PREFIX+'/include/','panda/src/dgraph/dataNodeTransmit.h')
  2445. CopyFile(PREFIX+'/include/','panda/src/display/config_display.h')
  2446. CopyFile(PREFIX+'/include/','panda/src/display/drawableRegion.I')
  2447. CopyFile(PREFIX+'/include/','panda/src/display/drawableRegion.h')
  2448. CopyFile(PREFIX+'/include/','panda/src/display/displayRegion.I')
  2449. CopyFile(PREFIX+'/include/','panda/src/display/displayRegion.h')
  2450. CopyFile(PREFIX+'/include/','panda/src/display/displayRegionStack.I')
  2451. CopyFile(PREFIX+'/include/','panda/src/display/displayRegionStack.h')
  2452. CopyFile(PREFIX+'/include/','panda/src/display/frameBufferProperties.I')
  2453. CopyFile(PREFIX+'/include/','panda/src/display/frameBufferProperties.h')
  2454. CopyFile(PREFIX+'/include/','panda/src/display/frameBufferStack.I')
  2455. CopyFile(PREFIX+'/include/','panda/src/display/frameBufferStack.h')
  2456. CopyFile(PREFIX+'/include/','panda/src/display/graphicsEngine.I')
  2457. CopyFile(PREFIX+'/include/','panda/src/display/graphicsEngine.h')
  2458. CopyFile(PREFIX+'/include/','panda/src/display/graphicsOutput.I')
  2459. CopyFile(PREFIX+'/include/','panda/src/display/graphicsOutput.h')
  2460. CopyFile(PREFIX+'/include/','panda/src/display/graphicsBuffer.I')
  2461. CopyFile(PREFIX+'/include/','panda/src/display/graphicsBuffer.h')
  2462. CopyFile(PREFIX+'/include/','panda/src/display/graphicsPipe.I')
  2463. CopyFile(PREFIX+'/include/','panda/src/display/graphicsPipe.h')
  2464. CopyFile(PREFIX+'/include/','panda/src/display/graphicsPipeSelection.I')
  2465. CopyFile(PREFIX+'/include/','panda/src/display/graphicsPipeSelection.h')
  2466. CopyFile(PREFIX+'/include/','panda/src/display/graphicsStateGuardian.I')
  2467. CopyFile(PREFIX+'/include/','panda/src/display/graphicsStateGuardian.h')
  2468. CopyFile(PREFIX+'/include/','panda/src/display/graphicsWindow.I')
  2469. CopyFile(PREFIX+'/include/','panda/src/display/graphicsWindow.h')
  2470. CopyFile(PREFIX+'/include/','panda/src/display/graphicsThreadingModel.I')
  2471. CopyFile(PREFIX+'/include/','panda/src/display/graphicsThreadingModel.h')
  2472. CopyFile(PREFIX+'/include/','panda/src/display/graphicsWindowInputDevice.I')
  2473. CopyFile(PREFIX+'/include/','panda/src/display/graphicsWindowInputDevice.h')
  2474. CopyFile(PREFIX+'/include/','panda/src/display/graphicsDevice.I')
  2475. CopyFile(PREFIX+'/include/','panda/src/display/graphicsDevice.h')
  2476. CopyFile(PREFIX+'/include/','panda/src/display/parasiteBuffer.I')
  2477. CopyFile(PREFIX+'/include/','panda/src/display/parasiteBuffer.h')
  2478. CopyFile(PREFIX+'/include/','panda/src/display/windowProperties.I')
  2479. CopyFile(PREFIX+'/include/','panda/src/display/windowProperties.h')
  2480. CopyFile(PREFIX+'/include/','panda/src/display/lensStack.I')
  2481. CopyFile(PREFIX+'/include/','panda/src/display/lensStack.h')
  2482. CopyFile(PREFIX+'/include/','panda/src/display/renderBuffer.h')
  2483. CopyFile(PREFIX+'/include/','panda/src/display/savedFrameBuffer.I')
  2484. CopyFile(PREFIX+'/include/','panda/src/display/savedFrameBuffer.h')
  2485. CopyFile(PREFIX+'/include/','panda/src/device/analogNode.I')
  2486. CopyFile(PREFIX+'/include/','panda/src/device/analogNode.h')
  2487. CopyFile(PREFIX+'/include/','panda/src/device/buttonNode.I')
  2488. CopyFile(PREFIX+'/include/','panda/src/device/buttonNode.h')
  2489. CopyFile(PREFIX+'/include/','panda/src/device/clientAnalogDevice.I')
  2490. CopyFile(PREFIX+'/include/','panda/src/device/clientAnalogDevice.h')
  2491. CopyFile(PREFIX+'/include/','panda/src/device/clientBase.I')
  2492. CopyFile(PREFIX+'/include/','panda/src/device/clientBase.h')
  2493. CopyFile(PREFIX+'/include/','panda/src/device/clientButtonDevice.I')
  2494. CopyFile(PREFIX+'/include/','panda/src/device/clientButtonDevice.h')
  2495. CopyFile(PREFIX+'/include/','panda/src/device/clientDevice.I')
  2496. CopyFile(PREFIX+'/include/','panda/src/device/clientDevice.h')
  2497. CopyFile(PREFIX+'/include/','panda/src/device/clientDialDevice.I')
  2498. CopyFile(PREFIX+'/include/','panda/src/device/clientDialDevice.h')
  2499. CopyFile(PREFIX+'/include/','panda/src/device/clientTrackerDevice.I')
  2500. CopyFile(PREFIX+'/include/','panda/src/device/clientTrackerDevice.h')
  2501. CopyFile(PREFIX+'/include/','panda/src/device/config_device.h')
  2502. CopyFile(PREFIX+'/include/','panda/src/device/mouseAndKeyboard.h')
  2503. CopyFile(PREFIX+'/include/','panda/src/device/dialNode.I')
  2504. CopyFile(PREFIX+'/include/','panda/src/device/dialNode.h')
  2505. CopyFile(PREFIX+'/include/','panda/src/device/trackerData.I')
  2506. CopyFile(PREFIX+'/include/','panda/src/device/trackerData.h')
  2507. CopyFile(PREFIX+'/include/','panda/src/device/trackerNode.I')
  2508. CopyFile(PREFIX+'/include/','panda/src/device/trackerNode.h')
  2509. CopyFile(PREFIX+'/include/','panda/src/device/virtualMouse.h')
  2510. CopyFile(PREFIX+'/include/','panda/src/tform/buttonThrower.I')
  2511. CopyFile(PREFIX+'/include/','panda/src/tform/buttonThrower.h')
  2512. CopyFile(PREFIX+'/include/','panda/src/tform/driveInterface.I')
  2513. CopyFile(PREFIX+'/include/','panda/src/tform/driveInterface.h')
  2514. CopyFile(PREFIX+'/include/','panda/src/tform/mouseInterfaceNode.I')
  2515. CopyFile(PREFIX+'/include/','panda/src/tform/mouseInterfaceNode.h')
  2516. CopyFile(PREFIX+'/include/','panda/src/tform/mouseWatcher.I')
  2517. CopyFile(PREFIX+'/include/','panda/src/tform/mouseWatcher.h')
  2518. CopyFile(PREFIX+'/include/','panda/src/tform/mouseWatcherGroup.h')
  2519. CopyFile(PREFIX+'/include/','panda/src/tform/mouseWatcherParameter.I')
  2520. CopyFile(PREFIX+'/include/','panda/src/tform/mouseWatcherParameter.h')
  2521. CopyFile(PREFIX+'/include/','panda/src/tform/mouseWatcherRegion.I')
  2522. CopyFile(PREFIX+'/include/','panda/src/tform/mouseWatcherRegion.h')
  2523. CopyFile(PREFIX+'/include/','panda/src/tform/trackball.h')
  2524. CopyFile(PREFIX+'/include/','panda/src/tform/transform2sg.h')
  2525. CopyFile(PREFIX+'/include/','panda/src/collide/collisionEntry.I')
  2526. CopyFile(PREFIX+'/include/','panda/src/collide/collisionEntry.h')
  2527. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandler.h')
  2528. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerEvent.I')
  2529. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerEvent.h')
  2530. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerFloor.I')
  2531. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerFloor.h')
  2532. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerGravity.I')
  2533. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerGravity.h')
  2534. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerPhysical.I')
  2535. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerPhysical.h')
  2536. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerPusher.I')
  2537. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerPusher.h')
  2538. CopyFile(PREFIX+'/include/','panda/src/collide/collisionHandlerQueue.h')
  2539. CopyFile(PREFIX+'/include/','panda/src/collide/collisionInvSphere.I')
  2540. CopyFile(PREFIX+'/include/','panda/src/collide/collisionInvSphere.h')
  2541. CopyFile(PREFIX+'/include/','panda/src/collide/collisionLevelState.I')
  2542. CopyFile(PREFIX+'/include/','panda/src/collide/collisionLevelState.h')
  2543. CopyFile(PREFIX+'/include/','panda/src/collide/collisionLine.I')
  2544. CopyFile(PREFIX+'/include/','panda/src/collide/collisionLine.h')
  2545. CopyFile(PREFIX+'/include/','panda/src/collide/collisionNode.I')
  2546. CopyFile(PREFIX+'/include/','panda/src/collide/collisionNode.h')
  2547. CopyFile(PREFIX+'/include/','panda/src/collide/collisionPlane.I')
  2548. CopyFile(PREFIX+'/include/','panda/src/collide/collisionPlane.h')
  2549. CopyFile(PREFIX+'/include/','panda/src/collide/collisionPolygon.I')
  2550. CopyFile(PREFIX+'/include/','panda/src/collide/collisionPolygon.h')
  2551. CopyFile(PREFIX+'/include/','panda/src/collide/collisionRay.I')
  2552. CopyFile(PREFIX+'/include/','panda/src/collide/collisionRay.h')
  2553. CopyFile(PREFIX+'/include/','panda/src/collide/collisionRecorder.I')
  2554. CopyFile(PREFIX+'/include/','panda/src/collide/collisionRecorder.h')
  2555. CopyFile(PREFIX+'/include/','panda/src/collide/collisionSegment.I')
  2556. CopyFile(PREFIX+'/include/','panda/src/collide/collisionSegment.h')
  2557. CopyFile(PREFIX+'/include/','panda/src/collide/collisionSolid.I')
  2558. CopyFile(PREFIX+'/include/','panda/src/collide/collisionSolid.h')
  2559. CopyFile(PREFIX+'/include/','panda/src/collide/collisionSphere.I')
  2560. CopyFile(PREFIX+'/include/','panda/src/collide/collisionSphere.h')
  2561. CopyFile(PREFIX+'/include/','panda/src/collide/collisionTraverser.I')
  2562. CopyFile(PREFIX+'/include/','panda/src/collide/collisionTraverser.h')
  2563. CopyFile(PREFIX+'/include/','panda/src/collide/collisionTube.I')
  2564. CopyFile(PREFIX+'/include/','panda/src/collide/collisionTube.h')
  2565. CopyFile(PREFIX+'/include/','panda/src/collide/collisionVisualizer.I')
  2566. CopyFile(PREFIX+'/include/','panda/src/collide/collisionVisualizer.h')
  2567. CopyFile(PREFIX+'/include/','panda/src/collide/config_collide.h')
  2568. CopyFile(PREFIX+'/include/','panda/src/pnmtext/config_pnmtext.h')
  2569. CopyFile(PREFIX+'/include/','panda/src/pnmtext/freetypeFont.h')
  2570. CopyFile(PREFIX+'/include/','panda/src/pnmtext/freetypeFont.I')
  2571. CopyFile(PREFIX+'/include/','panda/src/pnmtext/pnmTextGlyph.h')
  2572. CopyFile(PREFIX+'/include/','panda/src/pnmtext/pnmTextGlyph.I')
  2573. CopyFile(PREFIX+'/include/','panda/src/pnmtext/pnmTextMaker.h')
  2574. CopyFile(PREFIX+'/include/','panda/src/pnmtext/pnmTextMaker.I')
  2575. CopyFile(PREFIX+'/include/','panda/src/text/config_text.h')
  2576. CopyFile(PREFIX+'/include/','panda/src/text/dynamicTextFont.I')
  2577. CopyFile(PREFIX+'/include/','panda/src/text/dynamicTextFont.h')
  2578. CopyFile(PREFIX+'/include/','panda/src/text/dynamicTextGlyph.I')
  2579. CopyFile(PREFIX+'/include/','panda/src/text/dynamicTextGlyph.h')
  2580. CopyFile(PREFIX+'/include/','panda/src/text/dynamicTextPage.I')
  2581. CopyFile(PREFIX+'/include/','panda/src/text/dynamicTextPage.h')
  2582. CopyFile(PREFIX+'/include/','panda/src/text/fontPool.I')
  2583. CopyFile(PREFIX+'/include/','panda/src/text/fontPool.h')
  2584. CopyFile(PREFIX+'/include/','panda/src/text/geomTextGlyph.I')
  2585. CopyFile(PREFIX+'/include/','panda/src/text/geomTextGlyph.h')
  2586. CopyFile(PREFIX+'/include/','panda/src/text/staticTextFont.I')
  2587. CopyFile(PREFIX+'/include/','panda/src/text/staticTextFont.h')
  2588. CopyFile(PREFIX+'/include/','panda/src/text/textAssembler.I')
  2589. CopyFile(PREFIX+'/include/','panda/src/text/textAssembler.h')
  2590. CopyFile(PREFIX+'/include/','panda/src/text/textFont.I')
  2591. CopyFile(PREFIX+'/include/','panda/src/text/textFont.h')
  2592. CopyFile(PREFIX+'/include/','panda/src/text/textGlyph.I')
  2593. CopyFile(PREFIX+'/include/','panda/src/text/textGlyph.h')
  2594. CopyFile(PREFIX+'/include/','panda/src/text/textNode.I')
  2595. CopyFile(PREFIX+'/include/','panda/src/text/textNode.h')
  2596. CopyFile(PREFIX+'/include/','panda/src/text/textProperties.I')
  2597. CopyFile(PREFIX+'/include/','panda/src/text/textProperties.h')
  2598. CopyFile(PREFIX+'/include/','panda/src/text/textPropertiesManager.I')
  2599. CopyFile(PREFIX+'/include/','panda/src/text/textPropertiesManager.h')
  2600. CopyFile(PREFIX+'/include/','panda/src/grutil/cardMaker.I')
  2601. CopyFile(PREFIX+'/include/','panda/src/grutil/cardMaker.h')
  2602. CopyFile(PREFIX+'/include/','panda/src/grutil/frameRateMeter.I')
  2603. CopyFile(PREFIX+'/include/','panda/src/grutil/frameRateMeter.h')
  2604. CopyFile(PREFIX+'/include/','panda/src/grutil/lineSegs.I')
  2605. CopyFile(PREFIX+'/include/','panda/src/grutil/lineSegs.h')
  2606. CopyFile(PREFIX+'/include/','panda/src/grutil/multitexReducer.I')
  2607. CopyFile(PREFIX+'/include/','panda/src/grutil/multitexReducer.h')
  2608. CopyFile(PREFIX+'/include/','panda/src/gsgmisc/geomIssuer.I')
  2609. CopyFile(PREFIX+'/include/','panda/src/gsgmisc/geomIssuer.h')
  2610. if OMIT.count("HELIX")==0:
  2611. CopyFile(PREFIX+'/include/','panda/src/helix/config_helix.h')
  2612. CopyFile(PREFIX+'/include/','panda/src/helix/HelixClient.h')
  2613. CopyFile(PREFIX+'/include/','panda/src/parametrics/classicNurbsCurve.I')
  2614. CopyFile(PREFIX+'/include/','panda/src/parametrics/classicNurbsCurve.h')
  2615. CopyFile(PREFIX+'/include/','panda/src/parametrics/config_parametrics.h')
  2616. CopyFile(PREFIX+'/include/','panda/src/parametrics/cubicCurveseg.h')
  2617. CopyFile(PREFIX+'/include/','panda/src/parametrics/parametricCurveDrawer.I')
  2618. CopyFile(PREFIX+'/include/','panda/src/parametrics/parametricCurveDrawer.h')
  2619. CopyFile(PREFIX+'/include/','panda/src/parametrics/curveFitter.I')
  2620. CopyFile(PREFIX+'/include/','panda/src/parametrics/curveFitter.h')
  2621. CopyFile(PREFIX+'/include/','panda/src/parametrics/hermiteCurve.h')
  2622. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsCurve.h')
  2623. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsCurveDrawer.I')
  2624. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsCurveDrawer.h')
  2625. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsCurveEvaluator.I')
  2626. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsCurveEvaluator.h')
  2627. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsCurveInterface.I')
  2628. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsCurveInterface.h')
  2629. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsCurveResult.I')
  2630. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsCurveResult.h')
  2631. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsBasisVector.I')
  2632. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsBasisVector.h')
  2633. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsSurfaceEvaluator.I')
  2634. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsSurfaceEvaluator.h')
  2635. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsSurfaceResult.I')
  2636. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsSurfaceResult.h')
  2637. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsVertex.h')
  2638. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsVertex.I')
  2639. CopyFile(PREFIX+'/include/','panda/src/parametrics/nurbsPPCurve.h')
  2640. CopyFile(PREFIX+'/include/','panda/src/parametrics/parametricCurve.h')
  2641. CopyFile(PREFIX+'/include/','panda/src/parametrics/parametricCurveCollection.I')
  2642. CopyFile(PREFIX+'/include/','panda/src/parametrics/parametricCurveCollection.h')
  2643. CopyFile(PREFIX+'/include/','panda/src/parametrics/piecewiseCurve.h')
  2644. CopyFile(PREFIX+'/include/','panda/src/parametrics/ropeNode.I')
  2645. CopyFile(PREFIX+'/include/','panda/src/parametrics/ropeNode.h')
  2646. CopyFile(PREFIX+'/include/','panda/src/parametrics/sheetNode.I')
  2647. CopyFile(PREFIX+'/include/','panda/src/parametrics/sheetNode.h')
  2648. CopyFile(PREFIX+'/include/','panda/src/pgui/pgButton.I')
  2649. CopyFile(PREFIX+'/include/','panda/src/pgui/pgButton.h')
  2650. CopyFile(PREFIX+'/include/','panda/src/pgui/pgSliderButton.I')
  2651. CopyFile(PREFIX+'/include/','panda/src/pgui/pgSliderButton.h')
  2652. CopyFile(PREFIX+'/include/','panda/src/pgui/pgCullTraverser.I')
  2653. CopyFile(PREFIX+'/include/','panda/src/pgui/pgCullTraverser.h')
  2654. CopyFile(PREFIX+'/include/','panda/src/pgui/pgEntry.I')
  2655. CopyFile(PREFIX+'/include/','panda/src/pgui/pgEntry.h')
  2656. CopyFile(PREFIX+'/include/','panda/src/pgui/pgMouseWatcherGroup.I')
  2657. CopyFile(PREFIX+'/include/','panda/src/pgui/pgMouseWatcherGroup.h')
  2658. CopyFile(PREFIX+'/include/','panda/src/pgui/pgMouseWatcherParameter.I')
  2659. CopyFile(PREFIX+'/include/','panda/src/pgui/pgMouseWatcherParameter.h')
  2660. CopyFile(PREFIX+'/include/','panda/src/pgui/pgFrameStyle.I')
  2661. CopyFile(PREFIX+'/include/','panda/src/pgui/pgFrameStyle.h')
  2662. CopyFile(PREFIX+'/include/','panda/src/pgui/pgItem.I')
  2663. CopyFile(PREFIX+'/include/','panda/src/pgui/pgItem.h')
  2664. CopyFile(PREFIX+'/include/','panda/src/pgui/pgMouseWatcherBackground.h')
  2665. CopyFile(PREFIX+'/include/','panda/src/pgui/pgMouseWatcherRegion.I')
  2666. CopyFile(PREFIX+'/include/','panda/src/pgui/pgMouseWatcherRegion.h')
  2667. CopyFile(PREFIX+'/include/','panda/src/pgui/pgTop.I')
  2668. CopyFile(PREFIX+'/include/','panda/src/pgui/pgTop.h')
  2669. CopyFile(PREFIX+'/include/','panda/src/pgui/pgWaitBar.I')
  2670. CopyFile(PREFIX+'/include/','panda/src/pgui/pgWaitBar.h')
  2671. CopyFile(PREFIX+'/include/','panda/src/pgui/pgSliderBar.I')
  2672. CopyFile(PREFIX+'/include/','panda/src/pgui/pgSliderBar.h')
  2673. CopyFile(PREFIX+'/include/','panda/src/pnmimagetypes/config_pnmimagetypes.h')
  2674. CopyFile(PREFIX+'/include/','panda/src/recorder/mouseRecorder.h')
  2675. CopyFile(PREFIX+'/include/','panda/src/recorder/recorderBase.h')
  2676. CopyFile(PREFIX+'/include/','panda/src/recorder/recorderBase.I')
  2677. CopyFile(PREFIX+'/include/','panda/src/recorder/recorderController.h')
  2678. CopyFile(PREFIX+'/include/','panda/src/recorder/recorderController.I')
  2679. CopyFile(PREFIX+'/include/','panda/src/recorder/recorderFrame.h')
  2680. CopyFile(PREFIX+'/include/','panda/src/recorder/recorderFrame.I')
  2681. CopyFile(PREFIX+'/include/','panda/src/recorder/recorderHeader.h')
  2682. CopyFile(PREFIX+'/include/','panda/src/recorder/recorderHeader.I')
  2683. CopyFile(PREFIX+'/include/','panda/src/recorder/recorderTable.h')
  2684. CopyFile(PREFIX+'/include/','panda/src/recorder/recorderTable.I')
  2685. CopyFile(PREFIX+'/include/','panda/src/recorder/socketStreamRecorder.h')
  2686. CopyFile(PREFIX+'/include/','panda/src/recorder/socketStreamRecorder.I')
  2687. CopyFile(PREFIX+'/include/','panda/src/vrpn/config_vrpn.h')
  2688. CopyFile(PREFIX+'/include/','panda/src/vrpn/vrpnClient.I')
  2689. CopyFile(PREFIX+'/include/','panda/src/vrpn/vrpnClient.h')
  2690. CopyFile(PREFIX+'/include/','panda/metalibs/panda/panda.h')
  2691. CopyFile(PREFIX+'/include/','panda/src/builder/builder.I')
  2692. CopyFile(PREFIX+'/include/','panda/src/builder/builder.h')
  2693. CopyFile(PREFIX+'/include/','panda/src/builder/builder_compare.I')
  2694. CopyFile(PREFIX+'/include/','panda/src/builder/builder_compare.h')
  2695. CopyFile(PREFIX+'/include/','panda/src/builder/builderAttrib.I')
  2696. CopyFile(PREFIX+'/include/','panda/src/builder/builderAttrib.h')
  2697. CopyFile(PREFIX+'/include/','panda/src/builder/builderAttribTempl.I')
  2698. CopyFile(PREFIX+'/include/','panda/src/builder/builderAttribTempl.h')
  2699. CopyFile(PREFIX+'/include/','panda/src/builder/builderBucket.I')
  2700. CopyFile(PREFIX+'/include/','panda/src/builder/builderBucket.h')
  2701. CopyFile(PREFIX+'/include/','panda/src/builder/builderBucketNode.I')
  2702. CopyFile(PREFIX+'/include/','panda/src/builder/builderBucketNode.h')
  2703. CopyFile(PREFIX+'/include/','panda/src/builder/builderNormalVisualizer.I')
  2704. CopyFile(PREFIX+'/include/','panda/src/builder/builderNormalVisualizer.h')
  2705. CopyFile(PREFIX+'/include/','panda/src/builder/builderPrim.I')
  2706. CopyFile(PREFIX+'/include/','panda/src/builder/builderPrim.h')
  2707. CopyFile(PREFIX+'/include/','panda/src/builder/builderPrimTempl.I')
  2708. CopyFile(PREFIX+'/include/','panda/src/builder/builderPrimTempl.h')
  2709. CopyFile(PREFIX+'/include/','panda/src/builder/builderProperties.h')
  2710. CopyFile(PREFIX+'/include/','panda/src/builder/builderTypes.h')
  2711. CopyFile(PREFIX+'/include/','panda/src/builder/builderVertex.I')
  2712. CopyFile(PREFIX+'/include/','panda/src/builder/builderVertex.h')
  2713. CopyFile(PREFIX+'/include/','panda/src/builder/builderVertexTempl.I')
  2714. CopyFile(PREFIX+'/include/','panda/src/builder/builderVertexTempl.h')
  2715. CopyFile(PREFIX+'/include/','panda/src/builder/config_builder.h')
  2716. CopyFile(PREFIX+'/include/','panda/src/windisplay/config_windisplay.h')
  2717. CopyFile(PREFIX+'/include/','panda/src/windisplay/winGraphicsPipe.I')
  2718. CopyFile(PREFIX+'/include/','panda/src/windisplay/winGraphicsPipe.h')
  2719. CopyFile(PREFIX+'/include/','panda/src/windisplay/winGraphicsWindow.I')
  2720. CopyFile(PREFIX+'/include/','panda/src/windisplay/winGraphicsWindow.h')
  2721. CopyFile(PREFIX+'/include/','panda/src/dxgsg7/config_dxgsg7.h')
  2722. CopyFile(PREFIX+'/include/','panda/src/dxgsg7/dxGraphicsStateGuardian7.I')
  2723. CopyFile(PREFIX+'/include/','panda/src/dxgsg7/dxGraphicsStateGuardian7.h')
  2724. CopyFile(PREFIX+'/include/','panda/src/dxgsg7/dxTextureContext7.h')
  2725. CopyFile(PREFIX+'/include/','panda/src/dxgsg7/dxgsg7base.h')
  2726. CopyFile(PREFIX+'/include/','panda/src/dxgsg8/dxgsg8base.h')
  2727. CopyFile(PREFIX+'/include/','panda/src/dxgsg8/config_dxgsg8.h')
  2728. CopyFile(PREFIX+'/include/','panda/src/dxgsg8/dxGraphicsStateGuardian8.I')
  2729. CopyFile(PREFIX+'/include/','panda/src/dxgsg8/dxGraphicsStateGuardian8.h')
  2730. CopyFile(PREFIX+'/include/','panda/src/dxgsg8/dxTextureContext8.h')
  2731. CopyFile(PREFIX+'/include/','panda/src/dxgsg8/d3dfont8.h')
  2732. CopyFile(PREFIX+'/include/','panda/src/dxgsg8/dxGraphicsDevice8.h')
  2733. CopyFile(PREFIX+'/include/','panda/src/dxgsg9/dxgsg9base.h')
  2734. CopyFile(PREFIX+'/include/','panda/src/dxgsg9/config_dxgsg9.h')
  2735. CopyFile(PREFIX+'/include/','panda/src/dxgsg9/dxGraphicsStateGuardian9.I')
  2736. CopyFile(PREFIX+'/include/','panda/src/dxgsg9/dxGraphicsStateGuardian9.h')
  2737. CopyFile(PREFIX+'/include/','panda/src/dxgsg9/dxTextureContext9.h')
  2738. CopyFile(PREFIX+'/include/','panda/src/dxgsg9/d3dfont9.h')
  2739. CopyFile(PREFIX+'/include/','panda/src/dxgsg9/dxGraphicsDevice9.h')
  2740. CopyFile(PREFIX+'/include/','panda/src/effects/config_effects.h')
  2741. CopyFile(PREFIX+'/include/','panda/src/effects/cgShader.I')
  2742. CopyFile(PREFIX+'/include/','panda/src/effects/cgShader.h')
  2743. CopyFile(PREFIX+'/include/','panda/src/effects/cgShaderAttrib.I')
  2744. CopyFile(PREFIX+'/include/','panda/src/effects/cgShaderAttrib.h')
  2745. CopyFile(PREFIX+'/include/','panda/src/effects/cgShaderContext.I')
  2746. CopyFile(PREFIX+'/include/','panda/src/effects/cgShaderContext.h')
  2747. CopyFile(PREFIX+'/include/','panda/src/effects/lensFlareNode.I')
  2748. CopyFile(PREFIX+'/include/','panda/src/effects/lensFlareNode.h')
  2749. CopyFile(PREFIX+'/include/','panda/src/egg/eggAnimData.I')
  2750. CopyFile(PREFIX+'/include/','panda/src/egg/eggAnimData.h')
  2751. CopyFile(PREFIX+'/include/','panda/src/egg/eggAttributes.I')
  2752. CopyFile(PREFIX+'/include/','panda/src/egg/eggAttributes.h')
  2753. CopyFile(PREFIX+'/include/','panda/src/egg/eggBin.h')
  2754. CopyFile(PREFIX+'/include/','panda/src/egg/eggBinMaker.h')
  2755. CopyFile(PREFIX+'/include/','panda/src/egg/eggComment.I')
  2756. CopyFile(PREFIX+'/include/','panda/src/egg/eggComment.h')
  2757. CopyFile(PREFIX+'/include/','panda/src/egg/eggCoordinateSystem.I')
  2758. CopyFile(PREFIX+'/include/','panda/src/egg/eggCoordinateSystem.h')
  2759. CopyFile(PREFIX+'/include/','panda/src/egg/eggCurve.I')
  2760. CopyFile(PREFIX+'/include/','panda/src/egg/eggCurve.h')
  2761. CopyFile(PREFIX+'/include/','panda/src/egg/eggData.I')
  2762. CopyFile(PREFIX+'/include/','panda/src/egg/eggData.h')
  2763. CopyFile(PREFIX+'/include/','panda/src/egg/eggExternalReference.I')
  2764. CopyFile(PREFIX+'/include/','panda/src/egg/eggExternalReference.h')
  2765. CopyFile(PREFIX+'/include/','panda/src/egg/eggFilenameNode.I')
  2766. CopyFile(PREFIX+'/include/','panda/src/egg/eggFilenameNode.h')
  2767. CopyFile(PREFIX+'/include/','panda/src/egg/eggGroup.I')
  2768. CopyFile(PREFIX+'/include/','panda/src/egg/eggGroup.h')
  2769. CopyFile(PREFIX+'/include/','panda/src/egg/eggGroupNode.I')
  2770. CopyFile(PREFIX+'/include/','panda/src/egg/eggGroupNode.h')
  2771. CopyFile(PREFIX+'/include/','panda/src/egg/eggGroupUniquifier.h')
  2772. CopyFile(PREFIX+'/include/','panda/src/egg/eggLine.I')
  2773. CopyFile(PREFIX+'/include/','panda/src/egg/eggLine.h')
  2774. CopyFile(PREFIX+'/include/','panda/src/egg/eggMaterial.I')
  2775. CopyFile(PREFIX+'/include/','panda/src/egg/eggMaterial.h')
  2776. CopyFile(PREFIX+'/include/','panda/src/egg/eggMaterialCollection.I')
  2777. CopyFile(PREFIX+'/include/','panda/src/egg/eggMaterialCollection.h')
  2778. CopyFile(PREFIX+'/include/','panda/src/egg/eggMorph.I')
  2779. CopyFile(PREFIX+'/include/','panda/src/egg/eggMorph.h')
  2780. CopyFile(PREFIX+'/include/','panda/src/egg/eggMorphList.I')
  2781. CopyFile(PREFIX+'/include/','panda/src/egg/eggMorphList.h')
  2782. CopyFile(PREFIX+'/include/','panda/src/egg/eggNamedObject.I')
  2783. CopyFile(PREFIX+'/include/','panda/src/egg/eggNamedObject.h')
  2784. CopyFile(PREFIX+'/include/','panda/src/egg/eggNameUniquifier.h')
  2785. CopyFile(PREFIX+'/include/','panda/src/egg/eggNode.I')
  2786. CopyFile(PREFIX+'/include/','panda/src/egg/eggNode.h')
  2787. CopyFile(PREFIX+'/include/','panda/src/egg/eggNurbsCurve.I')
  2788. CopyFile(PREFIX+'/include/','panda/src/egg/eggNurbsCurve.h')
  2789. CopyFile(PREFIX+'/include/','panda/src/egg/eggNurbsSurface.I')
  2790. CopyFile(PREFIX+'/include/','panda/src/egg/eggNurbsSurface.h')
  2791. CopyFile(PREFIX+'/include/','panda/src/egg/eggObject.I')
  2792. CopyFile(PREFIX+'/include/','panda/src/egg/eggObject.h')
  2793. CopyFile(PREFIX+'/include/','panda/src/egg/eggParameters.h')
  2794. CopyFile(PREFIX+'/include/','panda/src/egg/eggPoint.I')
  2795. CopyFile(PREFIX+'/include/','panda/src/egg/eggPoint.h')
  2796. CopyFile(PREFIX+'/include/','panda/src/egg/eggPolygon.I')
  2797. CopyFile(PREFIX+'/include/','panda/src/egg/eggPolygon.h')
  2798. CopyFile(PREFIX+'/include/','panda/src/egg/eggPolysetMaker.h')
  2799. CopyFile(PREFIX+'/include/','panda/src/egg/eggPoolUniquifier.h')
  2800. CopyFile(PREFIX+'/include/','panda/src/egg/eggPrimitive.I')
  2801. CopyFile(PREFIX+'/include/','panda/src/egg/eggPrimitive.h')
  2802. CopyFile(PREFIX+'/include/','panda/src/egg/eggRenderMode.I')
  2803. CopyFile(PREFIX+'/include/','panda/src/egg/eggRenderMode.h')
  2804. CopyFile(PREFIX+'/include/','panda/src/egg/eggSAnimData.I')
  2805. CopyFile(PREFIX+'/include/','panda/src/egg/eggSAnimData.h')
  2806. CopyFile(PREFIX+'/include/','panda/src/egg/eggSurface.I')
  2807. CopyFile(PREFIX+'/include/','panda/src/egg/eggSurface.h')
  2808. CopyFile(PREFIX+'/include/','panda/src/egg/eggSwitchCondition.h')
  2809. CopyFile(PREFIX+'/include/','panda/src/egg/eggTable.I')
  2810. CopyFile(PREFIX+'/include/','panda/src/egg/eggTable.h')
  2811. CopyFile(PREFIX+'/include/','panda/src/egg/eggTexture.I')
  2812. CopyFile(PREFIX+'/include/','panda/src/egg/eggTexture.h')
  2813. CopyFile(PREFIX+'/include/','panda/src/egg/eggTextureCollection.I')
  2814. CopyFile(PREFIX+'/include/','panda/src/egg/eggTextureCollection.h')
  2815. CopyFile(PREFIX+'/include/','panda/src/egg/eggTransform3d.I')
  2816. CopyFile(PREFIX+'/include/','panda/src/egg/eggTransform3d.h')
  2817. CopyFile(PREFIX+'/include/','panda/src/egg/eggUserData.I')
  2818. CopyFile(PREFIX+'/include/','panda/src/egg/eggUserData.h')
  2819. CopyFile(PREFIX+'/include/','panda/src/egg/eggUtilities.I')
  2820. CopyFile(PREFIX+'/include/','panda/src/egg/eggUtilities.h')
  2821. CopyFile(PREFIX+'/include/','panda/src/egg/eggVertex.I')
  2822. CopyFile(PREFIX+'/include/','panda/src/egg/eggVertex.h')
  2823. CopyFile(PREFIX+'/include/','panda/src/egg/eggVertexPool.I')
  2824. CopyFile(PREFIX+'/include/','panda/src/egg/eggVertexPool.h')
  2825. CopyFile(PREFIX+'/include/','panda/src/egg/eggVertexUV.I')
  2826. CopyFile(PREFIX+'/include/','panda/src/egg/eggVertexUV.h')
  2827. CopyFile(PREFIX+'/include/','panda/src/egg/eggXfmAnimData.I')
  2828. CopyFile(PREFIX+'/include/','panda/src/egg/eggXfmAnimData.h')
  2829. CopyFile(PREFIX+'/include/','panda/src/egg/eggXfmSAnim.I')
  2830. CopyFile(PREFIX+'/include/','panda/src/egg/eggXfmSAnim.h')
  2831. CopyFile(PREFIX+'/include/','panda/src/egg/pt_EggMaterial.h')
  2832. CopyFile(PREFIX+'/include/','panda/src/egg/vector_PT_EggMaterial.h')
  2833. CopyFile(PREFIX+'/include/','panda/src/egg/pt_EggTexture.h')
  2834. CopyFile(PREFIX+'/include/','panda/src/egg/vector_PT_EggTexture.h')
  2835. CopyFile(PREFIX+'/include/','panda/src/egg/pt_EggVertex.h')
  2836. CopyFile(PREFIX+'/include/','panda/src/egg/vector_PT_EggVertex.h')
  2837. CopyFile(PREFIX+'/include/','panda/src/egg2pg/egg_parametrics.h')
  2838. CopyFile(PREFIX+'/include/','panda/src/egg2pg/load_egg_file.h')
  2839. CopyFile(PREFIX+'/include/','panda/src/egg2pg/config_egg2pg.h')
  2840. CopyFile(PREFIX+'/include/','panda/src/framework/pandaFramework.I')
  2841. CopyFile(PREFIX+'/include/','panda/src/framework/pandaFramework.h')
  2842. CopyFile(PREFIX+'/include/','panda/src/framework/windowFramework.I')
  2843. CopyFile(PREFIX+'/include/','panda/src/framework/windowFramework.h')
  2844. CopyFile(PREFIX+'/include/','panda/src/glstuff/glext.h')
  2845. CopyFile(PREFIX+'/include/','panda/src/glstuff/glmisc_src.cxx')
  2846. CopyFile(PREFIX+'/include/','panda/src/glstuff/glmisc_src.h')
  2847. CopyFile(PREFIX+'/include/','panda/src/glstuff/glstuff_src.cxx')
  2848. CopyFile(PREFIX+'/include/','panda/src/glstuff/glstuff_src.h')
  2849. CopyFile(PREFIX+'/include/','panda/src/glstuff/glstuff_undef_src.h')
  2850. CopyFile(PREFIX+'/include/','panda/src/glstuff/glGeomContext_src.cxx')
  2851. CopyFile(PREFIX+'/include/','panda/src/glstuff/glGeomContext_src.I')
  2852. CopyFile(PREFIX+'/include/','panda/src/glstuff/glGeomContext_src.h')
  2853. CopyFile(PREFIX+'/include/','panda/src/glstuff/glGraphicsStateGuardian_src.cxx')
  2854. CopyFile(PREFIX+'/include/','panda/src/glstuff/glGraphicsStateGuardian_src.I')
  2855. CopyFile(PREFIX+'/include/','panda/src/glstuff/glGraphicsStateGuardian_src.h')
  2856. CopyFile(PREFIX+'/include/','panda/src/glstuff/glSavedFrameBuffer_src.cxx')
  2857. CopyFile(PREFIX+'/include/','panda/src/glstuff/glSavedFrameBuffer_src.I')
  2858. CopyFile(PREFIX+'/include/','panda/src/glstuff/glSavedFrameBuffer_src.h')
  2859. CopyFile(PREFIX+'/include/','panda/src/glstuff/glTextureContext_src.cxx')
  2860. CopyFile(PREFIX+'/include/','panda/src/glstuff/glTextureContext_src.I')
  2861. CopyFile(PREFIX+'/include/','panda/src/glstuff/glTextureContext_src.h')
  2862. CopyFile(PREFIX+'/include/','panda/src/glstuff/glCgShaderContext_src.cxx')
  2863. CopyFile(PREFIX+'/include/','panda/src/glstuff/glCgShaderContext_src.h')
  2864. CopyFile(PREFIX+'/include/','panda/src/glstuff/glCgShaderContext_src.I')
  2865. CopyFile(PREFIX+'/include/','panda/src/glgsg/config_glgsg.h')
  2866. CopyFile(PREFIX+'/include/','panda/src/glgsg/glgsg.h')
  2867. CopyFile(PREFIX+'/include/','panda/metalibs/pandaegg/pandaegg.h')
  2868. CopyFile(PREFIX+'/include/','panda/src/wgldisplay/config_wgldisplay.h')
  2869. CopyFile(PREFIX+'/include/','panda/src/wgldisplay/wglGraphicsBuffer.I')
  2870. CopyFile(PREFIX+'/include/','panda/src/wgldisplay/wglGraphicsBuffer.h')
  2871. CopyFile(PREFIX+'/include/','panda/src/wgldisplay/wglGraphicsPipe.I')
  2872. CopyFile(PREFIX+'/include/','panda/src/wgldisplay/wglGraphicsPipe.h')
  2873. CopyFile(PREFIX+'/include/','panda/src/wgldisplay/wglGraphicsStateGuardian.I')
  2874. CopyFile(PREFIX+'/include/','panda/src/wgldisplay/wglGraphicsStateGuardian.h')
  2875. CopyFile(PREFIX+'/include/','panda/src/wgldisplay/wglGraphicsWindow.I')
  2876. CopyFile(PREFIX+'/include/','panda/src/wgldisplay/wglGraphicsWindow.h')
  2877. CopyFile(PREFIX+'/include/','panda/src/wgldisplay/wglext.h')
  2878. CopyFile(PREFIX+'/include/','panda/metalibs/pandagl/pandagl.h')
  2879. CopyFile(PREFIX+'/include/','panda/src/physics/actorNode.I')
  2880. CopyFile(PREFIX+'/include/','panda/src/physics/actorNode.h')
  2881. CopyFile(PREFIX+'/include/','panda/src/physics/angularEulerIntegrator.h')
  2882. CopyFile(PREFIX+'/include/','panda/src/physics/angularForce.h')
  2883. CopyFile(PREFIX+'/include/','panda/src/physics/angularIntegrator.h')
  2884. CopyFile(PREFIX+'/include/','panda/src/physics/angularVectorForce.I')
  2885. CopyFile(PREFIX+'/include/','panda/src/physics/angularVectorForce.h')
  2886. CopyFile(PREFIX+'/include/','panda/src/physics/baseForce.I')
  2887. CopyFile(PREFIX+'/include/','panda/src/physics/baseForce.h')
  2888. CopyFile(PREFIX+'/include/','panda/src/physics/baseIntegrator.I')
  2889. CopyFile(PREFIX+'/include/','panda/src/physics/baseIntegrator.h')
  2890. CopyFile(PREFIX+'/include/','panda/src/physics/config_physics.h')
  2891. CopyFile(PREFIX+'/include/','panda/src/physics/forceNode.I')
  2892. CopyFile(PREFIX+'/include/','panda/src/physics/forceNode.h')
  2893. CopyFile(PREFIX+'/include/','panda/src/physics/forces.h')
  2894. CopyFile(PREFIX+'/include/','panda/src/physics/linearCylinderVortexForce.I')
  2895. CopyFile(PREFIX+'/include/','panda/src/physics/linearCylinderVortexForce.h')
  2896. CopyFile(PREFIX+'/include/','panda/src/physics/linearDistanceForce.I')
  2897. CopyFile(PREFIX+'/include/','panda/src/physics/linearDistanceForce.h')
  2898. CopyFile(PREFIX+'/include/','panda/src/physics/linearEulerIntegrator.h')
  2899. CopyFile(PREFIX+'/include/','panda/src/physics/linearForce.I')
  2900. CopyFile(PREFIX+'/include/','panda/src/physics/linearForce.h')
  2901. CopyFile(PREFIX+'/include/','panda/src/physics/linearFrictionForce.I')
  2902. CopyFile(PREFIX+'/include/','panda/src/physics/linearFrictionForce.h')
  2903. CopyFile(PREFIX+'/include/','panda/src/physics/linearIntegrator.h')
  2904. CopyFile(PREFIX+'/include/','panda/src/physics/linearJitterForce.h')
  2905. CopyFile(PREFIX+'/include/','panda/src/physics/linearNoiseForce.I')
  2906. CopyFile(PREFIX+'/include/','panda/src/physics/linearNoiseForce.h')
  2907. CopyFile(PREFIX+'/include/','panda/src/physics/linearRandomForce.I')
  2908. CopyFile(PREFIX+'/include/','panda/src/physics/linearRandomForce.h')
  2909. CopyFile(PREFIX+'/include/','panda/src/physics/linearSinkForce.h')
  2910. CopyFile(PREFIX+'/include/','panda/src/physics/linearSourceForce.h')
  2911. CopyFile(PREFIX+'/include/','panda/src/physics/linearUserDefinedForce.I')
  2912. CopyFile(PREFIX+'/include/','panda/src/physics/linearUserDefinedForce.h')
  2913. CopyFile(PREFIX+'/include/','panda/src/physics/linearVectorForce.I')
  2914. CopyFile(PREFIX+'/include/','panda/src/physics/linearVectorForce.h')
  2915. CopyFile(PREFIX+'/include/','panda/src/physics/physical.I')
  2916. CopyFile(PREFIX+'/include/','panda/src/physics/physical.h')
  2917. CopyFile(PREFIX+'/include/','panda/src/physics/physicalNode.I')
  2918. CopyFile(PREFIX+'/include/','panda/src/physics/physicalNode.h')
  2919. CopyFile(PREFIX+'/include/','panda/src/physics/physicsCollisionHandler.I')
  2920. CopyFile(PREFIX+'/include/','panda/src/physics/physicsCollisionHandler.h')
  2921. CopyFile(PREFIX+'/include/','panda/src/physics/physicsManager.I')
  2922. CopyFile(PREFIX+'/include/','panda/src/physics/physicsManager.h')
  2923. CopyFile(PREFIX+'/include/','panda/src/physics/physicsObject.I')
  2924. CopyFile(PREFIX+'/include/','panda/src/physics/physicsObject.h')
  2925. CopyFile(PREFIX+'/include/','panda/src/particlesystem/baseParticle.I')
  2926. CopyFile(PREFIX+'/include/','panda/src/particlesystem/baseParticle.h')
  2927. CopyFile(PREFIX+'/include/','panda/src/particlesystem/baseParticleEmitter.I')
  2928. CopyFile(PREFIX+'/include/','panda/src/particlesystem/baseParticleEmitter.h')
  2929. CopyFile(PREFIX+'/include/','panda/src/particlesystem/baseParticleFactory.I')
  2930. CopyFile(PREFIX+'/include/','panda/src/particlesystem/baseParticleFactory.h')
  2931. CopyFile(PREFIX+'/include/','panda/src/particlesystem/baseParticleRenderer.I')
  2932. CopyFile(PREFIX+'/include/','panda/src/particlesystem/baseParticleRenderer.h')
  2933. CopyFile(PREFIX+'/include/','panda/src/particlesystem/boxEmitter.I')
  2934. CopyFile(PREFIX+'/include/','panda/src/particlesystem/boxEmitter.h')
  2935. CopyFile(PREFIX+'/include/','panda/src/particlesystem/config_particlesystem.h')
  2936. CopyFile(PREFIX+'/include/','panda/src/particlesystem/discEmitter.I')
  2937. CopyFile(PREFIX+'/include/','panda/src/particlesystem/discEmitter.h')
  2938. CopyFile(PREFIX+'/include/','panda/src/particlesystem/emitters.h')
  2939. CopyFile(PREFIX+'/include/','panda/src/particlesystem/geomParticleRenderer.I')
  2940. CopyFile(PREFIX+'/include/','panda/src/particlesystem/geomParticleRenderer.h')
  2941. CopyFile(PREFIX+'/include/','panda/src/particlesystem/lineEmitter.I')
  2942. CopyFile(PREFIX+'/include/','panda/src/particlesystem/lineEmitter.h')
  2943. CopyFile(PREFIX+'/include/','panda/src/particlesystem/lineParticleRenderer.I')
  2944. CopyFile(PREFIX+'/include/','panda/src/particlesystem/lineParticleRenderer.h')
  2945. CopyFile(PREFIX+'/include/','panda/src/particlesystem/particleSystem.I')
  2946. CopyFile(PREFIX+'/include/','panda/src/particlesystem/particleSystem.h')
  2947. CopyFile(PREFIX+'/include/','panda/src/particlesystem/particleSystemManager.I')
  2948. CopyFile(PREFIX+'/include/','panda/src/particlesystem/particleSystemManager.h')
  2949. CopyFile(PREFIX+'/include/','panda/src/particlesystem/particlefactories.h')
  2950. CopyFile(PREFIX+'/include/','panda/src/particlesystem/particles.h')
  2951. CopyFile(PREFIX+'/include/','panda/src/particlesystem/pointEmitter.I')
  2952. CopyFile(PREFIX+'/include/','panda/src/particlesystem/pointEmitter.h')
  2953. CopyFile(PREFIX+'/include/','panda/src/particlesystem/pointParticle.h')
  2954. CopyFile(PREFIX+'/include/','panda/src/particlesystem/pointParticleFactory.h')
  2955. CopyFile(PREFIX+'/include/','panda/src/particlesystem/pointParticleRenderer.I')
  2956. CopyFile(PREFIX+'/include/','panda/src/particlesystem/pointParticleRenderer.h')
  2957. CopyFile(PREFIX+'/include/','panda/src/particlesystem/rectangleEmitter.I')
  2958. CopyFile(PREFIX+'/include/','panda/src/particlesystem/rectangleEmitter.h')
  2959. CopyFile(PREFIX+'/include/','panda/src/particlesystem/ringEmitter.I')
  2960. CopyFile(PREFIX+'/include/','panda/src/particlesystem/ringEmitter.h')
  2961. CopyFile(PREFIX+'/include/','panda/src/particlesystem/sparkleParticleRenderer.I')
  2962. CopyFile(PREFIX+'/include/','panda/src/particlesystem/sparkleParticleRenderer.h')
  2963. CopyFile(PREFIX+'/include/','panda/src/particlesystem/sphereSurfaceEmitter.I')
  2964. CopyFile(PREFIX+'/include/','panda/src/particlesystem/sphereSurfaceEmitter.h')
  2965. CopyFile(PREFIX+'/include/','panda/src/particlesystem/sphereVolumeEmitter.I')
  2966. CopyFile(PREFIX+'/include/','panda/src/particlesystem/sphereVolumeEmitter.h')
  2967. CopyFile(PREFIX+'/include/','panda/src/particlesystem/spriteParticleRenderer.I')
  2968. CopyFile(PREFIX+'/include/','panda/src/particlesystem/spriteParticleRenderer.h')
  2969. CopyFile(PREFIX+'/include/','panda/src/particlesystem/tangentRingEmitter.I')
  2970. CopyFile(PREFIX+'/include/','panda/src/particlesystem/tangentRingEmitter.h')
  2971. CopyFile(PREFIX+'/include/','panda/src/particlesystem/zSpinParticle.I')
  2972. CopyFile(PREFIX+'/include/','panda/src/particlesystem/zSpinParticle.h')
  2973. CopyFile(PREFIX+'/include/','panda/src/particlesystem/zSpinParticleFactory.I')
  2974. CopyFile(PREFIX+'/include/','panda/src/particlesystem/zSpinParticleFactory.h')
  2975. CopyFile(PREFIX+'/include/','panda/src/particlesystem/particleCommonFuncs.h')
  2976. CopyFile(PREFIX+'/include/','panda/metalibs/pandaphysics/pandaphysics.h')
  2977. CopyFile(PREFIX+'/include/','direct/src/directbase/directbase.h')
  2978. CopyFile(PREFIX+'/include/','direct/src/directbase/directsymbols.h')
  2979. CopyFile(PREFIX+'/include/','direct/src/deadrec/smoothMover.h')
  2980. CopyFile(PREFIX+'/include/','direct/src/deadrec/smoothMover.I')
  2981. CopyFile(PREFIX+'/include/','direct/src/interval/config_interval.h')
  2982. CopyFile(PREFIX+'/include/','direct/src/interval/cInterval.I')
  2983. CopyFile(PREFIX+'/include/','direct/src/interval/cInterval.h')
  2984. CopyFile(PREFIX+'/include/','direct/src/interval/cIntervalManager.I')
  2985. CopyFile(PREFIX+'/include/','direct/src/interval/cIntervalManager.h')
  2986. CopyFile(PREFIX+'/include/','direct/src/interval/cLerpInterval.I')
  2987. CopyFile(PREFIX+'/include/','direct/src/interval/cLerpInterval.h')
  2988. CopyFile(PREFIX+'/include/','direct/src/interval/cLerpNodePathInterval.I')
  2989. CopyFile(PREFIX+'/include/','direct/src/interval/cLerpNodePathInterval.h')
  2990. CopyFile(PREFIX+'/include/','direct/src/interval/cLerpAnimEffectInterval.I')
  2991. CopyFile(PREFIX+'/include/','direct/src/interval/cLerpAnimEffectInterval.h')
  2992. CopyFile(PREFIX+'/include/','direct/src/interval/cMetaInterval.I')
  2993. CopyFile(PREFIX+'/include/','direct/src/interval/cMetaInterval.h')
  2994. CopyFile(PREFIX+'/include/','direct/src/interval/hideInterval.I')
  2995. CopyFile(PREFIX+'/include/','direct/src/interval/hideInterval.h')
  2996. CopyFile(PREFIX+'/include/','direct/src/interval/showInterval.I')
  2997. CopyFile(PREFIX+'/include/','direct/src/interval/showInterval.h')
  2998. CopyFile(PREFIX+'/include/','direct/src/interval/waitInterval.I')
  2999. CopyFile(PREFIX+'/include/','direct/src/interval/waitInterval.h')
  3000. CopyFile(PREFIX+'/include/','pandatool/src/pandatoolbase/animationConvert.h')
  3001. CopyFile(PREFIX+'/include/','pandatool/src/pandatoolbase/config_pandatoolbase.h')
  3002. CopyFile(PREFIX+'/include/','pandatool/src/pandatoolbase/distanceUnit.h')
  3003. CopyFile(PREFIX+'/include/','pandatool/src/pandatoolbase/pandatoolbase.h')
  3004. CopyFile(PREFIX+'/include/','pandatool/src/pandatoolbase/pandatoolsymbols.h')
  3005. CopyFile(PREFIX+'/include/','pandatool/src/pandatoolbase/pathReplace.I')
  3006. CopyFile(PREFIX+'/include/','pandatool/src/pandatoolbase/pathReplace.h')
  3007. CopyFile(PREFIX+'/include/','pandatool/src/pandatoolbase/pathStore.h')
  3008. CopyFile(PREFIX+'/include/','pandatool/src/converter/somethingToEggConverter.I')
  3009. CopyFile(PREFIX+'/include/','pandatool/src/converter/somethingToEggConverter.h')
  3010. CopyFile(PREFIX+'/include/','pandatool/src/progbase/programBase.I')
  3011. CopyFile(PREFIX+'/include/','pandatool/src/progbase/programBase.h')
  3012. CopyFile(PREFIX+'/include/','pandatool/src/progbase/withOutputFile.I')
  3013. CopyFile(PREFIX+'/include/','pandatool/src/progbase/withOutputFile.h')
  3014. CopyFile(PREFIX+'/include/','pandatool/src/progbase/wordWrapStream.h')
  3015. CopyFile(PREFIX+'/include/','pandatool/src/progbase/wordWrapStreamBuf.I')
  3016. CopyFile(PREFIX+'/include/','pandatool/src/progbase/wordWrapStreamBuf.h')
  3017. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/eggBase.h')
  3018. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/eggConverter.h')
  3019. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/eggFilter.h')
  3020. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/eggMakeSomething.h')
  3021. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/eggMultiBase.h')
  3022. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/eggMultiFilter.h')
  3023. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/eggReader.h')
  3024. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/eggSingleBase.h')
  3025. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/eggToSomething.h')
  3026. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/eggWriter.h')
  3027. CopyFile(PREFIX+'/include/','pandatool/src/eggbase/somethingToEgg.h')
  3028. CopyFile(PREFIX+'/include/','pandatool/src/cvscopy/cvsCopy.h')
  3029. CopyFile(PREFIX+'/include/','pandatool/src/dxf/dxfFile.h')
  3030. CopyFile(PREFIX+'/include/','pandatool/src/dxf/dxfLayer.h')
  3031. CopyFile(PREFIX+'/include/','pandatool/src/dxf/dxfLayerMap.h')
  3032. CopyFile(PREFIX+'/include/','pandatool/src/dxf/dxfVertex.h')
  3033. CopyFile(PREFIX+'/include/','pandatool/src/dxfegg/dxfToEggConverter.h')
  3034. CopyFile(PREFIX+'/include/','pandatool/src/dxfegg/dxfToEggLayer.h')
  3035. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggBackPointer.h')
  3036. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggCharacterCollection.I')
  3037. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggCharacterCollection.h')
  3038. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggCharacterData.I')
  3039. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggCharacterData.h')
  3040. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggCharacterFilter.h')
  3041. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggComponentData.I')
  3042. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggComponentData.h')
  3043. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggJointData.h')
  3044. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggJointData.I')
  3045. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggJointPointer.h')
  3046. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggJointPointer.I')
  3047. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggJointNodePointer.h')
  3048. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggMatrixTablePointer.h')
  3049. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggScalarTablePointer.h')
  3050. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggSliderData.I')
  3051. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggSliderData.h')
  3052. CopyFile(PREFIX+'/include/','pandatool/src/eggcharbase/eggVertexPointer.h')
  3053. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltBead.h')
  3054. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltBeadID.h')
  3055. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltCurve.I')
  3056. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltCurve.h')
  3057. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltError.h')
  3058. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltExternalReference.h')
  3059. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltEyepoint.h')
  3060. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltFace.I')
  3061. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltFace.h')
  3062. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltGeometry.I')
  3063. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltGeometry.h')
  3064. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltGroup.h')
  3065. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltHeader.h')
  3066. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltInstanceDefinition.h')
  3067. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltInstanceRef.h')
  3068. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltLOD.h')
  3069. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltLightSourceDefinition.h')
  3070. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltLocalVertexPool.I')
  3071. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltLocalVertexPool.h')
  3072. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltMaterial.h')
  3073. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltMesh.I')
  3074. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltMesh.h')
  3075. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltMeshPrimitive.I')
  3076. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltMeshPrimitive.h')
  3077. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltObject.h')
  3078. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltOpcode.h')
  3079. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltPackedColor.I')
  3080. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltPackedColor.h')
  3081. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltRecord.I')
  3082. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltRecord.h')
  3083. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltRecordReader.h')
  3084. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltRecordWriter.h')
  3085. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltTexture.h')
  3086. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltTrackplane.h')
  3087. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltTransformGeneralMatrix.h')
  3088. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltTransformPut.h')
  3089. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltTransformRecord.h')
  3090. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltTransformRotateAboutEdge.h')
  3091. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltTransformRotateAboutPoint.h')
  3092. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltTransformRotateScale.h')
  3093. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltTransformScale.h')
  3094. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltTransformTranslate.h')
  3095. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltUnsupportedRecord.h')
  3096. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltVectorRecord.h')
  3097. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltVertex.I')
  3098. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltVertex.h')
  3099. CopyFile(PREFIX+'/include/','pandatool/src/flt/fltVertexList.h')
  3100. CopyFile(PREFIX+'/include/','pandatool/src/fltegg/fltToEggConverter.I')
  3101. CopyFile(PREFIX+'/include/','pandatool/src/fltegg/fltToEggConverter.h')
  3102. CopyFile(PREFIX+'/include/','pandatool/src/fltegg/fltToEggLevelState.I')
  3103. CopyFile(PREFIX+'/include/','pandatool/src/fltegg/fltToEggLevelState.h')
  3104. CopyFile(PREFIX+'/include/','pandatool/src/imagebase/imageBase.h')
  3105. CopyFile(PREFIX+'/include/','pandatool/src/imagebase/imageFilter.h')
  3106. CopyFile(PREFIX+'/include/','pandatool/src/imagebase/imageReader.h')
  3107. CopyFile(PREFIX+'/include/','pandatool/src/imagebase/imageWriter.I')
  3108. CopyFile(PREFIX+'/include/','pandatool/src/imagebase/imageWriter.h')
  3109. CopyFile(PREFIX+'/include/','pandatool/src/lwo/iffChunk.I')
  3110. CopyFile(PREFIX+'/include/','pandatool/src/lwo/iffChunk.h')
  3111. CopyFile(PREFIX+'/include/','pandatool/src/lwo/iffGenericChunk.I')
  3112. CopyFile(PREFIX+'/include/','pandatool/src/lwo/iffGenericChunk.h')
  3113. CopyFile(PREFIX+'/include/','pandatool/src/lwo/iffId.I')
  3114. CopyFile(PREFIX+'/include/','pandatool/src/lwo/iffId.h')
  3115. CopyFile(PREFIX+'/include/','pandatool/src/lwo/iffInputFile.I')
  3116. CopyFile(PREFIX+'/include/','pandatool/src/lwo/iffInputFile.h')
  3117. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoBoundingBox.h')
  3118. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoChunk.h')
  3119. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoClip.h')
  3120. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoDiscontinuousVertexMap.h')
  3121. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoGroupChunk.h')
  3122. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoHeader.I')
  3123. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoHeader.h')
  3124. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoInputFile.I')
  3125. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoInputFile.h')
  3126. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoLayer.h')
  3127. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoPoints.h')
  3128. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoPolygons.h')
  3129. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoPolygonTags.h')
  3130. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoTags.h')
  3131. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoStillImage.h')
  3132. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurface.h')
  3133. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlock.h')
  3134. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockAxis.h')
  3135. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockChannel.h')
  3136. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockCoordSys.h')
  3137. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockEnabled.h')
  3138. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockImage.h')
  3139. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockOpacity.h')
  3140. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockProjection.h')
  3141. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockHeader.h')
  3142. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockRefObj.h')
  3143. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockRepeat.h')
  3144. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockTMap.h')
  3145. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockTransform.h')
  3146. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockVMapName.h')
  3147. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceBlockWrap.h')
  3148. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceColor.h')
  3149. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceParameter.h')
  3150. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceSidedness.h')
  3151. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoSurfaceSmoothingAngle.h')
  3152. CopyFile(PREFIX+'/include/','pandatool/src/lwo/lwoVertexMap.h')
  3153. CopyFile(PREFIX+'/include/','pandatool/src/lwoegg/lwoToEggConverter.I')
  3154. CopyFile(PREFIX+'/include/','pandatool/src/lwoegg/lwoToEggConverter.h')
  3155. CopyFile(PREFIX+'/include/','pandatool/src/vrmlegg/indexedFaceSet.h')
  3156. CopyFile(PREFIX+'/include/','pandatool/src/vrmlegg/vrmlAppearance.h')
  3157. CopyFile(PREFIX+'/include/','pandatool/src/vrmlegg/vrmlToEggConverter.h')
  3158. CopyFile(PREFIX+'/include/','pandatool/src/ptloader/config_ptloader.h')
  3159. CopyFile(PREFIX+'/include/','pandatool/src/ptloader/loaderFileTypePandatool.h')
  3160. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatClientData.h')
  3161. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatGraph.I')
  3162. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatGraph.h')
  3163. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatListener.h')
  3164. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatMonitor.I')
  3165. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatMonitor.h')
  3166. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatPianoRoll.I')
  3167. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatPianoRoll.h')
  3168. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatReader.h')
  3169. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatServer.h')
  3170. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatStripChart.I')
  3171. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatStripChart.h')
  3172. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatThreadData.I')
  3173. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatThreadData.h')
  3174. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatView.I')
  3175. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatView.h')
  3176. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatViewLevel.I')
  3177. CopyFile(PREFIX+'/include/','pandatool/src/pstatserver/pStatViewLevel.h')
  3178. CopyFile(PREFIX+'/include/','pandaapp/src/pandaappbase/pandaappbase.h')
  3179. CopyFile(PREFIX+'/include/','pandaapp/src/pandaappbase/pandaappsymbols.h')
  3180. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/config_stitch.h')
  3181. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/fadeImagePool.I')
  3182. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/fadeImagePool.h')
  3183. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/fixedPoint.h')
  3184. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/layeredImage.h')
  3185. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/morphGrid.h')
  3186. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchCommand.h')
  3187. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchCommandReader.h')
  3188. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchCylindricalLens.h')
  3189. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchFile.h')
  3190. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchFisheyeLens.h')
  3191. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchImage.h')
  3192. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchImageCommandOutput.h')
  3193. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchImageOutputter.h')
  3194. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchImageRasterizer.h')
  3195. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchLens.h')
  3196. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchLexerDefs.h')
  3197. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchPSphereLens.h')
  3198. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchParserDefs.h')
  3199. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchPerspectiveLens.h')
  3200. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchPoint.h')
  3201. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitcher.h')
  3202. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/triangle.h')
  3203. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/triangleRasterizer.h')
  3204. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchCylindricalScreen.h')
  3205. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchFlatScreen.h')
  3206. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchMultiScreen.h')
  3207. CopyFile(PREFIX+'/include/','pandaapp/src/stitchbase/stitchScreen.h')
  3208. ########################################################################
  3209. #
  3210. # This file contains a list of all the files that need to be compiled.
  3211. #
  3212. ########################################################################
  3213. #
  3214. # DIRECTORY: dtool/src/dtoolbase/
  3215. #
  3216. IPATH=['dtool/src/dtoolbase']
  3217. OPTS=['BUILDING_DTOOL', 'NSPR']
  3218. CompileC(ipath=IPATH, opts=OPTS, src='dtoolbase.cxx', obj='dtoolbase_dtoolbase.obj')
  3219. #
  3220. # DIRECTORY: dtool/src/dtoolutil/
  3221. #
  3222. IPATH=['dtool/src/dtoolutil']
  3223. OPTS=['BUILDING_DTOOL', 'NSPR']
  3224. CompileC(ipath=IPATH, opts=OPTS, src='gnu_getopt.c', obj='dtoolutil_gnu_getopt.obj')
  3225. CompileC(ipath=IPATH, opts=OPTS, src='gnu_getopt1.c', obj='dtoolutil_gnu_getopt1.obj')
  3226. CompileC(ipath=IPATH, opts=OPTS, src='dtoolutil_composite1.cxx', obj='dtoolutil_composite1.obj')
  3227. CompileC(ipath=IPATH, opts=OPTS, src='dtoolutil_composite2.cxx', obj='dtoolutil_composite2.obj')
  3228. #
  3229. # DIRECTORY: dtool/metalibs/dtool/
  3230. #
  3231. IPATH=['dtool/metalibs/dtool']
  3232. OPTS=['BUILDING_DTOOL', 'NSPR']
  3233. CompileC(ipath=IPATH, opts=OPTS, src='dtool.cxx', obj='dtool_dtool.obj')
  3234. CompileLink(opts=['ADVAPI', 'NSPR'], dll='libdtool.dll', obj=[
  3235. 'dtool_dtool.obj',
  3236. 'dtoolutil_gnu_getopt.obj',
  3237. 'dtoolutil_gnu_getopt1.obj',
  3238. 'dtoolutil_composite1.obj',
  3239. 'dtoolutil_composite2.obj',
  3240. 'dtoolbase_dtoolbase.obj',
  3241. ])
  3242. #
  3243. # DIRECTORY: dtool/src/cppparser/
  3244. #
  3245. IPATH=['dtool/src/cppparser']
  3246. CompileBison(pre='cppyy', dstc='cppBison.cxx', dsth='cppBison.h', src='dtool/src/cppparser/cppBison.yxx')
  3247. OPTS=['NSPR']
  3248. CompileC(ipath=IPATH, opts=OPTS, src='cppParser_composite1.cxx', obj='cppParser_composite1.obj')
  3249. CompileC(ipath=IPATH, opts=OPTS, src='cppParser_composite2.cxx', obj='cppParser_composite2.obj')
  3250. CompileC(ipath=IPATH, opts=OPTS, src='cppBison.cxx', obj='cppParser_cppBison.obj')
  3251. CompileLIB(lib='libcppParser.lib', obj=[
  3252. 'cppParser_composite1.obj',
  3253. 'cppParser_composite2.obj',
  3254. 'cppParser_cppBison.obj',
  3255. ])
  3256. #
  3257. # DIRECTORY: dtool/src/prc/
  3258. #
  3259. IPATH=['dtool/src/prc']
  3260. OPTS=['BUILDING_DTOOLCONFIG', 'SSL', 'NSPR']
  3261. CompileC(ipath=IPATH, opts=OPTS, src='prc_composite1.cxx', obj='prc_composite1.obj')
  3262. CompileC(ipath=IPATH, opts=OPTS, src='prc_composite2.cxx', obj='prc_composite2.obj')
  3263. #
  3264. # DIRECTORY: dtool/src/dconfig/
  3265. #
  3266. IPATH=['dtool/src/dconfig']
  3267. OPTS=['BUILDING_DTOOLCONFIG', 'NSPR']
  3268. CompileC(ipath=IPATH, opts=OPTS, src='dconfig_composite1.cxx', obj='dconfig_composite1.obj')
  3269. #
  3270. # DIRECTORY: dtool/src/interrogatedb/
  3271. #
  3272. IPATH=['dtool/src/interrogatedb']
  3273. OPTS=['BUILDING_DTOOLCONFIG', 'NSPR']
  3274. CompileC(ipath=IPATH, opts=OPTS, src='interrogatedb_composite1.cxx', obj='interrogatedb_composite1.obj')
  3275. CompileC(ipath=IPATH, opts=OPTS, src='interrogatedb_composite2.cxx', obj='interrogatedb_composite2.obj')
  3276. #
  3277. # DIRECTORY: dtool/metalibs/dtoolconfig/
  3278. #
  3279. IPATH=['dtool/metalibs/dtoolconfig']
  3280. OPTS=['BUILDING_DTOOLCONFIG', 'NSPR']
  3281. CompileC(ipath=IPATH, opts=OPTS, src='dtoolconfig.cxx', obj='dtoolconfig_dtoolconfig.obj')
  3282. CompileC(ipath=IPATH, opts=OPTS, src='pydtool.cxx', obj='dtoolconfig_pydtool.obj')
  3283. CompileLink(opts=['ADVAPI', 'NSPR', 'SSL'], dll='libdtoolconfig.dll', obj=[
  3284. 'dtoolconfig_dtoolconfig.obj',
  3285. 'dtoolconfig_pydtool.obj',
  3286. 'interrogatedb_composite1.obj',
  3287. 'interrogatedb_composite2.obj',
  3288. 'dconfig_composite1.obj',
  3289. 'prc_composite1.obj',
  3290. 'prc_composite2.obj',
  3291. 'libdtool.dll',
  3292. ])
  3293. #
  3294. # DIRECTORY: dtool/src/pystub/
  3295. #
  3296. IPATH=['dtool/src/pystub']
  3297. OPTS=['BUILDING_DTOOLCONFIG', 'NSPR']
  3298. CompileC(ipath=IPATH, opts=OPTS, src='pystub.cxx', obj='pystub_pystub.obj')
  3299. CompileLink(opts=['ADVAPI', 'NSPR'], dll='libpystub.dll', obj=[
  3300. 'pystub_pystub.obj',
  3301. 'libdtool.dll',
  3302. ])
  3303. #
  3304. # DIRECTORY: dtool/src/interrogate/
  3305. #
  3306. IPATH=['dtool/src/interrogate', 'dtool/src/cppparser', 'dtool/src/interrogatedb']
  3307. OPTS=['NSPR']
  3308. CompileC(ipath=IPATH, opts=OPTS, src='interrogate_composite1.cxx', obj='interrogate_composite1.obj')
  3309. CompileC(ipath=IPATH, opts=OPTS, src='interrogate_composite2.cxx', obj='interrogate_composite2.obj')
  3310. CompileLink(opts=['ADVAPI', 'NSPR', 'SSL'], dll='interrogate.exe', obj=[
  3311. 'interrogate_composite1.obj',
  3312. 'interrogate_composite2.obj',
  3313. 'libcppParser.lib',
  3314. 'libpystub.dll',
  3315. 'libdtoolconfig.dll',
  3316. 'libdtool.dll',
  3317. ])
  3318. CompileC(ipath=IPATH, opts=OPTS, src='interrogate_module.cxx', obj='interrogate_module_interrogate_module.obj')
  3319. CompileLink(opts=['ADVAPI', 'NSPR', 'SSL'], dll='interrogate_module.exe', obj=[
  3320. 'interrogate_module_interrogate_module.obj',
  3321. 'libcppParser.lib',
  3322. 'libpystub.dll',
  3323. 'libdtoolconfig.dll',
  3324. 'libdtool.dll',
  3325. ])
  3326. CompileC(ipath=IPATH, opts=OPTS, src='parse_file.cxx', obj='parse_file_parse_file.obj')
  3327. CompileLink(opts=['ADVAPI', 'NSPR', 'SSL'], dll='parse_file.exe', obj=[
  3328. 'parse_file_parse_file.obj',
  3329. 'libcppParser.lib',
  3330. 'libpystub.dll',
  3331. 'libdtoolconfig.dll',
  3332. 'libdtool.dll',
  3333. ])
  3334. #
  3335. # DIRECTORY: dtool/src/prckeys/
  3336. #
  3337. if (OMIT.count("SSL")==0):
  3338. IPATH=['dtool/src/prckeys']
  3339. OPTS=['SSL', 'NSPR']
  3340. CompileC(ipath=IPATH, opts=OPTS, src='makePrcKey.cxx', obj='make-prc-key_makePrcKey.obj')
  3341. CompileLink(opts=['ADVAPI', 'NSPR', 'SSL'], dll='make-prc-key.exe', obj=[
  3342. 'make-prc-key_makePrcKey.obj',
  3343. 'libpystub.dll',
  3344. 'libdtool.dll',
  3345. 'libdtoolconfig.dll',
  3346. ])
  3347. #
  3348. # DIRECTORY: dtool/src/test_interrogate/
  3349. #
  3350. IPATH=['dtool/src/test_interrogate']
  3351. OPTS=['NSPR']
  3352. CompileC(ipath=IPATH, opts=OPTS, src='test_interrogate.cxx', obj='test_interrogate_test_interrogate.obj')
  3353. CompileLink(opts=['ADVAPI', 'NSPR', 'SSL'], dll='test_interrogate.exe', obj=[
  3354. 'test_interrogate_test_interrogate.obj',
  3355. 'libpystub.dll',
  3356. 'libdtoolconfig.dll',
  3357. 'libdtool.dll',
  3358. ])
  3359. #
  3360. # DIRECTORY: panda/src/pandabase/
  3361. #
  3362. IPATH=['panda/src/pandabase']
  3363. OPTS=['BUILDING_PANDAEXPRESS', 'NSPR']
  3364. CompileC(ipath=IPATH, opts=OPTS, src='pandabase.cxx', obj='pandabase_pandabase.obj')
  3365. #
  3366. # DIRECTORY: panda/src/express/
  3367. #
  3368. IPATH=['panda/src/express']
  3369. OPTS=['BUILDING_PANDAEXPRESS', 'SSL', 'ZLIB', 'NSPR']
  3370. CompileC(ipath=IPATH, opts=OPTS, src='express_composite1.cxx', obj='express_composite1.obj')
  3371. CompileC(ipath=IPATH, opts=OPTS, src='express_composite2.cxx', obj='express_composite2.obj')
  3372. Interrogate(ipath=IPATH, opts=OPTS, outd='libexpress.in', outc='libexpress_igate.cxx',
  3373. src='panda/src/express', module='pandaexpress', library='libexpress',
  3374. 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'])
  3375. CompileC(ipath=IPATH, opts=OPTS, src='libexpress_igate.cxx', obj='libexpress_igate.obj')
  3376. #
  3377. # DIRECTORY: panda/src/downloader/
  3378. #
  3379. IPATH=['panda/src/downloader']
  3380. OPTS=['BUILDING_PANDAEXPRESS', 'SSL', 'ZLIB', 'NSPR']
  3381. CompileC(ipath=IPATH, opts=OPTS, src='downloader_composite1.cxx', obj='downloader_composite1.obj')
  3382. CompileC(ipath=IPATH, opts=OPTS, src='downloader_composite2.cxx', obj='downloader_composite2.obj')
  3383. Interrogate(ipath=IPATH, opts=OPTS, outd='libdownloader.in', outc='libdownloader_igate.cxx',
  3384. src='panda/src/downloader', module='pandaexpress', library='libdownloader', files=[
  3385. 'config_downloader.h', 'asyncUtility.h', 'bioPtr.h', 'bioStreamPtr.h', 'bioStream.h', 'bioStreamBuf.h',
  3386. 'chunkedStream.h', 'chunkedStreamBuf.h', 'decompressor.h', 'documentSpec.h', 'downloadDb.h',
  3387. 'download_utils.h', 'extractor.h', 'httpAuthorization.h', 'httpBasicAuthorization.h', 'httpChannel.h',
  3388. 'httpClient.h', 'httpCookie.h', 'httpDate.h', 'httpDigestAuthorization.h', 'httpEntityTag.h',
  3389. 'httpEnum.h', 'identityStream.h', 'identityStreamBuf.h', 'multiplexStream.h', 'multiplexStreamBuf.h',
  3390. 'patcher.h', 'socketStream.h', 'ssl_utils.h', 'urlSpec.h',
  3391. 'downloader_composite1.cxx', 'downloader_composite2.cxx'])
  3392. CompileC(ipath=IPATH, opts=OPTS, src='libdownloader_igate.cxx', obj='libdownloader_igate.obj')
  3393. #
  3394. # DIRECTORY: panda/metalibs/pandaexpress/
  3395. #
  3396. IPATH=['panda/metalibs/pandaexpress']
  3397. OPTS=['BUILDING_PANDAEXPRESS', 'ZLIB', 'NSPR']
  3398. CompileC(ipath=IPATH, opts=OPTS, src='pandaexpress.cxx', obj='pandaexpress_pandaexpress.obj')
  3399. InterrogateModule(outc='libpandaexpress_module.cxx', module='pandaexpress', library='libpandaexpress',
  3400. files=['libdownloader.in', 'libexpress.in'])
  3401. CompileC(ipath=IPATH, opts=OPTS, src='libpandaexpress_module.cxx', obj='libpandaexpress_module.obj')
  3402. CompileLink(opts=['ADVAPI', 'WINSOCK2', 'NSPR', 'SSL', 'ZLIB'], dll='libpandaexpress.dll', obj=[
  3403. 'pandaexpress_pandaexpress.obj',
  3404. 'libpandaexpress_module.obj',
  3405. 'downloader_composite1.obj',
  3406. 'downloader_composite2.obj',
  3407. 'libdownloader_igate.obj',
  3408. 'express_composite1.obj',
  3409. 'express_composite2.obj',
  3410. 'libexpress_igate.obj',
  3411. 'pandabase_pandabase.obj',
  3412. 'libdtoolconfig.dll',
  3413. 'libdtool.dll',
  3414. ])
  3415. #
  3416. # DIRECTORY: panda/src/putil/
  3417. #
  3418. IPATH=['panda/src/putil']
  3419. OPTS=['BUILDING_PANDA', 'NSPR']
  3420. CompileC(ipath=IPATH, opts=OPTS, src='putil_composite1.cxx', obj='putil_composite1.obj')
  3421. CompileC(ipath=IPATH, opts=OPTS, src='putil_composite2.cxx', obj='putil_composite2.obj')
  3422. Interrogate(ipath=IPATH, opts=OPTS, outd='libputil.in', outc='libputil_igate.cxx',
  3423. src='panda/src/putil', module='panda', library='libputil', files=[
  3424. 'bam.h', 'bamReader.h', 'bamReaderParam.h', 'bamWriter.h', 'bitMask.h', 'buttonHandle.h',
  3425. 'buttonRegistry.h', 'cachedTypedWritableReferenceCount.h', 'collideMask.h', 'portalMask.h',
  3426. 'compareTo.h', 'config_util.h', 'configurable.h', 'cycleData.h', 'cycleDataReader.h',
  3427. 'cycleDataWriter.h', 'datagramInputFile.h', 'datagramOutputFile.h', 'drawMask.h', 'factoryBase.h',
  3428. 'factoryParam.h', 'factoryParams.h', 'firstOfPairCompare.h', 'firstOfPairLess.h',
  3429. 'globalPointerRegistry.h', 'indirectCompareNames.h', 'indirectCompareTo.h', 'ioPtaDatagramFloat.h',
  3430. 'ioPtaDatagramInt.h', 'ioPtaDatagramShort.h', 'keyboardButton.h', 'lineStream.h', 'lineStreamBuf.h',
  3431. 'load_prc_file.h', 'modifierButtons.h', 'mouseButton.h', 'mouseData.h', 'nameUniquifier.h',
  3432. 'pipeline.h', 'pipelineCycler.h', 'pipelineCyclerBase.h', 'pta_double.h', 'pta_float.h',
  3433. 'pta_int.h', 'string_utils.h', 'timedCycle.h', 'typedWritable.h', 'typedWritableReferenceCount.h',
  3434. 'updateSeq.h', 'uniqueIdAllocator.h', 'vector_double.h', 'vector_float.h', 'vector_typedWritable.h',
  3435. 'vector_ushort.h', 'vector_writable.h', 'writableConfigurable.h', 'writableParam.h',
  3436. 'putil_composite1.cxx', 'putil_composite2.cxx'])
  3437. CompileC(ipath=IPATH, opts=OPTS, src='libputil_igate.cxx', obj='libputil_igate.obj')
  3438. #
  3439. # DIRECTORY: panda/src/audio/
  3440. #
  3441. IPATH=['panda/src/audio']
  3442. OPTS=['BUILDING_PANDA', 'NSPR']
  3443. CompileC(ipath=IPATH, opts=OPTS, src='audio_composite1.cxx', obj='audio_composite1.obj')
  3444. Interrogate(ipath=IPATH, opts=OPTS, outd='libaudio.in', outc='libaudio_igate.cxx',
  3445. src='panda/src/audio', module='panda', library='libaudio',
  3446. files=['audio.h'])
  3447. CompileC(ipath=IPATH, opts=OPTS, src='libaudio_igate.cxx', obj='libaudio_igate.obj')
  3448. #
  3449. # DIRECTORY: panda/src/event/
  3450. #
  3451. IPATH=['panda/src/event']
  3452. OPTS=['BUILDING_PANDA', 'NSPR']
  3453. CompileC(ipath=IPATH, opts=OPTS, src='event_composite1.cxx', obj='event_composite1.obj')
  3454. Interrogate(ipath=IPATH, opts=OPTS, outd='libevent.in', outc='libevent_igate.cxx',
  3455. src='panda/src/event', module='panda', library='libevent', files=[
  3456. 'config_event.h', 'buttonEvent.h', 'buttonEventList.h', 'event.h', 'eventHandler.h',
  3457. 'eventParameter.h', 'eventQueue.h', 'eventReceiver.h', 'pt_Event.h', 'throw_event.h', 'event_composite1.cxx'])
  3458. CompileC(ipath=IPATH, opts=OPTS, src='libevent_igate.cxx', obj='libevent_igate.obj')
  3459. #
  3460. # DIRECTORY: panda/src/linmath/
  3461. #
  3462. IPATH=['panda/src/linmath']
  3463. OPTS=['BUILDING_PANDA', 'NSPR']
  3464. CompileC(ipath=IPATH, opts=OPTS, src='linmath_composite1.cxx', obj='linmath_composite1.obj')
  3465. CompileC(ipath=IPATH, opts=OPTS, src='linmath_composite2.cxx', obj='linmath_composite2.obj')
  3466. Interrogate(ipath=IPATH, opts=OPTS, outd='liblinmath.in', outc='liblinmath_igate.cxx',
  3467. src='panda/src/linmath', module='panda', library='liblinmath', files=[
  3468. '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'])
  3469. CompileC(ipath=IPATH, opts=OPTS, src='liblinmath_igate.cxx', obj='liblinmath_igate.obj')
  3470. #
  3471. # DIRECTORY: panda/src/mathutil/
  3472. #
  3473. IPATH=['panda/src/mathutil']
  3474. OPTS=['BUILDING_PANDA', 'FFTW', 'NSPR']
  3475. CompileC(ipath=IPATH, opts=OPTS, src='mathutil_composite1.cxx', obj='mathutil_composite1.obj')
  3476. CompileC(ipath=IPATH, opts=OPTS, src='mathutil_composite2.cxx', obj='mathutil_composite2.obj')
  3477. Interrogate(ipath=IPATH, opts=OPTS, outd='libmathutil.in', outc='libmathutil_igate.cxx',
  3478. src='panda/src/mathutil', module='panda', library='libmathutil', files=[
  3479. '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'])
  3480. CompileC(ipath=IPATH, opts=OPTS, src='libmathutil_igate.cxx', obj='libmathutil_igate.obj')
  3481. #
  3482. # DIRECTORY: panda/src/gsgbase/
  3483. #
  3484. IPATH=['panda/src/gsgbase']
  3485. OPTS=['BUILDING_PANDA', 'NSPR']
  3486. CompileC(ipath=IPATH, opts=OPTS, src='gsgbase_composite1.cxx', obj='gsgbase_composite1.obj')
  3487. Interrogate(ipath=IPATH, opts=OPTS, outd='libgsgbase.in', outc='libgsgbase_igate.cxx',
  3488. src='panda/src/gsgbase', module='panda', library='libgsgbase', files=[
  3489. 'config_gsgbase.h', 'graphicsStateGuardianBase.h', 'gsgbase_composite1.cxx'])
  3490. CompileC(ipath=IPATH, opts=OPTS, src='libgsgbase_igate.cxx', obj='libgsgbase_igate.obj')
  3491. #
  3492. # DIRECTORY: panda/src/pnmimage/
  3493. #
  3494. IPATH=['panda/src/pnmimage']
  3495. OPTS=['BUILDING_PANDA', 'NSPR']
  3496. CompileC(ipath=IPATH, opts=OPTS, src='pnmimage_composite1.cxx', obj='pnmimage_composite1.obj')
  3497. CompileC(ipath=IPATH, opts=OPTS, src='pnmimage_composite2.cxx', obj='pnmimage_composite2.obj')
  3498. Interrogate(ipath=IPATH, opts=OPTS, outd='libpnmimage.in', outc='libpnmimage_igate.cxx',
  3499. src='panda/src/pnmimage', module='panda', library='libpnmimage', files=[
  3500. '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'])
  3501. CompileC(ipath=IPATH, opts=OPTS, src='libpnmimage_igate.cxx', obj='libpnmimage_igate.obj')
  3502. #
  3503. # DIRECTORY: panda/src/net/
  3504. #
  3505. IPATH=['panda/src/net']
  3506. OPTS=['BUILDING_PANDA', 'NSPR']
  3507. CompileC(ipath=IPATH, opts=OPTS, src='net_composite1.cxx', obj='net_composite1.obj')
  3508. CompileC(ipath=IPATH, opts=OPTS, src='net_composite2.cxx', obj='net_composite2.obj')
  3509. Interrogate(ipath=IPATH, opts=OPTS, outd='libnet.in', outc='libnet_igate.cxx',
  3510. src='panda/src/net', module='panda', library='libnet', files=[
  3511. 'config_net.h', 'connection.h', 'connectionListener.h', 'connectionManager.h', 'connectionReader.h', 'connectionWriter.h', 'datagramQueue.h', 'datagramTCPHeader.h', 'datagramUDPHeader.h', 'netAddress.h', 'netDatagram.h', 'pprerror.h', 'queuedConnectionListener.h', 'queuedConnectionManager.h', 'queuedConnectionReader.h', 'recentConnectionReader.h', 'queuedReturn.h', 'net_composite1.cxx', 'net_composite2.cxx'])
  3512. CompileC(ipath=IPATH, opts=OPTS, src='libnet_igate.cxx', obj='libnet_igate.obj')
  3513. #
  3514. # DIRECTORY: panda/src/pstatclient/
  3515. #
  3516. IPATH=['panda/src/pstatclient']
  3517. OPTS=['BUILDING_PANDA', 'NSPR']
  3518. CompileC(ipath=IPATH, opts=OPTS, src='pstatclient_composite1.cxx', obj='pstatclient_composite1.obj')
  3519. CompileC(ipath=IPATH, opts=OPTS, src='pstatclient_composite2.cxx', obj='pstatclient_composite2.obj')
  3520. Interrogate(ipath=IPATH, opts=OPTS, outd='libpstatclient.in', outc='libpstatclient_igate.cxx',
  3521. src='panda/src/pstatclient', module='panda', library='libpstatclient', files=[
  3522. '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'])
  3523. CompileC(ipath=IPATH, opts=OPTS, src='libpstatclient_igate.cxx', obj='libpstatclient_igate.obj')
  3524. #
  3525. # DIRECTORY: panda/src/gobj/
  3526. #
  3527. IPATH=['panda/src/gobj']
  3528. OPTS=['BUILDING_PANDA', 'NSPR']
  3529. CompileC(ipath=IPATH, opts=OPTS, src='gobj_composite1.cxx', obj='gobj_composite1.obj')
  3530. CompileC(ipath=IPATH, opts=OPTS, src='gobj_composite2.cxx', obj='gobj_composite2.obj')
  3531. Interrogate(ipath=IPATH, opts=OPTS, outd='libgobj.in', outc='libgobj_igate.cxx',
  3532. src='panda/src/gobj', module='panda', library='libgobj', files=[
  3533. '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'])
  3534. CompileC(ipath=IPATH, opts=OPTS, src='libgobj_igate.cxx', obj='libgobj_igate.obj')
  3535. #
  3536. # DIRECTORY: panda/src/lerp/
  3537. #
  3538. IPATH=['panda/src/lerp']
  3539. OPTS=['BUILDING_PANDA', 'NSPR']
  3540. CompileC(ipath=IPATH, opts=OPTS, src='lerp_composite1.cxx', obj='lerp_composite1.obj')
  3541. Interrogate(ipath=IPATH, opts=OPTS, outd='liblerp.in', outc='liblerp_igate.cxx',
  3542. src='panda/src/lerp', module='panda', library='liblerp', files=[
  3543. 'config_lerp.h', 'lerp.h', 'lerpblend.h', 'lerpfunctor.h', 'lerp_composite1.cxx'])
  3544. CompileC(ipath=IPATH, opts=OPTS, src='liblerp_igate.cxx', obj='liblerp_igate.obj')
  3545. #
  3546. # DIRECTORY: panda/src/pgraph/
  3547. #
  3548. IPATH=['panda/src/pgraph']
  3549. OPTS=['BUILDING_PANDA', 'NSPR']
  3550. CompileC(ipath=IPATH, opts=OPTS, src='nodePath.cxx', obj='pgraph_nodePath.obj')
  3551. CompileC(ipath=IPATH, opts=OPTS, src='pgraph_composite1.cxx', obj='pgraph_composite1.obj')
  3552. CompileC(ipath=IPATH, opts=OPTS, src='pgraph_composite2.cxx', obj='pgraph_composite2.obj')
  3553. Interrogate(ipath=IPATH, opts=OPTS, outd='libpgraph.in', outc='libpgraph_igate.cxx',
  3554. src='panda/src/pgraph', module='panda', library='libpgraph', files=[
  3555. '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'])
  3556. CompileC(ipath=IPATH, opts=OPTS, src='libpgraph_igate.cxx', obj='libpgraph_igate.obj')
  3557. #
  3558. # DIRECTORY: panda/src/chan/
  3559. #
  3560. IPATH=['panda/src/chan']
  3561. OPTS=['BUILDING_PANDA', 'NSPR']
  3562. CompileC(ipath=IPATH, opts=OPTS, src='chan_composite1.cxx', obj='chan_composite1.obj')
  3563. CompileC(ipath=IPATH, opts=OPTS, src='chan_composite2.cxx', obj='chan_composite2.obj')
  3564. Interrogate(ipath=IPATH, opts=OPTS, outd='libchan.in', outc='libchan_igate.cxx',
  3565. src='panda/src/chan', module='panda', library='libchan', files=[
  3566. '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'])
  3567. CompileC(ipath=IPATH, opts=OPTS, src='libchan_igate.cxx', obj='libchan_igate.obj')
  3568. #
  3569. # DIRECTORY: panda/src/char/
  3570. #
  3571. IPATH=['panda/src/char']
  3572. OPTS=['BUILDING_PANDA', 'NSPR']
  3573. CompileC(ipath=IPATH, opts=OPTS, src='char_composite1.cxx', obj='char_composite1.obj')
  3574. CompileC(ipath=IPATH, opts=OPTS, src='char_composite2.cxx', obj='char_composite2.obj')
  3575. Interrogate(ipath=IPATH, opts=OPTS, outd='libchar.in', outc='libchar_igate.cxx',
  3576. src='panda/src/char', module='panda', library='libchar', files=[
  3577. 'character.h', 'characterJoint.h', 'characterJointBundle.h', 'characterSlider.h', 'computedVertices.h', 'computedVerticesMorph.h', 'config_char.h', 'dynamicVertices.h', 'char_composite1.cxx', 'char_composite2.cxx'])
  3578. CompileC(ipath=IPATH, opts=OPTS, src='libchar_igate.cxx', obj='libchar_igate.obj')
  3579. #
  3580. # DIRECTORY: panda/src/dgraph/
  3581. #
  3582. IPATH=['panda/src/dgraph']
  3583. OPTS=['BUILDING_PANDA', 'NSPR']
  3584. CompileC(ipath=IPATH, opts=OPTS, src='dgraph_composite1.cxx', obj='dgraph_composite1.obj')
  3585. CompileC(ipath=IPATH, opts=OPTS, src='dgraph_composite2.cxx', obj='dgraph_composite2.obj')
  3586. Interrogate(ipath=IPATH, opts=OPTS, outd='libdgraph.in', outc='libdgraph_igate.cxx',
  3587. src='panda/src/dgraph', module='panda', library='libdgraph', files=[
  3588. 'config_dgraph.h', 'dataGraphTraverser.h', 'dataNode.h', 'dataNodeTransmit.h', 'dgraph_composite1.cxx', 'dgraph_composite2.cxx'])
  3589. CompileC(ipath=IPATH, opts=OPTS, src='libdgraph_igate.cxx', obj='libdgraph_igate.obj')
  3590. #
  3591. # DIRECTORY: panda/src/display/
  3592. #
  3593. IPATH=['panda/src/display']
  3594. OPTS=['BUILDING_PANDA', 'NSPR']
  3595. CompileC(ipath=IPATH, opts=OPTS, src='display_composite1.cxx', obj='display_composite1.obj')
  3596. CompileC(ipath=IPATH, opts=OPTS, src='display_composite2.cxx', obj='display_composite2.obj')
  3597. Interrogate(ipath=IPATH, opts=OPTS, outd='libdisplay.in', outc='libdisplay_igate.cxx',
  3598. src='panda/src/display', module='panda', library='libdisplay', files=[
  3599. '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'])
  3600. CompileC(ipath=IPATH, opts=OPTS, src='libdisplay_igate.cxx', obj='libdisplay_igate.obj')
  3601. #
  3602. # DIRECTORY: panda/src/device/
  3603. #
  3604. IPATH=['panda/src/device']
  3605. OPTS=['BUILDING_PANDA', 'NSPR']
  3606. CompileC(ipath=IPATH, opts=OPTS, src='device_composite1.cxx', obj='device_composite1.obj')
  3607. CompileC(ipath=IPATH, opts=OPTS, src='device_composite2.cxx', obj='device_composite2.obj')
  3608. Interrogate(ipath=IPATH, opts=OPTS, outd='libdevice.in', outc='libdevice_igate.cxx',
  3609. src='panda/src/device', module='panda', library='libdevice', files=[
  3610. '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'])
  3611. CompileC(ipath=IPATH, opts=OPTS, src='libdevice_igate.cxx', obj='libdevice_igate.obj')
  3612. #
  3613. # DIRECTORY: panda/src/tform/
  3614. #
  3615. IPATH=['panda/src/tform']
  3616. OPTS=['BUILDING_PANDA', 'NSPR']
  3617. CompileC(ipath=IPATH, opts=OPTS, src='tform_composite1.cxx', obj='tform_composite1.obj')
  3618. CompileC(ipath=IPATH, opts=OPTS, src='tform_composite2.cxx', obj='tform_composite2.obj')
  3619. Interrogate(ipath=IPATH, opts=OPTS, outd='libtform.in', outc='libtform_igate.cxx',
  3620. src='panda/src/tform', module='panda', library='libtform', files=[
  3621. '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'])
  3622. CompileC(ipath=IPATH, opts=OPTS, src='libtform_igate.cxx', obj='libtform_igate.obj')
  3623. #
  3624. # DIRECTORY: panda/src/collide/
  3625. #
  3626. IPATH=['panda/src/collide']
  3627. OPTS=['BUILDING_PANDA', 'NSPR']
  3628. CompileC(ipath=IPATH, opts=OPTS, src='collide_composite1.cxx', obj='collide_composite1.obj')
  3629. CompileC(ipath=IPATH, opts=OPTS, src='collide_composite2.cxx', obj='collide_composite2.obj')
  3630. Interrogate(ipath=IPATH, opts=OPTS, outd='libcollide.in', outc='libcollide_igate.cxx',
  3631. src='panda/src/collide', module='panda', library='libcollide', files=[
  3632. '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'])
  3633. CompileC(ipath=IPATH, opts=OPTS, src='libcollide_igate.cxx', obj='libcollide_igate.obj')
  3634. #
  3635. # DIRECTORY: panda/src/pnmtext/
  3636. #
  3637. IPATH=['panda/src/pnmtext']
  3638. OPTS=['BUILDING_PANDA', 'NSPR', 'FREETYPE']
  3639. CompileC(ipath=IPATH, opts=OPTS, src='config_pnmtext.cxx', obj='pnmtext_config_pnmtext.obj')
  3640. CompileC(ipath=IPATH, opts=OPTS, src='freetypeFont.cxx', obj='pnmtext_freetypeFont.obj')
  3641. CompileC(ipath=IPATH, opts=OPTS, src='pnmTextGlyph.cxx', obj='pnmtext_pnmTextGlyph.obj')
  3642. CompileC(ipath=IPATH, opts=OPTS, src='pnmTextMaker.cxx', obj='pnmtext_pnmTextMaker.obj')
  3643. #
  3644. # DIRECTORY: panda/src/text/
  3645. #
  3646. IPATH=['panda/src/text']
  3647. OPTS=['BUILDING_PANDA', 'ZLIB', 'NSPR', 'FREETYPE']
  3648. CompileC(ipath=IPATH, opts=OPTS, src='text_composite1.cxx', obj='text_composite1.obj')
  3649. CompileC(ipath=IPATH, opts=OPTS, src='text_composite2.cxx', obj='text_composite2.obj')
  3650. Interrogate(ipath=IPATH, opts=OPTS, outd='libtext.in', outc='libtext_igate.cxx',
  3651. src='panda/src/text', module='panda', library='libtext', files=[
  3652. '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'])
  3653. CompileC(ipath=IPATH, opts=OPTS, src='libtext_igate.cxx', obj='libtext_igate.obj')
  3654. #
  3655. # DIRECTORY: panda/src/grutil/
  3656. #
  3657. IPATH=['panda/src/grutil']
  3658. OPTS=['BUILDING_PANDA', 'NSPR']
  3659. CompileC(ipath=IPATH, opts=OPTS, src='multitexReducer.cxx', obj='grutil_multitexReducer.obj')
  3660. CompileC(ipath=IPATH, opts=OPTS, src='grutil_composite1.cxx', obj='grutil_composite1.obj')
  3661. Interrogate(ipath=IPATH, opts=OPTS, outd='libgrutil.in', outc='libgrutil_igate.cxx',
  3662. src='panda/src/grutil', module='panda', library='libgrutil', files=[
  3663. 'cardMaker.h', 'config_grutil.h', 'frameRateMeter.h', 'lineSegs.h', 'multitexReducer.h', 'multitexReducer.cxx', 'grutil_composite1.cxx'])
  3664. CompileC(ipath=IPATH, opts=OPTS, src='libgrutil_igate.cxx', obj='libgrutil_igate.obj')
  3665. #
  3666. # DIRECTORY: panda/src/gsgmisc/
  3667. #
  3668. IPATH=['panda/src/gsgmisc']
  3669. OPTS=['BUILDING_PANDA', 'NSPR']
  3670. CompileC(ipath=IPATH, opts=OPTS, src='geomIssuer.cxx', obj='gsgmisc_geomIssuer.obj')
  3671. #
  3672. # DIRECTORY: panda/src/helix/
  3673. #
  3674. if (OMIT.count("HELIX")==0):
  3675. IPATH=['panda/src/helix']
  3676. OPTS=['BUILDING_PANDA', 'NSPR', 'HELIX']
  3677. CompileC(ipath=IPATH, opts=OPTS, src='config_helix.cxx', obj='helix_config_helix.obj')
  3678. CompileC(ipath=IPATH, opts=OPTS, src='fivemmap.cxx', obj='helix_fivemmap.obj')
  3679. CompileC(ipath=IPATH, opts=OPTS, src='HelixClient.cxx', obj='helix_HelixClient.obj')
  3680. CompileC(ipath=IPATH, opts=OPTS, src='HxAdviseSink.cxx', obj='helix_HxAdviseSink.obj')
  3681. CompileC(ipath=IPATH, opts=OPTS, src='HxAuthenticationManager.cxx', obj='helix_HxAuthenticationManager.obj')
  3682. CompileC(ipath=IPATH, opts=OPTS, src='HxClientContext.cxx', obj='helix_HxClientContext.obj')
  3683. CompileC(ipath=IPATH, opts=OPTS, src='HxErrorSink.cxx', obj='helix_HxErrorSink.obj')
  3684. CompileC(ipath=IPATH, opts=OPTS, src='HxSiteSupplier.cxx', obj='helix_HxSiteSupplier.obj')
  3685. CompileC(ipath=IPATH, opts=OPTS, src='iids.cxx', obj='helix_iids.obj')
  3686. CompileC(ipath=IPATH, opts=OPTS, src='print.cxx', obj='helix_print.obj')
  3687. Interrogate(ipath=IPATH, opts=OPTS, outd='libhelix.in', outc='libhelix_igate.cxx',
  3688. src='panda/src/helix', module='panda', library='libhelix', files=['HelixClient.cxx'])
  3689. CompileC(ipath=IPATH, opts=OPTS, src='libhelix_igate.cxx', obj='libhelix_igate.obj')
  3690. CompileLIB(lib='libhelix.lib', obj=[
  3691. 'helix_config_helix.obj',
  3692. 'helix_fivemmap.obj',
  3693. 'helix_HelixClient.obj',
  3694. 'helix_HxAdviseSink.obj',
  3695. 'helix_HxAuthenticationManager.obj',
  3696. 'helix_HxClientContext.obj',
  3697. 'helix_HxErrorSink.obj',
  3698. 'helix_HxSiteSupplier.obj',
  3699. 'helix_iids.obj',
  3700. 'helix_print.obj',
  3701. 'libhelix_igate.obj'])
  3702. #
  3703. # DIRECTORY: panda/src/parametrics/
  3704. #
  3705. IPATH=['panda/src/parametrics']
  3706. OPTS=['BUILDING_PANDA', 'NSPR']
  3707. CompileC(ipath=IPATH, opts=OPTS, src='parametrics_composite1.cxx', obj='parametrics_composite1.obj')
  3708. CompileC(ipath=IPATH, opts=OPTS, src='parametrics_composite2.cxx', obj='parametrics_composite2.obj')
  3709. Interrogate(ipath=IPATH, opts=OPTS, outd='libparametrics.in', outc='libparametrics_igate.cxx',
  3710. src='panda/src/parametrics', module='panda', library='libparametrics', files=[
  3711. 'classicNurbsCurve.h', 'config_parametrics.h', 'cubicCurveseg.h', 'parametricCurveDrawer.h',
  3712. 'curveFitter.h', 'hermiteCurve.h', 'nurbsCurve.h', 'nurbsCurveDrawer.h', 'nurbsCurveEvaluator.h',
  3713. 'nurbsCurveInterface.h', 'nurbsCurveResult.h', 'nurbsBasisVector.h', 'nurbsSurfaceEvaluator.h',
  3714. 'nurbsSurfaceResult.h', 'nurbsVertex.h', 'parametricCurve.h', 'parametricCurveCollection.h',
  3715. 'piecewiseCurve.h', 'ropeNode.h', 'sheetNode.h', 'parametrics_composite1.cxx', 'parametrics_composite2.cxx'])
  3716. CompileC(ipath=IPATH, opts=OPTS, src='libparametrics_igate.cxx', obj='libparametrics_igate.obj')
  3717. #
  3718. # DIRECTORY: panda/src/pgui/
  3719. #
  3720. IPATH=['panda/src/pgui']
  3721. OPTS=['BUILDING_PANDA', 'NSPR']
  3722. CompileC(ipath=IPATH, opts=OPTS, src='pgui_composite1.cxx', obj='pgui_composite1.obj')
  3723. CompileC(ipath=IPATH, opts=OPTS, src='pgui_composite2.cxx', obj='pgui_composite2.obj')
  3724. Interrogate(ipath=IPATH, opts=OPTS, outd='libpgui.in', outc='libpgui_igate.cxx',
  3725. src='panda/src/pgui', module='panda', library='libpgui', files=[
  3726. 'config_pgui.h', 'pgButton.h', 'pgSliderButton.h', 'pgCullTraverser.h', 'pgEntry.h',
  3727. 'pgMouseWatcherGroup.h', 'pgMouseWatcherParameter.h', 'pgFrameStyle.h', 'pgItem.h',
  3728. 'pgMouseWatcherBackground.h', 'pgMouseWatcherRegion.h', 'pgTop.h', 'pgWaitBar.h', 'pgSliderBar.h',
  3729. 'pgui_composite1.cxx', 'pgui_composite2.cxx'])
  3730. CompileC(ipath=IPATH, opts=OPTS, src='libpgui_igate.cxx', obj='libpgui_igate.obj')
  3731. #
  3732. # DIRECTORY: panda/src/pnmimagetypes/
  3733. #
  3734. IPATH=['panda/src/pnmimagetypes', 'panda/src/pnmimage']
  3735. OPTS=['BUILDING_PANDA', 'PNG', 'ZLIB', 'JPEG', 'ZLIB', 'NSPR', 'JPEG', 'TIFF']
  3736. CompileC(ipath=IPATH, opts=OPTS, src='pnmFileTypePNG.cxx', obj='pnmimagetypes_pnmFileTypePNG.obj')
  3737. CompileC(ipath=IPATH, opts=OPTS, src='pnmFileTypeTIFF.cxx', obj='pnmimagetypes_pnmFileTypeTIFF.obj')
  3738. CompileC(ipath=IPATH, opts=OPTS, src='pnmimagetypes_composite1.cxx', obj='pnmimagetypes_composite1.obj')
  3739. CompileC(ipath=IPATH, opts=OPTS, src='pnmimagetypes_composite2.cxx', obj='pnmimagetypes_composite2.obj')
  3740. #
  3741. # DIRECTORY: panda/src/recorder/
  3742. #
  3743. IPATH=['panda/src/recorder']
  3744. OPTS=['BUILDING_PANDA', 'NSPR']
  3745. CompileC(ipath=IPATH, opts=OPTS, src='recorder_composite1.cxx', obj='recorder_composite1.obj')
  3746. CompileC(ipath=IPATH, opts=OPTS, src='recorder_composite2.cxx', obj='recorder_composite2.obj')
  3747. Interrogate(ipath=IPATH, opts=OPTS, outd='librecorder.in', outc='librecorder_igate.cxx',
  3748. src='panda/src/recorder', module='panda', library='librecorder', files=[
  3749. 'config_recorder.h', 'mouseRecorder.h', 'recorderBase.h', 'recorderController.h', 'recorderFrame.h', 'recorderHeader.h', 'recorderTable.h', 'socketStreamRecorder.h', 'recorder_composite1.cxx', 'recorder_composite2.cxx'])
  3750. CompileC(ipath=IPATH, opts=OPTS, src='librecorder_igate.cxx', obj='librecorder_igate.obj')
  3751. #
  3752. # DIRECTORY: panda/src/vrpn/
  3753. #
  3754. IPATH=['panda/src/vrpn']
  3755. OPTS=['BUILDING_PANDA', 'NSPR', 'VRPN']
  3756. CompileC(ipath=IPATH, opts=OPTS, src='vrpn_composite1.cxx', obj='pvrpn_composite1.obj')
  3757. Interrogate(ipath=IPATH, opts=OPTS, outd='libpvrpn.in', outc='libpvrpn_igate.cxx',
  3758. src='panda/src/vrpn', module='panda', library='libpvrpn', files=[
  3759. 'config_vrpn.cxx', 'config_vrpn.h', 'vrpnClient.cxx', 'vrpnAnalog.cxx', 'vrpnAnalog.h',
  3760. 'vrpnAnalogDevice.cxx', 'vrpnAnalogDevice.h', 'vrpnButton.cxx', 'vrpnButton.h',
  3761. 'vrpnButtonDevice.cxx', 'vrpnButtonDevice.h', 'vrpnClient.h', 'vrpnDial.cxx', 'vrpnDial.h',
  3762. 'vrpnDialDevice.cxx', 'vrpnDialDevice.h', 'vrpnTracker.cxx', 'vrpnTracker.h', 'vrpnTrackerDevice.cxx',
  3763. 'vrpnTrackerDevice.h', 'vrpn_interface.h'])
  3764. CompileC(ipath=IPATH, opts=OPTS, src='libpvrpn_igate.cxx', obj='libpvrpn_igate.obj')
  3765. #
  3766. # DIRECTORY: panda/metalibs/panda/
  3767. #
  3768. IPATH=['panda/metalibs/panda']
  3769. OPTS=['BUILDING_PANDA', 'ZLIB', 'NSPR', 'VRPN', 'JPEG', 'TIFF', 'FREETYPE']
  3770. INFILES=['librecorder.in', 'libpgraph.in', 'libpvrpn.in', 'libgrutil.in', 'libchan.in', 'libpstatclient.in',
  3771. 'libchar.in', 'libcollide.in', 'libdevice.in', 'libdgraph.in', 'libdisplay.in', 'libevent.in',
  3772. 'libgobj.in', 'libgsgbase.in', 'liblinmath.in', 'libmathutil.in', 'libnet.in', 'libparametrics.in',
  3773. 'libpnmimage.in', 'libtext.in', 'libtform.in', 'liblerp.in', 'libputil.in', 'libaudio.in',
  3774. 'libpgui.in']
  3775. OBJFILES=['panda_panda.obj', 'libpanda_module.obj', 'recorder_composite1.obj',
  3776. 'recorder_composite2.obj', 'librecorder_igate.obj',
  3777. 'pgraph_nodePath.obj', 'pgraph_composite1.obj', 'pgraph_composite2.obj', 'libpgraph_igate.obj',
  3778. 'pvrpn_composite1.obj', 'libpvrpn_igate.obj',
  3779. 'grutil_multitexReducer.obj', 'grutil_composite1.obj', 'libgrutil_igate.obj',
  3780. 'chan_composite1.obj', 'chan_composite2.obj', 'libchan_igate.obj', 'pstatclient_composite1.obj',
  3781. 'pstatclient_composite2.obj', 'libpstatclient_igate.obj', 'char_composite1.obj',
  3782. 'char_composite2.obj', 'libchar_igate.obj', 'collide_composite1.obj', 'collide_composite2.obj',
  3783. 'libcollide_igate.obj', 'device_composite1.obj', 'device_composite2.obj', 'libdevice_igate.obj',
  3784. 'dgraph_composite1.obj', 'dgraph_composite2.obj', 'libdgraph_igate.obj', 'display_composite1.obj',
  3785. 'display_composite2.obj', 'libdisplay_igate.obj', 'event_composite1.obj', 'libevent_igate.obj',
  3786. 'gobj_composite1.obj', 'gobj_composite2.obj', 'libgobj_igate.obj', 'gsgbase_composite1.obj',
  3787. 'libgsgbase_igate.obj', 'gsgmisc_geomIssuer.obj', 'linmath_composite1.obj',
  3788. 'linmath_composite2.obj', 'liblinmath_igate.obj', 'mathutil_composite1.obj', 'mathutil_composite2.obj',
  3789. 'libmathutil_igate.obj', 'net_composite1.obj', 'net_composite2.obj',
  3790. 'libnet_igate.obj', 'parametrics_composite1.obj', 'parametrics_composite2.obj', 'libparametrics_igate.obj',
  3791. 'pnmimagetypes_pnmFileTypePNG.obj', 'pnmimagetypes_pnmFileTypeTIFF.obj', 'pnmimagetypes_composite1.obj',
  3792. 'pnmimagetypes_composite2.obj', 'pnmimage_composite1.obj', 'pnmimage_composite2.obj', 'libpnmimage_igate.obj',
  3793. 'pnmtext_config_pnmtext.obj', 'pnmtext_freetypeFont.obj', 'pnmtext_pnmTextGlyph.obj', 'pnmtext_pnmTextMaker.obj',
  3794. 'text_composite1.obj', 'text_composite2.obj', 'libtext_igate.obj', 'tform_composite1.obj', 'tform_composite2.obj',
  3795. 'libtform_igate.obj', 'lerp_composite1.obj', 'liblerp_igate.obj', 'putil_composite1.obj', 'putil_composite2.obj',
  3796. 'libputil_igate.obj', 'audio_composite1.obj', 'libaudio_igate.obj', 'pgui_composite1.obj', 'pgui_composite2.obj',
  3797. 'libpgui_igate.obj', 'pandabase_pandabase.obj', 'libpandaexpress.dll', 'libdtoolconfig.dll', 'libdtool.dll']
  3798. LINKOPTS=['ADVAPI', 'WINSOCK2', 'WINUSER', 'WINMM', 'VRPN', 'NSPR', 'ZLIB', 'JPEG', 'PNG', 'TIFF', 'FFTW', 'FREETYPE']
  3799. LINKXDEP=[]
  3800. if OMIT.count("HELIX")==0:
  3801. OPTS.append('HELIX')
  3802. OBJFILES.append("libhelix.lib")
  3803. INFILES.append("libhelix.in")
  3804. LINKOPTS.append('HELIX')
  3805. LINKXDEP.append(PREFIX+'/tmp/dtool_have_helix.dat')
  3806. InterrogateModule(outc='libpanda_module.cxx', module='panda', library='libpanda', files=INFILES)
  3807. CompileC(ipath=IPATH, opts=OPTS, src='panda.cxx', obj='panda_panda.obj')
  3808. CompileC(ipath=IPATH, opts=OPTS, src='libpanda_module.cxx', obj='libpanda_module.obj')
  3809. CompileLink(opts=LINKOPTS, xdep=LINKXDEP, dll='libpanda.dll', obj=OBJFILES)
  3810. #
  3811. # DIRECTORY: panda/src/audiotraits/
  3812. #
  3813. if OMIT.count("FMOD") == 0:
  3814. IPATH=['panda/src/audiotraits']
  3815. OPTS=['BUILDING_FMOD_AUDIO', 'NSPR', 'FMOD']
  3816. CompileC(ipath=IPATH, opts=OPTS, src='fmod_audio_composite1.cxx', obj='fmod_audio_fmod_audio_composite1.obj')
  3817. CompileLink(opts=['ADVAPI', 'WINUSER', 'WINMM', 'FMOD', 'NSPR'], dll='libfmod_audio.dll', obj=[
  3818. 'fmod_audio_fmod_audio_composite1.obj',
  3819. 'libpanda.dll',
  3820. 'libpandaexpress.dll',
  3821. 'libdtoolconfig.dll',
  3822. 'libdtool.dll',
  3823. ])
  3824. if OMIT.count("MILES") == 0:
  3825. IPATH=['panda/src/audiotraits']
  3826. OPTS=['BUILDING_MILES_AUDIO', 'NSPR', 'MILES']
  3827. CompileC(ipath=IPATH, opts=OPTS, src='miles_audio_composite1.cxx', obj='miles_audio_miles_audio_composite1.obj')
  3828. CompileLink(opts=['ADVAPI', 'WINUSER', 'WINMM', 'MILES', 'NSPR'], dll='libmiles_audio.dll', obj=[
  3829. 'miles_audio_miles_audio_composite1.obj',
  3830. 'libpanda.dll',
  3831. 'libpandaexpress.dll',
  3832. 'libdtoolconfig.dll',
  3833. 'libdtool.dll',
  3834. ])
  3835. #
  3836. # DIRECTORY: panda/src/builder/
  3837. #
  3838. IPATH=['panda/src/builder']
  3839. OPTS=['BUILDING_PANDAEGG', 'NSPR']
  3840. CompileC(ipath=IPATH, opts=OPTS, src='builder_composite1.cxx', obj='builder_composite1.obj')
  3841. CompileC(ipath=IPATH, opts=OPTS, src='builder_composite2.cxx', obj='builder_composite2.obj')
  3842. #
  3843. # DIRECTORY: panda/src/distort/
  3844. #
  3845. IPATH=['panda/src/distort']
  3846. OPTS=['BUILDING_PANDAFX', 'NSPR']
  3847. CompileC(ipath=IPATH, opts=OPTS, src='distort_composite1.cxx', obj='distort_composite1.obj')
  3848. Interrogate(ipath=IPATH, opts=OPTS, outd='libdistort.in', outc='libdistort_igate.cxx',
  3849. src='panda/src/distort', module='pandafx', library='libdistort',
  3850. files=['config_distort.h', 'projectionScreen.h', 'cylindricalLens.h', 'fisheyeLens.h', 'nonlinearImager.h', 'pSphereLens.h', 'distort_composite1.cxx'])
  3851. CompileC(ipath=IPATH, opts=OPTS, src='libdistort_igate.cxx', obj='libdistort_igate.obj')
  3852. #
  3853. # DIRECTORY: panda/src/downloadertools/
  3854. #
  3855. IPATH=['panda/src/downloadertools']
  3856. OPTS=['SSL', 'ZLIB', 'NSPR']
  3857. CompileC(ipath=IPATH, opts=OPTS, src='apply_patch.cxx', obj='apply_patch_apply_patch.obj')
  3858. CompileLink(dll='apply_patch.exe', opts=['ADVAPI', 'NSPR'], obj=[
  3859. 'apply_patch_apply_patch.obj',
  3860. 'libpandaexpress.dll',
  3861. 'libpanda.dll',
  3862. 'libdtoolconfig.dll',
  3863. 'libdtool.dll',
  3864. 'libpystub.dll',
  3865. ])
  3866. CompileC(ipath=IPATH, opts=OPTS, src='build_patch.cxx', obj='build_patch_build_patch.obj')
  3867. CompileLink(dll='build_patch.exe', opts=['ADVAPI', 'NSPR'], obj=[
  3868. 'build_patch_build_patch.obj',
  3869. 'libpandaexpress.dll',
  3870. 'libpanda.dll',
  3871. 'libdtoolconfig.dll',
  3872. 'libdtool.dll',
  3873. 'libpystub.dll',
  3874. ])
  3875. IPATH=['panda/src/downloadertools']
  3876. OPTS=['SSL', 'ZLIB', 'ZLIB', 'NSPR']
  3877. CompileC(ipath=IPATH, opts=OPTS, src='check_adler.cxx', obj='check_adler_check_adler.obj')
  3878. CompileLink(dll='check_adler.exe', opts=['ADVAPI', 'NSPR', 'ZLIB'], obj=[
  3879. 'check_adler_check_adler.obj',
  3880. 'libpandaexpress.dll',
  3881. 'libpanda.dll',
  3882. 'libdtoolconfig.dll',
  3883. 'libdtool.dll',
  3884. 'libpystub.dll',
  3885. ])
  3886. CompileC(ipath=IPATH, opts=OPTS, src='check_crc.cxx', obj='check_crc_check_crc.obj')
  3887. CompileLink(dll='check_crc.exe', opts=['ADVAPI', 'NSPR', 'ZLIB'], obj=[
  3888. 'check_crc_check_crc.obj',
  3889. 'libpandaexpress.dll',
  3890. 'libpanda.dll',
  3891. 'libdtoolconfig.dll',
  3892. 'libdtool.dll',
  3893. 'libpystub.dll',
  3894. ])
  3895. IPATH=['panda/src/downloadertools']
  3896. OPTS=['SSL', 'ZLIB', 'NSPR']
  3897. CompileC(ipath=IPATH, opts=OPTS, src='check_md5.cxx', obj='check_md5_check_md5.obj')
  3898. CompileLink(dll='check_md5.exe', opts=['ADVAPI', 'NSPR', 'SSL'], obj=[
  3899. 'check_md5_check_md5.obj',
  3900. 'libpandaexpress.dll',
  3901. 'libpanda.dll',
  3902. 'libdtoolconfig.dll',
  3903. 'libdtool.dll',
  3904. 'libpystub.dll',
  3905. ])
  3906. CompileC(ipath=IPATH, opts=OPTS, src='multify.cxx', obj='multify_multify.obj')
  3907. CompileLink(dll='multify.exe', opts=['ADVAPI', 'NSPR'], obj=[
  3908. 'multify_multify.obj',
  3909. 'libpandaexpress.dll',
  3910. 'libpanda.dll',
  3911. 'libdtoolconfig.dll',
  3912. 'libdtool.dll',
  3913. 'libpystub.dll',
  3914. ])
  3915. IPATH=['panda/src/downloadertools']
  3916. OPTS=['SSL', 'ZLIB', 'ZLIB', 'NSPR']
  3917. CompileC(ipath=IPATH, opts=OPTS, src='pcompress.cxx', obj='pcompress_pcompress.obj')
  3918. CompileLink(dll='pcompress.exe', opts=['ADVAPI', 'NSPR', 'ZLIB'], obj=[
  3919. 'pcompress_pcompress.obj',
  3920. 'libpandaexpress.dll',
  3921. 'libpanda.dll',
  3922. 'libdtoolconfig.dll',
  3923. 'libdtool.dll',
  3924. 'libpystub.dll',
  3925. ])
  3926. CompileC(ipath=IPATH, opts=OPTS, src='pdecompress.cxx', obj='pdecompress_pdecompress.obj')
  3927. CompileLink(dll='pdecompress.exe', opts=['ADVAPI', 'NSPR', 'ZLIB'], obj=[
  3928. 'pdecompress_pdecompress.obj',
  3929. 'libpandaexpress.dll',
  3930. 'libpanda.dll',
  3931. 'libdtoolconfig.dll',
  3932. 'libdtool.dll',
  3933. 'libpystub.dll',
  3934. ])
  3935. IPATH=['panda/src/downloadertools']
  3936. OPTS=['SSL', 'ZLIB', 'NSPR']
  3937. CompileC(ipath=IPATH, opts=OPTS, src='pdecrypt.cxx', obj='pdecrypt_pdecrypt.obj')
  3938. CompileLink(dll='pdecrypt.exe', opts=['ADVAPI', 'NSPR', 'SSL'], obj=[
  3939. 'pdecrypt_pdecrypt.obj',
  3940. 'libpandaexpress.dll',
  3941. 'libpanda.dll',
  3942. 'libdtoolconfig.dll',
  3943. 'libdtool.dll',
  3944. 'libpystub.dll',
  3945. ])
  3946. CompileC(ipath=IPATH, opts=OPTS, src='pencrypt.cxx', obj='pencrypt_pencrypt.obj')
  3947. CompileLink(dll='pencrypt.exe', opts=['ADVAPI', 'NSPR', 'SSL'], obj=[
  3948. 'pencrypt_pencrypt.obj',
  3949. 'libpandaexpress.dll',
  3950. 'libpanda.dll',
  3951. 'libdtoolconfig.dll',
  3952. 'libdtool.dll',
  3953. 'libpystub.dll',
  3954. ])
  3955. CompileC(ipath=IPATH, opts=OPTS, src='show_ddb.cxx', obj='show_ddb_show_ddb.obj')
  3956. CompileLink(dll='show_ddb.exe', opts=['ADVAPI', 'NSPR'], obj=[
  3957. 'show_ddb_show_ddb.obj',
  3958. 'libpandaexpress.dll',
  3959. 'libpanda.dll',
  3960. 'libdtoolconfig.dll',
  3961. 'libdtool.dll',
  3962. 'libpystub.dll',
  3963. ])
  3964. #
  3965. # DIRECTORY: panda/src/glgsg/
  3966. #
  3967. IPATH=['panda/src/glgsg', 'panda/src/glstuff', 'panda/src/gobj']
  3968. OPTS=['BUILDING_PANDAGL', 'NSPR', 'NVIDIACG']
  3969. CompileC(ipath=IPATH, opts=OPTS, src='config_glgsg.cxx', obj='glgsg_config_glgsg.obj')
  3970. CompileC(ipath=IPATH, opts=OPTS, src='glgsg.cxx', obj='glgsg_glgsg.obj')
  3971. #
  3972. # DIRECTORY: panda/src/effects/
  3973. #
  3974. IPATH=['panda/src/effects']
  3975. OPTS=['BUILDING_PANDAFX', 'NSPR', 'NVIDIACG']
  3976. CompileC(ipath=IPATH, opts=OPTS, src='effects_composite1.cxx', obj='effects_composite1.obj')
  3977. Interrogate(ipath=IPATH, opts=OPTS, outd='libeffects.in', outc='libeffects_igate.cxx',
  3978. src='panda/src/effects', module='pandafx', library='libeffects',
  3979. files=['config_effects.h', 'cgShader.h', 'cgShaderAttrib.h', 'cgShaderContext.h', 'lensFlareNode.h', 'effects_composite1.cxx'])
  3980. CompileC(ipath=IPATH, opts=OPTS, src='libeffects_igate.cxx', obj='libeffects_igate.obj')
  3981. #
  3982. # DIRECTORY: panda/metalibs/pandafx/
  3983. #
  3984. IPATH=['panda/metalibs/pandafx', 'panda/src/distort']
  3985. OPTS=['BUILDING_PANDAFX', 'NSPR', 'NVIDIACG']
  3986. CompileC(ipath=IPATH, opts=OPTS, src='pandafx.cxx', obj='pandafx_pandafx.obj')
  3987. InterrogateModule(outc='libpandafx_module.cxx', module='pandafx', library='libpandafx',
  3988. files=['libdistort.in', 'libeffects.in'])
  3989. CompileC(ipath=IPATH, opts=OPTS, src='libpandafx_module.cxx', obj='libpandafx_module.obj')
  3990. CompileLink(dll='libpandafx.dll', opts=['ADVAPI', 'NSPR', 'NVIDIACG'], obj=[
  3991. 'pandafx_pandafx.obj',
  3992. 'libpandafx_module.obj',
  3993. 'distort_composite1.obj',
  3994. 'libdistort_igate.obj',
  3995. 'effects_composite1.obj',
  3996. 'libeffects_igate.obj',
  3997. 'libpanda.dll',
  3998. 'libpandaexpress.dll',
  3999. 'libdtoolconfig.dll',
  4000. 'libdtool.dll',
  4001. ])
  4002. #
  4003. # DIRECTORY: panda/src/glstuff/
  4004. #
  4005. IPATH=['panda/src/glstuff']
  4006. OPTS=['NSPR', 'NVIDIACG', 'CGGL']
  4007. CompileC(ipath=IPATH, opts=OPTS, src='glpure.cxx', obj='glstuff_glpure.obj')
  4008. CompileLink(dll='libglstuff.dll', opts=['ADVAPI', 'GLUT', 'NSPR', 'NVIDIACG', 'CGGL'], obj=[
  4009. 'glstuff_glpure.obj',
  4010. 'libpanda.dll',
  4011. 'libpandafx.dll',
  4012. 'libpandaexpress.dll',
  4013. 'libdtoolconfig.dll',
  4014. 'libdtool.dll',
  4015. ])
  4016. #
  4017. # DIRECTORY: panda/src/windisplay/
  4018. #
  4019. if (sys.platform == "win32"):
  4020. IPATH=['panda/src/windisplay']
  4021. OPTS=['BUILDING_PANDAWIN', 'NSPR']
  4022. CompileC(ipath=IPATH, opts=OPTS, src='winGraphicsWindow.cxx', obj='windisplay_winGraphicsWindow.obj')
  4023. CompileC(ipath=IPATH, opts=OPTS, src='config_windisplay.cxx', obj='windisplay_config_windisplay.obj')
  4024. CompileC(ipath=IPATH, opts=OPTS, src='winGraphicsPipe.cxx', obj='windisplay_winGraphicsPipe.obj')
  4025. CompileLink(opts=['WINIMM', 'WINGDI', 'WINKERNEL', 'WINOLDNAMES', 'WINUSER', 'WINMM', 'NSPR'],
  4026. dll='libwindisplay.dll', obj=[
  4027. 'windisplay_winGraphicsWindow.obj',
  4028. 'windisplay_config_windisplay.obj',
  4029. 'windisplay_winGraphicsPipe.obj',
  4030. 'libpanda.dll',
  4031. 'libpandaexpress.dll',
  4032. 'libdtoolconfig.dll',
  4033. 'libdtool.dll',
  4034. ])
  4035. #
  4036. # DIRECTORY: panda/src/glxdisplay/
  4037. #
  4038. if (sys.platform != "win32"):
  4039. IPATH=['panda/src/glxdisplay', 'panda/src/gobj']
  4040. OPTS=['BUILDING_PANDAGLUT', 'NSPR', 'GLUT', 'NVIDIACG', 'CGGL']
  4041. CompileC(ipath=IPATH, opts=OPTS, src='glxdisplay_composite1.cxx', obj='glxdisplay_composite1.obj')
  4042. Interrogate(ipath=IPATH, opts=OPTS, outd='libglxdisplay.in', outc='libglxdisplay_igate.cxx',
  4043. src='panda/src/glxdisplay', module='pandagl', library='libglxdisplay', files=['glxGraphicsPipe.h'])
  4044. CompileC(ipath=IPATH, opts=OPTS, src='libglxdisplay_igate.cxx', obj='libglxdisplay_igate.obj')
  4045. IPATH=['panda/metalibs/pandagl']
  4046. OPTS=['BUILDING_PANDAGL', 'NSPR', 'NVIDIACG', 'CGGL']
  4047. CompileC(ipath=IPATH, opts=OPTS, src='pandagl.cxx', obj='pandagl_pandagl.obj')
  4048. CompileLink(opts=['GLUT', 'NVIDIACG', 'CGGL', 'NSPR'], dll='libpandagl.dll', obj=[
  4049. 'pandagl_pandagl.obj',
  4050. 'glgsg_config_glgsg.obj',
  4051. 'glgsg_glgsg.obj',
  4052. 'glxdisplay_composite1.obj',
  4053. 'libglxdisplay_igate.obj',
  4054. 'libpanda.dll',
  4055. 'libpandaexpress.dll',
  4056. 'libglstuff.dll',
  4057. 'libpandafx.dll',
  4058. 'libdtoolconfig.dll',
  4059. 'libdtool.dll',
  4060. ])
  4061. #
  4062. # DIRECTORY: panda/src/wgldisplay/
  4063. #
  4064. if (sys.platform == "win32"):
  4065. IPATH=['panda/src/wgldisplay', 'panda/src/glstuff', 'panda/src/gobj']
  4066. OPTS=['BUILDING_PANDAGL', 'NSPR', 'NVIDIACG', 'CGGL']
  4067. CompileC(ipath=IPATH, opts=OPTS, src='wgldisplay_composite1.cxx', obj='wgldisplay_composite1.obj')
  4068. IPATH=['panda/metalibs/pandagl']
  4069. OPTS=['BUILDING_PANDAGL', 'NSPR', 'NVIDIACG', 'CGGL']
  4070. CompileC(ipath=IPATH, opts=OPTS, src='pandagl.cxx', obj='pandagl_pandagl.obj')
  4071. CompileLink(opts=['WINGDI', 'GLUT', 'WINKERNEL', 'WINOLDNAMES', 'WINUSER', 'WINMM', 'NSPR', 'NVIDIACG', 'CGGL'],
  4072. dll='libpandagl.dll', obj=[
  4073. 'pandagl_pandagl.obj',
  4074. 'glgsg_config_glgsg.obj',
  4075. 'glgsg_glgsg.obj',
  4076. 'wgldisplay_composite1.obj',
  4077. 'libwindisplay.dll',
  4078. 'libpanda.dll',
  4079. 'libpandaexpress.dll',
  4080. 'libglstuff.dll',
  4081. 'libpandafx.dll',
  4082. 'libdtoolconfig.dll',
  4083. 'libdtool.dll',
  4084. ])
  4085. #
  4086. # DIRECTORY: panda/metalibs/pandadx7/
  4087. #
  4088. if (sys.platform == "win32"):
  4089. IPATH=['panda/src/dxgsg7']
  4090. OPTS=['BUILDING_PANDADX', 'DXSDK', 'NSPR']
  4091. CompileC(ipath=IPATH, opts=OPTS, src='dxGraphicsStateGuardian7.cxx', obj='dxgsg7_dxGraphicsStateGuardian7.obj')
  4092. CompileC(ipath=IPATH, opts=OPTS, src='dxgsg7_composite1.cxx', obj='dxgsg7_composite1.obj')
  4093. IPATH=['panda/metalibs/pandadx7']
  4094. OPTS=['BUILDING_PANDADX', 'DXSDK', 'NSPR']
  4095. CompileC(ipath=IPATH, opts=OPTS, src='pandadx7.cxx', obj='pandadx7_pandadx7.obj')
  4096. CompileLink(dll='libpandadx7.dll', opts=['ADVAPI', 'WINGDI', 'WINKERNEL', 'WINUSER', 'WINMM', 'DXDRAW', 'DXGUID', 'D3D8', 'NSPR'], obj=[
  4097. 'pandadx7_pandadx7.obj',
  4098. 'dxgsg7_dxGraphicsStateGuardian7.obj',
  4099. 'dxgsg7_composite1.obj',
  4100. 'libpanda.dll',
  4101. 'libpandaexpress.dll',
  4102. 'libwindisplay.dll',
  4103. 'libdtoolconfig.dll',
  4104. 'libdtool.dll',
  4105. ])
  4106. #
  4107. # DIRECTORY: panda/metalibs/pandadx8/
  4108. #
  4109. if (sys.platform == "win32"):
  4110. IPATH=['panda/src/dxgsg8']
  4111. OPTS=['BUILDING_PANDADX', 'DXSDK', 'NSPR']
  4112. CompileC(ipath=IPATH, opts=OPTS, src='dxGraphicsStateGuardian8.cxx', obj='dxgsg8_dxGraphicsStateGuardian8.obj')
  4113. CompileC(ipath=IPATH, opts=OPTS, src='dxgsg8_composite1.cxx', obj='dxgsg8_composite1.obj')
  4114. IPATH=['panda/metalibs/pandadx8']
  4115. OPTS=['BUILDING_PANDADX', 'DXSDK', 'NSPR']
  4116. CompileC(ipath=IPATH, opts=OPTS, src='pandadx8.cxx', obj='pandadx8_pandadx8.obj')
  4117. CompileLink(dll='libpandadx8.dll',
  4118. opts=['ADVAPI', 'WINGDI', 'WINKERNEL', 'WINUSER', 'WINMM', 'DXDRAW', 'DXGUID', 'D3D8', 'NSPR'], obj=[
  4119. 'pandadx8_pandadx8.obj',
  4120. 'dxgsg8_dxGraphicsStateGuardian8.obj',
  4121. 'dxgsg8_composite1.obj',
  4122. 'libpanda.dll',
  4123. 'libpandaexpress.dll',
  4124. 'libwindisplay.dll',
  4125. 'libdtoolconfig.dll',
  4126. 'libdtool.dll',
  4127. ])
  4128. #
  4129. # DIRECTORY: panda/metalibs/pandadx9/
  4130. #
  4131. if (sys.platform == "win32"):
  4132. IPATH=['panda/src/dxgsg9']
  4133. OPTS=['BUILDING_PANDADX', 'DXSDK', 'NSPR']
  4134. CompileC(ipath=IPATH, opts=OPTS, src='dxGraphicsStateGuardian9.cxx', obj='dxgsg9_dxGraphicsStateGuardian9.obj')
  4135. CompileC(ipath=IPATH, opts=OPTS, src='dxgsg9_composite1.cxx', obj='dxgsg9_composite1.obj')
  4136. IPATH=['panda/metalibs/pandadx9']
  4137. OPTS=['BUILDING_PANDADX', 'DXSDK', 'NSPR']
  4138. CompileC(ipath=IPATH, opts=OPTS, src='pandadx9.cxx', obj='pandadx9_pandadx9.obj')
  4139. CompileLink(dll='libpandadx9.dll',
  4140. opts=['ADVAPI', 'WINGDI', 'WINKERNEL', 'WINUSER', 'WINMM', 'DXDRAW', 'DXGUID', 'D3D9', 'NSPR'], obj=[
  4141. 'pandadx9_pandadx9.obj',
  4142. 'dxgsg9_dxGraphicsStateGuardian9.obj',
  4143. 'dxgsg9_composite1.obj',
  4144. 'libpanda.dll',
  4145. 'libpandaexpress.dll',
  4146. 'libwindisplay.dll',
  4147. 'libdtoolconfig.dll',
  4148. 'libdtool.dll',
  4149. ])
  4150. #
  4151. # DIRECTORY: panda/src/egg/
  4152. #
  4153. IPATH=['panda/src/egg']
  4154. CompileBison(pre='eggyy', dstc='parser.cxx', dsth='parser.h', src='panda/src/egg/parser.yxx')
  4155. CompileFlex(pre='eggyy', dst='lexer.cxx', src='panda/src/egg/lexer.lxx', dashi=1)
  4156. OPTS=['BUILDING_PANDAEGG', 'NSPR']
  4157. CompileC(ipath=IPATH, opts=OPTS, src='egg_composite1.cxx', obj='egg_composite1.obj')
  4158. CompileC(ipath=IPATH, opts=OPTS, src='egg_composite2.cxx', obj='egg_composite2.obj')
  4159. CompileC(ipath=IPATH, opts=OPTS, src='parser.cxx', obj='egg_parser.obj')
  4160. CompileC(ipath=IPATH, opts=OPTS, src='lexer.cxx', obj='egg_lexer.obj')
  4161. Interrogate(ipath=IPATH, opts=OPTS, outd='libegg.in', outc='libegg_igate.cxx',
  4162. src='panda/src/egg', module='pandaegg', library='libegg', files=[
  4163. 'config_egg.h', 'eggAnimData.h', 'eggAttributes.h', 'eggBin.h', 'eggBinMaker.h', 'eggComment.h',
  4164. 'eggCoordinateSystem.h', 'eggCurve.h', 'eggData.h', 'eggExternalReference.h', 'eggFilenameNode.h',
  4165. 'eggGroup.h', 'eggGroupNode.h', 'eggGroupUniquifier.h', 'eggLine.h', 'eggMaterial.h',
  4166. 'eggMaterialCollection.h', 'eggMiscFuncs.h', 'eggMorph.h', 'eggMorphList.h', 'eggNamedObject.h',
  4167. 'eggNameUniquifier.h', 'eggNode.h', 'eggNurbsCurve.h', 'eggNurbsSurface.h', 'eggObject.h',
  4168. 'eggParameters.h', 'eggPoint.h', 'eggPolygon.h', 'eggPolysetMaker.h', 'eggPoolUniquifier.h',
  4169. 'eggPrimitive.h', 'eggRenderMode.h', 'eggSAnimData.h', 'eggSurface.h', 'eggSwitchCondition.h',
  4170. 'eggTable.h', 'eggTexture.h', 'eggTextureCollection.h', 'eggTransform3d.h', 'eggUserData.h',
  4171. 'eggUtilities.h', 'eggVertex.h', 'eggVertexPool.h', 'eggVertexUV.h', 'eggXfmAnimData.h',
  4172. 'eggXfmSAnim.h', 'parserDefs.h', 'lexerDefs.h', 'pt_EggMaterial.h', 'vector_PT_EggMaterial.h',
  4173. 'pt_EggTexture.h', 'vector_PT_EggTexture.h', 'pt_EggVertex.h', 'vector_PT_EggVertex.h',
  4174. 'egg_composite1.cxx', 'egg_composite2.cxx'])
  4175. CompileC(ipath=IPATH, opts=OPTS, src='libegg_igate.cxx', obj='libegg_igate.obj')
  4176. #
  4177. # DIRECTORY: panda/src/egg2pg/
  4178. #
  4179. IPATH=['panda/src/egg2pg']
  4180. OPTS=['BUILDING_PANDAEGG', 'NSPR']
  4181. CompileC(ipath=IPATH, opts=OPTS, src='egg2pg_composite1.cxx', obj='egg2pg_composite1.obj')
  4182. CompileC(ipath=IPATH, opts=OPTS, src='egg2pg_composite2.cxx', obj='egg2pg_composite2.obj')
  4183. Interrogate(ipath=IPATH, opts=OPTS, outd='libegg2pg.in', outc='libegg2pg_igate.cxx',
  4184. src='panda/src/egg2pg', module='pandaegg', library='libegg2pg', files=['load_egg_file.h'])
  4185. CompileC(ipath=IPATH, opts=OPTS, src='libegg2pg_igate.cxx', obj='libegg2pg_igate.obj')
  4186. #
  4187. # DIRECTORY: panda/src/framework/
  4188. #
  4189. IPATH=['panda/src/framework']
  4190. OPTS=['BUILDING_FRAMEWORK', 'NSPR']
  4191. CompileC(ipath=IPATH, opts=OPTS, src='config_framework.cxx', obj='framework_config_framework.obj')
  4192. CompileC(ipath=IPATH, opts=OPTS, src='pandaFramework.cxx', obj='framework_pandaFramework.obj')
  4193. CompileC(ipath=IPATH, opts=OPTS, src='windowFramework.cxx', obj='framework_windowFramework.obj')
  4194. CompileLink(dll='libframework.dll', opts=['ADVAPI', 'NSPR'], obj=[
  4195. 'framework_config_framework.obj',
  4196. 'framework_pandaFramework.obj',
  4197. 'framework_windowFramework.obj',
  4198. 'libpanda.dll',
  4199. 'libpandaexpress.dll',
  4200. 'libdtoolconfig.dll',
  4201. 'libdtool.dll',
  4202. ])
  4203. #
  4204. # DIRECTORY: panda/metalibs/pandaegg/
  4205. #
  4206. IPATH=['panda/metalibs/pandaegg', 'panda/src/egg']
  4207. OPTS=['BUILDING_PANDAEGG', 'NSPR']
  4208. CompileC(ipath=IPATH, opts=OPTS, src='pandaegg.cxx', obj='pandaegg_pandaegg.obj')
  4209. InterrogateModule(outc='libpandaegg_module.cxx', module='pandaegg', library='libpandaegg',
  4210. files=['libegg2pg.in', 'libegg.in'])
  4211. CompileC(ipath=IPATH, opts=OPTS, src='libpandaegg_module.cxx', obj='libpandaegg_module.obj')
  4212. CompileLink(dll='libpandaegg.dll', opts=['ADVAPI', 'NSPR'], obj=[
  4213. 'pandaegg_pandaegg.obj',
  4214. 'libpandaegg_module.obj',
  4215. 'egg2pg_composite1.obj',
  4216. 'egg2pg_composite2.obj',
  4217. 'libegg2pg_igate.obj',
  4218. 'egg_composite1.obj',
  4219. 'egg_composite2.obj',
  4220. 'egg_parser.obj',
  4221. 'egg_lexer.obj',
  4222. 'libegg_igate.obj',
  4223. 'builder_composite1.obj',
  4224. 'builder_composite2.obj',
  4225. 'libpanda.dll',
  4226. 'libpandaexpress.dll',
  4227. 'libdtoolconfig.dll',
  4228. 'libdtool.dll',
  4229. ])
  4230. #
  4231. # DIRECTORY: panda/src/physics/
  4232. #
  4233. IPATH=['panda/src/physics']
  4234. OPTS=['BUILDING_PANDAPHYSICS', 'NSPR']
  4235. CompileC(ipath=IPATH, opts=OPTS, src='physics_composite1.cxx', obj='physics_composite1.obj')
  4236. CompileC(ipath=IPATH, opts=OPTS, src='physics_composite2.cxx', obj='physics_composite2.obj')
  4237. Interrogate(ipath=IPATH, opts=OPTS, outd='libphysics.in', outc='libphysics_igate.cxx',
  4238. src='panda/src/physics', module='pandaphysics', library='libphysics',
  4239. 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'])
  4240. CompileC(ipath=IPATH, opts=OPTS, src='libphysics_igate.cxx', obj='libphysics_igate.obj')
  4241. #
  4242. # DIRECTORY: panda/src/particlesystem/
  4243. #
  4244. IPATH=['panda/src/particlesystem']
  4245. OPTS=['BUILDING_PANDAPHYSICS', 'NSPR']
  4246. CompileC(ipath=IPATH, opts=OPTS, src='particlesystem_composite1.cxx', obj='particlesystem_composite1.obj')
  4247. CompileC(ipath=IPATH, opts=OPTS, src='particlesystem_composite2.cxx', obj='particlesystem_composite2.obj')
  4248. Interrogate(ipath=IPATH, opts=OPTS, outd='libparticlesystem.in', outc='libparticlesystem_igate.cxx',
  4249. src='panda/src/particlesystem', module='pandaphysics', library='libparticlesystem',
  4250. 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'])
  4251. CompileC(ipath=IPATH, opts=OPTS, src='libparticlesystem_igate.cxx', obj='libparticlesystem_igate.obj')
  4252. #
  4253. # DIRECTORY: panda/metalibs/pandaphysics/
  4254. #
  4255. IPATH=['panda/metalibs/pandaphysics']
  4256. OPTS=['BUILDING_PANDAPHYSICS', 'NSPR']
  4257. CompileC(ipath=IPATH, opts=OPTS, src='pandaphysics.cxx', obj='pandaphysics_pandaphysics.obj')
  4258. InterrogateModule(outc='libpandaphysics_module.cxx', module='pandaphysics', library='libpandaphysics',
  4259. files=['libphysics.in', 'libparticlesystem.in'])
  4260. CompileC(ipath=IPATH, opts=OPTS, src='libpandaphysics_module.cxx', obj='libpandaphysics_module.obj')
  4261. CompileLink(dll='libpandaphysics.dll', opts=['ADVAPI', 'NSPR'], obj=[
  4262. 'pandaphysics_pandaphysics.obj',
  4263. 'libpandaphysics_module.obj',
  4264. 'physics_composite1.obj',
  4265. 'physics_composite2.obj',
  4266. 'libphysics_igate.obj',
  4267. 'particlesystem_composite1.obj',
  4268. 'particlesystem_composite2.obj',
  4269. 'libparticlesystem_igate.obj',
  4270. 'libpanda.dll',
  4271. 'libpandaexpress.dll',
  4272. 'libdtoolconfig.dll',
  4273. 'libdtool.dll',
  4274. ])
  4275. #
  4276. # DIRECTORY: panda/src/testbed/
  4277. #
  4278. IPATH=['panda/src/testbed']
  4279. OPTS=['NSPR']
  4280. CompileC(ipath=IPATH, opts=OPTS, src='pview.cxx', obj='pview_pview.obj')
  4281. CompileLink(dll='pview.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4282. 'pview_pview.obj',
  4283. 'libframework.dll',
  4284. 'libpanda.dll',
  4285. 'libpandafx.dll',
  4286. 'libpandaexpress.dll',
  4287. 'libdtoolconfig.dll',
  4288. 'libdtool.dll',
  4289. 'libpystub.dll',
  4290. ])
  4291. #
  4292. # DIRECTORY: direct/src/directbase/
  4293. #
  4294. IPATH=['direct/src/directbase']
  4295. OPTS=['BUILDING_DIRECT', 'NSPR']
  4296. CompileC(ipath=IPATH, opts=OPTS, src='directbase.cxx', obj='directbase_directbase.obj')
  4297. #
  4298. # DIRECTORY: direct/src/dcparser/
  4299. #
  4300. CompileBison(pre='dcyy', dstc='dcParser.cxx', dsth='dcParser.h', src='direct/src/dcparser/dcParser.yxx')
  4301. CompileFlex(pre='dcyy', dst='dcLexer.cxx', src='direct/src/dcparser/dcLexer.lxx', dashi=0)
  4302. IPATH=['direct/src/dcparser']
  4303. OPTS=['WITHINPANDA', 'BUILDING_DIRECT', 'NSPR']
  4304. CompileC(ipath=IPATH, opts=OPTS, src='dcparser_composite1.cxx', obj='dcparser_composite1.obj')
  4305. CompileC(ipath=IPATH, opts=OPTS, src='dcparser_composite2.cxx', obj='dcparser_composite2.obj')
  4306. CompileC(ipath=IPATH, opts=OPTS, src='dcParser.cxx', obj='dcparser_dcParser.obj')
  4307. CompileC(ipath=IPATH, opts=OPTS, src='dcLexer.cxx', obj='dcparser_dcLexer.obj')
  4308. Interrogate(ipath=IPATH, opts=OPTS, outd='libdcparser.in', outc='libdcparser_igate.cxx',
  4309. src='direct/src/dcparser', module='direct', library='libdcparser',
  4310. files=['dcAtomicField.h', 'dcClass.h', 'dcDeclaration.h', 'dcField.h', 'dcFile.h',
  4311. 'dcLexerDefs.h', 'dcMolecularField.h', 'dcParserDefs.h', 'dcSubatomicType.h',
  4312. 'dcPackData.h', 'dcPacker.h', 'dcPackerCatalog.h', 'dcPackerInterface.h',
  4313. 'dcParameter.h', 'dcClassParameter.h', 'dcArrayParameter.h', 'dcSimpleParameter.h',
  4314. 'dcSwitchParameter.h', 'dcNumericRange.h', 'dcSwitch.h', 'dcTypedef.h', 'dcPython.h',
  4315. 'dcbase.h', 'dcindent.h', 'hashGenerator.h', 'primeNumberGenerator.h',
  4316. 'dcparser_composite1.cxx', 'dcparser_composite2.cxx'])
  4317. CompileC(ipath=IPATH, opts=OPTS, src='libdcparser_igate.cxx', obj='libdcparser_igate.obj')
  4318. #
  4319. # DIRECTORY: direct/src/deadrec/
  4320. #
  4321. IPATH=['direct/src/deadrec']
  4322. OPTS=['BUILDING_DIRECT', 'NSPR']
  4323. CompileC(ipath=IPATH, opts=OPTS, src='deadrec_composite1.cxx', obj='deadrec_composite1.obj')
  4324. Interrogate(ipath=IPATH, opts=OPTS, outd='libdeadrec.in', outc='libdeadrec_igate.cxx',
  4325. src='direct/src/deadrec', module='direct', library='libdeadrec',
  4326. files=['smoothMover.h', 'deadrec_composite1.cxx'])
  4327. CompileC(ipath=IPATH, opts=OPTS, src='libdeadrec_igate.cxx', obj='libdeadrec_igate.obj')
  4328. #
  4329. # DIRECTORY: direct/src/distributed/
  4330. #
  4331. IPATH=['direct/src/distributed', 'direct/src/dcparser']
  4332. OPTS=['WITHINPANDA', 'BUILDING_DIRECT', 'SSL', 'NSPR']
  4333. CompileC(ipath=IPATH, opts=OPTS, src='config_distributed.cxx', obj='distributed_config_distributed.obj')
  4334. CompileC(ipath=IPATH, opts=OPTS, src='cConnectionRepository.cxx', obj='distributed_cConnectionRepository.obj')
  4335. CompileC(ipath=IPATH, opts=OPTS, src='cDistributedSmoothNodeBase.cxx', obj='distributed_cDistributedSmoothNodeBase.obj')
  4336. Interrogate(ipath=IPATH, opts=OPTS, outd='libdistributed.in', outc='libdistributed_igate.cxx',
  4337. src='direct/src/distributed', module='direct', library='libdistributed',
  4338. files=['config_distributed.cxx', 'config_distributed.h', 'cConnectionRepository.cxx',
  4339. 'cConnectionRepository.h', 'cDistributedSmoothNodeBase.cxx', 'cDistributedSmoothNodeBase.h'])
  4340. CompileC(ipath=IPATH, opts=OPTS, src='libdistributed_igate.cxx', obj='libdistributed_igate.obj')
  4341. #
  4342. # DIRECTORY: direct/src/interval/
  4343. #
  4344. IPATH=['direct/src/interval']
  4345. OPTS=['BUILDING_DIRECT', 'NSPR']
  4346. #CompileC(ipath=IPATH, opts=OPTS, src='config_interval.cxx', obj='interval_config_interval.obj')
  4347. #CompileC(ipath=IPATH, opts=OPTS, src='cInterval.cxx', obj='interval_cInterval.obj')
  4348. #CompileC(ipath=IPATH, opts=OPTS, src='cIntervalManager.cxx', obj='interval_cIntervalManager.obj')
  4349. #CompileC(ipath=IPATH, opts=OPTS, src='cLerpInterval.cxx', obj='interval_cLerpInterval.obj')
  4350. #CompileC(ipath=IPATH, opts=OPTS, src='cLerpNodePathInterval.cxx', obj='interval_cLerpNodePathInterval.obj')
  4351. #CompileC(ipath=IPATH, opts=OPTS, src='cLerpAnimEffectInterval.cxx', obj='interval_cLerpAnimEffectInterval.obj')
  4352. #CompileC(ipath=IPATH, opts=OPTS, src='cMetaInterval.cxx', obj='interval_cMetaInterval.obj')
  4353. #CompileC(ipath=IPATH, opts=OPTS, src='hideInterval.cxx', obj='interval_hideInterval.obj')
  4354. #CompileC(ipath=IPATH, opts=OPTS, src='showInterval.cxx', obj='interval_showInterval.obj')
  4355. #CompileC(ipath=IPATH, opts=OPTS, src='waitInterval.cxx', obj='interval_waitInterval.obj')
  4356. CompileC(ipath=IPATH, opts=OPTS, src='interval_composite1.cxx', obj='interval_composite1.obj')
  4357. Interrogate(ipath=IPATH, opts=OPTS, outd='libinterval.in', outc='libinterval_igate.cxx',
  4358. src='direct/src/interval', module='direct', library='libinterval',
  4359. files=['config_interval.cxx', 'config_interval.h', 'cInterval.cxx', 'cInterval.h',
  4360. 'cIntervalManager.cxx', 'cIntervalManager.h', 'cLerpInterval.cxx', 'cLerpInterval.h',
  4361. 'cLerpNodePathInterval.cxx', 'cLerpNodePathInterval.h', 'cLerpAnimEffectInterval.cxx',
  4362. 'cLerpAnimEffectInterval.h', 'cMetaInterval.cxx', 'cMetaInterval.h', 'hideInterval.cxx',
  4363. 'hideInterval.h', 'showInterval.cxx', 'showInterval.h', 'waitInterval.cxx', 'waitInterval.h',
  4364. 'lerp_helpers.h'])
  4365. CompileC(ipath=IPATH, opts=OPTS, src='libinterval_igate.cxx', obj='libinterval_igate.obj')
  4366. #
  4367. # DIRECTORY: direct/src/showbase/
  4368. #
  4369. IPATH=['direct/src/showbase']
  4370. OPTS=['BUILDING_DIRECT', 'NSPR']
  4371. CompileC(ipath=IPATH, opts=OPTS, src='showBase.cxx', obj='showbase_showBase.obj')
  4372. CompileC(ipath=IPATH, opts=OPTS, src='mersenne.cxx', obj='showbase_mersenne.obj')
  4373. Interrogate(ipath=IPATH, opts=OPTS, outd='libshowbase.in', outc='libshowbase_igate.cxx',
  4374. src='direct/src/showbase', module='direct', library='libshowbase',
  4375. files=['showBase.cxx', 'showBase.h', 'mersenne.cxx', 'mersenne.h'])
  4376. CompileC(ipath=IPATH, opts=OPTS, src='libshowbase_igate.cxx', obj='libshowbase_igate.obj')
  4377. #
  4378. # DIRECTORY: direct/metalibs/direct/
  4379. #
  4380. IPATH=['direct/metalibs/direct']
  4381. OPTS=['BUILDING_DIRECT', 'NSPR']
  4382. CompileC(ipath=IPATH, opts=OPTS, src='direct.cxx', obj='direct_direct.obj')
  4383. InterrogateModule(outc='libdirect_module.cxx', module='direct', library='libdirect',
  4384. files=['libdcparser.in', 'libshowbase.in', 'libdeadrec.in', 'libinterval.in', 'libdistributed.in'])
  4385. CompileC(ipath=IPATH, opts=OPTS, src='libdirect_module.cxx', obj='libdirect_module.obj')
  4386. CompileLink(dll='libdirect.dll', opts=['ADVAPI', 'NSPR', 'SSL'], obj=[
  4387. 'direct_direct.obj',
  4388. 'libdirect_module.obj',
  4389. 'directbase_directbase.obj',
  4390. 'dcparser_composite1.obj',
  4391. 'dcparser_composite2.obj',
  4392. 'dcparser_dcParser.obj',
  4393. 'dcparser_dcLexer.obj',
  4394. 'libdcparser_igate.obj',
  4395. 'showbase_showBase.obj',
  4396. 'showbase_mersenne.obj',
  4397. 'libshowbase_igate.obj',
  4398. 'deadrec_composite1.obj',
  4399. 'libdeadrec_igate.obj',
  4400. 'interval_composite1.obj',
  4401. 'libinterval_igate.obj',
  4402. 'distributed_config_distributed.obj',
  4403. 'distributed_cConnectionRepository.obj',
  4404. 'distributed_cDistributedSmoothNodeBase.obj',
  4405. 'libdistributed_igate.obj',
  4406. 'libpanda.dll',
  4407. 'libpandaexpress.dll',
  4408. 'libdtoolconfig.dll',
  4409. 'libdtool.dll',
  4410. ])
  4411. #
  4412. # DIRECTORY: direct/src/dcparse/
  4413. #
  4414. IPATH=['direct/src/dcparse', 'direct/src/dcparser']
  4415. OPTS=['WITHINPANDA', 'NSPR']
  4416. CompileC(ipath=IPATH, opts=OPTS, src='dcparse.cxx', obj='dcparse_dcparse.obj')
  4417. CompileLink(dll='dcparse.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4418. 'dcparse_dcparse.obj',
  4419. 'libdirect.dll',
  4420. 'libpandaexpress.dll',
  4421. 'libdtoolconfig.dll',
  4422. 'libdtool.dll',
  4423. 'libpystub.dll',
  4424. ])
  4425. #
  4426. # DIRECTORY: direct/src/heapq/
  4427. #
  4428. IPATH=['direct/src/heapq']
  4429. OPTS=['NSPR']
  4430. CompileC(ipath=IPATH, opts=OPTS, src='heapq.cxx', obj='heapq_heapq.obj')
  4431. CompileLink(dll='libheapq.dll', opts=['ADVAPI', 'NSPR'], obj=[
  4432. 'heapq_heapq.obj',
  4433. 'libpandaexpress.dll',
  4434. 'libdtoolconfig.dll',
  4435. 'libdtool.dll',
  4436. ])
  4437. #
  4438. # DIRECTORY: pandatool/src/pandatoolbase/
  4439. #
  4440. IPATH=['pandatool/src/pandatoolbase']
  4441. OPTS=['NSPR']
  4442. CompileC(ipath=IPATH, opts=OPTS, src='pandatoolbase_composite1.cxx', obj='pandatoolbase_composite1.obj')
  4443. CompileLIB(lib='libpandatoolbase.lib', obj=['pandatoolbase_composite1.obj'])
  4444. #
  4445. # DIRECTORY: pandatool/src/converter/
  4446. #
  4447. IPATH=['pandatool/src/converter']
  4448. OPTS=['NSPR']
  4449. CompileC(ipath=IPATH, opts=OPTS, src='somethingToEggConverter.cxx', obj='converter_somethingToEggConverter.obj')
  4450. CompileLIB(lib='libconverter.lib', obj=['converter_somethingToEggConverter.obj'])
  4451. #
  4452. # DIRECTORY: pandatool/src/progbase/
  4453. #
  4454. IPATH=['pandatool/src/progbase']
  4455. OPTS=['NSPR']
  4456. CompileC(ipath=IPATH, opts=OPTS, src='progbase_composite1.cxx', obj='progbase_composite1.obj')
  4457. CompileLIB(lib='libprogbase.lib', obj=['progbase_composite1.obj'])
  4458. #
  4459. # DIRECTORY: pandatool/src/eggbase/
  4460. #
  4461. IPATH=['pandatool/src/eggbase']
  4462. OPTS=['NSPR']
  4463. CompileC(ipath=IPATH, opts=OPTS, src='eggbase_composite1.cxx', obj='eggbase_composite1.obj')
  4464. CompileLIB(lib='libeggbase.lib', obj=['eggbase_composite1.obj'])
  4465. #
  4466. # DIRECTORY: pandatool/src/bam/
  4467. #
  4468. IPATH=['pandatool/src/bam']
  4469. OPTS=['NSPR']
  4470. CompileC(ipath=IPATH, opts=OPTS, src='bamInfo.cxx', obj='bam-info_bamInfo.obj')
  4471. CompileLink(dll='bam-info.exe', opts=['ADVAPI', 'NSPR', 'FFTW'], obj=[
  4472. 'bam-info_bamInfo.obj',
  4473. 'libprogbase.lib',
  4474. 'libpandatoolbase.lib',
  4475. 'libpandaegg.dll',
  4476. 'libpanda.dll',
  4477. 'libpandaexpress.dll',
  4478. 'libdtoolconfig.dll',
  4479. 'libdtool.dll',
  4480. 'libpystub.dll',
  4481. ])
  4482. CompileC(ipath=IPATH, opts=OPTS, src='bamToEgg.cxx', obj='bam2egg_bamToEgg.obj')
  4483. CompileLink(dll='bam2egg.exe', opts=['ADVAPI', 'NSPR', 'FFTW'], obj=[
  4484. 'bam2egg_bamToEgg.obj',
  4485. 'libconverter.lib',
  4486. 'libeggbase.lib',
  4487. 'libprogbase.lib',
  4488. 'libpandatoolbase.lib',
  4489. 'libpandaegg.dll',
  4490. 'libpanda.dll',
  4491. 'libpandaexpress.dll',
  4492. 'libdtoolconfig.dll',
  4493. 'libdtool.dll',
  4494. 'libpystub.dll',
  4495. ])
  4496. CompileC(ipath=IPATH, opts=OPTS, src='eggToBam.cxx', obj='egg2bam_eggToBam.obj')
  4497. CompileLink(dll='egg2bam.exe', opts=['ADVAPI', 'NSPR', 'FFTW'], obj=[
  4498. 'egg2bam_eggToBam.obj',
  4499. 'libeggbase.lib',
  4500. 'libprogbase.lib',
  4501. 'libconverter.lib',
  4502. 'libpandatoolbase.lib',
  4503. 'libpandaegg.dll',
  4504. 'libpanda.dll',
  4505. 'libpandaexpress.dll',
  4506. 'libdtoolconfig.dll',
  4507. 'libdtool.dll',
  4508. 'libpystub.dll',
  4509. ])
  4510. #
  4511. # DIRECTORY: pandatool/src/cvscopy/
  4512. #
  4513. IPATH=['pandatool/src/cvscopy']
  4514. OPTS=['NSPR']
  4515. CompileC(ipath=IPATH, opts=OPTS, src='cvscopy_composite1.cxx', obj='cvscopy_composite1.obj')
  4516. CompileLIB(lib='libcvscopy.lib', obj=['cvscopy_composite1.obj'])
  4517. #
  4518. # DIRECTORY: pandatool/src/dxf/
  4519. #
  4520. IPATH=['pandatool/src/dxf']
  4521. OPTS=['NSPR']
  4522. CompileC(ipath=IPATH, opts=OPTS, src='dxf_composite1.cxx', obj='dxf_composite1.obj')
  4523. CompileLIB(lib='libdxf.lib', obj=['dxf_composite1.obj'])
  4524. #
  4525. # DIRECTORY: pandatool/src/dxfegg/
  4526. #
  4527. IPATH=['pandatool/src/dxfegg']
  4528. OPTS=['NSPR']
  4529. CompileC(ipath=IPATH, opts=OPTS, src='dxfToEggConverter.cxx', obj='dxfegg_dxfToEggConverter.obj')
  4530. CompileC(ipath=IPATH, opts=OPTS, src='dxfToEggLayer.cxx', obj='dxfegg_dxfToEggLayer.obj')
  4531. CompileLIB(lib='libdxfegg.lib', obj=[
  4532. 'dxfegg_dxfToEggConverter.obj',
  4533. 'dxfegg_dxfToEggLayer.obj',
  4534. ])
  4535. #
  4536. # DIRECTORY: pandatool/src/dxfprogs/
  4537. #
  4538. IPATH=['pandatool/src/dxfprogs']
  4539. OPTS=['NSPR']
  4540. CompileC(ipath=IPATH, opts=OPTS, src='dxfPoints.cxx', obj='dxf-points_dxfPoints.obj')
  4541. CompileLink(dll='dxf-points.exe', opts=['ADVAPI', 'NSPR', 'FFTW'], obj=[
  4542. 'dxf-points_dxfPoints.obj',
  4543. 'libprogbase.lib',
  4544. 'libdxf.lib',
  4545. 'libpandatoolbase.lib',
  4546. 'libpanda.dll',
  4547. 'libpandaexpress.dll',
  4548. 'libdtoolconfig.dll',
  4549. 'libdtool.dll',
  4550. 'libpystub.dll',
  4551. ])
  4552. CompileC(ipath=IPATH, opts=OPTS, src='dxfToEgg.cxx', obj='dxf2egg_dxfToEgg.obj')
  4553. CompileLink(dll='dxf2egg.exe', opts=['ADVAPI', 'NSPR', 'FFTW'], obj=[
  4554. 'dxf2egg_dxfToEgg.obj',
  4555. 'libdxfegg.lib',
  4556. 'libdxf.lib',
  4557. 'libeggbase.lib',
  4558. 'libprogbase.lib',
  4559. 'libpandatoolbase.lib',
  4560. 'libconverter.lib',
  4561. 'libpandaegg.dll',
  4562. 'libpanda.dll',
  4563. 'libpandaexpress.dll',
  4564. 'libdtoolconfig.dll',
  4565. 'libdtool.dll',
  4566. 'libpystub.dll',
  4567. ])
  4568. CompileC(ipath=IPATH, opts=OPTS, src='eggToDXF.cxx', obj='egg2dxf_eggToDXF.obj')
  4569. CompileC(ipath=IPATH, opts=OPTS, src='eggToDXFLayer.cxx', obj='egg2dxf_eggToDXFLayer.obj')
  4570. CompileLink(dll='egg2dxf.exe', opts=['ADVAPI', 'NSPR', 'FFTW'], obj=[
  4571. 'egg2dxf_eggToDXF.obj',
  4572. 'egg2dxf_eggToDXFLayer.obj',
  4573. 'libdxf.lib',
  4574. 'libeggbase.lib',
  4575. 'libprogbase.lib',
  4576. 'libpandatoolbase.lib',
  4577. 'libconverter.lib',
  4578. 'libpandaegg.dll',
  4579. 'libpanda.dll',
  4580. 'libpandaexpress.dll',
  4581. 'libdtoolconfig.dll',
  4582. 'libdtool.dll',
  4583. 'libpystub.dll',
  4584. ])
  4585. #
  4586. # DIRECTORY: pandatool/src/palettizer/
  4587. #
  4588. IPATH=['pandatool/src/palettizer']
  4589. OPTS=['NSPR']
  4590. CompileC(ipath=IPATH, opts=OPTS, src='palettizer_composite1.cxx', obj='palettizer_composite1.obj')
  4591. CompileLIB(lib='libpalettizer.lib', obj=['palettizer_composite1.obj'])
  4592. #
  4593. # DIRECTORY: pandatool/src/egg-mkfont/
  4594. #
  4595. IPATH=['pandatool/src/egg-mkfont', 'pandatool/src/palettizer']
  4596. OPTS=['NSPR', 'FREETYPE']
  4597. CompileC(ipath=IPATH, opts=OPTS, src='eggMakeFont.cxx', obj='egg-mkfont_eggMakeFont.obj')
  4598. CompileC(ipath=IPATH, opts=OPTS, src='rangeDescription.cxx', obj='egg-mkfont_rangeDescription.obj')
  4599. CompileC(ipath=IPATH, opts=OPTS, src='rangeIterator.cxx', obj='egg-mkfont_rangeIterator.obj')
  4600. CompileLink(dll='egg-mkfont.exe', opts=['ADVAPI', 'NSPR', 'FREETYPE'], obj=[
  4601. 'egg-mkfont_eggMakeFont.obj',
  4602. 'egg-mkfont_rangeDescription.obj',
  4603. 'egg-mkfont_rangeIterator.obj',
  4604. 'libpalettizer.lib',
  4605. 'libeggbase.lib',
  4606. 'libprogbase.lib',
  4607. 'libpandatoolbase.lib',
  4608. 'libconverter.lib',
  4609. 'libpandaegg.dll',
  4610. 'libpanda.dll',
  4611. 'libpandaexpress.dll',
  4612. 'libdtoolconfig.dll',
  4613. 'libdtool.dll',
  4614. 'libpystub.dll',
  4615. ])
  4616. #
  4617. # DIRECTORY: pandatool/src/eggcharbase/
  4618. #
  4619. IPATH=['pandatool/src/eggcharbase']
  4620. OPTS=['ZLIB', 'NSPR']
  4621. CompileC(ipath=IPATH, opts=OPTS, src='eggcharbase_composite1.cxx', obj='eggcharbase_composite1.obj')
  4622. CompileLIB(lib='libeggcharbase.lib', obj=['eggcharbase_composite1.obj'])
  4623. #
  4624. # DIRECTORY: pandatool/src/egg-optchar/
  4625. #
  4626. IPATH=['pandatool/src/egg-optchar']
  4627. OPTS=['NSPR']
  4628. CompileC(ipath=IPATH, opts=OPTS, src='config_egg_optchar.cxx', obj='egg-optchar_config_egg_optchar.obj')
  4629. CompileC(ipath=IPATH, opts=OPTS, src='eggOptchar.cxx', obj='egg-optchar_eggOptchar.obj')
  4630. CompileC(ipath=IPATH, opts=OPTS, src='eggOptcharUserData.cxx', obj='egg-optchar_eggOptcharUserData.obj')
  4631. CompileC(ipath=IPATH, opts=OPTS, src='vertexMembership.cxx', obj='egg-optchar_vertexMembership.obj')
  4632. CompileLink(dll='egg-optchar.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4633. 'egg-optchar_config_egg_optchar.obj',
  4634. 'egg-optchar_eggOptchar.obj',
  4635. 'egg-optchar_eggOptcharUserData.obj',
  4636. 'egg-optchar_vertexMembership.obj',
  4637. 'libeggcharbase.lib',
  4638. 'libconverter.lib',
  4639. 'libeggbase.lib',
  4640. 'libprogbase.lib',
  4641. 'libpandatoolbase.lib',
  4642. 'libpandaegg.dll',
  4643. 'libpanda.dll',
  4644. 'libpandaexpress.dll',
  4645. 'libdtoolconfig.dll',
  4646. 'libdtool.dll',
  4647. 'libpystub.dll',
  4648. ])
  4649. #
  4650. # DIRECTORY: pandatool/src/egg-palettize/
  4651. #
  4652. IPATH=['pandatool/src/egg-palettize', 'pandatool/src/palettizer']
  4653. OPTS=['NSPR']
  4654. CompileC(ipath=IPATH, opts=OPTS, src='eggPalettize.cxx', obj='egg-palettize_eggPalettize.obj')
  4655. CompileLink(dll='egg-palettize.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4656. 'egg-palettize_eggPalettize.obj',
  4657. 'libpalettizer.lib',
  4658. 'libeggbase.lib',
  4659. 'libprogbase.lib',
  4660. 'libpandatoolbase.lib',
  4661. 'libconverter.lib',
  4662. 'libpandaegg.dll',
  4663. 'libpanda.dll',
  4664. 'libpandaexpress.dll',
  4665. 'libdtoolconfig.dll',
  4666. 'libdtool.dll',
  4667. 'libpystub.dll',
  4668. ])
  4669. #
  4670. # DIRECTORY: pandatool/src/egg-qtess/
  4671. #
  4672. IPATH=['pandatool/src/egg-qtess']
  4673. OPTS=['NSPR']
  4674. CompileC(ipath=IPATH, opts=OPTS, src='egg-qtess_composite1.cxx', obj='egg-qtess_composite1.obj')
  4675. CompileLink(dll='egg-qtess.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4676. 'egg-qtess_composite1.obj',
  4677. 'libeggbase.lib',
  4678. 'libprogbase.lib',
  4679. 'libconverter.lib',
  4680. 'libpandatoolbase.lib',
  4681. 'libpandaegg.dll',
  4682. 'libpanda.dll',
  4683. 'libpandaexpress.dll',
  4684. 'libdtoolconfig.dll',
  4685. 'libdtool.dll',
  4686. 'libpystub.dll',
  4687. ])
  4688. #
  4689. # DIRECTORY: pandatool/src/eggprogs/
  4690. #
  4691. IPATH=['pandatool/src/eggprogs']
  4692. OPTS=['NSPR']
  4693. CompileC(ipath=IPATH, opts=OPTS, src='eggCrop.cxx', obj='egg-crop_eggCrop.obj')
  4694. CompileLink(dll='egg-crop.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4695. 'egg-crop_eggCrop.obj',
  4696. 'libconverter.lib',
  4697. 'libeggbase.lib',
  4698. 'libprogbase.lib',
  4699. 'libpandatoolbase.lib',
  4700. 'libpandaegg.dll',
  4701. 'libpanda.dll',
  4702. 'libpandaexpress.dll',
  4703. 'libdtoolconfig.dll',
  4704. 'libdtool.dll',
  4705. 'libpystub.dll',
  4706. ])
  4707. CompileC(ipath=IPATH, opts=OPTS, src='eggMakeTube.cxx', obj='egg-make-tube_eggMakeTube.obj')
  4708. CompileLink(dll='egg-make-tube.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4709. 'egg-make-tube_eggMakeTube.obj',
  4710. 'libconverter.lib',
  4711. 'libeggbase.lib',
  4712. 'libprogbase.lib',
  4713. 'libpandatoolbase.lib',
  4714. 'libpandaegg.dll',
  4715. 'libpanda.dll',
  4716. 'libpandaexpress.dll',
  4717. 'libdtoolconfig.dll',
  4718. 'libdtool.dll',
  4719. 'libpystub.dll',
  4720. ])
  4721. CompileC(ipath=IPATH, opts=OPTS, src='eggTextureCards.cxx', obj='egg-texture-cards_eggTextureCards.obj')
  4722. CompileLink(dll='egg-texture-cards.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4723. 'egg-texture-cards_eggTextureCards.obj',
  4724. 'libconverter.lib',
  4725. 'libeggbase.lib',
  4726. 'libprogbase.lib',
  4727. 'libpandatoolbase.lib',
  4728. 'libpandaegg.dll',
  4729. 'libpanda.dll',
  4730. 'libpandaexpress.dll',
  4731. 'libdtoolconfig.dll',
  4732. 'libdtool.dll',
  4733. 'libpystub.dll',
  4734. ])
  4735. CompileC(ipath=IPATH, opts=OPTS, src='eggTopstrip.cxx', obj='egg-topstrip_eggTopstrip.obj')
  4736. CompileLink(dll='egg-topstrip.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4737. 'egg-topstrip_eggTopstrip.obj',
  4738. 'libeggcharbase.lib',
  4739. 'libconverter.lib',
  4740. 'libeggbase.lib',
  4741. 'libprogbase.lib',
  4742. 'libpandatoolbase.lib',
  4743. 'libpandaegg.dll',
  4744. 'libpanda.dll',
  4745. 'libpandaexpress.dll',
  4746. 'libdtoolconfig.dll',
  4747. 'libdtool.dll',
  4748. 'libpystub.dll',
  4749. ])
  4750. CompileC(ipath=IPATH, opts=OPTS, src='eggTrans.cxx', obj='egg-trans_eggTrans.obj')
  4751. CompileLink(dll='egg-trans.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4752. 'egg-trans_eggTrans.obj',
  4753. 'libconverter.lib',
  4754. 'libeggbase.lib',
  4755. 'libprogbase.lib',
  4756. 'libpandatoolbase.lib',
  4757. 'libpandaegg.dll',
  4758. 'libpanda.dll',
  4759. 'libpandaexpress.dll',
  4760. 'libdtoolconfig.dll',
  4761. 'libdtool.dll',
  4762. 'libpystub.dll',
  4763. ])
  4764. CompileC(ipath=IPATH, opts=OPTS, src='eggToC.cxx', obj='egg2c_eggToC.obj')
  4765. CompileLink(dll='egg2c.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4766. 'egg2c_eggToC.obj',
  4767. 'libconverter.lib',
  4768. 'libeggbase.lib',
  4769. 'libprogbase.lib',
  4770. 'libpandatoolbase.lib',
  4771. 'libpandaegg.dll',
  4772. 'libpanda.dll',
  4773. 'libpandaexpress.dll',
  4774. 'libdtoolconfig.dll',
  4775. 'libdtool.dll',
  4776. 'libpystub.dll',
  4777. ])
  4778. #
  4779. # DIRECTORY: pandatool/src/flt/
  4780. #
  4781. IPATH=['pandatool/src/flt']
  4782. OPTS=['NSPR']
  4783. CompileC(ipath=IPATH, opts=OPTS, src='fltVectorRecord.cxx', obj='flt_fltVectorRecord.obj')
  4784. CompileC(ipath=IPATH, opts=OPTS, src='flt_composite1.cxx', obj='flt_composite1.obj')
  4785. CompileLIB(lib='libflt.lib', obj=['flt_fltVectorRecord.obj', 'flt_composite1.obj'])
  4786. #
  4787. # DIRECTORY: pandatool/src/fltegg/
  4788. #
  4789. IPATH=['pandatool/src/fltegg']
  4790. OPTS=['NSPR']
  4791. CompileC(ipath=IPATH, opts=OPTS, src='fltToEggConverter.cxx', obj='fltegg_fltToEggConverter.obj')
  4792. CompileC(ipath=IPATH, opts=OPTS, src='fltToEggLevelState.cxx', obj='fltegg_fltToEggLevelState.obj')
  4793. CompileLIB(lib='libfltegg.lib', obj=['fltegg_fltToEggConverter.obj', 'fltegg_fltToEggLevelState.obj'])
  4794. #
  4795. # DIRECTORY: pandatool/src/fltprogs/
  4796. #
  4797. IPATH=['pandatool/src/fltprogs', 'pandatool/src/flt', 'pandatool/src/cvscopy']
  4798. OPTS=['NSPR']
  4799. CompileC(ipath=IPATH, opts=OPTS, src='eggToFlt.cxx', obj='egg2flt_eggToFlt.obj')
  4800. CompileLink(dll='egg2flt.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4801. 'egg2flt_eggToFlt.obj',
  4802. 'libflt.lib',
  4803. 'libeggbase.lib',
  4804. 'libprogbase.lib',
  4805. 'libconverter.lib',
  4806. 'libpandatoolbase.lib',
  4807. 'libpandaegg.dll',
  4808. 'libpanda.dll',
  4809. 'libpandaexpress.dll',
  4810. 'libdtoolconfig.dll',
  4811. 'libdtool.dll',
  4812. 'libpystub.dll',
  4813. ])
  4814. CompileC(ipath=IPATH, opts=OPTS, src='fltInfo.cxx', obj='flt-info_fltInfo.obj')
  4815. CompileLink(dll='flt-info.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4816. 'flt-info_fltInfo.obj',
  4817. 'libprogbase.lib',
  4818. 'libflt.lib',
  4819. 'libpandatoolbase.lib',
  4820. 'libconverter.lib',
  4821. 'libpandaegg.dll',
  4822. 'libpanda.dll',
  4823. 'libpandaexpress.dll',
  4824. 'libdtoolconfig.dll',
  4825. 'libdtool.dll',
  4826. 'libpystub.dll',
  4827. ])
  4828. CompileC(ipath=IPATH, opts=OPTS, src='fltTrans.cxx', obj='flt-trans_fltTrans.obj')
  4829. CompileLink(dll='flt-trans.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4830. 'flt-trans_fltTrans.obj',
  4831. 'libprogbase.lib',
  4832. 'libflt.lib',
  4833. 'libpandatoolbase.lib',
  4834. 'libconverter.lib',
  4835. 'libpandaegg.dll',
  4836. 'libpanda.dll',
  4837. 'libpandaexpress.dll',
  4838. 'libdtoolconfig.dll',
  4839. 'libdtool.dll',
  4840. 'libpystub.dll',
  4841. ])
  4842. CompileC(ipath=IPATH, opts=OPTS, src='fltToEgg.cxx', obj='flt2egg_fltToEgg.obj')
  4843. CompileLink(dll='flt2egg.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4844. 'flt2egg_fltToEgg.obj',
  4845. 'libflt.lib',
  4846. 'libfltegg.lib',
  4847. 'libeggbase.lib',
  4848. 'libprogbase.lib',
  4849. 'libconverter.lib',
  4850. 'libpandatoolbase.lib',
  4851. 'libpandaegg.dll',
  4852. 'libpanda.dll',
  4853. 'libpandaexpress.dll',
  4854. 'libdtoolconfig.dll',
  4855. 'libdtool.dll',
  4856. 'libpystub.dll',
  4857. ])
  4858. CompileC(ipath=IPATH, opts=OPTS, src='fltCopy.cxx', obj='fltcopy_fltCopy.obj')
  4859. CompileLink(dll='fltcopy.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4860. 'fltcopy_fltCopy.obj',
  4861. 'libcvscopy.lib',
  4862. 'libflt.lib',
  4863. 'libprogbase.lib',
  4864. 'libpandatoolbase.lib',
  4865. 'libconverter.lib',
  4866. 'libpandaegg.dll',
  4867. 'libpanda.dll',
  4868. 'libpandaexpress.dll',
  4869. 'libdtoolconfig.dll',
  4870. 'libdtool.dll',
  4871. 'libpystub.dll',
  4872. ])
  4873. #
  4874. # DIRECTORY: pandatool/src/imagebase/
  4875. #
  4876. IPATH=['pandatool/src/imagebase']
  4877. OPTS=['NSPR']
  4878. CompileC(ipath=IPATH, opts=OPTS, src='imagebase_composite1.cxx', obj='imagebase_composite1.obj')
  4879. CompileLIB(lib='libimagebase.lib', obj=['imagebase_composite1.obj'])
  4880. #
  4881. # DIRECTORY: pandatool/src/imageprogs/
  4882. #
  4883. IPATH=['pandatool/src/imageprogs']
  4884. OPTS=['NSPR']
  4885. CompileC(ipath=IPATH, opts=OPTS, src='imageInfo.cxx', obj='image-info_imageInfo.obj')
  4886. CompileLink(dll='image-info.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4887. 'image-info_imageInfo.obj',
  4888. 'libimagebase.lib',
  4889. 'libprogbase.lib',
  4890. 'libpandatoolbase.lib',
  4891. 'libpandaegg.dll',
  4892. 'libpanda.dll',
  4893. 'libpandaexpress.dll',
  4894. 'libdtoolconfig.dll',
  4895. 'libdtool.dll',
  4896. 'libpystub.dll',
  4897. ])
  4898. CompileC(ipath=IPATH, opts=OPTS, src='imageResize.cxx', obj='image-resize_imageResize.obj')
  4899. CompileLink(dll='image-resize.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4900. 'image-resize_imageResize.obj',
  4901. 'libimagebase.lib',
  4902. 'libprogbase.lib',
  4903. 'libpandatoolbase.lib',
  4904. 'libpandaegg.dll',
  4905. 'libpanda.dll',
  4906. 'libpandaexpress.dll',
  4907. 'libdtoolconfig.dll',
  4908. 'libdtool.dll',
  4909. 'libpystub.dll',
  4910. ])
  4911. CompileC(ipath=IPATH, opts=OPTS, src='imageTrans.cxx', obj='image-trans_imageTrans.obj')
  4912. CompileLink(dll='image-trans.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4913. 'image-trans_imageTrans.obj',
  4914. 'libimagebase.lib',
  4915. 'libprogbase.lib',
  4916. 'libpandatoolbase.lib',
  4917. 'libpandaegg.dll',
  4918. 'libpanda.dll',
  4919. 'libpandaexpress.dll',
  4920. 'libdtoolconfig.dll',
  4921. 'libdtool.dll',
  4922. 'libpystub.dll',
  4923. ])
  4924. #
  4925. # DIRECTORY: pandatool/src/lwo/
  4926. #
  4927. IPATH=['pandatool/src/lwo']
  4928. OPTS=['NSPR']
  4929. CompileC(ipath=IPATH, opts=OPTS, src='lwo_composite1.cxx', obj='lwo_composite1.obj')
  4930. CompileLIB(lib='liblwo.lib', obj=['lwo_composite1.obj'])
  4931. #
  4932. # DIRECTORY: pandatool/src/lwoegg/
  4933. #
  4934. IPATH=['pandatool/src/lwoegg']
  4935. OPTS=['NSPR']
  4936. CompileC(ipath=IPATH, opts=OPTS, src='lwoegg_composite1.cxx', obj='lwoegg_composite1.obj')
  4937. CompileLIB(lib='liblwoegg.lib', obj=['lwoegg_composite1.obj'])
  4938. #
  4939. # DIRECTORY: pandatool/src/lwoprogs/
  4940. #
  4941. IPATH=['pandatool/src/lwoprogs', 'pandatool/src/lwo']
  4942. OPTS=['NSPR']
  4943. CompileC(ipath=IPATH, opts=OPTS, src='lwoScan.cxx', obj='lwo-scan_lwoScan.obj')
  4944. CompileLink(dll='lwo-scan.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4945. 'lwo-scan_lwoScan.obj',
  4946. 'liblwo.lib',
  4947. 'libprogbase.lib',
  4948. 'libpandatoolbase.lib',
  4949. 'libpandaegg.dll',
  4950. 'libpanda.dll',
  4951. 'libpandaexpress.dll',
  4952. 'libdtoolconfig.dll',
  4953. 'libdtool.dll',
  4954. 'libpystub.dll',
  4955. ])
  4956. CompileC(ipath=IPATH, opts=OPTS, src='lwoToEgg.cxx', obj='lwo2egg_lwoToEgg.obj')
  4957. CompileLink(dll='lwo2egg.exe', opts=['ADVAPI', 'NSPR'], obj=[
  4958. 'lwo2egg_lwoToEgg.obj',
  4959. 'liblwo.lib',
  4960. 'liblwoegg.lib',
  4961. 'libeggbase.lib',
  4962. 'libprogbase.lib',
  4963. 'libpandatoolbase.lib',
  4964. 'libconverter.lib',
  4965. 'libpandaegg.dll',
  4966. 'libpanda.dll',
  4967. 'libpandaexpress.dll',
  4968. 'libdtoolconfig.dll',
  4969. 'libdtool.dll',
  4970. 'libpystub.dll',
  4971. ])
  4972. #
  4973. # DIRECTORY: pandatool/src/maya/
  4974. #
  4975. for VER in ["5","6"]:
  4976. if (OMIT.count("MAYA"+VER)==0):
  4977. IPATH=['pandatool/src/maya']
  4978. OPTS=['MAYA'+VER, 'NSPR']
  4979. CompileC(ipath=IPATH, opts=OPTS, src='config_maya.cxx', obj='maya'+VER+'_config_maya.obj')
  4980. CompileC(ipath=IPATH, opts=OPTS, src='mayaApi.cxx', obj='maya'+VER+'_mayaApi.obj')
  4981. CompileC(ipath=IPATH, opts=OPTS, src='mayaShader.cxx', obj='maya'+VER+'_mayaShader.obj')
  4982. CompileC(ipath=IPATH, opts=OPTS, src='mayaShaderColorDef.cxx', obj='maya'+VER+'_mayaShaderColorDef.obj')
  4983. CompileC(ipath=IPATH, opts=OPTS, src='mayaShaders.cxx', obj='maya'+VER+'_mayaShaders.obj')
  4984. CompileC(ipath=IPATH, opts=OPTS, src='maya_funcs.cxx', obj='maya'+VER+'_funcs.obj')
  4985. CompileLIB(lib='libmaya'+VER+'.lib', obj=[
  4986. 'maya'+VER+'_config_maya.obj',
  4987. 'maya'+VER+'_mayaApi.obj',
  4988. 'maya'+VER+'_mayaShader.obj',
  4989. 'maya'+VER+'_mayaShaderColorDef.obj',
  4990. 'maya'+VER+'_mayaShaders.obj',
  4991. 'maya'+VER+'_funcs.obj',
  4992. ])
  4993. #
  4994. # DIRECTORY: pandatool/src/mayaegg/
  4995. #
  4996. for VER in ["5","6"]:
  4997. if (OMIT.count("MAYA"+VER)==0):
  4998. IPATH=['pandatool/src/mayaegg', 'pandatool/src/maya']
  4999. OPTS=['MAYA'+VER, 'NSPR']
  5000. CompileC(ipath=IPATH, opts=OPTS, src='config_mayaegg.cxx', obj='mayaegg'+VER+'_config_mayaegg.obj')
  5001. CompileC(ipath=IPATH, opts=OPTS, src='mayaEggGroupUserData.cxx', obj='mayaegg'+VER+'_mayaEggGroupUserData.obj')
  5002. CompileC(ipath=IPATH, opts=OPTS, src='mayaBlendDesc.cxx', obj='mayaegg'+VER+'_mayaBlendDesc.obj')
  5003. CompileC(ipath=IPATH, opts=OPTS, src='mayaNodeDesc.cxx', obj='mayaegg'+VER+'_mayaNodeDesc.obj')
  5004. CompileC(ipath=IPATH, opts=OPTS, src='mayaNodeTree.cxx', obj='mayaegg'+VER+'_mayaNodeTree.obj')
  5005. CompileC(ipath=IPATH, opts=OPTS, src='mayaToEggConverter.cxx', obj='mayaegg'+VER+'_mayaToEggConverter.obj')
  5006. CompileLIB(lib='libmayaegg'+VER+'.lib', obj=[
  5007. 'mayaegg'+VER+'_config_mayaegg.obj',
  5008. 'mayaegg'+VER+'_mayaEggGroupUserData.obj',
  5009. 'mayaegg'+VER+'_mayaBlendDesc.obj',
  5010. 'mayaegg'+VER+'_mayaNodeDesc.obj',
  5011. 'mayaegg'+VER+'_mayaNodeTree.obj',
  5012. 'mayaegg'+VER+'_mayaToEggConverter.obj'
  5013. ])
  5014. #
  5015. # DIRECTORY: pandatool/src/maxegg/
  5016. #
  5017. for VER in ["5", "6", "7"]:
  5018. if (OMIT.count("MAX"+VER)==0):
  5019. IPATH=['pandatool/src/maxegg']
  5020. OPTS=['MAX'+VER, 'NSPR', "WINCOMCTL", "WINUSER", "MAXEGGDEF"]
  5021. CompileC(ipath=IPATH, opts=OPTS, src='DllEntry.cpp', obj='maxegg'+VER+'_DllEntry.obj')
  5022. CompileC(ipath=IPATH, opts=OPTS, src='Logger.cpp', obj='maxegg'+VER+'_Logger.obj')
  5023. CompileC(ipath=IPATH, opts=OPTS, src='MaxEgg.cpp', obj='maxegg'+VER+'_MaxEgg.obj')
  5024. CompileC(ipath=IPATH, opts=OPTS, src='maxNodeDesc.cxx', obj='maxegg'+VER+'_maxNodeDesc.obj')
  5025. CompileC(ipath=IPATH, opts=OPTS, src='MaxNodeTree.cxx', obj='maxegg'+VER+'_MaxNodeTree.obj')
  5026. CompileC(ipath=IPATH, opts=OPTS, src='MaxToEgg.cpp', obj='maxegg'+VER+'_MaxToEgg.obj')
  5027. CompileC(ipath=IPATH, opts=OPTS, src='MaxToEggConverter.cxx',obj='maxegg'+VER+'_MaxToEggConverter.obj')
  5028. CompileRES(ipath=IPATH, opts=OPTS, src='MaxEgg.rc', obj='maxegg'+VER+'_MaxEgg.res')
  5029. CompileLink(opts=OPTS, dll='maxegg'+VER+'.dle', obj=[
  5030. 'maxegg'+VER+'_DllEntry.obj',
  5031. 'maxegg'+VER+'_Logger.obj',
  5032. 'maxegg'+VER+'_MaxEgg.obj',
  5033. 'maxegg'+VER+'_maxNodeDesc.obj',
  5034. 'maxegg'+VER+'_MaxNodeTree.obj',
  5035. 'maxegg'+VER+'_MaxToEgg.obj',
  5036. 'maxegg'+VER+'_MaxToEggConverter.obj',
  5037. 'maxegg'+VER+'_MaxEgg.res',
  5038. 'libeggbase.lib',
  5039. 'libprogbase.lib',
  5040. 'libpandatoolbase.lib',
  5041. 'libconverter.lib',
  5042. 'libpandaegg.dll',
  5043. 'libpanda.dll',
  5044. 'libpandaexpress.dll',
  5045. 'libdtoolconfig.dll',
  5046. 'libdtool.dll',
  5047. 'libpystub.dll'
  5048. ])
  5049. #
  5050. # DIRECTORY: pandatool/src/vrml/
  5051. #
  5052. CompileBison(pre='vrmlyy', dstc='vrmlParser.cxx', dsth='vrmlParser.h', src='pandatool/src/vrml/vrmlParser.yxx')
  5053. CompileFlex(pre='vrmlyy', dst='vrmlLexer.cxx', src='pandatool/src/vrml/vrmlLexer.lxx', dashi=0)
  5054. IPATH=['pandatool/src/vrml']
  5055. OPTS=['ZLIB', 'NSPR']
  5056. CompileC(ipath=IPATH, opts=OPTS, src='parse_vrml.cxx', obj='pvrml_parse_vrml.obj')
  5057. CompileC(ipath=IPATH, opts=OPTS, src='standard_nodes.cxx', obj='pvrml_standard_nodes.obj')
  5058. CompileC(ipath=IPATH, opts=OPTS, src='vrmlNode.cxx', obj='pvrml_vrmlNode.obj')
  5059. CompileC(ipath=IPATH, opts=OPTS, src='vrmlNodeType.cxx', obj='pvrml_vrmlNodeType.obj')
  5060. CompileC(ipath=IPATH, opts=OPTS, src='vrmlParser.cxx', obj='pvrml_vrmlParser.obj')
  5061. CompileC(ipath=IPATH, opts=OPTS, src='vrmlLexer.cxx', obj='pvrml_vrmlLexer.obj')
  5062. CompileLIB(lib='libpvrml.lib', obj=[
  5063. 'pvrml_parse_vrml.obj',
  5064. 'pvrml_standard_nodes.obj',
  5065. 'pvrml_vrmlNode.obj',
  5066. 'pvrml_vrmlNodeType.obj',
  5067. 'pvrml_vrmlParser.obj',
  5068. 'pvrml_vrmlLexer.obj',
  5069. ])
  5070. #
  5071. # DIRECTORY: pandatool/src/vrmlegg/
  5072. #
  5073. IPATH=['pandatool/src/vrmlegg', 'pandatool/src/vrml']
  5074. OPTS=['NSPR']
  5075. CompileC(ipath=IPATH, opts=OPTS, src='indexedFaceSet.cxx', obj='vrmlegg_indexedFaceSet.obj')
  5076. CompileC(ipath=IPATH, opts=OPTS, src='vrmlAppearance.cxx', obj='vrmlegg_vrmlAppearance.obj')
  5077. CompileC(ipath=IPATH, opts=OPTS, src='vrmlToEggConverter.cxx', obj='vrmlegg_vrmlToEggConverter.obj')
  5078. CompileLIB(lib='libvrmlegg.lib', obj=[
  5079. 'vrmlegg_indexedFaceSet.obj',
  5080. 'vrmlegg_vrmlAppearance.obj',
  5081. 'vrmlegg_vrmlToEggConverter.obj',
  5082. ])
  5083. #
  5084. # DIRECTORY: pandatool/src/xfile/
  5085. #
  5086. CompileBison(pre='xyy', dstc='xParser.cxx', dsth='xParser.h', src='pandatool/src/xfile/xParser.yxx')
  5087. CompileFlex(pre='xyy', dst='xLexer.cxx', src='pandatool/src/xfile/xLexer.lxx', dashi=1)
  5088. IPATH=['pandatool/src/xfile']
  5089. OPTS=['ZLIB', 'NSPR']
  5090. CompileC(ipath=IPATH, opts=OPTS, src='xfile_composite1.cxx', obj='xfile_composite1.obj')
  5091. CompileC(ipath=IPATH, opts=OPTS, src='xParser.cxx', obj='xfile_xParser.obj')
  5092. CompileC(ipath=IPATH, opts=OPTS, src='xLexer.cxx', obj='xfile_xLexer.obj')
  5093. CompileLIB(lib='libxfile.lib', obj=[
  5094. 'xfile_composite1.obj',
  5095. 'xfile_xParser.obj',
  5096. 'xfile_xLexer.obj',
  5097. ])
  5098. #
  5099. # DIRECTORY: pandatool/src/xfileegg/
  5100. #
  5101. IPATH=['pandatool/src/xfileegg', 'pandatool/src/xfile']
  5102. OPTS=['NSPR']
  5103. CompileC(ipath=IPATH, opts=OPTS, src='xfileegg_composite1.cxx', obj='xfileegg_composite1.obj')
  5104. CompileLIB(lib='libxfileegg.lib', obj=[
  5105. 'xfileegg_composite1.obj',
  5106. ])
  5107. #
  5108. # DIRECTORY: pandatool/src/ptloader/
  5109. #
  5110. IPATH=['pandatool/src/ptloader', 'pandatool/src/flt', 'pandatool/src/lwo', 'pandatool/src/xfile', 'pandatool/src/xfileegg']
  5111. OPTS=['BUILDING_PTLOADER', 'NSPR']
  5112. CompileC(ipath=IPATH, opts=OPTS, src='config_ptloader.cxx', obj='ptloader_config_ptloader.obj')
  5113. CompileC(ipath=IPATH, opts=OPTS, src='loaderFileTypePandatool.cxx', obj='ptloader_loaderFileTypePandatool.obj')
  5114. CompileLink(dll='libptloader.dll', opts=['ADVAPI', 'NSPR'], obj=[
  5115. 'ptloader_config_ptloader.obj',
  5116. 'ptloader_loaderFileTypePandatool.obj',
  5117. 'libfltegg.lib',
  5118. 'libflt.lib',
  5119. 'liblwoegg.lib',
  5120. 'liblwo.lib',
  5121. 'libdxfegg.lib',
  5122. 'libdxf.lib',
  5123. 'libvrmlegg.lib',
  5124. 'libpvrml.lib',
  5125. 'libxfileegg.lib',
  5126. 'libxfile.lib',
  5127. 'libconverter.lib',
  5128. 'libpandatoolbase.lib',
  5129. 'libeggbase.lib',
  5130. 'libprogbase.lib',
  5131. 'libpandaegg.dll',
  5132. 'libpanda.dll',
  5133. 'libpandaexpress.dll',
  5134. 'libdtoolconfig.dll',
  5135. 'libdtool.dll',
  5136. ])
  5137. #
  5138. # DIRECTORY: pandatool/src/mayaprogs/
  5139. #
  5140. for VER in ["5","6"]:
  5141. if (OMIT.count('MAYA'+VER)==0):
  5142. IPATH=['pandatool/src/mayaprogs', 'pandatool/src/maya', 'pandatool/src/mayaegg',
  5143. 'pandatool/src/cvscopy']
  5144. OPTS=['BUILDING_MISC', 'MAYA'+VER, 'NSPR']
  5145. CompileC(ipath=IPATH, opts=OPTS, src='config_mayaloader.cxx', obj='mayaloader'+VER+'_config_mayaloader.obj')
  5146. CompileLink(dll='libmayaloader'+VER+'.dll', opts=['ADVAPI', 'NSPR', 'MAYA'+VER], obj=[
  5147. 'mayaloader'+VER+'_config_mayaloader.obj',
  5148. 'libmayaegg'+VER+'.lib',
  5149. 'libptloader.lib',
  5150. 'libconverter.lib',
  5151. 'libpandatoolbase.lib',
  5152. 'libmaya'+VER+'.lib',
  5153. 'libfltegg.lib',
  5154. 'libflt.lib',
  5155. 'liblwoegg.lib',
  5156. 'liblwo.lib',
  5157. 'libdxfegg.lib',
  5158. 'libdxf.lib',
  5159. 'libvrmlegg.lib',
  5160. 'libpvrml.lib',
  5161. 'libxfileegg.lib',
  5162. 'libxfile.lib',
  5163. 'libeggbase.lib',
  5164. 'libprogbase.lib',
  5165. 'libpandaegg.dll',
  5166. 'libpanda.dll',
  5167. 'libpandaexpress.dll',
  5168. 'libdtoolconfig.dll',
  5169. 'libdtool.dll',
  5170. ])
  5171. CompileC(ipath=IPATH, opts=OPTS, src='mayaPview.cxx', obj='mayapview'+VER+'_mayaPview.obj')
  5172. CompileLink(dll='libmayapview'+VER+'.dll', opts=['ADVAPI', 'NSPR', 'MAYA'+VER], obj=[
  5173. 'mayapview'+VER+'_mayaPview.obj',
  5174. 'libmayaegg'+VER+'.lib',
  5175. 'libmaya'+VER+'.lib',
  5176. 'libconverter.lib',
  5177. 'libpandatoolbase.lib',
  5178. 'libpandaegg.dll',
  5179. 'libframework.dll',
  5180. 'libpanda.dll',
  5181. 'libpandaexpress.dll',
  5182. 'libdtoolconfig.dll',
  5183. 'libdtool.dll',
  5184. 'libpystub.dll',
  5185. ])
  5186. IPATH=['pandatool/src/mayaprogs', 'pandatool/src/maya', 'pandatool/src/mayaegg',
  5187. 'pandatool/src/cvscopy']
  5188. OPTS=['MAYA'+VER, 'NSPR']
  5189. CompileC(ipath=IPATH, opts=OPTS, src='mayaSavePview.cxx', obj='mayasavepview'+VER+'_mayaSavePview.obj')
  5190. CompileLink(dll='libmayasavepview.dll', opts=['ADVAPI', 'NSPR', 'MAYA'+VER], obj=[
  5191. 'mayasavepview'+VER+'_mayaSavePview.obj',
  5192. ])
  5193. CompileC(ipath=IPATH, opts=OPTS, src='mayaToEgg.cxx', obj='maya2egg'+VER+'_mayaToEgg.obj')
  5194. CompileLink(dll='maya2egg'+VER+'.exe', opts=['ADVAPI', 'NSPR', 'MAYA'+VER], obj=[
  5195. 'maya2egg'+VER+'_mayaToEgg.obj',
  5196. 'libmayaegg'+VER+'.lib',
  5197. 'libmaya'+VER+'.lib',
  5198. 'libeggbase.lib',
  5199. 'libprogbase.lib',
  5200. 'libconverter.lib',
  5201. 'libpandatoolbase.lib',
  5202. 'libpandaegg.dll',
  5203. 'libpanda.dll',
  5204. 'libpandaexpress.dll',
  5205. 'libdtoolconfig.dll',
  5206. 'libdtool.dll',
  5207. 'libpystub.dll',
  5208. ])
  5209. CompileC(ipath=IPATH, opts=OPTS, src='mayaCopy.cxx', obj='mayacopy'+VER+'_mayaCopy.obj')
  5210. CompileLink(dll='mayacopy'+VER+'.exe', opts=['ADVAPI', 'NSPR', 'MAYA'+VER], obj=[
  5211. 'mayacopy'+VER+'_mayaCopy.obj',
  5212. 'libcvscopy.lib',
  5213. 'libmaya'+VER+'.lib',
  5214. 'libprogbase.lib',
  5215. 'libpandatoolbase.lib',
  5216. 'libconverter.lib',
  5217. 'libpandaegg.dll',
  5218. 'libpanda.dll',
  5219. 'libpandaexpress.dll',
  5220. 'libdtoolconfig.dll',
  5221. 'libdtool.dll',
  5222. 'libpystub.dll',
  5223. ])
  5224. #
  5225. # DIRECTORY: pandatool/src/miscprogs/
  5226. #
  5227. IPATH=['pandatool/src/miscprogs']
  5228. OPTS=['NSPR']
  5229. CompileC(ipath=IPATH, opts=OPTS, src='binToC.cxx', obj='bin2c_binToC.obj')
  5230. CompileLink(dll='bin2c.exe', opts=['ADVAPI', 'NSPR'], obj=[
  5231. 'bin2c_binToC.obj',
  5232. 'libprogbase.lib',
  5233. 'libpandatoolbase.lib',
  5234. 'libpanda.dll',
  5235. 'libpandaexpress.dll',
  5236. 'libdtoolconfig.dll',
  5237. 'libdtool.dll',
  5238. 'libpystub.dll',
  5239. ])
  5240. #
  5241. # DIRECTORY: pandatool/src/pstatserver/
  5242. #
  5243. IPATH=['pandatool/src/pstatserver']
  5244. OPTS=['NSPR']
  5245. CompileC(ipath=IPATH, opts=OPTS, src='pStatClientData.cxx', obj='pstatserver_pStatClientData.obj')
  5246. CompileC(ipath=IPATH, opts=OPTS, src='pStatGraph.cxx', obj='pstatserver_pStatGraph.obj')
  5247. CompileC(ipath=IPATH, opts=OPTS, src='pStatListener.cxx', obj='pstatserver_pStatListener.obj')
  5248. CompileC(ipath=IPATH, opts=OPTS, src='pStatMonitor.cxx', obj='pstatserver_pStatMonitor.obj')
  5249. CompileC(ipath=IPATH, opts=OPTS, src='pStatPianoRoll.cxx', obj='pstatserver_pStatPianoRoll.obj')
  5250. CompileC(ipath=IPATH, opts=OPTS, src='pStatReader.cxx', obj='pstatserver_pStatReader.obj')
  5251. CompileC(ipath=IPATH, opts=OPTS, src='pStatServer.cxx', obj='pstatserver_pStatServer.obj')
  5252. CompileC(ipath=IPATH, opts=OPTS, src='pStatStripChart.cxx', obj='pstatserver_pStatStripChart.obj')
  5253. CompileC(ipath=IPATH, opts=OPTS, src='pStatThreadData.cxx', obj='pstatserver_pStatThreadData.obj')
  5254. CompileC(ipath=IPATH, opts=OPTS, src='pStatView.cxx', obj='pstatserver_pStatView.obj')
  5255. CompileC(ipath=IPATH, opts=OPTS, src='pStatViewLevel.cxx', obj='pstatserver_pStatViewLevel.obj')
  5256. CompileLIB(lib='libpstatserver.lib', obj=[
  5257. 'pstatserver_pStatClientData.obj',
  5258. 'pstatserver_pStatGraph.obj',
  5259. 'pstatserver_pStatListener.obj',
  5260. 'pstatserver_pStatMonitor.obj',
  5261. 'pstatserver_pStatPianoRoll.obj',
  5262. 'pstatserver_pStatReader.obj',
  5263. 'pstatserver_pStatServer.obj',
  5264. 'pstatserver_pStatStripChart.obj',
  5265. 'pstatserver_pStatThreadData.obj',
  5266. 'pstatserver_pStatView.obj',
  5267. 'pstatserver_pStatViewLevel.obj',
  5268. ])
  5269. #
  5270. # DIRECTORY: pandatool/src/softprogs/
  5271. #
  5272. IPATH=['pandatool/src/softprogs']
  5273. OPTS=['NSPR']
  5274. CompileC(ipath=IPATH, opts=OPTS, src='softCVS.cxx', obj='softcvs_softCVS.obj')
  5275. CompileC(ipath=IPATH, opts=OPTS, src='softFilename.cxx', obj='softcvs_softFilename.obj')
  5276. CompileLink(opts=['ADVAPI', 'NSPR'], dll='softcvs.exe', obj=[
  5277. 'softcvs_softCVS.obj',
  5278. 'softcvs_softFilename.obj',
  5279. 'libprogbase.lib',
  5280. 'libpandatoolbase.lib',
  5281. 'libpandaegg.dll',
  5282. 'libpanda.dll',
  5283. 'libpandaexpress.dll',
  5284. 'libdtoolconfig.dll',
  5285. 'libdtool.dll',
  5286. 'libpystub.dll',
  5287. ])
  5288. #
  5289. # DIRECTORY: pandatool/src/text-stats/
  5290. #
  5291. IPATH=['pandatool/src/text-stats']
  5292. OPTS=['NSPR']
  5293. CompileC(ipath=IPATH, opts=OPTS, src='textMonitor.cxx', obj='text-stats_textMonitor.obj')
  5294. CompileC(ipath=IPATH, opts=OPTS, src='textStats.cxx', obj='text-stats_textStats.obj')
  5295. CompileLink(opts=['ADVAPI', 'NSPR'], dll='text-stats.exe', obj=[
  5296. 'text-stats_textMonitor.obj',
  5297. 'text-stats_textStats.obj',
  5298. 'libprogbase.lib',
  5299. 'libpstatserver.lib',
  5300. 'libpandatoolbase.lib',
  5301. 'libpandaegg.dll',
  5302. 'libpanda.dll',
  5303. 'libpandaexpress.dll',
  5304. 'libdtoolconfig.dll',
  5305. 'libdtool.dll',
  5306. 'libpystub.dll',
  5307. ])
  5308. #
  5309. # DIRECTORY: pandatool/src/vrmlprogs/
  5310. #
  5311. IPATH=['pandatool/src/vrmlprogs', 'pandatool/src/vrml', 'pandatool/src/vrmlegg']
  5312. OPTS=['NSPR']
  5313. CompileC(ipath=IPATH, opts=OPTS, src='vrmlTrans.cxx', obj='vrml-trans_vrmlTrans.obj')
  5314. CompileLink(opts=['ADVAPI', 'NSPR'], dll='vrml-trans.exe', obj=[
  5315. 'vrml-trans_vrmlTrans.obj',
  5316. 'libprogbase.lib',
  5317. 'libpvrml.lib',
  5318. 'libpandatoolbase.lib',
  5319. 'libpanda.dll',
  5320. 'libpandaexpress.dll',
  5321. 'libdtoolconfig.dll',
  5322. 'libdtool.dll',
  5323. 'libpystub.dll',
  5324. ])
  5325. CompileC(ipath=IPATH, opts=OPTS, src='vrmlToEgg.cxx', obj='vrml2egg_vrmlToEgg.obj')
  5326. CompileLink(opts=['ADVAPI', 'NSPR'], dll='vrml2egg.exe', obj=[
  5327. 'vrml2egg_vrmlToEgg.obj',
  5328. 'libvrmlegg.lib',
  5329. 'libpvrml.lib',
  5330. 'libeggbase.lib',
  5331. 'libprogbase.lib',
  5332. 'libpandatoolbase.lib',
  5333. 'libconverter.lib',
  5334. 'libpandaegg.dll',
  5335. 'libpanda.dll',
  5336. 'libpandaexpress.dll',
  5337. 'libdtoolconfig.dll',
  5338. 'libdtool.dll',
  5339. 'libpystub.dll',
  5340. ])
  5341. #
  5342. # DIRECTORY: pandatool/src/win-stats/
  5343. #
  5344. if (sys.platform == "win32"):
  5345. IPATH=['pandatool/src/win-stats']
  5346. OPTS=['NSPR']
  5347. CompileC(ipath=IPATH, opts=OPTS, src='winStats.cxx', obj='pstats_winStats.obj')
  5348. CompileC(ipath=IPATH, opts=OPTS, src='winStatsChartMenu.cxx', obj='pstats_winStatsChartMenu.obj')
  5349. CompileC(ipath=IPATH, opts=OPTS, src='winStatsGraph.cxx', obj='pstats_winStatsGraph.obj')
  5350. CompileC(ipath=IPATH, opts=OPTS, src='winStatsLabel.cxx', obj='pstats_winStatsLabel.obj')
  5351. CompileC(ipath=IPATH, opts=OPTS, src='winStatsLabelStack.cxx', obj='pstats_winStatsLabelStack.obj')
  5352. CompileC(ipath=IPATH, opts=OPTS, src='winStatsMonitor.cxx', obj='pstats_winStatsMonitor.obj')
  5353. CompileC(ipath=IPATH, opts=OPTS, src='winStatsPianoRoll.cxx', obj='pstats_winStatsPianoRoll.obj')
  5354. CompileC(ipath=IPATH, opts=OPTS, src='winStatsServer.cxx', obj='pstats_winStatsServer.obj')
  5355. CompileC(ipath=IPATH, opts=OPTS, src='winStatsStripChart.cxx', obj='pstats_winStatsStripChart.obj')
  5356. CompileLink(opts=['WINSOCK', 'WINIMM', 'WINGDI', 'WINKERNEL', 'WINOLDNAMES', 'WINUSER', 'WINMM', 'NSPR'],
  5357. dll='pstats.exe', obj=[
  5358. 'pstats_winStats.obj',
  5359. 'pstats_winStatsChartMenu.obj',
  5360. 'pstats_winStatsGraph.obj',
  5361. 'pstats_winStatsLabel.obj',
  5362. 'pstats_winStatsLabelStack.obj',
  5363. 'pstats_winStatsMonitor.obj',
  5364. 'pstats_winStatsPianoRoll.obj',
  5365. 'pstats_winStatsServer.obj',
  5366. 'pstats_winStatsStripChart.obj',
  5367. 'libprogbase.lib',
  5368. 'libpstatserver.lib',
  5369. 'libpandatoolbase.lib',
  5370. 'libpandaexpress.dll',
  5371. 'libpanda.dll',
  5372. 'libdtoolconfig.dll',
  5373. 'libdtool.dll',
  5374. 'libpystub.dll',
  5375. ])
  5376. #
  5377. # DIRECTORY: pandatool/src/xfileprogs/
  5378. #
  5379. IPATH=['pandatool/src/xfileprogs', 'pandatool/src/xfile', 'pandatool/src/xfileegg']
  5380. OPTS=['NSPR']
  5381. CompileC(ipath=IPATH, opts=OPTS, src='eggToX.cxx', obj='egg2x_eggToX.obj')
  5382. CompileLink(dll='egg2x.exe', opts=['ADVAPI', 'NSPR'], obj=[
  5383. 'egg2x_eggToX.obj',
  5384. 'libxfileegg.lib',
  5385. 'libxfile.lib',
  5386. 'libeggbase.lib',
  5387. 'libprogbase.lib',
  5388. 'libpandatoolbase.lib',
  5389. 'libconverter.lib',
  5390. 'libpandaegg.dll',
  5391. 'libpanda.dll',
  5392. 'libpandaexpress.dll',
  5393. 'libdtoolconfig.dll',
  5394. 'libdtool.dll',
  5395. 'libpystub.dll',
  5396. ])
  5397. CompileC(ipath=IPATH, opts=OPTS, src='xFileTrans.cxx', obj='x-trans_xFileTrans.obj')
  5398. CompileLink(dll='x-trans.exe', opts=['ADVAPI', 'NSPR'], obj=[
  5399. 'x-trans_xFileTrans.obj',
  5400. 'libprogbase.lib',
  5401. 'libxfile.lib',
  5402. 'libpandatoolbase.lib',
  5403. 'libpanda.dll',
  5404. 'libpandaexpress.dll',
  5405. 'libdtoolconfig.dll',
  5406. 'libdtool.dll',
  5407. 'libpystub.dll',
  5408. ])
  5409. CompileC(ipath=IPATH, opts=OPTS, src='xFileToEgg.cxx', obj='x2egg_xFileToEgg.obj')
  5410. CompileLink(opts=['ADVAPI', 'NSPR'], dll='x2egg.exe', obj=[
  5411. 'x2egg_xFileToEgg.obj',
  5412. 'libxfileegg.lib',
  5413. 'libxfile.lib',
  5414. 'libconverter.lib',
  5415. 'libeggbase.lib',
  5416. 'libprogbase.lib',
  5417. 'libpandatoolbase.lib',
  5418. 'libpandaegg.dll',
  5419. 'libpanda.dll',
  5420. 'libpandaexpress.dll',
  5421. 'libdtoolconfig.dll',
  5422. 'libdtool.dll',
  5423. 'libpystub.dll',
  5424. ])
  5425. #
  5426. # DIRECTORY: pandaapp/src/pandaappbase/
  5427. #
  5428. IPATH=['pandaapp/src/pandaappbase']
  5429. OPTS=['NSPR']
  5430. CompileC(ipath=IPATH, opts=OPTS, src='pandaappbase.cxx', obj='pandaappbase_pandaappbase.obj')
  5431. CompileLIB(lib='libpandaappbase.lib', obj=['pandaappbase_pandaappbase.obj'])
  5432. #
  5433. # DIRECTORY: pandaapp/src/httpbackup/
  5434. #
  5435. IPATH=['pandaapp/src/httpbackup', 'pandaapp/src/pandaappbase']
  5436. OPTS=['SSL', 'NSPR']
  5437. CompileC(ipath=IPATH, opts=OPTS, src='backupCatalog.cxx', obj='httpbackup_backupCatalog.obj')
  5438. CompileC(ipath=IPATH, opts=OPTS, src='httpBackup.cxx', obj='httpbackup_httpBackup.obj')
  5439. CompileLink(opts=['ADVAPI', 'NSPR', 'SSL'], dll='httpbackup.exe', obj=[
  5440. 'httpbackup_backupCatalog.obj',
  5441. 'httpbackup_httpBackup.obj',
  5442. 'libpandaappbase.lib',
  5443. 'libpandaexpress.dll',
  5444. 'libpanda.dll',
  5445. 'libdtool.dll',
  5446. 'libdtoolconfig.dll',
  5447. 'libprogbase.lib',
  5448. 'libpandatoolbase.lib',
  5449. 'libpystub.dll',
  5450. ])
  5451. #
  5452. # DIRECTORY: pandaapp/src/indexify/
  5453. #
  5454. IPATH=['pandaapp/src/indexify']
  5455. OPTS=['NSPR', 'FREETYPE']
  5456. CompileC(ipath=IPATH, opts=OPTS, src='default_font.cxx', obj='font-samples_default_font.obj')
  5457. CompileC(ipath=IPATH, opts=OPTS, src='fontSamples.cxx', obj='font-samples_fontSamples.obj')
  5458. CompileLink(opts=['ADVAPI', 'NSPR', 'FREETYPE'], dll='font-samples.exe', obj=[
  5459. 'font-samples_default_font.obj',
  5460. 'font-samples_fontSamples.obj',
  5461. 'libpanda.dll',
  5462. 'libpandaexpress.dll',
  5463. 'libdtool.dll',
  5464. 'libdtoolconfig.dll',
  5465. 'libprogbase.lib',
  5466. 'libpandatoolbase.lib',
  5467. 'libpystub.dll',
  5468. ])
  5469. CompileC(ipath=IPATH, opts=OPTS, src='default_index_icons.cxx', obj='indexify_default_index_icons.obj')
  5470. CompileC(ipath=IPATH, opts=OPTS, src='default_font.cxx', obj='indexify_default_font.obj')
  5471. CompileC(ipath=IPATH, opts=OPTS, src='indexImage.cxx', obj='indexify_indexImage.obj')
  5472. CompileC(ipath=IPATH, opts=OPTS, src='indexParameters.cxx', obj='indexify_indexParameters.obj')
  5473. CompileC(ipath=IPATH, opts=OPTS, src='indexify.cxx', obj='indexify_indexify.obj')
  5474. CompileC(ipath=IPATH, opts=OPTS, src='photo.cxx', obj='indexify_photo.obj')
  5475. CompileC(ipath=IPATH, opts=OPTS, src='rollDirectory.cxx', obj='indexify_rollDirectory.obj')
  5476. CompileLink(opts=['ADVAPI', 'NSPR', 'FREETYPE'], dll='indexify.exe', obj=[
  5477. 'indexify_default_index_icons.obj',
  5478. 'indexify_default_font.obj',
  5479. 'indexify_indexImage.obj',
  5480. 'indexify_indexParameters.obj',
  5481. 'indexify_indexify.obj',
  5482. 'indexify_photo.obj',
  5483. 'indexify_rollDirectory.obj',
  5484. 'libpanda.dll',
  5485. 'libpandaexpress.dll',
  5486. 'libdtool.dll',
  5487. 'libdtoolconfig.dll',
  5488. 'libprogbase.lib',
  5489. 'libpandatoolbase.lib',
  5490. 'libpystub.dll',
  5491. ])
  5492. #
  5493. # DIRECTORY: pandaapp/src/stitchbase/
  5494. #
  5495. CompileBison(pre='stitchyy', dstc='stitchParser.cxx', dsth='stitchParser.h', src='pandaapp/src/stitchbase/stitchParser.yxx')
  5496. CompileFlex(pre='stitchyy', dst='stitchLexer.cxx', src='pandaapp/src/stitchbase/stitchLexer.lxx', dashi=1)
  5497. IPATH=['pandaapp/src/stitchbase', 'pandaapp/src/pandaappbase']
  5498. OPTS=['NSPR']
  5499. CompileC(ipath=IPATH, opts=OPTS, src='config_stitch.cxx', obj='stitchbase_config_stitch.obj')
  5500. CompileC(ipath=IPATH, opts=OPTS, src='fadeImagePool.cxx', obj='stitchbase_fadeImagePool.obj')
  5501. CompileC(ipath=IPATH, opts=OPTS, src='layeredImage.cxx', obj='stitchbase_layeredImage.obj')
  5502. CompileC(ipath=IPATH, opts=OPTS, src='morphGrid.cxx', obj='stitchbase_morphGrid.obj')
  5503. CompileC(ipath=IPATH, opts=OPTS, src='stitchCommand.cxx', obj='stitchbase_stitchCommand.obj')
  5504. CompileC(ipath=IPATH, opts=OPTS, src='stitchCommandReader.cxx', obj='stitchbase_stitchCommandReader.obj')
  5505. CompileC(ipath=IPATH, opts=OPTS, src='stitchCylindricalLens.cxx', obj='stitchbase_stitchCylindricalLens.obj')
  5506. CompileC(ipath=IPATH, opts=OPTS, src='stitchFile.cxx', obj='stitchbase_stitchFile.obj')
  5507. CompileC(ipath=IPATH, opts=OPTS, src='stitchFisheyeLens.cxx', obj='stitchbase_stitchFisheyeLens.obj')
  5508. CompileC(ipath=IPATH, opts=OPTS, src='stitchImage.cxx', obj='stitchbase_stitchImage.obj')
  5509. CompileC(ipath=IPATH, opts=OPTS, src='stitchImageCommandOutput.cxx', obj='stitchbase_stitchImageCommandOutput.obj')
  5510. CompileC(ipath=IPATH, opts=OPTS, src='stitchImageOutputter.cxx', obj='stitchbase_stitchImageOutputter.obj')
  5511. CompileC(ipath=IPATH, opts=OPTS, src='stitchImageRasterizer.cxx', obj='stitchbase_stitchImageRasterizer.obj')
  5512. CompileC(ipath=IPATH, opts=OPTS, src='stitchLens.cxx', obj='stitchbase_stitchLens.obj')
  5513. CompileC(ipath=IPATH, opts=OPTS, src='stitchPSphereLens.cxx', obj='stitchbase_stitchPSphereLens.obj')
  5514. CompileC(ipath=IPATH, opts=OPTS, src='stitchPerspectiveLens.cxx', obj='stitchbase_stitchPerspectiveLens.obj')
  5515. CompileC(ipath=IPATH, opts=OPTS, src='stitchPoint.cxx', obj='stitchbase_stitchPoint.obj')
  5516. CompileC(ipath=IPATH, opts=OPTS, src='stitcher.cxx', obj='stitchbase_stitcher.obj')
  5517. CompileC(ipath=IPATH, opts=OPTS, src='triangle.cxx', obj='stitchbase_triangle.obj')
  5518. CompileC(ipath=IPATH, opts=OPTS, src='triangleRasterizer.cxx', obj='stitchbase_triangleRasterizer.obj')
  5519. CompileC(ipath=IPATH, opts=OPTS, src='stitchCylindricalScreen.cxx', obj='stitchbase_stitchCylindricalScreen.obj')
  5520. CompileC(ipath=IPATH, opts=OPTS, src='stitchFlatScreen.cxx', obj='stitchbase_stitchFlatScreen.obj')
  5521. CompileC(ipath=IPATH, opts=OPTS, src='stitchMultiScreen.cxx', obj='stitchbase_stitchMultiScreen.obj')
  5522. CompileC(ipath=IPATH, opts=OPTS, src='stitchScreen.cxx', obj='stitchbase_stitchScreen.obj')
  5523. CompileC(ipath=IPATH, opts=OPTS, src='stitchParser.cxx', obj='stitchbase_stitchParser.obj')
  5524. CompileC(ipath=IPATH, opts=OPTS, src='stitchLexer.cxx', obj='stitchbase_stitchLexer.obj')
  5525. CompileLIB(lib='libstitchbase.lib', obj=[
  5526. 'stitchbase_config_stitch.obj',
  5527. 'stitchbase_fadeImagePool.obj',
  5528. 'stitchbase_layeredImage.obj',
  5529. 'stitchbase_morphGrid.obj',
  5530. 'stitchbase_stitchCommand.obj',
  5531. 'stitchbase_stitchCommandReader.obj',
  5532. 'stitchbase_stitchCylindricalLens.obj',
  5533. 'stitchbase_stitchFile.obj',
  5534. 'stitchbase_stitchFisheyeLens.obj',
  5535. 'stitchbase_stitchImage.obj',
  5536. 'stitchbase_stitchImageCommandOutput.obj',
  5537. 'stitchbase_stitchImageOutputter.obj',
  5538. 'stitchbase_stitchImageRasterizer.obj',
  5539. 'stitchbase_stitchLens.obj',
  5540. 'stitchbase_stitchPSphereLens.obj',
  5541. 'stitchbase_stitchPerspectiveLens.obj',
  5542. 'stitchbase_stitchPoint.obj',
  5543. 'stitchbase_stitcher.obj',
  5544. 'stitchbase_triangle.obj',
  5545. 'stitchbase_triangleRasterizer.obj',
  5546. 'stitchbase_stitchCylindricalScreen.obj',
  5547. 'stitchbase_stitchFlatScreen.obj',
  5548. 'stitchbase_stitchMultiScreen.obj',
  5549. 'stitchbase_stitchScreen.obj',
  5550. 'stitchbase_stitchParser.obj',
  5551. 'stitchbase_stitchLexer.obj',
  5552. ])
  5553. #
  5554. # DIRECTORY: pandaapp/src/stitch/
  5555. #
  5556. IPATH=['pandaapp/src/stitch', 'pandaapp/src/stitchbase', 'pandaapp/src/pandaappbase']
  5557. OPTS=['NSPR']
  5558. CompileC(ipath=IPATH, opts=OPTS, src='stitchCommandProgram.cxx', obj='stitch-command_stitchCommandProgram.obj')
  5559. CompileLink(opts=['ADVAPI', 'NSPR', 'FFTW'], dll='stitch-command.exe', obj=[
  5560. 'stitch-command_stitchCommandProgram.obj',
  5561. 'libstitchbase.lib',
  5562. 'libpandaappbase.lib',
  5563. 'libpanda.dll',
  5564. 'libpandaexpress.dll',
  5565. 'libdtoolconfig.dll',
  5566. 'libdtool.dll',
  5567. 'libprogbase.lib',
  5568. 'libpandatoolbase.lib',
  5569. 'libconverter.lib',
  5570. 'libpystub.dll',
  5571. ])
  5572. CompileC(ipath=IPATH, opts=OPTS, src='stitchImageProgram.cxx', obj='stitch-image_stitchImageProgram.obj')
  5573. CompileLink(opts=['ADVAPI', 'NSPR', 'FFTW'], dll='stitch-image.exe', obj=[
  5574. 'stitch-image_stitchImageProgram.obj',
  5575. 'libstitchbase.lib',
  5576. 'libpandaappbase.lib',
  5577. 'libpanda.dll',
  5578. 'libpandaexpress.dll',
  5579. 'libdtoolconfig.dll',
  5580. 'libdtool.dll',
  5581. 'libprogbase.lib',
  5582. 'libpandatoolbase.lib',
  5583. 'libconverter.lib',
  5584. 'libpystub.dll',
  5585. ])
  5586. ##########################################################################################
  5587. #
  5588. # Run genpycode
  5589. #
  5590. ##########################################################################################
  5591. if (older(PREFIX+'/pandac/PandaModules.pyz',xpaths(PREFIX+"/pandac/input/",ALLIN,""))):
  5592. ALLTARGETS.append(PREFIX+'/pandac/PandaModules.pyz')
  5593. if (sys.platform=="win32"):
  5594. oscmd(PREFIX+"/bin/genpycode.exe")
  5595. else:
  5596. oscmd(PREFIX+"/bin/genpycode")
  5597. updatefiledate(PREFIX+'/pandac/PandaModules.pyz')
  5598. ########################################################################
  5599. ##
  5600. ## Save the CXX include-cache for next time.
  5601. ##
  5602. ########################################################################
  5603. try: icache = open(iCachePath,'wb')
  5604. except: icache = 0
  5605. if (icache!=0):
  5606. cPickle.dump(CxxIncludeCache, icache, 1)
  5607. icache.close()
  5608. ##########################################################################################
  5609. #
  5610. # 'Complete' mode.
  5611. #
  5612. # Copies the samples, models, and direct into the build. Note that
  5613. # this isn't usually what you want. It is usually better to let the
  5614. # compiled panda load this stuff directly from the source tree.
  5615. # The only time you really want to do this is if you plan to move
  5616. # the build somewhere and leave the source tree behind.
  5617. #
  5618. ##########################################################################################
  5619. if (COMPLETE):
  5620. CopyFile(PREFIX+'/', 'InstallerNotes')
  5621. CopyFile(PREFIX+'/', 'LICENSE')
  5622. CopyFile(PREFIX+'/', 'README')
  5623. CopyTree(PREFIX+'/samples', 'samples')
  5624. CopyTree(PREFIX+'/models', 'models')
  5625. CopyTree(PREFIX+'/direct/src', 'direct/src')
  5626. CopyTree(PREFIX+'/SceneEditor', 'SceneEditor')
  5627. ##########################################################################################
  5628. #
  5629. # The Installer
  5630. #
  5631. ##########################################################################################
  5632. if (INSTALLER):
  5633. if (sys.platform == "win32"):
  5634. if (older('panda3d-install.exe', ALLTARGETS)):
  5635. VERSION = str(VERSION1)+"-"+str(VERSION2)+"-"+str(VERSION3)
  5636. print("Building installer. This can take up to an hour.")
  5637. if (COMPRESSOR != "lzma"): print("Note: you are using zlib, which is faster, but lzma gives better compression.")
  5638. if (os.path.exists("panda3d-"+VERSION+".exe")):
  5639. os.remove("panda3d-"+VERSION+".exe")
  5640. oscmd("thirdparty/win-nsis/makensis.exe /V2 /DCOMPRESSOR="+COMPRESSOR+" /DVERSION="+VERSION+" thirdparty/win-nsis/panda.nsi")
  5641. os.rename("panda3d-install-TMP.exe", "panda3d-"+VERSION+".exe")
  5642. else:
  5643. # Do an rpmbuild or something like that.
  5644. pass
  5645. ##########################################################################################
  5646. #
  5647. # Print final status report.
  5648. #
  5649. ##########################################################################################
  5650. WARNINGS.append("Elapsed Time: "+prettyTime(time.time() - STARTTIME))
  5651. printStatus("Makepanda Final Status Report", WARNINGS)