mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Removed Java support.
This commit is contained in:
@ -53,9 +53,6 @@ grep -v "=" files > filesPlusBlank
|
|||||||
# Add a newline to files to make sure the last line is followed by a newline
|
# Add a newline to files to make sure the last line is followed by a newline
|
||||||
echo "" >> filesPlusBlank
|
echo "" >> filesPlusBlank
|
||||||
|
|
||||||
# Search for java files in filesPlusBlank
|
|
||||||
nJava=`grep "\.java" filesPlusBlank | wc -l`
|
|
||||||
|
|
||||||
|
|
||||||
# Remove commented lines blank lines, and trailing blanks from files
|
# Remove commented lines blank lines, and trailing blanks from files
|
||||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
@ -81,17 +78,10 @@ rm tmpSourceFile
|
|||||||
|
|
||||||
# make objectFiles
|
# make objectFiles
|
||||||
# ~~~~~~~~~~~~~~~~
|
# ~~~~~~~~~~~~~~~~
|
||||||
if [ $nJava -ne 0 ]
|
sed -e 's%.*/%%' \
|
||||||
then
|
|
||||||
sed -e 's%^%$(CLASSES_DIR)/%' \
|
|
||||||
-e 's%\.[a-zA-Z]*$%\.class%' \
|
|
||||||
files.$$ > tmpObjectFiles
|
|
||||||
else
|
|
||||||
sed -e 's%.*/%%' \
|
|
||||||
-e 's%^%$(OBJECTS_DIR)/%' \
|
-e 's%^%$(OBJECTS_DIR)/%' \
|
||||||
-e 's%\.[a-zA-Z]*$%\.o%' \
|
-e 's%\.[a-zA-Z]*$%\.o%' \
|
||||||
files.$$ > tmpObjectFiles
|
files.$$ > tmpObjectFiles
|
||||||
fi
|
|
||||||
|
|
||||||
echo "OBJECTS = " > tmpObjectFiles2
|
echo "OBJECTS = " > tmpObjectFiles2
|
||||||
cat tmpObjectFiles >> tmpObjectFiles2
|
cat tmpObjectFiles >> tmpObjectFiles2
|
||||||
|
|||||||
Reference in New Issue
Block a user