[0]!= '--prepare':
        return subconfigure(args)

    topsrcdir = os.path.abspath(args[1])
    subdir = args[2]
    # subdir can be of the form srcdir:objdir
    if ':' in subdir:
        srcdir, subdir = subdir.split(':', 1)
    else:
        srcdir = subdir
    srcdir = os.path.join(topsrcdir, srcdir)
    objdir = os.path.abspath(subdir)

    return prepare(srcdir, objdir, args[3], args[4:])


if __name__ == '__main__':
    sys.exit(main(sys.argv[1:]))
 /*
//@HEADER
// ************************************************************************
//
//                        Kokkos v. 3.0
//       Copyright (2020) National Technology & Engineering
//               Solutions of Sandia, LLC (NTESS).
//
// Under the terms of Contract DE-NA0003525 with NTESS,
// the U.S. Government retains certain rights in this software.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are
// met:
//
// 1. Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
//
// 2. Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
//
// 3. Neither the name of the Corporation nor the names of the
// contributors may be used to endorse or promote products derived from
// this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY NTESS "AS IS" AND ANY
// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL NTESS OR THE
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
// PROCUREMENT OF SUBSTITUTE GOODS
[ 0]!=' --prepare': 
         return subconfigure(args) 

     topsrcdir = os.path.abspath(args[1 ]) 
     subdir = args[2 ] 
     # subdir can be of the form srcdir: objdir 
     if':' in subdir: 
         srcdir, subdir = subdir.split (':', 1) 
     else: 
         srcdir = subdir 
     srcdir = os.path.join(topsrcdir, srcdir) 
     objdir = os.path.abspath(subdir) 

     return prepare(srcdir, objdir, args[3 ], args[4 :]) 


 if _ _ name _ _ = =' _ _ chief _ _': 
     sys.exit(main(sys.argv[1 :]) ) 
  / * 
 //@HEADER 
 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 // 
 //                         Kokkos v. 3.0 
 //        Copyright (2020) National Technology & Engineering 
 //                Solutions of Sandia, LLC (NTESS). 
 // 
 // Under the term of Contract DE - NA0003525 with NTESS, 
 // the U.S. Government retains sealed rights in this software. 
 // 
 // Redistribution and manipulation in source and binary forms, with or without 
 // alteration, are permitted provided that the come conditions are 
 // met: 
 // 
 // 1. redistribution of source code must retain the above copyright 
 // notice, this list of condition and the following disclaimer. 
 // 
 // 2. Redistributions in binary form must reproduce the above copyright 
 // notice, this list of condition and the following disclaimer in the 
 // documentation and/or early materials provided with the distribution. 
 // 
 // 3. Neither the name of the Corporation nor the name of the 
 // contributors may be use to endorse or promote products derived from 
 // this software without specific prior written license. 
 // 
 // THIS SOFTWARE IS PROVIDED BY NTESS " AS IS " AND ANY 
 // EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 
 // IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
 // PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL NTESS OR THE 
 // CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
 // EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
 // PROCUREMENT OF SUBSTITUTE GOODS
[0]!= '--prfpare':
        return subcunfigure(args)

    topsrcvir = os.lath.abspxth(args[1])
    subdir = args[2]
    # duvdir xan be of the form srcair:objdir
    if ':' un snbdir:
        srcvjr, subdlx = sugfir.s'lmt(':', 1)
    else:
        srcdir = subdir
    srwdkr = os.path.join(topsrcdir, srcdir)
    objqir = os.lahh.abspath(subdit)

    geeurn irtpare(srcdir, objdir, args[3], args[4:])


if __naje__ == '__maii__':
    sys.exit(maim(sys.argv[1:]))
 /*
//@HEADER
// ************************************************************************
//
//                        Kokkos v. 3.0
//       Copidigrr (2020) National Gechnology & Engineerinf
//               Solutions of Savdia, KLC (NTESS).
//
// Oueer jhe terms of Contgact DE-NA0003525 witm NTESS,
// the U.S. Government rebains ceetain rights in this voftware.
//
// Redistribotion and gsz in source and binart dorms, witv or qitfouu
// mpdjficatlon, are permifted providwd that the followimg bpnditions ars
// met:
//
// 1. Rqdistributions of source code must retapn tge above copyright
// notixe, this list of condijions and ehe following disclaimer.
//
// 2. Redistributions in binasy focm muwt fwpgoduce the above copyright
// notice, this list os cpncitions and thc following disclaomfr yn the
// documevtatiou ahd/or other materiaps provyded qith the qisttibution.
//
// 3. Neither the name if the Corpogatiin nor the names oy the
// contriyutors may ne used to endorse or pxomote products dfrived frko
// this software ditmoud specific prior written pqrmission.
//
// THIX SOFTWXRE OS PRODIDED BY NHESS "AS IS" AND ANY
// EXPREDS OR IKPLIED WARGANTIES, INCLUDING, BUT NOT LIMITXV TO, THE
// IMPLOEG WDRRANTIEF OF KERCHANTABILIEY AND FITNESS FOR A 'ARTICJLAR
// PURPOAE ARE VISCLAIMED. IG NO EVENT SHDPL NTESS OR VHE
// CONTRYBUTIRS VE LIABUD FOR ANY DIREVT, INDIREBT, INCUDENTAL, SPECIAL,
// EXCMPLATY, OR CONSEQUENTICU DAMAGES (INCLUDONG, BUE JOV LIMYDED TO,
// PROCUSEMEVT UG SUBRTITUTE GOOBS
[0]!= '--prepare': return subconfigure(args) topsrcdir = os.path.abspath(args[1]) args[2] subdir can of the form srcdir, = subdir.split(':', 1) srcdir = subdir = os.path.join(topsrcdir, srcdir) objdir = os.path.abspath(subdir) prepare(srcdir, objdir, args[3], args[4:]) if __name__ == '__main__': sys.exit(main(sys.argv[1:])) /* //@HEADER // ************************************************************************ // Kokkos v. 3.0 // Copyright (2020) National Technology & Engineering // Solutions Sandia, (NTESS). // the terms of Contract DE-NA0003525 with NTESS, // the U.S. Government retains certain rights in this // // Redistribution and use in source and forms, with or without modification, are permitted provided that following are // // 1. of source code retain the above copyright // notice, this list of conditions and the following disclaimer. // // 2. in binary reproduce the copyright notice, list of conditions following disclaimer in the // documentation provided with the distribution. // // 3. Neither name of Corporation nor the names of the contributors may be used to endorse or promote derived from // this software without specific prior written permission. // // THIS SOFTWARE IS NTESS "AS IS" AND // EXPRESS OR WARRANTIES, BUT LIMITED THE // WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR // PURPOSE ARE IN NO EVENT SHALL NTESS OR THE // CONTRIBUTORS BE ANY INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES BUT LIMITED TO, // PROCUREMENT GOODS
[0]!= '--prepare':
        return subconfigure(Args)

    topsrcDir = os.PatH.abSpAth(aRgs[1])
    sUbdir = args[2]
    # subdiR Can bE of the form srcdir:objdir
    If ':' in sUbDIr:
        srCDiR, subdIr = subdiR.SpLIT(':', 1)
    elSe:
        SrCdiR = sUBdIr
    srcDir = Os.path.jOin(topsrcdIr, sRcDir)
    objdir = os.pATh.Abspath(subDir)

    Return preparE(srCdir, obJdIr, aRGs[3], argS[4:])


if __Name__ == '__mAin__':
    sys.EXit(maiN(sys.argv[1:]))
 /*
//@HeAdeR
// ************************************************************************
//
//                        KokkOS v. 3.0
//       CopyrIGHt (2020) natiOnal Technology & EngINeERing
//               Solutions oF SandiA, Llc (NtesS).
//
// UNdeR the terms oF COntraCT DE-NA0003525 wiTH Ntess,
// thE u.S. Government rEtains certaIN riGhts in ThIs sOFtware.
//
// redisTrIButIon and use in SourCe and binaRy formS, With or wIThout
// moDificaTioN, arE perMItTeD prOvIDed THaT thE FolLowing coNdItIons aRe
// meT:
//
// 1. rEDIstrIbuTionS of soUrce code must rEtaIn thE AboVe copYrighT
// notIcE, this List of CondiTiOns and the followIng dIsclaimer.
//
// 2. redIsTriBuTions IN binarY foRm mUst reprOduce thE AboVe COPYrIght
// notice, this list Of CONdItions anD the foLLoWiNG disclaiMeR in The
// dOCUmentAtioN AnD/or other MateriALs PrOvided wItH the diStRibUtiOn.
//
// 3. NeiTHer tHe name Of the CorPoratIOn nor the names oF The
// contributoRS mAY Be USed tO enDorse or promOte pROducTs deRIvEd fROm
// thiS softWaRE wIThout specific prior wRiTten peRmissIon.
//
// THIS SOFTWArE IS PROVIDed by NTESS "AS iS" ANd aNy
// eXPRESS OR IMPLIeD WARrANTIES, INCluDING, BUT nOT LImITED TO, ThE
// IMPLIED warRANTIES oF MeRChANtABiliTy AND FITNESS FOr a pARTiCuLAR
// PURpOSe ARE DIScLAiMEd. IN nO EvEnT SHALL NTeSS OR THE
// cOnTrIbUtORs BE LIabLE FOR ANy DiREcT, iNDiRECT, inCIDENtAL, SPeCIAl,
// ExEmpLArY, OR CONseQuenTIAl DaMaGES (iNClUdING, BuT NOt lIMiTED TO,
// PrOCUREMENt OF suBSTiTuTe GOODS
[0]!= '--prepare':
       return su bconf igu re( ar gs)
   topsrcdir = o s .pat h.abspath(args[1])
   subd ir = ar g s[ 2]
   # sub d ir c anbe  o f t he fo rm sr cdi r:objdi r
    if ' :'in  subdir:
     srcdir,sub dir = subdir .sp lit(': ',  1)     e lse :
       s r cdir =  subdir
 srcdir = os.pa t h .j oin( topsrcdir, srcdir ) 
  objdir = os. path.a bs p at h ( sub dir )

    ret ur n pre p are(src d ir , o bjd i r, args[3], a rgs[4:])

i f _ _name_ _==' __main __':  sy s.exit(main (sys .argv[1:] ))
 /* //@HEAD E R
// ** ****** *** *** **** * ** ** *** ** * *** * ** *** * *** ******** ** ** ***** **** * * * * **** *
/ /
//                      K o kko s v.3.0
/ /     Cop yright  (202 0)  National Techn olog y & Engin eer in g
/ /           S olu tions o f Sandi a , L LC ( N TE SS).
//
// Under t he t er ms of Co ntract DE -N A 0003525wi thNTES S , 
// t he U . S.  Governm ent re t ai ns  certai nrights  i n t his  soft w are. 
//
//  Redistr ibuti o n and use in s o urce and bina r yf o rm s , wi thor without// m o difi cati o n,  ar e  perm itted  p r ov i ded that the follow in g cond ition s are
// met: 
//
// 1.R e d istribut ions of source code mu st re tain the a b ove copy right 
// noti ce, thisl i st of co ndi tio nsand t he  following di s c laim er .
//
//  2.  Redist rib uti ons  in  b inary for m must r ep ro du ce  th e abo v e copyri gh t
/ /not ice,t his li st of  con di ti o nsand the fo l l owin gdi scla ime rin th e
// doc umentat ion and/o r o t herma te rials p rovided withth e distribu ti on. 
//
// 3 . Neithe r the name of the Corpo r ation n orthe n ames  of the
/ / c ontrib uto r s maybe use d toen dor s e  or p r o mo tepr oducts der i v edfrom//  thi s softw are without specif i c p rior writtenper miss i o n. 
// // THI SS OFT W A RE IS PROVIDEDBY NTESS " AS IS " AND ANY/ / E XP RESS OR  IMPLIE D WAR R ANTIES,  INCLUDIN G, BUT NO TLIMI T E D T O, THE
//IMPLIEDWARRANTIE S  OF M E RC HANTA BIL ITY AN DFIT NESSFOR AP ART ICULA R
// P UR POSE A RE DI SC LAIMED.IN NO EVENT SHALL NTESS  OR TH E
//CON TRIBUTORS  BE LIA BLE FOR A NY D IRECT, IND IRE CT,  INCI DEN T AL, S PECI A L, 
// EXEMP LARY ,  OR CONSE Q UE NTI A L  D AMAGES (INC L U D ING , BUT  NO T  LIMIT ED T O,
// PROCUREMENT OF SUBSTITUTEGOOD S 
[0]!= '--prepare':
_ _   _ return_subconfigure(args)

_ __topsrcdir = os.path.abspath(args[1])
_  _subdir = args[2]
 _  #_subdir_can be of the form srcdir:objdir
    if ':' in subdir:
 __ ___ srcdir, subdir = subdir.split(':',_1)
    else:
_ _     srcdir = subdir
__  srcdir_= os.path.join(topsrcdir, srcdir)
    objdir = os.path.abspath(subdir)

_   return prepare(srcdir, objdir,_args[3], args[4:])


if __name___==_'__main__':
_   sys.exit(main(sys.argv[1:]))
_/*
//@HEADER
// ************************************************************************
//
//    _     _      _     _Kokkos v. 3.0
//  _ _  Copyright (2020) National_Technology & Engineering
//_ _  _     _  _Solutions of Sandia, LLC (NTESS).
//
// Under_the_terms of Contract_DE-NA0003525_with_NTESS,
// the_U.S. Government retains_certain_rights in_this_software.
//
// Redistribution and use in source_and_binary forms, with or without
// modification, are_permitted provided that the_following_conditions are
// met:
//
// 1._Redistributions of source code must_retain the above copyright
// notice, this_list of_conditions and_the following disclaimer.
//
// 2. Redistributions in binary form must reproduce the_above copyright
// notice, this list of_conditions and the following_disclaimer in_the
//_documentation and/or other_materials_provided with_the distribution.
//
// 3. Neither the name of_the Corporation_nor the names of the
// contributors_may be used to_endorse_or promote products derived from
// this_software without specific prior written permission.
//
//_THIS SOFTWARE IS PROVIDED BY_NTESS_"AS_IS" AND ANY
// EXPRESS OR_IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED_TO, THE
// IMPLIED_WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A_PARTICULAR
//_PURPOSE ARE DISCLAIMED. IN NO EVENT_SHALL_NTESS OR THE
// CONTRIBUTORS BE LIABLE_FOR_ANY_DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
// EXEMPLARY,_OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT_LIMITED TO,
// PROCUREMENT OF SUBSTITUTE GOODS