123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894 |
- diff -Nur icedtea-2.4.5.orig/Makefile.in icedtea-2.4.5/Makefile.in
- --- icedtea-2.4.5.orig/Makefile.in 2014-01-29 09:28:28.000000000 +0100
- +++ icedtea-2.4.5/Makefile.in 2014-02-09 18:47:29.000000000 +0100
- @@ -704,7 +704,7 @@
- $(am__append_14) $(am__append_15) $(DISTRIBUTION_PATCHES)
-
- # Bootstrapping patches
- -ICEDTEA_BOOT_PATCHES = patches/boot/javafiles.patch \
- +ICEDTEA_BOOT_PATCHES = patches/openadk.patch patches/boot/javafiles.patch \
- patches/boot/ant-javac.patch patches/boot/corba-idlj.patch \
- patches/boot/corba-no-gen.patch patches/boot/corba-orb.patch \
- patches/boot/demos.patch patches/boot/fphexconstants.patch \
- @@ -2120,7 +2120,7 @@
- # Optional native ecj
- stamps/native-ecj.stamp:
- mkdir -p stamps
- -@BUILD_NATIVE_ECJ_TRUE@ ${GCJ} $(IT_CFLAGS) -Wl,-Bsymbolic -findirect-dispatch -o native-ecj \
- +@BUILD_NATIVE_ECJ_TRUE@ ${GCJ} -lgcj -Wl,-Bsymbolic -findirect-dispatch -o native-ecj \
- @BUILD_NATIVE_ECJ_TRUE@ --main=org.eclipse.jdt.internal.compiler.batch.Main ${ECJ_JAR}
- touch $@
-
- diff -Nur icedtea-2.4.5.orig/Makefile.in.orig icedtea-2.4.5/Makefile.in.orig
- --- icedtea-2.4.5.orig/Makefile.in.orig 1970-01-01 01:00:00.000000000 +0100
- +++ icedtea-2.4.5/Makefile.in.orig 2014-01-29 09:28:28.000000000 +0100
- @@ -0,0 +1,3178 @@
- +# Makefile.in generated by automake 1.14 from Makefile.am.
- +# @configure_input@
- +
- +# Copyright (C) 1994-2013 Free Software Foundation, Inc.
- +
- +# This Makefile.in is free software; the Free Software Foundation
- +# gives unlimited permission to copy and/or distribute it,
- +# with or without modifications, as long as this notice is preserved.
- +
- +# This program is distributed in the hope that it will be useful,
- +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
- +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
- +# PARTICULAR PURPOSE.
- +
- +@SET_MAKE@
- +
- +# Dependencies
- +VPATH = @srcdir@
- +am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)'
- +am__make_running_with_option = \
- + case $${target_option-} in \
- + ?) ;; \
- + *) echo "am__make_running_with_option: internal error: invalid" \
- + "target option '$${target_option-}' specified" >&2; \
- + exit 1;; \
- + esac; \
- + has_opt=no; \
- + sane_makeflags=$$MAKEFLAGS; \
- + if $(am__is_gnu_make); then \
- + sane_makeflags=$$MFLAGS; \
- + else \
- + case $$MAKEFLAGS in \
- + *\\[\ \ ]*) \
- + bs=\\; \
- + sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
- + | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
- + esac; \
- + fi; \
- + skip_next=no; \
- + strip_trailopt () \
- + { \
- + flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
- + }; \
- + for flg in $$sane_makeflags; do \
- + test $$skip_next = yes && { skip_next=no; continue; }; \
- + case $$flg in \
- + *=*|--*) continue;; \
- + -*I) strip_trailopt 'I'; skip_next=yes;; \
- + -*I?*) strip_trailopt 'I';; \
- + -*O) strip_trailopt 'O'; skip_next=yes;; \
- + -*O?*) strip_trailopt 'O';; \
- + -*l) strip_trailopt 'l'; skip_next=yes;; \
- + -*l?*) strip_trailopt 'l';; \
- + -[dEDm]) skip_next=yes;; \
- + -[JT]) skip_next=yes;; \
- + esac; \
- + case $$flg in \
- + *$$target_option*) has_opt=yes; break;; \
- + esac; \
- + done; \
- + test $$has_opt = yes
- +am__make_dryrun = (target_option=n; $(am__make_running_with_option))
- +am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
- +pkgdatadir = $(datadir)/@PACKAGE@
- +pkgincludedir = $(includedir)/@PACKAGE@
- +pkglibdir = $(libdir)/@PACKAGE@
- +pkglibexecdir = $(libexecdir)/@PACKAGE@
- +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
- +install_sh_DATA = $(install_sh) -c -m 644
- +install_sh_PROGRAM = $(install_sh) -c
- +install_sh_SCRIPT = $(install_sh) -c
- +INSTALL_HEADER = $(INSTALL_DATA)
- +transform = $(program_transform_name)
- +NORMAL_INSTALL = :
- +PRE_INSTALL = :
- +POST_INSTALL = :
- +NORMAL_UNINSTALL = :
- +PRE_UNINSTALL = :
- +POST_UNINSTALL = :
- +build_triplet = @build@
- +host_triplet = @host@
- +
- +#PR43148 - javac fails due to missing java.util.regex.Matcher.quoteReplacement
- +@LACKS_JAVA_UTIL_REGEX_MATCHER_QUOTEREPLACEMENT_TRUE@am__append_1 = \
- +@LACKS_JAVA_UTIL_REGEX_MATCHER_QUOTEREPLACEMENT_TRUE@ $(SHARE)/java/util/regex/Matcher.java
- +
- +
- +#PR48033 - Missing javax.management.remote.JMXServiceURL
- +@LACKS_JAVAX_MANAGEMENT_REMOTE_JMXSERVICEURL_TRUE@am__append_2 = \
- +@LACKS_JAVAX_MANAGEMENT_REMOTE_JMXSERVICEURL_TRUE@ $(SHARE)/javax/management/remote/JMXServiceURL.java
- +
- +
- +#PR48034 - javax.management.modelmbean.ModelMBeanInfo
- +@LACKS_JAVAX_MANAGEMENT_MODELMBEAN_MODELMBEANINFO_TRUE@am__append_3 = \
- +@LACKS_JAVAX_MANAGEMENT_MODELMBEAN_MODELMBEANINFO_TRUE@ $(SHARE)/javax/management/modelmbean/ModelMBeanInfo.java
- +
- +
- +#PR42003 - Missing javax.swing.plaf.basic.BasicDirectoryModel methods cause OpenJDK build failure
- +@LACKS_JAVAX_SWING_PLAF_BASIC_BASICDIRECTORYMODEL_ADDPROPERTYCHANGELISTENER_TRUE@am__append_4 = \
- +@LACKS_JAVAX_SWING_PLAF_BASIC_BASICDIRECTORYMODEL_ADDPROPERTYCHANGELISTENER_TRUE@ $(SHARE)/javax/swing/plaf/basic/BasicDirectoryModel.java
- +
- +
- +#PR56553 - SSLParameters support missing
- +@LACKS_JAVAX_NET_SSL_SSLCONTEXT_GETDEFAULTSSLPARAMETERS_TRUE@am__append_5 = \
- +@LACKS_JAVAX_NET_SSL_SSLCONTEXT_GETDEFAULTSSLPARAMETERS_TRUE@ $(SHARE)/javax/net/ssl/SSLContext.java
- +
- +@LACKS_JAVAX_NET_SSL_SSLENGINE_SETSSLPARAMETERS_TRUE@am__append_6 = \
- +@LACKS_JAVAX_NET_SSL_SSLENGINE_SETSSLPARAMETERS_TRUE@ $(SHARE)/javax/net/ssl/SSLEngine.java
- +
- +
- +#PR57008 - Add missing SslRMIServerSocketFactory constructor from 7
- +@LACKS_JAVAX_RMI_SSL_SSLRMISERVERSOCKETFACTORY_7_TRUE@am__append_7 = \
- +@LACKS_JAVAX_RMI_SSL_SSLRMISERVERSOCKETFACTORY_7_TRUE@ $(SHARE)/javax/rmi/ssl/SslRMIServerSocketFactory.java
- +
- +
- +# Conditional patches
- +@WITH_RHINO_TRUE@am__append_8 = \
- +@WITH_RHINO_TRUE@ patches/rhino.patch
- +
- +@BUILD_CACAO_TRUE@am__append_9 = \
- +@BUILD_CACAO_TRUE@ patches/cacao/launcher.patch \
- +@BUILD_CACAO_TRUE@ patches/cacao/memory.patch
- +
- +@BUILD_CACAO_FALSE@@USING_CACAO_TRUE@am__append_10 = \
- +@BUILD_CACAO_FALSE@@USING_CACAO_TRUE@ patches/cacao/memory.patch
- +
- +@ENABLE_CACAO_TRUE@am__append_11 = \
- +@ENABLE_CACAO_TRUE@ patches/cacao/ignore-tests.patch
- +
- +@ENABLE_PULSE_JAVA_TRUE@am__append_12 = \
- +@ENABLE_PULSE_JAVA_TRUE@ patches/pulse-soundproperties.patch
- +
- +@ENABLE_SYSTEMTAP_TRUE@am__append_13 = \
- +@ENABLE_SYSTEMTAP_TRUE@ patches/systemtap_gc.patch
- +
- +@ENABLE_NSS_TRUE@am__append_14 = patches/nss-config.patch
- +@WITH_PAX_TRUE@am__append_15 = \
- +@WITH_PAX_TRUE@ patches/test_gamma.patch \
- +@WITH_PAX_TRUE@ patches/pax-mark-rmic-java.patch
- +
- +@DISABLE_BOOTSTRAP_TOOLS_TRUE@am__append_16 = patches/boot/openjdk6-prefer_source.patch
- +@DISABLE_BOOTSTRAP_TOOLS_FALSE@am__append_17 = patches/boot/bootstrap-tools.patch
- +@VM_SUPPORTS_XBOOTCLASSPATH_FALSE@am__append_18 = \
- +@VM_SUPPORTS_XBOOTCLASSPATH_FALSE@ patches/boot/xbootclasspath.patch
- +
- +@WITH_PAX_FALSE@am__append_19 = patches/boot/test_gamma.patch
- +@CP39408_JAVAH_TRUE@am__append_20 = patches/boot/pr39408.patch
- +@CP40188_JAVAH_TRUE@am__append_21 = patches/boot/pr40188.patch \
- +@CP40188_JAVAH_TRUE@ patches/boot/javah.patch
- +
- +@CP45526_JAVAH_TRUE@am__append_22 = patches/boot/explicit-inner-class-headers.patch
- +@CP40616_TRUE@am__append_23 = patches/boot/pr40616.patch
- +@LACKS_JAVA_UTIL_SCANNER_TRUE@am__append_24 = $(SCANNER_PATCHES)
- +@CP40630_TRUE@@LACKS_JAVA_UTIL_SCANNER_FALSE@am__append_25 = $(SCANNER_PATCHES)
- +@JAVAC_LACKS_DIAMOND_TRUE@am__append_26 = patches/boot/ecj-diamond.patch
- +@JAVAC_LACKS_DIAMOND_FALSE@@USING_CACAO_TRUE@am__append_27 = patches/boot/compile-for-7-cacao-mem.patch
- +@BUILD_CACAO_TRUE@@JAVAC_LACKS_DIAMOND_FALSE@@USING_CACAO_FALSE@am__append_28 = patches/boot/compile-for-7-cacao-mem.patch
- +@BUILD_CACAO_FALSE@@JAVAC_LACKS_DIAMOND_FALSE@@USING_CACAO_FALSE@am__append_29 = patches/boot/compile-for-7.patch
- +@DTDTYPE_QNAME_TRUE@am__append_30 = patches/boot/jaxws-getdtdtype.patch
- +@NO_BYTECODE7_TRUE@am__append_31 = patches/boot/use_target_6_for_bootstrap_classes.patch
- +@ENABLE_CACAO_TRUE@am__append_32 = \
- +@ENABLE_CACAO_TRUE@ ALT_HOTSPOT_IMPORT_PATH="$(CACAO_IMPORT_PATH)"
- +
- +@ENABLE_JAMVM_TRUE@am__append_33 = \
- +@ENABLE_JAMVM_TRUE@ ALT_HOTSPOT_IMPORT_PATH="$(JAMVM_IMPORT_PATH)"
- +
- +@DISABLE_OPTIMIZATIONS_TRUE@am__append_34 = \
- +@DISABLE_OPTIMIZATIONS_TRUE@ NO_OPTIMIZATIONS="true" \
- +@DISABLE_OPTIMIZATIONS_TRUE@ CC_NO_OPT="-O0 -g"
- +
- +@ENABLE_DOCS_FALSE@am__append_35 = \
- +@ENABLE_DOCS_FALSE@ NO_DOCS="true"
- +
- +@USE_ALT_JAR_TRUE@am__append_36 = \
- +@USE_ALT_JAR_TRUE@ ALT_JAR_CMD="$(ALT_JAR_CMD)"
- +
- +@HAS_HOTSPOT_REVISION_TRUE@am__append_37 = \
- +@HAS_HOTSPOT_REVISION_TRUE@ HOTSPOT_BUILD_VERSION="$(HOTSPOT_REVISION)"
- +
- +@WITH_RHINO_TRUE@am__append_38 = \
- +@WITH_RHINO_TRUE@ RHINO_JAR="$(abs_top_builddir)/rhino/rhino.jar"
- +
- +@USE_SYSTEM_ZLIB_TRUE@am__append_39 = \
- +@USE_SYSTEM_ZLIB_TRUE@ SYSTEM_ZLIB="true" \
- +@USE_SYSTEM_ZLIB_TRUE@ ZLIB_LIBS="${ZLIB_LIBS}" \
- +@USE_SYSTEM_ZLIB_TRUE@ ZLIB_CFLAGS="${ZLIB_CFLAGS}"
- +
- +@USE_SYSTEM_LCMS_TRUE@am__append_40 = \
- +@USE_SYSTEM_LCMS_TRUE@ USE_SYSTEM_LCMS="true" \
- +@USE_SYSTEM_LCMS_TRUE@ LCMS_LIBS="${LCMS2_LIBS}" \
- +@USE_SYSTEM_LCMS_TRUE@ LCMS_CFLAGS="${LCMS2_CFLAGS}"
- +
- +@USE_SYSTEM_JPEG_TRUE@am__append_41 = \
- +@USE_SYSTEM_JPEG_TRUE@ USE_SYSTEM_JPEG="true" \
- +@USE_SYSTEM_JPEG_TRUE@ JPEG_LIBS="${JPEG_LIBS}" \
- +@USE_SYSTEM_JPEG_TRUE@ JPEG_CFLAGS="${JPEG_CFLAGS}"
- +
- +@USE_SYSTEM_PNG_TRUE@am__append_42 = \
- +@USE_SYSTEM_PNG_TRUE@ USE_SYSTEM_PNG="true" \
- +@USE_SYSTEM_PNG_TRUE@ PNG_LIBS="${PNG_LIBS}" \
- +@USE_SYSTEM_PNG_TRUE@ PNG_CFLAGS="${PNG_CFLAGS}"
- +
- +@USE_SYSTEM_GIF_TRUE@am__append_43 = \
- +@USE_SYSTEM_GIF_TRUE@ USE_SYSTEM_GIF="true" \
- +@USE_SYSTEM_GIF_TRUE@ GIF_LIBS="${GIF_LIBS}" \
- +@USE_SYSTEM_GIF_TRUE@ GIF_CFLAGS="${GIF_CFLAGS}"
- +
- +@USE_SYSTEM_GTK_TRUE@am__append_44 = \
- +@USE_SYSTEM_GTK_TRUE@ USE_SYSTEM_GTK="true" \
- +@USE_SYSTEM_GTK_TRUE@ GTK_LIBS="${GTK_LIBS}" \
- +@USE_SYSTEM_GTK_TRUE@ GTK_CFLAGS="${GTK_CFLAGS}"
- +
- +@USE_SYSTEM_GIO_TRUE@am__append_45 = \
- +@USE_SYSTEM_GIO_TRUE@ USE_SYSTEM_GIO="true" \
- +@USE_SYSTEM_GIO_TRUE@ GIO_LIBS="${GIO_LIBS}" \
- +@USE_SYSTEM_GIO_TRUE@ GIO_CFLAGS="${GIO_CFLAGS}"
- +
- +@USE_SYSTEM_FONTCONFIG_TRUE@am__append_46 = \
- +@USE_SYSTEM_FONTCONFIG_TRUE@ USE_SYSTEM_FONTCONFIG="true" \
- +@USE_SYSTEM_FONTCONFIG_TRUE@ FONTCONFIG_LIBS="${FONTCONFIG_LIBS}" \
- +@USE_SYSTEM_FONTCONFIG_TRUE@ FONTCONFIG_CFLAGS="${FONTCONFIG_CFLAGS}"
- +
- +@USE_SYSCALL_COMPILATION_TRUE@am__append_47 = \
- +@USE_SYSCALL_COMPILATION_TRUE@ COMPILE_AGAINST_SYSCALLS="true"
- +
- +@ENABLE_JAR_COMPRESSION_TRUE@am__append_48 = \
- +@ENABLE_JAR_COMPRESSION_TRUE@ COMPRESS_JARS="true"
- +
- +@USE_SYSTEM_KERBEROS_TRUE@am__append_49 = \
- +@USE_SYSTEM_KERBEROS_TRUE@ SYSTEM_KRB5="true" \
- +@USE_SYSTEM_KERBEROS_TRUE@ KRB5_LIBS="${KRB5_LIBS}" \
- +@USE_SYSTEM_KERBEROS_TRUE@ KRB5_CFLAGS="${KRB5_CFLAGS}"
- +
- +@ADD_SHARK_BUILD_TRUE@am__append_50 = \
- +@ADD_SHARK_BUILD_TRUE@ --enable-shark
- +
- +subdir = .
- +DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
- + $(top_srcdir)/configure $(am__configure_deps) \
- + $(srcdir)/nss.cfg.in $(srcdir)/javac.in $(srcdir)/javap.in \
- + $(srcdir)/javah.in $(srcdir)/tz.properties.in \
- + $(srcdir)/pax-mark-vm.in \
- + $(srcdir)/remove-intree-libraries.sh.in \
- + $(top_srcdir)/tapset/hotspot.stp.in \
- + $(top_srcdir)/tapset/hotspot_jni.stp.in \
- + $(top_srcdir)/tapset/jstack.stp.in \
- + $(top_srcdir)/tapset/hotspot_gc.stp.in AUTHORS COPYING \
- + ChangeLog INSTALL NEWS README compile config.guess config.sub \
- + install-sh missing
- +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
- +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
- + $(top_srcdir)/configure.ac
- +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
- + $(ACLOCAL_M4)
- +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
- + configure.lineno config.status.lineno
- +mkinstalldirs = $(install_sh) -d
- +CONFIG_CLEAN_FILES = nss.cfg javac javap javah tz.properties \
- + pax-mark-vm remove-intree-libraries.sh tapset/hotspot.stp \
- + tapset/hotspot_jni.stp tapset/jstack.stp tapset/hotspot_gc.stp
- +CONFIG_CLEAN_VPATH_FILES =
- +AM_V_P = $(am__v_P_@AM_V@)
- +am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
- +am__v_P_0 = false
- +am__v_P_1 = :
- +AM_V_GEN = $(am__v_GEN_@AM_V@)
- +am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
- +am__v_GEN_0 = @echo " GEN " $@;
- +am__v_GEN_1 =
- +AM_V_at = $(am__v_at_@AM_V@)
- +am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
- +am__v_at_0 = @
- +am__v_at_1 =
- +SOURCES =
- +DIST_SOURCES =
- +am__can_run_installinfo = \
- + case $$AM_UPDATE_INFO_DIR in \
- + n|no|NO) false;; \
- + *) (install-info --version) >/dev/null 2>&1;; \
- + esac
- +am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
- +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
- +distdir = $(PACKAGE)-$(VERSION)
- +top_distdir = $(distdir)
- +am__remove_distdir = \
- + if test -d "$(distdir)"; then \
- + find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
- + && rm -rf "$(distdir)" \
- + || { sleep 5 && rm -rf "$(distdir)"; }; \
- + else :; fi
- +am__post_remove_distdir = $(am__remove_distdir)
- +DIST_ARCHIVES = $(distdir).tar.gz
- +GZIP_ENV = --best
- +DIST_TARGETS = dist-gzip
- +distuninstallcheck_listfiles = find . -type f -print
- +am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
- + | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
- +distcleancheck_listfiles = find . -type f -print
- +ABS_CLIENT_LIBJVM_SO = @ABS_CLIENT_LIBJVM_SO@
- +ABS_JAVA_HOME_DIR = @ABS_JAVA_HOME_DIR@
- +ABS_SERVER_LIBJVM_SO = @ABS_SERVER_LIBJVM_SO@
- +ACLOCAL = @ACLOCAL@
- +ALSA_CFLAGS = @ALSA_CFLAGS@
- +ALSA_LIBS = @ALSA_LIBS@
- +ALT_CACAO_SRC_DIR = @ALT_CACAO_SRC_DIR@
- +ALT_CACAO_SRC_ZIP = @ALT_CACAO_SRC_ZIP@
- +ALT_CORBA_SRC_ZIP = @ALT_CORBA_SRC_ZIP@
- +ALT_HOTSPOT_SRC_ZIP = @ALT_HOTSPOT_SRC_ZIP@
- +ALT_JAMVM_SRC_ZIP = @ALT_JAMVM_SRC_ZIP@
- +ALT_JAR_CMD = @ALT_JAR_CMD@
- +ALT_JAXP_SRC_ZIP = @ALT_JAXP_SRC_ZIP@
- +ALT_JAXWS_SRC_ZIP = @ALT_JAXWS_SRC_ZIP@
- +ALT_JDK_SRC_ZIP = @ALT_JDK_SRC_ZIP@
- +ALT_LANGTOOLS_SRC_ZIP = @ALT_LANGTOOLS_SRC_ZIP@
- +ALT_OPENJDK_SRC_ZIP = @ALT_OPENJDK_SRC_ZIP@
- +AMTAR = @AMTAR@
- +AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
- +ANT = @ANT@
- +ARCHFLAG = @ARCHFLAG@
- +ARCH_PREFIX = @ARCH_PREFIX@
- +AUTOCONF = @AUTOCONF@
- +AUTOHEADER = @AUTOHEADER@
- +AUTOMAKE = @AUTOMAKE@
- +AWK = @AWK@
- +BUILD_ARCH_DIR = @BUILD_ARCH_DIR@
- +BUILD_OS_DIR = @BUILD_OS_DIR@
- +CACAO_IMPORT_PATH = @CACAO_IMPORT_PATH@
- +CC = @CC@
- +CCDEPMODE = @CCDEPMODE@
- +CFLAGS = @CFLAGS@
- +CHMOD = @CHMOD@
- +
- +# configure script arguments, quoted in single quotes
- +CONFIGURE_ARGS = @CONFIGURE_ARGS@
- +CPIO = @CPIO@
- +CPP = @CPP@
- +CPPFLAGS = @CPPFLAGS@
- +CUPS_LIBS = @CUPS_LIBS@
- +CXX = @CXX@
- +CXXDEPMODE = @CXXDEPMODE@
- +CXXFLAGS = @CXXFLAGS@
- +CYGPATH_W = @CYGPATH_W@
- +DEFAULT_LIBDIR = @DEFAULT_LIBDIR@
- +DEFS = @DEFS@
- +DEPDIR = @DEPDIR@
- +DIST_ID = @DIST_ID@
- +DIST_NAME = @DIST_NAME@
- +ECHO_C = @ECHO_C@
- +ECHO_N = @ECHO_N@
- +ECHO_T = @ECHO_T@
- +ECJ = @ECJ@
- +ECJ_JAR = @ECJ_JAR@
- +EGREP = @EGREP@
- +ENABLE_CACAO = @ENABLE_CACAO@
- +ENABLE_JAMVM = @ENABLE_JAMVM@
- +ENABLE_SYSCALL_COMPILATION = @ENABLE_SYSCALL_COMPILATION@
- +ENABLE_SYSTEM_FONTCONFIG = @ENABLE_SYSTEM_FONTCONFIG@
- +ENABLE_SYSTEM_GIF = @ENABLE_SYSTEM_GIF@
- +ENABLE_SYSTEM_GIO = @ENABLE_SYSTEM_GIO@
- +ENABLE_SYSTEM_GTK = @ENABLE_SYSTEM_GTK@
- +ENABLE_SYSTEM_JPEG = @ENABLE_SYSTEM_JPEG@
- +ENABLE_SYSTEM_KERBEROS = @ENABLE_SYSTEM_KERBEROS@
- +ENABLE_SYSTEM_LCMS = @ENABLE_SYSTEM_LCMS@
- +ENABLE_SYSTEM_PNG = @ENABLE_SYSTEM_PNG@
- +ENABLE_SYSTEM_ZLIB = @ENABLE_SYSTEM_ZLIB@
- +ENABLE_WARNINGS = @ENABLE_WARNINGS@
- +EXEEXT = @EXEEXT@
- +FASTJAR = @FASTJAR@
- +FILE = @FILE@
- +FIND = @FIND@
- +FONTCONFIG_CFLAGS = @FONTCONFIG_CFLAGS@
- +FONTCONFIG_LIBS = @FONTCONFIG_LIBS@
- +FREETYPE2_CFLAGS = @FREETYPE2_CFLAGS@
- +FREETYPE2_LIBS = @FREETYPE2_LIBS@
- +GAWK = @GAWK@
- +GCJ = @GCJ@
- +GETCONF = @GETCONF@
- +GIF_LIBS = @GIF_LIBS@
- +GIO_CFLAGS = @GIO_CFLAGS@
- +GIO_LIBS = @GIO_LIBS@
- +GREP = @GREP@
- +GTK_CFLAGS = @GTK_CFLAGS@
- +GTK_LIBS = @GTK_LIBS@
- +GZIP = @GZIP@
- +HG = @HG@
- +HGREV = @HGREV@
- +HOTSPOT_REVISION = @HOTSPOT_REVISION@
- +HSBUILD = @HSBUILD@
- +ICEDTEA_REVISION = @ICEDTEA_REVISION@
- +INSTALL = @INSTALL@
- +INSTALL_ARCH_DIR = @INSTALL_ARCH_DIR@
- +INSTALL_DATA = @INSTALL_DATA@
- +INSTALL_PROGRAM = @INSTALL_PROGRAM@
- +INSTALL_SCRIPT = @INSTALL_SCRIPT@
- +INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
- +JAR = @JAR@
- +JAR_ACCEPTS_STDIN_LIST = @JAR_ACCEPTS_STDIN_LIST@
- +JAR_KNOWS_ATFILE = @JAR_KNOWS_ATFILE@
- +JAR_KNOWS_J_OPTIONS = @JAR_KNOWS_J_OPTIONS@
- +JAVA = @JAVA@
- +JAVAC = @JAVAC@
- +JAVAH = @JAVAH@
- +JDK_REVISION = @JDK_REVISION@
- +JPEG_LIBS = @JPEG_LIBS@
- +JRE_ARCH_DIR = @JRE_ARCH_DIR@
- +KRB5_LIBS = @KRB5_LIBS@
- +LCMS2_CFLAGS = @LCMS2_CFLAGS@
- +LCMS2_LIBS = @LCMS2_LIBS@
- +LDD = @LDD@
- +LDFLAGS = @LDFLAGS@
- +LIBFFI_CFLAGS = @LIBFFI_CFLAGS@
- +LIBFFI_LIBS = @LIBFFI_LIBS@
- +LIBOBJS = @LIBOBJS@
- +LIBPULSE_CFLAGS = @LIBPULSE_CFLAGS@
- +LIBPULSE_LIBS = @LIBPULSE_LIBS@
- +LIBS = @LIBS@
- +LINUX32 = @LINUX32@
- +LLVM_CFLAGS = @LLVM_CFLAGS@
- +LLVM_CONFIG = @LLVM_CONFIG@
- +LLVM_LDFLAGS = @LLVM_LDFLAGS@
- +LLVM_LIBS = @LLVM_LIBS@
- +LSB_RELEASE = @LSB_RELEASE@
- +LTLIBOBJS = @LTLIBOBJS@
- +MAKE = @MAKE@
- +MAKEINFO = @MAKEINFO@
- +MKDIR_P = @MKDIR_P@
- +NATIVE2ASCII = @NATIVE2ASCII@
- +NSS_CFLAGS = @NSS_CFLAGS@
- +NSS_LIBDIR = @NSS_LIBDIR@
- +NSS_LIBS = @NSS_LIBS@
- +OBJEXT = @OBJEXT@
- +OPENJDK_BUILD_DIR = @OPENJDK_BUILD_DIR@
- +OPENJDK_SRC_DIR = @OPENJDK_SRC_DIR@
- +OS_PATH = @OS_PATH@
- +PACKAGE = @PACKAGE@
- +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
- +PACKAGE_NAME = @PACKAGE_NAME@
- +PACKAGE_STRING = @PACKAGE_STRING@
- +PACKAGE_TARNAME = @PACKAGE_TARNAME@
- +PACKAGE_URL = @PACKAGE_URL@
- +PACKAGE_VERSION = @PACKAGE_VERSION@
- +PARALLEL_JOBS = @PARALLEL_JOBS@
- +PATCH = @PATCH@
- +PATH_SEPARATOR = @PATH_SEPARATOR@
- +PAX_COMMAND = @PAX_COMMAND@
- +PAX_COMMAND_ARGS = @PAX_COMMAND_ARGS@
- +PKGVERSION = @PKGVERSION@
- +PKG_CONFIG = @PKG_CONFIG@
- +PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
- +PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
- +PNG_CFLAGS = @PNG_CFLAGS@
- +PNG_LIBS = @PNG_LIBS@
- +PROJECT_NAME = @PROJECT_NAME@
- +RHINO_JAR = @RHINO_JAR@
- +RMIC = @RMIC@
- +SET_MAKE = @SET_MAKE@
- +SHA256SUM = @SHA256SUM@
- +SHELL = @SHELL@
- +STRIP = @STRIP@
- +SYSTEM_JDK_DIR = @SYSTEM_JDK_DIR@
- +TAR = @TAR@
- +TZDATA_DIR = @TZDATA_DIR@
- +UNZIP = @UNZIP@
- +USING_CACAO = @USING_CACAO@
- +USING_ECJ = @USING_ECJ@
- +VERSION = @VERSION@
- +VERSION_SUFFIX = @VERSION_SUFFIX@
- +WGET = @WGET@
- +X11_CFLAGS = @X11_CFLAGS@
- +X11_LIBS = @X11_LIBS@
- +XINERAMA_CFLAGS = @XINERAMA_CFLAGS@
- +XINERAMA_LIBS = @XINERAMA_LIBS@
- +XPROTO_CFLAGS = @XPROTO_CFLAGS@
- +XPROTO_LIBS = @XPROTO_LIBS@
- +XRENDER_CFLAGS = @XRENDER_CFLAGS@
- +XRENDER_LIBS = @XRENDER_LIBS@
- +XSLTPROC = @XSLTPROC@
- +XTST_CFLAGS = @XTST_CFLAGS@
- +XTST_LIBS = @XTST_LIBS@
- +XT_CFLAGS = @XT_CFLAGS@
- +XT_LIBS = @XT_LIBS@
- +XVFB_RUN_CMD = @XVFB_RUN_CMD@
- +ZERO_ARCHDEF = @ZERO_ARCHDEF@
- +ZERO_BITSPERWORD = @ZERO_BITSPERWORD@
- +ZERO_ENDIANNESS = @ZERO_ENDIANNESS@
- +ZERO_LIBARCH = @ZERO_LIBARCH@
- +ZIP = @ZIP@
- +ZLIB_CFLAGS = @ZLIB_CFLAGS@
- +ZLIB_LIBS = @ZLIB_LIBS@
- +abs_builddir = @abs_builddir@
- +abs_srcdir = @abs_srcdir@
- +abs_top_builddir = @abs_top_builddir@
- +abs_top_srcdir = @abs_top_srcdir@
- +ac_ct_CC = @ac_ct_CC@
- +ac_ct_CXX = @ac_ct_CXX@
- +ac_ct_FASTJAR = @ac_ct_FASTJAR@
- +am__include = @am__include@
- +am__leading_dot = @am__leading_dot@
- +am__quote = @am__quote@
- +am__tar = @am__tar@
- +am__untar = @am__untar@
- +bindir = @bindir@
- +build = @build@
- +build_alias = @build_alias@
- +build_cpu = @build_cpu@
- +build_os = @build_os@
- +build_vendor = @build_vendor@
- +builddir = @builddir@
- +datadir = @datadir@
- +datarootdir = @datarootdir@
- +docdir = @docdir@
- +dvidir = @dvidir@
- +enable_downloading = @enable_downloading@
- +exec_prefix = @exec_prefix@
- +host = @host@
- +host_alias = @host_alias@
- +host_cpu = @host_cpu@
- +host_os = @host_os@
- +host_vendor = @host_vendor@
- +htmldir = @htmldir@
- +includedir = @includedir@
- +infodir = @infodir@
- +install_sh = @install_sh@
- +libdir = @libdir@
- +libexecdir = @libexecdir@
- +localedir = @localedir@
- +localstatedir = @localstatedir@
- +mandir = @mandir@
- +mkdir_p = @mkdir_p@
- +oldincludedir = @oldincludedir@
- +pdfdir = @pdfdir@
- +prefix = @prefix@
- +program_transform_name = @program_transform_name@
- +psdir = @psdir@
- +sbindir = @sbindir@
- +sharedstatedir = @sharedstatedir@
- +srcdir = @srcdir@
- +sysconfdir = @sysconfdir@
- +target_alias = @target_alias@
- +top_build_prefix = @top_build_prefix@
- +top_builddir = @top_builddir@
- +top_srcdir = @top_srcdir@
- +JDK_UPDATE_VERSION = 51
- +BUILD_VERSION = b31
- +COMBINED_VERSION = $(JDK_UPDATE_VERSION)-$(BUILD_VERSION)
- +CORBA_CHANGESET = 3594dbde270d
- +JAXP_CHANGESET = 8fe156ad49e2
- +JAXWS_CHANGESET = 32ea8b1ed91a
- +JDK_CHANGESET = 9db88c18e114
- +LANGTOOLS_CHANGESET = dabd37b7e295
- +OPENJDK_CHANGESET = 410eb7fef869
- +CORBA_SHA256SUM = d1f97e143fe94ae3a56b45bb5a90f8ab10ec2be4ff770a788f0a1ac677e27a7d
- +JAXP_SHA256SUM = 0a2a40186cedfbeb8f87b0bc86bea2830943943081d4289fc74f7a783b2e1af3
- +JAXWS_SHA256SUM = 08a169b6b02883759ec7a412aa91aa3e37480761cb50b95d092dbcdb2fc9a3d0
- +JDK_SHA256SUM = 285e5b8ccbb29f3f9f9ea9ea7856d1ed97465c57d091fbcd9b2e55a1ffbb543e
- +LANGTOOLS_SHA256SUM = 86cb370ce2084c4b699d8c002ebe6c026e86206ffa82a2f3d7906aadb94ed79f
- +OPENJDK_SHA256SUM = 2de151c7275d91ef082e63fcc0957c5f9290404ec6e20ecfa1e752e16bfab707
- +CACAO_VERSION = e215e36be9fc
- +CACAO_SHA256SUM = 4966514c72ee7ed108b882d9b6e65c3adf8a8f9c2dccb029f971b3c8cb4870ab
- +CACAO_BASE_URL = http://icedtea.classpath.org/download/drops/cacao
- +CACAO_URL = $(CACAO_BASE_URL)/$(CACAO_VERSION).tar.gz
- +CACAO_SRC_ZIP = cacao-$(CACAO_VERSION).tar.gz
- +JAMVM_VERSION = ac22c9948434e528ece451642b4ebde40953ee7e
- +JAMVM_SHA256SUM = 4662da1fe3e0e11d8fa685c7f2fc748576b9f3d3e37dc56b798dd6a5bd6b61e7
- +JAMVM_BASE_URL = http://icedtea.classpath.org/download/drops/jamvm
- +JAMVM_URL = $(JAMVM_BASE_URL)/jamvm-$(JAMVM_VERSION).tar.gz
- +JAMVM_SRC_ZIP = jamvm-$(JAMVM_VERSION).tar.gz
- +ICEDTEA_PREFIX = icedtea7-forest-2.4
- +ICEDTEA_HG_URL = http://icedtea.classpath.org/hg/release/$(ICEDTEA_PREFIX)
- +OPENJDK_HG_URL = http://hg.openjdk.java.net/jdk7/jdk7
- +CVMI_HG_URL = http://hg.openjdk.java.net/cvmi/cvmi/
- +CLOSURES_HG_URL = http://hg.openjdk.java.net/closures/closures/
- +CACIOCAVALLO_HG_URL = http://hg.openjdk.java.net/caciocavallo/jdk7/
- +BSD_HG_URL = http://hg.openjdk.java.net/bsd-port/bsd-port
- +NIO2_HG_URL = http://hg.openjdk.java.net/nio/nio/
- +OPENJDK_URL = $(ICEDTEA_HG_URL)
- +CORBA_URL = $(ICEDTEA_HG_URL)/corba
- +JAXP_URL = $(ICEDTEA_HG_URL)/jaxp
- +JAXWS_URL = $(ICEDTEA_HG_URL)/jaxws
- +JDK_URL = $(ICEDTEA_HG_URL)/jdk
- +LANGTOOLS_URL = $(ICEDTEA_HG_URL)/langtools
- +HS_SHA256SUM = "`$(AWK) 'version==$$1 {print $$4}' version=$(HSBUILD) $(abs_top_srcdir)/hotspot.map`"
- +HS_CHANGESET = "`$(AWK) 'version==$$1 {print $$3}' version=$(HSBUILD) $(abs_top_srcdir)/hotspot.map`"
- +HS_URL = "`$(AWK) 'version==$$1 {print $$2}' version=$(HSBUILD) $(abs_top_srcdir)/hotspot.map`"
- +
- +# Build directories
- +BUILD_DIR = @OPENJDK_BUILD_DIR@
- +BUILD_OUTPUT_DIR = $(abs_top_builddir)/$(BUILD_DIR)
- +DEBUG_BUILD_OUTPUT_DIR = $(BUILD_OUTPUT_DIR)-debug
- +BOOT_BUILD_OUTPUT_DIR = $(BUILD_OUTPUT_DIR)-boot
- +BOOT_DIR = $(abs_top_builddir)/bootstrap/jdk1.6.0
- +RUNTIME = $(BOOT_DIR)/jre/lib/rt.jar
- +CLS_DIR_BOOT = $(BOOT_BUILD_OUTPUT_DIR)/classes
- +SERVER_DIR = hotspot/import/jre/lib/$(INSTALL_ARCH_DIR)/server
- +BUILD_JRE_ARCH_DIR = $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)
- +BUILD_DEBUG_JRE_ARCH_DIR = $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)
- +REWRITER_BUILD_DIR = $(abs_top_builddir)/rewriter.build
- +STAGE1_BOOT_DIR = $(abs_top_builddir)/bootstrap/boot
- +STAGE2_BOOT_DIR = $(abs_top_builddir)/bootstrap/icedtea
- +JAMVM_IMPORT_PATH = $(abs_top_builddir)/jamvm/install/hotspot
- +CRYPTO_CHECK_BUILD_DIR = $(abs_top_builddir)/cryptocheck.build
- +STAGE1_BOOT_RUNTIME = $(STAGE1_BOOT_DIR)/jre/lib/rt.jar
- +STAGE2_BOOT_RUNTIME = $(STAGE2_BOOT_DIR)/jre/lib/rt.jar
- +
- +# Source directories
- +SHARE = openjdk-boot/jdk/src/share/classes
- +SOLARIS = openjdk-boot/jdk/src/solaris/classes
- +LANGTOOLS = openjdk-boot/langtools/src/share/classes
- +CORBA = openjdk-boot/corba/src/share/classes
- +JAXWS = openjdk-boot/jaxws/src/share/jaxws_classes:openjdk-boot/jaxws/src/share/jaf_classes
- +PULSE_JAVA_DIR = $(abs_top_srcdir)/pulseaudio
- +PULSE_JAVA_NATIVE_SRCDIR = $(PULSE_JAVA_DIR)/src/native
- +PULSE_JAVA_NATIVE_SRCS = $(wildcard $(PULSE_JAVA_NATIVE_SRCDIR)/*.c)
- +PULSE_JAVA_BUILDDIR = $(abs_top_builddir)/pulseaudio.build
- +PULSE_JAVA_NATIVE_BUILDDIR = $(PULSE_JAVA_BUILDDIR)/native
- +PULSE_JAVA_NATIVE_OBJECTS = \
- + $(subst $(PULSE_JAVA_NATIVE_SRCDIR),$(PULSE_JAVA_NATIVE_BUILDDIR),$(patsubst %.c,%.o,$(PULSE_JAVA_NATIVE_SRCS)))
- +
- +PULSE_JAVA_JAVA_SRCDIR = $(PULSE_JAVA_DIR)/src/java
- +PULSE_JAVA_CLASS_DIR = $(PULSE_JAVA_BUILDDIR)/classes
- +OPENJDK_SOURCEPATH_DIRS = \
- + $(SHARE):$(SOLARIS):$(LANGTOOLS):$(CORBA):$(JAXWS)
- +
- +SOURCEPATH_DIRS = $(abs_top_srcdir)/generated:$(OPENJDK_SOURCEPATH_DIRS)
- +
- +# Sources used from OpenJDK.
- +ICEDTEA_BOOTSTRAP_CLASSES = $(am__append_1) $(am__append_2) \
- + $(am__append_3) $(am__append_4) $(am__append_5) \
- + $(am__append_6) $(am__append_7)
- +@NO_BYTECODE7_FALSE@IT_LANGUAGE_SOURCE_VERSION = 7
- +
- +# Settings for javac
- +@NO_BYTECODE7_TRUE@IT_LANGUAGE_SOURCE_VERSION = 6
- +@NO_BYTECODE7_FALSE@IT_CLASS_TARGET_VERSION = 7
- +@NO_BYTECODE7_TRUE@IT_CLASS_TARGET_VERSION = 6
- +IT_JAVAC_SETTINGS = -g -encoding utf-8 $(JAVACFLAGS) $(MEMORY_LIMIT) $(PREFER_SOURCE)
- +IT_JAVACFLAGS = $(IT_JAVAC_SETTINGS) -source $(IT_LANGUAGE_SOURCE_VERSION) -target $(IT_CLASS_TARGET_VERSION)
- +
- +# Flags
- +IT_CFLAGS = $(CFLAGS) $(ARCHFLAG)
- +@USE_HG_FALSE@OPENJDK_SRC_ZIP = openjdk.tar.gz
- +
- +# Conditional defintions
- +@USE_HG_TRUE@OPENJDK_SRC_ZIP =
- +@USE_HG_FALSE@CORBA_SRC_ZIP = corba.tar.gz
- +@USE_HG_TRUE@CORBA_SRC_ZIP =
- +@USE_HG_FALSE@JAXP_SRC_ZIP = jaxp.tar.gz
- +@USE_HG_TRUE@JAXP_SRC_ZIP =
- +@USE_HG_FALSE@JAXWS_SRC_ZIP = jaxws.tar.gz
- +@USE_HG_TRUE@JAXWS_SRC_ZIP =
- +@USE_HG_FALSE@JDK_SRC_ZIP = jdk.tar.gz
- +@USE_HG_TRUE@JDK_SRC_ZIP =
- +@USE_HG_FALSE@LANGTOOLS_SRC_ZIP = langtools.tar.gz
- +@USE_HG_TRUE@LANGTOOLS_SRC_ZIP =
- +@USE_HG_FALSE@HOTSPOT_SRC_ZIP = hotspot.tar.gz
- +@USE_HG_TRUE@HOTSPOT_SRC_ZIP =
- +@ENABLE_PULSE_JAVA_TRUE@PULSE_JAVA_TARGET = stamps/pulse-java.stamp
- +@BOOTSTRAPPING_FALSE@MEMORY_LIMIT = -J-Xmx1024m
- +
- +# This should not depend on bootstrapping
- +# but on whether MEMORY_LIMIT is accepted
- +# as an argument to javac
- +@BOOTSTRAPPING_TRUE@MEMORY_LIMIT =
- +@BOOTSTRAPPING_FALSE@PREFER_SOURCE = -Xprefer:source
- +@BOOTSTRAPPING_TRUE@PREFER_SOURCE =
- +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_TRUE@ICEDTEA_BUILD_TARGET = jdk_only
- +@ENABLE_CACAO_TRUE@ICEDTEA_BUILD_TARGET = jdk_only
- +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_FALSE@ICEDTEA_DEBUG_BUILD_TARGET = debug_build
- +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_TRUE@ICEDTEA_DEBUG_BUILD_TARGET = jdk_fastdebug_only
- +@ENABLE_CACAO_TRUE@ICEDTEA_DEBUG_BUILD_TARGET = jdk_fastdebug_only
- +@BOOTSTRAPPING_FALSE@BOOTSTRAP_DIRECTORY_STAMP =
- +@BOOTSTRAPPING_TRUE@BOOTSTRAP_DIRECTORY_STAMP = stamps/bootstrap-directory-stage2.stamp
- +@BOOTSTRAPPING_FALSE@ICEDTEA_HOME = $(SYSTEM_JDK_DIR)
- +@BOOTSTRAPPING_TRUE@ICEDTEA_HOME = $(STAGE2_BOOT_DIR)
- +@BOOTSTRAPPING_FALSE@INITIAL_BOOTSTRAP_LINK_STAMP = stamps/bootstrap-directory-symlink-stage2.stamp
- +@BOOTSTRAPPING_TRUE@INITIAL_BOOTSTRAP_LINK_STAMP = stamps/bootstrap-directory-symlink-stage1.stamp
- +@CP_SUPPORTS_REFLINK_TRUE@REFLINK = --reflink=auto
- +@OPENJDK_SRC_DIR_HARDLINKABLE_FALSE@OPENJDK_SRC_DIR_LINK = $(REFLINK)
- +@OPENJDK_SRC_DIR_HARDLINKABLE_TRUE@OPENJDK_SRC_DIR_LINK = -l
- +@SRC_DIR_HARDLINKABLE_FALSE@SRC_DIR_LINK = $(REFLINK)
- +@SRC_DIR_HARDLINKABLE_TRUE@SRC_DIR_LINK = -l
- +@DISABLE_HOTSPOT_TESTS_FALSE@HOTSPOT_TEST_SUITE = hotspot
- +@DISABLE_JDK_TESTS_FALSE@JDK_TEST_SUITE = jdk
- +@DISABLE_LANGTOOLS_TESTS_FALSE@LANGTOOLS_TEST_SUITE = langtools
- +@DISABLE_TESTS_FALSE@TEST_SUITES = $(HOTSPOT_TEST_SUITE) $(JDK_TEST_SUITE) $(LANGTOOLS_TEST_SUITE)
- +@DISABLE_TESTS_FALSE@TESTS_TO_RUN = jtreg $(addprefix check-,$(TEST_SUITES))
- +
- +# Target to ensure a patched OpenJDK tree containing Zero & Shark
- +# and any overlays is available in $(abs_top_builddir)/openjdk
- +OPENJDK_TREE = stamps/overlay.stamp stamps/add-nss.stamp
- +
- +# Target to ensure a patched OpenJDK bootstrap tree containing
- +# Zero & Shark, any other overlays and the bootstrapping patches
- +# is available in $(abs_top_builddir)/openjdk-boot
- +OPENJDK_BOOT_TREE = stamps/patch-boot.stamp
- +
- +# Sources list
- +REWRITER_SRCS = $(top_srcdir)/rewriter/com/redhat/rewriter/ClassRewriter.java
- +CRYPTO_CHECK_SRCS = $(top_srcdir)/TestCryptoLevel.java
- +
- +# Patch list
- +ICEDTEA_PATCHES = $(am__append_8) $(am__append_9) $(am__append_10) \
- + $(am__append_11) $(am__append_12) $(am__append_13) \
- + $(am__append_14) $(am__append_15) $(DISTRIBUTION_PATCHES)
- +
- +# Bootstrapping patches
- +ICEDTEA_BOOT_PATCHES = patches/boot/javafiles.patch \
- + patches/boot/ant-javac.patch patches/boot/corba-idlj.patch \
- + patches/boot/corba-no-gen.patch patches/boot/corba-orb.patch \
- + patches/boot/demos.patch patches/boot/fphexconstants.patch \
- + patches/boot/fontconfig.patch \
- + patches/boot/generated-comments.patch \
- + patches/boot/icedteart.patch patches/boot/jar.patch \
- + patches/boot/symbols.patch patches/boot/tobin.patch \
- + patches/boot/tools.jar.patch patches/boot/jopt.patch \
- + patches/boot/jaxp-dependency.patch \
- + patches/boot/genstubs-nofork.patch \
- + patches/boot/getannotation-cast.patch \
- + patches/boot/break-processbuilder-dependency.patch \
- + patches/boot/revert-6973616.patch \
- + patches/boot/revert-6941137.patch \
- + patches/boot/ecj-stringswitch.patch \
- + patches/boot/langtools-force-old-jdk.patch \
- + patches/boot/corba-dependencies.patch \
- + patches/boot/jaxws-langtools-dependency.patch \
- + patches/boot/jaxws-jdk-dependency.patch \
- + patches/boot/hotspot/${HSBUILD}/jdk-dependency.patch \
- + patches/boot/ecj-multicatch.patch \
- + patches/boot/ecj-trywithresources.patch \
- + patches/boot/ecj-autoboxing.patch patches/boot/xsltproc.patch \
- + patches/boot/ecj-odd.patch $(am__append_16) $(am__append_17) \
- + $(am__append_18) $(am__append_19) $(am__append_20) \
- + $(am__append_21) $(am__append_22) $(am__append_23) \
- + $(am__append_24) $(am__append_25) $(am__append_26) \
- + $(am__append_27) $(am__append_28) $(am__append_29) \
- + $(am__append_30) $(am__append_31) $(DISTRIBUTION_BOOT_PATCHES)
- +
- +# Patches for when java.util.Scanner is missing
- +# or has the bug #40630 (all these classes rely
- +# on Scanner#hasNextLine() looping behaviour)
- +SCANNER_PATCHES = patches/boot/scanner-spp.patch \
- + patches/boot/scanner-sbcs.patch \
- + patches/boot/scanner-dbcs.patch \
- + patches/boot/scanner-charsets.patch
- +
- +
- +# OpenJDK build environment.
- +@ZERO_BUILD_TRUE@ICEDTEA_ZERO_BUILD = true
- +@SHARK_BUILD_TRUE@ICEDTEA_SHARK_BUILD = true
- +ICEDTEA_NAME = IcedTea
- +@HAS_ICEDTEA_REVISION_TRUE@ICEDTEA_REV = +${ICEDTEA_REVISION}
- +@HAS_PKGVERSION_TRUE@ICEDTEA_PKG = $(EMPTY) (${PKGVERSION})
- +@ENABLE_WERROR_FALSE@WERROR_STATUS = false
- +@ENABLE_WERROR_TRUE@WERROR_STATUS = true
- +ICEDTEA_ENV = ALT_JDK_IMPORT_PATH="$(BOOT_DIR)" ANT="$(ANT)" \
- + BUILD_NUMBER="$(BUILD_VERSION)" \
- + JDK_UPDATE_VERSION="$(JDK_UPDATE_VERSION)" \
- + JRE_RELEASE_VERSION="1.7.0_$(COMBINED_VERSION)" \
- + MILESTONE="fcs" LANG="C" \
- + PATH="$(BOOT_DIR)/bin:$(OS_PATH):$$PATH" \
- + ALT_BOOTDIR="$(BOOT_DIR)" BUILD_ARCH_DIR="$(BUILD_ARCH_DIR)" \
- + ICEDTEA_RT="$(RUNTIME)" CLASSPATH="" LD_LIBRARY_PATH="" \
- + ZERO_BUILD="$(ICEDTEA_ZERO_BUILD)" \
- + SHARK_BUILD="$(ICEDTEA_SHARK_BUILD)" \
- + ZERO_LIBARCH="$(ZERO_LIBARCH)" \
- + ARCH_DATA_MODEL="$(ZERO_BITSPERWORD)" \
- + ZERO_ENDIANNESS="$(ZERO_ENDIANNESS)" \
- + ZERO_ARCHDEF="$(ZERO_ARCHDEF)" ZERO_ARCHFLAG="$(ARCHFLAG)" \
- + LIBFFI_CFLAGS="$(LIBFFI_CFLAGS)" LIBFFI_LIBS="$(LIBFFI_LIBS)" \
- + LLVM_CFLAGS="$(LLVM_CFLAGS)" LLVM_LDFLAGS="$(LLVM_LDFLAGS)" \
- + LLVM_LIBS="$(LLVM_LIBS)" FT2_CFLAGS="$(FREETYPE2_CFLAGS)" \
- + FT2_LIBS="$(FREETYPE2_LIBS)" \
- + ALT_PARALLEL_COMPILE_JOBS="$(PARALLEL_JOBS)" \
- + HOTSPOT_BUILD_JOBS="$(PARALLEL_JOBS)" JAVAC="" JAVA_HOME="" \
- + JDK_HOME="" QUIETLY="" ANT_RESPECT_JAVA_HOME="TRUE" \
- + DISTRIBUTION_ID="$(DIST_ID)" DERIVATIVE_ID="$(ICEDTEA_NAME) \
- + $(PACKAGE_VERSION)$(ICEDTEA_REV)" \
- + ALT_JIBX_LIBS_PATH="$(JIBX_DEPS_DIR)" DEBUG_CLASSFILES="true" \
- + DEBUG_BINARIES="true" DISABLE_INTREE_EC="true" \
- + ALT_OUTPUTDIR="$(BUILD_OUTPUT_DIR)" VERBOSE="$(VERBOSE)" \
- + STATIC_CXX="false" BUILD_GCC="$(CC)" BUILD_CXX="$(CXX)" \
- + USE_SYSTEM_CUPS="true" CUPS_LIBS="${CUPS_LIBS}" \
- + CUPS_CFLAGS="${CUPS_CFLAGS}" STRIP_POLICY=no_strip \
- + JAVAC_WARNINGS_FATAL="$(WERROR_STATUS)" \
- + COMPILER_WARNINGS_FATAL="$(WERROR_STATUS)" \
- + UNLIMITED_CRYPTO="true" $(am__append_32) $(am__append_33) \
- + $(am__append_34) $(am__append_35) $(am__append_36) \
- + $(am__append_37) $(am__append_38) $(am__append_39) \
- + $(am__append_40) $(am__append_41) $(am__append_42) \
- + $(am__append_43) $(am__append_44) $(am__append_45) \
- + $(am__append_46) $(am__append_47) $(am__append_48) \
- + $(am__append_49)
- +
- +# OpenJDK boot build environment.
- +ICEDTEA_ENV_BOOT = $(ICEDTEA_ENV) \
- + BOOTCLASSPATH_CLS_RT="-bootclasspath $(CLS_DIR_BOOT):$(RUNTIME)" \
- + BOOTCLASSPATH_CLS="-bootclasspath $(CLS_DIR_BOOT)" \
- + BOOTCLASSPATH_RT_LIBGCJ="-bootclasspath $(RUNTIME)" \
- + GENSRCDIR="$(abs_top_builddir)/generated.build" \
- + JAR_KNOWS_ATFILE="$(JAR_KNOWS_ATFILE)" \
- + JAR_KNOWS_J_OPTIONS="$(JAR_KNOWS_J_OPTIONS)" \
- + JAR_ACCEPTS_STDIN_LIST="$(JAR_ACCEPTS_STDIN_LIST)" \
- + DISABLE_NIMBUS="true" \
- + NO_DOCS="true" \
- + ALT_OUTPUTDIR="$(BOOT_BUILD_OUTPUT_DIR)" \
- + XSLT="$(XSLTPROC)"
- +
- +
- +# Source files
- +GENERATED_FILES = $(top_srcdir)/generated/com/sun/java/swing/plaf/gtk/resources/gtk*.java \
- + $(top_srcdir)/generated/com/sun/java/swing/plaf/motif/resources/motif*.java \
- + $(top_srcdir)/generated/com/sun/java/swing/plaf/windows/resources/windows*.java \
- + $(top_srcdir)/generated/com/sun/corba/se/spi/activation/*.java \
- + $(top_srcdir)/generated/com/sun/corba/se/spi/activation/LocatorPackage/*.java \
- + $(top_srcdir)/generated/com/sun/corba/se/spi/activation/InitialNameServicePackage/*.java \
- + $(top_srcdir)/generated/com/sun/corba/se/spi/activation/RepositoryPackage/*.java \
- + $(top_srcdir)/generated/com/sun/corba/se/impl/logging/*.resource \
- + $(top_srcdir)/generated/com/sun/corba/se/impl/logging/*.java \
- + $(top_srcdir)/generated/com/sun/corba/se/impl/logging/*.properties \
- + $(top_srcdir)/generated/com/sun/corba/se/PortableActivationIDL/*.java \
- + $(top_srcdir)/generated/com/sun/corba/se/PortableActivationIDL/LocatorPackage/*.java \
- + $(top_srcdir)/generated/com/sun/corba/se/PortableActivationIDL/InitialNameServicePackage/*.java \
- + $(top_srcdir)/generated/com/sun/corba/se/PortableActivationIDL/RepositoryPackage/*.java \
- + $(top_srcdir)/generated/com/sun/swing/internal/plaf/basic/resources/basic*.java \
- + $(top_srcdir)/generated/com/sun/swing/internal/plaf/metal/resources/metal*.java \
- + $(top_srcdir)/generated/com/sun/swing/internal/plaf/synth/resources/synth*.java \
- + $(top_srcdir)/generated/com/sun/tools/apt/resources/apt*.java \
- + $(top_srcdir)/generated/com/sun/tools/jdi/*.java \
- + $(top_srcdir)/generated/com/sun/tools/jdi/resources/jdi*.java \
- + $(top_srcdir)/generated/com/sun/tools/javac/resources/*.java \
- + $(top_srcdir)/generated/com/sun/tools/doclets/formats/html/resources/standard*.java \
- + $(top_srcdir)/generated/com/sun/tools/doclets/internal/toolkit/resources/doclets*.java \
- + $(top_srcdir)/generated/com/sun/tools/javadoc/resources/javadoc*.java \
- + $(top_srcdir)/generated/com/sun/accessibility/internal/resources/accessibility*.java \
- + $(top_srcdir)/generated/org/omg/IOP/*.java \
- + $(top_srcdir)/generated/org/omg/IOP/CodecPackage/*.java \
- + $(top_srcdir)/generated/org/omg/IOP/CodecFactoryPackage/*.java \
- + $(top_srcdir)/generated/org/omg/CORBA/*.java \
- + $(top_srcdir)/generated/org/omg/PortableInterceptor/*.java \
- + $(top_srcdir)/generated/org/omg/PortableInterceptor/ORBInitInfoPackage/*.java \
- + $(top_srcdir)/generated/org/omg/CosNaming/*.java \
- + $(top_srcdir)/generated/org/omg/CosNaming/NamingContextPackage/*.java \
- + $(top_srcdir)/generated/org/omg/CosNaming/NamingContextExtPackage/*.java \
- + $(top_srcdir)/generated/org/omg/Messaging/*.java \
- + $(top_srcdir)/generated/org/omg/Dynamic/*.java \
- + $(top_srcdir)/generated/org/omg/DynamicAny/*.java \
- + $(top_srcdir)/generated/org/omg/DynamicAny/DynAnyPackage/*.java \
- + $(top_srcdir)/generated/org/omg/DynamicAny/DynAnyFactoryPackage/*.java \
- + $(top_srcdir)/generated/org/omg/PortableServer/*.java \
- + $(top_srcdir)/generated/org/omg/PortableServer/CurrentPackage/*.java \
- + $(top_srcdir)/generated/org/omg/PortableServer/POAManagerPackage/*.java \
- + $(top_srcdir)/generated/org/omg/PortableServer/POAPackage/*.java \
- + $(top_srcdir)/generated/sun/awt/X11/*.java \
- + $(top_srcdir)/generated/sun/awt/resources/awt*.java \
- + $(top_srcdir)/generated/sun/nio/ch/*.java \
- + $(top_srcdir)/generated/sun/nio/cs/*.java \
- + $(top_srcdir)/generated/sun/nio/cs/ext/*.java \
- + $(top_srcdir)/generated/sun/nio/fs/*.java \
- + $(top_srcdir)/generated/sun/misc/*.java \
- + $(top_srcdir)/generated/sun/util/*.java \
- + $(top_srcdir)/generated/sun/util/logging/resources/logging*.java \
- + $(top_srcdir)/generated/sun/util/resources/*.java \
- + $(top_srcdir)/generated/sun/print/resources/serviceui*.java \
- + $(top_srcdir)/generated/sun/tools/jar/resources/jar*.java \
- + $(top_srcdir)/generated/sun/management/resources/agent*.java \
- + $(top_srcdir)/generated/java/nio/*.java \
- + $(top_srcdir)/generated/java/nio/channels/*.java \
- + $(top_srcdir)/generated/java/lang/*.java \
- + $(top_srcdir)/generated/java/util/*.java \
- + $(top_srcdir)/generated/javax/management/remote/rmi/*.java \
- + $(top_srcdir)/generated/fontconfig/fontconfig*.bfc
- +
- +JTREG_SRCS = $(top_srcdir)/test/jtreg/com/sun/javatest/cof/i18n.properties \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/cof/COF2_0_2.xsd \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/cof/*.java \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/lib/*.java \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/diff/*.java \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/diff/i18n.properties \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/exec/*.java \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/exec/i18n.properties \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/exec/images/*.gif \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/mrep/i18n.properties \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/mrep/*.java \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/mrep/images/dotdotdot.gif \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/mrep/images/Forward16.gif \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/mrep/images/Back16.gif \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/mrep/images/Home16.gif \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/tool/*.java \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/tool/i18n.properties \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/tool/images/*.gif \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/tool/package.html \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/util/*.java \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/util/i18n.properties \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/util/package.html \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/*.java \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/i18n.properties \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/regtest/*.java \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/regtest/i18n.properties \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/agent/*.java \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/agent/i18n.properties \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/agent/jticon.gif \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/agent/package.html \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/batch/i18n.properties \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/batch/*.java \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/batch/package.html \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/audit/i18n.properties \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/audit/*.java \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/audit/images/dotdotdot.gif \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/audit/package.html \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/httpd/*.java \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/httpd/i18n.properties \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/stylesheet.css \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/logging/i18n.properties \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/logging/*.java \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/finder/i18n.properties \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/finder/*.java \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/finder/package.html \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/report/i18n.properties \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/report/package.html \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/report/*.java \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/interview/i18n.properties \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/interview/*.java \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/interview/package.html \
- + $(top_srcdir)/test/jtreg/com/sun/javatest/package.html \
- + $(top_srcdir)/test/jtreg/com/sun/interview/i18n.properties \
- + $(top_srcdir)/test/jtreg/com/sun/interview/*.java \
- + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/*.java \
- + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/i18n.properties \
- + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/done.gif \
- + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/blank.gif \
- + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/history.gif \
- + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/find.gif \
- + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/check.gif \
- + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/arrow.gif \
- + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/back.gif \
- + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/next.gif \
- + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/info.gif \
- + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/package.html \
- + $(top_srcdir)/test/jtreg/com/sun/interview/wizard/cancel.gif \
- + $(top_srcdir)/test/jtreg/com/sun/interview/package.html \
- + $(top_srcdir)/test/jtreg/JavaTest.toolMgrs.lst \
- + $(top_srcdir)/test/jtreg/legal/license.txt \
- + $(top_srcdir)/test/jtreg/legal/copyright.txt \
- + $(top_srcdir)/test/jtreg/README \
- + $(top_srcdir)/test/jtreg/META-INF/MANIFEST.MF \
- + $(top_srcdir)/test/jtreg/excludelist.jdk.jtx \
- + $(top_srcdir)/test/jtreg/excludelist.jdk.cacao.jtx \
- + $(top_srcdir)/test/jtreg/JavaTest.cmdMgrs.lst \
- + $(top_srcdir)/test/jtreg/excludelist.langtools.jtx
- +
- +PULSEAUDIO_SRCS = $(top_srcdir)/pulseaudio/src/java/org/classpath/icedtea/pulseaudio/*.java \
- + $(top_srcdir)/pulseaudio/src/java/META-INF/services/javax.sound.sampled.spi.MixerProvider \
- + $(top_srcdir)/pulseaudio/src/native/*.h \
- + $(top_srcdir)/pulseaudio/src/native/*.c \
- + $(top_srcdir)/pulseaudio/TODO \
- + $(top_srcdir)/pulseaudio/README \
- + $(top_srcdir)/pulseaudio/testsounds/README \
- + $(top_srcdir)/pulseaudio/testsounds/startup.wav \
- + $(top_srcdir)/pulseaudio/testsounds/logout.wav \
- + $(top_srcdir)/pulseaudio/testsounds/error.wav \
- + $(top_srcdir)/pulseaudio/unittests/org/classpath/icedtea/pulseaudio/*.java \
- + $(top_srcdir)/pulseaudio/COPYING
- +
- +EXTRA_DIST = $(GENERATED_FILES) $(top_srcdir)/patches/*.patch \
- + $(top_srcdir)/patches/boot/*.patch \
- + $(top_srcdir)/patches/cacao/*.patch \
- + $(top_srcdir)/patches/boot/hotspot/*/*.patch \
- + tools-copy contrib overlays \
- + javaws.png javaws.desktop \
- + jconsole.desktop policytool.desktop \
- + $(JTREG_SRCS) \
- + HACKING $(PULSEAUDIO_SRCS) fsg.sh \
- + hotspot.map autogen.sh \
- + tapset/hotspot.stp.in \
- + tapset/hotspot_jni.stp.in \
- + tapset/jstack.stp.in \
- + tapset/hotspot_gc.stp.in \
- + scripts/jni_create_stap.c \
- + scripts/jni_desc \
- + rewriter/agpl-3.0.txt \
- + $(REWRITER_SRCS) \
- + test/tapset \
- + $(CRYPTO_CHECK_SRCS)
- +
- +ADD_ZERO_CONFIGURE_ARGS = \
- + --with-jdk-home=$(BUILD_OUTPUT_DIR)/j2sdk-image \
- + --disable-bootstrap --enable-zero $(am__append_50) \
- + --disable-docs $(filter-out '--with-jdk-home=% '--with-ecj=% \
- + '--with-java=% '--with-javah=% '--with-javac=% '--with-javac=% \
- + '--with-rmic=% '--with-additional-vms=% '--disable-bootstrap% \
- + '--enable-bootstrap% , $(CONFIGURE_ARGS)) $(foreach i, openjdk \
- + hotspot corba jaxp jaxws jdk langtools, $(if $(findstring \
- + --with-$(i)-src-zip=, $(CONFIGURE_ARGS)),, \
- + --with-$(i)-src-zip=$(abs_top_builddir)/$(i).tar.gz))
- +ADD_ZERO_EXTRA_BUILD_ENV = \
- + BUILD_LANGTOOLS=false ALT_LANGTOOLS_DIST=$(BUILD_OUTPUT_DIR)/langtools/dist \
- + BUILD_JAXP=false ALT_JAXP_DIST=$(BUILD_OUTPUT_DIR)/jaxp/dist \
- + BUILD_JAXWS=false ALT_JAXWS_DIST=$(BUILD_OUTPUT_DIR)/jaxws/dist \
- + BUILD_CORBA=false ALT_CORBA_DIST=$(BUILD_OUTPUT_DIR)/corba/dist \
- + BUILD_JDK=false \
- + DISTRIBUTION_PATCHES='$(foreach p,$(DISTRIBUTION_PATCHES),$(if $(findstring cacao,$(p)),,$(if $(findstring jamvm,$(p)),,$(p))))'
- +
- +
- +# FIXME: this might need some adjustment for other OS than Linux
- +jtreg_processes = ps x -ww -o pid,ppid,args \
- + | awk '$$2 == 1 && $$3 ~ /^$(subst /,\/,/scratch)/' \
- + | sed 's,$(CURDIR)/$(sdkimg),<sdkimg>,g;s,$(CURDIR),<pwd>,g'
- +
- +jtreg_pids = ps x --no-headers -ww -o pid,ppid,args \
- + | awk '$$2 == 1 && $$3 ~ /^$(subst /,\/,$(CURDIR)/$(sdkimg))/ {print $$1}'
- +
- +all: all-am
- +
- +.SUFFIXES:
- +am--refresh: Makefile
- + @:
- +$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
- + @for dep in $?; do \
- + case '$(am__configure_deps)' in \
- + *$$dep*) \
- + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \
- + $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \
- + && exit 0; \
- + exit 1;; \
- + esac; \
- + done; \
- + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \
- + $(am__cd) $(top_srcdir) && \
- + $(AUTOMAKE) --foreign Makefile
- +.PRECIOUS: Makefile
- +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
- + @case '$?' in \
- + *config.status*) \
- + echo ' $(SHELL) ./config.status'; \
- + $(SHELL) ./config.status;; \
- + *) \
- + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
- + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
- + esac;
- +
- +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
- + $(SHELL) ./config.status --recheck
- +
- +$(top_srcdir)/configure: $(am__configure_deps)
- + $(am__cd) $(srcdir) && $(AUTOCONF)
- +$(ACLOCAL_M4): $(am__aclocal_m4_deps)
- + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
- +$(am__aclocal_m4_deps):
- +nss.cfg: $(top_builddir)/config.status $(srcdir)/nss.cfg.in
- + cd $(top_builddir) && $(SHELL) ./config.status $@
- +javac: $(top_builddir)/config.status $(srcdir)/javac.in
- + cd $(top_builddir) && $(SHELL) ./config.status $@
- +javap: $(top_builddir)/config.status $(srcdir)/javap.in
- + cd $(top_builddir) && $(SHELL) ./config.status $@
- +javah: $(top_builddir)/config.status $(srcdir)/javah.in
- + cd $(top_builddir) && $(SHELL) ./config.status $@
- +tz.properties: $(top_builddir)/config.status $(srcdir)/tz.properties.in
- + cd $(top_builddir) && $(SHELL) ./config.status $@
- +pax-mark-vm: $(top_builddir)/config.status $(srcdir)/pax-mark-vm.in
- + cd $(top_builddir) && $(SHELL) ./config.status $@
- +remove-intree-libraries.sh: $(top_builddir)/config.status $(srcdir)/remove-intree-libraries.sh.in
- + cd $(top_builddir) && $(SHELL) ./config.status $@
- +tapset/hotspot.stp: $(top_builddir)/config.status $(top_srcdir)/tapset/hotspot.stp.in
- + cd $(top_builddir) && $(SHELL) ./config.status $@
- +tapset/hotspot_jni.stp: $(top_builddir)/config.status $(top_srcdir)/tapset/hotspot_jni.stp.in
- + cd $(top_builddir) && $(SHELL) ./config.status $@
- +tapset/jstack.stp: $(top_builddir)/config.status $(top_srcdir)/tapset/jstack.stp.in
- + cd $(top_builddir) && $(SHELL) ./config.status $@
- +tapset/hotspot_gc.stp: $(top_builddir)/config.status $(top_srcdir)/tapset/hotspot_gc.stp.in
- + cd $(top_builddir) && $(SHELL) ./config.status $@
- +tags TAGS:
- +
- +ctags CTAGS:
- +
- +cscope cscopelist:
- +
- +
- +distdir: $(DISTFILES)
- + $(am__remove_distdir)
- + test -d "$(distdir)" || mkdir "$(distdir)"
- + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
- + list='$(DISTFILES)'; \
- + dist_files=`for file in $$list; do echo $$file; done | \
- + sed -e "s|^$$srcdirstrip/||;t" \
- + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
- + case $$dist_files in \
- + */*) $(MKDIR_P) `echo "$$dist_files" | \
- + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
- + sort -u` ;; \
- + esac; \
- + for file in $$dist_files; do \
- + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
- + if test -d $$d/$$file; then \
- + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
- + if test -d "$(distdir)/$$file"; then \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- + fi; \
- + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
- + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
- + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
- + fi; \
- + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
- + else \
- + test -f "$(distdir)/$$file" \
- + || cp -p $$d/$$file "$(distdir)/$$file" \
- + || exit 1; \
- + fi; \
- + done
- + -test -n "$(am__skip_mode_fix)" \
- + || find "$(distdir)" -type d ! -perm -755 \
- + -exec chmod u+rwx,go+rx {} \; -o \
- + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
- + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
- + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
- + || chmod -R a+r "$(distdir)"
- +dist-gzip: distdir
- + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
- + $(am__post_remove_distdir)
- +
- +dist-bzip2: distdir
- + tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
- + $(am__post_remove_distdir)
- +
- +dist-lzip: distdir
- + tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
- + $(am__post_remove_distdir)
- +
- +dist-xz: distdir
- + tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
- + $(am__post_remove_distdir)
- +
- +dist-tarZ: distdir
- + @echo WARNING: "Support for shar distribution archives is" \
- + "deprecated." >&2
- + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
- + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
- + $(am__post_remove_distdir)
- +
- +dist-shar: distdir
- + @echo WARNING: "Support for distribution archives compressed with" \
- + "legacy program 'compress' is deprecated." >&2
- + @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
- + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
- + $(am__post_remove_distdir)
- +
- +dist-zip: distdir
- + -rm -f $(distdir).zip
- + zip -rq $(distdir).zip $(distdir)
- + $(am__post_remove_distdir)
- +
- +dist dist-all:
- + $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:'
- + $(am__post_remove_distdir)
- +
- +# This target untars the dist file and tries a VPATH configuration. Then
- +# it guarantees that the distribution is self-contained by making another
- +# tarfile.
- +distcheck: dist
- + case '$(DIST_ARCHIVES)' in \
- + *.tar.gz*) \
- + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
- + *.tar.bz2*) \
- + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
- + *.tar.lz*) \
- + lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
- + *.tar.xz*) \
- + xz -dc $(distdir).tar.xz | $(am__untar) ;;\
- + *.tar.Z*) \
- + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
- + *.shar.gz*) \
- + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
- + *.zip*) \
- + unzip $(distdir).zip ;;\
- + esac
- + chmod -R a-w $(distdir)
- + chmod u+w $(distdir)
- + mkdir $(distdir)/_build $(distdir)/_inst
- + chmod a-w $(distdir)
- + test -d $(distdir)/_build || exit 0; \
- + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
- + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
- + && am__cwd=`pwd` \
- + && $(am__cd) $(distdir)/_build \
- + && ../configure --srcdir=.. --prefix="$$dc_install_base" \
- + $(AM_DISTCHECK_CONFIGURE_FLAGS) \
- + $(DISTCHECK_CONFIGURE_FLAGS) \
- + && $(MAKE) $(AM_MAKEFLAGS) \
- + && $(MAKE) $(AM_MAKEFLAGS) dvi \
- + && $(MAKE) $(AM_MAKEFLAGS) check \
- + && $(MAKE) $(AM_MAKEFLAGS) install \
- + && $(MAKE) $(AM_MAKEFLAGS) installcheck \
- + && $(MAKE) $(AM_MAKEFLAGS) uninstall \
- + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
- + distuninstallcheck \
- + && chmod -R a-w "$$dc_install_base" \
- + && ({ \
- + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
- + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
- + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
- + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
- + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
- + } || { rm -rf "$$dc_destdir"; exit 1; }) \
- + && rm -rf "$$dc_destdir" \
- + && $(MAKE) $(AM_MAKEFLAGS) dist \
- + && rm -rf $(DIST_ARCHIVES) \
- + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
- + && cd "$$am__cwd" \
- + || exit 1
- + $(am__post_remove_distdir)
- + @(echo "$(distdir) archives ready for distribution: "; \
- + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
- + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
- +distuninstallcheck:
- + @test -n '$(distuninstallcheck_dir)' || { \
- + echo 'ERROR: trying to run $@ with an empty' \
- + '$$(distuninstallcheck_dir)' >&2; \
- + exit 1; \
- + }; \
- + $(am__cd) '$(distuninstallcheck_dir)' || { \
- + echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
- + exit 1; \
- + }; \
- + test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
- + || { echo "ERROR: files left after uninstall:" ; \
- + if test -n "$(DESTDIR)"; then \
- + echo " (check DESTDIR support)"; \
- + fi ; \
- + $(distuninstallcheck_listfiles) ; \
- + exit 1; } >&2
- +distcleancheck: distclean
- + @if test '$(srcdir)' = . ; then \
- + echo "ERROR: distcleancheck can only run from a VPATH build" ; \
- + exit 1 ; \
- + fi
- + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
- + || { echo "ERROR: files left in build directory after distclean:" ; \
- + $(distcleancheck_listfiles) ; \
- + exit 1; } >&2
- +check-am: all-am
- + $(MAKE) $(AM_MAKEFLAGS) check-local
- +check: check-am
- +all-am: Makefile all-local
- +installdirs:
- +install-exec: install-exec-am
- +install-data: install-data-am
- +uninstall: uninstall-am
- +
- +install-am: all-am
- + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
- +
- +installcheck: installcheck-am
- +install-strip:
- + if test -z '$(STRIP)'; then \
- + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- + install; \
- + else \
- + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
- + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
- + "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
- + fi
- +mostlyclean-generic:
- +
- +clean-generic:
- +
- +distclean-generic:
- + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
- + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
- +
- +maintainer-clean-generic:
- + @echo "This command is intended for maintainers to use"
- + @echo "it deletes files that may require special tools to rebuild."
- +clean: clean-am
- +
- +clean-am: clean-generic clean-local mostlyclean-am
- +
- +distclean: distclean-am
- + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
- + -rm -f Makefile
- +distclean-am: clean-am distclean-generic distclean-local
- +
- +dvi: dvi-am
- +
- +dvi-am:
- +
- +html: html-am
- +
- +html-am:
- +
- +info: info-am
- +
- +info-am:
- +
- +install-data-am:
- +
- +install-dvi: install-dvi-am
- +
- +install-dvi-am:
- +
- +install-exec-am:
- +
- +install-html: install-html-am
- +
- +install-html-am:
- +
- +install-info: install-info-am
- +
- +install-info-am:
- +
- +install-man:
- +
- +install-pdf: install-pdf-am
- +
- +install-pdf-am:
- +
- +install-ps: install-ps-am
- +
- +install-ps-am:
- +
- +installcheck-am:
- +
- +maintainer-clean: maintainer-clean-am
- + -rm -f $(am__CONFIG_DISTCLEAN_FILES)
- + -rm -rf $(top_srcdir)/autom4te.cache
- + -rm -f Makefile
- +maintainer-clean-am: distclean-am maintainer-clean-generic
- +
- +mostlyclean: mostlyclean-am
- +
- +mostlyclean-am: mostlyclean-generic
- +
- +pdf: pdf-am
- +
- +pdf-am:
- +
- +ps: ps-am
- +
- +ps-am:
- +
- +uninstall-am:
- +
- +.MAKE: check-am install-am install-strip
- +
- +.PHONY: all all-am all-local am--refresh check check-am check-local \
- + clean clean-generic clean-local cscopelist-am ctags-am dist \
- + dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \
- + dist-xz dist-zip distcheck distclean distclean-generic \
- + distclean-local distcleancheck distdir distuninstallcheck dvi \
- + dvi-am html html-am info info-am install install-am \
- + install-data install-data-am install-dvi install-dvi-am \
- + install-exec install-exec-am install-html install-html-am \
- + install-info install-info-am install-man install-pdf \
- + install-pdf-am install-ps install-ps-am install-strip \
- + installcheck installcheck-am installdirs maintainer-clean \
- + maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
- + pdf-am ps ps-am tags-am uninstall uninstall-am
- +
- +
- +# Top-Level Targets
- +# =================
- +
- +all-local: icedtea-stage2
- +
- +check-local: jtregcheck check-tapset
- +
- +clean-tests: clean-jtreg clean-tapset-report clean-jtreg-reports
- + if [ $(abs_top_srcdir) != $(abs_top_builddir) ] ; then \
- + if [ -e test ] ; then \
- + rmdir test ; \
- + fi \
- + fi
- +
- +clean-local: clean-tests clean-pulse-java \
- + clean-icedtea clean-icedtea-boot clean-clone clean-clone-boot \
- + clean-bootstrap-directory-stage1 clean-bootstrap-directory-stage2 \
- + clean-bootstrap-directory-symlink-stage1 clean-bootstrap-directory-symlink-stage2 \
- + clean-extract clean-generated clean-native-ecj clean-hgforest clean-icedtea-stage2 \
- + clean-icedtea-debug-stage2 clean-icedtea-stage1 clean-add-zero clean-add-zero-debug \
- + clean-add-cacao clean-add-cacao-debug clean-rt clean-rewrite-rhino clean-rewriter \
- + clean-add-systemtap clean-add-systemtap-debug clean-add-pulseaudio clean-add-pulseaudio-debug \
- + clean-add-nss clean-add-tzdata-support clean-add-tzdata-support-debug clean-cryptocheck
- + if [ -e bootstrap ]; then \
- + rmdir bootstrap ; \
- + fi
- + if [ -e lib ]; then \
- + rmdir lib ; \
- + fi
- +
- +distclean-local: clean-local clean-download
- + if [ $(abs_top_srcdir) != $(abs_top_builddir) ]; then \
- + if [ -e tapset ] ; then \
- + rmdir tapset ; \
- + fi ; \
- + fi
- + if [ -e stamps ] ; then \
- + rmdir stamps ; \
- + fi
- +
- +install:
- +
- +.PHONY: \
- + env env-boot snapshot clean-clone clean-patch \
- + clean-clone-boot clean-patch-boot clean-bootstrap-directory-stage2 \
- + clean-bootstrap-directory-symlink-stage2 clean-bootstrap-directory-stage1 \
- + clean-bootstrap-directory-symlink-stage1 icedtea icedtea-debug \
- + clean-icedtea icedtea-stage2 clean-icedtea-boot \
- + clean-rt hotspot hotspot-helper clean-jtreg clean-jtreg-reports \
- + jtregcheck clean-remove-intree-libraries \
- + clean-jamvm clean-extract-jamvm clean-add-jamvm clean-add-jamvm-debug \
- + clean-extract-hotspot clean-sanitise-openjdk \
- + clean-tests clean-tapset-report clean-add-systemtap \
- + clean-add-systemtap-debug clean-add-pulseaudio clean-add-pulseaudio-debug \
- + clean-add-nss clean-add-tzdata-support clean-add-tzdata-support-debug \
- + clean-add-systemtap-boot clean-add-pulseaudio-boot clean-add-tzdata-support-boot \
- + clean-check-crypto clean-check-crypto-debug clean-check-crypto-boot \
- + clean-add-archive clean-add-archive-debug clean-add-archive-boot clean-cryptocheck
- +
- +env:
- + @echo 'unset JAVA_HOME'
- + @echo 'export $(ICEDTEA_ENV)'
- +
- +env-boot:
- + @echo 'unset JAVA_HOME'
- + @echo 'export $(ICEDTEA_ENV_BOOT)'
- +
- +# Mercurial snapshot.
- +snapshot: dist
- + mv $(DIST_ARCHIVES) $(distdir)-`$(HG) tip --template '{node}'`.tar.gz
- +
- +# Creates archive of openjdk.
- +dist-openjdk: stamps/extract-cacao.stamp
- + find openjdk/ -name \\.hg* | xargs rm -rf
- + $(ZIP) -r openjdk-$(COMBINED_VERSION) openjdk/
- +
- +# Creates archive of openjdk that is compliant with Free Software guidelines.
- +dist-openjdk-fsg: stamps/patch-fsg.stamp
- + $(ZIP) -r openjdk-fsg-$(COMBINED_VERSION) openjdk/
- +
- +dist-openjdk-fsg-xz: stamps/patch-fsg.stamp
- + tardir=openjdk/ && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c \
- + >openjdk-fsg-$(COMBINED_VERSION).tar.xz
- +
- +# OpenJDK Source Preparation Targets
- +# ==================================
- +
- +# Check for forest support
- +
- +stamps/hgforest.stamp:
- +@USE_HG_TRUE@ if ! $(HG) fclone -h; \
- +@USE_HG_TRUE@ then \
- +@USE_HG_TRUE@ echo "No forest extension found. Please refer to" \
- +@USE_HG_TRUE@ "http://selenic.com/mercurial/wiki/index.cgi/ForestExtension"; \
- +@USE_HG_TRUE@ exit 1; \
- +@USE_HG_TRUE@ fi;
- + mkdir -p stamps
- + touch $@
- +
- +clean-hgforest:
- + rm -f stamps/hgforest.stamp
- +
- +# Download OpenJDK sources.
- +
- +stamps/download.stamp: stamps/download-openjdk.stamp \
- + stamps/download-cacao.stamp stamps/download-jamvm.stamp
- + mkdir -p stamps
- + touch $@
- +
- +clean-download: clean-download-openjdk clean-download-cacao clean-download-jamvm
- + rm -f stamps/download.stamp
- +
- +stamps/download-openjdk.stamp: stamps/hgforest.stamp
- +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_CLOSURES_TRUE@ $(HG) fclone $(CLOSURES_HG_URL) openjdk;
- +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_TRUE@ $(HG) fclone $(CVMI_HG_URL) openjdk;
- +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_CACIOCAVALLO_TRUE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@ $(HG) fclone $(CACIOCAVALLO_HG_URL) openjdk;
- +@OPENJDK_SRC_DIR_FOUND_FALSE@@USE_BSD_TRUE@@USE_CACIOCAVALLO_FALSE@@USE_CLOSURES_FALSE@@USE_CVMI_FALSE@ $(HG) fclone $(BSD_HG_URL) openjdk;
- +@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;
- +@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;
- +@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;
- +@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;
- +@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)
- +@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)" \
- +@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 ; \
- +@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 \
- +@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 \
- +@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 \
- +@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 ; \
- +@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 ; \
- +@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); \
- +@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)" \
- +@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 \
- +@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; \
- +@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; \
- +@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 \
- +@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; \
- +@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 ; \
- +@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 ;
- +@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)
- +@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)" \
- +@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 ; \
- +@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 \
- +@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 \
- +@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 \
- +@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 ; \
- +@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 ; \
- +@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); \
- +@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)" \
- +@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 \
- +@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; \
- +@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; \
- +@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 \
- +@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; \
- +@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 ; \
- +@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 ;
- +@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)
- +@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)" \
- +@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 ; \
- +@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 \
- +@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 \
- +@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 \
- +@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 ; \
- +@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 ; \
- +@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); \
- +@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)" \
- +@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 \
- +@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; \
- +@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; \
- +@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 \
- +@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; \
- +@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 ; \
- +@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 ;
- +@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)
- +@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)" \
- +@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 ; \
- +@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 \
- +@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 \
- +@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 \
- +@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 ; \
- +@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 ; \
- +@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); \
- +@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)" \
- +@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 \
- +@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; \
- +@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; \
- +@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 \
- +@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; \
- +@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 ; \
- +@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 ;
- +@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)
- +@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)" \
- +@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 ; \
- +@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 \
- +@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 \
- +@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 \
- +@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 ; \
- +@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 ; \
- +@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); \
- +@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)" \
- +@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 \
- +@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; \
- +@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; \
- +@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 \
- +@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; \
- +@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 ; \
- +@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 ;
- +@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)
- +@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)" \
- +@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 ; \
- +@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 \
- +@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 \
- +@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 \
- +@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 ; \
- +@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 ; \
- +@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); \
- +@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)" \
- +@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 \
- +@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; \
- +@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; \
- +@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 \
- +@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; \
- +@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 ; \
- +@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 ;
- +@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)
- +@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}"
- +@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)" \
- +@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 ; \
- +@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 \
- +@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 \
- +@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 \
- +@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 ; \
- +@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 ; \
- +@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) ; \
- +@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)" \
- +@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 \
- +@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; \
- +@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; \
- +@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 \
- +@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; \
- +@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 ; \
- +@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
- + mkdir -p stamps
- + touch $@
- +
- +clean-download-openjdk:
- + if [ ! -z $(OPENJDK_SRC_ZIP) ] ; then \
- + rm -f $(OPENJDK_SRC_ZIP) ; \
- + fi
- + if [ ! -z $(CORBA_SRC_ZIP) ] ; then \
- + rm -f $(CORBA_SRC_ZIP) ; \
- + fi
- + if [ ! -z $(JAXP_SRC_ZIP) ] ; then \
- + rm -f $(JAXP_SRC_ZIP) ; \
- + fi
- + if [ ! -z $(JAXWS_SRC_ZIP) ] ; then \
- + rm -f $(JAXWS_SRC_ZIP) ; \
- + fi
- + if [ ! -z $(JDK_SRC_ZIP) ] ; then \
- + rm -f $(JDK_SRC_ZIP) ; \
- + fi
- + if [ ! -z $(LANGTOOLS_SRC_ZIP) ] ; then \
- + rm -f $(LANGTOOLS_SRC_ZIP) ; \
- + fi
- + if [ ! -z $(HOTSPOT_SRC_ZIP) ] ; then \
- + rm -f $(HOTSPOT_SRC_ZIP) ; \
- + fi
- + rm -f stamps/download-openjdk.stamp
- +
- +stamps/download-cacao.stamp:
- +@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)
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ if ! echo "$(CACAO_SHA256SUM) $(CACAO_SRC_ZIP)" \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ | $(SHA256SUM) --check ; \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ then \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ if test "x$(enable_downloading)" = "xyes"; then \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ if [ -e $(CACAO_SRC_ZIP) ] ; then \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ mv $(CACAO_SRC_ZIP) $(CACAO_SRC_ZIP).old ; \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ fi ; \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ $(WGET) $(CACAO_URL) -O $(CACAO_SRC_ZIP); \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ if ! echo "$(CACAO_SHA256SUM) $(CACAO_SRC_ZIP)" \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ | $(SHA256SUM) --check ; then \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ echo "ERROR: Bad download of CACAO zip"; false; \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ fi; \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ else \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ echo "ERROR: No up-to-date CACAO zip available"; exit -1; \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ fi ; \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ fi
- + mkdir -p stamps
- + touch $@
- +
- +clean-download-cacao:
- + rm -f $(CACAO_SRC_ZIP)
- + rm -f stamps/download-cacao.stamp
- +
- +stamps/download-jamvm.stamp:
- +@BUILD_JAMVM_TRUE@@USE_ALT_JAMVM_SRC_ZIP_TRUE@ ln -sf $(ALT_JAMVM_SRC_ZIP) $(JAMVM_SRC_ZIP)
- +@BUILD_JAMVM_TRUE@ if ! echo "$(JAMVM_SHA256SUM) $(JAMVM_SRC_ZIP)" \
- +@BUILD_JAMVM_TRUE@ | $(SHA256SUM) --check ; \
- +@BUILD_JAMVM_TRUE@ then \
- +@BUILD_JAMVM_TRUE@ if test "x$(enable_downloading)" = "xyes"; then \
- +@BUILD_JAMVM_TRUE@ if [ -e $(JAMVM_SRC_ZIP) ] ; then \
- +@BUILD_JAMVM_TRUE@ mv $(JAMVM_SRC_ZIP) $(JAMVM_SRC_ZIP).old ; \
- +@BUILD_JAMVM_TRUE@ fi ; \
- +@BUILD_JAMVM_TRUE@ $(WGET) $(JAMVM_URL) -O $(JAMVM_SRC_ZIP); \
- +@BUILD_JAMVM_TRUE@ if ! echo "$(JAMVM_SHA256SUM) $(JAMVM_SRC_ZIP)" \
- +@BUILD_JAMVM_TRUE@ | $(SHA256SUM) --check ; then \
- +@BUILD_JAMVM_TRUE@ echo "ERROR: Bad download of JamVM zip"; false; \
- +@BUILD_JAMVM_TRUE@ fi; \
- +@BUILD_JAMVM_TRUE@ else \
- +@BUILD_JAMVM_TRUE@ echo "ERROR: No up-to-date JamVM zip available"; exit -1; \
- +@BUILD_JAMVM_TRUE@ fi ; \
- +@BUILD_JAMVM_TRUE@ fi
- + mkdir -p stamps
- + touch $@
- +
- +clean-download-jamvm:
- + rm -f $(JAMVM_SRC_ZIP)
- + rm -f stamps/download-jamvm.stamp
- +
- +stamps/extract.stamp: stamps/extract-openjdk.stamp \
- + stamps/extract-cacao.stamp stamps/remove-intree-libraries.stamp \
- + stamps/extract-jamvm.stamp stamps/extract-hotspot.stamp stamps/sanitise-openjdk.stamp
- + mkdir -p stamps
- + touch $@
- +
- +clean-extract: clean-extract-openjdk clean-extract-cacao clean-extract-jamvm
- + rm -f stamps/extract.stamp
- +
- +stamps/extract-openjdk.stamp: stamps/download-openjdk.stamp
- +@OPENJDK_SRC_DIR_FOUND_TRUE@ cp -pPR $(OPENJDK_SRC_DIR_LINK) $(OPENJDK_SRC_DIR) openjdk
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ set -e ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ if ! test -d openjdk ; then \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ if [ ! -z $(OPENJDK_SRC_ZIP) ] ; then \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ case "$(OPENJDK_SRC_ZIP)" in \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.zip) $(UNZIP) -q $(OPENJDK_SRC_ZIP) ;; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.tar.*) $(TAR) xf $(OPENJDK_SRC_ZIP) ;; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ esac; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ mv `echo $(ICEDTEA_PREFIX)|sed 's#\.#-#'`-$(OPENJDK_CHANGESET) openjdk ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ else \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ echo "ERROR: Couldn't extract OpenJDK"; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ false; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi;
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ set -e ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ if [ ! -z $(CORBA_SRC_ZIP) ] ; then \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ if test -e ${CORBA_SRC_ZIP} ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ then \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ if ! test -d openjdk/corba ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ then \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ case "$(CORBA_SRC_ZIP)" in \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.zip) $(UNZIP) -q $(CORBA_SRC_ZIP) ;; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.tar.*) $(TAR) xf $(CORBA_SRC_ZIP) ;; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ esac; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ mv corba-$(CORBA_CHANGESET) openjdk/corba ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ set -e ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ if [ ! -z $(JAXP_SRC_ZIP) ] ; then \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ if test -e ${JAXP_SRC_ZIP} ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ then \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ if ! test -d openjdk/jaxp ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ then \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ case "$(JAXP_SRC_ZIP)" in \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.zip) $(UNZIP) -q $(JAXP_SRC_ZIP) ;; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.tar.*) $(TAR) xf $(JAXP_SRC_ZIP) ;; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ esac; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ mv jaxp-$(JAXP_CHANGESET) openjdk/jaxp ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ set -e ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ if [ ! -z $(JAXWS_SRC_ZIP) ] ; then \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ if test -e ${JAXWS_SRC_ZIP} ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ then \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ if ! test -d openjdk/jaxws ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ then \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ case "$(JAXWS_SRC_ZIP)" in \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.zip) $(UNZIP) -q $(JAXWS_SRC_ZIP) ;; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.tar.*) $(TAR) xf $(JAXWS_SRC_ZIP) ;; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ esac; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ mv jaxws-$(JAXWS_CHANGESET) openjdk/jaxws ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ set -e ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ if [ ! -z $(JDK_SRC_ZIP) ] ; then \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ if test -e ${JDK_SRC_ZIP} ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ then \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ if ! test -d openjdk/jdk ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ then \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ case "$(JDK_SRC_ZIP)" in \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.zip) $(UNZIP) -q $(JDK_SRC_ZIP) ;; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.tar.*) $(TAR) xf $(JDK_SRC_ZIP) ;; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ esac; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ mv jdk-$(JDK_CHANGESET) openjdk/jdk ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ set -e ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ if [ ! -z $(LANGTOOLS_SRC_ZIP) ] ; then \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ if test -e ${LANGTOOLS_SRC_ZIP} ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ then \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ if ! test -d openjdk/langtools ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ then \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ case "$(LANGTOOLS_SRC_ZIP)" in \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.zip) $(UNZIP) -q $(LANGTOOLS_SRC_ZIP) ;; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ *.tar.*) $(TAR) xf $(LANGTOOLS_SRC_ZIP) ;; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ esac; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ mv langtools-$(LANGTOOLS_CHANGESET) openjdk/langtools ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi ; \
- +@OPENJDK_SRC_DIR_FOUND_FALSE@ fi
- + touch stamps/extract-openjdk.stamp
- +
- +clean-extract-openjdk: clean-overlay clean-versioning \
- + clean-patch-fsg clean-remove-intree-libraries \
- + clean-sanitise-openjdk clean-extract-hotspot
- + rm -rf openjdk
- + rm -f stamps/extract-openjdk.stamp
- +
- +stamps/extract-hotspot.stamp: stamps/extract-openjdk.stamp
- + set -e ; \
- + if [ ! -z $(HOTSPOT_SRC_ZIP) ] ; then \
- + if test -e ${HOTSPOT_SRC_ZIP} ; \
- + then \
- + case "$(HOTSPOT_SRC_ZIP)" in \
- + *.zip) $(UNZIP) -q $(HOTSPOT_SRC_ZIP) ;; \
- + *.tar.*) $(TAR) xf $(HOTSPOT_SRC_ZIP) ;; \
- + esac; \
- + if test "x${HSBUILD}" != "xdefault"; then \
- + rm -rf openjdk/hotspot ; \
- + fi ; \
- + if ! test -d openjdk/hotspot ; \
- + then \
- + mv hotspot-$(HS_CHANGESET) openjdk/hotspot ; \
- + else \
- + rm -rf hotspot-$(HS_CHANGESET) ; \
- + fi ; \
- + fi ; \
- + fi
- + touch stamps/extract-hotspot.stamp
- +
- +clean-extract-hotspot:
- + rm -rf openjdk/hotspot
- + rm -f stamps/extract-hotspot.stamp
- +
- +stamps/sanitise-openjdk.stamp: stamps/extract-openjdk.stamp \
- + stamps/extract-hotspot.stamp
- + chmod -R ug+w openjdk
- + sh $(srcdir)/fsg.sh
- + touch stamps/sanitise-openjdk.stamp
- +
- +clean-sanitise-openjdk:
- + rm -f stamps/sanitise-openjdk.stamp
- +
- +stamps/extract-cacao.stamp: stamps/download-cacao.stamp
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_TRUE@@USE_SYSTEM_CACAO_FALSE@ if ! test -d cacao ; \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_TRUE@@USE_SYSTEM_CACAO_FALSE@ then \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_TRUE@@USE_SYSTEM_CACAO_FALSE@ mkdir -p cacao/cacao ; \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_TRUE@@USE_SYSTEM_CACAO_FALSE@ cp -r $(ALT_CACAO_SRC_DIR)/* cacao/cacao/ ; \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_TRUE@@USE_SYSTEM_CACAO_FALSE@ fi
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ set -e ; \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ if ! test -d cacao/cacao ; \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ then \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ mkdir cacao ; \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ $(TAR) xzf $(CACAO_SRC_ZIP) -C cacao ; \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ dir=$$(basename cacao/cacao-*) ; \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ ln -s $$dir cacao/cacao ; \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ cd cacao/cacao ; \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ cd .. ; \
- +@BUILD_CACAO_TRUE@@USE_ALT_CACAO_SRC_DIR_FALSE@@USE_SYSTEM_CACAO_FALSE@ fi
- + mkdir -p stamps
- + touch $@
- +
- +clean-extract-cacao: clean-cacao
- + rm -f stamps/extract-cacao.stamp
- +
- +stamps/extract-jamvm.stamp: stamps/download-jamvm.stamp
- +@BUILD_JAMVM_TRUE@ set -e ; \
- +@BUILD_JAMVM_TRUE@ if ! test -d jamvm ; \
- +@BUILD_JAMVM_TRUE@ then \
- +@BUILD_JAMVM_TRUE@ mkdir jamvm ; \
- +@BUILD_JAMVM_TRUE@ $(TAR) xzf $(JAMVM_SRC_ZIP) -C jamvm ; \
- +@BUILD_JAMVM_TRUE@ dir=$$(basename jamvm/jamvm-*) ; \
- +@BUILD_JAMVM_TRUE@ ln -s $$dir jamvm/jamvm ; \
- +@BUILD_JAMVM_TRUE@ fi
- + mkdir -p stamps
- + touch stamps/extract-jamvm.stamp
- +
- +clean-extract-jamvm: clean-jamvm
- + rm -f stamps/extract-jamvm.stamp
- +
- +stamps/remove-intree-libraries.stamp: stamps/sanitise-openjdk.stamp
- + sh $(abs_top_builddir)/remove-intree-libraries.sh
- + touch stamps/remove-intree-libraries.stamp
- +
- +clean-remove-intree-libraries:
- + rm -f stamps/remove-intree-libraries.stamp
- +
- +stamps/generated.stamp:
- + set -e ; \
- + if [ ! -e $(abs_top_builddir)/generated.build ]; then \
- + cp -pPR $(abs_top_srcdir)/generated $(abs_top_builddir)/generated.build; \
- + chmod -R u+w $(abs_top_builddir)/generated.build ; \
- + fi
- + mkdir -p stamps
- + touch $@
- +
- +clean-generated:
- + rm -rf $(abs_top_builddir)/generated.build
- + rm -f stamps/generated.stamp
- +
- +stamps/patch-fsg.stamp: stamps/extract.stamp
- + mkdir -p stamps ; \
- + rm -f stamps/patch-fsg.stamp.tmp ; \
- + touch stamps/patch-fsg.stamp.tmp ; \
- + all_patches_ok=yes; \
- + for p in $(ICEDTEA_FSG_PATCHES) ; \
- + do \
- + if test x$${all_patches_ok} = "xyes" \
- + && echo Checking $$p \
- + && $(PATCH) -l -p0 --dry-run -s -t -f \
- + -F 0 < $(abs_top_srcdir)/$$p ; \
- + then \
- + echo Applying $$p ; \
- + $(PATCH) -l -p0 < $(abs_top_srcdir)/$$p ; \
- + if ! grep "^\* $$(basename $$p)" $(abs_top_srcdir)/HACKING \
- + >> stamps/patch-fsg.stamp.tmp ; \
- + then \
- + echo "* $$(basename $$p): UNDOCUMENTED" \
- + >> stamps/patch-fsg.stamp.tmp ; \
- + fi ; \
- + else \
- + test x$${all_patches_ok} = "xyes" && all_patches_ok=$$p ; \
- + fi ; \
- + done ; \
- + mv stamps/patch-fsg.stamp.tmp stamps/patch-fsg.stamp ; \
- + if ! test x$${all_patches_ok} = "xyes"; then \
- + echo ERROR patch $${all_patches_ok} FAILED! ; \
- + echo WARNING make clean-patch before retrying a fix ; \
- + exit 2; \
- + fi ;
- +
- +clean-patch-fsg: clean-patch
- + if [ -e stamps/patch-fsg.stamp ] ; then \
- + all_patches_ok=yes; \
- + for p in $(ICEDTEA_FSG_PATCHES) ; \
- + do \
- + echo Checking $$p ; \
- + if $(PATCH) -l -p0 -R --dry-run -s -t -f < $(abs_top_srcdir)/$$p ; \
- + then \
- + echo Reverting $$p ; \
- + $(PATCH) -l -p0 -R < $(abs_top_srcdir)/$$p ; \
- + else \
- + all_patches_ok=no ; \
- + fi ; \
- + done ; \
- + if ! test x$${all_patches_ok} = "xyes" ; then \
- + echo "WARNING Not all patches reverted cleanly" ; \
- + fi ; \
- + rm -f stamps/patch-fsg.stamp ; \
- + fi
- +
- +stamps/patch.stamp: stamps/patch-fsg.stamp
- + mkdir -p stamps ; \
- + rm -f stamps/patch.stamp.tmp ; \
- + touch stamps/patch.stamp.tmp ; \
- + all_patches_ok=yes; \
- + cd $(abs_top_builddir)/openjdk/jdk; \
- + for p in $(OPENJDK_PATCHES) ; \
- + do \
- + if test x$${all_patches_ok} == "xyes" \
- + && echo Checking $$p \
- + && $(PATCH) -l -p1 --dry-run -s -t -f -F 0 < $(abs_top_srcdir)/$$p ; \
- + then \
- + echo Applying $$p ; \
- + $(PATCH) -l -p1 < $(abs_top_srcdir)/$$p ; \
- + else \
- + test x$${all_patches_ok} == "xyes" && all_patches_ok=$$p ; \
- + fi ; \
- + done ; \
- + cd $(abs_top_builddir) ; \
- + for p in $(ICEDTEA_PATCHES) ; \
- + do \
- + if test x$${all_patches_ok} = "xyes" \
- + && echo Checking $$p \
- + && $(PATCH) -l -p0 --dry-run -s -t -f \
- + -F 0 < $(abs_top_srcdir)/$$p ; \
- + then \
- + echo Applying $$p ; \
- + $(PATCH) -l -p0 < $(abs_top_srcdir)/$$p ; \
- + if ! grep "^\* $$(basename $$p)" $(abs_top_srcdir)/HACKING \
- + >> stamps/patch.stamp.tmp ; \
- + then \
- + echo "* $$(basename $$p): UNDOCUMENTED" \
- + >> stamps/patch.stamp.tmp ; \
- + fi ; \
- + else \
- + test x$${all_patches_ok} = "xyes" && all_patches_ok=$$p ; \
- + fi ; \
- + done ; \
- + if ! test x$${all_patches_ok} = "xyes"; then \
- + echo ERROR patch $${all_patches_ok} FAILED! ; \
- + echo WARNING make clean-patch before retrying a fix ; \
- + exit 2; \
- + fi ; \
- + mv stamps/patch.stamp.tmp stamps/patch.stamp
- +
- +clean-patch:
- + if [ -e stamps/patch.stamp ] ; then \
- + all_patches_ok=yes; \
- + for p in $(ICEDTEA_PATCHES) ; \
- + do \
- + echo Checking $$p ; \
- + if $(PATCH) -l -p0 -R --dry-run -s -t -f < $(abs_top_srcdir)/$$p ; \
- + then \
- + echo Reverting $$p ; \
- + $(PATCH) -l -p0 -R < $(abs_top_srcdir)/$$p ; \
- + else \
- + all_patches_ok=no ; \
- + fi ; \
- + done ; \
- + cd $(abs_top_builddir)/openjdk/jdk; \
- + for p in $(OPENJDK_PATCHES) ; \
- + do \
- + echo Checking $$p ; \
- + if $(PATCH) -l -p1 -R --dry-run -s -t -f < $(abs_top_srcdir)/$$p ; \
- + then \
- + echo Reverting $$p ; \
- + $(PATCH) -l -p1 -R < $(abs_top_srcdir)/$$p ; \
- + else \
- + all_patches_ok=no ; \
- + fi ; \
- + done ; \
- + cd $(abs_top_builddir) ; \
- + if ! test x$${all_patches_ok} = "xyes" ; then \
- + echo "WARNING Not all patches reverted cleanly" ; \
- + fi ; \
- + rm -f stamps/patch.stamp ; \
- + fi
- +
- +stamps/versioning.stamp: stamps/patch.stamp
- + mv openjdk/jdk/make/common/shared/Defs.gmk Defs.gmk.bak
- + cat Defs.gmk.bak > openjdk/jdk/make/common/shared/Defs.gmk
- + icedtea_version="$(PACKAGE_VERSION)$(ICEDTEA_REV)" ; \
- + if test "x$(ENABLE_CACAO)" = "xyes" || \
- + test "x$(ENABLE_JAMVM)" = "xyes"; then \
- + echo "JDK_DERIVATIVE_NAME=$${icedtea_version}" \
- + >>openjdk/jdk/make/common/shared/Defs.gmk ; \
- + echo "PRODUCT_NAME=$(ICEDTEA_NAME)" \
- + >>openjdk/jdk/make/common/shared/Defs.gmk ; \
- + else \
- + echo "JDK_DERIVATIVE_NAME=$(ICEDTEA_NAME) $${icedtea_version}" \
- + >>openjdk/jdk/make/common/shared/Defs.gmk ; \
- + fi ;
- +
- +@HAS_JDK_REVISION_TRUE@ echo "JDK_REVID=$(JDK_REVISION)" >>openjdk/jdk/make/common/shared/Defs.gmk ;
- +
- + echo "DISTRO_NAME=$(DIST_NAME)" >>openjdk/jdk/make/common/shared/Defs.gmk ;
- +@HAS_PKGVERSION_TRUE@ echo "DISTRO_PACKAGE_VERSION=$(PKGVERSION)" \
- +@HAS_PKGVERSION_TRUE@ >>openjdk/jdk/make/common/shared/Defs.gmk ;
- + if test x"$(PROJECT_NAME)" != "xjdk7" && test x"$(PROJECT_NAME)" != "xicedtea"; then \
- + proj_suffix="-$(PROJECT_NAME)"; \
- + fi ; \
- + if test x"$(VERSION_SUFFIX)" != "x"; then \
- + ver_suffix="-$(VERSION_SUFFIX)"; \
- + fi ; \
- + sed -i "s#BUILD_VARIANT_RELEASE)#BUILD_VARIANT_RELEASE)$${proj_suffix}$${ver_suffix}#" \
- + openjdk/jdk/make/common/shared/Defs.gmk;
- + mkdir -p stamps
- + touch $@
- +
- +clean-versioning:
- + if [ -e Defs.gmk.bak ] ; then \
- + mv Defs.gmk.bak openjdk/jdk/make/common/shared/Defs.gmk ; \
- + fi
- + rm -f stamps/versioning.stamp
- +
- +stamps/overlay.stamp: stamps/versioning.stamp
- + cp -r $(abs_top_srcdir)/overlays/openjdk/* openjdk/
- + chmod -R ug+w openjdk
- + mkdir -p stamps
- + touch $@
- +
- +clean-overlay:
- + rm -f stamps/overlay.stamp
- +
- +# OpenJDK boot Source Preparation Targets
- +# ======================================
- +
- +# Copy over OpenJDK sources for bootstrap.
- +stamps/clone-boot.stamp: $(OPENJDK_TREE)
- + if ! test -d openjdk-boot ; then \
- + cp -pPRl openjdk openjdk-boot ; \
- + if [ -e $(BUILD_OUTPUT_DIR) ] ; then \
- + cp -pPRl $(BUILD_OUTPUT_DIR) $(BOOT_BUILD_OUTPUT_DIR) ; \
- + fi ; \
- + fi
- + mkdir -p stamps
- + touch $@
- +
- +clean-clone-boot:
- + rm -rf openjdk-boot
- + rm -f stamps/patch-boot.stamp
- + rm -f stamps/clone-boot.stamp
- +
- +stamps/patch-boot.stamp: stamps/clone-boot.stamp
- + mkdir -p stamps; \
- + rm -f stamps/patch-boot.stamp.tmp ; \
- + touch stamps/patch-boot.stamp.tmp ; \
- + all_patches_ok=yes; \
- + for p in $(ICEDTEA_BOOT_PATCHES) ; \
- + do \
- + if test x$${all_patches_ok} = "xyes" \
- + && echo Checking $$p \
- + && $(PATCH) -l -p0 --dry-run -s -t -f \
- + -F 0 < $(abs_top_srcdir)/$$p ; \
- + then \
- + echo Applying $$p ; \
- + $(PATCH) -l -p0 < $(abs_top_srcdir)/$$p ; \
- + if ! grep "^\* $$(basename $$p)" $(abs_top_srcdir)/HACKING \
- + >> stamps/patch-boot.stamp.tmp ; \
- + then \
- + echo "* $$(basename $$p): UNDOCUMENTED" \
- + >> stamps/patch-boot.stamp.tmp ; \
- + fi ; \
- + else \
- + test x$${all_patches_ok} = "xyes" && all_patches_ok=$$p ; \
- + fi ; \
- + done ; \
- + mv stamps/patch-boot.stamp.tmp stamps/patch-boot.stamp ; \
- + if ! test x$${all_patches_ok} = "xyes"; then \
- + echo ERROR patch $${all_patches_ok} FAILED! ; \
- + echo WARNING make clean-patch before retrying a fix ; \
- + exit 2; \
- + fi
- +
- +clean-patch-boot:
- + if [ -e stamps/patch-boot.stamp ] ; then \
- + all_patches_ok=yes; \
- + for p in $(ICEDTEA_BOOT_PATCHES) ; \
- + do \
- + echo Checking $$p ; \
- + if $(PATCH) -l -p0 -R --dry-run -s -t -f < $(abs_top_srcdir)/$$p ; \
- + then \
- + echo Reverting $$p ; \
- + $(PATCH) -l -p0 -R < $(abs_top_srcdir)/$$p ; \
- + else \
- + all_patches_ok=no ; \
- + fi ; \
- + done ; \
- + if ! test x$${all_patches_ok} = "xyes" ; then \
- + echo "WARNING Not all patches reverted cleanly" ; \
- + fi ; \
- + rm -f stamps/patch-boot.stamp ; \
- + fi
- +
- +# Bootstrap Directory Targets
- +# ===========================
- +
- +# Optional native ecj
- +stamps/native-ecj.stamp:
- + mkdir -p stamps
- +@BUILD_NATIVE_ECJ_TRUE@ ${GCJ} $(IT_CFLAGS) -Wl,-Bsymbolic -findirect-dispatch -o native-ecj \
- +@BUILD_NATIVE_ECJ_TRUE@ --main=org.eclipse.jdt.internal.compiler.batch.Main ${ECJ_JAR}
- + touch $@
- +
- +clean-native-ecj:
- + rm -f native-ecj
- + rm -rf stamps/native-ecj.stamp
- +
- +# bootstrap/stage1
- +stamps/bootstrap-directory-stage1.stamp: stamps/native-ecj.stamp
- + mkdir -p $(STAGE1_BOOT_DIR)/bin stamps/
- + ln -sf $(JAVA) $(STAGE1_BOOT_DIR)/bin/java
- +@JAVAH_SUPPORTS_X_OPTIONS_TRUE@ ln -sf $(JAVAH) $(STAGE1_BOOT_DIR)/bin/javah
- +@JAVAH_SUPPORTS_X_OPTIONS_FALSE@ ln -sf ../../../javah $(STAGE1_BOOT_DIR)/bin/javah
- + ln -sf $(RMIC) $(STAGE1_BOOT_DIR)/bin/rmic
- + ln -sf $(JAR) $(STAGE1_BOOT_DIR)/bin/jar
- + ln -sf $(NATIVE2ASCII) $(STAGE1_BOOT_DIR)/bin/native2ascii
- + ln -sf ../../../javac $(STAGE1_BOOT_DIR)/bin/javac
- + ln -sf ../../../javap $(STAGE1_BOOT_DIR)/bin/javap
- + mkdir -p $(STAGE1_BOOT_DIR)/lib/modules
- + mkdir -p $(STAGE1_BOOT_DIR)/jre/lib && \
- + cp $(SYSTEM_JDK_DIR)/jre/lib/rt.jar $(STAGE1_BOOT_RUNTIME) && \
- + chmod u+w $(STAGE1_BOOT_RUNTIME)
- + mkdir -p $(STAGE1_BOOT_DIR)/lib && \
- + if [ -e $(SYSTEM_JDK_DIR)/lib/tools.jar ] ; then \
- + ln -sf $(SYSTEM_JDK_DIR)/lib/tools.jar $(STAGE1_BOOT_DIR)/lib/tools.jar ; \
- + else \
- + ln -sf $(STAGE1_BOOT_RUNTIME) $(STAGE1_BOOT_DIR)/lib/tools.jar ; \
- + fi
- + ln -sf $(SYSTEM_JDK_DIR)/jre/lib/$(JRE_ARCH_DIR) \
- + $(STAGE1_BOOT_DIR)/jre/lib/ && \
- + if ! test -d $(STAGE1_BOOT_DIR)/jre/lib/$(INSTALL_ARCH_DIR); \
- + then \
- + ln -sf ./$(JRE_ARCH_DIR) \
- + $(STAGE1_BOOT_DIR)/jre/lib/$(INSTALL_ARCH_DIR); \
- + fi
- + mkdir -p $(STAGE1_BOOT_DIR)/include && \
- + for i in $(SYSTEM_JDK_DIR)/include/*; do \
- + test -r $$i | continue; \
- + i=`basename $$i`; \
- + rm -f $(STAGE1_BOOT_DIR)/include/$$i; \
- + ln -s $(SYSTEM_JDK_DIR)/include/$$i $(STAGE1_BOOT_DIR)/include/$$i; \
- + done;
- + mkdir -p stamps
- + touch $@
- +
- +clean-bootstrap-directory-stage1:
- + rm -rf $(STAGE1_BOOT_DIR)
- + rm -f stamps/bootstrap-directory-stage1.stamp
- +
- +# bootstrap/stage2.
- +stamps/bootstrap-directory-stage2.stamp: stamps/icedtea-stage1.stamp
- + rm -rf $(STAGE2_BOOT_DIR)
- + ln -s $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/ $(STAGE2_BOOT_DIR)
- + if ! test -d $(STAGE2_BOOT_DIR)/include; then \
- + ln -sf $(BOOT_BUILD_OUTPUT_DIR)/include $(STAGE2_BOOT_DIR)/include; \
- + fi
- + mkdir -p stamps
- + touch $@
- +
- +clean-bootstrap-directory-stage2:
- + rm -rf $(STAGE2_BOOT_DIR)
- + rm -f stamps/bootstrap-directory-stage2.stamp
- +
- +# stage 1 symlink.
- +stamps/bootstrap-directory-symlink-stage1.stamp: stamps/bootstrap-directory-stage1.stamp
- + rm -f $(BOOT_DIR)
- + ln -sf $(STAGE1_BOOT_DIR) $(BOOT_DIR)
- + mkdir -p stamps
- + touch $@
- +
- +clean-bootstrap-directory-symlink-stage1:
- + rm -f $(BOOT_DIR)
- + rm -f stamps/bootstrap-directory-symlink-stage1.stamp
- +
- +# stage 2 symlink.
- +stamps/bootstrap-directory-symlink-stage2.stamp: $(BOOTSTRAP_DIRECTORY_STAMP)
- + mkdir -p bootstrap
- + rm -f $(BOOT_DIR)
- + ln -sf $(ICEDTEA_HOME) $(BOOT_DIR); \
- + if ! $(BOOT_DIR)/bin/java -version ; \
- + then \
- + echo "$(BOOT_DIR)/bin/java" \
- + "cannot be found or is corrupted." ; \
- + exit 1; \
- + fi
- + mkdir -p stamps
- + touch $@
- +
- +clean-bootstrap-directory-symlink-stage2:
- + rm -f $(BOOT_DIR)
- + rm -f stamps/bootstrap-directory-symlink-stage2.stamp
- +
- +# OpenJDK Targets
- +# ===============
- +
- +# If you change anything here in the icedtea target, please make sure
- +# you change it in the icedtea-debug target as well.
- +stamps/icedtea.stamp: stamps/bootstrap-directory-symlink-stage2.stamp \
- + stamps/download.stamp stamps/extract.stamp $(OPENJDK_TREE) \
- + stamps/cacao.stamp stamps/rewrite-rhino.stamp stamps/jamvm.stamp
- + $(ARCH_PREFIX) $(MAKE) -j1 \
- + $(ICEDTEA_ENV) \
- + -C openjdk/ \
- + $(ICEDTEA_BUILD_TARGET)
- + $(abs_top_builddir)/pax-mark-vm $(BUILD_OUTPUT_DIR)/j2sdk-image
- + mkdir -p $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)
- + mkdir -p $(BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR)
- + mkdir -p $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/ext
- + mkdir -p $(BUILD_OUTPUT_DIR)/j2re-image/lib/ext
- +@ZERO_BUILD_TRUE@ printf -- '-zero ALIASED_TO -server\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
- +@SHARK_BUILD_TRUE@ printf -- '-shark ALIASED_TO -server\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
- +@ENABLE_CACAO_TRUE@ printf -- '-cacao ALIASED_TO -server\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
- +@ENABLE_JAMVM_TRUE@ printf -- '-jamvm ALIASED_TO -server\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
- + @echo "IcedTea is served:" $(BUILD_OUTPUT_DIR)
- + mkdir -p stamps
- + touch $@
- +
- +stamps/add-systemtap.stamp: stamps/icedtea.stamp
- +@ENABLE_SYSTEMTAP_TRUE@ mkdir -p $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset ; \
- +@ENABLE_SYSTEMTAP_TRUE@ grep "client IGNORE" $(BUILD_JRE_ARCH_DIR)/jvm.cfg; \
- +@ENABLE_SYSTEMTAP_TRUE@ if test $$? -eq 0; then \
- +@ENABLE_SYSTEMTAP_TRUE@ sed -e '/\/client\/libjvm.so/d' \
- +@ENABLE_SYSTEMTAP_TRUE@ < $(abs_top_builddir)/tapset/hotspot.stp \
- +@ENABLE_SYSTEMTAP_TRUE@ > $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot.stp; \
- +@ENABLE_SYSTEMTAP_TRUE@ sed -e '/\/client\/libjvm.so/d' \
- +@ENABLE_SYSTEMTAP_TRUE@ < $(abs_top_builddir)/tapset/hotspot_jni.stp \
- +@ENABLE_SYSTEMTAP_TRUE@ > $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_jni.stp; \
- +@ENABLE_SYSTEMTAP_TRUE@ sed -e '/\/client\/libjvm.so/d' \
- +@ENABLE_SYSTEMTAP_TRUE@ < $(abs_top_builddir)/tapset/hotspot_gc.stp \
- +@ENABLE_SYSTEMTAP_TRUE@ > $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_gc.stp; \
- +@ENABLE_SYSTEMTAP_TRUE@ else \
- +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/hotspot.stp \
- +@ENABLE_SYSTEMTAP_TRUE@ $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot.stp; \
- +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/hotspot_jni.stp \
- +@ENABLE_SYSTEMTAP_TRUE@ $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_jni.stp; \
- +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/hotspot_gc.stp \
- +@ENABLE_SYSTEMTAP_TRUE@ $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_gc.stp; \
- +@ENABLE_SYSTEMTAP_TRUE@ fi; \
- +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/jstack.stp \
- +@ENABLE_SYSTEMTAP_TRUE@ $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset/jstack.stp
- + touch stamps/add-systemtap.stamp
- +
- +clean-add-systemtap:
- + rm -rf $(BUILD_OUTPUT_DIR)/j2sdk-image/tapset
- + rm -f stamps/add-systemtap.stamp
- +
- +stamps/add-pulseaudio.stamp: stamps/icedtea.stamp $(PULSE_JAVA_TARGET)
- +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf $(PULSE_JAVA_NATIVE_BUILDDIR)/libpulse-java.so \
- +@ENABLE_PULSE_JAVA_TRUE@ $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)
- +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf $(PULSE_JAVA_NATIVE_BUILDDIR)/libpulse-java.so \
- +@ENABLE_PULSE_JAVA_TRUE@ $(BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR)
- +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf pulse-java.jar \
- +@ENABLE_PULSE_JAVA_TRUE@ $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/ext
- +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf pulse-java.jar \
- +@ENABLE_PULSE_JAVA_TRUE@ $(BUILD_OUTPUT_DIR)/j2re-image/lib/ext
- +@ENABLE_PULSE_JAVA_TRUE@ (cd $(PULSE_JAVA_JAVA_SRCDIR) && \
- +@ENABLE_PULSE_JAVA_TRUE@ $(ZIP) -qur $(BUILD_OUTPUT_DIR)/j2sdk-image/src.zip org )
- + touch stamps/add-pulseaudio.stamp
- +
- +# Note: for simplicity, we don't revert the update of src.zip
- +clean-add-pulseaudio:
- + rm -f $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/libpulse-java.so
- + rm -f $(BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR)/libpulse-java.so
- + rm -f $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/ext/pulse-java.jar
- + rm -f $(BUILD_OUTPUT_DIR)/j2re-image/lib/ext/pulse-java.jar
- + rm -f stamps/add-pulseaudio.stamp
- +
- +stamps/add-nss.stamp: stamps/extract-openjdk.stamp
- + cp -v $(abs_top_builddir)/nss.cfg openjdk/jdk/src/share/lib/security;
- + touch stamps/add-nss.stamp
- +
- +clean-add-nss:
- + rm -f openjdk/jdk/src/share/lib/security/nss.cfg
- + rm -f stamps/add-nss.stamp
- +
- +stamps/add-tzdata-support.stamp: stamps/icedtea.stamp
- +@WITH_TZDATA_DIR_TRUE@ if [ -e $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib ] ; then \
- +@WITH_TZDATA_DIR_TRUE@ cp -v $(abs_top_builddir)/tz.properties \
- +@WITH_TZDATA_DIR_TRUE@ $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib ; \
- +@WITH_TZDATA_DIR_TRUE@ fi
- + touch stamps/add-tzdata-support.stamp
- +
- +clean-add-tzdata-support:
- + if [ -e $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/tz.properties ] ; then \
- + rm -vf $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/tz.properties ; \
- + fi
- + rm -f stamps/add-tzdata-support.stamp
- +
- +stamps/check-crypto.stamp: stamps/cryptocheck.stamp stamps/icedtea.stamp
- + if [ -e $(BUILD_OUTPUT_DIR)/j2sdk-image/bin/java ] ; then \
- + $(BUILD_OUTPUT_DIR)/j2sdk-image/bin/java -cp $(CRYPTO_CHECK_BUILD_DIR) TestCryptoLevel ; \
- + fi
- + mkdir -p stamps
- + touch $@
- +
- +clean-check-crypto:
- + rm -f stamps/check-crypto.stamp
- +
- +stamps/add-archive.stamp: stamps/icedtea.stamp
- +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_FALSE@@ZERO_BUILD_FALSE@ if [ -e $(BUILD_OUTPUT_DIR)/j2sdk-image/bin/java ] ; then \
- +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_FALSE@@ZERO_BUILD_FALSE@ $(BUILD_OUTPUT_DIR)/j2sdk-image/bin/java -Xshare:dump ; \
- +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_FALSE@@ZERO_BUILD_FALSE@ fi
- + touch stamps/add-archive.stamp
- +
- +clean-add-archive:
- + rm -vf $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/*/*.jsa
- + rm -f stamps/add-archive.stamp
- +
- +stamps/icedtea-debug.stamp: stamps/bootstrap-directory-symlink-stage2.stamp \
- + stamps/download.stamp stamps/extract.stamp $(OPENJDK_TREE) \
- + stamps/cacao.stamp stamps/rewrite-rhino.stamp stamps/jamvm.stamp
- + $(ARCH_PREFIX) $(MAKE) -j1 \
- + $(ICEDTEA_ENV) \
- + -C openjdk/ \
- + $(ICEDTEA_DEBUG_BUILD_TARGET)
- + $(abs_top_builddir)/pax-mark-vm $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image
- + mkdir -p $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)
- + mkdir -p $(DEBUG_BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR)
- + mkdir -p $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/ext
- + mkdir -p $(DEBUG_BUILD_OUTPUT_DIR)/j2re-image/lib/ext
- +@ZERO_BUILD_TRUE@ printf -- '-zero ALIASED_TO -server\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
- +@SHARK_BUILD_TRUE@ printf -- '-shark ALIASED_TO -server\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
- +@ENABLE_CACAO_TRUE@ printf -- '-cacao ALIASED_TO -server\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
- +@ENABLE_JAMVM_TRUE@ printf -- '-jamvm ALIASED_TO -server\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
- + @echo "IcedTea (debug build) is served:" \
- + $(DEBUG_BUILD_OUTPUT_DIR)
- + mkdir -p stamps
- + touch $@
- +
- +clean-icedtea:
- + rm -rf $(BUILD_OUTPUT_DIR)
- + rm -f stamps/icedtea.stamp stamps/icedtea-debug.stamp
- +
- +stamps/add-systemtap-debug.stamp: stamps/icedtea-debug.stamp
- +@ENABLE_SYSTEMTAP_TRUE@ mkdir -p $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset ; \
- +@ENABLE_SYSTEMTAP_TRUE@ grep "client IGNORE" $(BUILD_JRE_ARCH_DIR)/jvm.cfg; \
- +@ENABLE_SYSTEMTAP_TRUE@ if test $$? -eq 0; then \
- +@ENABLE_SYSTEMTAP_TRUE@ sed -e '/\/client\/libjvm.so/d' \
- +@ENABLE_SYSTEMTAP_TRUE@ < $(abs_top_builddir)/tapset/hotspot.stp \
- +@ENABLE_SYSTEMTAP_TRUE@ > $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot.stp; \
- +@ENABLE_SYSTEMTAP_TRUE@ sed -e '/\/client\/libjvm.so/d' \
- +@ENABLE_SYSTEMTAP_TRUE@ < $(abs_top_builddir)/tapset/hotspot_jni.stp \
- +@ENABLE_SYSTEMTAP_TRUE@ > $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_jni.stp; \
- +@ENABLE_SYSTEMTAP_TRUE@ sed -e '/\/client\/libjvm.so/d' \
- +@ENABLE_SYSTEMTAP_TRUE@ < $(abs_top_builddir)/tapset/hotspot_gc.stp \
- +@ENABLE_SYSTEMTAP_TRUE@ > $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_gc.stp; \
- +@ENABLE_SYSTEMTAP_TRUE@ else \
- +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/hotspot.stp \
- +@ENABLE_SYSTEMTAP_TRUE@ $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot.stp; \
- +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/hotspot_jni.stp \
- +@ENABLE_SYSTEMTAP_TRUE@ $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_jni.stp; \
- +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/hotspot_gc.stp \
- +@ENABLE_SYSTEMTAP_TRUE@ $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_gc.stp; \
- +@ENABLE_SYSTEMTAP_TRUE@ fi; \
- +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/jstack.stp \
- +@ENABLE_SYSTEMTAP_TRUE@ $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/jstack.stp
- + touch stamps/add-systemtap-debug.stamp
- +
- +clean-add-systemtap-debug:
- + rm -rf $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/tapset
- + rm -f stamps/add-systemtap-debug.stamp
- +
- +stamps/add-pulseaudio-debug.stamp: stamps/icedtea-debug.stamp $(PULSE_JAVA_TARGET)
- +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf $(PULSE_JAVA_NATIVE_BUILDDIR)/libpulse-java.so \
- +@ENABLE_PULSE_JAVA_TRUE@ $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)
- +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf $(PULSE_JAVA_NATIVE_BUILDDIR)/libpulse-java.so \
- +@ENABLE_PULSE_JAVA_TRUE@ $(DEBUG_BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR)
- +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf pulse-java.jar \
- +@ENABLE_PULSE_JAVA_TRUE@ $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/ext
- +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf pulse-java.jar \
- +@ENABLE_PULSE_JAVA_TRUE@ $(DEBUG_BUILD_OUTPUT_DIR)/j2re-image/lib/ext
- +@ENABLE_PULSE_JAVA_TRUE@ (cd $(PULSE_JAVA_JAVA_SRCDIR) && \
- +@ENABLE_PULSE_JAVA_TRUE@ $(ZIP) -qur $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/src.zip org )
- + touch stamps/add-pulseaudio-debug.stamp
- +
- +# Note: for simplicity, we don't revert the update of src.zip
- +clean-add-pulseaudio-debug:
- + rm -f $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/libpulse-java.so
- + rm -f $(DEBUG_BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR)/libpulse-java.so
- + rm -f $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/ext/pulse-java.jar
- + rm -f $(DEBUG_BUILD_OUTPUT_DIR)/j2re-image/lib/ext/pulse-java.jar
- + rm -f stamps/add-pulseaudio-debug.stamp
- +
- +stamps/add-tzdata-support-debug.stamp: stamps/icedtea-debug.stamp
- +@WITH_TZDATA_DIR_TRUE@ if [ -e $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib ] ; then \
- +@WITH_TZDATA_DIR_TRUE@ cp -v $(abs_top_builddir)/tz.properties \
- +@WITH_TZDATA_DIR_TRUE@ $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib; \
- +@WITH_TZDATA_DIR_TRUE@ fi
- + touch stamps/add-tzdata-support-debug.stamp
- +
- +clean-add-tzdata-support-debug:
- + if [ -e $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/tz.properties ] ; then \
- + rm -vf $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/tz.properties ; \
- + fi
- + rm -f stamps/add-tzdata-support-debug.stamp
- +
- +stamps/check-crypto-debug.stamp: stamps/cryptocheck.stamp stamps/icedtea-debug.stamp
- + if [ -e $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java ] ; then \
- + $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java -cp $(CRYPTO_CHECK_BUILD_DIR) TestCryptoLevel ; \
- + fi
- + mkdir -p stamps
- + touch $@
- +
- +clean-check-crypto-debug:
- + rm -f stamps/check-crypto-debug.stamp
- +
- +stamps/add-archive-debug.stamp: stamps/icedtea-debug.stamp
- +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_FALSE@@ZERO_BUILD_FALSE@ if [ -e $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java ] ; then \
- +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_FALSE@@ZERO_BUILD_FALSE@ $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java -Xshare:dump ; \
- +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_FALSE@@ZERO_BUILD_FALSE@ fi
- + touch stamps/add-archive-debug.stamp
- +
- +clean-add-archive-debug:
- + rm -vf $(DEBUG_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/*/*.jsa
- + rm -f stamps/add-archive-debug.stamp
- +
- +stamps/icedtea-stage2.stamp: stamps/icedtea.stamp stamps/add-cacao.stamp \
- + stamps/add-zero.stamp stamps/add-jamvm.stamp stamps/add-systemtap.stamp \
- + stamps/add-pulseaudio.stamp stamps/add-tzdata-support.stamp stamps/check-crypto.stamp \
- + stamps/add-archive.stamp
- + mkdir -p stamps
- + touch $@
- +
- +clean-icedtea-stage2: clean-add-jamvm clean-check-crypto clean-add-archive
- + rm -f stamps/icedtea-stage2.stamp
- +
- +stamps/icedtea-debug-stage2.stamp: stamps/icedtea-debug.stamp \
- + stamps/add-cacao-debug.stamp stamps/add-zero-debug.stamp stamps/add-jamvm-debug.stamp \
- + stamps/add-systemtap-debug.stamp stamps/add-pulseaudio-debug.stamp \
- + stamps/add/tzdata-support-debug.stamp stamps/check-crypto-debug.stamp \
- + stamps/add-archive-debug.stamp
- + mkdir -p stamps
- + touch $@
- +
- +clean-icedtea-debug-stage2: clean-add-jamvm-debug clean-check-crypto-debug \
- + clean-add-archive-debug
- + rm -f stamps/icedtea-debug-stage2.stamp
- +
- +# OpenJDK boot Targets
- +# ===================
- +
- +stamps/icedtea-boot.stamp: stamps/bootstrap-directory-symlink-stage1.stamp \
- + stamps/download.stamp $(OPENJDK_BOOT_TREE) stamps/cacao.stamp \
- + stamps/rewrite-rhino.stamp stamps/jamvm.stamp stamps/generated.stamp
- + $(ARCH_PREFIX) $(MAKE) -j1 \
- + $(ICEDTEA_ENV_BOOT) \
- + -C openjdk-boot \
- + $(ICEDTEA_BUILD_TARGET)
- + $(abs_top_builddir)/pax-mark-vm $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image
- + @echo "Bootstrapped IcedTea is served:" \
- + $(BOOT_BUILD_OUTPUT_DIR)
- + mkdir -p stamps
- + touch $@
- +
- +clean-icedtea-boot:
- + rm -rf $(BOOT_BUILD_OUTPUT_DIR)
- + rm -f stamps/icedtea-boot.stamp
- +
- +stamps/add-systemtap-boot.stamp: stamps/icedtea-boot.stamp
- +@ENABLE_SYSTEMTAP_TRUE@ mkdir -p $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset ; \
- +@ENABLE_SYSTEMTAP_TRUE@ grep "client IGNORE" $(BUILD_JRE_ARCH_DIR)/jvm.cfg; \
- +@ENABLE_SYSTEMTAP_TRUE@ if test $$? -eq 0; then \
- +@ENABLE_SYSTEMTAP_TRUE@ sed -e '/\/client\/libjvm.so/d' \
- +@ENABLE_SYSTEMTAP_TRUE@ < $(abs_top_builddir)/tapset/hotspot.stp \
- +@ENABLE_SYSTEMTAP_TRUE@ > $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot.stp; \
- +@ENABLE_SYSTEMTAP_TRUE@ sed -e '/\/client\/libjvm.so/d' \
- +@ENABLE_SYSTEMTAP_TRUE@ < $(abs_top_builddir)/tapset/hotspot_jni.stp \
- +@ENABLE_SYSTEMTAP_TRUE@ > $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_jni.stp; \
- +@ENABLE_SYSTEMTAP_TRUE@ sed -e '/\/client\/libjvm.so/d' \
- +@ENABLE_SYSTEMTAP_TRUE@ < $(abs_top_builddir)/tapset/hotspot_gc.stp \
- +@ENABLE_SYSTEMTAP_TRUE@ > $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_gc.stp; \
- +@ENABLE_SYSTEMTAP_TRUE@ else \
- +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/hotspot.stp \
- +@ENABLE_SYSTEMTAP_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot.stp; \
- +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/hotspot_jni.stp \
- +@ENABLE_SYSTEMTAP_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_jni.stp; \
- +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/hotspot_gc.stp \
- +@ENABLE_SYSTEMTAP_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/hotspot_gc.stp; \
- +@ENABLE_SYSTEMTAP_TRUE@ fi; \
- +@ENABLE_SYSTEMTAP_TRUE@ cp $(abs_top_builddir)/tapset/jstack.stp \
- +@ENABLE_SYSTEMTAP_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset/jstack.stp
- + touch stamps/add-systemtap-boot.stamp
- +
- +clean-add-systemtap-boot:
- + rm -rf $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/tapset
- + rm -f stamps/add-systemtap-boot.stamp
- +
- +stamps/add-pulseaudio-boot.stamp: stamps/icedtea-boot.stamp $(PULSE_JAVA_TARGET)
- +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf $(PULSE_JAVA_NATIVE_BUILDDIR)/libpulse-java.so \
- +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)
- +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf $(PULSE_JAVA_NATIVE_BUILDDIR)/libpulse-java.so \
- +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR)
- +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf pulse-java.jar \
- +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/ext
- +@ENABLE_PULSE_JAVA_TRUE@ cp -pPRf pulse-java.jar \
- +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2re-image/lib/ext
- +@ENABLE_PULSE_JAVA_TRUE@ (cd $(PULSE_JAVA_JAVA_SRCDIR) && \
- +@ENABLE_PULSE_JAVA_TRUE@ $(ZIP) -qur $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/src.zip org )
- + touch stamps/add-pulseaudio-boot.stamp
- +
- +# Note: for simplicity, we don't revert the update of src.zip
- +clean-add-pulseaudio-boot:
- + rm -f $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/libpulse-java.so
- + rm -f $(BOOT_BUILD_OUTPUT_DIR)/j2re-image/lib/$(INSTALL_ARCH_DIR)/libpulse-java.so
- + rm -f $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/ext/pulse-java.jar
- + rm -f $(BOOT_BUILD_OUTPUT_DIR)/j2re-image/lib/ext/pulse-java.jar
- + rm -f stamps/add-pulseaudio-boot.stamp
- +
- +stamps/add-tzdata-support-boot.stamp: stamps/icedtea-boot.stamp
- +@WITH_TZDATA_DIR_TRUE@ if [ -e $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib ] ; then \
- +@WITH_TZDATA_DIR_TRUE@ cp -v $(abs_top_builddir)/tz.properties \
- +@WITH_TZDATA_DIR_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib; \
- +@WITH_TZDATA_DIR_TRUE@ fi
- + touch stamps/add-tzdata-support-boot.stamp
- +
- +clean-add-tzdata-support-boot:
- + if [ -e $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/tz.properties ] ; then \
- + rm -vf $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/tz.properties ; \
- + fi
- + rm -f stamps/add-tzdata-support-boot.stamp
- +
- +stamps/check-crypto-boot.stamp: stamps/cryptocheck.stamp stamps/icedtea-boot.stamp
- + if [ -e $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java ] ; then \
- + $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java -cp $(CRYPTO_CHECK_BUILD_DIR) TestCryptoLevel ; \
- + fi
- + mkdir -p stamps
- + touch $@
- +
- +clean-check-crypto-boot:
- + rm -f stamps/check-crypto-boot.stamp
- +
- +stamps/add-archive-boot.stamp: stamps/icedtea-boot.stamp
- +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_FALSE@@ZERO_BUILD_FALSE@ if [ -e $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java ] ; then \
- +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_FALSE@@ZERO_BUILD_FALSE@ $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/bin/java -Xshare:dump ; \
- +@ENABLE_CACAO_FALSE@@ENABLE_JAMVM_FALSE@@ZERO_BUILD_FALSE@ fi
- + touch $@
- +
- +clean-add-archive-boot:
- + rm -vf $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/*/*.jsa
- + rm -f stamps/add-archive-boot.stamp
- +
- +stamps/icedtea-stage1.stamp: stamps/icedtea-boot.stamp \
- + stamps/add-systemtap-boot.stamp stamps/add-pulseaudio-boot.stamp \
- + stamps/add-tzdata-support-boot.stamp stamps/check-crypto-boot.stamp \
- + stamps/add-archive-boot.stamp
- + mkdir -p stamps
- + touch $@
- +
- +clean-icedtea-stage1: clean-add-systemtap-boot clean-add-pulseaudio-boot \
- + clean-add-tzdata-support-boot clean-check-crypto-boot clean-add-archive-boot
- + rm -f stamps/icedtea-stage1.stamp
- +
- +# Rebuild targets
- +
- +rebuild:
- +@BOOTSTRAPPING_TRUE@ rm -f stamps/icedtea-boot.stamp
- +@BOOTSTRAPPING_TRUE@ rm -f stamps/icedtea-stage1.stamp
- +@BOOTSTRAPPING_TRUE@ $(ARCH_PREFIX) $(MAKE) icedtea-stage1
- +@BOOTSTRAPPING_TRUE@ @echo "bootstrap-poured IcedTea is served (again):" $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image
- +@BOOTSTRAPPING_FALSE@ rm -f stamps/icedtea.stamp
- +@BOOTSTRAPPING_FALSE@ rm -f stamps/icedtea-stage2.stamp
- +@BOOTSTRAPPING_FALSE@ $(ARCH_PREFIX) $(MAKE) icedtea-stage2
- +@BOOTSTRAPPING_FALSE@ @echo "IcedTea is served (again):" $(BUILD_OUTPUT_DIR)/j2sdk-image
- +
- +hotspot:
- +@BOOTSTRAPPING_TRUE@ rm -f stamps/icedtea-boot.stamp
- +@BOOTSTRAPPING_TRUE@ rm -f stamps/icedtea-stage1.stamp
- +@BOOTSTRAPPING_TRUE@ $(ARCH_PREFIX) $(MAKE) ICEDTEA_BUILD_TARGET=hotspot icedtea-stage1
- +@BOOTSTRAPPING_TRUE@ mkdir -p \
- +@BOOTSTRAPPING_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/server
- +@BOOTSTRAPPING_TRUE@ cp $(BOOT_BUILD_OUTPUT_DIR)/$(SERVER_DIR)/libjvm.so \
- +@BOOTSTRAPPING_TRUE@ $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/server
- +@BOOTSTRAPPING_TRUE@ @echo "HotSpot is served:" $(BOOT_BUILD_OUTPUT_DIR)/j2sdk-image
- +@BOOTSTRAPPING_FALSE@ rm -f stamps/icedtea.stamp
- +@BOOTSTRAPPING_FALSE@ rm -f stamps/icedtea-stage2.stamp
- +@BOOTSTRAPPING_FALSE@ $(ARCH_PREFIX) $(MAKE) ICEDTEA_BUILD_TARGET=hotspot icedtea-stage2
- +@BOOTSTRAPPING_FALSE@ mkdir -p \
- +@BOOTSTRAPPING_FALSE@ $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/server
- +@BOOTSTRAPPING_FALSE@ cp $(BUILD_OUTPUT_DIR)/$(SERVER_DIR)/libjvm.so \
- +@BOOTSTRAPPING_FALSE@ $(BUILD_OUTPUT_DIR)/j2sdk-image/jre/lib/$(INSTALL_ARCH_DIR)/server
- +@BOOTSTRAPPING_FALSE@ @echo "HotSpot is served:" $(BUILD_OUTPUT_DIR)/j2sdk-image
- +
- +# PulseAudio based mixer
- +# (pulse-java)
- +
- +@ENABLE_PULSE_JAVA_TRUE@stamps/pulse-java.stamp: stamps/pulse-java-jar.stamp $(PULSE_JAVA_NATIVE_BUILDDIR)/libpulse-java.so
- +@ENABLE_PULSE_JAVA_TRUE@ mkdir -p stamps
- +@ENABLE_PULSE_JAVA_TRUE@ touch $@
- +
- +@ENABLE_PULSE_JAVA_TRUE@stamps/pulse-java-class.stamp: $(INITIAL_BOOTSTRAP_LINK_STAMP)
- +@ENABLE_PULSE_JAVA_TRUE@ mkdir -p $(PULSE_JAVA_CLASS_DIR)
- +@ENABLE_PULSE_JAVA_TRUE@ (cd $(PULSE_JAVA_JAVA_SRCDIR); \
- +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_DIR)/bin/javac $(IT_JAVACFLAGS) -d $(PULSE_JAVA_CLASS_DIR) \
- +@ENABLE_PULSE_JAVA_TRUE@ -bootclasspath $(RUNTIME) org/classpath/icedtea/pulseaudio/*.java \
- +@ENABLE_PULSE_JAVA_TRUE@ )
- +@ENABLE_PULSE_JAVA_TRUE@ cp -r $(PULSE_JAVA_JAVA_SRCDIR)/META-INF $(PULSE_JAVA_CLASS_DIR)
- +@ENABLE_PULSE_JAVA_TRUE@ chmod -R ug+w $(PULSE_JAVA_CLASS_DIR)/META-INF
- +@ENABLE_PULSE_JAVA_TRUE@ mkdir -p stamps
- +@ENABLE_PULSE_JAVA_TRUE@ touch $@
- +
- +@ENABLE_PULSE_JAVA_TRUE@stamps/pulse-java-jar.stamp: stamps/pulse-java-class.stamp
- +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_DIR)/bin/jar cf pulse-java.jar -C $(PULSE_JAVA_CLASS_DIR) .;
- +@ENABLE_PULSE_JAVA_TRUE@ mkdir -p stamps
- +@ENABLE_PULSE_JAVA_TRUE@ touch $@
- +
- +@ENABLE_PULSE_JAVA_TRUE@stamps/pulse-java-headers.stamp: stamps/pulse-java-class.stamp
- +@ENABLE_PULSE_JAVA_TRUE@ mkdir -p $(PULSE_JAVA_NATIVE_BUILDDIR)
- +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_DIR)/bin/javah -d $(PULSE_JAVA_NATIVE_BUILDDIR) -classpath $(PULSE_JAVA_CLASS_DIR) \
- +@ENABLE_PULSE_JAVA_TRUE@ -J-Xbootclasspath/p:$(PULSE_JAVA_CLASS_DIR) org.classpath.icedtea.pulseaudio.EventLoop ; \
- +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_DIR)/bin/javah -d $(PULSE_JAVA_NATIVE_BUILDDIR) -classpath $(PULSE_JAVA_CLASS_DIR) \
- +@ENABLE_PULSE_JAVA_TRUE@ -J-Xbootclasspath/p:$(PULSE_JAVA_CLASS_DIR) org.classpath.icedtea.pulseaudio.Stream ; \
- +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_DIR)/bin/javah -d $(PULSE_JAVA_NATIVE_BUILDDIR) -classpath $(PULSE_JAVA_CLASS_DIR) \
- +@ENABLE_PULSE_JAVA_TRUE@ -J-Xbootclasspath/p:$(PULSE_JAVA_CLASS_DIR) org.classpath.icedtea.pulseaudio.Operation; \
- +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_DIR)/bin/javah -d $(PULSE_JAVA_NATIVE_BUILDDIR) -classpath $(PULSE_JAVA_CLASS_DIR) \
- +@ENABLE_PULSE_JAVA_TRUE@ -J-Xbootclasspath/p:$(PULSE_JAVA_CLASS_DIR) org.classpath.icedtea.pulseaudio.PulseAudioSourcePort ; \
- +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_DIR)/bin/javah -d $(PULSE_JAVA_NATIVE_BUILDDIR) -classpath $(PULSE_JAVA_CLASS_DIR) \
- +@ENABLE_PULSE_JAVA_TRUE@ -J-Xbootclasspath/p:$(PULSE_JAVA_CLASS_DIR) org.classpath.icedtea.pulseaudio.PulseAudioTargetPort ; \
- +@ENABLE_PULSE_JAVA_TRUE@ $(BOOT_DIR)/bin/javah -d $(PULSE_JAVA_NATIVE_BUILDDIR) -classpath $(PULSE_JAVA_CLASS_DIR) \
- +@ENABLE_PULSE_JAVA_TRUE@ -J-Xbootclasspath/p:$(PULSE_JAVA_CLASS_DIR) org.classpath.icedtea.pulseaudio.ContextEvent
- +@ENABLE_PULSE_JAVA_TRUE@ mkdir -p stamps
- +@ENABLE_PULSE_JAVA_TRUE@ touch $@
- +
- +@ENABLE_PULSE_JAVA_TRUE@$(PULSE_JAVA_NATIVE_BUILDDIR)/%.o: $(PULSE_JAVA_NATIVE_SRCDIR)/%.c stamps/pulse-java-headers.stamp
- +@ENABLE_PULSE_JAVA_TRUE@ $(CC) $(IT_CFLAGS) -fPIC -I$(BOOT_DIR)/include/linux -I$(BOOT_DIR)/include \
- +@ENABLE_PULSE_JAVA_TRUE@ -I$(PULSE_JAVA_NATIVE_BUILDDIR) -o $@ -c $<
- +
- +@ENABLE_PULSE_JAVA_TRUE@$(PULSE_JAVA_NATIVE_BUILDDIR)/libpulse-java.so: $(PULSE_JAVA_NATIVE_OBJECTS)
- +@ENABLE_PULSE_JAVA_TRUE@ $(CC) $(LDFLAGS) -shared $(PULSE_JAVA_NATIVE_OBJECTS) $(LIBPULSE_LIBS) \
- +@ENABLE_PULSE_JAVA_TRUE@ -o $(PULSE_JAVA_NATIVE_BUILDDIR)/libpulse-java.so
- +
- +clean-pulse-java:
- + rm -rf $(PULSE_JAVA_NATIVE_BUILDDIR)
- + rm -rf $(PULSE_JAVA_CLASS_DIR)
- + rm -f pulse-java.jar
- + if [ -e $(PULSE_JAVA_BUILDDIR) ]; then \
- + rmdir $(PULSE_JAVA_BUILDDIR) ; \
- + fi
- + rm -f stamps/pulse-java*.stamp
- +
- +# end of pulse-java
- +
- +# Rhino support
- +
- +stamps/rewriter.stamp: $(INITIAL_BOOTSTRAP_LINK_STAMP)
- +@WITH_RHINO_TRUE@ mkdir -p $(REWRITER_BUILD_DIR)
- +@WITH_RHINO_TRUE@ $(BOOT_DIR)/bin/javac $(IT_JAVACFLAGS) \
- +@WITH_RHINO_TRUE@ -d $(REWRITER_BUILD_DIR) $(REWRITER_SRCS)
- + mkdir -p stamps
- + touch stamps/rewriter.stamp
- +
- +clean-rewriter:
- + rm -rf $(REWRITER_BUILD_DIR)
- + rm -f stamps/rewriter.stamp
- +
- +stamps/rewrite-rhino.stamp: stamps/rewriter.stamp $(RHINO_JAR)
- +@WITH_RHINO_TRUE@ mkdir -p rhino/rhino.{old,new} && \
- +@WITH_RHINO_TRUE@ (cd rhino/rhino.old && $(BOOT_DIR)/bin/jar xf $(RHINO_JAR)) && \
- +@WITH_RHINO_TRUE@ $(BOOT_DIR)/bin/java -cp $(REWRITER_BUILD_DIR) \
- +@WITH_RHINO_TRUE@ com.redhat.rewriter.ClassRewriter \
- +@WITH_RHINO_TRUE@ $(abs_top_builddir)/rhino/rhino.old $(abs_top_builddir)/rhino/rhino.new \
- +@WITH_RHINO_TRUE@ org.mozilla sun.org.mozilla && \
- +@WITH_RHINO_TRUE@ (cd rhino/rhino.old && \
- +@WITH_RHINO_TRUE@ for files in `find -type f -not -name '*.class'` ; do \
- +@WITH_RHINO_TRUE@ new_file=../rhino.new/`echo $$files|sed -e 's#org#sun/org#'` ; \
- +@WITH_RHINO_TRUE@ mkdir -p `dirname $$new_file` ; \
- +@WITH_RHINO_TRUE@ cp -v $$files $$new_file ; \
- +@WITH_RHINO_TRUE@ sed -ie 's#org\.mozilla#sun.org.mozilla#g' $$new_file ; \
- +@WITH_RHINO_TRUE@ done \
- +@WITH_RHINO_TRUE@ ) && \
- +@WITH_RHINO_TRUE@ (cd rhino/rhino.new && \
- +@WITH_RHINO_TRUE@ $(BOOT_DIR)/bin/jar cfm ../rhino.jar META-INF/MANIFEST.MF sun )
- + mkdir -p stamps
- + touch stamps/rewrite-rhino.stamp
- +
- +clean-rewrite-rhino:
- + rm -rf rhino/rhino.old
- + rm -rf rhino/rhino.new
- + rm -f rhino/rhino.jar
- + if [ -e rhino ] ; then \
- + rmdir rhino ; \
- + fi
- + rm -f stamps/rewrite-rhino.stamp
- +
- +# JamVM
- +
- +stamps/jamvm.stamp: $(OPENJDK_TREE) stamps/rt.stamp
- +@BUILD_JAMVM_TRUE@ cd jamvm/jamvm && \
- +@BUILD_JAMVM_TRUE@ ./autogen.sh --with-java-runtime-library=openjdk7 \
- +@BUILD_JAMVM_TRUE@ --prefix=$(abs_top_builddir)/jamvm/install ; \
- +@BUILD_JAMVM_TRUE@ $(MAKE) ; \
- +@BUILD_JAMVM_TRUE@ $(MAKE) install
- +@BUILD_JAMVM_TRUE@ mkdir -p $(abs_top_builddir)/jamvm/install/hotspot/jre/lib/$(INSTALL_ARCH_DIR)/server
- +@BUILD_JAMVM_TRUE@ cp $(abs_top_builddir)/jamvm/install/lib/libjvm.so $(abs_top_builddir)/jamvm/install/hotspot/jre/lib/$(INSTALL_ARCH_DIR)/server
- +@BUILD_JAMVM_TRUE@ ln -sf server $(abs_top_builddir)/jamvm/install/hotspot/jre/lib/$(INSTALL_ARCH_DIR)/client
- +@BUILD_JAMVM_TRUE@ touch $(abs_top_builddir)/jamvm/install/hotspot/jre/lib/$(INSTALL_ARCH_DIR)/server/Xusage.txt
- +@BUILD_JAMVM_TRUE@ ln -sf client/libjvm.so $(abs_top_builddir)/jamvm/install/hotspot/jre/lib/$(INSTALL_ARCH_DIR)/libjsig.so
- + mkdir -p stamps
- + touch stamps/jamvm.stamp
- +
- +clean-jamvm:
- + rm -rf jamvm
- + rm -f stamps/jamvm.stamp
- +
- +# Targets for additional VMs
- +
- +stamps/add-jamvm.stamp: stamps/icedtea.stamp stamps/jamvm.stamp
- +@ADD_JAMVM_BUILD_TRUE@ mkdir -p $(BUILD_JRE_ARCH_DIR)/jamvm
- +@ADD_JAMVM_BUILD_TRUE@ install -m 644 jamvm/install/lib/libjvm.so \
- +@ADD_JAMVM_BUILD_TRUE@ $(BUILD_JRE_ARCH_DIR)/jamvm/
- +@ADD_JAMVM_BUILD_TRUE@ printf -- '-jamvm KNOWN\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
- +@ADD_JAMVM_BUILD_FALSE@ printf -- '-jamvm ERROR\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
- + touch $@
- +
- +clean-add-jamvm:
- + rm -rf $(BUILD_JRE_ARCH_DIR)/jamvm
- + if [ -e $(BUILD_JRE_ARCH_DIR)/jvm.cfg ] ; then \
- + sed -i 's#-jamvm KNOWN#-jamvm ERROR#' $(BUILD_JRE_ARCH_DIR)/jvm.cfg ; \
- + fi
- + rm -f stamps/add-jamvm.stamp
- +
- +stamps/add-jamvm-debug.stamp: stamps/icedtea-debug.stamp stamps/jamvm.stamp
- +@ADD_JAMVM_BUILD_TRUE@ mkdir -p $(BUILD_DEBUG_JRE_ARCH_DIR)/jamvm
- +@ADD_JAMVM_BUILD_TRUE@ install -m 644 jamvm/install/lib/libjvm.so \
- +@ADD_JAMVM_BUILD_TRUE@ $(BUILD_DEBUG_JRE_ARCH_DIR)/jamvm/
- +@ADD_JAMVM_BUILD_TRUE@ printf -- '-jamvm KNOWN\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
- +@ADD_JAMVM_BUILD_FALSE@ printf -- '-jamvm ERROR\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
- + touch $@
- +
- +clean-add-jamvm-debug:
- + rm -rf $(BUILD_DEBUG_JRE_ARCH_DIR)/jamvm
- + if [ -e $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ] ; then \
- + sed -i 's#-jamvm KNOWN#-jamvm ERROR#' $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ; \
- + fi
- + rm -f stamps/add-jamvm-debug.stamp
- +
- +# CACAO
- +
- +stamps/cacao.stamp: stamps/rt.stamp
- +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ cd cacao/cacao && \
- +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ ./autogen.sh && \
- +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ $(ARCH_PREFIX) ./configure \
- +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ --host=$(host_alias) \
- +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ --build=$(build_alias) \
- +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ --target=$(target_alias) \
- +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ --prefix=$(abs_top_builddir)/cacao/install \
- +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ --with-java-runtime-library=openjdk7 \
- +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ --with-java-runtime-library-prefix=$(abs_top_builddir)/openjdk \
- +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ --with-java-runtime-library-classes=$(RUNTIME) \
- +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ --enable-jre-layout $(CACAO_CONFIGURE_ARGS); \
- +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ $(ARCH_PREFIX) $(MAKE) -j$(PARALLEL_JOBS) install
- +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ ln -sf server $(abs_top_builddir)/cacao/install/jre/lib/$(INSTALL_ARCH_DIR)/client
- +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ touch $(abs_top_builddir)/cacao/install/jre/lib/$(INSTALL_ARCH_DIR)/server/Xusage.txt
- +@BUILD_CACAO_TRUE@@USE_SYSTEM_CACAO_FALSE@ ln -sf client/libjvm.so $(abs_top_builddir)/cacao/install/jre/lib/$(INSTALL_ARCH_DIR)/libjsig.so
- + mkdir -p stamps
- + touch $@
- +
- +clean-cacao:
- + rm -rf cacao
- + rm -f stamps/cacao.stamp
- +
- +# targets for additional VMs
- +
- +stamps/add-cacao.stamp: stamps/icedtea.stamp stamps/cacao.stamp
- +@ADD_CACAO_BUILD_TRUE@ mkdir -p $(BUILD_JRE_ARCH_DIR)/cacao
- +@ADD_CACAO_BUILD_TRUE@ install -m 644 cacao/install/lib/libjvm.so \
- +@ADD_CACAO_BUILD_TRUE@ $(BUILD_JRE_ARCH_DIR)/cacao/
- +@ADD_CACAO_BUILD_TRUE@ install -m 644 cacao/install/jre/lib/$(INSTALL_ARCH_DIR)/libjsig.so \
- +@ADD_CACAO_BUILD_TRUE@ $(BUILD_JRE_ARCH_DIR)/cacao/
- +@ADD_CACAO_BUILD_TRUE@ install -m 644 cacao/install/jre/lib/$(INSTALL_ARCH_DIR)/server/Xusage.txt \
- +@ADD_CACAO_BUILD_TRUE@ $(BUILD_JRE_ARCH_DIR)/cacao/
- +@ADD_CACAO_BUILD_TRUE@ printf -- '-cacao KNOWN\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
- +@ADD_CACAO_BUILD_FALSE@ printf -- '-cacao ERROR\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
- + touch $@
- +
- +clean-add-cacao:
- + rm -rf $(BUILD_JRE_ARCH_DIR)/cacao
- + if [ -e $(BUILD_JRE_ARCH_DIR)/jvm.cfg ] ; then \
- + sed -i 's#-cacao KNOWN#-cacao ERROR#' $(BUILD_JRE_ARCH_DIR)/jvm.cfg ; \
- + fi
- + rm -f stamps/add-cacao.stamp
- +
- +stamps/add-cacao-debug.stamp: stamps/icedtea-debug.stamp stamps/cacao.stamp
- +@ADD_CACAO_BUILD_TRUE@ mkdir -p $(BUILD_DEBUG_JRE_ARCH_DIR)/cacao
- +@ADD_CACAO_BUILD_TRUE@ install -m 644 cacao/install/lib/libjvm.so \
- +@ADD_CACAO_BUILD_TRUE@ $(BUILD_DEBUG_JRE_ARCH_DIR)/cacao/
- +@ADD_CACAO_BUILD_TRUE@ install -m 644 cacao/install/jre/lib/$(INSTALL_ARCH_DIR)/libjsig.so \
- +@ADD_CACAO_BUILD_TRUE@ $(BUILD_DEBUG_JRE_ARCH_DIR)/cacao/
- +@ADD_CACAO_BUILD_TRUE@ install -m 644 cacao/install/jre/lib/$(INSTALL_ARCH_DIR)/server/Xusage.txt \
- +@ADD_CACAO_BUILD_TRUE@ $(BUILD_DEBUG_JRE_ARCH_DIR)/cacao/
- +@ADD_CACAO_BUILD_TRUE@ printf -- '-cacao KNOWN\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
- +@ADD_CACAO_BUILD_FALSE@ printf -- '-cacao ERROR\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
- + touch $@
- +
- +clean-add-cacao-debug:
- + rm -rf $(BUILD_DEBUG_JRE_ARCH_DIR)/cacao
- + if [ -e $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ] ; then \
- + sed -i 's#-cacao KNOWN#-cacao ERROR#' $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ; \
- + fi
- + rm -f stamps/add-cacao-debug.stamp
- +
- +stamps/add-zero.stamp: stamps/icedtea.stamp
- + mkdir -p stamps
- +@ADD_ZERO_BUILD_TRUE@ mkdir -p zerovm
- +
- +@ADD_ZERO_BUILD_TRUE@ cd zerovm && \
- +@ADD_ZERO_BUILD_TRUE@ $(ADD_ZERO_EXTRA_BUILD_ENV) \
- +@ADD_ZERO_BUILD_TRUE@ $(ARCH_PREFIX) $(abs_top_srcdir)/configure $(ADD_ZERO_CONFIGURE_ARGS)
- +
- +@ADD_ZERO_BUILD_TRUE@ $(ADD_ZERO_EXTRA_BUILD_ENV) \
- +@ADD_ZERO_BUILD_TRUE@ $(ARCH_PREFIX) $(MAKE) -C zerovm ICEDTEA_BUILD_TARGET=hotspot icedtea-stage2
- +
- +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_TRUE@ mkdir -p $(BUILD_JRE_ARCH_DIR)/shark
- +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_TRUE@ cp -a zerovm/$(BUILD_DIR)/hotspot/import/jre/lib/$(INSTALL_ARCH_DIR)/server/* \
- +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_TRUE@ $(BUILD_JRE_ARCH_DIR)/shark/
- +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_TRUE@ printf -- '-shark KNOWN\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
- +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_TRUE@ printf -- '-zero ERROR\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
- +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_FALSE@ mkdir -p $(BUILD_JRE_ARCH_DIR)/zero
- +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_FALSE@ cp -a zerovm/$(BUILD_DIR)/hotspot/import/jre/lib/$(INSTALL_ARCH_DIR)/server/* \
- +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_FALSE@ $(BUILD_JRE_ARCH_DIR)/zero/
- +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_FALSE@ printf -- '-zero KNOWN\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
- +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_FALSE@ printf -- '-shark ERROR\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
- +@ADD_ZERO_BUILD_FALSE@ printf -- '-zero ERROR\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
- +@ADD_ZERO_BUILD_FALSE@ printf -- '-shark ERROR\n' >> $(BUILD_JRE_ARCH_DIR)/jvm.cfg
- + touch $@
- +
- +clean-add-zero:
- + rm -rf $(BUILD_JRE_ARCH_DIR)/zero
- + rm -rf $(BUILD_JRE_ARCH_DIR)/shark
- + rm -rf zerovm
- + if [ -e $(BUILD_JRE_ARCH_DIR)/jvm.cfg ] ; then \
- + sed -i 's#-zero KNOWN#-zero ERROR#' $(BUILD_JRE_ARCH_DIR)/jvm.cfg ; \
- + sed -i 's#-shark KNOWN#-shark ERROR#' $(BUILD_JRE_ARCH_DIR)/jvm.cfg ; \
- + fi
- + rm -f stamps/add-zero.stamp
- +
- +stamps/add-zero-debug.stamp: stamps/icedtea-debug.stamp
- + mkdir -p stamps
- +@ADD_ZERO_BUILD_TRUE@ mkdir -p zerovm
- +
- +@ADD_ZERO_BUILD_TRUE@ cd zerovm && \
- +@ADD_ZERO_BUILD_TRUE@ $(ADD_ZERO_EXTRA_BUILD_ENV) \
- +@ADD_ZERO_BUILD_TRUE@ $(ARCH_PREFIX) $(abs_top_srcdir)/configure $(ADD_ZERO_CONFIGURE_ARGS)
- +
- +@ADD_ZERO_BUILD_TRUE@ $(ADD_ZERO_EXTRA_BUILD_ENV) \
- +@ADD_ZERO_BUILD_TRUE@ $(ARCH_PREFIX) $(MAKE) -C zerovm ICEDTEA_DEBUG_BUILD_TARGET=hotspot icedtea-stage2
- +
- +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_TRUE@ mkdir -p $(BUILD_DEBUG_JRE_ARCH_DIR)/shark
- +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_TRUE@ cp -a zerovm/$(BUILD_OUTPUT_DIR)/hotspot/import/jre/lib/$(INSTALL_ARCH_DIR)/server/* \
- +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_TRUE@ $(BUILD_DEBUG_JRE_ARCH_DIR)/shark/
- +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_TRUE@ printf -- '-shark KNOWN\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
- +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_FALSE@ mkdir -p $(BUILD_DEBUG_JRE_ARCH_DIR)/zero
- +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_FALSE@ cp -a zerovm/$(BUILD_OUTPUT_DIR)/hotspot/import/jre/lib/$(INSTALL_ARCH_DIR)/server/* \
- +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_FALSE@ $(BUILD_DEBUG_JRE_ARCH_DIR)/zero/
- +@ADD_ZERO_BUILD_TRUE@@ZERO_BUILD_FALSE@ printf -- '-zero KNOWN\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
- +@ADD_ZERO_BUILD_FALSE@ printf -- '-zero ERROR\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
- +@ADD_ZERO_BUILD_FALSE@ printf -- '-shark ERROR\n' >> $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg
- + touch $@
- +
- +clean-add-zero-debug:
- + rm -rf $(BUILD_DEBUG_JRE_ARCH_DIR)/zero
- + rm -rf $(BUILD_DEBUG_JRE_ARCH_DIR)/shark
- + rm -rf zerovm
- + if [ -e $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ] ; then \
- + sed -i 's#-zero KNOWN#-zero ERROR#' $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ; \
- + sed -i 's#-shark KNOWN#-shark ERROR#' $(BUILD_DEBUG_JRE_ARCH_DIR)/jvm.cfg ; \
- + fi
- + rm -f stamps/add-zero-debug.stamp
- +
- +# end additional VMs
- +
- +# jtreg
- +
- +stamps/jtreg.stamp: stamps/icedtea-stage2.stamp
- + rm -rf test/jtreg/classes
- + mkdir -p test/jtreg/classes
- + $(BOOT_DIR)/bin/javac $(IT_JAVACFLAGS) -d test/jtreg/classes \
- + `find $(abs_top_srcdir)/test/jtreg/com -name '*.java'`
- + (cd $(abs_top_srcdir)/test/jtreg; \
- + $(BOOT_DIR)/bin/jar cfm $(abs_top_builddir)/test/jtreg.jar \
- + META-INF/MANIFEST.MF \
- + legal README JavaTest.cmdMgrs.lst JavaTest.toolMgrs.lst \
- + `find com -type f -a -not -name '*.java'` \
- + -C $(abs_top_builddir)/test/jtreg/classes com)
- + mkdir -p stamps
- + touch $@
- +
- +clean-jtreg:
- + rm -rf test/jtreg/classes
- + if [ $(abs_top_srcdir) != $(abs_top_builddir) ] ; then \
- + if [ -e test/jtreg ] ; then \
- + rmdir test/jtreg ; \
- + fi ; \
- + fi
- + rm -f test/jtreg.jar
- + rm -f stamps/jtreg.stamp
- +
- +check-hotspot: stamps/jtreg.stamp
- + mkdir -p test/hotspot/JTwork test/hotspot/JTreport
- + $(BOOT_DIR)/bin/java -jar test/jtreg.jar -v1 -a -ignore:quiet \
- + -w:test/hotspot/JTwork -r:test/hotspot/JTreport \
- + -jdk:$(BUILD_OUTPUT_DIR)/j2sdk-image \
- + $(ICEDTEA_JTREG_OPTIONS) \
- + `pwd`/openjdk/hotspot/test \
- + | tee test/$@.log
- +
- +check-langtools: stamps/jtreg.stamp
- + mkdir -p test/langtools/JTwork test/langtools/JTreport
- + $(BOOT_DIR)/bin/java -jar test/jtreg.jar -v1 -a -ignore:quiet \
- + -w:test/langtools/JTwork -r:test/langtools/JTreport \
- + $${ICEDTEA_JTREG_OTHERVM:--samevm} \
- + -jdk:$(BUILD_OUTPUT_DIR)/j2sdk-image \
- + $(ICEDTEA_JTREG_OPTIONS) \
- + -exclude:$(abs_top_srcdir)/test/jtreg/excludelist.langtools.jtx \
- + `pwd`/openjdk/langtools/test \
- + | tee test/$@.log
- +
- +check-jdk: stamps/jtreg.stamp
- + mkdir -p test/jdk/JTwork test/jdk/JTreport
- +@ENABLE_CACAO_TRUE@ CACAO_EXCLUDE="-exclude:$(abs_top_srcdir)/test/jtreg/excludelist.jdk.cacao.jtx"
- + if test "x$${DISPLAY}" = "x"; then XVFB_RUN="@XVFB_RUN_CMD@"; fi; \
- + if test "x$${DISPLAY}" = "x" && test "x$${XVFB_RUN}" = "x"; then \
- + echo "WARNING: DISPLAY not set and xvfb-run not found"; \
- + fi; \
- + $${XVFB_RUN} \
- + $(BOOT_DIR)/bin/java -jar test/jtreg.jar -v1 -a -ignore:quiet \
- + -w:test/jdk/JTwork -r:test/jdk/JTreport \
- + $${ICEDTEA_JTREG_OTHERVM:--samevm} \
- + -jdk:$(BUILD_OUTPUT_DIR)/j2sdk-image \
- + $(ICEDTEA_JTREG_OPTIONS) $(CACAO_EXCLUDE) \
- + -exclude:$(abs_top_srcdir)/test/jtreg/excludelist.jdk.jtx \
- + `pwd`/openjdk/jdk/test \
- + | tee test/$@.log
- +
- +clean-jtreg-reports:
- + rm -rf test/hotspot test/langtools test/jdk
- + rm -f test/check-*.log test/jtreg-summary.log
- +
- +jtregcheck: $(TESTS_TO_RUN)
- + for i in $(TEST_SUITES); do \
- + echo "--------------- jtreg console summary for $$i ---------------"; \
- + egrep -v '^(Passed:|Directory|Re[a-z]+\ written\ to)' test/check-$$i.log; \
- + done | tee test/jtreg-summary.log
- +
- + : # kill testsuite processes still hanging
- + @pids=$$($(jtreg_pids)); \
- + if [ -n "$$pids" ]; then \
- + echo "killing processes..."; \
- + $(jtreg_processes); \
- + kill -1 $$pids; \
- + sleep 2; \
- + pids=$$($(jtreg_pids)); \
- + if [ -n "$$pids" ]; then \
- + echo "try harder..."; \
- + $(jtreg_processes); \
- + kill -9 $$pids; \
- + sleep 2; \
- + fi; \
- + else \
- + echo "nothing to cleanup"; \
- + fi; \
- + pids=$$($(jtreg_pids)); \
- + if [ -n "$$pids" ]; then \
- + echo "leftover processes..."; \
- + $(jtreg_processes); \
- + fi
- +
- +check-tapset-probes:
- +@ENABLE_SYSTEMTAP_TRUE@ $(abs_top_srcdir)/test/tapset/jstaptest.pl \
- +@ENABLE_SYSTEMTAP_TRUE@ -B $(BUILD_OUTPUT_DIR) -A $(BUILD_ARCH_DIR) \
- +@ENABLE_SYSTEMTAP_TRUE@ -S $(abs_top_srcdir)/test/tapset \
- +@ENABLE_SYSTEMTAP_TRUE@ -a test/check-stap.log -p
- +check-tapset-jstack:
- +@ENABLE_SYSTEMTAP_TRUE@ $(abs_top_srcdir)/test/tapset/jstaptest.pl \
- +@ENABLE_SYSTEMTAP_TRUE@ -B $(BUILD_OUTPUT_DIR) -A $(BUILD_ARCH_DIR) \
- +@ENABLE_SYSTEMTAP_TRUE@ -S $(abs_top_srcdir)/test/tapset \
- +@ENABLE_SYSTEMTAP_TRUE@ -a test/check-stap.log -j
- +check-tapset: check-tapset-probes check-tapset-jstack
- +
- +clean-tapset-report:
- +@ENABLE_SYSTEMTAP_TRUE@ rm -f test/check-stap.log
- +
- +# Support classes for non-OpenJDK bootstraps
- +
- +rt-source-files.txt: $(OPENJDK_BOOT_TREE)
- + rm -f $@
- + for files in $(ICEDTEA_BOOTSTRAP_CLASSES) ; \
- + do \
- + echo $$files >> $@ ; \
- + done
- + touch $@
- +
- +stamps/rt-class-files.stamp: $(INITIAL_BOOTSTRAP_LINK_STAMP) rt-source-files.txt
- + mkdir -p lib/rt
- + if echo $(ICEDTEA_BOOTSTRAP_CLASSES) | grep '\S' &> /dev/null ; then \
- + $(BOOT_DIR)/bin/javac $(IT_JAVACFLAGS) -d lib/rt \
- + -classpath $(SYSTEM_JDK_DIR)/jre/lib/rt.jar \
- + -sourcepath '$(SOURCEPATH_DIRS)' \
- + -bootclasspath \'\' @rt-source-files.txt ; \
- + fi
- + mkdir -p stamps
- + touch $@
- +
- +stamps/rt.stamp: stamps/rt-class-files.stamp
- + if echo $(ICEDTEA_BOOTSTRAP_CLASSES) | grep '\S' &> /dev/null ; then \
- + (set -e ; \
- + cd lib/rt ; \
- + for dirs in $(ICEDTEA_BOOTSTRAP_RESOURCES) ; \
- + do \
- + destpath=`echo $$dirs|sed -e 's#$(LANGTOOLS)/##' -e 's#$(SHARE)/##'` ; \
- + mkdir -p `dirname $$destpath` ; \
- + cp -a ../../$$dirs $$destpath ; \
- + done ; \
- + if [ -w $(STAGE1_BOOT_RUNTIME) ] ; then \
- + $(ZIP) -qur $(STAGE1_BOOT_RUNTIME) com java javax sun ; \
- + fi ; ) \
- + fi
- + mkdir -p stamps
- + touch $@
- +
- +clean-rt:
- + rm -rf lib/rt
- + rm -f stamps/rt-class-files.stamp stamps/rt.stamp
- + rm -f rt-source-files.txt
- + if [ -e $(STAGE1_BOOT_DIR)/jre/lib ] ; then \
- + cp $(SYSTEM_JDK_DIR)/jre/lib/rt.jar $(STAGE1_BOOT_RUNTIME) ; \
- + chmod u+w $(STAGE1_BOOT_RUNTIME) ; \
- + fi
- +
- +# Crypto Level Check
- +
- +stamps/cryptocheck.stamp: $(INITIAL_BOOTSTRAP_LINK_STAMP)
- + mkdir -p $(CRYPTO_CHECK_BUILD_DIR)
- + $(BOOT_DIR)/bin/javac $(IT_JAVACFLAGS) \
- + -d $(CRYPTO_CHECK_BUILD_DIR) $(CRYPTO_CHECK_SRCS)
- + mkdir -p stamps
- + touch $@
- +
- +clean-cryptocheck:
- + rm -rf $(CRYPTO_CHECK_BUILD_DIR)
- + rm -f stamps/cryptocheck.stamp
- +
- +# Target Aliases
- +# ===============
- +
- +add-archive: stamps/add-archive.stamp
- +
- +add-archive-boot: stamps/add-archive-ecj.stamp
- +
- +add-archive-debug: stamps/add-archive-debug.stamp
- +
- +add-nss: stamps/add-nss.stamp
- +
- +add-nss-debug: stamps/add-nss-debug.stamp
- +
- +add-pulseaudio: stamps/add-pulseaudio.stamp
- +
- +add-pulseaudio-debug: stamps/add-pulseaudio-debug.stamp
- +
- +add-systemtap: stamps/add-systemtap.stamp
- +
- +add-systemtap-debug: stamps/add-systemtap-debug.stamp
- +
- +add-tzdata-support: stamps/add-tzdata-support.stamp
- +
- +add-tzdata-support-debug: stamps/add-tzdata-support-debug.stamp
- +
- +add-zero: stamps/add-zero.stamp
- +
- +add-zero-debug: stamps/add-zero-debug.stamp
- +
- +bootstrap-directory-stage1: stamps/bootstrap-directory-stage1.stamp
- +
- +bootstrap-directory-stage2: stamps/bootstrap-directory-stage2.stamp
- +
- +bootstrap-directory-symlink-stage1: stamps/bootstrap-directory-symlink-stage1.stamp
- +
- +bootstrap-directory-symlink-stage2: stamps/bootstrap-directory-symlink-stage2.stamp
- +
- +cacao: stamps/cacao.stamp
- +
- +check-crypto: stamps/check-crypto.stamp
- +
- +check-crypto-boot: stamps/check-crypto-boot.stamp
- +
- +check-crypto-debug: stamps/check-crypto-debug.stamp
- +
- +clone-boot: stamps/clone-boot.stamp
- +
- +cryptocheck: stamps/cryptocheck.stamp
- +
- +download: stamps/download.stamp
- +
- +download-cacao: stamps/download-cacao.stamp
- +
- +download-jamvm: stamps/download-jamvm.stamp
- +
- +download-jaf-drop: stamps/download-jaf-drop.stamp
- +
- +download-jaxp-drop: stamps/download-jaxp-drop.stamp
- +
- +download-jaxws-drop: stamps/download-jaxws-drop.stamp
- +
- +download-openjdk: stamps/download-openjdk.stamp
- +
- +extract: stamps/extract.stamp
- +
- +extract-cacao: stamps/extract-cacao.stamp
- +
- +extract-openjdk: stamps/extract-openjdk.stamp
- +
- +extract-hotspot: stamps/extract-hotspot.stamp
- +
- +generated: stamps/generated.stamp
- +
- +icedtea: stamps/icedtea.stamp
- +
- +icedtea-boot: stamps/icedtea-boot.stamp
- +
- +icedtea-debug: stamps/icedtea-debug.stamp
- +
- +icedtea-debug-stage2: stamps/icedtea-debug-stage2.stamp
- +
- +icedtea-stage1: stamps/icedtea-stage1.stamp
- +
- +icedtea-stage2: stamps/icedtea-stage2.stamp
- +
- +jamvm: stamps/jamvm.stamp
- +
- +jtreg: stamps/jtreg.stamp
- +
- +native-ecj: stamps/native-ecj.stamp
- +
- +overlay: stamps/overlay.stamp
- +
- +patch: stamps/patch.stamp
- +
- +patch-boot: stamps/patch-boot.stamp
- +
- +patch-fsg: stamps/patch-fsg.stamp
- +
- +pulse-java: $(PULSE_JAVA_TARGET)
- +
- +rewriter: stamps/rewriter.stamp
- +
- +rewrite-rhino: stamps/rewrite-rhino.stamp
- +
- +rt: stamps/rt.stamp
- +
- +rt-class-files: stamps/rt-class-files.stamp
- +
- +sanitise-openjdk: stamps/sanitise-openjdk.stamp
- +
- +# Tell versions [3.59,3.63) of GNU make to not export all variables.
- +# Otherwise a system limit (for SysV at least) may be exceeded.
- +.NOEXPORT:
- diff -Nur icedtea-2.4.5.orig/patches/openadk.patch icedtea-2.4.5/patches/openadk.patch
- --- icedtea-2.4.5.orig/patches/openadk.patch 1970-01-01 01:00:00.000000000 +0100
- +++ icedtea-2.4.5/patches/openadk.patch 2014-02-12 12:48:40.000000000 +0100
- @@ -0,0 +1,687 @@
- +diff -Nur openjdk.orig/hotspot/src/os/linux/vm/os_linux.cpp openjdk/hotspot/src/os/linux/vm/os_linux.cpp
- +--- openjdk.orig/hotspot/src/os/linux/vm/os_linux.cpp 2014-01-28 18:58:08.000000000 +0100
- ++++ openjdk/hotspot/src/os/linux/vm/os_linux.cpp 2014-02-10 11:31:48.000000000 +0100
- +@@ -112,7 +112,6 @@
- + # include <string.h>
- + # include <syscall.h>
- + # include <sys/sysinfo.h>
- +-# include <gnu/libc-version.h>
- + # include <sys/ipc.h>
- + # include <sys/shm.h>
- + # include <link.h>
- +@@ -650,9 +649,7 @@
- + os::Linux::set_glibc_version(str);
- + } else {
- + // _CS_GNU_LIBC_VERSION is not supported, try gnu_get_libc_version()
- +- static char _gnu_libc_version[32];
- +- jio_snprintf(_gnu_libc_version, sizeof(_gnu_libc_version),
- +- "glibc %s %s", gnu_get_libc_version(), gnu_get_libc_release());
- ++ static char _gnu_libc_version[32] = "2.9";
- + os::Linux::set_glibc_version(_gnu_libc_version);
- + }
- +
- +@@ -2951,10 +2948,7 @@
- + // If we are running with earlier version, which did not have symbol versions,
- + // we should use the base version.
- + void* os::Linux::libnuma_dlsym(void* handle, const char *name) {
- +- void *f = dlvsym(handle, name, "libnuma_1.1");
- +- if (f == NULL) {
- +- f = dlsym(handle, name);
- +- }
- ++ void *f = dlsym(handle, name);
- + return f;
- + }
- +
- +@@ -5312,7 +5306,21 @@
- + // Linux doesn't yet have a (official) notion of processor sets,
- + // so just return the system wide load average.
- + int os::loadavg(double loadavg[], int nelem) {
- +- return ::getloadavg(loadavg, nelem);
- ++ FILE *LOADAVG;
- ++ double avg[3] = { 0.0, 0.0, 0.0 };
- ++ int i, res = -1;;
- ++
- ++ if ((LOADAVG = fopen("/proc/loadavg", "r"))) {
- ++ fscanf(LOADAVG, "%lf %lf %lf", &avg[0], &avg[1], &avg[2]);
- ++ res = 0;
- ++ fclose(LOADAVG);
- ++ }
- ++
- ++ for (i = 0; (i < nelem) && (i < 3); i++) {
- ++ loadavg[i] = avg[i];
- ++ }
- ++
- ++ return res;
- + }
- +
- + void os::pause() {
- +diff -Nur openjdk.orig/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp
- +--- openjdk.orig/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp 2014-01-28 18:58:08.000000000 +0100
- ++++ openjdk/hotspot/src/share/vm/utilities/globalDefinitions_gcc.hpp 2014-02-10 11:31:48.000000000 +0100
- +@@ -253,7 +253,7 @@
- + #elif defined(__APPLE__)
- + inline int g_isnan(double f) { return isnan(f); }
- + #elif defined(LINUX) || defined(_ALLBSD_SOURCE)
- +-inline int g_isnan(float f) { return isnanf(f); }
- ++inline int g_isnan(float f) { return __isnanf(f); }
- + inline int g_isnan(double f) { return isnan(f); }
- + #else
- + #error "missing platform-specific definition here"
- +@@ -267,8 +267,8 @@
- +
- + // Checking for finiteness
- +
- +-inline int g_isfinite(jfloat f) { return finite(f); }
- +-inline int g_isfinite(jdouble f) { return finite(f); }
- ++inline int g_isfinite(jfloat f) { return isfinite(f); }
- ++inline int g_isfinite(jdouble f) { return isfinite(f); }
- +
- +
- + // Wide characters
- +diff -Nur openjdk.orig/jdk/make/com/sun/java/pack/Makefile openjdk/jdk/make/com/sun/java/pack/Makefile
- +--- openjdk.orig/jdk/make/com/sun/java/pack/Makefile 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/make/com/sun/java/pack/Makefile 2014-02-10 11:31:48.000000000 +0100
- +@@ -79,7 +79,7 @@
- + OTHER_CXXFLAGS += $(ZLIB_CFLAGS) -DSYSTEM_ZLIB
- + endif
- + else
- +- OTHER_CXXFLAGS += -DNO_ZLIB -DUNPACK_JNI
- ++ CXXFLAGS_COMMON += -DNO_ZLIB -DUNPACK_JNI
- + OTHER_LDLIBS += $(JVMLIB)
- + endif
- +
- +diff -Nur openjdk.orig/jdk/make/com/sun/nio/sctp/Makefile openjdk/jdk/make/com/sun/nio/sctp/Makefile
- +--- openjdk.orig/jdk/make/com/sun/nio/sctp/Makefile 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/make/com/sun/nio/sctp/Makefile 2014-02-10 11:31:48.000000000 +0100
- +@@ -64,7 +64,7 @@
- + COMPILER_WARNINGS_FATAL=true
- + endif
- + #OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -ljava -lnet -lpthread -ldl
- +-OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -lnio -lnet -lpthread -ldl
- ++OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -lnio -ljavanet -lpthread -ldl
- + endif
- + ifeq ($(PLATFORM), solaris)
- + #LIBSCTP = -lsctp
- +diff -Nur openjdk.orig/jdk/make/common/Defs.gmk openjdk/jdk/make/common/Defs.gmk
- +--- openjdk.orig/jdk/make/common/Defs.gmk 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/make/common/Defs.gmk 2014-02-10 11:31:48.000000000 +0100
- +@@ -204,7 +204,7 @@
- + ifeq ($(PLATFORM), macosx)
- + FREETYPE_HEADERS_PATH = /usr/X11R6/include
- + else
- +- FREETYPE_HEADERS_PATH = /usr/include
- ++ FREETYPE_HEADERS_PATH = /usr/include/disabled
- + endif
- + endif
- + endif
- +diff -Nur openjdk.orig/jdk/make/common/Sanity.gmk openjdk/jdk/make/common/Sanity.gmk
- +--- openjdk.orig/jdk/make/common/Sanity.gmk 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/make/common/Sanity.gmk 2014-02-12 12:28:47.000000000 +0100
- +@@ -91,8 +91,7 @@
- + sane-ld_run_path \
- + sane-alt_bootdir \
- + sane-bootdir \
- +- sane-local-bootdir \
- +- sane-alsa-headers
- ++ sane-local-bootdir
- +
- + ifdef OPENJDK
- + sanity-all:: sane-freetype
- +diff -Nur openjdk.orig/jdk/make/common/shared/Platform.gmk openjdk/jdk/make/common/shared/Platform.gmk
- +--- openjdk.orig/jdk/make/common/shared/Platform.gmk 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/make/common/shared/Platform.gmk 2014-02-10 11:32:16.000000000 +0100
- +@@ -160,9 +160,6 @@
- + else
- + mach := $(shell uname -m)
- + endif
- +- ifneq (,$(wildcard /usr/bin/dpkg-architecture))
- +- 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/')
- +- endif
- + archExpr = case "$(mach)" in \
- + i[3-9]86) \
- + echo i586 \
- +diff -Nur openjdk.orig/jdk/make/common/shared/Sanity.gmk openjdk/jdk/make/common/shared/Sanity.gmk
- +--- openjdk.orig/jdk/make/common/shared/Sanity.gmk 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/make/common/shared/Sanity.gmk 2014-02-12 12:31:12.000000000 +0100
- +@@ -114,11 +114,6 @@
- + elif [ -f /etc/lsb-release ] ; then \
- + $(EGREP) DISTRIB_RELEASE /etc/lsb-release | $(SED) -e 's@.*DISTRIB_RELEASE=\(.*\)@\1@'; \
- + fi)
- +- ALSA_INCLUDE=/usr/include/alsa/version.h
- +- ALSA_LIBRARY=/usr/lib/libasound.so
- +- _ALSA_VERSION := $(shell $(EGREP) SND_LIB_VERSION_STR $(ALSA_INCLUDE) | \
- +- $(SED) -e 's@.*"\(.*\)".*@\1@' )
- +- ALSA_VERSION := $(call GetVersion,$(_ALSA_VERSION))
- + endif
- +
- + ifeq ($(PLATFORM), macosx)
- +@@ -225,7 +220,6 @@
- + sane-compiler \
- + sane-link \
- + sane-cacerts \
- +- sane-alsa-headers \
- + sane-ant_version \
- + sane-zip_version \
- + sane-unzip_version \
- +@@ -1381,34 +1375,6 @@
- + endif
- + endif
- +
- +-######################################################
- +-# Check that ALSA headers and libs are installed and
- +-# that the header has the right version. We only
- +-# need /usr/include/alsa/version.h and /usr/lib/libasound.so
- +-######################################################
- +-
- +-ifdef REQUIRED_ALSA_VERSION
- +- ALSA_CHECK := $(call CheckVersions,$(ALSA_VERSION),$(REQUIRED_ALSA_VERSION))
- +-endif
- +-sane-alsa-headers:
- +-ifdef REQUIRED_ALSA_VERSION
- +- @if [ "$(ALSA_CHECK)" != "missing" ] ; then \
- +- if [ "$(ALSA_CHECK)" != "same" -a "$(ALSA_CHECK)" != "newer" ] ; then \
- +- $(ECHO) "ERROR: The ALSA version must be $(REQUIRED_ALSA_VERSION) or higher. \n" \
- +- " You have the following ALSA version installed: $${alsa_version} \n" \
- +- " Please reinstall ALSA (drivers and lib). You can download \n" \
- +- " the source distribution from http://www.alsa-project.org \n" \
- +- " or go to http://www.freshrpms.net/docs/alsa/ for precompiled RPM packages. \n" \
- +- "" >> $(ERROR_FILE) ; \
- +- fi ; \
- +- else \
- +- $(ECHO) "ERROR: You seem to not have installed ALSA $(REQUIRED_ALSA_VERSION) or higher. \n" \
- +- " Please install ALSA (drivers and lib). You can download the \n" \
- +- " source distribution from http://www.alsa-project.org or go to \n" \
- +- " http://www.freshrpms.net/docs/alsa/ for precompiled RPM packages. \n" \
- +- "" >> $(ERROR_FILE) ; \
- +- fi
- +-endif
- +
- + # If a sanity file doesn't exist, just make sure it's dir exists
- + $(SANITY_FILES):
- +diff -Nur openjdk.orig/jdk/make/java/instrument/Makefile openjdk/jdk/make/java/instrument/Makefile
- +--- openjdk.orig/jdk/make/java/instrument/Makefile 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/make/java/instrument/Makefile 2014-02-10 11:31:49.000000000 +0100
- +@@ -140,6 +140,8 @@
- + # We don't want to link against -ljava
- + JAVALIB=
- +
- ++OTHER_LDLIBS += -liconv
- ++
- + #
- + # Add to ambient vpath so we pick up the library files
- + #
- +diff -Nur openjdk.orig/jdk/make/java/net/Makefile openjdk/jdk/make/java/net/Makefile
- +--- openjdk.orig/jdk/make/java/net/Makefile 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/make/java/net/Makefile 2014-02-10 11:31:49.000000000 +0100
- +@@ -25,7 +25,7 @@
- +
- + BUILDDIR = ../..
- + PACKAGE = java.net
- +-LIBRARY = net
- ++LIBRARY = javanet
- + PRODUCT = sun
- + include $(BUILDDIR)/common/Defs.gmk
- +
- +diff -Nur openjdk.orig/jdk/make/java/nio/Makefile openjdk/jdk/make/java/nio/Makefile
- +--- openjdk.orig/jdk/make/java/nio/Makefile 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/make/java/nio/Makefile 2014-02-10 11:31:49.000000000 +0100
- +@@ -373,7 +373,7 @@
- + endif
- +
- + ifeq ($(PLATFORM), linux)
- +- OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -ljava -lnet -lpthread $(LIBDL)
- ++ OTHER_LDLIBS += -L$(LIBDIR)/$(LIBARCH) -ljava -ljavanet -lpthread $(LIBDL)
- + ifdef USE_SYSTEM_GIO
- + OTHER_LDLIBS += $(GIO_LIBS)
- + OTHER_INCLUDES += $(GIO_CFLAGS) -DUSE_SYSTEM_GIO
- +@@ -927,7 +927,7 @@
- +
- + $(GENSOR_EXE) : $(TEMPDIR)/$(GENSOR_SRC)
- + $(prep-target)
- +- ($(CD) $(TEMPDIR); $(NIO_CC) $(CPPFLAGS) $(LDDFLAGS) \
- ++ ($(CD) $(TEMPDIR); $(HOST_CC) $(CPPFLAGS_FOR_BUILD) $(LDDFLAGS) \
- + -o genSocketOptionRegistry$(EXE_SUFFIX) $(GENSOR_SRC))
- +
- + ifdef NIO_PLATFORM_CLASSES_ROOT_DIR
- +@@ -963,7 +963,7 @@
- +
- + $(GENUC_EXE) : $(GENUC_SRC)
- + $(prep-target)
- +- $(NIO_CC) $(CPPFLAGS) -o $@ $(GENUC_SRC)
- ++ $(HOST_CC) $(CPPFLAGS_FOR_BUILD) -o $@ $(GENUC_SRC)
- +
- + ifdef NIO_PLATFORM_CLASSES_ROOT_DIR
- + $(SFS_GEN)/UnixConstants.java: $(NIO_PLATFORM_CLASSES_ROOT_DIR)/sun/nio/fs/UnixConstants-$(PLATFORM)-$(ARCH).java
- +diff -Nur openjdk.orig/jdk/make/java/npt/Makefile openjdk/jdk/make/java/npt/Makefile
- +--- openjdk.orig/jdk/make/java/npt/Makefile 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/make/java/npt/Makefile 2014-02-10 11:31:49.000000000 +0100
- +@@ -64,6 +64,8 @@
- + # We don't want to link against -ljava
- + JAVALIB=
- +
- ++OTHER_LDLIBS += -liconv
- ++
- + # Add -export options to explicitly spell exported symbols
- + ifeq ($(PLATFORM), windows)
- + OTHER_LCF += -export:nptInitialize -export:nptTerminate
- +diff -Nur openjdk.orig/jdk/make/sun/awt/mawt.gmk openjdk/jdk/make/sun/awt/mawt.gmk
- +--- openjdk.orig/jdk/make/sun/awt/mawt.gmk 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/make/sun/awt/mawt.gmk 2014-02-10 11:31:49.000000000 +0100
- +@@ -151,22 +151,6 @@
- + #endif
- +
- + LIBXTST = -lXtst
- +-ifeq ($(PLATFORM), linux)
- +- ifeq ($(ARCH_DATA_MODEL), 64)
- +- # XXX what about the rest of them?
- +- LIBXT = -lXt
- +- else
- +- # Allows for builds on Debian GNU Linux, X11 is in a different place
- +- LIBXT = $(firstword $(wildcard $(OPENWIN_LIB)/libXt.a) \
- +- $(wildcard /usr/lib/libXt.a))
- +- LIBSM = $(firstword $(wildcard $(OPENWIN_LIB)/libSM.a) \
- +- $(wildcard /usr/lib/libSM.a))
- +- LIBICE = $(firstword $(wildcard $(OPENWIN_LIB)/libICE.a) \
- +- $(wildcard /usr/lib/libICE.a))
- +- LIBXTST = $(firstword $(wildcard $(OPENWIN_LIB)/libXtst.a) \
- +- $(wildcard /usr/lib/libXtst.a))
- +- endif
- +-endif
- +
- + # Use -lXmu for EditRes support
- + LIBXMU_DBG = -lXmu
- +@@ -181,7 +165,7 @@
- + OTHER_CFLAGS += -DMLIB_NO_LIBSUNMATH
- + # XXX what is this define below? Isn't it motif-related?
- + OTHER_CFLAGS += -DXMSTRINGDEFINES=1
- +-OTHER_LDLIBS = $(LIBXMU) $(LIBXTST) -lXext $(LIBXT) $(LIBSM) $(LIBICE) -lX11 -lXi
- ++OTHER_LDLIBS = $(LIBXMU) $(LIBXTST) -lXext -lXt -lSM -lICE -lX11 -lXi
- + endif
- +
- + endif
- +@@ -230,11 +214,6 @@
- + CPPFLAGS += -I$(PLATFORM_SRC)/native/common/deps/fontconfig2
- + endif
- +
- +-ifndef HEADLESS
- +-CPPFLAGS += -I$(OPENWIN_HOME)/include
- +-LDFLAGS += -L$(OPENWIN_LIB)
- +-
- +-endif # !HEADLESS
- +
- + CPPFLAGS += -I$(SHARE_SRC)/native/$(PKGDIR)/debug \
- + -I$(SHARE_SRC)/native/$(PKGDIR)/../font \
- +@@ -269,11 +248,6 @@
- + endif # !HEADLESS
- + endif # PLATFORM
- +
- +-ifeq ($(PLATFORM), linux)
- +- # Checking for the X11/extensions headers at the additional location
- +- CPPFLAGS += -I$(firstword $(wildcard $(OPENWIN_HOME)/include/X11/extensions) \
- +- $(wildcard /usr/include/X11/extensions))
- +-endif
- +
- + ifeq ($(PLATFORM), macosx))
- + CPPFLAGS += -I$(OPENWIN_HOME)/include/X11/extensions \
- +diff -Nur openjdk.orig/jdk/make/sun/splashscreen/Makefile openjdk/jdk/make/sun/splashscreen/Makefile
- +--- openjdk.orig/jdk/make/sun/splashscreen/Makefile 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/make/sun/splashscreen/Makefile 2014-02-10 11:31:50.000000000 +0100
- +@@ -55,6 +55,8 @@
- +
- + JAVALIB=
- +
- ++OTHER_LDLIBS += -liconv
- ++
- + #
- + # C Flags
- + #
- +diff -Nur openjdk.orig/jdk/make/sun/xawt/Makefile openjdk/jdk/make/sun/xawt/Makefile
- +--- openjdk.orig/jdk/make/sun/xawt/Makefile 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/make/sun/xawt/Makefile 2014-02-10 11:31:50.000000000 +0100
- +@@ -292,16 +292,10 @@
- + SIZERS = $(SIZER).32
- + SIZERS_C = $(SIZER_32_C)
- + SIZES = $(WRAPPER_GENERATOR_DIR)/sizes.32
- +-ifdef CROSS_COMPILE_ARCH
- +-CFLAGS_32 = -m32
- +-endif
- + else # !32
- + SIZERS = $(SIZER).64
- + SIZERS_C = $(SIZER_64_C)
- + SIZES = $(WRAPPER_GENERATOR_DIR)/sizes.64
- +-ifdef CROSS_COMPILE_ARCH
- +-CFLAGS_64 = -m64
- +-endif
- + endif # 32
- + endif # !macosx
- + endif # solaris
- +@@ -337,11 +331,7 @@
- + WRAPPER_GENERATOR_CLASS=$(WRAPPER_GENERATOR_TEMPDIR)/WrapperGenerator.class
- + XLIBTYPES=$(PLATFORM_SRC)/classes/sun/awt/X11/generator/xlibtypes.txt
- +
- +-ifndef CROSS_COMPILE_ARCH
- +-SIZERS_CC = $(CC)
- +-else
- +-SIZERS_CC = $(HOST_CC)
- +-endif
- ++SIZERS_CC = $(CC) -static
- +
- + $(SIZERS): $(SIZERS_C)
- + $(prep-target)
- +@@ -364,7 +354,7 @@
- + $(CHMOD) +w $@;\
- + else \
- + $(ECHO) GENERATING $@; \
- +- $(WRAPPER_GENERATOR_DIR)/sizer$(suffix $@) > $@; \
- ++ $(QEMU) $(WRAPPER_GENERATOR_DIR)/sizer$(suffix $@) > $@; \
- + fi
- + @if [ "$(DOCOMPARE)$(suffix $@)" = "true.64" ]; then \
- + $(ECHO) COMPARING $@ and $(STORED_SIZES_TMPL_$(PLATFORM)_$(LIBARCH)); \
- +diff -Nur openjdk.orig/jdk/src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java openjdk/jdk/src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java
- +--- openjdk.orig/jdk/src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/src/share/classes/java/net/AbstractPlainDatagramSocketImpl.java 2014-02-10 11:31:50.000000000 +0100
- +@@ -69,7 +69,7 @@
- + */
- + static {
- + java.security.AccessController.doPrivileged(
- +- new sun.security.action.LoadLibraryAction("net"));
- ++ new sun.security.action.LoadLibraryAction("javanet"));
- + }
- +
- + /**
- +diff -Nur openjdk.orig/jdk/src/share/classes/java/net/AbstractPlainSocketImpl.java openjdk/jdk/src/share/classes/java/net/AbstractPlainSocketImpl.java
- +--- openjdk.orig/jdk/src/share/classes/java/net/AbstractPlainSocketImpl.java 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/src/share/classes/java/net/AbstractPlainSocketImpl.java 2014-02-10 11:31:50.000000000 +0100
- +@@ -78,7 +78,7 @@
- + */
- + static {
- + java.security.AccessController.doPrivileged(
- +- new sun.security.action.LoadLibraryAction("net"));
- ++ new sun.security.action.LoadLibraryAction("javanet"));
- + }
- +
- + /**
- +diff -Nur openjdk.orig/jdk/src/share/classes/java/net/DatagramPacket.java openjdk/jdk/src/share/classes/java/net/DatagramPacket.java
- +--- openjdk.orig/jdk/src/share/classes/java/net/DatagramPacket.java 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/src/share/classes/java/net/DatagramPacket.java 2014-02-10 11:31:50.000000000 +0100
- +@@ -47,7 +47,7 @@
- + */
- + static {
- + java.security.AccessController.doPrivileged(
- +- new sun.security.action.LoadLibraryAction("net"));
- ++ new sun.security.action.LoadLibraryAction("javanet"));
- + init();
- + }
- +
- +diff -Nur openjdk.orig/jdk/src/share/classes/java/net/InetAddress.java openjdk/jdk/src/share/classes/java/net/InetAddress.java
- +--- openjdk.orig/jdk/src/share/classes/java/net/InetAddress.java 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/src/share/classes/java/net/InetAddress.java 2014-02-10 11:31:50.000000000 +0100
- +@@ -267,7 +267,7 @@
- + static {
- + preferIPv6Address = java.security.AccessController.doPrivileged(
- + new GetBooleanAction("java.net.preferIPv6Addresses")).booleanValue();
- +- AccessController.doPrivileged(new LoadLibraryAction("net"));
- ++ AccessController.doPrivileged(new LoadLibraryAction("javanet"));
- + init();
- + }
- +
- +diff -Nur openjdk.orig/jdk/src/share/classes/java/net/NetworkInterface.java openjdk/jdk/src/share/classes/java/net/NetworkInterface.java
- +--- openjdk.orig/jdk/src/share/classes/java/net/NetworkInterface.java 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/src/share/classes/java/net/NetworkInterface.java 2014-02-10 11:31:50.000000000 +0100
- +@@ -53,7 +53,7 @@
- + private static final int defaultIndex; /* index of defaultInterface */
- +
- + static {
- +- AccessController.doPrivileged(new LoadLibraryAction("net"));
- ++ AccessController.doPrivileged(new LoadLibraryAction("javanet"));
- + init();
- + defaultInterface = DefaultInterface.getDefault();
- + if (defaultInterface != null) {
- +diff -Nur openjdk.orig/jdk/src/share/classes/sun/net/sdp/SdpSupport.java openjdk/jdk/src/share/classes/sun/net/sdp/SdpSupport.java
- +--- openjdk.orig/jdk/src/share/classes/sun/net/sdp/SdpSupport.java 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/src/share/classes/sun/net/sdp/SdpSupport.java 2014-02-10 11:31:50.000000000 +0100
- +@@ -76,6 +76,6 @@
- +
- + static {
- + AccessController.doPrivileged(
- +- new sun.security.action.LoadLibraryAction("net"));
- ++ new sun.security.action.LoadLibraryAction("javanet"));
- + }
- + }
- +diff -Nur openjdk.orig/jdk/src/share/classes/sun/net/spi/DefaultProxySelector.java openjdk/jdk/src/share/classes/sun/net/spi/DefaultProxySelector.java
- +--- openjdk.orig/jdk/src/share/classes/sun/net/spi/DefaultProxySelector.java 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/src/share/classes/sun/net/spi/DefaultProxySelector.java 2014-02-10 11:31:50.000000000 +0100
- +@@ -95,7 +95,7 @@
- + }});
- + if (b != null && b.booleanValue()) {
- + java.security.AccessController.doPrivileged(
- +- new sun.security.action.LoadLibraryAction("net"));
- ++ new sun.security.action.LoadLibraryAction("javanet"));
- + hasSystemProxies = init();
- + }
- + }
- +diff -Nur openjdk.orig/jdk/src/share/classes/sun/nio/ch/Util.java openjdk/jdk/src/share/classes/sun/nio/ch/Util.java
- +--- openjdk.orig/jdk/src/share/classes/sun/nio/ch/Util.java 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/src/share/classes/sun/nio/ch/Util.java 2014-02-10 11:31:50.000000000 +0100
- +@@ -483,7 +483,7 @@
- + return;
- + loaded = true;
- + java.security.AccessController
- +- .doPrivileged(new sun.security.action.LoadLibraryAction("net"));
- ++ .doPrivileged(new sun.security.action.LoadLibraryAction("javanet"));
- + java.security.AccessController
- + .doPrivileged(new sun.security.action.LoadLibraryAction("nio"));
- + // IOUtil must be initialized; Its native methods are called from
- +diff -Nur openjdk.orig/jdk/src/solaris/classes/sun/net/dns/ResolverConfigurationImpl.java openjdk/jdk/src/solaris/classes/sun/net/dns/ResolverConfigurationImpl.java
- +--- openjdk.orig/jdk/src/solaris/classes/sun/net/dns/ResolverConfigurationImpl.java 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/src/solaris/classes/sun/net/dns/ResolverConfigurationImpl.java 2014-02-10 11:31:50.000000000 +0100
- +@@ -247,7 +247,7 @@
- +
- + static {
- + java.security.AccessController.doPrivileged(
- +- new sun.security.action.LoadLibraryAction("net"));
- ++ new sun.security.action.LoadLibraryAction("javanet"));
- + }
- +
- + }
- +diff -Nur openjdk.orig/jdk/src/solaris/native/sun/awt/awt_InputMethod.c openjdk/jdk/src/solaris/native/sun/awt/awt_InputMethod.c
- +--- openjdk.orig/jdk/src/solaris/native/sun/awt/awt_InputMethod.c 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/src/solaris/native/sun/awt/awt_InputMethod.c 2014-02-10 11:31:50.000000000 +0100
- +@@ -246,7 +246,8 @@
- + if (wcs == NULL)
- + return NULL;
- +
- +- n = len*MB_CUR_MAX + 1;
- ++ //evil hack for uclibc
- ++ n = len*1 + 1;
- +
- + mbs = (char *) malloc(n * sizeof(char));
- + if (mbs == NULL) {
- +diff -Nur openjdk.orig/jdk/src/solaris/native/sun/xawt/XToolkit.c openjdk/jdk/src/solaris/native/sun/xawt/XToolkit.c
- +--- openjdk.orig/jdk/src/solaris/native/sun/xawt/XToolkit.c 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/src/solaris/native/sun/xawt/XToolkit.c 2014-02-10 11:31:50.000000000 +0100
- +@@ -27,9 +27,6 @@
- + #include <X11/Xutil.h>
- + #include <X11/Xos.h>
- + #include <X11/Xatom.h>
- +-#ifdef __linux__
- +-#include <execinfo.h>
- +-#endif
- +
- + #include <jvm.h>
- + #include <jni.h>
- +@@ -785,25 +782,6 @@
- + return ret;
- + }
- +
- +-#ifdef __linux__
- +-void print_stack(void)
- +-{
- +- void *array[10];
- +- size_t size;
- +- char **strings;
- +- size_t i;
- +-
- +- size = backtrace (array, 10);
- +- strings = backtrace_symbols (array, size);
- +-
- +- fprintf (stderr, "Obtained %zd stack frames.\n", size);
- +-
- +- for (i = 0; i < size; i++)
- +- fprintf (stderr, "%s\n", strings[i]);
- +-
- +- free (strings);
- +-}
- +-#endif
- +
- + Window get_xawt_root_shell(JNIEnv *env) {
- + static jclass classXRootWindow = NULL;
- +diff -Nur openjdk.orig/jdk/src/windows/classes/sun/net/dns/ResolverConfigurationImpl.java openjdk/jdk/src/windows/classes/sun/net/dns/ResolverConfigurationImpl.java
- +--- openjdk.orig/jdk/src/windows/classes/sun/net/dns/ResolverConfigurationImpl.java 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk/jdk/src/windows/classes/sun/net/dns/ResolverConfigurationImpl.java 2014-02-10 11:31:50.000000000 +0100
- +@@ -159,7 +159,7 @@
- +
- + static {
- + java.security.AccessController.doPrivileged(
- +- new sun.security.action.LoadLibraryAction("net"));
- ++ new sun.security.action.LoadLibraryAction("javanet"));
- + init0();
- +
- + // start the address listener thread
- +diff -Nur openjdk.orig/Makefile openjdk/Makefile
- +--- openjdk.orig/Makefile 2014-01-17 21:22:44.000000000 +0100
- ++++ openjdk/Makefile 2014-02-10 11:31:50.000000000 +0100
- +@@ -53,9 +53,7 @@
- + REL_JDK_DEBUG_IMAGE_DIR = ../$(OUTPUTDIR_BASENAME-debug)/$(JDK_IMAGE_DIRNAME)
- + REL_JDK_FASTDEBUG_IMAGE_DIR = ../$(OUTPUTDIR_BASENAME-fastdebug)/$(JDK_IMAGE_DIRNAME)
- +
- +-ifndef TOPDIR
- +- TOPDIR:=.
- +-endif
- ++TOPDIR:=.
- +
- + ifndef JDK_TOPDIR
- + JDK_TOPDIR=$(TOPDIR)/jdk
- +diff -Nur openjdk-boot.orig/hotspot/make/linux/makefiles/vm.make openjdk-boot/hotspot/make/linux/makefiles/vm.make
- +--- openjdk-boot.orig/hotspot/make/linux/makefiles/vm.make 2014-01-28 18:58:08.000000000 +0100
- ++++ openjdk-boot/hotspot/make/linux/makefiles/vm.make 2014-02-10 18:33:11.000000000 +0100
- +@@ -288,7 +288,7 @@
- + LIBS_VM += $(LIBS)
- + endif
- + ifeq ($(JVM_VARIANT_ZEROSHARK), true)
- +- LIBS_VM += $(LIBFFI_LIBS) $(LLVM_LIBS)
- ++ LIBS_VM += $(LLVM_LIBS)
- + LFLAGS_VM += $(LLVM_LDFLAGS)
- + endif
- +
- +diff -Nur openjdk-boot.orig/hotspot/make/linux/makefiles/zero.make openjdk-boot/hotspot/make/linux/makefiles/zero.make
- +--- openjdk-boot.orig/hotspot/make/linux/makefiles/zero.make 2014-01-28 18:58:08.000000000 +0100
- ++++ openjdk-boot/hotspot/make/linux/makefiles/zero.make 2014-02-11 17:33:53.000000000 +0100
- +@@ -33,4 +33,4 @@
- +
- + # Make sure libffi is included
- + CFLAGS += $(LIBFFI_CFLAGS)
- +-LIBS_VM += $(LIBFFI_LIBS)
- ++LIBS_VM += $(FFI_LDFLAGS) -Wl,-Bstatic $(LIBFFI_LIBS) -Wl,-Bdynamic
- +diff -Nur openjdk-boot.orig/jdk/make/common/Sanity.gmk openjdk-boot/jdk/make/common/Sanity.gmk
- +--- openjdk-boot.orig/jdk/make/common/Sanity.gmk 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk-boot/jdk/make/common/Sanity.gmk 2014-02-11 14:46:04.000000000 +0100
- +@@ -91,8 +91,7 @@
- + sane-ld_run_path \
- + sane-alt_bootdir \
- + sane-bootdir \
- +- sane-local-bootdir \
- +- sane-alsa-headers
- ++ sane-local-bootdir
- +
- + ifdef OPENJDK
- + sanity-all:: sane-freetype
- +diff -Nur openjdk-boot.orig/jdk/make/common/shared/Sanity.gmk openjdk-boot/jdk/make/common/shared/Sanity.gmk
- +--- openjdk-boot.orig/jdk/make/common/shared/Sanity.gmk 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk-boot/jdk/make/common/shared/Sanity.gmk 2014-02-11 14:45:37.000000000 +0100
- +@@ -114,11 +114,6 @@
- + elif [ -f /etc/lsb-release ] ; then \
- + $(EGREP) DISTRIB_RELEASE /etc/lsb-release | $(SED) -e 's@.*DISTRIB_RELEASE=\(.*\)@\1@'; \
- + fi)
- +- ALSA_INCLUDE=/usr/include/alsa/version.h
- +- ALSA_LIBRARY=/usr/lib/libasound.so
- +- _ALSA_VERSION := $(shell $(EGREP) SND_LIB_VERSION_STR $(ALSA_INCLUDE) | \
- +- $(SED) -e 's@.*"\(.*\)".*@\1@' )
- +- ALSA_VERSION := $(call GetVersion,$(_ALSA_VERSION))
- + endif
- +
- + ifeq ($(PLATFORM), macosx)
- +@@ -225,7 +220,6 @@
- + sane-compiler \
- + sane-link \
- + sane-cacerts \
- +- sane-alsa-headers \
- + sane-ant_version \
- + sane-zip_version \
- + sane-unzip_version \
- +@@ -1381,35 +1375,6 @@
- + endif
- + endif
- +
- +-######################################################
- +-# Check that ALSA headers and libs are installed and
- +-# that the header has the right version. We only
- +-# need /usr/include/alsa/version.h and /usr/lib/libasound.so
- +-######################################################
- +-
- +-ifdef REQUIRED_ALSA_VERSION
- +- ALSA_CHECK := $(call CheckVersions,$(ALSA_VERSION),$(REQUIRED_ALSA_VERSION))
- +-endif
- +-sane-alsa-headers:
- +-ifdef REQUIRED_ALSA_VERSION
- +- @if [ "$(ALSA_CHECK)" != "missing" ] ; then \
- +- if [ "$(ALSA_CHECK)" != "same" -a "$(ALSA_CHECK)" != "newer" ] ; then \
- +- $(ECHO) "ERROR: The ALSA version must be $(REQUIRED_ALSA_VERSION) or higher. \n" \
- +- " You have the following ALSA version installed: $${alsa_version} \n" \
- +- " Please reinstall ALSA (drivers and lib). You can download \n" \
- +- " the source distribution from http://www.alsa-project.org \n" \
- +- " or go to http://www.freshrpms.net/docs/alsa/ for precompiled RPM packages. \n" \
- +- "" >> $(ERROR_FILE) ; \
- +- fi ; \
- +- else \
- +- $(ECHO) "ERROR: You seem to not have installed ALSA $(REQUIRED_ALSA_VERSION) or higher. \n" \
- +- " Please install ALSA (drivers and lib). You can download the \n" \
- +- " source distribution from http://www.alsa-project.org or go to \n" \
- +- " http://www.freshrpms.net/docs/alsa/ for precompiled RPM packages. \n" \
- +- "" >> $(ERROR_FILE) ; \
- +- fi
- +-endif
- +-
- + # If a sanity file doesn't exist, just make sure it's dir exists
- + $(SANITY_FILES):
- + -@$(prep-target)
- +diff -Nur openjdk-boot.orig/jdk/make/sun/awt/mawt.gmk openjdk-boot/jdk/make/sun/awt/mawt.gmk
- +--- openjdk-boot.orig/jdk/make/sun/awt/mawt.gmk 2014-01-28 19:02:26.000000000 +0100
- ++++ openjdk-boot/jdk/make/sun/awt/mawt.gmk 2014-02-10 18:28:56.000000000 +0100
- +@@ -269,12 +269,6 @@
- + endif # !HEADLESS
- + endif # PLATFORM
- +
- +-ifeq ($(PLATFORM), linux)
- +- # Checking for the X11/extensions headers at the additional location
- +- CPPFLAGS += -I$(firstword $(wildcard $(OPENWIN_HOME)/include/X11/extensions) \
- +- $(wildcard /usr/include/X11/extensions))
- +-endif
- +-
- + ifeq ($(PLATFORM), macosx))
- + CPPFLAGS += -I$(OPENWIN_HOME)/include/X11/extensions \
- + -I$(OPENWIN_HOME)/include
- +diff -Nur openjdk-boot.orig/Makefile openjdk-boot/Makefile
- +--- openjdk-boot.orig/Makefile 2014-01-17 21:22:44.000000000 +0100
- ++++ openjdk-boot/Makefile 2014-02-10 18:28:56.000000000 +0100
- +@@ -53,9 +53,7 @@
- + REL_JDK_DEBUG_IMAGE_DIR = ../$(OUTPUTDIR_BASENAME-debug)/$(JDK_IMAGE_DIRNAME)
- + REL_JDK_FASTDEBUG_IMAGE_DIR = ../$(OUTPUTDIR_BASENAME-fastdebug)/$(JDK_IMAGE_DIRNAME)
- +
- +-ifndef TOPDIR
- +- TOPDIR:=.
- +-endif
- ++TOPDIR:=.
- +
- + ifndef JDK_TOPDIR
- + JDK_TOPDIR=$(TOPDIR)/jdk
|