blob: 86028b4360f060f52a8630892e937cf6fa4a33a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# executables are *.exe for WNT. This variable is necessary since Cygwin 1.5.x
if ( "$GUI" == "WNT" ) then
setenv EXEEXT ".exe"
else
setenv EXEEXT ""
endif
if ( "$BUILD_DMAKE" != "NO" ) then
if ( ! -e $SOLARENV/$OUTPATH/bin/dmake$EXEEXT ) then
cd $SRC_ROOT/dmake
if "$?" != "0" exit $?
# Special case! The w32/tcsh build needs CC pointing to the MSVC++ compiler
# but we need a cygwin/gcc build dmake to understand the posix paths
if ( $GUI == "WNT" && $USE_SHELL == "tcsh" ) then
setenv CC ""
setenv CXX ""
endif
# For the W32/4nt case
if ( -d objects ) then
rm -rf objects
if "$?" != "0" exit $?
endif
# For normal unixy systems
if ( -e Makefile ) then
$GNUMAKE distclean
if "$?" != "0" exit $?
endif
./configure
if "$?" != "0" exit $?
## invoke the gnu make command set by configure.
$GNUMAKE
if "$?" != "0" exit $?
echo ""
echo "dmake has been successfully built"
cd ..
endif
endif
|