office-gobmx/config_office/bootstrap.1

48 lines
969 B
Groff
Raw Normal View History

# 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
2000-09-18 10:18:56 -05:00
if ( "$BUILD_DMAKE" != "NO" ) then
if ( ! -e $SOLARENV/$OUTPATH/bin/dmake$EXEEXT ) then
2000-09-18 10:18:56 -05:00
cd $SRC_ROOT/dmake
if "$?" != "0" exit $?
2003-01-20 08:00:18 -06:00
# 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
2000-09-18 10:18:56 -05:00
# 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
2000-09-18 10:18:56 -05:00
./configure
if "$?" != "0" exit $?
## invoke the gnu make command set by configure.
$GNUMAKE
if "$?" != "0" exit $?
2000-09-18 10:18:56 -05:00
echo ""
echo "dmake has been successfully built"
cd ..
endif
endif