]> git.uio.no Git - u/mrichter/AliRoot.git/blob - RALICE/mklib.bat
This commit was generated by cvs2svn to compensate for changes in r165,
[u/mrichter/AliRoot.git] / RALICE / mklib.bat
1 @echo off
2 rem ****************************************************************************
3 rem *       Script to create an MSVC++ LIB from *.cxx files
4 rem *
5 rem * Usage : mklib
6 rem *
7 rem * This will create ralice.lib from all .h and .cxx files in the current dir
8 rem *
9 rem * In view of the ROOTCINT processing, the following two standard files
10 rem * are always required :
11 rem *
12 rem * allhead.h ==> containing an include of all .h files
13 rem * linkdef.h ==> containing the #pragma's to define all classes
14 rem *
15 rem ****************************************************************************
16 rem *
17 echo .
18 echo === Automatic ROOT LIB production of file ralice.lib ===
19 echo .
20 rem *
21 rem --- The option strings for MSVC++ DLL compilation and linking ***
22 set mscomp=/nologo /c /TP /Za /MD /I%ROOTSYS%\include
23 set msdll=/nologo /TP /Za /MD /LD /GD /I%ROOTSYS%\include
24 set mslink=/ENTRY:_DllMainCRTStartup@12 %ROOTSYS%\lib\*.lib %MYLIBS%\*.lib
25 rem *
26 rootcint zzzralicedict.cxx -c allhead.h linkdef.h
27 rem *
28 cl %mscomp% *.cxx
29 lib /nologo *.obj /OUT:ralice.lib
30 rem *
31 rem --- Delete all intermediate files 
32 del .def
33 del containing
34 del zzzralicedict.h
35 del zzzralicedict.cxx
36 del *.obj
37 rem *
38 echo *** mklib done.