annotate make/windows/create_obj_files.sh @ 12227:440edcf30231

8024176: [macosx] gc/metaspace/ClassMetaspaceSizeInJmapHeap.java failed since jdk8b105, hs25b47 Summary: The code for reading compressed klass pointers in the sa-agent on Mac used readCompOopAddress instead of readCompKlassAddress, this is wrong but has been hidden because compressed oops and compressed klasses has used the same base address in the past. Reviewed-by: sla, jmasa Contributed-by: stefan.johansson@oracle.com
author mgerdin
date Wed, 11 Sep 2013 08:57:02 +0200
parents 31f3b1e1c5e5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
1 #
7951
8b46b0196eb0 8000692: Remove old KERNEL code
zgu
parents: 6725
diff changeset
2 # Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
4 #
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
5 # This code is free software; you can redistribute it and/or modify it
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
6 # under the terms of the GNU General Public License version 2 only, as
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
7 # published by the Free Software Foundation.
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
8 #
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
9 # This code is distributed in the hope that it will be useful, but WITHOUT
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
12 # version 2 for more details (a copy is included in the LICENSE file that
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
13 # accompanied this code).
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
14 #
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
15 # You should have received a copy of the GNU General Public License version
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
16 # 2 along with this work; if not, write to the Free Software Foundation,
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
18 #
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
20 # or visit www.oracle.com if you need additional information or have any
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
21 # questions.
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
22 #
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
23 #
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
24
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
25 set -e
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
26
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
27 # Note that we currently do not have a way to set HotSpotMksHome in
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
28 # the batch build, but so far this has not seemed to be a problem. The
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
29 # reason this environment variable is necessary is that it seems that
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
30 # Windows truncates very long PATHs when executing shells like MKS's
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
31 # sh, and it has been found that sometimes `which sh` fails.
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
32
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
33 if [ "x$HotSpotMksHome" != "x" ]; then
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
34 TOOL_DIR="$HotSpotMksHome"
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
35 else
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
36 # HotSpotMksHome is not set so use the directory that contains "sh".
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
37 # This works with both MKS and Cygwin.
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
38 SH=`which sh`
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
39 TOOL_DIR=`dirname "$SH"`
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
40 fi
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
41
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
42 DIRNAME="$TOOL_DIR/dirname"
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
43 FIND="$TOOL_DIR/find"
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
44
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
45 TYPE=$1
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
46 Platform_arch=$2
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
47 Platform_arch_model=$3
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
48 Platform_os_family=windows
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
49 Platform_os_arch=windows_$Platform_arch
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
50
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
51 WorkSpace=$4
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
52 GENERATED=$5
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
53
2199
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
54 COMMONSRC_REL=src
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
55 ALTSRC_REL=src/closed # Change this to pick up alt sources from somewhere else
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
56
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
57 COMMONSRC=${WorkSpace}/${COMMONSRC_REL}
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
58 ALTSRC=${WorkSpace}/${ALTSRC_REL}
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
59
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
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`"
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
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 \)`"
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
62
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
63 for sd in \
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
64 share/vm/gc_implementation/shared \
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
65 os/${Platform_os_family}/vm \
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
66 cpu/${Platform_arch}/vm \
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
67 os_cpu/${Platform_os_arch}/vm; do
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
68 if [ -d "${ALTSRC}/${sd}" ]; then
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
69 BASE_PATHS="${BASE_PATHS} ${ALTSRC}/${sd}"
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
70 fi
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
71 BASE_PATHS="${BASE_PATHS} ${COMMONSRC}/${sd}"
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
72 done
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
73
10405
f2110083203d 8005849: JEP 167: Event-Based JVM Tracing
sla
parents: 10111
diff changeset
74 BASE_PATHS="${BASE_PATHS} ${GENERATED}/jvmtifiles ${GENERATED}/tracefiles"
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
75
12014
31f3b1e1c5e5 8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents: 10405
diff changeset
76 if [ -d "${ALTSRC}/share/vm/jfr/buffers" ]; then
10405
f2110083203d 8005849: JEP 167: Event-Based JVM Tracing
sla
parents: 10111
diff changeset
77 BASE_PATHS="${BASE_PATHS} ${ALTSRC}/share/vm/jfr/buffers"
4800
94ec88ca68e2 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 2426
diff changeset
78 fi
94ec88ca68e2 7115199: Add event tracing hooks and Java Flight Recorder infrastructure
phh
parents: 2426
diff changeset
79
5978
51612f0c0a79 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents: 4800
diff changeset
80 BASE_PATHS="${BASE_PATHS} ${COMMONSRC}/share/vm/prims/wbtestmethods"
51612f0c0a79 7148488: Whitebox tests for the Diagnostic Framework Parser
nloodin
parents: 4800
diff changeset
81
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
82 # shared is already in BASE_PATHS. Should add vm/memory but that one is also in BASE_PATHS.
2199
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
83 if [ -d "${ALTSRC}/share/vm/gc_implementation" ]; then
12014
31f3b1e1c5e5 8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents: 10405
diff changeset
84 BASE_PATHS="${BASE_PATHS} `$FIND ${ALTSRC}/share/vm/gc_implementation ! -name gc_implementation -prune -type d \! -name shared`"
2199
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
85 fi
12014
31f3b1e1c5e5 8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents: 10405
diff changeset
86 BASE_PATHS="${BASE_PATHS} `$FIND ${COMMONSRC}/share/vm/gc_implementation ! -name gc_implementation -prune -type d \! -name shared`"
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
87
2199
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
88 if [ -d "${ALTSRC}/share/vm/c1" ]; then
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
89 COMPILER1_PATHS="${ALTSRC}/share/vm/c1"
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
90 fi
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
91 COMPILER1_PATHS="${COMPILER1_PATHS} ${COMMONSRC}/share/vm/c1"
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
92
2199
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
93 if [ -d "${ALTSRC}/share/vm/opto" ]; then
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
94 COMPILER2_PATHS="${ALTSRC}/share/vm/opto"
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
95 fi
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
96 COMPILER2_PATHS="${COMPILER2_PATHS} ${COMMONSRC}/share/vm/opto"
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
97 if [ -d "${ALTSRC}/share/vm/libadt" ]; then
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
98 COMPILER2_PATHS="${COMPILER2_PATHS} ${ALTSRC}/share/vm/libadt"
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
99 fi
d8a72fbc4be7 7003401: Implement VM error-reporting functionality on erroneous termination
kamg
parents: 2026
diff changeset
100 COMPILER2_PATHS="${COMPILER2_PATHS} ${COMMONSRC}/share/vm/libadt"
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
101 COMPILER2_PATHS="${COMPILER2_PATHS} ${GENERATED}/adfiles"
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
102
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
103 # Include dirs per type.
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
104 case "${TYPE}" in
12014
31f3b1e1c5e5 8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents: 10405
diff changeset
105 "compiler1") Src_Dirs="${BASE_PATHS} ${COMPILER1_PATHS}" ;;
31f3b1e1c5e5 8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents: 10405
diff changeset
106 "compiler2") Src_Dirs="${BASE_PATHS} ${COMPILER2_PATHS}" ;;
31f3b1e1c5e5 8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents: 10405
diff changeset
107 "tiered") Src_Dirs="${BASE_PATHS} ${COMPILER1_PATHS} ${COMPILER2_PATHS}" ;;
31f3b1e1c5e5 8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents: 10405
diff changeset
108 "zero") Src_Dirs="${BASE_PATHS}" ;;
31f3b1e1c5e5 8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents: 10405
diff changeset
109 "shark") Src_Dirs="${BASE_PATHS}" ;;
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
110 esac
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
111
10111
8373c19be854 8011621: live_ranges_in_separate_class.patch
neliasso
parents: 7951
diff changeset
112 COMPILER2_SPECIFIC_FILES="opto libadt bcEscapeAnalyzer.cpp c2_* runtime_*"
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
113 COMPILER1_SPECIFIC_FILES="c1_*"
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
114 SHARK_SPECIFIC_FILES="shark"
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
115 ZERO_SPECIFIC_FILES="zero"
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
116
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
117 # Always exclude these.
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
118 Src_Files_EXCLUDE="jsig.c jvmtiEnvRecommended.cpp jvmtiEnvStub.cpp"
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
119
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
120 # Exclude per type.
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
121 case "${TYPE}" in
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
122 "compiler1") Src_Files_EXCLUDE="${Src_Files_EXCLUDE} ${COMPILER2_SPECIFIC_FILES} ${ZERO_SPECIFIC_FILES} ${SHARK_SPECIFIC_FILES} ciTypeFlow.cpp" ;;
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
123 "compiler2") Src_Files_EXCLUDE="${Src_Files_EXCLUDE} ${COMPILER1_SPECIFIC_FILES} ${ZERO_SPECIFIC_FILES} ${SHARK_SPECIFIC_FILES}" ;;
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
124 "tiered") Src_Files_EXCLUDE="${Src_Files_EXCLUDE} ${ZERO_SPECIFIC_FILES} ${SHARK_SPECIFIC_FILES}" ;;
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
125 "zero") Src_Files_EXCLUDE="${Src_Files_EXCLUDE} ${COMPILER1_SPECIFIC_FILES} ${COMPILER2_SPECIFIC_FILES} ${SHARK_SPECIFIC_FILES} ciTypeFlow.cpp" ;;
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
126 "shark") Src_Files_EXCLUDE="${Src_Files_EXCLUDE} ${COMPILER1_SPECIFIC_FILES} ${COMPILER2_SPECIFIC_FILES} ${ZERO_SPECIFIC_FILES}" ;;
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
127 esac
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
128
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
129 # Special handling of arch model.
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
130 case "${Platform_arch_model}" in
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
131 "x86_32") Src_Files_EXCLUDE="${Src_Files_EXCLUDE} *x86_64*" ;;
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
132 "x86_64") Src_Files_EXCLUDE="${Src_Files_EXCLUDE} *x86_32*" ;;
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
133 esac
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
134
2026
e7ad5f6f4d29 7006659: temporary adlc files are added to the build variables
stefank
parents: 1972
diff changeset
135 # Locate all source files in the given directory, excluding files in Src_Files_EXCLUDE.
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
136 function findsrc {
2026
e7ad5f6f4d29 7006659: temporary adlc files are added to the build variables
stefank
parents: 1972
diff changeset
137 $FIND ${1}/. ! -name . -prune \
e7ad5f6f4d29 7006659: temporary adlc files are added to the build variables
stefank
parents: 1972
diff changeset
138 -a \( -name \*.c -o -name \*.cpp -o -name \*.s \) \
e7ad5f6f4d29 7006659: temporary adlc files are added to the build variables
stefank
parents: 1972
diff changeset
139 -a \! \( -name ${Src_Files_EXCLUDE// / -o -name } \) \
e7ad5f6f4d29 7006659: temporary adlc files are added to the build variables
stefank
parents: 1972
diff changeset
140 | sed 's/.*\/\(.*\)/\1/';
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
141 }
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
142
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
143 Src_Files=
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
144 for e in ${Src_Dirs}; do
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
145 Src_Files="${Src_Files}`findsrc ${e}` "
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
146 done
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
147
12014
31f3b1e1c5e5 8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents: 10405
diff changeset
148 Obj_Files=" "
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
149 for e in ${Src_Files}; do
12014
31f3b1e1c5e5 8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents: 10405
diff changeset
150 o="${e%\.[!.]*}.obj"
31f3b1e1c5e5 8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents: 10405
diff changeset
151 set +e
31f3b1e1c5e5 8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents: 10405
diff changeset
152 chk=`expr "${Obj_Files}" : ".* $o"`
31f3b1e1c5e5 8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents: 10405
diff changeset
153 set -e
31f3b1e1c5e5 8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents: 10405
diff changeset
154 if [ "$chk" != 0 ]; then
31f3b1e1c5e5 8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents: 10405
diff changeset
155 echo "# INFO: skipping duplicate $o"
31f3b1e1c5e5 8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents: 10405
diff changeset
156 continue
31f3b1e1c5e5 8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents: 10405
diff changeset
157 fi
31f3b1e1c5e5 8016601: Unable to build hsx24 on Windows using project creator and Visual Studio
dcubed
parents: 10405
diff changeset
158 Obj_Files="${Obj_Files}$o "
1972
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
159 done
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
160
f95d63e2154a 6989984: Use standard include model for Hospot
stefank
parents:
diff changeset
161 echo Obj_Files=${Obj_Files}