1
0

openadk.patch 177 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894
  1. diff -Nur icedtea-2.4.5.orig/Makefile.in icedtea-2.4.5/Makefile.in
  2. --- icedtea-2.4.5.orig/Makefile.in 2014-01-29 09:28:28.000000000 +0100
  3. +++ icedtea-2.4.5/Makefile.in 2014-02-09 18:47:29.000000000 +0100
  4. @@ -704,7 +704,7 @@
  5. $(am__append_14) $(am__append_15) $(DISTRIBUTION_PATCHES)
  6. # Bootstrapping patches
  7. -ICEDTEA_BOOT_PATCHES = patches/boot/javafiles.patch \
  8. +ICEDTEA_BOOT_PATCHES = patches/openadk.patch patches/boot/javafiles.patch \
  9. patches/boot/ant-javac.patch patches/boot/corba-idlj.patch \
  10. patches/boot/corba-no-gen.patch patches/boot/corba-orb.patch \
  11. patches/boot/demos.patch patches/boot/fphexconstants.patch \
  12. @@ -2120,7 +2120,7 @@
  13. # Optional native ecj
  14. stamps/native-ecj.stamp:
  15. mkdir -p stamps
  16. -@BUILD_NATIVE_ECJ_TRUE@ ${GCJ} $(IT_CFLAGS) -Wl,-Bsymbolic -findirect-dispatch -o native-ecj \
  17. +@BUILD_NATIVE_ECJ_TRUE@ ${GCJ} -lgcj -Wl,-Bsymbolic -findirect-dispatch -o native-ecj \
  18. @BUILD_NATIVE_ECJ_TRUE@ --main=org.eclipse.jdt.internal.compiler.batch.Main ${ECJ_JAR}
  19. touch $@
  20. diff -Nur icedtea-2.4.5.orig/Makefile.in.orig icedtea-2.4.5/Makefile.in.orig
  21. --- icedtea-2.4.5.orig/Makefile.in.orig 1970-01-01 01:00:00.000000000 +0100
  22. +++ icedtea-2.4.5/Makefile.in.orig 2014-01-29 09:28:28.000000000 +0100
  23. @@ -0,0 +1,3178 @@
  24. +# Makefile.in generated by automake 1.14 from Makefile.am.
  25. +# @configure_input@
  26. +
  27. +# Copyright (C) 1994-2013 Free Software Foundation, Inc.
  28. +
  29. +# This Makefile.in is free software; the Free Software Foundation
  30. +# gives unlimited permission to copy and/or distribute it,
  31. +# with or without modifications, as long as this notice is preserved.
  32. +
  33. +# This program is distributed in the hope that it will be useful,
  34. +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
  35. +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  36. +# PARTICULAR PURPOSE.
  37. +
  38. +@SET_MAKE@
  39. +
  40. +# Dependencies
  41. +VPATH = @srcdir@
  42. +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
  43. +am__make_running_with_option = \
  44. + case $${target_option-} in \
  45. + ?) ;; \
  46. + *) echo "am__make_running_with_option: internal error: invalid" \
  47. + "target option '$${target_option-}' specified" >&2; \
  48. + exit 1;; \
  49. + esac; \
  50. + has_opt=no; \
  51. + sane_makeflags=$$MAKEFLAGS; \
  52. + if $(am__is_gnu_make); then \
  53. + sane_makeflags=$$MFLAGS; \
  54. + else \
  55. + case $$MAKEFLAGS in \
  56. + *\\[\ \ ]*) \
  57. + bs=\\; \
  58. + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
  59. + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
  60. + esac; \
  61. + fi; \
  62. + skip_next=no; \
  63. + strip_trailopt () \
  64. + { \
  65. + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
  66. + }; \
  67. + for flg in $$sane_makeflags; do \
  68. + test $$skip_next = yes && { skip_next=no; continue; }; \
  69. + case $$flg in \
  70. + *=*|--*) continue;; \
  71. + -*I) strip_trailopt 'I'; skip_next=yes;; \
  72. + -*I?*) strip_trailopt 'I';; \
  73. + -*O) strip_trailopt 'O'; skip_next=yes;; \
  74. + -*O?*) strip_trailopt 'O';; \
  75. + -*l) strip_trailopt 'l'; skip_next=yes;; \
  76. + -*l?*) strip_trailopt 'l';; \
  77. + -[dEDm]) skip_next=yes;; \
  78. + -[JT]) skip_next=yes;; \
  79. + esac; \
  80. + case $$flg in \
  81. + *$$target_option*) has_opt=yes; break;; \
  82. + esac; \
  83. + done; \
  84. + test $$has_opt = yes
  85. +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
  86. +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
  87. +pkgdatadir = $(datadir)/@PACKAGE@
  88. +pkgincludedir = $(includedir)/@PACKAGE@
  89. +pkglibdir = $(libdir)/@PACKAGE@
  90. +pkglibexecdir = $(libexecdir)/@PACKAGE@
  91. +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
  92. +install_sh_DATA = $(install_sh) -c -m 644
  93. +install_sh_PROGRAM = $(install_sh) -c
  94. +install_sh_SCRIPT = $(install_sh) -c
  95. +INSTALL_HEADER = $(INSTALL_DATA)
  96. +transform = $(program_transform_name)
  97. +NORMAL_INSTALL = :
  98. +PRE_INSTALL = :
  99. +POST_INSTALL = :
  100. +NORMAL_UNINSTALL = :
  101. +PRE_UNINSTALL = :
  102. +POST_UNINSTALL = :
  103. +build_triplet = @build@
  104. +host_triplet = @host@
  105. +
  106. +#PR43148 - javac fails due to missing java.util.regex.Matcher.quoteReplacement
  107. +@LACKS_JAVA_UTIL_REGEX_MATCHER_QUOTEREPLACEMENT_TRUE@am__append_1 = \
  108. +@LACKS_JAVA_UTIL_REGEX_MATCHER_QUOTEREPLACEMENT_TRUE@ $(SHARE)/java/util/regex/Matcher.java
  109. +
  110. +
  111. +#PR48033 - Missing javax.management.remote.JMXServiceURL
  112. +@LACKS_JAVAX_MANAGEMENT_REMOTE_JMXSERVICEURL_TRUE@am__append_2 = \
  113. +@LACKS_JAVAX_MANAGEMENT_REMOTE_JMXSERVICEURL_TRUE@ $(SHARE)/javax/management/remote/JMXServiceURL.java
  114. +
  115. +
  116. +#PR48034 - javax.management.modelmbean.ModelMBeanInfo
  117. +@LACKS_JAVAX_MANAGEMENT_MODELMBEAN_MODELMBEANINFO_TRUE@am__append_3 = \
  118. +@LACKS_JAVAX_MANAGEMENT_MODELMBEAN_MODELMBEANINFO_TRUE@ $(SHARE)/javax/management/modelmbean/ModelMBeanInfo.java
  119. +
  120. +
  121. +#PR42003 - Missing javax.swing.plaf.basic.BasicDirectoryModel methods cause OpenJDK build failure
  122. +@LACKS_JAVAX_SWING_PLAF_BASIC_BASICDIRECTORYMODEL_ADDPROPERTYCHANGELISTENER_TRUE@am__append_4 = \
  123. +@LACKS_JAVAX_SWING_PLAF_BASIC_BASICDIRECTORYMODEL_ADDPROPERTYCHANGELISTENER_TRUE@ $(SHARE)/javax/swing/plaf/basic/BasicDirectoryModel.java
  124. +
  125. +
  126. +#PR56553 - SSLParameters support missing
  127. +@LACKS_JAVAX_NET_SSL_SSLCONTEXT_GETDEFAULTSSLPARAMETERS_TRUE@am__append_5 = \
  128. +@LACKS_JAVAX_NET_SSL_SSLCONTEXT_GETDEFAULTSSLPARAMETERS_TRUE@ $(SHARE)/javax/net/ssl/SSLContext.java
  129. +
  130. +@LACKS_JAVAX_NET_SSL_SSLENGINE_SETSSLPARAMETERS_TRUE@am__append_6 = \
  131. +@LACKS_JAVAX_NET_SSL_SSLENGINE_SETSSLPARAMETERS_TRUE@ $(SHARE)/javax/net/ssl/SSLEngine.java
  132. +
  133. +
  134. +#PR57008 - Add missing SslRMIServerSocketFactory constructor from 7
  135. +@LACKS_JAVAX_RMI_SSL_SSLRMISERVERSOCKETFACTORY_7_TRUE@am__append_7 = \
  136. +@LACKS_JAVAX_RMI_SSL_SSLRMISERVERSOCKETFACTORY_7_TRUE@ $(SHARE)/javax/rmi/ssl/SslRMIServerSocketFactory.java
  137. +
  138. +
  139. +# Conditional patches
  140. +@WITH_RHINO_TRUE@am__append_8 = \
  141. +@WITH_RHINO_TRUE@ patches/rhino.patch
  142. +
  143. +@BUILD_CACAO_TRUE@am__append_9 = \
  144. +@BUILD_CACAO_TRUE@ patches/cacao/launcher.patch \
  145. +@BUILD_CACAO_TRUE@ patches/cacao/memory.patch
  146. +
  147. +@BUILD_CACAO_FALSE@@USING_CACAO_TRUE@am__append_10 = \
  148. +@BUILD_CACAO_FALSE@@USING_CACAO_TRUE@ patches/cacao/memory.patch
  149. +
  150. +@ENABLE_CACAO_TRUE@am__append_11 = \
  151. +@ENABLE_CACAO_TRUE@ patches/cacao/ignore-tests.patch
  152. +
  153. +@ENABLE_PULSE_JAVA_TRUE@am__append_12 = \
  154. +@ENABLE_PULSE_JAVA_TRUE@ patches/pulse-soundproperties.patch
  155. +
  156. +@ENABLE_SYSTEMTAP_TRUE@am__append_13 = \
  157. +@ENABLE_SYSTEMTAP_TRUE@ patches/systemtap_gc.patch
  158. +
  159. +@ENABLE_NSS_TRUE@am__append_14 = patches/nss-config.patch
  160. +@WITH_PAX_TRUE@am__append_15 = \
  161. +@WITH_PAX_TRUE@ patches/test_gamma.patch \
  162. +@WITH_PAX_TRUE@ patches/pax-mark-rmic-java.patch
  163. +
  164. +@DISABLE_BOOTSTRAP_TOOLS_TRUE@am__append_16 = patches/boot/openjdk6-prefer_source.patch
  165. +@DISABLE_BOOTSTRAP_TOOLS_FALSE@am__append_17 = patches/boot/bootstrap-tools.patch
  166. +@VM_SUPPORTS_XBOOTCLASSPATH_FALSE@am__append_18 = \
  167. +@VM_SUPPORTS_XBOOTCLASSPATH_FALSE@ patches/boot/xbootclasspath.patch
  168. +
  169. +@WITH_PAX_FALSE@am__append_19 = patches/boot/test_gamma.patch
  170. +@CP39408_JAVAH_TRUE@am__append_20 = patches/boot/pr39408.patch
  171. +@CP40188_JAVAH_TRUE@am__append_21 = patches/boot/pr40188.patch \
  172. +@CP40188_JAVAH_TRUE@ patches/boot/javah.patch
  173. +
  174. +@CP45526_JAVAH_TRUE@am__append_22 = patches/boot/explicit-inner-class-headers.patch
  175. +@CP40616_TRUE@am__append_23 = patches/boot/pr40616.patch
  176. +@LACKS_JAVA_UTIL_SCANNER_TRUE@am__append_24 = $(SCANNER_PATCHES)
  177. +@CP40630_TRUE@@LACKS_JAVA_UTIL_SCANNER_FALSE@am__append_25 = $(SCANNER_PATCHES)
  178. +@JAVAC_LACKS_DIAMOND_TRUE@am__append_26 = patches/boot/ecj-diamond.patch
  179. +@JAVAC_LACKS_DIAMOND_FALSE@@USING_CACAO_TRUE@am__append_27 = patches/boot/compile-for-7-cacao-mem.patch
  180. +@BUILD_CACAO_TRUE@@JAVAC_LACKS_DIAMOND_FALSE@@USING_CACAO_FALSE@am__append_28 = patches/boot/compile-for-7-cacao-mem.patch
  181. +@BUILD_CACAO_FALSE@@JAVAC_LACKS_DIAMOND_FALSE@@USING_CACAO_FALSE@am__append_29 = patches/boot/compile-for-7.patch
  182. +@DTDTYPE_QNAME_TRUE@am__append_30 = patches/boot/jaxws-getdtdtype.patch
  183. +@NO_BYTECODE7_TRUE@am__append_31 = patches/boot/use_target_6_for_bootstrap_classes.patch
  184. +@ENABLE_CACAO_TRUE@am__append_32 = \
  185. +@ENABLE_CACAO_TRUE@ ALT_HOTSPOT_IMPORT_PATH="$(CACAO_IMPORT_PATH)"
  186. +
  187. +@ENABLE_JAMVM_TRUE@am__append_33 = \
  188. +@ENABLE_JAMVM_TRUE@ ALT_HOTSPOT_IMPORT_PATH="$(JAMVM_IMPORT_PATH)"
  189. +
  190. +@DISABLE_OPTIMIZATIONS_TRUE@am__append_34 = \
  191. +@DISABLE_OPTIMIZATIONS_TRUE@ NO_OPTIMIZATIONS="true" \
  192. +@DISABLE_OPTIMIZATIONS_TRUE@ CC_NO_OPT="-O0 -g"
  193. +
  194. +@ENABLE_DOCS_FALSE@am__append_35 = \
  195. +@ENABLE_DOCS_FALSE@ NO_DOCS="true"
  196. +
  197. +@USE_ALT_JAR_TRUE@am__append_36 = \
  198. +@USE_ALT_JAR_TRUE@ ALT_JAR_CMD="$(ALT_JAR_CMD)"
  199. +
  200. +@HAS_HOTSPOT_REVISION_TRUE@am__append_37 = \
  201. +@HAS_HOTSPOT_REVISION_TRUE@ HOTSPOT_BUILD_VERSION="$(HOTSPOT_REVISION)"
  202. +
  203. +@WITH_RHINO_TRUE@am__append_38 = \
  204. +@WITH_RHINO_TRUE@ RHINO_JAR="$(abs_top_builddir)/rhino/rhino.jar"
  205. +
  206. +@USE_SYSTEM_ZLIB_TRUE@am__append_39 = \
  207. +@USE_SYSTEM_ZLIB_TRUE@ SYSTEM_ZLIB="true" \
  208. +@USE_SYSTEM_ZLIB_TRUE@ ZLIB_LIBS="${ZLIB_LIBS}" \
  209. +@USE_SYSTEM_ZLIB_TRUE@ ZLIB_CFLAGS="${ZLIB_CFLAGS}"
  210. +
  211. +@USE_SYSTEM_LCMS_TRUE@am__append_40 = \
  212. +@USE_SYSTEM_LCMS_TRUE@ USE_SYSTEM_LCMS="true" \
  213. +@USE_SYSTEM_LCMS_TRUE@ LCMS_LIBS="${LCMS2_LIBS}" \
  214. +@USE_SYSTEM_LCMS_TRUE@ LCMS_CFLAGS="${LCMS2_CFLAGS}"
  215. +
  216. +@USE_SYSTEM_JPEG_TRUE@am__append_41 = \
  217. +@USE_SYSTEM_JPEG_TRUE@ USE_SYSTEM_JPEG="true" \
  218. +@USE_SYSTEM_JPEG_TRUE@ JPEG_LIBS="${JPEG_LIBS}" \
  219. +@USE_SYSTEM_JPEG_TRUE@ JPEG_CFLAGS="${JPEG_CFLAGS}"
  220. +
  221. +@USE_SYSTEM_PNG_TRUE@am__append_42 = \
  222. +@USE_SYSTEM_PNG_TRUE@ USE_SYSTEM_PNG="true" \
  223. +@USE_SYSTEM_PNG_TRUE@ PNG_LIBS="${PNG_LIBS}" \
  224. +@USE_SYSTEM_PNG_TRUE@ PNG_CFLAGS="${PNG_CFLAGS}"
  225. +
  226. +@USE_SYSTEM_GIF_TRUE@am__append_43 = \
  227. +@USE_SYSTEM_GIF_TRUE@ USE_SYSTEM_GIF="true" \
  228. +@USE_SYSTEM_GIF_TRUE@ GIF_LIBS="${GIF_LIBS}" \
  229. +@USE_SYSTEM_GIF_TRUE@ GIF_CFLAGS="${GIF_CFLAGS}"
  230. +
  231. +@USE_SYSTEM_GTK_TRUE@am__append_44 = \
  232. +@USE_SYSTEM_GTK_TRUE@ USE_SYSTEM_GTK="true" \
  233. +@USE_SYSTEM_GTK_TRUE@ GTK_LIBS="${GTK_LIBS}" \
  234. +@USE_SYSTEM_GTK_TRUE@ GTK_CFLAGS="${GTK_CFLAGS}"
  235. +
  236. +@USE_SYSTEM_GIO_TRUE@am__append_45 = \
  237. +@USE_SYSTEM_GIO_TRUE@ USE_SYSTEM_GIO="true" \
  238. +@USE_SYSTEM_GIO_TRUE@ GIO_LIBS="${GIO_LIBS}" \
  239. +@USE_SYSTEM_GIO_TRUE@ GIO_CFLAGS="${GIO_CFLAGS}"
  240. +
  241. +@USE_SYSTEM_FONTCONFIG_TRUE@am__append_46 = \
  242. +@USE_SYSTEM_FONTCONFIG_TRUE@ USE_SYSTEM_FONTCONFIG="true" \
  243. +@USE_SYSTEM_FONTCONFIG_TRUE@ FONTCONFIG_LIBS="${FONTCONFIG_LIBS}" \
  244. +@USE_SYSTEM_FONTCONFIG_TRUE@ FONTCONFIG_CFLAGS="${FONTCONFIG_CFLAGS}"
  245. +
  246. +@USE_SYSCALL_COMPILATION_TRUE@am__append_47 = \
  247. +@USE_SYSCALL_COMPILATION_TRUE@ COMPILE_AGAINST_SYSCALLS="true"
  248. +
  249. +@ENABLE_JAR_COMPRESSION_TRUE@am__append_48 = \
  250. +@ENABLE_JAR_COMPRESSION_TRUE@ COMPRESS_JARS="true"
  251. +
  252. +@USE_SYSTEM_KERBEROS_TRUE@am__append_49 = \
  253. +@USE_SYSTEM_KERBEROS_TRUE@ SYSTEM_KRB5="true" \
  254. +@USE_SYSTEM_KERBEROS_TRUE@ KRB5_LIBS="${KRB5_LIBS}" \
  255. +@USE_SYSTEM_KERBEROS_TRUE@ KRB5_CFLAGS="${KRB5_CFLAGS}"
  256. +
  257. +@ADD_SHARK_BUILD_TRUE@am__append_50 = \
  258. +@ADD_SHARK_BUILD_TRUE@ --enable-shark
  259. +
  260. +subdir = .
  261. +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
  262. + $(top_srcdir)/configure $(am__configure_deps) \
  263. + $(srcdir)/nss.cfg.in $(srcdir)/javac.in $(srcdir)/javap.in \
  264. + $(srcdir)/javah.in $(srcdir)/tz.properties.in \
  265. + $(srcdir)/pax-mark-vm.in \
  266. + $(srcdir)/remove-intree-libraries.sh.in \
  267. + $(top_srcdir)/tapset/hotspot.stp.in \
  268. + $(top_srcdir)/tapset/hotspot_jni.stp.in \
  269. + $(top_srcdir)/tapset/jstack.stp.in \
  270. + $(top_srcdir)/tapset/hotspot_gc.stp.in AUTHORS COPYING \
  271. + ChangeLog INSTALL NEWS README compile config.guess config.sub \
  272. + install-sh missing
  273. +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  274. +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
  275. + $(top_srcdir)/configure.ac
  276. +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
  277. + $(ACLOCAL_M4)
  278. +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
  279. + configure.lineno config.status.lineno
  280. +mkinstalldirs = $(install_sh) -d
  281. +CONFIG_CLEAN_FILES = nss.cfg javac javap javah tz.properties \
  282. + pax-mark-vm remove-intree-libraries.sh tapset/hotspot.stp \
  283. + tapset/hotspot_jni.stp tapset/jstack.stp tapset/hotspot_gc.stp
  284. +CONFIG_CLEAN_VPATH_FILES =
  285. +AM_V_P = $(am__v_P_@AM_V@)
  286. +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
  287. +am__v_P_0 = false
  288. +am__v_P_1 = :
  289. +AM_V_GEN = $(am__v_GEN_@AM_V@)
  290. +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
  291. +am__v_GEN_0 = @echo " GEN " $@;
  292. +am__v_GEN_1 =
  293. +AM_V_at = $(am__v_at_@AM_V@)
  294. +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
  295. +am__v_at_0 = @
  296. +am__v_at_1 =
  297. +SOURCES =
  298. +DIST_SOURCES =
  299. +am__can_run_installinfo = \
  300. + case $$AM_UPDATE_INFO_DIR in \
  301. + n|no|NO) false;; \
  302. + *) (install-info --version) >/dev/null 2>&1;; \
  303. + esac
  304. +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
  305. +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
  306. +distdir = $(PACKAGE)-$(VERSION)
  307. +top_distdir = $(distdir)
  308. +am__remove_distdir = \
  309. + if test -d "$(distdir)"; then \
  310. + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
  311. + && rm -rf "$(distdir)" \
  312. + || { sleep 5 && rm -rf "$(distdir)"; }; \
  313. + else :; fi
  314. +am__post_remove_distdir = $(am__remove_distdir)
  315. +DIST_ARCHIVES = $(distdir).tar.gz
  316. +GZIP_ENV = --best
  317. +DIST_TARGETS = dist-gzip
  318. +distuninstallcheck_listfiles = find . -type f -print
  319. +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
  320. + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
  321. +distcleancheck_listfiles = find . -type f -print
  322. +ABS_CLIENT_LIBJVM_SO = @ABS_CLIENT_LIBJVM_SO@
  323. +ABS_JAVA_HOME_DIR = @ABS_JAVA_HOME_DIR@
  324. +ABS_SERVER_LIBJVM_SO = @ABS_SERVER_LIBJVM_SO@
  325. +ACLOCAL = @ACLOCAL@
  326. +ALSA_CFLAGS = @ALSA_CFLAGS@
  327. +ALSA_LIBS = @ALSA_LIBS@
  328. +ALT_CACAO_SRC_DIR = @ALT_CACAO_SRC_DIR@
  329. +ALT_CACAO_SRC_ZIP = @ALT_CACAO_SRC_ZIP@
  330. +ALT_CORBA_SRC_ZIP = @ALT_CORBA_SRC_ZIP@
  331. +ALT_HOTSPOT_SRC_ZIP = @ALT_HOTSPOT_SRC_ZIP@
  332. +ALT_JAMVM_SRC_ZIP = @ALT_JAMVM_SRC_ZIP@
  333. +ALT_JAR_CMD = @ALT_JAR_CMD@
  334. +ALT_JAXP_SRC_ZIP = @ALT_JAXP_SRC_ZIP@
  335. +ALT_JAXWS_SRC_ZIP = @ALT_JAXWS_SRC_ZIP@
  336. +ALT_JDK_SRC_ZIP = @ALT_JDK_SRC_ZIP@
  337. +ALT_LANGTOOLS_SRC_ZIP = @ALT_LANGTOOLS_SRC_ZIP@
  338. +ALT_OPENJDK_SRC_ZIP = @ALT_OPENJDK_SRC_ZIP@
  339. +AMTAR = @AMTAR@
  340. +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
  341. +ANT = @ANT@
  342. +ARCHFLAG = @ARCHFLAG@
  343. +ARCH_PREFIX = @ARCH_PREFIX@
  344. +AUTOCONF = @AUTOCONF@
  345. +AUTOHEADER = @AUTOHEADER@
  346. +AUTOMAKE = @AUTOMAKE@
  347. +AWK = @AWK@
  348. +BUILD_ARCH_DIR = @BUILD_ARCH_DIR@
  349. +BUILD_OS_DIR = @BUILD_OS_DIR@
  350. +CACAO_IMPORT_PATH = @CACAO_IMPORT_PATH@
  351. +CC = @CC@
  352. +CCDEPMODE = @CCDEPMODE@
  353. +CFLAGS = @CFLAGS@
  354. +CHMOD = @CHMOD@
  355. +
  356. +# configure script arguments, quoted in single quotes
  357. +CONFIGURE_ARGS = @CONFIGURE_ARGS@
  358. +CPIO = @CPIO@
  359. +CPP = @CPP@
  360. +CPPFLAGS = @CPPFLAGS@
  361. +CUPS_LIBS = @CUPS_LIBS@
  362. +CXX = @CXX@
  363. +CXXDEPMODE = @CXXDEPMODE@
  364. +CXXFLAGS = @CXXFLAGS@
  365. +CYGPATH_W = @CYGPATH_W@
  366. +DEFAULT_LIBDIR = @DEFAULT_LIBDIR@
  367. +DEFS = @DEFS@
  368. +DEPDIR = @DEPDIR@
  369. +DIST_ID = @DIST_ID@
  370. +DIST_NAME = @DIST_NAME@
  371. +ECHO_C = @ECHO_C@
  372. +ECHO_N = @ECHO_N@
  373. +ECHO_T = @ECHO_T@
  374. +ECJ = @ECJ@
  375. +ECJ_JAR = @ECJ_JAR@
  376. +EGREP = @EGREP@
  377. +ENABLE_CACAO = @ENABLE_CACAO@
  378. +ENABLE_JAMVM = @ENABLE_JAMVM@
  379. +ENABLE_SYSCALL_COMPILATION = @ENABLE_SYSCALL_COMPILATION@
  380. +ENABLE_SYSTEM_FONTCONFIG = @ENABLE_SYSTEM_FONTCONFIG@
  381. +ENABLE_SYSTEM_GIF = @ENABLE_SYSTEM_GIF@
  382. +ENABLE_SYSTEM_GIO = @ENABLE_SYSTEM_GIO@
  383. +ENABLE_SYSTEM_GTK = @ENABLE_SYSTEM_GTK@
  384. +ENABLE_SYSTEM_JPEG = @ENABLE_SYSTEM_JPEG@
  385. +ENABLE_SYSTEM_KERBEROS = @ENABLE_SYSTEM_KERBEROS@
  386. +ENABLE_SYSTEM_LCMS = @ENABLE_SYSTEM_LCMS@
  387. +ENABLE_SYSTEM_PNG = @ENABLE_SYSTEM_PNG@
  388. +ENABLE_SYSTEM_ZLIB = @ENABLE_SYSTEM_ZLIB@
  389. +ENABLE_WARNINGS = @ENABLE_WARNINGS@
  390. +EXEEXT = @EXEEXT@
  391. +FASTJAR = @FASTJAR@
  392. +FILE = @FILE@
  393. +FIND = @FIND@
  394. +FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
  395. +FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
  396. +FREETYPE2_CFLAGS = @FREETYPE2_CFLAGS@
  397. +FREETYPE2_LIBS = @FREETYPE2_LIBS@
  398. +GAWK = @GAWK@
  399. +GCJ = @GCJ@
  400. +GETCONF = @GETCONF@
  401. +GIF_LIBS = @GIF_LIBS@
  402. +GIO_CFLAGS = @GIO_CFLAGS@
  403. +GIO_LIBS = @GIO_LIBS@
  404. +GREP = @GREP@
  405. +GTK_CFLAGS = @GTK_CFLAGS@
  406. +GTK_LIBS = @GTK_LIBS@
  407. +GZIP = @GZIP@
  408. +HG = @HG@
  409. +HGREV = @HGREV@
  410. +HOTSPOT_REVISION = @HOTSPOT_REVISION@
  411. +HSBUILD = @HSBUILD@
  412. +ICEDTEA_REVISION = @ICEDTEA_REVISION@
  413. +INSTALL = @INSTALL@
  414. +INSTALL_ARCH_DIR = @INSTALL_ARCH_DIR@
  415. +INSTALL_DATA = @INSTALL_DATA@
  416. +INSTALL_PROGRAM = @INSTALL_PROGRAM@
  417. +INSTALL_SCRIPT = @INSTALL_SCRIPT@
  418. +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
  419. +JAR = @JAR@
  420. +JAR_ACCEPTS_STDIN_LIST = @JAR_ACCEPTS_STDIN_LIST@
  421. +JAR_KNOWS_ATFILE = @JAR_KNOWS_ATFILE@
  422. +JAR_KNOWS_J_OPTIONS = @JAR_KNOWS_J_OPTIONS@
  423. +JAVA = @JAVA@
  424. +JAVAC = @JAVAC@
  425. +JAVAH = @JAVAH@
  426. +JDK_REVISION = @JDK_REVISION@
  427. +JPEG_LIBS = @JPEG_LIBS@
  428. +JRE_ARCH_DIR = @JRE_ARCH_DIR@
  429. +KRB5_LIBS = @KRB5_LIBS@
  430. +LCMS2_CFLAGS = @LCMS2_CFLAGS@
  431. +LCMS2_LIBS = @LCMS2_LIBS@
  432. +LDD = @LDD@
  433. +LDFLAGS = @LDFLAGS@
  434. +LIBFFI_CFLAGS = @LIBFFI_CFLAGS@
  435. +LIBFFI_LIBS = @LIBFFI_LIBS@
  436. +LIBOBJS = @LIBOBJS@
  437. +LIBPULSE_CFLAGS = @LIBPULSE_CFLAGS@
  438. +LIBPULSE_LIBS = @LIBPULSE_LIBS@
  439. +LIBS = @LIBS@
  440. +LINUX32 = @LINUX32@
  441. +LLVM_CFLAGS = @LLVM_CFLAGS@
  442. +LLVM_CONFIG = @LLVM_CONFIG@
  443. +LLVM_LDFLAGS = @LLVM_LDFLAGS@
  444. +LLVM_LIBS = @LLVM_LIBS@
  445. +LSB_RELEASE = @LSB_RELEASE@
  446. +LTLIBOBJS = @LTLIBOBJS@
  447. +MAKE = @MAKE@
  448. +MAKEINFO = @MAKEINFO@
  449. +MKDIR_P = @MKDIR_P@
  450. +NATIVE2ASCII = @NATIVE2ASCII@
  451. +NSS_CFLAGS = @NSS_CFLAGS@
  452. +NSS_LIBDIR = @NSS_LIBDIR@
  453. +NSS_LIBS = @NSS_LIBS@
  454. +OBJEXT = @OBJEXT@
  455. +OPENJDK_BUILD_DIR = @OPENJDK_BUILD_DIR@
  456. +OPENJDK_SRC_DIR = @OPENJDK_SRC_DIR@
  457. +OS_PATH = @OS_PATH@
  458. +PACKAGE = @PACKAGE@
  459. +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
  460. +PACKAGE_NAME = @PACKAGE_NAME@
  461. +PACKAGE_STRING = @PACKAGE_STRING@
  462. +PACKAGE_TARNAME = @PACKAGE_TARNAME@
  463. +PACKAGE_URL = @PACKAGE_URL@
  464. +PACKAGE_VERSION = @PACKAGE_VERSION@
  465. +PARALLEL_JOBS = @PARALLEL_JOBS@
  466. +PATCH = @PATCH@
  467. +PATH_SEPARATOR = @PATH_SEPARATOR@
  468. +PAX_COMMAND = @PAX_COMMAND@
  469. +PAX_COMMAND_ARGS = @PAX_COMMAND_ARGS@
  470. +PKGVERSION = @PKGVERSION@
  471. +PKG_CONFIG = @PKG_CONFIG@
  472. +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
  473. +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
  474. +PNG_CFLAGS = @PNG_CFLAGS@
  475. +PNG_LIBS = @PNG_LIBS@
  476. +PROJECT_NAME = @PROJECT_NAME@
  477. +RHINO_JAR = @RHINO_JAR@
  478. +RMIC = @RMIC@
  479. +SET_MAKE = @SET_MAKE@
  480. +SHA256SUM = @SHA256SUM@
  481. +SHELL = @SHELL@
  482. +STRIP = @STRIP@
  483. +SYSTEM_JDK_DIR = @SYSTEM_JDK_DIR@
  484. +TAR = @TAR@
  485. +TZDATA_DIR = @TZDATA_DIR@
  486. +UNZIP = @UNZIP@
  487. +USING_CACAO = @USING_CACAO@
  488. +USING_ECJ = @USING_ECJ@
  489. +VERSION = @VERSION@
  490. +VERSION_SUFFIX = @VERSION_SUFFIX@
  491. +WGET = @WGET@
  492. +X11_CFLAGS = @X11_CFLAGS@
  493. +X11_LIBS = @X11_LIBS@
  494. +XINERAMA_CFLAGS = @XINERAMA_CFLAGS@
  495. +XINERAMA_LIBS = @XINERAMA_LIBS@
  496. +XPROTO_CFLAGS = @XPROTO_CFLAGS@
  497. +XPROTO_LIBS = @XPROTO_LIBS@
  498. +XRENDER_CFLAGS = @XRENDER_CFLAGS@
  499. +XRENDER_LIBS = @XRENDER_LIBS@
  500. +XSLTPROC = @XSLTPROC@
  501. +XTST_CFLAGS = @XTST_CFLAGS@
  502. +XTST_LIBS = @XTST_LIBS@
  503. +XT_CFLAGS = @XT_CFLAGS@
  504. +XT_LIBS = @XT_LIBS@
  505. +XVFB_RUN_CMD = @XVFB_RUN_CMD@
  506. +ZERO_ARCHDEF = @ZERO_ARCHDEF@
  507. +ZERO_BITSPERWORD = @ZERO_BITSPERWORD@
  508. +ZERO_ENDIANNESS = @ZERO_ENDIANNESS@
  509. +ZERO_LIBARCH = @ZERO_LIBARCH@
  510. +ZIP = @ZIP@
  511. +ZLIB_CFLAGS = @ZLIB_CFLAGS@
  512. +ZLIB_LIBS = @ZLIB_LIBS@
  513. +abs_builddir = @abs_builddir@
  514. +abs_srcdir = @abs_srcdir@
  515. +abs_top_builddir = @abs_top_builddir@
  516. +abs_top_srcdir = @abs_top_srcdir@
  517. +ac_ct_CC = @ac_ct_CC@
  518. +ac_ct_CXX = @ac_ct_CXX@
  519. +ac_ct_FASTJAR = @ac_ct_FASTJAR@
  520. +am__include = @am__include@
  521. +am__leading_dot = @am__leading_dot@
  522. +am__quote = @am__quote@
  523. +am__tar = @am__tar@
  524. +am__untar = @am__untar@
  525. +bindir = @bindir@
  526. +build = @build@
  527. +build_alias = @build_alias@
  528. +build_cpu = @build_cpu@
  529. +build_os = @build_os@
  530. +build_vendor = @build_vendor@
  531. +builddir = @builddir@
  532. +datadir = @datadir@
  533. +datarootdir = @datarootdir@
  534. +docdir = @docdir@
  535. +dvidir = @dvidir@
  536. +enable_downloading = @enable_downloading@
  537. +exec_prefix = @exec_prefix@
  538. +host = @host@
  539. +host_alias = @host_alias@
  540. +host_cpu = @host_cpu@
  541. +host_os = @host_os@
  542. +host_vendor = @host_vendor@
  543. +htmldir = @htmldir@
  544. +includedir = @includedir@
  545. +infodir = @infodir@
  546. +install_sh = @install_sh@
  547. +libdir = @libdir@
  548. +libexecdir = @libexecdir@
  549. +localedir = @localedir@
  550. +localstatedir = @localstatedir@
  551. +mandir = @mandir@
  552. +mkdir_p = @mkdir_p@
  553. +oldincludedir = @oldincludedir@
  554. +pdfdir = @pdfdir@
  555. +prefix = @prefix@
  556. +program_transform_name = @program_transform_name@
  557. +psdir = @psdir@
  558. +sbindir = @sbindir@
  559. +sharedstatedir = @sharedstatedir@
  560. +srcdir = @srcdir@
  561. +sysconfdir = @sysconfdir@
  562. +target_alias = @target_alias@
  563. +top_build_prefix = @top_build_prefix@
  564. +top_builddir = @top_builddir@
  565. +top_srcdir = @top_srcdir@
  566. +JDK_UPDATE_VERSION = 51
  567. +BUILD_VERSION = b31
  568. +COMBINED_VERSION = $(JDK_UPDATE_VERSION)-$(BUILD_VERSION)
  569. +CORBA_CHANGESET = 3594dbde270d
  570. +JAXP_CHANGESET = 8fe156ad49e2
  571. +JAXWS_CHANGESET = 32ea8b1ed91a
  572. +JDK_CHANGESET = 9db88c18e114
  573. +LANGTOOLS_CHANGESET = dabd37b7e295
  574. +OPENJDK_CHANGESET = 410eb7fef869
  575. +CORBA_SHA256SUM = d1f97e143fe94ae3a56b45bb5a90f8ab10ec2be4ff770a788f0a1ac677e27a7d
  576. +JAXP_SHA256SUM = 0a2a40186cedfbeb8f87b0bc86bea2830943943081d4289fc74f7a783b2e1af3
  577. +JAXWS_SHA256SUM = 08a169b6b02883759ec7a412aa91aa3e37480761cb50b95d092dbcdb2fc9a3d0
  578. +JDK_SHA256SUM = 285e5b8ccbb29f3f9f9ea9ea7856d1ed97465c57d091fbcd9b2e55a1ffbb543e
  579. +LANGTOOLS_SHA256SUM = 86cb370ce2084c4b699d8c002ebe6c026e86206ffa82a2f3d7906aadb94ed79f
  580. +OPENJDK_SHA256SUM = 2de151c7275d91ef082e63fcc0957c5f9290404ec6e20ecfa1e752e16bfab707
  581. +CACAO_VERSION = e215e36be9fc
  582. +CACAO_SHA256SUM = 4966514c72ee7ed108b882d9b6e65c3adf8a8f9c2dccb029f971b3c8cb4870ab
  583. +CACAO_BASE_URL = http://icedtea.classpath.org/download/drops/cacao
  584. +CACAO_URL = $(CACAO_BASE_URL)/$(CACAO_VERSION).tar.gz
  585. +CACAO_SRC_ZIP = cacao-$(CACAO_VERSION).tar.gz
  586. +JAMVM_VERSION = ac22c9948434e528ece451642b4ebde40953ee7e
  587. +JAMVM_SHA256SUM = 4662da1fe3e0e11d8fa685c7f2fc748576b9f3d3e37dc56b798dd6a5bd6b61e7
  588. +JAMVM_BASE_URL = http://icedtea.classpath.org/download/drops/jamvm
  589. +JAMVM_URL = $(JAMVM_BASE_URL)/jamvm-$(JAMVM_VERSION).tar.gz
  590. +JAMVM_SRC_ZIP = jamvm-$(JAMVM_VERSION).tar.gz
  591. +ICEDTEA_PREFIX = icedtea7-forest-2.4
  592. +ICEDTEA_HG_URL = http://icedtea.classpath.org/hg/release/$(ICEDTEA_PREFIX)
  593. +OPENJDK_HG_URL = http://hg.openjdk.java.net/jdk7/jdk7
  594. +CVMI_HG_URL = http://hg.openjdk.java.net/cvmi/cvmi/
  595. +CLOSURES_HG_URL = http://hg.openjdk.java.net/closures/closures/
  596. +CACIOCAVALLO_HG_URL = http://hg.openjdk.java.net/caciocavallo/jdk7/
  597. +BSD_HG_URL = http://hg.openjdk.java.net/bsd-port/bsd-port
  598. +NIO2_HG_URL = http://hg.openjdk.java.net/nio/nio/
  599. +OPENJDK_URL = $(ICEDTEA_HG_URL)
  600. +CORBA_URL = $(ICEDTEA_HG_URL)/corba
  601. +JAXP_URL = $(ICEDTEA_HG_URL)/jaxp
  602. +JAXWS_URL = $(ICEDTEA_HG_URL)/jaxws
  603. +JDK_URL = $(ICEDTEA_HG_URL)/jdk
  604. +LANGTOOLS_URL = $(ICEDTEA_HG_URL)/langtools
  605. +HS_SHA256SUM = "`$(AWK) 'version==$$1 {print $$4}' version=$(HSBUILD) $(abs_top_srcdir)/hotspot.map`"
  606. +HS_CHANGESET = "`$(AWK) 'version==$$1 {print $$3}' version=$(HSBUILD) $(abs_top_srcdir)/hotspot.map`"
  607. +HS_URL = "`$(AWK) 'version==$$1 {print $$2}' version=$(HSBUILD) $(abs_top_srcdir)/hotspot.map`"
  608. +
  609. +# Build directories
  610. +BUILD_DIR = @OPENJDK_BUILD_DIR@
  611. +BUILD_OUTPUT_DIR = $(abs_top_builddir)/$(BUILD_DIR)
  612. +DEBUG_BUILD_OUTPUT_DIR = $(BUILD_OUTPUT_DIR)-debug
  613. +BOOT_BUILD_OUTPUT_DIR = $(BUILD_OUTPUT_DIR)-boot
  614. +BOOT_DIR = $(abs_top_builddir)/bootstrap/jdk1.6.0
  615. +RUNTIME = $(BOOT_DIR)/jre/lib/rt.jar
  616. +CLS_DIR_BOOT = $(BOOT_BUILD_OUTPUT_DIR)/classes
  617. +SERVER_DIR = hotspot/import/jre/lib/$(INSTALL_ARCH_DIR)/server
  618. +BUILD_JRE_ARCH_DIR = $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)
  619. +BUILD_DEBUG_JRE_ARCH_DIR = $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)
  620. +REWRITER_BUILD_DIR = $(abs_top_builddir)/rewriter.build
  621. +STAGE1_BOOT_DIR = $(abs_top_builddir)/bootstrap/boot
  622. +STAGE2_BOOT_DIR = $(abs_top_builddir)/bootstrap/icedtea
  623. +JAMVM_IMPORT_PATH = $(abs_top_builddir)/jamvm/install/hotspot
  624. +CRYPTO_CHECK_BUILD_DIR = $(abs_top_builddir)/cryptocheck.build
  625. +STAGE1_BOOT_RUNTIME = $(STAGE1_BOOT_DIR)/jre/lib/rt.jar
  626. +STAGE2_BOOT_RUNTIME = $(STAGE2_BOOT_DIR)/jre/lib/rt.jar
  627. +
  628. +# Source directories
  629. +SHARE = openjdk-boot/jdk/src/share/classes
  630. +SOLARIS = openjdk-boot/jdk/src/solaris/classes
  631. +LANGTOOLS = openjdk-boot/langtools/src/share/classes
  632. +CORBA = openjdk-boot/corba/src/share/classes
  633. +JAXWS = openjdk-boot/jaxws/src/share/jaxws_classes:openjdk-boot/jaxws/src/share/jaf_classes
  634. +PULSE_JAVA_DIR = $(abs_top_srcdir)/pulseaudio
  635. +PULSE_JAVA_NATIVE_SRCDIR = $(PULSE_JAVA_DIR)/src/native
  636. +PULSE_JAVA_NATIVE_SRCS = $(wildcard $(PULSE_JAVA_NATIVE_SRCDIR)/*.c)
  637. +PULSE_JAVA_BUILDDIR = $(abs_top_builddir)/pulseaudio.build
  638. +PULSE_JAVA_NATIVE_BUILDDIR = $(PULSE_JAVA_BUILDDIR)/native
  639. +PULSE_JAVA_NATIVE_OBJECTS = \
  640. + $(subst $(PULSE_JAVA_NATIVE_SRCDIR),$(PULSE_JAVA_NATIVE_BUILDDIR),$(patsubst %.c,%.o,$(PULSE_JAVA_NATIVE_SRCS)))
  641. +
  642. +PULSE_JAVA_JAVA_SRCDIR = $(PULSE_JAVA_DIR)/src/java
  643. +PULSE_JAVA_CLASS_DIR = $(PULSE_JAVA_BUILDDIR)/classes
  644. +OPENJDK_SOURCEPATH_DIRS = \
  645. + $(SHARE):$(SOLARIS):$(LANGTOOLS):$(CORBA):$(JAXWS)
  646. +
  647. +SOURCEPATH_DIRS = $(abs_top_srcdir)/generated:$(OPENJDK_SOURCEPATH_DIRS)
  648. +
  649. +# Sources used from OpenJDK.
  650. +ICEDTEA_BOOTSTRAP_CLASSES = $(am__append_1) $(am__append_2) \
  651. + $(am__append_3) $(am__append_4) $(am__append_5) \
  652. + $(am__append_6) $(am__append_7)
  653. +@NO_BYTECODE7_FALSE@IT_LANGUAGE_SOURCE_VERSION = 7
  654. +
  655. +# Settings for javac
  656. +@NO_BYTECODE7_TRUE@IT_LANGUAGE_SOURCE_VERSION = 6
  657. +@NO_BYTECODE7_FALSE@IT_CLASS_TARGET_VERSION = 7
  658. +@NO_BYTECODE7_TRUE@IT_CLASS_TARGET_VERSION = 6
  659. +IT_JAVAC_SETTINGS = -g -encoding utf-8 $(JAVACFLAGS) $(MEMORY_LIMIT) $(PREFER_SOURCE)
  660. +IT_JAVACFLAGS = $(IT_JAVAC_SETTINGS) -source $(IT_LANGUAGE_SOURCE_VERSION) -target $(IT_CLASS_TARGET_VERSION)
  661. +
  662. +# Flags
  663. +IT_CFLAGS = $(CFLAGS) $(ARCHFLAG)
  664. +@USE_HG_FALSE@OPENJDK_SRC_ZIP = openjdk.tar.gz
  665. +
  666. +# Conditional defintions
  667. +@USE_HG_TRUE@OPENJDK_SRC_ZIP =
  668. +@USE_HG_FALSE@CORBA_SRC_ZIP = corba.tar.gz
  669. +@USE_HG_TRUE@CORBA_SRC_ZIP =
  670. +@USE_HG_FALSE@JAXP_SRC_ZIP = jaxp.tar.gz
  671. +@USE_HG_TRUE@JAXP_SRC_ZIP =
  672. +@USE_HG_FALSE@JAXWS_SRC_ZIP = jaxws.tar.gz
  673. +@USE_HG_TRUE@JAXWS_SRC_ZIP =
  674. +@USE_HG_FALSE@JDK_SRC_ZIP = jdk.tar.gz
  675. +@USE_HG_TRUE@JDK_SRC_ZIP =
  676. +@USE_HG_FALSE@LANGTOOLS_SRC_ZIP = langtools.tar.gz
  677. +@USE_HG_TRUE@LANGTOOLS_SRC_ZIP =
  678. +@USE_HG_FALSE@HOTSPOT_SRC_ZIP = hotspot.tar.gz
  679. +@USE_HG_TRUE@HOTSPOT_SRC_ZIP =
  680. +@ENABLE_PULSE_JAVA_TRUE@PULSE_JAVA_TARGET = stamps/pulse-java.stamp
  681. +@BOOTSTRAPPING_FALSE@MEMORY_LIMIT = -J-Xmx1024m
  682. +
  683. +# This should not depend on bootstrapping
  684. +# but on whether MEMORY_LIMIT is accepted
  685. +# as an argument to javac
  686. +@BOOTSTRAPPING_TRUE@MEMORY_LIMIT =
  687. +@BOOTSTRAPPING_FALSE@PREFER_SOURCE = -Xprefer:source
  688. +@BOOTSTRAPPING_TRUE@PREFER_SOURCE =
  689. +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_TRUE@ICEDTEA_BUILD_TARGET = jdk_only
  690. +@ENABLE_CACAO_TRUE@ICEDTEA_BUILD_TARGET = jdk_only
  691. +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_FALSE@ICEDTEA_DEBUG_BUILD_TARGET = debug_build
  692. +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_TRUE@ICEDTEA_DEBUG_BUILD_TARGET = jdk_fastdebug_only
  693. +@ENABLE_CACAO_TRUE@ICEDTEA_DEBUG_BUILD_TARGET = jdk_fastdebug_only
  694. +@BOOTSTRAPPING_FALSE@BOOTSTRAP_DIRECTORY_STAMP =
  695. +@BOOTSTRAPPING_TRUE@BOOTSTRAP_DIRECTORY_STAMP = stamps/bootstrap-directory-stage2.stamp
  696. +@BOOTSTRAPPING_FALSE@ICEDTEA_HOME = $(SYSTEM_JDK_DIR)
  697. +@BOOTSTRAPPING_TRUE@ICEDTEA_HOME = $(STAGE2_BOOT_DIR)
  698. +@BOOTSTRAPPING_FALSE@INITIAL_BOOTSTRAP_LINK_STAMP = stamps/bootstrap-directory-symlink-stage2.stamp
  699. +@BOOTSTRAPPING_TRUE@INITIAL_BOOTSTRAP_LINK_STAMP = stamps/bootstrap-directory-symlink-stage1.stamp
  700. +@CP_SUPPORTS_REFLINK_TRUE@REFLINK = --reflink=auto
  701. +@OPENJDK_SRC_DIR_HARDLINKABLE_FALSE@OPENJDK_SRC_DIR_LINK = $(REFLINK)
  702. +@OPENJDK_SRC_DIR_HARDLINKABLE_TRUE@OPENJDK_SRC_DIR_LINK = -l
  703. +@SRC_DIR_HARDLINKABLE_FALSE@SRC_DIR_LINK = $(REFLINK)
  704. +@SRC_DIR_HARDLINKABLE_TRUE@SRC_DIR_LINK = -l
  705. +@DISABLE_HOTSPOT_TESTS_FALSE@HOTSPOT_TEST_SUITE = hotspot
  706. +@DISABLE_JDK_TESTS_FALSE@JDK_TEST_SUITE = jdk
  707. +@DISABLE_LANGTOOLS_TESTS_FALSE@LANGTOOLS_TEST_SUITE = langtools
  708. +@DISABLE_TESTS_FALSE@TEST_SUITES = $(HOTSPOT_TEST_SUITE) $(JDK_TEST_SUITE) $(LANGTOOLS_TEST_SUITE)
  709. +@DISABLE_TESTS_FALSE@TESTS_TO_RUN = jtreg $(addprefix check-,$(TEST_SUITES))
  710. +
  711. +# Target to ensure a patched OpenJDK tree containing Zero & Shark
  712. +# and any overlays is available in $(abs_top_builddir)/openjdk
  713. +OPENJDK_TREE = stamps/overlay.stamp stamps/add-nss.stamp
  714. +
  715. +# Target to ensure a patched OpenJDK bootstrap tree containing
  716. +# Zero & Shark, any other overlays and the bootstrapping patches
  717. +# is available in $(abs_top_builddir)/openjdk-boot
  718. +OPENJDK_BOOT_TREE = stamps/patch-boot.stamp
  719. +
  720. +# Sources list
  721. +REWRITER_SRCS = $(top_srcdir)/rewriter/com/redhat/rewriter/ClassRewriter.java
  722. +CRYPTO_CHECK_SRCS = $(top_srcdir)/TestCryptoLevel.java
  723. +
  724. +# Patch list
  725. +ICEDTEA_PATCHES = $(am__append_8) $(am__append_9) $(am__append_10) \
  726. + $(am__append_11) $(am__append_12) $(am__append_13) \
  727. + $(am__append_14) $(am__append_15) $(DISTRIBUTION_PATCHES)
  728. +
  729. +# Bootstrapping patches
  730. +ICEDTEA_BOOT_PATCHES = patches/boot/javafiles.patch \
  731. + patches/boot/ant-javac.patch patches/boot/corba-idlj.patch \
  732. + patches/boot/corba-no-gen.patch patches/boot/corba-orb.patch \
  733. + patches/boot/demos.patch patches/boot/fphexconstants.patch \
  734. + patches/boot/fontconfig.patch \
  735. + patches/boot/generated-comments.patch \
  736. + patches/boot/icedteart.patch patches/boot/jar.patch \
  737. + patches/boot/symbols.patch patches/boot/tobin.patch \
  738. + patches/boot/tools.jar.patch patches/boot/jopt.patch \
  739. + patches/boot/jaxp-dependency.patch \
  740. + patches/boot/genstubs-nofork.patch \
  741. + patches/boot/getannotation-cast.patch \
  742. + patches/boot/break-processbuilder-dependency.patch \
  743. + patches/boot/revert-6973616.patch \
  744. + patches/boot/revert-6941137.patch \
  745. + patches/boot/ecj-stringswitch.patch \
  746. + patches/boot/langtools-force-old-jdk.patch \
  747. + patches/boot/corba-dependencies.patch \
  748. + patches/boot/jaxws-langtools-dependency.patch \
  749. + patches/boot/jaxws-jdk-dependency.patch \
  750. + patches/boot/hotspot/${HSBUILD}/jdk-dependency.patch \
  751. + patches/boot/ecj-multicatch.patch \
  752. + patches/boot/ecj-trywithresources.patch \
  753. + patches/boot/ecj-autoboxing.patch patches/boot/xsltproc.patch \
  754. + patches/boot/ecj-odd.patch $(am__append_16) $(am__append_17) \
  755. + $(am__append_18) $(am__append_19) $(am__append_20) \
  756. + $(am__append_21) $(am__append_22) $(am__append_23) \
  757. + $(am__append_24) $(am__append_25) $(am__append_26) \
  758. + $(am__append_27) $(am__append_28) $(am__append_29) \
  759. + $(am__append_30) $(am__append_31) $(DISTRIBUTION_BOOT_PATCHES)
  760. +
  761. +# Patches for when java.util.Scanner is missing
  762. +# or has the bug #40630 (all these classes rely
  763. +# on Scanner#hasNextLine() looping behaviour)
  764. +SCANNER_PATCHES = patches/boot/scanner-spp.patch \
  765. + patches/boot/scanner-sbcs.patch \
  766. + patches/boot/scanner-dbcs.patch \
  767. + patches/boot/scanner-charsets.patch
  768. +
  769. +
  770. +# OpenJDK build environment.
  771. +@ZERO_BUILD_TRUE@ICEDTEA_ZERO_BUILD = true
  772. +@SHARK_BUILD_TRUE@ICEDTEA_SHARK_BUILD = true
  773. +ICEDTEA_NAME = IcedTea
  774. +@HAS_ICEDTEA_REVISION_TRUE@ICEDTEA_REV = +${ICEDTEA_REVISION}
  775. +@HAS_PKGVERSION_TRUE@ICEDTEA_PKG = $(EMPTY) (${PKGVERSION})
  776. +@ENABLE_WERROR_FALSE@WERROR_STATUS = false
  777. +@ENABLE_WERROR_TRUE@WERROR_STATUS = true
  778. +ICEDTEA_ENV = ALT_JDK_IMPORT_PATH="$(BOOT_DIR)" ANT="$(ANT)" \
  779. + BUILD_NUMBER="$(BUILD_VERSION)" \
  780. + JDK_UPDATE_VERSION="$(JDK_UPDATE_VERSION)" \
  781. + JRE_RELEASE_VERSION="1.7.0_$(COMBINED_VERSION)" \
  782. + MILESTONE="fcs" LANG="C" \
  783. + PATH="$(BOOT_DIR)/bin:$(OS_PATH):$$PATH" \
  784. + ALT_BOOTDIR="$(BOOT_DIR)" BUILD_ARCH_DIR="$(BUILD_ARCH_DIR)" \
  785. + ICEDTEA_RT="$(RUNTIME)" CLASSPATH="" LD_LIBRARY_PATH="" \
  786. + ZERO_BUILD="$(ICEDTEA_ZERO_BUILD)" \
  787. + SHARK_BUILD="$(ICEDTEA_SHARK_BUILD)" \
  788. + ZERO_LIBARCH="$(ZERO_LIBARCH)" \
  789. + ARCH_DATA_MODEL="$(ZERO_BITSPERWORD)" \
  790. + ZERO_ENDIANNESS="$(ZERO_ENDIANNESS)" \
  791. + ZERO_ARCHDEF="$(ZERO_ARCHDEF)" ZERO_ARCHFLAG="$(ARCHFLAG)" \
  792. + LIBFFI_CFLAGS="$(LIBFFI_CFLAGS)" LIBFFI_LIBS="$(LIBFFI_LIBS)" \
  793. + LLVM_CFLAGS="$(LLVM_CFLAGS)" LLVM_LDFLAGS="$(LLVM_LDFLAGS)" \
  794. + LLVM_LIBS="$(LLVM_LIBS)" FT2_CFLAGS="$(FREETYPE2_CFLAGS)" \
  795. + FT2_LIBS="$(FREETYPE2_LIBS)" \
  796. + ALT_PARALLEL_COMPILE_JOBS="$(PARALLEL_JOBS)" \
  797. + HOTSPOT_BUILD_JOBS="$(PARALLEL_JOBS)" JAVAC="" JAVA_HOME="" \
  798. + JDK_HOME="" QUIETLY="" ANT_RESPECT_JAVA_HOME="TRUE" \
  799. + DISTRIBUTION_ID="$(DIST_ID)" DERIVATIVE_ID="$(ICEDTEA_NAME) \
  800. + $(PACKAGE_VERSION)$(ICEDTEA_REV)" \
  801. + ALT_JIBX_LIBS_PATH="$(JIBX_DEPS_DIR)" DEBUG_CLASSFILES="true" \
  802. + DEBUG_BINARIES="true" DISABLE_INTREE_EC="true" \
  803. + ALT_OUTPUTDIR="$(BUILD_OUTPUT_DIR)" VERBOSE="$(VERBOSE)" \
  804. + STATIC_CXX="false" BUILD_GCC="$(CC)" BUILD_CXX="$(CXX)" \
  805. + USE_SYSTEM_CUPS="true" CUPS_LIBS="${CUPS_LIBS}" \
  806. + CUPS_CFLAGS="${CUPS_CFLAGS}" STRIP_POLICY=no_strip \
  807. + JAVAC_WARNINGS_FATAL="$(WERROR_STATUS)" \
  808. + COMPILER_WARNINGS_FATAL="$(WERROR_STATUS)" \
  809. + UNLIMITED_CRYPTO="true" $(am__append_32) $(am__append_33) \
  810. + $(am__append_34) $(am__append_35) $(am__append_36) \
  811. + $(am__append_37) $(am__append_38) $(am__append_39) \
  812. + $(am__append_40) $(am__append_41) $(am__append_42) \
  813. + $(am__append_43) $(am__append_44) $(am__append_45) \
  814. + $(am__append_46) $(am__append_47) $(am__append_48) \
  815. + $(am__append_49)
  816. +
  817. +# OpenJDK boot build environment.
  818. +ICEDTEA_ENV_BOOT = $(ICEDTEA_ENV) \
  819. + BOOTCLASSPATH_CLS_RT="-bootclasspath $(CLS_DIR_BOOT):$(RUNTIME)" \
  820. + BOOTCLASSPATH_CLS="-bootclasspath $(CLS_DIR_BOOT)" \
  821. + BOOTCLASSPATH_RT_LIBGCJ="-bootclasspath $(RUNTIME)" \
  822. + GENSRCDIR="$(abs_top_builddir)/generated.build" \
  823. + JAR_KNOWS_ATFILE="$(JAR_KNOWS_ATFILE)" \
  824. + JAR_KNOWS_J_OPTIONS="$(JAR_KNOWS_J_OPTIONS)" \
  825. + JAR_ACCEPTS_STDIN_LIST="$(JAR_ACCEPTS_STDIN_LIST)" \
  826. + DISABLE_NIMBUS="true" \
  827. + NO_DOCS="true" \
  828. + ALT_OUTPUTDIR="$(BOOT_BUILD_OUTPUT_DIR)" \
  829. + XSLT="$(XSLTPROC)"
  830. +
  831. +
  832. +# Source files
  833. +GENERATED_FILES = $(top_srcdir)/generated/com/sun/java/swing/plaf/gtk/resources/gtk*.java \
  834. + $(top_srcdir)/generated/com/sun/java/swing/plaf/motif/resources/motif*.java \
  835. + $(top_srcdir)/generated/com/sun/java/swing/plaf/windows/resources/windows*.java \
  836. + $(top_srcdir)/generated/com/sun/corba/se/spi/activation/*.java \
  837. + $(top_srcdir)/generated/com/sun/corba/se/spi/activation/LocatorPackage/*.java \
  838. + $(top_srcdir)/generated/com/sun/corba/se/spi/activation/InitialNameServicePackage/*.java \
  839. + $(top_srcdir)/generated/com/sun/corba/se/spi/activation/RepositoryPackage/*.java \
  840. + $(top_srcdir)/generated/com/sun/corba/se/impl/logging/*.resource \
  841. + $(top_srcdir)/generated/com/sun/corba/se/impl/logging/*.java \
  842. + $(top_srcdir)/generated/com/sun/corba/se/impl/logging/*.properties \
  843. + $(top_srcdir)/generated/com/sun/corba/se/PortableActivationIDL/*.java \
  844. + $(top_srcdir)/generated/com/sun/corba/se/PortableActivationIDL/LocatorPackage/*.java \
  845. + $(top_srcdir)/generated/com/sun/corba/se/PortableActivationIDL/InitialNameServicePackage/*.java \
  846. + $(top_srcdir)/generated/com/sun/corba/se/PortableActivationIDL/RepositoryPackage/*.java \
  847. + $(top_srcdir)/generated/com/sun/swing/internal/plaf/basic/resources/basic*.java \
  848. + $(top_srcdir)/generated/com/sun/swing/internal/plaf/metal/resources/metal*.java \
  849. + $(top_srcdir)/generated/com/sun/swing/internal/plaf/synth/resources/synth*.java \
  850. + $(top_srcdir)/generated/com/sun/tools/apt/resources/apt*.java \
  851. + $(top_srcdir)/generated/com/sun/tools/jdi/*.java \
  852. + $(top_srcdir)/generated/com/sun/tools/jdi/resources/jdi*.java \
  853. + $(top_srcdir)/generated/com/sun/tools/javac/resources/*.java \
  854. + $(top_srcdir)/generated/com/sun/tools/doclets/formats/html/resources/standard*.java \
  855. + $(top_srcdir)/generated/com/sun/tools/doclets/internal/toolkit/resources/doclets*.java \
  856. + $(top_srcdir)/generated/com/sun/tools/javadoc/resources/javadoc*.java \
  857. + $(top_srcdir)/generated/com/sun/accessibility/internal/resources/accessibility*.java \
  858. + $(top_srcdir)/generated/org/omg/IOP/*.java \
  859. + $(top_srcdir)/generated/org/omg/IOP/CodecPackage/*.java \
  860. + $(top_srcdir)/generated/org/omg/IOP/CodecFactoryPackage/*.java \
  861. + $(top_srcdir)/generated/org/omg/CORBA/*.java \
  862. + $(top_srcdir)/generated/org/omg/PortableInterceptor/*.java \
  863. + $(top_srcdir)/generated/org/omg/PortableInterceptor/ORBInitInfoPackage/*.java \
  864. + $(top_srcdir)/generated/org/omg/CosNaming/*.java \
  865. + $(top_srcdir)/generated/org/omg/CosNaming/NamingContextPackage/*.java \
  866. + $(top_srcdir)/generated/org/omg/CosNaming/NamingContextExtPackage/*.java \
  867. + $(top_srcdir)/generated/org/omg/Messaging/*.java \
  868. + $(top_srcdir)/generated/org/omg/Dynamic/*.java \
  869. + $(top_srcdir)/generated/org/omg/DynamicAny/*.java \
  870. + $(top_srcdir)/generated/org/omg/DynamicAny/DynAnyPackage/*.java \
  871. + $(top_srcdir)/generated/org/omg/DynamicAny/DynAnyFactoryPackage/*.java \
  872. + $(top_srcdir)/generated/org/omg/PortableServer/*.java \
  873. + $(top_srcdir)/generated/org/omg/PortableServer/CurrentPackage/*.java \
  874. + $(top_srcdir)/generated/org/omg/PortableServer/POAManagerPackage/*.java \
  875. + $(top_srcdir)/generated/org/omg/PortableServer/POAPackage/*.java \
  876. + $(top_srcdir)/generated/sun/awt/X11/*.java \
  877. + $(top_srcdir)/generated/sun/awt/resources/awt*.java \
  878. + $(top_srcdir)/generated/sun/nio/ch/*.java \
  879. + $(top_srcdir)/generated/sun/nio/cs/*.java \
  880. + $(top_srcdir)/generated/sun/nio/cs/ext/*.java \
  881. + $(top_srcdir)/generated/sun/nio/fs/*.java \
  882. + $(top_srcdir)/generated/sun/misc/*.java \
  883. + $(top_srcdir)/generated/sun/util/*.java \
  884. + $(top_srcdir)/generated/sun/util/logging/resources/logging*.java \
  885. + $(top_srcdir)/generated/sun/util/resources/*.java \
  886. + $(top_srcdir)/generated/sun/print/resources/serviceui*.java \
  887. + $(top_srcdir)/generated/sun/tools/jar/resources/jar*.java \
  888. + $(top_srcdir)/generated/sun/management/resources/agent*.java \
  889. + $(top_srcdir)/generated/java/nio/*.java \
  890. + $(top_srcdir)/generated/java/nio/channels/*.java \
  891. + $(top_srcdir)/generated/java/lang/*.java \
  892. + $(top_srcdir)/generated/java/util/*.java \
  893. + $(top_srcdir)/generated/javax/management/remote/rmi/*.java \
  894. + $(top_srcdir)/generated/fontconfig/fontconfig*.bfc
  895. +
  896. +JTREG_SRCS = $(top_srcdir)/test/jtreg/com/sun/javatest/cof/i18n.properties \
  897. + $(top_srcdir)/test/jtreg/com/sun/javatest/cof/COF2_0_2.xsd \
  898. + $(top_srcdir)/test/jtreg/com/sun/javatest/cof/*.java \
  899. + $(top_srcdir)/test/jtreg/com/sun/javatest/lib/*.java \
  900. + $(top_srcdir)/test/jtreg/com/sun/javatest/diff/*.java \
  901. + $(top_srcdir)/test/jtreg/com/sun/javatest/diff/i18n.properties \
  902. + $(top_srcdir)/test/jtreg/com/sun/javatest/exec/*.java \
  903. + $(top_srcdir)/test/jtreg/com/sun/javatest/exec/i18n.properties \
  904. + $(top_srcdir)/test/jtreg/com/sun/javatest/exec/images/*.gif \
  905. + $(top_srcdir)/test/jtreg/com/sun/javatest/mrep/i18n.properties \
  906. + $(top_srcdir)/test/jtreg/com/sun/javatest/mrep/*.java \
  907. + $(top_srcdir)/test/jtreg/com/sun/javatest/mrep/images/dotdotdot.gif \
  908. + $(top_srcdir)/test/jtreg/com/sun/javatest/mrep/images/Forward16.gif \
  909. + $(top_srcdir)/test/jtreg/com/sun/javatest/mrep/images/Back16.gif \
  910. + $(top_srcdir)/test/jtreg/com/sun/javatest/mrep/images/Home16.gif \
  911. + $(top_srcdir)/test/jtreg/com/sun/javatest/tool/*.java \
  912. + $(top_srcdir)/test/jtreg/com/sun/javatest/tool/i18n.properties \
  913. + $(top_srcdir)/test/jtreg/com/sun/javatest/tool/images/*.gif \
  914. + $(top_srcdir)/test/jtreg/com/sun/javatest/tool/package.html \
  915. + $(top_srcdir)/test/jtreg/com/sun/javatest/util/*.java \
  916. + $(top_srcdir)/test/jtreg/com/sun/javatest/util/i18n.properties \
  917. + $(top_srcdir)/test/jtreg/com/sun/javatest/util/package.html \
  918. + $(top_srcdir)/test/jtreg/com/sun/javatest/*.java \
  919. + $(top_srcdir)/test/jtreg/com/sun/javatest/i18n.properties \
  920. + $(top_srcdir)/test/jtreg/com/sun/javatest/regtest/*.java \
  921. + $(top_srcdir)/test/jtreg/com/sun/javatest/regtest/i18n.properties \
  922. + $(top_srcdir)/test/jtreg/com/sun/javatest/agent/*.java \
  923. + $(top_srcdir)/test/jtreg/com/sun/javatest/agent/i18n.properties \
  924. + $(top_srcdir)/test/jtreg/com/sun/javatest/agent/jticon.gif \
  925. + $(top_srcdir)/test/jtreg/com/sun/javatest/agent/package.html \
  926. + $(top_srcdir)/test/jtreg/com/sun/javatest/batch/i18n.properties \
  927. + $(top_srcdir)/test/jtreg/com/sun/javatest/batch/*.java \
  928. + $(top_srcdir)/test/jtreg/com/sun/javatest/batch/package.html \
  929. + $(top_srcdir)/test/jtreg/com/sun/javatest/audit/i18n.properties \
  930. + $(top_srcdir)/test/jtreg/com/sun/javatest/audit/*.java \
  931. + $(top_srcdir)/test/jtreg/com/sun/javatest/audit/images/dotdotdot.gif \
  932. + $(top_srcdir)/test/jtreg/com/sun/javatest/audit/package.html \
  933. + $(top_srcdir)/test/jtreg/com/sun/javatest/httpd/*.java \
  934. + $(top_srcdir)/test/jtreg/com/sun/javatest/httpd/i18n.properties \
  935. + $(top_srcdir)/test/jtreg/com/sun/javatest/stylesheet.css \
  936. + $(top_srcdir)/test/jtreg/com/sun/javatest/logging/i18n.properties \
  937. + $(top_srcdir)/test/jtreg/com/sun/javatest/logging/*.java \
  938. + $(top_srcdir)/test/jtreg/com/sun/javatest/finder/i18n.properties \
  939. + $(top_srcdir)/test/jtreg/com/sun/javatest/finder/*.java \
  940. + $(top_srcdir)/test/jtreg/com/sun/javatest/finder/package.html \
  941. + $(top_srcdir)/test/jtreg/com/sun/javatest/report/i18n.properties \
  942. + $(top_srcdir)/test/jtreg/com/sun/javatest/report/package.html \
  943. + $(top_srcdir)/test/jtreg/com/sun/javatest/report/*.java \
  944. + $(top_srcdir)/test/jtreg/com/sun/javatest/interview/i18n.properties \
  945. + $(top_srcdir)/test/jtreg/com/sun/javatest/interview/*.java \
  946. + $(top_srcdir)/test/jtreg/com/sun/javatest/interview/package.html \
  947. + $(top_srcdir)/test/jtreg/com/sun/javatest/package.html \
  948. + $(top_srcdir)/test/jtreg/com/sun/interview/i18n.properties \
  949. + $(top_srcdir)/test/jtreg/com/sun/interview/*.java \
  950. + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/*.java \
  951. + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/i18n.properties \
  952. + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/done.gif \
  953. + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/blank.gif \
  954. + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/history.gif \
  955. + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/find.gif \
  956. + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/check.gif \
  957. + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/arrow.gif \
  958. + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/back.gif \
  959. + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/next.gif \
  960. + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/info.gif \
  961. + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/package.html \
  962. + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/cancel.gif \
  963. + $(top_srcdir)/test/jtreg/com/sun/interview/package.html \
  964. + $(top_srcdir)/test/jtreg/JavaTest.toolMgrs.lst \
  965. + $(top_srcdir)/test/jtreg/legal/license.txt \
  966. + $(top_srcdir)/test/jtreg/legal/copyright.txt \
  967. + $(top_srcdir)/test/jtreg/README \
  968. + $(top_srcdir)/test/jtreg/META-INF/MANIFEST.MF \
  969. + $(top_srcdir)/test/jtreg/excludelist.jdk.jtx \
  970. + $(top_srcdir)/test/jtreg/excludelist.jdk.cacao.jtx \
  971. + $(top_srcdir)/test/jtreg/JavaTest.cmdMgrs.lst \
  972. + $(top_srcdir)/test/jtreg/excludelist.langtools.jtx
  973. +
  974. +PULSEAUDIO_SRCS = $(top_srcdir)/pulseaudio/src/java/org/classpath/icedtea/pulseaudio/*.java \
  975. + $(top_srcdir)/pulseaudio/src/java/META-INF/services/javax.sound.sampled.spi.MixerProvider \
  976. + $(top_srcdir)/pulseaudio/src/native/*.h \
  977. + $(top_srcdir)/pulseaudio/src/native/*.c \
  978. + $(top_srcdir)/pulseaudio/TODO \
  979. + $(top_srcdir)/pulseaudio/README \
  980. + $(top_srcdir)/pulseaudio/testsounds/README \
  981. + $(top_srcdir)/pulseaudio/testsounds/startup.wav \
  982. + $(top_srcdir)/pulseaudio/testsounds/logout.wav \
  983. + $(top_srcdir)/pulseaudio/testsounds/error.wav \
  984. + $(top_srcdir)/pulseaudio/unittests/org/classpath/icedtea/pulseaudio/*.java \
  985. + $(top_srcdir)/pulseaudio/COPYING
  986. +
  987. +EXTRA_DIST = $(GENERATED_FILES) $(top_srcdir)/patches/*.patch \
  988. + $(top_srcdir)/patches/boot/*.patch \
  989. + $(top_srcdir)/patches/cacao/*.patch \
  990. + $(top_srcdir)/patches/boot/hotspot/*/*.patch \
  991. + tools-copy contrib overlays \
  992. + javaws.png javaws.desktop \
  993. + jconsole.desktop policytool.desktop \
  994. + $(JTREG_SRCS) \
  995. + HACKING $(PULSEAUDIO_SRCS) fsg.sh \
  996. + hotspot.map autogen.sh \
  997. + tapset/hotspot.stp.in \
  998. + tapset/hotspot_jni.stp.in \
  999. + tapset/jstack.stp.in \
  1000. + tapset/hotspot_gc.stp.in \
  1001. + scripts/jni_create_stap.c \
  1002. + scripts/jni_desc \
  1003. + rewriter/agpl-3.0.txt \
  1004. + $(REWRITER_SRCS) \
  1005. + test/tapset \
  1006. + $(CRYPTO_CHECK_SRCS)
  1007. +
  1008. +ADD_ZERO_CONFIGURE_ARGS = \
  1009. + --with-jdk-home=$(BUILD_OUTPUT_DIR)/j2sdk-image \
  1010. + --disable-bootstrap --enable-zero $(am__append_50) \
  1011. + --disable-docs $(filter-out '--with-jdk-home=% '--with-ecj=% \
  1012. + '--with-java=% '--with-javah=% '--with-javac=% '--with-javac=% \
  1013. + '--with-rmic=% '--with-additional-vms=% '--disable-bootstrap% \
  1014. + '--enable-bootstrap% , $(CONFIGURE_ARGS)) $(foreach i, openjdk \
  1015. + hotspot corba jaxp jaxws jdk langtools, $(if $(findstring \
  1016. + --with-$(i)-src-zip=, $(CONFIGURE_ARGS)),, \
  1017. + --with-$(i)-src-zip=$(abs_top_builddir)/$(i).tar.gz))
  1018. +ADD_ZERO_EXTRA_BUILD_ENV = \
  1019. + BUILD_LANGTOOLS=false ALT_LANGTOOLS_DIST=$(BUILD_OUTPUT_DIR)/langtools/dist \
  1020. + BUILD_JAXP=false ALT_JAXP_DIST=$(BUILD_OUTPUT_DIR)/jaxp/dist \
  1021. + BUILD_JAXWS=false ALT_JAXWS_DIST=$(BUILD_OUTPUT_DIR)/jaxws/dist \
  1022. + BUILD_CORBA=false ALT_CORBA_DIST=$(BUILD_OUTPUT_DIR)/corba/dist \
  1023. + BUILD_JDK=false \
  1024. + DISTRIBUTION_PATCHES='$(foreach p,$(DISTRIBUTION_PATCHES),$(if $(findstring cacao,$(p)),,$(if $(findstring jamvm,$(p)),,$(p))))'
  1025. +
  1026. +
  1027. +# FIXME: this might need some adjustment for other OS than Linux
  1028. +jtreg_processes = ps x -ww -o pid,ppid,args \
  1029. + | awk '$$2 == 1 && $$3 ~ /^$(subst /,\/,/scratch)/' \
  1030. + | sed 's,$(CURDIR)/$(sdkimg),<sdkimg>,g;s,$(CURDIR),<pwd>,g'
  1031. +
  1032. +jtreg_pids = ps x --no-headers -ww -o pid,ppid,args \
  1033. + | awk '$$2 == 1 && $$3 ~ /^$(subst /,\/,$(CURDIR)/$(sdkimg))/ {print $$1}'
  1034. +
  1035. +all: all-am
  1036. +
  1037. +.SUFFIXES:
  1038. +am--refresh: Makefile
  1039. + @:
  1040. +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
  1041. + @for dep in $?; do \
  1042. + case '$(am__configure_deps)' in \
  1043. + *$$dep*) \
  1044. + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
  1045. + $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
  1046. + && exit 0; \
  1047. + exit 1;; \
  1048. + esac; \
  1049. + done; \
  1050. + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
  1051. + $(am__cd) $(top_srcdir) && \
  1052. + $(AUTOMAKE) --foreign Makefile
  1053. +.PRECIOUS: Makefile
  1054. +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
  1055. + @case '$?' in \
  1056. + *config.status*) \
  1057. + echo ' $(SHELL) ./config.status'; \
  1058. + $(SHELL) ./config.status;; \
  1059. + *) \
  1060. + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
  1061. + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
  1062. + esac;
  1063. +
  1064. +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
  1065. + $(SHELL) ./config.status --recheck
  1066. +
  1067. +$(top_srcdir)/configure: $(am__configure_deps)
  1068. + $(am__cd) $(srcdir) && $(AUTOCONF)
  1069. +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
  1070. + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
  1071. +$(am__aclocal_m4_deps):
  1072. +nss.cfg: $(top_builddir)/config.status $(srcdir)/nss.cfg.in
  1073. + cd $(top_builddir) && $(SHELL) ./config.status $@
  1074. +javac: $(top_builddir)/config.status $(srcdir)/javac.in
  1075. + cd $(top_builddir) && $(SHELL) ./config.status $@
  1076. +javap: $(top_builddir)/config.status $(srcdir)/javap.in
  1077. + cd $(top_builddir) && $(SHELL) ./config.status $@
  1078. +javah: $(top_builddir)/config.status $(srcdir)/javah.in
  1079. + cd $(top_builddir) && $(SHELL) ./config.status $@
  1080. +tz.properties: $(top_builddir)/config.status $(srcdir)/tz.properties.in
  1081. + cd $(top_builddir) && $(SHELL) ./config.status $@
  1082. +pax-mark-vm: $(top_builddir)/config.status $(srcdir)/pax-mark-vm.in
  1083. + cd $(top_builddir) && $(SHELL) ./config.status $@
  1084. +remove-intree-libraries.sh: $(top_builddir)/config.status $(srcdir)/remove-intree-libraries.sh.in
  1085. + cd $(top_builddir) && $(SHELL) ./config.status $@
  1086. +tapset/hotspot.stp: $(top_builddir)/config.status $(top_srcdir)/tapset/hotspot.stp.in
  1087. + cd $(top_builddir) && $(SHELL) ./config.status $@
  1088. +tapset/hotspot_jni.stp: $(top_builddir)/config.status $(top_srcdir)/tapset/hotspot_jni.stp.in
  1089. + cd $(top_builddir) && $(SHELL) ./config.status $@
  1090. +tapset/jstack.stp: $(top_builddir)/config.status $(top_srcdir)/tapset/jstack.stp.in
  1091. + cd $(top_builddir) && $(SHELL) ./config.status $@
  1092. +tapset/hotspot_gc.stp: $(top_builddir)/config.status $(top_srcdir)/tapset/hotspot_gc.stp.in
  1093. + cd $(top_builddir) && $(SHELL) ./config.status $@
  1094. +tags TAGS:
  1095. +
  1096. +ctags CTAGS:
  1097. +
  1098. +cscope cscopelist:
  1099. +
  1100. +
  1101. +distdir: $(DISTFILES)
  1102. + $(am__remove_distdir)
  1103. + test -d "$(distdir)" || mkdir "$(distdir)"
  1104. + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  1105. + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
  1106. + list='$(DISTFILES)'; \
  1107. + dist_files=`for file in $$list; do echo $$file; done | \
  1108. + sed -e "s|^$$srcdirstrip/||;t" \
  1109. + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
  1110. + case $$dist_files in \
  1111. + */*) $(MKDIR_P) `echo "$$dist_files" | \
  1112. + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
  1113. + sort -u` ;; \
  1114. + esac; \
  1115. + for file in $$dist_files; do \
  1116. + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
  1117. + if test -d $$d/$$file; then \
  1118. + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
  1119. + if test -d "$(distdir)/$$file"; then \
  1120. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  1121. + fi; \
  1122. + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
  1123. + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
  1124. + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
  1125. + fi; \
  1126. + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
  1127. + else \
  1128. + test -f "$(distdir)/$$file" \
  1129. + || cp -p $$d/$$file "$(distdir)/$$file" \
  1130. + || exit 1; \
  1131. + fi; \
  1132. + done
  1133. + -test -n "$(am__skip_mode_fix)" \
  1134. + || find "$(distdir)" -type d ! -perm -755 \
  1135. + -exec chmod u+rwx,go+rx {} \; -o \
  1136. + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  1137. + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  1138. + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
  1139. + || chmod -R a+r "$(distdir)"
  1140. +dist-gzip: distdir
  1141. + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
  1142. + $(am__post_remove_distdir)
  1143. +
  1144. +dist-bzip2: distdir
  1145. + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
  1146. + $(am__post_remove_distdir)
  1147. +
  1148. +dist-lzip: distdir
  1149. + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
  1150. + $(am__post_remove_distdir)
  1151. +
  1152. +dist-xz: distdir
  1153. + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
  1154. + $(am__post_remove_distdir)
  1155. +
  1156. +dist-tarZ: distdir
  1157. + @echo WARNING: "Support for shar distribution archives is" \
  1158. + "deprecated." >&2
  1159. + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
  1160. + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
  1161. + $(am__post_remove_distdir)
  1162. +
  1163. +dist-shar: distdir
  1164. + @echo WARNING: "Support for distribution archives compressed with" \
  1165. + "legacy program 'compress' is deprecated." >&2
  1166. + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
  1167. + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
  1168. + $(am__post_remove_distdir)
  1169. +
  1170. +dist-zip: distdir
  1171. + -rm -f $(distdir).zip
  1172. + zip -rq $(distdir).zip $(distdir)
  1173. + $(am__post_remove_distdir)
  1174. +
  1175. +dist dist-all:
  1176. + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
  1177. + $(am__post_remove_distdir)
  1178. +
  1179. +# This target untars the dist file and tries a VPATH configuration. Then
  1180. +# it guarantees that the distribution is self-contained by making another
  1181. +# tarfile.
  1182. +distcheck: dist
  1183. + case '$(DIST_ARCHIVES)' in \
  1184. + *.tar.gz*) \
  1185. + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
  1186. + *.tar.bz2*) \
  1187. + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
  1188. + *.tar.lz*) \
  1189. + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
  1190. + *.tar.xz*) \
  1191. + xz -dc $(distdir).tar.xz | $(am__untar) ;;\
  1192. + *.tar.Z*) \
  1193. + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
  1194. + *.shar.gz*) \
  1195. + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
  1196. + *.zip*) \
  1197. + unzip $(distdir).zip ;;\
  1198. + esac
  1199. + chmod -R a-w $(distdir)
  1200. + chmod u+w $(distdir)
  1201. + mkdir $(distdir)/_build $(distdir)/_inst
  1202. + chmod a-w $(distdir)
  1203. + test -d $(distdir)/_build || exit 0; \
  1204. + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  1205. + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
  1206. + && am__cwd=`pwd` \
  1207. + && $(am__cd) $(distdir)/_build \
  1208. + && ../configure --srcdir=.. --prefix="$$dc_install_base" \
  1209. + $(AM_DISTCHECK_CONFIGURE_FLAGS) \
  1210. + $(DISTCHECK_CONFIGURE_FLAGS) \
  1211. + && $(MAKE) $(AM_MAKEFLAGS) \
  1212. + && $(MAKE) $(AM_MAKEFLAGS) dvi \
  1213. + && $(MAKE) $(AM_MAKEFLAGS) check \
  1214. + && $(MAKE) $(AM_MAKEFLAGS) install \
  1215. + && $(MAKE) $(AM_MAKEFLAGS) installcheck \
  1216. + && $(MAKE) $(AM_MAKEFLAGS) uninstall \
  1217. + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
  1218. + distuninstallcheck \
  1219. + && chmod -R a-w "$$dc_install_base" \
  1220. + && ({ \
  1221. + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
  1222. + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
  1223. + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
  1224. + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
  1225. + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
  1226. + } || { rm -rf "$$dc_destdir"; exit 1; }) \
  1227. + && rm -rf "$$dc_destdir" \
  1228. + && $(MAKE) $(AM_MAKEFLAGS) dist \
  1229. + && rm -rf $(DIST_ARCHIVES) \
  1230. + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
  1231. + && cd "$$am__cwd" \
  1232. + || exit 1
  1233. + $(am__post_remove_distdir)
  1234. + @(echo "$(distdir) archives ready for distribution: "; \
  1235. + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
  1236. + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
  1237. +distuninstallcheck:
  1238. + @test -n '$(distuninstallcheck_dir)' || { \
  1239. + echo 'ERROR: trying to run $@ with an empty' \
  1240. + '$$(distuninstallcheck_dir)' >&2; \
  1241. + exit 1; \
  1242. + }; \
  1243. + $(am__cd) '$(distuninstallcheck_dir)' || { \
  1244. + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
  1245. + exit 1; \
  1246. + }; \
  1247. + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
  1248. + || { echo "ERROR: files left after uninstall:" ; \
  1249. + if test -n "$(DESTDIR)"; then \
  1250. + echo " (check DESTDIR support)"; \
  1251. + fi ; \
  1252. + $(distuninstallcheck_listfiles) ; \
  1253. + exit 1; } >&2
  1254. +distcleancheck: distclean
  1255. + @if test '$(srcdir)' = . ; then \
  1256. + echo "ERROR: distcleancheck can only run from a VPATH build" ; \
  1257. + exit 1 ; \
  1258. + fi
  1259. + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
  1260. + || { echo "ERROR: files left in build directory after distclean:" ; \
  1261. + $(distcleancheck_listfiles) ; \
  1262. + exit 1; } >&2
  1263. +check-am: all-am
  1264. + $(MAKE) $(AM_MAKEFLAGS) check-local
  1265. +check: check-am
  1266. +all-am: Makefile all-local
  1267. +installdirs:
  1268. +install-exec: install-exec-am
  1269. +install-data: install-data-am
  1270. +uninstall: uninstall-am
  1271. +
  1272. +install-am: all-am
  1273. + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  1274. +
  1275. +installcheck: installcheck-am
  1276. +install-strip:
  1277. + if test -z '$(STRIP)'; then \
  1278. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  1279. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  1280. + install; \
  1281. + else \
  1282. + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
  1283. + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
  1284. + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
  1285. + fi
  1286. +mostlyclean-generic:
  1287. +
  1288. +clean-generic:
  1289. +
  1290. +distclean-generic:
  1291. + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
  1292. + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
  1293. +
  1294. +maintainer-clean-generic:
  1295. + @echo "This command is intended for maintainers to use"
  1296. + @echo "it deletes files that may require special tools to rebuild."
  1297. +clean: clean-am
  1298. +
  1299. +clean-am: clean-generic clean-local mostlyclean-am
  1300. +
  1301. +distclean: distclean-am
  1302. + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  1303. + -rm -f Makefile
  1304. +distclean-am: clean-am distclean-generic distclean-local
  1305. +
  1306. +dvi: dvi-am
  1307. +
  1308. +dvi-am:
  1309. +
  1310. +html: html-am
  1311. +
  1312. +html-am:
  1313. +
  1314. +info: info-am
  1315. +
  1316. +info-am:
  1317. +
  1318. +install-data-am:
  1319. +
  1320. +install-dvi: install-dvi-am
  1321. +
  1322. +install-dvi-am:
  1323. +
  1324. +install-exec-am:
  1325. +
  1326. +install-html: install-html-am
  1327. +
  1328. +install-html-am:
  1329. +
  1330. +install-info: install-info-am
  1331. +
  1332. +install-info-am:
  1333. +
  1334. +install-man:
  1335. +
  1336. +install-pdf: install-pdf-am
  1337. +
  1338. +install-pdf-am:
  1339. +
  1340. +install-ps: install-ps-am
  1341. +
  1342. +install-ps-am:
  1343. +
  1344. +installcheck-am:
  1345. +
  1346. +maintainer-clean: maintainer-clean-am
  1347. + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
  1348. + -rm -rf $(top_srcdir)/autom4te.cache
  1349. + -rm -f Makefile
  1350. +maintainer-clean-am: distclean-am maintainer-clean-generic
  1351. +
  1352. +mostlyclean: mostlyclean-am
  1353. +
  1354. +mostlyclean-am: mostlyclean-generic
  1355. +
  1356. +pdf: pdf-am
  1357. +
  1358. +pdf-am:
  1359. +
  1360. +ps: ps-am
  1361. +
  1362. +ps-am:
  1363. +
  1364. +uninstall-am:
  1365. +
  1366. +.MAKE: check-am install-am install-strip
  1367. +
  1368. +.PHONY: all all-am all-local am--refresh check check-am check-local \
  1369. + clean clean-generic clean-local cscopelist-am ctags-am dist \
  1370. + dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
  1371. + dist-xz dist-zip distcheck distclean distclean-generic \
  1372. + distclean-local distcleancheck distdir distuninstallcheck dvi \
  1373. + dvi-am html html-am info info-am install install-am \
  1374. + install-data install-data-am install-dvi install-dvi-am \
  1375. + install-exec install-exec-am install-html install-html-am \
  1376. + install-info install-info-am install-man install-pdf \
  1377. + install-pdf-am install-ps install-ps-am install-strip \
  1378. + installcheck installcheck-am installdirs maintainer-clean \
  1379. + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
  1380. + pdf-am ps ps-am tags-am uninstall uninstall-am
  1381. +
  1382. +
  1383. +# Top-Level Targets
  1384. +# =================
  1385. +
  1386. +all-local: icedtea-stage2
  1387. +
  1388. +check-local: jtregcheck check-tapset
  1389. +
  1390. +clean-tests: clean-jtreg clean-tapset-report clean-jtreg-reports
  1391. + if [ $(abs_top_srcdir) != $(abs_top_builddir) ] ; then \
  1392. + if [ -e test ] ; then \
  1393. + rmdir test ; \
  1394. + fi \
  1395. + fi
  1396. +
  1397. +clean-local: clean-tests clean-pulse-java \
  1398. + clean-icedtea clean-icedtea-boot clean-clone clean-clone-boot \
  1399. + clean-bootstrap-directory-stage1 clean-bootstrap-directory-stage2 \
  1400. + clean-bootstrap-directory-symlink-stage1 clean-bootstrap-directory-symlink-stage2 \
  1401. + clean-extract clean-generated clean-native-ecj clean-hgforest clean-icedtea-stage2 \
  1402. + clean-icedtea-debug-stage2 clean-icedtea-stage1 clean-add-zero clean-add-zero-debug \
  1403. + clean-add-cacao clean-add-cacao-debug clean-rt clean-rewrite-rhino clean-rewriter \
  1404. + clean-add-systemtap clean-add-systemtap-debug clean-add-pulseaudio clean-add-pulseaudio-debug \
  1405. + clean-add-nss clean-add-tzdata-support clean-add-tzdata-support-debug clean-cryptocheck
  1406. + if [ -e bootstrap ]; then \
  1407. + rmdir bootstrap ; \
  1408. + fi
  1409. + if [ -e lib ]; then \
  1410. + rmdir lib ; \
  1411. + fi
  1412. +
  1413. +distclean-local: clean-local clean-download
  1414. + if [ $(abs_top_srcdir) != $(abs_top_builddir) ]; then \
  1415. + if [ -e tapset ] ; then \
  1416. + rmdir tapset ; \
  1417. + fi ; \
  1418. + fi
  1419. + if [ -e stamps ] ; then \
  1420. + rmdir stamps ; \
  1421. + fi
  1422. +
  1423. +install:
  1424. +
  1425. +.PHONY: \
  1426. + env env-boot snapshot clean-clone clean-patch \
  1427. + clean-clone-boot clean-patch-boot clean-bootstrap-directory-stage2 \
  1428. + clean-bootstrap-directory-symlink-stage2 clean-bootstrap-directory-stage1 \
  1429. + clean-bootstrap-directory-symlink-stage1 icedtea icedtea-debug \
  1430. + clean-icedtea icedtea-stage2 clean-icedtea-boot \
  1431. + clean-rt hotspot hotspot-helper clean-jtreg clean-jtreg-reports \
  1432. + jtregcheck clean-remove-intree-libraries \
  1433. + clean-jamvm clean-extract-jamvm clean-add-jamvm clean-add-jamvm-debug \
  1434. + clean-extract-hotspot clean-sanitise-openjdk \
  1435. + clean-tests clean-tapset-report clean-add-systemtap \
  1436. + clean-add-systemtap-debug clean-add-pulseaudio clean-add-pulseaudio-debug \
  1437. + clean-add-nss clean-add-tzdata-support clean-add-tzdata-support-debug \
  1438. + clean-add-systemtap-boot clean-add-pulseaudio-boot clean-add-tzdata-support-boot \
  1439. + clean-check-crypto clean-check-crypto-debug clean-check-crypto-boot \
  1440. + clean-add-archive clean-add-archive-debug clean-add-archive-boot clean-cryptocheck
  1441. +
  1442. +env:
  1443. + @echo 'unset JAVA_HOME'
  1444. + @echo 'export $(ICEDTEA_ENV)'
  1445. +
  1446. +env-boot:
  1447. + @echo 'unset JAVA_HOME'
  1448. + @echo 'export $(ICEDTEA_ENV_BOOT)'
  1449. +
  1450. +# Mercurial snapshot.
  1451. +snapshot: dist
  1452. + mv $(DIST_ARCHIVES) $(distdir)-`$(HG) tip --template '{node}'`.tar.gz
  1453. +
  1454. +# Creates archive of openjdk.
  1455. +dist-openjdk: stamps/extract-cacao.stamp
  1456. + find openjdk/ -name \\.hg* | xargs rm -rf
  1457. + $(ZIP) -r openjdk-$(COMBINED_VERSION) openjdk/
  1458. +
  1459. +# Creates archive of openjdk that is compliant with Free Software guidelines.
  1460. +dist-openjdk-fsg: stamps/patch-fsg.stamp
  1461. + $(ZIP) -r openjdk-fsg-$(COMBINED_VERSION) openjdk/
  1462. +
  1463. +dist-openjdk-fsg-xz: stamps/patch-fsg.stamp
  1464. + tardir=openjdk/ && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c \
  1465. + >openjdk-fsg-$(COMBINED_VERSION).tar.xz
  1466. +
  1467. +# OpenJDK Source Preparation Targets
  1468. +# ==================================
  1469. +
  1470. +# Check for forest support
  1471. +
  1472. +stamps/hgforest.stamp:
  1473. +@USE_HG_TRUE@ if ! $(HG) fclone -h; \
  1474. +@USE_HG_TRUE@ then \
  1475. +@USE_HG_TRUE@ echo "No forest extension found. Please refer to" \
  1476. +@USE_HG_TRUE@ "http://selenic.com/mercurial/wiki/index.cgi/ForestExtension"; \
  1477. +@USE_HG_TRUE@ exit 1; \
  1478. +@USE_HG_TRUE@ fi;
  1479. + mkdir -p stamps
  1480. + touch $@
  1481. +
  1482. +clean-hgforest:
  1483. + rm -f stamps/hgforest.stamp
  1484. +
  1485. +# Download OpenJDK sources.
  1486. +
  1487. +stamps/download.stamp: stamps/download-openjdk.stamp \
  1488. + stamps/download-cacao.stamp stamps/download-jamvm.stamp
  1489. + mkdir -p stamps
  1490. + touch $@
  1491. +
  1492. +clean-download: clean-download-openjdk clean-download-cacao clean-download-jamvm
  1493. + rm -f stamps/download.stamp
  1494. +
  1495. +stamps/download-openjdk.stamp: stamps/hgforest.stamp
  1496. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_CLOSURES_TRUE@ $(HG) fclone $(CLOSURES_HG_URL) openjdk;
  1497. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_TRUE@ $(HG) fclone $(CVMI_HG_URL) openjdk;
  1498. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_CACIOCAVALLO_TRUE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@ $(HG) fclone $(CACIOCAVALLO_HG_URL) openjdk;
  1499. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_TRUE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@ $(HG) fclone $(BSD_HG_URL) openjdk;
  1500. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_NIO2_TRUE@ hg fclone $(NIO2_HG_URL) openjdk;
  1501. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_JDK7_TRUE@@USE_NIO2_FALSE@ hg fclone $(OPENJDK_HG_URL) openjdk;
  1502. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_TRUE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@@WITH_HGREV_TRUE@ $(HG) fclone -r $(HGREV) $(ICEDTEA_HG_URL) openjdk;
  1503. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_TRUE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@@WITH_HGREV_FALSE@ $(HG) fclone $(ICEDTEA_HG_URL) openjdk;
  1504. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_ALT_OPENJDK_SRC_ZIP_TRUE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ ln -sf $(ALT_OPENJDK_SRC_ZIP) $(OPENJDK_SRC_ZIP)
  1505. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if ! echo "$(OPENJDK_SHA256SUM) $(OPENJDK_SRC_ZIP)" \
  1506. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ | $(SHA256SUM) --check ; \
  1507. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ then \
  1508. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if test "x$(enable_downloading)" = "xyes"; then \
  1509. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if [ -e $(OPENJDK_SRC_ZIP) ] ; then \
  1510. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ mv $(OPENJDK_SRC_ZIP) $(OPENJDK_SRC_ZIP).old ; \
  1511. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi ; \
  1512. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ $(WGET) $(OPENJDK_URL)/archive/$(OPENJDK_CHANGESET).tar.gz -O $(OPENJDK_SRC_ZIP); \
  1513. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if ! echo "$(OPENJDK_SHA256SUM) $(OPENJDK_SRC_ZIP)" \
  1514. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ | $(SHA256SUM) --check ; then \
  1515. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ echo "ERROR: Bad download of OpenJDK root zip"; false; \
  1516. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi; \
  1517. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ else \
  1518. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ echo "ERROR: No up-to-date OpenJDK root zip available"; exit -1; \
  1519. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi ; \
  1520. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi ;
  1521. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_ALT_CORBA_SRC_ZIP_TRUE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ ln -sf $(ALT_CORBA_SRC_ZIP) $(CORBA_SRC_ZIP)
  1522. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if ! echo "$(CORBA_SHA256SUM) $(CORBA_SRC_ZIP)" \
  1523. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ | $(SHA256SUM) --check ; \
  1524. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ then \
  1525. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if test "x$(enable_downloading)" = "xyes"; then \
  1526. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if [ $(CORBA_SRC_ZIP) ] ; then \
  1527. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ mv $(CORBA_SRC_ZIP) $(CORBA_SRC_ZIP).old ; \
  1528. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi ; \
  1529. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ $(WGET) $(CORBA_URL)/archive/$(CORBA_CHANGESET).tar.gz -O $(CORBA_SRC_ZIP); \
  1530. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if ! echo "$(CORBA_SHA256SUM) $(CORBA_SRC_ZIP)" \
  1531. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ | $(SHA256SUM) --check ; then \
  1532. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ echo "ERROR: Bad download of CORBA zip"; false; \
  1533. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi; \
  1534. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ else \
  1535. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ echo "ERROR: No up-to-date OpenJDK CORBA zip available"; exit -1; \
  1536. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi ; \
  1537. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi ;
  1538. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_ALT_JAXP_SRC_ZIP_TRUE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ ln -sf $(ALT_JAXP_SRC_ZIP) $(JAXP_SRC_ZIP)
  1539. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if ! echo "$(JAXP_SHA256SUM) $(JAXP_SRC_ZIP)" \
  1540. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ | $(SHA256SUM) --check ; \
  1541. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ then \
  1542. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if test "x$(enable_downloading)" = "xyes"; then \
  1543. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if [ $(JAXP_SRC_ZIP) ] ; then \
  1544. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ mv $(JAXP_SRC_ZIP) $(JAXP_SRC_ZIP).old ; \
  1545. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi ; \
  1546. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ $(WGET) $(JAXP_URL)/archive/$(JAXP_CHANGESET).tar.gz -O $(JAXP_SRC_ZIP); \
  1547. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if ! echo "$(JAXP_SHA256SUM) $(JAXP_SRC_ZIP)" \
  1548. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ | $(SHA256SUM) --check ; then \
  1549. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ echo "ERROR: Bad download of JAXP zip"; false; \
  1550. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi; \
  1551. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ else \
  1552. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ echo "ERROR: No up-to-date JAXP root zip available"; exit -1; \
  1553. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi ; \
  1554. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi ;
  1555. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_ALT_JAXWS_SRC_ZIP_TRUE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ ln -sf $(ALT_JAXWS_SRC_ZIP) $(JAXWS_SRC_ZIP)
  1556. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if ! echo "$(JAXWS_SHA256SUM) $(JAXWS_SRC_ZIP)" \
  1557. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ | $(SHA256SUM) --check ; \
  1558. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ then \
  1559. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if test "x$(enable_downloading)" = "xyes"; then \
  1560. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if [ $(JAXWS_SRC_ZIP) ] ; then \
  1561. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ mv $(JAXWS_SRC_ZIP) $(JAXWS_SRC_ZIP).old ; \
  1562. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi ; \
  1563. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ $(WGET) $(JAXWS_URL)/archive/$(JAXWS_CHANGESET).tar.gz -O $(JAXWS_SRC_ZIP); \
  1564. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if ! echo "$(JAXWS_SHA256SUM) $(JAXWS_SRC_ZIP)" \
  1565. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ | $(SHA256SUM) --check ; then \
  1566. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ echo "ERROR: Bad download of JAXWS zip"; false; \
  1567. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi; \
  1568. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ else \
  1569. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ echo "ERROR: No up-to-date OpenJDK JAXWS zip available"; exit -1; \
  1570. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi ; \
  1571. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi ;
  1572. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_ALT_JDK_SRC_ZIP_TRUE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ ln -sf $(ALT_JDK_SRC_ZIP) $(JDK_SRC_ZIP)
  1573. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if ! echo "$(JDK_SHA256SUM) $(JDK_SRC_ZIP)" \
  1574. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ | $(SHA256SUM) --check ; \
  1575. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ then \
  1576. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if test "x$(enable_downloading)" = "xyes"; then \
  1577. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if [ $(JDK_SRC_ZIP) ] ; then \
  1578. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ mv $(JDK_SRC_ZIP) $(JDK_SRC_ZIP).old ; \
  1579. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi ; \
  1580. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ $(WGET) $(JDK_URL)/archive/$(JDK_CHANGESET).tar.gz -O $(JDK_SRC_ZIP); \
  1581. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if ! echo "$(JDK_SHA256SUM) $(JDK_SRC_ZIP)" \
  1582. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ | $(SHA256SUM) --check ; then \
  1583. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ echo "ERROR: Bad download of JDK zip"; false; \
  1584. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi; \
  1585. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ else \
  1586. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ echo "ERROR: No up-to-date OpenJDK JDK zip available"; exit -1; \
  1587. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi ; \
  1588. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi ;
  1589. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_ALT_LANGTOOLS_SRC_ZIP_TRUE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ ln -sf $(ALT_LANGTOOLS_SRC_ZIP) $(LANGTOOLS_SRC_ZIP)
  1590. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if ! echo "$(LANGTOOLS_SHA256SUM) $(LANGTOOLS_SRC_ZIP)" \
  1591. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ | $(SHA256SUM) --check ; \
  1592. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ then \
  1593. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if test "x$(enable_downloading)" = "xyes"; then \
  1594. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if [ $(LANGTOOLS_SRC_ZIP) ] ; then \
  1595. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ mv $(LANGTOOLS_SRC_ZIP) $(LANGTOOLS_SRC_ZIP).old ; \
  1596. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi ; \
  1597. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ $(WGET) $(LANGTOOLS_URL)/archive/$(LANGTOOLS_CHANGESET).tar.gz -O $(LANGTOOLS_SRC_ZIP); \
  1598. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if ! echo "$(LANGTOOLS_SHA256SUM) $(LANGTOOLS_SRC_ZIP)" \
  1599. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ | $(SHA256SUM) --check ; then \
  1600. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ echo "ERROR: Bad download of langtools zip"; false; \
  1601. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi; \
  1602. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ else \
  1603. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ echo "ERROR: No up-to-date OpenJDK langtools zip available"; exit -1; \
  1604. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi ; \
  1605. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi ;
  1606. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_ALT_HOTSPOT_SRC_ZIP_TRUE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ ln -sf $(ALT_HOTSPOT_SRC_ZIP) $(HOTSPOT_SRC_ZIP)
  1607. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ echo "Using HotSpot build: ${HSBUILD}"
  1608. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if ! echo "$(HS_SHA256SUM) $(HOTSPOT_SRC_ZIP)" \
  1609. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ | $(SHA256SUM) --check ; \
  1610. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ then \
  1611. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if test "x$(enable_downloading)" = "xyes"; then \
  1612. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if [ -e $(HOTSPOT_SRC_ZIP) ] ; then \
  1613. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ mv $(HOTSPOT_SRC_ZIP) $(HOTSPOT_SRC_ZIP).old ; \
  1614. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi ; \
  1615. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ $(WGET) $(HS_URL)/archive/$(HS_CHANGESET).tar.gz -O $(HOTSPOT_SRC_ZIP) ; \
  1616. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ if ! echo "$(HS_SHA256SUM) $(HOTSPOT_SRC_ZIP)" \
  1617. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ | $(SHA256SUM) --check ; then \
  1618. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ echo "ERROR: Bad download of HotSpot zip"; false; \
  1619. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi; \
  1620. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ else \
  1621. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ echo "ERROR: No up-to-date OpenJDK HotSpot zip available"; exit -1; \
  1622. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi ; \
  1623. +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_FALSE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@@USE_HG_FALSE@@USE_JDK7_FALSE@@USE_NIO2_FALSE@ fi
  1624. + mkdir -p stamps
  1625. + touch $@
  1626. +
  1627. +clean-download-openjdk:
  1628. + if [ ! -z $(OPENJDK_SRC_ZIP) ] ; then \
  1629. + rm -f $(OPENJDK_SRC_ZIP) ; \
  1630. + fi
  1631. + if [ ! -z $(CORBA_SRC_ZIP) ] ; then \
  1632. + rm -f $(CORBA_SRC_ZIP) ; \
  1633. + fi
  1634. + if [ ! -z $(JAXP_SRC_ZIP) ] ; then \
  1635. + rm -f $(JAXP_SRC_ZIP) ; \
  1636. + fi
  1637. + if [ ! -z $(JAXWS_SRC_ZIP) ] ; then \
  1638. + rm -f $(JAXWS_SRC_ZIP) ; \
  1639. + fi
  1640. + if [ ! -z $(JDK_SRC_ZIP) ] ; then \
  1641. + rm -f $(JDK_SRC_ZIP) ; \
  1642. + fi
  1643. + if [ ! -z $(LANGTOOLS_SRC_ZIP) ] ; then \
  1644. + rm -f $(LANGTOOLS_SRC_ZIP) ; \
  1645. + fi
  1646. + if [ ! -z $(HOTSPOT_SRC_ZIP) ] ; then \
  1647. + rm -f $(HOTSPOT_SRC_ZIP) ; \
  1648. + fi
  1649. + rm -f stamps/download-openjdk.stamp
  1650. +
  1651. +stamps/download-cacao.stamp:
  1652. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_ALT_CACAO_SRC_ZIP_TRUE@@USE_SYSTEM_CACAO_FALSE@ ln -sf $(ALT_CACAO_SRC_ZIP) $(CACAO_SRC_ZIP)
  1653. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ if ! echo "$(CACAO_SHA256SUM) $(CACAO_SRC_ZIP)" \
  1654. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ | $(SHA256SUM) --check ; \
  1655. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ then \
  1656. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ if test "x$(enable_downloading)" = "xyes"; then \
  1657. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ if [ -e $(CACAO_SRC_ZIP) ] ; then \
  1658. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ mv $(CACAO_SRC_ZIP) $(CACAO_SRC_ZIP).old ; \
  1659. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ fi ; \
  1660. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ $(WGET) $(CACAO_URL) -O $(CACAO_SRC_ZIP); \
  1661. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ if ! echo "$(CACAO_SHA256SUM) $(CACAO_SRC_ZIP)" \
  1662. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ | $(SHA256SUM) --check ; then \
  1663. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ echo "ERROR: Bad download of CACAO zip"; false; \
  1664. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ fi; \
  1665. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ else \
  1666. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ echo "ERROR: No up-to-date CACAO zip available"; exit -1; \
  1667. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ fi ; \
  1668. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ fi
  1669. + mkdir -p stamps
  1670. + touch $@
  1671. +
  1672. +clean-download-cacao:
  1673. + rm -f $(CACAO_SRC_ZIP)
  1674. + rm -f stamps/download-cacao.stamp
  1675. +
  1676. +stamps/download-jamvm.stamp:
  1677. +@BUILD_JAMVM_TRUE@@USE_ALT_JAMVM_SRC_ZIP_TRUE@ ln -sf $(ALT_JAMVM_SRC_ZIP) $(JAMVM_SRC_ZIP)
  1678. +@BUILD_JAMVM_TRUE@ if ! echo "$(JAMVM_SHA256SUM) $(JAMVM_SRC_ZIP)" \
  1679. +@BUILD_JAMVM_TRUE@ | $(SHA256SUM) --check ; \
  1680. +@BUILD_JAMVM_TRUE@ then \
  1681. +@BUILD_JAMVM_TRUE@ if test "x$(enable_downloading)" = "xyes"; then \
  1682. +@BUILD_JAMVM_TRUE@ if [ -e $(JAMVM_SRC_ZIP) ] ; then \
  1683. +@BUILD_JAMVM_TRUE@ mv $(JAMVM_SRC_ZIP) $(JAMVM_SRC_ZIP).old ; \
  1684. +@BUILD_JAMVM_TRUE@ fi ; \
  1685. +@BUILD_JAMVM_TRUE@ $(WGET) $(JAMVM_URL) -O $(JAMVM_SRC_ZIP); \
  1686. +@BUILD_JAMVM_TRUE@ if ! echo "$(JAMVM_SHA256SUM) $(JAMVM_SRC_ZIP)" \
  1687. +@BUILD_JAMVM_TRUE@ | $(SHA256SUM) --check ; then \
  1688. +@BUILD_JAMVM_TRUE@ echo "ERROR: Bad download of JamVM zip"; false; \
  1689. +@BUILD_JAMVM_TRUE@ fi; \
  1690. +@BUILD_JAMVM_TRUE@ else \
  1691. +@BUILD_JAMVM_TRUE@ echo "ERROR: No up-to-date JamVM zip available"; exit -1; \
  1692. +@BUILD_JAMVM_TRUE@ fi ; \
  1693. +@BUILD_JAMVM_TRUE@ fi
  1694. + mkdir -p stamps
  1695. + touch $@
  1696. +
  1697. +clean-download-jamvm:
  1698. + rm -f $(JAMVM_SRC_ZIP)
  1699. + rm -f stamps/download-jamvm.stamp
  1700. +
  1701. +stamps/extract.stamp: stamps/extract-openjdk.stamp \
  1702. + stamps/extract-cacao.stamp stamps/remove-intree-libraries.stamp \
  1703. + stamps/extract-jamvm.stamp stamps/extract-hotspot.stamp stamps/sanitise-openjdk.stamp
  1704. + mkdir -p stamps
  1705. + touch $@
  1706. +
  1707. +clean-extract: clean-extract-openjdk clean-extract-cacao clean-extract-jamvm
  1708. + rm -f stamps/extract.stamp
  1709. +
  1710. +stamps/extract-openjdk.stamp: stamps/download-openjdk.stamp
  1711. +@OPENJDK_SRC_DIR_FOUND_TRUE@ cp -pPR $(OPENJDK_SRC_DIR_LINK) $(OPENJDK_SRC_DIR) openjdk
  1712. +@OPENJDK_SRC_DIR_FOUND_FALSE@ set -e ; \
  1713. +@OPENJDK_SRC_DIR_FOUND_FALSE@ if ! test -d openjdk ; then \
  1714. +@OPENJDK_SRC_DIR_FOUND_FALSE@ if [ ! -z $(OPENJDK_SRC_ZIP) ] ; then \
  1715. +@OPENJDK_SRC_DIR_FOUND_FALSE@ case "$(OPENJDK_SRC_ZIP)" in \
  1716. +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.zip) $(UNZIP) -q $(OPENJDK_SRC_ZIP) ;; \
  1717. +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.tar.*) $(TAR) xf $(OPENJDK_SRC_ZIP) ;; \
  1718. +@OPENJDK_SRC_DIR_FOUND_FALSE@ esac; \
  1719. +@OPENJDK_SRC_DIR_FOUND_FALSE@ mv `echo $(ICEDTEA_PREFIX)|sed 's#\.#-#'`-$(OPENJDK_CHANGESET) openjdk ; \
  1720. +@OPENJDK_SRC_DIR_FOUND_FALSE@ else \
  1721. +@OPENJDK_SRC_DIR_FOUND_FALSE@ echo "ERROR: Couldn't extract OpenJDK"; \
  1722. +@OPENJDK_SRC_DIR_FOUND_FALSE@ false; \
  1723. +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi; \
  1724. +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi;
  1725. +@OPENJDK_SRC_DIR_FOUND_FALSE@ set -e ; \
  1726. +@OPENJDK_SRC_DIR_FOUND_FALSE@ if [ ! -z $(CORBA_SRC_ZIP) ] ; then \
  1727. +@OPENJDK_SRC_DIR_FOUND_FALSE@ if test -e ${CORBA_SRC_ZIP} ; \
  1728. +@OPENJDK_SRC_DIR_FOUND_FALSE@ then \
  1729. +@OPENJDK_SRC_DIR_FOUND_FALSE@ if ! test -d openjdk/corba ; \
  1730. +@OPENJDK_SRC_DIR_FOUND_FALSE@ then \
  1731. +@OPENJDK_SRC_DIR_FOUND_FALSE@ case "$(CORBA_SRC_ZIP)" in \
  1732. +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.zip) $(UNZIP) -q $(CORBA_SRC_ZIP) ;; \
  1733. +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.tar.*) $(TAR) xf $(CORBA_SRC_ZIP) ;; \
  1734. +@OPENJDK_SRC_DIR_FOUND_FALSE@ esac; \
  1735. +@OPENJDK_SRC_DIR_FOUND_FALSE@ mv corba-$(CORBA_CHANGESET) openjdk/corba ; \
  1736. +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi ; \
  1737. +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi ; \
  1738. +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi
  1739. +@OPENJDK_SRC_DIR_FOUND_FALSE@ set -e ; \
  1740. +@OPENJDK_SRC_DIR_FOUND_FALSE@ if [ ! -z $(JAXP_SRC_ZIP) ] ; then \
  1741. +@OPENJDK_SRC_DIR_FOUND_FALSE@ if test -e ${JAXP_SRC_ZIP} ; \
  1742. +@OPENJDK_SRC_DIR_FOUND_FALSE@ then \
  1743. +@OPENJDK_SRC_DIR_FOUND_FALSE@ if ! test -d openjdk/jaxp ; \
  1744. +@OPENJDK_SRC_DIR_FOUND_FALSE@ then \
  1745. +@OPENJDK_SRC_DIR_FOUND_FALSE@ case "$(JAXP_SRC_ZIP)" in \
  1746. +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.zip) $(UNZIP) -q $(JAXP_SRC_ZIP) ;; \
  1747. +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.tar.*) $(TAR) xf $(JAXP_SRC_ZIP) ;; \
  1748. +@OPENJDK_SRC_DIR_FOUND_FALSE@ esac; \
  1749. +@OPENJDK_SRC_DIR_FOUND_FALSE@ mv jaxp-$(JAXP_CHANGESET) openjdk/jaxp ; \
  1750. +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi ; \
  1751. +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi ; \
  1752. +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi
  1753. +@OPENJDK_SRC_DIR_FOUND_FALSE@ set -e ; \
  1754. +@OPENJDK_SRC_DIR_FOUND_FALSE@ if [ ! -z $(JAXWS_SRC_ZIP) ] ; then \
  1755. +@OPENJDK_SRC_DIR_FOUND_FALSE@ if test -e ${JAXWS_SRC_ZIP} ; \
  1756. +@OPENJDK_SRC_DIR_FOUND_FALSE@ then \
  1757. +@OPENJDK_SRC_DIR_FOUND_FALSE@ if ! test -d openjdk/jaxws ; \
  1758. +@OPENJDK_SRC_DIR_FOUND_FALSE@ then \
  1759. +@OPENJDK_SRC_DIR_FOUND_FALSE@ case "$(JAXWS_SRC_ZIP)" in \
  1760. +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.zip) $(UNZIP) -q $(JAXWS_SRC_ZIP) ;; \
  1761. +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.tar.*) $(TAR) xf $(JAXWS_SRC_ZIP) ;; \
  1762. +@OPENJDK_SRC_DIR_FOUND_FALSE@ esac; \
  1763. +@OPENJDK_SRC_DIR_FOUND_FALSE@ mv jaxws-$(JAXWS_CHANGESET) openjdk/jaxws ; \
  1764. +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi ; \
  1765. +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi ; \
  1766. +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi
  1767. +@OPENJDK_SRC_DIR_FOUND_FALSE@ set -e ; \
  1768. +@OPENJDK_SRC_DIR_FOUND_FALSE@ if [ ! -z $(JDK_SRC_ZIP) ] ; then \
  1769. +@OPENJDK_SRC_DIR_FOUND_FALSE@ if test -e ${JDK_SRC_ZIP} ; \
  1770. +@OPENJDK_SRC_DIR_FOUND_FALSE@ then \
  1771. +@OPENJDK_SRC_DIR_FOUND_FALSE@ if ! test -d openjdk/jdk ; \
  1772. +@OPENJDK_SRC_DIR_FOUND_FALSE@ then \
  1773. +@OPENJDK_SRC_DIR_FOUND_FALSE@ case "$(JDK_SRC_ZIP)" in \
  1774. +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.zip) $(UNZIP) -q $(JDK_SRC_ZIP) ;; \
  1775. +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.tar.*) $(TAR) xf $(JDK_SRC_ZIP) ;; \
  1776. +@OPENJDK_SRC_DIR_FOUND_FALSE@ esac; \
  1777. +@OPENJDK_SRC_DIR_FOUND_FALSE@ mv jdk-$(JDK_CHANGESET) openjdk/jdk ; \
  1778. +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi ; \
  1779. +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi ; \
  1780. +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi
  1781. +@OPENJDK_SRC_DIR_FOUND_FALSE@ set -e ; \
  1782. +@OPENJDK_SRC_DIR_FOUND_FALSE@ if [ ! -z $(LANGTOOLS_SRC_ZIP) ] ; then \
  1783. +@OPENJDK_SRC_DIR_FOUND_FALSE@ if test -e ${LANGTOOLS_SRC_ZIP} ; \
  1784. +@OPENJDK_SRC_DIR_FOUND_FALSE@ then \
  1785. +@OPENJDK_SRC_DIR_FOUND_FALSE@ if ! test -d openjdk/langtools ; \
  1786. +@OPENJDK_SRC_DIR_FOUND_FALSE@ then \
  1787. +@OPENJDK_SRC_DIR_FOUND_FALSE@ case "$(LANGTOOLS_SRC_ZIP)" in \
  1788. +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.zip) $(UNZIP) -q $(LANGTOOLS_SRC_ZIP) ;; \
  1789. +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.tar.*) $(TAR) xf $(LANGTOOLS_SRC_ZIP) ;; \
  1790. +@OPENJDK_SRC_DIR_FOUND_FALSE@ esac; \
  1791. +@OPENJDK_SRC_DIR_FOUND_FALSE@ mv langtools-$(LANGTOOLS_CHANGESET) openjdk/langtools ; \
  1792. +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi ; \
  1793. +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi ; \
  1794. +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi
  1795. + touch stamps/extract-openjdk.stamp
  1796. +
  1797. +clean-extract-openjdk: clean-overlay clean-versioning \
  1798. + clean-patch-fsg clean-remove-intree-libraries \
  1799. + clean-sanitise-openjdk clean-extract-hotspot
  1800. + rm -rf openjdk
  1801. + rm -f stamps/extract-openjdk.stamp
  1802. +
  1803. +stamps/extract-hotspot.stamp: stamps/extract-openjdk.stamp
  1804. + set -e ; \
  1805. + if [ ! -z $(HOTSPOT_SRC_ZIP) ] ; then \
  1806. + if test -e ${HOTSPOT_SRC_ZIP} ; \
  1807. + then \
  1808. + case "$(HOTSPOT_SRC_ZIP)" in \
  1809. + *.zip) $(UNZIP) -q $(HOTSPOT_SRC_ZIP) ;; \
  1810. + *.tar.*) $(TAR) xf $(HOTSPOT_SRC_ZIP) ;; \
  1811. + esac; \
  1812. + if test "x${HSBUILD}" != "xdefault"; then \
  1813. + rm -rf openjdk/hotspot ; \
  1814. + fi ; \
  1815. + if ! test -d openjdk/hotspot ; \
  1816. + then \
  1817. + mv hotspot-$(HS_CHANGESET) openjdk/hotspot ; \
  1818. + else \
  1819. + rm -rf hotspot-$(HS_CHANGESET) ; \
  1820. + fi ; \
  1821. + fi ; \
  1822. + fi
  1823. + touch stamps/extract-hotspot.stamp
  1824. +
  1825. +clean-extract-hotspot:
  1826. + rm -rf openjdk/hotspot
  1827. + rm -f stamps/extract-hotspot.stamp
  1828. +
  1829. +stamps/sanitise-openjdk.stamp: stamps/extract-openjdk.stamp \
  1830. + stamps/extract-hotspot.stamp
  1831. + chmod -R ug+w openjdk
  1832. + sh $(srcdir)/fsg.sh
  1833. + touch stamps/sanitise-openjdk.stamp
  1834. +
  1835. +clean-sanitise-openjdk:
  1836. + rm -f stamps/sanitise-openjdk.stamp
  1837. +
  1838. +stamps/extract-cacao.stamp: stamps/download-cacao.stamp
  1839. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_TRUE@@USE_SYSTEM_CACAO_FALSE@ if ! test -d cacao ; \
  1840. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_TRUE@@USE_SYSTEM_CACAO_FALSE@ then \
  1841. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_TRUE@@USE_SYSTEM_CACAO_FALSE@ mkdir -p cacao/cacao ; \
  1842. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_TRUE@@USE_SYSTEM_CACAO_FALSE@ cp -r $(ALT_CACAO_SRC_DIR)/* cacao/cacao/ ; \
  1843. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_TRUE@@USE_SYSTEM_CACAO_FALSE@ fi
  1844. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ set -e ; \
  1845. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ if ! test -d cacao/cacao ; \
  1846. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ then \
  1847. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ mkdir cacao ; \
  1848. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ $(TAR) xzf $(CACAO_SRC_ZIP) -C cacao ; \
  1849. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ dir=$$(basename cacao/cacao-*) ; \
  1850. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ ln -s $$dir cacao/cacao ; \
  1851. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ cd cacao/cacao ; \
  1852. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ cd .. ; \
  1853. +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ fi
  1854. + mkdir -p stamps
  1855. + touch $@
  1856. +
  1857. +clean-extract-cacao: clean-cacao
  1858. + rm -f stamps/extract-cacao.stamp
  1859. +
  1860. +stamps/extract-jamvm.stamp: stamps/download-jamvm.stamp
  1861. +@BUILD_JAMVM_TRUE@ set -e ; \
  1862. +@BUILD_JAMVM_TRUE@ if ! test -d jamvm ; \
  1863. +@BUILD_JAMVM_TRUE@ then \
  1864. +@BUILD_JAMVM_TRUE@ mkdir jamvm ; \
  1865. +@BUILD_JAMVM_TRUE@ $(TAR) xzf $(JAMVM_SRC_ZIP) -C jamvm ; \
  1866. +@BUILD_JAMVM_TRUE@ dir=$$(basename jamvm/jamvm-*) ; \
  1867. +@BUILD_JAMVM_TRUE@ ln -s $$dir jamvm/jamvm ; \
  1868. +@BUILD_JAMVM_TRUE@ fi
  1869. + mkdir -p stamps
  1870. + touch stamps/extract-jamvm.stamp
  1871. +
  1872. +clean-extract-jamvm: clean-jamvm
  1873. + rm -f stamps/extract-jamvm.stamp
  1874. +
  1875. +stamps/remove-intree-libraries.stamp: stamps/sanitise-openjdk.stamp
  1876. + sh $(abs_top_builddir)/remove-intree-libraries.sh
  1877. + touch stamps/remove-intree-libraries.stamp
  1878. +
  1879. +clean-remove-intree-libraries:
  1880. + rm -f stamps/remove-intree-libraries.stamp
  1881. +
  1882. +stamps/generated.stamp:
  1883. + set -e ; \
  1884. + if [ ! -e $(abs_top_builddir)/generated.build ]; then \
  1885. + cp -pPR $(abs_top_srcdir)/generated $(abs_top_builddir)/generated.build; \
  1886. + chmod -R u+w $(abs_top_builddir)/generated.build ; \
  1887. + fi
  1888. + mkdir -p stamps
  1889. + touch $@
  1890. +
  1891. +clean-generated:
  1892. + rm -rf $(abs_top_builddir)/generated.build
  1893. + rm -f stamps/generated.stamp
  1894. +
  1895. +stamps/patch-fsg.stamp: stamps/extract.stamp
  1896. + mkdir -p stamps ; \
  1897. + rm -f stamps/patch-fsg.stamp.tmp ; \
  1898. + touch stamps/patch-fsg.stamp.tmp ; \
  1899. + all_patches_ok=yes; \
  1900. + for p in $(ICEDTEA_FSG_PATCHES) ; \
  1901. + do \
  1902. + if test x$${all_patches_ok} = "xyes" \
  1903. + && echo Checking $$p \
  1904. + && $(PATCH) -l -p0 --dry-run -s -t -f \
  1905. + -F 0 < $(abs_top_srcdir)/$$p ; \
  1906. + then \
  1907. + echo Applying $$p ; \
  1908. + $(PATCH) -l -p0 < $(abs_top_srcdir)/$$p ; \
  1909. + if ! grep "^\* $$(basename $$p)" $(abs_top_srcdir)/HACKING \
  1910. + >> stamps/patch-fsg.stamp.tmp ; \
  1911. + then \
  1912. + echo "* $$(basename $$p): UNDOCUMENTED" \
  1913. + >> stamps/patch-fsg.stamp.tmp ; \
  1914. + fi ; \
  1915. + else \
  1916. + test x$${all_patches_ok} = "xyes" && all_patches_ok=$$p ; \
  1917. + fi ; \
  1918. + done ; \
  1919. + mv stamps/patch-fsg.stamp.tmp stamps/patch-fsg.stamp ; \
  1920. + if ! test x$${all_patches_ok} = "xyes"; then \
  1921. + echo ERROR patch $${all_patches_ok} FAILED! ; \
  1922. + echo WARNING make clean-patch before retrying a fix ; \
  1923. + exit 2; \
  1924. + fi ;
  1925. +
  1926. +clean-patch-fsg: clean-patch
  1927. + if [ -e stamps/patch-fsg.stamp ] ; then \
  1928. + all_patches_ok=yes; \
  1929. + for p in $(ICEDTEA_FSG_PATCHES) ; \
  1930. + do \
  1931. + echo Checking $$p ; \
  1932. + if $(PATCH) -l -p0 -R --dry-run -s -t -f < $(abs_top_srcdir)/$$p ; \
  1933. + then \
  1934. + echo Reverting $$p ; \
  1935. + $(PATCH) -l -p0 -R < $(abs_top_srcdir)/$$p ; \
  1936. + else \
  1937. + all_patches_ok=no ; \
  1938. + fi ; \
  1939. + done ; \
  1940. + if ! test x$${all_patches_ok} = "xyes" ; then \
  1941. + echo "WARNING Not all patches reverted cleanly" ; \
  1942. + fi ; \
  1943. + rm -f stamps/patch-fsg.stamp ; \
  1944. + fi
  1945. +
  1946. +stamps/patch.stamp: stamps/patch-fsg.stamp
  1947. + mkdir -p stamps ; \
  1948. + rm -f stamps/patch.stamp.tmp ; \
  1949. + touch stamps/patch.stamp.tmp ; \
  1950. + all_patches_ok=yes; \
  1951. + cd $(abs_top_builddir)/openjdk/jdk; \
  1952. + for p in $(OPENJDK_PATCHES) ; \
  1953. + do \
  1954. + if test x$${all_patches_ok} == "xyes" \
  1955. + && echo Checking $$p \
  1956. + && $(PATCH) -l -p1 --dry-run -s -t -f -F 0 < $(abs_top_srcdir)/$$p ; \
  1957. + then \
  1958. + echo Applying $$p ; \
  1959. + $(PATCH) -l -p1 < $(abs_top_srcdir)/$$p ; \
  1960. + else \
  1961. + test x$${all_patches_ok} == "xyes" && all_patches_ok=$$p ; \
  1962. + fi ; \
  1963. + done ; \
  1964. + cd $(abs_top_builddir) ; \
  1965. + for p in $(ICEDTEA_PATCHES) ; \
  1966. + do \
  1967. + if test x$${all_patches_ok} = "xyes" \
  1968. + && echo Checking $$p \
  1969. + && $(PATCH) -l -p0 --dry-run -s -t -f \
  1970. + -F 0 < $(abs_top_srcdir)/$$p ; \
  1971. + then \
  1972. + echo Applying $$p ; \
  1973. + $(PATCH) -l -p0 < $(abs_top_srcdir)/$$p ; \
  1974. + if ! grep "^\* $$(basename $$p)" $(abs_top_srcdir)/HACKING \
  1975. + >> stamps/patch.stamp.tmp ; \
  1976. + then \
  1977. + echo "* $$(basename $$p): UNDOCUMENTED" \
  1978. + >> stamps/patch.stamp.tmp ; \
  1979. + fi ; \
  1980. + else \
  1981. + test x$${all_patches_ok} = "xyes" && all_patches_ok=$$p ; \
  1982. + fi ; \
  1983. + done ; \
  1984. + if ! test x$${all_patches_ok} = "xyes"; then \
  1985. + echo ERROR patch $${all_patches_ok} FAILED! ; \
  1986. + echo WARNING make clean-patch before retrying a fix ; \
  1987. + exit 2; \
  1988. + fi ; \
  1989. + mv stamps/patch.stamp.tmp stamps/patch.stamp
  1990. +
  1991. +clean-patch:
  1992. + if [ -e stamps/patch.stamp ] ; then \
  1993. + all_patches_ok=yes; \
  1994. + for p in $(ICEDTEA_PATCHES) ; \
  1995. + do \
  1996. + echo Checking $$p ; \
  1997. + if $(PATCH) -l -p0 -R --dry-run -s -t -f < $(abs_top_srcdir)/$$p ; \
  1998. + then \
  1999. + echo Reverting $$p ; \
  2000. + $(PATCH) -l -p0 -R < $(abs_top_srcdir)/$$p ; \
  2001. + else \
  2002. + all_patches_ok=no ; \
  2003. + fi ; \
  2004. + done ; \
  2005. + cd $(abs_top_builddir)/openjdk/jdk; \
  2006. + for p in $(OPENJDK_PATCHES) ; \
  2007. + do \
  2008. + echo Checking $$p ; \
  2009. + if $(PATCH) -l -p1 -R --dry-run -s -t -f < $(abs_top_srcdir)/$$p ; \
  2010. + then \
  2011. + echo Reverting $$p ; \
  2012. + $(PATCH) -l -p1 -R < $(abs_top_srcdir)/$$p ; \
  2013. + else \
  2014. + all_patches_ok=no ; \
  2015. + fi ; \
  2016. + done ; \
  2017. + cd $(abs_top_builddir) ; \
  2018. + if ! test x$${all_patches_ok} = "xyes" ; then \
  2019. + echo "WARNING Not all patches reverted cleanly" ; \
  2020. + fi ; \
  2021. + rm -f stamps/patch.stamp ; \
  2022. + fi
  2023. +
  2024. +stamps/versioning.stamp: stamps/patch.stamp
  2025. + mv openjdk/jdk/make/common/shared/Defs.gmk Defs.gmk.bak
  2026. + cat Defs.gmk.bak > openjdk/jdk/make/common/shared/Defs.gmk
  2027. + icedtea_version="$(PACKAGE_VERSION)$(ICEDTEA_REV)" ; \
  2028. + if test "x$(ENABLE_CACAO)" = "xyes" || \
  2029. + test "x$(ENABLE_JAMVM)" = "xyes"; then \
  2030. + echo "JDK_DERIVATIVE_NAME=$${icedtea_version}" \
  2031. + >>openjdk/jdk/make/common/shared/Defs.gmk ; \
  2032. + echo "PRODUCT_NAME=$(ICEDTEA_NAME)" \
  2033. + >>openjdk/jdk/make/common/shared/Defs.gmk ; \
  2034. + else \
  2035. + echo "JDK_DERIVATIVE_NAME=$(ICEDTEA_NAME) $${icedtea_version}" \
  2036. + >>openjdk/jdk/make/common/shared/Defs.gmk ; \
  2037. + fi ;
  2038. +
  2039. +@HAS_JDK_REVISION_TRUE@ echo "JDK_REVID=$(JDK_REVISION)" >>openjdk/jdk/make/common/shared/Defs.gmk ;
  2040. +
  2041. + echo "DISTRO_NAME=$(DIST_NAME)" >>openjdk/jdk/make/common/shared/Defs.gmk ;
  2042. +@HAS_PKGVERSION_TRUE@ echo "DISTRO_PACKAGE_VERSION=$(PKGVERSION)" \
  2043. +@HAS_PKGVERSION_TRUE@ >>openjdk/jdk/make/common/shared/Defs.gmk ;
  2044. + if test x"$(PROJECT_NAME)" != "xjdk7" && test x"$(PROJECT_NAME)" != "xicedtea"; then \
  2045. + proj_suffix="-$(PROJECT_NAME)"; \
  2046. + fi ; \
  2047. + if test x"$(VERSION_SUFFIX)" != "x"; then \
  2048. + ver_suffix="-$(VERSION_SUFFIX)"; \
  2049. + fi ; \
  2050. + sed -i "s#BUILD_VARIANT_RELEASE)#BUILD_VARIANT_RELEASE)$${proj_suffix}$${ver_suffix}#" \
  2051. + openjdk/jdk/make/common/shared/Defs.gmk;
  2052. + mkdir -p stamps
  2053. + touch $@
  2054. +
  2055. +clean-versioning:
  2056. + if [ -e Defs.gmk.bak ] ; then \
  2057. + mv Defs.gmk.bak openjdk/jdk/make/common/shared/Defs.gmk ; \
  2058. + fi
  2059. + rm -f stamps/versioning.stamp
  2060. +
  2061. +stamps/overlay.stamp: stamps/versioning.stamp
  2062. + cp -r $(abs_top_srcdir)/overlays/openjdk/* openjdk/
  2063. + chmod -R ug+w openjdk
  2064. + mkdir -p stamps
  2065. + touch $@
  2066. +
  2067. +clean-overlay:
  2068. + rm -f stamps/overlay.stamp
  2069. +
  2070. +# OpenJDK boot Source Preparation Targets
  2071. +# ======================================
  2072. +
  2073. +# Copy over OpenJDK sources for bootstrap.
  2074. +stamps/clone-boot.stamp: $(OPENJDK_TREE)
  2075. + if ! test -d openjdk-boot ; then \
  2076. + cp -pPRl openjdk openjdk-boot ; \
  2077. + if [ -e $(BUILD_OUTPUT_DIR) ] ; then \
  2078. + cp -pPRl $(BUILD_OUTPUT_DIR) $(BOOT_BUILD_OUTPUT_DIR) ; \
  2079. + fi ; \
  2080. + fi
  2081. + mkdir -p stamps
  2082. + touch $@
  2083. +
  2084. +clean-clone-boot:
  2085. + rm -rf openjdk-boot
  2086. + rm -f stamps/patch-boot.stamp
  2087. + rm -f stamps/clone-boot.stamp
  2088. +
  2089. +stamps/patch-boot.stamp: stamps/clone-boot.stamp
  2090. + mkdir -p stamps; \
  2091. + rm -f stamps/patch-boot.stamp.tmp ; \
  2092. + touch stamps/patch-boot.stamp.tmp ; \
  2093. + all_patches_ok=yes; \
  2094. + for p in $(ICEDTEA_BOOT_PATCHES) ; \
  2095. + do \
  2096. + if test x$${all_patches_ok} = "xyes" \
  2097. + && echo Checking $$p \
  2098. + && $(PATCH) -l -p0 --dry-run -s -t -f \
  2099. + -F 0 < $(abs_top_srcdir)/$$p ; \
  2100. + then \
  2101. + echo Applying $$p ; \
  2102. + $(PATCH) -l -p0 < $(abs_top_srcdir)/$$p ; \
  2103. + if ! grep "^\* $$(basename $$p)" $(abs_top_srcdir)/HACKING \
  2104. + >> stamps/patch-boot.stamp.tmp ; \
  2105. + then \
  2106. + echo "* $$(basename $$p): UNDOCUMENTED" \
  2107. + >> stamps/patch-boot.stamp.tmp ; \
  2108. + fi ; \
  2109. + else \
  2110. + test x$${all_patches_ok} = "xyes" && all_patches_ok=$$p ; \
  2111. + fi ; \
  2112. + done ; \
  2113. + mv stamps/patch-boot.stamp.tmp stamps/patch-boot.stamp ; \
  2114. + if ! test x$${all_patches_ok} = "xyes"; then \
  2115. + echo ERROR patch $${all_patches_ok} FAILED! ; \
  2116. + echo WARNING make clean-patch before retrying a fix ; \
  2117. + exit 2; \
  2118. + fi
  2119. +
  2120. +clean-patch-boot:
  2121. + if [ -e stamps/patch-boot.stamp ] ; then \
  2122. + all_patches_ok=yes; \
  2123. + for p in $(ICEDTEA_BOOT_PATCHES) ; \
  2124. + do \
  2125. + echo Checking $$p ; \
  2126. + if $(PATCH) -l -p0 -R --dry-run -s -t -f < $(abs_top_srcdir)/$$p ; \
  2127. + then \
  2128. + echo Reverting $$p ; \
  2129. + $(PATCH) -l -p0 -R < $(abs_top_srcdir)/$$p ; \
  2130. + else \
  2131. + all_patches_ok=no ; \
  2132. + fi ; \
  2133. + done ; \
  2134. + if ! test x$${all_patches_ok} = "xyes" ; then \
  2135. + echo "WARNING Not all patches reverted cleanly" ; \
  2136. + fi ; \
  2137. + rm -f stamps/patch-boot.stamp ; \
  2138. + fi
  2139. +
  2140. +# Bootstrap Directory Targets
  2141. +# ===========================
  2142. +
  2143. +# Optional native ecj
  2144. +stamps/native-ecj.stamp:
  2145. + mkdir -p stamps
  2146. +@BUILD_NATIVE_ECJ_TRUE@ ${GCJ} $(IT_CFLAGS) -Wl,-Bsymbolic -findirect-dispatch -o native-ecj \
  2147. +@BUILD_NATIVE_ECJ_TRUE@ --main=org.eclipse.jdt.internal.compiler.batch.Main ${ECJ_JAR}
  2148. + touch $@
  2149. +
  2150. +clean-native-ecj:
  2151. + rm -f native-ecj
  2152. + rm -rf stamps/native-ecj.stamp
  2153. +
  2154. +# bootstrap/stage1
  2155. +stamps/bootstrap-directory-stage1.stamp: stamps/native-ecj.stamp
  2156. + mkdir -p $(STAGE1_BOOT_DIR)/bin stamps/
  2157. + ln -sf $(JAVA) $(STAGE1_BOOT_DIR)/bin/java
  2158. +@JAVAH_SUPPORTS_X_OPTIONS_TRUE@ ln -sf $(JAVAH) $(STAGE1_BOOT_DIR)/bin/javah
  2159. +@JAVAH_SUPPORTS_X_OPTIONS_FALSE@ ln -sf ../../../javah $(STAGE1_BOOT_DIR)/bin/javah
  2160. + ln -sf $(RMIC) $(STAGE1_BOOT_DIR)/bin/rmic
  2161. + ln -sf $(JAR) $(STAGE1_BOOT_DIR)/bin/jar
  2162. + ln -sf $(NATIVE2ASCII) $(STAGE1_BOOT_DIR)/bin/native2ascii
  2163. + ln -sf ../../../javac $(STAGE1_BOOT_DIR)/bin/javac
  2164. + ln -sf ../../../javap $(STAGE1_BOOT_DIR)/bin/javap
  2165. + mkdir -p $(STAGE1_BOOT_DIR)/lib/modules
  2166. + mkdir -p $(STAGE1_BOOT_DIR)/jre/lib && \
  2167. + cp $(SYSTEM_JDK_DIR)/jre/lib/rt.jar $(STAGE1_BOOT_RUNTIME) && \
  2168. + chmod u+w $(STAGE1_BOOT_RUNTIME)
  2169. + mkdir -p $(STAGE1_BOOT_DIR)/lib && \
  2170. + if [ -e $(SYSTEM_JDK_DIR)/lib/tools.jar ] ; then \
  2171. + ln -sf $(SYSTEM_JDK_DIR)/lib/tools.jar $(STAGE1_BOOT_DIR)/lib/tools.jar ; \
  2172. + else \
  2173. + ln -sf $(STAGE1_BOOT_RUNTIME) $(STAGE1_BOOT_DIR)/lib/tools.jar ; \
  2174. + fi
  2175. + ln -sf $(SYSTEM_JDK_DIR)/jre/lib/$(JRE_ARCH_DIR) \
  2176. + $(STAGE1_BOOT_DIR)/jre/lib/ && \
  2177. + if ! test -d $(STAGE1_BOOT_DIR)/jre/lib/$(INSTALL_ARCH_DIR); \
  2178. + then \
  2179. + ln -sf ./$(JRE_ARCH_DIR) \
  2180. + $(STAGE1_BOOT_DIR)/jre/lib/$(INSTALL_ARCH_DIR); \
  2181. + fi
  2182. + mkdir -p $(STAGE1_BOOT_DIR)/include && \
  2183. + for i in $(SYSTEM_JDK_DIR)/include/*; do \
  2184. + test -r $$i | continue; \
  2185. + i=`basename $$i`; \
  2186. + rm -f $(STAGE1_BOOT_DIR)/include/$$i; \
  2187. + ln -s $(SYSTEM_JDK_DIR)/include/$$i $(STAGE1_BOOT_DIR)/include/$$i; \
  2188. + done;
  2189. + mkdir -p stamps
  2190. + touch $@
  2191. +
  2192. +clean-bootstrap-directory-stage1:
  2193. + rm -rf $(STAGE1_BOOT_DIR)
  2194. + rm -f stamps/bootstrap-directory-stage1.stamp
  2195. +
  2196. +# bootstrap/stage2.
  2197. +stamps/bootstrap-directory-stage2.stamp: stamps/icedtea-stage1.stamp
  2198. + rm -rf $(STAGE2_BOOT_DIR)
  2199. + ln -s $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/ $(STAGE2_BOOT_DIR)
  2200. + if ! test -d $(STAGE2_BOOT_DIR)/include; then \
  2201. + ln -sf $(BOOT_BUILD_OUTPUT_DIR)/include $(STAGE2_BOOT_DIR)/include; \
  2202. + fi
  2203. + mkdir -p stamps
  2204. + touch $@
  2205. +
  2206. +clean-bootstrap-directory-stage2:
  2207. + rm -rf $(STAGE2_BOOT_DIR)
  2208. + rm -f stamps/bootstrap-directory-stage2.stamp
  2209. +
  2210. +# stage 1 symlink.
  2211. +stamps/bootstrap-directory-symlink-stage1.stamp: stamps/bootstrap-directory-stage1.stamp
  2212. + rm -f $(BOOT_DIR)
  2213. + ln -sf $(STAGE1_BOOT_DIR) $(BOOT_DIR)
  2214. + mkdir -p stamps
  2215. + touch $@
  2216. +
  2217. +clean-bootstrap-directory-symlink-stage1:
  2218. + rm -f $(BOOT_DIR)
  2219. + rm -f stamps/bootstrap-directory-symlink-stage1.stamp
  2220. +
  2221. +# stage 2 symlink.
  2222. +stamps/bootstrap-directory-symlink-stage2.stamp: $(BOOTSTRAP_DIRECTORY_STAMP)
  2223. + mkdir -p bootstrap
  2224. + rm -f $(BOOT_DIR)
  2225. + ln -sf $(ICEDTEA_HOME) $(BOOT_DIR); \
  2226. + if ! $(BOOT_DIR)/bin/java -version ; \
  2227. + then \
  2228. + echo "$(BOOT_DIR)/bin/java" \
  2229. + "cannot be found or is corrupted." ; \
  2230. + exit 1; \
  2231. + fi
  2232. + mkdir -p stamps
  2233. + touch $@
  2234. +
  2235. +clean-bootstrap-directory-symlink-stage2:
  2236. + rm -f $(BOOT_DIR)
  2237. + rm -f stamps/bootstrap-directory-symlink-stage2.stamp
  2238. +
  2239. +# OpenJDK Targets
  2240. +# ===============
  2241. +
  2242. +# If you change anything here in the icedtea target, please make sure
  2243. +# you change it in the icedtea-debug target as well.
  2244. +stamps/icedtea.stamp: stamps/bootstrap-directory-symlink-stage2.stamp \
  2245. + stamps/download.stamp stamps/extract.stamp $(OPENJDK_TREE) \
  2246. + stamps/cacao.stamp stamps/rewrite-rhino.stamp stamps/jamvm.stamp
  2247. + $(ARCH_PREFIX) $(MAKE) -j1 \
  2248. + $(ICEDTEA_ENV) \
  2249. + -C openjdk/ \
  2250. + $(ICEDTEA_BUILD_TARGET)
  2251. + $(abs_top_builddir)/pax-mark-vm $(BUILD_OUTPUT_DIR)/j2sdk-image
  2252. + mkdir -p $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)
  2253. + mkdir -p $(BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR)
  2254. + mkdir -p $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/ext
  2255. + mkdir -p $(BUILD_OUTPUT_DIR)/j2re-image/lib/ext
  2256. +@ZERO_BUILD_TRUE@ printf -- '-zero ALIASED_TO -server\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
  2257. +@SHARK_BUILD_TRUE@ printf -- '-shark ALIASED_TO -server\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
  2258. +@ENABLE_CACAO_TRUE@ printf -- '-cacao ALIASED_TO -server\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
  2259. +@ENABLE_JAMVM_TRUE@ printf -- '-jamvm ALIASED_TO -server\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
  2260. + @echo "IcedTea is served:" $(BUILD_OUTPUT_DIR)
  2261. + mkdir -p stamps
  2262. + touch $@
  2263. +
  2264. +stamps/add-systemtap.stamp: stamps/icedtea.stamp
  2265. +@ENABLE_SYSTEMTAP_TRUE@ mkdir -p $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset ; \
  2266. +@ENABLE_SYSTEMTAP_TRUE@ grep "client IGNORE" $(BUILD_JRE_ARCH_DIR)/jvm.cfg; \
  2267. +@ENABLE_SYSTEMTAP_TRUE@ if test $$? -eq 0; then \
  2268. +@ENABLE_SYSTEMTAP_TRUE@ sed -e '/\/client\/libjvm.so/d' \
  2269. +@ENABLE_SYSTEMTAP_TRUE@ < $(abs_top_builddir)/tapset/hotspot.stp \
  2270. +@ENABLE_SYSTEMTAP_TRUE@ > $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot.stp; \
  2271. +@ENABLE_SYSTEMTAP_TRUE@ sed -e '/\/client\/libjvm.so/d' \
  2272. +@ENABLE_SYSTEMTAP_TRUE@ < $(abs_top_builddir)/tapset/hotspot_jni.stp \
  2273. +@ENABLE_SYSTEMTAP_TRUE@ > $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_jni.stp; \
  2274. +@ENABLE_SYSTEMTAP_TRUE@ sed -e '/\/client\/libjvm.so/d' \
  2275. +@ENABLE_SYSTEMTAP_TRUE@ < $(abs_top_builddir)/tapset/hotspot_gc.stp \
  2276. +@ENABLE_SYSTEMTAP_TRUE@ > $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_gc.stp; \
  2277. +@ENABLE_SYSTEMTAP_TRUE@ else \
  2278. +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/hotspot.stp \
  2279. +@ENABLE_SYSTEMTAP_TRUE@ $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot.stp; \
  2280. +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/hotspot_jni.stp \
  2281. +@ENABLE_SYSTEMTAP_TRUE@ $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_jni.stp; \
  2282. +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/hotspot_gc.stp \
  2283. +@ENABLE_SYSTEMTAP_TRUE@ $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_gc.stp; \
  2284. +@ENABLE_SYSTEMTAP_TRUE@ fi; \
  2285. +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/jstack.stp \
  2286. +@ENABLE_SYSTEMTAP_TRUE@ $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/jstack.stp
  2287. + touch stamps/add-systemtap.stamp
  2288. +
  2289. +clean-add-systemtap:
  2290. + rm -rf $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset
  2291. + rm -f stamps/add-systemtap.stamp
  2292. +
  2293. +stamps/add-pulseaudio.stamp: stamps/icedtea.stamp $(PULSE_JAVA_TARGET)
  2294. +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf $(PULSE_JAVA_NATIVE_BUILDDIR)/libpulse-java.so \
  2295. +@ENABLE_PULSE_JAVA_TRUE@ $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)
  2296. +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf $(PULSE_JAVA_NATIVE_BUILDDIR)/libpulse-java.so \
  2297. +@ENABLE_PULSE_JAVA_TRUE@ $(BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR)
  2298. +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf pulse-java.jar \
  2299. +@ENABLE_PULSE_JAVA_TRUE@ $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/ext
  2300. +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf pulse-java.jar \
  2301. +@ENABLE_PULSE_JAVA_TRUE@ $(BUILD_OUTPUT_DIR)/j2re-image/lib/ext
  2302. +@ENABLE_PULSE_JAVA_TRUE@ (cd $(PULSE_JAVA_JAVA_SRCDIR) && \
  2303. +@ENABLE_PULSE_JAVA_TRUE@ $(ZIP) -qur $(BUILD_OUTPUT_DIR)/j2sdk-image/src.zip org )
  2304. + touch stamps/add-pulseaudio.stamp
  2305. +
  2306. +# Note: for simplicity, we don't revert the update of src.zip
  2307. +clean-add-pulseaudio:
  2308. + rm -f $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/libpulse-java.so
  2309. + rm -f $(BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR)/libpulse-java.so
  2310. + rm -f $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/ext/pulse-java.jar
  2311. + rm -f $(BUILD_OUTPUT_DIR)/j2re-image/lib/ext/pulse-java.jar
  2312. + rm -f stamps/add-pulseaudio.stamp
  2313. +
  2314. +stamps/add-nss.stamp: stamps/extract-openjdk.stamp
  2315. + cp -v $(abs_top_builddir)/nss.cfg openjdk/jdk/src/share/lib/security;
  2316. + touch stamps/add-nss.stamp
  2317. +
  2318. +clean-add-nss:
  2319. + rm -f openjdk/jdk/src/share/lib/security/nss.cfg
  2320. + rm -f stamps/add-nss.stamp
  2321. +
  2322. +stamps/add-tzdata-support.stamp: stamps/icedtea.stamp
  2323. +@WITH_TZDATA_DIR_TRUE@ if [ -e $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib ] ; then \
  2324. +@WITH_TZDATA_DIR_TRUE@ cp -v $(abs_top_builddir)/tz.properties \
  2325. +@WITH_TZDATA_DIR_TRUE@ $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib ; \
  2326. +@WITH_TZDATA_DIR_TRUE@ fi
  2327. + touch stamps/add-tzdata-support.stamp
  2328. +
  2329. +clean-add-tzdata-support:
  2330. + if [ -e $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/tz.properties ] ; then \
  2331. + rm -vf $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/tz.properties ; \
  2332. + fi
  2333. + rm -f stamps/add-tzdata-support.stamp
  2334. +
  2335. +stamps/check-crypto.stamp: stamps/cryptocheck.stamp stamps/icedtea.stamp
  2336. + if [ -e $(BUILD_OUTPUT_DIR)/j2sdk-image/bin/java ] ; then \
  2337. + $(BUILD_OUTPUT_DIR)/j2sdk-image/bin/java -cp $(CRYPTO_CHECK_BUILD_DIR) TestCryptoLevel ; \
  2338. + fi
  2339. + mkdir -p stamps
  2340. + touch $@
  2341. +
  2342. +clean-check-crypto:
  2343. + rm -f stamps/check-crypto.stamp
  2344. +
  2345. +stamps/add-archive.stamp: stamps/icedtea.stamp
  2346. +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_FALSE@@ZERO_BUILD_FALSE@ if [ -e $(BUILD_OUTPUT_DIR)/j2sdk-image/bin/java ] ; then \
  2347. +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_FALSE@@ZERO_BUILD_FALSE@ $(BUILD_OUTPUT_DIR)/j2sdk-image/bin/java -Xshare:dump ; \
  2348. +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_FALSE@@ZERO_BUILD_FALSE@ fi
  2349. + touch stamps/add-archive.stamp
  2350. +
  2351. +clean-add-archive:
  2352. + rm -vf $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/*/*.jsa
  2353. + rm -f stamps/add-archive.stamp
  2354. +
  2355. +stamps/icedtea-debug.stamp: stamps/bootstrap-directory-symlink-stage2.stamp \
  2356. + stamps/download.stamp stamps/extract.stamp $(OPENJDK_TREE) \
  2357. + stamps/cacao.stamp stamps/rewrite-rhino.stamp stamps/jamvm.stamp
  2358. + $(ARCH_PREFIX) $(MAKE) -j1 \
  2359. + $(ICEDTEA_ENV) \
  2360. + -C openjdk/ \
  2361. + $(ICEDTEA_DEBUG_BUILD_TARGET)
  2362. + $(abs_top_builddir)/pax-mark-vm $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image
  2363. + mkdir -p $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)
  2364. + mkdir -p $(DEBUG_BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR)
  2365. + mkdir -p $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/ext
  2366. + mkdir -p $(DEBUG_BUILD_OUTPUT_DIR)/j2re-image/lib/ext
  2367. +@ZERO_BUILD_TRUE@ printf -- '-zero ALIASED_TO -server\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
  2368. +@SHARK_BUILD_TRUE@ printf -- '-shark ALIASED_TO -server\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
  2369. +@ENABLE_CACAO_TRUE@ printf -- '-cacao ALIASED_TO -server\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
  2370. +@ENABLE_JAMVM_TRUE@ printf -- '-jamvm ALIASED_TO -server\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
  2371. + @echo "IcedTea (debug build) is served:" \
  2372. + $(DEBUG_BUILD_OUTPUT_DIR)
  2373. + mkdir -p stamps
  2374. + touch $@
  2375. +
  2376. +clean-icedtea:
  2377. + rm -rf $(BUILD_OUTPUT_DIR)
  2378. + rm -f stamps/icedtea.stamp stamps/icedtea-debug.stamp
  2379. +
  2380. +stamps/add-systemtap-debug.stamp: stamps/icedtea-debug.stamp
  2381. +@ENABLE_SYSTEMTAP_TRUE@ mkdir -p $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset ; \
  2382. +@ENABLE_SYSTEMTAP_TRUE@ grep "client IGNORE" $(BUILD_JRE_ARCH_DIR)/jvm.cfg; \
  2383. +@ENABLE_SYSTEMTAP_TRUE@ if test $$? -eq 0; then \
  2384. +@ENABLE_SYSTEMTAP_TRUE@ sed -e '/\/client\/libjvm.so/d' \
  2385. +@ENABLE_SYSTEMTAP_TRUE@ < $(abs_top_builddir)/tapset/hotspot.stp \
  2386. +@ENABLE_SYSTEMTAP_TRUE@ > $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot.stp; \
  2387. +@ENABLE_SYSTEMTAP_TRUE@ sed -e '/\/client\/libjvm.so/d' \
  2388. +@ENABLE_SYSTEMTAP_TRUE@ < $(abs_top_builddir)/tapset/hotspot_jni.stp \
  2389. +@ENABLE_SYSTEMTAP_TRUE@ > $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_jni.stp; \
  2390. +@ENABLE_SYSTEMTAP_TRUE@ sed -e '/\/client\/libjvm.so/d' \
  2391. +@ENABLE_SYSTEMTAP_TRUE@ < $(abs_top_builddir)/tapset/hotspot_gc.stp \
  2392. +@ENABLE_SYSTEMTAP_TRUE@ > $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_gc.stp; \
  2393. +@ENABLE_SYSTEMTAP_TRUE@ else \
  2394. +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/hotspot.stp \
  2395. +@ENABLE_SYSTEMTAP_TRUE@ $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot.stp; \
  2396. +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/hotspot_jni.stp \
  2397. +@ENABLE_SYSTEMTAP_TRUE@ $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_jni.stp; \
  2398. +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/hotspot_gc.stp \
  2399. +@ENABLE_SYSTEMTAP_TRUE@ $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_gc.stp; \
  2400. +@ENABLE_SYSTEMTAP_TRUE@ fi; \
  2401. +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/jstack.stp \
  2402. +@ENABLE_SYSTEMTAP_TRUE@ $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/jstack.stp
  2403. + touch stamps/add-systemtap-debug.stamp
  2404. +
  2405. +clean-add-systemtap-debug:
  2406. + rm -rf $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset
  2407. + rm -f stamps/add-systemtap-debug.stamp
  2408. +
  2409. +stamps/add-pulseaudio-debug.stamp: stamps/icedtea-debug.stamp $(PULSE_JAVA_TARGET)
  2410. +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf $(PULSE_JAVA_NATIVE_BUILDDIR)/libpulse-java.so \
  2411. +@ENABLE_PULSE_JAVA_TRUE@ $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)
  2412. +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf $(PULSE_JAVA_NATIVE_BUILDDIR)/libpulse-java.so \
  2413. +@ENABLE_PULSE_JAVA_TRUE@ $(DEBUG_BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR)
  2414. +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf pulse-java.jar \
  2415. +@ENABLE_PULSE_JAVA_TRUE@ $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/ext
  2416. +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf pulse-java.jar \
  2417. +@ENABLE_PULSE_JAVA_TRUE@ $(DEBUG_BUILD_OUTPUT_DIR)/j2re-image/lib/ext
  2418. +@ENABLE_PULSE_JAVA_TRUE@ (cd $(PULSE_JAVA_JAVA_SRCDIR) && \
  2419. +@ENABLE_PULSE_JAVA_TRUE@ $(ZIP) -qur $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/src.zip org )
  2420. + touch stamps/add-pulseaudio-debug.stamp
  2421. +
  2422. +# Note: for simplicity, we don't revert the update of src.zip
  2423. +clean-add-pulseaudio-debug:
  2424. + rm -f $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/libpulse-java.so
  2425. + rm -f $(DEBUG_BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR)/libpulse-java.so
  2426. + rm -f $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/ext/pulse-java.jar
  2427. + rm -f $(DEBUG_BUILD_OUTPUT_DIR)/j2re-image/lib/ext/pulse-java.jar
  2428. + rm -f stamps/add-pulseaudio-debug.stamp
  2429. +
  2430. +stamps/add-tzdata-support-debug.stamp: stamps/icedtea-debug.stamp
  2431. +@WITH_TZDATA_DIR_TRUE@ if [ -e $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib ] ; then \
  2432. +@WITH_TZDATA_DIR_TRUE@ cp -v $(abs_top_builddir)/tz.properties \
  2433. +@WITH_TZDATA_DIR_TRUE@ $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib; \
  2434. +@WITH_TZDATA_DIR_TRUE@ fi
  2435. + touch stamps/add-tzdata-support-debug.stamp
  2436. +
  2437. +clean-add-tzdata-support-debug:
  2438. + if [ -e $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/tz.properties ] ; then \
  2439. + rm -vf $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/tz.properties ; \
  2440. + fi
  2441. + rm -f stamps/add-tzdata-support-debug.stamp
  2442. +
  2443. +stamps/check-crypto-debug.stamp: stamps/cryptocheck.stamp stamps/icedtea-debug.stamp
  2444. + if [ -e $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java ] ; then \
  2445. + $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java -cp $(CRYPTO_CHECK_BUILD_DIR) TestCryptoLevel ; \
  2446. + fi
  2447. + mkdir -p stamps
  2448. + touch $@
  2449. +
  2450. +clean-check-crypto-debug:
  2451. + rm -f stamps/check-crypto-debug.stamp
  2452. +
  2453. +stamps/add-archive-debug.stamp: stamps/icedtea-debug.stamp
  2454. +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_FALSE@@ZERO_BUILD_FALSE@ if [ -e $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java ] ; then \
  2455. +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_FALSE@@ZERO_BUILD_FALSE@ $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java -Xshare:dump ; \
  2456. +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_FALSE@@ZERO_BUILD_FALSE@ fi
  2457. + touch stamps/add-archive-debug.stamp
  2458. +
  2459. +clean-add-archive-debug:
  2460. + rm -vf $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/*/*.jsa
  2461. + rm -f stamps/add-archive-debug.stamp
  2462. +
  2463. +stamps/icedtea-stage2.stamp: stamps/icedtea.stamp stamps/add-cacao.stamp \
  2464. + stamps/add-zero.stamp stamps/add-jamvm.stamp stamps/add-systemtap.stamp \
  2465. + stamps/add-pulseaudio.stamp stamps/add-tzdata-support.stamp stamps/check-crypto.stamp \
  2466. + stamps/add-archive.stamp
  2467. + mkdir -p stamps
  2468. + touch $@
  2469. +
  2470. +clean-icedtea-stage2: clean-add-jamvm clean-check-crypto clean-add-archive
  2471. + rm -f stamps/icedtea-stage2.stamp
  2472. +
  2473. +stamps/icedtea-debug-stage2.stamp: stamps/icedtea-debug.stamp \
  2474. + stamps/add-cacao-debug.stamp stamps/add-zero-debug.stamp stamps/add-jamvm-debug.stamp \
  2475. + stamps/add-systemtap-debug.stamp stamps/add-pulseaudio-debug.stamp \
  2476. + stamps/add/tzdata-support-debug.stamp stamps/check-crypto-debug.stamp \
  2477. + stamps/add-archive-debug.stamp
  2478. + mkdir -p stamps
  2479. + touch $@
  2480. +
  2481. +clean-icedtea-debug-stage2: clean-add-jamvm-debug clean-check-crypto-debug \
  2482. + clean-add-archive-debug
  2483. + rm -f stamps/icedtea-debug-stage2.stamp
  2484. +
  2485. +# OpenJDK boot Targets
  2486. +# ===================
  2487. +
  2488. +stamps/icedtea-boot.stamp: stamps/bootstrap-directory-symlink-stage1.stamp \
  2489. + stamps/download.stamp $(OPENJDK_BOOT_TREE) stamps/cacao.stamp \
  2490. + stamps/rewrite-rhino.stamp stamps/jamvm.stamp stamps/generated.stamp
  2491. + $(ARCH_PREFIX) $(MAKE) -j1 \
  2492. + $(ICEDTEA_ENV_BOOT) \
  2493. + -C openjdk-boot \
  2494. + $(ICEDTEA_BUILD_TARGET)
  2495. + $(abs_top_builddir)/pax-mark-vm $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image
  2496. + @echo "Bootstrapped IcedTea is served:" \
  2497. + $(BOOT_BUILD_OUTPUT_DIR)
  2498. + mkdir -p stamps
  2499. + touch $@
  2500. +
  2501. +clean-icedtea-boot:
  2502. + rm -rf $(BOOT_BUILD_OUTPUT_DIR)
  2503. + rm -f stamps/icedtea-boot.stamp
  2504. +
  2505. +stamps/add-systemtap-boot.stamp: stamps/icedtea-boot.stamp
  2506. +@ENABLE_SYSTEMTAP_TRUE@ mkdir -p $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset ; \
  2507. +@ENABLE_SYSTEMTAP_TRUE@ grep "client IGNORE" $(BUILD_JRE_ARCH_DIR)/jvm.cfg; \
  2508. +@ENABLE_SYSTEMTAP_TRUE@ if test $$? -eq 0; then \
  2509. +@ENABLE_SYSTEMTAP_TRUE@ sed -e '/\/client\/libjvm.so/d' \
  2510. +@ENABLE_SYSTEMTAP_TRUE@ < $(abs_top_builddir)/tapset/hotspot.stp \
  2511. +@ENABLE_SYSTEMTAP_TRUE@ > $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot.stp; \
  2512. +@ENABLE_SYSTEMTAP_TRUE@ sed -e '/\/client\/libjvm.so/d' \
  2513. +@ENABLE_SYSTEMTAP_TRUE@ < $(abs_top_builddir)/tapset/hotspot_jni.stp \
  2514. +@ENABLE_SYSTEMTAP_TRUE@ > $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_jni.stp; \
  2515. +@ENABLE_SYSTEMTAP_TRUE@ sed -e '/\/client\/libjvm.so/d' \
  2516. +@ENABLE_SYSTEMTAP_TRUE@ < $(abs_top_builddir)/tapset/hotspot_gc.stp \
  2517. +@ENABLE_SYSTEMTAP_TRUE@ > $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_gc.stp; \
  2518. +@ENABLE_SYSTEMTAP_TRUE@ else \
  2519. +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/hotspot.stp \
  2520. +@ENABLE_SYSTEMTAP_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot.stp; \
  2521. +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/hotspot_jni.stp \
  2522. +@ENABLE_SYSTEMTAP_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_jni.stp; \
  2523. +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/hotspot_gc.stp \
  2524. +@ENABLE_SYSTEMTAP_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_gc.stp; \
  2525. +@ENABLE_SYSTEMTAP_TRUE@ fi; \
  2526. +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/jstack.stp \
  2527. +@ENABLE_SYSTEMTAP_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/jstack.stp
  2528. + touch stamps/add-systemtap-boot.stamp
  2529. +
  2530. +clean-add-systemtap-boot:
  2531. + rm -rf $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset
  2532. + rm -f stamps/add-systemtap-boot.stamp
  2533. +
  2534. +stamps/add-pulseaudio-boot.stamp: stamps/icedtea-boot.stamp $(PULSE_JAVA_TARGET)
  2535. +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf $(PULSE_JAVA_NATIVE_BUILDDIR)/libpulse-java.so \
  2536. +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)
  2537. +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf $(PULSE_JAVA_NATIVE_BUILDDIR)/libpulse-java.so \
  2538. +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR)
  2539. +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf pulse-java.jar \
  2540. +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/ext
  2541. +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf pulse-java.jar \
  2542. +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2re-image/lib/ext
  2543. +@ENABLE_PULSE_JAVA_TRUE@ (cd $(PULSE_JAVA_JAVA_SRCDIR) && \
  2544. +@ENABLE_PULSE_JAVA_TRUE@ $(ZIP) -qur $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/src.zip org )
  2545. + touch stamps/add-pulseaudio-boot.stamp
  2546. +
  2547. +# Note: for simplicity, we don't revert the update of src.zip
  2548. +clean-add-pulseaudio-boot:
  2549. + rm -f $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/libpulse-java.so
  2550. + rm -f $(BOOT_BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR)/libpulse-java.so
  2551. + rm -f $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/ext/pulse-java.jar
  2552. + rm -f $(BOOT_BUILD_OUTPUT_DIR)/j2re-image/lib/ext/pulse-java.jar
  2553. + rm -f stamps/add-pulseaudio-boot.stamp
  2554. +
  2555. +stamps/add-tzdata-support-boot.stamp: stamps/icedtea-boot.stamp
  2556. +@WITH_TZDATA_DIR_TRUE@ if [ -e $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib ] ; then \
  2557. +@WITH_TZDATA_DIR_TRUE@ cp -v $(abs_top_builddir)/tz.properties \
  2558. +@WITH_TZDATA_DIR_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib; \
  2559. +@WITH_TZDATA_DIR_TRUE@ fi
  2560. + touch stamps/add-tzdata-support-boot.stamp
  2561. +
  2562. +clean-add-tzdata-support-boot:
  2563. + if [ -e $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/tz.properties ] ; then \
  2564. + rm -vf $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/tz.properties ; \
  2565. + fi
  2566. + rm -f stamps/add-tzdata-support-boot.stamp
  2567. +
  2568. +stamps/check-crypto-boot.stamp: stamps/cryptocheck.stamp stamps/icedtea-boot.stamp
  2569. + if [ -e $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java ] ; then \
  2570. + $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java -cp $(CRYPTO_CHECK_BUILD_DIR) TestCryptoLevel ; \
  2571. + fi
  2572. + mkdir -p stamps
  2573. + touch $@
  2574. +
  2575. +clean-check-crypto-boot:
  2576. + rm -f stamps/check-crypto-boot.stamp
  2577. +
  2578. +stamps/add-archive-boot.stamp: stamps/icedtea-boot.stamp
  2579. +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_FALSE@@ZERO_BUILD_FALSE@ if [ -e $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java ] ; then \
  2580. +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_FALSE@@ZERO_BUILD_FALSE@ $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java -Xshare:dump ; \
  2581. +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_FALSE@@ZERO_BUILD_FALSE@ fi
  2582. + touch $@
  2583. +
  2584. +clean-add-archive-boot:
  2585. + rm -vf $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/*/*.jsa
  2586. + rm -f stamps/add-archive-boot.stamp
  2587. +
  2588. +stamps/icedtea-stage1.stamp: stamps/icedtea-boot.stamp \
  2589. + stamps/add-systemtap-boot.stamp stamps/add-pulseaudio-boot.stamp \
  2590. + stamps/add-tzdata-support-boot.stamp stamps/check-crypto-boot.stamp \
  2591. + stamps/add-archive-boot.stamp
  2592. + mkdir -p stamps
  2593. + touch $@
  2594. +
  2595. +clean-icedtea-stage1: clean-add-systemtap-boot clean-add-pulseaudio-boot \
  2596. + clean-add-tzdata-support-boot clean-check-crypto-boot clean-add-archive-boot
  2597. + rm -f stamps/icedtea-stage1.stamp
  2598. +
  2599. +# Rebuild targets
  2600. +
  2601. +rebuild:
  2602. +@BOOTSTRAPPING_TRUE@ rm -f stamps/icedtea-boot.stamp
  2603. +@BOOTSTRAPPING_TRUE@ rm -f stamps/icedtea-stage1.stamp
  2604. +@BOOTSTRAPPING_TRUE@ $(ARCH_PREFIX) $(MAKE) icedtea-stage1
  2605. +@BOOTSTRAPPING_TRUE@ @echo "bootstrap-poured IcedTea is served (again):" $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image
  2606. +@BOOTSTRAPPING_FALSE@ rm -f stamps/icedtea.stamp
  2607. +@BOOTSTRAPPING_FALSE@ rm -f stamps/icedtea-stage2.stamp
  2608. +@BOOTSTRAPPING_FALSE@ $(ARCH_PREFIX) $(MAKE) icedtea-stage2
  2609. +@BOOTSTRAPPING_FALSE@ @echo "IcedTea is served (again):" $(BUILD_OUTPUT_DIR)/j2sdk-image
  2610. +
  2611. +hotspot:
  2612. +@BOOTSTRAPPING_TRUE@ rm -f stamps/icedtea-boot.stamp
  2613. +@BOOTSTRAPPING_TRUE@ rm -f stamps/icedtea-stage1.stamp
  2614. +@BOOTSTRAPPING_TRUE@ $(ARCH_PREFIX) $(MAKE) ICEDTEA_BUILD_TARGET=hotspot icedtea-stage1
  2615. +@BOOTSTRAPPING_TRUE@ mkdir -p \
  2616. +@BOOTSTRAPPING_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/server
  2617. +@BOOTSTRAPPING_TRUE@ cp $(BOOT_BUILD_OUTPUT_DIR)/$(SERVER_DIR)/libjvm.so \
  2618. +@BOOTSTRAPPING_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/server
  2619. +@BOOTSTRAPPING_TRUE@ @echo "HotSpot is served:" $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image
  2620. +@BOOTSTRAPPING_FALSE@ rm -f stamps/icedtea.stamp
  2621. +@BOOTSTRAPPING_FALSE@ rm -f stamps/icedtea-stage2.stamp
  2622. +@BOOTSTRAPPING_FALSE@ $(ARCH_PREFIX) $(MAKE) ICEDTEA_BUILD_TARGET=hotspot icedtea-stage2
  2623. +@BOOTSTRAPPING_FALSE@ mkdir -p \
  2624. +@BOOTSTRAPPING_FALSE@ $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/server
  2625. +@BOOTSTRAPPING_FALSE@ cp $(BUILD_OUTPUT_DIR)/$(SERVER_DIR)/libjvm.so \
  2626. +@BOOTSTRAPPING_FALSE@ $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/server
  2627. +@BOOTSTRAPPING_FALSE@ @echo "HotSpot is served:" $(BUILD_OUTPUT_DIR)/j2sdk-image
  2628. +
  2629. +# PulseAudio based mixer
  2630. +# (pulse-java)
  2631. +
  2632. +@ENABLE_PULSE_JAVA_TRUE@stamps/pulse-java.stamp: stamps/pulse-java-jar.stamp $(PULSE_JAVA_NATIVE_BUILDDIR)/libpulse-java.so
  2633. +@ENABLE_PULSE_JAVA_TRUE@ mkdir -p stamps
  2634. +@ENABLE_PULSE_JAVA_TRUE@ touch $@
  2635. +
  2636. +@ENABLE_PULSE_JAVA_TRUE@stamps/pulse-java-class.stamp: $(INITIAL_BOOTSTRAP_LINK_STAMP)
  2637. +@ENABLE_PULSE_JAVA_TRUE@ mkdir -p $(PULSE_JAVA_CLASS_DIR)
  2638. +@ENABLE_PULSE_JAVA_TRUE@ (cd $(PULSE_JAVA_JAVA_SRCDIR); \
  2639. +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_DIR)/bin/javac $(IT_JAVACFLAGS) -d $(PULSE_JAVA_CLASS_DIR) \
  2640. +@ENABLE_PULSE_JAVA_TRUE@ -bootclasspath $(RUNTIME) org/classpath/icedtea/pulseaudio/*.java \
  2641. +@ENABLE_PULSE_JAVA_TRUE@ )
  2642. +@ENABLE_PULSE_JAVA_TRUE@ cp -r $(PULSE_JAVA_JAVA_SRCDIR)/META-INF $(PULSE_JAVA_CLASS_DIR)
  2643. +@ENABLE_PULSE_JAVA_TRUE@ chmod -R ug+w $(PULSE_JAVA_CLASS_DIR)/META-INF
  2644. +@ENABLE_PULSE_JAVA_TRUE@ mkdir -p stamps
  2645. +@ENABLE_PULSE_JAVA_TRUE@ touch $@
  2646. +
  2647. +@ENABLE_PULSE_JAVA_TRUE@stamps/pulse-java-jar.stamp: stamps/pulse-java-class.stamp
  2648. +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_DIR)/bin/jar cf pulse-java.jar -C $(PULSE_JAVA_CLASS_DIR) .;
  2649. +@ENABLE_PULSE_JAVA_TRUE@ mkdir -p stamps
  2650. +@ENABLE_PULSE_JAVA_TRUE@ touch $@
  2651. +
  2652. +@ENABLE_PULSE_JAVA_TRUE@stamps/pulse-java-headers.stamp: stamps/pulse-java-class.stamp
  2653. +@ENABLE_PULSE_JAVA_TRUE@ mkdir -p $(PULSE_JAVA_NATIVE_BUILDDIR)
  2654. +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_DIR)/bin/javah -d $(PULSE_JAVA_NATIVE_BUILDDIR) -classpath $(PULSE_JAVA_CLASS_DIR) \
  2655. +@ENABLE_PULSE_JAVA_TRUE@ -J-Xbootclasspath/p:$(PULSE_JAVA_CLASS_DIR) org.classpath.icedtea.pulseaudio.EventLoop ; \
  2656. +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_DIR)/bin/javah -d $(PULSE_JAVA_NATIVE_BUILDDIR) -classpath $(PULSE_JAVA_CLASS_DIR) \
  2657. +@ENABLE_PULSE_JAVA_TRUE@ -J-Xbootclasspath/p:$(PULSE_JAVA_CLASS_DIR) org.classpath.icedtea.pulseaudio.Stream ; \
  2658. +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_DIR)/bin/javah -d $(PULSE_JAVA_NATIVE_BUILDDIR) -classpath $(PULSE_JAVA_CLASS_DIR) \
  2659. +@ENABLE_PULSE_JAVA_TRUE@ -J-Xbootclasspath/p:$(PULSE_JAVA_CLASS_DIR) org.classpath.icedtea.pulseaudio.Operation; \
  2660. +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_DIR)/bin/javah -d $(PULSE_JAVA_NATIVE_BUILDDIR) -classpath $(PULSE_JAVA_CLASS_DIR) \
  2661. +@ENABLE_PULSE_JAVA_TRUE@ -J-Xbootclasspath/p:$(PULSE_JAVA_CLASS_DIR) org.classpath.icedtea.pulseaudio.PulseAudioSourcePort ; \
  2662. +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_DIR)/bin/javah -d $(PULSE_JAVA_NATIVE_BUILDDIR) -classpath $(PULSE_JAVA_CLASS_DIR) \
  2663. +@ENABLE_PULSE_JAVA_TRUE@ -J-Xbootclasspath/p:$(PULSE_JAVA_CLASS_DIR) org.classpath.icedtea.pulseaudio.PulseAudioTargetPort ; \
  2664. +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_DIR)/bin/javah -d $(PULSE_JAVA_NATIVE_BUILDDIR) -classpath $(PULSE_JAVA_CLASS_DIR) \
  2665. +@ENABLE_PULSE_JAVA_TRUE@ -J-Xbootclasspath/p:$(PULSE_JAVA_CLASS_DIR) org.classpath.icedtea.pulseaudio.ContextEvent
  2666. +@ENABLE_PULSE_JAVA_TRUE@ mkdir -p stamps
  2667. +@ENABLE_PULSE_JAVA_TRUE@ touch $@
  2668. +
  2669. +@ENABLE_PULSE_JAVA_TRUE@$(PULSE_JAVA_NATIVE_BUILDDIR)/%.o: $(PULSE_JAVA_NATIVE_SRCDIR)/%.c stamps/pulse-java-headers.stamp
  2670. +@ENABLE_PULSE_JAVA_TRUE@ $(CC) $(IT_CFLAGS) -fPIC -I$(BOOT_DIR)/include/linux -I$(BOOT_DIR)/include \
  2671. +@ENABLE_PULSE_JAVA_TRUE@ -I$(PULSE_JAVA_NATIVE_BUILDDIR) -o $@ -c $<
  2672. +
  2673. +@ENABLE_PULSE_JAVA_TRUE@$(PULSE_JAVA_NATIVE_BUILDDIR)/libpulse-java.so: $(PULSE_JAVA_NATIVE_OBJECTS)
  2674. +@ENABLE_PULSE_JAVA_TRUE@ $(CC) $(LDFLAGS) -shared $(PULSE_JAVA_NATIVE_OBJECTS) $(LIBPULSE_LIBS) \
  2675. +@ENABLE_PULSE_JAVA_TRUE@ -o $(PULSE_JAVA_NATIVE_BUILDDIR)/libpulse-java.so
  2676. +
  2677. +clean-pulse-java:
  2678. + rm -rf $(PULSE_JAVA_NATIVE_BUILDDIR)
  2679. + rm -rf $(PULSE_JAVA_CLASS_DIR)
  2680. + rm -f pulse-java.jar
  2681. + if [ -e $(PULSE_JAVA_BUILDDIR) ]; then \
  2682. + rmdir $(PULSE_JAVA_BUILDDIR) ; \
  2683. + fi
  2684. + rm -f stamps/pulse-java*.stamp
  2685. +
  2686. +# end of pulse-java
  2687. +
  2688. +# Rhino support
  2689. +
  2690. +stamps/rewriter.stamp: $(INITIAL_BOOTSTRAP_LINK_STAMP)
  2691. +@WITH_RHINO_TRUE@ mkdir -p $(REWRITER_BUILD_DIR)
  2692. +@WITH_RHINO_TRUE@ $(BOOT_DIR)/bin/javac $(IT_JAVACFLAGS) \
  2693. +@WITH_RHINO_TRUE@ -d $(REWRITER_BUILD_DIR) $(REWRITER_SRCS)
  2694. + mkdir -p stamps
  2695. + touch stamps/rewriter.stamp
  2696. +
  2697. +clean-rewriter:
  2698. + rm -rf $(REWRITER_BUILD_DIR)
  2699. + rm -f stamps/rewriter.stamp
  2700. +
  2701. +stamps/rewrite-rhino.stamp: stamps/rewriter.stamp $(RHINO_JAR)
  2702. +@WITH_RHINO_TRUE@ mkdir -p rhino/rhino.{old,new} && \
  2703. +@WITH_RHINO_TRUE@ (cd rhino/rhino.old && $(BOOT_DIR)/bin/jar xf $(RHINO_JAR)) && \
  2704. +@WITH_RHINO_TRUE@ $(BOOT_DIR)/bin/java -cp $(REWRITER_BUILD_DIR) \
  2705. +@WITH_RHINO_TRUE@ com.redhat.rewriter.ClassRewriter \
  2706. +@WITH_RHINO_TRUE@ $(abs_top_builddir)/rhino/rhino.old $(abs_top_builddir)/rhino/rhino.new \
  2707. +@WITH_RHINO_TRUE@ org.mozilla sun.org.mozilla && \
  2708. +@WITH_RHINO_TRUE@ (cd rhino/rhino.old && \
  2709. +@WITH_RHINO_TRUE@ for files in `find -type f -not -name '*.class'` ; do \
  2710. +@WITH_RHINO_TRUE@ new_file=../rhino.new/`echo $$files|sed -e 's#org#sun/org#'` ; \
  2711. +@WITH_RHINO_TRUE@ mkdir -p `dirname $$new_file` ; \
  2712. +@WITH_RHINO_TRUE@ cp -v $$files $$new_file ; \
  2713. +@WITH_RHINO_TRUE@ sed -ie 's#org\.mozilla#sun.org.mozilla#g' $$new_file ; \
  2714. +@WITH_RHINO_TRUE@ done \
  2715. +@WITH_RHINO_TRUE@ ) && \
  2716. +@WITH_RHINO_TRUE@ (cd rhino/rhino.new && \
  2717. +@WITH_RHINO_TRUE@ $(BOOT_DIR)/bin/jar cfm ../rhino.jar META-INF/MANIFEST.MF sun )
  2718. + mkdir -p stamps
  2719. + touch stamps/rewrite-rhino.stamp
  2720. +
  2721. +clean-rewrite-rhino:
  2722. + rm -rf rhino/rhino.old
  2723. + rm -rf rhino/rhino.new
  2724. + rm -f rhino/rhino.jar
  2725. + if [ -e rhino ] ; then \
  2726. + rmdir rhino ; \
  2727. + fi
  2728. + rm -f stamps/rewrite-rhino.stamp
  2729. +
  2730. +# JamVM
  2731. +
  2732. +stamps/jamvm.stamp: $(OPENJDK_TREE) stamps/rt.stamp
  2733. +@BUILD_JAMVM_TRUE@ cd jamvm/jamvm && \
  2734. +@BUILD_JAMVM_TRUE@ ./autogen.sh --with-java-runtime-library=openjdk7 \
  2735. +@BUILD_JAMVM_TRUE@ --prefix=$(abs_top_builddir)/jamvm/install ; \
  2736. +@BUILD_JAMVM_TRUE@ $(MAKE) ; \
  2737. +@BUILD_JAMVM_TRUE@ $(MAKE) install
  2738. +@BUILD_JAMVM_TRUE@ mkdir -p $(abs_top_builddir)/jamvm/install/hotspot/jre/lib/$(INSTALL_ARCH_DIR)/server
  2739. +@BUILD_JAMVM_TRUE@ cp $(abs_top_builddir)/jamvm/install/lib/libjvm.so $(abs_top_builddir)/jamvm/install/hotspot/jre/lib/$(INSTALL_ARCH_DIR)/server
  2740. +@BUILD_JAMVM_TRUE@ ln -sf server $(abs_top_builddir)/jamvm/install/hotspot/jre/lib/$(INSTALL_ARCH_DIR)/client
  2741. +@BUILD_JAMVM_TRUE@ touch $(abs_top_builddir)/jamvm/install/hotspot/jre/lib/$(INSTALL_ARCH_DIR)/server/Xusage.txt
  2742. +@BUILD_JAMVM_TRUE@ ln -sf client/libjvm.so $(abs_top_builddir)/jamvm/install/hotspot/jre/lib/$(INSTALL_ARCH_DIR)/libjsig.so
  2743. + mkdir -p stamps
  2744. + touch stamps/jamvm.stamp
  2745. +
  2746. +clean-jamvm:
  2747. + rm -rf jamvm
  2748. + rm -f stamps/jamvm.stamp
  2749. +
  2750. +# Targets for additional VMs
  2751. +
  2752. +stamps/add-jamvm.stamp: stamps/icedtea.stamp stamps/jamvm.stamp
  2753. +@ADD_JAMVM_BUILD_TRUE@ mkdir -p $(BUILD_JRE_ARCH_DIR)/jamvm
  2754. +@ADD_JAMVM_BUILD_TRUE@ install -m 644 jamvm/install/lib/libjvm.so \
  2755. +@ADD_JAMVM_BUILD_TRUE@ $(BUILD_JRE_ARCH_DIR)/jamvm/
  2756. +@ADD_JAMVM_BUILD_TRUE@ printf -- '-jamvm KNOWN\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
  2757. +@ADD_JAMVM_BUILD_FALSE@ printf -- '-jamvm ERROR\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
  2758. + touch $@
  2759. +
  2760. +clean-add-jamvm:
  2761. + rm -rf $(BUILD_JRE_ARCH_DIR)/jamvm
  2762. + if [ -e $(BUILD_JRE_ARCH_DIR)/jvm.cfg ] ; then \
  2763. + sed -i 's#-jamvm KNOWN#-jamvm ERROR#' $(BUILD_JRE_ARCH_DIR)/jvm.cfg ; \
  2764. + fi
  2765. + rm -f stamps/add-jamvm.stamp
  2766. +
  2767. +stamps/add-jamvm-debug.stamp: stamps/icedtea-debug.stamp stamps/jamvm.stamp
  2768. +@ADD_JAMVM_BUILD_TRUE@ mkdir -p $(BUILD_DEBUG_JRE_ARCH_DIR)/jamvm
  2769. +@ADD_JAMVM_BUILD_TRUE@ install -m 644 jamvm/install/lib/libjvm.so \
  2770. +@ADD_JAMVM_BUILD_TRUE@ $(BUILD_DEBUG_JRE_ARCH_DIR)/jamvm/
  2771. +@ADD_JAMVM_BUILD_TRUE@ printf -- '-jamvm KNOWN\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
  2772. +@ADD_JAMVM_BUILD_FALSE@ printf -- '-jamvm ERROR\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
  2773. + touch $@
  2774. +
  2775. +clean-add-jamvm-debug:
  2776. + rm -rf $(BUILD_DEBUG_JRE_ARCH_DIR)/jamvm
  2777. + if [ -e $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ] ; then \
  2778. + sed -i 's#-jamvm KNOWN#-jamvm ERROR#' $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ; \
  2779. + fi
  2780. + rm -f stamps/add-jamvm-debug.stamp
  2781. +
  2782. +# CACAO
  2783. +
  2784. +stamps/cacao.stamp: stamps/rt.stamp
  2785. +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ cd cacao/cacao && \
  2786. +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ ./autogen.sh && \
  2787. +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ $(ARCH_PREFIX) ./configure \
  2788. +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ --host=$(host_alias) \
  2789. +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ --build=$(build_alias) \
  2790. +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ --target=$(target_alias) \
  2791. +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ --prefix=$(abs_top_builddir)/cacao/install \
  2792. +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ --with-java-runtime-library=openjdk7 \
  2793. +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ --with-java-runtime-library-prefix=$(abs_top_builddir)/openjdk \
  2794. +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ --with-java-runtime-library-classes=$(RUNTIME) \
  2795. +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ --enable-jre-layout $(CACAO_CONFIGURE_ARGS); \
  2796. +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ $(ARCH_PREFIX) $(MAKE) -j$(PARALLEL_JOBS) install
  2797. +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ ln -sf server $(abs_top_builddir)/cacao/install/jre/lib/$(INSTALL_ARCH_DIR)/client
  2798. +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ touch $(abs_top_builddir)/cacao/install/jre/lib/$(INSTALL_ARCH_DIR)/server/Xusage.txt
  2799. +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ ln -sf client/libjvm.so $(abs_top_builddir)/cacao/install/jre/lib/$(INSTALL_ARCH_DIR)/libjsig.so
  2800. + mkdir -p stamps
  2801. + touch $@
  2802. +
  2803. +clean-cacao:
  2804. + rm -rf cacao
  2805. + rm -f stamps/cacao.stamp
  2806. +
  2807. +# targets for additional VMs
  2808. +
  2809. +stamps/add-cacao.stamp: stamps/icedtea.stamp stamps/cacao.stamp
  2810. +@ADD_CACAO_BUILD_TRUE@ mkdir -p $(BUILD_JRE_ARCH_DIR)/cacao
  2811. +@ADD_CACAO_BUILD_TRUE@ install -m 644 cacao/install/lib/libjvm.so \
  2812. +@ADD_CACAO_BUILD_TRUE@ $(BUILD_JRE_ARCH_DIR)/cacao/
  2813. +@ADD_CACAO_BUILD_TRUE@ install -m 644 cacao/install/jre/lib/$(INSTALL_ARCH_DIR)/libjsig.so \
  2814. +@ADD_CACAO_BUILD_TRUE@ $(BUILD_JRE_ARCH_DIR)/cacao/
  2815. +@ADD_CACAO_BUILD_TRUE@ install -m 644 cacao/install/jre/lib/$(INSTALL_ARCH_DIR)/server/Xusage.txt \
  2816. +@ADD_CACAO_BUILD_TRUE@ $(BUILD_JRE_ARCH_DIR)/cacao/
  2817. +@ADD_CACAO_BUILD_TRUE@ printf -- '-cacao KNOWN\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
  2818. +@ADD_CACAO_BUILD_FALSE@ printf -- '-cacao ERROR\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
  2819. + touch $@
  2820. +
  2821. +clean-add-cacao:
  2822. + rm -rf $(BUILD_JRE_ARCH_DIR)/cacao
  2823. + if [ -e $(BUILD_JRE_ARCH_DIR)/jvm.cfg ] ; then \
  2824. + sed -i 's#-cacao KNOWN#-cacao ERROR#' $(BUILD_JRE_ARCH_DIR)/jvm.cfg ; \
  2825. + fi
  2826. + rm -f stamps/add-cacao.stamp
  2827. +
  2828. +stamps/add-cacao-debug.stamp: stamps/icedtea-debug.stamp stamps/cacao.stamp
  2829. +@ADD_CACAO_BUILD_TRUE@ mkdir -p $(BUILD_DEBUG_JRE_ARCH_DIR)/cacao
  2830. +@ADD_CACAO_BUILD_TRUE@ install -m 644 cacao/install/lib/libjvm.so \
  2831. +@ADD_CACAO_BUILD_TRUE@ $(BUILD_DEBUG_JRE_ARCH_DIR)/cacao/
  2832. +@ADD_CACAO_BUILD_TRUE@ install -m 644 cacao/install/jre/lib/$(INSTALL_ARCH_DIR)/libjsig.so \
  2833. +@ADD_CACAO_BUILD_TRUE@ $(BUILD_DEBUG_JRE_ARCH_DIR)/cacao/
  2834. +@ADD_CACAO_BUILD_TRUE@ install -m 644 cacao/install/jre/lib/$(INSTALL_ARCH_DIR)/server/Xusage.txt \
  2835. +@ADD_CACAO_BUILD_TRUE@ $(BUILD_DEBUG_JRE_ARCH_DIR)/cacao/
  2836. +@ADD_CACAO_BUILD_TRUE@ printf -- '-cacao KNOWN\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
  2837. +@ADD_CACAO_BUILD_FALSE@ printf -- '-cacao ERROR\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
  2838. + touch $@
  2839. +
  2840. +clean-add-cacao-debug:
  2841. + rm -rf $(BUILD_DEBUG_JRE_ARCH_DIR)/cacao
  2842. + if [ -e $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ] ; then \
  2843. + sed -i 's#-cacao KNOWN#-cacao ERROR#' $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ; \
  2844. + fi
  2845. + rm -f stamps/add-cacao-debug.stamp
  2846. +
  2847. +stamps/add-zero.stamp: stamps/icedtea.stamp
  2848. + mkdir -p stamps
  2849. +@ADD_ZERO_BUILD_TRUE@ mkdir -p zerovm
  2850. +
  2851. +@ADD_ZERO_BUILD_TRUE@ cd zerovm && \
  2852. +@ADD_ZERO_BUILD_TRUE@ $(ADD_ZERO_EXTRA_BUILD_ENV) \
  2853. +@ADD_ZERO_BUILD_TRUE@ $(ARCH_PREFIX) $(abs_top_srcdir)/configure $(ADD_ZERO_CONFIGURE_ARGS)
  2854. +
  2855. +@ADD_ZERO_BUILD_TRUE@ $(ADD_ZERO_EXTRA_BUILD_ENV) \
  2856. +@ADD_ZERO_BUILD_TRUE@ $(ARCH_PREFIX) $(MAKE) -C zerovm ICEDTEA_BUILD_TARGET=hotspot icedtea-stage2
  2857. +
  2858. +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_TRUE@ mkdir -p $(BUILD_JRE_ARCH_DIR)/shark
  2859. +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_TRUE@ cp -a zerovm/$(BUILD_DIR)/hotspot/import/jre/lib/$(INSTALL_ARCH_DIR)/server/* \
  2860. +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_TRUE@ $(BUILD_JRE_ARCH_DIR)/shark/
  2861. +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_TRUE@ printf -- '-shark KNOWN\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
  2862. +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_TRUE@ printf -- '-zero ERROR\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
  2863. +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_FALSE@ mkdir -p $(BUILD_JRE_ARCH_DIR)/zero
  2864. +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_FALSE@ cp -a zerovm/$(BUILD_DIR)/hotspot/import/jre/lib/$(INSTALL_ARCH_DIR)/server/* \
  2865. +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_FALSE@ $(BUILD_JRE_ARCH_DIR)/zero/
  2866. +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_FALSE@ printf -- '-zero KNOWN\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
  2867. +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_FALSE@ printf -- '-shark ERROR\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
  2868. +@ADD_ZERO_BUILD_FALSE@ printf -- '-zero ERROR\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
  2869. +@ADD_ZERO_BUILD_FALSE@ printf -- '-shark ERROR\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
  2870. + touch $@
  2871. +
  2872. +clean-add-zero:
  2873. + rm -rf $(BUILD_JRE_ARCH_DIR)/zero
  2874. + rm -rf $(BUILD_JRE_ARCH_DIR)/shark
  2875. + rm -rf zerovm
  2876. + if [ -e $(BUILD_JRE_ARCH_DIR)/jvm.cfg ] ; then \
  2877. + sed -i 's#-zero KNOWN#-zero ERROR#' $(BUILD_JRE_ARCH_DIR)/jvm.cfg ; \
  2878. + sed -i 's#-shark KNOWN#-shark ERROR#' $(BUILD_JRE_ARCH_DIR)/jvm.cfg ; \
  2879. + fi
  2880. + rm -f stamps/add-zero.stamp
  2881. +
  2882. +stamps/add-zero-debug.stamp: stamps/icedtea-debug.stamp
  2883. + mkdir -p stamps
  2884. +@ADD_ZERO_BUILD_TRUE@ mkdir -p zerovm
  2885. +
  2886. +@ADD_ZERO_BUILD_TRUE@ cd zerovm && \
  2887. +@ADD_ZERO_BUILD_TRUE@ $(ADD_ZERO_EXTRA_BUILD_ENV) \
  2888. +@ADD_ZERO_BUILD_TRUE@ $(ARCH_PREFIX) $(abs_top_srcdir)/configure $(ADD_ZERO_CONFIGURE_ARGS)
  2889. +
  2890. +@ADD_ZERO_BUILD_TRUE@ $(ADD_ZERO_EXTRA_BUILD_ENV) \
  2891. +@ADD_ZERO_BUILD_TRUE@ $(ARCH_PREFIX) $(MAKE) -C zerovm ICEDTEA_DEBUG_BUILD_TARGET=hotspot icedtea-stage2
  2892. +
  2893. +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_TRUE@ mkdir -p $(BUILD_DEBUG_JRE_ARCH_DIR)/shark
  2894. +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_TRUE@ cp -a zerovm/$(BUILD_OUTPUT_DIR)/hotspot/import/jre/lib/$(INSTALL_ARCH_DIR)/server/* \
  2895. +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_TRUE@ $(BUILD_DEBUG_JRE_ARCH_DIR)/shark/
  2896. +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_TRUE@ printf -- '-shark KNOWN\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
  2897. +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_FALSE@ mkdir -p $(BUILD_DEBUG_JRE_ARCH_DIR)/zero
  2898. +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_FALSE@ cp -a zerovm/$(BUILD_OUTPUT_DIR)/hotspot/import/jre/lib/$(INSTALL_ARCH_DIR)/server/* \
  2899. +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_FALSE@ $(BUILD_DEBUG_JRE_ARCH_DIR)/zero/
  2900. +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_FALSE@ printf -- '-zero KNOWN\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
  2901. +@ADD_ZERO_BUILD_FALSE@ printf -- '-zero ERROR\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
  2902. +@ADD_ZERO_BUILD_FALSE@ printf -- '-shark ERROR\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
  2903. + touch $@
  2904. +
  2905. +clean-add-zero-debug:
  2906. + rm -rf $(BUILD_DEBUG_JRE_ARCH_DIR)/zero
  2907. + rm -rf $(BUILD_DEBUG_JRE_ARCH_DIR)/shark
  2908. + rm -rf zerovm
  2909. + if [ -e $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ] ; then \
  2910. + sed -i 's#-zero KNOWN#-zero ERROR#' $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ; \
  2911. + sed -i 's#-shark KNOWN#-shark ERROR#' $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ; \
  2912. + fi
  2913. + rm -f stamps/add-zero-debug.stamp
  2914. +
  2915. +# end additional VMs
  2916. +
  2917. +# jtreg
  2918. +
  2919. +stamps/jtreg.stamp: stamps/icedtea-stage2.stamp
  2920. + rm -rf test/jtreg/classes
  2921. + mkdir -p test/jtreg/classes
  2922. + $(BOOT_DIR)/bin/javac $(IT_JAVACFLAGS) -d test/jtreg/classes \
  2923. + `find $(abs_top_srcdir)/test/jtreg/com -name '*.java'`
  2924. + (cd $(abs_top_srcdir)/test/jtreg; \
  2925. + $(BOOT_DIR)/bin/jar cfm $(abs_top_builddir)/test/jtreg.jar \
  2926. + META-INF/MANIFEST.MF \
  2927. + legal README JavaTest.cmdMgrs.lst JavaTest.toolMgrs.lst \
  2928. + `find com -type f -a -not -name '*.java'` \
  2929. + -C $(abs_top_builddir)/test/jtreg/classes com)
  2930. + mkdir -p stamps
  2931. + touch $@
  2932. +
  2933. +clean-jtreg:
  2934. + rm -rf test/jtreg/classes
  2935. + if [ $(abs_top_srcdir) != $(abs_top_builddir) ] ; then \
  2936. + if [ -e test/jtreg ] ; then \
  2937. + rmdir test/jtreg ; \
  2938. + fi ; \
  2939. + fi
  2940. + rm -f test/jtreg.jar
  2941. + rm -f stamps/jtreg.stamp
  2942. +
  2943. +check-hotspot: stamps/jtreg.stamp
  2944. + mkdir -p test/hotspot/JTwork test/hotspot/JTreport
  2945. + $(BOOT_DIR)/bin/java -jar test/jtreg.jar -v1 -a -ignore:quiet \
  2946. + -w:test/hotspot/JTwork -r:test/hotspot/JTreport \
  2947. + -jdk:$(BUILD_OUTPUT_DIR)/j2sdk-image \
  2948. + $(ICEDTEA_JTREG_OPTIONS) \
  2949. + `pwd`/openjdk/hotspot/test \
  2950. + | tee test/$@.log
  2951. +
  2952. +check-langtools: stamps/jtreg.stamp
  2953. + mkdir -p test/langtools/JTwork test/langtools/JTreport
  2954. + $(BOOT_DIR)/bin/java -jar test/jtreg.jar -v1 -a -ignore:quiet \
  2955. + -w:test/langtools/JTwork -r:test/langtools/JTreport \
  2956. + $${ICEDTEA_JTREG_OTHERVM:--samevm} \
  2957. + -jdk:$(BUILD_OUTPUT_DIR)/j2sdk-image \
  2958. + $(ICEDTEA_JTREG_OPTIONS) \
  2959. + -exclude:$(abs_top_srcdir)/test/jtreg/excludelist.langtools.jtx \
  2960. + `pwd`/openjdk/langtools/test \
  2961. + | tee test/$@.log
  2962. +
  2963. +check-jdk: stamps/jtreg.stamp
  2964. + mkdir -p test/jdk/JTwork test/jdk/JTreport
  2965. +@ENABLE_CACAO_TRUE@ CACAO_EXCLUDE="-exclude:$(abs_top_srcdir)/test/jtreg/excludelist.jdk.cacao.jtx"
  2966. + if test "x$${DISPLAY}" = "x"; then XVFB_RUN="@XVFB_RUN_CMD@"; fi; \
  2967. + if test "x$${DISPLAY}" = "x" && test "x$${XVFB_RUN}" = "x"; then \
  2968. + echo "WARNING: DISPLAY not set and xvfb-run not found"; \
  2969. + fi; \
  2970. + $${XVFB_RUN} \
  2971. + $(BOOT_DIR)/bin/java -jar test/jtreg.jar -v1 -a -ignore:quiet \
  2972. + -w:test/jdk/JTwork -r:test/jdk/JTreport \
  2973. + $${ICEDTEA_JTREG_OTHERVM:--samevm} \
  2974. + -jdk:$(BUILD_OUTPUT_DIR)/j2sdk-image \
  2975. + $(ICEDTEA_JTREG_OPTIONS) $(CACAO_EXCLUDE) \
  2976. + -exclude:$(abs_top_srcdir)/test/jtreg/excludelist.jdk.jtx \
  2977. + `pwd`/openjdk/jdk/test \
  2978. + | tee test/$@.log
  2979. +
  2980. +clean-jtreg-reports:
  2981. + rm -rf test/hotspot test/langtools test/jdk
  2982. + rm -f test/check-*.log test/jtreg-summary.log
  2983. +
  2984. +jtregcheck: $(TESTS_TO_RUN)
  2985. + for i in $(TEST_SUITES); do \
  2986. + echo "--------------- jtreg console summary for $$i ---------------"; \
  2987. + egrep -v '^(Passed:|Directory|Re[a-z]+\ written\ to)' test/check-$$i.log; \
  2988. + done | tee test/jtreg-summary.log
  2989. +
  2990. + : # kill testsuite processes still hanging
  2991. + @pids=$$($(jtreg_pids)); \
  2992. + if [ -n "$$pids" ]; then \
  2993. + echo "killing processes..."; \
  2994. + $(jtreg_processes); \
  2995. + kill -1 $$pids; \
  2996. + sleep 2; \
  2997. + pids=$$($(jtreg_pids)); \
  2998. + if [ -n "$$pids" ]; then \
  2999. + echo "try harder..."; \
  3000. + $(jtreg_processes); \
  3001. + kill -9 $$pids; \
  3002. + sleep 2; \
  3003. + fi; \
  3004. + else \
  3005. + echo "nothing to cleanup"; \
  3006. + fi; \
  3007. + pids=$$($(jtreg_pids)); \
  3008. + if [ -n "$$pids" ]; then \
  3009. + echo "leftover processes..."; \
  3010. + $(jtreg_processes); \
  3011. + fi
  3012. +
  3013. +check-tapset-probes:
  3014. +@ENABLE_SYSTEMTAP_TRUE@ $(abs_top_srcdir)/test/tapset/jstaptest.pl \
  3015. +@ENABLE_SYSTEMTAP_TRUE@ -B $(BUILD_OUTPUT_DIR) -A $(BUILD_ARCH_DIR) \
  3016. +@ENABLE_SYSTEMTAP_TRUE@ -S $(abs_top_srcdir)/test/tapset \
  3017. +@ENABLE_SYSTEMTAP_TRUE@ -a test/check-stap.log -p
  3018. +check-tapset-jstack:
  3019. +@ENABLE_SYSTEMTAP_TRUE@ $(abs_top_srcdir)/test/tapset/jstaptest.pl \
  3020. +@ENABLE_SYSTEMTAP_TRUE@ -B $(BUILD_OUTPUT_DIR) -A $(BUILD_ARCH_DIR) \
  3021. +@ENABLE_SYSTEMTAP_TRUE@ -S $(abs_top_srcdir)/test/tapset \
  3022. +@ENABLE_SYSTEMTAP_TRUE@ -a test/check-stap.log -j
  3023. +check-tapset: check-tapset-probes check-tapset-jstack
  3024. +
  3025. +clean-tapset-report:
  3026. +@ENABLE_SYSTEMTAP_TRUE@ rm -f test/check-stap.log
  3027. +
  3028. +# Support classes for non-OpenJDK bootstraps
  3029. +
  3030. +rt-source-files.txt: $(OPENJDK_BOOT_TREE)
  3031. + rm -f $@
  3032. + for files in $(ICEDTEA_BOOTSTRAP_CLASSES) ; \
  3033. + do \
  3034. + echo $$files >> $@ ; \
  3035. + done
  3036. + touch $@
  3037. +
  3038. +stamps/rt-class-files.stamp: $(INITIAL_BOOTSTRAP_LINK_STAMP) rt-source-files.txt
  3039. + mkdir -p lib/rt
  3040. + if echo $(ICEDTEA_BOOTSTRAP_CLASSES) | grep '\S' &> /dev/null ; then \
  3041. + $(BOOT_DIR)/bin/javac $(IT_JAVACFLAGS) -d lib/rt \
  3042. + -classpath $(SYSTEM_JDK_DIR)/jre/lib/rt.jar \
  3043. + -sourcepath '$(SOURCEPATH_DIRS)' \
  3044. + -bootclasspath \'\' @rt-source-files.txt ; \
  3045. + fi
  3046. + mkdir -p stamps
  3047. + touch $@
  3048. +
  3049. +stamps/rt.stamp: stamps/rt-class-files.stamp
  3050. + if echo $(ICEDTEA_BOOTSTRAP_CLASSES) | grep '\S' &> /dev/null ; then \
  3051. + (set -e ; \
  3052. + cd lib/rt ; \
  3053. + for dirs in $(ICEDTEA_BOOTSTRAP_RESOURCES) ; \
  3054. + do \
  3055. + destpath=`echo $$dirs|sed -e 's#$(LANGTOOLS)/##' -e 's#$(SHARE)/##'` ; \
  3056. + mkdir -p `dirname $$destpath` ; \
  3057. + cp -a ../../$$dirs $$destpath ; \
  3058. + done ; \
  3059. + if [ -w $(STAGE1_BOOT_RUNTIME) ] ; then \
  3060. + $(ZIP) -qur $(STAGE1_BOOT_RUNTIME) com java javax sun ; \
  3061. + fi ; ) \
  3062. + fi
  3063. + mkdir -p stamps
  3064. + touch $@
  3065. +
  3066. +clean-rt:
  3067. + rm -rf lib/rt
  3068. + rm -f stamps/rt-class-files.stamp stamps/rt.stamp
  3069. + rm -f rt-source-files.txt
  3070. + if [ -e $(STAGE1_BOOT_DIR)/jre/lib ] ; then \
  3071. + cp $(SYSTEM_JDK_DIR)/jre/lib/rt.jar $(STAGE1_BOOT_RUNTIME) ; \
  3072. + chmod u+w $(STAGE1_BOOT_RUNTIME) ; \
  3073. + fi
  3074. +
  3075. +# Crypto Level Check
  3076. +
  3077. +stamps/cryptocheck.stamp: $(INITIAL_BOOTSTRAP_LINK_STAMP)
  3078. + mkdir -p $(CRYPTO_CHECK_BUILD_DIR)
  3079. + $(BOOT_DIR)/bin/javac $(IT_JAVACFLAGS) \
  3080. + -d $(CRYPTO_CHECK_BUILD_DIR) $(CRYPTO_CHECK_SRCS)
  3081. + mkdir -p stamps
  3082. + touch $@
  3083. +
  3084. +clean-cryptocheck:
  3085. + rm -rf $(CRYPTO_CHECK_BUILD_DIR)
  3086. + rm -f stamps/cryptocheck.stamp
  3087. +
  3088. +# Target Aliases
  3089. +# ===============
  3090. +
  3091. +add-archive: stamps/add-archive.stamp
  3092. +
  3093. +add-archive-boot: stamps/add-archive-ecj.stamp
  3094. +
  3095. +add-archive-debug: stamps/add-archive-debug.stamp
  3096. +
  3097. +add-nss: stamps/add-nss.stamp
  3098. +
  3099. +add-nss-debug: stamps/add-nss-debug.stamp
  3100. +
  3101. +add-pulseaudio: stamps/add-pulseaudio.stamp
  3102. +
  3103. +add-pulseaudio-debug: stamps/add-pulseaudio-debug.stamp
  3104. +
  3105. +add-systemtap: stamps/add-systemtap.stamp
  3106. +
  3107. +add-systemtap-debug: stamps/add-systemtap-debug.stamp
  3108. +
  3109. +add-tzdata-support: stamps/add-tzdata-support.stamp
  3110. +
  3111. +add-tzdata-support-debug: stamps/add-tzdata-support-debug.stamp
  3112. +
  3113. +add-zero: stamps/add-zero.stamp
  3114. +
  3115. +add-zero-debug: stamps/add-zero-debug.stamp
  3116. +
  3117. +bootstrap-directory-stage1: stamps/bootstrap-directory-stage1.stamp
  3118. +
  3119. +bootstrap-directory-stage2: stamps/bootstrap-directory-stage2.stamp
  3120. +
  3121. +bootstrap-directory-symlink-stage1: stamps/bootstrap-directory-symlink-stage1.stamp
  3122. +
  3123. +bootstrap-directory-symlink-stage2: stamps/bootstrap-directory-symlink-stage2.stamp
  3124. +
  3125. +cacao: stamps/cacao.stamp
  3126. +
  3127. +check-crypto: stamps/check-crypto.stamp
  3128. +
  3129. +check-crypto-boot: stamps/check-crypto-boot.stamp
  3130. +
  3131. +check-crypto-debug: stamps/check-crypto-debug.stamp
  3132. +
  3133. +clone-boot: stamps/clone-boot.stamp
  3134. +
  3135. +cryptocheck: stamps/cryptocheck.stamp
  3136. +
  3137. +download: stamps/download.stamp
  3138. +
  3139. +download-cacao: stamps/download-cacao.stamp
  3140. +
  3141. +download-jamvm: stamps/download-jamvm.stamp
  3142. +
  3143. +download-jaf-drop: stamps/download-jaf-drop.stamp
  3144. +
  3145. +download-jaxp-drop: stamps/download-jaxp-drop.stamp
  3146. +
  3147. +download-jaxws-drop: stamps/download-jaxws-drop.stamp
  3148. +
  3149. +download-openjdk: stamps/download-openjdk.stamp
  3150. +
  3151. +extract: stamps/extract.stamp
  3152. +
  3153. +extract-cacao: stamps/extract-cacao.stamp
  3154. +
  3155. +extract-openjdk: stamps/extract-openjdk.stamp
  3156. +
  3157. +extract-hotspot: stamps/extract-hotspot.stamp
  3158. +
  3159. +generated: stamps/generated.stamp
  3160. +
  3161. +icedtea: stamps/icedtea.stamp
  3162. +
  3163. +icedtea-boot: stamps/icedtea-boot.stamp
  3164. +
  3165. +icedtea-debug: stamps/icedtea-debug.stamp
  3166. +
  3167. +icedtea-debug-stage2: stamps/icedtea-debug-stage2.stamp
  3168. +
  3169. +icedtea-stage1: stamps/icedtea-stage1.stamp
  3170. +
  3171. +icedtea-stage2: stamps/icedtea-stage2.stamp
  3172. +
  3173. +jamvm: stamps/jamvm.stamp
  3174. +
  3175. +jtreg: stamps/jtreg.stamp
  3176. +
  3177. +native-ecj: stamps/native-ecj.stamp
  3178. +
  3179. +overlay: stamps/overlay.stamp
  3180. +
  3181. +patch: stamps/patch.stamp
  3182. +
  3183. +patch-boot: stamps/patch-boot.stamp
  3184. +
  3185. +patch-fsg: stamps/patch-fsg.stamp
  3186. +
  3187. +pulse-java: $(PULSE_JAVA_TARGET)
  3188. +
  3189. +rewriter: stamps/rewriter.stamp
  3190. +
  3191. +rewrite-rhino: stamps/rewrite-rhino.stamp
  3192. +
  3193. +rt: stamps/rt.stamp
  3194. +
  3195. +rt-class-files: stamps/rt-class-files.stamp
  3196. +
  3197. +sanitise-openjdk: stamps/sanitise-openjdk.stamp
  3198. +
  3199. +# Tell versions [3.59,3.63) of GNU make to not export all variables.
  3200. +# Otherwise a system limit (for SysV at least) may be exceeded.
  3201. +.NOEXPORT:
  3202. diff -Nur icedtea-2.4.5.orig/patches/openadk.patch icedtea-2.4.5/patches/openadk.patch
  3203. --- icedtea-2.4.5.orig/patches/openadk.patch 1970-01-01 01:00:00.000000000 +0100
  3204. +++ icedtea-2.4.5/patches/openadk.patch 2014-02-12 12:48:40.000000000 +0100
  3205. @@ -0,0 +1,687 @@
  3206. +diff -Nur openjdk.orig/hotspot/src/os/linux/vm/os_linux.cpp openjdk/hotspot/src/os/linux/vm/os_linux.cpp
  3207. +--- openjdk.orig/hotspot/src/os/linux/vm/os_linux.cpp 2014-01-28 18:58:08.000000000 +0100
  3208. ++++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp 2014-02-10 11:31:48.000000000 +0100
  3209. +@@ -112,7 +112,6 @@
  3210. + # include <string.h>
  3211. + # include <syscall.h>
  3212. + # include <sys/sysinfo.h>
  3213. +-# include <gnu/libc-version.h>
  3214. + # include <sys/ipc.h>
  3215. + # include <sys/shm.h>
  3216. + # include <link.h>
  3217. +@@ -650,9 +649,7 @@
  3218. + os::Linux::set_glibc_version(str);
  3219. + } else {
  3220. + // _CS_GNU_LIBC_VERSION is not supported, try gnu_get_libc_version()
  3221. +- static char _gnu_libc_version[32];
  3222. +- jio_snprintf(_gnu_libc_version, sizeof(_gnu_libc_version),
  3223. +- "glibc %s %s", gnu_get_libc_version(), gnu_get_libc_release());
  3224. ++ static char _gnu_libc_version[32] = "2.9";
  3225. + os::Linux::set_glibc_version(_gnu_libc_version);
  3226. + }
  3227. +
  3228. +@@ -2951,10 +2948,7 @@
  3229. + // If we are running with earlier version, which did not have symbol versions,
  3230. + // we should use the base version.
  3231. + void* os::Linux::libnuma_dlsym(void* handle, const char *name) {
  3232. +- void *f = dlvsym(handle, name, "libnuma_1.1");
  3233. +- if (f == NULL) {
  3234. +- f = dlsym(handle, name);
  3235. +- }
  3236. ++ void *f = dlsym(handle, name);
  3237. + return f;
  3238. + }
  3239. +
  3240. +@@ -5312,7 +5306,21 @@
  3241. + // Linux doesn't yet have a (official) notion of processor sets,
  3242. + // so just return the system wide load average.
  3243. + int os::loadavg(double loadavg[], int nelem) {
  3244. +- return ::getloadavg(loadavg, nelem);
  3245. ++ FILE *LOADAVG;
  3246. ++ double avg[3] = { 0.0, 0.0, 0.0 };
  3247. ++ int i, res = -1;;
  3248. ++
  3249. ++ if ((LOADAVG = fopen("/proc/loadavg", "r"))) {
  3250. ++ fscanf(LOADAVG, "%lf %lf %lf", &avg[0], &avg[1], &avg[2]);
  3251. ++ res = 0;
  3252. ++ fclose(LOADAVG);
  3253. ++ }
  3254. ++
  3255. ++ for (i = 0; (i < nelem) && (i < 3); i++) {
  3256. ++ loadavg[i] = avg[i];
  3257. ++ }
  3258. ++
  3259. ++ return res;
  3260. + }
  3261. +
  3262. + void os::pause() {
  3263. +diff -Nur openjdk.orig/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp
  3264. +--- openjdk.orig/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp 2014-01-28 18:58:08.000000000 +0100
  3265. ++++ openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp 2014-02-10 11:31:48.000000000 +0100
  3266. +@@ -253,7 +253,7 @@
  3267. + #elif defined(__APPLE__)
  3268. + inline int g_isnan(double f) { return isnan(f); }
  3269. + #elif defined(LINUX) || defined(_ALLBSD_SOURCE)
  3270. +-inline int g_isnan(float f) { return isnanf(f); }
  3271. ++inline int g_isnan(float f) { return __isnanf(f); }
  3272. + inline int g_isnan(double f) { return isnan(f); }
  3273. + #else
  3274. + #error "missing platform-specific definition here"
  3275. +@@ -267,8 +267,8 @@
  3276. +
  3277. + // Checking for finiteness
  3278. +
  3279. +-inline int g_isfinite(jfloat f) { return finite(f); }
  3280. +-inline int g_isfinite(jdouble f) { return finite(f); }
  3281. ++inline int g_isfinite(jfloat f) { return isfinite(f); }
  3282. ++inline int g_isfinite(jdouble f) { return isfinite(f); }
  3283. +
  3284. +
  3285. + // Wide characters
  3286. +diff -Nur openjdk.orig/jdk/make/com/sun/java/pack/Makefile openjdk/jdk/make/com/sun/java/pack/Makefile
  3287. +--- openjdk.orig/jdk/make/com/sun/java/pack/Makefile 2014-01-28 19:02:26.000000000 +0100
  3288. ++++ openjdk/jdk/make/com/sun/java/pack/Makefile 2014-02-10 11:31:48.000000000 +0100
  3289. +@@ -79,7 +79,7 @@
  3290. + OTHER_CXXFLAGS += $(ZLIB_CFLAGS) -DSYSTEM_ZLIB
  3291. + endif
  3292. + else
  3293. +- OTHER_CXXFLAGS += -DNO_ZLIB -DUNPACK_JNI
  3294. ++ CXXFLAGS_COMMON += -DNO_ZLIB -DUNPACK_JNI
  3295. + OTHER_LDLIBS += $(JVMLIB)
  3296. + endif
  3297. +
  3298. +diff -Nur openjdk.orig/jdk/make/com/sun/nio/sctp/Makefile openjdk/jdk/make/com/sun/nio/sctp/Makefile
  3299. +--- openjdk.orig/jdk/make/com/sun/nio/sctp/Makefile 2014-01-28 19:02:26.000000000 +0100
  3300. ++++ openjdk/jdk/make/com/sun/nio/sctp/Makefile 2014-02-10 11:31:48.000000000 +0100
  3301. +@@ -64,7 +64,7 @@
  3302. + COMPILER_WARNINGS_FATAL=true
  3303. + endif
  3304. + #OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -ljava -lnet -lpthread -ldl
  3305. +-OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -lnio -lnet -lpthread -ldl
  3306. ++OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -lnio -ljavanet -lpthread -ldl
  3307. + endif
  3308. + ifeq ($(PLATFORM), solaris)
  3309. + #LIBSCTP = -lsctp
  3310. +diff -Nur openjdk.orig/jdk/make/common/Defs.gmk openjdk/jdk/make/common/Defs.gmk
  3311. +--- openjdk.orig/jdk/make/common/Defs.gmk 2014-01-28 19:02:26.000000000 +0100
  3312. ++++ openjdk/jdk/make/common/Defs.gmk 2014-02-10 11:31:48.000000000 +0100
  3313. +@@ -204,7 +204,7 @@
  3314. + ifeq ($(PLATFORM), macosx)
  3315. + FREETYPE_HEADERS_PATH = /usr/X11R6/include
  3316. + else
  3317. +- FREETYPE_HEADERS_PATH = /usr/include
  3318. ++ FREETYPE_HEADERS_PATH = /usr/include/disabled
  3319. + endif
  3320. + endif
  3321. + endif
  3322. +diff -Nur openjdk.orig/jdk/make/common/Sanity.gmk openjdk/jdk/make/common/Sanity.gmk
  3323. +--- openjdk.orig/jdk/make/common/Sanity.gmk 2014-01-28 19:02:26.000000000 +0100
  3324. ++++ openjdk/jdk/make/common/Sanity.gmk 2014-02-12 12:28:47.000000000 +0100
  3325. +@@ -91,8 +91,7 @@
  3326. + sane-ld_run_path \
  3327. + sane-alt_bootdir \
  3328. + sane-bootdir \
  3329. +- sane-local-bootdir \
  3330. +- sane-alsa-headers
  3331. ++ sane-local-bootdir
  3332. +
  3333. + ifdef OPENJDK
  3334. + sanity-all:: sane-freetype
  3335. +diff -Nur openjdk.orig/jdk/make/common/shared/Platform.gmk openjdk/jdk/make/common/shared/Platform.gmk
  3336. +--- openjdk.orig/jdk/make/common/shared/Platform.gmk 2014-01-28 19:02:26.000000000 +0100
  3337. ++++ openjdk/jdk/make/common/shared/Platform.gmk 2014-02-10 11:32:16.000000000 +0100
  3338. +@@ -160,9 +160,6 @@
  3339. + else
  3340. + mach := $(shell uname -m)
  3341. + endif
  3342. +- ifneq (,$(wildcard /usr/bin/dpkg-architecture))
  3343. +- mach := $(shell (dpkg-architecture -qDEB_HOST_ARCH_CPU 2>/dev/null || echo $(mach)) | sed 's/arm64/aarch64/;s/powerpc$$/ppc/;s/hppa/parisc/;s/ppc64el/ppc64le/')
  3344. +- endif
  3345. + archExpr = case "$(mach)" in \
  3346. + i[3-9]86) \
  3347. + echo i586 \
  3348. +diff -Nur openjdk.orig/jdk/make/common/shared/Sanity.gmk openjdk/jdk/make/common/shared/Sanity.gmk
  3349. +--- openjdk.orig/jdk/make/common/shared/Sanity.gmk 2014-01-28 19:02:26.000000000 +0100
  3350. ++++ openjdk/jdk/make/common/shared/Sanity.gmk 2014-02-12 12:31:12.000000000 +0100
  3351. +@@ -114,11 +114,6 @@
  3352. + elif [ -f /etc/lsb-release ] ; then \
  3353. + $(EGREP) DISTRIB_RELEASE /etc/lsb-release | $(SED) -e 's@.*DISTRIB_RELEASE=\(.*\)@\1@'; \
  3354. + fi)
  3355. +- ALSA_INCLUDE=/usr/include/alsa/version.h
  3356. +- ALSA_LIBRARY=/usr/lib/libasound.so
  3357. +- _ALSA_VERSION := $(shell $(EGREP) SND_LIB_VERSION_STR $(ALSA_INCLUDE) | \
  3358. +- $(SED) -e 's@.*"\(.*\)".*@\1@' )
  3359. +- ALSA_VERSION := $(call GetVersion,$(_ALSA_VERSION))
  3360. + endif
  3361. +
  3362. + ifeq ($(PLATFORM), macosx)
  3363. +@@ -225,7 +220,6 @@
  3364. + sane-compiler \
  3365. + sane-link \
  3366. + sane-cacerts \
  3367. +- sane-alsa-headers \
  3368. + sane-ant_version \
  3369. + sane-zip_version \
  3370. + sane-unzip_version \
  3371. +@@ -1381,34 +1375,6 @@
  3372. + endif
  3373. + endif
  3374. +
  3375. +-######################################################
  3376. +-# Check that ALSA headers and libs are installed and
  3377. +-# that the header has the right version. We only
  3378. +-# need /usr/include/alsa/version.h and /usr/lib/libasound.so
  3379. +-######################################################
  3380. +-
  3381. +-ifdef REQUIRED_ALSA_VERSION
  3382. +- ALSA_CHECK := $(call CheckVersions,$(ALSA_VERSION),$(REQUIRED_ALSA_VERSION))
  3383. +-endif
  3384. +-sane-alsa-headers:
  3385. +-ifdef REQUIRED_ALSA_VERSION
  3386. +- @if [ "$(ALSA_CHECK)" != "missing" ] ; then \
  3387. +- if [ "$(ALSA_CHECK)" != "same" -a "$(ALSA_CHECK)" != "newer" ] ; then \
  3388. +- $(ECHO) "ERROR: The ALSA version must be $(REQUIRED_ALSA_VERSION) or higher. \n" \
  3389. +- " You have the following ALSA version installed: $${alsa_version} \n" \
  3390. +- " Please reinstall ALSA (drivers and lib). You can download \n" \
  3391. +- " the source distribution from http://www.alsa-project.org \n" \
  3392. +- " or go to http://www.freshrpms.net/docs/alsa/ for precompiled RPM packages. \n" \
  3393. +- "" >> $(ERROR_FILE) ; \
  3394. +- fi ; \
  3395. +- else \
  3396. +- $(ECHO) "ERROR: You seem to not have installed ALSA $(REQUIRED_ALSA_VERSION) or higher. \n" \
  3397. +- " Please install ALSA (drivers and lib). You can download the \n" \
  3398. +- " source distribution from http://www.alsa-project.org or go to \n" \
  3399. +- " http://www.freshrpms.net/docs/alsa/ for precompiled RPM packages. \n" \
  3400. +- "" >> $(ERROR_FILE) ; \
  3401. +- fi
  3402. +-endif
  3403. +
  3404. + # If a sanity file doesn't exist, just make sure it's dir exists
  3405. + $(SANITY_FILES):
  3406. +diff -Nur openjdk.orig/jdk/make/java/instrument/Makefile openjdk/jdk/make/java/instrument/Makefile
  3407. +--- openjdk.orig/jdk/make/java/instrument/Makefile 2014-01-28 19:02:26.000000000 +0100
  3408. ++++ openjdk/jdk/make/java/instrument/Makefile 2014-02-10 11:31:49.000000000 +0100
  3409. +@@ -140,6 +140,8 @@
  3410. + # We don't want to link against -ljava
  3411. + JAVALIB=
  3412. +
  3413. ++OTHER_LDLIBS += -liconv
  3414. ++
  3415. + #
  3416. + # Add to ambient vpath so we pick up the library files
  3417. + #
  3418. +diff -Nur openjdk.orig/jdk/make/java/net/Makefile openjdk/jdk/make/java/net/Makefile
  3419. +--- openjdk.orig/jdk/make/java/net/Makefile 2014-01-28 19:02:26.000000000 +0100
  3420. ++++ openjdk/jdk/make/java/net/Makefile 2014-02-10 11:31:49.000000000 +0100
  3421. +@@ -25,7 +25,7 @@
  3422. +
  3423. + BUILDDIR = ../..
  3424. + PACKAGE = java.net
  3425. +-LIBRARY = net
  3426. ++LIBRARY = javanet
  3427. + PRODUCT = sun
  3428. + include $(BUILDDIR)/common/Defs.gmk
  3429. +
  3430. +diff -Nur openjdk.orig/jdk/make/java/nio/Makefile openjdk/jdk/make/java/nio/Makefile
  3431. +--- openjdk.orig/jdk/make/java/nio/Makefile 2014-01-28 19:02:26.000000000 +0100
  3432. ++++ openjdk/jdk/make/java/nio/Makefile 2014-02-10 11:31:49.000000000 +0100
  3433. +@@ -373,7 +373,7 @@
  3434. + endif
  3435. +
  3436. + ifeq ($(PLATFORM), linux)
  3437. +- OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -ljava -lnet -lpthread $(LIBDL)
  3438. ++ OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -ljava -ljavanet -lpthread $(LIBDL)
  3439. + ifdef USE_SYSTEM_GIO
  3440. + OTHER_LDLIBS += $(GIO_LIBS)
  3441. + OTHER_INCLUDES += $(GIO_CFLAGS) -DUSE_SYSTEM_GIO
  3442. +@@ -927,7 +927,7 @@
  3443. +
  3444. + $(GENSOR_EXE) : $(TEMPDIR)/$(GENSOR_SRC)
  3445. + $(prep-target)
  3446. +- ($(CD) $(TEMPDIR); $(NIO_CC) $(CPPFLAGS) $(LDDFLAGS) \
  3447. ++ ($(CD) $(TEMPDIR); $(HOST_CC) $(CPPFLAGS_FOR_BUILD) $(LDDFLAGS) \
  3448. + -o genSocketOptionRegistry$(EXE_SUFFIX) $(GENSOR_SRC))
  3449. +
  3450. + ifdef NIO_PLATFORM_CLASSES_ROOT_DIR
  3451. +@@ -963,7 +963,7 @@
  3452. +
  3453. + $(GENUC_EXE) : $(GENUC_SRC)
  3454. + $(prep-target)
  3455. +- $(NIO_CC) $(CPPFLAGS) -o $@ $(GENUC_SRC)
  3456. ++ $(HOST_CC) $(CPPFLAGS_FOR_BUILD) -o $@ $(GENUC_SRC)
  3457. +
  3458. + ifdef NIO_PLATFORM_CLASSES_ROOT_DIR
  3459. + $(SFS_GEN)/UnixConstants.java: $(NIO_PLATFORM_CLASSES_ROOT_DIR)/sun/nio/fs/UnixConstants-$(PLATFORM)-$(ARCH).java
  3460. +diff -Nur openjdk.orig/jdk/make/java/npt/Makefile openjdk/jdk/make/java/npt/Makefile
  3461. +--- openjdk.orig/jdk/make/java/npt/Makefile 2014-01-28 19:02:26.000000000 +0100
  3462. ++++ openjdk/jdk/make/java/npt/Makefile 2014-02-10 11:31:49.000000000 +0100
  3463. +@@ -64,6 +64,8 @@
  3464. + # We don't want to link against -ljava
  3465. + JAVALIB=
  3466. +
  3467. ++OTHER_LDLIBS += -liconv
  3468. ++
  3469. + # Add -export options to explicitly spell exported symbols
  3470. + ifeq ($(PLATFORM), windows)
  3471. + OTHER_LCF += -export:nptInitialize -export:nptTerminate
  3472. +diff -Nur openjdk.orig/jdk/make/sun/awt/mawt.gmk openjdk/jdk/make/sun/awt/mawt.gmk
  3473. +--- openjdk.orig/jdk/make/sun/awt/mawt.gmk 2014-01-28 19:02:26.000000000 +0100
  3474. ++++ openjdk/jdk/make/sun/awt/mawt.gmk 2014-02-10 11:31:49.000000000 +0100
  3475. +@@ -151,22 +151,6 @@
  3476. + #endif
  3477. +
  3478. + LIBXTST = -lXtst
  3479. +-ifeq ($(PLATFORM), linux)
  3480. +- ifeq ($(ARCH_DATA_MODEL), 64)
  3481. +- # XXX what about the rest of them?
  3482. +- LIBXT = -lXt
  3483. +- else
  3484. +- # Allows for builds on Debian GNU Linux, X11 is in a different place
  3485. +- LIBXT = $(firstword $(wildcard $(OPENWIN_LIB)/libXt.a) \
  3486. +- $(wildcard /usr/lib/libXt.a))
  3487. +- LIBSM = $(firstword $(wildcard $(OPENWIN_LIB)/libSM.a) \
  3488. +- $(wildcard /usr/lib/libSM.a))
  3489. +- LIBICE = $(firstword $(wildcard $(OPENWIN_LIB)/libICE.a) \
  3490. +- $(wildcard /usr/lib/libICE.a))
  3491. +- LIBXTST = $(firstword $(wildcard $(OPENWIN_LIB)/libXtst.a) \
  3492. +- $(wildcard /usr/lib/libXtst.a))
  3493. +- endif
  3494. +-endif
  3495. +
  3496. + # Use -lXmu for EditRes support
  3497. + LIBXMU_DBG = -lXmu
  3498. +@@ -181,7 +165,7 @@
  3499. + OTHER_CFLAGS += -DMLIB_NO_LIBSUNMATH
  3500. + # XXX what is this define below? Isn't it motif-related?
  3501. + OTHER_CFLAGS += -DXMSTRINGDEFINES=1
  3502. +-OTHER_LDLIBS = $(LIBXMU) $(LIBXTST) -lXext $(LIBXT) $(LIBSM) $(LIBICE) -lX11 -lXi
  3503. ++OTHER_LDLIBS = $(LIBXMU) $(LIBXTST) -lXext -lXt -lSM -lICE -lX11 -lXi
  3504. + endif
  3505. +
  3506. + endif
  3507. +@@ -230,11 +214,6 @@
  3508. + CPPFLAGS += -I$(PLATFORM_SRC)/native/common/deps/fontconfig2
  3509. + endif
  3510. +
  3511. +-ifndef HEADLESS
  3512. +-CPPFLAGS += -I$(OPENWIN_HOME)/include
  3513. +-LDFLAGS += -L$(OPENWIN_LIB)
  3514. +-
  3515. +-endif # !HEADLESS
  3516. +
  3517. + CPPFLAGS += -I$(SHARE_SRC)/native/$(PKGDIR)/debug \
  3518. + -I$(SHARE_SRC)/native/$(PKGDIR)/../font \
  3519. +@@ -269,11 +248,6 @@
  3520. + endif # !HEADLESS
  3521. + endif # PLATFORM
  3522. +
  3523. +-ifeq ($(PLATFORM), linux)
  3524. +- # Checking for the X11/extensions headers at the additional location
  3525. +- CPPFLAGS += -I$(firstword $(wildcard $(OPENWIN_HOME)/include/X11/extensions) \
  3526. +- $(wildcard /usr/include/X11/extensions))
  3527. +-endif
  3528. +
  3529. + ifeq ($(PLATFORM), macosx))
  3530. + CPPFLAGS += -I$(OPENWIN_HOME)/include/X11/extensions \
  3531. +diff -Nur openjdk.orig/jdk/make/sun/splashscreen/Makefile openjdk/jdk/make/sun/splashscreen/Makefile
  3532. +--- openjdk.orig/jdk/make/sun/splashscreen/Makefile 2014-01-28 19:02:26.000000000 +0100
  3533. ++++ openjdk/jdk/make/sun/splashscreen/Makefile 2014-02-10 11:31:50.000000000 +0100
  3534. +@@ -55,6 +55,8 @@
  3535. +
  3536. + JAVALIB=
  3537. +
  3538. ++OTHER_LDLIBS += -liconv
  3539. ++
  3540. + #
  3541. + # C Flags
  3542. + #
  3543. +diff -Nur openjdk.orig/jdk/make/sun/xawt/Makefile openjdk/jdk/make/sun/xawt/Makefile
  3544. +--- openjdk.orig/jdk/make/sun/xawt/Makefile 2014-01-28 19:02:26.000000000 +0100
  3545. ++++ openjdk/jdk/make/sun/xawt/Makefile 2014-02-10 11:31:50.000000000 +0100
  3546. +@@ -292,16 +292,10 @@
  3547. + SIZERS = $(SIZER).32
  3548. + SIZERS_C = $(SIZER_32_C)
  3549. + SIZES = $(WRAPPER_GENERATOR_DIR)/sizes.32
  3550. +-ifdef CROSS_COMPILE_ARCH
  3551. +-CFLAGS_32 = -m32
  3552. +-endif
  3553. + else # !32
  3554. + SIZERS = $(SIZER).64
  3555. + SIZERS_C = $(SIZER_64_C)
  3556. + SIZES = $(WRAPPER_GENERATOR_DIR)/sizes.64
  3557. +-ifdef CROSS_COMPILE_ARCH
  3558. +-CFLAGS_64 = -m64
  3559. +-endif
  3560. + endif # 32
  3561. + endif # !macosx
  3562. + endif # solaris
  3563. +@@ -337,11 +331,7 @@
  3564. + WRAPPER_GENERATOR_CLASS=$(WRAPPER_GENERATOR_TEMPDIR)/WrapperGenerator.class
  3565. + XLIBTYPES=$(PLATFORM_SRC)/classes/sun/awt/X11/generator/xlibtypes.txt
  3566. +
  3567. +-ifndef CROSS_COMPILE_ARCH
  3568. +-SIZERS_CC = $(CC)
  3569. +-else
  3570. +-SIZERS_CC = $(HOST_CC)
  3571. +-endif
  3572. ++SIZERS_CC = $(CC) -static
  3573. +
  3574. + $(SIZERS): $(SIZERS_C)
  3575. + $(prep-target)
  3576. +@@ -364,7 +354,7 @@
  3577. + $(CHMOD) +w $@;\
  3578. + else \
  3579. + $(ECHO) GENERATING $@; \
  3580. +- $(WRAPPER_GENERATOR_DIR)/sizer$(suffix $@) > $@; \
  3581. ++ $(QEMU) $(WRAPPER_GENERATOR_DIR)/sizer$(suffix $@) > $@; \
  3582. + fi
  3583. + @if [ "$(DOCOMPARE)$(suffix $@)" = "true.64" ]; then \
  3584. + $(ECHO) COMPARING $@ and $(STORED_SIZES_TMPL_$(PLATFORM)_$(LIBARCH)); \
  3585. +diff -Nur openjdk.orig/jdk/src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java openjdk/jdk/src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java
  3586. +--- openjdk.orig/jdk/src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java 2014-01-28 19:02:26.000000000 +0100
  3587. ++++ openjdk/jdk/src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java 2014-02-10 11:31:50.000000000 +0100
  3588. +@@ -69,7 +69,7 @@
  3589. + */
  3590. + static {
  3591. + java.security.AccessController.doPrivileged(
  3592. +- new sun.security.action.LoadLibraryAction("net"));
  3593. ++ new sun.security.action.LoadLibraryAction("javanet"));
  3594. + }
  3595. +
  3596. + /**
  3597. +diff -Nur openjdk.orig/jdk/src/share/classes/java/net/AbstractPlainSocketImpl.java openjdk/jdk/src/share/classes/java/net/AbstractPlainSocketImpl.java
  3598. +--- openjdk.orig/jdk/src/share/classes/java/net/AbstractPlainSocketImpl.java 2014-01-28 19:02:26.000000000 +0100
  3599. ++++ openjdk/jdk/src/share/classes/java/net/AbstractPlainSocketImpl.java 2014-02-10 11:31:50.000000000 +0100
  3600. +@@ -78,7 +78,7 @@
  3601. + */
  3602. + static {
  3603. + java.security.AccessController.doPrivileged(
  3604. +- new sun.security.action.LoadLibraryAction("net"));
  3605. ++ new sun.security.action.LoadLibraryAction("javanet"));
  3606. + }
  3607. +
  3608. + /**
  3609. +diff -Nur openjdk.orig/jdk/src/share/classes/java/net/DatagramPacket.java openjdk/jdk/src/share/classes/java/net/DatagramPacket.java
  3610. +--- openjdk.orig/jdk/src/share/classes/java/net/DatagramPacket.java 2014-01-28 19:02:26.000000000 +0100
  3611. ++++ openjdk/jdk/src/share/classes/java/net/DatagramPacket.java 2014-02-10 11:31:50.000000000 +0100
  3612. +@@ -47,7 +47,7 @@
  3613. + */
  3614. + static {
  3615. + java.security.AccessController.doPrivileged(
  3616. +- new sun.security.action.LoadLibraryAction("net"));
  3617. ++ new sun.security.action.LoadLibraryAction("javanet"));
  3618. + init();
  3619. + }
  3620. +
  3621. +diff -Nur openjdk.orig/jdk/src/share/classes/java/net/InetAddress.java openjdk/jdk/src/share/classes/java/net/InetAddress.java
  3622. +--- openjdk.orig/jdk/src/share/classes/java/net/InetAddress.java 2014-01-28 19:02:26.000000000 +0100
  3623. ++++ openjdk/jdk/src/share/classes/java/net/InetAddress.java 2014-02-10 11:31:50.000000000 +0100
  3624. +@@ -267,7 +267,7 @@
  3625. + static {
  3626. + preferIPv6Address = java.security.AccessController.doPrivileged(
  3627. + new GetBooleanAction("java.net.preferIPv6Addresses")).booleanValue();
  3628. +- AccessController.doPrivileged(new LoadLibraryAction("net"));
  3629. ++ AccessController.doPrivileged(new LoadLibraryAction("javanet"));
  3630. + init();
  3631. + }
  3632. +
  3633. +diff -Nur openjdk.orig/jdk/src/share/classes/java/net/NetworkInterface.java openjdk/jdk/src/share/classes/java/net/NetworkInterface.java
  3634. +--- openjdk.orig/jdk/src/share/classes/java/net/NetworkInterface.java 2014-01-28 19:02:26.000000000 +0100
  3635. ++++ openjdk/jdk/src/share/classes/java/net/NetworkInterface.java 2014-02-10 11:31:50.000000000 +0100
  3636. +@@ -53,7 +53,7 @@
  3637. + private static final int defaultIndex; /* index of defaultInterface */
  3638. +
  3639. + static {
  3640. +- AccessController.doPrivileged(new LoadLibraryAction("net"));
  3641. ++ AccessController.doPrivileged(new LoadLibraryAction("javanet"));
  3642. + init();
  3643. + defaultInterface = DefaultInterface.getDefault();
  3644. + if (defaultInterface != null) {
  3645. +diff -Nur openjdk.orig/jdk/src/share/classes/sun/net/sdp/SdpSupport.java openjdk/jdk/src/share/classes/sun/net/sdp/SdpSupport.java
  3646. +--- openjdk.orig/jdk/src/share/classes/sun/net/sdp/SdpSupport.java 2014-01-28 19:02:26.000000000 +0100
  3647. ++++ openjdk/jdk/src/share/classes/sun/net/sdp/SdpSupport.java 2014-02-10 11:31:50.000000000 +0100
  3648. +@@ -76,6 +76,6 @@
  3649. +
  3650. + static {
  3651. + AccessController.doPrivileged(
  3652. +- new sun.security.action.LoadLibraryAction("net"));
  3653. ++ new sun.security.action.LoadLibraryAction("javanet"));
  3654. + }
  3655. + }
  3656. +diff -Nur openjdk.orig/jdk/src/share/classes/sun/net/spi/DefaultProxySelector.java openjdk/jdk/src/share/classes/sun/net/spi/DefaultProxySelector.java
  3657. +--- openjdk.orig/jdk/src/share/classes/sun/net/spi/DefaultProxySelector.java 2014-01-28 19:02:26.000000000 +0100
  3658. ++++ openjdk/jdk/src/share/classes/sun/net/spi/DefaultProxySelector.java 2014-02-10 11:31:50.000000000 +0100
  3659. +@@ -95,7 +95,7 @@
  3660. + }});
  3661. + if (b != null && b.booleanValue()) {
  3662. + java.security.AccessController.doPrivileged(
  3663. +- new sun.security.action.LoadLibraryAction("net"));
  3664. ++ new sun.security.action.LoadLibraryAction("javanet"));
  3665. + hasSystemProxies = init();
  3666. + }
  3667. + }
  3668. +diff -Nur openjdk.orig/jdk/src/share/classes/sun/nio/ch/Util.java openjdk/jdk/src/share/classes/sun/nio/ch/Util.java
  3669. +--- openjdk.orig/jdk/src/share/classes/sun/nio/ch/Util.java 2014-01-28 19:02:26.000000000 +0100
  3670. ++++ openjdk/jdk/src/share/classes/sun/nio/ch/Util.java 2014-02-10 11:31:50.000000000 +0100
  3671. +@@ -483,7 +483,7 @@
  3672. + return;
  3673. + loaded = true;
  3674. + java.security.AccessController
  3675. +- .doPrivileged(new sun.security.action.LoadLibraryAction("net"));
  3676. ++ .doPrivileged(new sun.security.action.LoadLibraryAction("javanet"));
  3677. + java.security.AccessController
  3678. + .doPrivileged(new sun.security.action.LoadLibraryAction("nio"));
  3679. + // IOUtil must be initialized; Its native methods are called from
  3680. +diff -Nur openjdk.orig/jdk/src/solaris/classes/sun/net/dns/ResolverConfigurationImpl.java openjdk/jdk/src/solaris/classes/sun/net/dns/ResolverConfigurationImpl.java
  3681. +--- openjdk.orig/jdk/src/solaris/classes/sun/net/dns/ResolverConfigurationImpl.java 2014-01-28 19:02:26.000000000 +0100
  3682. ++++ openjdk/jdk/src/solaris/classes/sun/net/dns/ResolverConfigurationImpl.java 2014-02-10 11:31:50.000000000 +0100
  3683. +@@ -247,7 +247,7 @@
  3684. +
  3685. + static {
  3686. + java.security.AccessController.doPrivileged(
  3687. +- new sun.security.action.LoadLibraryAction("net"));
  3688. ++ new sun.security.action.LoadLibraryAction("javanet"));
  3689. + }
  3690. +
  3691. + }
  3692. +diff -Nur openjdk.orig/jdk/src/solaris/native/sun/awt/awt_InputMethod.c openjdk/jdk/src/solaris/native/sun/awt/awt_InputMethod.c
  3693. +--- openjdk.orig/jdk/src/solaris/native/sun/awt/awt_InputMethod.c 2014-01-28 19:02:26.000000000 +0100
  3694. ++++ openjdk/jdk/src/solaris/native/sun/awt/awt_InputMethod.c 2014-02-10 11:31:50.000000000 +0100
  3695. +@@ -246,7 +246,8 @@
  3696. + if (wcs == NULL)
  3697. + return NULL;
  3698. +
  3699. +- n = len*MB_CUR_MAX + 1;
  3700. ++ //evil hack for uclibc
  3701. ++ n = len*1 + 1;
  3702. +
  3703. + mbs = (char *) malloc(n * sizeof(char));
  3704. + if (mbs == NULL) {
  3705. +diff -Nur openjdk.orig/jdk/src/solaris/native/sun/xawt/XToolkit.c openjdk/jdk/src/solaris/native/sun/xawt/XToolkit.c
  3706. +--- openjdk.orig/jdk/src/solaris/native/sun/xawt/XToolkit.c 2014-01-28 19:02:26.000000000 +0100
  3707. ++++ openjdk/jdk/src/solaris/native/sun/xawt/XToolkit.c 2014-02-10 11:31:50.000000000 +0100
  3708. +@@ -27,9 +27,6 @@
  3709. + #include <X11/Xutil.h>
  3710. + #include <X11/Xos.h>
  3711. + #include <X11/Xatom.h>
  3712. +-#ifdef __linux__
  3713. +-#include <execinfo.h>
  3714. +-#endif
  3715. +
  3716. + #include <jvm.h>
  3717. + #include <jni.h>
  3718. +@@ -785,25 +782,6 @@
  3719. + return ret;
  3720. + }
  3721. +
  3722. +-#ifdef __linux__
  3723. +-void print_stack(void)
  3724. +-{
  3725. +- void *array[10];
  3726. +- size_t size;
  3727. +- char **strings;
  3728. +- size_t i;
  3729. +-
  3730. +- size = backtrace (array, 10);
  3731. +- strings = backtrace_symbols (array, size);
  3732. +-
  3733. +- fprintf (stderr, "Obtained %zd stack frames.\n", size);
  3734. +-
  3735. +- for (i = 0; i < size; i++)
  3736. +- fprintf (stderr, "%s\n", strings[i]);
  3737. +-
  3738. +- free (strings);
  3739. +-}
  3740. +-#endif
  3741. +
  3742. + Window get_xawt_root_shell(JNIEnv *env) {
  3743. + static jclass classXRootWindow = NULL;
  3744. +diff -Nur openjdk.orig/jdk/src/windows/classes/sun/net/dns/ResolverConfigurationImpl.java openjdk/jdk/src/windows/classes/sun/net/dns/ResolverConfigurationImpl.java
  3745. +--- openjdk.orig/jdk/src/windows/classes/sun/net/dns/ResolverConfigurationImpl.java 2014-01-28 19:02:26.000000000 +0100
  3746. ++++ openjdk/jdk/src/windows/classes/sun/net/dns/ResolverConfigurationImpl.java 2014-02-10 11:31:50.000000000 +0100
  3747. +@@ -159,7 +159,7 @@
  3748. +
  3749. + static {
  3750. + java.security.AccessController.doPrivileged(
  3751. +- new sun.security.action.LoadLibraryAction("net"));
  3752. ++ new sun.security.action.LoadLibraryAction("javanet"));
  3753. + init0();
  3754. +
  3755. + // start the address listener thread
  3756. +diff -Nur openjdk.orig/Makefile openjdk/Makefile
  3757. +--- openjdk.orig/Makefile 2014-01-17 21:22:44.000000000 +0100
  3758. ++++ openjdk/Makefile 2014-02-10 11:31:50.000000000 +0100
  3759. +@@ -53,9 +53,7 @@
  3760. + REL_JDK_DEBUG_IMAGE_DIR = ../$(OUTPUTDIR_BASENAME-debug)/$(JDK_IMAGE_DIRNAME)
  3761. + REL_JDK_FASTDEBUG_IMAGE_DIR = ../$(OUTPUTDIR_BASENAME-fastdebug)/$(JDK_IMAGE_DIRNAME)
  3762. +
  3763. +-ifndef TOPDIR
  3764. +- TOPDIR:=.
  3765. +-endif
  3766. ++TOPDIR:=.
  3767. +
  3768. + ifndef JDK_TOPDIR
  3769. + JDK_TOPDIR=$(TOPDIR)/jdk
  3770. +diff -Nur openjdk-boot.orig/hotspot/make/linux/makefiles/vm.make openjdk-boot/hotspot/make/linux/makefiles/vm.make
  3771. +--- openjdk-boot.orig/hotspot/make/linux/makefiles/vm.make 2014-01-28 18:58:08.000000000 +0100
  3772. ++++ openjdk-boot/hotspot/make/linux/makefiles/vm.make 2014-02-10 18:33:11.000000000 +0100
  3773. +@@ -288,7 +288,7 @@
  3774. + LIBS_VM += $(LIBS)
  3775. + endif
  3776. + ifeq ($(JVM_VARIANT_ZEROSHARK), true)
  3777. +- LIBS_VM += $(LIBFFI_LIBS) $(LLVM_LIBS)
  3778. ++ LIBS_VM += $(LLVM_LIBS)
  3779. + LFLAGS_VM += $(LLVM_LDFLAGS)
  3780. + endif
  3781. +
  3782. +diff -Nur openjdk-boot.orig/hotspot/make/linux/makefiles/zero.make openjdk-boot/hotspot/make/linux/makefiles/zero.make
  3783. +--- openjdk-boot.orig/hotspot/make/linux/makefiles/zero.make 2014-01-28 18:58:08.000000000 +0100
  3784. ++++ openjdk-boot/hotspot/make/linux/makefiles/zero.make 2014-02-11 17:33:53.000000000 +0100
  3785. +@@ -33,4 +33,4 @@
  3786. +
  3787. + # Make sure libffi is included
  3788. + CFLAGS += $(LIBFFI_CFLAGS)
  3789. +-LIBS_VM += $(LIBFFI_LIBS)
  3790. ++LIBS_VM += $(FFI_LDFLAGS) -Wl,-Bstatic $(LIBFFI_LIBS) -Wl,-Bdynamic
  3791. +diff -Nur openjdk-boot.orig/jdk/make/common/Sanity.gmk openjdk-boot/jdk/make/common/Sanity.gmk
  3792. +--- openjdk-boot.orig/jdk/make/common/Sanity.gmk 2014-01-28 19:02:26.000000000 +0100
  3793. ++++ openjdk-boot/jdk/make/common/Sanity.gmk 2014-02-11 14:46:04.000000000 +0100
  3794. +@@ -91,8 +91,7 @@
  3795. + sane-ld_run_path \
  3796. + sane-alt_bootdir \
  3797. + sane-bootdir \
  3798. +- sane-local-bootdir \
  3799. +- sane-alsa-headers
  3800. ++ sane-local-bootdir
  3801. +
  3802. + ifdef OPENJDK
  3803. + sanity-all:: sane-freetype
  3804. +diff -Nur openjdk-boot.orig/jdk/make/common/shared/Sanity.gmk openjdk-boot/jdk/make/common/shared/Sanity.gmk
  3805. +--- openjdk-boot.orig/jdk/make/common/shared/Sanity.gmk 2014-01-28 19:02:26.000000000 +0100
  3806. ++++ openjdk-boot/jdk/make/common/shared/Sanity.gmk 2014-02-11 14:45:37.000000000 +0100
  3807. +@@ -114,11 +114,6 @@
  3808. + elif [ -f /etc/lsb-release ] ; then \
  3809. + $(EGREP) DISTRIB_RELEASE /etc/lsb-release | $(SED) -e 's@.*DISTRIB_RELEASE=\(.*\)@\1@'; \
  3810. + fi)
  3811. +- ALSA_INCLUDE=/usr/include/alsa/version.h
  3812. +- ALSA_LIBRARY=/usr/lib/libasound.so
  3813. +- _ALSA_VERSION := $(shell $(EGREP) SND_LIB_VERSION_STR $(ALSA_INCLUDE) | \
  3814. +- $(SED) -e 's@.*"\(.*\)".*@\1@' )
  3815. +- ALSA_VERSION := $(call GetVersion,$(_ALSA_VERSION))
  3816. + endif
  3817. +
  3818. + ifeq ($(PLATFORM), macosx)
  3819. +@@ -225,7 +220,6 @@
  3820. + sane-compiler \
  3821. + sane-link \
  3822. + sane-cacerts \
  3823. +- sane-alsa-headers \
  3824. + sane-ant_version \
  3825. + sane-zip_version \
  3826. + sane-unzip_version \
  3827. +@@ -1381,35 +1375,6 @@
  3828. + endif
  3829. + endif
  3830. +
  3831. +-######################################################
  3832. +-# Check that ALSA headers and libs are installed and
  3833. +-# that the header has the right version. We only
  3834. +-# need /usr/include/alsa/version.h and /usr/lib/libasound.so
  3835. +-######################################################
  3836. +-
  3837. +-ifdef REQUIRED_ALSA_VERSION
  3838. +- ALSA_CHECK := $(call CheckVersions,$(ALSA_VERSION),$(REQUIRED_ALSA_VERSION))
  3839. +-endif
  3840. +-sane-alsa-headers:
  3841. +-ifdef REQUIRED_ALSA_VERSION
  3842. +- @if [ "$(ALSA_CHECK)" != "missing" ] ; then \
  3843. +- if [ "$(ALSA_CHECK)" != "same" -a "$(ALSA_CHECK)" != "newer" ] ; then \
  3844. +- $(ECHO) "ERROR: The ALSA version must be $(REQUIRED_ALSA_VERSION) or higher. \n" \
  3845. +- " You have the following ALSA version installed: $${alsa_version} \n" \
  3846. +- " Please reinstall ALSA (drivers and lib). You can download \n" \
  3847. +- " the source distribution from http://www.alsa-project.org \n" \
  3848. +- " or go to http://www.freshrpms.net/docs/alsa/ for precompiled RPM packages. \n" \
  3849. +- "" >> $(ERROR_FILE) ; \
  3850. +- fi ; \
  3851. +- else \
  3852. +- $(ECHO) "ERROR: You seem to not have installed ALSA $(REQUIRED_ALSA_VERSION) or higher. \n" \
  3853. +- " Please install ALSA (drivers and lib). You can download the \n" \
  3854. +- " source distribution from http://www.alsa-project.org or go to \n" \
  3855. +- " http://www.freshrpms.net/docs/alsa/ for precompiled RPM packages. \n" \
  3856. +- "" >> $(ERROR_FILE) ; \
  3857. +- fi
  3858. +-endif
  3859. +-
  3860. + # If a sanity file doesn't exist, just make sure it's dir exists
  3861. + $(SANITY_FILES):
  3862. + -@$(prep-target)
  3863. +diff -Nur openjdk-boot.orig/jdk/make/sun/awt/mawt.gmk openjdk-boot/jdk/make/sun/awt/mawt.gmk
  3864. +--- openjdk-boot.orig/jdk/make/sun/awt/mawt.gmk 2014-01-28 19:02:26.000000000 +0100
  3865. ++++ openjdk-boot/jdk/make/sun/awt/mawt.gmk 2014-02-10 18:28:56.000000000 +0100
  3866. +@@ -269,12 +269,6 @@
  3867. + endif # !HEADLESS
  3868. + endif # PLATFORM
  3869. +
  3870. +-ifeq ($(PLATFORM), linux)
  3871. +- # Checking for the X11/extensions headers at the additional location
  3872. +- CPPFLAGS += -I$(firstword $(wildcard $(OPENWIN_HOME)/include/X11/extensions) \
  3873. +- $(wildcard /usr/include/X11/extensions))
  3874. +-endif
  3875. +-
  3876. + ifeq ($(PLATFORM), macosx))
  3877. + CPPFLAGS += -I$(OPENWIN_HOME)/include/X11/extensions \
  3878. + -I$(OPENWIN_HOME)/include
  3879. +diff -Nur openjdk-boot.orig/Makefile openjdk-boot/Makefile
  3880. +--- openjdk-boot.orig/Makefile 2014-01-17 21:22:44.000000000 +0100
  3881. ++++ openjdk-boot/Makefile 2014-02-10 18:28:56.000000000 +0100
  3882. +@@ -53,9 +53,7 @@
  3883. + REL_JDK_DEBUG_IMAGE_DIR = ../$(OUTPUTDIR_BASENAME-debug)/$(JDK_IMAGE_DIRNAME)
  3884. + REL_JDK_FASTDEBUG_IMAGE_DIR = ../$(OUTPUTDIR_BASENAME-fastdebug)/$(JDK_IMAGE_DIRNAME)
  3885. +
  3886. +-ifndef TOPDIR
  3887. +- TOPDIR:=.
  3888. +-endif
  3889. ++TOPDIR:=.
  3890. +
  3891. + ifndef JDK_TOPDIR
  3892. + JDK_TOPDIR=$(TOPDIR)/jdk