a33370db0ddfa10a348a7d1ba7a9e91277609738
[occt.git] / src / NIS / NIS_CMPLRS.edl
1 -- Created by: Stephane Callegari
2 -- Copyright (c) 1996-1999 Matra Datavision
3 -- Copyright (c) 1999-2014 OPEN CASCADE SAS
4 --
5 -- This file is part of Open CASCADE Technology software library.
6 --
7 -- This library is free software; you can redistribute it and/or modify it under
8 -- the terms of the GNU Lesser General Public License version 2.1 as published
9 -- by the Free Software Foundation, with special exception defined in the file
10 -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 -- distribution for complete text of the license and disclaimer of any warranty.
12 --
13 -- Alternatively, this file may be used under the terms of Open CASCADE
14 -- commercial license or contractual agreement.
15
16 --              01-11-97 : BGN : Portage HP/OpenGL
17 --                               (avec option +a1 pour C++, et -Aa pour C)
18
19 @ifnotdefined ( %NIS_CMPLRS_EDL) then
20
21   @set %NIS_CMPLRS_EDL = "";
22
23   @uses "CSF.edl";
24
25   @string %CMPLRS_CXX_Options += %CSF_X11_INCLUDE " " %CSF_OPENGL_INCLUDE " " ;
26   @string %CMPLRS_C_Options   += %CSF_X11_INCLUDE " " %CSF_OPENGL_INCLUDE " " ;
27
28   @if ( %Station == "hp" ) then
29
30     -- BGN : et ajout de _HPUX_SOURCE  pour /usr/include/math.h (M_PI)
31     @string %CMPLRS_C_Options +=  " -D_HPUX_SOURCE";
32
33         @if ( %DebugMode == "False" ) then
34           @set %CMPLRS_C_ModeOpt = "+O1 -DNo_Exception ";
35           @set %CMPLRS_F77_ModeOpt = "+O1";
36         @endif;
37  
38   @endif;
39
40   @if ( %Station == "ao1" ) then
41
42     @string %CMPLRS_C_Options +=  " -DJWR_DEC_TRIFAN_BUG";
43     @string %CMPLRS_C_Options +=  " -std1";
44
45   @endif;
46
47   -- FMN  @string %CMPLRS_C_Options +=  " -DLMC_COLOR";
48   @string %CMPLRS_C_Options +=  " -DSILGL -DSILGL_VRS=50";
49
50
51
52 @endif;
53