home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
som30tk.zip
/
som30os2.zip
/
bin
/
somxh.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1996-12-24
|
1KB
|
44 lines
@echo off
@rem @(#) somc/somxh.cmd 2.18 1/9/96 16:44:04 [12/24/96 07:38:07]
@rem COMPONENT_NAME: some
@rem
@rem ORIGINS: 27
@rem
@rem
@rem 25H7912 (C) COPYRIGHT International Business Machines Corp. 1992,1994,1996
@rem All Rights Reserved
@rem Licensed Materials - Property of IBM
@rem US Government Users Restricted Rights - Use, duplication or
@rem disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
@rem Command script to convert to implict stars (like CORBA) for
@rem interface references.
SETLOCAL
IF "%SOMBASE%"=="" GOTO sombase
IF "%1"=="" GOTO body
%1
:body
echo Generating the SOM C++ Bindings:
CD %SOMBASE%\include
IF NOT EXIST som.hc GOTO drive:
SET SMNOADDSTAR=
SC -%% -S150000 -mnochk -sxh *.idl
IF NOT ERRORLEVEL 0 GOTO end
echo somxh.bld > somxh.bld
IF EXIST somdtype.idl SC -mnochk -sxh -DEMIT_SOMDTYPES somdtype.idl
GOTO end
:sombase
ECHO SOMBASE should be set before running somxh.
GOTO end
:drive
ECHO SOM is not installed on the current drive, please specify it.
:end
ENDLOCAL