Compiling the coordination module

Use the Makefile located in $OPENSWITCH/sample on UNIX and %OPENSWITCH%\sample on Windows to compile your CM application.

  1. With a text editor, open Makefile and replace “cm1” with the name of your CM application.

  2. Enter the following, where CMsource is the directory containing your CM source code.

    On UNIX:

    source $SYBASE/SYBASE.csh
    
    cp $OPENSWITCH/sample/Makefile CMsource
    

    To compile your CM application:

    make Name_of_your_CM_application
    

    On Windows in a Command Prompt window:

    %SYBASE%\SYBASE.bat
    
    cp %OPENSWITCH%\sample\Makefile CMsource
    

    To compile your CM application:

    nmake Name_of_your_CM_application