< prev index next >

make/windows/create_obj_files.sh

Print this page




  60 BASE_PATHS="`if [ -d ${ALTSRC}/share/vm ]; then $FIND ${ALTSRC}/share/vm ! -name vm -prune -type d \! \( -name adlc -o -name c1 -o -name gc_implementation -o -name opto -o -name shark -o -name libadt \); fi`"
  61 BASE_PATHS="${BASE_PATHS} ` $FIND ${COMMONSRC}/share/vm ! -name vm -prune -type d \! \( -name adlc -o -name c1 -o -name gc_implementation -o -name opto -o -name shark -o -name libadt \)`"
  62 
  63 for sd in \
  64     share/vm/gc_implementation/shared \
  65     os/${Platform_os_family}/vm \
  66     cpu/${Platform_arch}/vm \
  67     os_cpu/${Platform_os_arch}/vm; do 
  68   if [ -d "${ALTSRC}/${sd}" ]; then
  69     BASE_PATHS="${BASE_PATHS} ${ALTSRC}/${sd}"
  70   fi
  71   BASE_PATHS="${BASE_PATHS} ${COMMONSRC}/${sd}"
  72 done
  73 
  74 BASE_PATHS="${BASE_PATHS} ${GENERATED}/jvmtifiles ${GENERATED}/tracefiles"
  75 
  76 if [ -d "${ALTSRC}/share/vm/jfr/buffers" ]; then
  77   BASE_PATHS="${BASE_PATHS} ${ALTSRC}/share/vm/jfr/buffers"
  78 fi
  79 
  80 BASE_PATHS="${BASE_PATHS} ${COMMONSRC}/share/vm/prims/wbtestmethods"
  81 
  82 # shared is already in BASE_PATHS. Should add vm/memory but that one is also in BASE_PATHS.
  83 if [ -d "${ALTSRC}/share/vm/gc_implementation" ]; then
  84   BASE_PATHS="${BASE_PATHS} `$FIND ${ALTSRC}/share/vm/gc_implementation ! -name gc_implementation -prune -type d \! -name shared`"
  85 fi
  86 BASE_PATHS="${BASE_PATHS} `$FIND ${COMMONSRC}/share/vm/gc_implementation ! -name gc_implementation -prune -type d \! -name shared`"
  87 
  88 if [ -d "${ALTSRC}/share/vm/c1" ]; then
  89   COMPILER1_PATHS="${ALTSRC}/share/vm/c1"
  90 fi
  91 COMPILER1_PATHS="${COMPILER1_PATHS} ${COMMONSRC}/share/vm/c1"
  92 
  93 if [ -d "${ALTSRC}/share/vm/opto" ]; then
  94   COMPILER2_PATHS="${ALTSRC}/share/vm/opto"
  95 fi
  96 COMPILER2_PATHS="${COMPILER2_PATHS} ${COMMONSRC}/share/vm/opto"
  97 if [ -d "${ALTSRC}/share/vm/libadt" ]; then
  98   COMPILER2_PATHS="${COMPILER2_PATHS} ${ALTSRC}/share/vm/libadt"
  99 fi
 100 COMPILER2_PATHS="${COMPILER2_PATHS} ${COMMONSRC}/share/vm/libadt"




  60 BASE_PATHS="`if [ -d ${ALTSRC}/share/vm ]; then $FIND ${ALTSRC}/share/vm ! -name vm -prune -type d \! \( -name adlc -o -name c1 -o -name gc_implementation -o -name opto -o -name shark -o -name libadt \); fi`"
  61 BASE_PATHS="${BASE_PATHS} ` $FIND ${COMMONSRC}/share/vm ! -name vm -prune -type d \! \( -name adlc -o -name c1 -o -name gc_implementation -o -name opto -o -name shark -o -name libadt \)`"
  62 
  63 for sd in \
  64     share/vm/gc_implementation/shared \
  65     os/${Platform_os_family}/vm \
  66     cpu/${Platform_arch}/vm \
  67     os_cpu/${Platform_os_arch}/vm; do 
  68   if [ -d "${ALTSRC}/${sd}" ]; then
  69     BASE_PATHS="${BASE_PATHS} ${ALTSRC}/${sd}"
  70   fi
  71   BASE_PATHS="${BASE_PATHS} ${COMMONSRC}/${sd}"
  72 done
  73 
  74 BASE_PATHS="${BASE_PATHS} ${GENERATED}/jvmtifiles ${GENERATED}/tracefiles"
  75 
  76 if [ -d "${ALTSRC}/share/vm/jfr/buffers" ]; then
  77   BASE_PATHS="${BASE_PATHS} ${ALTSRC}/share/vm/jfr/buffers"
  78 fi
  79 
  80 BASE_PATHS="${BASE_PATHS} ${COMMONSRC}/share/vm/prims/wbtestmethods ${COMMONSRC}/share/vm/gc_implementation/shenandoah/heuristics"
  81 
  82 # shared is already in BASE_PATHS. Should add vm/memory but that one is also in BASE_PATHS.
  83 if [ -d "${ALTSRC}/share/vm/gc_implementation" ]; then
  84   BASE_PATHS="${BASE_PATHS} `$FIND ${ALTSRC}/share/vm/gc_implementation ! -name gc_implementation -prune -type d \! -name shared`"
  85 fi
  86 BASE_PATHS="${BASE_PATHS} `$FIND ${COMMONSRC}/share/vm/gc_implementation ! -name gc_implementation -prune -type d \! -name shared`"
  87 
  88 if [ -d "${ALTSRC}/share/vm/c1" ]; then
  89   COMPILER1_PATHS="${ALTSRC}/share/vm/c1"
  90 fi
  91 COMPILER1_PATHS="${COMPILER1_PATHS} ${COMMONSRC}/share/vm/c1"
  92 
  93 if [ -d "${ALTSRC}/share/vm/opto" ]; then
  94   COMPILER2_PATHS="${ALTSRC}/share/vm/opto"
  95 fi
  96 COMPILER2_PATHS="${COMPILER2_PATHS} ${COMMONSRC}/share/vm/opto"
  97 if [ -d "${ALTSRC}/share/vm/libadt" ]; then
  98   COMPILER2_PATHS="${COMPILER2_PATHS} ${ALTSRC}/share/vm/libadt"
  99 fi
 100 COMPILER2_PATHS="${COMPILER2_PATHS} ${COMMONSRC}/share/vm/libadt"


< prev index next >