Ignore:
Timestamp:
Nov 17, 2007, 7:32:21 PM (18 years ago)
Author:
lwriemen
Message:
  • Use of internal ant.cmd now requires explicit reference to the misc directory. This allows use of external ant, like the latest build from ant.apache.org.
  • Removed unused file, swt_file.c, which was a copy of swt.c.
  • Added env.cmd for setting up environment variables.
  • Added tool specific make files, make_openwatcom.mak and make_vac4.mak, to be called from build.cmd.
  • Modified build.cmd to reference tool specific make files.
  • Modified make_os2.mak to just set up the DLL name.
  • Updated readme.txt for building with an external ant.
Location:
branches/watcom_ant17_java141/src/plugins/org.eclipse.swt/Eclipse SWT PI/pm/library
Files:
2 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • branches/watcom_ant17_java141/src/plugins/org.eclipse.swt/Eclipse SWT PI/pm/library/build.cmd

    r14 r35  
    66rem http://www.eclipse.org/legal/cpl-v10.html
    77
     8if NOT "%1" == "" set MAKE_TARGET=%1
     9
     10if NOT "%BUILD_ENV%"=="OPENWATCOM" goto VAC4
     11
     12set MAKE=wmake
     13set MAKE_FILE=openwatcom
     14set INCLUDE=D:\WATCOM\h;D:\WATCOM\h\os2
     15if "%MAKE_TARGET%" == "clean" set MAKE_TARGET=-c %MAKE_TARGET%
     16
     17goto RUNMAKE
     18
     19:VAC4
     20
    821if "%VACPPMAIN%"=="" goto NOVAC
    922
    1023call %VACPPMAIN%\bin\setenv.cmd
    11 set INCLUDE=..\..\..\Eclipse SWT\common\library;%INCLUDE%
    12 nmake -f make_os2.mak %1 %2 %3 %4 %5 %6 %7 %8 %9
    13 goto END
     24set MAKE=nmake
     25set MAKE_FILE=vac4
     26goto RUNMAKE
    1427
    1528:NOVAC
     
    1932echo Possibly, Visual Age C/C++ 4.0 is not installed.
    2033echo.
     34goto END
     35
     36:RUNMAKE
     37
     38set COMMON_DIR=..\..\..\Eclipse SWT\common\library
     39set JNI_DIR=%JAVA_HOME%\include;%JAVA_HOME%\include\os2
     40set INCLUDE=%COMMON_DIR%;%JNI_DIR%;%INCLUDE%
     41%MAKE% -f make_%MAKE_FILE%.mak %MAKE_TARGET% %2 %3 %4 %5 %6 %7 %8 %9
    2142
    2243:END
  • branches/watcom_ant17_java141/src/plugins/org.eclipse.swt/Eclipse SWT PI/pm/library/make_os2.mak

    r14 r35  
    2727SWT_LOCATION = ..\..\..\..\org.eclipse.swt.pm\os\os2\x86
    2828
    29 all:
    30     @set SWT_LIB=$(SWT_LIB)
    31     vacbld make_os2.icc
    32     copy $(SWT_LIB) $(SWT_LOCATION)
    33 
    34 clean:
    35     -del *.obj *.res *.dll *.lib *.ics $(SWT_LOCATION)\*.dll
Note: See TracChangeset for help on using the changeset viewer.