Changeset 35 for branches


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
Files:
3 added
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • branches/watcom_ant17_java141/readme.txt

    r7 r35  
    88
    99For more info see the index.html in the /doc directory.
     10
     11Special Notes on Using Golden Code Java 1.4.1
     12==========================================
     13The Golden Code jni_md.h doesn't set the JNIEXPORT and JNIIMPORT definitions as was done
     14in the IBM Java 1.3.1 in jniproto_md.h. The IBM 1.3.1 definitions must be used for linking
     15to a DLL. Specifically, it requires definition to a __declspec() call.
     16
     17Special Notes on Using Innotek Java 1.4.2
     18=======================================
     19The Innotek Java distribution doesn't include the jni.h (et.al.) include files. It has been
     20reported that the IBM Java 1.3.1 include directory can be used.
     21
     22Special Notes on Using an Newer Ant
     23==================================
     24Delete the ant.cmd file in this directory, so it isn't called instead of the Ant
     25distribution's file. Modify the env.cmd file to match your environment.
  • 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.